gc.spread.sheets.charts.11.1.0.min.js 839 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
/*!
 * 
 * Spread.Sheets Library 11.1.0
 * 
 * Copyright(c) GrapeCity, Inc.  All rights reserved.
 * 
 * Licensed under the SpreadJS Commercial License.
 * us.sales@grapecity.com
 * http://www.grapecity.com/en/licensing/grapecity/
 * 
 * 
 */
!function(a){"object"==typeof module&&"object"==typeof module.exports?module.exports=a(require("@grapecity/spread-sheets")):"function"==typeof define&&define.amd?define(["@grapecity/spread-sheets"],a):"object"==typeof exports?exports.Spread=a(require("@grapecity/spread-sheets")):a(GC)}(function(a){a=a||{},a.Spread=a.Spread||{},a.Spread.Sheets=a.Spread.Sheets||{},a.Spread.Sheets.Charts=function(a){var b={};function c(d){if(b[d])return b[d].exports;var e=b[d]={exports:{},id:d,loaded:!1};return a[d].call(e.exports,e,e.exports,c),e.loaded=!0,e.exports}return c.m=a,c.c=b,c.p="/assets/",c(0)}([function(a,b,c){!function(){"use strict";c(1),c(2);var b=c(3);c(4),c(5),c(7),c(9),c(22),c(23),c(10),c(30),c(14),c(13),c(12),c(28),c(18),c(11),c(20),c(19),c(15),c(31),c(16),c(37),c(32),c(25),c(17),c(34),c(36),c(29),c(33),a.exports=b}()},function(b,c){var d,e=this&&this.__extends||function(){var a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return function(b,c){a(b,c);function d(){this.constructor=b}b.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}();!function(a){"use strict";a.Sya="gcdv-flexdv",a.tSa="gcdv-header",a.uSa="gcdv-footer",a.vSa="gcdv-plotarea",a.wSa="gcdv-plot",a.xSa="gcdv-legend",a.ySa="gcdv-axis-x",a.zSa="gcdv-axis-y",a.ASa="gcdv-label",a.BSa="gcdv-title",a.CSa="gcdv-tick-major",a.DSa="gcdv-tick-minor",a.ESa="gcdv-gridline-major",a.FSa="gcdv-gridline-minor",a.GSa="gcdv-line",a.Tya=15,a.Uya="#666",a.Vya=["r"],a.Wya="black",a.kPa="VALUESNAME"}(d||(d={})),function(a){"use strict";var b=function(){function b(c,d,e){var f,g,h,i,j,k,l,m;void 0===d&&(d=null),void 0===e&&(e=!1),f=this,this.M4=!1,this.uwa=0,this.vwa=!1,this.gotFocus=new a.core.Event,this.lostFocus=new a.core.Event,a.core.assert(null==b.getControl(c),"Element is already hosting a control."),g=a.core.getElement(c),a.core.assert(null!=g,"Cannot find the host element."),this.wwa=g.outerHTML,this.xwa=g.innerHTML,this.ywa=g.tagName,"INPUT"!=g.tagName&&"SELECT"!=g.tagName||(g=this.zwa(g)),this.Awa=g,h=g,h[b.Bwa]=this,1==e&&(this.Cwa=new a.core.Size(g.offsetWidth,g.offsetHeight),i=this.Dwa.bind(this),this.addEventListener(window,"resize",i)),this.addEventListener(g,"focus",function(){setTimeout(function(){f.Ewa()})},!0),this.addEventListener(g,"blur",function(){setTimeout(function(){f.Ewa()},20)},!0),j=this.Fwa.bind(this),this.addEventListener(g,"mousedown",j,!0),this.addEventListener(g,"mouseup",j,!0),this.addEventListener(g,"click",j,!0),this.addEventListener(g,"dblclick",j,!0),this.addEventListener(g,"keydown",j,!0),this.addEventListener(g,"wheel",j,!0),null==b.Gwa&&(b.Gwa=!1,("ontouchstart"in window||"onpointerdown"in window)&&(k=document.body,l=this.Hwa,m=this.Iwa,"ontouchstart"in window?(k.addEventListener("touchstart",l),k.addEventListener("touchend",m),k.addEventListener("touchcancel",m),k.addEventListener("touchleave",m)):"onpointerdown"in window&&(k.addEventListener("pointerdown",l),k.addEventListener("pointerup",m),k.addEventListener("pointerout",m),k.addEventListener("pointercancel",m),k.addEventListener("pointerleave",m))))}return b.prototype.getTemplate=function(){var a,b;for(a=Object.getPrototypeOf(this);a;a=Object.getPrototypeOf(a))if(b=a.constructor.controlTemplate)return b;return null},b.prototype.applyTemplate=function(b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w=this.Awa;if(b&&a.core.addClass(w,b),f=null,c&&(f=a.core.createElement(c,w)),g=w.querySelectorAll("input"),h=1==g.length?g[0]:null,i=w.attributes,h&&i)for(j=0;j<i.length;j++)i[j].name.match(/name|autofocus|autocomplete|minlength|maxlength|pattern/i)&&h.setAttribute(i[j].name,i[j].value);if(h&&w.id&&(k=document.querySelector('label[for="'+w.id+'"]'),l=w.id+"_input",m=l,k instanceof HTMLLabelElement)){for(j=0;null!=document.getElementById(m);j++)m=l+j;h.id=m,k.htmlFor=m}if(h&&(n=document.createEvent("HTMLEvents"),o=h.value,n.initEvent("change",!0,!1),this.addEventListener(h,"input",function(){o=h.value},!0),this.gotFocus.addHandler(function(){o=h.value}),this.lostFocus.addHandler(function(){o!=h.value&&h.dispatchEvent(n)})),w.getAttribute("tabindex")||(w.tabIndex=null!=h?-1:0),this.Jwa(),d){p=d,q=this;for(r in p){if(s=p[r],q[r]=f.querySelector('[wj-part="'+s+'"]'),null==q[r]&&f.getAttribute("wj-part")==s&&(q[r]=f),null==q[r])throw'Missing template part: "'+s+'"';s==e&&(t=w.attributes,u="name",v=t[u],v&&v.value&&q[r].setAttribute(u,v.value),u="accesskey",v=t[u],v&&v.value&&(q[r].setAttribute(u,v.value),w.removeAttribute(u)))}}return f},b.prototype.dispose=function(){var c,d,e,f,g,h,i,j,k=this.Awa.querySelectorAll(".wj-control");for(c=0;c<k.length;c++)d=b.getControl(k[c]),d&&d.dispose();this.Kwa&&clearTimeout(this.Kwa),this.removeEventListener(),e=this;for(f in e)f.length>2&&0==f.indexOf("on")&&(g=e[f[2].toLowerCase()+f.substr(3)],g instanceof a.core.Event&&g.removeAllHandlers());if(h=e.collectionView,h instanceof a.core.collections.CollectionView){i=h;for(f in i)g=i[f],g instanceof a.core.Event&&g.removeHandler(null,this)}this.Awa.parentNode&&(this.Awa.outerHTML=this.wwa),j=this.Awa,j[b.Bwa]=null,this.Awa=this.wwa=this.xwa=this.ywa=null},b.getControl=function(c){var d=a.core.getElement(c);return d?a.core.asType(d[b.Bwa],b,!0):null},Object.defineProperty(b.prototype,"hostElement",{get:function(){return this.Awa},enumerable:!0,configurable:!0}),b.prototype.focus=function(){this.Awa&&this.Awa.focus()},b.prototype.containsFocus=function(){var c,d,e,f,g;if(!this.Awa)return!1;for(c=this.Awa.querySelectorAll(".wj-control"),d=0;d<c.length;d++)if(e=b.getControl(c[d]),e&&e!=this&&e.containsFocus())return!0;return f=a.core.getActiveElement(),g=b.getControl(a.core.closest(f,".wj-control.wj-popup")),!!(g&&g.owner&&a.core.contains(this.Awa,g.owner))||a.core.contains(this.Awa,f)},b.prototype.refreshDelay=function(a){var c=this;void 0===a&&(a=!0),this.vwa=this.vwa||a,this.Kwa&&(clearTimeout(this.Kwa),this.Kwa=null),this.isUpdating||(this.Kwa=window.setTimeout(function(){c.refresh(c.vwa)},b.Lwa))},b.prototype.refresh=function(a){void 0===a&&(a=!0),!this.isUpdating&&this.Kwa&&(clearTimeout(this.Kwa),this.Kwa=null,this.vwa=!1)},b.invalidateAll=function(a){var c,d;if(a||(a=document.body),a.children)for(c=0;c<a.children.length;c++)b.invalidateAll(a.children[c]);d=b.getControl(a),d&&d.refreshDelay()},b.refreshAll=function(a){var c,d;if(a||(a=document.body),a.children)for(c=0;c<a.children.length;c++)b.refreshAll(a.children[c]);d=b.getControl(a),d&&d.refresh()},b.disposeAll=function(a){var c,d=b.getControl(a);if(d)d.dispose();else if(a.children)for(c=0;c<a.children.length;c++)b.disposeAll(a.children[c])},b.prototype.beginUpdate=function(){this.uwa++},b.prototype.endUpdate=function(){this.uwa--,this.uwa<=0&&this.refreshDelay()},Object.defineProperty(b.prototype,"isUpdating",{get:function(){return this.uwa>0},enumerable:!0,configurable:!0}),b.prototype.deferUpdate=function(a){try{this.beginUpdate(),a()}finally{this.endUpdate()}},Object.defineProperty(b.prototype,"isTouching",{get:function(){return b.Gwa},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"isDisabled",{get:function(){return this.Awa&&null!=this.Awa.getAttribute("disabled")},set:function(b){b=a.core.asBoolean(b,!0),b!=this.isDisabled&&a.core.enable(this.Awa,!b)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"disabled",{get:function(){return a.core.cwa("disabled","isDisabled"),this.isDisabled},set:function(b){a.core.cwa("disabled","isDisabled"),this.isDisabled=b},enumerable:!0,configurable:!0}),b.prototype.initialize=function(b){b&&(this.beginUpdate(),a.core.copy(this,b),this.endUpdate())},b.prototype.addEventListener=function(a,b,c,d){void 0===d&&(d=!1),a&&(a.addEventListener(b,c,d),null==this.Ze&&(this.Ze=[]),this.Ze.push({target:a,type:b,fn:c,capture:d}))},b.prototype.removeEventListener=function(a,b,c,d){var e,f,g=0;if(this.Ze)for(e=0;e<this.Ze.length;e++)f=this.Ze[e],null!=a&&a!=f.target||null!=b&&b!=f.type||null!=c&&c!=f.fn||null!=d&&d!=f.capture||(f.target.removeEventListener(f.type,f.fn,f.capture),this.Ze.splice(e,1),e--,g++);return g},b.prototype.onGotFocus=function(a){this.gotFocus.raise(this,a)},b.prototype.onLostFocus=function(a){this.lostFocus.raise(this,a)},b.prototype.Dwa=function(){if(this.Awa.parentElement){var b=new a.core.Size(this.Awa.offsetWidth,this.Awa.offsetHeight);b.equals(this.Cwa)||(this.Cwa=b,this.refreshDelay())}},b.prototype.Ewa=function(){var a=this;setTimeout(function(){var c,d,e;for(c=a.Awa;c;c=c.parentElement)d=b.getControl(c),d&&(e=d.containsFocus(),e!=d.M4&&(d.M4=e,e?d.onGotFocus():d.onLostFocus(),d.Jwa()))})},b.prototype.Jwa=function(){var b,c,d=this.hostElement;d&&(a.core.toggleClass(d,"wj-state-focused",this.containsFocus()),b=d.querySelector("input"),b instanceof HTMLInputElement&&(a.core.toggleClass(d,"wj-state-empty",0==b.value.length),a.core.toggleClass(d,"wj-state-readonly",b.readOnly),c=b.validationMessage,a.core.toggleClass(d,"wj-state-invalid",c&&c.length>0)))},b.prototype.Hwa=function(a){null!=a.pointerType&&"touch"!=a.pointerType||(b.Gwa=!0)},b.prototype.Iwa=function(a){null!=a.pointerType&&"touch"!=a.pointerType||setTimeout(function(){b.Gwa=!1},400)},b.prototype.Fwa=function(a){this.isDisabled&&(a.preventDefault(),a.stopPropagation(),a.stopImmediatePropagation())},b.prototype.zwa=function(a){var b,c,d,e=document.createElement("div");for(a.parentElement.replaceChild(e,a),e.innerHTML=a.innerHTML,b=a.attributes,c=0;c<b.length;c++)d=b[c].name,b[c].name.match(/id|style|class/i)&&e.setAttribute(d,b[c].value);return e},b.Bwa="gcdv-Control",b.Lwa=10,b}();a.Control=b}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function c(a,b){this.KAa={},this.GAa=a,this.eAa=b,this.KAa=this.MAa(this._items())}return c.prototype.HL=function(){return this.KAa},c.prototype._items=function(){return this.GAa},c.prototype.ROa=function(){var b,c;return null==this.cAa&&(b=[],c=this.eAa.dateFormats,b="boolean"==typeof c?c?a.Vya:[]:c,this.cAa=new a.models.pRa(b)),this.cAa},c.prototype.MAa=function(c){var d,e,f,g,h,i,j,k,l,m,n={};for(d=0,e=c;d<e.length;d++){f=e[d];for(g in f)h=n[g],void 0===h&&(n[g]=h=new b.eBa(g)),i=f[g],void 0===h.Nc&&(a.core.isNumber(i)?n[g]=h=new b.fBa(g):a.core.isString(i)?null==this.ROa().gBa(i)?n[g]=h=new b.hBa(g):n[g]=h=new b.iBa(g,[],this.ROa()):a.core.isDate(i)?n[g]=h=new b.iBa(g,[],this.ROa()):a.core.isBoolean(i)&&(n[g]=h=new b.jBa(g))),h instanceof b.fBa?(j=a.core.asNumber(i,!0),null!==j&&isFinite(j)&&((void 0===h.bw()||h.bw()>j)&&h.bw(j),(void 0===h.cw()||h.cw()<j)&&h.cw(j),h.Ey.indexOf(j)==-1&&h.Ey.push(j))):h instanceof b.iBa?(k=null,null!=i&&(k=a.core.isDate(i)?a.core.asDate(i,!0):this.ROa().gBa(""+i),null!==k&&((void 0===h.bw()||h.bw()>k.valueOf())&&h.bw(k.valueOf()),(void 0===h.cw()||h.cw()<k.valueOf())&&h.cw(k.valueOf()),h.Ey.indexOf(k.valueOf())==-1&&h.Ey.push(k.valueOf())))):h instanceof b.hBa?(l=a.core.asString(i,!0),null!==l&&h.Ey.indexOf(l)==-1&&h.Ey.push(l)):h instanceof b.jBa&&(m=a.core.asBoolean(i,!0),null!==m&&h.Ey.indexOf(m)==-1&&h.Ey.push(m))}return n},c}();b.qRa=c}(b=a.data||(a.data={}))}(d||(d={})),function(a){var b;!function(a){"use strict";var b=function(){function a(a,b){this.Cj=a,this.Nc=b}return a.prototype.zAa=function(a){return a.Nc==this.Nc&&this.Cj==a.Cj},a}();a.AAa=b}(b=a.data||(a.data={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(b){e(c,b);function c(c,d){void 0===d&&(d=[]);var e=b.call(this,c,a.core.DataType.Boolean)||this;return e.Ey=d,e}return c.prototype.bw=function(b){return void 0===b?0:void a.Yya(function(){return!0})},c.prototype.cw=function(b){return void 0===b?this.Ey?this.Ey.length-1:0:void a.Yya(function(){return!0})},c.prototype.lCa=function(b){var c,d,e,f;if(null==b)return null;if(!Array.isArray(b))return a.core.asBoolean(b[this.Cj],!0);for(c=0,d=b;c<d.length;c++)if(e=d[c],f=a.core.asBoolean(e[this.Cj],!0),null!=f)return f},c.prototype.PBa=function(a){var b=this.lCa(a);return null==b?null:this.Ey.indexOf(b)},c}(b.AAa);b.jBa=c}(b=a.data||(a.data={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(b){e(c,b);function c(c,d,e){void 0===d&&(d=[]);var f=b.call(this,c,a.core.DataType.Date)||this;return f.cAa=e,f.Ey=d,f}return c.prototype.bw=function(a){return void 0===a?this.uOa:void(this.uOa=a)},c.prototype.cw=function(a){return void 0===a?this.vOa:void(this.vOa=a)},c.prototype.ROa=function(){return this.cAa},c.prototype.T0=function(a){return"string"==typeof a?this.ROa().gBa(a):a instanceof Date?a:null},c.prototype.lCa=function(a){var b,c,d,e;if(null==a)return null;if(!Array.isArray(a))return this.cAa.gBa(a[this.Cj]);for(b=0,c=a;b<c.length;b++)if(d=c[b],e=this.T0(d[this.Cj]),null!=e)return e},c.prototype.PBa=function(a){var b=this.lCa(a);return null==b?null:b.valueOf()},c}(b.AAa);b.iBa=c}(b=a.data||(a.data={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(b){e(c,b);function c(a){return b.call(this,a,void 0)||this}return c.prototype.bw=function(b){return a.Yya(function(){return!0}),NaN},c.prototype.cw=function(b){return a.Yya(function(){return!0}),NaN},c.prototype.lCa=function(a){return null},c.prototype.PBa=function(a){return null},c}(b.AAa);b.eBa=c}(b=a.data||(a.data={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(b){e(c,b);function c(c,d){void 0===d&&(d=[]);var e=b.call(this,c,a.core.DataType.Number)||this;return e.Ey=d,e}return c.prototype.bw=function(a){return void 0===a?this.uOa:void(this.uOa=a)},c.prototype.cw=function(a){return void 0===a?this.vOa:void(this.vOa=a)},c.prototype.lCa=function(b){var c,d,e,f;if(null==b)return null;if(!Array.isArray(b))return a.core.asNumber(b[this.Cj],!0);for(c=0,d=b;c<d.length;c++)if(e=d[c],f=a.core.asNumber(e[this.Cj],!0),null!=f)return f},c.prototype.PBa=function(a){return this.lCa(a)},c}(b.AAa);b.fBa=c}(b=a.data||(a.data={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(b){e(c,b);function c(c,d){void 0===d&&(d=[]);var e=b.call(this,c,a.core.DataType.String)||this;return e.Ey=d,e}return c.prototype.bw=function(b){return void 0===b?0:void a.Yya(function(){return!0})},c.prototype.cw=function(b){return void 0===b?this.Ey?this.Ey.length-1:0:void a.Yya(function(){return!0})},c.prototype.lCa=function(b){var c,d,e,f;if(null==b)return null;if(!Array.isArray(b))return a.core.asString(b[this.Cj],!0);for(c=0,d=b;c<d.length;c++)if(e=d[c],f=a.core.asString(e[this.Cj],!0),null!=f)return f},c.prototype.PBa=function(a){var b=this.lCa(a);return null==b?null:this.Ey.indexOf(b)},c}(b.AAa);b.hBa=c}(b=a.data||(a.data={}))}(d||(d={})),function(a){var b;!function(a){"use strict";var b=function(a){e(b,a);function b(){return null!==a&&a.apply(this,arguments)||this}return b}(a.AAa);a.ZSa=b}(b=a.data||(a.data={}))}(d||(d={})),function(a){var b;!function(a){"use strict";var b=function(a){e(b,a);function b(b,c,d,e){void 0===c&&(c=[]);var f=a.call(this,b,c)||this;return f.cb=d,f.HSa=e,f}return b}(a.jBa);a.$Sa=b}(b=a.data||(a.data={}))}(d||(d={})),function(a){var b;!function(a){"use strict";var b=function(a){e(b,a);function b(b,c,d,e,f){void 0===c&&(c=[]);var g=a.call(this,b,c,d)||this;return g.cb=e,g.HSa=f,g}return b}(a.iBa);a._Sa=b}(b=a.data||(a.data={}))}(d||(d={})),function(a){var b;!function(a){"use strict";var b=function(a){e(b,a);function b(b,c,d,e){void 0===c&&(c=[]);var f=a.call(this,b,c)||this;return f.cb=d,f.HSa=e,f}return b}(a.fBa);a.aTa=b}(b=a.data||(a.data={}))}(d||(d={})),function(a){var b;!function(a){"use strict";var b=function(a){e(b,a);function b(b,c,d,e){void 0===c&&(c=[]);var f=a.call(this,b,c)||this;return f.cb=d,f.HSa=e,f}return b}(a.hBa);a.bTa=b}(b=a.data||(a.data={}))}(d||(d={})),function(a){var b;!function(a){"use strict";var b=function(){function a(a,b){this.UCa=a,this.VCa=b}return Object.defineProperty(a.prototype,"name",{get:function(){return""},enumerable:!0,configurable:!0}),a.prototype.toItem=function(a){var b,c,d,e,f,g=null,h=null;for(b=0,c=a;b<c.length;b++)d=c[b],e=this.UCa.T0(d[this.UCa.Cj]),null!=e&&(null==h||h.valueOf()>e.valueOf())&&(h=e),f=this.VCa.T0(d[this.VCa.Cj]),null!=f&&(null==g||g.valueOf()<f.valueOf())&&(g=f);return{upper:g,lower:h}},a.prototype.toValue=function(a){var b=this.toItem(a);return b.upper.valueOf()-b.lower.valueOf()},a.prototype.equals=function(b){return b instanceof a&&(this.UCa==b.UCa&&this.VCa==b.VCa)},a}();a.AOa=b}(b=a.data||(a.data={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(a,b){this.UCa=a,this.VCa=b,this.HCa=a.Cj+" - "+b.Cj}return Object.defineProperty(b.prototype,"name",{get:function(){return this.HCa},enumerable:!0,configurable:!0}),b.prototype.toItem=function(b){var c=new a.core.collections.CollectionView(b),d=c.getAggregate(a.Aggregate.Min,this.UCa.Cj),e=c.getAggregate(a.Aggregate.Max,this.VCa.Cj);return{upper:e,lower:d}},b.prototype.toValue=function(b){var c=new a.core.collections.CollectionView(b),d=c.getAggregate(a.Aggregate.Min,this.UCa.Cj),e=c.getAggregate(a.Aggregate.Max,this.VCa.Cj);return e-d},b.prototype.equals=function(a){return a instanceof b&&(this.UCa==a.UCa&&this.VCa==a.VCa)},b}();b.zOa=c}(b=a.data||(a.data={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(b,c){void 0===c&&(c=a.Aggregate.Sum),this.rOa=b,this.sOa=c}return Object.defineProperty(b.prototype,"name",{get:function(){return this.rOa.Cj},enumerable:!0,configurable:!0}),b.prototype.toItem=function(b){return this.sOa!=a.Aggregate.List?this.vDa(b):this.rOa.lCa(b)},b.prototype.toValue=function(b){return this.sOa!=a.Aggregate.List?this.vDa(b):this.rOa.PBa(b)},b.prototype.equals=function(a){return a instanceof b&&(this.rOa==a.rOa&&this.sOa==a.sOa)},b.prototype.vDa=function(b){var c=new a.core.collections.CollectionView(b);return c.getAggregate(this.sOa,this.name)},b}();b.COa=c}(b=a.data||(a.data={}))}(d||(d={})),function(a){var b;!function(a){"use strict";var b=function(){function a(a){this.rOa=a}return Object.defineProperty(a.prototype,"name",{get:function(){return this.rOa.Cj},enumerable:!0,configurable:!0}),a.prototype.toItem=function(a){return this.rOa.lCa(a)},a.prototype.toValue=function(a){return this.rOa.PBa(a)},a.prototype.equals=function(b){return b instanceof a&&this.rOa==b.rOa},a}();a.BOa=b}(b=a.data||(a.data={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.data||(a.data={}))}(d||(d={})),function(a){"use strict";var b=null;function c(){if(null==b){var a=window.GC;if(null==a)return!1;if(a=a.Spread,null==a)return!1;if(a=a.CalcEngine,null==a)return!1;b=!0}return b}a.Xya=c}(d||(d={})),function(a){"use strict";var b;!function(a){a[a.List=0]="List",a[a.Sum=1]="Sum",a[a.Count=2]="Count",a[a.Average=3]="Average",a[a.Max=4]="Max",a[a.Min=5]="Min",a[a.Range=6]="Range",a[a.StandardDeviation=7]="StandardDeviation",a[a.Variance=8]="Variance",a[a.PopulationStandardDeviation=9]="PopulationStandardDeviation",a[a.PopulationVariance=10]="PopulationVariance",a[a.CountOfAll=11]="CountOfAll"}(b=a.Aggregate||(a.Aggregate={}));function c(c,d,e){var f,g,h,i=0,j=0,k=0,l=0,m=null,n=null,o=e?new a.core.Binding(e):null;if(c=a.core.asEnum(c,a.Aggregate),c==a.Aggregate.CountOfAll)return d.length;for(f=0;f<d.length;f++)g=d[f],o&&(g=o.getValue(g)),null!=g&&(i++,(null==m||g<m)&&(m=g),(null==n||g>n)&&(n=g),a.core.isNumber(g)&&!isNaN(g)?(j++,k+=g,l+=g*g):"boolean"==typeof g&&(j++,1==g&&(k++,l++)));switch(h=0==j?0:k/j,c){case b.Average:return h;case b.Count:return i;case b.Max:return n;case b.Min:return m;case b.Range:return n-m;case b.Sum:return k;case b.PopulationVariance:return j<=1?0:l/j-h*h;case b.PopulationStandardDeviation:return j<=1?0:Math.sqrt(l/j-h*h);case b.Variance:return j<=1?0:(l/j-h*h)*j/(j-1);case b.StandardDeviation:return j<=1?0:Math.sqrt((l/j-h*h)*j/(j-1))}throw"Invalid aggregate type."}a.ePa=c}(d||(d={})),function(a){"use strict";var b;!function(a){a[a.Auto=0]="Auto",a[a.Show=1]="Show"}(b=a.AxisOverlappingLabels||(a.AxisOverlappingLabels={}))}(d||(d={})),function(a){"use strict";var b;!function(a){a[a.None=0]="None",a[a.Near=1]="Near",a[a.Far=2]="Far"}(b=a.AxisPosition||(a.AxisPosition={}))}(d||(d={})),function(a){"use strict";var b;!function(a){a[a.X=0]="X",a[a.Y=1]="Y"}(b=a.AxisType||(a.AxisType={}))}(d||(d={})),function(a){"use strict";var b;!function(a){a[a.None=0]="None",a[a.Fit=1]="Fit",a[a.Clip=2]="Clip"}(b=a.ClippingMode||(a.ClippingMode={}))}(d||(d={})),function(a){"use strict";var b;!function(a){a[a.Shape=0]="Shape",a[a.Label=1]="Label",a[a.Legend=2]="Legend",a[a.LegendItem=3]="LegendItem",a[a.Axis=4]="Axis",a[a.Plot=5]="Plot",a[a.Header=6]="Header",a[a.Footter=7]="Footter",a[a.Series=8]="Series",a[a.PlotArea=9]="PlotArea",a[a.Control=10]="Control"}(b=a.ElementType||(a.ElementType={}))}(d||(d={})),function(a){"use strict";var b;!function(a){a[a.Cluster=0]="Cluster",a[a.Stack=1]="Stack"}(b=a.Group||(a.Group={}))}(d||(d={})),function(a){"use strict";var b;!function(a){a[a.Left=0]="Left",a[a.Center=1]="Center",a[a.Right=2]="Right"}(b=a.HAlign||(a.HAlign={}))}(d||(d={})),function(a){"use strict";var b;!function(a){a[a.Color=0]="Color",a[a.Size=1]="Size",a[a.Shape=2]="Shape"}(b=a.LegendType||(a.LegendType={}))}(d||(d={})),function(a){"use strict";var b;!function(a){a[a.Default=0]="Default",a[a.Spline=1]="Spline",a[a.StepLeft=2]="StepLeft",a[a.StepRight=3]="StepRight",a[a.StepCenter=4]="StepCenter"}(b=a.LineAspect||(a.LineAspect={}))}(d||(d={})),function(a){"use strict";var b;!function(a){a[a.Auto=0]="Auto",a[a.Center=1]="Center"}(b=a.LinePosition||(a.LinePosition={}))}(d||(d={})),function(a){"use strict";var b;!function(a){a[a.Horizontal=0]="Horizontal",a[a.Vertical=1]="Vertical"}(b=a.Orientation||(a.Orientation={}))}(d||(d={})),function(a){"use strict";var b;!function(a){a[a.Auto=0]="Auto",a[a.Show=1]="Show"}(b=a.OverlappingLabels||(a.OverlappingLabels={}))}(d||(d={})),function(a){"use strict";var b;!function(a){a[a.Standard=0]="Standard",a[a.Cocoa=1]="Cocoa",a[a.Coral=2]="Coral",a[a.Dark=3]="Dark",a[a.HighContrast=4]="HighContrast",a[a.Light=5]="Light",a[a.Midnight=6]="Midnight",a[a.Modern=7]="Modern",a[a.Organic=8]="Organic",a[a.Slate=9]="Slate",a[a.Zen=10]="Zen",a[a.Cyborg=11]="Cyborg",a[a.Superhero=12]="Superhero",a[a.Flatly=13]="Flatly",a[a.Darkly=14]="Darkly",a[a.Cerulan=15]="Cerulan",a[a.Office=16]="Office",a[a.Office2010=17]="Office2010",a[a.Grayscale=18]="Grayscale",a[a.BlueWarm=19]="BlueWarm",a[a.Blue=20]="Blue",a[a.Blue2=21]="Blue2",a[a.BlueGreen=22]="BlueGreen",a[a.Green=23]="Green",a[a.GreenYellow=24]="GreenYellow",a[a.Yellow=25]="Yellow",a[a.YellowOrange=26]="YellowOrange",a[a.Orange=27]="Orange",a[a.OrangeRed=28]="OrangeRed",a[a.RedOrange=29]="RedOrange",a[a.Red=30]="Red",a[a.RedViolet=31]="RedViolet",a[a.Violet=32]="Violet",a[a.Violet2=33]="Violet2",a[a.Median=34]="Median",a[a.Paper=35]="Paper",a[a.Marquee=36]="Marquee",a[a.Slipstream=37]="Slipstream",a[a.Aspect=38]="Aspect"}(b=a.Palette||(a.Palette={}))}(d||(d={})),function(a){"use strict";var b;!function(a){a[a.Bar=0]="Bar",a[a.Line=1]="Line",a[a.Scatter=2]="Scatter",a[a.Area=3]="Area"}(b=a.PlotType||(a.PlotType={}))}(d||(d={})),function(a){"use strict";var b;!function(a){a[a.Left=0]="Left",a[a.Top=1]="Top",a[a.Right=2]="Right",a[a.Bottom=3]="Bottom"}(b=a.Position||(a.Position={}))}(d||(d={})),function(a){"use strict";var b;!function(a){a[a.SVG=0]="SVG",a[a.Canvas=1]="Canvas"}(b=a.RenderMethod||(a.RenderMethod={}))}(d||(d={})),function(a){"use strict";var b;!function(a){a[a.None=0]="None",a[a.Point=1]="Point",a[a.Points=2]="Points",a[a.Group=3]="Group",a[a.Color=4]="Color",a[a.Shape=5]="Shape",a[a.Size=6]="Size",a[a.Custom=7]="Custom"}(b=a.SelectionMode||(a.SelectionMode={}))}(d||(d={})),function(a){"use strict";var b;!function(a){a[a.Gaps=0]="Gaps",a[a.Zeros=1]="Zeros",a[a.Connected=2]="Connected"}(b=a.ShowNulls||(a.ShowNulls={}))}(d||(d={})),function(a){"use strict";var b;!function(a){a[a.Auto=0]="Auto",a[a.Outside=1]="Outside",a[a.Center=2]="Center",a[a.Inside=3]="Inside"}(b=a.TextPosition||(a.TextPosition={}))}(d||(d={})),function(a){"use strict";var b;!function(a){a[a.None=0]="None",a[a.Outside=1]="Outside",a[a.Inside=2]="Inside",a[a.Cross=3]="Cross"}(b=a.TickMark||(a.TickMark={}))}(d||(d={})),function(a){"use strict";var b;!function(a){a[a.Ordinal=0]="Ordinal",a[a.Linear=1]="Linear",a[a.Logarithmic=2]="Logarithmic",a[a.Percentage=3]="Percentage"}(b=a.ValueScaleType||(a.ValueScaleType={}))}(d||(d={})),function(a){"use strict";function b(a){if(!a())throw"Debug: Assert Fail."}a.Yya=b}(d||(d={})),function(a){"use strict";var b;!function(a){a[a.Unknown=0]="Unknown",a[a.InvalidOperation=1]="InvalidOperation",a[a.EmptyName=2]="EmptyName",a[a.PlotTypeIsRegistered=3]="PlotTypeIsRegistered",a[a.UnknownPlotType=4]="UnknownPlotType",a[a.CoordinateSystemTypeIsRegistered=5]="CoordinateSystemTypeIsRegistered",a[a.UnknownCoordinateSystemType=6]="UnknownCoordinateSystemType",a[a.LegendSymbolTypeIsRegistered=7]="LegendSymbolTypeIsRegistered",a[a.UnknownLegendSymbolType=8]="UnknownLegendSymbolType",a[a.PlotTypeCannotSupportCoordinateSystem=9]="PlotTypeCannotSupportCoordinateSystem",a[a.Option_PlotArea_InvalidRow=4097]="Option_PlotArea_InvalidRow",a[a.Option_PlotArea_InvalidColumn=4098]="Option_PlotArea_InvalidColumn",a[a.Option_Config_DuplicatedRowAndColumnOfPlotArea=4353]="Option_Config_DuplicatedRowAndColumnOfPlotArea",a[a.AdornerRender_InvalidTypeName=8193]="AdornerRender_InvalidTypeName",a[a.AdornerRender_InvalidPlugin=8194]="AdornerRender_InvalidPlugin",a[a.AdornerRender_IsRegistered=8195]="AdornerRender_IsRegistered",a[a.ConditionalFormattingRule_InvalidTypeName=8209]="ConditionalFormattingRule_InvalidTypeName",a[a.ConditionalFormattingRule_InvalidPlugin=8210]="ConditionalFormattingRule_InvalidPlugin",a[a.ConditionalFormattingRule_IsRegistered=8211]="ConditionalFormattingRule_IsRegistered",a[a.DataContentProvider_InvalidTypeName=8225]="DataContentProvider_InvalidTypeName",a[a.DataContentProvider_InvalidPlugin=8226]="DataContentProvider_InvalidPlugin",a[a.DataContentProvider_IsRegistered=8227]="DataContentProvider_IsRegistered",a[a.DateParser_InvalidTypeName=8241]="DateParser_InvalidTypeName",a[a.DateParser_InvalidPlugin=8242]="DateParser_InvalidPlugin",a[a.DateParser_IsRegistered=8243]="DateParser_IsRegistered",a[a.RenderEngine_InvalidTypeName=8257]="RenderEngine_InvalidTypeName",a[a.RenderEngine_InvalidPlugin=8258]="RenderEngine_InvalidPlugin",a[a.RenderEngine_IsRegistered=8259]="RenderEngine_IsRegistered",a[a.StringFormatting_InvalidTypeName=8273]="StringFormatting_InvalidTypeName",a[a.StringFormatting_InvalidPlugin=8274]="StringFormatting_InvalidPlugin",a[a.StringFormatting_IsRegistered=8275]="StringFormatting_IsRegistered",a[a.Symbol_InvalidTypeName=8289]="Symbol_InvalidTypeName",a[a.Symbol_InvalidPlugin=8290]="Symbol_InvalidPlugin",a[a.Symbol_IsRegistered=8291]="Symbol_IsRegistered",a[a.DataGraph_InvalidTypeName=8305]="DataGraph_InvalidTypeName",a[a.DataGraph_InvalidPlugin=8306]="DataGraph_InvalidPlugin",a[a.DataGraph_IsRegistered=8307]="DataGraph_IsRegistered"}(b=a.Exception||(a.Exception={}))}(d||(d={})),function(a){"use strict";var b=[{exception:a.Exception.Unknown,message:"Unknown exception."},{exception:a.Exception.InvalidOperation,message:"Invalid operation exception."},{exception:a.Exception.EmptyName,message:"The name is empty."},{exception:a.Exception.Option_PlotArea_InvalidRow,message:"The row is invalid in the plot area option."},{exception:a.Exception.Option_PlotArea_InvalidColumn,message:"The column is invalid in the plot area option."}];function c(a){throw b.forEach(function(b){if(b.exception==a)throw Error(b.message)}),Error("Unknown exception.")}a.Jza=c}(d||(d={})),function(a){"use strict";var b=function(b){e(c,b);function c(c,d){var e=b.call(this,c,null,!0)||this;return e.Kza=a.RenderMethod.SVG,e.Lza=new a.core.Event,e.qOa=!0,e.vp=!1,e.applyTemplate(a.Sya,null,null),e.Pza(),e.Qza=e.Rza(e.hostElement,e.Kza),e.initialize(d),e.refreshDelay(),e}return Object.defineProperty(c.prototype,"option",{get:function(){return this.eAa},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"devicePixelRatio",{get:function(){return this.Qza.devicePixelRatio},set:function(b){isNaN(b)||null==b||this.Qza.devicePixelRatio==b||this.Kza==a.RenderMethod.Canvas&&(this.Qza&&this.hostElement.removeChild(this.Qza.element),this.Qza=this.Rza(this.hostElement,this.Kza),this.Qza.devicePixelRatio=b,this.refreshDelay())},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"enabled",{get:function(){return this.qOa},set:function(a){null!=a&&(this.qOa=a)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"renderMethod",{get:function(){return this.Kza},set:function(b){if(null!=this.jAa){var c=a.core.asEnum(b,a.RenderMethod,!0);null!=c&&c!=this.Kza&&(this.Kza=c,this.Qza&&this.hostElement.removeChild(this.Qza.element),this.Qza=this.Rza(this.hostElement,this.Kza),this.refreshDelay())}},enumerable:!0,configurable:!0}),c.prototype.vw=function(){return null==this.Oza&&(this.Oza=new a.core.Tooltip,this.Oza.showDelay=200),this.Oza},c.prototype.initialize=function(b){var c,d;null!=b?(this.eAa=b,this.renderMethod=b.renderMethod,c=new a.options.fAa(b.data),d=this.iAa(b.plots),this.jAa=new a.kAa(this,new a.options.hAa(b.config),c,d),this.jAa.lAa(c.values)):(this.eAa=null,this.jAa=new a.kAa(this,new a.options.hAa(null),new a.options.fAa(null),[]))},c.prototype.load=function(a){null!=this.jAa&&(this.initialize(a),this.refreshDelay())},c.prototype.refresh=function(c){var d,e;void 0===c&&(c=!0),null!=this.jAa&&(b.prototype.refresh.call(this,c),this.isUpdating||(d=this.mAa(),e=new a.core.Rect(0,0,d.width,d.height),this._R(this.Qza,e),this.yl(this.Qza,e)))},c.prototype.invalidate=function(){if(null!=this.jAa){var b=this.mAa();this.yl(this.Qza,new a.core.Rect(0,0,b.width,b.height))}},c.prototype._R=function(a,b){return a.beginRender(),a.setViewportSize(b.width,b.height),null!=this.jAa&&this.jAa._R(a,b),a.endRender(),b},c.prototype.yl=function(a,b){var c,d,e,f,g,h,i,j,k,l;if(a.beginRender(),a.setViewportSize(b.width,b.height),null!=this.jAa&&this.jAa.yl(a),this.jAa.$z().selectedStyle.adorners)for(c=0,d=this.jAa.plotAreas;c<d.length;c++)for(e=d[c],f=0,g=e.nPa();f<g.length;f++)for(h=g[f],i=h.tAa(),j=0,k=i;j<k.length;j++)l=k[j],l.yl(a,!0);a.endRender()},c.prototype.mAa=function(){var b,c,d,e,f,g=new a.core.Size(0,0),h=this.nAa();return null!=h&&(b=this.hostElement,g=new a.core.Size(b.clientWidth,b.clientHeight),c=parseFloat(h.paddingLeft.replace("px","")),d=parseFloat(h.paddingRight.replace("px","")),e=parseFloat(h.paddingTop.replace("px","")),f=parseFloat(h.paddingBottom.replace("px","")),isNaN(c)||(g.width-=c),isNaN(d)||(g.width-=d),isNaN(e)||(g.height-=e),isNaN(f)||(g.height-=f)),g},c.prototype.nAa=function(){var a=this.hostElement;return null!=a&&null!=a.ownerDocument&&null!=a.ownerDocument.defaultView?a.ownerDocument.defaultView.getComputedStyle(this.hostElement):null},c.prototype.Rza=function(b,c){if(c==a.RenderMethod.SVG){var d=a.NRa.MRa(this.hostElement,"SVG");return d.strokeWidth=null,d}return c==a.RenderMethod.Canvas?a.NRa.MRa(this.hostElement,"Canvas"):(a.Yya(function(){return!1}),null)},c.prototype.iAa=function(b){var c,d,e,f=[];if(null!=b)for(Array.isArray(b)||(b=[b]),c=0,d=b;c<d.length;c++)e=d[c],f.push(new a.options.qAa(e));return f},c.prototype.uw=function(a,b,c){var d=this;null!=this.ZNa&&(clearTimeout(this.ZNa),this.ZNa=null),this.vw().showDelay>0?this.ZNa=window.setTimeout(function(){d.ZNa=null,d.vw().show(d.hostElement,a,b),d.$Na(c),d.vw().hideDelay>0&&(d.ZNa=window.setTimeout(function(){d.ZNa=null,d.vw().hide()},d.vw().hideDelay))},this.vw().showDelay):(this.vw().show(this.hostElement,a,b),this.$Na(c),this.vw().hideDelay>0&&(this.ZNa=window.setTimeout(function(){d.ZNa=null,d.vw().hide()},this.vw().hideDelay)))},c.prototype._Na=function(){null!=this.ZNa&&(clearTimeout(this.ZNa),this.ZNa=null),this.vw().hide()},c.prototype.$Na=function(a){var b=document.querySelector(".gcdv-tooltip");b.style.backgroundColor=a.backgroundColor||null,b.style.borderColor=a.borderStyle.stroke||null,b.style.borderWidth=null==a.borderStyle.strokeWidth?null:a.borderStyle.strokeWidth+"px",
b.style.color=a.textStyle.color||null,b.style.fontFamily=a.textStyle.fontFamily||null,b.style.fontSize=null==a.textStyle.fontSize?null:a.textStyle.fontSize+"px"},c.prototype.Pza=function(){this.hostElement.addEventListener("mousemove",this.ontouch.bind(this),!1),this.hostElement.addEventListener("mousewheel",this.ontouch.bind(this),!1),this.hostElement.addEventListener("mouseleave",this.ontouch.bind(this),!1),this.hostElement.addEventListener("click",this.ontouch.bind(this),!1),this.hostElement.addEventListener("wheel",this.ontouch.bind(this),!1)},c.prototype.ontouch=function(b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s;if(this.enabled){switch(b=b||window.event,c=new a.MotionEvent(0,0,0),b.type){case"touchstart":c=new a.MotionEvent(a.MotionEvent.ACTION_DOWN);break;case"touchend":c=new a.MotionEvent(a.MotionEvent.ACTION_UP);break;case"touchcancel":c=new a.MotionEvent(a.MotionEvent.ACTION_CANCEL);break;case"touchmove":c=new a.MotionEvent(a.MotionEvent.ACTION_MOVE);break;case"mousedown":c=new a.MotionEvent(a.MotionEvent.ACTION_MOUSE_DOWN);break;case"mousemove":c=new a.MotionEvent(a.MotionEvent.ACTION_MOUSE_MOVE);break;case"mouseup":c=new a.MotionEvent(a.MotionEvent.ACTION_MOUSE_UP);break;case"mouseout":c=new a.MotionEvent(a.MotionEvent.ACTION_MOUSE_OUT);break;case"mouseover":c=new a.MotionEvent(a.MotionEvent.ACTION_MOUSE_OVER);break;case"click":c=new a.MotionEvent(a.MotionEvent.ACTION_CLICK);break;case"mouseenter":c=new a.MotionEvent(a.MotionEvent.ACTION_MOUSE_ENTER);break;case"mouseleave":c=new a.MotionEvent(a.MotionEvent.ACTION_MOUSE_LEAVE);break;case"wheel":c=new a.MotionEvent(a.MotionEvent.ACTION_WHEEL)}if(d=this.rAa(b,0),c.x=d.x,c.y=d.y,c.originalEvent=b,e=this.jAa.onHitted(c),null!=e)if(e.event=c,this.Lza.raise(this,e),c.action==a.MotionEvent.ACTION_CLICK){if(e&&this.jAa.$z().selectionMode!=a.SelectionMode.None&&this.jAa.$z().selectionMode!=a.SelectionMode.Custom)if(f=this.jAa.$z().selectionMode,e.elementType[0]==a.ElementType.Shape&&e.model&&e.model instanceof a.models.sAa&&e.plot)f==a.SelectionMode.Points&&(b.metaKey||b.ctrlKey||(f=a.SelectionMode.Point)),this.vp=!0,e.plot.setSelected(e.model,f),this.invalidate();else if(e.elementType[0]==a.ElementType.Series&&null!=e.model)f==a.SelectionMode.Points&&(b.metaKey||b.ctrlKey||(f=a.SelectionMode.Point)),e.plot instanceof a.TGa||e.plot instanceof a.PGa,e.plot.setSelected(e.model,f),this.vp=!0,this.invalidate();else if(e.elementType[0]!=a.ElementType.Series&&e.elementType[0]!=a.ElementType.Shape&&this.vp){for(this.vp=!1,g=0,h=this.jAa.plotAreas;g<h.length;g++)for(i=h[g],j=0,k=i.nPa();j<k.length;j++)l=k[j],l.setSelected(null,a.SelectionMode.Point);this.invalidate()}}else c.action!=a.MotionEvent.ACTION_MOUSE_MOVE&&c.action!=a.MotionEvent.ACTION_MOUSE_OVER||(e.elementType[0]==a.ElementType.Shape?null!=e.model.tooltipContentSite&&(m=this.jAa.QOa().toHtml(e.model.tooltipContentSite),m&&m.length>0&&this.uw(m,new a.core.Rect(b.clientX,b.clientY,5,5),e.plot.mPa())):this._Na(),e.elementType[0]==a.ElementType.Shape||e.elementType[0]==a.ElementType.Series?e.plot&&e.element instanceof a.MIa&&!e.element.IQa&&(n=e.plot.config.hoverStyle,n instanceof a.options.AFa&&n.iT()||(e.plot.setHovered(e.element),this.invalidate())):e.plot&&(n=e.plot.config.hoverStyle,n instanceof a.options.AFa&&n.iT()||(e.plot.setHovered(null),this.invalidate())));if(c.action==a.MotionEvent.ACTION_MOUSE_LEAVE||c.action==a.MotionEvent.ACTION_WHEEL){for(o=!1,p=0,q=this.jAa.plotAreas;p<q.length;p++)for(i=q[p],r=0,s=i.nPa();r<s.length;r++)l=s[r],n=l.config.hoverStyle,n instanceof a.options.AFa&&n.iT()||(l.setHovered(null),o=!0);this._Na(),o&&this.invalidate()}}},c.prototype.hitTest=function(b){return null!=this.jAa&&this.jAa.APa().contains(b)?this.jAa.onHitted(new a.MotionEvent(0,b.x,b.y)):null},c.prototype.Select=function(b,c,d){var e,f,g,h,i,j,k,l,m,n;if(void 0===c&&(c=null),void 0===d&&(d=null),null!=this.jAa&&this.jAa.$z().selectionMode!=a.SelectionMode.None){for(e=0,f=this.jAa.plotAreas;e<f.length;e++)for(g=f[e],h=0,i=g.nPa();h<i.length;h++)j=i[h],j.setSelected(null,a.SelectionMode.Point);if(null!=b)for(null!=c&&(this.jAa.$z().selectedStyle=new a.options.vAa(c)),k=[],b instanceof Array?k=b:k.push(b),l=0,m=k;l<m.length;l++)n=m[l],n instanceof a.models.JAa&&(n.field=d,n.N4());this.refresh()}},c.prototype.Query=function(a){var b,c,d,e,f,g,h;if(null!=this.jAa){for(b=[],c=0,d=this.jAa.plotAreas;c<d.length;c++)for(e=d[c],f=0,g=e.nPa();f<g.length;f++)h=g[f],b=b.concat(h.Query(a));return b}},Object.defineProperty(c.prototype,"event",{get:function(){return this.Lza},enumerable:!0,configurable:!0}),c.prototype.rAa=function(b,c){var d,e,f,g,h;return a.core.isNumber(b)&&a.core.isNumber(c)?b=new a.core.Point(b,c):b instanceof MouseEvent&&(b=new a.core.Point(b.pageX,b.pageY)),a.core.asType(b,a.core.Point),d=b.clone(),e=a.core.getElementRect(this.hostElement),d.x-=e.left,d.y-=e.top,f=this.nAa(),f&&(g=parseInt(f.paddingLeft.replace("px","")),g&&!isNaN(g)&&(d.x-=g),h=parseInt(f.paddingTop.replace("px","")),h&&!isNaN(h)&&(d.y-=h)),d},c.prototype.dispose=function(){b.prototype.dispose.call(this),this.jAa=null},c}(a.Control);a.FlexDV=b}(d||(d={})),function(a){var b;!function(a){"use strict";var b=function(){function a(a){this.path=a}return Object.defineProperty(a.prototype,"path",{get:function(){return this.nwa},set:function(a){var b,c,d;for(this.nwa=a,this.owa=a?a.split("."):[],b=0;b<this.owa.length;b++)c=this.owa[b],d=c.indexOf("["),d>-1&&(this.owa[b]=c.substr(0,d),this.owa.splice(++b,0,parseInt(c.substr(d+1))));this.pwa=1==this.owa.length?this.owa[0]:null},enumerable:!0,configurable:!0}),a.prototype.getValue=function(a){if(a){if(this.pwa)return a[this.pwa];if(this.nwa in a)return a[this.nwa];for(var b=0;b<this.owa.length&&a;b++)a=a[this.owa[b]]}return a},a.prototype.setValue=function(a,b){if(a){if(this.nwa in a)return void(a[this.nwa]=b);for(var c=0;c<this.owa.length-1;c++)if(a=a[this.owa[c]],null==a)return;a[this.owa[this.owa.length-1]]=b}},a}();a.Binding=b}(b=a.core||(a.core={}))}(d||(d={})),function(a){var b;!function(b){var c;!function(c){"use strict";var d,f,g,h,i=function(){function a(a,b,c,d){this.Hxa=a,this.Cj=b,this.aN=c,this.Gxa=d,this.Ub=[],this._items=[]}return Object.defineProperty(a.prototype,"name",{get:function(){return this.Cj},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"level",{get:function(){return this.aN},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"items",{get:function(){return this._items},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"groups",{get:function(){return this.Ub},enumerable:!0,configurable:!0}),a}();c.CollectionViewGroup=i,d=function(){function d(a,d){var e=this;this.Sta=-1,this.Qwa=new c.ObservableArray,this.Rwa=new c.ObservableArray,this.Swa=null,this.Twa=null,this.Uwa=0,this.Vwa=0,this.uwa=0,this.Wwa=!1,this.Xwa=!0,this.Ywa=!0,this.Zwa=!0,this.$wa=!0,this._wa=!0,this.vL=!0,this.axa=!0,this.bxa=!1,this.cxa=new c.ObservableArray,this.dxa=new c.ObservableArray,this.exa=new c.ObservableArray,this.collectionChanged=new b.Event,this.sourceCollectionChanging=new b.Event,this.sourceCollectionChanged=new b.Event,this.currentChanged=new b.Event,this.currentChanging=new b.Event,this.pageChanged=new b.Event,this.pageChanging=new b.Event,this.Qwa.collectionChanged.addHandler(function(){var a,c=e.Qwa;for(a=0;a<c.length;a++)b.assert(c[a]instanceof h,"sortDescriptions array must contain SortDescription objects.");e.canSort&&e.refresh()}),this.Rwa.collectionChanged.addHandler(function(){var a,c=e.Rwa;for(a=0;a<c.length;a++)b.assert(c[a]instanceof f,"groupDescriptions array must contain GroupDescription objects.");e.canGroup&&e.refresh()}),this.sourceCollection=a?a:new c.ObservableArray,d&&(this.beginUpdate(),b.copy(this,d),this.endUpdate())}return Object.defineProperty(d.prototype,"sortComparer",{get:function(){return this.hxa},set:function(a){a!=this.hxa&&(this.hxa=b.asFunction(a,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"useStableSort",{get:function(){return this.Wwa},set:function(a){this.Wwa=b.asBoolean(a)},enumerable:!0,configurable:!0}),d.prototype.getAggregate=function(b,c,d){var e=d?this.ixa:this.jxa;return a.ePa(b,e,c)},Object.defineProperty(d.prototype,"trackChanges",{get:function(){return this.bxa},set:function(a){this.bxa=b.asBoolean(a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"itemsAdded",{get:function(){return this.cxa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"itemsRemoved",{get:function(){return this.dxa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"itemsEdited",{get:function(){return this.exa},enumerable:!0,configurable:!0}),d.prototype.clearChanges=function(){this.cxa.clear(),this.dxa.clear(),this.exa.clear()},d.prototype.implementsInterface=function(a){switch(a){case"ICollectionView":case"IEditableCollectionView":case"IPagedCollectionView":case"INotifyCollectionChanged":return!0}return!1},d.prototype.onCollectionChanged=function(a){void 0===a&&(a=b.NotifyCollectionChangedEventArgs.reset),this.lxa||this.mxa||a.action!=b.NotifyCollectionChangedAction.Change||a.item==this.currentEditItem||this.nxa(a.item),this.collectionChanged.raise(this,a)},d.prototype.Pwa=function(a,c,d){void 0===a&&(a=b.NotifyCollectionChangedAction.Reset);var e=new b.NotifyCollectionChangedEventArgs(a,c,d);this.onCollectionChanged(e)},d.prototype.onSourceCollectionChanging=function(a){return this.sourceCollectionChanging.raise(this,a),!a.cancel},d.prototype.onSourceCollectionChanged=function(a){this.sourceCollectionChanged.raise(this,a)},Object.defineProperty(d.prototype,"canFilter",{get:function(){return this.Xwa},set:function(a){this.Xwa=b.asBoolean(a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"canGroup",{get:function(){return this.Ywa},set:function(a){this.Ywa=b.asBoolean(a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"canSort",{get:function(){return this.Zwa},set:function(a){this.Zwa=b.asBoolean(a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"currentItem",{get:function(){return this.ixa&&this.Sta>-1&&this.Sta<this.ixa.length?this.ixa[this.Sta]:null},set:function(a){this.moveCurrentTo(a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"currentPosition",{get:function(){return this.Sta},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"filter",{get:function(){return this.PY},set:function(a){this.PY!=a&&(this.PY=b.asFunction(a),this.canFilter&&this.refresh())},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"groupDescriptions",{get:function(){return this.Rwa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"groups",{get:function(){return this.Ub},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"isEmpty",{get:function(){return!this.ixa||!this.ixa.length},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"sortDescriptions",{get:function(){return this.Qwa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"sourceCollection",{get:function(){return this.oxa},set:function(a){if(a!=this.oxa){if(!this.onSourceCollectionChanging(new b.CancelEventArgs))return;var c=this.currentPosition;this.commitEdit(),this.commitNew(),null!=this.pxa&&this.pxa.collectionChanged.removeHandler(this.qxa),this.oxa=b.asArray(a,!1),this.pxa=b.tryCast(this.oxa,"INotifyCollectionChanged"),this.pxa&&this.pxa.collectionChanged.addHandler(this.qxa,this),this.clearChanges(),this.refresh(),this.moveCurrentToFirst(),this.onSourceCollectionChanged(),this.currentPosition<0&&c>-1&&this.onCurrentChanged()}},enumerable:!0,configurable:!0}),d.prototype.qxa=function(a,b){this.uwa<=0&&this.refresh()},d.prototype.contains=function(a){return this.ixa.indexOf(a)>-1},d.prototype.moveCurrentTo=function(a){return this.moveCurrentToPosition(this.ixa.indexOf(a))},d.prototype.moveCurrentToFirst=function(){return this.moveCurrentToPosition(0)},d.prototype.moveCurrentToLast=function(){return this.moveCurrentToPosition(this.ixa.length-1)},d.prototype.moveCurrentToPrevious=function(){return this.Sta>0&&this.moveCurrentToPosition(this.Sta-1)},d.prototype.moveCurrentToNext=function(){return this.moveCurrentToPosition(this.Sta+1)},d.prototype.moveCurrentToPosition=function(a){if(a>=-1&&a<this.ixa.length){var c=new b.CancelEventArgs;this.Sta!=a&&this.onCurrentChanging(c)&&(this.Twa&&this.ixa[a]!=this.Twa&&this.commitEdit(),this.Swa&&this.ixa[a]!=this.Swa&&this.commitNew(),this.Sta=a,this.onCurrentChanged())}return this.Sta==a},d.prototype.refresh=function(){this.uwa>0||this.Swa||this.Twa||(this.rxa(),this.onCollectionChanged())},d.prototype.rxa=function(){var a,b=this.currentItem;this.oxa?this.PY&&this.canFilter?this.jxa=this.sxa(this.oxa):this.jxa=this.Qwa.length>0&&this.canSort?this.oxa.slice(0):this.oxa:this.jxa=[],this.canSort&&this.Qwa.length>0&&this.txa(this.jxa),this.Ub=this.canGroup?this.uxa(this.jxa):null,this.mta=this.Ub,this.Ub&&(this.jxa=this.vxa(this.Ub)),this.Vwa=j(this.Vwa,0,this.pageCount-1),this.ixa=this.wxa(),this.Ub&&this.pageCount>1&&(this.Ub=this.uxa(this.ixa),this.vxa(this.Ub)),a=this.ixa.indexOf(b),a<0&&(a=Math.min(this.Sta,this.ixa.length-1)),this.Sta=a,this.xxa=this.yxa(this.groups),this.currentItem!==b&&this.onCurrentChanged()},d.prototype.txa=function(a){var b,c,d;if(this.Wwa)for(b=a.map(function(a,b){return{item:a,index:b}}),c=this.zxa(),b.sort(function(a,b){var d=c(a.item,b.item);return 0==d?a.index-b.index:d}),d=0;d<a.length;d++)a[d]=b[d].item;else a.sort(this.zxa())},d.prototype.zxa=function(){var a=this.Qwa,b=this.gxa,c=this.hxa,d=!0,e=0;return function(f,g){var h,i,j,k,l,m;for(h=0;h<a.length;h++){if(i=a[h],j=i.Mwa.getValue(f),k=i.Mwa.getValue(g),b&&(j=b(i,f,j,d),k=b(i,g,k,!1),d=!1),c&&(e=c(j,k),null!=e))return i.ascending?+e:-e;if(j!==j&&(j=null),k!==k&&(k=null),"string"==typeof j&&"string"==typeof k&&(l=j.toLowerCase(),m=k.toLowerCase(),l!=m&&(j=l,k=m)),null!=j&&null==k)return-1;if(null==j&&null!=k)return 1;if(e=j<k?-1:j>k?1:0,0!=e)return i.ascending?+e:-e}return 0}},d.prototype.sxa=function(a){return this.canFilter&&this.PY?a.filter(this.PY,this):a},d.prototype.onCurrentChanged=function(a){void 0===a&&(a=b.EventArgs.empty),this.currentChanged.raise(this,a)},d.prototype.onCurrentChanging=function(a){return this.currentChanging.raise(this,a),!a.cancel},Object.defineProperty(d.prototype,"items",{get:function(){return this.ixa},enumerable:!0,configurable:!0}),d.prototype.beginUpdate=function(){this.uwa++},d.prototype.endUpdate=function(){this.uwa--,this.uwa<=0&&this.refresh()},Object.defineProperty(d.prototype,"isUpdating",{get:function(){return this.uwa>0},enumerable:!0,configurable:!0}),d.prototype.deferUpdate=function(a){try{this.beginUpdate(),a()}finally{this.endUpdate()}},Object.defineProperty(d.prototype,"canAddNew",{get:function(){return this.$wa},set:function(a){this.$wa=b.asBoolean(a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"canCancelEdit",{get:function(){return this._wa},set:function(a){this._wa=b.asBoolean(a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"canRemove",{get:function(){return this.vL},set:function(a){this.vL=b.asBoolean(a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"currentAddItem",{get:function(){return this.Swa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"currentEditItem",{get:function(){return this.Twa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"isAddingNew",{get:function(){return null!=this.Swa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"isEditingItem",{get:function(){return null!=this.Twa},enumerable:!0,configurable:!0}),d.prototype.editItem=function(a){a!=this.Twa&&this.moveCurrentTo(a)&&(this.commitEdit(),this.Twa=a,this.Axa={},this.Ia(this.Axa,this.Twa))},d.prototype.commitEdit=function(){var a,c,d,e=this.Twa;null!=e&&(this.lxa=!0,a=this.Bxa(e,this.Axa),this.Twa=null,this.Axa=null,c=this.ixa.indexOf(e),d=this.xxa,this.rxa(),a||this.nxa(e),this.ixa.indexOf(e)==c&&d==this.xxa?this.Pwa(b.NotifyCollectionChangedAction.Change,e,c):this.Pwa(),this.lxa=!1)},d.prototype.cancelEdit=function(){var a,c=this.Twa;if(null!=c){if(this.Twa=null,!this.canCancelEdit)return void b.assert(!1,"cannot cancel edits (canCancelEdit == false).");if(a=this.oxa.indexOf(c),a<0||!this.Axa)return;this.Ia(this.oxa[a],this.Axa),this.Axa=null,this.mxa=!0,this.Pwa(b.NotifyCollectionChangedAction.Change,c,a),this.mxa=!1}},d.prototype.commitNew=function(){var a,c,d,e=this.Swa;null!=e&&(this.Swa=null,a=this.ixa.indexOf(e),c=this.xxa,this.rxa(),1==this.bxa&&(d=this.exa.indexOf(e),d>-1&&this.exa.removeAt(d),this.cxa.indexOf(e)<0&&this.cxa.push(e)),this.ixa.indexOf(e)==a&&c==this.xxa?this.Pwa(b.NotifyCollectionChangedAction.Change,e,a):this.Pwa())},d.prototype.cancelNew=function(){var a=this.Swa;null!=a&&this.remove(a)},d.prototype.remove=function(a){var c,d,e,f,g,h,i,j,k=a==this.Swa;return k&&(this.Swa=null),a==this.Twa&&this.cancelEdit(),this.canRemove?(c=this.oxa.indexOf(a),void(c>-1&&(d=this.currentItem,this.uwa++,this.oxa.splice(c,1),this.uwa--,e=this.xxa,this.rxa(),1==this.bxa&&(f=this.cxa.indexOf(a),f>-1&&this.cxa.removeAt(f),g=this.exa.indexOf(a),g>-1&&this.exa.removeAt(g),h=this.dxa.indexOf(a),h<0&&!k&&f<0&&this.dxa.push(a)),i=this.sortDescriptions.length>0,j=this.pageSize>0&&this.Vwa>-1,i||j||e!=this.yxa(this.groups)?this.Pwa():this.Pwa(b.NotifyCollectionChangedAction.Remove,a,c),this.currentItem!==d&&this.onCurrentChanged()))):void b.assert(!1,"cannot remove items (canRemove == false).")},d.prototype.removeAt=function(a){a=b.asInt(a),this.remove(this.ixa[a])},d.prototype.nxa=function(a){var c,d;this.bxa&&(c=this.exa.indexOf(a),c<0&&this.cxa.indexOf(a)<0?this.exa.push(a):c>-1?(d=new b.NotifyCollectionChangedEventArgs(b.NotifyCollectionChangedAction.Change,a,c),this.exa.onCollectionChanged(d)):(c=this.cxa.indexOf(a),c>-1&&(d=new b.NotifyCollectionChangedEventArgs(b.NotifyCollectionChangedAction.Change,a,c),this.cxa.onCollectionChanged(d))))},d.prototype.Ia=function(a,b){for(var c in b)a[c]=b[c]},d.prototype.Bxa=function(a,b){var c;for(c in b)if(!this.Cxa(a[c],b[c]))return!1;for(c in a)if(!this.Cxa(a[c],b[c]))return!1;return!0},d.prototype.Cxa=function(a,c){return a==c||b.DateTime.equals(a,c)},Object.defineProperty(d.prototype,"canChangePage",{get:function(){return this.axa},set:function(a){this.axa=b.asBoolean(a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"isPageChanging",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"itemCount",{get:function(){return this.ixa.length},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"pageIndex",{get:function(){return this.Vwa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"pageSize",{get:function(){return this.Uwa},set:function(a){a!=this.Uwa&&(this.Uwa=b.asInt(a),this.refresh())},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"totalItemCount",{get:function(){return this.jxa.length},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"pageCount",{get:function(){return this.pageSize?Math.ceil(this.totalItemCount/this.pageSize):1},enumerable:!0,configurable:!0}),d.prototype.moveToFirstPage=function(){return this.moveToPage(0)},d.prototype.moveToLastPage=function(){return this.moveToPage(this.pageCount-1)},d.prototype.moveToNextPage=function(){return this.moveToPage(this.pageIndex+1)},d.prototype.moveToPage=function(a){var c,d=j(a,0,this.pageCount-1);return d!=this.Vwa&&(this.canChangePage||b.assert(!1,"cannot change pages (canChangePage == false)."),c=new b.PageChangingEventArgs(d),this.onPageChanging(c)&&(this.Vwa=d,this.ixa=this.wxa(),this.Sta=0,this.groupDescriptions&&0!=this.groupDescriptions.length?this.refresh():(this.onPageChanged(),this.onCollectionChanged()))),this.Vwa==a},d.prototype.moveToPreviousPage=function(){return this.moveToPage(this.pageIndex-1)},d.prototype.onPageChanged=function(a){void 0===a&&(a=b.EventArgs.empty),this.pageChanged.raise(this,a)},d.prototype.onPageChanging=function(a){return this.pageChanging.raise(this,a),!a.cancel},d.prototype.Dxa=function(a){var b=this.Exa(this.mta,a.level,a.nwa);return null!=b&&(a=b),a},d.prototype.Exa=function(a,b,c){var d,e;for(d=0;d<a.length;d++){if(e=a[d],e.level==b&&e.nwa==c)return e;if(e.level<b&&0==c.indexOf(e.nwa)&&(e=this.Exa(e.groups,b,c),null!=e))return e}return null},d.prototype.wxa=function(){if(this.pageSize<=0||this.Vwa<0)return this.jxa;var a=this.Uwa*this.Vwa,b=Math.min(a+this.Uwa,this.jxa.length);return this.jxa.slice(a,b)},d.prototype.uxa=function(a){var c,d,e,f,g,h,i,j,k,l,m,n,o;if(!this.Rwa||!this.Rwa.length)return null;for(c=[],d={},e=null,f=0;f<a.length;f++)for(g=a[f],h=c,i=this.Rwa.length,j="",k=0;k<i;k++)l=this.Rwa[k],m=l.groupNameFromItem(g,k),n=k==i-1,e=d[j],!e&&b.isPrimitive(m)&&(e={},d[j]=e),o=this.Fxa(l,h,e,m,k,n),j+="/"+m,o.nwa=j,n&&o.items.push(g),h=o.groups;return c},d.prototype.yxa=function(a){var b,c,d="";for(b=0;null!=a&&b<a.length;b++)c=a[b],d+="{"+c.name+":"+(c.items?c.items.length:"*"),c.groups.length>0&&(d+=",",d+=this.yxa(c.groups)),d+="}";return d},d.prototype.vxa=function(a){var b,c,d,e,f,g=[];for(b=0;b<a.length;b++){if(c=a[b],!c.Gxa)for(d=this.vxa(c.groups),e=0,f=d.length;e<f;e++)c._items.push(d[e]);for(e=0,f=c._items.length;e<f;e++)g.push(c._items[e])}return g},d.prototype.Fxa=function(a,c,d,e,f,g){var h,j,k;if(d&&b.isPrimitive(e)){if(h=d[e])return h}else for(j=0;j<c.length;j++)if(a.namesMatch(c[j].name,e))return c[j];return k=new i(a,e,f,g),c.push(k),d&&(d[e]=k),k},d}(),c.CollectionView=d,f=function(){function a(){}return a.prototype.groupNameFromItem=function(a,b){return""},a.prototype.namesMatch=function(a,b){return a===b},a}(),c.GroupDescription=f,g=function(a){e(c,a);function c(c,d){var e=a.call(this)||this;return e.Mwa=new b.Binding(c),e.Owa=d,e}return Object.defineProperty(c.prototype,"propertyName",{get:function(){return this.Mwa.path},enumerable:!0,configurable:!0}),c.prototype.groupNameFromItem=function(a,b){return this.Owa?this.Owa(a,this.propertyName):this.Mwa.getValue(a)},c.prototype.namesMatch=function(a,b){return a===b},c}(f),c.PropertyGroupDescription=g,h=function(){function a(a,c){this.Mwa=new b.Binding(a),this.Nwa=c}return Object.defineProperty(a.prototype,"property",{get:function(){return this.Mwa.path},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"ascending",{get:function(){return this.Nwa},enumerable:!0,configurable:!0}),a}();function j(a,b,c){return null!=a&&(null!=c&&a>c&&(a=c),null!=b&&a<b&&(a=b)),a}}(c=b.collections||(b.collections={}))}(b=a.core||(a.core={}))}(d||(d={})),function(a){var b;!function(a){var b;!function(b){"use strict";var c,d=function(){function a(){this.length=0,Array.apply(this,arguments)}return a.prototype.pop=function(){return null},a.prototype.push=function(){var a,b=[];for(a=0;a<arguments.length;a++)b[a]=arguments[a];return 0},a.prototype.splice=function(a,b,c){return null},a.prototype.slice=function(a,b){return null},a.prototype.indexOf=function(a,b){return-1},a.prototype.sort=function(a){return null},a.prototype.forEach=function(a,b){return null},a.prototype.filter=function(a,b){return null},a}();b.ArrayBase=d,d.prototype=Array.prototype,c=function(b){e(c,b);function c(c){var d,e=b.call(this)||this;if(e.uwa=0,e.collectionChanged=new a.Event,c){for(c=a.asArray(c),e.uwa++,d=0;d<c.length;d++)e.push(c[d]);e.uwa--}return e}return c.prototype.push=function(){var c,d,e,f=[];for(c=0;c<arguments.length;c++)f[c]=arguments[c];for(d=this.length,e=0;f&&e<f.length;e++)d=b.prototype.push.call(this,f[e]),this.uwa||this.Pwa(a.NotifyCollectionChangedAction.Add,f[e],d-1);return d},c.prototype.pop=function(){var c=b.prototype.pop.call(this);return this.Pwa(a.NotifyCollectionChangedAction.Remove,c,this.length),c},c.prototype.splice=function(c,d,e){var f;return d&&e?(f=b.prototype.splice.call(this,c,d,e),1==d?this.Pwa(a.NotifyCollectionChangedAction.Change,e,c):this.Pwa(),f):e?(f=b.prototype.splice.call(this,c,0,e),this.Pwa(a.NotifyCollectionChangedAction.Add,e,c),f):(f=b.prototype.splice.call(this,c,d),1==d?this.Pwa(a.NotifyCollectionChangedAction.Remove,f[0],c):this.Pwa(),f)},c.prototype.slice=function(a,c){return b.prototype.slice.call(this,a,c)},c.prototype.indexOf=function(a,c){return b.prototype.indexOf.call(this,a,c)},c.prototype.sort=function(a){var c=b.prototype.sort.call(this,a);return this.Pwa(),c},c.prototype.insert=function(a,b){this.splice(a,0,b)},c.prototype.remove=function(a){var b=this.indexOf(a);return b>-1&&(this.removeAt(b),!0)},c.prototype.removeAt=function(a){this.splice(a,1)},c.prototype.setAt=function(a,b){a>this.length&&(this.length=a),this.splice(a,1,b)},c.prototype.clear=function(){0!==this.length&&(this.splice(0,this.length),this.Pwa())},c.prototype.beginUpdate=function(){this.uwa++},c.prototype.endUpdate=function(){this.uwa>0&&(this.uwa--,0==this.uwa&&this.Pwa())},Object.defineProperty(c.prototype,"isUpdating",{get:function(){return this.uwa>0},enumerable:!0,configurable:!0}),c.prototype.deferUpdate=function(a){try{this.beginUpdate(),a()}finally{this.endUpdate()}},c.prototype.implementsInterface=function(a){return"INotifyCollectionChanged"==a},c.prototype.onCollectionChanged=function(b){void 0===b&&(b=a.NotifyCollectionChangedEventArgs.reset),this.isUpdating||this.collectionChanged.raise(this,b)},c.prototype.Pwa=function(b,c,d){if(void 0===b&&(b=a.NotifyCollectionChangedAction.Reset),!this.isUpdating){var e=new a.NotifyCollectionChangedEventArgs(b,c,d);this.onCollectionChanged(e)}},c}(d),b.ObservableArray=c}(b=a.collections||(a.collections={}))}(b=a.core||(a.core={}))}(d||(d={})),function(a){var b;!function(a){"use strict";var b=function(){function b(){}return b.addDays=function(a,b){var c=new Date(a);return c.setDate(c.getDate()+b),c},b.addMonths=function(a,b){var c=new Date(a);return c.setMonth(c.getMonth()+b),c},b.addYears=function(a,b){var c=new Date(a);return c.setFullYear(c.getFullYear()+b),c},b.addHours=function(a,b){var c=new Date(a);return c.setHours(c.getHours()+b),c},b.addMinutes=function(a,b){var c=new Date(a);return c.setMinutes(c.getMinutes()+b),c},b.addSeconds=function(a,b){var c=new Date(a);return c.setSeconds(c.getSeconds()+b),c},b.sameDate=function(b,c){return a.isDate(b)&&a.isDate(c)&&b.getFullYear()==c.getFullYear()&&b.getMonth()==c.getMonth()&&b.getDate()==c.getDate()},b.sameTime=function(b,c){return a.isDate(b)&&a.isDate(c)&&b.getHours()==c.getHours()&&b.getMinutes()==c.getMinutes()&&b.getSeconds()==c.getSeconds()},b.equals=function(b,c){return a.isDate(b)&&a.isDate(c)&&b.getTime()==c.getTime()},b.fromDateTime=function(a,b){return a||b?(a||(a=b),b||(b=a),new Date(a.getFullYear(),a.getMonth(),a.getDate(),b.getHours(),b.getMinutes(),b.getSeconds())):null},b.toFiscal=function(c,d){var e=a.culture.Globalize.calendar;return Array.isArray(e.fiscalYearOffsets)?b.addMonths(c,-e.fiscalYearOffsets[d?0:1]):c},b.fromFiscal=function(c,d){var e=a.culture.Globalize.calendar;return Array.isArray(e.fiscalYearOffsets)?b.addMonths(c,+e.fiscalYearOffsets[d?0:1]):c},b.newDate=function(){var a=new Date;return new Date(a.getFullYear(),a.getMonth(),a.getDate())},b.clone=function(a){return b.fromDateTime(a,a)},b}();a.DateTime=b}(b=a.core||(a.core={}))}(d||(d={})),function(a){var b;!function(a){"use strict";var b=function(){function a(a,b,c){var d,e,f,g,h=Math.max(Math.max(a,b),c),i=Math.min(Math.min(a,b),c),j=h+i;this.luminosity=parseInt(""+(240*j+255)/510,10),d=h-i,0===d?(this.saturation=0,this.hue=160):(this.luminosity<=120?this.saturation=parseInt(""+(240*d+j/2)/j,10):this.saturation=parseInt(""+(240*d+(510-j)/2)/(510-j),10),e=(40*(h-a)+d/2)/d,f=(40*(h-b)+d/2)/d,g=(40*(h-c)+d/2)/d,a===h?this.hue=parseInt(""+(g-f),10):b===h?this.hue=parseInt(""+(80+e-g),10):this.hue=parseInt(""+(160+f-e),10),this.hue<0&&(this.hue+=240),this.hue>240&&(this.hue-=240))}return a}();a.HslColor=b;function c(a,c){var e,f,g;return 0===c?a:(e=new b(a.r,a.g,a.b),f=parseInt(""+(c>0?""+(240-e.luminosity)*c:e.luminosity*c),10),g=d(e.hue,e.saturation,e.luminosity+f),{r:g.r,g:g.g,b:g.b,a:a.a})}a.applyTint=c;function d(a,b,c){var d,f,g,h,i;function j(a,b,c){return parseInt(""+(255*e(a,b,c)+120)/240,10)}return 0===b?d=f=g=parseInt(""+255*c/240,10):(i=c<=120?(c*(240+b)+120)/240:c+b-(c*b+120)/240,h=2*c-i,d=j(h,i,a+80),f=j(h,i,a),g=j(h,i,a-80)),{a:255,r:d,g:f,b:g}}a.fromHsl=d;function e(a,b,c){return c<0&&(c+=240),c>240&&(c-=240),c<40?a+((b-a)*c+20)/40:c<120?b:c<160?a+((b-a)*(160-c)+20)/40:a}}(b=a.core||(a.core={}))}(d||(d={})),function(a){var b;!function(a){"use strict";var b,c,d,f,g,h,i;!function(a){a[a.Add=0]="Add",a[a.Remove=1]="Remove",a[a.Change=2]="Change",a[a.Reset=3]="Reset"}(b=a.NotifyCollectionChangedAction||(a.NotifyCollectionChangedAction={})),c=function(){function a(a,b){this.handler=a,this.self=b}return a}(),d=function(){function b(){this.qwa=[]}return b.prototype.addHandler=function(b,d){a.asFunction(b),this.qwa.push(new c(b,d))},b.prototype.removeHandler=function(b,c){var d,e;for(a.asFunction(b),d=0;d<this.qwa.length&&(e=this.qwa[d],e.handler!=b&&null!=b||e.self!=c&&null!=c||(this.qwa.splice(d,1),!b||!c));d++);},b.prototype.removeAllHandlers=function(){this.qwa.length=0},b.prototype.raise=function(a,b){var c,d;for(void 0===b&&(b=f.empty),c=0;c<this.qwa.length;c++)d=this.qwa[c],d.handler.call(d.self,a,b)},Object.defineProperty(b.prototype,"hasHandlers",{get:function(){return this.qwa.length>0},enumerable:!0,configurable:!0}),b}(),a.Event=d,f=function(){function a(){}return a.empty=new a,a}(),a.EventArgs=f,g=function(a){e(b,a);function b(){var b=null!==a&&a.apply(this,arguments)||this;return b.cancel=!1,b}return b}(f),a.CancelEventArgs=g,h=function(a){e(c,a);function c(c,d,e){void 0===c&&(c=b.Reset),void 0===d&&(d=null),void 0===e&&(e=-1);var f=a.call(this)||this;return f.action=c,f.item=d,f.index=e,f}return c.reset=new c(b.Reset),c}(f),a.NotifyCollectionChangedEventArgs=h,i=function(a){e(b,a);function b(b){var c=a.call(this)||this;return c.newPageIndex=b,c}return b}(g),a.PageChangingEventArgs=i}(b=a.core||(a.core={}))}(d||(d={})),function(a){var b;!function(a){function b(a,b,c){return null!=a&&(null!=c&&a>c&&(a=c),null!=b&&a<b&&(a=b)),a}a.clamp=b}(b=a.core||(a.core={}))}(d||(d={})),function(a){var b;!function(a){"use strict";function b(a){var c,d,e,f,g,h;if(null==a||"number"==typeof a||"string"==typeof a||"boolean"==typeof a)return a;if(Array.isArray(a)){for(c=[],d=0,e=a;d<e.length;d++)f=e[d],c.push(b(f));return c}if(a instanceof Date)return new Date(a.getTime());g={};for(h in a)"function"==typeof a[h]?g[h]=a[h]:g[h]=b(a[h]);return g}a.cloneDeep=b}(b=a.core||(a.core={}))}(d||(d={})),function(a){var b;!function(a){"use strict";a.culture={Globalize:{numberFormat:{".":".",",":",",percent:{pattern:["-n %","n %"]},currency:{decimals:2,symbol:"$",pattern:["($n)","$n"]}},calendar:{"/":"/",":":":",firstDay:0,days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],am:["AM","A"],pm:["PM","P"],eras:["A.D.","B.C."],patterns:{d:"M/d/yyyy",D:"dddd, MMMM dd, yyyy",f:"dddd, MMMM dd, yyyy h:mm tt",F:"dddd, MMMM dd, yyyy h:mm:ss tt",t:"h:mm tt",T:"h:mm:ss tt",M:"MMMM d",m:"MMMM d",Y:"MMMM, yyyy",y:"MMMM, yyyy",g:"M/d/yyyy h:mm tt",G:"M/d/yyyy h:mm:ss tt",s:'yyyy"-"MM"-"dd"T"HH":"mm":"ss',o:'yyyy"-"MM"-"dd"T"HH":"mm":"ss"."fffffffK',O:'yyyy"-"MM"-"dd"T"HH":"mm":"ss"."fffffffK',U:"dddd, MMMM dd, yyyy h:mm:ss tt"},fiscalYearOffsets:[-3,-3]}}}}(b=a.core||(a.core={}))}(d||(d={})),function(a){var b;!function(a){"use strict";function b(a,b){var c,d,e;if(null!=a)for(c=0,d=a;c<d.length;c++)if(e=d[c],b(e))return e;return null}a.find=b}(b=a.core||(a.core={}))}(d||(d={})),function(a){var b;!function(a){function b(b,c){return void 0===c&&(c=!0),a.assert(c&&null==b||a.isArray(b),"Array expected."),
b}a.asArray=b}(b=a.core||(a.core={}))}(d||(d={})),function(a){var b;!function(a){function b(b,c){return void 0===c&&(c=!1),a.assert(c&&null==b||a.isBoolean(b),"Boolean expected."),b}a.asBoolean=b}(b=a.core||(a.core={}))}(d||(d={})),function(a){var b;!function(a){function b(b,c,d){if(void 0===d&&(d=!1),null==b&&d)return null;var e=c[b];return a.assert(null!=e,"Invalid enum value."),a.isNumber(e)?e:b}a.asEnum=b}(b=a.core||(a.core={}))}(d||(d={})),function(a){var b;!function(a){"use strict";function b(b,c){return void 0===c&&(c=!0),a.assert(c&&null==b||a.isFunction(b),"Function expected."),b}a.asFunction=b}(b=a.core||(a.core={}))}(d||(d={})),function(a){var b;!function(a){function b(b,c,d){if(void 0===c&&(c=!1),void 0===d&&(d=!1),a.assert(c&&null==b||a.isInt(b),"Integer expected."),d&&b&&b<0)throw"Positive integer expected.";return b}a.asInt=b}(b=a.core||(a.core={}))}(d||(d={})),function(a){var b;!function(a){"use strict";function b(b,c,d){if(void 0===c&&(c=!1),void 0===d&&(d=!1),a.assert(c&&null==b||a.isNumber(b),"Number expected."),d&&b&&b<0)throw"Positive number expected.";return b}a.asNumber=b}(b=a.core||(a.core={}))}(d||(d={})),function(a){var b;!function(a){"use strict";function b(a,b){if(!a)throw b?"Assertion failed: "+b:"Assertion failed!"}a.assert=b}(b=a.core||(a.core={}))}(d||(d={})),function(a){var b;!function(a){"use strict";function b(b,c){return void 0===c&&(c=!0),c&&null==b?b:"string"==typeof b?b:void a.assert(!1,"A string value is expected.")}a.asString=b}(b=a.core||(a.core={}))}(d||(d={})),function(a){var b;!function(a){function b(a){return a instanceof Array}a.isArray=b}(b=a.core||(a.core={}))}(d||(d={})),function(a){var b;!function(a){function b(a){return"boolean"==typeof a}a.isBoolean=b}(b=a.core||(a.core={}))}(d||(d={})),function(a){var b;!function(a){"use strict";function b(a){return a instanceof Date&&!isNaN(a.getTime())}a.isDate=b}(b=a.core||(a.core={}))}(d||(d={})),function(a){var b;!function(a){function b(a){return"function"==typeof a}a.isFunction=b}(b=a.core||(a.core={}))}(d||(d={})),function(a){var b;!function(a){function b(b){return a.isNumber(b)&&b==Math.round(b)}a.isInt=b}(b=a.core||(a.core={}))}(d||(d={})),function(a){var b;!function(a){"use strict";function b(a){return"number"==typeof a}a.isNumber=b}(b=a.core||(a.core={}))}(d||(d={})),function(a){var b;!function(a){function b(b){return null!=b&&"object"==typeof b&&!a.isDate(b)&&!a.isArray(b)}a.isObject=b}(b=a.core||(a.core={}))}(d||(d={})),function(a){var b;!function(a){function b(b){return a.isString(b)||a.isNumber(b)||a.isBoolean(b)||a.isDate(b)}a.isPrimitive=b}(b=a.core||(a.core={}))}(d||(d={})),function(a){var b;!function(a){"use strict";function b(a){return"string"==typeof a}a.isString=b}(b=a.core||(a.core={}))}(d||(d={})),function(a){var b;!function(a){"use strict";function b(){var a,c,d,e,f,g,h,i=[];for(a=0;a<arguments.length;a++)i[a]=arguments[a];for(c={},d=0,e=i;d<e.length;d++)if(f=e[d],null!=f&&"number"!=typeof f&&"string"!=typeof f&&"boolean"!=typeof f)if(Array.isArray(f))for(Array.isArray(c)||(c=[]),g=0;g<f.length;g++)g<f.length&&g<c.length?c[g]=b(c[g],f[g]):c.push(b(f[g]));else for(h in f)null===f[h]||"number"==typeof f[h]||"string"==typeof f[h]||"boolean"==typeof f[h]?c[h]=f[h]:void 0===f[h]||(c[h]=b(c[h],f[h]));return c}a.merge=b}(b=a.core||(a.core={}))}(d||(d={})),function(a){var b;!function(a){"use strict";function b(a,b,c){var d,e;return c?(d=""+a,e=d.indexOf("."),e>-1&&(d=d.substr(0,e+1+b),a=parseFloat(d))):(d=a.toFixed(b),a=parseFloat(d)),a}a.toFixed=b}(b=a.core||(a.core={}))}(d||(d={})),function(a){var b;!function(a){"use strict";var b=function(){function b(a){this.Yxa=0,this.Zxa=0,this.$xa=0,this._xa=1,a&&this.T0(a)}return Object.defineProperty(b.prototype,"r",{get:function(){return this.Yxa},set:function(b){this.Yxa=a.clamp(a.asNumber(b),0,255)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"g",{get:function(){return this.Zxa},set:function(b){this.Zxa=a.clamp(a.asNumber(b),0,255)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"b",{get:function(){return this.$xa},set:function(b){this.$xa=a.clamp(a.asNumber(b),0,255)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"a",{get:function(){return this._xa},set:function(b){this._xa=a.clamp(a.asNumber(b),0,1)},enumerable:!0,configurable:!0}),b.prototype.equals=function(a){return a instanceof b&&this.r==a.r&&this.g==a.g&&this.b==a.b&&this.a==a.a},b.prototype.toString=function(){var a=Math.round(100*this.a);return a>99?"#"+((1<<24)+(this.r<<16)+(this.g<<8)+this.b).toString(16).slice(1):"rgba("+this.r+","+this.g+","+this.b+","+a/100+")"},b.fromRgba=function(c,d,e,f){void 0===f&&(f=1);var g=new b(null);return g.r=Math.round(a.clamp(a.asNumber(c),0,255)),g.g=Math.round(a.clamp(a.asNumber(d),0,255)),g.b=Math.round(a.clamp(a.asNumber(e),0,255)),g.a=a.clamp(a.asNumber(f),0,1),g},b.fromHsb=function(c,d,e,f){void 0===f&&(f=1);var g=b.aya(a.clamp(a.asNumber(c),0,1),a.clamp(a.asNumber(d),0,1),a.clamp(a.asNumber(e),0,1));return b.fromRgba(g[0],g[1],g[2],f)},b.fromHsl=function(c,d,e,f){void 0===f&&(f=1);var g=b.bya(a.clamp(a.asNumber(c),0,1),a.clamp(a.asNumber(d),0,1),a.clamp(a.asNumber(e),0,1));return b.fromRgba(g[0],g[1],g[2],f)},b.fromString=function(c){var d=new b(null);return d.T0(a.asString(c))?d:null},b.prototype.getHsb=function(){return b.cya(this.r,this.g,this.b)},b.prototype.getHsl=function(){return b.dya(this.r,this.g,this.b)},b.interpolate=function(c,d,e){var f,g,h,i,j,k;return e=a.clamp(a.asNumber(e),0,1),f=b.dya(c.r,c.g,c.b),g=b.dya(d.r,d.g,d.b),h=1-e,i=c.a*h+d.a*e,j=[f[0]*h+g[0]*e,f[1]*h+g[1]*e,f[2]*h+g[2]*e],k=b.bya(j[0],j[1],j[2]),b.fromRgba(k[0],k[1],k[2],i)},b.toOpaque=function(d,e){if(d=a.isString(d)?b.fromString(d):c(d,b),1==d.a)return d;e=null==e?b.fromRgba(255,255,255,1):a.isString(e)?b.fromString(e):c(e,b);var f=d.a,g=1-f;return b.fromRgba(d.r*f+e.r*g,d.g*f+e.g*g,d.b*f+e.b*g)},b.prototype.T0=function(a){var c,d,e,f,g,h,i,j,k;return a=a.toLowerCase(),"transparent"==a?(this.Yxa=this.Zxa=this.$xa=this._xa=0,!0):(a&&0!=a.indexOf("#")&&0!=a.indexOf("rgb")&&0!=a.indexOf("hsl")&&(c=document.createElement("div"),c.style.color=a,d=c.style.color,d==a&&(d=window.getComputedStyle(c).color,d||(document.body.appendChild(c),d=window.getComputedStyle(c).color,document.body.removeChild(c))),a=d.toLowerCase()),0==a.indexOf("#")?4==a.length?(this.r=parseInt(a[1]+a[1],16),this.g=parseInt(a[2]+a[2],16),this.b=parseInt(a[3]+a[3],16),this.a=1,!0):7==a.length&&(this.r=parseInt(a.substr(1,2),16),this.g=parseInt(a.substr(3,2),16),this.b=parseInt(a.substr(5,2),16),this.a=1,!0):0==a.indexOf("rgb")&&(e=a.indexOf("("),f=a.indexOf(")"),e>-1&&f>-1&&(g=a.substr(e+1,f-(e+1)).split(","),g.length>2))?(this.r=parseInt(g[0]),this.g=parseInt(g[1]),this.b=parseInt(g[2]),this.a=g.length>3?parseFloat(g[3]):1,!0):0==a.indexOf("hsl")&&(e=a.indexOf("("),f=a.indexOf(")"),e>-1&&f>-1&&(g=a.substr(e+1,f-(e+1)).split(","),g.length>2))&&(h=parseInt(g[0])/360,i=parseInt(g[1]),j=parseInt(g[2]),g[1].indexOf("%")>-1&&(i/=100),g[2].indexOf("%")>-1&&(j/=100),k=b.bya(h,i,j),this.r=k[0],this.g=k[1],this.b=k[2],this.a=g.length>3?parseFloat(g[3]):1,!0))},b.bya=function(c,d,e){var f,g,h,i,j;return a.assert(c>=0&&c<=1&&d>=0&&d<=1&&e>=0&&e<=1,"bad HSL values"),0==d?f=g=h=e:(i=e<.5?e*(1+d):e+d-e*d,j=2*e-i,f=b.eya(j,i,c+1/3),g=b.eya(j,i,c),h=b.eya(j,i,c-1/3)),[Math.round(255*f),Math.round(255*g),Math.round(255*h)]},b.eya=function(a,b,c){return c<0&&(c+=1),c>1&&(c-=1),c<1/6?a+6*(b-a)*c:c<.5?b:c<2/3?a+(b-a)*(2/3-c)*6:a},b.dya=function(b,c,d){var e,f,g,h,i,j;if(a.assert(b>=0&&b<=255&&c>=0&&c<=255&&d>=0&&d<=255,"bad RGB values"),b/=255,c/=255,d/=255,e=Math.max(b,c,d),f=Math.min(b,c,d),i=(e+f)/2,e==f)g=h=0;else{switch(j=e-f,h=i>.5?j/(2-e-f):j/(e+f),e){case b:g=(c-d)/j+(c<d?6:0);break;case c:g=(d-b)/j+2;break;case d:g=(b-c)/j+4}g/=6}return[g,h,i]},b.cya=function(c,d,e){a.assert(c>=0&&c<=255&&d>=0&&d<=255&&e>=0&&e<=255,"bad RGB values");var f=b.dya(c,d,e);return b.fya(f[0],f[1],f[2])},b.aya=function(a,c,d){var e=b.gya(a,c,d);return b.bya(e[0],e[1],e[2])},b.gya=function(b,c,d){a.assert(b>=0&&b<=1&&c>=0&&c<=1&&d>=0&&d<=1,"bad HSB values");var e=a.clamp(d*(2-c)/2,0,1),f=1-Math.abs(2*e-1),g=a.clamp(f>0?d*c/f:c,0,1);return a.assert(!isNaN(e)&&!isNaN(g),"bad conversion to HSL"),[b,g,e]},b.fya=function(b,c,d){var e,f;return a.assert(b>=0&&b<=1&&c>=0&&c<=1&&d>=0&&d<=1,"bad HSL values"),e=a.clamp(1==d?1:(2*d+c*(1-Math.abs(2*d-1)))/2,0,1),f=a.clamp(e>0?2*(e-d)/e:c,0,1),a.assert(!isNaN(e)&&!isNaN(f),"bad conversion to HSB"),[b,f,e]},b}();a.Color=b;function c(b,c,e){return void 0===e&&(e=!1),b=d(b,c),a.assert(e||null!=b,c+" expected."),b}a.asType=c;function d(b,c){return null==b?null:a.isString(c)?a.isFunction(b.implementsInterface)&&b.implementsInterface(c)?b:null:b instanceof c?b:null}a.tryCast=d}(b=a.core||(a.core={}))}(d||(d={})),function(a){var b;!function(a){"use strict";var b=function(){function b(){}return b.format=function(c,d,e,f){return a.isString(c)?c:a.isNumber(c)?(d=d||(c==Math.round(c)?"n0":"n2"),b.formatNumber(c,d,e,f)):a.isDate(c)?(d=d||"d",b.formatDate(c,d)):null!=c?""+c:""},b.formatNumber=function(c,d,e,f){var g,h,i,j,k,l,m,n,o,p,q,r;if(a.asNumber(c),a.asString(d),h=d?d.match(/([a-z])(\d*)(,*)(.*)/i):null,i=a.culture.Globalize.numberFormat,j=h?h[1].toLowerCase():"n",k=h&&h[2]?parseInt(h[2]):"c"==j?i.currency.decimals:c==Math.round(c)?0:2,l=h&&h[3]?3*h[3].length:0,m=h&&h[4]?h[4]:i.currency.symbol,n=i["."],o=i[","],l&&(c/=Math.pow(10,l)),"d"==j||"x"==j){for(g=Math.round(Math.abs(c)).toString("d"==j?10:16);g.length<k;)g="0"+g;return c<0&&(g="-"+g),d&&"X"==d[0]&&(g=g.toUpperCase()),g}return"p"==j&&(c=b.dwa(c)),f&&(c=a.toFixed(c,k,!0)),g="c"==j||"p"==j?Math.abs(c).toFixed(k):c.toFixed(k),(e||"g"==j)&&g.indexOf(".")>-1&&(g=g.replace(/(\.[0-9]*?)0+$/g,"$1"),g=g.replace(/\.$/,"")),"."!=n&&(g=g.replace(".",n)),!o||"n"!=j&&"c"!=j&&"p"!=j||(p=g.indexOf(n),q=/\B(?=(\d\d\d)+(?!\d))/g,g=p>-1?g.substr(0,p).replace(q,o)+g.substr(p):g.replace(q,o)),"c"==j&&(r=i.currency.pattern[c<0?0:1],g=r.replace("n",g).replace("$",m)),"p"==j&&(r=i.percent.pattern[c<0?0:1],g=r.replace("n",g)),g},b.formatDate=function(a,c){var d,e,f;switch(c){case"r":case"R":return a.toUTCString();case"u":return a.toISOString().replace(/\.\d{3}/,"")}for(c=b.ewa(c),d=b.fwa(c),e="",f=0;f<d.length;f++)e+=b.gwa(a,c,d[f]);return e},b.parseInt=function(a,c){return Math.round(b.parseFloat(a,c))},b.parseFloat=function(b,c){var d,e,f,g=b.indexOf("-")>-1||b.indexOf("(")>-1&&b.indexOf(")")>-1?-1:1,h=b.indexOf("%")>-1?.01:1,i=c?c.match(/,+/):null,j=i?3*i[0].length:0;return!c||"x"!=c[0]&&"X"!=c[0]?(d=a.culture.Globalize.numberFormat["."],e=RegExp("[^\\d\\"+d+"]","g"),f=b.replace(e,"").replace(d,"."),parseFloat(f)*g*h*Math.pow(10,j)):(b=b.replace(/[^0-9a-f]+.*$/gi,""),parseInt(b,16)*g*h*Math.pow(10,j))},b.parseDate=function(c,d){var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H;if(c=a.asString(c),!c)return null;if("u"==d)return new Date(c);if("R"==d||"r"==d)return f=/(([0-9]+)\-([0-9]+)\-([0-9]+))?\s?(([0-9]+):([0-9]+)(:([0-9]+))?)?/,g=c.match(f),g[1]||g[5]?(e=g[1]?new Date(parseInt(g[2]),parseInt(g[3])-1,parseInt(g[4])):new Date,g[5]&&(e.setHours(parseInt(g[6])),e.setMinutes(parseInt(g[7])),e.setSeconds(g[8]?parseInt(g[9]):0))):e=new Date(c),isNaN(e.getTime())?null:e;if(d=b.ewa(d?d:"d"),h=a.culture.Globalize.calendar,i=b.hwa,j=RegExp("(\\"+h["/"]+")|(\\"+h[":"]+")|(\\d+)|(["+i+"\\.]{2,})|(["+i+"]+)","gi"),k=c.match(j),l=b.fwa(d),m=0,n=-1,o=0,p=1,q=0,r=0,s=0,t=0,u=0,v=-1,!(k&&k.length&&l&&l.length))return null;for(B=0;B<l.length&&k;B++)switch(C=B-m,D=C>-1&&C<k.length?k[C]:"",E=l[B].length,l[B]){case"EEEE":case"EEE":case"EE":case"E":case"eeee":case"eee":case"ee":case"e":A=l[B];case"yyyy":case"yyy":case"yy":case"y":E>1&&D.length>E&&(k[C]=D.substr(E),D=D.substr(0,E),m++),n=parseInt(D);break;case"MMMM":case"MMM":for(z=!0,F=D.toLowerCase(),o=-1,G=0;G<12;G++)if(0==h.months[G].toLowerCase().indexOf(F)){o=G;break}if(o>-1)break;case"MM":case"M":z=!0,E>1&&D.length>E&&(k[C]=D.substr(E),D=D.substr(0,E),m++),o=parseInt(D)-1;break;case"dddd":case"ddd":w=!0;break;case"dd":case"d":E>1&&D.length>E&&(k[C]=D.substr(E),D=D.substr(0,E),m++),p=parseInt(D),x=!0;break;case"hh":case"h":E>1&&D.length>E&&(k[C]=D.substr(E),D=D.substr(0,E),m++),q=parseInt(D),q=12==q?0:q;break;case"HH":E>1&&D.length>E&&(k[C]=D.substr(E),D=D.substr(0,E),m++),q=parseInt(D);break;case"H":q=parseInt(D);break;case"mm":case"m":E>1&&D.length>E&&(k[C]=D.substr(E),D=D.substr(0,E),m++),r=parseInt(D);break;case"ss":case"s":E>1&&D.length>E&&(k[C]=D.substr(E),D=D.substr(0,E),m++),t=parseInt(D);break;case"fffffff":case"FFFFFFF":case"ffffff":case"FFFFFF":case"fffff":case"FFFFF":case"ffff":case"FFFF":case"fff":case"FFF":case"ff":case"FF":case"f":case"F":u=parseInt(D)/Math.pow(10,E-3);break;case"tt":case"t":D=D.toUpperCase(),(h.pm[0]&&D==h.pm[0]&&q<12||h.pm[1]&&D==h.pm[1]&&q<12)&&(q+=12);break;case"q":case"Q":case"u":case"U":y=!0;break;case"ggg":case"gg":case"g":v=h.eras.length>1?b.iwa(D,h):-1;break;case h["/"]:case h[":"]:if(D&&D!=l[B])return null;break;case"K":break;default:b.jwa(l[B])!=D&&m++}if(z&&x&&(isNaN(q)&&(q=0),isNaN(r)&&(r=0),isNaN(t)&&(t=0)),o<0||o>11||isNaN(o)||p<0||p>31||isNaN(p)||q<0||q>24||isNaN(q)||r<0||r>60||isNaN(r)||t<0||t>60||isNaN(t))return null;if(A){if(!z)return null;e=new Date(n,o),e=a.DateTime.fromFiscal(e,"E"==A[0]),n=e.getFullYear(),o=e.getMonth()}return w&&!x?null:y&&!z?null:(n<0&&(n=(new Date).getFullYear()),v>-1?n=n+h.eras[v].start.getFullYear()-1:n<100&&(H=a.isNumber(h.twoDigitYearMax)?h.twoDigitYearMax:2029,n+=n+2e3<H?2e3:1900),e=new Date(n,o,p,q,r+s,t,u),isNaN(e.getTime())?null:e)},b.getFirstDayOfWeek=function(){var b=a.culture.Globalize.calendar.firstDay;return b?b:0},b.getNumberDecimalSeparator=function(){var b=a.culture.Globalize.numberFormat["."];return b?b:"."},b.jwa=function(a){return a.length>1&&a[0]==a[a.length-1]&&("'"==a[0]||'"'==a[0])?a.substr(1,a.length-2):a},b.fwa=function(a){var c,d,e,f,g;if(a in b.yAa)return b.yAa[a];for(c=[],d="",e=0;e>-1&&e<a.length;e++)if(g=a[e],("'"==g||'"'==g)&&(f=a.indexOf(g,e+1),f>-1))c.push(a.substring(e,f+1)),e=f;else{for(f=e+1;f<a.length&&a[f]==g;f++);c.push(a.substring(e,f)),e=f-1}return b.yAa[a]=c,c},b.gwa=function(c,d,e){var f,g,h=a.culture.Globalize.calendar,i=0,j=0,k=0,l=e.length;switch(e){case"yyyy":case"yyy":case"yy":case"y":case"EEEE":case"EEE":case"EE":case"E":case"eeee":case"eee":case"ee":case"e":return f="E"==e[0]?a.DateTime.toFiscal(c,!0):"e"==e[0]?a.DateTime.toFiscal(c,!1):c,j=f.getFullYear(),h.eras.length>1&&d.indexOf("g")>-1&&(i=b.iwa(c,h),i>-1&&(j=j-h.eras[i].start.getFullYear()+1)),b.lwa(j,4).substr(4-e.length);case"MMMM":return h.months[c.getMonth()];case"MMM":return h.monthsAbbr[c.getMonth()];case"MM":case"M":return b.lwa(c.getMonth()+1,l);case"dddd":return h.days[c.getDay()];case"ddd":return h.daysAbbr[c.getDay()];case"dd":return b.lwa(c.getDate(),2);case"d":return""+c.getDate();case"hh":case"h":return b.lwa(b.mwa(c),l);case"HH":case"H":return b.lwa(c.getHours(),l);case"mm":case"m":return b.lwa(c.getMinutes(),l);case"ss":case"s":return b.lwa(c.getSeconds(),l);case"fffffff":case"FFFFFFF":case"ffffff":case"FFFFFF":case"fffff":case"FFFFF":case"ffff":case"FFFF":case"fff":case"FFF":case"ff":case"FF":case"f":case"F":return k=c.getMilliseconds()*Math.pow(10,l-3),"f"==e[0]?b.lwa(k,l):k.toFixed(0);case"tt":return c.getHours()<12?h.am[0]:h.pm[0];case"t":return c.getHours()<12?h.am[1]:h.pm[1];case"q":case"Q":return""+(Math.floor(c.getMonth()/3)+1);case"u":case"U":return f=a.DateTime.toFiscal(c,"U"==e),""+(Math.floor(f.getMonth()/3)+1);case"ggg":case"gg":case"g":return h.eras.length>1&&(i=b.iwa(c,h),i>-1)?"ggg"==e?h.eras[i].name:"gg"==e?h.eras[i].name[0]:h.eras[i].symbol:h.eras[0];case":":case"/":return h[e];case"K":return g=(""+c).match(/(\+|\-)(\d{2})(\d{2})/),g?g[1]+g[2]+g[3]:""}return l>1&&e[0]==e[l-1]&&('"'==e[0]||"'"==e[0])?e.substr(1,l-2):e},b.iwa=function(b,c){var d;if(a.isDate(b)){for(d=0;d<c.eras.length;d++)if(b>=c.eras[d].start)return d}else if(a.isString(b))for(d=0;d<c.eras.length;d++)if(c.eras[d].name&&(0==c.eras[d].name.indexOf(b)||0==c.eras[d].symbol.indexOf(b)))return d;return-1},b.ewa=function(b){var c=a.culture.Globalize.calendar.patterns[b];return c?c:b},b.lwa=function(a,b){var c=a.toFixed(0),d=b-c.length+1;return d>0?Array(d).join("0")+c:c},b.mwa=function(b){var c=a.culture.Globalize.calendar,d=b.getHours();return c.am&&c.am[0]&&(d%=12,0==d&&(d=12)),d},b.dwa=function(a){var b=""+a,c=b.indexOf(".");return c<0?b+="00":(c+=2,b=b.replace(".","")+"00",b=b.substr(0,c)+"."+b.substr(c)),parseFloat(b)},b.hwa="a-z"+"u00c0-u017fu3000-u30ffu4e00-u9faf".replace(/u/g,"\\u")+"u1100-u11ffu3130-u318fua960-ua97fuac00-ud7afud7b0-ud7ff".replace(/u/g,"\\u"),b.yAa={},b}();a.Globalize=b}(b=a.core||(a.core={}))}(d||(d={})),function(a){var b;!function(b){"use strict";function c(c,d,h,i,j){var k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E;if(void 0===d&&(d=null),void 0===h&&(h=!1),void 0===i&&(i=!1),void 0===j&&(j=!0),k=document.body,d instanceof HTMLElement){if(!b.contains(document.body,d))return;for(l=d.parentElement;l;l=l.parentElement)if("fixed"==getComputedStyle(l).position){k=l;break}}else for(l=f();l;l=l.parentElement)if(!b.hasClass(l,"gcdv-popup")&&"fixed"==getComputedStyle(l).position){k=l;break}if(k.lastChild!=c&&k.appendChild(c),d instanceof HTMLElement&&j&&(m=getComputedStyle(d),n=new b.Color(m.backgroundColor),n.a&&b.setCss(c,{color:m.color,backgroundColor:m.backgroundColor,fontFamily:m.fontFamily,fontSize:m.fontSize,fontWeight:m.fontWeight,fontStyle:m.fontStyle})),b.setCss(c,{position:"absolute",visibility:"hidden",display:""}),a.Control.refreshAll(c),o=getComputedStyle(c),p=parseFloat(o.marginTop)+parseFloat(o.marginBottom),q=parseFloat(o.marginLeft)+parseFloat(o.marginRight),r=new b.Size(c.offsetWidth+q,c.offsetHeight+p),s=new b.Point,t=null,d&&null!=d.clientX&&null!=d.clientY&&null!=d.pageX&&null!=d.pageY)d.clientX<=0&&d.clientY<=0&&d.target?t=d.target.getBoundingClientRect():(s.x=Math.max(0,d.pageX-pageXOffset),s.y=Math.max(0,d.pageY-pageYOffset));else if(d instanceof b.Point)s=d;else if(d instanceof HTMLElement)t=d.getBoundingClientRect();else if(d&&null!=d.top&&null!=d.left)t=d;else{if(null!=d)throw"Invalid ref parameter.";s.x=Math.max(0,(innerWidth-r.width)/2),s.y=Math.max(0,Math.round((innerHeight-r.height)/2*.7))}if(u=parseFloat(o.minWidth),t&&(v=t.top,w=innerHeight-t.bottom,x="rtl"==getComputedStyle(c).direction,x?s.x=Math.max(0,t.right-r.width):s.x=Math.max(0,Math.min(t.left,innerWidth-r.width)),h?s.y=v>r.height||v>w?Math.max(0,t.top-r.height):t.bottom:s.y=w>r.height||w>v?t.bottom:Math.max(0,t.top-r.height),u=Math.max(u,t.width),b.isIE()&&(y=c.offsetWidth-(c.clientWidth+parseInt(o.borderLeftWidth)+parseInt(o.borderRightWidth)),u-=y)),z=new b.Point(0,0),null!=d&&(k==document.body?z=new b.Point((-pageXOffset),(-pageYOffset)):k&&(A=k.getBoundingClientRect(),z=new b.Point(A.left-k.scrollLeft,A.top-k.scrollTop))),B={position:null==d?"fixed":"absolute",left:s.x-z.x,top:s.y-z.y,minWidth:u,display:"",visibility:"",zIndex:1500},i&&(c.style.opacity="0",g(function(a){c.style.opacity=1==a?"":""+a})),b.setCss(c,B),C=d instanceof MouseEvent?d.target:d,C instanceof HTMLElement)for(E=C.parentElement;E&&E!=document.body;E=E.parentElement)"auto"==getComputedStyle(E).overflowY&&E.scrollHeight>E.offsetHeight&&(D||(D=new a.Control(document.createElement("div"))),D.addEventListener(E,"scroll",function(a){e(c,!0),D.dispose()}))}b.showPopup=c;function d(a,b,c){void 0===b&&(b=!0),void 0===c&&(c=!1),c?g(function(c){a.style.opacity=""+(1-c),1==c&&(e(a,b),a.style.opacity="")}):e(a,b)}b.hidePopup=d;function e(a,b){a.style.display="none",b&&a.parentElement&&a.parentElement.removeChild(a)}function f(){var a,b=document.activeElement;return b&&(a=b.shadowRoot,a&&a.activeElement&&(b=a.activeElement)),b}b.getActiveElement=f;function g(a,c,d){var e,f;return void 0===c&&(c=400),void 0===d&&(d=35),b.asFunction(a),b.asNumber(c,!1,!0),b.asNumber(d,!1,!0),e=Date.now(),f=setInterval(function(){var b=Math.min(1,(Date.now()-e)/c);b=Math.sin(b*Math.PI/2),b*=b,requestAnimationFrame(function(){a(b)}),b>=1&&clearInterval(f)},d),+f}b.animate=g}(b=a.core||(a.core={}))}(d||(d={})),function(a){var b;!function(a){"use strict";var b,c,d=function(){function b(b){this.Ixa=this.Jxa.bind(this),this.Kxa=this.Lxa.bind(this),this.Mxa=!0,this.Nxa=6,this.Oxa=!1,this.Pxa=500,this.Qxa=0,this.Rxa=[],this.popup=new a.Event,a.copy(this,b)}return b.prototype.setTooltip=function(b,c){b=a.getElement(b),c=this.Sxa(c);var d=this.Cb(b);d>-1&&(this.FQ(b),this.Rxa.splice(d,1)),c&&(this.EQ(b),this.Rxa.push({element:b,content:c}))},b.prototype.show=function(d,e,f){var g,h;d=a.getElement(d),e=this.Sxa(e),f||(f=a.Rect.fromBoundingRect(d.getBoundingClientRect())),g=b.Txa,g||(g=b.Txa=document.createElement("div"),a.addClass(g,"gcdv-tooltip"),g.style.visibility="none",document.body.appendChild(g)),this.Uxa(e),h=new c(e),this.onPopup(h),h.content&&!h.cancel&&(this.Uxa(h.content),g.style.minWidth="",f=new a.Rect(f.left-(g.offsetWidth-f.width)/2,f.top-this.gap,g.offsetWidth,f.height+2*this.gap),a.showPopup(g,f,!0),document.addEventListener("mousedown",this.Kxa))},b.prototype.hide=function(){b.Txa&&(b.Txa.style.visibility="hidden",b.Txa.innerHTML=""),document.removeEventListener("mousedown",this.Kxa)},Object.defineProperty(b.prototype,"isVisible",{get:function(){return b.Txa&&"hidden"!=b.Txa.style.visibility},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"isContentHtml",{get:function(){return this.Mxa},set:function(b){this.Mxa=a.asBoolean(b)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"gap",{get:function(){return this.Nxa},set:function(b){this.Nxa=a.asNumber(b)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"showAtMouse",{get:function(){return this.Oxa},set:function(b){this.Oxa=a.asBoolean(b)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"showDelay",{get:function(){return this.Pxa},set:function(b){this.Pxa=a.asInt(b)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"hideDelay",{get:function(){return this.Qxa},set:function(b){this.Qxa=a.asInt(b)},enumerable:!0,configurable:!0}),b.prototype.onPopup=function(a){this.popup&&this.popup.raise(this,a)},b.prototype.Cb=function(a){for(var b=0;b<this.Rxa.length;b++)if(this.Rxa[b].element==a)return b;return-1},b.prototype.EQ=function(a){a.addEventListener("mouseenter",this.Ixa),a.addEventListener("mouseleave",this.Kxa),a.addEventListener("click",this.Ixa)},b.prototype.FQ=function(a){a.removeEventListener("mouseenter",this.Ixa),a.removeEventListener("mouseleave",this.Kxa),a.removeEventListener("click",this.Ixa)},b.prototype.Jxa=function(b){var c=this,d="mouseenter"==b.type?this.Pxa:0;this.Vxa(),this.Wxa=setTimeout(function(){var d,e,f=c.Cb(b.target);f>-1&&(d=c.Rxa[f],e=c.Oxa?new a.Rect(b.clientX,b.clientY,0,0):null,c.show(d.element,d.content,e),c.Qxa>0&&(c.Xxa=setTimeout(function(){c.hide()},c.Qxa)))},d)},b.prototype.Lxa=function(){this.Vxa(),this.hide()},b.prototype.Vxa=function(){this.Wxa&&(clearTimeout(this.Wxa),this.Wxa=null),this.Xxa&&(clearTimeout(this.Xxa),this.Xxa=null)},b.prototype.Sxa=function(b){if(b=a.asString(b),b&&"#"==b[0]){var c=a.getElement(b);c&&(b=c.innerHTML)}return b},b.prototype.Uxa=function(a){var c=b.Txa;c&&(this.isContentHtml?c.innerHTML=a:c.textContent=a)},b}();a.Tooltip=d,b=function(){function a(){}return a}(),c=function(b){e(c,b);function c(c){var d=b.call(this)||this;return d.Uc=a.asString(c),d}return Object.defineProperty(c.prototype,"content",{get:function(){return this.Uc},set:function(b){this.Uc=a.asString(b)},enumerable:!0,configurable:!0}),c}(a.CancelEventArgs),a.TooltipEventArgs=c}(b=a.core||(a.core={}))}(d||(d={})),function(a){var b;!function(a){var b,c,d,e=function(){function b(b,c){void 0===b&&(b=0),void 0===c&&(c=0),this.width=a.asNumber(b),this.height=a.asNumber(c)}return b.prototype.equals=function(a){return a instanceof b&&this.width==a.width&&this.height==a.height},b.prototype.clone=function(){return new b(this.width,this.height)},b}();a.Size=e;function f(a,b){if(a&&b&&a.setAttribute&&!i(a,b)){var c=a.getAttribute("class");a.setAttribute("class",c?c+" "+b:b)}}a.addClass=f;function g(a,b){var c,d=document.createElement("div");return d.innerHTML=a,c=d.removeChild(d.firstChild),b instanceof HTMLElement?b.appendChild(c):c}a.createElement=g;function h(b){return b instanceof Element?b:a.isString(b)?document.querySelector(b):b&&b.jquery?b[0]:null}a.getElement=h;function i(a,b){if(a&&a.getAttribute){var c=RegExp("(\\s|^)"+b+"(\\s|$)");return a&&c.test(a.getAttribute("class"))}return!1}a.hasClass=i,b=function(){function b(b,c,d,e){this.left=a.asNumber(b),this.top=a.asNumber(c),this.width=a.asNumber(d),this.height=a.asNumber(e)}return Object.defineProperty(b.prototype,"right",{get:function(){return this.left+this.width},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"bottom",{get:function(){return this.top+this.height},enumerable:!0,configurable:!0}),b.prototype.equals=function(a){return a instanceof b&&this.left==a.left&&this.top==a.top&&this.width==a.width&&this.height==a.height},b.prototype.clone=function(){return new b(this.left,this.top,this.width,this.height)},b.fromBoundingRect=function(c){return null!=c.left?new b(c.left,c.top,c.width,c.height):null!=c.x?new b(c.x,c.y,c.width,c.height):void a.assert(!1,"Invalid source rectangle.")},b.union=function(a,c){var d=Math.min(a.left,c.left),e=Math.min(a.top,c.top),f=Math.max(a.right,c.right),g=Math.max(a.bottom,c.bottom);return new b(d,e,f-d,g-e)},b.intersection=function(a,c){var d=Math.max(a.left,c.left),e=Math.max(a.top,c.top),f=Math.min(a.right,c.right),g=Math.min(a.bottom,c.bottom);return new b(d,e,f-d,g-e)},b.prototype.contains=function(d){if(d instanceof c)return d.x>=this.left&&d.x<=this.right&&d.y>=this.top&&d.y<=this.bottom;if(d instanceof b){var e=d;return e.left>=this.left&&e.right<=this.right&&e.top>=this.top&&e.bottom<=this.bottom}a.assert(!1,"Point or Rect expected.")},b.prototype.inflate=function(a,c){return new b(this.left-a,this.top-c,this.width+2*a,this.height+2*c)},b}(),a.Rect=b,c=function(){function b(b,c){void 0===b&&(b=0),void 0===c&&(c=0),this.x=a.asNumber(b),this.y=a.asNumber(c)}return b.prototype.equals=function(a){return a instanceof b&&this.x==a.x&&this.y==a.y},b.prototype.clone=function(){return new b(this.x,this.y)},b}(),a.Point=c;function j(b,c){var d,e;if(c)for(d in c)"_"!=d[0]&&(a.assert(d in b,'Unknown property "'+d+'".'),e=c[d],b.Zz&&b.Zz(d,e)||(b[d]instanceof a.Event&&a.isFunction(e)?b[d].addHandler(e):a.isObject(e)&&b[d]&&"itemsSource"!=d?j(b[d],e):b[d]=e))}a.copy=j;function k(a){var c=a.getBoundingClientRect();return new b(c.left+pageXOffset,c.top+pageYOffset,c.width,c.height)}a.getElementRect=k;function l(a,b){var c,d;for(c=b;c&&a;){if(c===a)return!0;d=c,d=d.parentNode||d.host,c=d}return!1}a.contains=l;function m(b,c){var d,e,f;if(a.isArray(b))return void b.forEach(function(a){m(a,c)});d=b.style;for(e in c)f=c[e],"number"==typeof f&&e.match(/width|height|left|top|right|bottom|size|padding|margin'/i)&&(f+="px"),d[e]!=f&&(d[e]=""+f)}a.setCss=m;function n(){return null!=navigator.userAgent.match(/MSIE |Trident\/|Edge\//)}a.isIE=n;function o(a,b){var c=a?a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.msMatchesSelector:null;if(c)for(;a;a=a.parentNode)if(a instanceof Element&&c.call(a,b))return a;return null}a.closest=o;function p(a,b){var c,d,e;for(q(a,"gcdv-state-disabled",!b),b?a.removeAttribute("disabled"):a.setAttribute("disabled","true"),c=a.querySelectorAll("input"),d=0;d<c.length;d++)e=c[d],b?e.removeAttribute("disabled"):e.setAttribute("disabled","true")}a.enable=p;function q(a,b,c){null==c&&(c=!i(a,b)),c?f(a,b):r(a,b)}a.toggleClass=q;function r(a,b){if(a&&b&&a.setAttribute&&i(a,b)){var c=RegExp("((\\s|^)"+b+"(\\s|$))","g"),d=a.getAttribute("class");d=d.replace(c," ").replace(/ +/g," ").trim(),a.setAttribute("class",d)}}a.removeClass=r;function s(a,b){console.error('** WARNING: "'+a+'" has been deprecated; please use "'+b+'" instead.')}a.cwa=s,function(a){a[a.Object=0]="Object",a[a.String=1]="String",a[a.Number=2]="Number",a[a.Boolean=3]="Boolean",a[a.Date=4]="Date",a[a.Array=5]="Array"}(d=a.DataType||(a.DataType={}));function t(b,c){if(void 0===c&&(c=!1),a.isString(b)){var e=u(b,d.Date,"r");a.isDate(e)&&(b=e)}return a.assert(c&&null==b||a.isDate(b),"Date expected."),b}a.asDate=t;function u(b,c,e){var f,g;if(null!=b){if(a.isString(b))switch(c){case d.Number:return f=a.Globalize.parseFloat(b,e),isNaN(f)?b:f;case d.Date:return g=a.Globalize.parseDate(b,e),g||e||!b||(g=new Date(b)),g&&isFinite(g.getTime())?g:b;case d.Boolean:switch(b.toLowerCase()){case"true":return!0;case"false":return!1}return b}if(c==d.String)return a.Globalize.format(b,e)}return b}a.changeType=u}(b=a.core||(a.core={}))}(d||(d={})),function(a){"use strict";var b=function(){function a(a,b,c,d,e,f,g){this.hitPoint=a,this.model=b,this.plot=c,this.element=d,this.elementType=e,this.selection=f,this.field=g}return a}();a.HitInfo=b}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(b){this.BAa=[0,-.5,.5,-.25,.25],a.Yya(function(){return null!=b&&Array.isArray(b)}),this.CAa=b}return b.prototype.getColor=function(b){var c,d,e;return this.CAa?(c=new a.core.Color(this.CAa[b%this.CAa.length]),d=this.BAa[Math.floor(b/this.CAa.length)%this.BAa.length],e=a.core.applyTint(c,d),""+a.core.Color.fromRgba(e.r,e.g,e.b,e.a)):"grey"},b}();b.Wza=c}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(a){"use strict";var b=function(){function a(){}return a.Standard=["#88bde6","#fbb258","#90cd97","#f6aac9","#bfa554","#bc99c7","#eddd46","#f07e6e","#8c8c8c"],a.Cocoa=["#466bb0","#c8b422","#14886e","#b54836","#6e5944","#8b3872","#73b22b","#b87320","#141414"],a.Coral=["#84d0e0","#f48256","#95c78c","#efa5d6","#ba8452","#ab95c2","#ede9d0","#e96b7d","#888888"],a.Dark=["#005fad","#f06400","#009330","#e400b1","#b65800","#6a279c","#d5a211","#dc0127","#000000"],a.HighContrast=["#ff82b0","#0dda2c","#0021ab","#bcf28c","#19c23b","#890d3a","#607efd","#1b7700","#000000"],a.Light=["#ddca9a","#778deb","#cb9fbb","#b5eae2","#7270be","#a6c7a7","#9e95c7","#95b0c7","#9b9b9b"],a.Midnight=["#83aaca","#e37849","#14a46a","#e097da","#a26d54","#a584b7","#d89c54","#e86996","#2c343b"],a.Modern=["#2d9fc7","#ec993c","#89c235","#e377a4","#a68931","#a672a6","#d0c041","#e35855","#68706a"],a.Organic=["#9c88d9","#a3d767","#8ec3c0","#e9c3a9","#91ab36","#d4ccc0","#61bbd8","#e2d76f","#80715a"],a.Slate=["#7493cd","#f99820","#71b486","#e4a491","#cb883b","#ae83a4","#bacc5c","#e5746a","#505d65"],a.Zen=["#7bb5ae","#e2d287","#92b8da","#eac4cb","#7b8bbd","#c7d189","#b9a0c8","#dfb397","#a9a9a9"],a.Cyborg=["#2a9fd6","#77b300","#9933cc","#ff8800","#cc0000","#00cca3","#3d6dcc","#525252","#000000"],a.Superhero=["#5cb85c","#f0ad4e","#5bc0de","#d9534f","#9f5bde","#46db8c","#b6b86e","#4e5d6c","#2b3e4b"],a.Flatly=["#18bc9c","#3498db","#f39c12","#6cc1be","#99a549","#8f54b5","#e74c3c","#8a9899","#2c3e50"],a.Darkly=["#375a7f","#00bc8c","#3498db","#f39c12","#e74c3c","#8f61b3","#b08725","#4a4949","#000000"],a.Cerulan=["#033e76","#87c048","#59822c","#53b3eb","#fc6506","#d42323","#e3bb00","#cccccc","#222222"],a.Office=["#5b9bd5","#ed7d31","#a5a5a5","#ffc000","#4472c4","#70ad47"],a.Office2010=["#4f81bd","#c0504d","#9bbb59","#8064a2","#4bacc6","#f79646"],a.Grayscale=["#dddddd","#b2b2b2","#969696","#808080","#5f5f5f","#4d4d4d"],a.BlueWarm=["#4a66ac","#629dd1","#297fd5","#7f8fa9","#5aa2ae","#9d90a0"],a.Blue=["#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249"],a.Blue2=["#1cade4","#2683c6","#27ced7","#42ba97","#3e8853","#62a39f"],a.BlueGreen=["#3494ba","#58b6c0","#75bda7","#7a8c8e","#84acb6","#2683c6"],a.Green=["#549e39","#8ab833","#c0cf3a","#029676","#4ab5c4","#0989b1"],a.GreenYellow=["#99cb38","#63a537","#37a76f","#44c1a3","#4eb3cf","#51c3f9"],a.Yellow=["#ffca08","#f8931d","#ce8d3e","#ec7016","#e64823","#9c6a6a"],a.YellowOrange=["#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529"],a.Orange=["#e48312","#bd582c","#865640","#9b8357","#c2bc80","#94a088"],
a.OrangeRed=["#d34817","#9b2d1f","#a28e6a","#956251","#918485","#855d5d"],a.RedOrange=["#e84c22","#ffbd47","#b64926","#ff8427","#cc9900","#b22600"],a.Red=["#a5300f","#d55816","#e19825","#b19c7d","#7f5f52","#b27d49"],a.RedViolet=["#e32d91","#c830cc","#4ea6dc","#4775e7","#8971e1","#d54773"],a.Violet=["#ad84c6","#8784c7","#5d739a","#6997af","#84acb6","#6f8183"],a.Violet2=["#92278f","#9b57d3","#755dd9","#665eb8","#45a5ed","#5982db"],a.Median=["#94b6d2","#dd8047","#a5ab81","#d8b25c","#7ba79d","#968c8c"],a.Paper=["#a5b592","#f3a447","#e7bc29","#d092a7","#9c85c0","#809ec2"],a.Marquee=["#418ab3","#a6b727","#f69200","#838383","#fec306","#df5327"],a.Slipstream=["#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124"],a.Aspect=["#f07f09","#9f2936","#1b587c","#4e8542","#604878","#c19859"],a}();a.Xza=b}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(a){"use strict";var b=function(){function a(a){this.GAa=a}return Object.defineProperty(a.prototype,"items",{get:function(){return this.GAa},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"isSelected",{get:function(){return this.HAa},enumerable:!0,configurable:!0}),a.prototype.N4=function(){this.HAa=!0},a.prototype.IAa=function(){this.HAa=!1,this.oBa=null},Object.defineProperty(a.prototype,"field",{get:function(){return this.oBa},set:function(a){this.oBa=a},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"tooltipContentSite",{get:function(){return null},enumerable:!0,configurable:!0}),a}();a.JAa=b}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(c){e(d,c);function d(a,b,d){var e=c.call(this,b)||this;return e.KAa={},e.LAa=a,e.eAa=d,e.KAa=e.MAa(e.items),e}return Object.defineProperty(d.prototype,"parent",{get:function(){return this.LAa.plotArea},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"name",{get:function(){return this.$z().name},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"legends",{get:function(){return this.oPa()._items},enumerable:!0,configurable:!0}),d.prototype.bRa=function(){return this.LAa},d.prototype.oPa=function(){return null==this.NAa&&(this.NAa=new b.pPa(this)),this.NAa},d.prototype.mSa=function(){return null},d.prototype.$z=function(){return this.eAa},Object.defineProperty(d.prototype,"fields",{get:function(){return this.KAa},enumerable:!0,configurable:!0}),d.prototype.xOa=function(a,b){var c,d,e,f,g;if(void 0===b&&(b=null),c=[],null!=a)for(d=0,e=a;d<e.length;d++)f=e[d],g=this.cTa(f,b),null!=g&&c.push(g);return c},d.prototype.cTa=function(b,c){var d,e;return null!=b&&null!=b.field&&"string"==typeof b.field&&(d=b.field.split(","),d.length>0&&(e=this.fields[d[0].trim()],null!=e))?null==b.aggregate||null==c?new a.data.BOa(e):new a.data.COa(e,null==b.aggregate?c:b.aggregate):null},d.prototype.dTa=function(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o=[];if(null==a)return o;for(c=a,Array.isArray(a)||(c=[a]),d=0,e=c;d<e.length;d++)if(f=e[d],g=this.eTa(f,b),g&&g.length>0)for(h=0,i=g;h<i.length;h++){for(j=i[h],k=!1,l=0,m=o;l<m.length;l++)if(n=m[l],n.zAa(j)){k=!0;break}k||o.push(j)}return o},d.prototype.eTa=function(b,c){var d,e,f,g,h,i,j=[];if(null==b)return j;if(null!=b.field&&"string"==typeof b.field)for(d=null!=b.group?a.core.asEnum(b.group,a.Group,!0):null,e=b.field.split(">"),f=0,g=e;f<g.length;f++)h=g[f],i=this.fields[h.trim()],null!=i&&(c=d?d:c,i.Nc==a.core.DataType.String?j.push(new a.data.bTa(i.Cj,i.Ey,c,b.excludeNulls)):i.Nc==a.core.DataType.Boolean?j.push(new a.data.$Sa(i.Cj,i.Ey,c,b.excludeNulls)):i.Nc==a.core.DataType.Number?j.push(new a.data.aTa(i.Cj,i.Ey,c,b.excludeNulls)):i.Nc==a.core.DataType.Date&&j.push(new a.data._Sa(i.Cj,i.Ey,i.ROa(),c,b.excludeNulls)));return j},d.prototype.bBa=function(b){if(null==b||null==b.field)return null;var c=this.fields[b.field];if(c){if(c.Nc==a.core.DataType.String)return c;if(c.Nc==a.core.DataType.Boolean)return c}return null},d.prototype.cBa=function(b){if(null==b||null==b.field)return null;var c=this.fields[b.field];if(c){if(c.Nc==a.core.DataType.Number)return c;if(c.Nc==a.core.DataType.Date)return c}},d.prototype.dBa=function(b,c){var d,e,f,g,h,i,j,k,l,m,n=[];if(null==b)return n;for(d=b,Array.isArray(b)||(d=[b]),e=0,f=d;e<f.length;e++)if(g=f[e],g&&g.field)for(h=g.aggregate?a.core.asEnum(g.aggregate,a.Aggregate):c,i=g.field.split(","),j=0,k=i;j<k.length;j++)l=k[j],m=this.fields[l.trim()],null!=m&&n.push(new a.data.COa(m,h));return n},d.prototype.MAa=function(b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q={};for(c=0,d=b;c<d.length;c++){e=d[c];for(f in e)g=q[f],void 0===g&&(q[f]=g=new a.data.eBa(f)),h=e[f],void 0===g.Nc&&(a.core.isNumber(h)?q[f]=g=new a.data.fBa(f):a.core.isString(h)?null==this.parent.parent.ROa().gBa(h)?q[f]=g=new a.data.hBa(f):q[f]=g=new a.data.iBa(f,[],this.parent.parent.ROa()):a.core.isDate(h)?q[f]=g=new a.data.iBa(f,[],this.parent.parent.ROa()):a.core.isBoolean(h)&&(q[f]=g=new a.data.jBa(f))),g.Nc==a.core.DataType.Number?(i=g,j=a.core.asNumber(h,!0),null!==j&&isFinite(j)&&((void 0===i.bw()||i.bw()>j)&&i.bw(j),(void 0===i.cw()||i.cw()<j)&&i.cw(j),i.Ey.indexOf(j)==-1&&i.Ey.push(j))):g.Nc==a.core.DataType.Date?(k=g,l=null,null!=h&&(l=a.core.isDate(h)?a.core.asDate(h,!0):this.parent.parent.ROa().gBa(""+h),null!==l&&((void 0===k.bw()||k.bw()>l.valueOf())&&k.bw(l.valueOf()),(void 0===k.cw()||k.cw()<l.valueOf())&&k.cw(l.valueOf()),k.Ey.indexOf(l.valueOf())==-1&&k.Ey.push(l.valueOf())))):g.Nc==a.core.DataType.String?(m=g,n=a.core.asString(h,!0),null!==n&&m.Ey.indexOf(n)==-1&&m.Ey.push(n)):g.Nc==a.core.DataType.Boolean&&(o=g,p=a.core.asBoolean(h,!0),null!==p&&o.Ey.indexOf(p)==-1&&o.Ey.push(p))}return q},d}(b.JAa);b.kBa=c}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(a){"use strict";var b=function(a){e(b,a);function b(b){var c=a.call(this,b)||this;return c.kCa={},c}return Object.defineProperty(b.prototype,"item",{get:function(){return this.kCa},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"dataLabelContentSite",{get:function(){return null},enumerable:!0,configurable:!0}),b.prototype.qPa=function(a){var b,c,d;for(b=0,c=Object.keys(a);b<c.length;b++)d=c[b],this.item[d]=a[d]},b}(a.JAa);a.sAa=b}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(c){e(d,c);function d(a,b,d){var e=c.call(this,a,b,d)||this;return e.DOa=[],e.sBa=[],e.tBa=[],e.uBa=[],e.vBa={},e.wBa={},e.xBa(),e.cRa(),e.dRa(),e.eRa(),e.uBa=e.EBa(),e.mQa(e.nQa(e.$z().config.rules),e.GBa(e.$z().config.rules)),e}return Object.defineProperty(d.prototype,"xSite",{get:function(){return null==this.HBa&&(this.HBa=this.IBa(this.items)),this.HBa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"ySite",{get:function(){return null==this.JBa&&(this.JBa=this.KBa(this.dataSeriesList,this.bRa().config.showNulls)),this.JBa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"xField",{get:function(){return this.LBa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"valueDefinitions",{get:function(){return this.DOa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"dataSeriesList",{get:function(){return this.uBa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"detailFields",{get:function(){return this.MBa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"colorField",{get:function(){return this.zBa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"sizeField",{get:function(){return this.BBa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"shapeField",{get:function(){return this.DBa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"textFields",{get:function(){return this.sBa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"tooltipFields",{get:function(){return this.tBa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"legends",{get:function(){return this.oPa()._items},enumerable:!0,configurable:!0}),d.prototype.NBa=function(){var a,c,d,e,f,g,h,i,j,k,l,m={},n={};for(a=0,c=this.dataSeriesList;a<c.length;a++)for(d=c[a],e=0,f=d.dataPoints;e<f.length;e++)g=f[e],h=NaN,g instanceof b.XCa?h=g.yValue:g instanceof b.SCa&&(h=Math.max(g.yUpperValue,g.yLowerValue)),h>=0?(null==m[g.xValue]||m[g.xValue]<h)&&(m[g.xValue]=h):(null==n[g.xValue]||n[g.xValue]<h)&&(n[g.xValue]=h);for(i=0,j=this.dataSeriesList;i<j.length;i++)for(d=j[i],k=0,l=d.dataPoints;k<l.length;k++)g=l[k],g instanceof b.XCa?g.NBa((null==m[g.xValue]?0:Math.abs(m[g.xValue]))+(null==n[g.xValue]?0:Math.abs(n[g.xValue]))):g instanceof b.SCa&&g.NBa((null==m[g.xValue]?0:Math.abs(m[g.xValue]))+(null==n[g.xValue]?0:Math.abs(n[g.xValue])))},d.prototype.OBa=function(b){var c,d;return null!=this.colorField&&(this.colorField instanceof a.data.hBa||this.colorField instanceof a.data.jBa)&&(c=this.colorField.PBa(b.items),d=this.oPa().QBa(this.colorField,c),null!=d)?d.color:null},d.prototype.RBa=function(a){var b,c;return null!=this.DBa&&(b=this.DBa.PBa(a.items),c=this.oPa().QBa(this.DBa,b),null!=c)?c.shape:null},d.prototype.SBa=function(a){var b,c;return this.BBa&&(b=this.BBa.PBa(a.items),c=this.oPa().QBa(this.BBa,b),null!=c)?c.size:null},d.prototype.TBa=function(a){if(a){var b=this.parent.oPa().UBa(a);if(null!=b)return b.color}return null},d.prototype.VBa=function(a){var b,c,d,e=this.DOa.indexOf(a);if(null==this.vBa[e])for(this.vBa[e]=0,b=0,c=this.dataSeriesList;b<c.length;b++)d=c[b],d.valueDefinition==a&&(this.vBa[e]+=d.VBa());return this.vBa[e]},d.prototype.WBa=function(a,b){var c,d,e,f,g=this.DOa.indexOf(a);if(null==this.wBa[g]&&(this.wBa[g]={}),c=this.wBa[g],null==c[b])for(c[b]=0,d=0,e=this.dataSeriesList;d<e.length;d++)f=e[d],f.valueDefinition==a&&(c[b]+=f.WBa(b));return c[b]},d.prototype.XBa=function(b){return"xField"==b&&null!=this.xField?[this.xField]:"detailFields"==b?this.detailFields:"colorField"==b?null!=this.colorField&&(this.colorField instanceof a.data.hBa||this.colorField instanceof a.data.jBa)?[this.colorField]:[null]:"sizeField"==b?[this.sizeField]:"shapeField"==b?[this.shapeField]:null},d.prototype.xBa=function(){var b,c,d,e;if(this.$z().encodings){if(this.DOa=[],b=this.xOa(this.$z().encodings.values),null!=b)if(b.length>1)for(c=0,d=b;c<d.length;c++)e=d[c],null==this.LBa&&e instanceof a.data.BOa?this.LBa=e.rOa:this.DOa.push(e);else b.length>0&&this.DOa.push(b[0]);this.MBa=this.$Ba(this.$z().encodings.details),this.zBa=this._Ba(this.$z().encodings.color),this.BBa=this.aCa(this.$z().encodings.size),this.DBa=this.bCa(this.$z().encodings.shape),this.sBa=this.cCa(this.$z().encodings.text),this.tBa=this.dCa(this.$z().encodings.tooltip)}else this.LBa=null,this.DOa=null,this.MBa=null,this.zBa=null,this.BBa=null,this.DBa=null,this.sBa=null,this.tBa=null},d.prototype.cRa=function(){"string"!=typeof this.colorField&&this.oPa().yBa(this.colorField)},d.prototype.dRa=function(){this.oPa().ABa(this.BBa)},d.prototype.eRa=function(a){void 0===a&&(a=null),this.oPa().CBa(this.DBa,a)},d.prototype.cTa=function(b,c){var d,e;if(null!=this.LBa)return null;if(null!=b&&null!=b.field&&"string"==typeof b.field)if(d=b.field.split(","),d.length>1){if(this.LBa=this.fields[d[0].trim()],e=this.fields[d[1].trim()],null!=e)return null==b.aggregate||null==c?new a.data.BOa(e):new a.data.COa(e,null==b.aggregate?c:b.aggregate)}else if(d.length>0&&(e=this.fields[d[0].trim()],null!=e))return null==b.aggregate||null==c?new a.data.BOa(e):new a.data.COa(e,null==b.aggregate?c:b.aggregate);return null},d.prototype.$Ba=function(b){return this.dTa(b,a.Group.Cluster)},d.prototype._Ba=function(b){return b.field==a.kPa?a.kPa:this.bBa(b)},d.prototype.aCa=function(a){return this.cBa(a)},d.prototype.bCa=function(a){return this.bBa(a)},d.prototype.cCa=function(b){return this.dBa(b,a.Aggregate.List)},d.prototype.dCa=function(b){return this.dBa(b,a.Aggregate.List)},d.prototype.IBa=function(a,c){return void 0===c&&(c=0),null!=this.xField?new b.qBa(this.xField,c):new b.SOa(c)},d.prototype.KBa=function(a,c){return null==a||a.length<=0?new b.SOa(0):new b.eCa(a,c)},d.prototype.EBa=function(){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s=[];for(b=0,c=this.DOa;b<c.length;b++)if(d=c[b],this.MBa&&this.MBa.length>0)for(e=this.MBa[0],this.oPa().yBa(this.MBa[0],!1),f=new a.core.collections.CollectionView(this.items),g=new a.core.collections.PropertyGroupDescription(e.Cj),f.groupDescriptions.push(g),h=!0,i=null,j=null,k=0,l=f.groups;k<l.length;k++)m=l[k],n=this.fCa(m.items,d,m.name,h?a.Group.Cluster:e.cb),null==n||e.HSa&&n.ISa()||(s.push(n),h=!1,o=this.MBa[0].PBa(m.items),p=this.oPa().QBa(this.MBa[0],o),null!=p&&(n.color=p.color),null==i&&null==j?(i={},j={},n.w5(i,j)):n.cb==a.Group.Stack&&n.w5(i,j));else n=this.fCa(this.items,d,null,a.Group.Cluster),null!=n&&(s.push(n),this.parent.oPa().gCa(n,this.colorField==a.kPa),q=this.parent.oPa().UBa(n),null!=q&&(n.color=q.color));return 1===s.length&&(r=this.parent.oPa().UBa(s[0]),null!=r&&this.oPa()._items.forEach(function(a){a.items.forEach(function(a){a.seriesColor=r.color})})),s},d.prototype.nQa=function(b){var c=[],d=a.plugins.hCa("Group");return null==d?c:(b.forEach(function(a){if(null!=a&&"Group"==a.type){var b=d.create(a);null!=b&&c.push(b)}}),c)},d.prototype.GBa=function(b){var c=[],d=a.plugins.hCa("DataPoint");return null==d?c:(b.forEach(function(a){if(null!=a&&"DataPoint"==a.type){var b=d.create(a);null!=b&&c.push(b)}}),c)},d.prototype.mQa=function(a,b){var c,d,e;for(c=0,d=this.dataSeriesList;c<d.length;c++)e=d[c],e.mQa(a,b)},Object.defineProperty(d.prototype,"detail",{get:function(){return this.MBa&&this.MBa.length>0?this.MBa[0]:null},enumerable:!0,configurable:!0}),d}(b.kBa);b.iCa=c}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c,d,f,g=function(b){e(c,b);function c(a,c,d){var e=b.call(this,c)||this;return e.jCa=a,e.mCa=a.valueDefinition.toValue(e.items),e.nCa=d,e.color=e.parent.parent.OBa(e),e.size=e.parent.parent.SBa(e),e.shape=e.parent.parent.RBa(e),e}return Object.defineProperty(c.prototype,"parent",{get:function(){return this.jCa},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"style",{get:function(){return null==this.tEa&&(this.tEa=new a.options.AFa(this.parent.parent.$z().config.style)),this.tEa},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"color",{get:function(){return this.oCa},set:function(a){this.oCa!=a&&(this.oCa=a)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"shape",{get:function(){return this.pCa},set:function(a){this.pCa!=a&&(this.pCa=a)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"size",{get:function(){return this.qCa},set:function(a){this.qCa!=a&&(this.qCa=a)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"offset",{get:function(){return this.rCa},set:function(a){this.rCa!=a&&(this.rCa=a)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"xValue",{get:function(){return this.nCa},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"value",{get:function(){return this.mCa},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"tooltipContentSite",{get:function(){return new d(this)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"dataLabelContentSite",{get:function(){return new f(this)},enumerable:!0,configurable:!0}),c.prototype.mQa=function(a){var b,c,d;for(b=0,c=a;b<c.length;b++)d=c[b],d.evaluate(this)},Object.defineProperty(c.prototype,"PercentageCategory",{get:function(){return null!=this.xValue?this.value/this.parent.parent.WBa(this.parent.valueDefinition,this.xValue):null},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"PercentageDetail",{get:function(){return null!=this.parent.parent.detailFields&&this.parent.parent.detailFields.length>0?this.value/this.parent.VBa():null},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"PercentagePlot",{get:function(){return this.value/this.parent.parent.VBa(this.parent.valueDefinition)},enumerable:!0,configurable:!0}),c}(b.sAa);b.sCa=g,c=function(){function b(b){this.defaultProperty="value",a.Yya(function(){return null!=b}),this.tCa=b}return Object.defineProperty(b.prototype,"stringFormatting",{get:function(){return this.tCa.parent.parent.parent.parent.lPa()},enumerable:!0,configurable:!0}),b.prototype.wCa=function(b,c,d){var e=this,f={name:null,value:null,aggregate:null};return"PercentageCategory"==b?(f.name="PercentageCategory",f.value=this.tCa.PercentageCategory):"PercentageDetail"==b?(f.name="PercentageDetail",f.value=this.tCa.PercentageDetail):"PercentagePlot"==b&&(f.name="PercentagePlot",f.value=this.tCa.PercentagePlot),f.name?f:d.some(function(c){if(c.name==b)return f.name=c.name,f.value=c.toItem(e.tCa.items),f.aggregate=a.Aggregate[c.sOa],!0})?f:(this.literalTokens.some(function(a){var d;if(a.name==b)return"valueField"==a.name?(d=e.tCa.parent.parent.valueDefinitions,d&&d.length&&c>=0&&c<d.length&&(f.name=d[c].name,f.value=d[c].toItem(e.tCa.items))):(d=e.tCa.parent.parent.XBa(b),d&&d.length&&c>=0&&c<d.length&&(f.name=d[c].Cj,f.value=d[c].lCa(e.tCa.items))),!0}),f)},Object.defineProperty(b.prototype,"literalTokens",{get:function(){return null==this.lOa&&(this.lOa=[{name:"xField"},{name:"valueField"},{name:"categoryField"},{name:"colorField"},{name:"detailFields"},{name:"shapeField"},{name:"sizeField"},{name:"trellisField"},{name:"textField"},{name:"PercentageCategory",defaultFormat:this.stringFormatting.defaultFormat(a.core.DataType.Number,!0)},{name:"PercentageDetail",defaultFormat:this.stringFormatting.defaultFormat(a.core.DataType.Number,!0)},{name:"PercentagePlot",defaultFormat:this.stringFormatting.defaultFormat(a.core.DataType.Number,!0)}]),this.lOa},enumerable:!0,configurable:!0}),b}(),d=function(a){e(b,a);function b(){return null!==a&&a.apply(this,arguments)||this}return Object.defineProperty(b.prototype,"template",{get:function(){if(null==this.tCa.parent.parent.tooltipFields||0===this.tCa.parent.parent.tooltipFields.length)return null;var a=this.tCa.parent.parent.$z();return a&&a.encodings&&a.encodings.tooltip&&null!=a.config&&null!=a.config.tooltip&&a.config.tooltip.template?a.config.tooltip.template:this.rPa()},enumerable:!0,configurable:!0}),b.prototype.rPa=function(){var a=null,b=this.tCa.parent.parent,c=[];return null!=b.xField&&(a=null!=a?a+"\n":"",a+="{xField.name}: {xField.value}",c.push(b.xField)),b.detailFields&&b.detailFields.length>0&&(a=null!=a?a+"\n":"",a+="{detailFields.name}: {detailFields.value}",c.push(b.detailFields[0])),b.tooltipFields.forEach(function(b){!b.sOa&&c.some(function(a){return a.Cj==b.name})||(a+="\n{"+b.name+".name}: {"+b.name+".value}")}),a},b.prototype.fromToken=function(a,b){return this.wCa(a,b,this.tCa.parent.parent.tooltipFields)},b}(c),f=function(a){e(b,a);function b(){return null!==a&&a.apply(this,arguments)||this}return Object.defineProperty(b.prototype,"template",{get:function(){if(null==this.tCa.parent.parent.textFields||0===this.tCa.parent.parent.textFields.length)return null;var a=this.tCa.parent.parent.$z();return a&&a.encodings&&a.encodings.text&&null!=a.config&&null!=a.config.text&&a.config.text.template?a.config.text.template:this.rPa()},enumerable:!0,configurable:!0}),b.prototype.rPa=function(){var a,b,c,d=[],e=this.tCa.parent.parent.$z().encodings;if(e&&e.text)for(a=0,b=e.text;a<b.length;a++)c=b[a],d.push("{"+c.field+".value}");return d.join("; ")},b.prototype.fromToken=function(a,b){return this.wCa(a,b,this.tCa.parent.parent.textFields)},b}(c)}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(c){e(d,c);function d(a,b,d,e,f){var g=c.call(this,b)||this;return g.yCa={},g.jCa=a,g.oQa=e,g.FOa=d,g.cb=f,g}return Object.defineProperty(d.prototype,"parent",{get:function(){return this.jCa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"detail",{get:function(){return this.oQa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"style",{get:function(){return null==this.tEa&&(this.tEa=new a.options.AFa(this.parent.$z().config.style)),this.tEa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"color",{get:function(){return this.oCa},set:function(a){this.oCa!=a&&(this.oCa=a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"dataPoints",{get:function(){return null==this.ACa&&(this.ACa=this.BCa()),this.ACa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"valueDefinition",{get:function(){return this.FOa},enumerable:!0,configurable:!0}),d.prototype.VBa=function(){var a,b,c;if(null==this.vBa)for(this.vBa=0,a=0,b=this.dataPoints;a<b.length;a++)c=b[a],this.vBa+=c.value;return this.vBa},d.prototype.ISa=function(){var a,b,c;for(a=0,b=this.dataPoints;a<b.length;a++)if(c=b[a],null!=c.value)return!1;return!0},d.prototype.WSa=function(){var a,b,c;for(a=0,b=this.dataPoints;a<b.length;a++)if(c=b[a],null==c.value)return!0;return!1},d.prototype.mQa=function(a,b){var c,d,e,f,g,h;for(c=0,d=a;c<d.length;c++)e=d[c],e.evaluate(this);if(null!=this.dataPoints)for(f=0,g=this.dataPoints;f<g.length;f++)h=g[f],h.mQa(b)},d.prototype.w5=function(b,c){var d,e,f,g,h;for(d=0,e=this.dataPoints;d<e.length;d++)f=e[d],this.cb==a.Group.Cluster?(g=f.w5(null,null),g>=0?(null==b[f.xValue]||g>b[f.xValue])&&(b[f.xValue]=g):(null==c[f.xValue]||g>c[f.xValue])&&(c[f.xValue]=g)):(h=f.w5(b[f.xValue],c[f.xValue]),h>=0?b[f.xValue]=h:c[f.xValue]=h)},d.prototype.WBa=function(a){var b,c,d,e;if(null==this.yCa[a])for(this.yCa[a]=0,b=0,c=this.dataPoints;b<c.length;b++)d=c[b],e=d.xValue,null!=e&&e==a&&(this.yCa[a]+=d.value);return this.yCa[a]},d.prototype.BCa=function(){var a,c,d,e,f,g,h,i,j,k,l=[];if(null!=this.parent.xSite.groups){for(a=this.parent.xSite,c={},d=0,e=this.items;d<e.length;d++)for(f=e[d],g=0;g<a.Ey.length;g++)if(a.Ey[g].items.indexOf(f)!=-1){null==c[g]&&(c[g]=[]),c[g].push(f);break}for(g=0;g<a.Ey.length;g++)null!=c[g]&&l.push(this.CCa(c[g],g))}else if(this.parent.xSite instanceof b.qBa)for(h=0,i=this.items;h<i.length;h++)f=i[h],l.push(this.CCa([f],this.parent.xSite.rOa().PBa([f])));else if(this.parent.xSite instanceof b.SOa)for(j=0,k=this.items;j<k.length;j++)f=k[j],l.push(this.CCa([f],0));return l},d}(b.JAa);b.DCa=c}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(c){e(d,c);function d(){return null!==c&&c.apply(this,arguments)||this}return Object.defineProperty(d.prototype,"categoryFields",{get:function(){return this.MCa},enumerable:!0,configurable:!0}),d.prototype.xBa=function(){this.MCa=this.NCa(this.$z().encodings.category),c.prototype.xBa.call(this),null!=this.MCa&&this.MCa.length>0&&(this.LBa=this.MCa[0])},d.prototype.cTa=function(b,d){var e,f,g,h;if(void 0===d&&(d=null),null==this.MCa||this.MCa.length<=0)return e=new a.options.lGa(b),e.aggregate=null,c.prototype.cTa.call(this,e,d);if(null!=b.field)if("object"==typeof b.field){if(null!=b.field.lower&&"string"==typeof b.field.lower&&null!=b.field.upper&&"string"==typeof b.field.upper&&null!=this.fields[b.field.lower]&&null!=this.fields[b.field.upper]){if(this.fields[b.field.lower].Nc==a.core.DataType.Number&&this.fields[b.field.upper].Nc==a.core.DataType.Number)return new a.data.zOa(this.fields[b.field.lower],this.fields[b.field.upper]);if(this.fields[b.field.lower].Nc==a.core.DataType.Date&&this.fields[b.field.upper].Nc==a.core.DataType.Date)return new a.data.AOa(this.fields[b.field.lower],this.fields[b.field.upper])}}else if("string"==typeof b.field&&(f=null!=b.aggregate?a.core.asEnum(b.aggregate,a.Aggregate,!0):null,g=b.field.split(","),g.length>0&&(h=this.fields[g[0].trim()],null!=h)))return new a.data.COa(h,null==b.aggregate?a.Aggregate.Sum:b.aggregate);return null},d.prototype.NCa=function(b){var c,d,e,f,g,h=[];if(null==b.field)return null;for(c=b.field.split(">").reverse(),d=0,e=c;d<e.length;d++)f=e[d],g=this.fields[f.trim()],null!=g&&(g.Nc==a.core.DataType.String?h.push(g):g.Nc==a.core.DataType.Boolean?h.push(g):a.Yya(function(){return!1}));return h},d.prototype.IBa=function(a,d){return void 0===d&&(d=0),null!=this.categoryFields&&this.categoryFields.length>0?new b.LCa(this.categoryFields,a,d):c.prototype.IBa.call(this,a,d)},d.prototype.XBa=function(a){return"categoryField"==a?this.categoryFields:c.prototype.XBa.call(this,a)},d}(b.iCa);b.OCa=c}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(b){e(c,b);function c(c,d,e){var f,g,h=b.call(this,c,d,e)||this;return h.PCa=NaN,h.QCa=NaN,h.RCa=NaN,c.valueDefinition instanceof a.data.zOa?(f=c.valueDefinition.toItem(h.items),h.PCa=Math.min(f.lower,f.upper),h.QCa=Math.max(f.lower,f.upper),g={},null!=c.parent.xField&&(g[c.parent.xField.Cj]=d[0][c.parent.xField.Cj]),g[c.valueDefinition.UCa.Cj]=f.lower,g[c.valueDefinition.VCa.Cj]=f.upper,h.qPa(g)):c.valueDefinition instanceof a.data.AOa&&(f=c.valueDefinition.toItem(h.items),h.PCa=Math.min(f.lower.valueOf(),f.upper.valueOf()),h.QCa=Math.max(f.lower.valueOf(),f.upper.valueOf()),g={},null!=c.parent.xField&&(g[c.parent.xField.Cj]=d[0][c.parent.xField.Cj]),g[c.valueDefinition.UCa.Cj]=f.lower,g[c.valueDefinition.VCa.Cj]=f.upper,h.qPa(g)),h}return Object.defineProperty(c.prototype,"yLowerValue",{get:function(){return this.PCa},set:function(a){this.PCa=a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"yPreviousValue",{get:function(){return this.RCa},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"yUpperValue",{get:function(){return this.QCa},set:function(a){this.QCa=a},enumerable:!0,configurable:!0}),c.prototype.w5=function(a,b){if(this.yLowerValue>=0){if(null==a)return Math.max(this.yLowerValue,this.yUpperValue);this.RCa=a,this.yUpperValue=this.yUpperValue-this.yLowerValue+a,this.yLowerValue=a}else{if(null==b)return Math.min(this.yLowerValue,this.yUpperValue);this.RCa=b,this.yLowerValue=this.yLowerValue-this.yUpperValue+b,this.yUpperValue=b}},c.prototype.NBa=function(a){this.PCa=this.PCa/a,this.QCa=this.QCa/a},c}(b.sCa);b.SCa=c}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c,d=function(a){e(d,a);function d(){return null!==a&&a.apply(this,arguments)||this}return Object.defineProperty(d.prototype,"ySite",{get:function(){return null==this.JBa&&(this.JBa=new c(this,this.valueDefinition)),this.JBa},enumerable:!0,configurable:!0}),d.prototype.CCa=function(a,c){return new b.SCa(this,a,c)},d}(b.DCa);b.TCa=d,c=function(){function b(a,b){this.pBa=!1,this.valueCount=NaN,this.groups=null,this.groupLevels=0,this.jCa=a,this.FOa=b}return Object.defineProperty(b.prototype,"name",{get:function(){return this.FOa.UCa.Cj+"-"+this.FOa.VCa.Cj},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"min",{get:function(){var a,b,c,d,e=NaN;for(a=0,b=this.jCa.dataPoints;a<b.length;a++)c=b[a],d=Math.min(c.yLowerValue,c.yUpperValue),(isNaN(e)||e>d)&&(e=d);return e},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"max",{get:function(){var a,b,c,d,e=NaN;for(a=0,b=this.jCa.dataPoints;a<b.length;a++)c=b[a],d=Math.max(c.yLowerValue,c.yUpperValue),(isNaN(e)||e<d)&&(e=d);return e},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"dataType",{get:function(){return this.FOa instanceof a.data.zOa?a.core.DataType.Number:this.FOa instanceof a.data.AOa?a.core.DataType.Date:null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"isOrdinal",{get:function(){return!1},set:function(a){throw"Not support!"},enumerable:!0,configurable:!0}),b.prototype.labelFromValue=function(b,c){var d,e=a.plugins._za("Default");return null!=e&&(d=e.create(),null!=d)?d.format(c,b):null},b}()}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(b){e(c,b);function c(c,d,e){var f,g=b.call(this,c,d,e)||this;return g.WCa=NaN,g.RCa=NaN,g.WCa=c.valueDefinition.toValue(g.items),f={},null!=c.parent.xField&&(f[c.parent.xField.Cj]=d[0][c.parent.xField.Cj]),c.valueDefinition instanceof a.data.BOa?f[c.valueDefinition.rOa.Cj]=c.valueDefinition.toItem(g.items):c.valueDefinition instanceof a.data.COa&&(f[c.valueDefinition.rOa.Cj]=c.valueDefinition.toItem(g.items)),g.qPa(f),g}return Object.defineProperty(c.prototype,"yValue",{get:function(){return this.WCa},set:function(a){this.WCa=a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"yPreviousValue",{get:function(){return this.RCa},enumerable:!0,configurable:!0}),c.prototype.w5=function(a,b){return null==this.yValue?null!=a&&(this.RCa=a):this.yValue>=0?null!=a&&(this.RCa=a,this.yValue+=a):null!=b&&(this.RCa=b,this.yValue+=b),this.yValue},c.prototype.NBa=function(a){this.WCa=this.WCa/a,this.RCa=this.RCa/a},c}(b.sCa);b.XCa=c}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c,d=function(a){e(d,a);function d(){return null!==a&&a.apply(this,arguments)||this}return Object.defineProperty(d.prototype,"ySite",{get:function(){return null==this.JBa&&(this.JBa=new c(this,this.valueDefinition)),this.JBa},enumerable:!0,configurable:!0}),d.prototype.CCa=function(a,c){return new b.XCa(this,a,c)},d}(b.DCa);b.YCa=d,c=function(){function b(a,b){this.groups=null,this.groupLevels=0,this.jCa=a,this.GOa=b}return Object.defineProperty(b.prototype,"name",{get:function(){return this.GOa.rOa.Cj},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"min",{get:function(){var a,b,c,d=NaN;for(a=0,b=this.jCa.dataPoints;a<b.length;a++)c=b[a],(isNaN(d)||d>c.yValue)&&(d=c.yValue);return d},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"max",{get:function(){var a,b,c,d=NaN;for(a=0,b=this.jCa.dataPoints;a<b.length;a++)c=b[a],(isNaN(d)||d<c.yValue)&&(d=c.yValue);return d},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"dataType",{get:function(){return this.GOa instanceof a.data.COa&&this.GOa.sOa!=a.Aggregate.List?a.core.DataType.Number:this.GOa.rOa.Nc},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"isOrdinal",{get:function(){return!(this.GOa instanceof a.data.COa&&this.GOa.sOa!=a.Aggregate.List)&&(this.GOa.rOa.Nc==a.core.DataType.String||this.GOa.rOa.Nc==a.core.DataType.Boolean)},set:function(a){throw"Not support!"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"valueCount",{get:function(){if(this.GOa instanceof a.data.COa){if(this.GOa.sOa==a.Aggregate.List){if(this.GOa.rOa instanceof a.data.hBa)return this.GOa.rOa.Ey.length;if(this.GOa.rOa instanceof a.data.jBa)return this.GOa.rOa.Ey.length}else if(this.GOa instanceof a.data.BOa){if(this.GOa.rOa instanceof a.data.hBa)return this.GOa.rOa.Ey.length;if(this.GOa.rOa instanceof a.data.jBa)return this.GOa.rOa.Ey.length}return NaN}},enumerable:!0,configurable:!0}),b.prototype.labelFromValue=function(b,c){var d,e;if(this.GOa instanceof a.data.COa){if(this.GOa.sOa==a.Aggregate.List){if(this.GOa.rOa instanceof a.data.hBa)return this.GOa.rOa.Ey[b];if(this.GOa.rOa instanceof a.data.jBa)return""+this.GOa.rOa.Ey[b]}}else if(this.GOa instanceof a.data.BOa){if(this.GOa.rOa instanceof a.data.hBa)return this.GOa.rOa.Ey[b];if(this.GOa.rOa instanceof a.data.jBa)return""+this.GOa.rOa.Ey[b]}return d=a.plugins._za("Default"),null!=d&&(e=d.create(),null!=e)?e.format(c,b):null},b}()}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(a){"use strict";var b=function(){function a(a){void 0===a&&(a=0),this.groups=null,this.groupLevels=0,this.nBa=0,this.nBa=a}return Object.defineProperty(a.prototype,"name",{get:function(){return""},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"min",{get:function(){return-.5;
},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"max",{get:function(){return.5},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"dataType",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"isOrdinal",{get:function(){return!1},set:function(a){throw"Not support!"},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"valueCount",{get:function(){return NaN},enumerable:!0,configurable:!0}),a.prototype.labelFromValue=function(a,b){return null},a}();a.SOa=b}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(b,c,d){var e,f,g,h,i,j,k,l,m;for(void 0===d&&(d=0),this.nBa=0,a.Yya(function(){return null!=b&&b.length>0}),this.nBa=d,this.groupLevels=b.length-1,this.name=b[0].Cj,this.dataType=b[0].Nc,this.isOrdinal=!0,this.Ey=[],e=new a.core.collections.CollectionView(c),f=b.length-1;f>=0;f--)g=b[f],h=new a.core.collections.PropertyGroupDescription(g.Cj),e.groupDescriptions.push(h);for(this.groups=[],i=0,j=0,k=e.groups;j<k.length;j++)l=k[j],m=this.KCa(i,l,this.Ey),null!=m.children&&this.groups.push(m),i=m.end+1}return Object.defineProperty(b.prototype,"min",{get:function(){return 0-this.nBa},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"max",{get:function(){return this.Ey.length-1+this.nBa},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"valueCount",{get:function(){return this.Ey?this.Ey.length:0},enumerable:!0,configurable:!0}),b.prototype.labelFromValue=function(a,b){if(null!=this.Ey&&this.Ey.length>0){var c=this.Ey[a];return c?c.label:null}return null},b.prototype.KCa=function(a,b,c){var d,e,f,g,h,i;if(null!=b.groups&&b.groups.length>0){for(d=[],e=a,f=0,g=b.groups;f<g.length;f++)h=g[f],i=this.KCa(e,h,c),null!=i.children&&d.push(i),e=i.end+1;return{label:""+b.name,children:d,items:b.items,start:a,end:e-1}}return c.push({label:""+b.name,items:b.items}),{label:""+b.name,items:b.items,start:a,end:a}},b}();b.LCa=c}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(a,b){void 0===b&&(b=0),this.groups=null,this.groupLevels=0,this.cOa=b,this.oBa=a}return Object.defineProperty(b.prototype,"name",{get:function(){return this.oBa.Cj},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"min",{get:function(){return this.isOrdinal?null!=this.oBa?0-this.padding():-.5:null!=this.oBa?this.oBa.bw()-this.padding():-.5},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"max",{get:function(){return this.isOrdinal?null!=this.oBa?this.oBa.Ey.length-1+this.padding():.5:null!=this.oBa?this.oBa.cw()+this.padding():.5},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"dataType",{get:function(){return null!=this.oBa?this.oBa.Nc:null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"isOrdinal",{get:function(){return null==this.pBa&&(this.pBa=this.oBa.Nc==a.core.DataType.String||this.oBa.Nc==a.core.DataType.Boolean),this.pBa},set:function(a){this.pBa!=a&&(this.pBa=a)},enumerable:!0,configurable:!0}),b.prototype.padding=function(a){return void 0===a?this.isOrdinal?.5:this.cOa:void(this.cOa!=a&&(this.cOa=a))},Object.defineProperty(b.prototype,"valueCount",{get:function(){return null!=this.oBa?this.oBa.Ey.length:NaN},enumerable:!0,configurable:!0}),b.prototype.rOa=function(){return this.oBa},b.prototype.labelFromValue=function(b,c){var d,e,f;if(null!=this.oBa)return this.oBa instanceof a.data.hBa?this.oBa.Ey[b]:this.oBa instanceof a.data.jBa?""+this.oBa.Ey[b]:this.oBa instanceof a.data.fBa?(this.isOrdinal&&(b=this.oBa.Ey[b]),d=a.plugins._za("Default"),null!=d&&(e=d.create(),null!=e)?e.format(c,b):""+b):this.oBa instanceof a.data.iBa?(this.isOrdinal&&(b=this.oBa.Ey[b]),f=new Date(b),d=a.plugins._za("Default"),null!=d&&(e=d.create(),null!=e)?e.format(c,f):""+f):null},b}();b.qBa=c}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(b,c){var d,e,f,g,h,i;for(this.ECa=null,this.uBa=[],this.FCa=NaN,this.GCa=NaN,this.HCa=null,this.ICa=null,this.JCa=NaN,this.groups=null,this.groupLevels=0,this.FCa=NaN,this.uBa=b,d=[],e=!1,f=0,g=b;f<g.length;f++)h=g[f],null!=h&&(null!=h.ySite.name&&h.ySite.name.length>0&&d.indexOf(h.ySite.name)==-1&&d.push(h.ySite.name),!e&&h.ySite.isOrdinal?(this.ECa=h.ySite,this.ICa=h.ySite.dataType,(isNaN(this.JCa)||this.JCa<h.ySite.valueCount)&&(this.JCa=h.ySite.valueCount)):h.ySite.isOrdinal?h.ySite.dataType==a.core.DataType.Number&&(this.ICa=h.ySite.dataType):(e=!0,this.ECa=null,this.JCa=NaN,this.ICa=h.ySite.dataType),(isNaN(this.FCa)||this.FCa>h.ySite.min)&&(this.FCa=h.ySite.min),(isNaN(this.GCa)||this.GCa<h.ySite.max)&&(this.GCa=h.ySite.max),this.FCa>0&&c==a.ShowNulls.Zeros&&h.WSa()&&(this.FCa=0));d.length>0&&(this.HCa=d.join(",")),this.ICa!=a.core.DataType.Number&&this.ICa!=a.core.DataType.Date||(i=(this.GCa-this.FCa)/1.5,this.FCa>0&&(this.FCa=this.FCa-i,this.FCa<0&&(this.FCa=0)))}return Object.defineProperty(b.prototype,"name",{get:function(){return this.HCa},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"min",{get:function(){return this.FCa},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"max",{get:function(){return this.GCa},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"dataType",{get:function(){return this.ICa},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"isOrdinal",{get:function(){return null!=this.ECa},set:function(a){throw"Not support!"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"valueCount",{get:function(){return this.JCa},enumerable:!0,configurable:!0}),b.prototype.labelFromValue=function(b,c){var d,e;return null!=this.ECa?this.ECa.labelFromValue(b,c):(d=a.plugins._za("Default"),null!=d&&(e=d.create(),null!=e)?e.format(c,b):null)},b}();b.eCa=c}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c,d,f,g=function(a){e(b,a);function b(b,c,d){var e=a.call(this,d)||this;return e.$Ca=[],e.HCa=b,e.mCa=c.toValue(d),e}return Object.defineProperty(b.prototype,"item",{get:function(){return this.mCa},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"color",{get:function(){return this.oCa},set:function(a){this.oCa!=a&&(this.oCa=a)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"name",{get:function(){return this.HCa},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"value",{get:function(){return this.mCa},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"children",{get:function(){return this.$Ca},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"tooltipContentSite",{get:function(){return new d(this)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"dataLabelContentSite",{get:function(){return new f(this)},enumerable:!0,configurable:!0}),b}(b.sAa);b._Ca=g,c=function(){function c(c){var d,e;if(this.al=null,this.defaultProperty="value",this.literalTokens=[],a.Yya(function(){return null!=c}),this.zoa=c,this.zoa instanceof b.aDa?this.al=this.zoa:this.zoa instanceof b.bDa&&(this.al=this.zoa.al()),null!=this.al)for(d=this.al.parent.TOa(),this.aOa=[],e=0;e<d.length&&e<c.depth;++e)this.aOa[e]=d[e].Cj}return Object.defineProperty(c.prototype,"stringFormatting",{get:function(){return this.al.parent.parent.parent.lPa()},enumerable:!0,configurable:!0}),c.prototype.fromToken=function(b,c){var d,e,f,g,h,i,j,k,l,m=this,n=this.al.parent.$z().config.tooltip.template;if(this.S0.indexOf(b)!=-1){if(d=this.aOa.indexOf(b),d!=-1&&(e=this.QNa(this.zoa,d),null!=e))return{name:b,value:e.name};if(null!=n){if(f=this.al.parent.TOa(),g=[],f instanceof Array)for(h=0,i=f;h<i.length;h++)j=i[h],j instanceof a.data.AAa&&g.push(j.Cj);if(!(g.indexOf(b)<0))return{name:b,value:""};if(k={name:null,value:null,aggregate:null},l=this.al.parent.UOa(),l.some(function(c){if(c.name==b)return k.name=c.name,k.value=c.toItem(m.zoa.items),k.aggregate=a.Aggregate[c.sOa],!0}))return k}}return null},c.prototype.QNa=function(a,b){if(null!=a){if(a.depth==b+1)return a;if(a.parent instanceof g)return this.QNa(a.parent,b)}return null},c}(),d=function(a){e(b,a);function b(b){var c,d,e,f,g=a.call(this,b)||this,h=g.al.parent.$z().config.tooltip.template;if(null==h||h.length<=0)g.S0=[],g.S0=g.aOa;else if(g.S0=[],c=g.al.parent.$z().encodings.tooltip,c.length>0)for(d=0,e=c;d<e.length;d++)f=e[d],g.S0.indexOf(f.field)==-1&&g.S0.push(f.field);return g}return Object.defineProperty(b.prototype,"template",{get:function(){var a,b=this.al.parent.UOa();return null==b||b.length<=0?null:(a=this.al.parent.$z().config.tooltip.template,null!=a?a:this.rPa())},enumerable:!0,configurable:!0}),b.prototype.rPa=function(){var a,b=this.al.parent.$z().encodings.tooltip,c=[];return b.length>0?(c=this.S0,a=c.map(function(a){return"{"+a+".name}:{"+a+".value}"}),a.join("\n")):null},b}(c),f=function(a){e(b,a);function b(b){var c,d,e,f,g=a.call(this,b)||this,h=g.al.parent.$z().config.text.template;if(null==h||h.length<=0)g.S0=[],g.S0=g.aOa;else if(g.S0=[],c=g.al.parent.$z().encodings.text,c.length>0)for(d=0,e=c;d<e.length;d++)f=e[d],g.S0.indexOf(f.field)==-1&&g.S0.push(f.field);return g}return Object.defineProperty(b.prototype,"template",{get:function(){var a,b=this.al.parent.$z().encodings.text;return null==b||b.length<=0?null:(a=this.al.parent.$z().config.text.template,null!=a?a:this.rPa())},enumerable:!0,configurable:!0}),b.prototype.rPa=function(){var a,b,c,d,e=this.al.parent.$z().encodings.text,f=[];if(!(e.length>0))return null;for(a=0,b=e;a<b.length;a++)c=b[a],f.indexOf(c.field)==-1&&f.push(c.field);return d=f.map(function(a){return"{"+a+".name}:{"+a+".value}"}),d.join("\n")},b}(c)}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(c){e(d,c);function d(a,b,d){var e=c.call(this,a,b,d)||this;return e.sBa=[],e.tBa=[],e.xBa(),e.cDa=e.RNa(),e}return Object.defineProperty(d.prototype,"root",{get:function(){return this.cDa},enumerable:!0,configurable:!0}),d.prototype.HOa=function(){return this.FOa},d.prototype.TOa=function(){return this.MBa},d.prototype.UOa=function(){return this.tBa},d.prototype.xBa=function(){var b,c,d,e;if(this.FOa=null,b=this.xOa(this.$z().encodings.values,a.Aggregate.Sum),b&&b.length>0)for(c=0,d=b;c<d.length;c++)if(e=d[c],e instanceof a.data.COa){if(e.rOa instanceof a.data.fBa){this.FOa=e;break}}else if(e instanceof a.data.BOa&&e.rOa instanceof a.data.fBa){this.FOa=e;break}this.MBa=this.dTa(this.$z().encodings.details,null),this.sBa=this.dBa(this.$z().encodings.text,a.Aggregate.List),this.tBa=this.dBa(this.$z().encodings.tooltip,a.Aggregate.List)},d.prototype.cTa=function(b,c){var d,e;return null!=b&&null!=b.field&&"string"==typeof b.field&&(d=b.field.split(","),d.length>0&&(e=this.fields[d[0].trim()],null!=e))?new a.data.COa(e,null==b.aggregate?a.Aggregate.Sum:b.aggregate):null},d.prototype.eDa=function(a,c,d,e){return new b.bDa(a,c,d,e)},d.prototype.dDa=function(a,c,d,e){return new b.aDa(a,c,d,e)},d.prototype.RNa=function(){var b,c,d,e,f,g,h,i=this.dDa(this,"",this.FOa,this.items);if(this.MBa&&this.MBa.length>0){for(b=new a.core.collections.CollectionView(this.items),c=0,d=this.MBa;c<d.length;c++)e=d[c],f=new a.core.collections.PropertyGroupDescription(e.Cj),b.groupDescriptions.push(f);for(g=0;g<b.groups.length;g++)h=this.fDa(i,b.groups[g]),h.color=this.parent.parent.OOa().getColor(g),i.children.push(h)}return i},d.prototype.fDa=function(a,b){var c,d,e,f=this.eDa(a,b.name,this.FOa,b._items);if(null!=b.groups&&b.groups.length>0)for(c=0,d=b.groups;c<d.length;c++)e=d[c],null!=e.name&&f.children.push(this.fDa(f,e));return f},Object.defineProperty(d.prototype,"legends",{get:function(){return[]},enumerable:!0,configurable:!0}),d}(b.kBa);b.gDa=c}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(c){e(d,c);function d(a,b,d,e){var f=c.call(this,b,d,e)||this;return f.jCa=a,f}return Object.defineProperty(d.prototype,"style",{get:function(){return null==this.tEa&&(this.tEa=new a.options.AFa(this.al().parent.$z().config.style)),this.tEa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"parent",{get:function(){return this.jCa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"depth",{get:function(){return this.parent.depth+1},enumerable:!0,configurable:!0}),d.prototype.al=function(){return this.parent instanceof d?this.parent.al():this.parent instanceof b.aDa?this.parent:null},d.prototype.FB=function(){return this.parent instanceof d?this.parent.FB():this.parent instanceof b.aDa?this:null},d}(b._Ca);b.bDa=c}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(b){e(c,b);function c(a,c,d,e){var f=b.call(this,c,d,e)||this;return f.jCa=a,f}return Object.defineProperty(c.prototype,"style",{get:function(){return null==this.tEa&&(this.tEa=new a.options.AFa(this.parent.$z().config.style)),this.tEa},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"parent",{get:function(){return this.jCa},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"depth",{get:function(){return 0},enumerable:!0,configurable:!0}),c.prototype.al=function(){return this},c}(b._Ca);b.aDa=c}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.models||(a.models={}))}(d||(d={})),function(a){"use strict"}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(b){this.eAa=new a.options.wDa(b)}return Object.defineProperty(b.prototype,"hidden",{get:function(){return null==this.SNa?null!=this.$z().hidden?this.$z().hidden:null!=this.parent.$z().legend.hidden?this.parent.$z().legend.hidden:!!this.parent.parent.$z().legend.hidden&&this.parent.parent.$z().legend.hidden:this.SNa},set:function(a){this.hidden!=a&&(this.SNa=a)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"orientation",{get:function(){return null!=this.$z().orientation?this.$z().orientation:null!=this.parent.$z().legend.orientation?this.parent.$z().legend.orientation:this.parent.parent.$z().legend.orientation},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"position",{get:function(){return null!=this.$z().position?this.$z().position:null!=this.parent.$z().legend.position?this.parent.$z().legend.position:null!=this.parent.parent.$z().legend.position?this.parent.parent.$z().legend.position:a.Position.Right},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"titlePosition",{get:function(){return a.Position.Top},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"labelPosition",{get:function(){return a.Position.Right},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"ellipsize",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"itemPadding",{get:function(){return 10},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"wrapping",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"backgroundColor",{get:function(){return this.$z().style.backgroundColor?this.$z().style.backgroundColor:this.parent.$z().legend.style.backgroundColor?this.parent.$z().legend.style.backgroundColor:this.parent.parent.$z().legend.style.backgroundColor?this.parent.parent.$z().legend.style.backgroundColor:"none"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"borderStyle",{get:function(){var a={opacity:void 0,stroke:void 0,strokeWidth:void 0,strokeDasharray:void 0};return this.$z().style.borderStyle.opacity?a.opacity=this.$z().style.borderStyle.opacity:this.parent.$z().legend.style.borderStyle.opacity?a.opacity=this.parent.$z().legend.style.borderStyle.opacity:this.parent.parent.$z().legend.style.borderStyle.opacity&&(a.opacity=this.parent.parent.$z().legend.style.borderStyle.opacity),this.$z().style.borderStyle.stroke?a.stroke=this.$z().style.borderStyle.stroke:this.parent.$z().legend.style.borderStyle.stroke?a.stroke=this.parent.$z().legend.style.borderStyle.stroke:this.parent.parent.$z().legend.style.borderStyle.stroke&&(a.stroke=this.parent.parent.$z().legend.style.borderStyle.stroke),this.$z().style.borderStyle.strokeWidth?a.strokeWidth=this.$z().style.borderStyle.strokeWidth:this.parent.$z().legend.style.borderStyle.strokeWidth?a.strokeWidth=this.parent.$z().legend.style.borderStyle.strokeWidth:this.parent.parent.$z().legend.style.borderStyle.strokeWidth&&(a.strokeWidth=this.parent.parent.$z().legend.style.borderStyle.strokeWidth),this.$z().style.borderStyle.strokeDasharray?a.strokeDasharray=this.$z().style.borderStyle.strokeDasharray:this.parent.$z().legend.style.borderStyle.strokeDasharray?a.strokeDasharray=this.parent.$z().legend.style.borderStyle.strokeDasharray:this.parent.parent.$z().legend.style.borderStyle.strokeDasharray&&(a.strokeDasharray=this.parent.parent.$z().legend.style.borderStyle.strokeDasharray),a},enumerable:!0,configurable:!0}),b.prototype.$z=function(){return this.eAa},b}();b.yDa=c}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(a){"use strict";var b=function(){function a(a){this.title=a}return a}();a.zDa=b}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(){}return b.prototype.render=function(b,c){var d,e,f,g={opacity:this.Wqa.symbolOpacity,fill:this.Wqa.symbolFill,stroke:this.Wqa.symbolStroke,strokeWidth:this.Wqa.symbolStrokeWidth,strokeDasharray:this.Wqa.symbolStrokeDasharray};return null!=this.nSa&&(d=a.plugins.jSa(this.nSa),null!=d)?(e=d.create(),e.tE=this.tE,void e.render(b,c,g)):(f=c.width<c.height?c.width/2:c.height/2,void b.drawEllipse((c.right+c.left)/2,(c.top+c.bottom)/2,f,f,null,a.core.merge({fill:this.tE,stroke:this.tE,strokeWidth:0},g)))},b}();b.oSa=c}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function c(b){this.gRa=null,a.Yya(function(){return null!=b}),this.VLa=b}return c.prototype.pta=function(){return this.VLa},c.prototype.OOa=function(){return this.pta().parent.OOa()},c.prototype.POa=function(){return this.pta().parent.POa()},c.prototype.gCa=function(c,d){null!=c&&(null==this.CDa&&(this.CDa=new b.DDa(this,new a.options.wDa({}))),this.CDa.gCa(c,this.pta().sPa)&&(d&&(null==this.gRa&&(this.gRa=new b.DDa(this,new a.options.wDa({}))),this.gRa.gCa(c,this.pta().sPa)),this.pta().sPa++))},c.prototype.UBa=function(a){return null!=a&&null!=this.CDa?this.CDa.JDa(a):null},c}();b.tPa=c}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function c(b){this._items=[],a.Yya(function(){return null!=b}),this.ZCa=b}return c.prototype.uPa=function(){return this.ZCa},c.prototype.OOa=function(){return this.uPa().parent.parent.OOa()},c.prototype.POa=function(){return this.uPa().parent.parent.POa()},c.prototype.yBa=function(c,d){var e,f,g,h,i,j;if(void 0===d&&(d=null),null!=c){if(e=this.uPa().parent.$z().legends,null!=e&&e.length>0)for(g=0,h=e;g<h.length;g++)if(i=h[g],i.type==a.LegendType.Color){f=i;break}j=this.EDa(c),null==j&&(j=new b.FDa(this,c,f,d),this._items.push(j)),d&&(j.hidden=!1),isNaN(j.sPa())&&(j.GDa(this.uPa().parent.sPa),this.uPa().parent.sPa+=j.items.length)}},c.prototype.ABa=function(c){var d,e,f,g,h,i;if(null!=c){if(d=this.uPa().parent.$z().legends,null!=d&&d.length>0)for(f=0,g=d;f<g.length;f++)if(h=g[f],h.type==a.LegendType.Size){e=h;break}i=this.EDa(c),null==i&&(i=new b.FDa(this,c,e),this._items.push(i)),i.HDa()}},c.prototype.CBa=function(c,d){var e,f,g,h,i,j;if(void 0===d&&(d=null),null!=c){if(e=this.uPa().parent.$z().legends,null!=e&&e.length>0)for(g=0,h=e;g<h.length;g++)if(i=h[g],i.type==a.LegendType.Size){f=i;break}j=this.EDa(c),null==j&&(j=new b.FDa(this,c,f),this._items.push(j)),j.IDa(d)}},c.prototype.EDa=function(a){var c,d,e;if(null==a)return null;for(c=0,d=this._items;c<d.length;c++)if(e=d[c],e instanceof b.FDa&&e.rOa.Cj==a.Cj)return e;return null},c.prototype.QBa=function(a,b){if(null!=a){var c=this.EDa(a);if(null!=c)return c.JDa(b)}return null},c}();b.pPa=c}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c,d=function(d){e(f,d);function f(e,f,g,h){var i,j,k,l,m,n,o,p,q,r,s;if(void 0===h&&(h=null),i=d.call(this,g)||this,i.BDa=NaN,i.GAa=[],a.Yya(function(){return null!=e}),i.NAa=e,a.Yya(function(){return null!=f}),i.rOa=f,null!=h&&(i.hidden=!h),i.rOa.Nc==a.core.DataType.String||i.rOa.Nc==a.core.DataType.Boolean)for(j=i.rOa,k=0;k<j.Ey.length;k++)l=""+j.Ey[k],i.items.push(new c(i,l,{start:k,to:k+1}));else if(i.rOa.Nc==a.core.DataType.Number||i.rOa.Nc==a.core.DataType.Date)if(m=i.rOa,i.$z()&&i.$z().ranges&&Array.isArray(i.$z().ranges))for(i.$z().ranges.sort(function(a,b){return null==a.to?1:null==b.to?-1:a.to>b.to?1:a.to<b.to?-1:0}),n=Number.MIN_VALUE,o=0,p=i.$z().ranges;o<p.length;o++)q=p[o],q.to?(i.items.push(new c(i,q.title,{start:n,to:q.to})),n=q.to):i.items.push(new c(i,q.title,{start:n,to:Number.MAX_VALUE}));else{for(r=new b.rRa(m.bw(),m.cw(),5,(!0)),r.KPa<r.ticks[0]&&i.items.push(new c(i,""+r.ticks,{start:r.KPa,to:r.ticks[0]})),n=r.ticks[0],k=1;k<r.ticks.length;k++)s=r.ticks[k],i.items.push(new c(i,""+s,{start:n,to:s})),n=s;n<r.LPa&&i.items.push(new c(i,""+r.LPa,{start:n,to:r.LPa}))}else a.Yya(function(){return!1});return i}return Object.defineProperty(f.prototype,"parent",{get:function(){return this.oPa().uPa().parent},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"title",{get:function(){var b=this.$z()?a.core.asString(this.$z().title,!0):null;return null==b&&(b=this.rOa.Cj),b},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"items",{get:function(){return this.GAa},enumerable:!0,configurable:!0}),f.prototype.Wqa=function(){return this.oPa().uPa().bRa().config.style},f.prototype.oPa=function(){return this.NAa},f.prototype.sPa=function(){return this.BDa},f.prototype.GDa=function(a){var b,c,d;for(this.BDa=a,b=0,c=this.items;b<c.length;b++)d=c[b],d.color=this.oPa().OOa().getColor(this.BDa+this.items.indexOf(d))},f.prototype.IDa=function(a){var b,c,d;for(void 0===a&&(a=null),b=0,c=this.items;b<c.length;b++)d=c[b],null!=a?d.shape=a:d.shape=this.oPa().POa().getSymbol(this.items.indexOf(d))},f.prototype.HDa=function(){var a,b,c;for(a=0,b=this.items;a<b.length;a++)c=b[a],c.size=10+10*this.items.indexOf(c)},f.prototype.JDa=function(a){var b,c,d,e;if(this.GAa.length<=0)return null;for(b=0,c=this.GAa;b<c.length;b++)if(d=c[b],d.my.start<=a&&a<d.my.to)return d;return e=this.GAa[this.GAa.length-1],e.my.start<=a&&a<=e.my.to?e:null},f}(b.yDa);b.FDa=d,c=function(a){e(c,a);function c(b,c,d){var e=a.call(this,c)||this;return e.jCa=b,e.my=d,e}return Object.defineProperty(c.prototype,"parent",{get:function(){return this.jCa},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"style",{get:function(){return this.parent.Wqa()},enumerable:!0,configurable:!0}),c.prototype.Za=function(){var a=this.parent.oPa().uPa().mSa();return null==a&&(a=new b.oSa),a.tE=this.color,a.nSa=this.shape,a},c}(b.zDa)}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c,d=function(b){e(d,b);function d(c,d){var e=b.call(this,d)||this;return e.GAa=[],a.Yya(function(){return null!=c}),e.NAa=c,e}return Object.defineProperty(d.prototype,"parent",{get:function(){return this.oPa().pta()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"title",{get:function(){var b=this.$z()?a.core.asString(this.$z().title,!0):null;return b},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"items",{get:function(){return this.GAa},enumerable:!0,configurable:!0}),d.prototype.oPa=function(){return this.NAa},d.prototype.gCa=function(a,b){var d,e,f;for(d=0,e=this.GAa;d<e.length;d++)if(f=e[d],f.Ata()==a)return!1;return this.items.push(new c(this,a,this.oPa().OOa().getColor(b))),!0},d.prototype.JDa=function(a){var b,c,d;for(b=0,c=this.GAa;b<c.length;b++)if(d=c[b],d.Ata()==a)return d;return null},d}(b.yDa);b.DDa=d,c=function(a){e(c,a);function c(b,c,d){var e=a.call(this,c.valueDefinition.name)||this;return e.jCa=b,e.KDa=c,e.color=d,e}return Object.defineProperty(c.prototype,"parent",{get:function(){return this.jCa},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"style",{get:function(){return this.Ata().parent.bRa().config.style},enumerable:!0,configurable:!0}),c.prototype.Ata=function(){return this.KDa},c.prototype.Za=function(){var a=this.KDa.parent.mSa();return null==a&&(a=new b.oSa),a.tE=this.color,a.nSa=this.shape,a},c}(b.zDa)}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(a){this.sRa=a}return b.prototype.tRa=function(){return this.sRa},b.prototype.gBa=function(a){var b,c,d,e;if(null!=a&&"string"==typeof a)for(b=0,c=this.tRa();b<c.length;b++)if(d=c[b],e=this.ROa().parse(a,d),null!=e)return e;return null},b.prototype.ROa=function(){if(null==this.cAa){var b=a.plugins.ORa("Default");b&&(this.cAa=b.create())}return this.cAa},b}();b.pRa=c}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(a){"use strict";var b=3,c=function(){function a(){}return a.prototype.render=function(a,c){var d,e,f;for(d=0,e=c;d<e.length;d++)f=e[d],a.drawRect(f.x-b,f.y-b,2*b,2*b,null,{fill:"transparent",stroke:"#80A3BE",storkeWidth:1})},a}();a.JSa=c}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(a){"use strict";var b=3,c=function(){function a(){}return a.prototype.render=function(a,c){var d,e,f;for(d=0,e=c;d<e.length;d++)f=e[d],a.drawEllipse(f.x,f.y,b,b,null,{fill:"#B3D6F2",stroke:"#047AD8",strokeWidth:1})},a}();a.KSa=c}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.models||(a.models={}))}(d||(d={})),function(b){var c;!function(c){"use strict";var d,f=function(){function c(a){this.eAa=a,null!=a.condition&&a.condition.length>0&&null!=a.actions&&a.actions.length>0?this.hQa=this.ODa():this.hQa=null}return c.prototype.$z=function(){return this.eAa},c.prototype.Ok=function(){return this.iQa},c.prototype.evaluate=function(a){b.Xya&&null!=this.hQa&&(this.iQa=a,this.hQa.getCalcSourceModel().setFormulaByName("condition",this.$z().condition))},c.prototype.SDa=function(a){return"current"==a||a.length>8&&"current."==a.substring(0,8)||("parent"==a||a.length>5&&"parent."==a.substring(0,5))},c.prototype.ge=function(a){if(("parent"==a||a.length>7&&"parent."==a.substring(0,7))&&(a="current."+a),"current"==a)return this.Ok();if(a.length>8&&"current."==a.substring(0,8)&&null!=this.Ok()){var c=new b.core.Binding(a.substring(8));return c.getValue(this.Ok())}},c.prototype.TDa=function(){var a,b,c,e,f;for(a=0,b=this.$z().actions;a<b.length;a++)c=b[a],e=this.jQa(c),null!=e&&(f=new d(c),f.NGa(e))},c.prototype.jQa=function(a){return this.Ok()},c.prototype.ODa=function(){if(b.Xya){var c=function(c){e(d,c);function d(d){var e=c.call(this,new a.Spread.CalcEngine.CalcService)||this;return b.Yya(function(){return null!=d}),e.HGa=d,e.getCalcService().getSourceModel(e),e}return d.prototype.getParserContext=function(b,c,d){var e=this,f=new a.Spread.CalcEngine.ParserContext(this,b,c||{},d),g=new a.Spread.CalcEngine.TokenResolver(7e3);return g.resolveToken=function(b,c,d,f){var g,h=d[f],i=h.ni;if(0===h.Nc&&0===h.hi&&e.HGa.SDa(i))return g=new a.Spread.CalcEngine.Expression(25),g.value=i,g},f.addResolver(g),f},d.prototype.getEvaluatorContext=function(b,c,d){var e=new a.Spread.CalcEngine.EvaluateContext(this,b,c,d),f=this;return e.evaluate=function(a,b,c){return this.getValue(f,a.value)},e},d.prototype.getValueByName=function(a){return""},d.prototype.setValueByName=function(a,c){"CONDITION"==a?1==c&&this.HGa.TDa():b.Yya(function(){return!1})},d.prototype.getValue=function(a){return this.HGa.ge(a)},d}(a.Spread.CalcEngine.CalcSource);return new c(this)}return null},c}();c.IGa=f,d=function(){function a(a){this.$z=a}return a.prototype.NGa=function(a){var c,d,e,f;for(c=0,d=this.$z.properties;c<d.length;c++)e=d[c],f=new b.core.Binding(e.name),f.setValue(a,e.value)},a}()}(c=b.models||(b.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(c){e(d,c);function d(){return null!==c&&c.apply(this,arguments)||this}return d.prototype.SDa=function(a){return"index"==a||("previous"==a||a.length>9&&"previous."==a.substring(0,9)||("next"==a||a.length>5&&"next."==a.substring(0,5)||("parent"==a||a.length>5&&"parent."==a.substring(0,5)||c.prototype.SDa.call(this,a))))},d.prototype.ge=function(d){var e,f=this.Ok();if(f instanceof b.XCa||f instanceof b.SCa){if("index"==d)return this.mi(f);if("previous"==d)return this.JGa(f);if(d.length>9&&"previous."==d.substring(0,9)&&null!=this.JGa(f))return e=new a.core.Binding(d.substring(9)),e.getValue(this.JGa(f));if("next"==d)return this.KGa(f);if(d.length>5&&"next."==d.substring(0,5)&&null!=this.KGa(f))return e=new a.core.Binding(d.substring(5)),e.getValue(this.KGa(f))}return c.prototype.ge.call(this,d)},d.prototype.jQa=function(a){return"DataPoint"==a.targetElement?this.Ok():null},d.prototype.JGa=function(a){var b=a.parent,c=this.mi(a);return c>0?b.dataPoints[c-1]:void 0},d.prototype.KGa=function(a){var b=a.parent,c=this.mi(a);return c<b.dataPoints.length-1?b.dataPoints[c+1]:void 0},d.prototype.mi=function(a){var b=a.parent;return b.dataPoints.indexOf(a)},d}(b.IGa);b.kQa=c}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(c){e(d,c);function d(){return null!==c&&c.apply(this,arguments)||this}return d.prototype.SDa=function(a){return"index"==a||("previous"==a||a.length>9&&"previous."==a.substring(0,9)||("next"==a||a.length>5&&"next."==a.substring(0,5)||("parent"==a||a.length>5&&"parent."==a.substring(0,5)||c.prototype.SDa.call(this,a))))},d.prototype.ge=function(d){var e;if(this.Ok()instanceof b.YCa||this.Ok()instanceof b.TCa){if("index"==d)return this.mi(this.Ok());if("previous"==d)return this.JGa(this.Ok());if(d.length>9&&"previous."==d.substring(0,9)&&null!=this.JGa(this.Ok()))return e=new a.core.Binding(d.substring(9)),e.getValue(this.JGa(this.Ok()));if("next"==d)return this.KGa(this.Ok());if(d.length>5&&"next."==d.substring(0,5)&&null!=this.KGa(this.Ok()))return e=new a.core.Binding(d.substring(5)),e.getValue(this.KGa(this.Ok()))}return c.prototype.ge.call(this,d)},d.prototype.jQa=function(a){return"Group"==a.targetElement?this.Ok():null},d.prototype.JGa=function(a){var b=a.parent,c=this.mi(a);return c>0?b.dataSeriesList[c-1]:void 0},d.prototype.KGa=function(a){var b=a.parent,c=this.mi(a);return c<b.dataSeriesList.length-1?b.dataSeriesList[c+1]:void 0},d.prototype.mi=function(a){var b=a.parent;return b.dataSeriesList.indexOf(a)},d}(b.IGa);b.lQa=c}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(){}return b.prototype.toHtml=function(a){
var b=this.kOa(a);return b?b.replace(/\n/g,"<br />"):""},b.prototype.toLines=function(a){var b=this.kOa(a);return b?b.split("\n"):[]},b.prototype.kOa=function(a){var b,c,d,e,f,g,h,i,j;if(null==a)return null;if(b=a.template,null==b)return null;if(c=/\{\s*(\w+)(\[(\d+)\])?(\.\w*)*\s*(\:\s*.+?)*\s*\}/g,d=b.match(c),null!=d&&d.length>0)for(e=0,f=d;e<f.length;e++)g=f[e],c=/\{\s*(\w+)(\[(\d+)\])?((\.\w*)*)\s*(\:\s*(.+))*\s*\}/g,h=c.exec(g),null!=h&&(i=h[3]?parseInt(h[3]):0,j=this.EAa(a,h[1],i,h[4],h[7]),b=b.replace(g,j?j:""));return b},b.prototype.EAa=function(b,c,d,e,f){var g,h,i=b.fromToken(c,d);return null==i?"":(g=e?new a.core.Binding(e.substring(1)):new a.core.Binding(b.defaultProperty),h=g.getValue(i),null==h?"":(null==f&&b.literalTokens.some(function(a){return a.name==c&&(f=a.defaultFormat,!0)}),null==f&&(a.core.isNumber(h)?f=b.stringFormatting.defaultFormat(a.core.DataType.Number,!1):a.core.isDate(h)&&(f=b.stringFormatting.defaultFormat(a.core.DataType.Date,!1))),a.core.isNumber(h)||a.core.isDate(h)?b.stringFormatting.format(f,h):""+h))},b}();b.FAa=c}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.models||(a.models={}))}(d||(d={})),function(a){"use strict"}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(){}return b.prototype.parse=function(b,c){return a.core.Globalize.parseDate(b,c)},b}();b.dAa=c}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function c(c,d){void 0===d&&(d=!0),this.qFa=1,this.tFa=1,this.yGa=null,this.zGa=null,this.TNa=NaN,this.HHa=null,this.JHa=function(a,b){var c=this.KHa[b];c&&(a.beginPath(),a.rect(c.left,c.top,c.width,c.height),a.clip(),a.closePath())},this.LHa=function(b,c,d,e,f){var g,h,i,j,k=this,l=k.MHa.getContext("2d"),m=k.stroke,n=k.fill,o=k.opacity,p=k.strokeWidth,q=k.strokeDasharray;c&&void 0!==c.opacity&&(o=c.opacity),c&&void 0!==c.stroke&&(m=c.stroke),c&&void 0!==c.strokeDasharray&&(q=c.strokeDasharray),c&&void 0!==c.fill&&(n=k.NHa(c.fill,c["fill-opacity"])),b&&(h=a.core.cloneDeep(window.getComputedStyle(b)),h.fontFamily=this.dOa(h.fontFamily)),f?h?(l.globalAlpha=o,l.fillStyle=h.fill,g=h.fontStyle+" "+h.fontSize+" "+h.fontFamily,l.font=g,l.font.replace(/\"/g,"'")!==g.replace(/\"/g,"'")&&(g=h.fontStyle+" "+h.fontSize+" "+(l.font.split(" ").splice(1).join(" ")||"sans-serif"),l.font=g)):k.HHa?(l.globalAlpha=o,l.fillStyle=k.textFill,l.font=k.HHa+" "+(k.fontFamily||"sans-serif")):k.OHa&&(l.globalAlpha=o,l.fillStyle=k.OHa.textFill,g=k.OHa.fontSize+" "+k.OHa.fontFamily,l.font=g,l.font.replace(/\"/g,"'")!==g.replace(/\"/g,"'")&&(g=k.OHa.fontSize+" "+(l.font.split(" ")[1]||"sans-serif"),l.font=g)):(h&&(i=h,m=h.stroke&&"none"!==h.stroke?h.stroke:m,n=h.fill&&"none"!==h.fill?k.NHa(h.fill,i["fill-opacity"]):n,p=h.strokeWidth?h.strokeWidth:p,q=h.strokeDasharray?h.strokeDasharray:q,a.core.isString(p)&&(j=a.core.asString(p),j=j.replace("px",""),p=parseFloat(j))),null!=o&&"none"!==o&&(l.globalAlpha=o),e&&null!=n&&"transparent"!==n&&"none"!==n&&(l.fillStyle=n,l.fill()),"none"!==m&&null!=m&&0!==p&&(l.strokeStyle=m,l.lineWidth=p,null!=q&&"none"!==q&&(q=q.match(/\d+(\.\d+)?/g),l.setLineDash(q)),l.stroke()))},this.PRa=c;var e=this;e.MHa=document.createElement("canvas"),e.QHa=new b.oAa(c),e.PRa.appendChild(e.MHa),e.RHa=d}return Object.defineProperty(c.prototype,"opacity",{get:function(){return this.qFa},set:function(a){this.QHa.opacity=a,this.qFa=a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"fill",{get:function(){return this.rFa},set:function(a){this.QHa.fill=a,this.rFa=a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"stroke",{get:function(){return this.sFa},set:function(a){this.QHa.stroke=a,this.sFa=a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"strokeWidth",{get:function(){return this.tFa},set:function(a){this.QHa.strokeWidth=a,this.tFa=a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"strokeDasharray",{get:function(){return this.uFa},set:function(a){this.QHa.strokeDasharray=a,this.uFa=a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"textFill",{get:function(){return this.SHa},set:function(a){this.QHa.textFill=a,this.SHa=a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"fontSize",{get:function(){return this.yGa},set:function(a){this.QHa.fontSize=a,this.yGa=a,this.HHa=null==a||isNaN(a)?a:a+"px"},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"fontFamily",{get:function(){return this.zGa},set:function(a){this.QHa.fontFamily=a,this.zGa=a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"element",{get:function(){return this.MHa},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"devicePixelRatio",{get:function(){return this.TNa},set:function(a){isNaN(a)||null==a||(this.TNa=a)},enumerable:!0,configurable:!0}),c.prototype.beginRender=function(){var a=this,b=a.QHa.element,c=a.PRa,d;a.RHa&&(a.QHa.beginRender(),c=b),a.PRa.appendChild(b),a.KHa={},d=window.getComputedStyle(c),a.OHa={fontSize:d.fontSize,fontFamily:d.fontFamily,textFill:d.color}},c.prototype.endRender=function(){this.RHa&&this.QHa.endRender(),this.QHa.element.parentNode.removeChild(this.QHa.element)},c.prototype.setViewportSize=function(a,b){var c,d,e=this,f=e.MHa,g=f.getContext("2d"),h=e.fill,i=window.devicePixelRatio||1;i=i<1?1:i,null==this.TNa||isNaN(this.TNa)||(i=this.TNa),e.RHa&&e.QHa.setViewportSize(a,b),f.width=a*i,f.height=b*i,f.style.width=a+"px",f.style.height=b+"px",f.getContext("2d").scale(i,i),c=window.getComputedStyle(e.PRa).backgroundColor,d=e.stroke,c&&(e.stroke=null,e.fill=c,e.drawRect(0,0,a,b),e.fill=h,e.stroke=d)},c.prototype.addClipRect=function(a,b){a&&b&&(this.RHa&&this.QHa.addClipRect(a,b),this.KHa[b]=a)},c.prototype.drawEllipse=function(a,b,c,d,e,f){var g,h=this.MHa.getContext("2d");return this.RHa&&(g=this.QHa.drawEllipse(a,b,c,d,e,f)),h.save(),h.beginPath(),h.ellipse?h.ellipse(a,b,c,d,0,0,2*Math.PI):(h.translate(a,b),h.scale(1,d/c),h.translate(-a,-b),h.arc(a,b,c,0,2*Math.PI),h.scale(1,1)),this.LHa(g,f,e,!0),h.restore(),g},c.prototype.drawRect=function(a,b,c,d,e,f,g){var h,i=this.MHa.getContext("2d");return this.RHa&&(h=this.QHa.drawRect(a,b,c,d,e,f,g)),i.save(),this.JHa(i,g),i.beginPath(),i.rect(a,b,c,d),this.LHa(h,f,e,!0),i.restore(),h},c.prototype.drawLine=function(a,b,c,d,e,f){var g,h=this.MHa.getContext("2d");return this.RHa&&(g=this.QHa.drawLine(a,b,c,d,e,f)),h.save(),h.beginPath(),h.moveTo(a,b),h.lineTo(c,d),this.LHa(g,f,e),h.restore(),g},c.prototype.drawLines=function(a,b,c,d,e){if(a&&b&&0!==a.length&&0!==b.length){var f=this.MHa.getContext("2d"),g=Math.min(a.length,b.length),h,i;for(this.RHa&&(h=this.QHa.drawLines([0,1],[1,0],c,d,e)),f.save(),this.JHa(f,e),f.beginPath(),f.moveTo(a[0],b[0]),i=1;i<g;i++)f.lineTo(a[i],b[i]);return this.LHa(h,d,c),f.restore(),h}},c.prototype.drawSplines=function(b,c,d,e,f){if(b&&c&&0!==b.length&&0!==c.length){var g=this.MHa.getContext("2d"),h=new a.THa(b,c),i=h.calculate(),j=i.xs,k=i.ys,l=Math.min(j.length,k.length),m,n;for(this.RHa&&(m=this.QHa.drawSplines([0,1],[1,0],d,e,f)),g.save(),this.JHa(g,f),g.beginPath(),g.moveTo(j[0],k[0]),n=1;n<l;n++)g.lineTo(j[n],k[n]);return this.LHa(m,e,d),g.restore(),m}},c.prototype.drawPolygon=function(a,b,c,d,e){if(a&&b&&0!==a.length&&0!==b.length){var f=this.MHa.getContext("2d"),g=Math.min(a.length,b.length),h,i;for(this.RHa&&(h=this.QHa.drawPolygon([0,1,1],[1,0,1],c,d,e)),f.save(),this.JHa(f,e),f.beginPath(),f.moveTo(a[0],b[0]),i=1;i<g;i++)f.lineTo(a[i],b[i]);return f.closePath(),this.LHa(h,d,c,!0),f.restore(),h}},c.prototype.drawPieSegment=function(a,b,c,d,e,f,g,h){var i,j=this.MHa.getContext("2d"),k=d,l=d+e;return this.RHa&&(i=this.QHa.drawPieSegment(a,b,c,d,e,f,g,h)),j.save(),this.JHa(j,h),j.beginPath(),j.moveTo(a,b),j.arc(a,b,c,k,l,!1),j.lineTo(a,b),this.LHa(i,g,f,!0),j.restore(),i},c.prototype.drawDonutSegment=function(b,c,d,e,f,g,h,i,j){var k=this.MHa.getContext("2d"),l=f,m=f+g,n,o,p;return this.RHa&&(n=this.QHa.drawDonutSegment(b,c,d,e,f,g,h,i,j)),o=new a.core.Point(b,c),o.x+=e*Math.cos(l),o.y+=e*Math.sin(l),p=new a.core.Point(b,c),p.x+=e*Math.cos(m),p.y+=e*Math.sin(m),k.save(),this.JHa(k,j),k.beginPath(),k.moveTo(o.x,o.y),k.arc(b,c,d,l,m,!1),k.lineTo(p.x,p.y),k.arc(b,c,e,m,l,!0),this.LHa(n,i,h,!0),k.restore(),n},c.prototype.drawString=function(a,b,c,d){if(null!=a){var e,f=this.MHa.getContext("2d");return this.RHa&&(e=this.QHa.drawString(a,b,c,d)),f.save(),f.textBaseline="bottom",this.LHa(e,d,c,!0,!0),f.fillText(a.trim(),b.x,b.y),f.restore(),e}},c.prototype.drawStringRotated=function(a,b,c,d,e,f){if(null!=a){var g,h=this.MHa.getContext("2d"),i=h.measureText(a);return this.RHa&&(g=this.QHa.drawStringRotated(a,b,c,d,e,f)),h.save(),h.textBaseline="bottom",h.translate(c.x,c.y),h.rotate(Math.PI/180*d),h.translate(-c.x,-c.y),this.LHa(g,f,e,!0,!0),h.fillText(a,b.x,b.y),h.restore(),g}},c.prototype.measureString=function(b,c,d,e){var f=this.MHa.getContext("2d"),g;return this.RHa?this.QHa.measureString(b,c,d,e):(this.LHa(null,null,c,!0,!0),g=f.measureText(b).width,new a.core.Size(g,1.5*parseInt(f.font)))},c.prototype.startGroup=function(a,b,c){void 0===c&&(c=!1);var d,e=this.MHa.getContext("2d");return this.RHa&&(d=this.QHa.startGroup(a,b,c)),e.save(),this.JHa(e,b),d},c.prototype.endGroup=function(){this.RHa&&this.QHa.endGroup(),this.MHa.getContext("2d").restore()},c.prototype.drawImage=function(a,b,c,d,e){var f,g=this.MHa.getContext("2d"),h=new Image;return this.RHa&&(f=this.QHa.drawImage(a,b,c,d,e)),h.onload=function(){g.drawImage(h,b,c,d,e)},h.src=a,f},c.prototype.NHa=function(b,c){"none"==b&&(b="transparent");var d=new a.core.Color(b);return null!=c&&1===d.a&&(d.a=isNaN(c)?1:+c),""+d},c.prototype.dOa=function(a){var b=a;return b&&'"'===b[0]&&(b=b.substring(1)),b&&'"'===b[b.length-1]&&(b=b.slice(0,-1)),b},c}();b.pAa=c}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(a,b){void 0===b&&(b=!1),this.qFa=1,this.tFa=1,this.yGa=null,this.zGa=null,this.TNa=NaN,this.HHa=null,this.JHa=function(a,b){var c=this.KHa[b];c&&(a.beginPath(),a.rect(c.left,c.top,c.width,c.height),a.clip(),a.closePath())},this.LHa=function(a,b,c,d,e){var f=this,g=f.MHa.getContext("2d"),h,i=f.stroke,j=f.fill,k=f.opacity,l=f.strokeWidth,m=f.strokeDasharray;b&&void 0!==b.opacity&&(k=b.opacity),b&&void 0!==b.stroke&&(i=b.stroke),b&&void 0!==b.strokeDasharray&&(m=b.strokeDasharray),b&&void 0!==b.fill&&(j=f.NHa(b.fill,b["fill-opacity"])),b&&void 0!==b.strokeWidth&&(l=b.strokeWidth),e?f.HHa?(g.globalAlpha=k,g.fillStyle=f.textFill,g.font=f.HHa+" "+(f.fontFamily||"sans-serif")):f.OHa&&(g.globalAlpha=k,g.fillStyle=f.OHa.textFill,h=f.OHa.fontSize+" "+f.OHa.fontFamily,g.font=h,g.font.replace(/\"/g,"'")!==h.replace(/\"/g,"'")&&(h=f.OHa.fontSize+" "+(g.font.split(" ")[1]||"sans-serif"),g.font=h)):(null!=k&&"none"!==k&&(g.globalAlpha=k),d&&null!=j&&"transparent"!==j&&"none"!==j&&(g.fillStyle=j,g.fill()),"none"!==i&&null!=i&&0!==l&&(g.strokeStyle=i,g.lineWidth=l,null!=m&&"none"!==m&&(m=m.match(/\d+(\.\d+)?/g),g.setLineDash(m)),g.stroke()))},this.PRa=a;var c=this;c.MHa=document.createElement("canvas"),c.PRa.appendChild(c.MHa)}return Object.defineProperty(b.prototype,"opacity",{get:function(){return this.qFa},set:function(a){this.qFa=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"fill",{get:function(){return this.rFa},set:function(a){this.rFa=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"stroke",{get:function(){return this.sFa},set:function(a){this.sFa=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"strokeWidth",{get:function(){return this.tFa},set:function(a){this.tFa=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"strokeDasharray",{get:function(){return this.uFa},set:function(a){this.uFa=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"textFill",{get:function(){return this.SHa},set:function(a){this.SHa=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"fontSize",{get:function(){return this.yGa},set:function(a){this.yGa=a,this.HHa=null==a||isNaN(a)?a:a+"px"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"fontFamily",{get:function(){return this.zGa},set:function(a){this.zGa=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"element",{get:function(){return this.MHa},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"devicePixelRatio",{get:function(){return this.TNa},set:function(a){isNaN(a)||null==a||(this.TNa=a)},enumerable:!0,configurable:!0}),b.prototype.beginRender=function(){var a=this,b=a.PRa,c;a.KHa={},c=window.getComputedStyle(b),a.OHa={fontSize:c.fontSize,fontFamily:c.fontFamily,textFill:c.color}},b.prototype.endRender=function(){},b.prototype.setViewportSize=function(a,b){var c,d,e=this,f=e.MHa,g=f.getContext("2d"),h=e.fill,i=window.devicePixelRatio||1;i=i<1?1:i,null==this.TNa||isNaN(this.TNa)||(i=this.TNa),f.width=a*i,f.height=b*i,f.style.width=a+"px",f.style.height=b+"px",f.getContext("2d").scale(i,i),c=window.getComputedStyle(e.PRa).backgroundColor,d=e.stroke,c&&(e.stroke=null,e.fill=c,e.drawRect(0,0,a,b),e.fill=h,e.stroke=d)},b.prototype.addClipRect=function(a,b){a&&b&&(this.KHa[b]=a)},b.prototype.drawEllipse=function(a,b,c,d,e,f){var g,h=this.MHa.getContext("2d");return h.save(),h.beginPath(),h.ellipse?h.ellipse(a,b,c,d,0,0,2*Math.PI):(h.translate(a,b),h.scale(1,d/c),h.translate(-a,-b),h.arc(a,b,c,0,2*Math.PI),h.scale(1,1)),this.LHa(g,f,e,!0),h.restore(),g},b.prototype.drawRect=function(a,b,c,d,e,f,g){var h,i=this.MHa.getContext("2d");return i.save(),this.JHa(i,g),i.beginPath(),i.rect(a,b,c,d),this.LHa(h,f,e,!0),i.restore(),h},b.prototype.drawLine=function(a,b,c,d,e,f){var g,h=this.MHa.getContext("2d");return h.save(),h.beginPath(),h.moveTo(a,b),h.lineTo(c,d),this.LHa(g,f,e),h.restore(),g},b.prototype.drawLines=function(a,b,c,d,e){if(a&&b&&0!==a.length&&0!==b.length){var f=this.MHa.getContext("2d"),g=Math.min(a.length,b.length),h,i;for(f.save(),this.JHa(f,e),f.beginPath(),f.moveTo(a[0],b[0]),i=1;i<g;i++)f.lineTo(a[i],b[i]);return this.LHa(h,d,c),f.restore(),h}},b.prototype.drawSplines=function(b,c,d,e,f){if(b&&c&&0!==b.length&&0!==c.length){var g=this.MHa.getContext("2d"),h=new a.THa(b,c),i=h.calculate(),j=i.xs,k=i.ys,l=Math.min(j.length,k.length),m,n;for(g.save(),this.JHa(g,f),g.beginPath(),g.moveTo(j[0],k[0]),n=1;n<l;n++)g.lineTo(j[n],k[n]);return this.LHa(m,e,d),g.restore(),m}},b.prototype.drawPolygon=function(a,b,c,d,e){if(a&&b&&0!==a.length&&0!==b.length){var f=this.MHa.getContext("2d"),g=Math.min(a.length,b.length),h,i;for(f.save(),this.JHa(f,e),f.beginPath(),f.moveTo(a[0],b[0]),i=1;i<g;i++)f.lineTo(a[i],b[i]);return f.closePath(),this.LHa(h,d,c,!0),f.restore(),h}},b.prototype.drawPieSegment=function(a,b,c,d,e,f,g,h){var i,j=this.MHa.getContext("2d"),k=d,l=d+e;return j.save(),this.JHa(j,h),j.beginPath(),j.moveTo(a,b),j.arc(a,b,c,k,l,!1),j.lineTo(a,b),this.LHa(i,g,f,!0),j.restore(),i},b.prototype.drawDonutSegment=function(b,c,d,e,f,g,h,i,j){var k=this.MHa.getContext("2d"),l=f,m=f+g,n,o,p;return o=new a.core.Point(b,c),o.x+=e*Math.cos(l),o.y+=e*Math.sin(l),p=new a.core.Point(b,c),p.x+=e*Math.cos(m),p.y+=e*Math.sin(m),k.save(),this.JHa(k,j),k.beginPath(),k.moveTo(o.x,o.y),k.arc(b,c,d,l,m,!1),k.lineTo(p.x,p.y),k.arc(b,c,e,m,l,!0),this.LHa(n,i,h,!0),k.restore(),n},b.prototype.drawString=function(a,b,c,d){if(null!=a){var e,f=this.MHa.getContext("2d");return f.save(),f.textBaseline="bottom",this.LHa(e,d,c,!0,!0),f.fillText(a.trim(),b.x,b.y),f.restore(),e}},b.prototype.drawStringRotated=function(a,b,c,d,e,f){if(null!=a){var g,h=this.MHa.getContext("2d"),i=h.measureText(a);return h.save(),h.textBaseline="bottom",h.translate(c.x,c.y),h.rotate(Math.PI/180*d),h.translate(-c.x,-c.y),this.LHa(g,f,e,!0,!0),h.fillText(a,b.x,b.y),h.restore(),g}},b.prototype.measureString=function(b,c,d,e){var f=this.MHa.getContext("2d"),g;return this.LHa(null,null,c,!0,!0),g=f.measureText(b).width,new a.core.Size(g,1.5*parseInt(f.font))},b.prototype.startGroup=function(a,b,c){void 0===c&&(c=!1);var d,e=this.MHa.getContext("2d");return e.save(),this.JHa(e,b),d},b.prototype.endGroup=function(){this.MHa.getContext("2d").restore()},b.prototype.drawImage=function(a,b,c,d,e){var f,g=this.MHa.getContext("2d"),h=new Image;return h.onload=function(){g.drawImage(h,b,c,d,e)},h.src=a,f},b.prototype.NHa=function(b,c){"none"==b&&(b="transparent");var d=new a.core.Color(b);return null!=c&&1===d.a&&(d.a=isNaN(c)?1:+c),""+d},b.prototype.dOa=function(a){var b=a;return b&&'"'===b[0]&&(b=b.substring(1)),b&&'"'===b[b.length-1]&&(b=b.slice(0,-1)),b},b}();b.QRa=c}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c,d=function(){function b(c){this.devicePixelRatio=NaN,this.opacity=1,this.fill=null,this.stroke=null,this.strokeWidth=1,this.strokeDasharray=null,this.textFill=null,this.fontSize=null,this.fontFamily=null,this.$Ha={},this.xn={},this.PRa=c,this._Ha=document.createElementNS(b.aIa,"svg"),this.bIa=document.createElementNS(b.aIa,"defs"),this.cIa=this.dIa(new a.core.Point((-1e3),(-1e3)),""),this.eIa=document.createElementNS(b.aIa,"g"),this.eIa.appendChild(this.cIa),this._Ha.appendChild(this.bIa),this._Ha.appendChild(this.eIa),this.PRa.appendChild(this._Ha),void 0===b.fIa&&(b.fIa=navigator.userAgent.toLowerCase().indexOf("firefox")>=0)}return Object.defineProperty(b.prototype,"element",{get:function(){return this._Ha},enumerable:!0,configurable:!0}),b.prototype.beginRender=function(){for(;this._Ha.firstChild;)this._Ha.removeChild(this._Ha.firstChild);this._Ha.appendChild(this.bIa),this._Ha.appendChild(this.eIa),this.$Ha={}},b.prototype.endRender=function(){this.eIa.parentNode&&this._Ha.removeChild(this.eIa)},b.prototype.setViewportSize=function(b,c){a.Yya(function(){return null!=b&&b>0}),a.Yya(function(){return null!=c&&c>0}),this._Ha.setAttribute("width",""+b),this._Ha.setAttribute("height",""+c)},b.prototype.addClipRect=function(a,c){var d,e;a&&c&&(d=document.createElementNS(b.aIa,"clipPath"),e=document.createElementNS(b.aIa,"rect"),e.setAttribute("x",a.left.toFixed(1)),e.setAttribute("y",a.top.toFixed(1)),e.setAttribute("width",a.width.toFixed(1)),e.setAttribute("height",a.height.toFixed(1)),d.appendChild(e),d.setAttribute("id",c),this._Ha.appendChild(d))},b.prototype.drawEllipse=function(a,c,d,e,f,g){var h=document.createElementNS(b.aIa,"ellipse");return this.GDa(h,"stroke",this.stroke),null!=this.opacity&&h.setAttribute("opacity",""+this.opacity),null!==this.strokeWidth&&h.setAttribute("stroke-width",""+this.strokeWidth),null!==this.strokeDasharray&&h.setAttribute("stroke-dasharray",this.strokeDasharray),this.GDa(h,"fill",this.fill),h.setAttribute("cx",a.toFixed(1)),h.setAttribute("cy",c.toFixed(1)),h.setAttribute("rx",d.toFixed(1)),h.setAttribute("ry",e.toFixed(1)),f&&h.setAttribute("class",f),this.GHa(h,g),this.gIa(h),h},b.prototype.drawRect=function(a,c,d,e,f,g,h){var i=document.createElementNS(b.aIa,"rect");return this.GDa(i,"fill",this.fill),this.GDa(i,"stroke",this.stroke),null!=this.opacity&&i.setAttribute("opacity",""+this.opacity),null!==this.strokeWidth&&i.setAttribute("stroke-width",""+this.strokeWidth),null!==this.strokeDasharray&&i.setAttribute("stroke-dasharray",this.strokeDasharray),i.setAttribute("x",a.toFixed(1)),i.setAttribute("y",c.toFixed(1)),d>0&&d<.05?i.setAttribute("width","0.1"):i.setAttribute("width",d.toFixed(1)),e>0&&e<.05?i.setAttribute("height","0.1"):i.setAttribute("height",e.toFixed(1)),h&&i.setAttribute("clip-path","url(#"+h+")"),f&&i.setAttribute("class",f),this.GHa(i,g),this.gIa(i),i},b.prototype.drawLine=function(a,c,d,e,f,g){var h=document.createElementNS(b.aIa,"line");return this.GDa(h,"stroke",this.stroke),null!=this.opacity&&h.setAttribute("opacity",""+this.opacity),null!==this.strokeWidth&&h.setAttribute("stroke-width",""+this.strokeWidth),null!==this.strokeDasharray&&h.setAttribute("stroke-dasharray",this.strokeDasharray),h.setAttribute("x1",a.toFixed(1)),h.setAttribute("x2",d.toFixed(1)),h.setAttribute("y1",c.toFixed(1)),h.setAttribute("y2",e.toFixed(1)),f&&h.setAttribute("class",f),this.GHa(h,g),this.gIa(h),h},b.prototype.drawLines=function(a,c,d,e,f){var g,h,i,j;if(a&&c&&(g=Math.min(a.length,c.length),g>0)){for(h=document.createElementNS(b.aIa,"polyline"),this.GDa(h,"stroke",this.stroke),null!=this.opacity&&h.setAttribute("opacity",""+this.opacity),null!==this.strokeWidth&&h.setAttribute("stroke-width",""+this.strokeWidth),null!==this.strokeDasharray&&h.setAttribute("stroke-dasharray",this.strokeDasharray),h.setAttribute("fill","none"),i="",j=0;j<g;j++)i+=a[j].toFixed(1)+","+c[j].toFixed(1)+" ";return h.setAttribute("points",i),d&&h.setAttribute("class",d),f&&h.setAttribute("clip-path","url(#"+f+")"),this.GHa(h,e),this.gIa(h),h}return null},b.prototype.drawSplines=function(c,d,e,f,g){var h,i,j,k,l,m,n,o;if(c&&d&&(h=new a.THa(c,d),i=h.calculate(),j=i.xs,k=i.ys,l=Math.min(j.length,k.length),l>0)){for(m=document.createElementNS(b.aIa,"polyline"),this.GDa(m,"stroke",this.stroke),null!=this.opacity&&m.setAttribute("opacity",""+this.opacity),null!==this.strokeWidth&&m.setAttribute("stroke-width",""+this.strokeWidth),null!==this.strokeDasharray&&m.setAttribute("stroke-dasharray",this.strokeDasharray),m.setAttribute("fill","none"),n="",o=0;o<l;o++)n+=j[o].toFixed(1)+","+k[o].toFixed(1)+" ";return m.setAttribute("points",n),e&&m.setAttribute("class",e),g&&m.setAttribute("clip-path","url(#"+g+")"),this.GHa(m,f),this.gIa(m),m}return null},b.prototype.drawPolygon=function(a,c,d,e,f){var g,h,i,j;if(a&&c&&(g=Math.min(a.length,c.length),g>0)){for(h=document.createElementNS(b.aIa,"polygon"),this.GDa(h,"stroke",this.stroke),null!=this.opacity&&h.setAttribute("opacity",""+this.opacity),null!==this.strokeWidth&&h.setAttribute("stroke-width",""+this.strokeWidth),null!==this.strokeDasharray&&h.setAttribute("stroke-dasharray",this.strokeDasharray),this.GDa(h,"fill",this.fill),i="",j=0;j<g;j++)i+=a[j].toFixed(1)+","+c[j].toFixed(1)+" ";return h.setAttribute("points",i),d&&h.setAttribute("class",d),f&&h.setAttribute("clip-path","url(#"+f+")"),this.GHa(h,e),this.gIa(h),h}return null},b.prototype.drawPieSegment=function(c,d,e,f,g,h,i,j){var k,l,m,n,o,p;return g>=2*Math.PI?this.drawEllipse(c,d,e,e,h,i):(k=document.createElementNS(b.aIa,"path"),this.GDa(k,"fill",this.fill),this.GDa(k,"stroke",this.stroke),null!=this.opacity&&k.setAttribute("opacity",""+this.opacity),null!==this.strokeWidth&&k.setAttribute("stroke-width",""+this.strokeWidth),null!==this.strokeDasharray&&k.setAttribute("stroke-dasharray",this.strokeDasharray),l=new a.core.Point(c,d),l.x+=e*Math.cos(f),l.y+=e*Math.sin(f),m=f+g,n=new a.core.Point(c,d),n.x+=e*Math.cos(m),n.y+=e*Math.sin(m),o=" 0 0,1 ",Math.abs(g)>Math.PI&&(o=" 0 1,1 "),p="M "+l.x.toFixed(1)+","+l.y.toFixed(1),p+=" A "+e.toFixed(1)+","+e.toFixed(1)+o,p+=n.x.toFixed(1)+","+n.y.toFixed(1),p+=" L "+c.toFixed(1)+","+d.toFixed(1)+" z",k.setAttribute("d",p),j&&k.setAttribute("clip-path","url(#"+j+")"),h&&k.setAttribute("class",h),this.GHa(k,i),this.gIa(k),k)},b.prototype.drawDonutSegment=function(c,d,e,f,g,h,i,j,k){var l,m,n,o,p,q,r,s,t,u=!1;return h>=2*Math.PI&&(u=!0,h-=.001),l=document.createElementNS(b.aIa,"path"),this.GDa(l,"fill",this.fill),this.GDa(l,"stroke",this.stroke),null!=this.opacity&&l.setAttribute("opacity",""+this.opacity),null!==this.strokeWidth&&l.setAttribute("stroke-width",""+this.strokeWidth),null!==this.strokeDasharray&&l.setAttribute("stroke-dasharray",this.strokeDasharray),m=new a.core.Point(c,d),m.x+=e*Math.cos(g),m.y+=e*Math.sin(g),n=g+h,o=new a.core.Point(c,d),o.x+=e*Math.cos(n),o.y+=e*Math.sin(n),p=new a.core.Point(c,d),p.x+=f*Math.cos(n),p.y+=f*Math.sin(n),q=new a.core.Point(c,d),q.x+=f*Math.cos(g),q.y+=f*Math.sin(g),r=" 0 0,1 ",s=" 0 0,0 ",Math.abs(h)>Math.PI&&(r=" 0 1,1 ",s=" 0 1,0 "),t="M "+m.x.toFixed(3)+","+m.y.toFixed(3),t+=" A "+e.toFixed(3)+","+e.toFixed(3)+r,t+=o.x.toFixed(3)+","+o.y.toFixed(3),t+=u?" M "+p.x.toFixed(3)+","+p.y.toFixed(3):" L "+p.x.toFixed(3)+","+p.y.toFixed(3),t+=" A "+f.toFixed(3)+","+f.toFixed(3)+s,t+=q.x.toFixed(3)+","+q.y.toFixed(3),u||(t+=" z"),l.setAttribute("d",t),k&&l.setAttribute("clip-path","url(#"+k+")"),i&&l.setAttribute("class",i),this.GHa(l,j),this.gIa(l),l},b.prototype.drawString=function(a,b,c,d){var e,f=this.dIa(b,a);return c&&f.setAttribute("class",c),this.GHa(f,d),this.gIa(f),e=this.hIa(f),f.setAttribute("y",(b.y-(e.y+e.height-b.y)).toFixed(1)),f},b.prototype.drawStringRotated=function(a,c,d,e,f,g){var h,i,j=this.dIa(c,a);return f&&j.setAttribute("class",f),this.GHa(j,g),h=document.createElementNS(b.aIa,"g"),h.setAttribute("transform","rotate("+e.toFixed(1)+","+d.x.toFixed(1)+","+d.y.toFixed(1)+")"),h.appendChild(j),this.gIa(h),i=this.hIa(j),j.setAttribute("y",(c.y-(i.y+i.height-c.y)).toFixed(1)),j},b.prototype.measureString=function(b,c,d,e){var f,g,h=new a.core.Size(0,0);if(this.fontSize&&this.cIa.setAttribute("font-size",this.fontSize),this.fontFamily&&this.cIa.setAttribute("font-family",this.fontFamily),c&&this.cIa.setAttribute("class",c),d&&this.eIa.setAttribute("class",d),this.GHa(this.cIa,e),this.iIa(this.cIa,b),f=this.hIa(this.cIa),h.width=f.width,h.height=f.height,this.cIa.removeAttribute("font-size"),this.cIa.removeAttribute("font-family"),this.cIa.removeAttribute("class"),e)for(g in e)this.cIa.removeAttribute(this.jIa(g));return this.eIa.removeAttribute("class"),this.cIa.textContent=null,h},b.prototype.startGroup=function(a,c,d){void 0===d&&(d=!1);var e=document.createElementNS(b.aIa,"g");return a&&e.setAttribute("class",a),c&&e.setAttribute("clip-path","url(#"+c+")"),this.gIa(e),d&&e.transform.baseVal.appendItem(this._Ha.createSVGTransform()),this.cb=e,e},b.prototype.endGroup=function(){if(this.cb){var a=this.cb.parentNode;a==this._Ha?this.cb=null:this.cb=a}},b.prototype.drawImage=function(a,c,d,e,f){var g=document.createElementNS(b.aIa,"image");return g.setAttributeNS(b.kIa,"href",a),g.setAttribute("x",c.toFixed(1)),g.setAttribute("y",d.toFixed(1)),g.setAttribute("width",e.toFixed(1)),g.setAttribute("height",f.toFixed(1)),this.gIa(g),g},b.prototype.gIa=function(a){var b=this.cb;b||(b=this._Ha),b.appendChild(a)},b.prototype.iIa=function(a,b){var c,d,e,f,g=b?""+b:null;if(g&&g.indexOf("tspan")>=0)try{for(a.textContent=null,c=new DOMParser,d='<svg xmlns="http://www.w3.org/2000/svg">'+g+"</svg>",e=c.parseFromString(d,"text/xml").documentElement,f=e.firstChild;f;)a.appendChild(a.ownerDocument.importNode(f,!0)),f=f.nextSibling}catch(a){throw Error("Error parsing XML string.")}else a.textContent=g},b.prototype.dIa=function(a,c){var d=document.createElementNS(b.aIa,"text");return this.iIa(d,c),null!=this.textFill&&d.setAttribute("fill",this.textFill),d.setAttribute("x",a.x.toFixed(1)),d.setAttribute("y",a.y.toFixed(1)),this.fontSize&&d.setAttribute("font-size",this.fontSize),this.fontFamily&&d.setAttribute("font-family",this.fontFamily),d},b.prototype.GHa=function(a,b){var c,d;if(b)for(c in b)d=b[c],void 0!==d&&null!==d&&("fill"===c||"stroke"===c?this.GDa(a,c,b[c]):"strokeWidth"===c?a.setAttribute("stroke-width",d):"fontSize"===c?a.setAttribute("font-size",d):"fontFamily"===c?a.setAttribute("font-family",d):"strokeDasharray"===c?a.setAttribute("stroke-dasharray",d):"color"===c?a.setAttribute("color",d):"opacity"===c?a.setAttribute("opacity",d):"_"==c.substring(0,1)||"constructor"==c||"hAlign"==c||a.setAttribute(this.jIa(c),b[c]))},b.prototype.jIa=function(a){return a.replace(/[A-Z]/g,function(a){return"-"+a.toLowerCase()})},b.prototype.hIa=function(c){var d,e,f,g,h,i=c.getAttribute("font-size"),j=c.getAttribute("font-family");if(d=a.core.isIE()?c.textContent:c.innerHTML,e=c.getAttribute("x"),f=c.getAttribute("y"),g=i+","+d+","+e+","+f+j,null!=this.xn[g])return this.xn[g];if(h=null,b.fIa)try{h=c.getBBox()}catch(a){h={x:0,y:0,width:0,height:0}}else h=c.getBBox();return this.xn[g]=h,h},b.prototype.GDa=function(d,e,f){var g,h,i=c.tryParse(f);null!=i&&(a.core.isString(i)?d.setAttribute(e,i):(null==this.$Ha[f]&&(g="gc"+(1e6*Math.random()).toFixed(),null!=i.x1?(h=document.createElementNS(b.aIa,"linearGradient"),["x1","y1","x2","y2","gradientUnits"].forEach(function(a){null!=i[a]&&h.setAttribute(a,i[a])})):null!=i.r&&(h=document.createElementNS(b.aIa,"radialGradient"),["cx","cy","r","fx","fy","fr","gradientUnits"].forEach(function(a){null!=i[a]&&h.setAttribute(a,i[a])})),i.colors&&i.colors&&i.colors.length>0&&i.colors.forEach(function(a){var c=document.createElementNS(b.aIa,"stop");null!=a.color&&c.setAttribute("stop-color",a.color),null!=a.offset&&c.setAttribute("offset",a.offset),null!=a.opacity&&c.setAttribute("stop-opacity",a.opacity),h.appendChild(c)}),h.setAttribute("id",g),this.bIa.appendChild(h),this.$Ha[f]=g),d.setAttribute(e,"url(#"+this.$Ha[f]+")")))},b.aIa="http://www.w3.org/2000/svg",b.kIa="http://www.w3.org/1999/xlink",b}();b.oAa=d,c=function(){function a(){}return a.tryParse=function(b){var c,d,e,f,g,h;return a.parsedColor[b]?a.parsedColor[b]:null==b||b.indexOf("-")===-1?b:(c=b.replace(/\s+/g,"").split(/\-/g),d=c[0][0],e=!1,g=c[0].match(/\(\S+\)/)[0].replace(/[\(\\)]/g,"").split(/\,/g),"l"===d||"L"===d?(f={x1:"0",y1:"0",x2:"0",y2:"0",colors:[]},"l"===d&&(e=!0),["x1","y1","x2","y2"].forEach(function(a,b){null!=g[b]&&(f[a]=e?100*+g[b]+"%":g[b]+"")})):"r"!==d&&"R"!==d||(f={cx:"0",cy:"0",r:"0",colors:[]},"r"===d&&(e=!0),["cx","cy","r","fx","fy","fr"].forEach(function(a,b){null!=g[b]&&""!==g[b]&&(f[a]=e?100*+g[b]+"%":g[b]+"")})),e||(f.gradientUnits="userSpaceOnUse"),a.parsedColor[b]=f,h=c.length-1,c.forEach(function(a,b){var c,d;a.indexOf(")")>-1&&(a=a.match(/\)\S+/)[0].replace(")","")),c=a.split(":"),d={color:"black"},null!=c[0]&&(d.color=c[0]),null!=c[1]?d.offset=e?100*+c[1]+"%":c[1]+"":d.offset=b/h*100+"%",null!=c[2]&&(d.opacity=c[2]),f.colors.push(d)}),f)},a.parsedColor={},a}()}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(){}return b.prototype.format=function(b,c){return a.core.Globalize.format(c,b)},b.prototype.defaultFormat=function(b,c){switch(void 0===c&&(c=!1),b){case a.core.DataType.Number:return c?"p":"N";case a.core.DataType.Date:return"d";default:return""}},b}();b.RRa=c}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(){}return b.prototype.render=function(b,c,d){void 0===d&&(d=null);var e=c.width<c.height?c.width:c.height;b.drawRect((c.right+c.left)/2-e/2,c.top,e,e,null,a.core.merge({fill:this.tE,strokeWidth:0},d))},b}();b.SRa=c}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(){}return b.prototype.render=function(b,c,d){var e,f,g;void 0===d&&(d=null),e=c.width<c.height?c.width:c.height,f={x:.5*(c.left+c.right),y:.5*(c.top+c.bottom)},g=a.core.merge({stroke:this.tE,strokeWidth:2,strokeDasharray:"2,2"},d),g.strokeWidth=2,g.strokeDasharray="2.2",b.drawLine(f.x-.5*e,f.y,f.x+.5*e,f.y,null,g)},b}();b.TRa=c}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(){}return b.prototype.render=function(b,c,d){var e,f,g,h;void 0===d&&(d=null),e=c.width<c.height?c.width:c.height,f={x:.5*(c.left+c.right),y:.5*(c.top+c.bottom)},g=[f.x,f.x+.5*e,f.x,f.x-.5*e],h=[f.y-.5*e,f.y,f.y+.5*e,f.y],b.drawPolygon(g,h,null,a.core.merge({fill:this.tE,strokeWidth:0},d))},b}();b.URa=c}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(){}return b.prototype.render=function(b,c,d){void 0===d&&(d=null);var e=c.width<c.height?c.width/2:c.height/2;b.drawEllipse((c.right+c.left)/2,(c.top+c.bottom)/2,e,e,null,a.core.merge({fill:this.tE,stroke:this.tE,strokeWidth:0},d))},
b}();b.VRa=c}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(){}return b.prototype.render=function(b,c,d){var e,f;void 0===d&&(d=null),e=c.width<c.height?c.width:c.height,f={x:.5*(c.left+c.right),y:.5*(c.top+c.bottom)},b.drawLine(f.x,f.y-.5*e,f.x,f.y+.5*e,null,a.core.merge({stroke:this.tE,strokeWidth:2},d)),b.drawLine(f.x-.5*e,f.y,f.x+.5*e,f.y,null,a.core.merge({stroke:this.tE,strokeWidth:2},d))},b}();b.WRa=c}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(){}return b.prototype.render=function(b,c,d){var e,f,g,h,i,j,k,l;void 0===d&&(d=null),e=c.width<c.height?c.width:c.height,f=c.clone(),c.width>c.height&&(f.left=f.left+(c.width-e)/2,f.width=e),c.height>c.width&&(f.top=f.top+(c.height-e)/2,f.height=e),g=.5773502691896257,h=new a.core.Point(f.left+f.width/2,f.top),i=new a.core.Point(f.left,f.width/2/g+f.top),j=new a.core.Point(f.right,i.y),k=[],l=[],k.push(h.x),k.push(i.x),k.push(j.x),l.push(h.y),l.push(i.y),l.push(j.y),b.drawPolygon(k,l,null,a.core.merge({fill:this.tE,strokeWidth:0},d))},b}();b.XRa=c}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(){}return b.prototype.render=function(b,c,d){var e,f,g;void 0===d&&(d=null),e=c.width<c.height?c.width:c.height,f={x:.5*(c.left+c.right),y:.5*(c.top+c.bottom)},g=a.core.merge({stroke:this.tE,strokeWidth:2},d),g.strokeWidth=2,b.drawLine(f.x-.5*e,f.y-.5*e,f.x+.5*e,f.y+.5*e,null,g),b.drawLine(f.x+.5*e,f.y-.5*e,f.x-.5*e,f.y+.5*e,null,g)},b}();b.YRa=c}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.models||(a.models={}))}(d||(d={})),function(b){"use strict";var c=function(){function c(a,b,c,d){this.MDa=!0,this.NDa=this.ODa(),this.AW=this.PDa(a),this.QDa=b,this.RDa=c,this.wQa=d}return c.prototype.PDa=function(a){var b,c,d=a.split("].[");for(b=0;b<d.length;++b)c=d[b],c=c.replace("[","").replace("]",""),d[b]=c;return d},c.prototype.evaluate=function(a){if(this.MDa=!0,b.Xya){this.Ok=a;for(var c=0;c<this.AW.length&&this.MDa;++c)if(this.RDa(this.Ok,this.AW[c]))this.MDa=this.MDa,c==this.AW.length-1&&this.MDa&&this.wQa(this.Ok);else try{this.NDa.getCalcSourceModel().setFormulaByName("QUERY"+c,this.AW[c])}catch(a){}}},c.prototype.SDa=function(a){return!0},c.prototype.ge=function(a){var c=this.QDa(this.Ok,a);return b.core.assert(null!=c,"can not find field "+a),c},c.prototype.TDa=function(a,b){var c=a.replace("QUERY","");this.MDa&&b?this.MDa=!0:this.MDa=!1,parseInt(c)==this.AW.length-1&&(this.MDa&&this.wQa(this.Ok),this.MDa=!0)},c.prototype.ODa=function(){if(b.Xya){var c=function(c){e(d,c);function d(d){var e=c.call(this,new a.Spread.CalcEngine.CalcService)||this;return b.Yya(function(){return null!=d}),e.tc=d,e.getCalcService().getSourceModel(e),e}return d.prototype.getParserContext=function(b,c,d){var e=this,f=new a.Spread.CalcEngine.ParserContext(this,b,c||{},d),g=new a.Spread.CalcEngine.TokenResolver(7e3);return g.resolveToken=function(b,c,d,f){var g,h=d[f],i=h.ni;if(0===h.Nc&&0===h.hi&&e.tc.SDa(i))return g=new a.Spread.CalcEngine.Expression(25),g.value=i,g},f.addResolver(g),f},d.prototype.getEvaluatorContext=function(b,c,d){var e=new a.Spread.CalcEngine.EvaluateContext(this,b,c,d),f=this;return e.evaluate=function(a,b,c){return this.getValue(f,a.value)},e},d.prototype.getValueByName=function(a){return""},d.prototype.setValueByName=function(a,b){this.tc.TDa(a,b)},d.prototype.getValue=function(a){return this.tc.ge(a)},d}(a.Spread.CalcEngine.CalcSource);return new c(this)}return null},c}();b.ZRa=c}(d||(d={})),function(a){"use strict"}(d||(d={})),function(a){"use strict";var b=function(){function a(a){this.UDa=NaN,this.VDa=NaN,this.bound=!1,this.id=a}return Object.defineProperty(a.prototype,"format",{get:function(){return this.Kb},set:function(a){this.Kb=a},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"reversed",{get:function(){return this.WDa},set:function(a){this.WDa=a},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"max",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"min",{get:function(){return 0},enumerable:!0,configurable:!0}),a.prototype.domain=function(a){return this.domains=a,this},a.prototype.range=function(a){return this.ranges=a,this.refresh()},a.prototype.rangeBounds=function(a){return this},a.prototype.refresh=function(){return this.XDa||(this.XDa=this.domains.length),this},Object.defineProperty(a.prototype,"tickNumber",{get:function(){return this.XDa},set:function(a){this.XDa=a,this.refresh()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"unit",{get:function(){return this.VDa},set:function(a){this.UDa=a},enumerable:!0,configurable:!0}),a.prototype.getScaleValue=function(a){return 0},Object.defineProperty(a.prototype,"ticks",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"startPosition",{get:function(){return this.start},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"endPosition",{get:function(){return this.end},enumerable:!0,configurable:!0}),a}();a.Scale=b}(d||(d={})),function(a){"use strict";var b=function(b){e(c,b);function c(a){var c=b.call(this,a)||this;return c.YDa=10,c}return c.prototype.refresh=function(){return this.start=this.ranges[0],this.end=this.ranges[1],this.minValue=this.domains[0],this.maxValue=this.domains[1],this.ZDa=a.ColorUtils.gradientColor(this.start,this.end,this.tickNumber),this},c.prototype.range=function(a){return this.ranges=a,this.bound=!1,this.refresh(),this},c.prototype.domain=function(a){return this.domains=a,this},c.prototype.getScaleValue=function(a){var b,c=this.maxValue-this.minValue;return c<=0&&(c=1),b=(a-this.minValue)/c*this.ZDa.length,this.ZDa[Math.floor(b)]},Object.defineProperty(c.prototype,"tickNumber",{get:function(){return this.YDa},set:function(a){this.YDa=a,this.refresh()},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"ticks",{get:function(){return this.ZDa},enumerable:!0,configurable:!0}),c}(a.Scale);a.ColorScale=b}(d||(d={})),function(a){"use strict";var b=function(a){e(b,a);function b(b){return a.call(this,b)||this}return Object.defineProperty(b.prototype,"tickNumber",{get:function(){return this.XDa?this.XDa:10},set:function(a){isNaN(this.UDa)&&(this.XDa=a),this.refresh()},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"max",{get:function(){return this.$Da},set:function(a){this.maxValue=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"min",{get:function(){return this._Da},set:function(a){this.minValue=a},enumerable:!0,configurable:!0}),b.prototype.refresh=function(){var a,b,c;return this.reversed?(this.start=this.ranges[1],this.end=this.ranges[0]):(this.start=this.ranges[0],this.end=this.ranges[1]),a=this._Da,b=this.$Da,this._Da=this.domains[0],this.$Da=this.domains[1],a<this._Da&&(this._Da=a),b>this.$Da&&(this.$Da=b),isNaN(this.maxValue)||(this.$Da=this.maxValue),isNaN(this.minValue)||(this._Da=this.minValue),this._Da==this.maxValue&&(this._Da-=.5,this.$Da+=.5),c=this.$Da-this._Da,isNaN(this.UDa)?(this.VDa=this.aEa(),(0==this.VDa||isNaN(this.VDa))&&(this.VDa=.1*this.mDa(c/this.tickNumber))):(this.XDa=Math.round(c/this.UDa+.5)+1,this.VDa=this.UDa),0==this.unit&&(this.unit=void 0),this.niceMaxValue=(Math.floor(this.$Da/this.unit)+1)*this.unit,this.niceMinValue=0==this._Da?this._Da:(Math.floor(this._Da/this.unit)-1)*this.unit,this.ZDa=this.bEa(),this},b.prototype.bEa=function(){var a,b,c=[];if(!isNaN(this.niceMinValue))for(a=NaN,b=0;isNaN(a)||a<this.$Da;++b)a=b*this.unit+this.niceMinValue,a<=this.$Da&&a>=this._Da&&c.push(a);return c},Object.defineProperty(b.prototype,"ticks",{get:function(){return this.ZDa},enumerable:!0,configurable:!0}),b.prototype.getScaleValue=function(a){var b;return b=this.$Da==this._Da?(this.end-this.start)/2+this.start:(this.end-this.start)/(this.$Da-this._Da)*(a-this._Da)+this.start},b.prototype.range=function(a){return this.ranges=a,this.refresh(),this},b.prototype.aEa=function(){var a,b,c,d=NaN;return isNaN(d)&&(a=this.$Da-this._Da,b=this.nDa(a),c=a/this.tickNumber,d=this.oDa(2*c,-b,!0),d<c&&(d=this.oDa(c,-b+1,!1)),d<c&&(d=this.mDa(c))),d},b.prototype.nDa=function(a){var b,c,d;return a<=0||isNaN(a)?0:(b=Math.log(a)/Math.LN10,c=b>=0?Math.floor(b):Math.ceil(b),d=a/Math.pow(10,c),d<3&&(c=-c+1,d=a/Math.pow(10,c),d<3&&(c+=1)),c)},b.prototype.oDa=function(a,b,c){var d,e;return 0==a?a:(a<0&&(a=-a),d=a/Math.pow(10,b),e=10,c?d<1.5?e=1:d<3?e=2:d<4.5?e=4:d<7&&(e=5):d<=1?e=1:d<=2?e=2:d<=5&&(e=5),e*Math.pow(10,b))},b.prototype.mDa=function(a){var b,c,d,e;return 0==a?a:(a<0&&(a=-a),b=Math.log(a)/Math.LN10,c=Math.floor(b),d=a/Math.pow(10,c),e=10,d<=1?e=1:d<=2?e=2:d<=5&&(e=5),e*Math.pow(10,c))},b}(a.Scale);a.LinearScale=b}(d||(d={})),function(a){"use strict";var b=function(a){e(b,a);function b(b,c){var d=a.call(this,c)||this;return d.logBase=b,d}return Object.defineProperty(b.prototype,"max",{get:function(){return this.$Da},set:function(a){this.maxValue=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"min",{get:function(){return this._Da},set:function(a){this.minValue=a},enumerable:!0,configurable:!0}),b.prototype.refresh=function(){var a,b,c,d;return this.reversed?(this.start=this.ranges[1],this.end=this.ranges[0]):(this.start=this.ranges[0],this.end=this.ranges[1]),this._Da=this.domains[0],this.$Da=this.domains[1],isNaN(this.maxValue)||(this.$Da=this.maxValue),isNaN(this.minValue)||(this._Da=this.minValue),this.logBase>0&&(a=this.logBase,b=Math.log(a),c=Math.ceil(Math.log(this.$Da)/b),this.$Da=Math.pow(a,c),d=Math.floor(Math.log(this._Da)/b),this._Da=Math.pow(a,d),(this._Da<=0||isNaN(this._Da))&&(this._Da=1),this.$Da<this._Da&&(this.$Da=this._Da+1)),this.cEa=[],this.dEa(this._Da,this.$Da,this.unit,this.cEa,!1),this.cEa.sort(function(a,b){return a>b?1:-1}),this},b.prototype.range=function(a){return this.ranges=a,this.refresh(),this},b.prototype.getScaleValue=function(a){var b,c;return a<this.minValue&&(a=this.minValue),b=Math.log(this.$Da/this._Da),c=Math.log(a/this._Da)/b*(this.end-this.start)+this.start},Object.defineProperty(b.prototype,"ticks",{get:function(){return this.cEa},enumerable:!0,configurable:!0}),b.prototype.dEa=function(a,b,c,d,e){var f,g,h,i,j,k,l,m=this.logBase,n=Math.log(m),o=Math.floor(Math.log(a)/n),p=Math.ceil(Math.log(b)/n),q=m,r=!0;for(c>0&&(r=!1,q=c),q<m&&(q=m),f=(p-o+1)*m/q,g=1,e&&(h=this.tickNumber,f>h?g=Math.floor(f/h+1):r&&(f<=.2*h?q=.2*m:f<=.1*h&&(q=.1*m))),i=o;i<=p;i+=g)if(r)for(j=Math.pow(m,i),k=0;k*q<m-1;k++)l=j*(1+k*q),l>=a&&l<=b&&(0==k?d.unshift(l):d.push(l));else l=Math.pow(q,i),l>=a&&l<=b&&d.push(l)},b}(a.Scale);a.LogScale=b}(d||(d={})),function(a){"use strict";var b=function(a){e(b,a);function b(b,c){var d=a.call(this,c)||this;return d.isRanges=!1,d.eEa=b,d}return b.prototype.refresh=function(){var a,b=this._Da,c=this.$Da;for(this._Da=this.domains[0],this.$Da=this.domains[1],b<this._Da&&(this._Da=b),c>this.$Da&&(this.$Da=c),isNaN(this.maxValue)||(this.$Da=this.maxValue),isNaN(this.minValue)||(this._Da=this.minValue),this._Da==this.maxValue&&(this._Da-=.5,this.$Da+=.5),this.reversed?(this.start=this.ranges[1],this.end=this.ranges[0]):(this.start=this.ranges[0],this.end=this.ranges[1]),isNaN(this.UDa)&&(this.UDa=1),this.ZDa=[],a=Math.round(this._Da);a<=Math.floor(this.$Da);a+=this.UDa)this.ZDa.push(parseFloat(a.toFixed(1/this.UDa)));return this},b.prototype.range=function(a){return this.ranges=a,this.bound=!1,this.refresh(),this},b.prototype.domain=function(a){return this.domains=a,this},b.prototype.getScaleValue=function(a){var b;return this.$Da==this._Da?b=(this.end-this.start)/2+this.start:(a<this._Da&&(a=this._Da),a>this.$Da&&(a=this.$Da),b=(this.end-this.start)/(this.$Da-this._Da)*(a-this._Da)+this.start),b},Object.defineProperty(b.prototype,"tickNumber",{get:function(){return Math.floor(this.$Da)+1},set:function(a){},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"ticks",{get:function(){return this.ZDa},enumerable:!0,configurable:!0}),b}(a.LinearScale);a.OrdinalScale=b}(d||(d={})),function(a){"use strict";var b=function(b){e(c,b);function c(){return null!==b&&b.apply(this,arguments)||this}return Object.defineProperty(c.prototype,"max",{get:function(){return this.maxValue},set:function(a){this.maxValue=a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"min",{get:function(){return this.minValue},set:function(a){this.minValue=a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"tickNumber",{get:function(){return this.XDa?this.XDa:10},set:function(a){this.XDa=a,this.refresh()},enumerable:!0,configurable:!0}),c.prototype.refresh=function(){var b,c,d,e,f;return this.reversed?(this.start=this.ranges[1],this.end=this.ranges[0]):(this.start=this.ranges[0],this.end=this.ranges[1]),b=this.minValue,c=this.maxValue,this.minValue=this.domains[0],this.maxValue=this.domains[1],b<this.minValue&&(this.minValue=b),c>this.maxValue&&(this.maxValue=c),this.minValue==this.maxValue&&(this.minValue-=.5,this.maxValue+=.5),d=this.maxValue-this.minValue,this.niceMaxValue=(Math.floor(this.maxValue/this.UDa)+1)*this.UDa,this.niceMinValue=0==this.minValue?this.minValue:(Math.floor(this.minValue/this.UDa)-1)*this.UDa,e=Math.min(a.fEa.MAX_MAJOR,Math.floor(d/this.UDa)+1),f=Math.floor(this.minValue/this.UDa)*this.UDa,f<this.minValue&&(f+=this.UDa),this.ZDa=this.gEa(f,e),this},Object.defineProperty(c.prototype,"ticks",{get:function(){return this.ZDa},enumerable:!0,configurable:!0}),c.prototype.getScaleValue=function(a){var b;return b=this.maxValue==this.minValue?(this.end-this.start)/2+this.start:(this.end-this.start)/(this.maxValue-this.minValue)*(a-this.minValue)+this.start},c.prototype.range=function(a){return this.ranges=a,this.refresh(),this},Object.defineProperty(c.prototype,"format",{get:function(){return this.Kb},set:function(a){this.Kb=a},enumerable:!0,configurable:!0}),c.prototype.gEa=function(b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r=[],s=this.minValue,t=this.maxValue,u=new Date(this.minValue),v=new Date(this.maxValue),w=this.format,x=this.tickNumber;if(x>12&&(x=12),d=.001*(this.maxValue-this.minValue)/x,e=new a.hEa(d*a.hEa.TicksPerSecond),f=isNaN(this.UDa)?a.iEa.NiceTimeSpan(e,w):a.hEa.fromDays(this.UDa),g=f.Ticks,h=a.iEa.RoundTime(s,f.TotalDays,!1),isFinite(h)&&(s=h),i=a.iEa.RoundTime(t,f.TotalDays,!0),isFinite(i)&&(t=i),j=new Date(s),k=new Date(t),f.TotalDays>=365&&isNaN(this.UDa))for(j=new Date(u.getFullYear(),1,1),j<u&&j.setFullYear(j.getFullYear()+1),l=f.TotalDays/365,l-=l%1,m=j;m<=v;m.setFullYear(m.getFullYear()+l))n=m.valueOf(),r.push(n);else if(f.TotalDays>=30&&isNaN(this.UDa))for(j=new Date(u.getFullYear(),u.getMonth(),1),j<u&&j.setMonth(j.getMonth()+1),o=f.TotalDays/30,o-=o%1,m=j;m<=v;m.setMonth(m.getMonth()+o))n=m.valueOf(),r.push(n);else for(p=1e3*g/a.hEa.TicksPerSecond,m=j,q=u.getTime()-m.getTime(),q>p&&(m=new Date(m.getTime()+Math.floor(q/p)*p));m<=v;m=new Date(m.getTime()+p))m>=u&&(n=m.valueOf(),r.push(n));return r},c}(a.LinearScale);a.TimeScale=b}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(){}return b.prototype.getSymbol=function(b){var c=a.plugins.$Ra();return null!=c&&c.length>0?c[b%c.length]:null},b}();b.Zza=c}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(a){"use strict";var b=function(){function a(a,b,c,d){void 0===d&&(d=!1),this.vRa=a,this.wRa=b,this.xRa=d,a==b?(this.KPa=a,this.LPa=b,this.UDa=0):(this.UDa=this.jDa(a,b,c),d?(this.KPa=this.kDa(this.vRa,this.UDa),this.LPa=this.lDa(this.wRa,this.UDa)):(this.KPa=a,this.LPa=b))}return Object.defineProperty(a.prototype,"ticks",{get:function(){var a,b=[];if(this.KPa==this.LPa)b.push(this.KPa);else if(this.xRa)for(a=this.KPa;a<=this.LPa;)b.push(a),a+=this.UDa;else for(a=this.kDa(this.vRa,this.UDa),a<this.KPa&&(a+=this.UDa);a<=this.LPa;)b.push(a),a+=this.UDa;return b},enumerable:!0,configurable:!0}),a.prototype.kDa=function(a,b){var c=this.mDa(a);if(c>a)for(;c>a;)c-=b;else for(;c+b<=a;)c+=b;return c},a.prototype.lDa=function(a,b){var c=this.mDa(a);if(c<a)for(;c<a;)c+=b;else for(;c-b>=a;)c-=b;return c},a.prototype.jDa=function(a,b,c){var d=b-a,e=this.nDa(d),f=d/c,g=this.oDa(2*f,-e,!0);return g<f&&(g=this.oDa(f,-e+1,!1)),g<f&&(g=this.mDa(f)),g},a.prototype.nDa=function(a){var b,c,d;return a<=0||isNaN(a)?0:(b=Math.log(a)/Math.LN10,c=b>=0?Math.floor(b):Math.ceil(b),d=a/Math.pow(10,c),d<3&&(c=-c+1,d=a/Math.pow(10,c),d<3&&(c+=1)),c)},a.prototype.oDa=function(a,b,c){var d,e;return 0==a?a:(a<0&&(a=-a),d=a/Math.pow(10,b),e=10,c?d<1.5?e=1:d<3?e=2:d<4.5?e=4:d<7&&(e=5):d<=1?e=1:d<=2?e=2:d<=5&&(e=5),e*Math.pow(10,b))},a.prototype.mDa=function(a){var b,c,d,e;return 0==a?a:(a<0&&(a=-a),b=Math.log(a)/Math.LN10,c=Math.floor(b),d=a/Math.pow(10,c),e=10,d<=1?e=1:d<=2?e=2:d<=5&&(e=5),e*Math.pow(10,c))},a}();a.rRa=b}(b=a.models||(a.models={}))}(d||(d={})),function(a){var b;!function(a){"use strict";var b=function(){function a(a){null==a?this.eAa={}:this.eAa=a}return a.prototype.$z=function(){return this.eAa},a.prototype.iT=function(){return Object.getOwnPropertyNames(this.$z()).length<=0},a}();a.jEa=b}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(c){e(d,c);function d(b){var d=c.call(this,b)||this;return d.type=d.$z().type,d.plots=d.$z().plots,d.title=d.$z().title,d.position=d.$z().position,d.overlappingLabels=d.$z().overlappingLabels,d.labels=d.$z().labels,d.max=d.$z().max,d.min=d.$z().min,d.format=d.$z().format,d.scale=d.$z().scale,d.style=d.$z().style,d.textStyle=d.$z().textStyle,d.labelStyle=d.$z().labelStyle,d.titleStyle=d.$z().titleStyle,d.majorUnit=d.$z().majorUnit,d.minorUnit=d.$z().minorUnit,d.majorTicks=d.$z().majorTicks,d.minorTicks=d.$z().minorTicks,d.majorTickSize=d.$z().majorTickSize,d.minorTickSize=d.$z().minorTickSize,d.majorTickStyle=d.$z().majorTickStyle,d.minorTickStyle=d.$z().minorTickStyle,d.majorGrid=d.$z().majorGrid,d.minorGrid=d.$z().minorGrid,d.majorGridStyle=d.$z().majorGridStyle,d.minorGridStyle=d.$z().minorGridStyle,d.lineStyle=d.$z().lineStyle,d.origin=d.$z().origin,d.reversed=d.$z().reversed,d.labelAngle=d.$z().labelAngle,d.logBase=d.$z().logBase,null==d.majorTicks&&(d.majorTicks=a.TickMark.None),null==d.minorTicks&&(d.minorTicks=a.TickMark.None),null==d.overlappingLabels&&(d.overlappingLabels=a.AxisOverlappingLabels.Auto),null==d.position&&(d.position=a.AxisPosition.Near),null==d.minorGrid&&(d.minorGrid=!1),null==d.labels&&(d.labels=!0),null==d.axisLine&&(d.axisLine=!0),d}return Object.defineProperty(d.prototype,"type",{get:function(){return this.kEa},set:function(b){null!=this.kEa&&this.kEa==b||(this.kEa=a.core.asEnum(b,a.AxisType,!0),null==this.kEa&&(this.kEa=a.AxisType.X))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"plots",{get:function(){return this.lEa},set:function(b){var c,d,e,f;if((null==this.lEa||this.lEa!=b)&&(this.lEa=[],null!=b))for(Array.isArray(b)||(b=[b]),c=0,d=b;c<d.length;c++)e=d[c],f=a.core.asString(e,!0),null!=f&&this.lEa.push(f)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"title",{get:function(){return this.mEa},set:function(b){null!=this.mEa&&this.mEa==b||(this.mEa=a.core.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"position",{get:function(){return this.nEa},set:function(b){null!=this.nEa&&this.nEa==b||(this.nEa=a.core.asEnum(b,a.AxisPosition,!0),null==this.nEa&&(this.nEa=a.AxisPosition.Near))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"overlappingLabels",{get:function(){return this.oEa},set:function(b){null!=this.oEa&&this.oEa==b||(this.oEa=a.core.asEnum(b,a.AxisOverlappingLabels,!0),null==this.oEa&&(this.oEa=a.AxisOverlappingLabels.Auto))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"labels",{get:function(){return this.pEa},set:function(b){null!=this.pEa&&this.pEa==b||(this.pEa=a.core.asBoolean(b,!0),null==this.pEa&&(this.pEa=!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"max",{get:function(){return this.GCa},set:function(b){this.GCa!=b&&(a.core.isDate(b)?this.GCa=a.core.asDate(b,!0):this.GCa=a.core.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"min",{get:function(){return this.FCa},set:function(b){this.FCa!=b&&(a.core.isDate(b)?this.FCa=a.core.asDate(b,!0):this.FCa=a.core.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"format",{get:function(){return this.qEa},set:function(b){this.qEa!=b&&(this.qEa=a.core.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"scale",{get:function(){return this.rEa},set:function(c){if(null==this.rEa||this.rEa!=c){var d=new b.sEa(c);if(this.type==a.AxisType.Y&&null!=d&&d.type==a.ValueScaleType.Ordinal)throw"Ordinal Scale is not supported in y axis!";this.rEa=d}},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"axisLine",{get:function(){return this.JQa},set:function(b){b!=this.JQa&&(this.JQa=a.core.asBoolean(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"style",{get:function(){return this.tEa},set:function(a){null!=this.tEa&&this.tEa==a||(this.tEa=new b.uEa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"textStyle",{get:function(){return this.vEa},set:function(a){null!=this.vEa&&this.vEa==a||(this.vEa=new b.wEa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"labelStyle",{get:function(){return this.xEa},set:function(a){null!=this.xEa&&this.xEa==a||(this.xEa=new b.yRa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"titleStyle",{get:function(){return this.yEa},set:function(a){null!=this.yEa&&this.yEa==a||(this.yEa=new b.yRa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"majorUnit",{get:function(){return this.zEa},set:function(b){this.zEa!=b&&(this.zEa=a.core.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"minorUnit",{get:function(){return this.AEa},set:function(b){this.AEa!=b&&(this.AEa=a.core.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"majorTicks",{get:function(){return this.BEa},set:function(b){null!=this.BEa&&this.BEa==b||(this.BEa=a.core.asEnum(b,a.TickMark,!0),null==this.BEa&&(this.BEa=a.TickMark.Outside))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"minorTicks",{get:function(){return this.CEa},set:function(b){null!=this.CEa&&this.CEa==b||(this.CEa=a.core.asEnum(b,a.TickMark,!0),null==this.CEa&&(this.CEa=a.TickMark.None))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"majorTickSize",{get:function(){return this.DEa},set:function(b){null!=this.DEa&&this.DEa==b||(this.DEa=a.core.asNumber(b,!0),null==this.DEa&&(this.DEa=4))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"minorTickSize",{get:function(){return this.EEa},set:function(b){null!=this.EEa&&this.EEa==b||(this.EEa=a.core.asNumber(b,!0),null==this.EEa&&(this.EEa=2))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"majorTickStyle",{get:function(){return this.FEa},set:function(a){null!=this.FEa&&this.FEa==a||(this.FEa=new b.GEa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"minorTickStyle",{get:function(){return this.HEa},set:function(a){null!=this.HEa&&this.HEa==a||(this.HEa=new b.GEa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"majorGrid",{get:function(){return this.IEa},set:function(b){null!=this.IEa&&this.IEa==b||(this.IEa=a.core.asBoolean(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"minorGrid",{get:function(){return this.JEa},set:function(b){null!=this.JEa&&this.JEa==b||(this.JEa=a.core.asBoolean(b,!0),null==this.JEa&&(this.JEa=!1))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"majorGridStyle",{get:function(){return this.KEa},set:function(a){null!=this.KEa&&this.KEa==a||(this.KEa=new b.GEa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"minorGridStyle",{get:function(){return this.LEa},set:function(a){null!=this.LEa&&this.LEa==a||(this.LEa=new b.GEa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"lineStyle",{get:function(){return this.MEa},set:function(a){null!=this.MEa&&this.MEa==a||(this.MEa=new b.GEa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"origin",{get:function(){return this.NEa},set:function(b){this.NEa!=b&&(this.NEa=a.core.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"reversed",{get:function(){return this.OEa},set:function(b){null!=this.OEa&&this.OEa==b||(this.OEa=a.core.asBoolean(b,!0),null==this.OEa&&(this.OEa=!1))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"labelAngle",{get:function(){return this.PEa},set:function(b){null!=this.PEa&&this.PEa==b||(this.PEa=a.core.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"logBase",{get:function(){return this.qSa},set:function(b){null!=this.qSa&&this.qSa==b||(this.qSa=a.core.asNumber(b,!0))},enumerable:!0,configurable:!0}),d}(b.jEa);b.QEa=c}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(b){e(c,b);function c(a){var c=b.call(this,a)||this;return c.topWidth=c.$z().topWidth,c.width=c.$z().width,c.bottomWidth=c.$z().bottomWidth,c.neckHeight=c.$z().neckHeight,c.overlap=c.$z().overlap,c}return Object.defineProperty(c.prototype,"width",{get:function(){return this.REa},set:function(b){null!=b&&this.REa!=b&&(this.REa=a.core.asNumber(b,!0),this.REa>1?this.REa=1:this.REa<0&&(this.REa=0))},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"bottomWidth",{get:function(){return this.SEa},set:function(a){null!=a&&this.SEa!=a&&(this.SEa=a)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"topWidth",{get:function(){return this.REa},set:function(b){null!=b&&this.REa!=b&&(this.REa=a.core.asNumber(b,!0),this.REa>1?this.REa=1:this.REa<0&&(this.REa=0))},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"neckHeight",{get:function(){return this.TEa},set:function(a){null!=a&&this.TEa!=a&&(this.TEa=a)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"overlap",{get:function(){return this.UEa},set:function(b){null!=this.UEa&&this.UEa==b||(this.UEa=a.core.asNumber(b,!0),null==this.UEa?this.UEa=0:this.UEa>1?this.UEa=1:this.UEa<-1&&(this.UEa=-1))},enumerable:!0,configurable:!0}),c}(b.jEa);b.VEa=c}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(c){e(d,c);function d(a){var b=c.call(this,a)||this;return b.header=b.$z().header,b.headerStyle=b.$z().headerStyle,b.headerTextStyle=b.$z().headerTextStyle,b.footer=b.$z().footer,b.footerStyle=b.$z().footerStyle,b.footerTextStyle=b.$z().footerTextStyle,b.palette=b.$z().palette,b.plotAreas=b.$z().plotAreas,b.plotAreaLayout=b.$z().plotAreaLayout,b.borderStyle=b.$z().borderStyle,b.backgroundColor=b.$z().backgroundColor,b.legend=b.$z().legend,b.selectionMode=b.$z().selectionMode,b.selectedStyle=b.$z().selectedStyle,b.unselectedStyle=b.$z().unselectedStyle,b.style=b.$z().style,b.textStyle=b.$z().textStyle,b.bar=b.$z().bar,b}return Object.defineProperty(d.prototype,"bar",{get:function(){return this.WEa},set:function(a){null!=this.WEa&&this.WEa==a||(this.WEa=new b.VEa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"header",{get:function(){return this.XEa},set:function(b){this.XEa!=b&&(this.XEa=a.core.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"headerStyle",{get:function(){return this.YEa},set:function(a){null!=this.YEa&&this.YEa==a||(this.YEa=new b.uEa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"headerTextStyle",{get:function(){return this.ZEa},set:function(a){null!=this.ZEa&&this.ZEa==a||(this.ZEa=new b.wEa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"footer",{get:function(){return this.$Ea},set:function(b){this.$Ea!=b&&(this.$Ea=a.core.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"footerStyle",{get:function(){return this._Ea},set:function(a){null!=this._Ea&&this._Ea==a||(this._Ea=new b.uEa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"footerTextStyle",{get:function(){return this.aFa},set:function(a){null!=this.aFa&&this.aFa==a||(this.aFa=new b.wEa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"palette",{get:function(){return this.bFa},set:function(b){var c,d,e,f;if(null==this.bFa||this.bFa!=b)if(Array.isArray(b)){for(this.bFa=[],c=0,d=b;c<d.length;c++)e=d[c],f=a.core.asString(e,!0),null!=f&&this.bFa.push(f);this.bFa.length<=0&&(this.bFa=a.Palette.Office)}else this.bFa=a.core.asEnum(b,a.Palette,!0),null==this.bFa&&(this.bFa=a.Palette.Office)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"plotAreas",{get:function(){return this.cFa},set:function(c){var d,e,f,g,h;if((null==this.cFa||this.cFa!=c)&&(this.cFa=[],null!=c))for(Array.isArray(c)||(c=[c]),d=0;d<c.length;d++){for(e=new b.dFa(c[d]),null==e.row&&(e.row=d),null==e.column&&(e.column=0),f=0,g=this.cFa;f<g.length;f++)h=g[f],h.row==e.row&&h.column==e.column&&a.Jza(a.Exception.Option_Config_DuplicatedRowAndColumnOfPlotArea);this.cFa.push(e)}},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"plotAreaLayout",{get:function(){return this.eFa},set:function(a){null!=this.eFa&&this.eFa==a||(this.eFa=new b.fFa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"borderStyle",{get:function(){return this.gFa},set:function(a){null!=this.gFa&&this.gFa==a||(this.gFa=new b.GEa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"backgroundColor",{get:function(){return this.hFa},set:function(b){null!=this.hFa&&this.hFa==b||(this.hFa=a.core.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"legend",{get:function(){return this.iFa},set:function(a){null!=this.iFa&&this.iFa==a||(this.iFa=new b.jFa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"selectionMode",{get:function(){return this.kFa},set:function(b){null!=this.kFa&&this.kFa==b||(this.kFa=a.core.asEnum(b,a.SelectionMode,!0),null==this.kFa&&(this.kFa=a.SelectionMode.None))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"selectedStyle",{get:function(){return this.lFa},set:function(a){null!=this.lFa&&this.lFa==a||(this.lFa=new b.vAa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"unselectedStyle",{get:function(){return this.mFa},set:function(a){null!=this.mFa&&this.mFa==a||(this.mFa=new b.vAa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"style",{get:function(){return this.tEa},set:function(a){null!=this.tEa&&this.tEa==a||(this.tEa=new b.uEa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"textStyle",{get:function(){return this.vEa},set:function(a){null!=this.vEa&&this.vEa==a||(this.vEa=new b.wEa(a))},enumerable:!0,configurable:!0}),d}(b.jEa);b.hAa=c}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(b){e(c,b);function c(a){var c=b.call(this,a)||this;return c.name=c.$z().name,c.values=c.$z().values,c.dateFormats=c.$z().dateFormats,c}return Object.defineProperty(c.prototype,"name",{get:function(){return this.HCa},set:function(b){this.HCa!=b&&(this.HCa=a.core.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"values",{get:function(){return this.oFa},set:function(a){var b,c,d;if((null==this.oFa||this.oFa!=a)&&(this.oFa=[],null!=a))for(Array.isArray(a)||(a=[a]),b=0,c=a;b<c.length;b++)d=c[b],this.oFa.push(d)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"dateFormats",{get:function(){return this.pFa;
},set:function(b){var c,d,e,f,g;if(null==this.pFa||this.pFa!=b)if(null==b)this.pFa=!0;else if("boolean"==typeof b)this.pFa=b;else if("string"==typeof b)this.pFa=[b];else if(Array.isArray(b)){for(c=[],d=0,e=b;d<e.length;d++)f=e[d],g=a.core.asString(f,!0),null!=g&&c.push(g);this.pFa=c}else a.core.assert(!1,"A date format is wrong.")},enumerable:!0,configurable:!0}),c}(b.jEa);b.fAa=c}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(b){e(c,b);function c(a){var c=b.call(this,a)||this;return c.opacity=c.$z().opacity,c.fill=c.$z().fill,c.stroke=c.$z().stroke,c.strokeWidth=c.$z().strokeWidth,c.strokeDasharray=c.$z().strokeDasharray,c.symbolOpacity=c.$z().symbolOpacity,c.symbolFill=c.$z().symbolFill,c.symbolStroke=c.$z().symbolStroke,c.symbolStrokeWidth=c.$z().symbolStrokeWidth,c.symbolStrokeDasharray=c.$z().symbolStrokeDasharray,c}return Object.defineProperty(c.prototype,"opacity",{get:function(){return this.qFa},set:function(b){this.qFa!=b&&(this.qFa=a.core.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"fill",{get:function(){return this.rFa},set:function(b){this.rFa!=b&&(this.rFa=a.core.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"stroke",{get:function(){return this.sFa},set:function(b){this.sFa!=b&&(this.sFa=a.core.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"strokeWidth",{get:function(){return this.tFa},set:function(b){this.tFa!=b&&(this.tFa=a.core.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"strokeDasharray",{get:function(){return this.uFa},set:function(b){this.uFa!=b&&(this.uFa=a.core.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"symbolOpacity",{get:function(){return this.vFa},set:function(b){this.vFa!=b&&(this.vFa=a.core.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"symbolFill",{get:function(){return this.wFa},set:function(b){this.wFa!=b&&(this.wFa=a.core.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"symbolStroke",{get:function(){return this.xFa},set:function(b){this.xFa!=b&&(this.xFa=a.core.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"symbolStrokeWidth",{get:function(){return this.yFa},set:function(b){this.yFa!=b&&(this.yFa=a.core.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"symbolStrokeDasharray",{get:function(){return this.zFa},set:function(b){this.zFa!=b&&(this.zFa=a.core.asString(b,!0))},enumerable:!0,configurable:!0}),c}(b.jEa);b.AFa=c}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(b){e(c,b);function c(a){var c=b.call(this,a)||this;return c.field=c.$z().field,c}return Object.defineProperty(c.prototype,"field",{get:function(){return this.oBa},set:function(b){this.oBa!=b&&(this.oBa=a.core.asString(b,!0))},enumerable:!0,configurable:!0}),c}(b.jEa);b.BFa=c}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(c){e(d,c);function d(a){var b=c.call(this,a)||this;return b.orientation=b.$z().orientation,b.position=b.$z().position,b.wrapping=b.$z().wrapping,b.style=b.$z().style,b.titleStyle=b.$z().titleStyle,b.textStyle=b.$z().textStyle,b.hidden=b.$z().hidden,b}return Object.defineProperty(d.prototype,"orientation",{get:function(){return this.CFa},set:function(b){this.CFa!=b&&(this.CFa=a.core.asEnum(b,a.Orientation,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"position",{get:function(){return this.nEa},set:function(b){null!=this.nEa&&this.nEa==b||(this.nEa=a.core.asEnum(b,a.Position,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"wrapping",{get:function(){return this.DFa},set:function(b){null!=this.nEa&&this.DFa==b||(this.DFa=a.core.asBoolean(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"style",{get:function(){return this.tEa},set:function(a){null!=this.tEa&&this.tEa==a||(this.tEa=new b.uEa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"textStyle",{get:function(){return this.vEa},set:function(a){null!=this.vEa&&this.vEa==a||(this.vEa=new b.wEa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"titleStyle",{get:function(){return this.yEa},set:function(a){null!=this.yEa&&this.yEa==a||(this.yEa=new b.wEa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"hidden",{get:function(){return this.SNa},set:function(a){null!=this.SNa&&this.SNa==a||(this.SNa=a)},enumerable:!0,configurable:!0}),d}(b.jEa);b.jFa=c}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(c){e(d,c);function d(a){var b=c.call(this,a)||this;return b.type=b.$z().type,b.orientation=b.$z().orientation,b.position=b.$z().position,b.title=b.$z().title,b.style=b.$z().style,b.titleStyle=b.$z().titleStyle,b.textStyle=b.$z().textStyle,b.hidden=b.$z().hidden,b}return Object.defineProperty(d.prototype,"type",{get:function(){return this.kEa},set:function(b){this.kEa!=b&&(this.kEa=a.core.asEnum(b,a.LegendType,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"orientation",{get:function(){return this.CFa},set:function(b){this.CFa!=b&&(this.CFa=a.core.asEnum(b,a.Orientation,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"position",{get:function(){return this.nEa},set:function(b){null!=this.nEa&&this.nEa==b||(this.nEa=a.core.asEnum(b,a.Position,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"title",{get:function(){return this.mEa},set:function(b){this.mEa!=b&&(this.mEa=a.core.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"style",{get:function(){return this.tEa},set:function(a){null!=this.tEa&&this.tEa==a||(this.tEa=new b.uEa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"textStyle",{get:function(){return this.vEa},set:function(a){null!=this.vEa&&this.vEa==a||(this.vEa=new b.wEa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"titleStyle",{get:function(){return this.yEa},set:function(a){null!=this.yEa&&this.yEa==a||(this.yEa=new b.wEa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"ranges",{get:function(){return this.EFa},set:function(a){null!=this.EFa&&this.EFa==a||(this.EFa=a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"hidden",{get:function(){return this.SNa},set:function(a){null!=this.SNa&&this.SNa==a||(this.SNa=a)},enumerable:!0,configurable:!0}),d}(b.jEa);b.wDa=c}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(b){e(c,b);function c(a){var c=b.call(this,a)||this;return c.opacity=c.$z().opacity,c.stroke=c.$z().stroke,c.strokeWidth=c.$z().strokeWidth,c.strokeDasharray=c.$z().strokeDasharray,c}return Object.defineProperty(c.prototype,"opacity",{get:function(){return this.qFa},set:function(b){null!=this.qFa&&this.qFa==b||(this.qFa=a.core.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"stroke",{get:function(){return this.sFa},set:function(b){this.sFa!=b&&(this.sFa=a.core.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"strokeWidth",{get:function(){return this.tFa},set:function(b){null!=this.tFa&&this.tFa==b||(this.tFa=a.core.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"strokeDasharray",{get:function(){return this.uFa},set:function(b){this.uFa!=b&&(this.uFa=a.core.asString(b,!0))},enumerable:!0,configurable:!0}),c}(b.jEa);b.GEa=c}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(b){e(c,b);function c(a){var c,d=b.call(this,a)||this;return"string"==typeof a?(c=d.T0(a),d.left=c.left,d.top=c.top,d.right=c.right,d.bottom=c.bottom):"number"==typeof a?d.top=d.bottom=d.left=d.right=a:(d.left=d.$z().left,d.top=d.$z().top,d.right=d.$z().right,d.bottom=d.$z().bottom),d}return Object.defineProperty(c.prototype,"left",{get:function(){return this.FFa},set:function(b){null!=this.FFa&&this.FFa==b||(this.FFa=a.core.asNumber(b,!0),null==this.FFa&&(this.FFa=0))},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"top",{get:function(){return this.GFa},set:function(b){null!=this.GFa&&this.GFa==b||(this.GFa=a.core.asNumber(b,!0),null==this.GFa&&(this.GFa=0))},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"right",{get:function(){return this.HFa},set:function(b){null!=this.HFa&&this.HFa==b||(this.HFa=a.core.asNumber(b,!0),null==this.HFa&&(this.HFa=0))},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"bottom",{get:function(){return this.IFa},set:function(b){null!=this.IFa&&this.IFa==b||(this.IFa=a.core.asNumber(b,!0),null==this.IFa&&(this.IFa=0))},enumerable:!0,configurable:!0}),c.prototype.T0=function(b){var c={left:0,top:0,right:0,bottom:0},d=a.core.asString(b),e=d.split(",",4),f=NaN,g=NaN,h=NaN,i=NaN;return e&&(4==e.length?(f=parseFloat(e[0]),i=parseFloat(e[1]),g=parseFloat(e[2]),h=parseFloat(e[3])):3==e.length?(f=parseFloat(e[0]),h=i=parseFloat(e[1]),g=parseFloat(e[2])):2==e.length?(f=g=parseFloat(e[0]),h=i=parseFloat(e[1])):1==e.length&&(f=g=h=i=parseFloat(e[0])),isNaN(f)||(c.top=f),isNaN(g)||(c.bottom=g),isNaN(h)||(c.left=h),isNaN(i)||(c.right=i)),c},c}(b.jEa);b.bOa=c}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(a){"use strict";var b=function(a){e(b,a);function b(b){var c=a.call(this,b)||this;return c.columnWidths=c.$z().columnWidths,c.rowHeights=c.$z().rowHeights,c}return Object.defineProperty(b.prototype,"columnWidths",{get:function(){return this.KFa},set:function(a){var b,c,d;if((null==this.KFa||this.KFa!=a)&&(this.KFa=[],null!=a))for(Array.isArray(a)||(a=[a]),b=0,c=a;b<c.length;b++)d=c[b],"string"!=typeof d&&"number"!=typeof d||this.KFa.push(d)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"rowHeights",{get:function(){return this.LFa},set:function(a){var b,c,d;if((null==this.LFa||this.LFa!=a)&&(this.LFa=[],null!=a))for(Array.isArray(a)||(a=[a]),b=0,c=a;b<c.length;b++)d=c[b],"string"!=typeof d&&"number"!=typeof d||this.LFa.push(d)},enumerable:!0,configurable:!0}),b}(a.jEa);a.fFa=b}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(c){e(d,c);function d(a){var b=c.call(this,a)||this;return b.row=b.$z().row,b.column=b.$z().column,b.axes=b.$z().axes,b.legend=b.$z().legend,b.legends=b.$z().legends,b.borderStyle=b.$z().borderStyle,b.backgroundColor=b.$z().backgroundColor,b.padding=b.$z().padding,b.style=b.$z().style,b.textStyle=b.$z().textStyle,b}return Object.defineProperty(d.prototype,"row",{get:function(){return this.MFa},set:function(b){null!=this.MFa&&this.MFa==b||(this.MFa=a.core.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"column",{get:function(){return this.NFa},set:function(b){null!=this.NFa&&this.NFa==b||(this.NFa=a.core.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"axes",{get:function(){return this.OFa},set:function(a){var c,d,e;if((null==this.OFa||this.OFa!=a)&&(this.OFa=[],null!=a))for(Array.isArray(a)||(a=[a]),c=0,d=a;c<d.length;c++)e=d[c],this.OFa.push(new b.QEa(e))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"legend",{get:function(){return this.iFa},set:function(a){null!=this.iFa&&this.iFa==a||(this.iFa=new b.jFa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"legends",{get:function(){return this.PFa},set:function(a){var c,d,e;if((null==this.PFa||this.PFa!=a)&&(this.PFa=[],null!=a))for(Array.isArray(a)||(a=[a]),c=0,d=a;c<d.length;c++)e=d[c],this.PFa.push(new b.wDa(e))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"borderStyle",{get:function(){return this.gFa},set:function(a){null!=this.gFa&&this.gFa==a||(this.gFa=new b.GEa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"backgroundColor",{get:function(){return this.hFa},set:function(b){null!=this.hFa&&this.hFa==b||(this.hFa=a.core.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"padding",{get:function(){return this.cOa},set:function(a){null!=this.cOa&&this.cOa==a||(this.cOa=new b.bOa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"style",{get:function(){return this.tEa},set:function(a){null!=this.tEa&&this.tEa==a||(this.tEa=new b.RFa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"textStyle",{get:function(){return this.vEa},set:function(a){this.vEa!=a&&(this.vEa=new b.wEa(a))},enumerable:!0,configurable:!0}),d}(b.jEa);b.dFa=c}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(c){e(d,c);function d(a){var b=c.call(this,a)||this;return b.radial=b.$z().radial,b.symbols=b.$z().symbols,b.swapAxes=b.$z().swapAxes,b.clippingMode=b.$z().clippingMode,b.showNulls=b.$z().showNulls,b.lineAspect=b.$z().lineAspect,b.offset=b.$z().offset,b.innerRadius=b.$z().innerRadius,b.sweep=b.$z().sweep,b.startAngle=b.$z().startAngle,b.rules=b.$z().rules,b.barLines=b.$z().barLines,b.style=b.$z().style,b.textStyle=b.$z().textStyle,b.hoverStyle=b.$z().hoverStyle,b.text=b.$z().text,b.tooltip=b.$z().tooltip,b}return Object.defineProperty(d.prototype,"radial",{get:function(){return this.SFa},set:function(b){null!=this.SFa&&this.SFa==b||(this.SFa=a.core.asBoolean(b,!0),null==this.SFa&&(this.SFa=!1))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"symbols",{get:function(){return this.TFa},set:function(b){null!=this.TFa&&this.TFa==b||(this.TFa=a.core.asBoolean(b,!0),null==this.TFa&&(this.TFa=!1))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"swapAxes",{get:function(){return this.UFa},set:function(b){null!=this.UFa&&this.UFa==b||(this.UFa=a.core.asBoolean(b,!0),null==this.UFa&&(this.UFa=!1))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"clippingMode",{get:function(){return this.VFa},set:function(b){null!=this.VFa&&this.VFa==b||(this.VFa=a.core.asEnum(b,a.ClippingMode,!0),null==this.VFa&&(this.VFa=a.ClippingMode.None))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"showNulls",{get:function(){return this.WFa},set:function(b){null!=this.WFa&&this.WFa==b||(this.WFa=a.core.asEnum(b,a.ShowNulls,!0),null==this.WFa&&(this.WFa=a.ShowNulls.Connected))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"lineAspect",{get:function(){return this.XFa},set:function(b){null!=this.XFa&&this.XFa==b||(this.XFa=a.core.asEnum(b,a.LineAspect,!0),null==this.XFa&&(this.XFa=a.LineAspect.Default))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"offset",{get:function(){return this.rCa},set:function(b){null!=this.XFa&&this.XFa==b||(this.rCa=a.core.asNumber(b,!0),null==this.rCa?this.rCa=0:this.rCa>1?this.rCa=1:this.rCa<-1&&(this.rCa=-1))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"innerRadius",{get:function(){return this.YFa},set:function(b){null!=this.YFa&&this.YFa==b||(this.YFa=a.core.asNumber(b,!0),null==this.YFa&&(this.YFa=0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"sweep",{get:function(){return this.ZFa},set:function(b){null!=this.ZFa&&this.ZFa==b||(this.ZFa=a.core.asNumber(b,!0),null==this.ZFa&&(this.ZFa=360))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"startAngle",{get:function(){return this.$Fa},set:function(b){null!=this.$Fa&&this.$Fa==b||(this.$Fa=a.core.asNumber(b,!0),null==this.$Fa&&(this.$Fa=0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"rules",{get:function(){return this._Fa},set:function(a){var c,d,e;if((null==this._Fa||this._Fa!=a)&&(this._Fa=[],null!=a))for(Array.isArray(a)||(a=[a]),c=0,d=a;c<d.length;c++)e=d[c],this._Fa.push(new b.aGa(e))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"barLines",{get:function(){return this.bGa},set:function(b){null!=this.bGa&&this.bGa==b||(this.bGa=a.core.asBoolean(b,!0),null==this.bGa&&(this.bGa=!1))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"style",{get:function(){return this.tEa},set:function(a){(null==this.tEa||(this.tEa=a))&&(this.tEa=new b.AFa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"textStyle",{get:function(){return this.vEa},set:function(a){null!=this.vEa&&this.vEa==a||(this.vEa=new b.wEa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"hoverStyle",{get:function(){return this.cGa},set:function(a){(null==this.cGa||(this.cGa=a))&&(this.cGa=new b.AFa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"text",{get:function(){return this.dGa},set:function(a){null!=this.dGa&&this.dGa==a||(this.dGa=new b.eGa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"tooltip",{get:function(){return this.Oza},set:function(a){null!=this.Oza&&this.Oza==a||(this.Oza=new b.fGa(a))},enumerable:!0,configurable:!0}),d}(b.jEa);b.gGa=c}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(c){e(d,c);function d(a){var b=c.call(this,a)||this;return b.scope=b.$z().scope,b.template=b.$z().template,b.position=b.$z().position,b.offset=b.$z().offset,b.overlappingLabels=b.$z().overlappingLabels,b.connectingLine=b.$z().connectingLine,b.linePosition=b.$z().linePosition,b.style=b.$z().style,b.textStyle=b.$z().textStyle,b}return Object.defineProperty(d.prototype,"scope",{get:function(){return this.hGa},set:function(b){this.hGa!=b&&(this.hGa=a.core.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"template",{get:function(){return this.vCa},set:function(b){this.vCa!=b&&(this.vCa=a.core.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"position",{get:function(){return this.nEa},set:function(b){null!=this.nEa&&this.nEa==b||(this.nEa=a.core.asEnum(b,a.TextPosition,!0),null==this.nEa&&(this.nEa=a.TextPosition.Auto))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"offset",{get:function(){return this.rCa},set:function(b){null!=this.rCa&&this.rCa==b||(this.rCa=a.core.asNumber(b,!0),null==this.rCa&&(this.rCa=0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"overlappingLabels",{get:function(){return this.oEa},set:function(b){null!=this.oEa&&this.oEa==b||(this.oEa=a.core.asEnum(b,a.OverlappingLabels,!0),null==this.oEa&&(this.oEa=a.OverlappingLabels.Auto))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"connectingLine",{get:function(){return this.iGa},set:function(a){null!=this.iGa&&this.iGa==a||(this.iGa=new b.GEa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"linePosition",{get:function(){return this.jGa},set:function(b){null!=this.jGa&&this.jGa==b||(this.jGa=a.core.asEnum(b,a.LinePosition,!0),null==this.jGa&&(this.jGa=a.LinePosition.Auto))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"style",{get:function(){return this.tEa},set:function(a){(null==this.tEa||(this.tEa=a))&&(this.tEa=new b.uEa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"textStyle",{get:function(){return this.vEa},set:function(a){null!=this.vEa&&this.vEa==a||(this.vEa=new b.wEa(a))},enumerable:!0,configurable:!0}),d}(b.jEa);b.eGa=c}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(c){e(d,c);function d(a){var b=c.call(this,a)||this;return b.scope=b.$z().scope,b.template=b.$z().template,b.style=b.$z().style,b.textStyle=b.$z().textStyle,b}return Object.defineProperty(d.prototype,"scope",{get:function(){return this.hGa},set:function(b){this.hGa!=b&&(this.hGa=a.core.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"template",{get:function(){return this.vCa},set:function(b){this.vCa!=b&&(this.vCa=a.core.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"style",{get:function(){return this.tEa},set:function(a){(null==this.tEa||(this.tEa=a))&&(this.tEa=new b.uEa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"textStyle",{get:function(){return this.vEa},set:function(a){null!=this.vEa&&this.vEa==a||(this.vEa=new b.wEa(a))},enumerable:!0,configurable:!0}),d}(b.jEa);b.fGa=c}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(a){"use strict";var b=function(b){e(c,b);function c(a){var c=b.call(this,a)||this;return c.kGa=[],c.dGa=[],c.Oza=[],c.values=c.$z().values,c.category=c.$z().category,c.details=c.$z().details,c.color=c.$z().color,c.size=c.$z().size,c.shape=c.$z().shape,c.text=c.$z().text,c.tooltip=c.$z().tooltip,c}return Object.defineProperty(c.prototype,"values",{get:function(){return this.oFa},set:function(b){var c,d,e,f;if((null==this.oFa||this.oFa!=b)&&(this.oFa=[],null!=b))for(Array.isArray(b)||(b=[b]),c=0,d=b;c<d.length;c++)e=d[c],f=new a.lGa(e),null!=f.field&&this.oFa.push(f)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"category",{get:function(){return this.mGa},set:function(b){null!=this.mGa&&this.mGa==b||(this.mGa=new a.BFa(b))},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"details",{get:function(){return this.kGa},set:function(b){var c,d,e,f;if((null==this.kGa||this.kGa!=b)&&(this.kGa=[],null!=b))for(Array.isArray(b)||(b=[b]),c=0,d=b;c<d.length;c++)e=d[c],f=new a.nGa(e),null!=f.field&&this.kGa.push(f)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"color",{get:function(){return this.oCa},set:function(b){null!=this.oCa&&this.oCa==b||(this.oCa=new a.BFa(b))},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"size",{get:function(){return this.qCa},set:function(b){null!=this.qCa&&this.qCa==b||(this.qCa=new a.BFa(b))},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"shape",{get:function(){return this.pCa},set:function(b){null!=this.pCa&&this.pCa==b||(this.pCa=new a.BFa(b))},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"text",{get:function(){return this.dGa},set:function(b){var c,d,e,f;if((null==this.dGa||this.dGa!=b)&&(this.dGa=[],null!=b))for(Array.isArray(b)||(b=[b]),c=0,d=b;c<d.length;c++)e=d[c],f=new a.oGa(e),null!=f.field&&this.dGa.push(f)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"tooltip",{get:function(){return this.Oza},set:function(b){var c,d,e,f;if((null==this.Oza||this.Oza!=b)&&(this.Oza=[],null!=b))for(Array.isArray(b)||(b=[b]),c=0,d=b;c<d.length;c++)e=d[c],f=new a.oGa(e),null!=f.field&&this.Oza.push(f)},enumerable:!0,configurable:!0}),c}(a.jEa);a.pGa=b}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(c){e(d,c);function d(a){var b=c.call(this,a)||this;return b.name=b.$z().name,b.type=b.$z().type,b.encodings=b.$z().encodings,b.config=b.$z().config,b}return Object.defineProperty(d.prototype,"name",{get:function(){return this.HCa},set:function(b){this.HCa!=b&&(this.HCa=a.core.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"type",{get:function(){return this.kEa},set:function(b){this.kEa!=b&&(this.kEa=a.core.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"encodings",{get:function(){return this.qGa},set:function(a){null!=this.qGa&&this.qGa==a||(this.qGa=new b.pGa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"config",{get:function(){return this.gAa},set:function(a){null!=this.gAa&&this.gAa==a||(this.gAa=new b.gGa(a))},enumerable:!0,configurable:!0}),d}(b.jEa);b.qAa=c}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(c){e(d,c);function d(a){var b=c.call(this,a)||this;return b.rGa=[],b.targetElement=b.$z().targetElement,b.properties=b.$z().properties,b}return Object.defineProperty(d.prototype,"targetElement",{get:function(){return this.sGa},set:function(b){this.sGa!=b&&(this.sGa=a.core.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"properties",{get:function(){return this.rGa},set:function(a){var c,d,e;if((null==this.properties||this.rGa!=a)&&(this.rGa=[],null!=a))for(Array.isArray(a)||(a=[a]),c=0,d=a;c<d.length;c++)e=d[c],this.rGa.push(new b.tGa(e))},enumerable:!0,configurable:!0}),d}(b.jEa);b.uGa=c}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(b){e(c,b);function c(a){var c=b.call(this,a)||this;return c.name=c.$z().name,c.value=c.$z().value,c}return Object.defineProperty(c.prototype,"name",{get:function(){return this.HCa},set:function(b){this.HCa!=b&&(this.HCa=a.core.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"value",{get:function(){return this.mCa},set:function(a){this.mCa!=a&&(this.mCa=a)},enumerable:!0,configurable:!0}),c}(b.jEa);b.tGa=c}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(c){e(d,c);function d(a){var b=c.call(this,a)||this;return b.vGa=[],b.condition=b.$z().condition,b.type=b.$z().type,b.actions=b.$z().actions,b}return Object.defineProperty(d.prototype,"condition",{get:function(){return this.wGa},set:function(b){this.wGa!=b&&(this.wGa=a.core.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"type",{get:function(){return this.kEa},set:function(b){this.kEa!=b&&(this.kEa=a.core.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"actions",{get:function(){return this.vGa},set:function(a){var c,d,e;if(this.vGa!=a&&(this.vGa=[],null!=a))for(Array.isArray(a)||(a=[a]),c=0,d=a;c<d.length;c++)e=d[c],this.vGa.push(new b.uGa(e))},enumerable:!0,configurable:!0}),d}(b.jEa);b.aGa=c}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(c){e(d,c);function d(a){var b=c.call(this,a)||this;return b.borderStyle=b.$z().borderStyle,b.backgroundColor=b.$z().backgroundColor,b.stroke=b.$z().stroke,b.strokeWidth=b.$z().strokeWidth,b.strokeDasharray=b.$z().strokeDasharray,b.hAlign=b.$z().hAlign,b}return Object.defineProperty(d.prototype,"borderStyle",{get:function(){return this.gFa},set:function(a){null!=this.gFa&&this.gFa==a||(this.gFa=new b.GEa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"backgroundColor",{get:function(){return this.hFa},set:function(b){null!=this.hFa&&this.hFa==b||(this.hFa=a.core.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"stroke",{get:function(){return this.sFa},set:function(b){this.sFa!=b&&(this.sFa=a.core.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"strokeWidth",{get:function(){return this.tFa},set:function(b){this.tFa!=b&&(this.tFa=a.core.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"strokeDasharray",{get:function(){return this.uFa},set:function(b){this.uFa!=b&&(this.uFa=a.core.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"hAlign",{get:function(){return this.xGa},set:function(b){this.xGa!=b&&(this.xGa=a.core.asEnum(b,a.HAlign,!0))},enumerable:!0,configurable:!0}),d}(b.jEa);b.uEa=c}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(b){e(c,b);function c(a){var c=b.call(this,a)||this;return c.color=c.$z().color,c.fontSize=c.$z().fontSize,c.fontFamily=c.$z().fontFamily,c}return Object.defineProperty(c.prototype,"color",{get:function(){return this.oCa},set:function(b){this.oCa!=b&&(this.oCa=a.core.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"fontSize",{get:function(){return this.yGa},set:function(b){this.yGa!=b&&("number"==typeof b?this.yGa=""+b:this.yGa=a.core.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"fontFamily",{get:function(){return this.zGa},set:function(b){this.zGa!=b&&(this.zGa=a.core.asString(b,!0))},enumerable:!0,configurable:!0}),c}(b.jEa);b.wEa=c}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(b){e(c,b);function c(a){var c=b.call(this,a)||this;return c.type=c.$z().type,c}return Object.defineProperty(c.prototype,"type",{get:function(){return this.kEa},set:function(b){this.kEa!=b&&(this.kEa=a.core.asEnum(b,a.ValueScaleType,!0))},enumerable:!0,configurable:!0}),c}(b.jEa);b.sEa=c}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(b){e(c,b);function c(a){var c=b.call(this,a)||this;return c.aggregate=c.$z().aggregate,c}return Object.defineProperty(c.prototype,"aggregate",{get:function(){return this.AGa},set:function(b){this.AGa!=b&&(this.AGa=a.core.asEnum(b,a.Aggregate,!0))},enumerable:!0,configurable:!0}),c}(b.BFa);b.oGa=c}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(b){e(c,b);function c(a){var c=b.call(this,a)||this;return c.group=a.group,c.excludeNulls=a.excludeNulls,c}return Object.defineProperty(c.prototype,"group",{get:function(){return this.BGa},set:function(b){this.BGa!=b&&(this.BGa=a.core.asEnum(b,a.Group,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"excludeNulls",{get:function(){return this.LSa},set:function(b){null!=this.LSa&&this.LSa==b||(this.LSa=a.core.asBoolean(b,!0),null==this.LSa&&(this.LSa=!1))},enumerable:!0,configurable:!0}),c}(b.BFa);b.nGa=c}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(b){e(c,b);function c(a){var c=b.call(this,a)||this;return c.field=c.$z().field,c.aggregate=c.$z().aggregate,c}return Object.defineProperty(c.prototype,"aggregate",{get:function(){return this.AGa},set:function(b){this.AGa!=b&&(this.AGa=a.core.asEnum(b,a.Aggregate,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"field",{get:function(){return this.oBa},set:function(b){this.oBa!=b&&("string"==typeof b?this.oBa=a.core.asString(b,!0):null!=b.lower&&null!=b.upper?this.oBa={lower:a.core.asString(b.lower,!0),upper:a.core.asString(b.upper,!0)}:this.oBa=b)},enumerable:!0,configurable:!0}),c}(b.jEa);b.lGa=c}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.options||(a.options={}))}(d||(d={}));!function(a){var b;!function(a){"use strict"}(b=a.options||(a.options={}))}(d||(d={}));!function(a){var b;!function(a){"use strict"}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(a){"use strict";
}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(a){"use strict";var b=function(b){e(c,b);function c(a){var c=b.call(this,a)||this;return c.padding=c.$z().padding,c}return Object.defineProperty(c.prototype,"padding",{get:function(){return this.cOa},set:function(b){null!=this.cOa&&this.cOa==b||(this.cOa=new a.bOa(b))},enumerable:!0,configurable:!0}),c}(a.wEa);a.yRa=b}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(b){e(c,b);function c(a){var c=b.call(this,a)||this;return c.fill=c.$z().fill,c}return Object.defineProperty(c.prototype,"fill",{get:function(){return this.rFa},set:function(b){this.rFa!=b&&(this.rFa=a.core.asString(b,!0))},enumerable:!0,configurable:!0}),c}(b.uEa);b.RFa=c}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(b){e(c,b);function c(a){var c=b.call(this,a)||this;return c.adorners=c.$z().adorners,c}return Object.defineProperty(c.prototype,"adorners",{get:function(){return this.CGa},set:function(b){this.CGa!=b&&(this.CGa=a.core.asBoolean(b,!0))},enumerable:!0,configurable:!0}),c}(b.AFa);b.vAa=c}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(a){"use strict"}(b=a.options||(a.options={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(){}return b.prototype.create=function(){return new a.models.FAa},b}();b.FGa=c}(b=a.plugins||(a.plugins={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(){}return b.prototype.create=function(){return new a.models.dAa},b}();b.zRa=c}(b=a.plugins||(a.plugins={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(){}return b.prototype.create=function(){return new a.models.RRa},b}();b.ARa=c}(b=a.plugins||(a.plugins={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(){}return b.prototype.create=function(){return new a.models.KSa},b}();b.MSa=c}(b=a.plugins||(a.plugins={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(){}return b.prototype.create=function(){return new a.models.KSa},b}();b.NSa=c}(b=a.plugins||(a.plugins={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(){}return b.prototype.create=function(b){return"DataPoint"==b.type?new a.models.kQa(b):null},b}();b.pQa=c}(b=a.plugins||(a.plugins={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(){}return b.prototype.create=function(b){return"Group"==b.type?new a.models.lQa(b):null},b}();b.qQa=c}(b=a.plugins||(a.plugins={}))}(d||(d={})),function(a){"use strict";var b=function(){function b(){}return b.prototype.create=function(b,c){return null!=c&&null!=b&&b instanceof a.kKa?new a.PGa(b,c):null},b}();a.QGa=b}(d||(d={})),function(a){"use strict";var b=function(){function b(){}return b.prototype.create=function(b,c){return null!=c&&null!=b&&b instanceof a.kKa?1==c.config.radial&&null!=c.encodings.details&&c.encodings.details.length>0&&null!=c.encodings.details[0].field&&c.encodings.details[0].field.indexOf(">")!=-1?new a.XGa(b,c):new a.RGa(b,c):null},b}();a.SGa=b}(d||(d={})),function(a){"use strict";var b=function(){function b(){}return b.prototype.create=function(b,c){return null!=c&&null!=b&&b instanceof a.kKa?new a.TGa(b,c):null},b}();a.UGa=b}(d||(d={})),function(a){"use strict";var b=function(){function b(){}return b.prototype.create=function(b,c){return null!=c&&null!=b&&b instanceof a.kKa?new a.VGa(b,c):null},b}();a.WGa=b}(d||(d={})),function(a){"use strict";var b=function(){function b(){}return b.prototype.create=function(b,c){return null!=c&&null!=b&&b instanceof a.kKa?new a.XGa(b,c):null},b}();a.YGa=b}(d||(d={})),function(a){"use strict";var b=function(){function b(){}return b.prototype.create=function(b,c){return null!=c&&null!=b&&b instanceof a.kKa?new a.ZGa(b,c):null},b}();a.$Ga=b}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(){}return b.prototype.create=function(b){return new a.models.pAa(b)},b}();b._Ra=c}(b=a.plugins||(a.plugins={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(){}return b.prototype.create=function(b){return new a.models.oAa(b)},b}();b.aSa=c}(b=a.plugins||(a.plugins={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(){}return b.prototype.create=function(b){return new a.models.QRa(b)},b}();b.PureCanvasRenderEnginePlugin=c}(b=a.plugins||(a.plugins={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(){}return b.prototype.create=function(){return new a.models.SRa},b}();b.bSa=c}(b=a.plugins||(a.plugins={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(){}return b.prototype.create=function(){return new a.models.TRa},b}();b.cSa=c}(b=a.plugins||(a.plugins={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(){}return b.prototype.create=function(){return new a.models.URa},b}();b.dSa=c}(b=a.plugins||(a.plugins={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(){}return b.prototype.create=function(){return new a.models.VRa},b}();b.eSa=c}(b=a.plugins||(a.plugins={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(){}return b.prototype.create=function(){return new a.models.WRa},b}();b.fSa=c}(b=a.plugins||(a.plugins={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(){}return b.prototype.create=function(){return new a.models.XRa},b}();b.gSa=c}(b=a.plugins||(a.plugins={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(){}return b.prototype.create=function(){return new a.models.YRa},b}();b.hSa=c}(b=a.plugins||(a.plugins={}))}(d||(d={})),function(a){"use strict"}(d||(d={})),function(a){"use strict";var b={};function c(c,d){null!=c&&"string"==typeof c||a.Jza(a.Exception.DataGraph_InvalidTypeName),null==d&&a.Jza(a.Exception.DataGraph_InvalidPlugin),null==b[c]?b[c]=d:a.Jza(a.Exception.DataGraph_IsRegistered)}a.uHa=c;function d(c){null!=c&&"string"==typeof c||a.Jza(a.Exception.DataGraph_InvalidTypeName),null!=b[c]&&(b[c]=null)}a.vHa=d;function e(c){return null!=c&&"string"==typeof c||a.Jza(a.Exception.DataGraph_InvalidTypeName),null!=b[c]}a.wHa=e;function f(a){return null==a||"string"!=typeof a?null:null!=b[a]?b[a]:null}a.xHa=f}(d||(d={})),function(a){var b;!function(b){"use strict";var c={};function d(b,d){null!=b&&"string"==typeof b||a.Jza(a.Exception.AdornerRender_InvalidTypeName),null==d&&a.Jza(a.Exception.AdornerRender_InvalidPlugin),null==c[b]?c[b]=d:a.Jza(a.Exception.AdornerRender_IsRegistered)}b.registerAdornerRender=d;function e(b){null!=b&&"string"==typeof b||a.Jza(a.Exception.AdornerRender_InvalidTypeName),null!=c[b]&&(c[b]=null)}b.unregisterAdorner=e;function f(b){return null!=b&&"string"==typeof b||a.Jza(a.Exception.AdornerRender_InvalidTypeName),null!=c[b]}b.hasRegisteredAdornerRender=f;function g(a){return null==a||"string"!=typeof a?null:null!=c[a]?c[a]:null}b.OSa=g}(b=a.plugins||(a.plugins={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c={};function d(b,d){null!=b&&"string"==typeof b||a.Jza(a.Exception.ConditionalFormattingRule_InvalidTypeName),null==d&&a.Jza(a.Exception.ConditionalFormattingRule_InvalidPlugin),null==c[b]?c[b]=d:a.Jza(a.Exception.ConditionalFormattingRule_IsRegistered)}b.registerConditionalFormattingRule=d;function e(b){null!=b&&"string"==typeof b||a.Jza(a.Exception.ConditionalFormattingRule_InvalidTypeName),null!=c[b]&&(c[b]=null)}b.unregisterConditionalFormattingRule=e;function f(b){return null!=b&&"string"==typeof b||a.Jza(a.Exception.ConditionalFormattingRule_InvalidTypeName),null!=c[b]}b.hasRegisteredConditionalFormattingRule=f;function g(a){return null==a||"string"!=typeof a?null:null!=c[a]?c[a]:null}b.hCa=g}(b=a.plugins||(a.plugins={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c={};function d(b,d){null!=b&&"string"==typeof b||a.Jza(a.Exception.DataContentProvider_InvalidTypeName),null==d&&a.Jza(a.Exception.DataContentProvider_InvalidPlugin),null==c[b]?c[b]=d:a.Jza(a.Exception.DataContentProvider_IsRegistered)}b.registerDataContentProvider=d;function e(b){null!=b&&"string"==typeof b||a.Jza(a.Exception.DataContentProvider_InvalidTypeName),null!=c[b]&&(c[b]=null)}b.unregisterDataContentProvider=e;function f(b){return null!=b&&"string"==typeof b||a.Jza(a.Exception.DataContentProvider_InvalidTypeName),null!=c[b]}b.hasRegisteredDataContentProvider=f;function g(a){return null==a||"string"!=typeof a?null:null!=c[a]?c[a]:null}b.bAa=g}(b=a.plugins||(a.plugins={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c={};function d(b,d){null!=b&&"string"==typeof b||a.Jza(a.Exception.DateParser_InvalidTypeName),null==d&&a.Jza(a.Exception.DateParser_InvalidPlugin),null==c[b]?c[b]=d:a.Jza(a.Exception.DateParser_IsRegistered)}b.registerDateParser=d;function e(b){null!=b&&"string"==typeof b||a.Jza(a.Exception.DateParser_InvalidTypeName),null!=c[b]&&(c[b]=null)}b.unregisterDateParser=e;function f(b){return null!=b&&"string"==typeof b||a.Jza(a.Exception.DateParser_InvalidTypeName),null!=c[b]}b.hasRegisteredDateParser=f;function g(a){return null==a||"string"!=typeof a?null:null!=c[a]?c[a]:null}b.ORa=g}(b=a.plugins||(a.plugins={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c={};function d(b,d){null!=b&&"string"==typeof b||a.Jza(a.Exception.RenderEngine_InvalidTypeName),null==d&&a.Jza(a.Exception.RenderEngine_InvalidPlugin),null==c[b]?c[b]=d:a.Jza(a.Exception.RenderEngine_IsRegistered)}b.registerRenderEngine=d;function e(b){null!=b&&"string"==typeof b||a.Jza(a.Exception.RenderEngine_InvalidTypeName),null!=c[b]&&(c[b]=null)}b.unregisterRenderEngine=e;function f(b){return null!=b&&"string"==typeof b||a.Jza(a.Exception.RenderEngine_InvalidTypeName),null!=c[b]}b.hasRegisteredRenderEngine=f;function g(a){return null==a||"string"!=typeof a?null:null!=c[a]?c[a]:null}b.iSa=g}(b=a.plugins||(a.plugins={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c={};function d(b,d){null!=b&&"string"==typeof b||a.Jza(a.Exception.StringFormatting_InvalidTypeName),null==d&&a.Jza(a.Exception.StringFormatting_InvalidPlugin),null==c[b]?c[b]=d:a.Jza(a.Exception.StringFormatting_IsRegistered)}b.registerStringFormatting=d;function e(b){null!=b&&"string"==typeof b||a.Jza(a.Exception.StringFormatting_InvalidTypeName),null!=c[b]&&(c[b]=null)}b.unregisterStringFormatting=e;function f(b){return null!=b&&"string"==typeof b||a.Jza(a.Exception.StringFormatting_InvalidTypeName),null!=c[b]}b.hasRegisteredStringFormatting=f;function g(a){return null==a||"string"!=typeof a?null:null!=c[a]?c[a]:null}b._za=g}(b=a.plugins||(a.plugins={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c={},d=[];function e(b,e){null!=b&&"string"==typeof b||a.Jza(a.Exception.Symbol_InvalidTypeName),null==e&&a.Jza(a.Exception.Symbol_InvalidPlugin),null==c[b]?(c[b]=e,d.push(b)):a.Jza(a.Exception.Symbol_IsRegistered)}b.registerSymbol=e;function f(b){if(null!=b&&"string"==typeof b||a.Jza(a.Exception.Symbol_InvalidTypeName),null!=c[b]){c[b]=null;for(var e=0;e<d.length;e++)if(d[e]==b){d.splice(e,1);break}}}b.unregisterSymbol=f;function g(b){return null!=b&&"string"==typeof b||a.Jza(a.Exception.Symbol_InvalidTypeName),null!=c[b]}b.hasRegisteredSymbol=g;function h(a){return null==a||"string"!=typeof a?null:null!=c[a]?c[a]:null}b.jSa=h;function i(){return d}b.$Ra=i}(b=a.plugins||(a.plugins={}))}(d||(d={})),function(a){"use strict";var b=function(){function b(b,c){a.Yya(function(){return null!=b}),this.PHa=b,this.Qza=c,this.MQa=new a.NQa(this),this.kSa=new a.lSa(this)}return b.MRa=function(c,d){var e=null,f=a.plugins.iSa(d);return null!=f&&(e=f.create(c)),new b(c,e)},Object.defineProperty(b.prototype,"element",{get:function(){return null!=this.Qza?this.Qza.element:null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"opacity",{get:function(){return null!=this.Qza?this.Qza.opacity:null},set:function(a){null!=this.Qza&&(this.Qza.opacity=a)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"fill",{get:function(){return null!=this.Qza?this.Qza.fill:null},set:function(a){null!=this.Qza&&(this.Qza.fill=a)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"stroke",{get:function(){return null!=this.Qza?this.Qza.stroke:null},set:function(a){null!=this.Qza&&(this.Qza.stroke=a)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"strokeWidth",{get:function(){return null!=this.Qza?this.Qza.strokeWidth:null},set:function(a){null!=this.Qza&&(this.Qza.strokeWidth=a)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"strokeDasharray",{get:function(){return null!=this.Qza?this.Qza.strokeDasharray:null},set:function(a){null!=this.Qza&&(this.Qza.strokeDasharray=a)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"textFill",{get:function(){return null!=this.Qza?this.Qza.textFill:null},set:function(a){null!=this.Qza&&(this.Qza.textFill=a)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"fontSize",{get:function(){return null!=this.Qza?this.Qza.fontSize:null},set:function(a){null!=this.Qza&&(this.Qza.fontSize=a)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"fontFamily",{get:function(){return null!=this.Qza?this.Qza.fontFamily:null},set:function(a){null!=this.Qza&&(this.Qza.fontFamily=a)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"devicePixelRatio",{get:function(){return null!=this.Qza?this.Qza.devicePixelRatio:null},set:function(a){null!=this.Qza&&(this.Qza.devicePixelRatio=a)},enumerable:!0,configurable:!0}),b.prototype.beginRender=function(){null!=this.Qza&&this.Qza.beginRender()},b.prototype.endRender=function(){null!=this.Qza&&this.Qza.endRender()},b.prototype.setViewportSize=function(a,b){null!=this.Qza&&this.Qza.setViewportSize(a,b)},b.prototype.beginTransform=function(){this.kSa.begin()},b.prototype.restoreTransform=function(){this.kSa.restore()},b.prototype.drawMultipleStrings=function(a,b,c,d,e,f,g){void 0===c&&(c="Left"),void 0===d&&(d="None"),void 0===e&&(e=null),void 0===f&&(f=null),void 0===g&&(g=null),this.MQa.PQa(a,b,c,d,e,f,g)},b.prototype.measureMultipleStrings=function(a,b,c,d,e,f){return void 0===c&&(c="None"),void 0===d&&(d=null),void 0===e&&(e=null),void 0===f&&(f=null),this.MQa.SIa(a,b,c,d,e,f)},b.prototype.startGroup=function(a,b,c){null!=this.Qza&&this.Qza.startGroup(a,b,c)},b.prototype.endGroup=function(){null!=this.Qza&&this.Qza.endGroup()},b.prototype.drawEllipse=function(a,b,c,d,e,f){null!=this.Qza&&this.Qza.drawEllipse(a,b,c,d,e,f)},b.prototype.drawRect=function(a,b,c,d,e,f,g){null!=this.Qza&&this.Qza.drawRect(a,b,c,d,e,f,g)},b.prototype.drawLine=function(a,b,c,d,e,f){null!=this.Qza&&this.Qza.drawLine(a,b,c,d,e,f)},b.prototype.drawLines=function(a,b,c,d,e){null!=this.Qza&&this.Qza.drawLines(a,b,c,d,e)},b.prototype.drawSplines=function(a,b,c,d,e){null!=this.Qza&&this.Qza.drawSplines(a,b,c,d,e)},b.prototype.drawPolygon=function(a,b,c,d,e){null!=this.Qza&&this.Qza.drawPolygon(a,b,c,d,e)},b.prototype.drawPieSegment=function(a,b,c,d,e,f,g,h){null!=this.Qza&&this.Qza.drawPieSegment(a,b,c,d,e,f,g,h)},b.prototype.drawDonutSegment=function(a,b,c,d,e,f,g,h,i){null!=this.Qza&&this.Qza.drawDonutSegment(a,b,c,d,e,f,g,h,i)},b.prototype.drawString=function(a,b,c,d){null!=this.Qza&&this.Qza.drawString(a,b,c,d)},b.prototype.drawStringRotated=function(a,b,c,d,e,f){null!=this.Qza&&this.Qza.drawStringRotated(a,b,c,d,e,f)},b.prototype.drawImage=function(a,b,c,d,e){null!=this.Qza&&this.Qza.drawImage(a,b,c,d,e)},b.prototype.measureString=function(a,b,c,d){return null!=this.Qza?this.Qza.measureString(a,b,c,d):null},b.prototype.addClipRect=function(a,b){null!=this.Qza&&this.Qza.addClipRect(a,b)},b}();a.NRa=b}(d||(d={})),function(a){"use strict";function b(a,b){null!=b&&(null!=b.opacity&&(a.opacity=b.opacity),null!=b.fill&&(a.fill=b.fill),null!=b.stroke&&(a.stroke=b.stroke),null!=b.strokeWidth&&(a.strokeWidth=b.strokeWidth),null!=b.strokeDasharray&&(a.strokeDasharray=b.strokeDasharray),null!=b.color&&(a.textFill=b.color),null!=b.fontSize&&(a.fontSize=b.fontSize),null!=b.fontFamily&&(a.fontFamily=b.fontFamily))}a.GHa=b}(d||(d={})),function(a){"use strict";function b(a,b){b.width<=0||b.height<=0||(null!=a.fill&&"transparent"!=a.fill&&"none"!=a.fill||null!=a.strokeWidth&&a.strokeWidth>0)&&a.drawRect(b.left+a.strokeWidth/2,b.top+a.strokeWidth/2,b.width-a.strokeWidth,b.height-a.strokeWidth)}a.UHa=b}(d||(d={})),function(a){"use strict";var b=function(){function b(){}return b.renderText=function(b,c,d,e,f,g,h,i,j){var k,l=b.measureString(c,g,h,i),m=d.x,n=d.y;switch(e){case 1:m-=.5*l.width;break;case 2:m-=l.width}switch(f){case 1:n+=.5*l.height;break;case 0:n+=l.height}return k=new a.core.Rect(m,n-l.height,l.width,l.height),j?j(k)?(b.drawString(c,new a.core.Point(m,n),g,i),k):null:(b.drawString(c,new a.core.Point(m,n),g,i),k)},b.renderRotatedText=function(b,c,d,e,f,g,h,i,j,k){var l=b.measureString(c,i,j,k),m=d.x,n=d.y;switch(e){case 1:m-=.5*l.width;break;case 2:m-=l.width}switch(f){case 1:n+=.5*l.height;break;case 0:n+=l.height}b.drawStringRotated(c,new a.core.Point(m,n),g,h,i,k)},b}();a.VHa=b}(d||(d={})),function(a){"use strict";var b=function(){function b(b,c){var d,e,f,g,h,i,j,k,l,m;if(this.k=.002,this._xa=[],this.$xa=[],this.Sk=[],this.WHa=[],this.m=[[-.5,1.5,-1.5,.5],[1,-2.5,2,-.5],[-.5,0,.5,0],[0,1,0,0]],this.XHa=b,this.YHa=c,d=this.ZHa=Math.min(b.length,c.length),d>3)for(e=0;e<d-1;e++)f=0==e?new a.core.Point(b[e],c[e]):new a.core.Point(b[e-1],c[e-1]),g=new a.core.Point(b[e],c[e]),h=new a.core.Point(b[e+1],c[e+1]),i=e==d-2?new a.core.Point(b[e+1],c[e+1]):new a.core.Point(b[e+2],c[e+2]),j=new a.core.Point,k=new a.core.Point,l=new a.core.Point,m=new a.core.Point,j.x=f.x*this.m[0][0]+g.x*this.m[0][1]+h.x*this.m[0][2]+i.x*this.m[0][3],k.x=f.x*this.m[1][0]+g.x*this.m[1][1]+h.x*this.m[1][2]+i.x*this.m[1][3],l.x=f.x*this.m[2][0]+g.x*this.m[2][1]+h.x*this.m[2][2]+i.x*this.m[2][3],m.x=f.x*this.m[3][0]+g.x*this.m[3][1]+h.x*this.m[3][2]+i.x*this.m[3][3],j.y=f.y*this.m[0][0]+g.y*this.m[0][1]+h.y*this.m[0][2]+i.y*this.m[0][3],k.y=f.y*this.m[1][0]+g.y*this.m[1][1]+h.y*this.m[1][2]+i.y*this.m[1][3],l.y=f.y*this.m[2][0]+g.y*this.m[2][1]+h.y*this.m[2][2]+i.y*this.m[2][3],m.y=f.y*this.m[3][0]+g.y*this.m[3][1]+h.y*this.m[3][2]+i.y*this.m[3][3],this._xa.push(j),this.$xa.push(k),this.Sk.push(l),this.WHa.push(m)}return b.prototype.calculatePoint=function(a){var b,c,d,e=Math.floor(a);return e<0&&(e=0),e>this.ZHa-2&&(e=this.ZHa-2),b=a-e,c=((this._xa[e].x*b+this.$xa[e].x)*b+this.Sk[e].x)*b+this.WHa[e].x,d=((this._xa[e].y*b+this.$xa[e].y)*b+this.Sk[e].y)*b+this.WHa[e].y,{x:c,y:d}},b.prototype.calculate=function(a,b){var c,d,e,f,g,h,i,j;if(void 0===a&&(a=1),void 0===b&&(b=1),this.ZHa<=3)return{xs:this.XHa,ys:this.YHa};for(c=[],d=[],e=this.calculatePoint(0),c.push(e.x),d.push(e.y),f=this.ZHa*this.k,g=3*a,h=3*b,i=f;i<=this.ZHa-1;i+=f)j=this.calculatePoint(i),(Math.abs(e.x-j.x)>=g||Math.abs(e.y-j.y)>=h)&&(c.push(j.x),d.push(j.y),e=j);return c[c.length-1].x==j.x&&d[d.length-1].y==j.y||(c.push(j.x),d.push(j.y)),{xs:c,ys:d}},b}();a.THa=b}(d||(d={})),function(a){"use strict";var b=function(){function b(a){this.RQa=a}return b.prototype.PQa=function(b,c,d,e,f,g,h){var i,j,k,l,m,n;if(void 0===d&&(d="Left"),void 0===e&&(e="None"),void 0===f&&(f=null),void 0===g&&(g=null),void 0===h&&(h=null),"None"==e)"Left"==d?this.RQa.drawString(b,new a.core.Point(c.left,c.bottom),f,h):"Center"==d?(i=this.RQa.measureString(b,f,g,h),this.RQa.drawString(b,new a.core.Point(c.left+(c.width-i.width)/2,c.bottom),f,h)):"Right"==d&&(i=this.RQa.measureString(b,f,g,h),this.RQa.drawString(b,new a.core.Point(c.left+c.width-i.width,c.bottom),f,h));else if("Wrap"==e)for(j=this.SQa(b,c.width,f,g,h),k=c.top,l=0,m=j;l<m.length;l++)n=m[l],"Left"==d?this.RQa.drawString(n.text,new a.core.Point(c.left,k+n.size.height),f,h):"Center"==d?this.RQa.drawString(n.text,new a.core.Point(c.left+(c.width-n.size.width)/2,k+n.size.height),f,h):"Right"==d&&(i=this.RQa.measureString(b,f,g,h),this.RQa.drawString(n.text,new a.core.Point(c.left+c.width-n.size.width,k+n.size.height),f,h)),k+=n.size.height},b.prototype.SIa=function(b,c,d,e,f,g){var h,i,j,k,l;if(void 0===d&&(d="None"),void 0===e&&(e=null),void 0===f&&(f=null),void 0===g&&(g=null),"None"==d)return this.RQa.measureString(b,e,f,g);if("Wrap"==d){for(h=this.SQa(b,c.width,e,f,g),i=new a.core.Size(0,0),j=0,k=h;j<k.length;j++)l=k[j],i.height+=l.size.height,i.width=Math.max(i.width,l.size.width);return i}},b.prototype.SQa=function(a,b,c,d,e){var f,g;if(void 0===c&&(c=null),void 0===d&&(d=null),void 0===e&&(e=null),a.length<=0)return[];for(f=[];a.length>0;)g=this.TQa(a,b,c,d,e),f.push({text:a.substring(0,g.position),size:g.size}),a=a.substring(g.position);return f},b.prototype.TQa=function(b,c,d,e,f){var g,h,i,j;void 0===d&&(d=null),void 0===e&&(e=null),void 0===f&&(f=null),g={position:0,size:new a.core.Size(0,0)},h=b.length;do if(i=b.substring(0,g.position+h),j=this.RQa.measureString(i,d,e,f),j.width<=c)g.position=g.position+h,g.size=j,h=b.length-g.position;else{if(1==h)break;h>0&&(h=Math.floor(h/2),h<1&&(h=1))}while(h>0);return g.position<=0&&(g.position=1,g.size=this.RQa.measureString(b.substring(0,g.position),d,e,f)),g},b}();a.NQa=b}(d||(d={})),function(a){"use strict";var b=function(){function b(a){this.IHa=[],this.RQa=a}return b.prototype.begin=function(){this.IHa.push({opacity:this.RQa.opacity,fill:this.RQa.fill,stroke:this.RQa.stroke,strokeWidth:this.RQa.strokeWidth,strokeDasharray:this.RQa.strokeDasharray,textFill:this.RQa.textFill,fontSize:this.RQa.fontSize,fontFamily:this.RQa.fontFamily})},b.prototype.restore=function(){var b,c=this;a.Yya(function(){return c.IHa.length>0}),this.IHa.length>0&&(b=this.IHa.pop(),this.RQa.opacity=b.opacity,this.RQa.fill=b.fill,this.RQa.stroke=b.stroke,this.RQa.strokeWidth=b.strokeWidth,this.RQa.strokeDasharray=b.strokeDasharray,this.RQa.textFill=b.textFill,this.RQa.fontSize=b.fontSize,this.RQa.fontFamily=b.fontFamily)},b}();a.lSa=b}(d||(d={})),function(a){"use strict"}(d||(d={})),function(a){"use strict";var b=function(){function a(){}return a.gradientColor=function(b,c,d){var e,f,g=a.colorRgb(b),h=g[0],i=g[1],j=g[2],k=a.colorRgb(c),l=k[0],m=k[1],n=k[2],o=(l-h)/d,p=(m-i)/d,q=(n-j)/d,r=[];for(e=0;e<d;e++)f=a.colorHex("rgb("+parseInt(o*e+h)+","+parseInt(p*e+i)+","+parseInt(q*e+j)+")"),r.push(f);return r},a.colorRgb=function(a){var b,c,d,e=/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;if(a=a.toLowerCase(),a&&e.test(a)){if(4===a.length){for(b="#",c=1;c<4;c+=1)b+=a.slice(c,c+1).concat(a.slice(c,c+1));a=b}for(d=[],c=1;c<7;c+=2)d.push(parseInt("0x"+a.slice(c,c+2)));return d}return a},a.colorHex=function(a){var b,c,d,e,f,g,h=a,i=/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;if(/^(rgb|RGB)/.test(h)){for(b=h.replace(/(?:(|)|rgb|RGB)*/g,"").split(","),c="#",d=0;d<b.length;d++)e=(+b[d]).toString(16),e=e<10?"0"+e:e,"0"===e&&(e+=e),c+=e;return 7!==c.length&&(c=h),c}if(!i.test(h))return h;if(f=h.replace(/#/,"").split(""),6===f.length)return h;if(3===f.length){for(g="#",d=0;d<f.length;d+=1)g+=f[d]+f[d];return g}},a}();a.ColorUtils=b}(d||(d={})),function(a){"use strict";var b=function(){function b(a,b){this.yIa=a,this.zIa=b}return b.prototype.convert=function(b){var c,d,e,f;if(b.length>1){if(this.yIa&&this.zIa==a.LineAspect.StepLeft||!this.yIa&&this.zIa==a.LineAspect.StepRight){for(c=[],c.push(b[0]),d=1;d<b.length;d++)c.push(new a.core.Point(b[d].x,b[d-1].y)),c.push(new a.core.Point(b[d].x,b[d].y));return c}if(this.yIa&&this.zIa==a.LineAspect.StepRight||!this.yIa&&this.zIa==a.LineAspect.StepLeft){for(c=[],c.push(b[0]),d=1;d<b.length;d++)c.push(new a.core.Point(b[d-1].x,b[d].y)),c.push(new a.core.Point(b[d].x,b[d].y));return c}if(this.yIa&&this.zIa==a.LineAspect.StepCenter){for(c=[],c.push(b[0]),d=1;d<b.length;d++)e=b[d-1].y+(b[d].y-b[d-1].y)/2,c.push(new a.core.Point(b[d-1].x,e)),c.push(new a.core.Point(b[d].x,e)),c.push(new a.core.Point(b[d].x,b[d].y));return c}if(this.yIa||this.zIa!=a.LineAspect.StepCenter)return b;for(c=[],c.push(b[0]),d=1;d<b.length;d++)f=b[d-1].x+(b[d].x-b[d-1].x)/2,c.push(new a.core.Point(f,b[d-1].y)),c.push(new a.core.Point(f,b[d].y)),c.push(new a.core.Point(b[d].x,b[d].y));return c}return b},b}();a.AIa=b}(d||(d={})),function(a){"use strict";var b=function(){function b(){}return b.contains=function(a,b){return b.x<=a.right&&b.x>=a.left&&b.y<=a.bottom&&b.y>=a.top},b.getRect=function(b,c){var d=new a.core.Rect(b.x,b.y,b.x+c.width,b.y+c.height);return d},b.getStyleCss=function(a){return a?{"font-size":a?a.fontSize:"",stroke:a?a.color:"",fill:a?a.color:"","font-family":a?a.fontFamily:""}:null},b.getTextByMaxLength=function(a,b,c,d,e,f){for(var g=a.measureString(b,f,e,d);g.width>c;)b=b.substr(0,b.length-1),g=a.measureString(b,f,e,d);return b},b.binarySearch=function(a,c,d,e,f){var g,h,i,j;void 0===f&&(f=!0),a.length>0&&e&&(d-c>=2?(g=c,h=Math.floor((d+c)/2),i=d,j={left:!0,right:!0},f&&(e(a[g],g,NaN,NaN),e(a[i],i,NaN,NaN)),j=e(a[h],h,g,i),j.left&&b.binarySearch(a,g,h,e,!1),j.right&&b.binarySearch(a,h,i,e,!1)):d-c==1?(e(a[c],c,NaN,NaN),e(a[d],d,NaN,NaN)):c==d&&e(a[c],0,NaN,NaN))},b.mergeRect=function(){var b,c,d=[];for(b=0;b<arguments.length;b++)d[b]=arguments[b];return c=new a.core.Rect(0,0,0,0),c.left=Math.min.apply(this,d.map(function(a){return a.left})),c.top=Math.min.apply(this,d.map(function(a){return a.top})),c.width=Math.max.apply(this,d.map(function(a){return a.right}))-c.left,c.height=Math.max.apply(this,d.map(function(a){return a.bottom}))-c.top,c},b.min=function(){var a,b,c,d,e,f=[];for(a=0;a<arguments.length;a++)f[a]=arguments[a];for(b=[],c=0,d=f;c<d.length;c++)e=d[c],isNaN(e)||null==e||b.push(e);return Math.min.apply(this,b)},b.max=function(){var a,b,c,d,e,f=[];for(a=0;a<arguments.length;a++)f[a]=arguments[a];for(b=[],c=0,d=f;c<d.length;c++)e=d[c],isNaN(e)||null==e||b.push(e);return Math.max.apply(this,b)},b.isMixed=function(a,b){var c=!1;return Math.abs((a.left+a.right)/2-(b.left+b.right)/2)<(a.right+b.right-a.left-b.left)/2&&Math.abs((a.top+a.bottom)/2-(b.top+b.bottom)/2)<(a.bottom+b.bottom-a.top-b.top)/2&&(c=!0),c},b.isMixedRotatedRect=function(c,d,e){var f,g,h,i,j,k,l,m=!1;if(null==e||isNaN(e))if(c.angle==d.angle){for(f=0,g=c.points;f<g.length;f++)if(h=g[f],b.IsPointInPolygon(h,d.points)){m=!0;break}}else Math.sqrt(Math.pow(c.center.x-d.center.x,2)+Math.pow(c.center.y-d.center.y,2))<=c.raidius+d.raidius&&(m=!0);else if(i=new a.RotateRect(c.centerx,c.centery,c.width+e,c.height+e,c.angle),j=new a.RotateRect(d.centerx,d.centery,d.width+e,d.height+e,d.angle),i.angle==j.angle){for(k=0,l=i.points;k<l.length;k++)if(h=l[k],b.IsPointInPolygon(h,j.points)){m=!0;break}}else Math.sqrt(Math.pow(i.center.x-j.center.x,2)+Math.pow(i.center.y-j.center.y,2))<=i.raidius+j.raidius&&(m=!0);return m},b.parseMargin=function(b){var c,d,e,f,g,h,i={};return a.core.isNumber(b)&&!isNaN(b)?i.top=i.bottom=i.left=i.right=a.core.asNumber(b):a.core.isString(b)&&(c=a.core.asString(b),d=c.split(" ",4),e=NaN,f=NaN,g=NaN,h=NaN,d&&(4==d.length?(e=parseFloat(d[0]),h=parseFloat(d[1]),f=parseFloat(d[2]),g=parseFloat(d[3])):2==d.length?(e=f=parseFloat(d[0]),g=h=parseFloat(d[1])):1==d.length&&(e=f=g=h=parseFloat(d[1])),isNaN(e)||(i.top=e),isNaN(f)||(i.bottom=f),isNaN(g)||(i.left=g),isNaN(h)||(i.right=h))),i},b.resetRect=function(a,b,c,d,e){a.left=b,a.top=c,a.width=d,a.height=e},b.translateRect=function(a,b,c){a.left+=b,a.top+=c},b.translateRectX=function(a,c){b.translateRect(a,c,0)},b.translateRectY=function(a,c){b.translateRect(a,0,c)},b.isNil=function(a){return a.right-a.left<=0||a.bottom-a.top<=0},b.getPoint=function(b){return new a.core.Point(b.left,b.top)},b.IsPointInPolygon=function(a,b){var c,d,e,f,g=b[0].x,h=b[0].x,i=b[0].y,j=b[0].y;for(c=1;c<b.length;c++)d=b[c],g=Math.min(d.x,g),h=Math.max(d.x,h),i=Math.min(d.y,i),j=Math.max(d.y,j);if(a.x<g||a.x>h||a.y<i||a.y>j)return!1;for(e=!1,c=0,f=b.length-1;c<b.length;f=c++)b[c].y>a.y!=b[f].y>a.y&&a.x<(b[f].x-b[c].x)*(a.y-b[c].y)/(b[f].y-b[c].y)+b[c].x&&(e=!e);return e},b.IsPointInPolygon2=function(a,b,c){var d,e,f,g=b[0],h=b[0],i=c[0],j=c[0];for(d=1;d<b.length;d++)g=Math.min(b[d],g),h=Math.max(b[d],h),i=Math.min(c[d],i),j=Math.max(c[d],j);if(a.x<g||a.x>h||a.y<i||a.y>j)return!1;for(e=!1,d=0,f=b.length-1;d<b.length;f=d++)c[d]>a.y!=c[f]>a.y&&a.x<(b[f]-b[d])*(a.y-c[d])/(c[f]-c[d])+b[d]&&(e=!e);return e},b.sort=function(a,b){var c,d,e;for(d=0;d<a.length;++d)for(e=0;e<a.length;++e)b(a[e],a[d])&&(c=a[e],a[e]=a[d],a[d]=c)},b.scale=function(a,b){var c,d;return b>0&&(c=a.width*b,d=a.height*b,a.left-=(c-a.width)/2,a.top-=(d-a.height)/2,a.width=c,a.height=d),a},b.pointToLine=function(a,c,d,e,f,g){var h,i,j=0,k=b.DQa(a,c,d,e),l=b.DQa(a,c,f,g),m=b.DQa(d,e,f,g);return m+l==k?j=0:k<=1e-6?j=l:m*m>=k*k+l*l?j=l:l*l>=k*k+m*m?j=m:(h=(k+l+m)/2,i=Math.sqrt(h*(h-k)*(h-l)*(h-m)),j=2*i/k)},b.DQa=function(a,b,c,d){var e=0;return e=Math.sqrt((a-c)*(a-c)+(b-d)*(b-d))},b}();a.x7=b}(d||(d={})),function(a){"use strict";var b,c=function(){function b(b,c,d,e,f){var g,h,i,j,k,l,m,n,o;this.angle=f,this.centerx=b,this.centery=c,this.width=d,this.height=e,this.points=[new a.core.Point,new a.core.Point,new a.core.Point,new a.core.Point,new a.core.Point,new a.core.Point,new a.core.Point,new a.core.Point,new a.core.Point],g=this.points[0],h=this.points[1],i=this.points[2],j=this.points[3],k=this.points[4],l=this.points[5],m=this.points[6],n=this.points[7],n.x=this.centerx+Math.cos(this.angle)*this.width/2,n.y=this.centery+Math.sin(this.angle)*this.width/2,m.x=2*this.centerx-n.x,m.y=2*this.centery-n.y,h.x=n.x+Math.sin(this.angle)*this.height/2,h.y=n.y-Math.cos(this.angle)*this.height/2,i.x=2*n.x-h.x,i.y=2*n.y-h.y,j.x=m.x-Math.sin(this.angle)*this.height/2,j.y=m.y+Math.cos(this.angle)*this.height/2,g.x=2*m.x-j.x,g.y=2*m.y-j.y,l.x=(j.x+i.x)/2,l.y=(j.y+i.y)/2,k.x=(g.x+h.x)/2,k.y=(g.y+h.y)/2,o=this.points[8],o.x=this.centerx,o.y=this.centery}return Object.defineProperty(b.prototype,"raidius",{get:function(){return Math.sqrt(Math.pow(this.center.x-this.leftTop.x,2)+Math.pow(this.center.y-this.leftTop.y,2))},enumerable:!0,configurable:!0}),b.prototype.offset=function(a,b,c){var d,e;for(d=0;d<this.points.length;++d)e=this.points[d],e.x+=a*Math.cos(c),e.y+=b*Math.sin(c)},Object.defineProperty(b.prototype,"leftTop",{get:function(){return this.points[0]},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"rightTop",{get:function(){return this.points[1]},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"leftBottom",{get:function(){return this.points[3]},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"rightBottom",{get:function(){return this.points[2]},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"centerTop",{get:function(){return this.points[4]},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"centerBottom",{get:function(){return this.points[5]},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"center",{get:function(){return this.points[8]},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"startPoint",{
get:function(){return new a.core.Point(this.centerx,this.centery)},enumerable:!0,configurable:!0}),b}();a.RotateRect=c,b=function(){function b(b,c,d,e,f){this.wPa=b,this.xPa=c,this.DIa=d,this.EIa=e,this.FIa=f,this.endPoint=new a.core.Point,this.endPoint.x=b+Math.sin(this.FIa)*e,this.endPoint.y=c-Math.cos(this.FIa)*e,this.startPoint=new a.core.Point,this.startPoint.x=b-Math.sin(this.FIa)*d,this.startPoint.y=c+Math.cos(this.FIa)*d}return b}(),a.RotateLine=b}(d||(d={})),function(a){"use strict";var b=function(){function b(b,c,d,e){this.HIa=a.ViewState.Visible,this.IQa=!1,this.oi=[],this.eb=1,b=isNaN(b)?0:b,c=isNaN(c)?0:c,d=isNaN(d)?0:d,e=isNaN(e)?0:e,this.JIa=new a.core.Rect(b,c,d,e),this.KIa=new a.eOa}return b.prototype.sS=function(a){return void 0===a?this.JIa:void(this.JIa=a)},b.prototype.bz=function(a){return void 0===a?this.HIa:void(this.HIa=a)},b.prototype.KQa=function(a){if(void 0===a)return!1},b.prototype.yPa=function(a){return void 0===a?this.LIa:void(this.LIa=a)},b.prototype._R=function(a,b){},b.prototype.yl=function(a){},b.prototype.refresh=function(){this.KIa.rect=this.sS()},b.prototype.measure=function(a,b){return null},b.prototype.onHitted=function(b){return b.contains(this.sS())?(this.KIa.rect=this.sS(),new a.HitInfo(new a.core.Point(b.x,b.y),this.datapoint,null,this,[a.ElementType.Shape],this.KIa)):null},b}();a.MIa=b}(d||(d={})),function(a){"use strict";var b=function(b){e(c,b);function c(){return null!==b&&b.apply(this,arguments)||this}return c.prototype.fPa=function(){return{opacity:null,stroke:"none",strokeWidth:0,strokeDasharray:null}},c.prototype.gPa=function(){return"none"},c.prototype.zPa=function(){return new a.options.bOa(null)},c.prototype.APa=function(){return this.NIa},c.prototype._R=function(b,c){var d,e;this.NIa=c,b.beginTransform(),this.OIa(b),d=this.NIa,null!=b.strokeWidth&&(d=this.APa().inflate(-b.strokeWidth,-b.strokeWidth)),e=this.zPa(),d=new a.core.Rect(d.left+e.left,d.top+e.top,d.width-e.left-e.right,d.height-e.top-e.bottom),b.restoreTransform(),this.PIa(b,d)},c.prototype.yl=function(a){if(!(this.APa().width<=0||this.APa().height<=0)){a.beginTransform(),this.OIa(a),this.QIa(a);var b=this.NIa;(null!=a.fill&&"transparent"!=a.fill&&"none"!=a.fill||null!=a.strokeWidth&&a.strokeWidth>0)&&(a.drawRect(this.APa().left+a.strokeWidth/2,this.APa().top+a.strokeWidth/2,this.APa().width-a.strokeWidth,this.APa().height-a.strokeWidth),b=this.APa().inflate(-a.strokeWidth,-a.strokeWidth)),a.restoreTransform(),this.RIa(a,b)}},c.prototype.SIa=function(b,c){var d,e,f=new a.core.Size(0,0);return b.beginTransform(),this.OIa(b),null!=b.strokeWidth&&(f.width+=2*b.strokeWidth,f.height+=2*b.strokeWidth,null!=c&&(c=c.clone(),c.width-=2*b.strokeWidth,c.height-=2*b.strokeWidth)),d=this.zPa(),f.width+=d.left+d.right,f.height+=d.top+d.bottom,null!=c&&(c=c.clone(),c.width-=d.left+d.right,c.height-=d.left+d.right),b.restoreTransform(),e=this.TIa(b,c),f.width+=e.width,f.height+=e.height,f},c.prototype.PIa=function(a,b){},c.prototype.TIa=function(b,c){return new a.core.Size(0,0)},c.prototype.OIa=function(b){a.GHa(b,this.fPa())},c.prototype.QIa=function(b){a.GHa(b,{fill:this.gPa()})},c}(a.MIa);a.UIa=b}(d||(d={})),function(a){"use strict";var b=function(){function a(a,b,c){this.BPa=a,this.setRadius(b),this.TJa=c}return a.prototype.setRadius=function(a){this.UJa=a,this.VJa=a*a},Object.defineProperty(a.prototype,"radius",{get:function(){return this.UJa},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"center",{get:function(){return this.BPa},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"item",{get:function(){return this.TJa},enumerable:!0,configurable:!0}),a.prototype.contains=function(a){var b=this.BPa.x-a.x,c=this.BPa.y-a.y;return b*b+c*c<=this.VJa},a.prototype.distance=function(a){var b=isNaN(a.x)?0:this.BPa.x-a.x,c=isNaN(a.y)?0:this.BPa.y-a.y,d=b*b+c*c;return d<=this.VJa?0:Math.sqrt(d)-this.UJa},a.prototype.getPoint=function(){return this.BPa},a}();a.WJa=b}(d||(d={})),function(a){"use strict";var b,c=function(){function a(){}return a}();a.XJa=c,b=function(){function b(a){this.mOa=[],this.VLa=a}return b.prototype.fPa=function(){return{opacity:null,stroke:"#666",strokeWidth:0,strokeDasharray:null}},b.prototype.gPa=function(){return"none"},b.prototype.WOa=function(){return{opacity:null,stroke:"#666",strokeWidth:1,strokeDasharray:null}},b.prototype.pta=function(){return this.VLa},b.prototype.yl=function(b){var c,d,e,f,g,h;for(this.mOa=[],c=0,d=this.pta().nPa();c<d.length;c++)if(e=d[c],f=e.getLabelPoints(),g=null,e instanceof a.WLa&&(g=e.LLa()),null==g){if(b.beginTransform(),this.GHa(b,e),f)for(h=0;h<f.length;h++)this.$Ja(b,e,f[h]);b.restoreTransform()}else{if(b.startGroup(null,g),b.beginTransform(),this.GHa(b,e),f)for(h=0;h<f.length;h++)this.$Ja(b,e,f[h]);b.restoreTransform(),b.endGroup()}},b.prototype.GHa=function(b,c){a.GHa(b,c.config.textStyle),a.GHa(b,c.config.text.style),a.GHa(b,c.config.text.textStyle)},b.prototype.OIa=function(b,c){a.GHa(b,this.fPa()),a.GHa(b,c.plotArea.parent.$z().style.borderStyle),a.GHa(b,c.plotArea.$z().style.borderStyle),a.GHa(b,c.config.text.style.borderStyle)},b.prototype.QIa=function(b,c){a.GHa(b,{fill:this.gPa()}),a.GHa(b,{fill:c.plotArea.parent.$z().style.backgroundColor}),a.GHa(b,{fill:c.plotArea.$z().style.backgroundColor}),a.GHa(b,{fill:c.config.text.style.backgroundColor})},b.prototype._Ja=function(b,c){a.GHa(b,this.WOa()),a.GHa(b,c.config.text.connectingLine)},b.prototype.aKa=function(a,b){return!(!a||!b)&&!(a.left>b.right||a.top>b.bottom||b.left>a.right||b.top>a.bottom)},b.prototype.$Ja=function(b,c,d){var e,f,g,h,i,j,k,l,m,n=this.pta().parent.QOa().toLines(d.item.dataLabelContentSite);if((!n||0!=n.length)&&(e=c.getLabelPosition(b,d,n))){if(f=e.rect,c.config&&c.config.text&&c.config.text.overlappingLabels===a.OverlappingLabels.Auto){for(g=0;g<this.mOa.length;++g)(this.mOa[g].rectangle===f||this.aKa(this.mOa[g].rectangle,f))&&(f=null);f&&this.mOa.push({rectangle:f,model:d.item,plot:c})}if(f){for(null!=e.pt1&&null!=e.pt2&&(b.beginTransform(),this._Ja(b,c),b.drawLine(e.pt1.x,e.pt1.y,e.pt2.x,e.pt2.y,a.GSa,{opacity:c.config.text.connectingLine.opacity,stroke:c.config.text.connectingLine.stroke,strokeWidth:c.config.text.connectingLine.strokeWidth}),b.restoreTransform()),b.startGroup(a.ASa),b.beginTransform(),this.OIa(b,c),this.QIa(b,c),h=e.rect.inflate(2,0),h.top-=h.height,h=h.inflate(b.strokeWidth,b.strokeWidth),a.UHa(b,h),b.restoreTransform(),i=e.rect.top-e.rect.height,j=0,k=n;j<k.length;j++)l=k[j],m=b.measureString(l),i+=m.height,b.drawString(l,new a.core.Point(e.rect.left,i));b.endGroup()}}},b.prototype.onHitted=function(b){var c,d,e,f;for(c=0,d=this.mOa;c<d.length;c++)if(e=d[c],f=e.rectangle.inflate(2,0),f.top-=f.height,b.contains(f))return new a.HitInfo(new a.core.Point(b.x,b.y),e.model,e.plot,e,[a.ElementType.Label],null);return null},b}(),a.Nza=b}(d||(d={})),function(a){"use strict";var b,c=function(){function a(a,c,d,e,f,g){this.PMa=!1,this.BPa=a,this.CPa=c,this.QMa=d,this.RMa=e,this.SMa=f,f>=2*Math.PI&&(this.PMa=!0),this.DPa=.5*f*180/Math.PI,this.FIa=b.clampAngle(180*e/Math.PI+this.DPa),this.TMa=c*c,this.UMa=d*d,this.TJa=g}return Object.defineProperty(a.prototype,"item",{get:function(){return this.TJa},enumerable:!0,configurable:!0}),a.prototype.contains=function(a){var c,d,e=a.x-this.BPa.x,f=a.y-this.BPa.y,g=e*e+f*f;return!!(g>=this.UMa&&g<=this.TMa&&(c=180*Math.atan2(f,e)/Math.PI,d=b.clampAngle(this.FIa-c),this.PMa||Math.abs(d)<=this.DPa))},a.prototype.distance=function(a){if(this.contains(a))return 0},a.prototype.getPoint=function(){return this.BPa},Object.defineProperty(a.prototype,"center",{get:function(){return this.BPa},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"radius",{get:function(){return this.CPa},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"langle",{get:function(){return this.FIa},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"angle",{get:function(){return this.RMa},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"sweep",{get:function(){return this.SMa},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"innerRadius",{get:function(){return this.QMa},enumerable:!0,configurable:!0}),a}();a.DonutArea=c,b=function(){function a(){}return a.clampAngle=function(a){var b=(a+180)%360-180;return b<-180&&(b+=360),b},a.isRectOverlap=function(a,b){return!(!a||!b)&&!(a.left>b.right||a.top>b.bottom||b.left>a.right||b.top>a.bottom)},a}()}(d||(d={})),function(a){"use strict";var b,c,d=function(c){e(d,c);function d(a,b,d,e){var f,g,h,i=c.call(this)||this;for(i.jCa=a,i.eAa=b,i.DRa=d,i.bKa=i.cKa(b),null!=i.bKa&&i.oi.push(i.bKa),i.dKa=i.eKa(b),null!=i.dKa&&i.oi.push(i.dKa),i.fKa=i.gKa(b.plotAreas,e),f=0,g=i.fKa;f<g.length;f++)h=g[f],i.oi.push(h);return i}return Object.defineProperty(d.prototype,"parent",{get:function(){return this.jCa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"header",{get:function(){return this.bKa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"footer",{get:function(){return this.dKa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"plotAreas",{get:function(){return this.fKa},enumerable:!0,configurable:!0}),d.prototype.$z=function(){return this.eAa},d.prototype.OOa=function(){if(null==this.Uza)if(Array.isArray(this.$z().palette))this.Uza=new a.models.Wza(this.$z().palette);else{var b=a.Palette[this.$z().palette];this.Uza=new a.models.Wza(a.models.Xza[b])}return this.Uza},d.prototype.POa=function(){return null==this.Yza&&(this.Yza=new a.models.Zza),this.Yza},d.prototype.lPa=function(){if(null==this.$za){var b=a.plugins._za("Default");b&&(this.$za=b.create())}return this.$za},d.prototype.QOa=function(){if(null==this.aAa){var b=a.plugins.bAa("Default");b&&(this.aAa=b.create())}return this.aAa},d.prototype.ROa=function(){var b,c;return null==this.cAa&&(b=[],c=this.DRa.dateFormats,b="boolean"==typeof c?c?a.Vya:[]:c,this.cAa=new a.models.pRa(b)),this.cAa},d.prototype.yy=function(){return{strokeWidth:0,stroke:"#666",fill:"none",color:"#666",fontFamily:"Helvetica",fontSize:14}},d.prototype.N4=function(a){var b,c,d;for(b=0,c=this.plotAreas;b<c.length;b++)d=c[b],d.N4(a)},d.prototype.lAa=function(a){var b,c,d;for(b=0,c=this.plotAreas;b<c.length;b++)d=c[b],d.lAa(a)},d.prototype.PIa=function(a,c){a.beginTransform(),this.GHa(a),c=c.clone(),null!=this.header&&(this.header._R(a,c),c.top+=this.bKa.APa().height,c.height-=this.bKa.APa().height),null!=this.footer&&(this.footer._R(a,c),c.height-=this.dKa.APa().height);var d=new b(this.$z().plotAreaLayout);d._R(a,c,this.fKa),a.restoreTransform()},d.prototype.RIa=function(a,b){var c,d,e;for(a.beginTransform(),this.GHa(a),null!=this.header&&this.header.yl(a),null!=this.footer&&this.footer.yl(a),c=0,d=this.plotAreas;c<d.length;c++)e=d[c],e.yl(a);a.restoreTransform()},d.prototype.GHa=function(b){a.GHa(b,this.yy()),a.GHa(b,this.$z().style),a.GHa(b,this.$z().textStyle)},d.prototype.OIa=function(b){c.prototype.OIa.call(this,b),a.GHa(b,this.$z().style.borderStyle),a.GHa(b,this.$z().borderStyle)},d.prototype.QIa=function(b){c.prototype.QIa.call(this,b),a.GHa(b,{fill:this.$z().style.backgroundColor}),a.GHa(b,{fill:this.$z().backgroundColor})},d.prototype.cKa=function(b){return null!=b.header&&b.header.length>0?new a.hKa(this):null},d.prototype.eKa=function(b){return null!=b.footer&&b.footer.length>0?new a.iKa(this):null},d.prototype.gKa=function(b,c){var d,e,f,g,h,i=[];if(null!=b&&b.length>0)for(d=0,e=b;d<e.length;d++)f=e[d],g=this.jKa(f,c),null!=g&&i.push(g);else for(h=0;h<c.length;h++)g=this.jKa(new a.options.dFa({row:h,column:0}),[c[h]]),null!=g&&i.push(g);return i},d.prototype.jKa=function(b,c){return new a.kKa(this,b,c)},d.prototype.onHitted=function(b){var c,d,e,f;if(b.contains(this.APa())){for(c=0,d=this.oi;c<d.length;c++)if(e=d[c],f=e.onHitted(b),null!=f)return f.elementType.push(a.ElementType.Control),f;return new a.HitInfo(new a.core.Point(b.x,b.y),this,null,this,[a.ElementType.Control],null)}return null},d}(a.UIa);a.kAa=d,b=function(){function b(a){this.eAa=a}return b.prototype._R=function(b,c,d){var e,f,g,h,i,j,k,l,m=NaN,n=NaN;for(e=0,f=d;e<f.length;e++)g=f[e],n=isNaN(n)?g.column:Math.max(n,g.column),m=isNaN(m)?g.row:Math.max(m,g.row);if(!isNaN(m)&&!isNaN(n))for(m++,n++,h=this.lKa(c.width,n,this.eAa.columnWidths),i=this.lKa(c.height,m,this.eAa.rowHeights),j=function(d){var e,f=0;h.forEach(function(a,b){return f+=b<d.column?a:0}),e=0,i.forEach(function(a,b){return e+=b<d.row?a:0}),d._R(b,new a.core.Rect(c.left+f,c.top+e,h[d.column],i[d.row]))},k=0,l=d;k<l.length;k++)g=l[k],j(g)},b.prototype.lKa=function(a,b,d){var e,f,g,h,i,j,k,l,m,n=[];for(e=0,f=d;e<f.length;e++)g=f[e],n.push(this.mKa(g));for(h=[],i=0,j=0,k=0;k<b;k++)l={value:1,unit:c.Auto},k>0&&k<n.length&&(l=n[k]),l.unit==c.Pixel?(h.push(l.value),i+=l.value):(h.push(NaN),j+=l.value);for(m=(a-i)/j,k=0;k<b;k++)l={value:1,unit:c.Auto},k>0&&k<n.length&&(l=n[k]),l.unit==c.Pixel?h[k]=l.value:h[k]=m*l.value;return h},b.prototype.mKa=function(a){var b;return"string"==typeof a?a.indexOf("*")>=0?(a=a.replace("*",""),b=parseFloat(a),isNaN(b)?{value:1,unit:c.Auto}:{value:b,unit:c.Star}):(b=parseFloat(a),isNaN(b)?{value:1,unit:c.Auto}:{value:b,unit:c.Pixel}):"number"==typeof a?{value:a,unit:c.Pixel}:{value:1,unit:c.Auto}},b}(),function(a){a[a.Auto=0]="Auto",a[a.Pixel=1]="Pixel",a[a.Star=2]="Star"}(c||(c={}))}(d||(d={})),function(a){"use strict";var b,c,d,f=function(b){e(c,b);function c(c,d,e){var f,g,h,i,j,k,l=b.call(this)||this;for(l.nKa=[],l.oKa=[],l.sPa=0,l.jCa=c,l.eAa=d,l.nKa=l.pKa(e),(null==l.nKa||l.nPa().length<=0)&&l.nKa.push(new a.XOa(l)),l.nKa.forEach(function(a){l.qKa(a.radial)}),l.oi.push(l.EPa().axisX),l.oi.push(l.EPa().axisY),f=0,g=l.EPa().auxAxes;f<g.length;f++)h=g[f],l.oi.push(h);for(i=0,j=l.nKa;i<j.length;i++)k=j[i],l.oi.push(k);return l}return Object.defineProperty(c.prototype,"parent",{get:function(){return this.jCa},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"row",{get:function(){return this.$z().row},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"column",{get:function(){return this.$z().column},enumerable:!0,configurable:!0}),c.prototype.$z=function(){return this.eAa},c.prototype.nPa=function(){return this.nKa},c.prototype.oPa=function(){return null==this.NAa&&(this.NAa=new a.models.tPa(this)),this.NAa},c.prototype.zPa=function(){return this.$z().padding},c.prototype.EPa=function(){return this.wKa},c.prototype.FPa=function(){return null==this.oOa&&(this.oOa=new a.Nza(this)),this.oOa},c.prototype.N4=function(a){var b,c,d;for(b=0,c=this.nPa();b<c.length;b++)d=c[b],d.Query(a)},c.prototype.lAa=function(a){var b,c,d,e,f,g;for(this.sPa=0,b=0,c=this.nPa();b<c.length;b++)d=c[b],d.bindData(a);for(this.oKa=this.rKa(),e=0,f=this.oKa;e<f.length;e++)g=f[e],g.hidden||this.oi.unshift(g)},c.prototype.PIa=function(a,b){var c,e,f,g,h,i;for(a.beginTransform(),this.GHa(a),c=new d,b=c._R(a,b,this.oKa),e=0,f=this.nPa();e<f.length;e++)g=f[e],g.measure(a,b);for(this.EPa()._R(a,b),h=0,i=this.nPa();h<i.length;h++)g=i[h],g._R(a,b);a.restoreTransform()},c.prototype.RIa=function(b,c){var d,e,f,g,h,i;for(b.startGroup(a.vSa),b.beginTransform(),this.GHa(b),d=0,e=this.oKa;d<e.length;d++)f=e[d],f.yl(b);for(this.EPa().render(b),g=0,h=this.nPa();g<h.length;g++)i=h[g],i.render(b);this.FPa().yl(b),b.restoreTransform(),b.endGroup()},c.prototype.TIa=function(b,c){return new a.core.Size(0,0)},c.prototype.GHa=function(b){a.GHa(b,this.$z().style),a.GHa(b,this.$z().textStyle)},c.prototype.QIa=function(c){b.prototype.QIa.call(this,c),a.GHa(c,{fill:this.parent.$z().style.backgroundColor}),a.GHa(c,{fill:this.$z().style.backgroundColor}),a.GHa(c,{fill:this.$z().backgroundColor})},c.prototype.pKa=function(b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r=[];if(this.eAa.axes.length>0){for(c={},d=0,e=this.eAa.axes;d<e.length;d++)if(f=e[d],null!=f.plots)for(g=function(d){null==c[d]&&(c[d]=a.core.find(b,function(a){return a.name==d}))},h=0,i=f.plots;h<i.length;h++)j=i[h],g(j);for(k=0,l=b;k<l.length;k++)m=l[k],null!=m&&(n=c[m.name],null!=n&&(o=this.tKa(n),null!=o&&(o.plotArea=this,r.push(o))))}else for(p=0,q=b;p<q.length;p++)m=q[p],o=this.tKa(m),null!=o&&(o.plotArea=this,r.push(o));return r},c.prototype.tKa=function(b){if(null!=b.type){var c=a.xHa(b.type);if(c)return c.create(this,b)}return null},c.prototype.rKa=function(){var b,c,d,e,f,g,h=[];for(b=0,c=this.nPa();b<c.length;b++)if(d=c[b],null!=d.legends)for(e=0,f=d.legends;e<f.length;e++)g=f[e],h.push(new a.uKa(g));return this.oPa().gRa&&h.push(new a.uKa(this.oPa().gRa)),h},c.prototype.onHitted=function(b){var c,d,e,f,g;if(b.contains(this.APa())){if(c=this.FPa().onHitted(b),null!=c)return c.elementType.push(a.ElementType.PlotArea),c;for(d=0,e=this.oi;d<e.length;d++)if(f=e[d],g=f.onHitted(b),null!=g)return g.elementType.push(a.ElementType.PlotArea),g;return new a.HitInfo(new a.core.Point(b.x,b.y),null,null,this,[a.ElementType.PlotArea],null)}return null},c.prototype.qKa=function(b){var c,d,e=this;this.vKa=b,this.vKa?this.wKa=new a.xKa(this):this.wKa=new a.yKa(this),null!=this.eAa&&null!=this.eAa.axes&&(c=!0,d=!0,this.EPa().auxAxes.length=0,this.eAa.axes.forEach(function(b){var f;b.type==a.AxisType.X?c?(e.EPa().axisX.LQa(b),c=!1):e.vKa?(f=new a.zKa(e.wKa,b.type,b),e.EPa().auxAxes.push(f)):(f=new a.fEa(e.wKa,b.type,b),e.EPa().auxAxes.push(f)):b.type==a.AxisType.Y&&(d?(e.EPa().axisY.LQa(b),d=!1):e.vKa?(f=new a.zKa(e.EPa(),b.type,b),e.EPa().auxAxes.push(f)):(f=new a.fEa(e.EPa(),b.type,b),e.EPa().auxAxes.push(f)))}))},c.prototype.AKa=function(b){var c,d=this.EPa().axisX,e=this.EPa().getAxes();for(c=0;c<e.length;c++)e[c].axisType==a.AxisType.X&&e[c].plots&&e[c].plots.indexOf(b)>=0&&(d=e[c]);return d},c.prototype.le=function(b){var c,d=this.EPa().axisY,e=this.EPa().getAxes();for(c=0;c<e.length;c++)e[c].axisType==a.AxisType.Y&&e[c].plots&&e[c].plots.indexOf(b)>=0&&(d=e[c]);return d},c}(a.UIa);a.kKa=f,b=20,c=20,d=function(){function d(){}return d.prototype._R=function(b,c,d){var e,f,g,h=[],i=[],j=[],k=[];for(e=0,f=d;e<f.length;e++)switch(g=f[e],g.position){case a.Position.Left:h.push(g);break;case a.Position.Top:i.push(g);break;case a.Position.Right:j.push(g);break;case a.Position.Bottom:k.push(g);break;default:a.Yya(function(){return!1})}return c=this.BKa(b,c,h,a.Position.Left),c=this.BKa(b,c,j,a.Position.Right),c=this.BKa(b,c,i,a.Position.Top),c=this.BKa(b,c,k,a.Position.Bottom)},d.prototype.BKa=function(d,e,f,g){var h,i,j,k,l,m,n,o,p,q;if(f.length>0){for(h=new a.core.Size(0,0),i=[],j=new a.core.Size(0,0),k=0;k<f.length;k++){switch(l=f[k].SIa(d,e),h.width<l.width&&(h.width=l.width),h.height<l.height&&(h.height=l.height),g){case a.Position.Left:case a.Position.Right:j.height+=l.height;break;case a.Position.Top:case a.Position.Bottom:j.width+=l.width}i.push(new a.core.Rect(e.left,e.top,l.width,l.height))}switch(m=e.clone(),g){case a.Position.Left:m.width-=h.width+2*c,m.left+=h.width+2*c;break;case a.Position.Right:m.width-=h.width+2*c;break;case a.Position.Top:m.height-=h.height+2*c,m.top+=h.height+2*c;break;case a.Position.Bottom:m.height-=h.height+2*c}if(g===a.Position.Left||g===a.Position.Right)for(n=(e.height-j.height-b*(f.length-1))/2,n<0&&(n=0),k=0;k<f.length;k++)o=i[k],g===a.Position.Left?o.left+=c:g===a.Position.Right&&(o.left=e.right-c-h.width),o.top+=n,f[k]._R(d,o),n+=o.height+b;else for(p=(e.width-j.width-b*(f.length-1))/2,p<0&&(p=0),k=0;k<f.length;k++)q=i[k],g===a.Position.Top?q.top+=c:g===a.Position.Bottom&&(q.top=e.bottom-c-h.height),q.left+=p,f[k]._R(d,q),p+=q.width+b;return m}return e},d}()}(d||(d={})),function(a){"use strict";var b,c;!function(a){a[a.X=0]="X",a[a.Y=1]="Y",a[a.XY=2]="XY"}(b||(b={})),c=function(){function c(a,b){this.sS=a,this.TJa=b}return Object.defineProperty(c.prototype,"rect",{get:function(){return this.sS},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"item",{get:function(){return this.TJa},enumerable:!0,configurable:!0}),c.prototype.contains=function(a){var b=this.sS;return a.x>=b.left&&a.x<=b.right&&a.y>=b.top&&a.y<=b.bottom},c.prototype.pointDistance=function(a,c,d){var e=c.x-a.x,f=c.y-a.y;return d==b.X?Math.abs(e):d==b.Y?Math.abs(f):Math.sqrt(e*e+f*f)},c.prototype.distance=function(c){var d,e=b.XY;return null===c.x?e=b.Y:null===c.y&&(e=b.X),d=this.sS,c.x<d.left?c.y<d.top?this.pointDistance(c,new a.core.Point(d.left,d.top),e):c.y>d.bottom?this.pointDistance(c,new a.core.Point(d.left,d.bottom),e):e==b.Y?0:d.left-c.x:c.x>d.right?c.y<d.top?this.pointDistance(c,new a.core.Point(d.right,d.top),e):c.y>d.bottom?this.pointDistance(c,new a.core.Point(d.right,d.bottom),e):e==b.Y?0:c.x-d.right:e==b.X?0:c.y<d.top?d.top-c.y:c.y>d.bottom?c.y-d.bottom:0},c.prototype.getPoint=function(){return new a.core.Point(this.rect.left+.5*this.rect.width,this.rect.top+.5*this.rect.height)},c}(),a.CKa=c}(d||(d={})),function(a){"use strict";var b=function(){function b(a,b){this.fua=b,this.sS=a,this.fua&&0!=this.fua.length||this.BMa()}return Object.defineProperty(b.prototype,"rect",{get:function(){return this.sS},set:function(a){this.sS=a,this.fua&&0!=this.fua.length||this.BMa()},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"points",{get:function(){return this.fua},set:function(a){this.fua=a},enumerable:!0,configurable:!0}),b.prototype.BMa=function(){this.sS&&(this.fua=[],this.fua.push(new a.core.Point(this.sS.left,this.sS.top)),this.fua.push(new a.core.Point(this.sS.right,this.sS.top)),this.fua.push(new a.core.Point(this.sS.right,this.sS.bottom)),this.fua.push(new a.core.Point(this.sS.left,this.sS.bottom)))},b.prototype.yl=function(b,c){if(c){var d=a.plugins.OSa("dot").create();this.fua&&this.fua.length>0&&d.render(b,this.fua)}},b}();a.eOa=b}(d||(d={})),function(a){"use strict";var b=function(b){e(c,b);function c(){return b.call(this)||this}return c.prototype.PIa=function(a,b){},c.prototype.RIa=function(b,c){null!=this._text()&&this._text().length>0&&(b.beginTransform(),this.GHa(b),b.drawString(this._text(),new a.core.Point(c.left,c.bottom)),b.restoreTransform())},c.prototype.TIa=function(b,c){var d=new a.core.Size(0,0);return null!=this._text()&&this._text().length>0&&(b.beginTransform(),this.GHa(b),d=b.measureString(this._text()),b.restoreTransform()),d},c.prototype.GHa=function(a){},c}(a.UIa);a.DKa=b}(d||(d={})),function(a){"use strict";a.ERa=2,a.FRa=4;var b=function(){function b(b,c,d){this.VIa=.25,this.WIa=1,this.XIa=1,this.YIa=1,this.ZIa=4,this.$Ia=[],this.dJa=[],this.UP={left:0,top:0,right:0,bottom:0},this.eJa=a.AxisType.X,this.fJa=!1,this.fTa=NaN,this.gTa=[],this.gJa=null,this.hJa=null,this.rangeChanged=new a.core.Event,this.jCa=b,this.eJa=c,this.eAa=d}return b.prototype.GPa=function(a){return void 0===a?this.mJa:void(this.mJa=a)},b.prototype.LQa=function(a){null!=a&&(this.eAa=a)},b.prototype.HPa=function(){return this.axisType===a.AxisType.X?a.ySa:a.zSa},b.prototype.VOa=function(){return{opacity:null,stroke:"#666",strokeWidth:1,strokeDasharray:null}},b.prototype.hPa=function(){return{opacity:null,stroke:"#666",strokeWidth:1,strokeDasharray:null}},b.prototype.iPa=function(){return{opacity:null,stroke:"#666",strokeWidth:1,strokeDasharray:null}},b.prototype.IPa=function(){return{opacity:null,stroke:"#666",strokeWidth:1,strokeDasharray:null}},b.prototype.JPa=function(){return{opacity:null,stroke:"#666",strokeWidth:1,strokeDasharray:null}},Object.defineProperty(b.prototype,"rect",{get:function(){return this.lJa},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"hostElement",{get:function(){return this._hostElement},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"actualMin",{get:function(){return this.fJa?new Date(this.GPa().min):this.GPa().min},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"actualMax",{get:function(){return this.fJa?new Date(this.GPa().max):this.GPa().max},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"min",{get:function(){return this.eAa.min},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"max",{get:function(){return this.eAa.max},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"reversed",{get:function(){return this.eAa.reversed},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"position",{get:function(){return this.eAa.position},enumerable:!0,configurable:!0}),b.prototype.getPosition=function(){return this.position==a.AxisPosition.None?null:this.axisType==a.AxisType.X?this.position==a.AxisPosition.Near?a.Position.Bottom:a.Position.Top:this.axisType==a.AxisType.Y?this.position==a.AxisPosition.Near?a.Position.Left:a.Position.Right:null},Object.defineProperty(b.prototype,"majorUnit",{get:function(){return this.eAa.majorUnit},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"minorUnit",{get:function(){return this.eAa.minorUnit},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"name",{get:function(){return this.Cj},set:function(b){b!=this.Cj&&(this.Cj=a.core.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"title",{get:function(){return this.eAa.title},set:function(b){b!==this.eAa.title&&(this.eAa.title=a.core.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"format",{get:function(){return this.eAa.format},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"majorGrid",{get:function(){return this.eAa.majorGrid},set:function(b){null!=b&&b!=this.eAa.majorGrid&&(this.eAa.majorGrid=a.core.asBoolean(b,!0),this.$p())},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"majorTicks",{get:function(){return this.eAa.majorTicks},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"minorGrid",{get:function(){return this.eAa.minorGrid},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"minorTicks",{get:function(){return this.eAa.minorTicks},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"axisLine",{get:function(){return this.eAa.axisLine},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"labels",{get:function(){return this.eAa.labels},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"labelAlign",{get:function(){return this.rJa},set:function(b){b!=this.rJa&&(this.rJa=a.core.asString(b,!0),this.$p())},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"textStyle",{get:function(){return this.eAa.textStyle},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"labelStyle",{get:function(){return this.eAa.labelStyle},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"labelAngle",{get:function(){return this.eAa.labelAngle},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"origin",{get:function(){return this.eAa.origin},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"overlappingLabels",{get:function(){return this.eAa.overlappingLabels},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"itemFormatter",{get:function(){return this.vJa},set:function(b){this.vJa!=b&&(this.vJa=a.core.asFunction(b,!0),this.$p())},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"logBase",{get:function(){return null==this.eAa.logBase?10:this.eAa.logBase},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"scale",{get:function(){return this.eAa.scale},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"majorTickSize",{get:function(){return this.eAa.majorTickSize},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"minorTickSize",{get:function(){return this.eAa.minorTickSize},enumerable:!0,configurable:!0}),b.prototype.yJa=function(){},b.prototype.onRangeChanged=function(a){this.rangeChanged.raise(this,a)},b.prototype.zJa=function(b,c,d,e){var f,g,h,i,j,k,l,m,n,o=a.ASa,p=0,q=e+1;for(f=0;f<c.length;++f)g=0,c[f]&&c[f].children&&c[f].children.length>0&&this.zJa(b,c[f].children,d,q),h=c[f].label,i=b.measureString(h,o,this.HPa()),j=i.height,k=i.width,d&&(l=d*Math.PI/180,m=i.width,n=i.height,k=m*Math.abs(Math.cos(l))+n*Math.abs(Math.sin(l)),j=m*Math.abs(Math.sin(l))+n*Math.abs(Math.cos(l))),this.axisType==a.AxisType.X?p<j+this.ZIa&&(p=j+this.ZIa):p<k+this.ZIa&&(p=k+this.ZIa);for(;this.dJa.length<e+1;)this.dJa.push(0);this.dJa[e]<p&&(this.dJa[e]=p)},b.prototype.AJa=function(b,c,d){var e=0,f=d,g=this.YIa,h=c;return void 0!==h&&null!==h||(h=a.TickMark.Outside),h==a.TickMark.Outside?g=1:h==a.TickMark.Inside?g=-1:h==a.TickMark.Cross&&(g=0),h!=a.TickMark.None&&(e+=.5*(1+g)*f),e},b.prototype.BJa=function(b){var c,d=a.BSa,e=0;return this.title&&(a.GHa(b,this.titleStyle),c=this.title,this.CJa=b.measureString(c,d,this.HPa()),e=this.CJa.height),e},b.prototype.DJa=function(b,c){var d,e,f;if(null!=this.EJa&&this.EJa.isOrdinal){if(this.EJa.groupLevels>0){for(a.GHa(b,this.style),d=this.EJa.groups,this.zJa(b,d,c,0),e=0,f=0;f<this.dJa.length;++f)e+=this.dJa[f];return e}return 0}return 0},b.prototype.SIa=function(a,b){return 0},b.prototype.FJa=function(a){return this.eAa.format?this.eAa.format:this.fJa?null:Math.round(a)?"n0":"n"},b.prototype.GJa=function(b){this.EJa=b,this.fJa||(this.fJa=this.EJa.dataType==a.core.DataType.Date)},Object.defineProperty(b.prototype,"offset",{get:function(){return this.UP},set:function(a){this.UP=a},enumerable:!0,configurable:!0}),b.prototype._R=function(a,b,c){},b.prototype.yl=function(a){},b.prototype.convert=function(a,b,c){return this.mJa.getScaleValue(a)},Object.defineProperty(b.prototype,"axisType",{get:function(){return this.eJa},enumerable:!0,configurable:!0}),b.prototype.HJa=function(){return this.GPa().min},b.prototype.IJa=function(){return this.GPa().max},b.prototype.$p=function(){},b.prototype.lPa=function(){return this.EPa().pta().parent.lPa()},b.prototype.JJa=function(a){if(this.fJa)return this.eAa.format?this.lPa().format(this.eAa.format,new Date(a)):this.lPa().format(this._tfmt,new Date(a));if(this.eAa.format)return this.lPa().format(this.eAa.format,a);var b=a==Math.round(a)?"n0":"n";return this.lPa().format(b,a)},Object.defineProperty(b.prototype,"type",{get:function(){return this.eAa.type},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"plots",{get:function(){return this.eAa.plots},enumerable:!0,configurable:!0}),b.prototype.EPa=function(){return this.jCa},Object.defineProperty(b.prototype,"style",{get:function(){return this.eAa.style},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"titleStyle",{get:function(){return this.eAa.titleStyle},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"majorGridStyle",{get:function(){return this.eAa.majorGridStyle},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"minorGridStyle",{get:function(){return this.eAa.minorGridStyle},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"majorTickStyle",{get:function(){return this.eAa.majorTickStyle},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"minorTickStyle",{get:function(){return this.eAa.minorTickStyle},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"lineStyle",{get:function(){return this.eAa.lineStyle},enumerable:!0,configurable:!0}),b.prototype.onHitted=function(a){return null},b.MAX_MAJOR=1e3,b.MAX_MINOR=2e3,b.yn=0,b}();a.QJa=b}(d||(d={})),function(a){"use strict";var b=function(){function b(a){this.VLa=a}return b.prototype.fPa=function(){return{opacity:null,stroke:"none",strokeWidth:0,strokeDasharray:null}},b.prototype.pta=function(){return this.VLa},b.prototype.OIa=function(b){a.GHa(b,this.fPa()),a.GHa(b,this.pta().parent.$z().style.borderStyle),a.GHa(b,this.pta().$z().style.borderStyle),a.GHa(b,this.pta().$z().borderStyle)},b.prototype.QIa=function(b){a.GHa(b,{fill:this.pta().$z().style.fill})},b}();a.RJa=b}(d||(d={})),function(a){"use strict";var b=6,c=function(c){e(d,c);function d(a,b,d){return c.call(this,a,b,d)||this}return d.prototype.getPosition=function(){return this.position==a.AxisPosition.None?null:this.axisType==a.AxisType.X?this.position==a.AxisPosition.Near?a.Position.Bottom:a.Position.Top:this.axisType==a.AxisType.Y?this.position==a.AxisPosition.Near?a.Position.Left:a.Position.Right:null;
},d.prototype.yJa=function(){var c,d,e,f;for(c=0;c<this.$Ia.length;++c)if(d=this.$Ia[c],d&&!d.hidden)for(e=c+1;e<this.$Ia.length&&(f=this.$Ia[e],f&&a.x7.isMixedRotatedRect(d.labelRect,f.labelRect,b));++e)f.hidden=!0},d.prototype.EKa=function(a,c,d){var e,f,g,h,i,j,k,l,m,n,o=this.GPa().ticks;if(null!=o&&o.length>0)for(e=o.length,f=0;f<e-1;f++)if(g=o[f],h=o[f+1],g>=this.EJa.min&&g<=this.EJa.max&&(i=this.mJa.getScaleValue(g),j=this.mJa.getScaleValue(h),k=this.EJa.labelFromValue(this.fJa?new Date(g):g,this.GPa().format),l=this.EJa.labelFromValue(this.fJa?new Date(h):h,this.mJa.format),m=a.measureString(k,d,this.HPa()),n=a.measureString(l,d,this.HPa()),f>0&&Math.abs(i-j)<(m.width+n.width)/2+b))return!0;return!1},d.prototype.SIa=function(b,c){var d,e,f,g,h,i,j,k,l;return c<0&&(c=0),b.beginTransform(),a.GHa(b,this.style),a.GHa(b,this.textStyle),d=a.ASa,this.FKa=void 0,e=0,f=this.labelAngle,this.fJa?(this.min instanceof Date?this.mJa.min=this.min.getTime():"number"==typeof this.min&&(this.mJa.min=this.min),this.max instanceof Date?this.mJa.max=this.max.getTime():"number"==typeof this.max&&(this.mJa.max=this.max)):(isNaN(this.min)||(this.mJa.min=this.min),isNaN(this.max)||(this.GPa().max=this.max)),null==this.majorUnit||isNaN(this.majorUnit)||(this.GPa().unit=this.majorUnit),this.mJa.format=this.FJa(),this.GKa=this.getMaxLableSize(b),this.axisType===a.AxisType.X?this.mJa.range([this.GKa.width/2,c-this.GKa.width/2]).refresh():this.axisType===a.AxisType.Y&&this.mJa.range([this.GKa.height/2,c-this.GKa.height/2]).refresh(),this.GKa=this.getMaxLableSize(b),isNaN(this.majorUnit)&&(this.axisType===a.AxisType.X?this.mJa.tickNumber=c/(this.GKa.width+6):this.axisType===a.AxisType.Y&&(this.mJa.tickNumber=c/(this.GKa.height+6))),this.mJa.refresh(),void 0===f&&this.axisType==a.AxisType.X&&(this.EKa(b,c,d)?f=this.FKa=-45:this.FKa=0),f&&(g=f*Math.PI/180,h=this.GKa.width,i=this.GKa.height,this.GKa.width=h*Math.abs(Math.cos(g))+i*Math.abs(Math.sin(g)),this.GKa.height=h*Math.abs(Math.sin(g))+i*Math.abs(Math.cos(g))),j=this.GPa().ticks,this.labels&&(e+=this.eJa===a.AxisType.X?this.GKa.height:this.GKa.width),b.beginTransform(),a.GHa(b,this.titleStyle),e+=Math.max(this.AJa(b,this.majorTicks,this.majorTickSize),this.AJa(b,this.minorTicks,this.minorTickSize)),e+=this.BJa(b),this.axisType==a.AxisType.Y?(k=this.titleStyle.padding,l=this.labelStyle.padding,e+=k.iT()?a.FRa:k.left+k.right,e+=l.iT()?a.ERa:l.left+l.right):this.axisType===a.AxisType.X&&(k=this.titleStyle.padding,l=this.labelStyle.padding,e+=k.iT()?a.FRa:k.top+k.bottom,e+=l.iT()?a.ERa:l.top+l.bottom),this.EJa.isOrdinal&&(a.GHa(b,this.labelStyle),e+=this.DJa(b,f)),b.restoreTransform(),b.restoreTransform(),this.position==a.AxisPosition.None?0:e},d.prototype.getMaxLableSize=function(b){var c,d,e,f,g,h,i,j;for(b.beginTransform(),a.GHa(b,this.labelStyle),c=a.ASa,d=a.BSa,e=this.EJa.isOrdinal,f=new a.core.Size(0,0),g=0;g<this.GPa().ticks.length;++g)h=this.mJa.ticks[g],this.fJa&&!this.EJa.isOrdinal&&(h=new Date(h)),i=this.EJa.labelFromValue(h,e?null:this.GPa().format),j=b.measureString(i,c,this.HPa()),f.width<j.width&&(f.width=j.width),f.height<j.height&&(f.height=j.height);return b.restoreTransform(),f},d.prototype.HKa=function(b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F=a.ASa;if(null!==this.getPosition()){for(this.$Ia.length=0,b.beginTransform(),a.GHa(b,this.textStyle),a.GHa(b,this.labelStyle),c=this.IKa(),c<0&&(c=90+Math.abs(c)),d=this.position==a.AxisPosition.Near,e=this.EJa.isOrdinal,f=this.GPa().ticks,g=this.position===a.AxisPosition.Far,h=this.AJa(b,this.majorTicks,this.majorTickSize),i=this.majorTickSize,j=this.minorTickSize,k=this.AJa(b,this.minorTicks,this.minorTickSize),l=this.mJa.min,m=this.labelStyle.padding,n=0;f&&n<f.length;++n){for(o=f[n],p=n>=f.length?null:f[n+1],this.fJa&&!this.EJa.isOrdinal&&(o=new Date(o)),q=this.EJa.labelFromValue(o,this.GPa().format),r=b.measureString(q,F,this.HPa()),this.labels||(r.width=0,r.height=0),s=this.mJa.getScaleValue(o),t=NaN,u=m.iT()?a.ERa:m.top,v=this.lJa.top+Math.max(h,k)+u,w=this.lJa.top,g&&(u=m.iT()?a.ERa:m.bottom,v=this.lJa.bottom-Math.max(h,k)-this.GKa.height-u,w=this.lJa.bottom),x=new a.AxisViewModel,x.hidden=!1,x.label=q,y=s,z=v+r.height/2,null!=c&&c>0&&(y=s+Math.cos(c*Math.PI/180)*r.width/2,z=v+r.height/2+Math.sin(c*Math.PI/180)*r.width/2),null!=c&&c<0&&(y=s-Math.cos(c*Math.PI/180)*r.width/2,z=v+r.height/2+Math.sin(c*Math.PI/180)*r.width/2),x.labelRect=new a.RotateRect(y,z,r.width,r.height,c*Math.PI/180),x.majorTickLine=new a.RotateLine(s,w,h,i-h,g?Math.PI:0),A=this.majorTicks,B=this.minorTicks,C=this.fJa?1e3*a.hEa.fromDays(this.minorUnit).TotalSeconds:this.minorUnit,Math.abs(C)<Math.abs(this.mJa.max-this.mJa.min)/100&&(C=null),(null==C||isNaN(C))&&(C=(p-o)/2);l<(n==f.length-1?this.mJa.max:p);)D=this.mJa.getScaleValue(l),E=w,l+=C,D!=s&&x.minorTickLines.push(new a.RotateLine(D,E,k,j-k,g?Math.PI:0));this.$Ia.push(x)}b.restoreTransform()}},d.prototype.JKa=function(b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E=a.ASa;if(null!==this.getPosition()){for(c=this.IKa(),b.beginTransform(),a.GHa(b,this.textStyle),a.GHa(b,this.labelStyle),d=this.position==a.AxisPosition.Near,e=this.GPa().ticks,f=this.position===a.AxisPosition.Far,g=this.AJa(b,this.majorTicks,this.majorTickSize),h=this.majorTickSize,i=this.minorTickSize,j=this.AJa(b,this.minorTicks,this.minorTickSize),k=this.mJa.min,l=this.labelStyle.padding,m=0;e&&m<e.length;++m){for(n=e[m],o=m>=e.length?null:e[m+1],this.fJa&&(n=new Date(n)),p=this.EJa.labelFromValue(n,this.GPa().format),q=b.measureString(p,E,this.HPa()),this.labels||(q.width=0,q.height=0),r=q.width,s=this.mJa.getScaleValue(n),t=l.iT()?a.ERa:l.right,u=this.lJa.right-Math.max(g,j)-t,v=this.lJa.right,f&&(t=l.iT()?a.ERa:l.left,u=this.lJa.left+Math.max(g,j)+t+q.width,v=this.lJa.left),w=new a.AxisViewModel,w.hidden=!1,w.label=p,x=u-q.width/2,y=s,null!=c&&0!=c&&(c<0?(x=u-Math.cos(c*Math.PI/180)*q.width/2,y=s-Math.sin(c*Math.PI/180)*q.width/2):(x=u-Math.sin(c*Math.PI/180)*q.width/2,y=s-Math.cos(c*Math.PI/180)*q.width/2)),w.labelRect=new a.RotateRect(x,y,q.width,q.height,c*Math.PI/180),w.majorTickLine=new a.RotateLine(v,s,g,h-g,Math.PI/2*(f?-1:1)),z=this.majorTicks,A=this.minorTicks,B=this.fJa?1e3*a.hEa.fromDays(this.minorUnit).TotalSeconds:this.minorUnit,Math.abs(B)<Math.abs(this.mJa.max-this.mJa.min)/100&&(B=null),(null==B||isNaN(B))&&(B=(o-n)/2);k<(m==e.length-1?this.mJa.max:o);)C=this.mJa.getScaleValue(k),D=v,k+=B,C!=s&&w.minorTickLines.push(new a.RotateLine(D,C,j,i-j,Math.PI/2*(f?-1:1)));this.$Ia.push(w)}b.restoreTransform()}},d.prototype.FJa=function(a){return this.format?this.format:this.fJa?null:Math.round(a)?"n0":"n"},d.prototype.GJa=function(b){this.EJa=b,this.fJa||(this.fJa=this.EJa.dataType==a.core.DataType.Date)},d.prototype._R=function(b,c,d){var e,f,g,h,i;null!=d&&(d.width<0&&(d.width=0),d.height<0&&(d.height=0),e=this.axisType==a.AxisType.Y,this.$Ia.length=0,this.KKa=d,e?this.lJa=new a.core.Rect(c.left,c.top,c.height,c.width):this.lJa=c,f=this.lJa.left+this.offset.left,g=this.lJa.width-(this.offset.left+this.offset.right),h=this.lJa.top+this.offset.top,i=this.lJa.height-(this.offset.top+this.offset.bottom),this.mJa.reversed=this.reversed,this.GPa().unit=this.majorUnit,this.axisType==a.AxisType.X?(this.mJa.range([f,f+g]),this.HKa(b)):this.axisType==a.AxisType.Y&&(this.mJa.range([h+i,h]),this.JKa(b)),this.overlappingLabels!=a.AxisOverlappingLabels.Show&&this.yJa(),this.hTa(b))},d.prototype.hTa=function(b){var c,d;b.beginTransform(),a.GHa(b,this.VOa()),a.GHa(b,this.lineStyle),c=this.position==a.AxisPosition.Near,d=this.axisType==a.AxisType.Y,b.strokeWidth>0&&"transparent"!=b.stroke&&"#00000000"!=b.stroke&&"rgba(0,0,0,0)"!=b.stroke&&(d?c?this.fTa=this.lJa.right:this.fTa=this.lJa.left:c?this.fTa=this.lJa.top:this.fTa=this.lJa.bottom),b.restoreTransform()},d.prototype.IKa=function(){var a=0;return this.labelAngle&&(a=this.labelAngle,a>90?a=90:a<-90&&(a=-90)),void 0===this.labelAngle&&void 0!==this.FKa&&(a=this.FKa),a},d.prototype.yl=function(b){var c,d,e,f,g,h,i,j,k,l,m,n;if(null!=this.lJa&&!a.x7.isNil(this.lJa)&&this.position!=a.AxisPosition.None&&(b.beginTransform(),a.GHa(b,this.style),a.GHa(b,this.textStyle),c=this.VIa,null!==this.getPosition())){for(b.startGroup(this.HPa()),this.cEa={},d=this.IKa(),e=this.axisType==a.AxisType.Y,f=this.position==a.AxisPosition.Near,g=0,h=this.$Ia;g<h.length;g++)i=h[g],i&&((this.majorGrid||this.minorGrid)&&this.MKa(b,i),(this.majorTicks||this.minorTicks)&&this.NKa(b,i),!i.hidden&&this.labels&&(this.OKa(i,d,b),this.PKa(b,i,d)));null!=this.EJa&&this.EJa.isOrdinal&&this.EJa.groups&&this.EJa.groups.length>0&&(j=this.majorTickSize,k=this.YIa,l=this.majorTicks,void 0!==l&&null!==l||(l=a.TickMark.Outside),l==a.TickMark.Outside?k=1:l==a.TickMark.Inside?k=-1:l==a.TickMark.Cross&&(k=0),m=.5*(k-1)*j,n=.5*(1+k)*j,f?(this.QKa(b,this.EJa.groups,1,this.lJa.right-n-this.ZIa-2-this.GKa.width,this.lJa.top+n+this.GKa.height,d),this.EJa.groupLevels>=1&&this.RKa(b,this.EJa.groups,[],1,this.lJa.right,this.lJa.top)):(this.QKa(b,this.EJa.groups,1,this.lJa.left+n+this.ZIa+2+this.GKa.width,this.lJa.bottom-n-this.GKa.height,d),this.EJa.groupLevels>=1&&this.RKa(b,this.EJa.groups,[],1,this.lJa.left,this.lJa.bottom))),this.SKa(b,e,f),this.TKa(b,e,f),b.endGroup(),b.restoreTransform()}},d.prototype.OKa=function(b,c,d){var e,f,g;for(d.beginTransform(),a.GHa(d,this.style),d.fill=this.style.backgroundColor||"none",e=[],f=[],g=0;g<4;++g)e[g]=b.labelRect.points[g].x,f[g]=b.labelRect.points[g].y;d.drawPolygon(e,f),d.restoreTransform()},d.prototype.NKa=function(b,c){var d,e;if(this.majorTicks!=a.TickMark.None&&c.majorTickLine&&(b.beginTransform(),a.GHa(b,this.hPa()),a.GHa(b,this.majorTickStyle),b.drawLine(c.majorTickLine.startPoint.x,c.majorTickLine.startPoint.y,c.majorTickLine.endPoint.x,c.majorTickLine.endPoint.y,a.CSa),b.restoreTransform()),this.minorTicks!=a.TickMark.None){for(b.beginTransform(),a.GHa(b,this.iPa()),a.GHa(b,this.minorTickStyle),d=0;d<c.minorTickLines.length;++d)e=c.minorTickLines[d],b.drawLine(e.startPoint.x,e.startPoint.y,e.endPoint.x,e.endPoint.y,a.DSa);b.restoreTransform()}},d.prototype.MKa=function(b,c){var d,e,f;if(this.majorGrid&&(b.beginTransform(),a.GHa(b,this.IPa()),a.GHa(b,this.majorGridStyle),this.axisType==a.AxisType.Y?this.gTa.indexOf(c.majorTickLine.startPoint.y)==-1&&b.drawLine(this.KKa.left,c.majorTickLine.startPoint.y,this.KKa.right,c.majorTickLine.startPoint.y,a.ESa):this.gTa.indexOf(c.majorTickLine.startPoint.x)==-1&&b.drawLine(c.majorTickLine.startPoint.x,this.KKa.top,c.majorTickLine.startPoint.x,this.KKa.bottom,a.ESa),b.restoreTransform()),this.minorGrid){for(b.beginTransform(),a.GHa(b,this.JPa()),a.GHa(b,this.minorGridStyle),d=0,e=c.minorTickLines;d<e.length;d++)f=e[d],this.axisType==a.AxisType.Y?this.gTa.indexOf(f.startPoint.y)==-1&&b.drawLine(this.KKa.left,f.startPoint.y,this.KKa.right,f.startPoint.y,a.FSa):this.gTa.indexOf(f.startPoint.x)==-1&&b.drawLine(f.startPoint.x,this.KKa.top,f.startPoint.x,this.KKa.bottom,a.FSa);b.restoreTransform()}},d.prototype.PKa=function(b,c,d){if(null!=c.label){b.beginTransform(),a.GHa(b,this.labelStyle),b.startGroup(a.ASa);var e=b.measureString(c.label);c.labelRect.angle>Math.PI/2?b.drawStringRotated(c.label,c.labelRect.rightTop,c.labelRect.rightTop,180*c.labelRect.angle/Math.PI+180):b.drawStringRotated(c.label,c.labelRect.leftBottom,c.labelRect.leftBottom,180*c.labelRect.angle/Math.PI),b.endGroup(),b.restoreTransform()}},d.prototype.RKa=function(b,c,d,e,f,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(b.beginTransform(),a.GHa(b,this.IPa()),a.GHa(b,this.majorGridStyle),h=this.axisType==a.AxisType.Y,i=a.CSa,j=this.position==a.AxisPosition.Near,h){if(k=f,j)for(l=0;l<this.dJa.length;++l)k-=this.dJa[l]-this.GKa.width;else for(l=0;l<this.dJa.length;++l)k+=this.dJa[l]+this.GKa.width;for(l=0;l<c.length;++l)m=c[l],n=m.children,d.indexOf(m.start)<0&&(o=this.convert(m.start-.5),b.drawLine(k,o,f,o,i,this.majorTickStyle),d.push(m.start)),d.indexOf(m.end)<0&&(p=this.convert(m.end+.5),b.drawLine(k,p,f,p,i,this.majorTickStyle),d.push(m.end)),n&&n.length>0&&this.RKa(b,n,d,e+1,f,g)}else{if(q=g,j)for(l=0;l<this.dJa.length;++l)q+=this.dJa[l]+this.GKa.height;else for(l=0;l<this.dJa.length;++l)q-=this.dJa[l]-this.GKa.height;for(l=0;l<c.length;++l)m=c[l],n=m.children,d.indexOf(m.start)<0&&(r=this.convert(m.start-.5),b.drawLine(r,g,r,q,i,this.majorTickStyle),d.push(m.start)),d.indexOf(m.end)<0&&(s=this.convert(m.end+.5),b.drawLine(s,g,s,q,i,this.majorTickStyle),d.push(m.end)),n&&n.length>0&&this.RKa(b,n,d,e+1,f,g)}b.restoreTransform()},d.prototype.QKa=function(b,c,d,e,f,g){var h,i,j;for(b.beginTransform(),a.GHa(b,this.labelStyle),h=0;h<c.length;++h)i=c[h],j=(i.start+i.end)/2,this.UKa(b,c[h].label,j,e,f,g,d),i.children&&i.children.length>0&&this.QKa(b,i.children,d+1,e,f,g);b.restoreTransform()},d.prototype.SKa=function(b,c,d){if(this.axisLine){b.beginTransform(),a.GHa(b,this.VOa()),a.GHa(b,this.lineStyle);var e=a.GSa;c?d?b.drawLine(this.lJa.right,this.lJa.top,this.lJa.right,this.lJa.bottom,e):b.drawLine(this.lJa.left,this.lJa.top,this.lJa.left,this.lJa.bottom,e):d?b.drawLine(this.lJa.left,this.lJa.top,this.lJa.right,this.lJa.top,e):b.drawLine(this.lJa.left,this.lJa.bottom,this.lJa.right,this.lJa.bottom,e),b.restoreTransform()}},d.prototype.TKa=function(b,c,d){var e,f,g,h;this.title&&(b.beginTransform(),a.GHa(b,this.titleStyle),e=a.BSa,g=2,h=this.titleStyle.padding,c?d?(g=h.iT()?0:h.left,f=new a.core.Point(this.lJa.left+.5*this.CJa.height+g,this.lJa.top+.5*this.lJa.height),a.VHa.renderRotatedText(b,this.title,f,1,1,f,-90,e,this.HPa())):(g=h.iT()?0:h.right,f=new a.core.Point(this.lJa.right-.5*this.CJa.height-g,this.lJa.top+.5*this.lJa.height),a.VHa.renderRotatedText(b,this.title,f,1,1,f,90,e,this.HPa())):d?(g=h.iT()?0:h.bottom,a.VHa.renderText(b,this.title,new a.core.Point(this.lJa.left+.5*this.lJa.width,this.lJa.bottom-g),1,2,e)):(g=h.iT()?0:h.top,a.VHa.renderText(b,this.title,new a.core.Point(this.lJa.left+.5*this.lJa.width,this.lJa.top+g),1,0,e)),b.restoreTransform())},d.prototype.UKa=function(b,c,d,e,f,g,h){var i,j,k,l,m=a.ASa,n=this.eJa==a.AxisType.Y,o=this.VKa(n),p=this.position==a.AxisPosition.Near;if(n)if(i=this.convert(d),j=e,p){for(k=this.dJa.length-1;k>h;--k)j-=this.dJa[k];l=new a.core.Point(j,i),g>0?90==g?a.VHa.renderRotatedText(b,c,l,1,0,l,g,m,this.HPa()):a.VHa.renderRotatedText(b,c,l,2,1,l,g,m,this.HPa()):g<0?g==-90?a.VHa.renderRotatedText(b,c,l,1,2,l,g,m,this.HPa()):a.VHa.renderRotatedText(b,c,l,2,1,l,g,m,this.HPa()):this.$Ja(b,d,c,l,2,o,m)}else{for(k=this.dJa.length-1;k>h;--k)j+=this.dJa[k];l=new a.core.Point(j,i),g>0?90==g?a.VHa.renderRotatedText(b,c,l,1,2,l,g,m,this.HPa()):a.VHa.renderRotatedText(b,c,l,0,1,l,g,m,this.HPa()):g<0?g==-90?a.VHa.renderRotatedText(b,c,l,1,0,l,g,m,this.HPa()):a.VHa.renderRotatedText(b,c,l,0,1,l,g,m,this.HPa()):this.$Ja(b,d,c,l,0,o,m)}else if(j=this.convert(d),p){for(i=f,k=this.dJa.length-1;k>h;--k)i+=this.dJa[k];l=new a.core.Point(j,i),0!=g?this.WKa(b,c,l,g,m,p):this.$Ja(b,d,c,l,o,0,m)}else{for(i=f,k=this.dJa.length-1;k>h;--k)i-=this.dJa[k];l=new a.core.Point(j,i),0!=g?this.WKa(b,c,l,g,m,p):this.$Ja(b,d,c,l,o,1,m)}},d.prototype.$Ja=function(b,c,d,e,f,g,h){var i,j,k,l=!1;return this.itemFormatter&&(i=e.clone(),this.axisType==a.AxisType.X?this.getPosition()==a.Position.Top?i.y=this.KKa.top:i.y=this.KKa.bottom:this.getPosition()==a.Position.Right?i.x=this.KKa.right:i.x=this.KKa.left,j={val:c,text:d,pos:i,cls:h},j=this.itemFormatter(b,j),j?(d=j.text,h=j.cls):d=null),d&&(k=a.VHa.renderText(b,d,e,f,g,h,null,null,null)),!0},d.prototype.WKa=function(b,c,d,e,f,g){var h,i,j,k,l;return!!c&&(h=b.measureString(c,f,this.HPa()),i=new a.core.Rect(d.x,d.y,h.height+2,h.width),j=this.overlappingLabels==a.AxisOverlappingLabels.Auto,90!=e&&e!=-90&&(k=.5*h.height*Math.abs(Math.sin(e*Math.PI/180)),g?d.y+=k:d.y-=k),l=g?e>0?0:2:e>0?2:0,a.VHa.renderRotatedText(b,c,d,l,1,d,e,f,this.HPa()),!0)},d.prototype.VKa=function(a){var b,c=1;return this.labelAlign&&(b=this.labelAlign.toLowerCase(),a?"top"==b?c=0:"bottom"==b&&(c=2):"left"==b?c=0:"right"==b&&(c=2)),c},d.prototype.convert=function(a,b,c){return this.mJa.getScaleValue(a)},Object.defineProperty(d.prototype,"axisType",{get:function(){return this.eJa},enumerable:!0,configurable:!0}),d.prototype.HJa=function(){return this.GPa().min},d.prototype.IJa=function(){return this.GPa().max},d.prototype.$p=function(){},d.prototype.LKa=function(a){var b,c=a?this.GKa.height:this.GKa.width,d=a?this.lJa.height:this.lJa.width;return c>0&&d>0?(b=Math.floor(d/(c+6)),b<=0&&(b=1),b):10},d.prototype.onHitted=function(b){return b.contains(this.lJa)?new a.HitInfo(new a.core.Point(b.x,b.y),this.EJa,null,this,[a.ElementType.Axis],null):null},d}(a.QJa);a.fEa=c}(d||(d={})),function(a){"use strict";var b=function(b){e(c,b);function c(c){var d=b.call(this,c)||this;return d.XKa=[],d.YKa=new a.fEa(d,a.AxisType.X,new a.options.QEa({})),d.ZKa=new a.fEa(d,a.AxisType.Y,new a.options.QEa({})),d}return c.prototype.getAxes=function(){var a=[this.ZKa,this.YKa];return this.auxAxes.forEach(function(b){return a.push(b)}),a},Object.defineProperty(c.prototype,"axisX",{get:function(){return this.YKa},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"axisY",{get:function(){return this.ZKa},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"auxAxes",{get:function(){return this.XKa},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"plotRect",{get:function(){return this.$Ka},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"plotMargin",{get:function(){return this._Ka},set:function(a){this._Ka=a},enumerable:!0,configurable:!0}),c.prototype.updateAxis=function(a,b){void 0===b&&(b=null),a.GJa(b)},c.prototype._R=function(b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t=c.width,u=c.height,v=new a.core.Size(t,.75*u),w=new a.core.Size(u,.75*t),x=0,y=0,z=t,A=u,B=0,C=0,D=t,E=u,F=0,G=0,H=this.getAxes();for(H.sort(function(b,c){return b.axisType===a.AxisType.X?1:-1}),d=0;d<H.length;d++)e=H[d],e.GPa()&&(f=e.origin,g=e.getPosition(),e.axisType==a.AxisType.X?(h=e.SIa(b,t-F),G+=h,h>v.height&&(h=v.height),e.aLa=new a.core.Size(v.width,h),i=e.bLa=a.core.isNumber(f)&&f>this.axisY.HJa()&&f<this.axisY.IJa(),g==a.Position.Bottom?(x=Math.max(x,.5*e.GKa.width),z=Math.min(z,t-.5*e.GKa.width),i?(j=this.cLa(f,C,E),E-=Math.max(0,j+h-E)):E-=h):g==a.Position.Top&&(x=Math.max(x,.5*e.GKa.width),z=Math.min(z,t-.5*e.GKa.width),i?(j=this.cLa(f,C,E),C+=Math.max(0,C-(j-h))):C+=h)):e.axisType==a.AxisType.Y&&(h=e.SIa(b,u),h>w.height&&(h=w.height),F+=h,e.aLa=new a.core.Size(w.width,h),i=e.bLa=a.core.isNumber(f)&&f>this.axisX.HJa()&&f<this.axisX.IJa(),g==a.Position.Left?(y=Math.max(y,.5*e.GKa.height),A=Math.min(A,u-.5*e.GKa.height),i?(k=this.dLa(f,B,D),B+=Math.max(0,B-(k-h))):B+=h):g==a.Position.Right&&(y=Math.max(y,.5*e.GKa.height),A=Math.min(A,u-.5*e.GKa.height),i?(k=this.dLa(f,B,D),D-=Math.max(0,k+h-D)):D-=h)));for(l=a.x7.parseMargin(this.plotMargin),x=B=isNaN(l.left)?Math.max(x,B)+c.left:l.left,z=D=isNaN(l.right)?Math.min(z,D)+c.left:c.width-l.right,y=C=isNaN(l.top)?Math.max(y,C)+c.top:l.top,A=E=isNaN(l.bottom)?Math.min(A,E)+c.top:c.height-l.bottom,m=0;m<H.length;++m)n=H[m],n.GPa()&&n.axisType==a.AxisType.Y&&n.SIa(b,A-y);for(t=Math.max(1,z-x),u=Math.max(1,A-y),this.$Ka=new a.core.Rect(x,y,t,u),o=0;o<H.length;o++)p=H[o],p.GPa()&&(q=p.origin,g=p.getPosition(),p.axisType==a.AxisType.X?(p.bLa?(j=this.cLa(q,this.$Ka.top,this.$Ka.bottom),g==a.Position.Bottom?(r=new a.core.Rect(x,j,t,p.aLa.height),E+=Math.max(0,r.bottom-this.$Ka.bottom)):g==a.Position.Top?(r=new a.core.Rect(x,j-p.aLa.height,t,p.aLa.height),C-=Math.max(0,this.$Ka.top-r.top)):r=new a.core.Rect(x,C,t,1)):g==a.Position.Bottom?(r=new a.core.Rect(x,E,t,p.aLa.height),E+=p.aLa.height):g==a.Position.Top?(r=new a.core.Rect(x,C-p.aLa.height,t,p.aLa.height),C-=p.aLa.height):r=new a.core.Rect(x,C,t,1),p._R(b,r,this.$Ka)):p.axisType==a.AxisType.Y&&(p.bLa?(k=this.dLa(q,this.$Ka.left,this.$Ka.right),g==a.Position.Left?(s=new a.core.Rect(k-p.aLa.height,y,u,p.aLa.height),B-=p.aLa.height):g==a.Position.Right?(s=new a.core.Rect(k,y,u,p.aLa.height),D+=p.aLa.height):s=new a.core.Rect(x,C,u,1)):g==a.Position.Left?(s=new a.core.Rect(B-p.aLa.height,y,u,p.aLa.height),B-=p.aLa.height):g==a.Position.Right?(s=new a.core.Rect(D,y,u,p.aLa.height),D+=p.aLa.height):s=new a.core.Rect(B,y,u,1),p._R(b,s,this.$Ka)))},c.prototype.render=function(b){var c,d,e,f,g,h,i,j;for(b.beginTransform(),a.GHa(b,{strokeWidth:0}),this.QIa(b),null!=b.fill&&"transparent"!=b.fill&&"none"!=b.fill&&b.drawRect(this.plotRect.left,this.plotRect.top,this.plotRect.width,this.plotRect.height),b.restoreTransform(),c=this.getAxes(),d=[],e=[],f=0,g=c;f<g.length;f++)h=g[f],h.axisType===a.AxisType.X?d.push(h.fTa):h.axisType==a.AxisType.Y&&e.push(h.fTa);for(i=0;i<c.length;i++)j=c[i],j.GPa()&&(j.axisType===a.AxisType.X?j.gTa=e:j.axisType===a.AxisType.Y&&(j.gTa=d),j.yl(b));b.beginTransform(),a.GHa(b,{fill:"none"}),this.OIa(b),null!=b.strokeWidth&&b.strokeWidth>0&&b.drawRect(this.plotRect.left,this.plotRect.top,this.plotRect.width,this.plotRect.height),b.restoreTransform()},c.prototype.dLa=function(a,b,c){var d=this.axisX;return d.reversed?c-(c-b)*(a-d.HJa())/(d.IJa()-d.HJa()):b+(c-b)*(a-d.HJa())/(d.IJa()-d.HJa())},c.prototype.cLa=function(a,b,c){var d=this.axisY;return d.reversed?b+(c-b)*(a-d.HJa())/(d.IJa()-d.HJa()):c-(c-b)*(a-d.HJa())/(d.IJa()-d.HJa())},c}(a.RJa);a.yKa=b}(d||(d={})),function(a){"use strict";var b=function(b){e(c,b);function c(c,d,e){var f=b.call(this,c,d,e)||this;return f.eLa=0,f.fLa=0,f.gLa=0,f.MPa=0,f.DPa=2*Math.PI,f.NPa=0,f.eAa.position=a.AxisPosition.Near,f}return Object.defineProperty(c.prototype,"cx",{get:function(){return this.wPa},set:function(a){this.wPa=a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"cy",{get:function(){return this.xPa},set:function(a){this.xPa=a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"innerRadius",{get:function(){return this.NPa},set:function(a){this.NPa=a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"radius",{get:function(){return this.CPa},set:function(a){this.CPa=a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"startAngle",{get:function(){return this.MPa+Math.PI},set:function(a){this.MPa=a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"sweep",{get:function(){return this.DPa},set:function(a){this.DPa=a},enumerable:!0,configurable:!0}),c.prototype.OPa=function(a){return void 0===a?this.gLa:void(this.gLa=a)},c.prototype.getPosition=function(){return this.position==a.AxisPosition.None?null:this.axisType==a.AxisType.X?this.position==a.AxisPosition.Near?a.Position.Bottom:a.Position.Top:this.axisType==a.AxisType.Y?this.position==a.AxisPosition.Near?a.Position.Left:a.Position.Right:null},c.prototype.yJa=function(){var b,c,d,e;for(b=0;b<this.$Ia.length;++b)if(c=this.$Ia[b],c&&!c.hidden)for(d=b+1;d<this.$Ia.length&&(e=this.$Ia[d],e&&a.x7.isMixedRotatedRect(c.labelRect,e.labelRect));++d)e.hidden=!0},c.prototype.SIa=function(b,c){var d,e,f,g,h,i,j,k,l;return b.beginTransform(),a.GHa(b,this.style),a.GHa(b,this.textStyle),d=a.ASa,this.FKa=void 0,e=0,f=this.labelAngle,this.fJa?(this.min instanceof Date&&(this.mJa.min=this.min.getTime()),this.max instanceof Date&&(this.mJa.max=this.max.getTime())):(isNaN(this.min)||(this.mJa.min=this.min),isNaN(this.max)||(this.GPa().max=this.max)),this.mJa.format=this.FJa(),this.mJa.refresh(),this.GKa=this.getMaxLableSize(b),f&&(g=f*Math.PI/180,h=this.GKa.width,i=this.GKa.height,this.GKa.width=h*Math.abs(Math.cos(g))+i*Math.abs(Math.sin(g)),this.GKa.height=h*Math.abs(Math.sin(g))+i*Math.abs(Math.cos(g))),(isNaN(this.majorUnit)||this.overlappingLabels==a.AxisOverlappingLabels.Show)&&this.axisType==a.AxisType.X&&(isNaN(this.mJa.unit)||this.mJa.unit<this.GKa.width)&&(this.mJa.unit=this.GKa.width),j=this.GPa().ticks,this.labels&&(e+=this.GKa.height),b.beginTransform(),a.GHa(b,this.titleStyle),e+=Math.max(this.AJa(b,this.majorTicks,this.majorTickSize),this.AJa(b,this.minorTicks,this.minorTickSize)),e+=this.BJa(b),k=this.titleStyle.padding,l=this.labelStyle.padding,e+=k.iT()?a.FRa:k.top+k.bottom,e+=l.iT()?a.ERa:l.top+l.bottom,b.restoreTransform(),this.position==a.AxisPosition.None?0:e},c.prototype._R=function(b,c,d){var e,f,g=this.axisType==a.AxisType.Y;this.$Ia.length=0,this.KKa=d,g?this.lJa=new a.core.Rect(c.left,c.top,c.height,c.width):this.lJa=c,this.mJa.reversed=this.reversed,this.GPa().unit=this.majorUnit,this.GPa()instanceof a.OrdinalScale||(this.GPa().tickNumber=this.LKa(this.axisType==a.AxisType.Y)),this.axisType==a.AxisType.X?(this.mJa.range([this.innerRadius*this.radius,this.radius]),this.HKa(b)):this.axisType==a.AxisType.Y&&(e=this.startAngle,f=this.startAngle+this.sweep,this.mJa.range([e,f]),this.JKa(b)),this.overlappingLabels!=a.AxisOverlappingLabels.Show&&this.yJa()},c.prototype.getMaxLableSize=function(b){var c,d,e,f,g,h,i,j;for(b.beginTransform(),a.GHa(b,this.labelStyle),c=a.ASa,d=a.BSa,e=this.EJa.isOrdinal,f=new a.core.Size(0,0),g=0;g<this.GPa().ticks.length;++g)h=this.mJa.ticks[g],i=this.EJa.labelFromValue(this.fJa?new Date(h):h,e?null:this.GPa().format),j=b.measureString(i,c,this.HPa()),f.width<j.width&&(f.width=j.width),f.height<j.height&&(f.height=j.height);return b.restoreTransform(),f},c.prototype.HKa=function(b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E=a.ASa;if(null!==this.getPosition())for(this.$Ia.length=0,a.GHa(b,this.labelStyle),c=this.IKa(),d=this.position==a.AxisPosition.Near,e=this.EJa.isOrdinal,f=this.GPa().ticks,g=this.AJa(b,this.majorTicks,this.majorTickSize),h=this.majorTickSize,i=this.minorTickSize,j=this.AJa(b,this.minorTicks,this.minorTickSize),k=this.titleStyle.padding,l=this.labelStyle.padding,m=NaN,n=0;f&&n<f.length;++n){for(o=f[n],p=n>=f.length?null:f[n+1],q=e?this.EJa.labelFromValue(this.fJa?new Date(o):o,null):this.EJa.labelFromValue(this.fJa?new Date(o):o,this.GPa().format),r=b.measureString(q,E,this.HPa()),this.labels||(r.width=0,r.height=0),s=this.mJa.getScaleValue(o+this.gLa),t=Math.cos(this.startAngle)*s+this.cx,u=Math.sin(this.startAngle)*s+this.cy,v=l.iT()?a.ERa:l.top,w=t+Math.sin(this.startAngle)*(Math.max(g,j)+v+r.height/2),x=u-Math.cos(this.startAngle)*(Math.max(g,j)+v+r.height/2),y=NaN,z=new a.RadialAxisViewModel,z.hidden=!1,z.label=q,z.labelRect=new a.RotateRect(w,x,r.width,r.height,this.startAngle-Math.PI+(isNaN(c)?0:c*Math.PI/180)+(isNaN(c)?Math.PI/2:0)),z.majorTickLine=new a.RotateLine(t,u,h-g,g,this.startAngle),A=this.minorUnit,null==A&&(A=(p-o)/2),isNaN(m)&&(m=o+A);m<p;)B=this.mJa.getScaleValue(m+this.gLa),C=Math.cos(this.startAngle)*B+this.cx,D=Math.sin(this.startAngle)*B+this.cy,m+=A,C==t&&D==u||z.minorTickLines.push(new a.RotateLine(C,D,i-j,j,this.startAngle));this.$Ia.push(z)}},c.prototype.JKa=function(b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D=a.ASa;if(null!==this.getPosition())for(c=this.IKa(),d=this.position==a.AxisPosition.Near,e=this.GPa().ticks,f=this.position===a.AxisPosition.Far,g=this.AJa(b,this.majorTicks,this.majorTickSize),h=this.majorTickSize,i=this.minorTickSize,j=this.AJa(b,this.minorTicks,this.minorTickSize),k=NaN,l=this.titleStyle.padding,m=this.labelStyle.padding,n=0;e&&n<e.length;++n){for(o=e[n],p=n>=e.length?null:e[n+1],this.fJa&&(o=new Date(o)),q=this.EJa.labelFromValue(o,this.GPa().format),r=b.measureString(q,D,this.HPa()),this.labels||(r.width=0,r.height=0),s=this.mJa.getScaleValue(o),t=this.cx+Math.cos(s)*this.radius,u=this.cy+Math.sin(s)*this.radius,v=m.iT()?a.ERa:m.bottom,w=this.cx+Math.cos(s)*(this.radius+Math.max(g,j)+v+(c?r.width/2:r.height/2)),x=this.cy+Math.sin(s)*(this.radius+Math.max(g,j)+v+(c?r.width/2:r.height/2)),y=new a.RadialAxisViewModel,y.hidden=!1,y.label=q,y.labelRect=new a.RotateRect(w,x,r.width,r.height,s+Math.PI/2+c*Math.PI/180),y.majorTickLine=new a.RotateLine(t,u,g,h-g,s-Math.PI/2),z=this.minorUnit,null==z&&(z=(p-o)/2),isNaN(k)&&(k=o+z);k<p;)A=this.mJa.getScaleValue(k),B=this.cx+Math.cos(A)*this.radius,C=this.cy+Math.sin(A)*this.radius,k+=z,B==t&&C==u||y.minorTickLines.push(new a.RotateLine(B,C,j,i-j,A-Math.PI/2));this.$Ia.push(y)}},c.prototype.FJa=function(a){return this.format?this.format:this.fJa?null:Math.round(a)?"n0":"n"},c.prototype.GJa=function(b){this.EJa=b,this.fJa||(this.fJa=this.EJa.dataType==a.core.DataType.Date)},c.prototype.IKa=function(){var a=0;return this.labelAngle&&(a=this.labelAngle,a>90?a=90:a<-90&&(a=-90)),void 0===this.labelAngle&&void 0!==this.FKa&&(a=this.FKa),a},c.prototype.yl=function(b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s;if(this.position!=a.AxisPosition.None&&(b.beginTransform(),a.GHa(b,this.style),a.GHa(b,this.textStyle),c=a.CSa,d=a.ASa,e=a.ESa,f=this.VIa,null!==this.getPosition())){for(b.startGroup(this.HPa()),this.cEa={},g=this.IKa(),h=this.axisType==a.AxisType.Y,i=this.position==a.AxisPosition.Near,j=0;j<this.$Ia.length;++j)if(k=this.$Ia[j]){if(this.majorGrid&&(b.beginTransform(),a.GHa(b,this.IPa()),a.GHa(b,this.majorGridStyle),this.axisType==a.AxisType.Y?b.drawLine(k.majorTickLine.startPoint.x,k.majorTickLine.startPoint.y,this.cx,this.cy,e):this.axisType==a.AxisType.X&&(l=isNaN(this.startAngle)?this.startAngle:0,m=isNaN(this.sweep)?this.sweep:360,n=Math.sqrt(Math.pow(k.majorTickLine.startPoint.x-this.cx,2)+Math.pow(k.majorTickLine.startPoint.y-this.cy,2)),b.drawPieSegment(this.cx,this.cy,n,l*Math.PI/180,m*Math.PI/180,a.ESa,{fill:"none"})),b.restoreTransform()),this.minorGrid){if(b.beginTransform(),a.GHa(b,this.JPa()),a.GHa(b,this.minorGridStyle),this.axisType==a.AxisType.Y)for(o=0;o<k.minorTickLines.length;++o)p=k.minorTickLines[o],b.drawLine(p.startPoint.x,p.startPoint.y,this.cx,this.cy,e);else if(this.axisType==a.AxisType.X)for(o=0;o<k.minorTickLines.length;++o)p=k.minorTickLines[o],l=isNaN(this.startAngle)?this.startAngle:0,m=isNaN(this.sweep)?this.sweep:360,n=Math.sqrt(Math.pow(p.startPoint.x-this.cx,2)+Math.pow(p.startPoint.y-this.cy,2)),b.drawPieSegment(this.cx,this.cy,n,l*Math.PI/180,m*Math.PI/180,a.FSa,{fill:"none"});b.restoreTransform()}if(this.majorTicks!=a.TickMark.None&&(b.beginTransform(),a.GHa(b,this.hPa()),a.GHa(b,this.majorTickStyle),b.drawLine(k.majorTickLine.startPoint.x,k.majorTickLine.startPoint.y,k.majorTickLine.endPoint.x,k.majorTickLine.endPoint.y,a.CSa),b.restoreTransform()),this.minorTicks!=a.TickMark.None){for(b.beginTransform(),a.GHa(b,this.iPa()),a.GHa(b,this.minorTickStyle),o=0;o<k.minorTickLines.length;++o)q=k.minorTickLines[o],b.drawLine(q.startPoint.x,q.startPoint.y,q.endPoint.x,q.endPoint.y,a.DSa);b.restoreTransform()}if(!k.hidden&&this.labels&&null!=k.label){for(b.beginTransform(),a.GHa(b,this.style),b.fill=this.style.backgroundColor||"none",r=[],s=[],o=0;o<4;++o)r[o]=k.labelRect.points[o].x,s[o]=k.labelRect.points[o].y;b.drawPolygon(r,s),b.restoreTransform(),b.beginTransform(),b.startGroup(d),a.GHa(b,this.labelStyle),this.axisType==a.AxisType.Y?b.drawStringRotated(k.label,k.labelRect.leftBottom,k.labelRect.leftBottom,180*k.labelRect.angle/Math.PI):b.drawStringRotated(k.label,k.labelRect.leftBottom,k.labelRect.leftBottom,180*k.labelRect.angle/Math.PI),b.endGroup(),b.restoreTransform()}}this.lLa(b),b.endGroup(),b.restoreTransform()}},c.prototype.lLa=function(b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p;b.beginTransform(),c=this.titleStyle.padding,a.GHa(b,this.titleStyle),d=a.BSa,e=a.GSa,this.axisType===a.AxisType.X?(f=this.cx+Math.cos(this.startAngle)*this.radius,g=this.cy+Math.sin(this.startAngle)*this.radius,h=this.cx+Math.cos(this.startAngle)*this.innerRadius*this.radius,i=this.cy+Math.sin(this.startAngle)*this.innerRadius*this.radius,b.beginTransform(),a.GHa(b,this.VOa()),a.GHa(b,this.lineStyle),b.drawLine(h,i,f,g,e,this.lineStyle),b.restoreTransform(),j=Math.cos(this.startAngle)*(this.radius+this.innerRadius*this.radius)/2+this.cx,k=Math.sin(this.startAngle)*(this.radius+this.innerRadius*this.radius)/2+this.cy,l=this.AJa(b,this.majorTicks,this.majorTickSize),m=b.measureString(this.title,d),n=c.iT()?0:c.top,o=j+2*Math.sin(this.startAngle)*(l+n+m.height),p=k-2*Math.cos(this.startAngle)*(l+n+m.height),b.drawStringRotated(this.title,new a.core.Point(o,p),new a.core.Point(o,p),180*this.startAngle/Math.PI-180,d)):(b.beginTransform(),
a.GHa(b,this.VOa()),a.GHa(b,this.lineStyle),b.drawPieSegment(this.cx,this.cy,this.radius,this.startAngle,this.sweep,e,{fill:"none"}),b.restoreTransform(),m=b.measureString(this.title,d),n=c.iT()?a.FRa:c.bottom,b.drawString(this.title,new a.core.Point(this.lJa.left+this.lJa.width/2-m.width/2,this.lJa.bottom-n),d)),b.restoreTransform()},c.prototype.convert=function(a,b,c){return this.mJa.getScaleValue(a)},Object.defineProperty(c.prototype,"axisType",{get:function(){return this.eJa},enumerable:!0,configurable:!0}),c.prototype.HJa=function(){return this.GPa().min},c.prototype.IJa=function(){return this.GPa().max},c.prototype.$p=function(){},c.prototype.LKa=function(a){var b,c=a?this.GKa.height:this.GKa.width,d=a?this.lJa.height:this.lJa.width;return c>0&&d>0?(b=Math.floor(d/(c+6)),b<=0&&(b=1),b):10},c}(a.QJa);a.zKa=b}(d||(d={})),function(a){"use strict";var b=function(b){e(c,b);function c(c){var d=b.call(this,c)||this;return d.XKa=[],d.YKa=new a.zKa(d,a.AxisType.X,new a.options.QEa({})),d.ZKa=new a.zKa(d,a.AxisType.Y,new a.options.QEa({})),d}return c.prototype.getAxes=function(){var a=[this.YKa,this.ZKa];return this.auxAxes.forEach(function(b){return a.push(b)}),a},Object.defineProperty(c.prototype,"axisX",{get:function(){return this.YKa},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"axisY",{get:function(){return this.ZKa},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"auxAxes",{get:function(){return this.XKa},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"plotRect",{get:function(){return this.$Ka},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"plotMargin",{get:function(){return this._Ka},set:function(a){this._Ka=a},enumerable:!0,configurable:!0}),c.prototype.updateAxis=function(a,b){void 0===b&&(b=null),a.GJa(b)},c.prototype._R=function(b,c){var d,e,f,g,h,i,j,k,l=c.width,m=c.height,n=c.left+c.width/2,o=c.top+c.height/2,p=l<m?l/2:m/2,q=0,r=0,s=l,t=m,u=0,v=0,w=l,x=m,y=.25*p,z=this.getAxes(),A=0;for(z.sort(function(b,c){return b.axisType===a.AxisType.X?1:-1}),d=0;d<z.length;d++)e=z[d],e.GPa()&&(f=e.origin,g=e.getPosition(),e.axisType==a.AxisType.Y?(h=e.SIa(b,l),p-=h,e.radius=p,e.fLa=h,i=e.bLa=a.core.isNumber(f)&&f>this.axisY.HJa()&&f<this.axisY.IJa()):e.axisType==a.AxisType.X&&(A+=e.SIa(b,m),i=e.bLa=a.core.isNumber(f)&&f>this.axisX.HJa()&&f<this.axisX.IJa()));for(this.$Ka=new a.core.Rect(n-p,o-p,2*p,2*p),d=0;d<z.length;d++)e=z[d],e.GPa()&&(e.cx=n,e.cy=o,e.axisType==a.AxisType.X?(e.radius=p,j=new a.core.Rect(n-(h+p),o-(h+p),2*(h+p),2*(h+p)),e._R(b,j,this.$Ka)):e.axisType==a.AxisType.Y&&(k=new a.core.Rect(n-(e.fLa+e.radius),o-(e.fLa+e.radius),2*(e.fLa+e.radius),2*(e.fLa+e.radius)),e._R(b,k,this.$Ka)))},c.prototype.render=function(b){var c,d,e,f,g,h,i,j,k=this.plotRect;for(b.beginTransform(),c=k.width,d=k.height,e=k.left+k.width/2,f=k.top+k.height/2,g=c<d?c/2:d/2,a.GHa(b,{strokeWidth:0}),this.QIa(b),null!=b.fill&&"transparent"!=b.fill&&"none"!=b.fill&&b.drawEllipse(e,f,g,g),b.restoreTransform(),h=this.getAxes(),i=0;i<h.length;i++)j=h[i],j.GPa()&&j.yl(b);b.beginTransform(),a.GHa(b,{fill:"none"}),this.OIa(b),null!=b.strokeWidth&&b.strokeWidth>0&&b.drawEllipse(e,f,g,g),b.restoreTransform()},c}(a.RJa);a.xKa=b}(d||(d={})),function(a){"use strict";var b,c=function(){function a(){}return a}();a.mLa=c,b=function(){function a(a){this.nLa=[],this.uPa=a}return a.prototype.add=function(a){this.nLa.push(a)},a.prototype.clear=function(){this.nLa=[]},a.prototype.hitTest=function(a,b){var d,e,f,g,h,i,j,k;if(void 0===b&&(b=!1),d=null,e=Number.MAX_VALUE,f=this.nLa)for(g=f.length,h=g-1;h>=0&&(i=f[h],j=i.distance(a),!(j<e&&(e=j,d=i,0==e)));h--);return d?(k=new c,k.area=d,k.distance=e,k):null},a}(),a.oLa=b}(d||(d={})),function(a){"use strict";var b=function(){function b(b,c){this.layoutInfo=new a.pLa,this.TJa=b,this.wLa=c}return Object.defineProperty(b.prototype,"label",{get:function(){return this.wLa},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"position",{get:function(){return this.TJa.labelPosition},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"ellipsize",{get:function(){return this.TJa.ellipsize},enumerable:!0,configurable:!0}),b.prototype.getDesiredSize=function(c){var d=new a.core.Size(0,0);switch(a.x7.resetRect(this.layoutInfo.rect,0,0,0,0),this.xLa=this.label,this.ellipsize>0&&this.ellipsize<this.label.length&&(this.xLa=this.label.substr(0,this.ellipsize)+b.END),this.yLa=c.measureString(this.xLa),this.position){case a.Position.Left:this.layoutInfo.rect.width+=this.yLa.width+b.LabelPadding,this.layoutInfo.rect.height+=this.yLa.height;break;case a.Position.Right:this.layoutInfo.rect.width+=this.yLa.width+b.LabelPadding,this.layoutInfo.rect.height+=this.yLa.height;break;case a.Position.Top:this.layoutInfo.rect.width+=this.yLa.width,this.layoutInfo.rect.height+=this.yLa.height+b.LabelPadding;break;case a.Position.Bottom:this.layoutInfo.rect.width+=this.yLa.width,this.layoutInfo.rect.height+=this.yLa.height+b.LabelPadding}return d.width=this.layoutInfo.rect.width,d.height=this.layoutInfo.rect.height,d},b.prototype.render=function(c,d){var e,f=this.layoutInfo.rect.clone();switch(a.x7.translateRect(f,c.x,c.y),e=a.x7.getPoint(f).clone(),this.position){case a.Position.Left:break;case a.Position.Right:e.x+=b.LabelPadding;break;case a.Position.Top:break;case a.Position.Bottom:e.y+=b.LabelPadding}this.$Ja(d,e)},b.prototype.$Ja=function(b,c){var d=new a.core.Point(c.x,c.y+this.yLa.height);b.drawString(this.xLa,d)},b.END="...",b.LabelPadding=10,b}();a.qLa=b}(d||(d={})),function(a){"use strict";var b=function(){function b(b,c){this.layoutInfo=new a.pLa,this.iFa=b,this.FLa=c,this.hRa=new a.qLa(this,this.PPa().title),this.KIa=new a.eOa}return b.prototype.PPa=function(){return this.FLa},Object.defineProperty(b.prototype,"ItemSize",{get:function(){return this.layoutInfo.rect.width},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"orientation",{get:function(){return this.iFa.orientation},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"labelPosition",{get:function(){return this.iFa.labelPosition},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"itemPadding",{get:function(){return this.iFa.itemPadding},enumerable:!0,configurable:!0}),b.prototype.distoryItem=function(){this.iFa=null},Object.defineProperty(b.prototype,"area",{get:function(){return this.layoutInfo.rect},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"point",{get:function(){return a.x7.getPoint(this.layoutInfo.rect)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"ellipsize",{get:function(){return this.iFa.ellipsize},enumerable:!0,configurable:!0}),b.prototype.onHitted=function(b){if(b.contains(this.layoutInfo.rect)){var c=new a.HitInfo(new a.core.Point(b.x,b.y),this.hRa.label,null,this,[a.ElementType.LegendItem],this.KIa);return c}return null},b.prototype.getDesiredSize=function(b){a.x7.resetRect(this.layoutInfo.rect,0,0,0,0),this.rLa=this.hRa.getDesiredSize(b);var c=0;switch(null!=this.PPa().size?this.sLa=new a.core.Size(2*this.rLa.height,this.PPa().size):this.sLa=new a.core.Size(2*this.rLa.height,10),this.labelPosition){case a.Position.Left:this.rLa.height<this.sLa.height&&(c=(this.sLa.height-this.rLa.height)/2),this.layoutInfo.rect.width+=this.rLa.width+this.sLa.width,this.layoutInfo.rect.height+=this.sLa.height>this.rLa.height?this.sLa.height:this.rLa.height,a.x7.translateRectY(this.hRa.layoutInfo.rect,c);break;case a.Position.Right:this.rLa.height<this.sLa.height&&(c=(this.sLa.height-this.rLa.height)/2),this.layoutInfo.rect.width+=this.rLa.width+this.sLa.width,this.layoutInfo.rect.height+=this.sLa.height>this.rLa.height?this.sLa.height:this.rLa.height,a.x7.translateRect(this.hRa.layoutInfo.rect,this.sLa.width,c);break;case a.Position.Top:this.rLa.width<this.sLa.width&&(c=(this.sLa.width-this.rLa.width)/2),this.layoutInfo.rect.width+=this.rLa.width>this.sLa.width?this.rLa.width:this.sLa.width,this.layoutInfo.rect.height+=this.sLa.height+this.rLa.height,a.x7.translateRect(this.hRa.layoutInfo.rect,c,0);break;case a.Position.Bottom:this.rLa.width<this.sLa.width&&(c=(this.sLa.width-this.rLa.width)/2),this.layoutInfo.rect.width+=this.rLa.width>this.sLa.width?this.rLa.width:this.sLa.width,this.layoutInfo.rect.height+=this.sLa.height+this.rLa.height,a.x7.translateRect(this.hRa.layoutInfo.rect,c,this.sLa.height)}return this.orientation===a.Orientation.Horizontal?this.layoutInfo.rect.width+=this.itemPadding:this.layoutInfo.rect.height+=this.itemPadding,this.tLa=new a.core.Size(this.layoutInfo.rect.width,this.layoutInfo.rect.height),this.tLa},b.prototype.render=function(b){var c,d;b.startGroup(a.ASa),c=a.x7.getPoint(this.layoutInfo.rect),d=this.layoutInfo.rect.clone(),this.orientation===a.Orientation.Horizontal?(a.x7.translateRectX(d,this.itemPadding/2),c.x+=this.itemPadding/2):(a.x7.translateRectY(d,this.itemPadding/2),c.y+=this.itemPadding/2),this.uLa&&(c.x+=this.uLa.width-this.tLa.width,a.x7.translateRectX(d,this.uLa.width-this.tLa.width)),this.hRa.render(c,b),this.vLa(b,d),this.KIa.rect=d,b.endGroup()},b.prototype.vLa=function(b,c){var d,e,f=this.PPa().Za();null!=f&&(f.iTa=this.PPa().seriesColor,f.tE=this.PPa().color||"black",f.Wqa=this.jTa(),d=new a.core.Point(c.left,c.top),e=0,this.labelPosition===a.Position.Left||this.labelPosition===a.Position.Right?(this.rLa.height>this.sLa.height&&(e=(this.rLa.height-this.sLa.height)/2),this.labelPosition===a.Position.Left?(d.x+=this.rLa.width,d.y+=e,f.render(b,new a.core.Rect(d.x,d.y,this.sLa.width,this.sLa.height))):this.labelPosition===a.Position.Right&&f.render(b,new a.core.Rect(d.x,d.y+e,this.sLa.width,e+this.sLa.height))):(this.rLa.width>this.sLa.width&&(e=(this.rLa.width-this.sLa.width)/2),this.labelPosition===a.Position.Top?(d.y+=this.rLa.height,f.render(b,new a.core.Rect(d.x,d.y,this.sLa.width,this.sLa.height))):f.render(b,new a.core.Rect(d.x,d.y,this.sLa.width,this.sLa.height))))},b.prototype.jTa=function(){var b=this.PPa().parent.parent.parent.$z().style,c=new a.options.AFa(this.PPa().style);return null==c.stroke&&(c.stroke=b.stroke),null==c.strokeWidth&&(c.strokeWidth=b.strokeWidth),null==c.strokeDasharray&&(c.strokeDasharray=b.strokeDasharray),c},b.COL_ROW_PADDING=10,b.END="...",b}();a.kRa=b}(d||(d={})),function(a){"use strict";var b=function(){function b(b){this.layoutInfo=new a.pLa,this.zLa=[],this.ALa=0,this.BLa=b}return Object.defineProperty(b.prototype,"label",{get:function(){return this.BLa.title},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"position",{get:function(){return this.BLa.titlePosition},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"area",{get:function(){return this.layoutInfo.rect},enumerable:!0,configurable:!0}),b.prototype.getDesiredSize=function(c,d,e){var f,g,h;if(a.x7.resetRect(this.layoutInfo.rect,0,0,0,0),!this.label)return new a.core.Size(0,0);switch(f=null,this.zLa.length=0,g=c.measureString(this.label),this.zLa.push(this.label),this.ALa=g.height,h=1,this.position){case a.Position.Left:g=this.CLa(c,this.label,b.TITLE_MAX_SIZE_LEFT_RIGHT,f,!0),g.width+=b.TITLE_PADDING_HORIZONTAL,this.layoutInfo.rect.left=e.x,this.layoutInfo.rect.top=e.y+(d.height-g.height)/2;break;case a.Position.Right:g=this.CLa(c,this.label,b.TITLE_MAX_SIZE_LEFT_RIGHT,f,!0),g.width+=b.TITLE_PADDING_HORIZONTAL,this.layoutInfo.rect.left=e.x+d.width-g.width,this.layoutInfo.rect.top=e.y+(d.height-g.height)/2,a.x7.translateRectX(this.layoutInfo.rect,b.TITLE_PADDING_HORIZONTAL);break;case a.Position.Top:for(;g.width>=d.width;)h++,g=this.CLa(c,this.label,this.label.length/h,f);g.height+=b.TITLE_PADDING_VERTICAL,this.layoutInfo.rect.left=e.x+(d.width-g.width)/2,this.layoutInfo.rect.top=e.y;break;case a.Position.Bottom:for(;g.width>=d.width;)h++,g=this.CLa(c,this.label,this.label.length/h,f);g.height+=b.TITLE_PADDING_VERTICAL,this.layoutInfo.rect.left=e.x+(d.width-g.width)/2,this.layoutInfo.rect.top=e.y+d.height-g.height,a.x7.translateRectY(this.layoutInfo.rect,b.TITLE_PADDING_VERTICAL)}return this.layoutInfo.rect.width=g.width,this.layoutInfo.rect.height=g.height,g},b.prototype.CLa=function(c,d,e,f,g){var h,i,j,k;for(this.zLa.length=0,h=new a.core.Size(0,0),i=0;i<d.length;i+=e)j=d.substr(i,e),this.zLa.push(j),k=c.measureString(j,null,null,f),h.width<k.width&&(h.width=k.width),this.ALa<k.height&&(this.ALa=k.height),h.height+=k.height+b.LINE_PADDING;return h},b.prototype.render=function(c,d){var e,f,g;for(a.x7.translateRect(this.layoutInfo.rect,d.x,d.y),e=a.x7.getPoint(this.layoutInfo.rect),f=new a.core.Point(e.x,e.y),g=0;g<this.zLa.length;++g)f.y+=this.ALa,this.zLa[g]&&c.drawString(this.zLa[g],f),f.y+=b.LINE_PADDING},b.prototype.onHitted=function(b){if(b.contains(this.layoutInfo.rect)){var c=new a.HitInfo(new a.core.Point(b.x,b.y),this.label,null,this,[a.ElementType.LegendItem]);return c}return null},b.TITLE_PADDING_VERTICAL=5,b.TITLE_PADDING_HORIZONTAL=5,b.TITLE_MAX_SIZE_LEFT_RIGHT=15,b.LINE_PADDING=2,b}();a.DLa=b}(d||(d={})),function(a){"use strict";var b,c,d=function(){function b(b,c){this.rect=b,this.element=c,this.rect||(this.rect=new a.core.Rect(0,0,0,0))}return b}();a.pLa=d,b=function(){function a(a){var b,c;if(this.leftPadding=this.topPadding=this.rightPadding=this.bottomPadding=0,a)for(b=a.trim().split(" "),this.padding=a,c=0;b&&c<b.length&&c<4;++c)if(parseInt(b[c]))switch(c){case 0:this.topPadding=this.rightPadding=this.bottomPadding=this.leftPadding=parseInt(b[c]);break;case 1:this.topPadding=parseInt(b[c]);break;case 2:this.rightPadding=parseInt(b[c]);break;case 3:this.bottomPadding=parseInt(b[c])}}return a}(),c=function(c){e(d,c);function d(d){var e=c.call(this)||this;return e.ELa=!1,e.rCa=new a.core.Point(0,0),e.ranges={},e.FLa=d,e.HLa=new a.DLa(e),e._items=[],e.nBa=new b("0 0 0 0"),e.oi=[],e.KIa=new a.eOa,e.addLegends(d),e}return d.prototype.PPa=function(){return this.FLa},Object.defineProperty(d.prototype,"orientation",{get:function(){return this.PPa().orientation},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"position",{get:function(){return this.PPa().position},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"titlePosition",{get:function(){return this.PPa().titlePosition},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"labelPosition",{get:function(){return this.PPa().labelPosition},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"title",{get:function(){return this.PPa().title},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"ellipsize",{get:function(){return this.PPa().ellipsize},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"itemPadding",{get:function(){return this.PPa().itemPadding},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"wrapping",{get:function(){return this.PPa().wrapping},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"backgroundColor",{get:function(){return this.PPa().backgroundColor},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"borderStyle",{get:function(){return this.PPa().borderStyle},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"hidden",{get:function(){return this.PPa().hidden},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"items",{get:function(){return this._items},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"padding",{get:function(){return this.nBa.padding},set:function(a){this.nBa=new b(a)},enumerable:!0,configurable:!0}),d.prototype.TIa=function(b,c){var d,e,f;return this.ILa=new a.core.Rect(0,0,c.width,c.height),this.hidden?new a.core.Size(0,0):(b.beginTransform(),this.GHa(b),d=new a.core.Size(c.width-this.JLa(),c.height-this.KLa()),e=this.getInnerDesiredSize(b,d,new a.core.Point(this.area.left,this.area.top)),f=new a.core.Size(e.width+this.JLa()+2*b.strokeWidth,e.height+this.KLa()+2*b.strokeWidth),f.width>c.width&&(f.width=c.width),f.height>c.height&&(f.height=c.height),b.restoreTransform(),this.ELa=!1,f)},d.prototype.PIa=function(a,b){var c,d,e;for(this.rCa.x=b.left-this.ILa.left,this.rCa.y=b.top-this.ILa.top,this.ILa=b.clone(),this.KIa.rect=this.ILa,c=0,d=this._items;c<d.length;c++)e=d[c],this.oi.push(e)},d.prototype.RIa=function(b,c){var d,e,f,g;if(!this.hidden)for(b.beginTransform(),this.LLa="legendClip"+(1e5*Math.random()).toFixed(),b.addClipRect(c,this.LLa),b.startGroup(a.xSa,this.LLa),this.GHa(b),this.ELa?d=new a.core.Point(0,0):(d=new a.core.Point(this.rCa.x+b.strokeWidth,this.rCa.y+b.strokeWidth),this.ELa=!0),this.TKa(b,d),this.MLa(b,d),this.rCa.x=0,this.rCa.y=0,b.endGroup(),b.restoreTransform(),e=0,f=this._items;e<f.length;e++)g=f[e],this.oi.push(g)},d.prototype.onHitted=function(b){var c,d,e,f;if(b.contains(this.area)){for(c=0,d=this.oi;c<d.length;c++)if(e=d[c],f=e.onHitted(b),null!=f)return f.elementType.push(a.ElementType.Legend),f;return new a.HitInfo(new a.core.Point(b.x,b.y),null,null,this,[a.ElementType.Legend],this.KIa)}return null},d.prototype.GHa=function(b){a.GHa(b,this.PPa().parent.parent.$z().legend.style),a.GHa(b,this.PPa().parent.parent.$z().legend.textStyle),a.GHa(b,this.PPa().parent.$z().legend.style),a.GHa(b,this.PPa().parent.$z().legend.textStyle),a.GHa(b,this.PPa().$z().style),a.GHa(b,this.PPa().$z().textStyle)},d.prototype.OIa=function(b){c.prototype.OIa.call(this,b),a.GHa(b,this.PPa().parent.parent.$z().style.borderStyle),a.GHa(b,this.PPa().parent.$z().style.borderStyle),a.GHa(b,this.PPa().parent.$z().borderStyle),a.GHa(b,this.borderStyle)},d.prototype.QIa=function(b){c.prototype.QIa.call(this,b),a.GHa(b,{fill:this.backgroundColor})},d.prototype.addLegends=function(b){var c,d,e,f;for(c=0;c<b.items.length;++c)d=0,b.items[c].size&&(e=1/b.items.length,d+=e*c+1),f=new a.kRa(this,b.items[c]),this._items.push(f)},d.prototype.getInnerDesiredSize=function(b,c,d){var e,f,g,h;switch(this.Oz=new a.core.Size(c.width,c.height),e=null,f=new a.core.Point(d.x,d.y),b.beginTransform(),a.GHa(b,this.PPa().parent.parent.$z().legend.titleStyle),a.GHa(b,this.PPa().parent.$z().legend.titleStyle),a.GHa(b,this.PPa().$z().titleStyle),g=this.HLa.getDesiredSize(b,c,d),b.restoreTransform(),h=new a.core.Size(c.width,c.height),this.titlePosition){case a.Position.Left:h.width-=g.width,f.x+=g.width;break;case a.Position.Right:h.width-=g.width;break;case a.Position.Top:h.height-=g.height,f.y+=g.height;break;case a.Position.Bottom:h.height-=g.height}switch(this.orientation){case a.Orientation.Horizontal:e=this.PLa(b,h,f);break;case a.Orientation.Vertical:default:e=this.QLa(b,h,f)}switch(this.titlePosition){case a.Position.Left:e.width+=g.width,e.height<g.height&&(e.height=g.height),a.x7.translateRectY(this.HLa.layoutInfo.rect,(e.height-c.height)/2);break;case a.Position.Right:e.width+=g.width,e.height<g.height&&(e.height=g.height),a.x7.translateRectY(this.HLa.layoutInfo.rect,(e.height-c.height)/2),a.x7.translateRectX(this.HLa.layoutInfo.rect,e.width-c.width);break;case a.Position.Top:e.height+=g.height,e.width<g.width&&(e.width=g.width),a.x7.translateRectX(this.HLa.layoutInfo.rect,(e.width-c.width)/2);break;case a.Position.Bottom:e.height+=g.height,e.width<g.width&&(e.width=g.width),a.x7.translateRectY(this.HLa.layoutInfo.rect,e.height-c.height),a.x7.translateRectX(this.HLa.layoutInfo.rect,(e.width-c.width)/2)}return e},d.prototype.PLa=function(b,c,d){var e,f,g,h=0,i=new a.core.Size(0,0),j=new a.core.Size(0,0),k=null,l=new a.core.Rect(d.x,d.y,c.width,c.height),m=0;for(h=0;h<this._items.length;++h)g=this._items[h],f=g.getDesiredSize(b),g.layoutInfo.rect.width=f.width,g.layoutInfo.rect.height=f.height,this.wrapping?k?k.layoutInfo.rect.right+f.width>l.right?(a.x7.translateRect(g.layoutInfo.rect,l.left,k.layoutInfo.rect.top+m+a.kRa.COL_ROW_PADDING),m=g.layoutInfo.rect.height):(a.x7.translateRect(g.layoutInfo.rect,k.layoutInfo.rect.right,k.layoutInfo.rect.top),g.layoutInfo.rect.height>m&&(m=g.layoutInfo.rect.height)):(a.x7.translateRect(g.layoutInfo.rect,l.left,l.top),m=g.layoutInfo.rect.height):k?a.x7.translateRect(g.layoutInfo.rect,k.layoutInfo.rect.right,k.layoutInfo.rect.top):a.x7.translateRect(g.layoutInfo.rect,l.left,l.top),i.height<g.layoutInfo.rect.bottom-l.top&&(i.height=g.layoutInfo.rect.bottom-l.top),i.width<g.layoutInfo.rect.right-l.left&&(i.width=g.layoutInfo.rect.right-l.left),k=g;return k=null,i},d.prototype.QLa=function(b,c,d){var e,f,g,h=0,i=new a.core.Size(0,0),j=new a.core.Rect(d.x,d.y,c.width,c.height),k=0,l=new a.core.Size;for(h=0;h<this._items.length;++h)g=this._items[h],e=g.getDesiredSize(b),g.layoutInfo.rect.width=e.width,g.layoutInfo.rect.height=e.height,this.wrapping?f?f.layoutInfo.rect.bottom+e.height>j.bottom?(a.x7.translateRect(g.layoutInfo.rect,f.layoutInfo.rect.left+k+a.kRa.COL_ROW_PADDING,j.top),k=g.layoutInfo.rect.width,l=new a.core.Size):(a.x7.translateRect(g.layoutInfo.rect,f.layoutInfo.rect.left,f.layoutInfo.rect.bottom),g.layoutInfo.rect.width>k&&(k=g.layoutInfo.rect.width)):(a.x7.translateRect(g.layoutInfo.rect,j.left,j.top),k=g.layoutInfo.rect.width):f?a.x7.translateRect(g.layoutInfo.rect,f.layoutInfo.rect.left,f.layoutInfo.rect.bottom):a.x7.translateRect(g.layoutInfo.rect,j.left,j.top),i.height<g.layoutInfo.rect.bottom-j.top&&(i.height=g.layoutInfo.rect.bottom-j.top),i.width<g.layoutInfo.rect.right-j.left&&(i.width=g.layoutInfo.rect.right-j.left),f=g,this.labelPosition===a.Position.Left&&(l.width=k,g.uLa=l);return f=null,i},Object.defineProperty(d.prototype,"area",{get:function(){return this.ILa},enumerable:!0,configurable:!0}),d.prototype.TKa=function(b,c){b.beginTransform(),a.GHa(b,this.PPa().parent.parent.$z().legend.titleStyle),a.GHa(b,this.PPa().parent.$z().legend.titleStyle),a.GHa(b,this.PPa().$z().titleStyle),b.startGroup(a.BSa),this.HLa.render(b,c),b.endGroup(),b.restoreTransform()},d.prototype.MLa=function(b,c){switch(this.orientation){case a.Orientation.Horizontal:this.SLa(b,c);break;case a.Orientation.Vertical:default:this.TLa(b,c)}},d.prototype.SLa=function(b,c){for(var d=0;d<this._items.length;++d)a.x7.translateRect(this._items[d].layoutInfo.rect,c.x,c.y),this._items[d].render(b)},d.prototype.TLa=function(b,c){for(var d=0;d<this._items.length;++d)a.x7.translateRect(this._items[d].layoutInfo.rect,c.x,c.y),this._items[d].render(b)},d.prototype.KLa=function(){return this.nBa.topPadding+this.nBa.bottomPadding},d.prototype.JLa=function(){return this.nBa.leftPadding+this.nBa.rightPadding},d}(a.UIa),a.uKa=c}(d||(d={})),function(a){"use strict";var b=function(){function b(a,b,c){this.XHa=b,this.YHa=c,this.kI=a}return Object.defineProperty(b.prototype,"x",{get:function(){return this.XHa},set:function(a){this.XHa=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"y",{get:function(){return this.YHa},set:function(a){this.YHa=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"action",{get:function(){return this.kI},enumerable:!0,configurable:!0}),b.prototype.contains=function(b){return!(!b||isNaN(b.width)||isNaN(b.height))&&a.x7.contains(b,new a.core.Point(this.x,this.y))},b.prototype.ULa=function(){switch(this.action){case 0:return"ACTION_OUTSIDE";case 1:return"ACTION_UP";case 2:return"ACTION_MOVE";case 3:return"ACTION_CANCEL";case 4:return"ACTION_OUTSIDE";case 5:return"ACTION_MOUSE_DOWN";case 6:return"ACTION_MOUSE_MOVE";case 7:return"ACTION_MOUSE_UP";case 8:return"ACTION_MOUSE_OVER";case 9:return"ACTION_MOUSE_OUT";case 10:return"ACTION_CLICK";case 11:return"ACTION_MOUSE_ENTER";case 12:return"ACTION_MOUSE_LEAVE";case 13:return"ACTION_WHEEL"}},b.prototype.toString=function(){return" x = "+this.XHa+" , y = "+this.YHa+" , action = "+this.ULa()},b.ACTION_DOWN=0,b.ACTION_UP=1,b.ACTION_MOVE=2,b.ACTION_CANCEL=3,b.ACTION_OUTSIDE=4,b.ACTION_MOUSE_DOWN=5,b.ACTION_MOUSE_MOVE=6,b.ACTION_MOUSE_UP=7,b.ACTION_MOUSE_OVER=8,b.ACTION_MOUSE_OUT=9,b.ACTION_CLICK=10,b.ACTION_MOUSE_ENTER=11,b.ACTION_MOUSE_LEAVE=12,b.ACTION_WHEEL=13,b}();a.MotionEvent=b}(d||(d={})),function(a){"use strict";var b=function(){function b(b,c){this.eAa=c,this.VLa=b,this.RLa=new a.oLa(this),this.oi=[]}return Object.defineProperty(b.prototype,"plotArea",{get:function(){return this.VLa},set:function(a){this.VLa=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"name",{get:function(){return this.$z().name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"legends",{get:function(){return this.dataModel?this.dataModel.legends:[]},enumerable:!0,configurable:!0}),b.prototype.mPa=function(){var b=this.dataModel,c=null;return this.plotArea.parent.$z().style.backgroundColor&&(c=this.plotArea.parent.$z().style.backgroundColor),b.$z().config.tooltip.style.backgroundColor&&(c=b.$z().config.tooltip.style.backgroundColor),{backgroundColor:c,borderStyle:a.core.merge(this.plotArea.parent.$z().style.borderStyle,b.$z().config.tooltip.style.borderStyle),textStyle:a.core.merge(this.plotArea.parent.$z().textStyle,b.$z().config.textStyle,b.$z().config.tooltip.textStyle)}},b.prototype.sS=function(){return this.JIa},b.prototype.$z=function(){return this.eAa},b.prototype.QPa=function(){return this.plotArea.parent.$z()},b.prototype.onHitted=function(b){var c,d,e,f;if(b.contains(this.sS())){for(c=0,d=this.oi;c<d.length;c++)if(e=d[c],f=e.onHitted(b),null!=f)return f.elementType.push(a.ElementType.Plot),f;return new a.HitInfo(new a.core.Point(b.x,b.y),null,null,this,[a.ElementType.Plot],null)}return null},b.prototype.tAa=function(){var a,b,c,d=[];for(a=0,b=this.oi;a<b.length;a++)c=b[a],c.KQa()&&d.push(c.KIa);return d},b.prototype.setHovered=function(b){var c,d,e;for(c=0,d=this.oi;c<d.length;c++)e=d[c],e instanceof a.MIa&&(b==e?e.IQa=!0:e.IQa=!1,e.refresh())},b.prototype.setSelected=function(a,b){},b.prototype.Select=function(a,b,c){},Object.defineProperty(b.prototype,"config",{get:function(){return this.eAa.config},enumerable:!0,configurable:!0}),b.prototype.measure=function(a,b){},b.prototype._R=function(a,b){this.JIa=b},b.prototype.render=function(a){},b.prototype.getLabelPoints=function(){return this.RLa.nLa},b.prototype.getLabelPosition=function(b,c,d){var e,f,g,h,i,j=c.getPoint(),k=new a.core.Size(0,0);for(e=0,f=d;e<f.length;e++)g=f[e],h=b.measureString(g),h.width>k.width&&(k.width=h.width),k.height+=h.height;return i=new a.XJa,i.rect=new a.core.Rect(j.x,j.y,k.width,k.height),i},b.prototype.getLineStartPoint=function(a,b){return b},b.prototype.LLa=function(){return null},b}();a.WLa=b}(d||(d={})),function(a){var b;!function(a){a[a.CoordinateSystem_None=0]="CoordinateSystem_None",a[a.CoordinateSystem_Xy=1]="CoordinateSystem_Xy",a[a.CoordinateSystem_Radial=2]="CoordinateSystem_Radial",a[a.CoordinateSystemFilter=255]="CoordinateSystemFilter",a[a.Chart_Empty=256]="Chart_Empty",a[a.Chart_Bar=512]="Chart_Bar",a[a.Chart_Area=768]="Chart_Area",a[a.Chart_Line=1024]="Chart_Line",a[a.Chart_Scatter=1280]="Chart_Scatter",a[a.Chart_Treemap=1536]="Chart_Treemap",a[a.ChartFilter=16776960]="ChartFilter"}(b=a.DataGraphType||(a.DataGraphType={}))}(d||(d={})),function(a){"use strict";var b=function(b){e(c,b);function c(){var c=null!==b&&b.apply(this,arguments)||this;return c.XLa=NaN,c.YLa=!1,c.cb=a.Group.Cluster,c.ZLa=null,c.$La={left:0,top:0,right:0,bottom:0},c}return Object.defineProperty(c.prototype,"radial",{get:function(){return this.$z().config.radial},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"symbols",{get:function(){return this.$z().config.symbols},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"swapAxes",{get:function(){return this.$z().config.swapAxes},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"clippingMode",{get:function(){return this.$z().config.clippingMode},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"showNulls",{get:function(){return this.$z().config.showNulls},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"innerRadius",{get:function(){return this.$z().config.innerRadius},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"sweep",{get:function(){return this.$z().config.sweep},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"startAngle",{get:function(){return this.$z().config.startAngle},enumerable:!0,configurable:!0}),c.prototype.RPa=function(){var a,b,c,d,e,f,g,h,i;if(isNaN(this.XLa))for(a=0,b=this.dataModel.dataSeriesList;a<b.length;a++)for(c=b[a],d=null,e=0,f=c.dataPoints;e<f.length;e++)g=f[e],h=NaN,i=this._La(g.xValue),null==d?i>this.dataModel.xSite.min&&(h=2*(i-this.dataModel.xSite.min)):null!=d&&(h=Math.abs(i-this._La(d.xValue))),!isNaN(h)&&h>0&&(isNaN(this.XLa)||this.XLa>h)&&(this.XLa=h),d=g;return this.XLa},c.prototype._La=function(b){return!this.dataModel.xSite.isOrdinal||this.dataModel.xSite.dataType!=a.core.DataType.Date&&this.dataModel.xSite.dataType!=a.core.DataType.Number?b:this.dataModel.xField.Ey.indexOf(b)},c.prototype.AKa=function(){return this.plotArea.AKa(this.name)},c.prototype.le=function(){return this.plotArea.le(this.name)},c.prototype.LLa=function(){return this.ZLa},c.prototype.wPa=function(){return this.sS().left+this.sS().width/2},c.prototype.xPa=function(){return this.sS().top+this.sS().height/2},c.prototype.onHitted=function(b){var c,d,e;if(b.contains(this.sS()))for(c=null,d=this.oi.length-1;d>=0;--d)if(e=this.oi[d],c=e.onHitted(b),null!=c)return c.elementType.push(a.ElementType.Plot),c.plot=this,c;return null},c.prototype.Query=function(b){var c,d,e,f,g,h,i=[],j=new a.ZRa(b,function(b,c){var d,e;try{return d=new a.core.Binding(c),e=d.getValue(b.item),null==e&&(e=d.getValue(b)),e}catch(a){}return null},function(a,b){var c,d=a.item;for(c in d)if(b==c)return!0;return!1},function(a){i.push(a)});for(c=0,d=this.dataModel.dataSeriesList;c<d.length;c++)for(e=d[c],f=0,g=e.dataPoints;f<g.length;f++)h=g[f],j.evaluate(h);return i},c.prototype.setSelected=function(b,c){var d,e,f,g,h,i,j,k,l,m,n,o=c;for(d=0,e=this.dataModel.dataSeriesList;d<e.length;d++)for(f=e[d],f.IAa(),g=0,h=f.dataPoints;g<h.length;g++)if(i=h[g],o!=a.SelectionMode.Points&&i.IAa(),null!=b)switch(o){case a.SelectionMode.Color:null!=i.color&&i.color==b.color&&i.N4();break;case a.SelectionMode.Size:null!=i.size&&i.size==b.size&&i.N4();break;case a.SelectionMode.Shape:null!=i.shape&&i.shape==b.shape&&i.N4()}if(null!=b&&null!=o&&o!=a.SelectionMode.None){if(o==a.SelectionMode.Point||o==a.SelectionMode.Points)b.N4();else if(o==a.SelectionMode.Group&&b.parent&&b.parent instanceof a.models.DCa)for(j=0,k=b.parent.dataPoints;j<k.length;j++)i=k[j],i.N4();for(l=0,m=this.oi;l<m.length;l++)n=m[l],n.refresh()}},c.prototype.tAa=function(){var a,b,c,d=[];for(a=0,b=this.oi;a<b.length;a++)c=b[a],c.KQa()&&(c.KIa.rect=c.sS(),d.push(c.KIa));return d},c.prototype.aMa=function(b,c){var d,e,f,g,h=this.dataModel,i=this.swapAxes,j=this.AKa(),k=this.le();null==j.GPa()?null!=j.scale&&j.scale.type==a.ValueScaleType.Ordinal?(h.xSite.isOrdinal=!0,j.GPa(new a.OrdinalScale(h.xSite.valueCount))):null!=j.scale&&j.scale.type==a.ValueScaleType.Logarithmic?j.GPa(new a.LogScale(j.logBase)):(i?h.ySite.isOrdinal:h.xSite.isOrdinal)?j.GPa(new a.OrdinalScale(h.xSite.valueCount)):h.xSite.dataType!=a.core.DataType.Date||this.swapAxes?j.GPa(new a.LinearScale):j.GPa(new a.TimeScale):null!=j.scale&&j.scale.type==a.ValueScaleType.Ordinal&&(h.xSite.isOrdinal=!0),null==k.GPa()&&(null!=k.scale&&k.scale.type==a.ValueScaleType.Logarithmic?k.GPa(new a.LogScale(k.logBase)):(i?h.xSite.isOrdinal:h.ySite.isOrdinal)?k.GPa(new a.OrdinalScale(h.ySite.valueCount)):h.xSite.dataType==a.core.DataType.Date&&this.swapAxes?k.GPa(new a.TimeScale):k.GPa(new a.LinearScale)),this.swapAxes?(this.radial?(d=this.innerRadius,e=c.width<c.height?c.width/2:c.height/2,f=this.startAngle*Math.PI*2/360,g=(this.sweep+this.startAngle)*Math.PI*2/360,j.GPa().domain([h.ySite.min,h.ySite.max]).range([f,g]),k.GPa().domain([h.xSite.min,h.xSite.max]).range([d,e]),j.startAngle=this.startAngle*Math.PI/180,j.sweep=this.sweep*Math.PI/180,j.innerRadius=this.innerRadius,k.startAngle=this.startAngle*Math.PI/180,k.sweep=this.sweep*Math.PI/180,k.innerRadius=this.innerRadius):(j.GPa().domain([h.ySite.min,h.ySite.max]).range([c.left,c.right]),k.GPa().domain([h.xSite.min,h.xSite.max]).range([c.bottom,c.top])),
null==j.majorGrid&&(j.majorGrid=!0)):(this.radial?(d=this.innerRadius,e=c.width<c.height?c.width/2:c.height/2,j.GPa().domain([h.xSite.min,h.xSite.max]).range([d,e]),f=this.startAngle*Math.PI*2/360,g=(this.sweep+this.startAngle)*Math.PI*2/360,k.GPa().domain([h.ySite.min,h.ySite.max]).range([f,g]),j.startAngle=this.startAngle*Math.PI/180,j.sweep=this.sweep*Math.PI/180,j.innerRadius=this.innerRadius,k.startAngle=this.startAngle*Math.PI/180,k.sweep=this.sweep*Math.PI/180,k.innerRadius=this.innerRadius):(j.GPa().domain([h.xSite.min,h.xSite.max]).range([c.left,c.right]),k.GPa().domain([h.ySite.min,h.ySite.max]).range([c.bottom,c.top])),null==k.majorGrid&&(k.majorGrid=!0)),this.swapAxes?(void 0===k.title&&(k.title=h.xSite?h.xSite.name:null),void 0===j.title&&(h.ySite?j.title=h.ySite.name:j.title=null),this.plotArea.EPa().updateAxis(j,h.ySite),this.plotArea.EPa().updateAxis(k,h.xSite)):(void 0===j.title&&(j.title=h.xSite?h.xSite.name:null),void 0===k.title&&(null!=h.ySite?k.title=h.ySite.name:k.title=null),this.plotArea.EPa().updateAxis(j,h.xSite),this.plotArea.EPa().updateAxis(k,h.ySite)),this.clippingMode===a.ClippingMode.Fit&&((this.type&a.DataGraphType.ChartFilter)==a.DataGraphType.Chart_Scatter||(this.type&a.DataGraphType.ChartFilter)==a.DataGraphType.Chart_Line&&this.symbols)&&this.analysisFitInfo(b,c)},c.prototype.measure=function(a,b){this.RLa.clear(),this.aMa(a,b)},c.prototype.layoutSeries=function(b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p=this.QPa().selectedStyle,q=this.QPa().unselectedStyle,r=this.dataModel,s=this.AKa(),t=this.le();for(d=0;d<r.dataSeriesList.length;d++)for(e=r.dataSeriesList[d],f=0;f<e.dataPoints.length;f++)g=e.dataPoints[f],h=this._La(g.xValue),i=g.size,null==i&&(i=10),j=NaN,k=NaN,this.swapAxes?(k=t.convert(h),g instanceof a.models.XCa?j=s.convert(g.yValue):g instanceof a.models.SCa&&(j=s.convert(Math.max(g.yLowerValue,g.yUpperValue)))):(j=s.convert(h),g instanceof a.models.XCa?k=t.convert(g.yValue):g instanceof a.models.SCa&&(k=t.convert(Math.max(g.yLowerValue,g.yUpperValue)))),null==j||isNaN(j)||null==k||isNaN(k)||(l=null,g.shape?(m=a.plugins.jSa(g.shape).create(),m||(m=a.plugins.jSa("dot").create()),l=new a.bMa(g,m)):(m=a.plugins.jSa("dot").create(),l=new a.bMa(g,m)),this.radial?(n=Math.cos(k)*j+this.wPa(),o=Math.sin(k)*j+this.xPa(),l.sS(new a.core.Rect(n-i/2,o-i/2,i,i))):l.sS(new a.core.Rect(j-i/2,k-i/2,i,i)),this.symbols?l.bz(a.ViewState.Visible):l.bz(a.ViewState.Invisible),l.refresh(),this.oi.push(l),this.RLa.add(new a.WJa(new a.core.Point(j,k),.5*i,g)))},c.prototype._R=function(a,c){b.prototype._R.call(this,a,c),this.oi=[],this.layoutSeries(a,c)},c.prototype.render=function(b){var c,d,e,f=this.AKa(),g=this.le();if(this.clippingMode===a.ClippingMode.Clip&&(this.ZLa="cartesianClip"+(1e5*Math.random()).toFixed(),c=new a.core.Rect(f.rect.left,g.rect.top,f.rect.width,g.rect.height),b.addClipRect(c,this.ZLa),b.startGroup(null,this.ZLa)),this.plotArea)for(null!=this.QPa().selectionMode&&this.QPa().selectionMode!=a.SelectionMode.None&&a.x7.sort(this.oi,function(a,b){return a!=b&&a.isSelected}),d=0;d<this.oi.length;++d)e=this.oi[d],e.yl(b);this.clippingMode===a.ClippingMode.Clip&&b.endGroup()},c.prototype.analysisFitInfo=function(b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q=0,r=0,s=0,t=0,u=this.dataModel,v=this.AKa(),w=this.le();for(d=0;d<u.dataSeriesList.length;++d)for(e=u.dataSeriesList[d],f=0;f<e.dataPoints.length;f++)g=e.dataPoints[f],h=g.size,null!=g&&(i=v.GPa().getScaleValue(this._La(g.xValue))-h,j=i+2*h,k=NaN,g instanceof a.models.XCa?k=w.GPa().getScaleValue(g.yValue)-h:g instanceof a.models.SCa&&(k=w.GPa().getScaleValue(Math.max(g.yLowerValue,g.yUpperValue))-h),l=k+2*h,q>i&&(q=i),r<j&&(r=j),s>k&&(s=k),t<l&&(t=l));m=v.GPa().getScaleValue(u.xSite.min),n=v.GPa().getScaleValue(u.xSite.max),o=w.GPa().getScaleValue(u.ySite.max),p=w.GPa().getScaleValue(u.ySite.min),this.$La={left:m-q,top:o-s,right:r-n,bottom:t-p},v.offset=this.$La,w.offset=this.$La},c.prototype.getLabelPosition=function(a,b,c){return this.radial?this.getLabelPositionRadial(a,b,c):this.getLabelPositionCartesian(a,b,c)},c.prototype.fittingLabels=function(a,b){a.left<b.left&&(a.top=(a.bottom-this.xPa())*(b.left-this.wPa())/(a.left-this.wPa())+this.xPa()+a.height,a.left=b.left),a.right>b.right&&(a.top=(a.bottom-this.xPa())*(b.right-this.wPa())/(a.right-this.wPa())+this.xPa()+a.height,a.left=b.right-a.width),a.top-a.height<b.top&&(a.left=(a.left-this.wPa())*(b.top-this.xPa())/(a.top-this.xPa())+this.wPa(),a.top=b.top+a.height),a.bottom>b.bottom&&(a.left=(a.left-this.wPa())*(b.bottom-this.xPa())/(a.bottom-this.xPa())+this.wPa(),a.top=b.bottom)},c.prototype.getLabelPositionRadial=function(b,c,d){var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x=2,y=c,z=c.item,A=this.AKa(),B=this.le(),C=new a.core.Size(0,0);for(e=0,f=d;e<f.length;e++)g=f[e],h=b.measureString(g),h.width>C.width&&(C.width=h.width),C.height+=h.height;return i=new a.XJa,j=a.core.asEnum(this.dataModel.$z().config.text.position,a.TextPosition),k=this.dataModel.$z().config.text.style&&this.dataModel.$z().config.text.style.strokeWidth?this.dataModel.$z().config.text.style.strokeWidth:x,l=this.RLa.nLa,m=this.sS().width<this.sS().height?this.sS().width/2:this.sS().height/2,n=this.dataModel.$z().config.text.offset,o=this.dataModel.$z().config.text.connectingLine,p=this.wPa(),q=this.xPa(),r=0,s=0,t=0,u=0,v=0,this.swapAxes?(t=B.GPa().getScaleValue(this._La(z.xValue)),z instanceof a.models.XCa?u=A.GPa().getScaleValue(z.yValue):z instanceof a.models.SCa&&(u=A.GPa().getScaleValue(z.yUpperValue))):(u=A.GPa().getScaleValue(this._La(z.xValue)),z instanceof a.models.XCa?t=B.GPa().getScaleValue(z.yValue):z instanceof a.models.SCa&&(t=B.GPa().getScaleValue(z.yUpperValue))),v=u,(j===a.TextPosition.Outside||j===a.TextPosition.Auto)&&n>=0&&o&&(u=m),j===a.TextPosition.Center&&(u+=y.radius),u+=n,r=p+Math.cos(t)*u,s=q+Math.sin(t)*u,i.rect=new a.core.Rect(r,s,C.width,C.height),i.pt1=new a.core.Point(p+Math.cos(t)*v,q+Math.sin(t)*v),i.pt1=this.getLineStartPoint(c,i.pt1),j=a.core.asEnum(this.dataModel.$z().config.text.position,a.TextPosition),j===a.TextPosition.Outside?(i.rect.top>this.xPa()?(i.rect.top+=i.rect.height,i.rect.top+=i.rect.height/2):i.rect.top-=i.rect.height/2,i.rect.left>this.wPa()?(i.rect.left-=i.rect.width/2,i.rect.left+=i.rect.height/2):(i.rect.left+=i.rect.width/2,i.rect.left-=i.rect.width,i.rect.left-=i.rect.height/2)):j===a.TextPosition.Inside?(i.rect.top>this.xPa()?(i.rect.top+=i.rect.height,i.rect.top-=i.rect.height/2):i.rect.top+=i.rect.height/2,i.rect.left>this.wPa()?(i.rect.left-=i.rect.width/2,i.rect.left-=i.rect.height/2):(i.rect.left+=i.rect.width/2,i.rect.left-=i.rect.width,i.rect.left+=i.rect.height/2)):j===a.TextPosition.Center&&(r=p+Math.cos(t)*u,s=q+Math.sin(t)*u,r-=C.width/2,s+=C.height/2,i.rect=new a.core.Rect(r,s,C.width,C.height)),w=this.plotArea.APa(),this.fittingLabels(i.rect,new a.core.Rect(w.left+k,w.top+k,w.width-2*k,w.height-2*k)),i.pt2=new a.core.Point(i.rect.left+i.rect.width/2,i.rect.bottom),this.dataModel.$z().config.text.style.strokeWidth?i.pt2.x=i.rect.left+i.rect.width/2:i.rect.left+i.rect.width/2<this.wPa()?i.pt2.x=i.rect.right:i.rect.left+i.rect.width/2>=this.wPa()&&(i.pt2.x=i.rect.left),i.rect.top+i.rect.height/2<this.xPa()?i.pt2.y=i.rect.bottom+k:i.rect.top+i.rect.height/2>=this.xPa()&&(i.pt2.y=i.rect.top-k),i.pt2.y-=i.rect.height,i},c.prototype.getLabelPositionCartesian=function(b,c,d){var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y;if(!(c instanceof a.WJa))return null;for(e=2,f=this.dataModel.$z().config.text.style.stroke&&this.dataModel.$z().config.text.style.strokeWidth?this.dataModel.$z().config.text.style.strokeWidth:e,g=c.radius,h=c.item,i=this.AKa(),j=this.le(),k=0,l=0,this.swapAxes?(l=j.GPa().getScaleValue(this._La(h.xValue)),h instanceof a.models.XCa?k=i.GPa().getScaleValue(h.yValue):h instanceof a.models.SCa&&(k=i.GPa().getScaleValue(h.yUpperValue))):(k=i.GPa().getScaleValue(this._La(h.xValue)),h instanceof a.models.XCa?l=j.GPa().getScaleValue(h.yValue):h instanceof a.models.SCa&&(l=j.GPa().getScaleValue(h.yUpperValue))),this.swapAxes?k+=g:l-=g,m=new a.core.Size(0,0),n=0,o=d;n<o.length;n++)p=o[n],q=b.measureString(p),q.width>m.width&&(m.width=q.width),m.height+=q.height;switch(r=new a.core.Rect(k,l,m.width,m.height),s=0,t=0,u=this.dataModel.$z().config.text.offset,v=new a.XJa,v.pt1=new a.core.Point(k,l),v.pt2=new a.core.Point(k,l),w=a.core.asEnum(this.dataModel.$z().config.text.position,a.TextPosition),w==a.TextPosition.Auto&&(w=a.TextPosition.Outside),x=c.getPoint(),w){case a.TextPosition.Outside:this.swapAxes?(r.top=x.y,s+=u+f,t+=.5*m.height,v.pt2.x+=u+f,v.pt1.y=v.pt2.y=x.y):(r.left=x.x,s-=.5*m.width,t-=0+(u+f),v.pt1.x=v.pt2.x=x.x,v.pt2.y-=u+f);break;case a.TextPosition.Inside:this.swapAxes?(r.top=x.y,s-=m.width+u,t+=.5*m.height,v.pt2.x-=u,v.pt1.y=r.top,v.pt2.y=r.top):(r.left=x.x,s-=.5*m.width,t+=m.height+u,v.pt1.x=v.pt2.x=x.x,v.pt2.y+=u);break;case a.TextPosition.Center:r.left=x.x,r.top=x.y,s-=.5*m.width,t+=.5*m.height}return r.left+=s,r.top+=t,v.rect=r,y=this.plotArea.APa(),w===a.TextPosition.Outside?this.swapAxes?r.right+e+1>y.right&&(r.left=y.right-e-r.width-1,v.pt2.x=r.left-e):r.top-e-r.height<y.top&&(r.top=y.top+e+r.height,v.pt2.y=r.top+e):w===a.TextPosition.Inside&&(this.swapAxes?r.left-e-1<y.left&&(r.left=y.left+e+1,v.pt2.x=r.right-e):r.bottom+e>y.bottom&&(r.top=y.bottom+e-r.height,v.pt2.y=r.top-e)),v.pt1=this.getLineStartPoint(c,v.pt1),v},c.prototype.getLineStartPoint=function(b,c){var d,e,f;return this.dataModel.$z().config.text.linePosition?this.dataModel.$z().config.text.linePosition===a.LinePosition.Center?c:(d=b,e=d.center,f=d.radius,c.y-=f,c):c},c}(a.WLa);a.cMa=b}(d||(d={})),function(a){"use strict";var b,c,d,f=function(c){e(d,c);function d(a,b){return c.call(this,a,b)||this}return Object.defineProperty(d.prototype,"type",{get:function(){return a.DataGraphType.CoordinateSystem_Xy|a.DataGraphType.Chart_Area},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"dataModel",{get:function(){return this.dMa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"symbols",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"lineAspect",{get:function(){return this.$z().config.lineAspect},enumerable:!0,configurable:!0}),d.prototype.bindData=function(b){this.dMa=this.eMa(b);var c=this.le();null!=c.scale&&c.scale.type==a.ValueScaleType.Percentage&&this.dMa.NBa()},d.prototype.eMa=function(a){return new b(this,a,this.$z())},d.prototype.setSelected=function(b,d){var e,f,g,h,i,j,k,l;if(null==b)c.prototype.setSelected.call(this,null,d);else if(b instanceof a.models.sCa)c.prototype.setSelected.call(this,b,d);else if(b instanceof a.models.DCa){for(e=0,f=this.dataModel.dataSeriesList;e<f.length;e++)if(g=f[e],d!=a.SelectionMode.Points)for(g.IAa(),h=0,i=g.dataPoints;h<i.length;h++)j=i[h],j.IAa();if(d==a.SelectionMode.Points||d==a.SelectionMode.Group||d==a.SelectionMode.Point)for(b.N4(),k=0,l=b.dataPoints;k<l.length;k++)j=l[k],j.N4()}},d.prototype.layoutSeries=function(b,d){var e,f,g,h,i;if(!(null==this.dataModel.dataSeriesList||this.dataModel.dataSeriesList.length<=0)){for(e=0,f=this.dataModel.dataSeriesList;e<f.length;e++)g=f[e],null!=g&&g.dataPoints.length>0&&(h=this.createPolygon(g),i=new a.fMa(g,h.xs,h.ys),i.sS(this.sS().clone()),i.refresh(),this.oi.push(i));c.prototype.layoutSeries.call(this,b,d)}},d.prototype.createPolygon=function(b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F;if(null==b.dataPoints||b.dataPoints.length<=0)return null;for(c=this.AKa(),d=this.le(),e={xs:[],ys:[]},f={xs:[],ys:[]},g=0,h=b.dataPoints;g<h.length;g++)i=h[g],j=this._La(i.xValue),null!=j&&(i instanceof a.models.XCa?(null!=i.yValue&&(e.xs.push(j),e.ys.push(i.yValue)),f.xs.push(j),f.ys.push(isNaN(i.yPreviousValue)?Math.max(d.actualMin,0):i.yPreviousValue)):i instanceof a.models.SCa&&null!=i.yUpperValue&&null!=i.yLowerValue&&(e.xs.push(j),e.ys.push(i.yUpperValue),f.xs.push(j),f.ys.push(i.yLowerValue)));if(e=this.gMa(e),f=this.gMa(f),this.lineAspect==a.LineAspect.Spline&&(e=this.hMa(e),f=this.hMa(f)),k={xs:[],ys:[]},this.swapAxes){for(l=0,m=e.xs;l<m.length;l++)n=m[l],k.ys.push(d.convert(n));for(o=0,p=e.ys;o<p.length;o++)q=p[o],k.xs.push(c.convert(q));for(r=0,s=f.xs.reverse();r<s.length;r++)n=s[r],k.ys.push(d.convert(n));for(t=0,u=f.ys.reverse();t<u.length;t++)q=u[t],k.xs.push(c.convert(q));if(this.radial)for(v=0;k.xs.length==k.ys.length&&v<k.xs.length;++v)n=k.ys[v],q=k.xs[v],w=Math.cos(n)*q+this.wPa(),x=Math.sin(n)*q+this.xPa(),k.xs[v]=w,k.ys[v]=x}else{for(y=0,z=e.xs;y<z.length;y++)n=z[y],k.xs.push(c.convert(n));for(A=0,B=e.ys;A<B.length;A++)q=B[A],k.ys.push(d.convert(q));for(C=0,D=f.xs.reverse();C<D.length;C++)n=D[C],k.xs.push(c.convert(n));for(E=0,F=f.ys.reverse();E<F.length;E++)q=F[E],k.ys.push(d.convert(q));if(this.radial)for(v=0;k.xs.length==k.ys.length&&v<k.xs.length;++v)n=k.xs[v],q=k.ys[v],w=Math.cos(q)*n+this.wPa(),x=Math.sin(q)*n+this.xPa(),k.xs[v]=w,k.ys[v]=x}return k},d.prototype.gMa=function(b){var c,d,e,f=[];for(c=0;c<Math.min(b.xs.length,b.ys.length);c++)f.push(new a.core.Point(b.xs[c],b.ys[c]));for(d=new a.AIa((!1),this.lineAspect),f=d.convert(f),e={xs:[],ys:[]},c=0;c<f.length;c++)e.xs.push(f[c].x),e.ys.push(f[c].y);return e},d.prototype.hMa=function(b){var c=new a.THa(b.xs,b.ys),d=c.calculate();return{xs:d.xs,ys:d.ys}},d}(a.cMa);a.PGa=f,b=function(b){e(f,b);function f(a,c,d){return b.call(this,a,c,d)||this}return f.prototype.mSa=function(){return new d},f.prototype.IBa=function(a,d){return void 0===d&&(d=0),null!=this.categoryFields&&this.categoryFields.length>0?b.prototype.IBa.call(this,a,d):null!=this.xField?new c(this.xField,d):b.prototype.IBa.call(this,a,d)},f.prototype.fCa=function(b,c,d,e){return c instanceof a.data.COa?new a.models.YCa(this,b,c,d,e):c instanceof a.data.BOa?new a.models.YCa(this,b,c,d,e):c instanceof a.data.zOa?new a.models.TCa(this,b,c,d,e):c instanceof a.data.AOa?new a.models.TCa(this,b,c,d,e):null},f}(a.models.OCa),c=function(a){e(b,a);function b(){return null!==a&&a.apply(this,arguments)||this}return b.prototype.padding=function(b){return void 0===b?this.isOrdinal?0:a.prototype.padding.call(this):void a.prototype.padding.call(this,b)},b}(a.models.qBa),d=function(b){e(c,b);function c(){return null!==b&&b.apply(this,arguments)||this}return c.prototype.render=function(b,c){var d=c.width<c.height?c.width:c.height;b.drawRect((c.right+c.left)/2-d/2,c.top,d,d,null,a.core.merge({fill:this.tE,strokeWidth:0},this.Wqa))},c}(a.models.oSa)}(d||(d={})),function(a){"use strict";var b,c,d,f=function(d){e(f,d);function f(a,b){var c=d.call(this,a,b)||this;return c.iMa=0,c}return Object.defineProperty(f.prototype,"type",{get:function(){return a.DataGraphType.CoordinateSystem_Xy|a.DataGraphType.Chart_Bar},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"dataModel",{get:function(){return this.dMa},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"symbols",{get:function(){return!1},enumerable:!0,configurable:!0}),f.prototype.UP=function(){return this.$z().config.offset},f.prototype.SPa=function(){return this.$z().config.barLines},f.prototype.TPa=function(){var a=this.QPa().bar.width;return null==a?.7:(a>1&&(a=1),a<0&&(a=0),a)},f.prototype.UPa=function(){var a=this.QPa().bar.overlap;return null==a?0:(a>1&&(a=1),a<-1&&(a=-1),a)},f.prototype.VPa=function(){var b,c,d,e=0;for(b=0,c=this.dataModel.dataSeriesList;b<c.length;b++)d=c[b],d.cb==a.Group.Cluster&&e++;return e},f.prototype.bindData=function(b){var c,d;this.dMa=this.eMa(b),this.dMa.dataSeriesList[0],c=this.le(),null!=c.scale&&c.scale.type==a.ValueScaleType.Percentage&&(this.dMa.NBa(),d=this.dMa.ySite,null!=d&&d instanceof a.models.eCa&&d.min>0&&(d.FCa=0))},f.prototype.jMa=function(a){return this.iMa=a,a+this.VPa()},f.prototype.getwidth=function(a){var b,c;if(null!=a&&a.jMa(),!(null==this.dataModel.dataSeriesList||this.dataModel.dataSeriesList.length<=0))return b=this.RPa()*this.TPa()/a.VPa(),c=this.RPa()/a.VPa(),this.UPa()>0?(b+=b*(a.VPa()-1)*this.UPa(),c+=c*(a.VPa()-1)*this.UPa()):this.UPa()<0&&(b+=b*this.UPa()*.5,c+=c*this.UPa()*.5),{width:b,radialwidth:c}},f.prototype.eMa=function(a){return new c(this,a,this.$z())},f.prototype.measure=function(a,c){var e,f,g,h,i;d.prototype.measure.call(this,a,c),e=b.kMa(this.plotArea),f=this.getwidth(e),g=f.width,h=f.radialwidth,this.radial&&!this.swapAxes&&(i=this.AKa(),i.OPa((g-h)/2))},f.prototype.layoutSeries=function(c,d){var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P;for(this.oi.length=0,e=b.kMa(this.plotArea),f=this.getwidth(e),g=f.width,h=f.radialwidth,i=this.iMa-1,j=0,k=this.dataModel.dataSeriesList;j<k.length;j++){if(l=k[j],m=NaN,n=NaN,null!=this.QPa().bar.neckHeight&&this.QPa().bar.neckHeight<=1&&this.QPa().bar.neckHeight>=0&&(m=this.QPa().bar.neckHeight*(this.dataModel.ySite.max-(this.dataModel.ySite.min<0?l.ySite.min:0))),null!=this.QPa().bar.bottomWidth&&this.QPa().bar.bottomWidth<=1&&this.QPa().bar.bottomWidth>=0&&(n=this.TPa()<=0?this.QPa().bar.bottomWidth:this.QPa().bar.bottomWidth*g/this.TPa()),isNaN(n)||(this.config.swapAxes&&this.dataModel.xSite.isOrdinal?(o=this.le().GPa(),n=n*(o.endPosition-o.startPosition)/(o.max-o.min)):(o=this.AKa().GPa(),n=n*(o.endPosition-o.startPosition)/(o.max-o.min))),l.cb==a.Group.Cluster&&i++,p=0,e.VPa()>1&&(q=(this.RPa()*this.TPa()-g*e.VPa())/(e.VPa()-1),p=.5*(g-this.RPa()*this.TPa())+(g+q)*i),null!=l&&l.dataPoints.length>0)for(r=0,s=l.dataPoints;r<s.length;r++)if(t=s[r],u=this._La(t.xValue),v=isNaN(this.UP())?0:this.UP(),v=isNaN(t.offset)?v:t.offset,this.radial)w=this.createRect(t,u+p-.5*h,u+p+.5*(g-(h-g)),!0),null!=w&&(x=this.wPa()+v*Math.cos(w.startAngle+w.sweep/2)*(w.radius-w.innerRadius),y=this.xPa()+v*Math.sin(w.startAngle+w.sweep/2)*(w.radius-w.innerRadius),z=new a.mMa(t,new a.core.Point(x,y),w.radius,w.innerRadius,w.startAngle,w.sweep),z.refresh(),this.oi.push(z),this.RLa.add(new a.DonutArea(new a.core.Point(this.wPa(),this.xPa()),z.CPa(),z.NPa(),z.MPa(),z.DPa(),t)));else if(isNaN(n))H=this.createRect(t,u+p-.5*g,u+p+.5*g),null!=H&&(z=new a.nMa(t),z.sS(new a.core.Rect(H.left,H.top,H.width,H.height)),this.swapAxes?a.x7.translateRectY(z.sS(),v*z.sS().height):a.x7.translateRectX(z.sS(),v*z.sS().width),z.refresh(),this.oi.push(z),this.RLa.add(new a.CKa(z.sS(),t)));else{for(A=this.createFunnel(t,u+p-.5*g,u+p+.5*g,m,n),B=[],C=[],D=0,E=A;D<E.length;D++)F=E[D],B.push(F.x),C.push(F.y);z=new a.oMa(t,B,C),z.refresh(),this.oi.push(z),G=new a.CKa(new a.core.Rect(Math.min.apply(this,B),Math.min.apply(this,C),Math.max.apply(this,B)-Math.min.apply(this,B),Math.max.apply(this,C)-Math.min.apply(this,C)),t),this.RLa.add(G)}if(this.SPa())for(I=0;I<this.oi.length+1;++I)J=this.oi[I],K=this.oi[I+1],J instanceof a.nMa&&K instanceof a.nMa?(L=new a.pMa(new a.core.Point(J.sS().right,J.sS().top),new a.core.Point(K.sS().left,K.sS().top)),this.oi.push(L)):J instanceof a.mMa&&K instanceof a.mMa&&(M=Math.cos(J.MPa()+J.DPa())*J.CPa()+J.BPa().x,N=Math.sin(J.MPa()+J.DPa())*J.CPa()+J.BPa().y,O=Math.cos(K.MPa()+K.DPa())*K.NPa()+K.BPa().x,P=Math.sin(K.MPa()+K.DPa())*K.NPa()+K.BPa().y,L=new a.pMa(new a.core.Point(M,N),new a.core.Point(O,P)),this.oi.push(L));this.radial&&this.RLa.nLa.sort(function(a,b){return a.sweep-b.sweep})}},f.prototype.createFunnel=function(b,c,d,e,f){var g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C=this.AKa(),D=this.le(),E=NaN,F=NaN,G=NaN,H=NaN;return this.swapAxes?(E=D.GPa().getScaleValue(c),F=D.GPa().getScaleValue(d),Math.abs(E-F)<1&&(F=E+1),b instanceof a.models.XCa?(G=isNaN(b.yPreviousValue)?C.GPa().getScaleValue(0):C.GPa().getScaleValue(b.yPreviousValue),H=C.GPa().getScaleValue(b.yValue)):b instanceof a.models.SCa&&(G=C.GPa().getScaleValue(b.yLowerValue),H=C.GPa().getScaleValue(b.yUpperValue)),g=C.GPa().getScaleValue(e),h=Math.abs(H-G),i=F-E,j=E,k=F,l=E,m=F,n=[],g>Math.max(G,H)?(E+=(i-f)/2,F-=(i-f)/2,l=E,m=F,n.push(new a.core.Point(G,E)),n.push(new a.core.Point(H,l)),n.push(new a.core.Point(H,m)),n.push(new a.core.Point(G,F))):g<Math.min(G,H)?(o=C.GPa().getScaleValue(this.dataModel.ySite.max),p=(G-o)/(g-o)*(i-f)/2,q=(H-o)/(g-o)*(i-f)/2,r=E,s=F,E=r+p,F=s-p,l=r+q,m=s-q,n.push(new a.core.Point(G,F)),n.push(new a.core.Point(H,m)),n.push(new a.core.Point(H,l)),n.push(new a.core.Point(G,E))):(o=C.GPa().getScaleValue(this.dataModel.ySite.max),q=(H-o)/(g-o)*(i-f)/2,r=E,s=F,l=r+q,m=s-q,E=j=r+(i-f)/2,F=k=s-(i-f)/2,n.push(new a.core.Point(G,F)),n.push(new a.core.Point(g,k)),n.push(new a.core.Point(H,m)),n.push(new a.core.Point(H,l)),n.push(new a.core.Point(g,j)),n.push(new a.core.Point(G,E))),n):(G=C.GPa().getScaleValue(c),H=C.GPa().getScaleValue(d),Math.abs(G-H)<1&&(H=G+1),b instanceof a.models.XCa?(E=isNaN(b.yPreviousValue)?D.GPa().getScaleValue(0):D.GPa().getScaleValue(b.yPreviousValue),F=D.GPa().getScaleValue(b.yValue)):b instanceof a.models.SCa&&(E=D.GPa().getScaleValue(b.yLowerValue),F=D.GPa().getScaleValue(b.yUpperValue)),g=D.GPa().getScaleValue(e),i=Math.abs(F-E),h=H-G,t=G,u=H,v=G,w=H,n=[],g<Math.min(E,F)?(G+=(h-f)/2,H-=(h-f)/2,v=G,w=H,n.push(new a.core.Point(v,E)),n.push(new a.core.Point(w,E)),n.push(new a.core.Point(H,F)),n.push(new a.core.Point(G,F))):g>Math.max(E,F)?(x=D.GPa().getScaleValue(this.dataModel.ySite.max),y=(E-x)/(g-x)*(h-f)/2,z=(F-x)/(g-x)*(h-f)/2,isNaN(y)&&(y=0),isNaN(z)&&(z=0),A=G,B=H,G=A+z,H=B-z,v=A+y,w=B-y,n.push(new a.core.Point(G,F)),n.push(new a.core.Point(v,E)),n.push(new a.core.Point(w,E)),n.push(new a.core.Point(H,F)),n.push(new a.core.Point(G,F))):(x=D.GPa().getScaleValue(this.dataModel.ySite.max),A=G,B=H,z=(F-x)/(g-x)*(h-f)/2,isNaN(z)&&(z=0),G=A+z,H=B-z,t=A+(h-f)/2,u=B-(h-f)/2,v=t,w=u,n.push(new a.core.Point(G,F)),n.push(new a.core.Point(t,g)),n.push(new a.core.Point(v,E)),n.push(new a.core.Point(w,E)),n.push(new a.core.Point(u,g)),n.push(new a.core.Point(H,F)),n.push(new a.core.Point(G,F))),n)},f.prototype.createRect=function(b,c,d,e){var f,g,h,i;return void 0===e&&(e=!1),f=this.AKa(),g=this.le(),h=NaN,i=NaN,this.swapAxes?(h=g.GPa().getScaleValue(c),i=g.GPa().getScaleValue(d),c=NaN,d=NaN,b instanceof a.models.XCa?(c=isNaN(b.yPreviousValue)?f.GPa().getScaleValue(f.GPa().min<0?0:f.GPa().min):f.GPa().getScaleValue(b.yPreviousValue),d=f.GPa().getScaleValue(b.yValue)):b instanceof a.models.SCa&&(c=f.GPa().getScaleValue(b.yLowerValue),d=f.GPa().getScaleValue(b.yUpperValue))):(c=f.GPa().getScaleValue(c),d=f.GPa().getScaleValue(d),Math.abs(c-d)<1&&(d=c+1),b instanceof a.models.XCa?(h=isNaN(b.yPreviousValue)?g.GPa().getScaleValue(g.GPa().min<0?0:g.GPa().min):g.GPa().getScaleValue(b.yPreviousValue),i=g.GPa().getScaleValue(b.yValue)):b instanceof a.models.SCa&&(h=g.GPa().getScaleValue(b.yLowerValue),i=g.GPa().getScaleValue(b.yUpperValue))),null==c||null==d||null==h||null==i||isNaN(c)||isNaN(d)||isNaN(h)||isNaN(i)?null:e?{innerRadius:Math.min(c,d),startAngle:Math.min(h,i),radius:Math.min(c,d)+Math.abs(d-c),sweep:Math.abs(i-h)}:{left:Math.min(c,d),top:Math.min(h,i),width:Math.abs(d-c),height:Math.abs(i-h)}},f.prototype.getLineStartPoint=function(b,c){var d,e,f,g;return this.$z().config.text.linePosition&&this.$z().config.text.linePosition==a.LinePosition.Center?this.radial?(d=b,e=d.angle+d.sweep/2,f=d.radius+d.innerRadius,c=new a.core.Point(d.center.x+Math.cos(e)*f/2,d.center.y+Math.sin(e)*f/2)):(d=b,g=d.rect,c.x=g.left+g.width/2,c.y=g.top+g.height/2,c):c},f.prototype.getLabelPosition=function(a,b,c){return this.radial?this.getLabelPositionRadial(a,b,c):this.getLabelPositionCartesian(a,b,c)},f.prototype.getLabelPositionRadial=function(b,c,d){var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E=2,F=c,G=this.AKa(),H=this.le(),I=new a.core.Size(0,0);for(e=0,f=d;e<f.length;e++)g=f[e],h=b.measureString(g),h.width>I.width&&(I.width=h.width),I.height+=h.height;if(i=new a.XJa,j=this.$z().config.text.position,k=E,null!=this.$z().config.text.style.strokeWidth&&(k=this.$z().config.text.style.strokeWidth),l=this.RLa.nLa,m=this.sS().width<this.sS().height?this.sS().width/2:this.sS().height/2,n=0,this.config&&this.config.text&&this.config.text.offset&&(n=this.config.text.offset),o=null,this.config&&this.config.text&&this.config.text.connectingLine&&(o=this.config.text.connectingLine),p=this.wPa(),q=this.xPa(),r=0,s=0,t=F.angle+F.sweep/2,u=F.radius,(j===a.TextPosition.Outside||j===a.TextPosition.Auto)&&n>=0&&o&&(u=m),j===a.TextPosition.Center&&(u=(F.innerRadius+F.radius)/2),u+=n,r=p+Math.cos(t)*u,s=q+Math.sin(t)*u,i.rect=new a.core.Rect(r,s,I.width,I.height),i.pt1=new a.core.Point(p+Math.cos(t)*F.radius,q+Math.sin(t)*F.radius),i.pt1=this.getLineStartPoint(c,i.pt1),j===a.TextPosition.Outside?(i.rect.top>this.xPa()?(i.rect.top+=i.rect.height,i.rect.top+=i.rect.height/2):i.rect.top-=i.rect.height/2,i.rect.left>this.wPa()?(i.rect.left-=i.rect.width/2,i.rect.left+=i.rect.height/2):(i.rect.left+=i.rect.width/2,i.rect.left-=i.rect.width,i.rect.left-=i.rect.height/2)):j===a.TextPosition.Inside?(i.rect.top>this.xPa()?(i.rect.top+=i.rect.height,i.rect.top-=i.rect.height/2):i.rect.top+=i.rect.height/2,i.rect.left>this.wPa()?(i.rect.left-=i.rect.width/2,i.rect.left-=i.rect.height/2):(i.rect.left+=i.rect.width/2,i.rect.left-=i.rect.width,i.rect.left+=i.rect.height/2)):j===a.TextPosition.Center&&(r=p+Math.cos(t)*u,s=q+Math.sin(t)*u,r-=I.width/2,s+=I.height/2,i.rect=new a.core.Rect(r,s,I.width,I.height)),v=this.plotArea.APa(),this.fittingLabels(i.rect,new a.core.Rect(v.left+k,v.top+k,v.width-2*k,v.height-2*k)),i.pt2=new a.core.Point(i.rect.left+i.rect.width/2,i.rect.bottom),this.config&&this.config.text&&this.config.text.style.stroke?i.pt2.x=i.rect.left+i.rect.width/2:i.rect.left+i.rect.width/2<this.wPa()?i.pt2.x=i.rect.right:i.rect.left+i.rect.width/2>=this.wPa()&&(i.pt2.x=i.rect.left),i.rect.top+i.rect.height/2<this.xPa()?i.pt2.y=i.rect.bottom+k:i.rect.top+i.rect.height/2>=this.xPa()&&(i.pt2.y=i.rect.top-k),i.pt2.y-=i.rect.height,j===a.TextPosition.Center&&(w=i.rect.left+i.rect.width/2,x=i.rect.top+i.rect.height/2,Math.sqrt((w-this.wPa())*(w-this.wPa())+(x-this.xPa())*(x-this.xPa()))<F.radius))for(y=i.rect.clone(),y.left-=k,y.top-=k+y.height,y.width+=2*k,y.height+=2*k,z=[new a.core.Point(y.left,y.top),new a.core.Point(y.left,y.bottom),new a.core.Point(y.right,y.top),new a.core.Point(y.right,y.bottom)],A=NaN,B=0,C=z;B<C.length;B++)D=C[B],isNaN(A)?(A=(D.x-this.wPa())*(D.x-this.wPa())+(D.y-this.xPa())*(D.y-this.xPa()),i.pt2=D.clone()):(D.x-this.wPa())*(D.x-this.wPa())+(D.y-this.xPa())*(D.y-this.xPa())>A&&(i.pt2=D.clone(),A=(D.x-this.wPa())*(D.x-this.wPa())+(D.y-this.xPa())*(D.y-this.xPa()));return i},f.prototype.getLabelPositionCartesian=function(b,c,d){var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s=2,t=c.item,u=this.AKa(),v=this.le(),w=!1,x=0,y=0;for(this.swapAxes?(y=v.GPa().getScaleValue(this._La(t.xValue)),t instanceof a.models.XCa?(t.yValue<0&&(w=!0),x=u.GPa().getScaleValue(t.yValue)):t instanceof a.models.SCa&&(x=u.GPa().getScaleValue(t.yUpperValue),t.yUpperValue<0&&(w=!0))):(x=u.GPa().getScaleValue(this._La(t.xValue)),t instanceof a.models.XCa?(y=v.GPa().getScaleValue(t.yValue),t.yValue<0&&(w=!0)):t instanceof a.models.SCa&&(y=v.GPa().getScaleValue(t.yUpperValue),t.yUpperValue<0&&(w=!0))),e=new a.core.Size(0,0),f=0,g=d;f<g.length;f++)h=g[f],i=b.measureString(h),i.width>e.width&&(e.width=i.width),e.height+=i.height;switch(j=new a.core.Rect(x,y,e.width,e.height),k=0,l=0,m=0,this.config&&this.config.text&&this.config.text.offset&&(m=this.config.text.offset),n=m,this.config&&this.config.text&&this.config.text.style.stroke&&(n=m-s),o=new a.XJa,o.pt1=new a.core.Point(x,y),o.pt2=new a.core.Point(x,y),p=a.TextPosition.Auto,this.config&&this.config.text&&this.config.text.position&&(p=a.core.asEnum(this.config.text.position,a.TextPosition)),p==a.TextPosition.Auto&&(p=a.TextPosition.Outside),q=c.getPoint(),p){case a.TextPosition.Outside:this.swapAxes?(j.top=q.y,k+=m,l+=.5*e.height,o.pt2.x+=n,o.pt1.y=o.pt2.y=q.y):(j.left=q.x,k-=.5*e.width,l-=0+m,o.pt1.x=o.pt2.x=q.x,o.pt2.y-=n);break;case a.TextPosition.Inside:this.swapAxes?(j.top=q.y,k-=e.width+m,l+=.5*e.height,o.pt2.x-=m,o.pt1.y=j.top,o.pt2.y=j.top):(j.left=q.x,k-=.5*e.width,l+=e.height+m,o.pt1.x=o.pt2.x=q.x,o.pt2.y+=n);break;case a.TextPosition.Center:j.left=q.x,j.top=q.y,k-=.5*e.width,l+=.5*e.height}return j.left+=k,j.top+=l,o.rect=j,w&&(this.swapAxes?(j.left-=e.width+2*m,o.pt2.x-=2*m):(j.top+=e.height+2*m,o.pt2.y+=2*m)),r=this.plotArea.APa(),p===a.TextPosition.Outside?this.swapAxes?j.right+s+1>r.right?(j.left=r.right-s-j.width-1,o.pt2.x=j.left-s):j.left+s<r.left&&(j.left=r.left+s,o.pt2.x=j.right+s):j.top-s-j.height<r.top?(j.top=r.top+s+j.height,o.pt2.y=j.top+s):j.bottom+s-j.height>r.bottom&&(j.top=r.bottom-s,o.pt2.y=j.top+s-j.height):p===a.TextPosition.Inside&&(this.swapAxes?j.left-s-1<r.left&&(j.left=r.left+s+1,o.pt2.x=j.right-s):j.bottom+s>r.bottom&&(j.top=r.bottom+s-j.height,o.pt2.y=j.top-s)),o.pt1=this.getLineStartPoint(c,o.pt1),o},f}(a.cMa);a.RGa=f,b=function(){function b(a){this.qMa=0,this.VLa=a}return b.kMa=function(a){if(null!=a){var c=a.kMa;return null==c&&(a.kMa=c=new b(a)),c}return null},b.prototype.VPa=function(){return this.qMa},b.prototype.jMa=function(){var b,c,d;for(this.qMa=0,b=0,c=this.VLa.nPa();b<c.length;b++)d=c[b],(d.type&a.DataGraphType.ChartFilter)==a.DataGraphType.Chart_Bar&&(this.qMa=d.jMa(this.qMa))},b}(),c=function(b){e(c,b);function c(c,d,e){var f=b.call(this,c,d,e)||this;return null==f.categoryFields&&(f.xField instanceof a.data.fBa?f.xSite instanceof a.models.qBa&&f.xSite.padding(f.rMa()):f.xField instanceof a.data.iBa&&f.xSite instanceof a.models.qBa&&f.xSite.padding(f.rMa())),f}return c.prototype.mSa=function(){return new d},c.prototype.fCa=function(b,c,d,e){return c instanceof a.data.COa?new a.models.YCa(this,b,c,d,e):c instanceof a.data.BOa?new a.models.YCa(this,b,c,d,e):c instanceof a.data.zOa?new a.models.TCa(this,b,c,d,e):c instanceof a.data.AOa?new a.models.TCa(this,b,c,d,e):null},c.prototype.IBa=function(a){return b.prototype.IBa.call(this,a,.5)},c.prototype.rMa=function(){var a,b,c,d,e,f,g,h,i=NaN;for(a=0,b=this.dataSeriesList;a<b.length;a++)for(c=b[a],d=null,e=0,f=c.dataPoints;e<f.length;e++)g=f[e],h=NaN,null!=d&&(h=Math.abs(g.xValue-d.xValue)),!isNaN(h)&&h>0&&(isNaN(i)||i>h)&&(i=h),d=g;return isNaN(i)?1:i},c}(a.models.OCa),d=function(b){e(c,b);function c(){return null!==b&&b.apply(this,arguments)||this}return c.prototype.render=function(b,c){var d=c.width<c.height?c.width:c.height;b.drawRect((c.right+c.left)/2-d/2,c.top,d,d,null,a.core.merge({fill:this.tE,strokeWidth:0},this.Wqa))},c}(a.models.oSa)}(d||(d={})),function(a){"use strict";var b,c=function(c){e(d,c);function d(b){return c.call(this,b,new a.options.qAa(null))||this}return Object.defineProperty(d.prototype,"type",{get:function(){return a.DataGraphType.CoordinateSystem_Xy|a.DataGraphType.Chart_Empty},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"dataModel",{get:function(){return this.dMa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"symbols",{get:function(){return!1},enumerable:!0,configurable:!0}),d.prototype.bindData=function(a){this.dMa=this.eMa(a)},d.prototype.eMa=function(a){return new b(this,a,this.$z())},d}(a.cMa);a.XOa=c,b=function(a){e(b,a);function b(){return null!==a&&a.apply(this,arguments)||this}return b.prototype.fCa=function(a,b,c,d){return null},b}(a.models.iCa)}(d||(d={})),function(a){"use strict";var b,c,d=function(c){e(d,c);function d(a,b){var d=c.call(this,a,b)||this;return d.YLa=!0,d}return Object.defineProperty(d.prototype,"type",{get:function(){return a.DataGraphType.CoordinateSystem_Xy|a.DataGraphType.Chart_Line},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"dataModel",{get:function(){return this.dMa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"lineAspect",{get:function(){return this.$z().config.lineAspect},enumerable:!0,configurable:!0}),d.prototype.bindData=function(b){this.dMa=this.eMa(b);var c=this.le();null!=c.scale&&c.scale.type==a.ValueScaleType.Percentage&&this.dMa.NBa()},d.prototype.eMa=function(a){return new b(this,a,this.$z())},d.prototype.setSelected=function(b,d){var e,f,g,h,i,j,k,l;if(null==b)c.prototype.setSelected.call(this,null,d);else if(b instanceof a.models.sCa)c.prototype.setSelected.call(this,b,d);else if(b instanceof a.models.DCa){
for(e=0,f=this.dataModel.dataSeriesList;e<f.length;e++)if(g=f[e],d!=a.SelectionMode.Points)for(g.IAa(),h=0,i=g.dataPoints;h<i.length;h++)j=i[h],j.IAa();if(d==a.SelectionMode.Points||d==a.SelectionMode.Group||d==a.SelectionMode.Point)for(b.N4(),k=0,l=b.dataPoints;k<l.length;k++)j=l[k],j.N4()}},d.prototype._R=function(a,b){c.prototype._R.call(this,a,b)},d.prototype.layoutSeries=function(b,d){var e,f,g,h,i,j,k,l;if(!(null==this.dataModel.dataSeriesList||this.dataModel.dataSeriesList.length<=0)){for(e=0,f=this.dataModel.dataSeriesList;e<f.length;e++)if(g=f[e],null!=g&&g.dataPoints.length>0&&(h=this.sMa(g),null!=h))for(i=0,j=h;i<j.length;i++)k=j[i],l=new a.tMa(g,k.xs,k.ys),l.sS(this.sS().clone()),l.refresh(),this.oi.push(l);c.prototype.layoutSeries.call(this,b,d)}},d.prototype.render=function(a){c.prototype.render.call(this,a)},d.prototype.sMa=function(b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K;if(null==b.dataPoints||b.dataPoints.length<=0)return null;for(c=[],d={xs:[],ys:[]},e=0,f=b.dataPoints;e<f.length;e++)g=f[e],h=this._La(g.xValue),null!=h&&g instanceof a.models.XCa&&(this.showNulls==a.ShowNulls.Gaps?null==g.yValue?(c.push(d),d={xs:[],ys:[]}):(d.xs.push(h),d.ys.push(g.yValue)):this.showNulls==a.ShowNulls.Zeros?(d.xs.push(h),d.ys.push(null==g.yValue?0:g.yValue)):null!=g.yValue&&(d.xs.push(h),d.ys.push(g.yValue)));for(c.push(d),i=this.AKa(),j=this.le(),k=[],l=i.GPa(),m=j.GPa(),n=(l.max-l.min)/(l.endPosition-l.startPosition),o=(m.max-m.min)/(m.endPosition-m.startPosition),isNaN(n)&&(n=1),isNaN(n)&&(n=1),p=0,q=c;p<q.length;p++)r=q[p],r.xs.length>1&&(s=this.gMa(r),this.lineAspect==a.LineAspect.Spline&&(s=this.hMa(r,Math.abs(n),Math.abs(o))),k.push(s));for(c=k,t=[],u=0,v=c;u<v.length;u++){if(w=v[u],x={xs:[],ys:[]},this.swapAxes){for(y=0,z=w.xs;y<z.length;y++)A=z[y],x.ys.push(j.convert(A));for(B=0,C=w.ys;B<C.length;B++)D=C[B],x.xs.push(i.convert(D));if(this.radial)for(E=0;x.xs.length==x.ys.length&&E<x.xs.length;++E)D=x.xs[E],A=x.ys[E],F=Math.cos(A)*D+this.wPa(),G=Math.sin(A)*D+this.xPa(),x.xs[E]=F,x.ys[E]=G}else{for(H=0,I=w.xs;H<I.length;H++)A=I[H],x.xs.push(i.convert(A));for(J=0,K=w.ys;J<K.length;J++)D=K[J],x.ys.push(j.convert(D));if(this.radial)for(E=0;x.xs.length==x.ys.length&&E<x.xs.length;++E)A=x.xs[E],D=x.ys[E],F=Math.cos(D)*A+this.wPa(),G=Math.sin(D)*A+this.xPa(),x.xs[E]=F,x.ys[E]=G}t.push(x)}return t},d.prototype.gMa=function(b){var c,d,e,f=[];for(c=0;c<Math.min(b.xs.length,b.ys.length);c++)f.push(new a.core.Point(b.xs[c],b.ys[c]));for(d=new a.AIa((!1),this.lineAspect),f=d.convert(f),e={xs:[],ys:[]},c=0;c<f.length;c++)e.xs.push(f[c].x),e.ys.push(f[c].y);return e},d.prototype.hMa=function(b,c,d){var e=new a.THa(b.xs,b.ys),f=e.calculate(c,d);return{xs:f.xs,ys:f.ys}},d}(a.cMa);a.TGa=d,b=function(b){e(d,b);function d(){return null!==b&&b.apply(this,arguments)||this}return d.prototype.mSa=function(){return new c(this.$z().config.symbols)},d.prototype.IBa=function(c){return null!=this.categoryFields&&this.categoryFields.length>0?b.prototype.IBa.call(this,c,.5):this.xField instanceof a.data.hBa||this.xField instanceof a.data.jBa?b.prototype.IBa.call(this,c,.5):b.prototype.IBa.call(this,c)},d.prototype.fCa=function(b,c,d,e){return c instanceof a.data.COa?new a.models.YCa(this,b,c,d,e):c instanceof a.data.BOa?new a.models.YCa(this,b,c,d,e):null},d}(a.models.OCa),c=function(b){e(c,b);function c(a){var c=b.call(this)||this;return c.R=a,c}return c.prototype.render=function(c,d){var e=this.iTa||this.tE;c.drawLine(d.left,d.top+d.height/2,d.right,d.top+d.height/2,null,a.core.merge({stroke:e,strokeWidth:1},this.Wqa)),this.R&&b.prototype.render.call(this,c,d)},c}(a.models.oSa)}(d||(d={})),function(a){"use strict";var b,c,d=function(b){e(d,b);function d(){return null!==b&&b.apply(this,arguments)||this}return Object.defineProperty(d.prototype,"type",{get:function(){return a.DataGraphType.CoordinateSystem_Xy|a.DataGraphType.Chart_Scatter},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"dataModel",{get:function(){return this.dMa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"symbols",{get:function(){return!0},enumerable:!0,configurable:!0}),d.prototype.bindData=function(b){this.dMa=this.eMa(b);var c=this.le();null!=c.scale&&c.scale.type==a.ValueScaleType.Percentage&&this.dMa.NBa()},d.prototype.eMa=function(a){return new c(this,a,this.$z())},d}(a.cMa);a.VGa=d,b=function(a){e(b,a);function b(){return null!==a&&a.apply(this,arguments)||this}return Object.defineProperty(b.prototype,"min",{get:function(){return-.5},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"max",{get:function(){return this.Ey.length-.5},enumerable:!0,configurable:!0}),b}(a.models.LCa),c=function(c){e(d,c);function d(a,b,d){return c.call(this,a,b,d)||this}return d.prototype.IBa=function(a){return null!=this.categoryFields&&this.categoryFields.length>0?new b(this.categoryFields,a):c.prototype.IBa.call(this,a)},d.prototype.fCa=function(b,c,d,e){return c instanceof a.data.COa?new a.models.YCa(this,b,c,d,e):c instanceof a.data.BOa?new a.models.YCa(this,b,c,d,e):null},d}(a.models.OCa)}(d||(d={})),function(a){"use strict";var b,c,d,f=function(c){e(f,c);function f(){return null!==c&&c.apply(this,arguments)||this}return Object.defineProperty(f.prototype,"type",{get:function(){return a.DataGraphType.CoordinateSystem_None|a.DataGraphType.Chart_Treemap},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"radial",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"offset",{get:function(){return this.$z().config.offset},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"innerRadius",{get:function(){return this.$z().config.innerRadius},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"sweep",{get:function(){return this.$z().config.sweep},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"startAngle",{get:function(){return this.$z().config.startAngle},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"name",{get:function(){return"TreeMap"},enumerable:!0,configurable:!0}),f.prototype.onHitted=function(b){var c,d,e,f;if(b.contains(this.sS()))for(c=0,d=this.oi;c<d.length;c++)if(e=d[c],f=e.onHitted(b),null!=f)return f.plot=this,f.elementType.push(a.ElementType.Plot),f;return null},f.prototype.tAa=function(){var a,b,c,d=[];for(a=0,b=this.oi;a<b.length;a++)c=b[a],c.KQa()&&d.push(c.KIa);return d},f.prototype.setSelected=function(b,c){this.traversal(this.dMa.root,function(a){a.IAa()}),null!=b&&b instanceof a.models.bDa&&this.traversal(b,function(a){a.N4()})},f.prototype.Query=function(b){var c=[],d=new a.ZRa(b,function(b,c){var d,e;try{return d=new a.core.Binding(c),e=d.getValue(b.item),null==e&&(e=d.getValue(b)),e}catch(a){}return null},function(a,b){var c,d=a.item;for(c in d)if(b==c)return!0;return!1},function(a){c.push(a)});return this.traversal(this.dataModel.root,function(a){d.evaluate(a)}),c},f.prototype.traversal=function(a,b){var c,d,e;if(a&&(b(a),a.children&&a.children.length>0))for(c=0,d=a.children;c<d.length;c++)e=d[c],this.traversal(e,b)},f.prototype.measure=function(b,c){var e,f,g,h,i,j,k;this.uMa=new d,b.beginTransform(),a.GHa(b,this.$z().config.style),a.GHa(b,this.$z().config.textStyle),e=c.left+c.width/2,f=c.top+c.height/2,g=isNaN(this.startAngle)?0:this.startAngle,h=isNaN(this.sweep)?2*Math.PI:this.sweep/180*Math.PI,i=c.width<c.height?c.width/2:c.height/2,j=isNaN(this.innerRadius)?0:this.innerRadius*i,k=isNaN(this.offset)?0:this.offset,this.uMa.covert(this.dataModel.root,e,f,g,h,j,i,k,b),b.restoreTransform()},f.prototype._R=function(b,d){var e,f,g,h;for(c.prototype._R.call(this,b,d),this.oi=[],e=0;e<this.uMa.layoutList.length;++e)f=this.uMa.layoutList[e];for(this.RLa.clear(),g=this.QPa().selectedStyle,h=this.QPa().unselectedStyle,e=this.uMa.layoutList.length-1;e>=0;--e)f=this.uMa.layoutList[e],f.refresh(),this.oi.push(f),this.RLa.add(new a.DonutArea(f.BPa().clone(),f.CPa(),f.NPa(),f.MPa(),f.DPa(),f.datapoint))},f.prototype.render=function(b){var c,d;if(b.beginTransform(),a.GHa(b,this.$z().config.style),a.GHa(b,this.$z().config.textStyle),this.plotArea)for(a.x7.sort(this.oi,function(a,b){return a!=b&&a.GIa}),c=0;c<this.oi.length;++c)d=this.oi[c],d.yl(b);b.restoreTransform()},f.prototype.bindData=function(a){this.dMa=this.eMa(a)},f.prototype.eMa=function(a){return new b(this,a,this.$z())},Object.defineProperty(f.prototype,"dataModel",{get:function(){return this.dMa},enumerable:!0,configurable:!0}),f.prototype.getLineStartPoint=function(b,c){var d,e,f,g;return this.$z().config.text.linePosition&&this.$z().config.text.linePosition==a.LinePosition.Center?this.radial?(d=b,e=d.angle+d.sweep/2,f=d.radius+d.innerRadius,c=new a.core.Point(d.center.x+Math.cos(e)*f/2,d.center.y+Math.sin(e)*f/2)):(d=b,g=d.rect,c.x=g.left+g.width/2,c.y=g.top+g.height/2,c):c},f.prototype.getLabelPosition=function(b,c,d){var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v=2,w=c,x=new a.core.Size(0,0);for(e=0,f=d;e<f.length;e++)g=f[e],h=b.measureString(g),h.width>x.width&&(x.width=h.width),x.height+=h.height;return i=new a.XJa,j=this.$z().config.text.position,k=v,null!=this.$z().config.text.style.strokeWidth&&(k=this.$z().config.text.style.strokeWidth),l=this.RLa.nLa,m=0,this.config&&this.config.text&&this.config.text.offset&&(m=this.config.text.offset),n=null,this.config&&this.config.text&&this.config.text.connectingLine&&(n=this.config.text.connectingLine),o=this.uMa.wPa,p=this.uMa.xPa,q=0,r=0,s=w.angle+w.sweep/2,t=w.radius,j===a.TextPosition.Center&&(t=(w.innerRadius+w.radius)/2),t+=m,q=o+Math.cos(s)*t,r=p+Math.sin(s)*t,i.rect=new a.core.Rect(q,r,x.width,x.height),i.pt1=new a.core.Point(o+Math.cos(s)*w.radius,p+Math.sin(s)*w.radius),i.pt1=this.getLineStartPoint(c,i.pt1),j===a.TextPosition.Outside?(i.rect.top>this.uMa.xPa?(i.rect.top+=i.rect.height,i.rect.top+=i.rect.height/2):i.rect.top-=i.rect.height/2,i.rect.left>this.uMa.wPa?(i.rect.left-=i.rect.width/2,i.rect.left+=i.rect.height/2):(i.rect.left+=i.rect.width/2,i.rect.left-=i.rect.width,i.rect.left-=i.rect.height/2)):j===a.TextPosition.Inside?(i.rect.top>this.uMa.xPa?(i.rect.top+=i.rect.height,i.rect.top-=i.rect.height/2):i.rect.top+=i.rect.height/2,i.rect.left>this.uMa.wPa?(i.rect.left-=i.rect.width/2,i.rect.left-=i.rect.height/2):(i.rect.left+=i.rect.width/2,i.rect.left-=i.rect.width,i.rect.left+=i.rect.height/2)):j===a.TextPosition.Center&&(q=o+Math.cos(s)*t,r=p+Math.sin(s)*t,q-=x.width/2,r+=x.height/2,i.rect=new a.core.Rect(q,r,x.width,x.height)),u=this.plotArea.APa(),this.fittingLabels(i.rect,new a.core.Rect(u.left+k,u.top+k,u.width-2*k,u.height-2*k)),i.pt2=new a.core.Point(i.rect.left+i.rect.width/2,i.rect.bottom),this.config&&this.config.text&&this.config.text.style.stroke?i.pt2.x=i.rect.left+i.rect.width/2:i.rect.left+i.rect.width/2<this.uMa.wPa?i.pt2.x=i.rect.right:i.rect.left+i.rect.width/2>=this.uMa.wPa&&(i.pt2.x=i.rect.left),i.rect.top+i.rect.height/2<this.uMa.xPa?i.pt2.y=i.rect.bottom+k:i.rect.top+i.rect.height/2>=this.uMa.xPa&&(i.pt2.y=i.rect.top-k),i.pt2.y-=i.rect.height,i},f.prototype.fittingLabels=function(a,b){a.left<b.left&&(a.top=(a.bottom-this.uMa.xPa)*(b.left-this.uMa.wPa)/(a.left-this.uMa.wPa)+this.uMa.xPa+a.height,a.left=b.left),a.right>b.right&&(a.top=(a.bottom-this.uMa.xPa)*(b.right-this.uMa.wPa)/(a.right-this.uMa.wPa)+this.uMa.xPa+a.height,a.left=b.right-a.width),a.top-a.height<b.top&&(a.left=(a.left-this.uMa.wPa)*(b.top-this.uMa.xPa)/(a.top-this.uMa.xPa)+this.uMa.wPa,a.top=b.top+a.height),a.bottom>b.bottom&&(a.left=(a.left-this.uMa.wPa)*(b.bottom-this.uMa.xPa)/(a.bottom-this.uMa.xPa)+this.uMa.wPa,a.top=b.bottom)},f}(a.WLa);a.XGa=f,b=function(b){e(c,b);function c(){return null!==b&&b.apply(this,arguments)||this}return c.prototype.eDa=function(b,c,d,e){return new a.models.bDa(b,c,d,e)},c.prototype.dDa=function(b,c,d,e){return new a.models.aDa(b,c,d,e)},c}(a.models.gDa),c=function(){function a(a,b,c,d,e,f,g,h,i){this.vs=a,this.startAngle=d,this.endAngle=e,this.innerRadius=f,this.radius=g,this.sum=h,this.depth=i,this.cx=b,this.cy=c}return Object.defineProperty(a.prototype,"sweep",{get:function(){return this.endAngle-this.startAngle},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"h",{get:function(){return this.radius-this.innerRadius},enumerable:!0,configurable:!0}),a}(),d=function(){function b(){this.showtitle=!0,this.ora=0,this.offset=.1,this.wPa=0,this.xPa=0,this.vMa=0}return b.prototype.covert=function(a,b,d,e,f,g,h,i,j){this.$Ia=[],this.calcDeep(a.children),this.offset=i*(h-g),this.vMa=(h-g-this.offset)/(this.ora-1),this.wPa=b,this.xPa=d,this.value=a,this.NPa=g,this.CPa=h;var k=new c(a.children,this.wPa,this.xPa,e,e+f,g,g+this.vMa,a.value,0);this.calcSum(k),this.wMa=k.sweep/k.sum,this.layoutItems(k,j)},Object.defineProperty(b.prototype,"layoutList",{get:function(){return this.$Ia},enumerable:!0,configurable:!0}),b.prototype.calcDeep=function(a){this.ora=0,this.ora=this.xMa(a)+1},b.prototype.xMa=function(a){var b,c,d;if(a&&a.length>0){for(b=0,c=0;c<a.length;c++)d=this.xMa(a[c].children),b<d&&(b=d);return++b}return 0},b.prototype.layoutItems=function(b,d){var e,f,g,h,i,j,k,l=b.startAngle;for(e=0;e<b.vs.length;++e)f=b.vs[e],g=f.value*this.wMa,h=b.cx,i=b.cy,0==b.depth&&(h=b.cx+this.offset*Math.cos(l+g/2),i=b.cy+this.offset*Math.sin(l+g/2)),j=new a.yMa(f,new a.core.Point(h,i),b.radius,b.innerRadius,l,g),this.$Ia.push(j),f.children&&f.children.length>0&&(k=new c(f.children,h,i,l,l+g,b.radius,b.radius+this.vMa,0,b.depth+1),this.calcSum(k),this.layoutItems(k,d)),l+=g},b.prototype.calcSum=function(a){var b,c=0;for(b=0;b<a.vs.length;++b)c+=a.vs[b].value;a.sum=c},b}()}(d||(d={})),function(a){"use strict";var b,c,d,f,g=function(c){e(f,c);function f(){return null!==c&&c.apply(this,arguments)||this}return Object.defineProperty(f.prototype,"type",{get:function(){return a.DataGraphType.CoordinateSystem_None|a.DataGraphType.Chart_Treemap},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"radial",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"name",{get:function(){return"TreeMap"},enumerable:!0,configurable:!0}),f.prototype.onHitted=function(b){var c,d,e,f;if(b.contains(this.sS()))for(c=0,d=this.oi;c<d.length;c++)if(e=d[c],f=e.onHitted(b),null!=f)return f.plot=this,f.elementType.push(a.ElementType.Plot),f;return null},f.prototype.Query=function(b){var c=[],d=new a.ZRa(b,function(b,c){var d,e;try{return d=new a.core.Binding(c),e=d.getValue(b.item),null==e&&(e=d.getValue(b)),e}catch(a){}return null},function(a,b){var c,d=a.item;for(c in d)if(b==c)return!0;return!1},function(a){c.push(a)});return this.traversal(this.dataModel.root,function(a){d.evaluate(a)}),c},f.prototype.tAa=function(){var a,b,c,d=[];for(a=0,b=this.oi;a<b.length;a++)c=b[a],c.KQa()&&d.push(c.KIa);return d},f.prototype.setSelected=function(b,c){this.traversal(this.dMa.root,function(a){a.IAa()}),null!=b&&b instanceof a.models.bDa&&this.traversal(b,function(a){a.N4()})},f.prototype.traversal=function(a,b){var c,d,e;if(a&&(b(a),a.children&&a.children.length>0))for(c=0,d=a.children;c<d.length;c++)e=d[c],this.traversal(e,b)},f.prototype.measure=function(b,c){b.beginTransform(),a.GHa(b,this.$z().config.style),a.GHa(b,this.$z().config.textStyle),this.uMa=new d,this.uMa.covert(this.dataModel.root,c,b),b.restoreTransform()},f.prototype._R=function(b,d){var e,f,g,h;for(c.prototype._R.call(this,b,d),this.oi=[],e=0;e<this.uMa.layoutList.length;++e)f=this.uMa.layoutList[e];for(this.RLa.clear(),g=this.QPa().selectedStyle,h=this.QPa().unselectedStyle,e=this.uMa.layoutList.length-1;e>=0;--e)f=this.uMa.layoutList[e],f.bz()==a.ViewState.Visible&&(f.refresh(),this.oi.push(f))},f.prototype.render=function(b){var c,d;if(b.beginTransform(),a.GHa(b,this.$z().config.style),a.GHa(b,this.$z().config.textStyle),this.plotArea)for(a.x7.sort(this.oi,function(a,b){return a!=b&&a.GIa}),c=0;c<this.oi.length;++c)d=this.oi[c],d.yl(b);b.restoreTransform()},f.prototype.bindData=function(a){this.dMa=this.eMa(a)},f.prototype.eMa=function(a){return new b(this,a,this.$z())},Object.defineProperty(f.prototype,"dataModel",{get:function(){return this.dMa},enumerable:!0,configurable:!0}),f}(a.WLa);a.ZGa=g,b=function(b){e(c,b);function c(){return null!==b&&b.apply(this,arguments)||this}return c.prototype.eDa=function(b,c,d,e){return new a.models.bDa(b,c,d,e)},c.prototype.dDa=function(b,c,d,e){return new a.models.aDa(b,c,d,e)},c}(a.models.gDa),c=function(){function a(a,b,c,d,e,f,g){this.vs=a,this.l=b,this.t=c,this.r=d,this.b=e,this.sum=f,this.depth=g}return Object.defineProperty(a.prototype,"w",{get:function(){return this.r-this.l},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"h",{get:function(){return this.b-this.t},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"area",{get:function(){return this.w*this.h},enumerable:!0,configurable:!0}),a}(),d=function(){function b(){this.fOa=!0,this.gOa=0,this.rCa=2}return b.prototype.covert=function(a,b,d){this.hOa=[],this.calcDeep(a.children),this.JIa=b.clone(),this.mCa=a;var e=new c(a.children,b.left,b.top,b.left+b.width,b.top+b.height,a.value,0);this.hideSmallNode(e),this.layoutItems(e,d)},Object.defineProperty(b.prototype,"layoutList",{get:function(){return this.hOa},enumerable:!0,configurable:!0}),b.prototype.calcDeep=function(a){this.gOa=0,this.gOa=this.xMa(a)+1},b.prototype.xMa=function(a){var b,c,d;if(a&&a.length>0){for(b=0,c=0;c<a.length;c++)d=this.xMa(a[c].children),b<d&&(b=d);return++b}return 0},b.prototype.hideSmallNode=function(a){var b,c,d,e,f;if(a&&a.vs&&a.vs.length>0)for(b=a.area/a.sum,a.vs.sort(function(a,b){return a.value-b.value}),c=1e3,e=0;e<a.vs.length;++e)f=a.vs[e],f.hidden=!1,f.value*b<c&&(f.hidden=!0,a.sum-=f.value,b=a.area/a.sum)},b.prototype.calcSum=function(a){var b,c=0;for(b=0;b<a.vs.length;++b)c+=a.vs[b].value;a.sum=c},b.prototype.layoutItems=function(b,d){var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s;if(!(b.sum<=0))for(e=new a.core.Rect(b.l,b.t,b.r-b.l,b.b-b.t),f=b.area/b.sum,b.vs.sort(function(a,b){return b.value-a.value}),g=1,h=0;h<b.vs.length&&!a.x7.isNil(e);)for(i=this.locationRects(b.vs,h,f,e),j=a.x7.mergeRect.apply(this,i),e=this.clipRect(j,e),k=0;k<i.length;++k)l=i[k],m=b.vs[h],n=new a.AMa(m),n.sS(l),n.bz(a.ViewState.Visible),n.datapoint=m,n.KQa(m.isSelected),m.hidden?h++:(m.children&&m.children.length>0&&(o=(this.gOa-b.depth)/this.gOa*this.rCa,l=new a.core.Rect(l.left+o,l.top+o,l.width-2*o,l.height-2*o),p=new c(m.children,l.left,l.top,l.left+l.width,l.top+l.height,m.value,b.depth+1),q=new a.AMa(m),q.istitle=!0,q.title=m.name,q.datapoint=m,q.KQa(m.isSelected),this.fOa&&m.name&&(r=d.measureString(m.name,null,null,this.cJa),r.width>l.width&&(q.title=a.x7.getTextByMaxLength(d,m.name,l.width-15,this.cJa),r=d.measureString(q.title,null,null,this.cJa)),q.sS(new a.core.Rect(l.left,l.top,l.width,1.5*r.height)),q.titlerect=new a.core.Rect(l.left+(q.sS().width-r.width)/2,l.top+(q.sS().height-r.height)/2,r.width,r.height),q.sS().height>l.height||(q.titlestyle=this.cJa,p=new c(m.children,l.left,l.top+1.5*r.height,l.left+l.width,l.top+l.height,m.value,b.depth+1),this.hOa.push(q))),this.calcSum(p),this.hideSmallNode(p),p.sum>0?(n.bz(a.ViewState.Invisible),n.hidelabel=!0,this.layoutItems(p,d)):q.bz(a.ViewState.Visible)),n.hidelabel||(n.label=m.name,s=d.measureString(n.label,null,null,this.uIa),s.width>l.width&&(n.label=a.x7.getTextByMaxLength(d,n.label,l.width-15,this.uIa),s=d.measureString(n.label,null,null,this.uIa)),n.labelstyle=this.uIa,n.labelrect=new a.core.Rect(l.left,l.bottom,s.width,s.height)),this.hOa.push(n),++h)},b.prototype.locationRects=function(b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q,r=[],s=0,t=0,u=0;for(g=c;g<b.length;++g){if(h=b[g],j=0,l=0,h.value<0&&(b.splice(g,1),h=b[g]),e.height<e.width){if(t+=h.value,k=i=t*d/e.height,l=b[c].value*d/k,0!=s){if(m=l>k?l/k:k/l,!(Math.abs(m-1)<Math.abs(s-1)))return r;s=m,r.length=0}else s=l>k?l/k:k/l;for(r.length=0,n=c;n<=g;n++)p=b[n].value*d/k,o=n===c?new a.core.Rect(e.left,e.top,k,l):new a.core.Rect(r[n-c-1].left,r[n-c-1].bottom,k,p),r.push(o)}else{if(t+=h.value,l=j=t*d/e.width,k=b[c].value*d/l,0!=s){if(m=l>k?l/k:k/l,!(Math.abs(m-1)<Math.abs(s-1)))return r;s=m,r.length=0}else s=l>k?l/k:k/l;for(r.length=0,n=c;n<=g;n++)q=b[n].value*d/l,o=n===c?new a.core.Rect(e.left,e.top,k,l):new a.core.Rect(r[n-c-1].right,r[n-c-1].top,q,l),r.push(o)}f=k,u=l}return r},b.prototype.clipRect=function(b,c){var d=null;return d=Math.abs(b.width-c.width)<=1e-4?new a.core.Rect(b.left,b.bottom,b.width,c.bottom-b.bottom):new a.core.Rect(b.right,b.top,c.right-b.right,b.height)},b}(),f=function(){function b(){this.showtitle=!0,this.splitRate=.5}return b.prototype.covert=function(a,b,d){this.sS=b.clone(),this.value=a;var e=new c(a.children,b.left,b.top,b.left+b.width,b.top+b.height,a.value,0);this.calcSum(e),this.layoutItems(e,d)},Object.defineProperty(b.prototype,"layoutList",{get:function(){return this.$Ia},enumerable:!0,configurable:!0}),b.prototype.layoutItems=function(a,b){var c,d,e;if(this.calcSum(a),c=this.divideValues(a),c&&c.length>1)for(d=0;d<c.length;++d)this.layoutItems(c[d],b);else c&&1==c.length&&(e=c[0])},b.prototype.calcSum=function(a){var b,c=0;for(b=0;b<a.vs.length;++b)c+=a.vs[b].value;a.sum=c},b.prototype.divideValues=function(b){var d,e,f,g,h,i,j,k,l,m,n,o,p,q=1,r=0,s=null,t=null,u=b.sum,v=b.vs,w=b.area/b.sum,x=new a.core.Rect(b.l,b.t,b.r-b.l,b.b-b.t);if(v.length<=1)return[b];for(d=0;d<v.length;++d)if(e=v[d],r+=e.value,f=u-r,g=r/f,Math.min(this.splitRate-g)<Math.min(this.splitRate-q)){s=e.slice(0,d-1),t=v.slice(d-1);break}return h=w*r,i=x.width<x.height,j=i?x.width:h/x.height,k=i?h/x.width:x.height,l=new c(s,x.left,x.top,j+x.left,k+x.top,r,b.depth),m=w*f,n=i?x.width:m/x.height,o=i?m/x.width:x.height,p=new c(t,i?x.left:x.left+j,i?x.top+k:x.top,0,0,f,b.depth),p.r=p.l+n,p.b=p.t+o,[l,p]},b}()}(d||(d={})),function(a){"use strict";var b=function(b){e(c,b);function c(a){var c=b.call(this)||this;return c.jCa=a,c}return Object.defineProperty(c.prototype,"parent",{get:function(){return this.jCa},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"title",{get:function(){return this.parent.$z().footer},enumerable:!0,configurable:!0}),c.prototype._text=function(){return this.title},c.prototype._R=function(c,d){var e=this.SIa(c,new a.core.Size(d.width,d.height));this.parent.$z().footerStyle.hAlign==a.HAlign.Left?b.prototype._R.call(this,c,new a.core.Rect(d.left,d.bottom-e.height,e.width,e.height)):this.parent.$z().footerStyle.hAlign==a.HAlign.Right?b.prototype._R.call(this,c,new a.core.Rect(d.right-e.width,d.bottom-e.height,e.width,e.height)):b.prototype._R.call(this,c,new a.core.Rect(d.left+(d.width-e.width)/2,d.bottom-e.height,e.width,e.height))},c.prototype.yl=function(c){c.startGroup(a.uSa),b.prototype.yl.call(this,c),c.endGroup()},c.prototype.RIa=function(b,c){null!=this._text()&&this._text().length>0&&(b.beginTransform(),this.GHa(b),this.parent.$z().headerStyle.hAlign==a.HAlign.Left?b.drawMultipleStrings(this._text(),c,"Left","Wrap"):this.parent.$z().headerStyle.hAlign==a.HAlign.Right?b.drawMultipleStrings(this._text(),c,"Right","Wrap"):b.drawMultipleStrings(this._text(),c,"Center","Wrap"),b.restoreTransform())},c.prototype.TIa=function(b,c){var d=new a.core.Size(0,0);return null!=this._text()&&this._text().length>0&&(b.beginTransform(),this.GHa(b),d=b.measureMultipleStrings(this._text(),new a.core.Rect(0,0,c.width,c.height),"Wrap"),b.restoreTransform()),d},c.prototype.GHa=function(b){a.GHa(b,this.parent.$z().footerStyle),a.GHa(b,this.parent.$z().footerTextStyle)},c.prototype.OIa=function(c){b.prototype.OIa.call(this,c),a.GHa(c,this.parent.$z().style.borderStyle),a.GHa(c,this.parent.$z().footerStyle.borderStyle)},c.prototype.QIa=function(c){b.prototype.QIa.call(this,c),a.GHa(c,{fill:this.parent.$z().style.backgroundColor}),a.GHa(c,{fill:this.parent.$z().footerStyle.backgroundColor})},c.prototype.onHitted=function(b){return b.contains(this.APa())?new a.HitInfo(new a.core.Point(b.x,b.y),this,null,this,[a.ElementType.Footter],this.KIa):null},c}(a.DKa);a.iKa=b}(d||(d={})),function(a){"use strict";var b=function(b){e(c,b);function c(a){var c=b.call(this)||this;return c.jCa=a,c}return Object.defineProperty(c.prototype,"parent",{get:function(){return this.jCa},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"title",{get:function(){return this.parent.$z().header},enumerable:!0,configurable:!0}),c.prototype.KQa=function(a){if(void 0===a)return!1},c.prototype._text=function(){return this.title},c.prototype._R=function(c,d){var e=this.SIa(c,new a.core.Size(d.width,d.height));this.parent.$z().headerStyle.hAlign==a.HAlign.Left?b.prototype._R.call(this,c,new a.core.Rect(d.left,d.top,e.width,e.height)):this.parent.$z().headerStyle.hAlign==a.HAlign.Right?b.prototype._R.call(this,c,new a.core.Rect(d.right-e.width,d.top,e.width,e.height)):b.prototype._R.call(this,c,new a.core.Rect(d.left+(d.width-e.width)/2,d.top,e.width,e.height))},c.prototype.yl=function(c){c.startGroup(a.tSa),b.prototype.yl.call(this,c),c.endGroup()},c.prototype.RIa=function(b,c){null!=this._text()&&this._text().length>0&&(b.beginTransform(),this.GHa(b),this.parent.$z().headerStyle.hAlign==a.HAlign.Left?b.drawMultipleStrings(this._text(),c,"Left","Wrap"):this.parent.$z().headerStyle.hAlign==a.HAlign.Right?b.drawMultipleStrings(this._text(),c,"Right","Wrap"):b.drawMultipleStrings(this._text(),c,"Center","Wrap"),b.restoreTransform())},c.prototype.TIa=function(b,c){var d=new a.core.Size(0,0);return null!=this._text()&&this._text().length>0&&(b.beginTransform(),this.GHa(b),d=b.measureMultipleStrings(this._text(),new a.core.Rect(0,0,c.width,c.height),"Wrap"),b.restoreTransform()),d},c.prototype.GHa=function(b){a.GHa(b,this.parent.$z().headerStyle),a.GHa(b,this.parent.$z().headerTextStyle)},c.prototype.OIa=function(c){b.prototype.OIa.call(this,c),a.GHa(c,this.parent.$z().style.borderStyle),a.GHa(c,this.parent.$z().headerStyle.borderStyle)},c.prototype.QIa=function(c){b.prototype.QIa.call(this,c),a.GHa(c,{fill:this.parent.$z().style.backgroundColor}),a.GHa(c,{fill:this.parent.$z().headerStyle.backgroundColor})},c.prototype.onHitted=function(b){return b.contains(this.APa())?new a.HitInfo(new a.core.Point(b.x,b.y),this,null,this,[a.ElementType.Header],this.KIa):null},c}(a.DKa);a.hKa=b}(d||(d={})),function(a){"use strict";var b,c,d;!function(a){a[a.tickf7=-7]="tickf7",a[a.tickf6=-6]="tickf6",a[a.tickf5=-5]="tickf5",a[a.tickf4=-4]="tickf4",a[a.tickf3=-3]="tickf3",a[a.tickf2=-2]="tickf2",a[a.tickf1=-1]="tickf1",a[a.second=1]="second",a[a.minute=60]="minute",a[a.hour=3600]="hour",a[a.day=86400]="day",a[a.week=604800]="week",a[a.month=2678400]="month",a[a.year=31536e3]="year",a[a.maxtime=Number.MAX_VALUE]="maxtime"}(b=a.tmInc||(a.tmInc={})),c=function(){function a(a){this.ticks=a}return Object.defineProperty(a.prototype,"Ticks",{get:function(){return this.ticks},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"TotalSeconds",{get:function(){return this.ticks/1e7},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"TotalDays",{get:function(){return this.ticks/1e7/86400},enumerable:!0,configurable:!0}),a.fromSeconds=function(b){return new a(1e7*b)},a.fromDays=function(b){return new a(1e7*b*24*60*60)},a.TicksPerSecond=1e7,a}(),a.hEa=c,d=function(){function d(b){a.core.isDate(b)?this.init(b):a.core.isNumber(b)&&this.init(new Date(b))}return d.prototype.init=function(a){this.year=a.getFullYear(),this.month=a.getMonth(),this.day=a.getDate(),this.hour=a.getHours(),this.minute=a.getMinutes(),this.second=a.getSeconds()},d.prototype.getTimeAsDateTime=function(){var a,b=0,c=0,d=0;return this.hour>=24&&(this.hour-=24,this.day+=1),this.month<0?(b=-1-this.day,this.month=1):this.month>11&&(b=this.month-12,this.month=12),this.day<1?(c=-1-this.day,this.day=1):this.day>28&&2==this.month?(c=this.day-28,this.day=28):this.day>30&&(4==this.month||4==this.month||6==this.month||9==this.month||11==this.month)?(c=this.day-30,this.day=30):this.day>31&&(c=this.day-31,this.day=31),this.second>59&&(d=this.second-59,this.second=59),a=0,this.minute>59&&(a=this.minute-59,this.minute=59),new Date(this.year,this.month,this.day,this.hour,this.minute,this.second)},d.prototype.getTimeAsDouble=function(){return this.getTimeAsDateTime().valueOf()},d.tround=function(a,b,c){var d=a/b*b;return d-=d%1,c&&d!=a&&(b-=b%1,d+=b),d},d.RoundTime=function(a,c,e){var f,g,h,i,j=24*c*60*60;return j>0?(f=new d(a),j<b.minute?(f.second=this.tround(f.second,j,e),f.getTimeAsDouble()):(f.second=0,j<b.hour?(j/=b.minute,f.minute=this.tround(f.minute,j,e),f.getTimeAsDouble()):(f.minute=0,j<b.day?(j/=b.hour,f.hour=this.tround(f.hour,j,e),f.getTimeAsDouble()):(f.hour=0,j<b.month?(j/=b.day,f.day=this.tround(f.day,j,e),f.getTimeAsDouble()):(f.day=1,j<b.year?(j/=b.month,1!=f.month&&(f.month=this.tround(f.month,j,e)),f.getTimeAsDouble()):(f.month=1,j/=b.year,f.year=this.tround(f.year,j,e),f.getTimeAsDouble())))))):(g=a,h=g-j,i=h/c*c,e&&i!=h&&(i+=c),g=j+i)},d.TimeSpanFromTmInc=function(a){var d,e,f=c.fromSeconds(1);if(a!=b.maxtime)if(a>b.tickf1)f=c.fromSeconds(a);else{for(d=a,e=1,d+=7;d>0;)e*=10,d--;f=new c(e)}return f},d.manualTimeInc=function(a){var c,d,e,f,g=b.second;if(null==a||0==a.length)return g;if(c=a.indexOf("f"),c>=0){if(d=-1,c>0&&"%"==a.substr(c-1,1))d=-1;else for(e=1;e<6&&!(c+e>=a.length)&&(f=a.substr(c+e,1),"f"==f);e++)d--;g=d}else a.indexOf("s")>=0?g=b.second:a.indexOf("m")>=0?g=b.minute:a.indexOf("h")>=0||a.indexOf("H")?g=b.hour:a.indexOf("d")>=0?g=b.day:a.indexOf("M")>=0?g=b.month:a.indexOf("y")>=0&&(g=b.year);return g},d.getNiceInc=function(a,b,c){var d,e;for(d=0;d<a.length;d++)if(e=a[d]*c,b<=e)return e;return 0},d.NiceTimeSpan=function(a,e){var f,g,h,i=b.second;if(null!=e&&e.length>0&&(i=d.manualTimeInc(e)),f=0,g=0,i<b.second&&a.TotalSeconds<10){for(f=a.Ticks,g=d.TimeSpanFromTmInc(i).Ticks;f>10*g;)g*=10;return h=g,f>h&&(h*=2),f>h&&(h=5*g),f>h&&(h=10*g),new c(h)}if(f=Math.ceil(a.TotalSeconds),0==f)return d.TimeSpanFromTmInc(i);if(g=1,i<b.minute){if(f<b.minute&&(g=d.getNiceInc([1,2,5,10,15,30],f,i),0!=g))return c.fromSeconds(g);i=b.minute}if(i<b.hour){if(f<b.hour&&(g=d.getNiceInc([1,2,5,10,15,30],f,i),0!=g))return c.fromSeconds(g);i=b.hour}if(i<b.day){if(f<b.day&&(g=d.getNiceInc([1,3,6,12],f,i),0!=g))return c.fromSeconds(g);i=b.day}if(i<b.month){if(f<b.month&&(g=d.getNiceInc([1,2,7,14],f,i),0!=g))return c.fromSeconds(g);i=b.month}if(i<b.year){if(f<b.year&&(g=d.getNiceInc([1,2,3,4,6],f,i),0!=g))return c.fromSeconds(g);i=b.year}return g=100*b.year,f<g&&(g=d.getNiceInc([1,2,5,10,20,50],f,i),0==g&&(g=100*b.year)),c.fromSeconds(g)},d.NiceTimeUnit=function(a,b){var e=c.fromDays(a);return e=d.NiceTimeSpan(e,b),e.TotalDays},d.GetTimeDefaultFormat=function(a,d){var e,f,g,h;if(isNaN(a)||isNaN(d))return"";if(e="s",f=c.fromSeconds(.001*(a-d)),g=f.TotalSeconds,g>=b.year)e="yyyy";else if(g>=b.month)e="MMM yyyy";else if(g>=b.day)e="MMM d";else if(g>=b.hour)e="ddd H:mm";else if(g>=.5*b.hour)e="H:mm";else if(g>=1)e="H:mm:ss";else if(g>0)for(h=f.Ticks,e="s.";h<c.TicksPerSecond;)h*=10,e+="f";return e},d.secInYear=86400,d}(),a.iEa=d}(d||(d={})),function(a){"use strict";var b,c,d=function(){function a(){}return a.prototype.ease=function(a){return a},a}();a.AnimationEase=d,b=function(){function a(){}return a}(),a.Animation=b,function(a){a[a.Visible=0]="Visible",a[a.Gone=1]="Gone",a[a.Invisible=2]="Invisible"}(c=a.ViewState||(a.ViewState={}))}(d||(d={})),function(a){"use strict";var b=function(b){e(c,b);function c(a,c,d){var e=b.call(this)||this;return e.FLa=a,e.GMa=c,e.HMa=d,e.datapoint=a,e}return c.prototype.KQa=function(a){return void 0===a?this.PPa().isSelected:void(1==a?this.PPa().N4():this.PPa().IAa())},c.prototype.PPa=function(){return this.FLa},c.prototype.WPa=function(){return this.GMa},c.prototype.XPa=function(){return this.HMa},c.prototype.yl=function(b){this.bz()!==a.ViewState.Gone&&this.bz()!==a.ViewState.Invisible&&(b.beginTransform(),null!=this.PPa().color&&(b.fill=this.PPa().color),this.GHa(b,this.PPa().style),null!=b.fill&&"none"!=b.fill||a.GHa(b,{fill:this.PPa().parent.parent.parent.OOa().getColor(0)
}),this.PPa().isSelected?this.GHa(b,this.PPa().parent.parent.parent.$z().selectedStyle):this.GHa(b,this.PPa().parent.parent.parent.$z().unselectedStyle),this.IQa&&this.GHa(b,this.PPa().parent.$z().config.hoverStyle),b.drawPolygon(this.WPa(),this.XPa()),b.restoreTransform())},c.prototype.GHa=function(a,b){null!=b&&(null!=b.opacity&&(a.opacity=b.opacity),null!=b.fill&&(a.fill=b.fill),null!=b.stroke&&(a.stroke=b.stroke),null!=b.strokeWidth&&(a.strokeWidth=b.strokeWidth),null!=b.strokeDasharray&&(a.strokeDasharray=b.strokeDasharray))},c.prototype.onHitted=function(b){return b.contains(this.sS())?(this.KIa.rect=this.sS(),a.x7.IsPointInPolygon2(new a.core.Point(b.x,b.y),this.WPa(),this.XPa())?new a.HitInfo(new a.core.Point(b.x,b.y),this.datapoint,this,this,[a.ElementType.Series],this.KIa):null):null},c.prototype.refresh=function(){b.prototype.refresh.call(this),this.KIa.points=[],this.WPa().length>=4&&this.XPa().length>=4&&(this.KIa.points.push(new a.core.Point(this.WPa()[0],this.XPa()[0])),this.KIa.points.push(new a.core.Point(this.WPa()[Math.floor(.33*(this.WPa().length-1))],this.XPa()[Math.floor(.33*(this.XPa().length-1))])),this.KIa.points.push(new a.core.Point(this.WPa()[Math.floor(.66*(this.WPa().length-1))],this.XPa()[Math.floor(.66*(this.XPa().length-1))])),this.KIa.points.push(new a.core.Point(this.WPa()[this.WPa().length-1],this.XPa()[this.XPa().length-1])))},c}(a.MIa);a.fMa=b}(d||(d={})),function(a){"use strict";var b=function(b){e(c,b);function c(a,c){var d=b.call(this)||this;return d.IMa=a,d.JMa=c,d}return c.prototype.oI=function(){return this.IMa},c.prototype.Vma=function(){return this.JMa},c.prototype.yl=function(b){b.drawLine(this.oI().x,this.oI().y,this.Vma().x,this.Vma().y,null,{stroke:a.Wya,strokeWidth:1})},c}(a.MIa);a.pMa=b}(d||(d={})),function(a){"use strict";var b=function(a){e(b,a);function b(b){var c=a.call(this)||this;return c.FLa=b,c.datapoint=b,c}return b.prototype.KQa=function(a){return void 0===a?this.PPa().isSelected:void(1==a?this.PPa().N4():this.PPa().IAa())},b.prototype.PPa=function(){return this.FLa},b}(a.MIa);a.pOa=b}(d||(d={})),function(a){"use strict";var b=10,c=function(c){e(d,c);function d(a,b,d){var e=c.call(this)||this;return e.FLa=a,e.GMa=b,e.HMa=d,e.datapoint=a,e}return d.prototype.KQa=function(a){return void 0===a?this.PPa().isSelected:void(1==a?this.PPa().N4():this.PPa().IAa())},d.prototype.PPa=function(){return this.FLa},d.prototype.WPa=function(){return this.GMa},d.prototype.XPa=function(){return this.HMa},d.prototype.yy=function(){return{opacity:null,stroke:null,strokeWidth:1,strokeDasharray:null}},d.prototype.yl=function(b){this.bz()!==a.ViewState.Gone&&this.bz()!==a.ViewState.Invisible&&(b.beginTransform(),a.GHa(b,this.yy()),null!=this.PPa().color&&(b.stroke=this.PPa().color),this.GHa(b,this.PPa().style),null!=b.stroke&&"none"!=b.stroke||a.GHa(b,{stroke:this.PPa().parent.parent.parent.OOa().getColor(0)}),this.PPa().isSelected?this.GHa(b,this.PPa().parent.parent.parent.$z().selectedStyle):this.GHa(b,this.PPa().parent.parent.parent.$z().unselectedStyle),this.IQa&&this.GHa(b,this.PPa().parent.$z().config.hoverStyle),b.drawLines(this.WPa(),this.XPa()),b.restoreTransform())},d.prototype.GHa=function(a,b){null!=b&&(null!=b.opacity&&(a.opacity=b.opacity),null!=b.fill&&(a.fill=b.fill),null!=b.stroke&&(a.stroke=b.stroke),null!=b.strokeWidth&&(a.strokeWidth=b.strokeWidth),null!=b.strokeDasharray&&(a.strokeDasharray=b.strokeDasharray))},d.prototype.onHitted=function(c){if(c.contains(this.sS())){this.KIa.rect=this.sS();for(var d=0;d<Math.min(this.WPa().length,this.XPa().length)-1;++d)if(a.x7.pointToLine(this.GMa[d],this.HMa[d],this.GMa[d+1],this.HMa[d+1],c.x,c.y)<b)return new a.HitInfo(new a.core.Point(c.x,c.y),this.datapoint,this.item,this,[a.ElementType.Series],this.KIa);return null}return null},d.prototype.refresh=function(){this.KIa.points=[],this.WPa().length>=4&&this.XPa().length>=4&&(this.KIa.points.push(new a.core.Point(this.WPa()[0],this.XPa()[0])),this.KIa.points.push(new a.core.Point(this.WPa()[Math.floor(.33*(this.WPa().length-1))],this.XPa()[Math.floor(.33*(this.XPa().length-1))])),this.KIa.points.push(new a.core.Point(this.WPa()[Math.floor(.66*(this.WPa().length-1))],this.XPa()[Math.floor(.66*(this.XPa().length-1))])),this.KIa.points.push(new a.core.Point(this.WPa()[this.WPa().length-1],this.XPa()[this.XPa().length-1])))},d}(a.MIa);a.tMa=c}(d||(d={})),function(a){"use strict";var b=function(){function a(){}return a.clampAngle=function(a){var b=(a+180)%360-180;return b<-180&&(b+=360),b},a.isRectOverlap=function(a,b){return!(!a||!b)&&!(a.left>b.right||a.top>b.bottom||b.left>a.right||b.top>a.bottom)},a}(),c=function(c){e(d,c);function d(a,b,d,e,f,g){var h=c.call(this)||this;return h.FLa=a,h.KMa=b,h.LMa=d,h.YFa=e,h.$Fa=f,h.ZFa=g,h.datapoint=a,h}return d.prototype.KQa=function(a){return void 0===a?this.PPa().isSelected:void(1==a?this.PPa().N4():this.PPa().IAa())},d.prototype.BPa=function(){return this.KMa},d.prototype.CPa=function(){return this.LMa},d.prototype.NPa=function(){return this.YFa},d.prototype.MPa=function(){return this.$Fa},d.prototype.DPa=function(){return this.ZFa},d.prototype.PPa=function(){return this.FLa},d.prototype.yl=function(b){var c,d;this.bz()!==a.ViewState.Gone&&this.bz()!==a.ViewState.Invisible&&(c=this.PPa().al(),null!=c&&(b.beginTransform(),this.GHa(b,this.PPa().style),null!=b.fill&&"none"!=b.fill||(d=this.PPa(),d instanceof a.models.bDa&&a.GHa(b,{fill:d.FB().color})),null==b.fill&&a.GHa(b,{fill:c.parent.parent.parent.OOa().getColor(0)}),this.PPa().isSelected?this.GHa(b,c.parent.parent.parent.$z().selectedStyle):this.GHa(b,c.parent.parent.parent.$z().unselectedStyle),this.IQa?(this.eb=1.05,this.GHa(b,c.parent.$z().config.hoverStyle)):this.eb=1,b.drawDonutSegment(this.BPa().x,this.BPa().y,this.CPa()*((this.eb-1)/2+1),this.NPa()*(1-(this.eb-1)/2),this.MPa(),this.DPa()),b.restoreTransform()))},d.prototype.GHa=function(a,b){null!=b&&(null!=b.opacity&&(a.opacity=b.opacity),null!=b.fill&&(a.fill=b.fill),null!=b.stroke&&(a.stroke=b.stroke),null!=b.strokeWidth&&(a.strokeWidth=b.strokeWidth),null!=b.strokeDasharray&&(a.strokeDasharray=b.strokeDasharray))},d.prototype.refresh=function(){var b,d,e;for(c.prototype.refresh.call(this),this.KIa.points=[],b=this.DPa()/4,d=this.MPa();d<this.MPa()+this.DPa();d+=b)e=new a.core.Point,e.x=this.BPa().x+Math.cos(d)*this.CPa(),e.y=this.BPa().y+Math.sin(d)*this.CPa(),this.KIa.points.push(e)},d.prototype.onHitted=function(c){var d,e,f,g,h,i=c.x-this.BPa().x,j=c.y-this.BPa().y,k=i*i+j*j,l=this.NPa()*this.NPa(),m=this.CPa()*this.CPa();return k>=l&&k<=m&&(d=90*this.DPa()/Math.PI,e=b.clampAngle(180*this.MPa()/Math.PI+d),f=180*Math.atan2(j,i)/Math.PI,g=b.clampAngle(e-f),Math.abs(g)<=d)?(h=new a.core.Point,h.x=this.BPa().x+Math.cos(this.MPa()+this.DPa())*this.CPa(),h.y=this.BPa().y+Math.sin(this.MPa()+this.DPa())*this.CPa(),this.KIa.points.push(h),this.KIa.points.push(this.BPa()),new a.HitInfo(new a.core.Point(c.x,c.y),this.datapoint,null,this,[a.ElementType.Shape],this.KIa)):null},d}(a.MIa);a.yMa=c}(d||(d={})),function(a){"use strict";var b=function(b){e(c,b);function c(c){var d=b.call(this)||this;return d.FLa=c,d.datapoint=c,d.label="",d.labelrect=new a.core.Rect(0,0,0,0),d.hidelabel=!1,d.title="",d.istitle=!1,d.titlerect=new a.core.Rect(0,0,0,0),d.titlestyle=new a.options.uEa({}),d}return c.prototype.KQa=function(a){return void 0===a?this.PPa().isSelected:void(1==a?this.PPa().N4():this.PPa().IAa())},c.prototype.PPa=function(){return this.FLa},c.prototype.yl=function(b){var c,d,e;this.bz()!==a.ViewState.Gone&&this.bz()!==a.ViewState.Invisible&&(c=this.PPa().al(),null!=c&&(b.beginTransform(),this.GHa(b,this.PPa().style),null!=b.fill&&"none"!=b.fill||(d=this.PPa(),d instanceof a.models.bDa&&a.GHa(b,{fill:d.FB().color})),null==b.fill&&a.GHa(b,{fill:c.parent.parent.parent.OOa().getColor(0)}),this.PPa().isSelected?this.GHa(b,c.parent.parent.parent.$z().selectedStyle):this.GHa(b,c.parent.parent.parent.$z().unselectedStyle),this.IQa?(this.eb=1.05,this.GHa(b,c.parent.$z().config.hoverStyle)):this.eb=1,e=a.x7.scale(a.core.cloneDeep(this.sS()),this.eb),b.drawRect(e.left,e.top,e.width,e.height),!this.hidelabel&&this.label&&(b.beginTransform(),a.GHa(b,c.parent.$z().config.textStyle),a.GHa(b,c.parent.$z().config.text.style),a.GHa(b,c.parent.$z().config.text.textStyle),b.drawString(this.label,new a.core.Point(this.labelrect.left,this.labelrect.top),a.ASa),b.restoreTransform()),this.title&&(b.beginTransform(),a.GHa(b,c.parent.$z().config.textStyle),a.GHa(b,c.parent.$z().config.text.style),a.GHa(b,c.parent.$z().config.text.textStyle),b.drawString(this.title,new a.core.Point(this.titlerect.left,this.titlerect.top+this.titlerect.height),a.ASa),b.restoreTransform()),b.restoreTransform()))},c.prototype.GHa=function(a,b){null!=b&&(null!=b.opacity&&(a.opacity=b.opacity),null!=b.fill&&(a.fill=b.fill),null!=b.stroke&&(a.stroke=b.stroke),null!=b.strokeWidth&&(a.strokeWidth=b.strokeWidth),null!=b.strokeDasharray&&(a.strokeDasharray=b.strokeDasharray))},c}(a.MIa);a.AMa=b}(d||(d={})),function(a){"use strict";var b=function(){function a(){this.minorTickLines=[],this.hidden=!1}return a}();a.AxisViewModel=b}(d||(d={})),function(a){"use strict";var b=function(b){e(c,b);function c(){return null!==b&&b.apply(this,arguments)||this}return c.prototype.yl=function(b){this.bz()!==a.ViewState.Gone&&this.bz()!==a.ViewState.Invisible&&(b.beginTransform(),null!=this.PPa().parent.color&&(b.fill=this.PPa().parent.color,b.stroke=this.PPa().parent.color),null!=this.PPa().color&&(b.fill=this.PPa().color,b.stroke=this.PPa().color),this.GHa(b,this.PPa().parent.style),this.GHa(b,this.PPa().style),null!=b.fill&&"none"!=b.fill||a.GHa(b,{fill:this.PPa().parent.parent.parent.parent.OOa().getColor(0)}),this.PPa().isSelected?this.GHa(b,this.PPa().parent.parent.parent.parent.$z().selectedStyle):this.GHa(b,this.PPa().parent.parent.parent.parent.$z().unselectedStyle),this.IQa&&this.GHa(b,this.PPa().parent.parent.$z().config.hoverStyle),b.drawRect(this.sS().left,this.sS().top,this.sS().width,this.sS().height),b.restoreTransform())},c.prototype.GHa=function(a,b){null!=b&&(null!=b.opacity&&(a.opacity=b.opacity),null!=b.fill&&(a.fill=b.fill),null!=b.stroke&&(a.stroke=b.stroke),null!=b.strokeWidth&&(a.strokeWidth=b.strokeWidth),null!=b.strokeDasharray&&(a.strokeDasharray=b.strokeDasharray))},c}(a.pOa);a.nMa=b}(d||(d={})),function(a){"use strict";var b=function(b){e(c,b);function c(a,c,d){var e=b.call(this,a)||this;return e.GMa=c,e.HMa=d,e}return c.prototype.WPa=function(){return this.GMa},c.prototype.XPa=function(){return this.HMa},c.prototype.yl=function(b){this.bz()!==a.ViewState.Gone&&this.bz()!==a.ViewState.Invisible&&(b.beginTransform(),null!=this.PPa().parent.color&&(b.fill=this.PPa().parent.color),null!=this.PPa().color&&(b.fill=this.PPa().color),this.GHa(b,this.PPa().style),null!=b.fill&&"none"!=b.fill||(null!=this.PPa().parent.style.fill?a.GHa(b,{fill:this.PPa().parent.style.fill}):a.GHa(b,{fill:this.PPa().parent.parent.parent.parent.OOa().getColor(0)})),this.PPa().isSelected?this.GHa(b,this.PPa().parent.parent.parent.parent.$z().selectedStyle):this.GHa(b,this.PPa().parent.parent.parent.parent.$z().unselectedStyle),this.IQa&&this.GHa(b,this.PPa().parent.parent.$z().config.hoverStyle),b.drawPolygon(this.GMa,this.HMa),b.restoreTransform())},c.prototype.GHa=function(a,b){null!=b&&(null!=b.opacity&&(a.opacity=b.opacity),null!=b.fill&&(a.fill=b.fill),null!=b.stroke&&(a.stroke=b.stroke),null!=b.strokeWidth&&(a.strokeWidth=b.strokeWidth),null!=b.strokeDasharray&&(a.strokeDasharray=b.strokeDasharray))},c.prototype.onHitted=function(b){return a.x7.IsPointInPolygon2(new a.core.Point(b.x,b.y),this.WPa(),this.XPa())?new a.HitInfo(new a.core.Point(b.x,b.y),this.datapoint,null,this,[a.ElementType.Shape],this.KIa):null},c.prototype.refresh=function(){b.prototype.refresh.call(this),this.KIa.points=[],this.WPa().length>=4&&this.XPa().length>=4&&(this.KIa.points.push(new a.core.Point(this.WPa()[0],this.XPa()[0])),this.KIa.points.push(new a.core.Point(this.WPa()[Math.floor(.33*(this.WPa().length-1))],this.XPa()[Math.floor(.33*(this.XPa().length-1))])),this.KIa.points.push(new a.core.Point(this.WPa()[Math.floor(.66*(this.WPa().length-1))],this.XPa()[Math.floor(.66*(this.XPa().length-1))])),this.KIa.points.push(new a.core.Point(this.WPa()[this.WPa().length-1],this.XPa()[this.XPa().length-1])))},c}(a.pOa);a.oMa=b}(d||(d={})),function(a){"use strict";var b=function(){function a(){}return a.clampAngle=function(a){var b=(a+180)%360-180;return b<-180&&(b+=360),b},a.isRectOverlap=function(a,b){return!(!a||!b)&&!(a.left>b.right||a.top>b.bottom||b.left>a.right||b.top>a.bottom)},a}(),c=function(c){e(d,c);function d(a,b,d,e,f,g){var h=c.call(this,a)||this;return h.KMa=b,h.LMa=d,h.YFa=e,h.$Fa=f,h.ZFa=g,h}return d.prototype.BPa=function(){return this.KMa},d.prototype.CPa=function(){return this.LMa},d.prototype.NPa=function(){return this.YFa},d.prototype.MPa=function(){return this.$Fa},d.prototype.DPa=function(){return this.ZFa},d.prototype.yl=function(b){this.bz()!==a.ViewState.Gone&&this.bz()!==a.ViewState.Invisible&&(b.beginTransform(),null!=this.PPa().parent.color&&(b.fill=this.PPa().parent.color,b.stroke=this.PPa().parent.color),null!=this.PPa().color&&(b.fill=this.PPa().color,b.stroke=this.PPa().color),this.GHa(b,this.PPa().style),null!=b.fill&&"none"!=b.fill||(null!=this.PPa().parent.style.fill?a.GHa(b,{fill:this.PPa().parent.style.fill}):a.GHa(b,{fill:this.PPa().parent.parent.parent.parent.OOa().getColor(0)})),this.PPa().isSelected?this.GHa(b,this.PPa().parent.parent.parent.parent.$z().selectedStyle):this.GHa(b,this.PPa().parent.parent.parent.parent.$z().unselectedStyle),this.IQa&&this.GHa(b,this.PPa().parent.parent.$z().config.hoverStyle),b.drawDonutSegment(this.BPa().x,this.BPa().y,this.CPa()*((this.eb-1)/2+1),this.NPa()*(1-(this.eb-1)/2),this.MPa(),this.DPa()),b.restoreTransform())},d.prototype.GHa=function(a,b){null!=b&&(null!=b.opacity&&(a.opacity=b.opacity),null!=b.fill&&(a.fill=b.fill),null!=b.stroke&&(a.stroke=b.stroke),null!=b.strokeWidth&&(a.strokeWidth=b.strokeWidth),null!=b.strokeDasharray&&(a.strokeDasharray=b.strokeDasharray))},d.prototype.refresh=function(){var b,d,e;for(c.prototype.refresh.call(this),this.KIa.points=[],b=this.DPa(),0==b&&(b=1),d=this.MPa();d<=this.MPa()+this.DPa();d+=b)e=new a.core.Point,e.x=this.BPa().x+Math.cos(d)*this.CPa(),e.y=this.BPa().y+Math.sin(d)*this.CPa(),this.KIa.points.push(e);0===this.YFa&&(e=new a.core.Point,e.x=this.KMa.x,e.y=this.KMa.y,this.KIa.points.push(e))},d.prototype.onHitted=function(c){var d,e,f,g,h,i=c.x-this.BPa().x,j=c.y-this.BPa().y,k=i*i+j*j,l=this.NPa()*this.NPa(),m=this.CPa()*this.CPa();return k>=l&&k<=m&&(d=90*this.DPa()/Math.PI,e=b.clampAngle(180*this.MPa()/Math.PI+d),f=180*Math.atan2(j,i)/Math.PI,g=b.clampAngle(e-f),Math.abs(g)<=d)?(h=new a.core.Point,h.x=this.BPa().x+Math.cos(this.MPa()+this.DPa())*this.CPa(),h.y=this.BPa().y+Math.sin(this.MPa()+this.DPa())*this.CPa(),this.KIa.points.push(h),this.KIa.points.push(this.BPa()),new a.HitInfo(new a.core.Point(c.x,c.y),this.datapoint,null,this,[a.ElementType.Shape],this.KIa)):null},d}(a.pOa);a.mMa=c}(d||(d={})),function(a){"use strict";var b=function(b){e(c,b);function c(c,d){var e=b.call(this,c)||this;return e.label="",e.labelrect=new a.core.Rect(0,0,0,0),e.hidelabel=!0,e.symbol=d,e}return c.prototype.yl=function(b){if(this.bz()!==a.ViewState.Gone&&this.bz()!==a.ViewState.Invisible){b.beginTransform(),null!=this.PPa().parent.color&&(b.fill=this.PPa().parent.color),null!=this.PPa().color&&(b.fill=this.PPa().color),this.GHa(b,this.PPa().parent.style),this.GHa(b,this.PPa().style),null!=b.fill&&"none"!=b.fill||a.GHa(b,{fill:this.PPa().parent.parent.parent.parent.OOa().getColor(0)}),this.PPa().isSelected?this.GHa(b,this.PPa().parent.parent.parent.parent.$z().selectedStyle):this.GHa(b,this.PPa().parent.parent.parent.parent.$z().unselectedStyle),this.eb=1;var c=this.sS();this.IQa&&(this.GHa(b,this.PPa().parent.parent.$z().config.hoverStyle),c=a.x7.scale(a.core.cloneDeep(this.sS()),this.eb)),this.symbol.render(b,c,{fill:b.fill,stroke:b.stroke,strokeWidth:b.strokeWidth,strokeDasharray:b.strokeDasharray}),!this.hidelabel&&this.label&&b.drawString(this.label,new a.core.Point(this.labelrect.left,this.labelrect.top),a.ASa,this.labelstyle),b.restoreTransform()}},c.prototype.GHa=function(a,b){null!=b&&(null!=b.symbolOpacity&&(a.opacity=b.symbolOpacity),null!=b.symbolFill&&(a.fill=b.symbolFill),null!=b.symbolStroke&&(a.stroke=b.symbolStroke),null!=b.symbolStrokeWidth&&(a.strokeWidth=b.symbolStrokeWidth),null!=b.symbolStrokeDasharray&&(a.strokeDasharray=b.symbolStrokeDasharray))},c}(a.pOa);a.bMa=b}(d||(d={})),function(a){"use strict";var b=function(){function a(){this.minorTickLines=[],this.hidden=!1}return a}();a.RadialAxisViewModel=b}(d||(d={})),function(a){var b;!function(b){"use strict";b.registerAdornerRender("dot",new b.NSa),b.registerConditionalFormattingRule("DataPoint",new b.pQa),b.registerConditionalFormattingRule("Group",new b.qQa),b.registerDataContentProvider("Default",new b.FGa),b.registerDateParser("Default",new b.zRa),b.registerRenderEngine("SVG",new b.aSa),b.registerRenderEngine("Canvas",new b._Ra),b.registerStringFormatting("Default",new b.ARa),b.registerSymbol("dot",new b.eSa),b.registerSymbol("box",new b.bSa),b.registerSymbol("diamond",new b.dSa),b.registerSymbol("triangle",new b.gSa),b.registerSymbol("x",new b.hSa),b.registerSymbol("dash",new b.cSa),b.registerSymbol("plus",new b.fSa),a.uHa("Bar",new a.SGa),a.uHa("TreeMap",new a.$Ga),a.uHa("Sunburst",new a.YGa),a.uHa("Line",new a.UGa),a.uHa("Area",new a.QGa),a.uHa("Scatter",new a.WGa)}(b=a.plugins||(a.plugins={}))}(d||(d={})),b.exports=d},function(a,b,c){var d=c(1),e=this&&this.__extends||function(){var a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return function(b,c){a(b,c);function d(){this.constructor=b}b.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}();!function(a){var b;!function(a){a.XMa=65536,a.YMa=327680,a.ZMa="#666"}(b=a.financial||(a.financial={}))}(d||(d={})),function(a){var b;!function(a){var b;!function(a){"use strict";var b=function(){function a(){}return a}();a.JOa=b}(b=a.data||(a.data={}))}(b=a.financial||(a.financial={}))}(d||(d={})),function(a){var b;!function(b){var c;!function(b){"use strict";var c=function(){function b(a,b,c,d){this.name="",this.sNa=a,this.tNa=b,this.uNa=c,this.vNa=d}return b.prototype.toItem=function(b){var c,d,e,f,g=NaN,h=NaN,i=NaN,j=NaN;for(c=0,d=b;c<d.length;c++)e=d[c],null!=this.uNa&&(f=a.core.asNumber(e[this.uNa.Cj],null),isNaN(i)&&null!=f&&(i=f)),null!=this.vNa&&(f=a.core.asNumber(e[this.vNa.Cj],null),null!=f&&(j=f)),null!=this.sNa&&(f=a.core.asNumber(e[this.sNa.Cj],null),null!=f&&(isNaN(g)||g<f)&&(g=f)),null!=this.tNa&&(f=a.core.asNumber(e[this.tNa.Cj],null),null!=f&&(isNaN(h)||h>f)&&(h=f));return{high:g,low:h,open:i,close:j}},b.prototype.toValue=function(a){var b=this.toItem(a);return isNaN(b.high)||isNaN(b.low)?null:b.high-b.low},b.prototype.equals=function(a){return a instanceof b&&(this.sNa==a.sNa&&this.tNa==a.tNa&&this.uNa==a.uNa&&this.vNa==a.vNa)},b.prototype.LPa=function(){var a=NaN;return null!=this.sNa&&(isNaN(a)||a<this.sNa.cw())&&(a=this.sNa.cw()),null!=this.tNa&&(isNaN(a)||a<this.tNa.cw())&&(a=this.tNa.cw()),null!=this.uNa&&(isNaN(a)||a<this.uNa.cw())&&(a=this.uNa.cw()),null!=this.vNa&&(isNaN(a)||a<this.vNa.cw())&&(a=this.vNa.cw()),a},b.prototype.KPa=function(){var a=NaN;return null!=this.sNa&&(isNaN(a)||a>this.sNa.bw())&&(a=this.sNa.bw()),null!=this.tNa&&(isNaN(a)||a>this.tNa.bw())&&(a=this.tNa.bw()),null!=this.uNa&&(isNaN(a)||a>this.uNa.bw())&&(a=this.uNa.bw()),null!=this.vNa&&(isNaN(a)||a>this.vNa.bw())&&(a=this.vNa.bw()),a},b}();b.KOa=c}(c=b.data||(b.data={}))}(b=a.financial||(a.financial={}))}(d||(d={})),function(a){var b;!function(b){var c;!function(b){"use strict";var c=function(){function b(a){this.name="",this.wNa=a}return b.prototype.toItem=function(b){var c,d,e,f,g=NaN,h=NaN,i=NaN,j=NaN;for(c=0,d=b;c<d.length;c++)e=d[c],null!=this.wNa&&(f=a.core.asNumber(e[this.wNa.Cj],null),isNaN(i)&&null!=f&&(i=f),null!=f&&(j=f),null!=f&&(isNaN(g)||g<f)&&(g=f),null!=f&&(isNaN(h)||h>f)&&(h=f));return{high:g,low:h,open:i,close:j}},b.prototype.toValue=function(a){var b=this.toItem(a);return isNaN(b.high)||isNaN(b.low)?null:b.high-b.low},b.prototype.equals=function(a){return a instanceof b&&this.wNa==a.wNa},b.prototype.LPa=function(){return this.wNa.cw()},b.prototype.KPa=function(){return this.wNa.bw()},b}();b.LOa=c}(c=b.data||(b.data={}))}(b=a.financial||(a.financial={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(c){e(d,c);function d(){return null!==c&&c.apply(this,arguments)||this}return Object.defineProperty(d.prototype,"legends",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"dateField",{get:function(){return this.xField},enumerable:!0,configurable:!0}),d.prototype.xBa=function(){this.cNa=this.dNa(this.$z().encodings.category),c.prototype.xBa.call(this)},d.prototype.dNa=function(b){if(null==b||null==b.field)return null;var c=this.fields[b.field];return c&&c.Nc==a.core.DataType.Date?c:null},d.prototype.dTa=function(a){return null},d.prototype._Ba=function(a){return null},d.prototype.aCa=function(a){return null},d.prototype.bCa=function(a){return null},d.prototype.cCa=function(a){return null},d.prototype.dCa=function(a){return null},d.prototype.IBa=function(a,c){return void 0===c&&(c=0),new b.bNa(this.dataSeriesList)},d.prototype.KBa=function(b){return null==b||b.length<=0?new a.models.SOa(0):b[0].ySite},d.prototype.fCa=function(a,c,d,e){if(null!=c&&null!=this.dateField){if(c instanceof b.data.KOa)return new b.GRa(this,a,c,d,"Day");if(c instanceof b.data.LOa)return new b.GRa(this,a,c,d,"Day")}return null},d.prototype.xOa=function(c,d){var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A;if(void 0===d&&(d=null),e=[],null==c)return e;for(f=c,Array.isArray(c)||(f=[c]),g=[],h=0,i=f;h<i.length;h++)if(j=i[h],k=this.fNa(j),null!=k)if(Array.isArray(k)&&k.length>0)for(l=0,m=k;l<m.length;l++){for(n=m[l],o=!1,p=0,q=g;p<q.length;p++)if(r=q[p],r.zAa(n)){o=!0;break}o||g.push(n)}else if("object"==typeof k){if(s=k,null!=this.xField)return e.push(new b.data.KOa(s.highField,s.lowField,s.openField,s.closeField)),e;if(null!=s.xField)return e.push(new a.data.BOa(s.xField)),e.push(new b.data.KOa(s.highField,s.lowField,s.openField,s.closeField)),e}if(t=null,null==this.xField)for(u=0,v=g;u<v.length;u++)if(w=v[u],w.Nc==a.core.DataType.Date){e.push(new a.data.BOa(w));break}for(x=[],y=0,z=g;y<z.length;y++)w=z[y],w.Nc==a.core.DataType.Number&&x.push(w);if(A=this.hNa(x)){if(null!=A.transactionField)return e.push(new b.data.LOa(A.transactionField)),e;if(this.jNa({highField:A.highField,lowField:A.lowField,openField:A.openField,closeField:A.closeField}))return e.push(new b.data.KOa(A.highField,A.lowField,A.openField,A.closeField)),e}return e},d.prototype.fNa=function(b){var c,d,e,f,g,h,i,j,k,l,m=[];if(null==b)return m;if(null!=b.field){if("object"==typeof b.field)return c=null,null!=b.field.high&&"string"==typeof b.field.high&&null!=this.fields[b.field.high]&&this.fields[b.field.high].Nc==a.core.DataType.Number&&(c=this.fields[b.field.high]),d=null,null!=b.field.low&&"string"==typeof b.field.low&&null!=this.fields[b.field.low]&&this.fields[b.field.low].Nc==a.core.DataType.Number&&(d=this.fields[b.field.low]),e=null,null!=b.field.open&&"string"==typeof b.field.open&&null!=this.fields[b.field.open]&&this.fields[b.field.open].Nc==a.core.DataType.Number&&(e=this.fields[b.field.open]),f=null,null!=b.field.close&&"string"==typeof b.field.close&&null!=this.fields[b.field.close]&&this.fields[b.field.close].Nc==a.core.DataType.Number&&(f=this.fields[b.field.close]),g=null,null!=b.field.x&&"string"==typeof b.field.x&&null!=this.fields[b.field.x]&&this.fields[b.field.x].Nc==a.core.DataType.Date&&(g=this.fields[b.field.x]),this.jNa({highField:c,lowField:d,openField:e,closeField:f})?{highField:c,lowField:d,openField:e,closeField:f,xField:g}:null;if("string"==typeof b.field)for(h=b.field.split(","),i=0,j=h;i<j.length;i++)k=j[i],l=this.fields[k.trim()],null!=l&&m.push(l)}return m},d.prototype.kNa=function(a){return null},d}(a.models.iCa);b.HRa=c}(b=a.financial||(a.financial={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c,d=function(a){e(b,a);function b(b,c,d){var e=a.call(this,b,c,d.valueOf())||this;return e.mNa=d,e.qPa(b.valueDefinition.toItem(e.items)),e.open<e.close&&(e.style.fill="none"),e}return Object.defineProperty(b.prototype,"date",{get:function(){return this.mNa},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"high",{get:function(){return this.item.high},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"low",{get:function(){return this.item.low},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"open",{get:function(){return this.item.open},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"close",{get:function(){return this.item.close},enumerable:!0,configurable:!0}),b.prototype.w5=function(a){return a},Object.defineProperty(b.prototype,"xValue",{get:function(){return this.date.valueOf()},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"tooltipContentSite",{get:function(){return new c(this)},enumerable:!0,configurable:!0}),b.prototype.PNa=function(){this.style.fill=this.color},b}(a.models.sCa);b.IRa=d,c=function(){function b(b){var c,d,e,f,g;if(a.Yya(function(){return null!=b}),this.tCa=b,c=this.tCa.parent.parent.$z().config.tooltip.template,null==c||c.length<=0)this.oNa=["date","high","low","open","close"];else if(this.oNa=[],d=this.tCa.parent.parent.$z().encodings.tooltip,d.length>0)for(e=0,f=d;e<f.length;e++)g=f[e],this.oNa.indexOf(g.field)==-1&&this.oNa.push(g.field)}return Object.defineProperty(b.prototype,"stringFormatting",{get:function(){return this.tCa.parent.parent.parent.parent.lPa()},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"template",{get:function(){var a,b=this.tCa.parent.parent.$z().encodings.tooltip;return null==b||b.length<=0?null:(a=this.tCa.parent.parent.$z().config.tooltip.template,null==a||a.length<=0?this.rPa():a)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"defaultProperty",{get:function(){return"value"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"literalTokens",{get:function(){return[{name:"date"},{name:"high"},{name:"low"},{name:"open"},{name:"close"}]},enumerable:!0,configurable:!0}),b.prototype.fromToken=function(a,b){if(this.oNa.indexOf(a)!=-1){if("date"==a)return{name:"date",value:this.tCa.date.toLocaleDateString()};if("high"==a)return{name:"high",value:this.tCa.high};if("low"==a)return{name:"low",value:this.tCa.low};if("open"==a)return{name:"open",value:this.tCa.open};if("close"==a)return{name:"close",value:this.tCa.close}}return{name:"",value:""}},b.prototype.rPa=function(){var a,b,c,d,e=this.tCa.parent.parent.$z().encodings.tooltip,f=["date"];if(e.length>0)for(a=0,b=e;a<b.length;a++)c=b[a],f.indexOf(c.field)==-1&&f.push(c.field);return d=f.map(function(a){return"{"+a+".name}:{"+a+".value}"}),d.join("\n")},b}()}(b=a.financial||(a.financial={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c,d=function(d){e(f,d);function f(b,c,e,f,g){var h=d.call(this,b,c,e,f,a.Group.Cluster)||this;return h.pNa=g,h}return Object.defineProperty(f.prototype,"ySite",{get:function(){return null==this.JBa&&(this.JBa=new c(this.valueDefinition)),this.JBa},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"dataModel",{get:function(){return this.parent},enumerable:!0,configurable:!0}),f.prototype.BCa=function(){var b,c,d,e,f,g,h,i,j,k,l,m,n,o=[];for(b=0,c=this.items;b<c.length;b++)d=c[b],e=d[this.dataModel.dateField.Cj],f=this.parent.xField.T0(e),f&&"Day"==this.pNa&&o.push({date:new Date(f.getFullYear(),f.getMonth(),f.getDate()),item:d});for(g=new a.core.collections.CollectionView(o),h=new a.core.collections.PropertyGroupDescription("date"),g.groupDescriptions.push(h),i=[],j=function(a){var b=a.items[0].date,c=[];a.items.forEach(function(a){c.push(a.item)}),i.push(k.CCa(c,b.valueOf()))},k=this,l=0,m=g.groups;l<m.length;l++)n=m[l],j(n);return i},f.prototype.CCa=function(a,c){return new b.IRa(this,a,new Date(c))},f.prototype.FBa=function(a){null!=this.dataPoints&&this.dataPoints.forEach(function(b){a.forEach(function(a){a.evaluate(b)})})},f}(a.models.DCa);b.GRa=d,c=function(){function b(a){this.valueCount=NaN,this.groups=null,this.groupLevels=0,this.zCa=a}return Object.defineProperty(b.prototype,"name",{get:function(){return""},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"min",{get:function(){return this.zCa.KPa()},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"max",{get:function(){return this.zCa.LPa()},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"dataType",{get:function(){return a.core.DataType.Number},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"isOrdinal",{get:function(){return!1},enumerable:!0,configurable:!0}),b.prototype.labelFromValue=function(b,c){var d,e=a.plugins._za("Default");return null!=e&&(d=e.create(),null!=d)?d.format(c,b):null},b}()}(b=a.financial||(a.financial={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function b(a){var b,c,d,e,f,g,h,i,j;for(this.pBa=!1,this.aNa=null,this.FCa=NaN,this.GCa=NaN,this.groupLevels=0,this.groups=[],this.FCa=NaN,this.GCa=NaN,b=NaN,this.aNa=[],c=0,d=a;c<d.length;c++)for(e=d[c],f=NaN,g=0,h=e.dataPoints;g<h.length;g++)i=h[g],j=i.date.valueOf(),this.aNa.indexOf(j)==-1&&((isNaN(this.FCa)||this.FCa>j)&&(this.FCa=j),(isNaN(this.GCa)||this.GCa<j)&&(this.GCa=j),this.aNa.push(j)),isNaN(f)||(isNaN(b)||b>j-f)&&(b=j-f),f=j;isNaN(b)||(this.FCa-=.5*b,this.GCa+=.5*b)}return Object.defineProperty(b.prototype,"name",{get:function(){return"date"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"min",{get:function(){return this.FCa},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"max",{get:function(){return this.GCa},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"dataType",{get:function(){return a.core.DataType.Date},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"isOrdinal",{get:function(){return this.pBa},set:function(a){this.pBa!=a&&(this.pBa=a)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"valueCount",{get:function(){return this.aNa.length},enumerable:!0,configurable:!0}),b.prototype.labelFromValue=function(b,c){var d=new Date(b);return null==c?this.lPa().format(this.lPa().defaultFormat(a.core.DataType.Date,!1),d):this.lPa().format(c,d)},b.prototype.lPa=function(){if(null==this.$za){var b=a.plugins._za("Default");b&&(this.$za=b.create())}return this.$za},b}();b.bNa=c}(b=a.financial||(a.financial={}))}(d||(d={})),function(a){var b;!function(a){"use strict";var b=function(a){e(b,a);function b(){return null!==a&&a.apply(this,arguments)||this}return b.prototype.hNa=function(a){return a.length<=0?{highField:null,lowField:null,openField:null,closeField:null,transactionField:null}:a.length<=3?{highField:null,lowField:null,openField:null,closeField:null,transactionField:a[0]}:{highField:a[0],lowField:a[1],openField:a[2],closeField:a[3],transactionField:null}},b.prototype.jNa=function(a){return null!=a},b}(a.HRa);a.JRa=b}(b=a.financial||(a.financial={}))}(d||(d={})),function(a){var b;!function(a){"use strict";var b=function(a){e(b,a);function b(){return null!==a&&a.apply(this,arguments)||this}return b.prototype.hNa=function(a){return a.length<=0?{highField:null,lowField:null,openField:null,closeField:null,transactionField:null}:1==a.length?{highField:null,lowField:null,openField:null,closeField:null,transactionField:a[0]}:2==a.length?{highField:a[0],lowField:a[1],openField:null,closeField:null,transactionField:null}:3==a.length?{highField:a[0],lowField:a[1],
openField:a[2],closeField:null,transactionField:null}:{highField:a[0],lowField:a[1],openField:a[2],closeField:a[3],transactionField:null}},b.prototype.jNa=function(a){return null!=a},b}(a.HRa);a.KRa=b}(b=a.financial||(a.financial={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function c(){}return c.prototype.create=function(c,d){return null!=d&&null!=c&&c instanceof a.kKa?new b.zNa(c,d):null},c}();b.ANa=c}(b=a.financial||(a.financial={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(){function c(){}return c.prototype.create=function(c,d){return null!=d&&null!=c&&c instanceof a.kKa?new b.GNa(c,d):null},c}();b.HNa=c}(b=a.financial||(a.financial={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(b){e(c,b);function c(){return null!==b&&b.apply(this,arguments)||this}return Object.defineProperty(c.prototype,"radial",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"dataModel",{get:function(){return this.dMa},enumerable:!0,configurable:!0}),c.prototype.bindData=function(a){this.dMa=this.eMa(a)},c.prototype.TPa=function(){var a=this.QPa().bar.width;return null==a?.7:(a>1&&(a=1),a<0&&(a=0),a)},c.prototype.Query=function(b){var c,d,e,f,g,h,i=[],j=new a.ZRa(b,function(b,c){var d,e;try{return d=new a.core.Binding(c),e=d.getValue(b.item),null==e&&(e=d.getValue(b)),e}catch(a){}return null},function(a,b){var c,d=a.item;for(c in d)if(b==c)return!0;return!1},function(a){i.push(a)});for(c=0,d=this.dataModel.dataSeriesList;c<d.length;c++)for(e=d[c],f=0,g=e.dataPoints;f<g.length;f++)h=g[f],j.evaluate(h);return i},c}(a.cMa);b.xNa=c}(b=a.financial||(a.financial={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(c){e(d,c);function d(){return null!==c&&c.apply(this,arguments)||this}return Object.defineProperty(d.prototype,"type",{get:function(){return a.DataGraphType.CoordinateSystem_Xy|b.XMa},enumerable:!0,configurable:!0}),d.prototype.eMa=function(a){return new b.JRa(this,a,this.$z())},d.prototype.layoutSeries=function(a,b){var c,d,e,f,g,h;for(c=0,d=this.dataModel.dataSeriesList;c<d.length;c++)for(e=d[c],f=0,g=e.dataPoints;f<g.length;f++)h=g[f],this.layoutCandlestick(a,h)},d.prototype.layoutCandlestick=function(c,d){var e,f,g,h,i,j,k,l,m,n=this.QPa().selectedStyle,o=this.QPa().unselectedStyle,p=this.plotArea.AKa(this.name),q=this.plotArea.le(this.name),r=d.xValue-.5*this.RPa()*this.TPa(),s=r+this.RPa()*this.TPa();r=p.GPa().getScaleValue(r),s=p.GPa().getScaleValue(s),e=(r+s)/2,f=q.GPa().getScaleValue(d.high),g=q.GPa().getScaleValue(d.low),h=q.GPa().getScaleValue(d.open),i=q.GPa().getScaleValue(d.close),j=new b.yNa(d),j.datapoint=d,k=r<s?r:s,l=d.open>d.close?h:i,j.topLineStart=new a.core.Point(e,f),j.topLineEnd=new a.core.Point(e,l),j.bottomLineStart=new a.core.Point(e,g),j.bottomLineEnd=new a.core.Point(e,l+Math.abs(i-h)),j.sS(new a.core.Rect(k,l,Math.abs(s-r),Math.abs(i-h))),m=new a.core.Rect(k,l,Math.abs(s-r),Math.abs(f-g)),j.refresh(),this.RLa.add(new a.CKa(m,d)),this.oi.push(j)},d}(b.xNa);b.zNa=c}(b=a.financial||(a.financial={}))}(d||(d={})),function(a){var b;!function(b){var c=function(b){e(c,b);function c(a){var c=b.call(this)||this;return c.FLa=a,c.datapoint=a,c.EQa=[],c}return c.prototype.KQa=function(a){return void 0===a?this.PPa().isSelected:void(1==a?this.PPa().N4():this.PPa().IAa())},c.prototype.PPa=function(){return this.FLa},c.prototype.yy=function(){return{opacity:null,fill:"#666",stroke:"#666",strokeWidth:1,strokeDasharray:null,symbolOpacity:null,symbolFill:null,symbolStroke:null,symbolStrokeWidth:null,symbolStrokeDasharray:null}},c.prototype.yl=function(b){this.bz()!==a.ViewState.Gone&&this.bz()!==a.ViewState.Invisible&&(b.beginTransform(),this.GHa(b,this.yy()),this.GHa(b,this.PPa().style),this.PPa().isSelected?a.GHa(b,this.PPa().parent.parent.parent.parent.$z().selectedStyle):a.GHa(b,this.PPa().parent.parent.parent.parent.$z().unselectedStyle),this.IQa&&a.GHa(b,this.PPa().parent.parent.$z().config.hoverStyle),null!=this.BNa&&null!=this.CNa&&(this.BNa.equals(this.CNa)||b.drawLine(this.BNa.x,this.BNa.y,this.CNa.x,this.CNa.y)),null!=this.DNa&&null!=this.ENa&&(this.DNa.equals(this.ENa)||b.drawLine(this.DNa.x,this.DNa.y,this.ENa.x,this.ENa.y)),b.drawRect(this.sS().left,this.sS().top,this.sS().width,this.sS().height),b.restoreTransform())},c.prototype.GHa=function(a,b){null!=b&&(null!=b.fill&&(a.fill=b.fill),null!=b.stroke&&(a.stroke=b.stroke),null!=b.strokeWidth&&(a.strokeWidth=b.strokeWidth),null!=b.strokeWidth&&(a.strokeDasharray=b.strokeDasharray))},Object.defineProperty(c.prototype,"topLineStart",{set:function(a){this.BNa=a.clone()},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"topLineEnd",{set:function(a){this.CNa=a.clone()},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"bottomLineStart",{set:function(a){this.DNa=a.clone()},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"bottomLineEnd",{set:function(a){this.ENa=a.clone()},enumerable:!0,configurable:!0}),c.prototype.onHitted=function(b){var c,d,e,f;for(c=0;c<this.EQa.length;++c)if(d=this.EQa[c],b.contains(d)){switch(e=this.datapoint.item.open>this.datapoint.item.close,f=void 0,c){case 0:f="high";break;case 1:f=e?"open":"close";break;case 2:f=e?"close":"open";break;case 3:f="low"}return new a.HitInfo(new a.core.Point(b.x,b.y),this.datapoint,null,this,[a.ElementType.Shape],this.KIa,f)}return null},c.prototype.refresh=function(){var a,b,c,d,e,f,g;this.EQa=[this.sS().clone(),this.sS().clone(),this.sS().clone(),this.sS().clone()],this.FQa=[],a=this.sS().top,b=this.sS().bottom,c=a,d=this.sS().top+this.sS().height/2,e=this.sS().bottom,null!=this.BNa&&null!=this.CNa&&(this.FQa.push(this.BNa.clone()),this.FQa.push(this.CNa.clone()),a=this.BNa.y-10,c=this.CNa.y-(this.CNa.y-this.BNa.y)/2),null!=this.DNa&&null!=this.ENa&&(this.FQa.push(this.ENa.clone()),this.FQa.push(this.DNa.clone()),e=this.sS().bottom+Math.abs(this.ENa.y-this.DNa.y)/2,b=this.sS().bottom+Math.abs(this.ENa.y-this.DNa.y)+10),this.EQa[0].top=a,this.EQa[0].height=c-a,this.EQa[1].top=c,this.EQa[1].height=d-c,this.EQa[2].top=d,this.EQa[2].height=e-d,this.EQa[3].top=e,this.EQa[3].height=b-e,this.KIa.points=[],this.PPa().isSelected&&(f=this.PPa().field,null!=f?(f=f.replace("[","").replace("]",""),g=f.split("."),g.indexOf("high")>-1&&(this.KIa.points=this.KIa.points.concat([this.FQa[0]])),g.indexOf("open")>-1&&(this.PPa().open>this.PPa().close?this.KIa.points=this.KIa.points.concat([this.FQa[1]]):this.KIa.points=this.KIa.points.concat([this.FQa[2]])),g.indexOf("close")>-1&&(this.PPa().open>this.PPa().close?this.KIa.points=this.KIa.points.concat([this.FQa[2]]):this.KIa.points=this.KIa.points.concat([this.FQa[1]])),g.indexOf("low")>-1&&(this.KIa.points=this.KIa.points.concat([this.FQa[3]]))):(this.KIa.rect=this.sS().clone(),this.KIa.points=this.KIa.points.concat(this.FQa)))},c}(a.MIa);b.yNa=c}(b=a.financial||(a.financial={}))}(d||(d={})),function(a){var b;!function(b){"use strict";var c=function(c){e(d,c);function d(){return null!==c&&c.apply(this,arguments)||this}return Object.defineProperty(d.prototype,"type",{get:function(){return a.DataGraphType.CoordinateSystem_Xy|b.YMa},enumerable:!0,configurable:!0}),d.prototype.eMa=function(a){return new b.KRa(this,a,this.$z())},d.prototype.layoutSeries=function(a,b){var c,d,e,f,g,h;for(c=0,d=this.dataModel.dataSeriesList;c<d.length;c++)for(e=d[c],f=0,g=e.dataPoints;f<g.length;f++)h=g[f],this.layoutHloc(a,h)},d.prototype.layoutHloc=function(c,d){var e,f,g,h,i,j,k,l,m,n=this.QPa().selectedStyle,o=this.QPa().unselectedStyle,p=d.high,q=d.low,r=d.open,s=d.close,t=this.plotArea.AKa(this.name),u=this.plotArea.le(this.name),v=d.xValue-.5*this.RPa()*this.TPa(),w=v+this.RPa()*this.TPa();v=t.GPa().getScaleValue(v),w=t.GPa().getScaleValue(w),e=(v+w)/2,f=u.GPa().getScaleValue(p),g=u.GPa().getScaleValue(q),h=u.GPa().getScaleValue(r),i=u.GPa().getScaleValue(s),j=new b.FNa(d),j.datapoint=d,isNaN(e)||isNaN(f)||isNaN(g)||(j.hlLineStart=new a.core.Point(e,f),j.hlLineEnd=new a.core.Point(e,g)),k=v<w?v:w,l=r>s?h:i,isNaN(e-Math.abs(w-v)/2)||isNaN(h)||isNaN(h)||(j.openLineStart=new a.core.Point(e-Math.abs(w-v)/2,h),j.openLineEnd=new a.core.Point(e,h)),isNaN(e)||isNaN(i)||isNaN(w)||isNaN(v)||(j.closeLineStart=new a.core.Point(e,i),j.closeLineEnd=new a.core.Point(e+Math.abs(w-v)/2,i)),j.refresh(),m=j.sS().clone(),this.oi.push(j),this.RLa.add(new a.CKa(m,p))},d}(b.xNa);b.GNa=c}(b=a.financial||(a.financial={}))}(d||(d={})),function(a){var b;!function(b){var c=10,d=function(b){e(d,b);function d(a){var c=b.call(this)||this;return c.FLa=a,c.datapoint=a,c}return d.prototype.KQa=function(a){return void 0===a?this.PPa().isSelected:void(1==a?this.PPa().N4():this.PPa().IAa())},d.prototype.PPa=function(){return this.FLa},d.prototype.yy=function(){return{opacity:null,fill:null,stroke:"green",strokeWidth:1,strokeDasharray:null,symbolOpacity:null,symbolFill:null,symbolStroke:null,symbolStrokeWidth:null,symbolStrokeDasharray:null}},d.prototype.yl=function(b){this.bz()!==a.ViewState.Gone&&this.bz()!==a.ViewState.Invisible&&(b.beginTransform(),this.GHa(b,this.yy()),this.GHa(b,this.PPa().style),this.PPa().isSelected?a.GHa(b,this.PPa().parent.parent.parent.parent.$z().selectedStyle):a.GHa(b,this.PPa().parent.parent.parent.parent.$z().unselectedStyle),this.IQa&&a.GHa(b,this.PPa().parent.parent.$z().config.hoverStyle),null!=this.INa&&null!=this.JNa&&b.drawLine(this.INa.x,this.INa.y,this.JNa.x,this.JNa.y),null!=this.KNa&&null!=this.LNa&&(this.KNa.equals(this.LNa)||b.drawLine(this.KNa.x,this.KNa.y,this.LNa.x,this.LNa.y)),null!=this.MNa&&null!=this.NNa&&(this.MNa.equals(this.NNa)||b.drawLine(this.MNa.x,this.MNa.y,this.NNa.x,this.NNa.y)),b.restoreTransform())},d.prototype.GHa=function(a,b){null!=b&&(null!=b.fill&&(a.fill=b.fill),null!=b.stroke&&(a.stroke=b.stroke),null!=b.strokeWidth&&(a.strokeWidth=b.strokeWidth),null!=b.strokeWidth&&(a.strokeDasharray=b.strokeDasharray))},Object.defineProperty(d.prototype,"hlLineStart",{set:function(a){this.INa=a.clone()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"hlLineEnd",{set:function(a){this.JNa=a.clone()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"openLineStart",{set:function(a){this.KNa=a.clone()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"openLineEnd",{set:function(a){this.LNa=a.clone()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"closeLineStart",{set:function(a){this.MNa=a.clone()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"closeLineEnd",{set:function(a){this.NNa=a.clone()},enumerable:!0,configurable:!0}),d.prototype.onHitted=function(b){var c,d,e;for(c=0;c<this.EQa.length;++c)if(d=this.EQa[c],b.contains(d)){switch(e=void 0,c){case 0:e="high";break;case 1:e="open";break;case 2:e="close";break;case 3:e="low"}return new a.HitInfo(new a.core.Point(b.x,b.y),this.datapoint,null,this,[a.ElementType.Shape],this.KIa,e)}return null},d.prototype.refresh=function(){var d,e,f,g,h,i;b.prototype.refresh.call(this),d=a.x7.min(null!=this.INa?this.INa.x:null,null!=this.JNa?this.JNa.x:null,null!=this.LNa?this.LNa.x:null,null!=this.KNa?this.KNa.x:null,null!=this.NNa?this.NNa.x:null,null!=this.MNa?this.MNa.x:null),e=a.x7.min(null!=this.INa?this.INa.y:null,null!=this.JNa?this.JNa.y:null,null!=this.LNa?this.LNa.y:null,null!=this.KNa?this.KNa.y:null,null!=this.NNa?this.NNa.y:null,null!=this.MNa?this.MNa.y:null),f=a.x7.max(null!=this.INa?this.INa.x:null,null!=this.JNa?this.JNa.x:null,null!=this.LNa?this.LNa.x:null,null!=this.KNa?this.KNa.x:null,null!=this.NNa?this.NNa.x:null,null!=this.MNa?this.MNa.x:null),g=a.x7.max(null!=this.INa?this.INa.y:null,null!=this.JNa?this.JNa.y:null,null!=this.LNa?this.LNa.y:null,null!=this.KNa?this.KNa.y:null,null!=this.NNa?this.NNa.y:null,null!=this.MNa?this.MNa.y:null),this.sS(new a.core.Rect(d,e,f-d,g-e)),this.EQa=[],this.FQa=[],null!=this.INa&&(this.EQa[0]=new a.core.Rect(this.INa.x-c,this.INa.y-c,2*c,2*c),this.FQa[0]=this.INa.clone()),null!=this.KNa&&(this.EQa[1]=new a.core.Rect(this.KNa.x,this.KNa.y-c,this.sS().width/2,2*c),this.FQa[1]=this.KNa.clone()),null!=this.NNa&&(this.EQa[2]=new a.core.Rect(this.NNa.x-this.sS().width/2,this.NNa.y-c,this.sS().width/2,2*c),this.FQa[2]=this.NNa.clone()),null!=this.JNa&&(this.EQa[3]=new a.core.Rect(this.JNa.x-c,this.JNa.y-c,2*c,2*c),this.FQa[3]=this.JNa.clone()),this.KIa.points=[],this.PPa().isSelected&&(h=this.PPa().field,null!=h?(h=h.replace("[","").replace("]",""),i=h.split("."),i.indexOf("high")>-1&&(this.KIa.points=this.KIa.points.concat([this.FQa[0]])),i.indexOf("open")>-1&&(this.KIa.points=this.KIa.points.concat([this.FQa[1]])),i.indexOf("close")>-1&&(this.KIa.points=this.KIa.points.concat([this.FQa[2]])),i.indexOf("low")>-1&&(this.KIa.points=this.KIa.points.concat([this.FQa[3]]))):this.KIa.rect=this.sS().clone())},d}(a.MIa);b.FNa=d}(b=a.financial||(a.financial={}))}(d||(d={})),function(a){a.uHa("Candlestick",new a.financial.ANa),a.uHa("HighLowOpenClose",new a.financial.HNa)}(d||(d={})),a.exports=d},function(a,b){!function(){"use strict";a.exports={}}()},function(a,b,c){!function(){"use strict";var b=c(3);b.ST_TextStrikeType={noStrike:0,sngStrike:1,dblStrike:2},b.ST_LineCap={rnd:0,sq:1,flat:2},b.ST_BlipCompression={email:0,screen:1,print:2,hqprint:3,none:4},b.ST_PathShadeType={shape:0,circle:1,rect:2},b.ST_PresetMaterialType={legacyMatte:0,legacyPlastic:1,legacyMetal:2,legacyWireframe:3,matte:4,plastic:5,metal:6,warmMatte:7,translucentPowder:8,powder:9,dkEdge:10,softEdge:11,clear:12,flat:13,softmetal:14},b.ST_Orientation={maxMin:0,minMax:1},b.ST_CrossBetween={between:0,midCat:1},b.AnchorType={TwoCellAnchor:0,OneCellAnchor:1,AbsoluteAnchor:2,RelSizeAnchor:3,AbsSizeAnchor:4},b.ColorFillType={SolidColorFillProperties:0,PatternFillProperties:1,GradientFillProperties:2,BlipFillProperties:3,GroupFillProperties:4,NoFillProperties:5},b.CT_ChartType={CT_StockChart:0,CT_ScatterChart:1,CT_RadarChart:2,CT_BubbleChart:3,CT_AreaChart:4,CT_Area3DChart:5,CT_BarChart:6,CT_Bar3DChart:7,CT_LineChart:8,CT_Line3DChart:9,CT_PieChart:10,CT_Pie3DChart:11,CT_DoughnutChart:12,CT_OfPieChart:13,CT_SurfaceChart:14,CT_Surface3DChart:15},b.CT_AxisType={CT_CatAx:0,CT_DateAx:1,CT_SerAx:2,CT_ValAx:3},b.CT_HiddenExtensionType={CT_HiddenScene3dExtension:0,CT_HiddenFillPropertiesExtension:1,CT_HiddenLinePropertiesBaseExtension:2,CT_HiddenShape3dExtension:3,CT_OfficeArtExtension:4},b.CT_ShapeType={CT_AlternateContent:0,CT_Picture:1,CT_GraphicalObjectFrame:2,CT_GroupShape:3,CT_Connector:4,CT_Shape:5},b.ST_FontCollectionIndex={major:0,minor:1,none:2},b.ST_PresetColorVal={aliceBlue:0,antiqueWhite:1,aqua:2,aquamarine:3,azure:4,beige:5,bisque:6,black:7,blanchedAlmond:8,blue:9,blueViolet:10,brown:11,burlyWood:12,cadetBlue:13,chartreuse:14,chocolate:15,coral:16,cornflowerBlue:17,cornsilk:18,crimson:19,cyan:20,dkBlue:21,dkCyan:22,dkGoldenrod:23,dkGray:24,dkGreen:25,dkKhaki:26,dkMagenta:27,dkOliveGreen:28,dkOrange:29,dkOrchid:30,dkRed:31,dkSalmon:32,dkSeaGreen:33,dkSlateBlue:34,dkSlateGray:35,dkTurquoise:36,dkViolet:37,deepPink:38,deepSkyBlue:39,dimGray:40,dodgerBlue:41,firebrick:42,floralWhite:43,forestGreen:44,fuchsia:45,gainsboro:46,ghostWhite:47,gold:48,goldenrod:49,gray:50,green:51,greenYellow:52,honeydew:53,hotPink:54,indianRed:55,indigo:56,ivory:57,khaki:58,lavender:59,lavenderBlush:60,lawnGreen:61,lemonChiffon:62,ltBlue:63,ltCoral:64,ltCyan:65,ltGoldenrodYellow:66,ltGray:67,ltGreen:68,ltPink:69,ltSalmon:70,ltSeaGreen:71,ltSkyBlue:72,ltSlateGray:73,ltSteelBlue:74,ltYellow:75,lime:76,limeGreen:77,linen:78,magenta:79,maroon:80,medAquamarine:81,medBlue:82,medOrchid:83,medPurple:84,medSeaGreen:85,medSlateBlue:86,medSpringGreen:87,medTurquoise:88,medVioletRed:89,midnightBlue:90,mintCream:91,mistyRose:92,moccasin:93,navajoWhite:94,navy:95,oldLace:96,olive:97,oliveDrab:98,orange:99,orangeRed:100,orchid:101,paleGoldenrod:102,paleGreen:103,paleTurquoise:104,paleVioletRed:105,papayaWhip:106,peachPuff:107,peru:108,pink:109,plum:110,powderBlue:111,purple:112,red:113,rosyBrown:114,royalBlue:115,saddleBrown:116,salmon:117,sandyBrown:118,seaGreen:119,seaShell:120,sienna:121,silver:122,skyBlue:123,slateBlue:124,slateGray:125,snow:126,springGreen:127,steelBlue:128,tan:129,teal:130,thistle:131,tomato:132,turquoise:133,violet:134,wheat:135,white:136,whiteSmoke:137,yellow:138,yellowGreen:139},b.ST_Grouping={percentStacked:0,standard:1,stacked:2},b.ST_ScatterStyle={none:0,line:1,lineMarker:2,marker:3,smooth:4,smoothMarker:5},b.ST_RadarStyle={standard:0,marker:1,filled:2},b.ST_BarGrouping={percentStacked:0,clustered:1,standard:2,stacked:3},b.ST_BarDir={bar:0,col:1},b.ST_OfPieType={pie:0,bar:1},b.ST_AxPos={b:0,l:1,r:2,t:3},b.ShadowEffectType={OuterShadowEffect:0,InnerShadowEffect:1,PresetShadowEffect:2},b.SeriesType={BarSer:0,AreaSer:1,LineSer:2,PieSer:3,RadarSer:4,ScatterSer:5,BubbleSer:6,SurfaceSer:7},b.ExtDataType={InvertSolidFillFmt:0,SeriesDataLabelsRange:1},b.TextParagraphElementType={RegularTextRun:0,TextLineBreak:1,TextField:2},b.StyleDataFlag={None:0,Font:1,Fill:2,Border:4,Alignment:8,Protection:16,FormatCode:32,All:63},b.ColorSchemeIndex={None:-4142,LT1:0,DK1:1,LT2:2,DK2:3,Accent1:4,Accent2:5,Accent3:6,Accent4:7,Accent5:8,Accent6:9,Hlink:10,FolHlink:11},b.ThemeFont={None:0,Major:1,Minor:2},b.DisplayBlanksAs={Interpolated:0,NotPlotted:1,Zero:2},b.ReferenceKind={Empty:0,Row:1,Column:2,RowIsRelative:4,ColumnIsRelative:8,LastRowIsRelative:16,LastColumnIsRelative:32,Range:64,Error:128},b.DrawingType={Shape:0,Chart:1,Picture:2,Connector:3,GroupShape:4},b.TextureAlignment={TextureTopLeft:0,TextureTop:1,TextureTopRight:2,TextureLeft:3,TextureCenter:4,TextureRight:5,TextureBottomLeft:6,TextureBottom:7,TextureBottomRight:8},b.TextureType={TextureTypeNone:0,TexturePreset:1,TextureUserDefined:2},b.FillType={FillSolid:0,FillPatterned:1,FillGradient:2,FillTextured:3,FillBackground:4,FillPicture:5,FillGroup:6},b.PresetGradientType={GradientEarlySunset:0,GradientLateSunset:1,GradientNightfall:2,GradientDaybreak:3,GradientHorizon:4,GradientDesert:5,GradientOcean:6,GradientCalmWater:7,GradientFire:8,GradientFog:9,GradientMoss:10,GradientPeacock:11,GradientWheat:12,GradientParchment:13,GradientMahogany:14,GradientRainbow:15,GradientRainbowII:16,GradientGold:17,GradientGoldII:18,GradientBrass:19,GradientChrome:20,GradientChromeII:21,GradientSilver:22,GradientSapphire:23},b.PresetTexture={TexturePapyrus:0,TextureCanvas:1,TextureDenim:2,TextureWovenMat:3,TextureWaterDroplets:4,TexturePaperBag:5,TextureFishFossil:6,TextureSand:7,TextureGreenMarble:8,TextureWhiteMarble:9,TextureBrownMarble:10,TextureGranite:11,TextureNewsprint:12,TextureRecycledPaper:13,TextureParchment:14,TextureStationery:15,TextureBlueTissuePaper:16,TexturePinkTissuePaper:17,TexturePurpleMesh:18,TextureBouquet:19,TextureCork:20,TextureWalnut:21,TextureOak:22,TextureMediumWood:23},b.GradientColorType={GradientColorNone:0,GradientOneColor:1,GradientTwoColors:2,GradientPresetColors:3,GradientMultiColor:4},b.PatternType={PatternNone:0,Pattern5Percent:1,Pattern10Percent:2,Pattern20Percent:3,Pattern25Percent:4,Pattern30Percent:5,Pattern40Percent:6,Pattern50Percent:7,Pattern60Percent:8,Pattern70Percent:9,Pattern75Percent:10,Pattern80Percent:11,Pattern90Percent:12,PatternDarkHorizontal:13,PatternDarkVertical:14,PatternDarkDownwardDiagonal:15,PatternDarkUpwardDiagonal:16,PatternSmallCheckerBoard:17,PatternTrellis:18,PatternLightHorizontal:19,PatternLightVertical:20,PatternLightDownwardDiagonal:21,PatternLightUpwardDiagonal:22,PatternSmallGrid:23,PatternDottedDiamond:24,PatternWideDownwardDiagonal:25,PatternWideUpwardDiagonal:26,PatternDashedUpwardDiagonal:27,PatternDashedDownwardDiagonal:28,PatternNarrowVertical:29,PatternNarrowHorizontal:30,PatternDashedVertical:31,PatternDashedHorizontal:32,PatternLargeConfetti:33,PatternLargeGrid:34,PatternHorizontalBrick:35,PatternLargeCheckerBoard:36,PatternSmallConfetti:37,PatternZigZag:38,PatternSolidDiamond:39,PatternDiagonalBrick:40,PatternOutlinedDiamond:41,PatternPlaid:42,PatternSphere:43,PatternWeave:44,PatternDottedGrid:45,PatternDivot:46,PatternShingle:47,PatternWave:48,PatternHorizontal:49,PatternVertical:50,PatternCross:51,PatternDownwardDiagonal:52,PatternUpwardDiagonal:53,PatternDiagonalCross:54},b.GradientStyle={GradientHorizontal:0,GradientVertical:1,GradientDiagonalUp:2,GradientDiagonalDown:3,GradientFromCorner:4,GradientFromTitle:5,GradientFromCenter:6},b.AutoShapeType={ShapeNone:0,ShapeRectangle:1,ShapeParallelogram:2,ShapeTrapezoid:3,ShapeDiamond:4,ShapeRoundedRectangle:5,ShapeOctagon:6,ShapeIsoscelesTriangle:7,ShapeRightTriangle:8,ShapeOval:9,ShapeHexagon:10,ShapeCross:11,ShapeRegularPentagon:12,ShapeCan:13,ShapeCube:14,ShapeBevel:15,ShapeFoldedCorner:16,ShapeSmileyFace:17,ShapeDonut:18,ShapeNoSymbol:19,ShapeBlockArc:20,ShapeHeart:21,ShapeLightningBolt:22,ShapeSun:23,ShapeMoon:24,ShapeArc:25,ShapeDoubleBracket:26,ShapeDoubleBrace:27,ShapePlaque:28,ShapeLeftBracket:29,ShapeRightBracket:30,ShapeLeftBrace:31,ShapeRightBrace:32,ShapeRightArrow:33,ShapeLeftArrow:34,ShapeUpArrow:35,ShapeDownArrow:36,ShapeLeftRightArrow:37,ShapeUpDownArrow:38,ShapeQuadArrow:39,ShapeLeftRightUpArrow:40,ShapeBentArrow:41,ShapeUTurnArrow:42,ShapeLeftUpArrow:43,ShapeBentUpArrow:44,ShapeCurvedRightArrow:45,ShapeCurvedLeftArrow:46,ShapeCurvedUpArrow:47,ShapeCurvedDownArrow:48,ShapeStripedRightArrow:49,ShapeNotchedRightArrow:50,ShapePentagon:51,ShapeChevron:52,ShapeRightArrowCallout:53,ShapeLeftArrowCallout:54,ShapeUpArrowCallout:55,ShapeDownArrowCallout:56,ShapeLeftRightArrowCallout:57,ShapeUpDownArrowCallout:58,ShapeQuadArrowCallout:59,ShapeCircularArrow:60,ShapeFlowchartProcess:61,ShapeFlowchartAlternateProcess:62,ShapeFlowchartDecision:63,ShapeFlowchartData:64,ShapeFlowchartPredefinedProcess:65,ShapeFlowchartInternalStorage:66,ShapeFlowchartDocument:67,ShapeFlowchartMultidocument:68,ShapeFlowchartTerminator:69,ShapeFlowchartPreparation:70,ShapeFlowchartManualInput:71,ShapeFlowchartManualOperation:72,ShapeFlowchartConnector:73,ShapeFlowchartOffpageConnector:74,ShapeFlowchartCard:75,ShapeFlowchartPunchedTape:76,ShapeFlowchartSummingJunction:77,ShapeFlowchartOr:78,ShapeFlowchartCollate:79,ShapeFlowchartSort:80,ShapeFlowchartExtract:81,ShapeFlowchartMerge:82,ShapeFlowchartStoredData:83,ShapeFlowchartDelay:84,ShapeFlowchartSequentialAccessStorage:85,ShapeFlowchartMagneticDisk:86,ShapeFlowchartDirectAccessStorage:87,ShapeFlowchartDisplay:88,ShapeExplosion1:89,ShapeExplosion2:90,Shape4pointStar:91,Shape5pointStar:92,Shape8pointStar:93,Shape16pointStar:94,Shape24pointStar:95,Shape32pointStar:96,ShapeUpRibbon:97,ShapeDownRibbon:98,ShapeCurvedUpRibbon:99,ShapeCurvedDownRibbon:100,ShapeVerticalScroll:101,ShapeHorizontalScroll:102,ShapeWave:103,ShapeDoubleWave:104,ShapeRectangularCallout:105,ShapeRoundedRectangularCallout:106,ShapeOvalCallout:107,ShapeCloudCallout:108,ShapeLineCallout1:109,ShapeLineCallout2:110,ShapeLineCallout3:111,ShapeLineCallout4:112,ShapeLineCallout1AccentBar:113,ShapeLineCallout2AccentBar:114,ShapeLineCallout3AccentBar:115,ShapeLineCallout4AccentBar:116,ShapeLineCallout1NoBorder:117,ShapeLineCallout2NoBorder:118,ShapeLineCallout3NoBorder:119,ShapeLineCallout4NoBorder:120,ShapeLineCallout1BorderandAccentBar:121,ShapeLineCallout2BorderandAccentBar:122,ShapeLineCallout3BorderandAccentBar:123,ShapeLineCallout4BorderandAccentBar:124,ShapeActionButtonCustom:125,ShapeActionButtonHome:126,ShapeActionButtonHelp:127,ShapeActionButtonInformation:128,ShapeActionButtonBackorPrevious:129,ShapeActionButtonForwardorNext:130,ShapeActionButtonBeginning:131,ShapeActionButtonEnd:132,ShapeActionButtonReturn:133,ShapeActionButtonDocument:134,ShapeActionButtonSound:135,ShapeActionButtonMovie:136,ShapeBalloon:137,ShapeFlowchartOfflineStorage:138,ShapeLeftRightRibbon:139,ShapeDiagonalStripe:140,ShapePie:141,ShapeNonIsoscelesTrapezoid:142,ShapeDecagon:143,ShapeHeptagon:144,ShapeDodecagon:145,Shape6pointStar:146,Shape7pointStar:147,Shape10pointStar:148,Shape12pointStar:149,ShapeRound1Rectangle:150,ShapeRound2SameRectangle:151,ShapeRound2DiagRectangle:152,ShapeSnipRoundRectangle:153,ShapeSnip1Rectangle:154,ShapeSnip2SameRectangle:155,ShapeSnip2DiagRectangle:156,ShapeFrame:157,ShapeHalfFrame:158,ShapeTear:159,ShapeChord:160,ShapeCorner:161,ShapeMathPlus:162,ShapeMathMinus:163,ShapeMathMultiply:164,ShapeMathDivide:165,ShapeMathEqual:166,ShapeMathNotEqual:167,ShapeCornerTabs:168,ShapeSquareTabs:169,ShapePlaqueTabs:170,ShapeGear6:171,ShapeGear9:172,ShapeFunnel:173,ShapePieWedge:174,ShapeLeftCircularArrow:175,ShapeLeftRightCircularArrow:176,ShapeSwooshArrow:177,ShapeCloud:178,ShapeChartX:179,ShapeChartStar:180,ShapeChartPlus:181,ShapeLineInverse:182},b.ArrowheadLength={ArrowheadShort:0,ArrowheadLengthMedium:1,ArrowheadLong:2},b.ArrowheadStyle={ArrowheadNone:0,ArrowheadTriangle:1,ArrowheadStealth:2,ArrowheadDiamond:3,ArrowheadOval:4,ArrowheadOpen:5},b.ArrowheadWidth={ArrowheadNarrow:0,ArrowheadWidthMedium:1,ArrowheadWide:2},b.LineDashStyle={LineSolid:0,LineSquareDot:1,LineDash:2,LineLongDash:3,LineDashDot:4,LineLongDashDot:5,LineLongDashDotDot:6,LineSysDash:7,LineSysDot:8,LineSysDashDot:9,LineDashDotDot:10,LineRoundDot:11},b.LineStyle={LineSingle:0,LineThinThin:1,LineThinThick:2,LineThickThin:3,LineThickBetweenThin:4},b.PictureColorType={PictureAutomatic:0,PictureGrayscale:1,PictureBlackAndWhite:2,PictureWatermark:3},b.ShadowType={Shadow1:0,Shadow2:1,Shadow3:2,Shadow4:3,Shadow5:4,Shadow6:5,Shadow7:6,Shadow8:7,Shadow9:8,Shadow10:9,Shadow11:10,Shadow12:11,Shadow13:12,Shadow14:13,Shadow15:14,Shadow16:15,Shadow17:16,Shadow18:17,Shadow19:18,Shadow20:19,Shadow21:20,Shadow22:21,Shadow23:22,Shadow24:23,Shadow25:24,Shadow26:25,Shadow27:26,Shadow28:27,Shadow29:28,Shadow30:29,Shadow31:30,Shadow32:31,Shadow33:32,Shadow34:33,Shadow35:34,Shadow36:35,Shadow37:36,Shadow38:37,Shadow39:38,Shadow40:39,Shadow41:40,Shadow42:41,Shadow43:42},b.ShadowStyle={ShadowStyleInnerShadow:0,ShadowStyleOuterShadow:1},b.SoftEdgeType={SoftEdgeTypeNone:0,SoftEdgeType1:1,SoftEdgeType2:2,SoftEdgeType3:3,SoftEdgeType4:4,SoftEdgeType5:5,SoftEdgeType6:6},b.PresetCamera={CameraLegacyObliqueTopLeft:0,CameraLegacyObliqueTop:1,CameraLegacyObliqueTopRight:2,CameraLegacyObliqueLeft:3,CameraLegacyObliqueFront:4,CameraLegacyObliqueRight:5,CameraLegacyObliqueBottomLeft:6,CameraLegacyObliqueBottom:7,CameraLegacyObliqueBottomRight:8,CameraLegacyPerspectiveTopLeft:9,CameraLegacyPerspectiveTop:10,CameraLegacyPerspectiveTopRight:11,CameraLegacyPerspectiveLeft:12,CameraLegacyPerspectiveFront:13,CameraLegacyPerspectiveRight:14,CameraLegacyPerspectiveBottomLeft:15,CameraLegacyPerspectiveBottom:16,CameraLegacyPerspectiveBottomRight:17,CameraOrthographicFront:18,CameraIsometricTopUp:19,CameraIsometricTopDown:20,CameraIsometricBottomUp:21,CameraIsometricBottomDown:22,CameraIsometricLeftUp:23,CameraIsometricLeftDown:24,CameraIsometricRightUp:25,CameraIsometricRightDown:26,CameraIsometricOffAxis1Left:27,CameraIsometricOffAxis1Right:28,CameraIsometricOffAxis1Top:29,CameraIsometricOffAxis2Left:30,CameraIsometricOffAxis2Right:31,CameraIsometricOffAxis2Top:32,CameraIsometricOffAxis3Left:33,CameraIsometricOffAxis3Right:34,CameraIsometricOffAxis3Bottom:35,CameraIsometricOffAxis4Left:36,CameraIsometricOffAxis4Right:37,CameraIsometricOffAxis4Bottom:38,CameraObliqueTopLeft:39,CameraObliqueTop:40,CameraObliqueTopRight:41,CameraObliqueLeft:42,CameraObliqueRight:43,CameraObliqueBottomLeft:44,CameraObliqueBottom:45,CameraObliqueBottomRight:46,CameraPerspectiveFront:47,CameraPerspectiveLeft:48,CameraPerspectiveRight:49,CameraPerspectiveAbove:50,CameraPerspectiveBelow:51,CameraPerspectiveAboveLeftFacing:52,CameraPerspectiveAboveRightFacing:53,CameraPerspectiveContrastingLeftFacing:54,CameraPerspectiveContrastingRightFacing:55,CameraPerspectiveHeroicLeftFacing:56,CameraPerspectiveHeroicRightFacing:57,CameraPerspectiveHeroicExtremeLeftFacing:58,CameraPerspectiveHeroicExtremeRightFacing:59,CameraPerspectiveRelaxed:60,CameraPerspectiveRelaxedModerately:61,PresetCameraNone:62},b.PresetLightingDirection={LightingTopLeft:0,LightingTop:1,LightingTopRight:2,LightingLeft:3,LightingNone:4,LightingRight:5,LightingBottomLeft:6,LightingBottom:7,LightingBottomRight:8},b.LightRigType={LightRigLegacyFlat1:0,LightRigLegacyFlat2:1,LightRigLegacyFlat3:2,LightRigLegacyFlat4:3,LightRigLegacyNormal1:4,LightRigLegacyNormal2:5,LightRigLegacyNormal3:6,LightRigLegacyNormal4:7,LightRigLegacyHarsh1:8,LightRigLegacyHarsh2:9,LightRigLegacyHarsh3:10,LightRigLegacyHarsh4:11,LightRigThreePoint:12,LightRigBalanced:13,LightRigSoft:14,LightRigHarsh:15,LightRigFlood:16,LightRigContrasting:17,LightRigMorning:18,LightRigSunrise:19,LightRigSunset:20,LightRigChilly:21,LightRigFreezing:22,LightRigFlat:23,LightRigTwoPoint:24,LightRigGlow:25,LightRigBrightRoom:26},b.AxisType={Category:0,Value:1,SeriesAxis:2},b.TickLabelPosition={high:0,low:1,nextToAxis:2,none:3},b.ScaleType={ScaleLogarithmic:0,ScaleLinear:1},b.TimeUnit={Days:0,Months:1,Years:2},b.TickMark={cross:0,inside:1,none:2,outside:3},b.DisplayUnit={Hundreds:0,Thousands:1,TenThousands:2,HundredThousands:3,Millions:4,TenMillions:5,HundredMillions:6,ThousandMillions:7,MillionMillions:8,None:9,Custom:10},b.AxisCrosses={AxisCrossesCustom:0,AxisCrossesAutomatic:1,AxisCrossesMaximum:2,AxisCrossesMinimum:3},b.CategoryType={AutomaticScale:0,CategoryScale:1,TimeScale:2,ValueScale:3},b.AxisGroup={primary:0,secondary:1},b.BarShape={ConeToPoint:0,ConeToMax:1,Box:2,Cylinder:3,PyramidToPoint:4,PyramidToMax:5},b.ChartType={combo:0,xyScatter:1,radar:2,doughnut:3,pie3D:4,line3D:5,column3D:6,area3D:7,area:8,line:9,pie:10,bubble:11,columnClustered:12,columnStacked:13,columnStacked100:14,columnClustered3D:15,columnStacked3D:16,columnStacked1003D:17,barClustered:18,barStacked:19,barStacked100:20,barClustered3D:21,barStacked3D:22,barStacked1003D:23,lineStacked:24,lineStacked100:25,lineMarkers:26,lineMarkersStacked:27,lineMarkersStacked100:28,pieOfPie:29,pieExploded:30,pieExploded3D:31,barOfPie:32,xyScatterSmooth:33,xyScatterSmoothNoMarkers:34,xyScatterLines:35,xyScatterLinesNoMarkers:36,areaStacked:37,areaStacked100:38,areaStacked3D:39,areaStacked1003D:40,doughnutExploded:41,radarMarkers:42,radarFilled:43,surface:44,surfaceWireframe:45,surfaceTopView:46,surfaceTopViewWireframe:47,bubble3DEffect:48,stockHLC:49,stockOHLC:50,stockVHLC:51,stockVOHLC:52},b.TrendlineType={Exponential:0,Linear:1,Logarithmic:2,MovingAvg:3,Polynomial:4,Power:5},b.DataLabelPosition={bestFit:0,below:1,center:2,insideBase:3,insideEnd:4,left:5,outsideEnd:6,right:7,above:8},b.MarkerStyle={MarkerStyleCircle:0,MarkerStyleDash:1,MarkerStyleDiamond:2,MarkerStyleDot:3,MarkerStyleNone:4,MarkerStylePicture:5,MarkerStylePlus:6,MarkerStyleSquare:7,MarkerStyleStar:8,MarkerStyleTriangle:9,MarkerStyleX:10,MarkerStyleAutomatic:11},b.DrawingPictureType={Stretch:0,Stack:1,StackScale:2},b.SizeRepresents={SizeIsArea:0,SizeIsWidth:1},b.ChartSplitType={SplitByPosition:0,SplitByValue:1,SplitByPercentValue:2,SplitByCustomSplit:3},b.LegendPosition={custom:0,top:1,right:2,left:3,bottom:4,corner:5},b.RowCol={rows:0,columns:1},b.ShapeType={AutoShape:0,Chart:1,Comment:2,Group:3,Picture:4,Slicer:5},b.Placement={MoveAndSize:0,Move:1,FreeFloating:2},b.ChartElements={All:0,Chart:1,PlotArea:2,Series:3,SeriesCollection:4,Point:5,DataLabel:6,DataMarker:7,CategoryAxis:8,ValueAxis:9,SeriesAxis:10,Lengend:11,FloorWall:12,SideWall:13,BackWall:14,ChartTitle:15,AxisTitle:16,ChartGroup:17},b.ImageType={PNG:0,JPG:1,JPEG:2,EMF:3},b.SolidColorType={None:0,Automatic:1,RGB:2,Theme:3},b.TextUnderlineType={None:0,Words:1,Single:2,Double:3,Heavy:4,Dotted:5,DottedHeavy:6,Dash:7,DashHeavy:8,DashLong:9,DashLongHeavy:10,DotDash:11,DotDashHeavy:12,DotDotDash:13,DotDotDashHeavy:14,Wavy:15,WavyHeavy:16,WavyDouble:17},b.ReflectionType={ReflectionTypeNone:0,ReflectionType1:1,ReflectionType2:2,ReflectionType3:3,ReflectionType4:4,ReflectionType5:5,ReflectionType6:6,ReflectionType7:7,ReflectionType8:8,ReflectionType9:9},a.exports=b}()},function(a,b,c){!function(){"use strict";var b=c(6),d=b.j,e=d.Ia,f=d.Fa,g=c(3),h=function(){var a,b;function c(a){var b=this;
b.oi=[],b.qpa=0,b.rpa=0,b.spa=a,b.spa&&b.spa.AddChildInternal(b)}return a=c.prototype,b=Object.defineProperty,e(a,{SetState:function(a,b){var c=this,d=a;b?c.rpa|=d:c.rpa&=~d,c.IsClearChildrenStateSuspended||c.oi.forEach(function(b){b.SetState(a,!1)})},GetState:function(a,b){var c=this,d=a,e=(d&c.rpa)===d;return e||!b||f(c.spa)||(e=c.spa.GetState(a,!0)),e},OnStateChanged:function(a){},Dirty:function(a){this.SetState(a,!0)},UnDirty:function(a){this.SetState(a,!1)},UnDirtyAll:function(){this.rpa=0},IsDirty:function(a){return this.GetState(a)},IsPropDirtyIncludingParent:function(a,b){var c=this,d=c.GetState(a);return!!d||!(!b||f(c.spa))&&c.spa.IsPropDirtyIncludingParent(a,!0)},IsDirtyIncludingParent:function(a){var b=this;return b.rpa>0||!(!a||f(b.spa))&&b.spa.IsDirtyIncludingParent(!0)},AddChildInternal:function(a){var b=this.oi;b.indexOf(a)===-1&&b.push(a)},RemoveChildInternal:function(a){var b=this.oi,c=b.indexOf(a);c!==-1&&b.splice(c,1)},SetParentForChildren:function(a){var b=this.oi.slice(0);b.forEach(function(b){b.ParentStateful=a})},OnParentChanged:function(a){},SuspendClearChildrenState:function(){this.qpa++},ResumeClearChilrenState:function(){this.qpa--}}),b(a,"ParentStateful",{get:function(){return this.spa},set:function(a){var b=this;a!==b.spa&&(b.spa&&b.spa.RemoveChildInternal(this),b.spa=a,b.spa&&b.spa.AddChildInternal(this),b.OnParentChanged(a))},enumerable:!0,configurable:!0}),b(a,"Children",{get:function(){return this.oi},enumerable:!0,configurable:!0}),b(a,"IsClearChildrenStateSuspended",{get:function(){return this.qpa>0},enumerable:!0,configurable:!0}),c}();g.StatefullBase=h,a.exports=g}()},function(b,c){b.exports=a.Spread.Common},function(a,b,c){!function(){"use strict";var b,d,e,f,g,h,i,j,k,l,m,n,o=c(3),p=c(8).GC$,q=c(5).StatefullBase,r=null,s=void 0,t=Math.max,u=Math.min,v=Math.floor,w=Math.log,x=Math.pow,y=Math.ceil,z=Math.abs,A=1048576,B=16384;function C(a){return o.ARGBColor.FromArgb(a)}function D(a){return"number"==typeof a||a instanceof Date}function E(a,b,c){c.configurable=!0,c.enumerable=!0,Object.defineProperty(a,b,c)}function F(a){var b,c,d,f,g,h,i,j;if(!a||0===a.length)return!1;if(a=a.toUpperCase().trim(),"["===a[0]){if(b=a.indexOf("]"),b===-1||b===a.length-1)return!1;a=a.substr(b+1)}for(c=-1,d=0,f=!1,g=r,h=0;h<a.length;h++){if(j=a[h],"["===j)do j=a[h],h++;while(h<a.length&&"]"!==j);if("Y"===j||"D"===j||"M"===j||"H"===j||"S"===j)f?d++:0!==h&&"\\"===a[h-1]||(f=!0,c=h,d=1);else{if(f=!1," "===j&&g)return!0;0!==d&&(i=a.substr(c,d),c=h,d=0,e.isNullOrUndefined(g)?g=G(i):g&=G(i))}}return 0!==d&&h===a.length&&(i=a.substr(c,d),e.isNullOrUndefined(g)?g=G(i):g&=G(i)),g}function G(a){var b,c,d,e,f,g={Y:4,D:4,M:5,H:2,S:2};if(!a)return!1;for(b={},c=0;c<a.length;c++)d=a[c],b[d]?b[d]=b[d]+1:b[d]=1;for(e in b)if(b.hasOwnProperty(e)){if(f=g[e],void 0===f)return!1;if(b[e]>f)return!1}return!0}b=function(){function a(){}return a.FromOADate=function(a){var b,c,d,e,f,g,h,i,j,k;if(a<60&&a++,b=a-25569,c=new Date(864e5*b),d=b>=0?1:-1,e=c.getTimezoneOffset(),f=(864e5*a*1440+d-3181192704e6+864e5*e)/1440,g=new Date(f),h=e>=0?1:-1,i=new Date(f+36e5*h),j=i.getTimezoneOffset(),e!==j)if(k=new Date(f+60*(j-e)*1e3),e>j){if(h===-1||j===g.getTimezoneOffset())return k}else if(e<j&&(1===h||j===g.getTimezoneOffset()))return k;return g},a.ToOADate=function(a){if(e.isNullOrUndefined(a))return 0;"number"==typeof a&&(a=new Date(a));var b=(1440*a.getTime()+3181192704e6-864e5*a.getTimezoneOffset())/124416e6;return b<61&&b--,b},a.OADateMinAsDouble=-657435,a.OADateMaxAsDouble=2958466,a}(),o.DateTimeExtension=b,d=function(){function a(){}return a.log=function(a,b){return w(a)/w(b)},a.round=function(a,b){var c=x(10,b);return Math.round(a*c)/c},a.isNaNOrInfinite=function(a){return isNaN(a)||!isFinite(a)},a.GetTriangleAngle=function(a,b,c){var d,e;return 0===a&&0===b?0:(d=(a*a+c*c-b*b)/z(2*a*c),e=0,a<0&&b>0?e=90:a<0&&b<0?e=180:a>0&&b<0&&(e=270),180*Math.acos(d)/Math.PI+e)},a.INT32_MAX_VALUE=2147483647,a.DOUBLE_MAX_VALUE=Number.MAX_VALUE,a.DOUBLE_MIN_VALUE=-Number.MAX_VALUE,a}(),o.NumberExtension=d,e=function(){function a(){}function b(a,b){var c=Math.pow(10,b);return Math.round(a*c)/c}return a.pointToPixel=function(a){return b(96*a/72,2)},a.IsNullOrEmpty=function(b){return a.isNullOrUndefined(b)||""===b},a.IsNegativeInfinity=function(a){return a===Number.NEGATIVE_INFINITY},a.IsPositiveInfinity=function(a){return a===Number.POSITIVE_INFINITY},a.isNullOrUndefined=function(a){return a===s||a===r},a}(),o.UnitHelper=e,f=function(){function a(a,b,c,d){var e=this;e.Row=a,e.Column=b,e.RowCount=c,e.ColumnCount=d}var b=a.prototype;return E(b,"Left",{get:function(){return this.Column}}),E(b,"Top",{get:function(){return this.Row}}),E(b,"Right",{get:function(){return this.Column+this.ColumnCount}}),E(b,"Bottom",{get:function(){return this.Row+this.RowCount}}),E(b,"IsFullColumn",{get:function(){return 0===this.Row&&this.RowCount===d.INT32_MAX_VALUE}}),E(b,"IsFullRow",{get:function(){return 0===this.Column&&this.ColumnCount===d.INT32_MAX_VALUE}}),b.Intersect=function(a){var b=this,c=a,d=t(b.Column,c.Column),e=t(b.Row,c.Row),f=u(b.Right,c.Right),g=u(b.Bottom,c.Bottom);d>=f||e>=g?(b.Column=0,b.Row=0,b.ColumnCount=0,b.RowCount=0):(b.Column=d,b.Row=e,b.ColumnCount=f-d,b.RowCount=g-e)},b.IntersectsWith=function(a){var b=this,c=a;return!(b.Left>=c.Right||b.Right<=c.Left||b.Top>=c.Bottom||b.Bottom<=c.Top)},a}(),o.CellRect=f,g=function(){function a(a,b){this.Worksheet=a,this.tpa=b,this.UpdateRects()}var b=a.prototype;return b.UpdateRects=function(){var a,b,c,e,g,h,i,j,k=this;for(k.upa=[],e=0;e<k.tpa.length;e++){if(c=k.tpa[e],g=c.Row,h=c.Column,a=c.RowCount,b=c.ColumnCount,(g<0||a<0||h<0||b<0)&&((g<0||a<0)&&(g=0,a=d.INT32_MAX_VALUE),(h<0||b<0)&&(h=0,b=d.INT32_MAX_VALUE),k.tpa[e]=new f(g,h,a,b)),(0!==g||a!==d.INT32_MAX_VALUE)&&(g<0||a<=0||g+a>A))throw Error();if((0!==h||b!==d.INT32_MAX_VALUE)&&(h<0||b<=0||h+b>B))throw Error()}for(i=0,j=k.tpa;i<j.length;i++)c=j[i],a=u(c.Bottom,A)-c.Top,b=u(c.Right,B)-c.Left,k.upa.push(new f(c.Row,c.Column,a,b))},E(b,"Row",{get:function(){var a=this.upa[0].Row;return a<0?0:a}}),E(b,"Column",{get:function(){var a=this.upa[0].Column;return a<0?0:a}}),E(b,"RowCount",{get:function(){var a=this.upa[0].RowCount,b=this.upa[0].Row;return a<0||b<0?A:a}}),E(b,"ColumnCount",{get:function(){var a=this.upa[0].ColumnCount,b=this.upa[0].Column;return a<0||b<0?B:a}}),E(b,"EntireRow",{get:function(){var b,c,d=[];for(b=0;b<this.upa.length;b++)c=this.upa[b],c.Column=-1,c.ColumnCount=-1,d.push(c);return new a(this.Worksheet,d)}}),E(b,"EntireColumn",{get:function(){var b,c,d=[];for(b=0;b<this.upa.length;b++)c=this.upa[b],c.Row=-1,c.RowCount=-1,d.push(c);return new a(this.Worksheet,d)}}),E(b,"Text",{get:function(){var a=this;return a.Worksheet.vpa(a.Row,a.Column,a.RowCount,a.ColumnCount)}}),E(b,"Areas",{get:function(){var b,c,d,e=this.upa,f=[];for(b=0,c=e;b<c.length;b++)d=c[b],f.push(new a(this.Worksheet,[d]));return f}}),E(b,"Hidden",{get:function(){return this.Worksheet.wpa(this.tpa)}}),a}(),o.Range=g,h=function(){function a(a,b,c,d,e){var f=this;f.WorksheetName=a,f.Row=b,f.Column=c,void 0!==d&&(f.LastRow=d),void 0!==e&&(f.LastColumn=e)}var b=a.prototype;return E(b,"Row",{get:function(){return 1===(1&this.Kind)?this.cj:0},set:function(a){this.cj=a,this.Kind|=1}}),E(b,"Column",{get:function(){return 2===(2&this.Kind)?this.Lk:0},set:function(a){this.Lk=a,this.Kind|=2}}),E(b,"RowCount",{get:function(){var a=this;return a.IsRange?1===(1&a.Kind)?a.RowIsRelative&&a.LastRowIsRelative||!a.RowIsRelative&&!a.LastRowIsRelative?a.LastRow-a.Row+1:-1:A:1}}),E(b,"ColumnCount",{get:function(){var a=this;return a.IsRange?2===(2&a.Kind)?a.ColumnIsRelative&&a.LastColumnIsRelative||!a.ColumnIsRelative&&!a.LastColumnIsRelative?a.LastColumn-a.Column+1:-1:B:1}}),E(b,"LastColumn",{get:function(){var a=this;return a.IsRange?2===(2&a.Kind)?a.xpa:B-1:a.Column},set:function(a){this.xpa=a,this.Kind|=66}}),E(b,"LastRow",{get:function(){var a=this;return a.IsRange?1===(1&a.Kind)?a.ypa:A-1:a.Row},set:function(a){this.ypa=a,this.Kind|=65}}),E(b,"RowIsRelative",{get:function(){return 5===(5&this.Kind)}}),E(b,"ColumnIsRelative",{get:function(){return 10===(10&this.Kind)}}),E(b,"LastRowIsRelative",{get:function(){return this.IsRange?17===(17&this.Kind):this.RowIsRelative}}),E(b,"LastColumnIsRelative",{get:function(){return this.IsRange?34===(34&this.Kind):this.ColumnIsRelative}}),E(b,"IsRange",{get:function(){return 64===(64&this.Kind)},set:function(a){a?this.Kind|=64:this.Kind&=-65}}),E(b,"IsError",{get:function(){return"#REF"===this.WorksheetName}}),b.GetSourceRange=function(a,b){var c=this,d=c.Row,e=c.Column,g=c.LastRow,h=c.LastColumn;return new f(d,e,g-d+1,h-e+1)},b.ToR1C1Text=function(a){var b,c,d,e,f;return a===s&&(a=r),b=this,128===(128&b.Kind)?b.GetPrevText(a)+"#REF!":(c="",1===(1&b.Kind)&&(d=b.Row,c+=b.RowIsRelative?0===d?"R":"R["+d+"]":"R"+(d+1)),2===(2&b.Kind)&&(e=b.Column,c+=b.ColumnIsRelative?0===e?"C":"C["+e+"]":"C"+(e+1)),b.IsRange&&(f=!1,3!==(3&b.Kind)&&(1===(1&b.Kind)?b.RowIsRelative===b.LastRowIsRelative&&b.Row===b.LastRow&&(f=!0):b.ColumnIsRelative===b.LastColumnIsRelative&&b.Column===b.LastColumn&&(f=!0)),f||(c+=":",1===(1&b.Kind)&&(d=b.LastRow,c+=b.LastRowIsRelative?0===d?"R":"R["+d+"]":"R"+(d+1)),2===(2&b.Kind)&&(e=b.LastColumn,c+=b.LastColumnIsRelative?0===e?"C":"C["+e+"]":"C"+(e+1)))),b.GetPrevText(a)+c)},b.ToA1Text=function(a,b,c){var d,e,f,g;return c===s&&(c=r),d=this,128===(128&d.Kind)?d.GetPrevText(c)+"#REF!":(e="",2===(2&d.Kind)&&(g=d.Column,d.ColumnIsRelative?g+=b:e+="$",e+=d.GetColumnIndexInA1Letter(g)),1===(1&d.Kind)&&(f=d.Row,d.RowIsRelative?f+=a:e+="$",e+=""+(f+1)),d.IsRange&&(e+=":",2===(2&d.Kind)&&(g=d.LastColumn,d.LastColumnIsRelative?g+=b:e+="$",e+=d.GetColumnIndexInA1Letter(g)),1===(1&d.Kind)&&(f=d.LastRow,d.LastRowIsRelative?f+=a:e+="$",e+=""+(f+1))),d.GetPrevText(c)+e)},b.GetPrevText=function(a){var b,c=this,d="";return c.Workbook>0&&(d="["+c.Workbook+"]"),b=c.WorksheetName,e.isNullOrUndefined(b)&&(b=a),b&&(d+=e.isNullOrUndefined(c.LastWorksheetName)?b:b+":"+c.LastWorksheetName),d?((c.IsSpecialSheetName(b)||c.IsSpecialSheetName(c.LastWorksheetName))&&(d="'"+d.replace("'","''")+"'"),d+="!"):""===b&&(d="!"),d},b.IsSpecialSheetName=function(b){var c,d;if(!e.isNullOrUndefined(b)){if(b===a.ErrorWorksheetName)return!1;for(c=0;c<b.length;c++)if(d=b[c],!(d>="A"&&d<="Z"||d>="a"&&d<="z"||d>="0"&&d<="9"||"_"===d))return!0}return!1},b.GetColumnIndexInA1Letter=function(a){for(var b="ABCDEFGHIJKLMNOPQRSTUVWXYZ",c=[],d=0;;){if(d=a%26,c.unshift(b[d]),a=parseInt(a/26),0===a)break;a--}return c.join("")},a}(),h.ErrorWorksheetName="#REF",o.Reference=h,i=o.ChartConstants={XValuesMinMax:"XValuesMinMax",ValuesMinMax:"ValuesMinMax",PrimaryValuesMinMax:"PrimaryValuesMinMax",SecondaryValuesMinMax:"SecondaryValuesMinMax",PrimaryXValuesMinMax:"PrimaryXValuesMinMax",SecondaryXValuesMinMax:"SecondaryXValuesMinMax",Collection:"Collection",Restore:"Restore",ChartType:"ChartType",AxisGroup:"AxisGroup",AreAllXValuesDateTime:"AreAllXValuesDateTime",XValuesFormula:"XValuesFormula",XValues:"XValues",CategoryNames:"CategoryNames",CategoryType:"CategoryType",SecondaryPlot:"SecondaryPlot",SplitType:"SplitType",SplitValue:"SplitValue",IsMultiLevelXValues:"IsMultiLevelXValues",PlotOrder:"PlotOrder",FIELD_TYPE_CELLRANGE:"CELLRANGE",FIELD_TYPE_SERIESNAME:"SERIESNAME",FIELD_TYPE_CATEGORYNAME:"CATEGORYNAME",FIELD_TYPE_VALUE:"VALUE",FIELD_TYPE_XVALUE:"XVALUE",FIELD_TYPE_YVALUE:"YVALUE",FIELD_TYPE_BUBBLESIZE:"BUBBLESIZE",FIELD_TYPE_PERCENTAGE:"PERCENTAGE",FIELD_TYPE_TXLINK:"TxLink",FIELD_TEXT_CELLRANGE:"[CELLRANGE]",FIELD_TEXT_SERIESNAME:"[SERIES NAME]",FIELD_TEXT_CATEGORYNAME:"[CATEGORY NAME]",FIELD_TEXT_VALUE:"[VALUE]",FIELD_TEXT_XVALUE:"[XVALUE]",FIELD_TEXT_YVALUE:"[YVALUE]",FIELD_TEXT_BUBBLESIZE:"[BUBBLE SIZE]",CHART_LATIN_HEAD_FONT:"+mj-lt",CHART_LATIN_BODY_FONT:"+mn-lt",CHART_EA_HEAD_FONT:"+mj-ea",CHART_EA_BODY_FONT:"+mn-ea",CHART_CS_HEAD_FONT:"+mj-cs",CHART_CS_BODY_FONT:"+mn-cs",DefaultLineColorBrightness:.85,DefaultMarkerSize:5},o.ShapeConstants={ShapeTypePrefix:"Shape",PositiveFixedAngleConvert:6e4,PositionConver:1e5,CropPositionConver:1e3,ShadeConver:2e5,DefaultBrightness:.5,RelativeRectConver:1e3,DefaultTransparent:0,PositiveFixedPercentageConvert:1e5,DefaultOffset:2.07995176},j=function(){var a,f;function g(){}g.defineProperty=E,g.colorFormatToString=function(a,b){var c,d,e=a&&a.Color;if(e&&0!==e.ColorType){if(b&&(c=e.GetColorData(),4===c.ColorType))return g.toThemeColorString(c.Value,c.Tint);if(d=e.RGB)return"rgba("+d.R+","+d.G+","+d.B+","+d.A/255+")"}return"transparent"},a={0:"background 1",2:"background 2",1:"text 1",3:"text 2",4:"accent 1",5:"accent 2",6:"accent 3",7:"accent 4",8:"accent 5",9:"accent 6",10:"hyperlink",11:"followedhyperlink"},g.toThemeColorString=function(b,c){return a[b]+" "+parseInt(100*c)},f={"background 1":0,"background 2":2,"text 1":1,"text 2":3,"accent 1":4,"accent 2":5,"accent 3":6,"accent 4":7,"accent 5":8,"accent 6":9,hyperlink:10,followedhyperlink:11},g.fromThemeColorString=function(a){var b,c=a.split(" "),d=c.length,e=c[0].toLowerCase(),g=c[1],h=c[2];if("hyperlink"===e||"followedhyperlink"===e){if(1===d)return{index:f[e],tint:0};if(2===d)return{index:f[e],tint:parseInt(g)/100}}if(d>=2&&(b=f[e+" "+g],b!==s)){if(2===d)return{index:b,tint:0};if(3===d)return{index:b,tint:parseInt(h)/100}}},g.InitPresetColors=function(){var a=g.presetColors;a[0]=16766374,a[1]=10079474,a[2]=14276864,a[3]=12713798,a[4]=16777126,a[5]=10938086,a[6]=8439295,a[7]=0,a[8]=8966143,a[9]=14221312,a[10]=13180022,a[11]=2368652,a[12]=6135762,a[13]=8947281,a[14]=55660,a[15]=1661363,a[16]=1989375,a[17]=15234615,a[18]=9825023,a[19]=3346875,a[20]=14276864,a[21]=7733248,a[22]=7763456,a[23]=619164,a[24]=9474192,a[25]=21760,a[26]=5154734,a[27]=7733366,a[28]=2644808,a[29]=30681,a[30]=11348866,a[31]=118,a[32]=5010145,a[33]=7383408,a[34]=7746621,a[35]=4408104,a[36]=11710208,a[37]=11731070,a[38]=8257770,a[39]=14262784,a[40]=5855577,a[41]=15891200,a[42]=1908119,a[43]=10936831,a[44]=1930781,a[45]=14221529,a[46]=12303291,a[47]=16756141,a[48]=47065,a[49]=1805497,a[50]=7171437,a[51]=27904,a[52]=196507,a[53]=10944422,a[54]=10040319,a[55]=3881921,a[56]=7274560,a[57]=10944511,a[58]=5954537,a[59]=15641258,a[60]=12822271,a[61]=54889,a[62]=8975359,a[63]=14205567,a[64]=5197802,a[65]=16777112,a[66]=9761779,a[67]=11776947,a[68]=6219358,a[69]=9008383,a[70]=4290815,a[71]=9541403,a[72]=16299856,a[73]=8680547,a[74]=13411718,a[75]=10027007,a[76]=55552,a[77]=2797098,a[78]=11193582,a[79]=14221529,a[80]=109,a[81]=9945667,a[82]=11403264,a[83]=13120682,a[84]=13715573,a[85]=6330419,a[86]=15284819,a[87]=8639488,a[88]=12238640,a[89]=7410345,a[90]=6231317,a[91]=13959082,a[92]=10068991,a[93]=7654655,a[94]=7193855,a[95]=7143424,a[96]=10738424,a[97]=28013,a[98]=1997147,a[99]=36057,a[100]=15321,a[101]=13322704,a[102]=7854820,a[103]=6224222,a[104]=14934908,a[105]=7686353,a[106]=9426175,a[107]=7845887,a[108]=3109301,a[109]=9731583,a[110]=13530830,a[111]=14143106,a[112]=7143533,a[113]=217,a[114]=7368873,a[115]=13979170,a[116]=1063798,a[117]=4018680,a[118]=3181041,a[119]=4879911,a[120]=10799871,a[121]=2508424,a[122]=10724259,a[123]=14924631,a[124]=12597837,a[125]=8088927,a[126]=11448063,a[127]=7133440,a[128]=10055484,a[129]=6724547,a[130]=7171328,a[131]=12687809,a[132]=1456895,a[133]=12702498,a[134]=15159783,a[135]=8111854,a[136]=14277081,a[137]=13684944,a[138]=55769,a[139]=2797187},g.GetPresetColorRGB=function(a){return g.presetColors[a]},g.GetDimensioin=function(a){var b={0:-1,1:2,33:2,34:2,35:2,36:2,11:3,48:3};return b[a]||1},g.AreValuesDateTime=function(a,b,c){var d,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;if(e.isNullOrUndefined(b)||0===b.length)return!1;for(d=!0,g=this.GetStylesFromCellRefers(a,b,c),h=this.GetValuesFromCellRefers(a,b,c),i=0;i<g.length;i++){for(j=g[i],k=j.length,l=j[0]&&j[0].length,m=0;m<l;m++){for(n=0;n<k;n++)if(o=j[n][m],f=h[i][n][m],!e.isNullOrUndefined(f)&&!(f instanceof Date)&&(e.isNullOrUndefined(o)||!F(o.FormatCode)||!D(f))){d=!1;break}if(!d)break}if(!d)break}if(d){for(p=!0,q=0,r=h;q<r.length;q++)for(s=r[q],t=0,u=s;t<u.length;t++)if(f=u[t],!e.isNullOrUndefined(f)){p=!1;break}return!p}return!1},g.AreAllNumbers=function(a){var b,c,d,e=!0;for(b=0,c=a;b<c.length;b++)if(d=c[b],!D(d)){e=!1;break}return e},g.AreAllDate=function(a){var b,c,d;for(b=0,c=a;b<c.length;b++)if(d=c[b],!(d instanceof Date))return!1;return!0},g.TryAllToNumbers=function(a,b,c){var d,f,g,h,i,j;if(e.isNullOrUndefined(a)||0===a.length)return!1;for(d=!0,f=[],g=a.length,h=0;h<g;h++)i=a[h],e.isNullOrUndefined(i)?c||f.push(i):(j={value:void 0},this.TryToDouble(i,j)?f.push(j.value):(d=!1,f.push(0)));return Array.prototype.push.apply(b,f),d},g.TryToDouble=function(a,c,e){var f,g,h,i,j,k,l={JAN:1,FEB:2,MAR:3,APR:4,MAY:5,JUN:6,JUL:7,AUG:8,SEP:9,OCT:10,NOV:11,DEC:12},m=r;if(!a)return c.value=0,!0;f=typeof a;try{if("number"===f)m=a;else if("string"===f&&e){if(a=a.trim(),0===a.length)return c.value=0,!0;if(g=".",h=",","."!==g&&"."!==h&&a.indexOf(".")>=0||","!==g&&","!==h&&a.indexOf(",")>=0)return!1;if(i=!1,"%"===a.charAt(a.length-1)&&(i=!0,a=a.substr(0,a.length-1)),"$"===a[0])return!1;if(a.indexOf(g)!==a.lastIndexOf(g))return!1;if(a.length>=2&&"0"===a[0]&&"x"===a[1])return!1;if(m=new Number(a).valueOf(),d.isNaNOrInfinite(m)){if(j=a.charCodeAt(0),j|=32,a.length>4&&j>=96&&j<=122&&(k=a[0]+a[1]+a[2],k=k.toUpperCase(),!l[k]))return!1;if("/"===a[0]||"/"===a[a.length-1])return!1;if(m=new Date(a),d.isNaNOrInfinite(m.valueOf()))return!1;m=b.ToOADate(m)}i&&(m/=100)}else if("boolean"===f)m=a?1:0;else{if(!(a instanceof Date))return!1;m=b.ToOADate(a)}}catch(a){return!1}return c.value=m,!0},g.IsBarChart=function(a){return 18===a||21===a||19===a||20===a||23===a||22===a},g.zpa=function(a){var b,d,e=g.chartTypeDict;if(!e){e=g.chartTypeDict={},b=c(4).ChartType;for(d in b)e[b[d]]=d.toLowerCase()}return e[a]},g.IsColumnChart=function(a){return g.zpa(a).indexOf("column")>=0},g.IsAnyPieChart=function(a){return this.IsPieChart(a)||this.IsDoughnutChart(a)||this.IsOfPieChart(a)},g.IsPieChart=function(a){return g.zpa(a).indexOf("pie")>=0},g.IsPieOrDoughnutChart=function(a){return this.IsPieChart(a)||this.IsDoughnutChart(a)},g.IsOfPieChart=function(a){return 29===a||32===a},g.IsStackedChart=function(a){return g.zpa(a).indexOf("stacked")>=0},g.IsStacked100Chart=function(a){return g.zpa(a).indexOf("stacked100")>=0},g.IsLineChart=function(a){return 5===a||9===a||26===a||27===a||28===a||24===a||25===a},g.IsLineMarkerChart=function(a){return 26===a||27===a||28===a},g.IsLineSeries=function(a){return 9===a||26===a||27===a||28===a||24===a||25===a||35===a||36===a||33===a||34===a||2===a||42===a},g.IsMarkerSeries=function(a){return 26===a||27===a||28===a||42===a||1===a||35===a||33===a},g.IsFillSeries=function(a){return!this.IsLineSeries(a)&&1!==a},g.IsRadarChart=function(a){return g.zpa(a).indexOf("radar")>=0},g.IsAreaChart=function(a){return g.zpa(a).indexOf("area")>=0},g.IsScatterChart=function(a){return g.zpa(a).indexOf("scatter")>=0},g.IsSurfaceChart=function(a){return g.zpa(a).indexOf("surface")>=0},g.IsBubbleChart=function(a){return g.zpa(a).indexOf("bubble")>=0},g.IsSmoothLine=function(a){return g.zpa(a).indexOf("smooth")>=0},g.Is3DChart=function(a){var b=g.zpa(a);return b.indexOf("3d")>=0&&48!==a||this.IsSurfaceChart(a)||b.indexOf("cylinder")>=0||b.indexOf("cone")>=0||b.indexOf("pyramid")>=0},g.IsSurface3DChart=function(a){return 44===a||45===a},g.IsDoughnutChart=function(a){return 3===a||41===a},g.IsExplodedChart=function(a){return 31===a||41===a||30===a},g.HasSeriesAx=function(a){return 6===a||7===a||5===a||this.IsSurfaceChart(a)},g.IsStockChart=function(a){return g.zpa(a).indexOf("stock")>=0},g.IsBuiltInComboChart=function(a){return this.IsStockChart(a)},g.ConvertToTextUnderlineType=function(a){var b=0;return 1===a?b=2:2===a&&(b=3),b},g.ToUnderlineType=function(a){var b=0;return 2===a?b=1:3===a&&(b=2),b},g.MapToGroupType=function(a){var b={12:9,13:9,14:9,15:3,16:3,17:3,6:3,18:8,19:8,20:8,21:2,22:2,23:2,9:11,24:11,25:11,26:11,27:11,28:11,5:4,10:12,29:12,30:12,32:12,31:5,4:5,1:14,33:14,34:14,35:14,36:14,8:7,37:7,38:7,39:1,40:1,7:1,3:10,41:10,2:13,42:13,43:13,44:6,45:6,46:6,47:6,11:14,48:14,49:11,50:11,51:11,52:11};return b[a]||0},g.HasSeriesLines=function(a){return this.IsOfPieChart(a)},g.HasHiLoLines=function(a){return this.IsStockChart(a)},g.HasUpDownBars=function(a){return 50===a||52===a},g.RangeToReferences=function(a){var b,c,d,e=[];for(b=0,c=a.Areas;b<c.length;b++)d=c[b],e.push(g.CreateReference(d.Worksheet.name(),d.Row,d.Column,d.RowCount,d.ColumnCount));return e},g.CreateReference=function(a,b,c,d,e){return 1===d&&1===e?new h(a,b,c):new h(a,b,c,b+d-1,c+e-1)},g.ReferencesToFormula=function(a,b){var c,d;if(b===s&&(b=!1),e.isNullOrUndefined(a)||0===a.length)return r;for(c=[],d=0;d<a.length;d++)d>0&&c.push(","),b?c.push(a[d].ToR1C1Text()):c.push(a[d].ToA1Text(0,0));return c.join("")},g.GetValuesFromCellRefers=function(a,b,c){var d,f,g,h,i=[];if(e.isNullOrUndefined(b)||0===b.length||b.some(function(a){return a.IsError}))return i;for(d=0,f=b;d<f.length;d++)g=f[d],h=this.GetValuesFromCellRefer(a,g,c),e.isNullOrUndefined(h)||i.push(h);return i},g.GetValuesFromCellRefer=function(a,b,c){var d,f=a.Apa(b.WorksheetName);return e.isNullOrUndefined(f)?r:d=c?f.Bpa(b.Row,b.Column,b.RowCount,b.ColumnCount,!1):f.Cpa(b.Row,b.Column,b.RowCount,b.ColumnCount,!1)},g.GetStylesFromCellRefers=function(a,b,c){var d,f,g,h,i=[];if(e.isNullOrUndefined(b)||0===b.length||b.some(function(a){return a.IsError}))return i;for(d=0,f=b;d<f.length;d++)g=f[d],h=this.GetStylesFromCellRefer(a,g,c),e.isNullOrUndefined(h)||i.push(h);return i},g.GetStylesFromCellRefer=function(a,b,c){var d,f=a.Apa(b.WorksheetName);return e.isNullOrUndefined(f)?r:d=c?f.Dpa(b.Row,b.Column,b.RowCount,b.ColumnCount):f.Epa(b.Row,b.Column,b.RowCount,b.ColumnCount)},g.GetPrimaryAxises=function(a){var b,c=[];return a.axes&&a.axes.length>0&&(b=a.axes[0],c.push(b.axId),c.push(b.crossAx)),c},g.GetAxises=function(a,b){var c,d,f,h,i,j=g.GetPrimaryAxises(a);if(0===b)return j;if(c=[],!e.isNullOrUndefined(a.axes))for(d=a.axes.filter(function(a){return j.indexOf(a.axId)<0}),f=0,h=d;f<h.length;f++)i=h[f],c.push(i.axId);return c},g.GetCategoryAxises=function(a){var b,c,d,f=[];for(b=0,c=a.chartGroups;b<c.length;b++)d=c[b],!e.isNullOrUndefined(d.axId)&&d.axId.length>0&&f.push(d.axId[0]);return f},g.GetChartType=function(a){var b,c,d,f,h,i=this.GetStockChartType(a);if(!e.isNullOrUndefined(i))return i;for(b=[],c=0,d=a.chartGroups;c<d.length;c++)f=d[c],h=g.GetChartTypeByChartBase(f),b.indexOf(h)<0&&b.push(h);return 0===b.length?12:b.length>1?0:b[0]},g.GetStockChartType=function(a){var b=g.GetStockChart(a);if(0===b.length)return r;if(!e.isNullOrUndefined(a.chartGroups)&&a.chartGroups.length>1){if(3===b[0].ser.length)return 51;if(4===b[0].ser.length)return 52}else{if(3===b[0].ser.length)return 49;if(4===b[0].ser.length)return 50}return r},g.GetChartTypeByChartBase=function(a,b){return b===s&&(b=r),6===a.chartType||7===a.chartType?g.GetChartTypeByBarChart(a):4===a.chartType||5===a.chartType?g.GetChartTypeByAreaChart(a):8===a.chartType||9===a.chartType?g.GetChartTypeByLineChart(a,b):[10,11,12,13].indexOf(a.chartType)>=0?g.GetChartTypeByPieChart(a,b):2===a.chartType?g.GetChartTypeByRadarChart(a,b):1===a.chartType?g.GetChartTypeByScatterChart(a):3===a.chartType?g.GetChartTypeByBubbleChart(a):14===a.chartType||15===a.chartType?g.GetChartTypeBySurfaceChart(a):12},g.GetChartTypeByBarChart=function(a){var b=7===a.chartType;if(e.isNullOrUndefined(a.grouping))return b?0===a.barDir?21:15:0===a.barDir?18:12;switch(a.grouping){case 0:return b?0===a.barDir?23:17:0===a.barDir?20:14;case 1:return b?0===a.barDir?21:15:0===a.barDir?18:12;case 2:return b?0===a.barDir?21:6:0===a.barDir?18:12;case 3:return b?0===a.barDir?22:16:0===a.barDir?19:13}return 12},g.GetChartTypeByAreaChart=function(a){var b=5===a.chartType;if(e.isNullOrUndefined(a.grouping))return b?7:8;switch(a.grouping){case 0:return b?40:38;case 1:return b?7:8;case 2:return b?39:37}return 8},g.GetChartTypeByLineChart=function(a,b){var c=9===a.chartType,d=a.marker;if(d&&b&&b.marker&&4===b.marker.symbol&&(d=!1),e.isNullOrUndefined(a.grouping)){if(c)return 5}else switch(a.grouping){case 0:return c?5:d?28:25;case 1:return c?5:d?26:9;case 2:return c?5:d?27:24;default:return 8}return d?26:9},g.GetChartTypeByPieChart=function(a){if(10===a.chartType)return 10;if(11===a.chartType)return 4;if(13===a.chartType){var b=a;return 1===b.ofPieType?32:29}return 12===a.chartType?3:10},g.GetChartTypeByRadarChart=function(a,b){var c=!e.isNullOrUndefined(b)&&!e.isNullOrUndefined(b.marker)&&!e.isNullOrUndefined(b.marker.symbol)&&4!==b.marker.symbol;if(!e.isNullOrUndefined(a.radarStyle))switch(a.radarStyle){case 0:case 1:return c?42:2;case 2:return 43}return 2},g.GetChartTypeByScatterChart=function(a){var b,c,d,f,g,h,i,j=a.scatterStyle;return e.isNullOrUndefined(j)?1:(b={0:1,1:36,2:35,3:1,4:34,5:33},c=j,d=a.ser[0],f=d&&d.marker&&d.marker.symbol,g=4===f,h=d&&d.spPr&&d.spPr.ln,i=h&&h.noFill,2===c?i?c=3:g&&(c=1):5===c&&g&&(c=4),b[c])},g.GetChartTypeByBubbleChart=function(a){return a.bubble3D?48:11},g.GetChartTypeBySurfaceChart=function(a){var b=15===a.chartType;return b?a.wireframe?45:44:a.wireframe?47:46},g.GetTextFieldTypeString=function(a){var b={0:i.FIELD_TYPE_CELLRANGE,1:i.FIELD_TYPE_SERIESNAME,2:i.FIELD_TYPE_CATEGORYNAME,3:i.FIELD_TYPE_VALUE,4:i.FIELD_TYPE_XVALUE,5:i.FIELD_TYPE_YVALUE,6:i.FIELD_TYPE_BUBBLESIZE,7:i.FIELD_TYPE_PERCENTAGE,8:i.FIELD_TYPE_TXLINK};return b[a]||""},g.GetTextFieldTypeText=function(a){var b={0:i.FIELD_TEXT_CELLRANGE,1:i.FIELD_TEXT_SERIESNAME,2:i.FIELD_TEXT_CATEGORYNAME,3:i.FIELD_TEXT_VALUE,4:i.FIELD_TEXT_XVALUE,5:i.FIELD_TEXT_YVALUE,6:i.FIELD_TEXT_BUBBLESIZE};return b[a]||""},g.GetTextFieldType=function(a){var b=0;switch(a){case i.FIELD_TYPE_CELLRANGE:b=0;break;case i.FIELD_TYPE_SERIESNAME:b=1;break;case i.FIELD_TYPE_CATEGORYNAME:b=2;break;case i.FIELD_TYPE_VALUE:b=3;break;case i.FIELD_TYPE_XVALUE:b=4;break;case i.FIELD_TYPE_YVALUE:b=5;break;case i.FIELD_TYPE_BUBBLESIZE:b=6;break;case i.FIELD_TYPE_PERCENTAGE:b=7;break;case i.FIELD_TYPE_TXLINK:b=8}return b},g.GetPrimaryPieChart=function(a){return a[0]},g.GetPlotAreaCharts=function(a,b){return a.chartGroups.filter(function(a){return a.chartType===b})},g.GetAreaChart=function(a){return g.GetPlotAreaCharts(a,4)},g.GetArea3DChart=function(a){var b=g.GetPlotAreaCharts(a,5);return b.length>0?b[0]:r},g.GetBarChart=function(a){return g.GetPlotAreaCharts(a,6)},g.GetBar3DChart=function(a){var b=g.GetPlotAreaCharts(a,7);return b.length>0?b[0]:r},g.GetLineChart=function(a){return g.GetPlotAreaCharts(a,8)},g.GetLine3DChart=function(a){var b=g.GetPlotAreaCharts(a,9);return b.length>0?b[0]:r},g.GetStockChart=function(a){return g.GetPlotAreaCharts(a,0)},g.GetRadarChart=function(a){return g.GetPlotAreaCharts(a,2)},g.GetScatterChart=function(a){return g.GetPlotAreaCharts(a,1)},g.GetPieCharts=function(a){var b=[10,11,12,13];return a.chartGroups.filter(function(a){return b.indexOf(a.chartType)>=0})},g.GetPieChart=function(a){return g.GetPlotAreaCharts(a,10)},g.GetPie3DChart=function(a){var b=g.GetPlotAreaCharts(a,11);return b.length>0?b[0]:r},g.GetDoughnutChart=function(a){return g.GetPlotAreaCharts(a,12)},g.GetOfPieChart=function(a){return g.GetPlotAreaCharts(a,13)},g.GetSurfaceChart=function(a){var b=g.GetPlotAreaCharts(a,14);return b.length>0?b[0]:r},g.GetSurface3DChart=function(a){var b=g.GetPlotAreaCharts(a,15);return b.length>0?b[0]:r},g.GetBubbleChart=function(a){return g.GetPlotAreaCharts(a,3)},g.GetAxes=function(a,b){return a.axes.filter(function(a){return a.axisType===b})},g.removeEmptyArrayProperties=function(a){var b,c;for(b in a)a.hasOwnProperty(b)&&(c=a[b],Array.isArray(c)&&0===c.length&&delete a[b])},g.allSeriesIsScatterOrBubble=function(a){var b,c,d,e,f=a.ChartType;if(g.IsBubbleChart(f)||g.IsScatterChart(f))return!0;if(0===f){if(b=a.SeriesCollection.AllSers,c=b.length,d=b[0].ChartType,g.IsBubbleChart(d)){for(e=1;e<c;e++)if(!g.IsBubbleChart(b[e].ChartType))return!1;return!0}if(g.IsScatterChart(d)){for(e=1;e<c;e++)if(!g.IsScatterChart(b[e].ChartType))return!1;return!0}}return!1};function j(a){if(null===a||void 0===a)return!0;if(Array.isArray(a))return 0===a.length;if(a instanceof Date)return!1;if("object"!=typeof a)return!1;for(var b in a)return!1;return!0}function k(a,b){var c,d;if(j(a))return null;for(c in a)b.indexOf(c)>=0||(d=a[c],Array.isArray(d)?0!==d.length&&null!==l(d,b)||delete a[c]:"object"==typeof d&&(d=k(d,b),null===d&&delete a[c]));return j(a)?null:a}function l(a,b){var c=[],d=a.length;return a.forEach(function(a){var d=k(a,b);null!==d&&c.push(d)}),c.length<d&&[].splice.apply(a,[].concat(0,d,c)),c.length?a:null}return g.simpleJSONObject=k,g}(),j.presetColors={},j.InitPresetColors(),o.ChartUtility=j,k=function(){function a(a,b,c){var d=new o.ColorFormat(a);return d.ColorType=b,d.RGB=c,d}function b(a,b,c){var d=new o.GradientStop(a);return d.Position=b,d.Color=c,d}function c(a,b,c,d){var e=new o.ColorFormat(a);return e.ColorType=b,e.ObjectThemeColor=c,d&&(e.TintAndShade=d),e}function d(){}return d.InitGradientStops=function(a,b,c){var d=this;if(b.Fpa(new o.GradientStops(a)),1===c)d.InitGradientStopOneColor(a,b);else if(2===c)d.InitGradientStopTwoColor(a,b);else{if(3!==c)throw Error();d.InitGradientStopPresetColor(a,b)}b.GradientAngle=d.GetGradientAngle(b.GradientStyle,b.GradientVariant)},d.InitGradientStopPresetColor=function(c,d){var e,f,g,h,i,j,k,l,m,n,o,p,q,r=d.GradientStops.GradientStopList;switch(d.PresetGradientType){case 0:e=b(c,0,a(c,2,C(130))),f=b(c,.3,a(c,2,C(6684815))),g=b(c,.64999,a(c,2,C(12189798))),h=b(c,.89999,a(c,2,C(16711680))),i=b(c,1,a(c,2,C(16744960))),r.push(e),r.push(f),r.push(g),r.push(h),r.push(i);break;case 1:e=b(c,0,a(c,2,C(0))),f=b(c,.2,a(c,2,C(64))),g=b(c,.5,a(c,2,C(4194368))),h=b(c,.75,a(c,2,C(9371712))),i=b(c,.89999,a(c,2,C(15889152))),j=b(c,1,a(c,2,C(16760576))),r.push(e),r.push(f),r.push(g),r.push(h),r.push(i),r.push(j);break;case 2:e=b(c,0,a(c,2,C(0))),f=b(c,.39999,a(c,2,C(660108))),g=b(c,.7,a(c,2,C(1580231))),h=b(c,.88,a(c,2,C(7341524))),i=b(c,1,a(c,2,C(9190801))),r.push(e),r.push(f),r.push(g),r.push(h),r.push(i);break;case 3:e=b(c,0,a(c,2,C(6201087))),f=b(c,.39999,a(c,2,C(8766207))),g=b(c,.7,a(c,2,C(12900075))),h=b(c,1,a(c,2,C(16772090))),r.push(e),r.push(f),r.push(g),r.push(h);break;case 4:e=b(c,0,a(c,2,C(14478325))),f=b(c,.08,a(c,2,C(8628163))),g=b(c,.13,a(c,2,C(7770041))),h=b(c,.21001,a(c,2,C(8628163))),i=b(c,.52,a(c,2,C(16777215))),j=b(c,.56,a(c,2,C(10249571))),k=b(c,.58,a(c,2,C(8400941))),l=b(c,.71001,a(c,2,C(12603982))),m=b(c,.94,a(c,2,C(15456980))),n=b(c,1,a(c,2,C(5580316))),r.push(e),r.push(f),r.push(g),r.push(h),r.push(i),r.push(j),r.push(k),r.push(l),r.push(m),r.push(n);break;case 5:e=b(c,0,a(c,2,C(16555979))),f=b(c,.87,a(c,2,C(16298057))),g=b(c,.78999,a(c,2,C(16298057))),h=b(c,.37,a(c,2,C(16705522))),i=b(c,.33,a(c,2,C(16339616))),j=b(c,.31,a(c,2,C(12912713))),k=b(c,.17999,a(c,2,C(11812485))),l=b(c,0,a(c,2,C(16298057))),r.push(e),r.push(f),r.push(g),r.push(h),r.push(i),r.push(j),r.push(k),r.push(l);break;case 6:e=b(c,0,a(c,2,C(251048))),f=b(c,.25,a(c,2,C(2217696))),g=b(c,.75,a(c,2,C(34790))),h=b(c,1,a(c,2,C(23743))),r.push(e),r.push(f),r.push(g),r.push(h);break;case 7:e=b(c,.5,a(c,2,C(13421823))),f=b(c,.41001,a(c,2,C(10079487))),g=b(c,.32,a(c,2,C(10053375))),h=b(c,.195,a(c,2,C(13408767))),i=b(c,.8999,a(c,2,C(10079487))),j=b(c,0,a(c,2,C(13421823))),k=b(c,.59,a(c,2,C(10079487))),l=b(c,.68,a(c,2,C(10053375))),m=b(c,.805,a(c,2,C(13408767))),n=b(c,.91001,a(c,2,C(10079487))),o=b(c,1,a(c,2,C(13421823))),r.push(e),r.push(f),r.push(g),r.push(h),r.push(i),r.push(j),r.push(k),r.push(l),r.push(m),r.push(n),r.push(o);break;case 8:e=b(c,0,a(c,2,C(16773632))),f=b(c,.45,a(c,2,C(16742912))),g=b(c,.7,a(c,2,C(16712448))),h=b(c,1,a(c,2,C(5048328))),r.push(e),r.push(f),r.push(g),r.push(h);break;case 9:e=b(c,0,a(c,2,C(8685764))),f=b(c,.53,a(c,2,C(13950719))),g=b(c,.83,a(c,2,C(13950719))),h=b(c,1,a(c,2,C(9874324))),r.push(e),r.push(f),r.push(g),r.push(h);break;case 10:e=b(c,0,a(c,2,C(14543823))),f=b(c,.25,a(c,2,C(10270830))),
g=b(c,.5,a(c,2,C(1403667))),h=b(c,1,a(c,2,C(14543823))),i=b(c,.75,a(c,2,C(10270830))),r.push(e),r.push(f),r.push(g),r.push(h),r.push(i);break;case 11:e=b(c,0,a(c,2,C(3381759))),f=b(c,.16,a(c,2,C(52428))),g=b(c,.47,a(c,2,C(10066431))),h=b(c,.60001,a(c,2,C(3041170))),i=b(c,.71001,a(c,2,C(3355596))),j=b(c,.81,a(c,2,C(1143039))),k=b(c,1,a(c,2,C(26265))),r.push(e),r.push(f),r.push(g),r.push(h),r.push(i),r.push(j),r.push(k);break;case 12:e=b(c,0,a(c,2,C(16509639))),f=b(c,.17999,a(c,2,C(16705522))),g=b(c,.36,a(c,2,C(16435069))),h=b(c,.61,a(c,2,C(16492925))),i=b(c,.82001,a(c,2,C(16503964))),j=b(c,1,a(c,2,C(16705522))),r.push(e),r.push(f),r.push(g),r.push(h),r.push(i),r.push(j);break;case 13:e=b(c,0,a(c,2,C(16773073))),f=b(c,.64999,a(c,2,C(15789013))),g=b(c,1,a(c,2,C(13747103))),r.push(e),r.push(f),r.push(g);break;case 14:e=b(c,0,a(c,2,C(14070172))),f=b(c,.15,a(c,2,C(13934188))),g=b(c,.35,a(c,2,C(10900776))),h=b(c,.5,a(c,2,C(6696978))),i=b(c,1,a(c,2,C(14070172))),j=b(c,.85,a(c,2,C(13934188))),k=b(c,.65,a(c,2,C(10900776))),r.push(e),r.push(f),r.push(g),r.push(h),r.push(i),r.push(j),r.push(k);break;case 15:e=b(c,.5,a(c,2,C(10879915))),f=b(c,.395,a(c,2,C(530939))),g=b(c,.32499,a(c,2,C(1740104))),h=b(c,.24,a(c,2,C(16776960))),i=b(c,.135,a(c,2,C(15613719))),j=b(c,.6,a(c,2,C(15210342))),k=b(c,0,a(c,2,C(10879915))),l=b(c,.60501,a(c,2,C(530939))),m=b(c,.67501,a(c,2,C(1740104))),n=b(c,.76,a(c,2,C(16776960))),o=b(c,.865,a(c,2,C(15613719))),p=b(c,.94,a(c,2,C(15210342))),q=b(c,1,a(c,2,C(10879915))),r.push(e),r.push(f),r.push(g),r.push(h),r.push(i),r.push(j),r.push(k),r.push(l),r.push(m),r.push(n),r.push(o),r.push(p),r.push(q);break;case 16:e=b(c,0,a(c,2,C(16724889))),f=b(c,.25,a(c,2,C(16737843))),g=b(c,.5,a(c,2,C(16776960))),h=b(c,.75,a(c,2,C(108431))),i=b(c,1,a(c,2,C(3368703))),r.push(e),r.push(f),r.push(g),r.push(h),r.push(i);break;case 17:e=b(c,0,a(c,2,C(15129772))),f=b(c,.12,a(c,2,C(15128458))),g=b(c,.3,a(c,2,C(13085772))),h=b(c,.45,a(c,2,C(15128458))),i=b(c,.77,a(c,2,C(13085772))),j=b(c,1,a(c,2,C(15129772))),r.push(e),r.push(f),r.push(g),r.push(h),r.push(i),r.push(j);break;case 18:e=b(c,0,a(c,2,C(16508078))),f=b(c,.13,a(c,2,C(12423722))),g=b(c,.21001,a(c,2,C(12423722))),h=b(c,.63,a(c,2,C(16508078))),i=b(c,.67,a(c,2,C(12423722))),j=b(c,.69,a(c,2,C(8609303))),k=b(c,.82001,a(c,2,C(10651977))),l=b(c,1,a(c,2,C(16442295))),r.push(e),r.push(f),r.push(g),r.push(h),r.push(i),r.push(j),r.push(k),r.push(l);break;case 19:e=b(c,1,a(c,2,C(8541696))),f=b(c,.87,a(c,2,C(16754688))),g=b(c,.72,a(c,2,C(8541696))),h=b(c,.57001,a(c,2,C(16754688))),i=b(c,.42,a(c,2,C(8541696))),j=b(c,.28,a(c,2,C(16754688))),k=b(c,.13,a(c,2,C(8541696))),l=b(c,0,a(c,2,C(16754688))),r.push(e),r.push(f),r.push(g),r.push(h),r.push(i),r.push(j),r.push(k),r.push(l);break;case 20:e=b(c,0,a(c,2,C(16777215))),f=b(c,.16,a(c,2,C(2039583))),g=b(c,.17999,a(c,2,C(16777215))),h=b(c,.42,a(c,2,C(6513507))),i=b(c,.53,a(c,2,C(13619151))),j=b(c,.66,a(c,2,C(13619151))),k=b(c,.75999,a(c,2,C(2039583))),l=b(c,.78999,a(c,2,C(16777215))),m=b(c,1,a(c,2,C(8355711))),r.push(e),r.push(f),r.push(g),r.push(h),r.push(i),r.push(j),r.push(k),r.push(l),r.push(m);break;case 21:e=b(c,0,a(c,2,C(13355979))),f=b(c,.13,a(c,2,C(6250335))),g=b(c,.21001,a(c,2,C(6250335))),h=b(c,.63,a(c,2,C(16777215))),i=b(c,.67,a(c,2,C(11711154))),j=b(c,.69,a(c,2,C(2697513))),k=b(c,.82001,a(c,2,C(7829367))),l=b(c,1,a(c,2,C(15395562))),r.push(e),r.push(f),r.push(g),r.push(h),r.push(i),r.push(j),r.push(k),r.push(l);break;case 22:e=b(c,0,a(c,2,C(16777215))),f=b(c,.03501,a(c,2,C(15132390))),g=b(c,.16,a(c,2,C(8225942))),h=b(c,.235,a(c,2,C(15132390))),i=b(c,.42501,a(c,2,C(8225942))),j=b(c,.5,a(c,2,C(15132390))),k=b(c,1,a(c,2,C(15132390))),l=b(c,.965,a(c,2,C(15132390))),m=b(c,.84,a(c,2,C(8225942))),n=b(c,.765,a(c,2,C(15132390))),o=b(c,.575,a(c,2,C(8225942))),r.push(e),r.push(f),r.push(g),r.push(h),r.push(i),r.push(j),r.push(k),r.push(l),r.push(m),r.push(n),r.push(o);break;case 23:e=b(c,0,a(c,2,C(130))),f=b(c,.13,a(c,2,C(18431))),g=b(c,.28,a(c,2,C(130))),h=b(c,.42999,a(c,2,C(18431))),i=b(c,.58,a(c,2,C(130))),j=b(c,.72,a(c,2,C(18431))),k=b(c,.87,a(c,2,C(130))),l=b(c,1,a(c,2,C(18431))),r.push(e),r.push(f),r.push(g),r.push(h),r.push(i),r.push(j),r.push(k),r.push(l)}},d.InitGradientStopTwoColor=function(d,e){var f,g,h=e.GradientStyle;return 6===h?void this.InitGradientTwoColorCenterStops(d,e):4===h?void this.InitGradientTwoColorCornerStops(d,e):(f=e.GradientStops.GradientStopList,g=e.GradientVariant,void(1===g||2===g?(f.push(b(d,0,c(d,3,4))),f.push(b(d,1,a(d,2,C(16777215))))):3===g?(f.push(b(d,0,c(d,3,4))),f.push(b(d,.5,a(d,2,C(16777215)))),f.push(b(d,1,c(d,3,4)))):4===g&&(f.push(b(d,.5,c(d,3,4))),f.push(b(d,0,a(d,2,C(16777215)))),f.push(b(d,1,a(d,2,C(16777215)))))))},d.InitGradientTwoColorCornerStops=function(d,e){var f=e.GradientStops.GradientStopList;f.push(b(d,0,c(d,3,4))),f.push(b(d,1,a(d,2,C(16777215))))},d.InitGradientTwoColorCenterStops=function(d,e){var f=e.GradientStops.GradientStopList,g=e.GradientVariant;1===g?(f.push(b(d,0,c(d,3,4))),f.push(b(d,1,a(d,2,C(16777215))))):2===g?(f.push(b(d,0,a(d,2,C(16777215)))),f.push(b(d,1,c(d,3,4)))):3===g?(f.push(b(d,0,c(d,3,4))),f.push(b(d,.5,a(d,2,C(16777215)))),f.push(b(d,1,c(d,3,4)))):4===g&&(f.push(b(d,0,a(d,2,C(16777215)))),f.push(b(d,.5,c(d,3,4))),f.push(b(d,1,a(d,2,C(16777215)))))},d.InitGradientOneColorCornerStops=function(a,d){var e=c(a,3,4,this.GetTintAndShadeByDegree(d.GradientDegree)),f=d.GradientStops.GradientStopList;f.push(b(a,0,c(a,3,4))),f.push(b(a,1,e))},d.InitGradientOneColorCenterStops=function(a,d){var e=c(a,3,4,this.GetTintAndShadeByDegree(d.GradientDegree)),f=d.GradientStops.GradientStopList,g=d.GradientVariant;1===g?(f.push(b(a,0,c(a,3,4))),f.push(b(a,1,e))):2===g?(f.push(b(a,0,e)),f.push(b(a,1,c(a,3,4)))):3===g?(f.push(b(a,0,c(a,3,4))),f.push(b(a,.5,e)),f.push(b(a,1,c(a,3,4)))):4===g&&(f.push(b(a,0,e)),f.push(b(a,.5,c(a,3,4))),f.push(b(a,1,e)))},d.InitGradientStopOneColor=function(a,d){var e,f,g,h=d.GradientStyle;return 6===h?void this.InitGradientOneColorCenterStops(a,d):4===h?void this.InitGradientOneColorCornerStops(a,d):(e=this.GetTintAndShadeByDegree(d.GradientDegree),f=d.GradientStops.GradientStopList,g=d.GradientVariant,void(1===g||2===g?(f.push(b(a,0,c(a,3,4))),f.push(b(a,1,c(a,3,4,e)))):3===g?(f.push(b(a,0,c(a,3,4))),f.push(b(a,.5,c(a,3,4,e))),f.push(b(a,1,c(a,3,4)))):4===g&&(f.push(b(a,.5,c(a,3,4))),f.push(b(a,0,c(a,3,4))),f.push(b(a,1,c(a,3,4,e))))))},d.GetTintAndShadeByDegree=function(a){return 2*(a-.5)},d.GetGradientAngle=function(a,b){var c=0;switch(a){case 0:1===b?c=90:2===b||4===b?c=270:3===b&&(c=90);break;case 1:1===b||3===b?c=0:2!==b&&4!==b||(c=180);break;case 2:1===b||3===b?c=45:2!==b&&4!==b||(c=225);break;case 3:1===b||3===b?c=135:2!==b&&4!==b||(c=315);break;case 4:case 6:c=135}return c},d.ToLum=function(a){return 1e5-v(2e5*(1-a))},d.FromLum=function(a){return 1-(1e5-a)/2e5},d}(),o.ShapeUtility=k,l=function(){function a(){}a.CalculateValidMinimum=function(a,b,c,e,f,g){return c?a===d.DOUBLE_MAX_VALUE||a<=0?b===d.DOUBLE_MIN_VALUE||b<=0?a=1:b<1?a=b/e:1===b?a=1/e:1<b&&(a=1):b<=a&&(b===d.DOUBLE_MIN_VALUE||b<=0||(b<1&&f&&!g?a=b/e:1===b&&f&&!g?a=1/e:1<b&&(f||!g)&&(a=1))):a===d.DOUBLE_MAX_VALUE?b===d.DOUBLE_MIN_VALUE?a=0:b<0?a=2*b:0===b?a=-1:0<b&&(a=0):b<=a&&(b===d.DOUBLE_MIN_VALUE||(b<0&&f&&!g?a=2*b:0===b&&f&&!g?a=-1:0<b&&(f||!g)&&(a=0))),a},a.CalculateValidMaximum=function(a,b,c,d){return c?b<=a&&(a<1?b=1:1===a?b=d:1<a&&(b=a*d)):b<=a&&(a<0?b=0:0===a?b=1:0<a&&(b=2*a)),b};function b(a){return 8===a||!j.Is3DChart(a)&&(j.IsBarChart(a)||j.IsColumnChart(a)||j.IsLineChart(a))}function c(a){var c,d,e,f=a.ChartType;if(0!==f)return b(f);for(c=a.SeriesCollection.AllSers,d=0,e=c.length;d<e;d++)if(b(c[d].ChartType))return!0;return!1}return a.calcMinMax=function(a,b,d,e){var f,g,h=b-a,i=.05*h,k=e.ChartType;return d?(f=a,g=b,b<1&&(f=g=1)):a>=0?(g=b,c(e)&&(g+=i),6*h>b?f=0:(f=a-h/2,(j.IsScatterChart(k)||j.IsBubbleChart(k))&&(f=a))):b<=0?(f=a,c(e)&&(f-=i),6*h+a>0?g=0:(g=b+h/2,(j.IsScatterChart(k)||j.IsBubbleChart(k))&&(g=b))):(f=a-i,g=b+i),{Min:f,Max:g}},a.CalculateMinimum2=function(a,b,c,e,f){return a=e?x(f,v(d.log(a,f))):v(a/c)*c},a.CalculateMaximum2=function(a,b,c,e,f){return b=e?x(f,y(d.log(b,f))):y(b/c)*c},a.CalculateMajorUnit=function(a,b,c,e,f,g){var h,i=z(b-a);return f?h=g:(h=x(10,v(d.log(i,10))),i/h<=1.6?h/=5:i/h<=4?h/=2:i/h>8&&(h*=2),c||(h=t(h,e))),h},a.CalculateMinorUnit=function(a,b,c,d){var e;return e=d?c:c/5},a.GenerateAxisId=function(){for(var a=0;;)if(a=v(9e7*Math.random())+1e7,!this.Gpa[a]){this.Gpa[a]=!0;break}return a},a}(),l.Gpa={},o.AxisUtility=l,m=function(){function a(){}var b=a.prototype;return E(b,"ChartFormat",{get:function(){return e.isNullOrUndefined(this.Kb)&&(this.Kb=this.GetDefaultFormat()),this.Kb}}),b.CreateFormat=function(){return r},b.GetDefaultFormat=function(){return this.CreateFormat()},b.GetFormatInternal=function(){return this.Kb},b.FromShapeProperties=function(a){var b=this;e.isNullOrUndefined(a)?b.ClearFormat():(e.isNullOrUndefined(b.Kb)&&(b.Kb=b.CreateFormat()),b.Kb.FromOOModel(a))},b.ToShapeProperties=function(){return e.isNullOrUndefined(this.Kb)?r:this.Kb.ToOOModel()},b.Delete=function(){e.isNullOrUndefined(this.Kb)||(this.Kb.ParentStateful=r)},b.ClearFormat=function(){var a=this;e.isNullOrUndefined(a.Kb)||(a.Kb.SetParentForChildren(r),a.Kb.ParentStateful=r,a.Kb=r)},a}(),o.ChartElementBase=m,n=function(a){p.inherit(b,a);function b(b){return a.call(this,b)||this}var c=b.prototype;return E(c,"ChartFormat",{get:function(){var a=this;return e.isNullOrUndefined(a.Kb)&&(a.Kb=a.GetDefaultFormat()),a.Kb},set:function(a){var b,c=this;e.isNullOrUndefined(c.Kb)||c.Kb.SetParentForChildren(a),b=c.Kb,c.Kb=a,e.isNullOrUndefined(b)||(c.Kb.ParentStateful=b.ParentStateful)}}),c.CreateFormat=function(){return r},c.GetDefaultFormat=function(){return this.CreateFormat()},c.FromShapeProperties=function(a){var b=this;e.isNullOrUndefined(a)?b.ClearFormat():(e.isNullOrUndefined(b.Kb)&&(b.Kb=b.CreateFormat()),b.Kb.FromOOModel(a))},c.ToShapeProperties=function(){return e.isNullOrUndefined(this.Kb)?r:this.Kb.ToOOModel()},c.Delete=function(){e.isNullOrUndefined(this.Kb)||(this.Kb.ParentStateful=r)},c.ClearFormat=function(){var a=this;e.isNullOrUndefined(a.Kb)||(a.Kb.SetParentForChildren(r),a.Kb.ParentStateful=r,a.Kb=r)},b}(q),o.StatefulChartElementBase=n,a.exports=o}()},function(b,c){b.exports=a.Spread.Sheets},function(a,b,c){!function(){"use strict";var b,d,e,f=c(3),g=c(8).GC$,h=g.inherit,i=c(7),j=i.UnitHelper,k=i.ChartUtility.defineProperty,l=i.UnitHelper.isNullOrUndefined,m=i.ChartElementBase,n=c(10).ChartFormat,o=c(19).DrawingTextBody,p=null,q=void 0,r=function(){function a(a){this.Hpa=a}var b=a.prototype;return k(b,"Formula",{get:function(){return this.GetFormula(!1)},set:function(a){a!==this.Formula&&this.UpdateTextByFormulas(a)}}),k(b,"FormulaR1C1",{get:function(){return this.GetFormula(!0)},set:function(a){a!==this.Formula&&this.UpdateTextByFormulas(a,!0)}}),k(b,"Parent",{get:function(){return this.Hpa}}),k(b,"ReferingText",{get:function(){return this.GetReferingText()}}),k(b,"Worksheet",{get:function(){return this.Hpa.sheet()}}),k(b,"TextRefer",{get:function(){return this.Ipa},set:function(a){this.SetTextRefer(a)}}),b.SetTextRefer=function(a,b){b===q&&(b=!0),this.SetTextReferInternal(a,b),this.OnSetTextRefer(a)},b.OnSetTextRefer=function(a){},b.GetReferingText=function(){var a,b,c,d="";if(!l(this.Ipa))for(a=this.GetTextList(this.Ipa),b=0,c=a;b<c.length;b++)d+=c[b];return d},b.GetTextList=function(a){var b,c,d,e,f=[],g=this.Worksheet;for(l(a.WorksheetName)&&(a.WorksheetName=g.name()),b=g.Apa(a.WorksheetName),c=a.Row;c<=a.LastRow;c++)for(d=a.Column;d<=a.LastColumn;d++)e=b.Jpa(c,d).Text,f.push(l(e)?"":e);return f},b.SetTextReferInternal=function(a,b){this.Ipa=a},b.GetFormula=function(a){var b,c;return a===q&&(a=!1),(b=this.Ipa)?(c=this.Worksheet.name(),a?b.ToR1C1Text(c):b.ToA1Text(0,0,c)):""},b.UpdateTextByFormulas=function(a,b){var c,d;b===q&&(b=!1),c=this.Worksheet.Kpa(a,0,0,b),d=c.references,this.Ipa=d?d[0]:p},a}();f.ReferenceText=r,b=function(a){h(b,a);function b(b,c,d,e){c===q&&(c=p),d===q&&(d=p),e===q&&(e=p);var f=a.call(this,b)||this;return f.Lpa=p,f.Mpa=p,f.Npa=d,f.Opa=e,f.InitRichTextFields(c),f}var c=b.prototype;return c.InitRichTextFields=function(a){var b=this,c=new o(b.Hpa,b.Opa);l(b.Lpa)||b.Lpa.Font.SetParentForChildren(c.Font),b.Lpa=c,b.Lpa.Font.ParentStateful=a,l(b.Npa)||b.Lpa.AddParagraph(b.Npa)},k(c,"TextBody",{get:function(){return this.Lpa}}),k(c,"Font",{get:function(){return this.Lpa.Font}}),k(c,"Text",{get:function(){return l(this.TextRefer)?this.Lpa.Text:this.ReferingText},set:function(a){this.SetTextInternal(a)}}),c.SetTextInternal=function(a){this.SetTextReferInternal(p),this.UpdateTextBody(a)},c.UpdateTextBody=function(a){this.Lpa.Clear();var b=l(a)?this.Npa:a;l(b)||this.Lpa.AddParagraph(b)},c.OnSetTextRefer=function(b){a.prototype.OnSetTextRefer.call(this,b),this.UpdateTextBody(p)},c.FromOOModel=function(a){var b=this;b.Mpa=a,b.InitRichTextFields(b.Lpa.Font.ParentStateful),l(a.rich)||b.Lpa.FromOOModel(a.rich),!l(a.strRef)&&a.strRef.f&&b.UpdateTextByFormulas(a.strRef.f)},c.ToOOModel=function(){var a=this,b=l(a.Mpa)?{}:a.Mpa;return l(a.Ipa)?b.rich=this.Lpa.ToOOModel():(b.strRef={f:a.Formula},b.rich=a.Lpa.ToOOModel()),b},c.SetParagraphSplitFlag=function(a){var b,c,d=this.Lpa;for(b=0,c=d.Count;b<c;b++)d.Get(b).SplitSpaceFlag=a},c.UpdateFiledElementTextLink=function(a){var b,c,d,e,f,g,h=this.Lpa;for(b=0,c=h.Count;b<c;b++)for(d=h.Get(b),e=0,f=d.Count;e<f;e++)if(g=d.Get(e),!l(g)&&8===g.Type)return void g.UpdateTextByFormulas(a)},b}(r),f.DrawingText=b,d=function(a){h(c,a);function c(b){var c=a.call(this)||this;return c.Ppa=!0,c.Qpa=p,c.Rpa=p,c.Spa=b,c.Qpa=c.GetDefaultChartText(),c}var d=c.prototype;return d.GetChartTextInternal=function(){return this.Qpa},k(d,"Font",{get:function(){var a=this;return l(a.Qpa)&&(a.Qpa=a.GetDefaultChartText()),a.Qpa.Font}}),k(d,"Format",{get:function(){return this.ChartFormat}}),k(d,"Formula",{get:function(){return l(this.Qpa)?p:this.Qpa.Formula},set:function(a){var b=this;l(b.Qpa)&&(b.Qpa=b.GetDefaultChartText()),b.Qpa.Formula=a}}),k(d,"FormulaR1C1",{get:function(){return l(this.Qpa)?p:this.Qpa.FormulaR1C1},set:function(a){var b=this;l(b.Qpa)&&(b.Qpa=b.GetDefaultChartText()),b.Qpa.FormulaR1C1=a}}),k(d,"IncludeInLayout",{get:function(){return this.Ppa},set:function(a){this.Ppa=a}}),k(d,"Parent",{get:function(){return this.Spa}}),k(d,"Text",{get:function(){return l(this.Qpa)?p:this.Qpa.Text},set:function(a){var b=this;l(b.Qpa)&&(b.Qpa=b.GetDefaultChartText()),b.Qpa.Text=a}}),k(d,"DefaultText",{get:function(){return p}}),k(d,"DefaultFontSize",{get:function(){return 0}}),k(d,"Worksheet",{get:function(){return this.Spa.Parent.sheet()}}),d.GetTextList=function(a){var b,c,d,e=[],f=this.Worksheet.Apa(a.WorksheetName);for(b=a.Row;b<=a.LastRow;b++)for(c=a.Column;c<=a.LastColumn;c++)d=f.Jpa(b,c).Text,e.push(l(d)?"":d);return e},d.GetDefaultChartText=function(){var a=new b(this.Spa.Parent,this.Spa.ChartArea.Font,p,p);return a.Font.Size=this.DefaultFontSize,a},d.CreateFormat=function(){var a=new n(this.Spa);return a.Fill.Color.ColorType=0,a.Line.Color.ColorType=0,a},d.FromOOModel=function(b){var c,d=this;d.Rpa=b,b&&(l(b.tx)?l(b.txPr)?d.Qpa=p:(c={},c.rich=b.txPr,d.Qpa.FromOOModel(c)):(l(b.tx.strRef)||l(b.txPr)||(b.tx.rich=b.txPr),d.Qpa.FromOOModel(b.tx)),l(b.overlay)||(d.Ppa=!b.overlay),a.prototype.FromShapeProperties.call(d,b.spPr))},d.ToOOModel=function(){var b,c=this,d=l(c.Rpa)?{}:c.Rpa;return l(c.Qpa)?(delete d.tx,delete d.txPr):(b=c.Qpa.ToOOModel(),d.tx={},l(c.Qpa.TextRefer)?c.Qpa.Text?(delete d.tx.strRef,d.tx.rich=b.rich):(delete d.tx,d.txPr=b.rich):(d.tx.strRef=b.strRef,d.txPr=b.rich)),d.overlay=!c.Ppa,d.spPr=a.prototype.ToShapeProperties.call(c),d},c}(m),f.ChartTitleBase=d,e=function(a){h(b,a);function b(b){return a.call(this,b)||this}var c=b.prototype;return k(c,"DefaultText",{get:function(){return"Chart Title"}}),k(c,"DefaultFontSize",{get:function(){return j.pointToPixel(14)}}),c.Delete=function(){this.Spa.HasTitle=!1},c.ToOOModel=function(){var b,c,d=a.prototype.ToOOModel.call(this);return l(d.tx)&&l(d.txPr)&&(b=d.txPr={p:[]},c={elements:[]},c.pPr={},c.pPr.defRPr={b:!1},b.p.push(c),l(b.bodyPr)&&(b.bodyPr={}),l(b.lstStyle)&&(b.lstStyle={})),this.CorrectChartTitleOOModel(d),d},c.CorrectChartTitleOOModel=function(a){if(a){var b=a.txPr,c=a.tx,d=this.Font.Size,e;b&&b.p&&b.p.length>0&&b.p[0].pPr?(e=b.p[0].pPr.defRPr,e&&(e.sz=d)):c&&c.rich&&c.rich.p&&c.rich.p.length>0&&c.rich.p[0].pPr&&(e=c.rich.p[0].pPr.defRPr,e&&(e.sz=d))}},b}(d),f.ChartTitle=e,a.exports=f}()},function(a,b,c){!function(){"use strict";var b,d=c(3),e=c(8).GC$,f=c(7),g=f.UnitHelper.isNullOrUndefined,h=f.ChartUtility.defineProperty,i=c(11).FillFormat,j=c(16).LineFormat,k=c(12).ColorFormat,l=c(17).ThreeDFormat,m=c(18),n=m.ShadowFormat,o=m.GlowFormat,p=m.SoftEdgeFormat,q=m.ReflectionFormat,r=c(14).ARGBColor,s=c(5).StatefullBase,t=null,u=void 0;d.ChartFormatStates={Fill:1,Glow:2,Line:4,PictureFormat:8,Shadow:16,SoftEdge:32,ThreeD:64},b=function(a){e.inherit(b,a);function b(b,c,d,e){c===u&&(c=t);var f=a.call(this,c)||this;return f.Tpa=t,f.Spa=b,f.Upa=c,f.Vpa=d||f.Wpa.bind(f),f.Xpa=e||f.Ypa.bind(f),f}var c=b.prototype;return c.Wpa=function(){var a=this.Upa,b=new k(this.Spa,a&&a.FillInternal);return b.RGB=r.FromRgb(255,255,255),b},c.Ypa=function(){var a=this.Upa,b=new k(this.Spa,a&&a.FillInternal);return b.RGB=r.FromRgb(0,0,0),b},h(c,"Fill",{get:function(){return this.FillInternal}}),h(c,"Line",{get:function(){return this.LineInternal}}),h(c,"ThreeD",{get:function(){return this.ThreedInternal}}),c.FromOOModel=function(a){var b=this;b.Tpa=a,g(a)||(g(a.solidFill)?g(a.noFill)?g(a.blipFill)?g(a.gradFill)?g(a.pattFill)||b.FillInternal.FromOOModel(a.pattFill,1):b.FillInternal.FromOOModel(a.gradFill,2):b.FillInternal.FromOOModel(a.blipFill,3):b.FillInternal.Color.ColorType=0:b.FillInternal.FromOOModel(a.solidFill,0),g(a.ln)||b.LineInternal.FromOOModel(a.ln),g(a.scene3d)&&g(a.sp3d)||b.ThreedInternal.FromOOModel({Scene3D:a.scene3d,Shape3D:a.sp3d}),b.FromCT_EffectList(a.effectLst))},c.ToOOModel=function(){return this.ToCT_ShapeProperties()},c.ToCT_ShapeProperties=function(){var a,b,c=this,d=g(c.Tpa)?{}:c.Tpa;return delete d.solidFill,delete d.pattFill,delete d.blipFill,delete d.gradFill,delete d.noFill,g(c.Zpa)||(a=c.Zpa.ToOOModel(),0===a.colorFillType?d.solidFill=a:1===a.colorFillType?d.pattFill=a:2===a.colorFillType?d.gradFill=a:3===a.colorFillType?d.blipFill=a:5===a.colorFillType&&(d.noFill=!0),delete a.colorFillType),g(c.Cna)?delete d.ln:d.ln=c.Cna.ToOOModel(),!g(c.$pa)&&c.$pa.IsDirtyIncludingParent()&&(b=c.$pa.ToOOModel(),d.scene3d=b.Scene3D,d.sp3d=b.Shape3D),d.effectLst=c.ToCT_EffectList(),d},c.Clone=function(){var a=this,c=new b(a.Spa);return g(a.Zpa)||(c.Zpa=a.Zpa.Clone()),g(a.Cna)?c.Cna=t:c.Cna=a.Cna.Clone(),g(a.$pa)||(c.$pa=a.$pa.Clone()),c.rpa=a.rpa,c.Upa=a.Upa,c},c.IsDirtyIncludingParent=function(b){var c=this;return b===u&&(b=!1),!(g(c.Zpa)||!c.Zpa.IsDirtyIncludingParent())||(!(g(c.Cna)||!c.Cna.IsDirtyIncludingParent())||(!(g(c.$pa)||!c.$pa.IsDirtyIncludingParent())||a.prototype.IsDirtyIncludingParent.call(c,b)))},c.OnParentChanged=function(a){var b=this;b.Upa=a,g(b.Upa)?(g(b.Zpa)||(b.Zpa.ParentStateful=t),g(b.Cna)||(b.Cna.ParentStateful=t),g(b.$pa)||(b.$pa.ParentStateful=t),g(b._pa)||(b._pa.ParentStateful=t),g(b.aqa)||(b.aqa.ParentStateful=t),g(b.bqa)||(b.bqa.ParentStateful=t),g(b.cqa)||(b.cqa.ParentStateful=t)):(g(b.Zpa)||(b.Zpa.ParentStateful=b.Upa.Fill),g(b.Cna)||(b.Cna.ParentStateful=b.Upa.Line),g(b.$pa)||(b.$pa.ParentStateful=b.Upa.ThreeD),g(b._pa)||(b._pa.ParentStateful=b.Upa.GlowFormatInternal),g(b.aqa)||(b.aqa.ParentStateful=b.Upa.ShadowFormatInternal),g(b.bqa)||(b.bqa.ParentStateful=b.Upa.SoftEdgeFormatInternal),g(b.cqa)||(b.cqa.ParentStateful=b.Upa.ReflectionFormatInternal))},c.FromCT_EffectList=function(a){var b=this;return g(a)?(b.SetShadowField(t),b.SetGlowField(t),b.SetSoftEdgeField(t),void b.SetReflectionField(t)):(g(a.innerShdw)?g(a.outerShdw)?g(a.prstShdw)?b.SetShadowField(t):b.ShadowFormatInternal.FromOOModel(a.prstShdw):b.ShadowFormatInternal.FromOOModel(a.outerShdw):b.ShadowFormatInternal.FromOOModel(a.innerShdw),g(a.glow)?b.SetGlowField(t):b.GlowFormatInternal.FromOOModel(a.glow),g(a.softEdge)?b.SetSoftEdgeField(t):b.SoftEdgeFormatInternal.FromOOModel(a.softEdge),void(g(a.reflection)?b.SetReflectionField(t):b.ReflectionFormatInternal.FromOOModel(a.reflection)))},c.ToCT_EffectList=function(){var a,b,c=this,d=g(c.Tpa)||g(c.Tpa.effectLst)?{}:c.Tpa.effectLst;return delete d.outerShdw,delete d.innerShdw,delete d.prstShdw,g(c.aqa)||(a=c.aqa.ToOOModel(),a&&(b=a.shadowEffectType,0===b?d.outerShdw=a:1===b?d.innerShdw=a:2===b&&(d.prstShdw=a))),delete d.glow,g(c._pa)||(d.glow=c._pa.ToOOModel()),delete d.softEdge,g(c.bqa)||(d.softEdge=c.bqa.ToOOModel()),delete d.reflection,g(c.cqa)||(d.reflection=c.cqa.ToOOModel()),c.IsEffectListDirty(d)?d:{}},h(c,"FillInternal",{get:function(){var a=this;return g(a.Zpa)&&(a.Zpa=new i(a.Spa,g(a.Upa)?t:a.Upa.FillInternal,a.Vpa,a.Spa.Parent)),a.Zpa}}),h(c,"LineInternal",{get:function(){var a=this;return g(a.Cna)&&(a.Cna=new j(a.Spa,g(a.Upa)?t:a.Upa.LineInternal,a.Xpa)),a.Cna}}),h(c,"ThreedInternal",{get:function(){var a=this;return g(a.$pa)&&(a.$pa=new l(a.Spa,g(a.Upa)?t:a.Upa.ThreedInternal)),a.$pa}}),h(c,"ShadowFormatInternal",{get:function(){var a=this;return g(a.aqa)&&(a.aqa=new n(a.Spa,g(a.Upa)?t:a.Upa.ShadowFormatInternal)),a.aqa}}),h(c,"GlowFormatInternal",{get:function(){var a=this;return g(a._pa)&&(a._pa=new o(a.Spa,g(a.Upa)?t:a.Upa.GlowFormatInternal)),a._pa}}),h(c,"SoftEdgeFormatInternal",{get:function(){return g(this.bqa)&&(this.bqa=new p),this.bqa}}),h(c,"ReflectionFormatInternal",{get:function(){var a=this;return g(a.cqa)&&(a.cqa=new q(a.Spa,g(a.Upa)?t:a.Upa.ReflectionFormatInternal)),a.cqa}}),c.AdjustStateful=function(a,b){g(a)||(a.SetParentForChildren(b),g(b)||(b.ParentStateful=a.ParentStateful),a.ParentStateful=t)},c.SetFillField=function(a){this.AdjustStateful(this.Zpa,a),this.Zpa=a},c.SetLineField=function(a){this.AdjustStateful(this.Cna,a),this.Cna=a},c.SetThreeDField=function(a){this.AdjustStateful(this.$pa,a),this.$pa=a},c.SetShadowField=function(a){this.AdjustStateful(this.aqa,a),this.aqa=a},c.SetGlowField=function(a){this.AdjustStateful(this._pa,a),this._pa=a},c.SetReflectionField=function(a){this.AdjustStateful(this.cqa,a),this.cqa=a},c.SetSoftEdgeField=function(a){this.AdjustStateful(this.bqa,a),this.bqa=a},c.IsEffectListDirty=function(a){return!(g(a.blur)&&g(a.fillOverlay)&&g(a.glow)&&g(a.innerShdw)&&g(a.outerShdw)&&g(a.prstShdw)&&g(a.reflection)&&g(a.softEdge))},b}(s),d.ChartFormat=b,a.exports=d}()},function(a,b,c){!function(){"use strict";var b=c(6),d=b.j.G,e=c(3),f=c(5).StatefullBase,g=c(7),h=g.ShapeConstants,i=h.PositiveFixedPercentageConvert,j=h.PositiveFixedAngleConvert,k=h.PositionConver,l=g.ShapeUtility,m=g.ChartUtility,n=m.defineProperty,o=g.UnitHelper,p=o.isNullOrUndefined,q=c(12).ColorFormat,r=c(15).GradientStops,s=null,t=void 0,u=Math.floor,v=function(a){d(b,a);function b(b,c,d,f){a.call(this,c);var g=this;return g.dqa=!0,g.eqa=2,g.wE=0,g.fqa=!0,g.bz=!0,g.gqa=s,g.xc=b,g.Nc=0,g.hqa=c,g.iqa=d,g.xo=f,g.jqa=new e.PictureFormat(1,c&&c.PictureFormat),g.jqa.Container=f,g.kqa=1,g.lqa=1,g.mqa=new r(g.xc),g}var c=b.prototype;return n(c,"Parent",{get:function(){return this.hqa}}),n(c,"PictureFormat",{get:function(){return this.jqa},set:function(a){var b,c=this;p(c.jqa)||c.jqa.SetParentForChildren(a),b=c.jqa,c.jqa=a,p(b)||(c.jqa.ParentStateful=b.ParentStateful)}}),n(c,"PatternColor",{get:function(){return this.PatternColorInternal}}),n(c,"Color",{get:function(){return this.ColorInternal}}),n(c,"GradientAngle",{get:function(){var a=this;if(!a.IsDirty(2097152)&&!p(a.hqa))return a.hqa.GradientAngle;if(6===a.GradientStyle||4===a.GradientStyle)throw Error();return a.nqa},set:function(a){this.nqa=a,this.Dirty(2097152)}}),n(c,"GradientColorType",{get:function(){return this.GetGradientColorType()}}),c.GetGradientColorType=function(){var a,b,c,d,e=[];for(a=0,b=this.mqa.GradientStopList;a<b.length;a++)c=b[a],this.FindInColorStops(c.Color,e)||e.push(c.Color);return d=e.length,0===d?0:1===d?1:2===d?2:4},c.FindInColorStops=function(a,b){var c,d,e,f;for(c=0,d=b;c<d.length;c++)if(e=d[c],f=e.ColorType,f===a.ColorType)if(3===f){if(e.ObjectThemeColor===a.ObjectThemeColor&&e.TintAndShade===a.TintAndShade)return!0}else if(2===f&&e.RGB.Equals(a.RGB)&&e.TintAndShade===a.TintAndShade)return!0;return!1},n(c,"GradientDegree",{get:function(){var a=this;return a.IsDirty(1048576)||p(a.hqa)?a.oqa:a.hqa.GradientDegree}}),c.pqa=function(a){this.oqa=a,this.Dirty(1048576)},n(c,"GradientStops",{get:function(){var a=this;return a.IsDirty(1)||p(a.hqa)?a.mqa:a.hqa.GradientStops}}),c.Fpa=function(a){this.mqa=a,this.Dirty(1)},n(c,"GradientStyle",{get:function(){var a=this;return a.IsDirty(2)||p(a.hqa)?a.qqa:a.hqa.GradientStyle}}),c.rqa=function(a){this.qqa=a,this.Dirty(2)},n(c,"GradientVariant",{get:function(){var a=this;return a.IsDirty(4194304)||p(a.hqa)?a.sqa:a.hqa.GradientVariant}}),c.tqa=function(a){this.sqa=a,this.Dirty(4194304)},n(c,"Pattern",{get:function(){var a=this;return a.IsDirty(8)||p(a.hqa)?a.wE:a.hqa.Pattern}}),c.uqa=function(a){if(0===a)throw Error("The specified value is out of range");var b=this;0===b.Pattern&&b.vqa(1),b.wE=a,b.Dirty(8)},n(c,"PresetGradientType",{get:function(){var a=this;return a.IsDirty(8388608)||p(a.hqa)?a.wqa:a.hqa.PresetGradientType}}),c.xqa=function(a){this.wqa=a,this.Dirty(8388608)},n(c,"RotateWithObject",{get:function(){var a=this;return a.IsDirty(32)||p(a.hqa)?a.fqa:a.hqa.RotateWithObject},set:function(a){this.fqa=a,this.Dirty(32)}}),n(c,"TextureAlignment",{get:function(){var a=this;return a.IsDirty(64)||p(a.hqa)?a.yqa:a.hqa.TextureAlignment},set:function(a){this.yqa=a,this.Dirty(64)}}),n(c,"TextureHorizontalScale",{get:function(){var a=this;return a.IsDirty(128)||p(a.hqa)?a.kqa:a.hqa.TextureHorizontalScale},set:function(a){this.kqa=a,this.Dirty(128)}}),n(c,"TextureOffsetX",{get:function(){var a=this;return a.IsDirty(512)||p(a.hqa)?a.zqa:a.hqa.TextureOffsetX},set:function(a){this.zqa=a,this.Dirty(512)}}),n(c,"TextureOffsetY",{get:function(){var a=this;return a.IsDirty(1024)||p(a.hqa)?a.Aqa:a.hqa.TextureOffsetY},set:function(a){this.Aqa=a,this.Dirty(1024)}}),n(c,"TextureVerticalScale",{get:function(){var a=this;return a.IsDirty(8192)||p(a.hqa)?a.lqa:a.hqa.TextureVerticalScale},set:function(a){this.lqa=a,this.Dirty(8192)}}),n(c,"Transparency",{get:function(){var a=this;return a.IsDirty(16384)||p(a.hqa)?a.ColorInternal.Transparency:a.hqa.Transparency},set:function(a){this.ColorInternal.Transparency=a,this.Dirty(16384)}}),n(c,"Type",{get:function(){var a=this;return a.IsDirty(32768)||p(a.hqa)?a.Nc:a.hqa.Type}}),c.vqa=function(a){this.Nc=a,this.Dirty(32768)},n(c,"Visible",{get:function(){var a=this;return a.IsDirty(65536)||p(a.hqa)?a.bz:a.hqa.Visible},set:function(a){this.bz=a,this.Dirty(65536)}}),c.InitGradientInfo=function(a,b,c){if(5===a)throw Error("The specified value is out of range");var d=this;d.rqa(a),d.tqa(b),d.vqa(2),d.xqa(c)},c.OneColorGradient=function(a,b,c){if(c<0||c>1)throw Error("The specified value is out of range");var d=this;d.InitGradientInfo(a,b,0),d.pqa(c),l.InitGradientStops(d.xc,d,1)},c.TwoColorGradient=function(a,b){this.InitGradientInfo(a,b,0),l.InitGradientStops(this.xc,this,2)},c.PresetGradient=function(a,b,c){this.InitGradientInfo(a,b,c),l.InitGradientStops(this.xc,this,3)},c.Patterned=function(a){this.SetPatternColor(),this.vqa(1),this.uqa(a)},c.SetPatternColor=function(){var a=this;a.Color.ObjectThemeColor=0,a.PatternColor.ObjectThemeColor=4,a.Color.ClearModel(),a.PatternColor.ClearModel()},c.Solid=function(){this.vqa(0),p(this.tE)||this.tE.ClearModel()},n(c,"ColorInternal",{get:function(){var a=this;return p(a.tE)&&(a.tE=new q(a.xc,p(a.hqa)?s:a.hqa.Color),a.tE.AutoColorFormat=a.iqa),a.tE}}),n(c,"PatternColorInternal",{get:function(){var a=this;return p(a.Bqa)&&(a.Bqa=new q(a.xc,p(a.hqa)?s:a.hqa.PatternColor)),a.Bqa}}),n(c,"PresetTexture",{get:function(){var a=this;return a.IsDirty(16)||p(a.hqa)?a.Cqa:a.hqa.PresetTexture},set:function(a){this.Cqa=a,this.Dirty(16)}}),c.ClearColor=function(){this.tE=s},c.GetState=function(b,c){var d=this;return c===t&&(c=!1),131072!==b||p(d.tE)?262144!==b||p(d.Bqa)?a.prototype.GetState.call(d,b,c):d.Bqa.IsDirtyIncludingParent(c):d.tE.IsDirtyIncludingParent(c)},c.IsDirtyIncludingParent=function(b){var c=this;return b===t&&(b=!1),!(p(c.Bqa)||!c.Bqa.IsDirtyIncludingParent())||(!(p(c.tE)||!c.tE.IsDirtyIncludingParent())||(!p(c.mqa)&&c.mqa.Count>0||(!(p(c.jqa)||!c.jqa.IsDirtyIncludingParent())||a.prototype.IsDirtyIncludingParent.call(c,b))))},c.OnParentChanged=function(a){var b=this;b.hqa=a,p(b.hqa)?(p(b.tE)||(b.tE.ParentStateful=s),p(b.Bqa)||(b.Bqa.ParentStateful=s)):(p(b.tE)||(b.tE.ParentStateful=b.hqa.Color),p(b.Bqa)||(b.Bqa.ParentStateful=b.hqa.PatternColor))},c.FromOOModel=function(a,b){if(p(b))throw Error("colorFillType not provided!");var c=this;c.gqa=a,0===b?(c.ColorInternal.FromOOModel(c.gqa),c.Nc=0,c.SetState(32768,!0)):1===b?(c.FromCT_PatternFillProperties(a),c.Nc=1,c.SetState(32768,!0)):2===b?(c.FromCT_GradientFillProperties(a),c.Nc=2,c.SetState(32768,!0)):3===b?(c.jqa.FromOOModel(a),c.Nc=5,c.SetState(32768,!0)):4===b?(c.Nc=6,c.SetState(32768,!0)):5===b&&(c.Nc=0,c.SetState(32768,!0))},c.ToOOModel=function(){var a;if(this.Visible)switch(this.Type){case 0:a=this.ToCT_SolidColorFillProperties();break;case 1:a=this.ToCT_PatternFillProperties();break;case 2:a=this.ToCT_GradientFillProperties();break;case 3:a=this.ToCT_TileFillProperties();break;case 4:break;case 5:a=this.ToCT_PictureFillProperties();break;case 6:a={colorFillType:4}}else a={colorFillType:5};return a},c.FromCT_PatternFillProperties=function(a){this.uqa(a.prst),this.ColorInternal.FromOOModel(a.bgClr),this.PatternColorInternal.FromOOModel(a.fgClr)},c.ToCT_PatternFillProperties=function(){var a,b=this;return 4===b.xc.DrawingType?s:(a={colorFillType:1},a.prst=b.Pattern,0!==b.PatternColorInternal.ColorType&&(a.fgClr=b.PatternColorInternal.Color_ToOOModel()),0!==b.Color.ColorType&&(a.bgClr=b.Color.Color_ToOOModel()),a)},c.FromCT_GradientFillProperties=function(a){var b=this;b.Fpa(new r(b.xc)),b.mqa.FromOOModel(a.gsLst),b.RotateWithObject=a.rotWithShape,p(a.path)?p(a.lin)||(b.FromCT_LinearShadeProperties(a.lin),b.FromTitleCT_RelativeRect(a.tileRect)):b.FromCT_PathShadeProperties(a.path)},c.ToCT_GradientFillProperties=function(){var a=this,b={colorFillType:2};return b.rotWithShape=a.RotateWithObject,!p(a.GradientStops)&&a.GradientStops.Count>0&&(b.gsLst=a.GradientStops.ToOOModel()),6===a.GradientStyle||4===a.GradientStyle?b.path=a.ToCT_PathShadeProperties():b.lin=a.ToCT_LinearShadeProperties(),b.tileRect=a.ToTitleCT_RelativeRect(),b},c.ToCT_PictureFillProperties=function(){return 4===this.xc.DrawingType?s:this.jqa.ToOOModel()},c.FromTitleCT_RelativeRect=function(a){var b=this;p(a)||(a.l===-i&&a.t===-i?b.tqa(1):a.t===-i&&a.r===-i?b.tqa(2):a.l===-i&&a.b===-i?b.tqa(3):a.r===-i&&a.b===-i&&b.tqa(4))},c.ToTitleCT_RelativeRect=function(){var a={l:0,r:0,t:0,b:0},b=this.GradientVariant;return 4===this.GradientStyle&&(1===b?(a.l=-i,a.t=-i):2===b?(a.t=-i,a.r=-i):3===b?(a.l=-i,a.b=-i):4===b&&(a.r=-i,a.b=-i)),a},c.FromCT_LinearShadeProperties=function(a){this.GradientAngle=a.ang/j,this.dqa=a.scaled},c.ToCT_LinearShadeProperties=function(){return{ang:u(this.GradientAngle*j),scaled:this.dqa}},c.FromCT_PathShadeProperties=function(a){p(a)||(this.eqa=a.path,this.FromCT_RelativeRect(a.fillToRect))},c.ToCT_PathShadeProperties=function(){return{path:this.eqa,fillToRect:this.ToCT_RelativeRect()}},c.FromCT_RelativeRect=function(a){var b,c;p(a)||(b=.5*i,c=this,a.l===b&&a.t===b&&a.r===b&&a.b===b?c.rqa(6):a.r===i&&a.b===i?(c.rqa(4),c.tqa(1)):a.l===i&&a.b===i?(c.rqa(4),c.tqa(2)):a.r===i&&a.t===i?(c.rqa(4),c.tqa(3)):a.l===i&&a.t===i&&(c.rqa(4),c.tqa(4)))},c.ToCT_RelativeRect=function(){var a,b={l:0,r:0,t:0,b:0},c=.5*i;return 6===this.GradientStyle?(b.l=c,
b.t=c,b.r=c,b.b=c):4===this.GradientStyle&&(a=this.GradientVariant,1===a?(b.r=i,b.b=i):2===a?(b.l=i,b.b=i):3===a?(b.t=i,b.r=i):4===a&&(b.l=i,b.t=i)),b},c.ToCT_SolidColorFillProperties=function(){return this.ColorInternal.ToOOModel()},c.ToCT_TileFillProperties=function(){var a=this.jqa.ToOOModel();return a.tile=this.ToCT_TileInfoProperties(),a},c.ToCT_TileInfoProperties=function(){var a=this;return{algn:a.TextureAlignment,tx:a.TextureOffsetX,ty:a.TextureOffsetY,sx:u(a.TextureHorizontalScale*k),sy:u(a.TextureVerticalScale*k)}},c.Clone=function(){var a=this,c=new b(a.xc,a.hqa,a.iqa,a.xo);return p(a.Bqa)||(c.Bqa=a.Bqa.Clone()),p(a.tE)||(c.tE=a.tE.Clone()),c.oqa=a.oqa,c.dqa=a.dqa,c.mqa=a.mqa,c.sqa=a.sqa,c.wE=a.wE,c.wqa=a.wqa,c.Cqa=a.Cqa,c.Dqa=a.Dqa,c.Eqa=a.Eqa,c.Nc=a.Nc,c.nqa=a.nqa,c.fqa=a.fqa,c.yqa=a.yqa,c.kqa=a.kqa,c.zqa=a.zqa,c.Aqa=a.Aqa,c.Fqa=a.Fqa,c.lqa=a.lqa,c.Gqa=a.Gqa,c.bz=a.bz,c.rpa=a.rpa,c.hqa=a.hqa,c},b}(f);e.FillFormat=v,a.exports=e}()},function(a,b,c){!function(){"use strict";var b,d=c(3),e=c(6).pc,f=c(8),g=f.GC$,h=g.inherit,i=c(7),j=i.ChartUtility,k=j.defineProperty,l=i.UnitHelper.isNullOrUndefined,m=i.ShapeConstants,n=m.DefaultTransparent,o=m.PositionConver,p=c(13).ColorData,q=c(14).ARGBColor,r=c(5).StatefullBase,s=null,t=Math.abs,u=Math.floor;function v(a,b){return a.getColor(b)!==b}b=function(a){h(b,a);function b(b,c){var d,e;return void 0===c&&(c=s),d=a.call(this,c)||this,d.Hqa=-4142,d.Iqa=s,d.Yba=0,d.Jqa=0,d.Gqa=n,d.xc=b,d.hqa=c,e=d.xc.DrawingType,0===e?d.Xba=3:1===e?d.Xba=1:2===e&&(d.Xba=0),d}var c=b.prototype;k(c,"Brightness",{get:function(){return this.GetState(1)||l(this.hqa)?this.Jqa:this.hqa.Brightness},set:function(a){if(a<-1||a>1)throw Error();this.Jqa=a,this.Dirty(1)}}),k(c,"ObjectThemeColor",{get:function(){return this.GetState(2)||l(this.hqa)?this.Hqa:this.hqa.ObjectThemeColor},set:function(a){var b=this;b.Hqa=a,b.Dirty(2),b.ColorType=3,b.Iqa=s,b.UnDirty(4),b.Jqa=0,b.Dirty(1)}}),k(c,"RGB",{get:function(){var a=this;return a.HasOwnColor()||l(a.hqa)?a.xc.Kqa(a.GetColorData()):a.hqa.RGB},set:function(a){var b=this;b.Iqa=a,b.Transparency=1-a.A/255,b.Dirty(4),b.ColorType=2,b.Hqa=-4142,b.Dirty(2),b.Jqa=0,b.Yba=0,b.Dirty(1),b.Dirty(8)}}),k(c,"TintAndShade",{get:function(){var a=this;return a.GetState(8)||l(a.hqa)?a.Yba:a.hqa.TintAndShade},set:function(a){this.Yba=a,this.Dirty(8)}}),k(c,"Transparency",{get:function(){var a=this;return a.GetState(32)||l(a.hqa)?a.Gqa:a.hqa.Transparency},set:function(a){this.Gqa=a,this.Dirty(32)}}),k(c,"ColorType",{get:function(){var a=this;return a.GetState(16)||l(a.hqa)?a.Xba:a.hqa.ColorType},set:function(a){this.Xba=a,this.Dirty(16)}}),c.setColor=function(a,b){var c,d,f=this;a&&v(a.currentTheme(),b)?(c=j.fromThemeColorString(b),c&&(f.ObjectThemeColor=c.index,void 0!==c.tint&&(f.TintAndShade=c.tint))):(d=e.ec(b),f.RGB=q.FromArgbs(d.a,d.r,d.g,d.b))},c.GetColorData=function(){var a,b,c=this,d=new p;if(d.ColorType=2,a=c.Xba,0===a)d.ColorType=0;else if(1===a){if(d.ColorType=1,b=c.GetAutoColorFormat(),!l(b))return b.GetColorData()}else 2===a?l(c.Iqa)||(d.ColorType=2,d.Value=c.Iqa.ToArgb()):3===a&&(d.ColorType=4,d.Value=c.Hqa,d.Tint=c.Yba||c.Jqa);return d},c.HasOwnColor=function(){return this.GetState(2)||this.GetState(4)||this.GetAutoColorFormat()!==s},c.GetAutoColorFormat=function(){if(1===this.ColorType&&!l(this.AutoColorFormat)){var a=this.AutoColorFormat();if(!l(a)&&1!==a.ColorType)return a}return s},c.OnParentChanged=function(a){this.hqa=a},c.ClearModel=function(){var a,b,c;for(this.Lqa=s,a=0,b=this.Children;a<b.length;a++)c=b[a],c.ClearModel()},c.CalcBrightness=function(a,b){return a&&a.length>0&&b&&b.length>0?b[0]/o:a&&a.length>0?a[0]/o-1:0},c.CalcLumModeOff=function(a,b){var c=this;c.Brightness>0?(a.push(u((1-c.Brightness)*o)),b.push(u(c.Brightness*o))):c.Brightness<0&&a.push(u((1+c.Brightness)*o))},c.FromCT_ColorProperties=function(a){var b,c,d,e,f,g,h=this;h.Lqa=a,l(a)?h.ColorType=0:l(a.schemeClr)?l(a.srgbClr)||l(a.srgbClr.val)||3!==a.srgbClr.val.length?l(a.scrgbClr)?l(a.sysClr)?l(a.prstClr)||(g=a.prstClr,h.RGB=q.FromArgb(j.GetPresetColorRGB(g.val)),h.Brightness=h.CalcBrightness(g.lumMod,g.lumOff),!l(g.alpha)&&g.alpha.length>0&&(h.Transparency=g.alpha[0]/o)):(e=a.sysClr,f=e.val,l(f)?l(e.lastClr)||3!==e.lastClr.length||(h.RGB=q.FromRgb(e.lastClr[0],e.lastClr[1],e.lastClr[2])):h.RGB=q.FromKnownColor(f),h.Brightness=h.CalcBrightness(e.lumMod,e.lumOff),!l(e.alpha)&&e.alpha.length>0&&h.FromTransparency(e.alpha[0])):(d=a.scrgbClr,h.RGB=q.FromRgb(d.r,d.g,d.b)):(c=a.srgbClr,h.RGB=q.FromRgb(c.val[0],c.val[1],c.val[2]),h.Brightness=h.CalcBrightness(c.lumMod,c.lumOff),!l(c.alpha)&&c.alpha.length>0&&h.FromTransparency(c.alpha[0]),!l(c.tint)&&c.tint.length>0&&h.FromTint(c.tint[0])):(b=a.schemeClr,h.ObjectThemeColor=b.val,h.Brightness=h.CalcBrightness(b.lumMod,b.lumOff),!l(b.tint)&&b.tint.length>0&&h.FromTint(b.tint[0]),!l(b.alpha)&&b.alpha.length>0&&h.FromTransparency(b.alpha[0]))};function d(a){delete a.hslClr,delete a.prstClr,delete a.scrgbClr,delete a.srgbClr,delete a.sysClr}function f(a,b,c){b.length>0&&(a.lumMod=b),c.length>0&&(a.lumOff=c)}return c.ToCT_ColorProperties=function(a){var b,c,e,g,h=this,i=h.Lqa||a,k=[],m=[],o=i.schemeClr;return o&&j.removeEmptyArrayProperties(o),3===h.ColorType?(d(i),o||(o=i.schemeClr={}),o.val=h.ObjectThemeColor,h.CalcLumModeOff(k,m),f(o,k,m),h.TintAndShade>0?o.tint=[h.ToTint()]:h.TintAndShade<0&&(o.shade=[h.ToShade()]),h.Transparency!==n&&(o.alpha=[h.ToTransparency()])):2===h.ColorType&&(d(i),delete i.schemeClr,b=s,h.Iqa&&h.Iqa.IsKnownColor&&(b=h.Iqa.ToKnownColor()),l(b)?(e=i.srgbClr={},e.val=[h.RGB.R,h.RGB.G,h.RGB.B],h.CalcLumModeOff(k,m),f(e,k,m),h.Transparency!==n&&(e.alpha=[h.ToTransparency()]),h.TintAndShade>0?e.tint=[h.ToTint()]:h.TintAndShade<0&&(e.shade=[h.ToShade()])):(c=i.sysClr={},c.val=b,c.lastClr=[h.RGB.R,h.RGB.G,h.RGB.B],h.CalcLumModeOff(k,m),f(c,k,m),h.Transparency!==n&&(c.alpha=[h.ToTransparency()]))),g=a&&a.colorFillType,l(g)||(i.colorFillType=g),i},c.FromTint=function(a){this.TintAndShade=1-a/o},c.FromShade=function(a){this.TintAndShade=a/o-1},c.ToTint=function(){return u(t((1-this.TintAndShade)*o))},c.ToShade=function(){return u(t((1+this.TintAndShade)*o))},c.FromTransparency=function(a){this.Transparency=1-a/o},c.ToTransparency=function(){return u((1-this.Transparency)*o)},c.Clone=function(){var a=this,c=new b(a.xc);return c.Jqa=a.Jqa,c.Xba=a.Xba,c.xc=a.xc,c.Iqa=a.Iqa,c.Hqa=a.Hqa,c.Yba=a.Yba,c.AutoColorFormat=a.AutoColorFormat,c},c.FromOOModel=function(a){this.FromCT_ColorProperties(a)},c.ToOOModel=function(){var a=this.ColorType;return 1===a?{}:0===a?{colorFillType:5}:this.ToCT_ColorProperties({colorFillType:0})},c.Color_FromOOModel=function(a){this.FromCT_ColorProperties(a)},c.Color_ToOOModel=function(){return this.ToCT_ColorProperties({})},c.GradientStop_FromOOModel=function(a){this.FromCT_ColorProperties(a)},c.GradientStop_ToOOModel=function(){return this.ToCT_ColorProperties({})},c.ColorData_FromOOModel=function(a){2===a.ColorType||3===a.ColorType?this.RGB=q.FromArgb(a.Value):4===a.ColorType&&(this.ObjectThemeColor=a.Value,this.TintAndShade=a.Tint)},c.ColorData_ToOOModel=function(){var a=this,b=new p;return 2===a.ColorType?(b.Value=a.RGB.Value,b.ColorType=2):3===a.ColorType&&(b.Value=a.ObjectThemeColor,b.Tint=a.TintAndShade,b.ColorType=4),b},b}(r),d.ColorFormat=b,a.exports=d}()},function(a,b,c){!function(){"use strict";var b=c(3),d=function(){function a(){}a.ConvertHexStringToInt=function(a){return parseInt(a,16)};var b=a.prototype;return b.Equals=function(a){return this.ColorType===a.ColorType&&this.Value===a.Value&&this.Tint===a.Tint},b.Clone=function(){return this},b.Compose=function(a,b){void 0===b&&(b=!0),0!==a.Flag&&(b?this.ConflictCompose(a):this.NonConflictCompose(a))},b.ConflictCompose=function(a){var b=this;1===(1&a.Flag)&&b.ColorType!==a.ColorType&&(b.ColorType=a.ColorType,b.Value=0,b.Tint=0),2===(2&a.Flag)&&(b.Value=a.Value),4===(4&a.Flag)&&(b.Tint=a.Tint),b.Flag|=a.Flag},b.NonConflictCompose=function(a){var b=this;1!==(1&b.Flag)&&1===(1&a.Flag)&&(b.ColorType=a.ColorType,b.Value=a.Value,b.Tint=a.Tint,b.Flag=a.Flag)},b.RemoveDuplicateStyle=function(a){return this.Compare(a,!1)},b.RemoveDifferentStyle=function(a){return this.Compare(a,!0)},b.Compare=function(a,b){var c,d,e,f=this,g=!1;return 1===(1&f.Flag)&&(c=1!==(1&a.Flag)||f.ColorType!==a.ColorType,b?c?(f.Flag=0,g=!0):(2===(2&f.Flag)&&(d=2!==(2&a.Flag)||f.Value!==a.Value,d&&(f.Flag=0,g=!0)),4===(4&f.Flag)&&(e=4!==(4&a.Flag)||f.Tint!==a.Tint,e&&(f.Flag=0,g=!0))):c||(2===(2&f.Flag)&&(d=2!==(2&a.Flag)||f.Value!==a.Value,d||(f.Flag&=-3,g=!0)),4===(4&f.Flag)&&(e=4!==(4&a.Flag)||f.Tint!==a.Tint,e||(f.Flag&=-5,g=!0)),1===f.Flag&&(f.Flag=0,g=!0))),g},b.UpdateDefaultValueFlag=function(){0===this.ColorType?this.Flag=0:this.Flag=7},b.UpdateFlagFromBottom=function(){},b.ClearFlag=function(){this.Flag=0},b.SetFullFlag=function(){this.Flag=7},b.IsFullFlag=function(){return 7===this.Flag},a}();b.ColorData=d,b.ColorType={None:0,Auto:1,RGB:2,Index:3,Theme:4},b.ColorDataFlag={None:0,ColorType:1,Value:2,Tint:4,All:7},a.exports=b}()},function(a,b,c){!function(){"use strict";var b,d,e=c(3),f=c(6).pc,g=c(7),h=g.ChartUtility.defineProperty,i=g.UnitHelper.isNullOrUndefined,j=null,k=function(){var a,b;function c(a,b,c,d){var e=this;e.value=a,e.state=b,e.name=c,e.knownColor=d}return a=c.prototype,h(a,"Transparent",{get:function(){return c.FromKnownColor(27)}}),c.FromKnownColor=function(a){return new c(0,c.StateKnownColorValid,j,a)},c.FromIndexedColor=function(a,b){var d=c.IndexedColors;return d||(d=c.IndexedColors=[4278190080,4294967295,4294901760,4278255360,4278190335,4294967040,4294902015,4278255615,4278190080,4294967295,4294901760,4278255360,4278190335,4294967040,4294902015,4278255615,4286578688,4278222848,4278190208,4286611456,4286578816,4278222976,4290822336,4286611584,4288256511,4288230246,4294967244,4291624959,4284874854,4294934656,4278216396,4291611903,4278190208,4294902015,4294967040,4278255615,4286578816,4286578688,4278222976,4278190335,4278242559,4291624959,4291624908,4294967193,4288269567,4294941132,4291598847,4294954137,4281558783,4281584844,4288269312,4294953984,4294940928,4294927872,4284901017,4288059030,4278203238,4281571686,4278203136,4281545472,4288230144,4288230246,4281545625,4281545523,c.FromKnownColor(26).ToArgb(),c.FromKnownColor(24).ToArgb()]),c.FromArgb(d[a]).GetTintColor(b)},h(a,"R",{get:function(){return this.Value>>16&255}}),h(a,"G",{get:function(){return this.Value>>8&255}}),h(a,"B",{get:function(){return 255&this.Value}}),h(a,"A",{get:function(){return this.Value>>24&255}}),h(a,"IsKnownColor",{get:function(){return 0!==(this.state&c.StateKnownColorValid)}}),h(a,"IsEmpty",{get:function(){return 0===this.state}}),h(a,"IsNamedColor",{get:function(){return 0!==(this.state&c.StateNameValid)||this.IsKnownColor}}),h(a,"IsSystemColor",{get:function(){return!!this.IsKnownColor&&(!(this.knownColor>26)||this.knownColor>167)}}),h(a,"Name",{get:function(){var a,b=this;return 0!==(b.state&c.StateNameValid)?b.name:b.IsKnownColor?(a=e.KnownColorTable.KnownColorToName(b.knownColor),i(a)?"":a):b.value.toString(16)}}),h(a,"Value",{get:function(){var a=this;return 0!==(a.state&c.StateValueMask)?a.value:a.IsKnownColor?e.KnownColorTable.KnownColorToArgb(a.knownColor):c.NotDefinedValue}}),c.FromArgb=function(a){return new c(a,c.StateARGBValueValid,j,0)},c.FromArgbs=function(a,b,d,e){return c.CheckByte(a,"alpha"),c.CheckByte(b,"red"),c.CheckByte(d,"green"),c.CheckByte(e,"blue"),new c(c.MakeArgb(a,b,d,e),c.StateARGBValueValid,j,0)},c.FromBaseColor=function(a,b){return c.CheckByte(a,"alpha"),new c(c.MakeArgb(a,b.R,b.G,b.B),c.StateARGBValueValid,j,0)},c.FromRgb=function(a,b,d){return c.FromArgbs(255,a,b,d)},a.GetBrightness=function(){var a=this.R/255,b=this.G/255,c=this.B/255,d=a,e=a;return b>d&&(d=b),c>d&&(d=c),b<e&&(e=b),c<e&&(e=c),(d+e)/2},a.GetHue=function(){var a,b,c,d,e,f,g,h=this;return h.R===h.G&&h.G===h.B?0:(a=h.R/255,b=h.G/255,c=h.B/255,d=0,e=a,f=a,b>e&&(e=b),c>e&&(e=c),b<f&&(f=b),c<f&&(f=c),g=e-f,a===e?d=(b-c)/g:b===e?d=2+(c-a)/g:c===e&&(d=4+(a-b)/g),d*=60,d<0&&(d+=360),d)},a.GetSaturation=function(){var a,b=this.R/255,c=this.G/255,d=this.B/255,e=0,f=b,g=b;return c>f&&(f=c),d>f&&(f=d),c<g&&(g=c),d<g&&(g=d),f===g?e:(a=(f+g)/2,a<=.5?(f-g)/(f+g):(f-g)/(2-f-g))},a.ToArgb=function(){return this.Value},a.ToKnownColor=function(){return this.knownColor},a.ToString=function(){var a=this,b="ARGBColor";return b+=" [",0!==(a.state&c.StateNameValid)?b+=a.Name:0!==(a.state&c.StateKnownColorValid)?b+=a.Name:0!==(a.state&c.StateValueMask)?(b+="A=",b+=a.A,b+=", R=",b+=a.R,b+=", G=",b+=a.G,b+=", B=",b+=a.B):b+="Empty",b+="]"},a.Equals=function(a){if(a instanceof c){var b=a;return this.Value===b.Value}return!1},c.CheckByte=function(a,b){if(a<0||a>255)throw Error("InvalidEx2BoundArgument")},b=Math.pow(2,24),c.MakeArgb=function(a,c,d,e){return b*a+(c<<16|d<<8|e)},a.GetTintColor=function(a){var b,c=this;return 0===a?c:(b=f.jc({r:c.R,g:c.G,b:c.B},a),e.ARGBColor.FromArgbs(b.a,b.r,b.g,b.b))},c}();k.StateKnownColorValid=1,k.StateARGBValueValid=2,k.StateValueMask=2,k.StateNameValid=8,k.NotDefinedValue=0,e.ARGBColor=k,b=e.KnownColor={ActiveBorder:1,ActiveCaption:2,ActiveCaptionText:3,AliceBlue:28,AntiqueWhite:29,AppWorkspace:4,Aqua:30,Aquamarine:31,Azure:32,Beige:33,Bisque:34,Black:35,BlanchedAlmond:36,Blue:37,BlueViolet:38,Brown:39,BurlyWood:40,ButtonFace:168,ButtonHighlight:169,ButtonShadow:170,CadetBlue:41,Chartreuse:42,Chocolate:43,Control:5,ControlDark:6,ControlDarkDark:7,ControlLight:8,ControlLightLight:9,ControlText:10,Coral:44,CornflowerBlue:45,Cornsilk:46,Crimson:47,Cyan:48,DarkBlue:49,DarkCyan:50,DarkGoldenrod:51,DarkGray:52,DarkGreen:53,DarkKhaki:54,DarkMagenta:55,DarkOliveGreen:56,DarkOrange:57,DarkOrchid:58,DarkRed:59,DarkSalmon:60,DarkSeaGreen:61,DarkSlateBlue:62,DarkSlateGray:63,DarkTurquoise:64,DarkViolet:65,DeepPink:66,DeepSkyBlue:67,Desktop:11,DimGray:68,DodgerBlue:69,Firebrick:70,FloralWhite:71,ForestGreen:72,Fuchsia:73,Gainsboro:74,GhostWhite:75,Gold:76,Goldenrod:77,GradientActiveCaption:171,GradientInactiveCaption:172,Gray:78,GrayText:12,Green:79,GreenYellow:80,Highlight:13,HighlightText:14,Honeydew:81,HotPink:82,HotTrack:15,InactiveBorder:16,InactiveCaption:17,InactiveCaptionText:18,IndianRed:83,Indigo:84,Info:19,InfoText:20,Ivory:85,Khaki:86,Lavender:87,LavenderBlush:88,LawnGreen:89,LemonChiffon:90,LightBlue:91,LightCoral:92,LightCyan:93,LightGoldenrodYellow:94,LightGray:95,LightGreen:96,LightPink:97,LightSalmon:98,LightSeaGreen:99,LightSkyBlue:100,LightSlateGray:101,LightSteelBlue:102,LightYellow:103,Lime:104,LimeGreen:105,Linen:106,Magenta:107,Maroon:108,MediumAquamarine:109,MediumBlue:110,MediumOrchid:111,MediumPurple:112,MediumSeaGreen:113,MediumSlateBlue:114,MediumSpringGreen:115,MediumTurquoise:116,MediumVioletRed:117,Menu:21,MenuBar:173,MenuHighlight:174,MenuText:22,MidnightBlue:118,MintCream:119,MistyRose:120,Moccasin:121,NavajoWhite:122,Navy:123,OldLace:124,Olive:125,OliveDrab:126,Orange:127,OrangeRed:128,Orchid:129,PaleGoldenrod:130,PaleGreen:131,PaleTurquoise:132,PaleVioletRed:133,PapayaWhip:134,PeachPuff:135,Peru:136,Pink:137,Plum:138,PowderBlue:139,Purple:140,Red:141,RosyBrown:142,RoyalBlue:143,SaddleBrown:144,Salmon:145,SandyBrown:146,ScrollBar:23,SeaGreen:147,SeaShell:148,Sienna:149,Silver:150,SkyBlue:151,SlateBlue:152,SlateGray:153,Snow:154,SpringGreen:155,SteelBlue:156,Tan:157,Teal:158,Thistle:159,Tomato:160,Transparent:27,Turquoise:161,Violet:162,Wheat:163,White:164,WhiteSmoke:165,Window:24,WindowFrame:25,WindowText:26,Yellow:166,YellowGreen:167},d=function(){function a(){}a.ArgbToKnownColor=function(b){var c,d,e;for(this.EnsureColorTable(),c=0;c<a.colorTable.length;c++)if(d=this.colorTable[c],d===b&&(e=k.FromArgb(c),!e.IsSystemColor))return e;return k.FromArgb(b)},a.Encode=function(a,b,c,d){return b<<16|c<<8|d|a<<24},a.EnsureColorNameTable=function(){i(a.colorNameTable)&&a.InitColorNameTable()},a.EnsureColorTable=function(){i(this.colorTable)&&this.InitColorTable()},a.InitColorNameTable=function(){var c,d=[];for(c in b)d[b[c]]=c;a.colorNameTable=d};function c(a){a[1]=4290032820,a[2]=4288263377,a[3]=4278190080,a[4]=4289440683,a[5]=4293980400,a[6]=4288716960,a[7]=4285098345,a[8]=4293125091,a[9]=4294967295,a[10]=4278190080,a[11]=4278190080,a[12]=4285361517,a[13]=4281571839,a[14]=4294967295,a[15]=4278216396,a[16]=4294244348,a[17]=4290760155,a[18]=4278190080,a[19]=4294967265,a[20]=4278190080,a[21]=4293980400,a[22]=4278190080,a[23]=4291348680,a[24]=4294967295,a[25]=4284769380,a[26]=4278190080,a[168]=4293980400,a[169]=4294967295,a[170]=4288716960,a[171]=4290367978,a[172]=4292338930,a[173]=4293980400,a[174]=4281571839}return a.InitColorTable=function(){var b=[];c(b),b[27]=16777215,b[28]=-984833,b[29]=-332841,b[30]=-16711681,b[31]=-8388652,b[32]=-983041,b[33]=-657956,b[34]=-6972,b[35]=-16777216,b[36]=-5171,b[37]=-16776961,b[38]=-7722014,b[39]=-5952982,b[40]=-2180985,b[41]=-10510688,b[42]=-8388864,b[43]=-2987746,b[44]=-32944,b[45]=-10185235,b[46]=-1828,b[47]=-2354116,b[48]=-16711681,b[49]=-16777077,b[50]=-16741493,b[51]=-4684277,b[52]=-5658199,b[53]=-16751616,b[54]=-4343957,b[55]=-7667573,b[56]=-11179217,b[57]=-29696,b[58]=-6737204,b[59]=-7667712,b[60]=-1468806,b[61]=-7357301,b[62]=-12042869,b[63]=-13676721,b[64]=-16724271,b[65]=-7077677,b[66]=-60269,b[67]=-16728065,b[68]=-9868951,b[69]=-14774017,b[70]=-5103070,b[71]=-1296,b[72]=-14513374,b[73]=-65281,b[74]=-2302756,b[75]=-460545,b[76]=-10496,b[77]=-2448096,b[78]=-8355712,b[79]=-16744448,b[80]=-5374161,b[81]=-983056,b[82]=-38476,b[83]=-3318692,b[84]=-11861886,b[85]=-16,b[86]=-989556,b[87]=-1644806,b[88]=-3851,b[89]=-8586240,b[90]=-1331,b[91]=-5383962,b[92]=-1015680,b[93]=-2031617,b[94]=-329006,b[95]=-2894893,b[96]=-7278960,b[97]=-18751,b[98]=-24454,b[99]=-14634326,b[100]=-7876870,b[101]=-8943463,b[102]=-5192482,b[103]=-32,b[104]=-16711936,b[105]=-13447886,b[106]=-331546,b[107]=-65281,b[108]=-8388608,b[109]=-10039894,b[110]=-16777011,b[111]=-4565549,b[112]=-7114533,b[113]=-12799119,b[114]=-8689426,b[115]=-16713062,b[116]=-12004916,b[117]=-3730043,b[118]=-15132304,b[119]=-655366,b[120]=-6943,b[121]=-6987,b[122]=-8531,b[123]=-16777088,b[124]=-133658,b[125]=-8355840,b[126]=-9728477,b[127]=-23296,b[128]=-47872,b[129]=-2461482,b[130]=-1120086,b[131]=-6751336,b[132]=-5247250,b[133]=-2396013,b[134]=-4139,b[135]=-9543,b[136]=-3308225,b[137]=-16181,b[138]=-2252579,b[139]=-5185306,b[140]=-8388480,b[141]=-65536,b[142]=-4419697,b[143]=-12490271,b[144]=-7650029,b[145]=-360334,b[146]=-744352,b[147]=-13726889,b[148]=-2578,b[149]=-6270419,b[150]=-4144960,b[151]=-7876885,b[152]=-9807155,b[153]=-9404272,b[154]=-1286,b[155]=-16711809,b[156]=-12156236,b[157]=-2968436,b[158]=-16744320,b[159]=-2572328,b[160]=-40121,b[161]=-12525360,b[162]=-1146130,b[163]=-663885,b[164]=-1,b[165]=-657931,b[166]=-256,b[167]=-6632142,a.colorTable=b},a.KnownColorToArgb=function(a){return this.EnsureColorTable(),a<=174?this.colorTable[a]:0},a.KnownColorToName=function(b){return this.EnsureColorNameTable(),b<=174?a.colorNameTable[b]:j},a.IsKnowColor=function(b){return a.EnsureColorTable(),a.colorTable.indexOf(b)!==-1},a}(),e.KnownColorTable=d,a.exports=e}()},function(a,b,c){!function(){"use strict";var b,d=c(3),e=c(7),f=e.ChartUtility.defineProperty,g=e.ShapeConstants.PositionConver,h=c(14).ARGBColor,i=c(12).ColorFormat,j=void 0,k=function(){function a(a){this.Mqa=a,this.tE=new i(this.Mqa)}var b=a.prototype;return f(b,"Color",{get:function(){return this.tE},set:function(a){this.tE=a}}),f(b,"Position",{get:function(){return this.SH},set:function(a){this.SH=a}}),f(b,"Transparency",{get:function(){return this.tE.Transparency},set:function(a){this.tE.Transparency=a}}),b.FromOOModel=function(a){this.Position=a.pos/g,this.tE.FromOOModel(a)},b.ToOOModel=function(){var a=this.tE.ToOOModel();return a.pos=Math.round(this.Position*g),a},a}();d.GradientStop=k,b=function(){function a(a){this.Nqa=a,this.Oqa=[]}var b=a.prototype;return b.Item=function(a){return this.Oqa[a]},f(b,"Count",{get:function(){return this.Oqa.length}}),f(b,"GradientStopList",{get:function(){return this.Oqa}}),b.Delete=function(a){a===-1&&(a=this.Count-1),this.Oqa.splice(a,1)},b.Insert=function(a,b,c,d,e){c===j&&(c=0),d===j&&(d=-1),e===j&&(e=0);var f=new k(this.Nqa);f.Color.RGB=h.FromArgb(a),f.Position=b,f.Transparency=c,f.Color.Brightness=e,d<0?this.Oqa.push(f):this.Oqa.splice(d,0,f)},b.FromOOModel=function(a){var b,c,d,e;for(b=0,c=a.gs;b<c.length;b++)d=c[b],e=new k(this.Nqa),e.FromOOModel(d),this.GradientStopList.push(e)},b.ToOOModel=function(){var a,b,c,d={gs:[]};for(a=0,b=this.Oqa;a<b.length;a++)c=b[a],d.gs.push(c.ToOOModel());return d},a}(),d.GradientStops=b,a.exports=d}()},function(a,b,c){!function(){"use strict";var b=c(6),d=b.j,e=d.G,f=c(3),g=c(5).StatefullBase,h=c(7),i=h.ChartUtility,j=i.defineProperty,k=h.UnitHelper,l=k.isNullOrUndefined,m=c(11).FillFormat,n=null,o=function(a){e(b,a);function b(b,c,d){a.call(this,c);var e=this;return e.Pqa=1,e.Qqa=0,e.Rqa=1,e.Sqa=0,e.Tqa=1,e.Uqa=0,e.Vqa=1,e.Wqa=0,e.bz=!0,e.Xqa=-1,e.Yqa=n,e.xc=b,e.hqa=c,e.iqa=d,e.Zpa=new m(b,c&&c.FillInternal,d),e}var c=b.prototype;return j(c,"PatternColor",{get:function(){return this.FillInternal.PatternColorInternal}}),j(c,"Color",{get:function(){return this.FillInternal.ColorInternal}}),j(c,"BeginArrowheadLength",{get:function(){return this.IsDirty(4)||l(this.hqa)?this.Pqa:this.hqa.BeginArrowheadLength},set:function(a){this.Pqa=a,this.Dirty(4)}}),j(c,"BeginArrowheadStyle",{get:function(){return this.IsDirty(8)||l(this.hqa)?this.Qqa:this.hqa.BeginArrowheadStyle},set:function(a){this.Qqa=a,this.Dirty(8)}}),j(c,"BeginArrowheadWidth",{get:function(){return this.IsDirty(16)||l(this.hqa)?this.Rqa:this.hqa.BeginArrowheadWidth},set:function(a){this.Rqa=a,this.Dirty(16)}}),j(c,"DashStyle",{get:function(){return this.IsDirty(32)||l(this.hqa)?this.Sqa:this.hqa.DashStyle},set:function(a){this.Sqa=a,this.Dirty(32)}}),j(c,"EndArrowheadLength",{get:function(){return this.IsDirty(64)||l(this.hqa)?this.Tqa:this.hqa.EndArrowheadLength},set:function(a){this.Tqa=a,this.Dirty(64)}}),j(c,"EndArrowheadStyle",{get:function(){return this.IsDirty(128)||l(this.hqa)?this.Uqa:this.hqa.EndArrowheadStyle},set:function(a){this.Uqa=a,this.Dirty(128)}}),j(c,"EndArrowheadWidth",{get:function(){return this.IsDirty(256)||l(this.hqa)?this.Vqa:this.hqa.EndArrowheadWidth},set:function(a){this.Vqa=a,this.Dirty(256)}}),j(c,"InsetPen",{get:function(){return this.IsDirty(512)||l(this.hqa)?this.Zqa:this.hqa.InsetPen},set:function(a){this.Zqa=a,this.Dirty(512)}}),j(c,"Pattern",{get:function(){return this.FillInternal.Pattern},set:function(a){this.FillInternal.uqa(a)}}),j(c,"PresetGradientType",{get:function(){return this.FillInternal.PresetGradientType}}),c.xqa=function(a){this.FillInternal.xqa(a)},j(c,"GradientAngle",{get:function(){return this.FillInternal.GradientAngle},set:function(a){this.FillInternal.GradientAngle=a}}),j(c,"GradientColorType",{get:function(){return this.FillInternal.GradientColorType}}),j(c,"GradientDegree",{get:function(){return this.FillInternal.GradientDegree}}),c.pqa=function(a){this.FillInternal.pqa(a)},j(c,"GradientStops",{get:function(){return this.FillInternal.GradientStops}}),j(c,"GradientStyle",{get:function(){return this.FillInternal.GradientStyle}}),c.rqa=function(a){this.FillInternal.rqa(a)},j(c,"GradientVariant",{get:function(){return this.FillInternal.GradientVariant}}),c.tqa=function(a){this.FillInternal.tqa(a)},j(c,"Style",{get:function(){return this.IsDirty(2048)||l(this.hqa)?this.Wqa:this.hqa.Style},set:function(a){this.Wqa=a,this.Dirty(2048)}}),j(c,"Transparency",{get:function(){return this.FillInternal.Transparency},set:function(a){this.FillInternal.Transparency=a}}),j(c,"Visible",{get:function(){return this.IsDirty(8192)||l(this.hqa)?this.bz:this.hqa.Visible},set:function(a){this.bz=a,this.Dirty(8192)}}),j(c,"Weight",{get:function(){return this.IsDirty(16384)||l(this.hqa)?this.Xqa:this.hqa.Weight},set:function(a){this.Xqa=a,this.Dirty(16384)}}),c.OneColorGradient=function(a,b,c){this.FillInternal.OneColorGradient(a,b,c)},c.TwoColorGradient=function(a,b){this.FillInternal.TwoColorGradient(a,b)},c.PresetGradient=function(a,b,c){this.FillInternal.PresetGradient(a,b,c)},c.Solid=function(){this.FillInternal.Solid()},c.Patterned=function(a){this.FillInternal.Patterned(a)},j(c,"FillInternal",{get:function(){var a=this;return a.Zpa||(a.Zpa=new m(a.xc,a.hqa&&a.hqa.FillInternal,a.iqa)),a.Zpa}}),j(c,"Type",{get:function(){return this.FillInternal.Type}}),c.GetState=function(b,c){var d=this.Zpa;if(d){if(1===b&&d.Color)return d.Color.IsDirtyIncludingParent(c);if(2===b&&d.PatternColor)return d.PatternColor.IsDirtyIncludingParent(c)}return a.prototype.GetState.call(this,b,c)},c.IsDirtyIncludingParent=function(b){var c=this.Zpa;return!(!c||!c.IsDirtyIncludingParent(b))||a.prototype.IsDirtyIncludingParent.call(this,b)},c.OnParentChanged=function(a){this.hqa=a;var b=this.Zpa;b&&a&&(b.ParentStateful=a.FillInternal)},c.FromOOModel=function(a){this.Yqa=a,this.FromCT_LineProperties(a)},c.ToOOModel=function(){return this.ToCT_LineProperties()},c.FromCT_LineProperties=function(a){var b=this;l(a.solidFill)?l(a.pattFill)?l(a.gradFill)?l(a.noFill)||(b.FillInternal.ColorInternal.ColorType=0):b.FillInternal.FromOOModel(a.gradFill,2):b.FillInternal.FromOOModel(a.pattFill,1):b.FillInternal.FromOOModel(a.solidFill,0),l(a.headEnd)||b.FromCT_LineEndProperties(a.headEnd),l(a.tailEnd)||b.FromCT_TailLineEndProperties(a.tailEnd),!l(a.w)&&a.w>=0?b.Weight=a.w:(b.Xqa=-1,b.UnDirty(16384)),l(a.cmpd)||(b.Style=a.cmpd),b.Round=!!a.round,l(a.prstDash)?b.UnDirty(32):b.DashStyle=a.prstDash},c.ToCT_LineProperties=function(){var a,b,c,d=this,e=d.Yqa;return d.IsDirtyIncludingParent()||l(e)?(a=e||{},delete a.gradFill,delete a.noFill,delete a.pattFill,delete a.solidFill,d.bz?l(d.Zpa)||(b=d.Zpa.ToOOModel(),0===b.colorFillType?a.solidFill=b:1===b.colorFillType?a.pattFill=b:2===b.colorFillType?a.gradFill=b:5===b.colorFillType&&(a.noFill=!0),delete b.colorFillType):a.noFill=!0,c=d.ToCT_HeadLineEndProperties(),c&&(a.headEnd=c),c=d.ToCT_TailLineEndProperties(),c&&(a.tailEnd=c),d.Weight>=0&&(a.w=d.Weight),d.GetState(2048,!0)&&(a.cmpd=d.Style),d.GetState(32,!0)&&(a.prstDash=d.DashStyle),d.Round&&(a.round=!0),a):e},c.FromCT_LineEndProperties=function(a){var b=this;b.Qqa=a.type,b.Rqa=a.w,b.Pqa=a.len,b.SetState(8,!0),b.SetState(16,!0),b.SetState(4,!0)},c.ToCT_HeadLineEndProperties=function(){var a={w:1,len:1},b=this,c=!1;return b.GetState(8,!0)&&(a.type=b.BeginArrowheadStyle,c=!0),b.GetState(16,!0)&&(a.w=b.BeginArrowheadWidth,c=!0),b.GetState(4,!0)&&(a.len=b.BeginArrowheadLength,c=!0),c?a:n},c.FromCT_TailLineEndProperties=function(a){if(!l(a)){var b=this;b.Uqa=a.type,b.Vqa=a.w,b.Tqa=a.len,b.SetState(128,!0),b.SetState(256,!0),b.SetState(64,!0)}},c.ToCT_TailLineEndProperties=function(){var a={w:1,len:1},b=!1,c=this;return c.GetState(128,!0)&&(a.type=c.EndArrowheadStyle,b=!0),c.GetState(256,!0)&&(a.w=c.EndArrowheadWidth,b=!0),c.GetState(64,!0)&&(a.len=c.EndArrowheadLength,b=!0),b?a:n},c.Clone=function(){var a=this,c=new b(a.xc);return c.Zpa=a.Zpa&&a.Zpa.Clone(),c.Pqa=a.Pqa,c.Qqa=a.Qqa,c.Rqa=a.Rqa,c.Sqa=a.Sqa,c.Tqa=a.Tqa,c.Uqa=a.Uqa,c.Vqa=a.Vqa,c.Zqa=a.Zqa,c.bz=a.bz,c.Xqa=a.Xqa,c.rpa=a.rpa,c.hqa=a.hqa,c},b}(g);f.LineFormat=o,a.exports=f}()},function(a,b,c){!function(){"use strict";var b,d,e=c(6),f=e.j,g=f.Ia,h=f.G,i=c(3),j=c(7),k=j.ChartUtility.defineProperty,l=c(5).StatefullBase,m=j.ShapeConstants.PositiveFixedAngleConvert,n=j.UnitHelper.isNullOrUndefined;i.ThreeDFormatStates={BevelBottomDepth:1,BevelBottomInset:2,BevelBottomType:4,BevelTopDepth:8,BevelTopInset:16,BevelTopType:32,ContourColor:64,ContourWidth:128,Depth:256,ExtrusionColor:512,ExtrusionColorType:1024,FieldOfView:2048,LightAngle:4096,Perspective:8192,PresetCamera:16384,PresetExtrusionDirection:32768,PresetLighting:65536,PresetLightingDirection:131072,PresetLightingSoftness:262144,PresetMaterial:524288,PresetThreeDFormat:1048576,ProjectText:2097152,RotationX:4194304,RotationY:8388608,RotationZ:16777216,Visible:33554432,Z:67108864,AutoScale:134217728,DepthPercent:268435456,HeightPercent:536870912,RightAngleAxes:1073741824},b=null,d=function(a){h(c,a);function c(c,d){a.call(this,d);var e=this;e.$qa=0,e._qa=0,e.ara=0,e.bra=45,e.bz=!0,e.cra=b,e.dra=!0,e.era=100,e.fra=100,e.gra=!0,e.xc=c,e.hra=30,e.hqa=d,e.ira(62)}var d=c.prototype;return k(d,"Perspective",{get:function(){var a=this;return a.Dirty(32768)||n(a.hqa)?a.hra:a.hqa.Perspective},set:function(a){var b=this;b.hra=a,b.Dirty(32768)}}),k(d,"PresetCamera",{get:function(){var a=this;return a.Dirty(16384)||n(a.hqa)?a.jra:a.hqa.PresetCamera}}),k(d,"RotationX",{get:function(){var a=this;return a.Dirty(4194304)||n(a.hqa)?a.Visible?a.kra:0:a.hqa.RotationX},set:function(a){var b=this;a!==b.kra&&(b.kra=a,b.Dirty(4194304),b.UpdatePresetCamera())}}),k(d,"RotationY",{get:function(){var a=this;return a.Dirty(8388608)||n(a.hqa)?a.Visible?a.lra:0:a.hqa.RotationY},set:function(a){var b=this;if(1===b.xc.DrawingType){if(a<-90&&a>=180)return}else if(a<0&&a>=360)return;b.lra=a,b.Dirty(8388608),b.UpdatePresetCamera()}}),k(d,"RotationZ",{get:function(){var a=this;return a.Dirty(16777216)||n(a.hqa)?a.Visible?a.mra:0:a.hqa.RotationZ},set:function(a){var b=this;a!==b.mra&&(b.mra=a,b.Dirty(16777216),b.UpdatePresetCamera())}}),k(d,"Visible",{get:function(){var a=this;return a.Dirty(33554432)||n(a.hqa)?a.bz:a.hqa.Visible},set:function(a){var b=this;b.bz=a,b.Dirty(33554432)}}),k(d,"Z",{get:function(){var a=this;return a.Dirty(67108864)||n(a.hqa)?a.Visible?a.nra:0:a.hqa.Z},set:function(a){var b=this;b.nra=a,b.Dirty(67108864),b.UpdatePresetCamera()}}),k(d,"Depth",{get:function(){var a=this;return a.Dirty(256)||n(a.hqa)?a.Visible?a.ora:0:a.hqa.Depth},set:function(a){var b=this;b.ora=a,b.Dirty(256),b.UpdatePresetCamera()}}),k(d,"DicCameraType",{get:function(){var a=this;return n(a.cra)&&a.InitDicCameraType(),a.cra}}),k(d,"_InternalVisible",{get:function(){return this.bz},set:function(a){this.bz=a}}),k(d,"_AutoScale",{get:function(){return this.dra},set:function(a){var b=this;b.dra=a,b.Dirty(134217728)}}),k(d,"_DepthPercent",{get:function(){return this.era},set:function(a){var b=this;a>=20&&a<=2e3&&(b.era=a,b.Dirty(268435456))}}),k(d,"_HeightPercent",{get:function(){return this.fra},set:function(a){var b=this;a>=5&&a<=500&&(b.fra=a,b.Dirty(536870912))}}),k(d,"_RightAngleAxes",{get:function(){return this.gra},set:function(a){var b=this;b.gra=a,b.Dirty(1073741824)}}),g(d,{ira:function(a){var b=this;b.jra=a,b.Dirty(16384)},InitDicCameraType:function(){var a=this.cra={};a[0]=[0,0,0],a[1]=[0,0,0],a[2]=[0,0,0],a[3]=[0,0,0],a[4]=[0,0,0],a[5]=[0,0,0],a[6]=[0,0,0],a[7]=[0,0,0],a[8]=[0,0,0],a[9]=[0,0,0],a[10]=[0,0,0],a[11]=[0,0,0],a[12]=[0,0,0],a[13]=[0,0,0],a[14]=[0,0,0],a[15]=[0,0,0],a[16]=[0,0,0],a[17]=[0,0,0],a[18]=[0,0,0],a[19]=[314.7191,324.6037,60.16242],a[20]=[45.28088,324.6037,299.8376],a[21]=[45.28088,35.39627,60.16242],a[22]=[314.7191,35.39627,299.8376],a[23]=[45,325,0],a[24]=[45,35,0],a[25]=[315,35,0],a[26]=[315,325,0],a[27]=[64,18,0],a[28]=[334,18,0],a[29]=[306.5457,301.2619,57.6425],a[30]=[26,18,0],a[31]=[296,18,0],a[32]=[53.45424,301.2619,302.3575],a[33]=[64,342,0],a[34]=[334,342,0],a[35]=[306.5457,58.73808,302.3575],a[36]=[26,342,0],a[37]=[296,342,0],a[38]=[53.45424,58.73808,57.64252],a[39]=[0,0,0],a[40]=[0,0,0],a[41]=[0,0,0],a[42]=[0,0,0],a[43]=[0,0,0],a[44]=[0,0,0],a[45]=[0,0,0],a[46]=[0,0,0],a[47]=[0,0,0],a[48]=[20,0,0],a[49]=[340,0,0],a[50]=[0,340,0],a[51]=[0,20,0],a[52]=[14.33758,39.30647,341.1238],a[53]=[345.6624,39.30647,18.87615],a[54]=[43.93887,10.39642,356.4465],a[55]=[316.0611,10.39642,3.553517],a[56]=[14.29302,348.9837,2.626817],a[57]=[345.7069,348.9837,357.3732],a[58]=[34.46068,8.12245,357.0914],a[59]=[325.5393,8.12245,2.9086],a[60]=[0,309.5601,0],a[61]=[0,324.844,0]},SetPresetCamera:function(a){var b=this;b.jra=a,b.Dirty(16384)},UpdatePresetCamera:function(){var a=this;62===a.jra&&a.SetPresetCamera(18)},IncrementRotationX:function(a){this.RotationX+=a},IncrementRotationY:function(a){this.RotationY+=a},IncrementRotationZ:function(a){this.RotationZ+=a;
},ResetRotation:function(){var a=this;a.RotationX=0,a.RotationY=0,a.RotationZ=0},Clone:function(){var a=this,b=new c(a.xc);return b.pra=a.pra,b.qra=a.qra,b.$qa=a.$qa,b.rra=a.rra,b.sra=a.sra,b._qa=a._qa,n(a.tra)||(b.tra=a.tra.Clone()),b.ura=a.ura,b.ora=a.ora,n(a.vra)||(b.vra=a.vra.Clone()),b.ara=a.ara,b.bra=a.bra,b.wra=a.wra,b.hra=a.hra,b.jra=a.jra,b.xra=a.xra,b.yra=a.yra,b.zra=a.zra,b.Ara=a.Ara,b.Bra=a.Bra,b.Cra=a.Cra,b.Dra=a.Dra,b.kra=a.kra,b.lra=a.lra,b.mra=a.mra,b.bz=a.bz,b.nra=a.nra,b.rpa=a.rpa,b.hqa=a.hqa,b},IsDirtyIncludingParent:function(b){var c=this;return!(!c.tra||!c.tra.IsDirtyIncludingParent(b))||(!(!c.vra||!c.vra.IsDirtyIncludingParent(b))||a.prototype.IsDirtyIncludingParent.call(c,b))},OnParentChanged:function(a){var c=this;c.hqa=a,n(c.hqa)&&(c.tra&&(c.tra.ParentStateful=b),c.vra&&(c.vra.ParentStateful=b))},FromOOModel:function(a){var b=this;b.Lqa=a,b.FromCT_Scene3D(b.Lqa.Scene3D),b.FromCT_View3D(b.Lqa.View3D),b.FromCT_Shape3D(b.Lqa.Shape3D)},ToOOModel:function(){var a=this,b=a.Lqa||{};return b.View3D=a.ToCT_View3D(),62!==a.PresetCamera&&(b.Scene3D=a.ToCT_Scene3D()),(a.IsPropDirtyIncludingParent(256,!0)||a.IsPropDirtyIncludingParent(67108864,!0))&&(b.Shape3D=a.ToCT_Shape3D()),b},FromCT_View3D:function(a){var b=this;n(a)||(n(a.hPercent)||(b._HeightPercent=a.hPercent),n(a.depthPercent)||(b._DepthPercent=a.depthPercent),n(a.rotX)||(b.RotationY=a.rotX),n(a.rotY)||(b.RotationX=a.rotY),n(a.rAngAx)?b._RightAngleAxes=!1:b._RightAngleAxes=a.rAngAx,n(a.perspective)||(b.Perspective=a.perspective/2))},ToCT_View3D:function(){var a=this,b=a.Lqa&&a.Lqa.View3D||{};return!a._AutoScale&&a.IsDirty(536870912)&&(b.hPercent=a._HeightPercent),a.IsDirty(268435456)&&(b.depthPercent=a._DepthPercent),a.IsDirty(8388608)&&(b.rotX=a.RotationY),a.IsDirty(4194304)&&(b.rotY=a.RotationX),a.IsDirty(1073741824)&&(b.rAngAx=a._RightAngleAxes),!a._RightAngleAxes&&a.IsDirty(32768)&&(b.perspective=2*a.Perspective),b},FromCT_Scene3D:function(a){n(a)||this.FromCT_Camera(a.camera)},ToCT_Scene3D:function(){var a=this,c=a.Lqa,d=c&&c.Scene3D||{};return d.camera=a.ToCT_Camera(),!n(d.camera)&&n(d.lightRig)&&(d.lightRig=a.ToDefaultCT_LightRig()),n(d.camera)&&n(d.backdrop)&&n(d.lightRig)?b:d},GetActualCT_Scene3D:function(){var a=this;return n(a.Lqa)||n(a.Lqa.Scene3D)?n(a.hqa)?b:a.GetActualCT_Scene3D():a.Lqa.Scene3D},FromCT_Shape3D:function(a){var b=this;n(a)||(0!==a.extrusionH&&(b.Depth=a.extrusionH,b.Dirty(256)),0!==a.z&&(b.Z=a.z,b.Dirty(67108864)))},ToCT_Shape3D:function(){var a=this,b=a.Lqa,c=b&&b.Shape3D||{z:0,extrusionH:0,contourW:0,prstMaterial:7};return c.extrusionH=a.Depth,c.z=a.Z,c},ToDefaultCT_LightRig:function(){return{rig:12,dir:0}},FromCT_Camera:function(a){n(a)||(this.ira(a.prst),n(a.rot)||this.FromCameraCT_SphereCoords(a.rot))},ToCT_Camera:function(){var a,c,d=this;return 0===d.xc.DrawingType||4===d.xc.DrawingType?(a={zoom:1e5},a.prst=d.PresetCamera,a.rot=d.ToCameraCT_SphereCoords(),a):(c=d.Lqa,c&&c.Scene3D&&c.Scene3D.camera||b)},FromCameraCT_SphereCoords:function(a){var b=this;n(a)||(b.RotationX=a.lon/m,b.RotationY=a.lat/m,b.RotationZ=a.rev/m)},ToCameraCT_SphereCoords:function(){var a,c,d,e,f=this;return 0===f.RotationX&&0===f.RotationY&&0===f.RotationZ?b:(a={},c=f.RotationX,d=f.RotationY,e=f.RotationZ,a.lon=c*m,a.lat=d*m,a.rev=e*m,a)}}),c}(l),i.ThreeDFormat=d,a.exports=i}()},function(a,b,c){!function(){"use strict";var b,d,e,f=c(6),g=f.j,h=g.G,i=c(3),j=c(5).StatefullBase,k=c(7),l=k.ShapeConstants,m=k.ChartUtility,n=m.defineProperty,o=k.NumberExtension,p=k.UnitHelper,q=p.isNullOrUndefined,r=Math.floor,s=Math.sqrt,t=function(a){h(b,a);function b(b,c){a.call(this);var d=this;d.Ira=5,d.Jra=!1,d.Kra=l.DefaultOffset,d.Lra=l.DefaultOffset,d.Mra=!1,d.Oz=100,d.Gqa=0,d.bz=!1,d.presetShadowOffset=-6,d.xc=b,d.hqa=c}var c=b.prototype;return c.OnStyleChange=function(){var a=this;a.Ira=0,a.Kra=0,a.Lra=0,a.Oz=100,a.Gqa=0,a.UnDirty(256),0===a.Style?a.Mra=!1:1===a.Style&&(a.Mra=!0)},c.OnTypeChange=function(){var a=this;a.Ira=5,a.Kra=a.presetShadowOffset,a.Lra=a.presetShadowOffset,a.Oz=100,a.Gqa=.5,a.UnDirty(64)},c.GetDefaultColor=function(){var a=new i.ColorFormat(this.xc,this.hqa&&this.hqa.Nra);return a.ColorType=0,a},n(c,"ForeColor",{get:function(){var a=this;return q(a.Nra)&&(a.Nra=a.GetDefaultColor()),a.Nra}}),n(c,"Obscured",{get:function(){var a=this;return a.GetState(2)||q(a.hqa)?a.Jra:a.hqa.Obscured},set:function(a){this.Jra=a,this.SetState(2,!0)}}),n(c,"Blur",{get:function(){var a=this;return a.GetState(1)||q(a.hqa)?a.Ira:a.hqa.Blur},set:function(a){this.Ira=a,this.SetState(1,!0)}}),n(c,"OffsetX",{get:function(){var a=this;return a.GetState(4)||q(a.hqa)?a.Kra:a.hqa.OffsetX},set:function(a){this.Kra=a,this.SetState(4,!0)}}),n(c,"OffsetY",{get:function(){var a=this;return a.GetState(8)||q(a.hqa)?a.Lra:a.hqa.OffsetY},set:function(a){this.Lra=a,this.SetState(8,!0)}}),n(c,"RotateWithShape",{get:function(){var a=this;return a.GetState(16)||q(a.hqa)?a.Mra:a.hqa.RotateWithShape},set:function(a){var b=this;0===b.Style||b.GetState(256)||(b.Mra=a,b.SetState(16,!0))}}),n(c,"Size",{get:function(){var a=this;return a.GetState(32)||q(a.hqa)?a.Oz:a.hqa.Size},set:function(a){this.Oz=a,this.SetState(32,!0)}}),n(c,"Style",{get:function(){var a=this;return a.GetState(64)||q(a.hqa)?a.Wqa:a.hqa.Style},set:function(a){var b=this;b.Style!==a&&b.OnStyleChange(),b.Wqa=a,b.SetState(64,!0)}}),n(c,"Transparency",{get:function(){var a=this;return a.GetState(128)||q(a.hqa)?a.Gqa:a.hqa.Transparency},set:function(a){this.Gqa=a,this.SetState(128,!0)}}),n(c,"Type",{get:function(){var a=this;return a.GetState(256)||q(a.hqa)?a.Nc:a.hqa.Type},set:function(a){this.Nc=a,this.SetState(256,!0),this.OnTypeChange()}}),n(c,"Visible",{get:function(){var a=this;return a.GetState(512)||q(a.hqa)?a.bz:a.hqa.Visible},set:function(a){var b=this;b.bz=a,b.SetState(512,!0),a===!1||b.GetState(64)||(b.Wqa=1)}}),c.IncrementOffsetX=function(a){this.OffsetX+=a},c.IncrementOffsetY=function(a){this.OffsetY+=a},c.FromOOModel=function(a){this.Lqa=a},c.ToOOModel=function(){return this.Lqa},c.ToCT_PresetShadowEffect=function(){var a=this,b=a.OffsetX,c=a.OffsetY,d=s(b*b+c*c),e={dist:0,dir:0};return e.dist=d,e.dir=r(o.GetTriangleAngle(b,c,d)*l.PositiveFixedAngleConvert),e.prst=a.Type,a.ToCT_Color(e),e},c.ToCT_InnerShadowEffect=function(){var a=this,b=a.OffsetX,c=a.OffsetY,d=s(b*b+c*c),e={blurRad:0,dist:0,dir:0};return e.blurRad=a.Blur,e.dist=d,0===b&&0===c||(e.dir=r(o.GetTriangleAngle(b,c,d)*l.PositiveFixedAngleConvert)),e.scrgbClr=a.ToCT_ScRgbColor(),e},c.ToCT_OuterShadowEffect=function(){var a=this,b=a.OffsetX,c=a.OffsetY,d=s(b*b+c*c),e={blurRad:0,dist:0,dir:0,sx:1e5,sy:1e5,kx:0,ky:0,algn:7,rotWithShape:!0};return e.blurRad=a.Blur,e.dist=d,0===b&&0===c||(e.dir=r(o.GetTriangleAngle(b,c,d)*l.PositiveFixedAngleConvert)),e.rotWithShape=a.RotateWithShape===!0,e.sx=r(a.Size*l.RelativeRectConver),e.sy=r(a.Size*l.RelativeRectConver),e.scrgbClr=a.ToCT_ScRgbColor(),e},c.ToCT_Color=function(a){var b,c,d,e,f,g=this;q(g.Nra)||(3===g.Nra.ColorType?(b={},b.val=g.Nra.ObjectThemeColor,0!==g.Nra.Brightness&&(c=r(1e5*g.Nra.Brightness),b.lumMod=[c],d=r(1e5*(1-g.Nra.Brightness)),b.lumOff=[d]),g.Nra.TintAndShade>0&&g.Nra.TintAndShade<1&&(e=r(g.Nra.TintAndShade*l.ShadeConver),b.shade=[e]),a.schemeClr=b):2===g.Nra.ColorType&&(f={},f.val=[g.Nra.RGB.R,g.Nra.RGB.G,g.Nra.RGB.B],0!==g.Nra.Brightness&&(c=r(1e5*g.Nra.Brightness),f.lumMod=[c],d=r(1e5*(1-g.Nra.Brightness)),f.lumOff=[d]),0!==g.Transparency&&(e=r(g.Transparency*l.PositiveFixedPercentageConvert),f.alpha=[e]),a.srgbClr=f))},c.ToCT_ScRgbColor=function(){var a,b={};return 0!==this.Transparency&&(a=r(this.Transparency*l.PositiveFixedPercentageConvert),b.alpha=[a]),b},c.SetState=function(b,c){a.prototype.SetState.call(this,b,c),1!==b&&4!==b&&8!==b&&16!==b&&32!==b&&128!==b||this.GetState(64)||(this.Wqa=1)},b}(j);i.ShadowFormat=t,b=function(a){h(b,a);function b(b){return a.call(this,b),this}var c=b.prototype;return c.FromOOModel=function(a){this.Lqa=a},c.ToOOModel=function(){return this.Lqa},b}(j),i.SoftEdgeFormat=b,d=function(a){h(b,a);function b(b,c){a.call(this);var d=this;return d.Oz=100,d.Nc=1,d.presetShadowOffset=-6,d.xc=b,d.hqa=c,d}var c=b.prototype;return n(c,"Blur",{get:function(){var a=this;return a.GetState(1)||q(a.hqa)?a.Ira:a.hqa.Blur},set:function(a){this.Ira=a,this.SetState(1,!0)}}),n(c,"Offset",{get:function(){var a=this;return a.GetState(2)||q(a.hqa)?a.UP:a.hqa.Offset},set:function(a){this.UP=a,this.SetState(2,!0)}}),n(c,"Size",{get:function(){var a=this;return a.GetState(4)||q(a.hqa)?a.Oz:a.hqa.Size},set:function(a){this.Oz=a,this.SetState(4,!0)}}),n(c,"Transparency",{get:function(){var a=this;return a.GetState(8)||q(a.hqa)?a.Gqa:a.hqa.Transparency},set:function(a){this.Gqa=a,this.SetState(8,!0)}}),c.FromOOModel=function(a){this.Lqa=a},c.ToOOModel=function(){return this.Lqa},c.OnTypeChange=function(){var a=this;a.Ira=5,a.UP=a.presetShadowOffset,a.Oz=100,a.Gqa=.5},b}(j),i.ReflectionFormat=d,e=function(a){h(b,a);function b(b,c){a.call(this),this.xc=b,this.hqa=c}var c=b.prototype;return n(c,"Color",{get:function(){var a=this;return q(a.tE)&&(a.tE=a.GetDefaultColor()),a.tE}}),n(c,"Radius",{get:function(){var a=this;return a.GetState(2)||q(a.hqa)?a.radius:a.hqa.Radius},set:function(a){this.radius=a,this.Dirty(2)}}),n(c,"Transparency",{get:function(){var a=this;return a.GetState(4)||q(a.hqa)?a.Gqa:a.hqa.Transparency},set:function(a){this.Gqa=a,this.Dirty(4)}}),c.FromOOModel=function(a){this.Lqa=a},c.ToOOModel=function(){return this.Lqa},c.GetDefaultColor=function(){var a=new i.ColorFormat(this.xc,this.hqa&&this.hqa.Color);return a.ColorType=0,a},c.SetState=function(b,c){var d=this;a.prototype.SetState.call(d,b,c),2!==b&&4!==b||d.tE&&0===d.tE.ColorType&&(d.tE.ColorType=2)},c.ToCT_Color=function(a){var b,c,d,e,f,g,h,i=this,j=i.tE;q(j)||(b=j.colorType,c=j.Brightness,3===b?(d={},d.val=j.ObjectThemeColor,0!==c&&(e=r(1e5*c),d.lumMod=[e],f=r(1e5*(1-c)),d.lumOff=[f]),j.TintAndShade>0&&j.TintAndShade<1&&(g=r(j.TintAndShade*l.ShadeConver),d.shade=[g]),a.schemeClr=d):2===b&&(h={},h.val=[j.RGB.R,j.RGB.G,j.RGB.B],0!==c&&(e=r(1e5*c),h.lumMod=[e],f=r(1e5*(1-c)),h.lumOff=[f]),0!==i.Transparency&&(g=r(i.Transparency*l.PositiveFixedPercentageConvert),h.alpha=[g]),a.srgbClr=h))},b}(j),i.GlowFormat=e,a.exports=i}()},function(a,b,c){!function(){"use strict";var b,d,e,f,g,h,i,j,k,l=c(6),m=l.j,n=m.G,o=c(3),p=c(5).StatefullBase,q=c(7),r=q.ChartUtility,s=r.defineProperty,t=q.ChartConstants,u=q.UnitHelper,v=u.isNullOrUndefined,w=c(11).FillFormat,x=c(20).FontData,y=null,z=void 0,A={Bold:1,Color:2,Italic:4,Name:8,OutlineFont:16,Shadow:32,Size:64,Strikethrough:128,Subscript:256,Superscript:512,ThemeFont:1024,Underline:2048};o.TextFieldType={CellRange:0,SeriesName:1,CategoryName:2,Value:3,XValue:4,YValue:5,BubbleSize:6,Percentage:7,TxLink:8},b=function(a){n(b,a);function b(b,c,d){c===z&&(c=y),d===z&&(d=y),a.call(this,c);var e=this;return e.Ora=0,e.Pra=y,e.Qra=y,e.Rra=y,e.xc=b,e.Zpa=new w(b,c&&c.FillInternal),e.hqa=c,d&&(v(d.Size)||(e.Oz=d.Size),v(d.Bold)||(e.Sra=d.Bold)),e}var c=b.prototype;return s(c,"Bold",{get:function(){var a=this.hqa;return a&&!this.GetState(1)?a.Bold:this.Sra},set:function(a){this.Sra=a,this.SetState(1,!0)}}),s(c,"Color",{get:function(){return this.FillInternal.Color}}),s(c,"Italic",{get:function(){var a=this.hqa;return a&&!this.GetState(4)?a.Italic:this.Tra},set:function(a){this.Tra=a,this.SetState(4,!0)}}),s(c,"Name",{get:function(){var a=this.hqa;return a&&!this.HasOwnFont()?a.Name:this.GetOwnFont()},set:function(a){this.SetFont(a),this.ClearOOFontNames()}}),s(c,"Size",{get:function(){var a=this.hqa;return a&&!this.GetState(64)?a.Size:this.Oz},set:function(a){this.Oz=a,this.SetState(64,!0)}}),s(c,"Strikethrough",{get:function(){var a=this.hqa;return a&&!this.GetState(128)?a.Strikethrough:this.Ura},set:function(a){this.Ura=a,this.SetState(128,!0)}}),s(c,"Subscript",{get:function(){var a=this.hqa;return a&&!this.GetState(256)?a.Subscript:this.Vra},set:function(a){this.Vra=a,this.SetState(256,!0)}}),s(c,"Superscript",{get:function(){var a=this.hqa;return a&&!this.GetState(512)?a.Superscript:this.Wra},set:function(a){this.Wra=a,this.SetState(512,!0)}}),s(c,"Underline",{get:function(){var a=this.hqa;return a&&!this.GetState(2048)?a.Underline:this.Xra},set:function(a){this.Xra=a,this.SetState(2048,!0)}}),s(c,"ThemeFont",{get:function(){var a=this.hqa;return a&&!this.GetState(1024)?a.ThemeFont:this.Ora},set:function(a){this.SetThemeFont(a),this.ClearOOFontNames()}}),c.IsDirtyIncludingParent=function(b){return!(!this.Zpa||!this.Zpa.IsDirtyIncludingParent(b))||a.prototype.IsDirtyIncludingParent.call(this,b)},c.HasOwnFont=function(){return this.IsDirty(8)||this.IsDirty(1024)},c.OnParentChanged=function(a){this.hqa=a,this.Zpa&&(this.Zpa.ParentStateful=a&&a.FillInternal)},c.GetOwnFont=function(){return 0===this.Ora?this.Cj:this.xc.Yra(this.Ora)},c.SetFont=function(a){var b=this;a===t.CHART_CS_HEAD_FONT||a===t.CHART_EA_HEAD_FONT||a===t.CHART_LATIN_HEAD_FONT?b.SetThemeFont(1):a===t.CHART_CS_BODY_FONT||a===t.CHART_EA_BODY_FONT||a===t.CHART_LATIN_BODY_FONT?b.SetThemeFont(2):(b.Cj=a,b.SetState(8,!0),b.Ora=0,b.SetState(1024,!1))},c.SetThemeFont=function(a){var b=this;b.Ora=a,b.SetState(1024,!0),b.Cj=y,b.SetState(8,!1)},c.ClearOOFontNames=function(){this.Qra=y,this.Rra=y,this.Pra=y},c.GetActualFormat=function(){var a,c,d=this,e=new b(d.xc);for(a in A)if(c=A[a],this.IsDirty(c))switch(c){case 1:e.Bold=this.Bold;break;case 4:e.Italic=this.Italic;break;case 8:e.Name=this.Name;break;case 64:e.Size=this.Size;break;case 128:e.Strikethrough=this.Strikethrough;break;case 256:e.Superscript=this.Superscript;break;case 512:e.Subscript=this.Subscript;break;case 1024:e.ThemeFont=this.ThemeFont;break;case 2048:e.Underline=this.Underline}return e},s(c,"FillInternal",{get:function(){var a=this;return a.Zpa||(a.Zpa=new w(a.xc,a.hqa&&a.hqa.FillInternal)),a.Zpa}}),c.TextCharacterProperties_FromOOModel=function(a){var b,c=this;c.SuspendClearChildrenState(),c.Zra=a,v(a.latin)||(c.Qra=a.latin.typeface),v(a.ea)||(c.Pra=a.ea.typeface),v(a.cs)||(c.Rra=a.cs.typeface),c.Qra?c.SetFont(c.Qra):c.Pra?c.SetFont(c.Pra):c.Rra&&c.SetFont(c.Rra),v(a.sz)?(c.Oz=0,c.SetState(64,!1)):(b=a.sz,c.Oz!==b&&(c.Size=b)),v(a.b)||(c.Bold=a.b),v(a.i)||(c.Italic=a.i),v(a.strike)||(c.Strikethrough=1===a.strike||2===a.strike),v(a.u)||(c.Underline=a.u),v(a.baseline)||0===a.baseline?c.Subscript=!1:c.Subscript=!0,v(a.solidFill)?v(a.noFill)?v(a.blipFill)?v(a.gradFill)?v(a.pattFill)?c.SetFillField(y):c.FillInternal.FromOOModel(a.pattFill,1):c.FillInternal.FromOOModel(a.gradFill,2):c.FillInternal.FromOOModel(a.blipFill,3):c.FillInternal.Color.ColorType=0:c.FillInternal.FromOOModel(a.solidFill,0),c.ResumeClearChilrenState()},c.AdjustStateful=function(a,b){v(a)||(a.SetParentForChildren(b),v(b)||(b.ParentStateful=a.ParentStateful),a.ParentStateful=y)},c.SetFillField=function(a){this.AdjustStateful(this.Zpa,a),this.Zpa=a},c.TextCharacterProperties_ToOOModel=function(){var a,b,c,d,e=this;return e.IsDirtyIncludingParent(!0)?(a=e.Zra||{},e.IsPropDirtyIncludingParent(8,!0)?(b=e.Name,v(a.latin)&&(a.latin={}),a.latin.typeface=b):e.IsPropDirtyIncludingParent(1024,!0)&&0!==e.ThemeFont?(v(a.latin)&&(a.latin={}),a.latin.typeface=1===e.ThemeFont?t.CHART_LATIN_HEAD_FONT:t.CHART_LATIN_BODY_FONT):(e.Qra||e.Pra||e.Rra)&&(e.Qra&&(v(a.latin)&&(a.latin={}),a.latin.typeface=e.Qra),e.Pra&&(v(a.ea)&&(a.ea={}),a.ea.typeface=e.Pra),e.Rra&&(v(a.cs)&&(a.cs={}),a.cs.typeface=e.Rra)),e.IsPropDirtyIncludingParent(64,!0)&&e.Size>1?a.sz=e.Size:delete a.sz,e.IsPropDirtyIncludingParent(1,!0)&&(a.b=e.Bold),e.IsPropDirtyIncludingParent(4,!0)&&(a.i=e.Italic),e.IsPropDirtyIncludingParent(128,!0)&&(a.strike=e.Strikethrough?1:0),e.IsPropDirtyIncludingParent(2048,!0)&&(a.u=e.Underline),e.Subscript&&v(a.baseline)?a.baseline=-25e3:e.Superscript&&v(a.baseline)?a.baseline=3e4:e.Subscript||e.Superscript||delete a.baseline,delete a.solidFill,delete a.blipFill,delete a.gradFill,delete a.grpFill,delete a.noFill,delete a.pattFill,delete a.uFill,delete a.uFillTx,!v(e.Zpa)&&e.Zpa.IsDirtyIncludingParent(!0)&&(c=e.Zpa.ToOOModel(),d=c.colorFillType,0===d?a.solidFill=c:1===d?a.pattFill=c:2===d?a.gradFill=c:3===d?a.blipFill=c:5===d&&(a.noFill=!0),delete c.colorFillType),a):{}},c.FromOOModel=function(a){var b=this;b.Bold=a.Bold,b.Italic=a.Italic,b.Name=a.Name,0!==a.Scheme&&(b.ThemeFont=a.Scheme),b.Size=a.Size,b.Underline=r.ConvertToTextUnderlineType(a.Underline),b.Strikethrough=a.Strike,b.Subscript=2===(2&a.VertAlign),b.Superscript=1===(1&a.VertAlign),b.FillInternal.ColorInternal.ColorData_FromOOModel(a.Color)},c.ToOOModel=function(){var a,b=this,c=new x;return c.Bold=b.Bold,c.Italic=b.Italic,c.Name=b.Name,c.Scheme=b.ThemeFont,c.Size=b.Size,c.Underline=r.ToUnderlineType(b.Underline),c.Strike=b.Strikethrough,b.Subscript?c.VertAlign=2:b.Superscript&&(c.VertAlign=1),a=b.Zpa,a&&a.ColorInternal.IsDirtyIncludingParent(!0)&&0!==a.ColorInternal.ColorType&&(c.Color=a.ColorInternal.ColorData_ToOOModel()),c},b}(p),o.FontFormat=b,d=function(){function a(a,c){var d=this;d.xc=a,d.$ra=c,d.MC=new b(a),d.MC.ParentStateful=c.Font}var c=a.prototype;return s(c,"Font",{get:function(){return this.MC}}),s(c,"Text",{get:function(){return""}}),s(c,"IsCustomText",{get:function(){return!1}}),c.Delete=function(){this.$ra.DeleteElement(this),this.$ra=y},a}(),o.DrawingTextElement=d,e=function(a){n(c,a);function c(b,c,d){a.call(this,b,d);var e=this;return e._ra=y,e._text=c,e.xc=b,e.elementType=0,e}var d=c.prototype;return s(d,"Text",{get:function(){return this._text},set:function(a){this._text=a}}),d.FromOOModel=function(a){var c=this;c._ra=a,c._text=a.t,v(a.rPr)?c.MC=new b(c.xc,c.MC.ParentStateful):c.MC.TextCharacterProperties_FromOOModel(a.rPr)},d.ToOOModel=function(){var a=this._ra||{elementType:0};return a.t=this.Text,a.rPr=this.MC.TextCharacterProperties_ToOOModel(),a},c}(d),o.DrawingTextRun=e,f=function(a){n(d,a);function d(b,d,e){a.call(this,b,e);var f=this;return f.Nc=d,f.Hpa=b,f.asa=new c(21)("./chartTitle.js").ReferenceText(f.Hpa),f.elementType=2,f}var e=d.prototype;return s(e,"Type",{get:function(){return this.Nc},set:function(a){this.Nc=a}}),s(e,"Text",{get:function(){return 8===this.Type?this.asa.ReferingText:r.GetTextFieldTypeText(this.Type)}}),s(e,"Worksheet",{get:function(){return this.Hpa&&this.Hpa.Parent}}),e.FromOOModel=function(a){var c=this;c.Lqa=a,c.Type=r.GetTextFieldType(a.type),v(a.rPr)?c.MC=new b(c.xc,c.MC.ParentStateful):c.MC.TextCharacterProperties_FromOOModel(a.rPr)},e.ToOOModel=function(){var a,b=this,c=b.Lqa||{elementType:2};return v(c.id)&&(a="{"+d.guid+"}",c.id=a,d.guid+=1),c.type=r.GetTextFieldTypeString(b.Type),v(c.rPr)&&(c.rPr={}),c.rPr=b.MC.TextCharacterProperties_ToOOModel(),c.t=b.Text,c},e.UpdateTextByFormulas=function(a,b){this.asa.UpdateTextByFormulas(a,b)},d}(d),f.guid=1,o.DrawingTextField=f,g=function(a){n(b,a);function b(b,c){a.call(this,b,c),this.elementType=1}var c=b.prototype;return s(c,"Text",{get:function(){return"\r\n"}}),c.FromOOModel=function(a){this.Lqa=a},c.ToOOModel=function(){return this.Lqa||{elementType:1}},b}(d),o.DrawingLineBreak=g,h=function(){function a(a,c){var d=this;d.bsa=y,d.MC=y,d.xc=y,d.csa=" ",d.xc=a,d.Lpa=c,d.MC=new b(a),d.MC.ParentStateful=d.Lpa.Font,d.rM=[]}var c=a.prototype;return s(c,"SplitSpaceFlag",{get:function(){return this.csa},set:function(a){this.csa=a}}),s(c,"Text",{get:function(){var a,b,c,d="";for(a=0,b=this.rM;a<b.length;a++)c=b[a],""!==d&&(d+=this.csa),v(c.Text)||(d+=c.Text);return d},set:function(a){this.Clear(),this.AddRun(a)}}),c.Get=function(a){return this.rM[a]},s(c,"Count",{get:function(){return this.rM.length}}),s(c,"Font",{get:function(){return this.MC}}),c.AddRun=function(a,b){return this.AddRunInternal(a,b)},c.AddField=function(a){return this.AddFieldInternal(a)},c.Clear=function(){var a,b,c;for(a=0,b=this.rM;a<b.length;a++)c=b[a],c.Font.ParentStateful=y;this.rM.length=0},c.FromOOModel=function(a){var b,c,d,h,i,j,k,l=this;if(l.bsa=a,a.pPr&&a.pPr.defRPr&&l.MC.TextCharacterProperties_FromOOModel(a.pPr.defRPr),a.elements)for(b=a.elements.length,c=l.rM=[],d=l.xc,h=0;h<b;h++)i=a.elements[h],j=i.elementType,0===j?k=new e(d,i.t,l):1===j?k=new g(d,l):2===j&&(k=new f(d,r.GetTextFieldType(i.type),l)),k&&(k.FromOOModel(i),c.push(k))},c.AddRunInternal=function(a,b){var c,d,f=this;return b===z&&(b=-1),c=new e(f.xc,a,f),d=this.rM,b<0||b>=d.length?d.push(c):d.splice(b,0,c),c},c.AddFieldInternal=function(a){var b=new f(this.xc,a,this);return this.rM.push(b),b},c.ToOOModel=function(){var a,b,c,d,e,f=this,g=f.bsa||{elements:[]};for(g.pPr||(g.pPr={}),a=g.pPr,v(f.MC)||(a.defRPr=f.MC.TextCharacterProperties_ToOOModel()),b=g.elements=[],c=0,d=f.rM,e=d.length;c<e;c++)b.push(d[c].ToOOModel());return(1===f.xc.DrawingType||v(f.bsa))&&v(g.endParaRPr)&&(g.endParaRPr={}),g},c.Delete=function(){var a,b=this;for(a=b.rM.length-1;a>=0;a--)b.DeleteElement(b.rM[a]);b.Lpa.DeleteParagraph(b),b.Lpa=y},c.DeleteElement=function(a){a.Font.ParentStateful=y;var b=this.rM.indexOf(a);b>=0&&this.rM.splice(b,1)},a}(),o.DrawingTextParagraph=h,i=function(){function a(a,c){this.dsa=[],this.esa=y,this.xc=a,this.Opa=c,this.MC=new b(a,y,c),this.kO=0}var c=a.prototype;return s(c,"Text",{get:function(){var a,b,c,d="";for(a=0,b=this.dsa;a<b.length;a++)c=b[a],""!==d&&(d+="\r\n"),d+=c.Text;return d},set:function(a){this.Clear(),this.AddParagraph(a)}}),c.Get=function(a){return this.dsa[a]},s(c,"Count",{get:function(){return this.dsa.length}}),s(c,"Font",{get:function(){return this.MC}}),s(c,"Rotation",{get:function(){return this.kO}}),c.setFontColor=function(a,b){var c,d=this,e=d.dsa.length;for(d.MC&&d.MC.Color.setColor(a,b),c=0;c<e;c++)d.dsa[c].Font.Color.setColor(a,b)},c.AddParagraph=function(a,b){var c,d;return b===z&&(b=-1),c=new h(this.xc,this),v(a)||c.AddRun(a),d=this.dsa,b<0||b>=d.length?d.push(c):d.splice(b,0,c),c},c.Clear=function(){var a,b,c;for(a=0,b=this.dsa;a<b.length;a++)c=b[a],c.Font.ParentStateful=y;this.dsa.length=0},c.ToOOModel=function(){var a,b,c,d,e,f=this,g=f.esa||{p:[]},i=this.dsa,j=i.length;if(0===j&&!this.MC.IsDirtyIncludingParent())return y;if(a=g.p=[],j>0)for(b=0;b<j;b++)c=i[b],a.push(c.ToOOModel());else d=new h(f.xc,f),e=d.ToOOModel(),e.pPr.defRPr=f.MC.TextCharacterProperties_ToOOModel(),a.push(e);return v(g.bodyPr)&&(g.bodyPr={}),v(g.lstStyle)&&(g.lstStyle={}),g},c.FromOOModel=function(a){var c,d,e,f,g,i,j,k,l,m,n,o,p=this;for(p.esa=a,c=0,d=p.dsa;c<d.length;c++)e=d[c],e.Clear();if(p.dsa.length=0,f=new b(p.xc,y,p.Opa),g=p.MC,g&&(g.SetParentForChildren(f),f.ParentStateful=g.ParentStateful,g.ParentStateful=y),p.MC=f,a.p&&a.p.length)for(i=a.p[0].pPr,i&&i.defRPr&&p.MC.TextCharacterProperties_FromOOModel(i.defRPr),j=0,k=a.p;j<k.length;j++)l=k[j],m=new h(p.xc,p),m.FromOOModel(l),p.dsa.push(m);n=a.bodyPr,n&&(o=n.rot,o&&(this.kO=o))},c.Delete=function(){for(var a=this.dsa,b=a.length-1;b>=0;b--)this.DeleteParagraph(a[b])},c.DeleteParagraph=function(a){a.Font.ParentStateful=y;var b=this.dsa.indexOf(a);b>=0&&this.dsa.splice(b,1)},a}(),o.DrawingTextBody=i,j=function(a){n(b,a);function b(b,c){a.call(this);var d=this;return d.Format1=b,d.Format2=c,d}var c=b.prototype;return s(c,"Stateful1",{get:function(){return this.Format1}}),s(c,"Stateful2",{get:function(){return this.Format2}}),s(c,"Brightness",{get:function(){var a=this;return!v(a.Format2)&&a.Stateful2.IsPropDirtyIncludingParent(1,!1)?a.Format2.Brightness:a.Format1.Brightness},set:function(a){this.Format1.Brightness=a}}),s(c,"ColorType",{get:function(){var a=this;return!v(a.Format2)&&a.Stateful2.IsPropDirtyIncludingParent(16,!1)?a.Format2.ColorType:a.Format1.ColorType},set:function(a){this.Format1.ColorType=a}}),s(c,"ObjectThemeColor",{get:function(){var a=this;return!v(a.Format2)&&a.Stateful2.IsPropDirtyIncludingParent(2,!1)?a.Format2.ObjectThemeColor:a.Format1.ObjectThemeColor},set:function(a){this.Format1.ObjectThemeColor=a}}),s(c,"RGB",{get:function(){var a=this;return!v(a.Format2)&&a.Stateful2.IsPropDirtyIncludingParent(4,!1)?a.Format2.RGB:a.Format1.RGB},set:function(a){this.Format1.RGB=a}}),s(c,"TintAndShade",{get:function(){var a=this;return!v(a.Format2)&&a.Stateful2.IsPropDirtyIncludingParent(8,!1)?a.Format2.TintAndShade:a.Format1.TintAndShade},set:function(a){this.Format1.TintAndShade=a}}),c.GetState=function(){},c.SetState=function(){},c.IsDirtyIncludingParent=function(){},c.IsPropDirtyIncludingParent=function(a,b){return this.Stateful1.IsPropDirtyIncludingParent(a,b)||this.Stateful2.IsPropDirtyIncludingParent(a,b)},c.Dirty=function(){},c.UnDirty=function(){},c.SuspendClearChildrenState=function(){},c.ResumeClearChilrenState=function(){},c.AddChildInternal=function(){},c.RemoveChildInternal=function(){},b}(p),o.ComboColorFormat=j,k=function(a){n(b,a);function b(b,c){a.call(this);var d=this;return d.Format1=b,d.Format2=c,d}var c=b.prototype;return s(c,"Stateful1",{get:function(){return this.Format1}}),s(c,"Stateful2",{get:function(){return this.Format2}}),s(c,"Bold",{get:function(){var a=this;return!v(a.Format2)&&a.Stateful2.IsPropDirtyIncludingParent(1,!1)?a.Format2.Bold:a.Format1.Bold},set:function(a){this.Format1.Bold=a}}),s(c,"Color",{get:function(){return new j(this.Format1.Color,this.Format2.Color)}}),s(c,"Italic",{get:function(){var a=this;return!v(a.Format2)&&a.Stateful2.IsPropDirtyIncludingParent(4,!1)?a.Format2.Bold:a.Format1.Bold},set:function(a){this.Format1.Bold=a}}),s(c,"Name",{get:function(){var a=this;return!v(a.Format2)&&a.Stateful2.IsPropDirtyIncludingParent(8,!1)?a.Format2.Name:a.Format1.Name},set:function(a){this.Format1.Name=a}}),s(c,"Size",{get:function(){var a=this;return!v(a.Format2)&&a.Stateful2.IsPropDirtyIncludingParent(64,!1)?a.Format2.Size:a.Format1.Size},set:function(a){this.Format1.Size=a}}),s(c,"Strikethrough",{get:function(){var a=this;return!v(a.Format2)&&a.Stateful2.IsPropDirtyIncludingParent(128,!1)?a.Format2.Strikethrough:a.Format1.Strikethrough},set:function(a){this.Format1.Strikethrough=a}}),s(c,"Subscript",{get:function(){var a=this;return!v(a.Format2)&&a.Stateful2.IsPropDirtyIncludingParent(256,!1)?a.Format2.Subscript:a.Format1.Subscript},set:function(a){this.Format1.Subscript=a}}),s(c,"Superscript",{get:function(){var a=this;return!v(a.Format2)&&a.Stateful2.IsPropDirtyIncludingParent(512,!1)?a.Format2.Superscript:a.Format1.Superscript},set:function(a){this.Format1.Superscript=a}}),s(c,"ThemeFont",{get:function(){var a=this;return!v(a.Format2)&&a.Stateful2.IsPropDirtyIncludingParent(1024,!1)?a.Format2.ThemeFont:a.Format1.ThemeFont},set:function(a){this.Format1.ThemeFont=a}}),s(c,"Underline",{get:function(){var a=this;return!v(a.Format2)&&a.Stateful2.IsPropDirtyIncludingParent(2048,!1)?a.Format2.Underline:a.Format1.Underline},set:function(a){this.Format1.Underline=a}}),c.GetState=function(){},c.SetState=function(){},c.IsDirtyIncludingParent=function(){},c.IsPropDirtyIncludingParent=function(a,b){return this.Stateful1.IsPropDirtyIncludingParent(a,b)||this.Stateful2.IsPropDirtyIncludingParent(a,b)},c.Dirty=function(){},c.UnDirty=function(){},c.SuspendClearChildrenState=function(){},c.ResumeClearChilrenState=function(){},c.AddChildInternal=function(){},c.RemoveChildInternal=function(){},b}(p),o.ComboFontFormat=k,a.exports=o}()},function(a,b,c){!function(){"use strict";var b,d=c(3),e=c(7),f=e.UnitHelper.isNullOrUndefined;d.UnderlineType={None:0,Single:1,Double:2,SingleAccounting:3,DoubleAccounting:4},b=function(){function a(){var a=this;a.Flag=0,a.Size=0,a.Family=0,a.CharSet=0,a.Scheme=0,a.Underline=0,a.VertAlign=0}var b=a.prototype;return b.Equals=function(a){if(f(a))return!1;var b=this;return b.Size===a.Size&&b.Color.Equals(a.Color)&&b.Name===a.Name&&b.Family===a.Family&&b.CharSet===a.CharSet&&b.Scheme===a.Scheme&&b.Bold===a.Bold&&b.Italic===a.Italic&&b.Underline===a.Underline&&b.Strike===a.Strike&&b.VertAlign===a.VertAlign&&b.Shadow===a.Shadow&&b.Outline===a.Outline&&b.Condense===a.Condense&&b.Extend===a.Extend&&b.NotUsed===a.NotUsed},b.Clone=function(){var b=new a,c=this;return b.Color=c.Color,b.Size=c.Size,b.Name=c.Name,b.Family=c.Family,b.CharSet=c.CharSet,b.Scheme=c.Scheme,b.Bold=c.Bold,b.Italic=c.Italic,b.Underline=c.Underline,b.Strike=c.Strike,b.VertAlign=c.VertAlign,b.Shadow=c.Shadow,b.Outline=c.Outline,b.Condense=c.Condense,b.Extend=c.Extend,b.Flag=c.Flag,b.NotUsed=c.NotUsed,b},b.UpdateDefaultValueFlag=function(){var a=this,b=0;a.Color.UpdateDefaultValueFlag(),0!==a.Color.Flag&&(b|=1),0!==a.Size&&(b|=2),f(a.Name)||(b|=4),0!==a.Family&&(b|=8),0!==a.CharSet&&(b|=16),0!==a.Scheme&&(b|=32),a.Bold&&(b|=64),a.Italic&&(b|=128),0!==a.Underline&&(b|=256),a.Strike&&(b|=512),0!==a.VertAlign&&(b|=1024),a.Shadow&&(b|=2048),a.Outline&&(b|=4096),a.Condense&&(b|=8192),a.Extend&&(b|=16384),a.Flag=b},b.UpdateFlagFromBottom=function(){var a=this;a.Color.UpdateFlagFromBottom(),0===a.Color.Flag?a.Flag&=-2:a.Flag|=1},b.UpdateDefaultValueFlagForDxf=function(){var a=this,b=a.Flag,c=0;64===(64&b)&&(c|=64),128===(128&b)&&(c|=128),a.Color.UpdateDefaultValueFlag(),0!==a.Color.Flag&&(c|=1),0!==a.Size&&(c|=2),f(a.Name)||(c|=4),0!==a.Family&&(c|=8),0!==a.CharSet&&(c|=16),0!==a.Scheme&&(c|=32),0!==a.Underline&&(c|=256),a.Strike&&(c|=512),0!==a.VertAlign&&(c|=1024),a.Shadow&&(c|=2048),a.Outline&&(c|=4096),a.Condense&&(c|=8192),a.Extend&&(c|=16384),a.Flag=c},b.Compose=function(a,b){void 0===b&&(b=!0),0!==a.Flag&&(b?this.ConflictCompose(a):this.NonConflictCompose(a))},b.ConflictCompose=function(a){var b=this,c=a.Flag;1===(1&c)&&b.Color.Compose(a.Color),2===(2&c)&&(b.Size=a.Size),4===(4&c)&&(b.Name=a.Name),8===(8&c)&&(b.Family=a.Family),16===(16&c)&&(b.CharSet=a.CharSet),32===(32&c)?b.Scheme=a.Scheme:4===(4&c)&&(b.Scheme=0,c&=-33),64===(64&c)&&(b.Bold=a.Bold),128===(128&c)&&(b.Italic=a.Italic),256===(256&c)&&(b.Underline=a.Underline),512===(512&c)&&(b.Strike=a.Strike),1024===(1024&c)&&(b.VertAlign=a.VertAlign),2048===(2048&c)&&(b.Shadow=a.Shadow),4096===(4096&c)&&(b.Outline=a.Outline),8192===(8192&c)&&(b.Condense=a.Condense),16384===(16384&c)&&(b.Extend=a.Extend),b.Flag|=c},b.NonConflictCompose=function(a){var b=this,c=b.Flag;b.Color.Compose(a.Color,!1),2!==(2&c)&&(b.Size=a.Size),4!==(4&c)&&(b.Name=a.Name),8!==(8&c)&&(b.Family=a.Family),16!==(16&c)&&(b.CharSet=a.CharSet),32!==(32&c)&&(b.Scheme=a.Scheme),64!==(64&c)&&(b.Bold=a.Bold),128!==(128&c)&&(b.Italic=a.Italic),256!==(256&c)&&(b.Underline=a.Underline),512!==(512&c)&&(b.Strike=a.Strike),1024!==(1024&c)&&(b.VertAlign=a.VertAlign),2048!==(2048&c)&&(b.Shadow=a.Shadow),4096!==(4096&c)&&(b.Outline=a.Outline),8192!==(8192&c)&&(b.Condense=a.Condense),16384!==(16384&c)&&(b.Extend=a.Extend),b.Flag|=a.Flag},b.RemoveDuplicateStyle=function(a){return this.Compare(a,!1)},b.RemoveDifferentStyle=function(a){return this.Compare(a,!0)},b.Compare=function(a,b){var c,d,e,f,g=this,h=g.Flag,i=a.Flag,j=[],k=!1;if(1===(1&h)&&(c=1!==(1&i),c||(b?(k=g.Color.RemoveDifferentStyle(a.Color),c=0===g.Color.Flag):(k=g.Color.RemoveDuplicateStyle(a.Color),c=0!==g.Color.Flag)),d=b?c:!c,d&&j.push(1)),2===(2&h)&&(c=2!==(2&i)||g.Size!==a.Size,d=b?c:!c,d&&j.push(2)),4===(4&h)&&(c=4!==(4&i)||g.Name!==a.Name,d=b?c:!c,d&&j.push(4)),8===(8&h)&&(c=8!==(8&i)||g.Family!==a.Family,d=b?c:!c,d&&j.push(8)),16===(16&h)&&(c=16!==(16&i)||g.CharSet!==a.CharSet,d=b?c:!c,d&&j.push(16)),32===(32&h)&&(c=32!==(32&i)||g.Scheme!==a.Scheme,d=b?c:!c,d&&j.push(32)),64===(64&h)&&(c=64!==(64&i)||g.Bold!==a.Bold,d=b?c:!c,d&&j.push(64)),128===(128&h)&&(c=128!==(128&i)||g.Italic!==a.Italic,d=b?c:!c,d&&j.push(128)),256===(256&h)&&(c=256!==(256&i)||g.Underline!==a.Underline,d=b?c:!c,d&&j.push(256)),512===(512&h)&&(c=512!==(512&i)||g.Strike!==a.Strike,d=b?c:!c,d&&j.push(512)),1024===(1024&h)&&(c=1024!==(1024&i)||g.VertAlign!==a.VertAlign,d=b?c:!c,d&&j.push(1024)),2048===(2048&h)&&(c=2048!==(2048&i)||g.Shadow!==a.Shadow,d=b?c:!c,d&&j.push(-2049)),4096===(4096&h)&&(c=4096!==(4096&i)||g.Outline!==a.Outline,d=b?c:!c,d&&j.push(4096)),8192===(8192&h)&&(c=8192!==(8192&i)||g.Condense!==a.Condense,d=b?c:!c,d&&j.push(8192)),16384===(16384&h)&&(c=16384!==(16384&i)||g.Extend!==a.Extend,d=b?c:!c,d&&j.push(16384)),e=j.length,e>0)for(k=!0,f=0;f<e;f++)h&=~j[f];return g.Flag=h,k},b.ClearFlag=function(){this.Color.ClearFlag(),
this.Flag=0},b.SetFullFlag=function(){this.Color.SetFullFlag(),this.Flag=32767},b.IsFullFlag=function(){return 32767===this.Flag&&!!this.Color.IsFullFlag()},a}(),d.FontData=b,a.exports=d}()},function(a,b,c){var d={"./axis":22,"./axis.js":22,"./chart":23,"./chart-dv":29,"./chart-dv.js":29,"./chart-spreadjs":33,"./chart-spreadjs.js":33,"./chart.js":23,"./chart.ns":3,"./chart.ns.js":3,"./chartFormat":10,"./chartFormat.js":10,"./chartGroup":30,"./chartGroup.js":30,"./chartSource":36,"./chartSource.js":36,"./chartTitle":9,"./chartTitle.js":9,"./chartview":34,"./chartview.js":34,"./color":14,"./color.js":14,"./colorData":13,"./colorData.js":13,"./colorFormat":12,"./colorFormat.js":12,"./common":7,"./common.js":7,"./dataPoint":28,"./dataPoint.js":28,"./drawingInterface":4,"./drawingInterface.js":4,"./dv/dv":1,"./dv/dv.financial":2,"./dv/dv.financial.js":2,"./dv/dv.js":1,"./effects":18,"./effects.js":18,"./fillFormat":11,"./fillFormat.js":11,"./fontData":20,"./fontData.js":20,"./fontFormat":19,"./fontFormat.js":19,"./gradient":15,"./gradient.js":15,"./legend":31,"./legend.js":31,"./lineFormat":16,"./lineFormat.js":16,"./picture":37,"./picture.js":37,"./plotArea":32,"./plotArea.js":32,"./series":25,"./series.js":25,"./stateful":5,"./stateful.js":5,"./threeDFormat":17,"./threeDFormat.js":17};function e(a){return c(f(a))}function f(a){return d[a]||function(){throw Error("Cannot find module '"+a+"'.")}()}e.keys=function a(){return Object.keys(d)},e.resolve=f,a.exports=e,e.id=21},function(a,b,c){!function(){"use strict";var b,d,e,f,g,h=c(3),i=c(8).GC$,j=i.inherit,k=c(7),l=k.UnitHelper,m=l.isNullOrUndefined,n=k.ChartUtility,o=k.ChartConstants,p=k.AxisUtility,q=k.DateTimeExtension,r=k.ChartElementBase,s=n.defineProperty,t=c(10).ChartFormat,u=c(12).ColorFormat,v=c(9),w=v.DrawingText,x=v.ChartTitleBase,y=7,z=4*y,A=null,B=void 0,C=Math.abs,D=Math.ceil,E=function(a){j(b,a);function b(b,c,d){var e=a.call(this,b)||this;return e.fsa=c,e.Nc=d,e}var c=b.prototype;return s(c,"DefaultText",{get:function(){return"Axis Title"}}),s(c,"DefaultFontSize",{get:function(){return l.pointToPixel(10)}}),c.Delete=function(){this.Spa.Axes.Item(this.Nc,this.fsa).HasTitle=!1},b}(x);h.AxisTitle=E,b=function(a){j(b,a);function b(b){var c=a.call(this)||this;return c.gsa=A,c.hsa=b,c.Qpa=c.GetDefaultChartText(),c}var c=b.prototype;return c.GetDefaultChartText=function(){var a=this.hsa.Parent.Parent;return new w(a.Parent,a.ChartArea.Font)},s(c,"Parent",{get:function(){return this.hsa}}),s(c,"Font",{get:function(){return this.Qpa.Font}}),s(c,"Format",{get:function(){return this.ChartFormat}}),s(c,"Text",{get:function(){return this.Qpa.Text?this.Qpa.Text:this.GetAutoText()},set:function(a){this.Qpa.Text=a}}),c.Delete=function(){this.hsa.HasDisplayUnitLabel=!1},c.GetAutoText=function(){var a=this.hsa,b=a.DisplayUnit,c={8:"Trillions",7:"Billions",4:"Millions",1:"Thousands",0:"Hundreds"};return c[b]||"x"+a.GetValuesFromDispUnit(b)},c.FromOOModel=function(a){this.gsa=a,a&&(m(a.builtInUnit)?m(a.custUnit)||(this.hsa.DisplayUnitCustom=a.custUnit):this.hsa.DisplayUnit=a.builtInUnit,this.FromCT_DispUnitsLbl(a.dispUnitsLbl))},c.ToOOModel=function(){var a=this,b=a.gsa,c=b||{};return 10===a.hsa.DisplayUnit?c.custUnit=a.hsa.DisplayUnitCustom:c.builtInUnit=a.hsa.DisplayUnit,c.dispUnitsLbl=a.ToCT_DispUnitsLbl(),c},c.ToCT_DispUnitsLbl=function(){var a,b,c,d=this;return d.hsa.HasDisplayUnitLabel?(a=d.gsa,b=a&&a.dispUnitsLbl||{},b.spPr=d.ToShapeProperties(),c=d.Qpa.ToOOModel(),d.Qpa.Text?(m(d.Qpa.TextRefer)?b.tx=c:b.tx={strRef:c.strRef},b.txPr=A):(b.txPr=c.rich,b.tx=A),b):A},c.FromCT_DispUnitsLbl=function(a){var b,c=this;return m(a)?(c.hsa.HasDisplayUnitLabel=!1,void c.FromShapeProperties(A)):(c.FromShapeProperties(a.spPr),c.hsa.HasDisplayUnitLabel=!0,b=a.tx,b||(b={rich:a.txPr}),void c.Qpa.FromOOModel(b))},c.CreateFormat=function(){return new t(this.hsa.Parent.Parent)},b}(r),h.DisplayUnitLabel=b,d=function(a){j(b,a);function b(b){var c=a.call(this)||this;return c.hsa=b,c}var c=b.prototype;return s(c,"Parent",{get:function(){return this.hsa}}),s(c,"Format",{get:function(){return this.ChartFormat}}),c.FromOOModel=function(a){this.isa=a,a&&this.FromShapeProperties(a.spPr)},c.ToOOModel=function(){var a=this.isa||{};return a.spPr=this.ToShapeProperties(),a},c.CreateFormat=function(){return new t(this.hsa.Parent.Parent)},b}(r),h.Gridlines=d,e=function(){function a(a){var b,c=this;c.jsa=!0,c._orientation=0,c.hsa=a,b=c.hsa.Parent.Parent,c.Qpa=new w(b.Parent,b.ChartArea.Font),c.Qpa.Font.Size=l.pointToPixel(9),c.UP=0}var b=a.prototype;return s(b,"Font",{get:function(){return this.Qpa.Font}}),s(b,"NumberFormat",{get:function(){return this.GetNumberFormat()},set:function(a){this.Rd=a,this.jsa=!1}}),s(b,"NumberFormatLinked",{get:function(){return this.jsa},set:function(a){a?this.Rd=A:this.Rd=this.GetNumberFormat(),this.jsa=a}}),s(b,"Offset",{get:function(){return this.UP},set:function(a){this.UP=a}}),s(b,"Parent",{get:function(){return this.hsa}}),b.GetNumberFormat=function(){var a,b,c,d,e,f,g,h,i=this,j=i.hsa,k=j.Type,l=j.Parent.Parent,n=i.Rd;if(i.NumberFormatLinked){if(a=A,b=l.SeriesCollection,b.Count>0&&(a=b.Get(0)),m(a))return A;c=A,0===k?c=a.XValuesRefers:1===k&&(c=a.ValuesRefers),c&&c.length>0&&(d={sheet:A,row:-1,col:-1},a.GetRowColIndex(c,0,d),e=d.sheet,f=d.row,g=d.col,e&&f!==-1&&g!==-1&&(h=e.ksa(f,g),h&&h.FormatCode&&(n=h.FormatCode)))}return n||i.jPa(l.ChartType,k,j)},b.jPa=function(a,b,c){var d="General";return n.IsStockChart(a)&&0===b||c.IsTimeScale()?d="mm/dd/yyyy":n.IsStacked100Chart(a)&&1===b&&(d="0%"),d},b.FromOOModel=function(a){var b=this,c={rich:a.CT_TextBody};b.Qpa.FromOOModel(c),a.CT_NumFmt?(b.Rd=a.CT_NumFmt.formatCode,b.jsa=a.CT_NumFmt.sourceLinked!==!1):(b.Rd=A,b.jsa=!0)},b.ToOOModel=function(){var a,b=this.Qpa.ToOOModel().rich,c={};return c.formatCode=this.GetNumberFormat(),this.NumberFormatLinked===!1&&(c.sourceLinked=!1),a={},a.CT_TextBody=b,a.CT_NumFmt=c,a},a}(),h.TickLabels=e,f=function(a){j(c,a);function c(b,c,d){var e=a.call(this)||this;return e.lsa=2,e.msa=2,e.nsa=!0,e.osa=10,e.psa=!1,e.qsa=9,e.rsa=1,e.ssa=A,e.tsa=A,e.usa=1,e.vsa=!0,e.wsa=2,e.xsa=1,e.ysa=!1,e.zsa=A,e.Asa=!0,e.Bsa=A,e.Csa=A,e.Dsa=b,e.Nc=c,e.fsa=d,e.zsa=new E(e.Dsa.Parent,e.fsa,e.Nc),e.Esa=e.GetDefaultTickLabels(),e.InitProps(),e.InitRulers(),e}var f=c.prototype;return f.InitRulers=function(){var a=this;a.Fsa=0,a.Gsa=1.2,a.Hsa=!0,a.Isa=!0,a.Jsa=.2,a.Ksa=.04,a.Lsa=!0,a.Msa=!0,a.Nsa=0,a.Osa=!0,a.Psa=0,a.Qsa=0,a.Rsa=1},f.InitProps=function(){var a=this;a.Ssa=0,a.Tsa=0,a.IsValueScaleAxis()&&0===a.fsa&&(a.Usa=!0,a.Vsa=a.GetDefaultGridlines()),a.IsValueOrDateScaleAxis()?(a.Wsa=1,a.IsLogarithmic?a.Xsa=1:a.Xsa=0,a.usa=10):0===a.Nc?(1===a.fsa?a.Wsa=2:a.Wsa=1,1===a.Tsa?a.usa=1:a.usa=10):2===a.Nc&&(a.Wsa=1),a.Ysa=0===a.Nc&&0!==a.fsa,a.nsa=!n.IsSurfaceChart(a.Chart.ChartType),a.tsa=new b(a),a.Kb=a.GetDefaultFormat()},s(f,"AxisBetweenCategories",{get:function(){return this.nsa},set:function(a){this.nsa=a}}),s(f,"AxisGroup",{get:function(){return this.fsa}}),s(f,"Type",{get:function(){return this.Nc}}),s(f,"CategoryType",{get:function(){return this.Ssa},set:function(a){var b=this;a!==b.Ssa&&(b.EnsureAxisType(0),b.EnsureNotAxisCatType(3),b.UpdateCategoryType(a),b.Chart.HandleElementChanged(8,b,o.CategoryType))}}),s(f,"ActualCategoryType",{get:function(){return this.Tsa},set:function(a){a!==this.Tsa&&(this.Tsa=a,this.UpdateAxisRulers())}}),s(f,"CategoryNames",{get:function(){return this.EnsureAxisType(0),this.EnsureNotAxisCatType(3),this.GetCategoryNames()},set:function(a){this.EnsureAxisType(0),this.EnsureNotAxisCatType(3),this.Chart.HandleElementChanged(8,this,o.CategoryNames,a)}}),s(f,"ScaleType",{get:function(){return this.Rsa},set:function(a){a!==this.Rsa&&(this.Rsa=a,this.UpdateAxisRulers())}}),s(f,"MaximumScale",{get:function(){return this.Gsa},set:function(a){var b=this;b.Isa=!1,a!==b.Gsa&&(b.Gsa=a,b.IsValueOrDateScaleAxis()&&(b.Gsa<b.Fsa&&(b.Hsa=!0),C(b.Gsa-b.Fsa)<b.Jsa&&(b.Lsa=!0,b.Msa=!0)),b.UpdateAxisRulers())}}),s(f,"MaximumScaleIsAuto",{get:function(){return this.Isa},set:function(a){a!==this.Isa&&(this.Isa=a,this.UpdateAxisRulers())}}),s(f,"MinimumScale",{get:function(){return this.Fsa},set:function(a){var b=this;b.Hsa=!1,a!==b.Fsa&&(b.Fsa=a,b.IsValueOrDateScaleAxis()&&(b.Gsa<b.Fsa&&(b.Isa=!0),C(b.Gsa-b.Fsa)<b.Jsa&&(b.Lsa=!0,b.Msa=!0)),b.UpdateAxisRulers())}}),s(f,"MinimumScaleIsAuto",{get:function(){return this.Hsa},set:function(a){a!==this.Hsa&&(this.Hsa=a,this.UpdateAxisRulers())}}),s(f,"MajorUnit",{get:function(){return this.Jsa},set:function(a){var b=this;b.ZOa()&&(2===b.Tsa&&(a=D(a)),b.Lsa=!1,a!==b.Jsa&&(b.Jsa=a,(b.IsValueScaleAxis()||b.IsTimeScale()&&b.Qsa===b.Psa)&&b.Jsa<b.Ksa&&(b.Msa=!0),b.UpdateAxisRulers()))}}),s(f,"MajorUnitIsAuto",{get:function(){return this.Lsa},set:function(a){a!==this.Lsa&&(this.Lsa=a,this.UpdateAxisRulers())}}),s(f,"MinorUnit",{get:function(){return this.Ksa},set:function(a){var b=this;b.ZOa()&&(2===b.Tsa&&(a=D(a)),b.Msa=!1,a!==b.Ksa&&(b.Ksa=a,(b.IsValueScaleAxis()||b.IsTimeScale()&&b.Qsa===b.Psa)&&b.Ksa>b.Jsa&&(b.Lsa=!0),b.UpdateAxisRulers()))}}),s(f,"MinorUnitIsAuto",{get:function(){return this.Msa},set:function(a){a!==this.Msa&&(this.Msa=a,this.UpdateAxisRulers())}}),s(f,"BaseUnit",{get:function(){return this.Nsa},set:function(a){var b=this;b.Osa=!1,a!==b.Nsa&&(b.Nsa=a,b.MinorUnitIsAuto&&(b.Psa=a),b.MajorUnitIsAuto&&(b.Qsa=a)),b.UpdateAxisRulers()}}),s(f,"BaseUnitIsAuto",{get:function(){return this.Osa},set:function(a){a!==this.Osa&&(this.Osa=a,this.UpdateAxisRulers())}}),s(f,"MinorUnitScale",{get:function(){return this.Msa?this.Nsa:this.Psa},set:function(a){this.Msa=!1,a!==this.Psa&&(this.Psa=a,this.UpdateAxisRulers())}}),s(f,"MajorUnitScale",{get:function(){return this.Lsa?this.Nsa:this.Qsa},set:function(a){this.Lsa=!1,a!==this.Qsa&&(this.Qsa=a,this.UpdateAxisRulers())}}),s(f,"AxisTitle",{get:function(){return this.ysa?this.zsa:A},set:function(a){this.zsa=a}}),s(f,"Crosses",{get:function(){return this.GetCrosses()},set:function(a){a!==this.Wsa&&(0===a&&(this.Xsa=this.GetCrossesAt()),this.Wsa=a)}}),s(f,"CrossesAt",{get:function(){return this.GetCrossesAt()},set:function(a){a!==this.Xsa&&(this.Xsa=a,this.Wsa=0)}}),s(f,"Format",{get:function(){var a=this;return m(a.Kb)&&(a.Kb=a.GetDefaultFormat()),a.Kb}}),s(f,"DisplayUnit",{get:function(){return this.qsa},set:function(a){var b=this;a!==b.qsa&&(b.qsa=a,10===a&&(b.rsa=b.GetValuesFromDispUnit(a))),9!==a&&m(b.ssa)&&(b.ssa=!0)}}),s(f,"DisplayUnitCustom",{get:function(){return this.rsa},set:function(a){this.rsa=a,this.qsa=10,m(this.ssa)&&(this.ssa=!0)}}),s(f,"DisplayUnitLabel",{get:function(){return this.HasDisplayUnitLabel?this.tsa:A}}),s(f,"HasDisplayUnitLabel",{get:function(){return!m(this.ssa)&&this.ssa},set:function(a){this.ssa=a}}),s(f,"HasMajorGridlines",{get:function(){return!!this.Usa},set:function(a){var b=this;a!==b.Usa&&(b.Usa=a,a&&m(b.Vsa)&&(b.Vsa=b.GetDefaultGridlines()))}}),s(f,"HasMinorGridlines",{get:function(){return!!this.Zsa},set:function(a){var b=this;a!==b.Zsa&&(b.Zsa=a,a&&m(b.$sa)&&(b.$sa=b.GetDefaultGridlines()))}}),s(f,"HasTitle",{get:function(){return this.ysa},set:function(a){this.ysa=a}}),s(f,"LogBase",{get:function(){return this.osa},set:function(a){if(a!==this.osa){if(a<2||a>1e3)throw Error("The LogBase must be in range of 2 and 1000!");this.osa=a,this.UpdateAxisRulers()}}}),s(f,"MajorGridlines",{get:function(){return this.Usa?this.Vsa:A}}),s(f,"MinorGridlines",{get:function(){return this.Zsa?this.$sa:A}}),s(f,"Parent",{get:function(){return this.Dsa}}),s(f,"ReversePlotOrder",{get:function(){return this.psa},set:function(a){this.psa=a}}),s(f,"TickLabelPosition",{get:function(){return this.wsa},set:function(a){this.wsa=a}}),s(f,"TickLabels",{get:function(){return this.Esa}}),s(f,"TickLabelSpacing",{get:function(){return this.vsa?1:this.usa},set:function(a){if(a<1)throw Error("The value must be equal to or greater than 1");this.usa=a,this.vsa=!1}}),s(f,"TickLabelSpacingIsAuto",{get:function(){return this.vsa},set:function(a){this.vsa=a}}),s(f,"MajorTickMark",{get:function(){return this.lsa},set:function(a){this.lsa=a}}),s(f,"MinorTickMark",{get:function(){return this.msa},set:function(a){this.msa=a}}),s(f,"TickMarkSpacing",{get:function(){return this.xsa},set:function(a){this.xsa=a}}),s(f,"Visible",{get:function(){return!this.Ysa},set:function(a){this.Ysa=!a}}),s(f,"NoMultiLvlLbl",{get:function(){return this.Asa},set:function(a){a!==this.NoMultiLvlLbl&&(this.Asa=a,0!==this.TickLabels.Offset||a||(this.TickLabels.Offset=100))}}),s(f,"Chart",{get:function(){return this.Parent.Parent}}),f.GetDefaultGridlines=function(){var a=new d(this),b=a.Format.Line;return b.Color.ObjectThemeColor=1,b.Weight=1,b.Color.Brightness=o.DefaultLineColorBrightness,a},f.GetDefaultTickLabels=function(){return new e(this)},s(f,"SeriesCollection",{get:function(){return this.Dsa.Parent.SeriesCollection}}),s(f,"IsLogarithmic",{get:function(){return 0===this.Rsa}}),f.GetCategoryNames=function(){var a,b,c,d=this,e=d.SeriesCollection,f=e.Count;if(f>0){if(2===d.Nc){for(a=[],b=0;b<f;b++)a.push(e.Get(b).Name);return a}return c=d.GetFirstRightSer(),c.GetXValuesText(e.GetMaxPointsCount(d.fsa),d.TickLabels.NumberFormatLinked?A:d.TickLabels.NumberFormat)}return[]},f.UpdateAxisRulers=function(){var a=this;1===a.Nc?a.UpdateValueAxis():0===a.Nc&&(2===a.Tsa?a.UpdateCatAxisTimeScale():3===a.Tsa&&a.UpdateCatAxisValueScale())},f.UpdateValueScaleAxis=function(){this.UpdateValueAxisMinMax(),this.UpdateValueAxisMajorMinor()},f.UpdateValueAxis=function(){this.UpdateValueScaleAxis()},f.UpdateAxisForCatScale=function(){},f.UpdateCatAxisValueScale=function(){this.UpdateValueScaleAxis()},f.UpdateCatAxisTimeScale=function(){this.UpdateDateTimeAxisMinMax(),this.UpdateDateTimeAxisMajorMinorUnit()},f.UpdateDateTimeAxisMinMax=function(){var a,b=this;(b.MinimumScaleIsAuto||b.MaximumScaleIsAuto)&&(a=b.GetInitialMinMax(),b.MinimumScaleIsAuto&&(b.Fsa=a.initMin),b.MaximumScaleIsAuto&&(b.Gsa=a.initMax))},f.UpdateValueAxisMinMax=function(){var a,b,c,d=this;(d.MinimumScaleIsAuto||d.MaximumScaleIsAuto)&&(a={majorUnit:0},b=d.CalcualteValueAxisMinMax(a),c=a.majorUnit,d.MinimumScaleIsAuto&&(d.Fsa=b.Min),d.MaximumScaleIsAuto&&(d.Gsa=b.Max,n.allSeriesIsScatterOrBubble(d.Chart)&&(d.Gsa+=c)))},f.UpdateValueAxisMajorMinor=function(){var a,b=this;(b.MajorUnitIsAuto||b.MinorUnitIsAuto)&&(a=b.CalculateValueAxisMajorMinorUnit(),b.MinorUnitIsAuto&&(b.Ksa=a.Min),b.MajorUnitIsAuto&&(b.Jsa=a.Max))},f.CalcualteValueAxisTempMinMax=function(a,b){var c=this,d=c.GetInitialMinMax(a,b),e=d.initMin,f=d.initMax,g=p.CalculateValidMinimum(e,f,c.IsLogarithmic,c.LogBase,c.MinimumScaleIsAuto||a,c.MaximumScaleIsAuto||b),h=p.CalculateValidMaximum(e,f,c.IsLogarithmic,c.LogBase);return p.calcMinMax(g,h,c.IsLogarithmic,c.Dsa.Spa)},f.GetInitialMinMax=function(a,b){var c,d,e=this,f=e.SeriesCollection;return c=e.Hsa||a?0===e.Nc?0===e.fsa?f.PrimaryXValuesMinMax.Min:f.SecondaryXValuesMinMax.Min:0===e.fsa?f.PrimaryValuesMinMax.Min:f.SecondaryValuesMinMax.Min:e.Fsa,d=e.Isa||b?0===e.Nc?0===e.fsa?f.PrimaryXValuesMinMax.Max:f.SecondaryXValuesMinMax.Max:0===e.fsa?f.PrimaryValuesMinMax.Max:f.SecondaryValuesMinMax.Max:e.Gsa,{initMin:c,initMax:d}},f.CalcualteValueAxisMinMax=function(a,b,c){var d=this,e=d.CalcualteValueAxisTempMinMax(b,c),f=a.majorUnit=d.Lsa?d.CalculateValueAxisMajorMinorUnit(e).Max:d.Jsa,g=p.CalculateMinimum2(e.Min,e.Max,f,d.IsLogarithmic,d.LogBase),h=p.CalculateMaximum2(e.Min,e.Max,f,d.IsLogarithmic,d.LogBase);return{Min:g,Max:h}},f.CalculateValueAxisMajorMinorUnit=function(a){var b,c,d=this;return m(a)&&(a=d.CalcualteValueAxisTempMinMax()),b=p.CalculateMajorUnit(a.Min,a.Max,d.MinorUnitIsAuto,d.MinorUnit,d.IsLogarithmic,d.LogBase),c=p.CalculateMinorUnit(a.Min,a.Max,b,d.IsLogarithmic),{Min:c,Max:b}},f.UpdateDateTimeAxisMajorMinorUnit=function(){var a,b,c,d,e,f=this,g=q.FromOADate(f.MinimumScale),h=q.FromOADate(f.MaximumScale);(f.Osa||f.Lsa)&&(a=f.SeriesCollection.GetMaxPointsCount(f.fsa),b={unitValue:0},c=f.CalculateTimeUnit(g,h,a,b),d=b.unitValue,f.Osa&&(f.Nsa=c),f.Lsa&&(f.Jsa=d,f.Qsa=c)),f.Msa&&(e=f.Qsa,0===e?(f.Psa=0,f.Ksa=1):1===e?1===f.Jsa?(f.Psa=0,f.Ksa=y):(f.Psa=1,f.Ksa=1):2===e&&(f.Psa=2,f.Ksa=1))},f.CalculateTimeUnit=function(a,b,c,d){var e,f,g,h,i;for(a.getFullYear()!==b.getFullYear()?(f=2,e=1):a.getMonth()!==b.getMonth()?(f=1,e=12):(f=0,e=y),g=this.GetDateItemsCount(a,b,f,e);g<c&&0!==f;)2===f?(f=1,e=12):1===f&&(1===e?(f=0,h=b.valueOf()-a.valueOf(),i=h/864e5,e=i>=z?y:1):e--),g=this.GetDateItemsCount(a,b,f,e);return d.unitValue=e,f},f.GetDateItemsCount=function(a,b,c,d){var e,f,g;for(d=Math.floor(d),e=new Date(a),f=b,g=[];e<=f;)g.push(e),0===c?e.setDate(e.getDate()+d):1===c?e.setMonth(e.getMonth()+d):2===c&&e.setFullYear(e.getFullYear()+d);return g.length},f.GetFirstRightSer=function(){var a,b,c,d,e=this.SeriesCollection;for(a=0,b=e.Count;a<b;a++)if(c=e.Get(a),d=n.GetDimensioin(c.InnerChartType),c.AxisGroup===this.fsa&&1===d)return c;return A},f.IsValueOrDateScaleAxis=function(){return this.IsValueScaleAxis()||this.IsTimeScale()},f.IsValueScaleAxis=function(){return 1===this.Nc||0===this.Nc&&3===this.Tsa},f.IsTimeScale=function(){return 0===this.Nc&&2===this.Tsa},f.GetCrosses=function(){return m(this.Wsa)?1:this.Wsa},f.GetCustomCrossesAt=function(){var a=this,b=a.Crosses;if(0===b)return a.Xsa||0},f.GetCrossesAt=function(){var a=this,b=0,c=a.Crosses;return 0===c?b=m(a.Xsa)?0:a.Xsa:1===c?b=a.GetAutoCrossesAt():2===c?b=a.GetMaxCrossesAt():3===c&&(b=a.GetMinCrossesAt()),b},f.GetAutoCrossesAt=function(){var a=this;return 0===a.Nc?1===a.Tsa?1:0===a.fsa?a.MinimumScale:a.MaximumScale:a.IsValueOrDateScaleAxis()&&a.IsLogarithmic?1:0},f.GetMinCrossesAt=function(){var a=this;return a.IsValueOrDateScaleAxis()?a.MinimumScale:0===a.Nc?1===a.Tsa?1:a.MinimumScale:0},f.GetMaxCrossesAt=function(){var a=this;return a.IsValueOrDateScaleAxis()?a.MaximumScale:0===a.Nc?1===a.Tsa?a.CategoryNames.length:a.MaximumScale:0},f.GetValuesFromDispUnit=function(a){var b={8:1e12,7:1e9,6:1e8,5:1e7,4:1e6,3:1e5,2:1e4,1:1e3,0:100,9:1,10:this.rsa};return b[a]},f.HasTwoDimensionSers=function(){var a,b=this.SeriesCollection.GetSers(!1,this.fsa);for(a=0;a<b.length;a++)if(n.GetDimensioin(b[a].InnerChartType)>1)return!0;return!1},f.ResetOnChartTypeChanged=function(){this.Bsa=A},f.CreateFormat=function(){return new t(this.Dsa.Parent,A,A,this.AutoLineColorFormat.bind(this))},f.GetDefaultFormat=function(){var b=a.prototype.GetDefaultFormat.call(this),c=this.Dsa.Parent.ChartType;return(n.IsSurfaceChart(c)||5===c)&&(b.Line.Weight=1),this.InitAutoLineColor(c,b.Line.Color),b},f.InitAutoLineColor=function(a,b){var c=o.DefaultLineColorBrightness;b.ObjectThemeColor=1,b.Brightness=c},f.AutoLineColorFormat=function(){var a=this.Dsa.Parent.ChartType,b=new u(this.Dsa.Parent);return this.InitAutoLineColor(a,b),b},f.EnsureAxisType=function(a){if(this.Nc!==a)throw Error()},f.EnsureAxisCatType=function(a){if(this.Tsa!==a)throw Error()},f.EnsureNotAxisType=function(a){if(this.Nc===a)throw Error()},f.EnsureNotAxisCatType=function(a){if(this.Tsa===a)throw Error()},f.UpdateCategoryType=function(a){this.Ssa=a,this.Tsa=a},f.FromOOModel=function(a){var b,c,d=this;d.Chart.SuspendElementChanged(),d.Bsa=a,b=d.Nc,0===b?(c=a.axisType,0===c?d.FromCT_CatAx(a):1===c?d.FromCT_DateAx(a):3===c&&d.FromCT_ValAx(a)):1===b?d.FromCT_ValAx(a):2===b&&d.FromCT_SerAx(a),d.Chart.ResumeElementChanged()},f.ToOOModel=function(){var a,b=this,c=A,d=b.Nc;return 0===d?(a=b.Tsa,1===a?c=b.ToCT_CatAx():2===a?c=b.ToCT_DateAx():3===a&&(c=b.ToCT_ValAx())):1===d?c=b.ToCT_ValAx():2===d&&(c=b.ToCT_SerAx()),c.AxisGroup=b.fsa,c.AxisType=d,c},f.ToCT_CatAx=function(){var a=this,b=a.Bsa,c=b&&0===b.axisType?b:{axisType:0};return a.ToCT_AxBase(c),c.auto=0===a.CategoryType,a.TickLabelSpacingIsAuto?c.tickLblSkip=A:c.tickLblSkip=a.TickLabelSpacing,c.lblOffset=a.TickLabels.Offset,c.tickMarkSkip=a.TickMarkSpacing,c.noMultiLvlLbl=a.NoMultiLvlLbl,c},f.FromCT_CatAx=function(a){var b=this;(m(a.auto)||1!==b.ActualCategoryType)&&b.UpdateCategoryType(1),b.FromCT_AxBase(a),m(a.tickLblSkip)?b.vsa=!0:(b.usa=a.tickLblSkip,b.vsa=!1),m(a.lblOffset)||(b.Esa.Offset=a.lblOffset),m(a.tickMarkSkip)||(b.xsa=a.tickMarkSkip)},f.ToCT_ValAx=function(){var a=this,b=a.Bsa,c=b&&3===b.axisType?b:{axisType:3};return a.ToCT_AxBase(c),a.MajorUnitIsAuto||(c.majorUnit=a.MajorUnit),a.MinorUnitIsAuto||(c.minorUnit=a.MinorUnit),9!==a.qsa&&(c.dispUnits=a.tsa.ToOOModel()),c},f.FromCT_ValAx=function(a){var b=this;b.FromCT_AxBase(a),m(a.majorUnit)?b.Lsa=!0:(b.Jsa=a.majorUnit,b.Lsa=!1),m(a.minorUnit)?b.Msa=!0:(b.Ksa=a.minorUnit,b.Msa=!1),b.tsa.FromOOModel(a.dispUnits)},f.ToCT_DateAx=function(){var a=this,b=a.Bsa,c=b&&1===b.axisType?b:{axisType:1};return a.ToCT_AxBase(c),c.auto=0===a.CategoryType,c.lblOffset=a.TickLabels.Offset,a.MajorUnitIsAuto||(c.majorUnit=a.MajorUnit,c.majorTimeUnit=a.MajorUnitScale),a.MinorUnitIsAuto||(c.minorUnit=a.MinorUnit,c.minorTimeUnit=a.MinorUnitScale),a.BaseUnitIsAuto||(c.baseTimeUnit=a.BaseUnit),c},f.FromCT_DateAx=function(a){var b=this;(m(a.auto)||2!==b.ActualCategoryType)&&b.UpdateCategoryType(2),b.FromCT_AxBase(a),m(a.majorUnit)?b.Lsa=!0:(b.Jsa=a.majorUnit,b.Lsa=!1),m(a.minorUnit)?b.Msa=!0:(b.Ksa=a.minorUnit,b.Msa=!1),m(a.baseTimeUnit)?b.Osa=!0:(b.Nsa=a.baseTimeUnit,b.Osa=!1),m(a.majorTimeUnit)||(b.Qsa=a.majorTimeUnit),m(a.minorTimeUnit)||(b.Psa=a.minorTimeUnit),m(a.lblOffset)||(b.Esa.Offset=a.lblOffset)},f.ToCT_SerAx=function(){var a=this,b=a.Bsa||{axisType:2};return a.ToCT_AxBase(b),a.TickLabelSpacingIsAuto?b.tickLblSkip=A:b.tickLblSkip=a.TickLabelSpacing,b.tickMarkSkip=a.TickMarkSpacing,b},f.FromCT_SerAx=function(a){var b=this;b.FromCT_AxBase(a),m(a.tickLblSkip)?b.vsa=!0:(b.usa=a.tickLblSkip,b.vsa=!1),m(a.tickMarkSkip)||(b.xsa=a.tickMarkSkip)},f.ToCT_AxBase=function(b){var c,d=this;b.axId=d.GetAxisId(),b.delete=d.Ysa,b.majorTickMark=d.MajorTickMark,b.minorTickMark=d.MinorTickMark,b.tickLblPos=d.TickLabelPosition,b.axPos=d.GetAxPos(),b.scaling=d.ToCT_Scaling(),b.spPr=a.prototype.ToShapeProperties.call(d),m(d.TickLabels)||(c=d.Esa.ToOOModel(),0===d.Chart.SeriesCollection.Count?b.numFmt=A:b.numFmt=c.CT_NumFmt,b.txPr=c.CT_TextBody),d.HasMajorGridlines&&!m(d.Vsa)&&(b.majorGridlines=d.Vsa.ToOOModel()),d.HasMinorGridlines&&!m(d.$sa)&&(b.minorGridlines=d.$sa.ToOOModel()),d.ysa&&(b.title=d.zsa.ToOOModel())},f.FromCT_AxBase=function(a){var b,c=this;m(a.delete)?1===c.fsa&&(c.Ysa=!1):c.Ysa=a.delete,m(a.majorTickMark)?c.MajorTickMark=3:c.MajorTickMark=a.majorTickMark,m(a.minorTickMark)||(c.MinorTickMark=a.minorTickMark),m(a.tickLblPos)||(c.TickLabelPosition=a.tickLblPos),c.FromCT_Scaling(a.scaling),c.FromShapeProperties(a.spPr),b={},b.CT_TextBody=a.txPr,b.CT_NumFmt=a.numFmt,c.Esa.FromOOModel(b),m(a.majorGridlines)?c.HasMajorGridlines=!1:(c.HasMajorGridlines=!0,c.Vsa.FromOOModel(a.majorGridlines)),m(a.minorGridlines)?c.HasMinorGridlines=!1:(c.HasMinorGridlines=!0,c.$sa.FromOOModel(a.minorGridlines)),m(a.title)||(c.zsa.FromOOModel(a.title),c.ysa=!0)},f.GetAxisPostion=function(){var a=this.GetAxPos(),b={0:"bottom",3:"top",1:"left",2:"right"};return b[a]},f.GetAxPos=function(){var a=this;return a.Bsa&&!m(a.Bsa.axPos)?a.Bsa.axPos:0===a.Type?n.IsBarChart(a.Chart.ChartType)?0===this.AxisGroup?1:2:0===this.AxisGroup?0:3:1===a.Type?0===this.AxisGroup?1:2:0},f.ToCT_Scaling=function(){var a=this,b=a.Bsa,c=b&&!m(b.scaling)?b.scaling:{};return c.orientation=a.ReversePlotOrder?0:1,a.IsValueOrDateScaleAxis()&&(a.MinimumScaleIsAuto||(c.min=a.MinimumScale),a.MaximumScaleIsAuto||(c.max=a.MaximumScale),0===a.ScaleType&&(c.logBase=a.LogBase)),c},f.FromCT_Scaling=function(a){if(a){var b=this;m(a.orientation)||(b.ReversePlotOrder=0===a.orientation),m(a.min)?b.Hsa=!0:(b.Fsa=a.min,b.Hsa=!1),m(a.max)?b.Isa=!0:(b.Gsa=a.max,b.Isa=!1),m(a.logBase)?b.Rsa=1:(b.osa=a.logBase,b.Rsa=0)}},f.GetCrossAtAx=function(){var a=this;return 0===a.Nc?a.Dsa.Item(1,a.fsa):a.Dsa.Item(0,a.fsa)},f.GetAxisId=function(){return m(this.Csa)&&(this.Csa=p.GenerateAxisId()),this.Csa},f._sa=function(a){var b=this;return a&&m(b.Vsa)&&(b.Vsa=b.GetDefaultGridlines()),b.Vsa},f.ata=function(a){var b=this;return a&&m(b.$sa)&&(b.$sa=b.GetDefaultGridlines()),b.$sa},f.ZOa=function(){var a=this.Tsa;return 0!==this.Nc||2===a||3===a},f.RVa=function(a){var b,c,d=this,e=d.Nc,f=d.fsa;0===f?0===e?b="primaryCategory":1===e&&(b="primaryValue"):1===f&&(0===e?b="secondaryCategory":1===e&&(b="secondaryValue")),c={},c[b]=a,this.Parent.RVa(c)},c}(r),h.Axis=f,g=function(){function a(a){this.Dsa=[],this.Spa=a}var b=a.prototype;s(b,"Parent",{get:function(){return this.Spa}}),s(b,"Count",{get:function(){return this.Dsa.length}}),b.Item=function(a,b){return b===B&&(b=0),this.GetAxis(a,b)},b.GetAxis=function(a,b){var c,d,e=this.Dsa;for(c=0;c<e.length;c++)if(d=e[c],d.Type===a&&d.AxisGroup===b)return d;return A},b.Add=function(a,b){var c,d,e,g;for(b===B&&(b=0),c=this.Dsa,d=0;d<c.length;d++)if(e=c[d],a===e.Type&&b===e.AxisGroup)throw Error("Can not add same type of axis many times!");return g=new f(this,a,b),this.Dsa.push(g),g},b.Remove=function(a,b){var c,d,e,f,g;for(b===B&&(b=0),c=A,d=this.Dsa,e=0;e<d.length;e++)if(f=d[e],f.Type===a&&f.AxisGroup===b){c=f;break}return m(c)?A:(g=this.Dsa.indexOf(c),this.Dsa.splice(g,1),c)},b.RestoreAxes=function(a){var b,c;this.RestoreGroupAxes(a,0),this.RestoreGroupAxes(a,1),b=n.GetAxes(a,2),b&&b.length>0&&(c=this.GetAxis(2,0),c&&c.FromOOModel(b[0]))};function c(a,b,c,d){return a.filter(function(a){return a.axisType===d&&b.indexOf(a.axId)>=0&&c.indexOf(a.axId)>=0})[0]}function d(a,b){return a.filter(function(a){return 3===a.axisType&&a.axId===b.crossAx})[0]}return b.RestoreGroupAxes=function(a,b){var e,f,g,h=n.GetAxises(a,b),i=n.GetCategoryAxises(a),j=a.axes,k=c(j,h,i,0),l=c(j,h,i,3),o=c(j,h,i,1),p=A,q=this.GetAxis(0,b);k&&(q&&q.FromOOModel(k),p=d(j,k)),l&&(q&&3===q.ActualCategoryType&&q.FromOOModel(l),p=d(j,l)),o&&(q&&q.FromOOModel(o),p=d(j,o)),p&&(q&&(m(p.crosses)?m(p.crossesAt)||(q.CrossesAt=p.crossesAt):q.Crosses=p.crosses,m(p.crossBetween)||(q.AxisBetweenCategories=0===p.crossBetween)),e=this.GetAxis(1,b),e&&(e.FromOOModel(p),f=A,g=A,k?(f=k.crosses,g=k.crossesAt):o?(f=o.crosses,g=o.crossesAt):l&&(f=l.crosses,g=l.crossesAt),m(f)?m(g)||(e.CrossesAt=g):e.Crosses=f))},b.ResetOnChartTypeChanged=function(){var a,b=this.Dsa;for(a=0;a<b.length;a++)b[a].ResetOnChartTypeChanged()},b.RVa=function(a){var b=this.Parent.Parent;b.RVa("axes",a)},a}(),h.Axes=g,a.exports=h}()},function(a,b,c){!function(){"use strict";var b,d,e,f,g,h=c(3),i=c(24),j=c(8).GC$,k=j.inherit,l=c(7),m=l.UnitHelper,n=m.isNullOrUndefined,o=m.pointToPixel,p=l.ChartUtility,q=p.defineProperty,r=l.ChartConstants,s=l.ChartElementBase,t=c(25).SeriesCollection,u=c(30),v=u.FullChartGroups,w=u.ChartGroups,x=c(22).Axes,y=c(31).Legend,z=c(9).ChartTitle,A=c(32).PlotArea,B=c(14).ARGBColor,C=c(9),D=C.DrawingText,E=c(10).ChartFormat,F=null,G=void 0,H=Math.floor,I=function(a){k(b,a);function b(b){var c,d=a.call(this)||this;return d.Spa=b,d.Qpa=d.GetDefaultChartText(),c=d.Kb=d.GetDefaultFormat(),c.Fill.Color.ObjectThemeColor=0,c.Line.Color.ObjectThemeColor=1,c.Line.Color.Brightness=r.DefaultLineColorBrightness,c.Line.Weight=1,d.bta=!1,d}var c=b.prototype;return c.GetDefaultChartText=function(){var a=new D(this.Spa.Parent,F,F,{Size:o(10)}),b=a.Font;return b.ThemeFont=2,b.Color.ObjectThemeColor=1,b.Color.Brightness=.35,b.Bold=!1,a},c.ResetChartText=function(){var a,b,c,d=this,e=new D(d.Spa.Parent,F,F,{Size:o(10)});if(!n(d.Qpa))for(a=0,b=d.Qpa.Font.Children;a<b.length;a++)c=b[a],c.ParentStateful=e.Font;d.Qpa=e},q(c,"Font",{get:function(){return this.Qpa.Font}}),q(c,"Format",{get:function(){var a=this;return n(a.Kb)&&(a.Kb=a.GetDefaultFormat()),a.Kb}}),q(c,"FormatInternal",{get:function(){var a=this;return n(a.Kb)&&(a.Kb=a.CreateFormat()),a.Kb}}),q(c,"Parent",{get:function(){return this.Spa}}),q(c,"RoundedCorners",{get:function(){return this.bta},set:function(a){this.bta=a}}),c.setFontColor=function(a,b){this.Qpa.TextBody.setFontColor(a,b)},c.FromOOModel=function(b){var c,d=this;d.Lqa=b,n(b)||(d.bta=b.RoundedCorners,a.prototype.FromShapeProperties.call(d,b.SpPr),c={},c.rich=b.TxPr,d.ResetChartText(),n(c.rich)?d.Qpa.Font.Size=0:d.Qpa.FromOOModel(c))},c.ToOOModel=function(){var b=this,c=n(b.Lqa)?{}:b.Lqa;return c.SpPr=a.prototype.ToShapeProperties.call(b),n(b.Qpa)||(c.TxPr=b.Qpa.ToOOModel().rich),c},c.GetDefaultFormat=function(){return this.CreateFormat()},c.CreateFormat=function(){return new E(this.Spa,F,F,F)},b}(s);h.ChartArea=I,b=function(a){k(b,a);function b(b){var c=a.call(this)||this;return c.Lqa=F,c.Spa=b,c}var c=b.prototype;return q(c,"Format",{get:function(){return this.ChartFormat}}),q(c,"Parent",{get:function(){return this.Spa}}),c.GetDefaultFormat=function(){var b=a.prototype.GetDefaultFormat.call(this);return b.Line.Color.ColorType=0,b},c.CreateFormat=function(){return new E(this.Spa)},c.FromOOModel=function(b){this.Lqa=b,n(b.thickness)||(this.Thickness=H(b.thickness)),a.prototype.FromShapeProperties.call(this,b.spPr)},c.ToOOModel=function(){var b=this,c=n(b.Lqa)?{}:b.Lqa;return c.thickness=b.Thickness,c.spPr=a.prototype.ToShapeProperties.call(b),c},b}(s),h.Floor=b,d=function(a){k(b,a);function b(b){var c=a.call(this)||this;return c.cta=0,c.Lqa=F,c.Spa=b,c}var c=b.prototype;return q(c,"Format",{get:function(){return this.ChartFormat}}),q(c,"Parent",{get:function(){return this.Spa}}),q(c,"Thickness",{get:function(){return this.cta},set:function(a){this.cta=a}}),c.FromOOModel=function(b){this.Lqa=b,n(b.thickness)||(this.Thickness=H(b.thickness)),a.prototype.FromShapeProperties.call(this,b.spPr)},c.ToOOModel=function(){var b=this,c=n(b.Lqa)?{}:b.Lqa;return c.thickness=b.Thickness,c.spPr=a.prototype.ToShapeProperties.call(b),c},c.CreateFormat=function(){return this.CreateFormatCore()},c.CreateFormatCore=function(){return F},b}(s),h.WallBase=d,e=function(a){k(b,a);function b(b){return a.call(this,b)||this}var c=b.prototype;return q(c,"Thickness",{get:function(){return this.cta},set:function(a){this.cta=a,this.Spa.SideWall.Thickness=a,this.Spa.BackWall.Thickness=a}}),c.CreateFormatCore=function(){return new E(this.Spa)},b}(d),h.Walls=e,f=function(a){k(b,a);function b(b){return a.call(this,b)||this}return b.prototype.CreateFormatCore=function(){return new E(this.Spa,this.Spa.Walls.Format)},b}(d),h.Wall=f,g=function(){function a(a,b){b===G&&(b=12);var c=this;if(c.dta=150,c.eta=!0,c.fta=!0,c.ysa=!0,c.gta=2,c.hta=[],c.ita={},c.jta=0,c.kta=a,0===b)throw Error("Can not set combo chart type!");c.e8=b,c.lta=new t(c),c.InitElements(),c.InitProps(),c.mta=new v(c),c.UpdateFormat()}var c=a.prototype;c.InitElements=function(){var a=this;a.nta=new I(a),a.ota=new y(a),p.IsRadarChart(a.e8)?a.ota.Position=1:a.ota.Position=4,a.zsa=new z(a),a.pta=new A(a),p.Is3DChart(a.e8)&&(a.qta=a.GetDefaultFloor(),a.rta=new e(a),a.sta=new f(a),a.tta=new f(a))},c.InitProps=function(){var a=this;switch(a.dta=150,a.e8){case 15:case 16:case 17:case 6:case 21:case 22:case 23:a.RightAngleAxes=!0;break;case 5:case 10:case 29:case 30:case 31:case 4:case 44:case 45:case 47:case 46:a.RightAngleAxes=!1}},q(c,"Name",{get:function(){return this.kta.name()}}),q(c,"Parent",{get:function(){return this.kta}}),q(c,"ChartType",{get:function(){return this.e8},set:function(a){var b=this;if(a!==b.e8){if(0===a)throw Error("can not set chart type to combo!");if(p.IsStockChart(a)&&b.GetStockChartSersCount(a)!==b.lta.Count)throw Error("the amount of series is not correct!");b.e8=a,b.UpdateOnChartTypeChanged()}}}),q(c,"SeriesCollection",{get:function(){return this.lta}}),c.UpdateSeries=function(a,b){b===G&&(b=!1),this.lta.RefreshSeriesIfNeed(a,b)},q(c,"Axes",{get:function(){var a=this;return a.Dsa||(a.Dsa=new x(a)),a.Dsa}}),q(c,"ChartArea",{get:function(){return this.nta}}),q(c,"ChartTitle",{get:function(){return this.HasTitle?this.zsa:F}}),q(c,"PlotArea",{get:function(){return this.pta}}),q(c,"Legend",{get:function(){return this.HasLegend?this.ota:F}}),q(c,"Floor",{get:function(){var a=this;return p.Is3DChart(a.e8)?(n(a.qta)&&(a.qta=a.GetDefaultFloor()),a.qta):F}}),q(c,"Walls",{get:function(){var a=this;return p.Is3DChart(a.e8)?(n(a.rta)&&(a.rta=new e(a)),
a.rta):F}}),q(c,"SideWall",{get:function(){var a=this;return p.Is3DChart(a.e8)?(n(a.sta)&&(a.sta=new f(a)),a.sta):F}}),q(c,"BackWall",{get:function(){var a=this;return p.Is3DChart(a.e8)?(n(a.tta)&&(a.tta=new f(a)),a.tta):F}}),q(c,"AutoScaling",{get:function(){return this.nta.Format.ThreeD._AutoScale},set:function(a){this.nta.Format.ThreeD._AutoScale=a}}),q(c,"BarShape",{get:function(){return this.gta},set:function(a){var b,c,d;for(this.gta=a,b=0,c=this.lta.AllSers;b<c.length;b++)d=c[b],d.ClearBarShapeInternal()}}),q(c,"PlotVisibleOnly",{get:function(){return this.eta},set:function(a){a!==this.eta&&this.UpdatePlotVisibleOnly(a)}}),q(c,"DepthPercent",{get:function(){return this.nta.Format.ThreeD._DepthPercent},set:function(a){this.nta.Format.ThreeD._DepthPercent=a}}),q(c,"Elevation",{get:function(){return this.nta.Format.ThreeD.RotationY},set:function(a){this.nta.Format.ThreeD.RotationY=a}}),q(c,"GapDepth",{get:function(){return this.dta},set:function(a){a>=0&&a<=500&&(this.dta=a)}}),q(c,"HasLegend",{get:function(){return this.fta},set:function(a){a!==this.fta&&(this.fta=a,a&&this.ota.LegendEntries.UpdateEntries())}}),q(c,"HasTitle",{get:function(){return this.ysa},set:function(a){this.ysa=a}}),q(c,"HeightPercent",{get:function(){return this.nta.Format.ThreeD._HeightPercent},set:function(a){this.nta.Format.ThreeD._HeightPercent=a}}),q(c,"Perspective",{get:function(){return this.nta.Format.ThreeD.Perspective},set:function(a){this.nta.Format.ThreeD.Perspective=a}}),q(c,"RightAngleAxes",{get:function(){return this.nta.Format.ThreeD._RightAngleAxes},set:function(a){this.nta.Format.ThreeD._RightAngleAxes=a}}),q(c,"Rotation",{get:function(){return this.nta.Format.ThreeD.RotationX},set:function(a){this.nta.Format.ThreeD.RotationX=a}}),c.InitChartGroups=function(){n(this.mta)&&(this.mta=new v(this))},q(c,"Area3DGroup",{get:function(){return this.GetFirstChartGroup(1)}}),q(c,"Bar3DGroup",{get:function(){return this.GetFirstChartGroup(2)}}),q(c,"Column3DGroup",{get:function(){return this.GetFirstChartGroup(3)}}),q(c,"Line3DGroup",{get:function(){return this.GetFirstChartGroup(4)}}),q(c,"Pie3DGroup",{get:function(){return this.GetFirstChartGroup(5)}}),q(c,"SurfaceGroup",{get:function(){return this.GetFirstChartGroup(6)}}),q(c,"AreaGroups",{get:function(){return this.GetChartGroups(7)}}),q(c,"BarGroups",{get:function(){return this.GetChartGroups(8)}}),q(c,"ColumnGroups",{get:function(){return this.GetChartGroups(9)}}),q(c,"DoughnutGroups",{get:function(){return this.GetChartGroups(10)}}),q(c,"LineGroups",{get:function(){return this.GetChartGroups(11)}}),q(c,"PieGroups",{get:function(){return this.GetChartGroups(12)}}),q(c,"RadarGroups",{get:function(){return this.GetChartGroups(13)}}),q(c,"XYGroups",{get:function(){return this.GetChartGroups(14)}}),q(c,"ChartGroups",{get:function(){return this.mta.Count>0?this.mta:F}}),c.SetSourceData=function(a,b){this.lta.SetSourceData(a,b)},c.Delete=function(){},c.UpdatePlotVisibleOnly=function(a){var b,c,d;for(this.eta=a,b=0,c=this.lta.AllSers;b<c.length;b++)d=c[b],d.PlotVisibleOnly=a},c.SuspendElementChanged=function(){this.jta++},c.ResumeElementChanged=function(a,b,c){b===G&&(b=F),c===G&&(c=F),this.jta--,0!==this.jta||n(a)||this.HandleElementChanged(a,b,c)},q(c,"IsElementChangedSuspended",{get:function(){return this.jta>0}}),c.HandleElementChanged=function(a,b,c,d,e){d===G&&(d=F),e===G&&(e=F);var f=this;f.IsElementChangedSuspended||(4===a?f.HandleSeriesCollectionChanged(b,c,d,e):3===a?f.HandleSeriesChanged(b,c,d,e):8===a?f.HandleCategoryAxisChanged(b,c,d,e):17===a?f.HandleChartGroupChanged(b,c,d,e):5===a&&f.HandleDataPointChanged(b,c,d,e))},c.FindChartGroup=function(a,b){var c,d,e,f=p.MapToGroupType(a),g=this.mta;for(c=0,d=g.Count;c<d;c++)if(e=g.Get(c),e.GroupType===f&&e.AxisGroup===b)return e;return F},c.SetBarShapeInternal=function(a){this.gta=a},c.HandleSeriesCollectionChanged=function(a,b,c,d){var e=this,f=!1;return b===r.PrimaryValuesMinMax?n(e.uta)||(e.uta.UpdateAxisRulers(),f=!0):b===r.SecondaryValuesMinMax?n(e.vta)||(e.vta.UpdateAxisRulers(),f=!0):b===r.PrimaryXValuesMinMax?n(e.wta)||1===e.wta.ActualCategoryType||(e.wta.UpdateAxisRulers(),f=!0):b===r.SecondaryXValuesMinMax?n(e.xta)||1===e.xta.ActualCategoryType||(e.xta.UpdateAxisRulers(),f=!0):b===r.Collection?(e.lta._S=F,e.UpdateChartTypeBySeries(),e.UpdateAxes(),e.UpdateSeriesCollectionMinMax(),e.HasLegend&&e.ota.LegendEntries.UpdateEntries(),e.UpdateAxisNoMultiLvlLbl()):b===r.Restore&&(e.UpdateChartTypeBySeries(),e.UpdateAxes(),e.UpdateSeriesCollectionMinMax(),e.ota.LegendEntries.UpdateEntries(),e.UpdateAxisNoMultiLvlLbl()),f},c.HandleSeriesChanged=function(a,b,c,e){var f,g,h,i,j,k,l,m=this,o=a,p=m.lta;if(b===r.ChartType)f=m.UpdateChartTypeBySeries(),f&&m.UpdateAxes();else if(b===r.AxisGroup)m.UpdateAxes(),m.UpdateSeriesCollectionMinMax();else if(b===r.AreAllXValuesDateTime)0===o.Index&&m.UpdateAxisActualCatType(o.AxisGroup);else if(b===r.ValuesMinMax)p.UpdateValuesMaxMin(o.AxisGroup);else if(b===r.XValuesMinMax)p.UpdateXValuesMaxMin(o.AxisGroup);else if(b===r.XValuesFormula)p.SyncOneDimensionSersXValuesFormula(o,c),m.UpdateAxisNoMultiLvlLbl();else if(b===r.IsMultiLevelXValues)g=d(m.Axes,0,o.AxisGroup),n(g)||(g.NoMultiLvlLbl=!o.IsMultiLevelXValues);else if(b===r.XValues)p.SyncOneDimensionSersXValues(o.AxisGroup,c);else if(b===r.PlotOrder)for(h=H(e),i=H(c),j=0,k=p.Count;j<k;j++)l=p.Get(j),l!==o&&(i>h?l.PlotOrder===i&&l.SetPlotOrderInternal(h):l.PlotOrder>=i&&l.SetPlotOrderInternal(l.PlotOrder+1))},c.HandleCategoryAxisChanged=function(a,b,c,d){var e,f=a;b===r.CategoryNames?this.lta.SyncOneDimensionSersXValues(f.AxisGroup,c):b===r.CategoryType&&(e=f.CategoryType,0===e?f.ActualCategoryType=this.DetectCatAxisCategoryType(f.AxisGroup):f.ActualCategoryType=e)},c.HandleChartGroupChanged=function(a,b,c,d){var e,f,g,h=a;if(b===r.SplitType||b===r.SplitValue)for(e=0,f=h.GetSers();e<f.length;e++)g=f[e],g.UpdateSecondPlotPoints();else b===r.AxisGroup&&(this.UpdateAxes(),this.UpdateSeriesCollectionMinMax());return!0},c.HandleDataPointChanged=function(a,b,c,d){var e=a;b===r.SecondaryPlot&&(e.Parent.Parent.SplitType=3)},c.ResetSeriesByChartType=function(){var a,b,c=this,d=c.lta,e=d.Count;if(0!==e)if(p.IsStockChart(c.e8)){if(49===c.e8||50===c.e8)for(a=0;a<e;a++)b=d.Get(a),b.ResetOnOwnerChartTypeChanged(9);else if(51===c.e8||52===c.e8)for(d.Get(0).ResetOnOwnerChartTypeChanged(12,0),a=1;a<e;a++)d.Get(a).ResetOnOwnerChartTypeChanged(9,1)}else for(a=0;a<e;a++)b=d.Get(a),b.ResetOnOwnerChartTypeChanged()},c.UpdateSeriesCollectionMinMax=function(){var a,b=this,c=b.lta;c.UpdateValuesMaxMin(0),c.UpdateValuesMaxMin(1),a=p.GetDimensioin(b.ChartType),(a>1||!n(b.wta)&&2===b.wta.ActualCategoryType)&&c.UpdateXValuesMaxMin(0),(a>1||!n(b.xta)&&2===b.xta.ActualCategoryType)&&c.UpdateXValuesMaxMin(1)},c.UpdateAxes=function(){var a=this;a.Dsa||(a.Dsa=new x(a)),a.UpdateCatValAxes(),a.UpdateSeriesAxis(),a.UpdateAxisSettings()};function d(a,b,c,d){var e=a.Item(b,c);return!e&&d&&(e=a.Add(b,c)),e}return c.UpdateCatValAxes=function(){var a,b,c,e=this,f=e.Dsa,g=!1,h=!1;if(p.IsAnyPieChart(e.e8))g=!1,h=!1;else for(a=0,b=e.lta.Count;a<b;a++)c=e.lta.Get(a),0===c.AxisGroup&&(g=!0),1===c.AxisGroup&&(h=!0);g?(n(e.uta)&&(e.uta=d(f,1,0,!0)),n(e.wta)&&(e.wta=d(f,0,0,!0))):(f.Remove(1,0),e.uta=F,f.Remove(0,0),e.wta=F),h?(n(e.vta)&&(e.vta=d(f,1,1,!0)),n(e.xta)&&(e.xta=d(f,0,1,!0))):(f.Remove(1,1),e.vta=F,f.Remove(0,1),e.xta=F)},c.UpdateSeriesAxis=function(){var a=this,b=a.Dsa;p.HasSeriesAx(a.e8)?n(a.yta)&&(a.yta=d(b,2,0,!0)):(b.Remove(2,0),a.yta=F)},c.UpdateAxisNoMultiLvlLbl=function(){var a,b,c,e=this.lta,f=e.GetSers(!0,0);f.length>0&&(a=d(this.Dsa,0,0),n(a)||(a.NoMultiLvlLbl=!f.some(function(a){return a.IsMultiLevelXValues}))),b=e.GetSers(!0,1),b.length>0&&(c=d(this.Dsa,0,1),n(c)||(c.NoMultiLvlLbl=!b.some(function(a){return a.IsMultiLevelXValues})))},c.UpdateFormat=function(){var a=this,b=a.nta.Format.ThreeD;p.Is3DChart(a.e8)&&(p.IsPieChart(a.e8)?(b.RotationX=0,b.RotationY=30):46===a.e8||47===a.e8?(b.RotationX=0,b.RotationY=90,b.Perspective=0):(b.RotationX=20,b.RotationY=15))},c.UpdateAxisSettings=function(a){a===G&&(a=F);var b=this;b.UpdateAxisActualCatType(a),n(b.uta)||(46===b.e8||47===b.e8?b.uta.TickLabelPosition=3:b.uta.TickLabelPosition=2)},c.UpdateAxisActualCatType=function(a){a===G&&(a=F);var b=this;n(b.wta)||0!==b.wta.CategoryType||!n(a)&&0!==a||(b.wta.ActualCategoryType=b.DetectCatAxisCategoryType(0)),n(b.xta)||0!==b.xta.CategoryType||!n(a)&&1!==a||(b.xta.ActualCategoryType=b.DetectCatAxisCategoryType(1))},c.UpdateOnChartTypeChanged=function(){var a,b,c=this;c.ResetSeriesByChartType(),c.UpdateAxes(),c.Dsa.ResetOnChartTypeChanged(),c.UpdateSeriesCollectionMinMax(),c.UpdateFormat(),a=p.MapToGroupType(c.e8),b=c.ita[a],b&&b.Reset()},c.UpdateChartTypeBySeries=function(){var a,b,c,d,e,f,g,h=this,i=h.e8,j=h.lta,k=j.Count;if(0===k)return!1;for(a=j.Get(0),b=a.InnerChartType,c=a.AxisGroup,d=!0,e=i,f=1;f<k;f++)if(g=j.Get(f),g.InnerChartType!==b||g.AxisGroup!==c){d=!1,e=0;break}return d&&b!==h.e8&&(e=b),e!==i&&!p.IsBuiltInComboChart(i)&&(h.e8=e,!0)},c.UpdateAxesRulers=function(){var a=this;n(a.wta)||a.wta.UpdateAxisRulers(),n(a.xta)||a.xta.UpdateAxisRulers(),n(a.uta)||a.uta.UpdateAxisRulers(),n(a.vta)||a.vta.UpdateAxisRulers()},c.DetectCatAxisCategoryType=function(a){var b,c,d,e,f,g=this,h=p.GetDimensioin(g.e8),i=g.lta.GetValidSers(a);if(h===-1){for(b=[],c=0,d=i;c<d.length;c++)e=d[c],f=p.GetDimensioin(e.InnerChartType),b.indexOf(f)<0&&b.push(f);return 1===b.length?(f=b[0],1===f?g.AreAllFirstSerXValuesDateTime(a)?2:1:3):1}return 1===h?0===g.lta.Count?1:g.AreAllFirstSerXValuesDateTime(a)?2:1:h>1?3:1},c.AreAllFirstSerXValuesDateTime=function(a){var b=this.lta.Item(0,a);return!n(b)&&(!n(b.XValuesRefers)&&p.AreValuesDateTime(this.kta.sheet(),b.XValuesRefers,this.PlotVisibleOnly))},c.GetDefaultFloor=function(){var a,c=new b(this);return p.IsAreaChart(this.e8)&&p.Is3DChart(this.e8)?(a=c.Format.Line,a.Weight=1,a.Color.ObjectThemeColor=1,a.Color.Brightness=r.DefaultLineColorBrightness):c.Thickness=0,c},c.GetStockChartSersCount=function(a){return 49===a?3:50===a||51===a?4:52===a?5:-1},c.HasChartGroups=function(a){var b,c,d;for(b=0,c=this.lta.AllSers;b<c.length;b++)if(d=c[b],p.MapToGroupType(d.InnerChartType)===a)return!0;return!1},c.GetChartGroups=function(a){var b=this.ita[a];return b||(b=new w(this,a),this.ita[a]=b),b},c.GetFirstChartGroup=function(a){var b=this.GetChartGroups(a);return!n(b)&&b.Count>0?b.Get(0):F},c.FromOOModel=function(a){var b=this;b.zta=a,n(a)||(b.FromCT_ChartArea(a),n(b.zta.chart)||(b.mta.startCache(),b.FromCT_Chart(b.zta.chart),b.mta.endCache()),n(b.zta.userShapes)||b.FromCT_UserShapes(b.zta.userShapes))},c.FromCT_ChartArea=function(a){var b,c={};c.RoundedCorners=!n(a.roundedCorners)&&a.roundedCorners,c.SpPr=a.spPr,c.TxPr=a.txPr,this.nta.FromOOModel(c),n(a.chart)&&n(a.spPr)||(b={},n(a.chart)||(b.View3D=a.chart.view3D),n(a.spPr)||(b.Scene3D=a.spPr.scene3d,b.Shape3D=a.spPr.sp3d),n(b.View3D)&&n(b.Shape3D)&&n(b.Scene3D)||this.nta.FormatInternal.ThreeD.FromOOModel(b))},c.ToOOModel=function(){var a,b,c=this,d=n(c.zta)?{typeName:"chartSpace"}:c.zta;return n(c.nta)||(d.roundedCorners=c.nta.RoundedCorners),d.chart=c.ToCT_Chart(),n(c.nta)||(a=c.nta.ToOOModel(),d.spPr=a.SpPr,d.txPr=a.TxPr),b=c.ToCT_UserShapes(),b&&(d.userShapes=b),d},c.ToCT_UserShapes=function(){return 0===this.hta.length?F:this.hta.map(function(a){return a.toJSON()})},c.FromCT_UserShapes=function(a){var b=this,c=b.kta.sheet();a&&a.forEach(function(a){if(a){var d=F;a.chartSpace?d=new h.Chart(c):a.src&&(d=new i.Picture),d&&(d.fromJSON(a),b.hta.push(d))}})},c.ToCT_Chart=function(){var a=this,b=n(a.zta)||n(a.zta.chart)?{}:a.zta.chart;return a.HasTitle?(b.title=a.zsa.ToOOModel(),b.autoTitleDeleted=!1):(delete b.title,b.autoTitleDeleted=!0),a.ToCT_3DChartProps(b),b.plotArea=a.pta.ToOOModel(),a.HasLegend?b.legend=a.ota.ToOOModel():delete b.legend,b.plotVisOnly=a.PlotVisibleOnly,b.dispBlanksAs=a.DisplayBlanksAs,b.showDLblsOverMax=a.ShowDataLabelsOverMaximum,b.pivotFmts&&0===b.pivotFmts.length&&delete b.pivotFmts,b},c.FromCT_Chart=function(a){var c,d,e=this;if(e.e8=p.GetChartType(a.plotArea),n(a.title)?e.ysa=!1:(e.ysa=!0,e.zsa=new z(e),e.zsa.FromOOModel(a.title)),e.UpdatePlotVisibleOnly(!!n(a.plotVisOnly)||a.plotVisOnly),!n(a.plotArea))for(e.pta.FromOOModel(a.plotArea),c=0,d=e.mta.Count;c<d;c++)e.mta.Get(c).Restore(a.plotArea);n(a.legend)?e.HasLegend=!1:(e.HasLegend=!0,e.ota.FromOOModel(a.legend)),n(a.dispBlanksAs)||(e.DisplayBlanksAs=a.dispBlanksAs),n(a.showDLblsOverMax)||(e.ShowDataLabelsOverMaximum=a.showDLblsOverMax),n(a.floor)?e.qta=F:(e.qta=new b(e),e.qta.FromOOModel(a.floor)),n(a.sideWall)?e.sta=F:(e.sta=new f(e),e.sta.FromOOModel(a.sideWall)),n(a.backWall)?e.tta=F:(e.tta=new f(e),e.tta.FromOOModel(a.backWall))},c.ToCT_3DChartProps=function(a){var b,c,d=this;p.Is3DChart(d.e8)?(b=d.nta.Format.ThreeD.ToOOModel(),a.view3D=b.View3D,n(d.qta)?delete a.floor:a.floor=d.qta.ToOOModel(),n(d.sta)?delete a.sideWall:a.sideWall=d.sta.ToOOModel(),n(d.tta)?delete a.backWall:a.backWall=d.tta.ToOOModel(),c=F,n(d.rta)||(c=d.rta.ToOOModel()),n(c)||(n(a.sideWall)?a.sideWall=c:n(a.sideWall.spPr)&&(a.sideWall.spPr=c.spPr),n(a.backWall)?a.backWall=c:n(a.backWall.spPr)&&(a.backWall.spPr=c.spPr))):(delete a.view3D,delete a.floor,delete a.sideWall,delete a.backWall)},c.Kqa=function(a){if(2===a.ColorType)return B.FromArgb(a.Value);var b=this.kta.sheet();return n(b)?new B:b.Kqa(a)},c.Yra=function(a){var b=this.kta.sheet();return n(b)?"":b.Yra(a)},q(c,"DrawingType",{get:function(){return 1}}),a}(),h.ChartModel=g,a.exports=h}()},function(b,c){b.exports=a.Spread.Sheets.FloatingObjects},function(a,b,c){!function(){"use strict";var b,d,e,f,g,h,i=c(6),j=c(26).CalcError,k=i.j,l=k.Ia,m=k.G,n=c(27).GeneralFormatter,o=c(3),p=c(4),q=p.ColorSchemeIndex,r=c(7),s=r.AxisUtility,t=r.NumberExtension.INT32_MAX_VALUE,u=r.ChartUtility,v=u.defineProperty,w=u.TryToDouble,x=u.colorFormatToString,y=u.IsStockChart,z=r.ChartConstants,A=r.StatefulChartElementBase,B=r.CellRect,C=r.UnitHelper,D=C.isNullOrUndefined,E=C.IsNullOrEmpty,F=c(12).ColorFormat,G=c(28),H=G.Points,I=G.DataLabels,J=c(10).ChartFormat,K=c(14).ARGBColor,L=c(29).ChartHelper,M=L.getSeriesProperties,N=null,O=void 0;function P(a,b){var c,d,e=[],f=!1,g=0;for(c=0;c<a.length;c++)d=a[c],"("===d?f=!0:")"===d&&(f=!1),f||d!==b||(e.push(a.substring(g,c)),g=c+1);return g<a.length&&e.push(a.substring(g,a.length)),e}function Q(a){return[1,33,35].indexOf(a)>=0}function R(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o;if(a&&b){if(D(b.chartType)||(a.ChartType=b.chartType),D(b.axisGroup)||(a.AxisGroup=b.axisGroup),d=u.IsPieOrDoughnutChart(a.ChartType),b.backColor)if(d)for(e=a.Points,f=e.Count,g=P(b.backColor,","),h=0;h<f;h++)i=e.Get(h),j=g[h],j&&i.Format.Fill.Color.setColor(c,j);else a.SetFillColor(c,b.backColor),Q(a.ChartType)&&a.SetMarkerFillColor(c,b.backColor);if(k=b.border)if(d)for(l=a.Points,m=l.Count,n=0;n<m;n++)o=l.Get(n).Format.Line,k.color&&o.Color.setColor(c,k.color),D(k.width)||(o.Weight=k.width);else k.color&&(a.SetLineColor(c,k.color),Q(a.ChartType)&&a.SetMarkerLineColor(c,k.color)),D(k.width)||(a.LineWidth=k.width);D(b.startAngle)||(a.Parent.FirstSliceAngle=b.startAngle),D(b.name)||a.UpdateNameFormula(b.name),D(b.xValues)||a.UpdateXValuesFormula(b.xValues),D(b.yValues)||a.UpdateValuesFormula(b.yValues),D(b.bubbleSizes)||a.UpdateBubbleFormula(b.bubbleSizes)}}b=function(){function a(){}return a.getValueForMinMax=function(a,b){return isNaN(a)||a===1/0?b:a},a.getMinValue=function(a){return Math.min.apply(N,a)},a.getMaxValue=function(a){return Math.max.apply(N,a)},a.getMinMaxValues=function(b,c,d){c===O&&(c=0),d===O&&(d=1);var e,f;return b&&b.length&&(e=a.getMinValue(b),f=a.getMaxValue(b)),{Min:a.getValueForMinMax(e,c),Max:a.getValueForMinMax(f,d)}},a}();function S(a){var b,c,d;if(a&&(b=a.length,b>0)){for(c=a[0],d=1;d<b;d++)if(a[d]!==c)return!1;return!0}return!1}d=function(){function a(){this.Label=N,this.Categories=[],this.Data=[]}return a}(),o.SeriesStructure=d,e=function(a){m(b,a);function b(b){var c=a.call(this,N);return c.Ata=b,c.Nc=1,c.Bta=2,c.Cta=2,c}var c=b.prototype;return v(c,"Index",{get:function(){return this.Ata.Trendlines.IndexOf(this)}}),v(c,"Backward",{get:function(){return this.Dta},set:function(a){this.Dta=a,this.SetState(1,!0)}}),v(c,"DisplayEquation",{get:function(){return this.Eta},set:function(a){this.Eta=a,this.SetState(2,!0)}}),v(c,"DisplayRSquared",{get:function(){return this.Fta},set:function(a){this.Fta=a,this.SetState(4,!0)}}),v(c,"Format",{get:function(){return this.ChartFormat}}),v(c,"Forward",{get:function(){return this.Gta},set:function(a){this.Gta=a,this.SetState(8,!0)}}),v(c,"Intercept",{get:function(){return this.Hta},set:function(a){this.Hta=a,this.SetState(16,!0)}}),v(c,"Order",{get:function(){return this.Cta},set:function(a){this.Cta=a,this.SetState(256,!0)}}),v(c,"Parent",{get:function(){return this.Ata}}),v(c,"Period",{get:function(){return this.Bta},set:function(a){this.Bta=a,this.SetState(512,!0)}}),v(c,"Type",{get:function(){return this.Nc},set:function(a){this.Nc=a,this.SetState(1024,!0)}}),c.ClearFormats=function(){this.ChartFormat=this.GetDefaultFormat()},c.Delete=function(){this.Ata.Trendlines.Delete(this)},c.CreateFormat=function(){return new J(this.Ata.Chart,N,this.AutoLineColor.bind(this))},c.GetDefaultFormat=function(){var b=a.prototype.GetDefaultFormat.call(this);return b.Line.Weight=2,b.Line.DashStyle=8,b},c.AutoLineColor=function(){var a=new F(this.Ata.Parent.Parent);return a.ObjectThemeColor=q["Accent"+(this.Ata.AutoColorIndex%6+1)],a},c.FromOOModel=function(a){var b=this;b.Ita=a,D(a.backward)||(b.Backward=a.backward),D(a.forward)||(b.Forward=a.forward),D(a.intercept)||(b.Intercept=a.intercept),D(a.order)||(b.Order=a.order),D(a.trendlineType)||(b.Type=a.trendlineType),3!==b.Type||D(a.period)||(b.Period=a.period),D(a.dispEq)||(b.DisplayEquation=a.dispEq),D(a.dispRSqr)||(b.DisplayRSquared=a.dispRSqr),D(a.spPr)?b.Kb=N:(D(b.Kb)&&(b.Kb=new J(b.Ata.Chart)),b.Kb.FromOOModel(a.spPr))},c.ToOOModel=function(){var a=this,b=a.Ita||{};return a.GetState(1)&&(b.backward=a.Backward),a.GetState(8)&&(b.forward=a.Forward),a.GetState(16)&&(b.intercept=a.Intercept),4===a.Type&&(b.order=a.Order),3===a.Type&&(b.period=a.Period),b.trendlineType=a.Type,b.dispEq=a.DisplayEquation,b.dispRSqr=a.DisplayRSquared,D(a.Kb)||(b.spPr=a.Kb.ToOOModel()),b},b}(A),o.Trendline=e,f=function(){function a(a){this.Jta=[],this.Ata=a}var b=a.prototype;return v(b,"Count",{get:function(){return this.Jta.length}}),v(b,"Parent",{get:function(){return this.Ata}}),b.Add=function(){var a=new e(this.Ata);return this.Jta.push(a),a},b.Get=function(a){return this.Jta[a]},b.GetLines=function(){return this.Jta},b.Delete=function(a){var b=a;a instanceof e&&(b=this.IndexOf(a)),b>=0&&this.Jta.splice(b,1)},b.IndexOf=function(a){return this.Jta.indexOf(a)},b.RestoreTrendlines=function(a){var b,c,d,e;for(this.Jta=[],b=0,c=a;b<c.length;b++)d=c[b],e=this.Add(),e.FromOOModel(d)},a}(),o.Trendlines=f,g=function(a){m(c,a);function c(b,c,d){var e=a.call(this,N);return e.Kta=N,e.Lta=N,e.Mta=[],e.Nta=[],e.Ota=[],e.Pta=N,e.ic=N,e.Qta=N,e.eta=!0,e.Rta=!1,e.Sta=-1,e.Tta=-1,e.Uta={Min:0,Max:1},e.Vta={Min:0,Max:1},e.Wta=N,e.Kta=b,e.Xta=D(c)?e.Kta.Parent.ChartType:c,e.fsa=D(d)?0:d,e.sQa=N,e.Init(),e}var d=c.prototype;return v(d,"SeriesCollection",{get:function(){return this.Kta}}),v(d,"Index",{get:function(){return D(this.Kta)?-1:this.Kta.IndexOf(this)}}),v(d,"AxisGroup",{get:function(){return this.fsa},set:function(a){var b=this;a!==b.fsa&&(b.fsa=a,b.sQa=N,b.Chart.HandleElementChanged(3,b,z.AxisGroup))}}),v(d,"BarShape",{get:function(){var a=this;return D(a.gta)?a.Chart.BarShape:a.gta},set:function(a){this.gta=a}}),v(d,"ChartType",{get:function(){return this.Xta},set:function(a){var b=this;if(a!==b.Xta){if(0===a||u.IsSurfaceChart(a)||u.IsStockChart(a))throw Error("Invalid chart type!");if(u.Is3DChart(b.Xta)!==u.Is3DChart(a))throw Error("Can not change 3D of series!");b.Xta=a,b.sQa=N,b.Wta=N,b.UpdateSettingsByChartType(),b.Chart.HandleElementChanged(3,b,z.ChartType)}}}),v(d,"Explosion",{get:function(){return this.Yta},set:function(a){var b=this,c=b.Yta;a!==c&&(c=a,c>400&&(c=400),c<0&&(c=0),b.Yta=c,b.Dirty(1))}}),v(d,"Format",{get:function(){return this.ChartFormat}}),d.getFillColor=function(a){return x(this.Format.Fill,a)},d.getLineColor=function(a){return x(this.Format.Line,a)},d.getMarkerFillColor=function(a){return x(this.MarkerFormat.Fill,a)},v(d,"LineWidth",{get:function(){var a=this.Format.Line.Weight;return a>0?a:0},set:function(a){D(a)||(this.Format.Line.Weight=a)}}),v(d,"Formula",{get:function(){return"="+this.GetFormulaString()},set:function(a){"="===a[0]&&(a=a.substr(1)),a!==this.GetFormulaString()&&this.UpdateFormulas(a)}}),v(d,"FormulaR1C1",{get:function(){return"="+this.GetFormulaString(!0)},set:function(a){"="===a[0]&&(a=a.substr(1)),a!==this.GetFormulaString(!0)&&this.UpdateFormulas(a)}}),v(d,"Has3DEffect",{get:function(){return this.Zta},set:function(a){this.Zta=a,this.Dirty(4)}}),v(d,"HasDataLabels",{get:function(){return this.$ta},set:function(a){var b=this;b.$ta=a,a&&(b.DataLabels.ShowValue=!0,b.DataLabels.ShowLeaderLines=!0),D(b.Qta)||b.Qta.UpdateDeleted(!a)}}),v(d,"InvertColor",{get:function(){var a=this;return D(a.ic)&&(a.ic=new F(a.Chart)),this.ic}}),v(d,"InvertIfNegative",{get:function(){return this._ta},set:function(a){this._ta=a,this.Dirty(8)}}),v(d,"MarkerFormat",{get:function(){var a=this;return D(a.Pta)&&(a.Pta=a.CreateMarkerFormat()),a.Pta}}),v(d,"MarkerSize",{get:function(){return this.aua},set:function(a){this.aua=a,this.Dirty(32)}}),v(d,"MarkerStyle",{get:function(){return this.bua},set:function(a){this.bua=a,this.Dirty(64)}}),v(d,"Name",{get:function(){return this.Cj},set:function(a){this.SetNameInternal(a)}}),v(d,"Parent",{get:function(){return this.GetParentGroup()}}),v(d,"PictureType",{get:function(){return this.cua},set:function(a){this.cua=a,this.Dirty(128)}}),v(d,"PictureUnit",{get:function(){return this.dua},set:function(a){this.dua=a,this.Dirty(256)}}),v(d,"Smooth",{get:function(){return this.eua},set:function(a){this.eua=a}}),v(d,"Values",{get:function(){return u.IsOfPieChart(this.Xta)?this.ProcessOfPieValues():this.Ey},set:function(a){this.SetValuesInternal(a)}}),v(d,"XValues",{get:function(){return this.GetXValues()},set:function(a){this.SetXValuesInternal(a),this.Chart.HandleElementChanged(3,this,z.XValues,a)}}),v(d,"BubbleSizes",{get:function(){return this.GetBubbleSizes()},set:function(a){this.SetBubbleSizesInternal(a)}}),v(d,"DataLabels",{get:function(){var a=this;return D(a.Qta)&&(a.Qta=new I(a)),a.Qta}}),v(d,"Points",{get:function(){return this.fua}}),v(d,"Trendlines",{get:function(){return this.gua}}),v(d,"PlotOrder",{get:function(){return this.Tta===-1?this.Index+1:this.Tta},set:function(a){var b,c=this;c.PlotOrder!==a&&a>0&&a<=c.Kta.Count&&(b=c.Tta===-1?c.Index+1:c.Tta,c.Tta=a,c.Chart.HandleElementChanged(3,c,z.PlotOrder,a,b))}}),v(d,"FormatInternal",{get:function(){var a=this;return D(a.Kb)&&(a.Kb=a.CreateFormat()),this.Kb}}),v(d,"AutoColorIndex",{get:function(){return this.Sta!==-1?this.Sta:this.SourceIndex}}),v(d,"OwnerChartType",{get:function(){return this.Kta.Parent.ChartType}}),v(d,"PointsCount",{get:function(){var a=this;return u.IsOfPieChart(a.InnerChartType)?a.ValuesCount+1:a.ValuesCount}}),v(d,"ValuesCount",{get:function(){return D(this.Ey)?0:this.Ey.length}}),v(d,"PlotVisibleOnly",{get:function(){return this.eta},set:function(a){var b=this;a!==b.eta&&(b.eta=a,b.RefreshValuesIfNeed())}}),v(d,"IsHidden",{get:function(){var a=this;return!D(a.Nta)&&a.Nta.length>0&&a.AreAllCellsHidden(a.Nta)}}),v(d,"SourceIndex",{get:function(){return this.Kta.IndexOfSource(this)}}),v(d,"Worksheet",{get:function(){return this.Kta.Parent.Parent.sheet()}}),v(d,"IsMultiLevelXValues",{get:function(){return this.Rta},set:function(a){var b=this;a!==b.Rta&&(b.Rta=a,b.Chart.HandleElementChanged(3,b,z.IsMultiLevelXValues))}}),v(d,"NameRefer",{get:function(){return this.Lta}}),v(d,"XValuesRefers",{get:function(){return this.Mta}}),v(d,"ValuesRefers",{get:function(){return this.Nta}}),v(d,"BubbleSizesRefers",{get:function(){return this.Ota}}),v(d,"ValuesMinMax",{get:function(){return this.Uta},set:function(a){var b=this;a!==b.Uta&&(b.Uta=a,b.Chart.HandleElementChanged(3,b,z.ValuesMinMax))}}),v(d,"XValuesMinMax",{get:function(){return this.Vta},set:function(a){var b=this;a!==b.Vta&&(b.Vta=a,b.Chart.HandleElementChanged(3,b,z.XValuesMinMax))}}),v(d,"AreAllXValuesDateTime",{get:function(){return this.hua},set:function(a){var b=this;a!==b.hua&&(b.hua=a,b.Chart.HandleElementChanged(3,b,z.AreAllXValuesDateTime))}}),v(d,"InnerChartType",{get:function(){return this.Xta}}),v(d,"Chart",{get:function(){return this.Kta.Parent}}),l(d,{Init:function(){var a=this;a.Pta=a.CreateMarkerFormat(),a.gta=N,a.ic=new F(a.Chart),a.ic.AutoColorFormat=a.AutoInvertColorFormat,a.gua=new f(a),a.fua=new H(a),a.cua=0,a.dua=1,a.bua=4,a.aua=z.DefaultMarkerSize,a.hua=!1,a.UpdateSettingsByChartType()},iua:function(){return this.ChartType+(this.AxisGroup?"F":"")},fQa:function(){var a=this;a.Wta&&a.Wta.dLbls&&delete a.Wta.dLbls},SetFillColor:function(a,b){this.Format.Fill.Color.setColor(a,b)},SetLineColor:function(a,b){this.Format.Line.Color.setColor(a,b)},SetMarkerFillColor:function(a,b){this.MarkerFormat.Fill.Color.setColor(a,b)},SetMarkerLineColor:function(a,b){this.MarkerFormat.Line.Color.setColor(a,b)},UpdateFormula:function(a,b){var c,d;b===O&&(b=!1),a&&(c=this,d=a.split(","),d.length>5&&(d.length=4),d.forEach(function(a,d){if(a)switch(d){case 0:a=a.replace("SERIES(",""),c.UpdateNameFormula(a,b);break;case 1:c.UpdateXValuesFormula(a,b);break;case 2:c.UpdateValuesFormula(a,b);break;case 4:a=a.replace(")",""),c.UpdateBubbleFormula(a)}}))},GetDataLabels:function(){return this.Qta},ClearFormats:function(){this.ChartFormat=this.GetDefaultFormat()},Delete:function(){this.Kta.DeleteSeries(this),this.Kta=N},RefreshValuesIfNeed:function(a,b){var c,d,e,f,g,h,i=this;D(a)&&(c=i.Worksheet.jua(!0),d=i.Worksheet.jua(!1),(c.length>0||d.length>0)&&(a=[],[].push.apply(a,i.SegmentToRects(c,!0)),[].push.apply(a,i.SegmentToRects(d,!1)))),e=i.Lta,e&&(b||i.InterectWith([e],a))&&i.UpdateNameByRefer(e),f=i.Mta,f&&f.length>0&&(b||i.InterectWith(f,a))&&i.UpdateXValuesByRefers(f),g=i.Nta,g&&g.length>0&&(b||i.InterectWith(g,a))&&i.UpdateValuesByRefers(g),h=i.Ota,h&&h.length>0&&(b||i.InterectWith(h,a))&&i.UpdateBubbleSizesRefers(h)},ClearBarShapeInternal:function(){this.gta=N},SegmentToRects:function(a,b){var c,d,e,f,g,h=[];for(c=0;c<a.length;c++)d=a[c],e=d.Index,f=d.Count,g=b?new B(e,0,f,t):new B(0,e,t,f),h.push(g);return h},InterectWith:function(a,b){return!D(a)&&!D(b)&&a.some(function(a){return b.some(function(b){return b.IntersectsWith(a.GetSourceRange(0,0))})})},GetNameFormula:function(a){return a===O&&(a=!1),D(this.Lta)?"":this.GetFormulaString2([this.Lta],a)},GetXValuesFormula:function(a){return a===O&&(a=!1),D(this.Mta)?"":this.GetFormulaString2(this.Mta,a)},GetValuesFormula:function(a){return a===O&&(a=!1),D(this.Nta)?"":this.GetFormulaString2(this.Nta,a)},GetBubbleSizesFormula:function(a){return a===O&&(a=!1),D(this.Ota)?"":this.GetFormulaString2(this.Ota,a)},GetFormulaString2:function(a,b){var c,d,e,f,g,h;for(b===O&&(b=!1),c=this.Worksheet.name(),d=[],e=0,f=a.length;e<f;e++)g=a[e],h=b?g.ToR1C1Text(c):g.ToA1Text(0,0,c),d.push(h);return d.join(",")},HasRefers:function(a){var b=this,c=!1;switch(a){case 0:c=!D(b.Lta);break;case 1:c=!D(b.Nta)&&b.Nta.length>0;break;case 2:c=!D(b.Mta)&&b.Mta.length>0;break;case 3:c=!D(b.Ota)&&b.Ota.length>0}return c},UpdateOrder:function(a){this.Tta>a&&this.Tta--},SetNameInternal:function(a){this.Cj=a,this.ClearNameFormulaInternal()},SetXValuesInternal:function(a){this.UpdateXValues(a),this.ClearXValuesFormulaInternal()},SetValuesInternal:function(a){this.UpdateNumberValues(a),this.ClearValuesFormulaInternal()},SetBubbleSizesInternal:function(a){this.kua=a,this.ClearBubbleFormulaInternal()},SetPlotOrderInternal:function(a){this.Tta=a},ResetOnOwnerChartTypeChanged:function(a,b){var c=this;a===O&&(a=N),b===O&&(b=N),c.Xta=D(a)?c.Kta.Parent.ChartType:a,c.Wta=N,c.fsa=D(b)?0:b,c.sQa=N,c.UpdateSettingsByChartType()},UpdateSecondPlotPoints:function(){var a,b,c,d,e,f,g,h,i,j,k,l,m=this,n=m.Parent;if(D(n)||3!==n.SplitType){for(a=0,b=m.Points.Count;a<b;a++)m.Points.Get(a).SetSecondaryPlotInteral(!1);if(!D(n))switch(n.SplitType){case 0:for(f=m.Ey.length-n.SplitValue,f<0&&(f=0),c=f;c<m.Ey.length;c++)m.Points.Get(c).SetSecondaryPlotInteral(!0);break;case 1:for(c=0;c<m.Ey.length;c++)e={value:N},w(m.Ey[c],e),d=e.value,!D(d)&&d<n.SplitValue&&m.Points.Get(c).SetSecondaryPlotInteral(!0);break;case 2:for(g=0,h=[],a=0,i=m.Ey,j=i.length;a<j;a++)k=i[a],e={value:N},w(k,e),d=e.value,D(d)||(h.push(d),d=Math.abs(d),g+=d);for(c=0;c<h.length;c++)d=h[c],l=d/g*100,l<n.SplitValue&&m.Points.Get(c).SetSecondaryPlotInteral(!0);break;case 3:}}},UpdateSettingsByChartType:function(){var a=this,b=a.Xta;switch(a.Kb=a.GetDefaultFormat(),a.eua=u.IsSmoothLine(b),a.aua=z.DefaultMarkerSize,a.UnDirty(32),a.bua=4,a.UnDirty(64),a.Zta=!1,a.UnDirty(4),b){case 0:break;case 12:case 13:case 14:break;case 15:case 16:case 17:case 6:break;case 18:case 19:case 20:break;case 21:case 22:case 23:break;case 9:case 24:case 25:break;case 26:case 27:case 28:a.bua=0;break;case 5:break;case 10:case 29:case 4:a.Yta=0;break;case 30:case 31:a.Yta=25;break;case 32:break;case 1:case 33:case 35:a.bua=0;break;case 34:case 36:a.bua=4;break;case 8:case 37:case 38:case 39:case 40:case 7:break;case 3:a.Yta=0;break;case 41:a.Yta=25;break;case 2:case 43:break;case 42:a.bua=11;break;case 44:case 45:case 46:case 47:break;case 11:break;case 48:a.Zta=!0;break;case 49:case 50:case 51:case 52:a.bua=3,a.aua=3}a.HasDataLabels&&a.Qta.ResetByChartType(),a.cPa()},GetFormulaString:function(a){var b,c,d,e,f,g,h,i,j,k,l,m=this;return a===O&&(a=!1),b=m.GetNameFormula(a),c=m.GetXValuesFormula(a),d=m.GetValuesFormula(a),e=m.GetBubbleSizesFormula(a),f=m.PlotOrder,b?g=b:(h=m.Name,g=D(h)?"":'"'+h+'"'),i=c?m.Mta.length>1?"("+c+")":c:m.ToFormulaArray(m.lua,!0),j=d?m.Nta.length>1?"("+d+")":d:m.ToFormulaArray(m.Ey,!1),k=""+f,u.IsBubbleChart(m.Xta)?(l=e?m.Ota.length>1?"("+e+")":e:m.ToFormulaArray(m.BubbleSizes,!1),"SERIES("+g+","+i+","+j+","+k+","+l+")"):"SERIES("+g+","+i+","+j+","+k+")"},ToFormulaArray:function(a,b){var c,d,e,f,g;if(D(a)||0===a.length)return"";if(c=a,d=b&&c.some(function(a){return"string"==typeof a}),e=[],e.push("{"),!D(a)&&a.length>0)for(f=0;f<a.length;f++)f>0&&e.push(","),g=a[f],D(g)?e.push("#N/A"):"string"==typeof g?(e.push('"'),e.push(g),e.push('"')):d?(e.push('"'),e.push(""+g),e.push('"')):e.push(g);return e.push("}"),e.join("")},UpdateFormulas:function(a,b){var c,d,e=this;b===O&&(b=!1),c=e.Worksheet.Kpa(a,0,0,b),d=c.references,d&&(d[0]&&e.SetNameRefer(d[0]),d[1]&&e.SetXValuesRefers([d[1]]),d[2]&&e.SetValuesRefers([d[2]]),d[3]&&e.SetBubbleSizesRefers([d[3]]))},ClearNameFormula:function(){this.ClearNameFormulaInternal(),this.Cj=N},ClearNameFormulaInternal:function(){this.UpdateNameReferCore(N)},ClearXValuesFormula:function(){this.ClearXValuesFormulaInternal(),this.UpdateXValues(N)},ClearXValuesFormulaInternal:function(){this.UpdateXValuesRefersCore(N)},ClearValuesFormula:function(){this.ClearValuesFormulaInternal(),this.UpdateValues(N)},ClearValuesFormulaInternal:function(){this.UpdateValuesRefersCore(N)},ClearBubbleFormula:function(){this.ClearBubbleFormulaInternal(),this.UpdateBubbleSizes(N)},ClearBubbleFormulaInternal:function(){this.UpdateBubbleSizesRefersCore(N)},UpdateNameFormula:function(a,b){var c,d,e;b===O&&(b=!1),c=this.Worksheet.Kpa(a,0,0,b),d=c.references,e=d?d[0]:N,this.SetNameRefer(e)},UpdateXValuesFormula:function(a,b){var c,d;b===O&&(b=!1),c=this.Worksheet.Kpa(a,0,0,b),d=c.references,d.length>0?this.SetXValuesRefers(d):this.SetXValuesInternal(c.values)},UpdateValuesFormula:function(a,b){var c,d;b===O&&(b=!1),c=this.Worksheet.Kpa(a,0,0,b),d=c.references,d.length>0?this.SetValuesRefers(d):this.SetValuesInternal(c.values)},UpdateBubbleFormula:function(a,b){var c,d;b===O&&(b=!1),
c=this.Worksheet.Kpa(a,0,0,b),d=c.references,d.length>0?this.SetBubbleSizesRefers(d):this.SetBubbleSizesInternal(c.values)},RemoveEquals:function(a){return a&&"="===a[0]&&(a=a.substr(1)),a},SetNameRefer:function(a){this.UpdateNameRefer(a)},SetXValuesRefers:function(a){this.UpdateXValuesRefers(a),this.IsMultiLevelXValues=!D(a)&&a.length>0&&a[0].RowCount>1&&a[0].ColumnCount>1},SetValuesRefers:function(a){this.CheckRefers(a),this.UpdateValuesRefers(a)},SetBubbleSizesRefers:function(a){this.CheckRefers(a),this.UpdateBubbleSizesRefers(a)},UpdateNameRefer:function(a){this.UpdateNameReferCore(a),this.UpdateNameByRefer(a)},UpdateXValuesRefers:function(a){this.UpdateXValuesRefersCore(a),this.UpdateXValuesByRefers(a)},UpdateValuesRefers:function(a){this.UpdateValuesRefersCore(a),this.UpdateValuesByRefers(a)},UpdateBubbleSizesRefers:function(a){this.UpdateBubbleSizesRefersCore(a),this.UpdateSizessByRefers(a)},UpdateNameReferCore:function(a){this.Lta=a},UpdateXValuesRefersCore:function(a){D(a)||0===a.length?this.Mta=[]:this.Mta=a},UpdateValuesRefersCore:function(a){D(a)||0===a.length?this.Nta=[]:this.Nta=a},UpdateBubbleSizesRefersCore:function(a){D(a)||0===a.length?this.Ota=[]:this.Ota=a},GetValuesFromRefers:function(a){var b,c,d,e,f,g,h,i,j,k=this,l=[],m=k.PlotVisibleOnly,n=u.GetValuesFromCellRefers(k.Worksheet,a,m);for(b=0,c=n;b<c.length;b++)if(d=c[b],!D(d))for(e=0,f=d;e<f.length;e++)for(g=f[e],h=0,i=g;h<i.length;h++)j=i[h],l.push(j);return l},GetMultiLevelValuesFromRefers:function(a){var b,c,d,e=this,f=[],g=u.GetValuesFromCellRefer(e.Worksheet,a[0],e.PlotVisibleOnly),h=g.length,i=g[0].length;if(1===e.Kta.RowCol)for(b=0;b<h;b++){for(c=[],d=0;d<i;d++)c.push(g[b][d]);[].push.apply(f,c)}else for(d=0;d<i;d++){for(c=[],b=0;b<h;b++)c.push(g[b][d]);[].push.apply(f,c)}return f},GetStylesFromRefers:function(a){var b,c,d,e,f,g,h,i,j,k=[],l=u.GetStylesFromCellRefers(this.Worksheet,a,this.PlotVisibleOnly);for(b=0,c=l;b<c.length;b++)if(d=c[b],!D(d))for(e=0,f=d;e<f.length;e++)for(g=f[e],h=0,i=g;h<i.length;h++)j=i[h],k.push(j);return k},UpdateNameByRefer:function(a){var b,c,d,e,f=this;if(D(a)||a.IsError)f.Cj=N;else if(b=f.Worksheet.Apa(a.WorksheetName),D(b))f.Cj=N;else for(c=a,f.Cj="",d=c.Row;d<=c.LastRow;d++)for(e=c.Column;e<=c.LastColumn;e++)f.Cj+=b.Jpa(d,e).Text},UpdateXValuesByRefers:function(a){var b,c=this;!D(a)&&a.length>0?(b=c.IsMultiLevelXValues?c.GetMultiLevelValuesFromRefers(a):c.GetValuesFromRefers(a),c.UpdateXValues(b)):c.UpdateXValues(N)},UpdateValuesByRefers:function(a){if(!D(a)&&a.length>0){var b=this.GetValuesFromRefers(a);this.UpdateValues(b)}else this.UpdateValues([])},UpdateSizessByRefers:function(a){if(!D(a)&&a.length>0){var b=this.GetValuesFromRefers(a);this.UpdateBubbleSizes(b)}else this.UpdateBubbleSizes([])},UpdateValues:function(a){var b=[];u.TryAllToNumbers(a,b),this.UpdateNumberValues(b)},cPa:function(){var a,c,d,e,f,g,h,i,j,k,l,m,n,o,p=this,q=p.Ey,r=b.getMinMaxValues(q),t=p.Xta;if(!D(q)&&q.length>0&&u.IsStackedChart(t)){for(a=p.Kta.GetValidSers(p.AxisGroup).filter(function(a){return a.Xta===t}).map(function(a){return a.Ey}),c=0,d=0,e=[],f=0;f<q.length;f++){for(g=0,h=0,i=0,j=0;j<a.length;j++)k=a[j]&&a[j][f],D(k)||(k>=0?h+=k:g+=k,i+=k);e.push(i),c<h&&(c=h),d>g&&(d=g)}0===c&&(c=Math.max.apply(null,e)),0===d&&(d=Math.min.apply(null,e)),a.length>0&&(l=a[0],l.length>0&&(m=Math.min.apply(null,l),n=Math.max.apply(null,l),o=s.calcMinMax(d,c,!1,this.Chart),o.Max<n&&(c=0),o.Min>m&&(d=0))),r.Max=c,r.Min=d}p.ValuesMinMax=r},UpdateNumberValues:function(a){var b=this;b.Ey=a,b.cPa(),u.IsOfPieChart(b.InnerChartType)&&b.UpdateSecondPlotPoints(),a&&this.wWa(a.length)},wWa:function(a){var b=this,c=b.xWa;D(c)||(delete b.xWa,a!==c&&(b.XValuesMinMax={Min:1,Max:a}))},UpdateBubbleSizes:function(a){var b,c,d,e,f=[];for(b=0,c=a;b<c.length;b++)d=c[b],e={value:N},w(d,e)?f.push(e.value):f.push(1);this.kua=f},UpdateXValues:function(a){var c=[],d=!1,e=this;D(a)||0===a.length?e.lua=N:(e.lua=a,d=u.TryAllToNumbers(a,c,!0)),d&&0!==c.length||(c=e.GetXValues()),e.XValuesMinMax=b.getMinMaxValues(c),e.AreAllXValuesDateTime=u.AreValuesDateTime(e.Worksheet,e.XValuesRefers,e.PlotVisibleOnly)},GetXValues:function(){var a=u.GetDimensioin(this.Xta),b=[];return 1===a?[].push.apply(b,this.GetOneDimensionXValues()):[].push.apply(b,this.GetMultiDimensionXValues()),b},XValuesIsAuto:function(){var a,b=this.lua,c=u.GetDimensioin(this.Xta);return a=1===c?D(b)||0===b.length:D(b)||0===b.length||!u.AreAllNumbers(b)},GetOneDimensionXValues:function(){var a=this.PointsCount,b=this.GetAdjustedOneDimensionXValues(a);return b.some(function(a){return"string"==typeof a})&&(b=this.GetXValuesText(a)),b},GetAdjustedOneDimensionXValues:function(a){var b=this.lua,c=[];return c=D(b)||0===b.length?this.AutoGenerateXValues():b.length!==a?this.AdjustList(b,a):b},GetMultiDimensionXValues:function(){var a,b=this,c=b.lua,d=[];return D(c)||0===c.length?d=b.AutoGenerateXValues():u.AreAllNumbers(c)?(d=c,a=b.PointsCount,d.length>a&&(d=b.AdjustList(d,a))):d=b.AutoGenerateXValues(),d},AdjustList:function(a,b){var c,d=[];if([].push.apply(d,a),d.length>b)d.splice(b,d.length-b);else for(c=0;c<=b-d.length;c++)d.push(N);return d},AutoGenerateXValues:function(){var a,b=this.PointsCount,c=[];for(a=0;a<b;a++)c.push(a+1);return this.xWa=b,c},GetBubbleSizes:function(){var a,b,c,d,e=this,f=e.kua;if(D(f)||0===f.length){if(a=e.Ey,D(a)||0===a.length)return N;for(b=[],c=0,d=a.length;c<d;c++)e.Ey[c]!==N?b.push(1):b.push(N);return b}return this.kua},CheckRefers:function(a){var b,c,d,e;if(D(a))throw Error("Must provide at least one range or values!");for(b=N,c=0,d=a;c<d.length;c++){if(e=d[c],D(b))b=e.WorksheetName;else if(b!==e.WorksheetName)throw Error("Must be same worksheet!");if(e.RowCount>1&&e.ColumnCount>1)throw Error("The Range must contain single row or column!")}},ProcessOfPieValues:function(){var a,b,c,d,e=this,f=e.Ey;if(D(f)||0===f.length)return f;for(a=0,b=0;b<f.length;b++)c={value:N},e.Points.Get(b).SecondaryPlot&&w(f[b],c)&&!D(c.value)&&(a+=Math.abs(c.value));return d=f.slice(0),d.push(a),d},CreateFormat:function(){var a=this;return new J(a.Chart,N,a.AutoFillColorFormat.bind(a),a.AutoLineColorFormat.bind(a))},GetDefaultFormat:function(){var b=this,c=a.prototype.GetDefaultFormat.call(b);return u.IsRadarChart(b.Xta)?(c.Line.Weight=3,c.Line.Color.ColorType=1):u.IsLineSeries(b.Xta)?(c.Line.Weight=2,c.Line.Color.ColorType=y(b.SeriesCollection.Parent.ChartType)?0:1):u.IsScatterChart(b.Xta)?(c.Line.Weight=2,c.Line.Color.ColorType=0):u.IsOfPieChart(b.Xta)?(c.Line.Weight=2,c.Line.Color.ObjectThemeColor=0):u.IsPieOrDoughnutChart(this.Xta)&&(c.Line.Weight=2,c.Line.Color.RGB=K.FromArgbs(255,255,255,255)),c},AutoFillColorFormat:function(){return u.IsFillSeries(this.Xta)?this.GenerateAutoColor(this.AutoColorIndex):N},AutoLineColorFormat:function(){return u.IsLineSeries(this.Xta)?this.GenerateAutoColor(this.AutoColorIndex):N},AutoMarkerColorFormat:function(){return u.IsMarkerSeries(this.Xta)?this.GenerateAutoColor(this.AutoColorIndex):N},AutoInvertColorFormat:function(){var a=new F(this.Chart);return a.RGB=K.FromArgbs(255,255,255,255),a},GenerateAutoColor:function(a){if(u.IsAnyPieChart(this.InnerChartType)&&this.Parent.VaryByCategories)return N;var b=new F(this.Chart);return b.ObjectThemeColor=q["Accent"+(a%6+1)],b},CreateMarkerFormat:function(){var a=this;return new J(a.Chart,N,a.AutoMarkerColorFormat.bind(a),a.AutoMarkerColorFormat.bind(a))},IsPictureFill:function(){if(!D(this.Kb)){var a=this.Kb.Fill.Type;return 5===a||3===a}return!1},IsDirtyIncludingParent:function(b){var c=this;return b===O&&(b=!1),!(D(c.Kb)||!c.Kb.IsDirtyIncludingParent(b))||(!(D(c.Pta)||!c.Pta.IsDirtyIncludingParent(b))||a.prototype.IsDirtyIncludingParent.call(c,b))},AreAllCellsHidden:function(a){var b,c,d,e,f,g;for(b=0,c=a;b<c.length;b++)if(d=c[b],!d.IsError&&(e=this.Worksheet.Apa(d.WorksheetName),!D(e))){if(1===d.RowCount&&e.Jpa(d.Row,d.Column).EntireRow.Hidden)return!0;if(1===d.ColumnCount&&e.Jpa(d.Row,d.Column).EntireColumn.Hidden)return!0;for(f=d.Column;f<d.Column+d.ColumnCount;f++)if(!e.Jpa(d.Row,f).EntireRow.Hidden)return!1;for(g=d.Row;g<d.Row+d.RowCount;g++)if(!e.Jpa(g,d.Column).EntireColumn.Hidden)return!1}return!1},HasHiddenValues:function(){return this.HasHiddenCells(this.Mta)},HasHiddenCells:function(a){var b,c,d,e,f,g;if(D(a)||0===a.length)return!1;for(b=0,c=a;b<c.length;b++)if(d=c[b],e=this.Worksheet.Apa(d.WorksheetName),1===d.RowCount){for(f=d.Column;f<=d.LastColumn;f++)if(e.Jpa(d.Row,f).EntireColumn.Hidden)return!0}else if(1===d.ColumnCount)for(g=d.Row;g<=d.LastRow;g++)if(e.Jpa(g,d.Column).EntireRow.Hidden)return!0;return!1},GetRowColIndex:function(a,b,c){var d,e,f,g,h,i,j;for(c.sheet=N,c.row=-1,c.col=-1,d=0,e=0,f=a;e<f.length;e++)if(g=f[e],!g.IsError&&(c.sheet=this.Worksheet.Apa(g.WorksheetName),!D(c.sheet)))for(h=g.Row;h<g.Row+g.RowCount;h++)for(i=g.Column;i<g.Column+g.ColumnCount;i++)if(this.eta){if(j=c.sheet.Jpa(h,i),!j.EntireRow.Hidden&&!j.EntireColumn.Hidden){if(b===d)return c.row=h,void(c.col=i);d++}}else{if(b===d)return c.row=h,void(c.col=i);d++}},GetXValueText:function(a){var b=this.GetXValuesText(this.PointsCount,N);return a>b.length?"":b[a]},GetCatText:function(a){var b=this.PointsCount;return u.IsOfPieChart(this.Xta)&&a===b-1?"":this.GetXValueText(a)},GetPercentageValue:function(a){var b,c,d,e=this.Values[a],f=0;for(b=0,c=this.Values;b<c.length;b++)d=c[b],D(d)||(f+=Math.abs(d));return D(e)?0:e/f},GetXValuesText:function(a,b){return b===O&&(b=N),this.IsMultiLevelXValues?this.GetMultiXValuesText(a,b):this.GetSingleXValuesText(a,b)},GetSingleXValuesText:function(a,b){var c,d,e,f,g,h,i=this;for(b===O&&(b=N),c=[],d=N,!D(i.Mta)&&i.Mta.length>0&&(d=i.GetStylesFromRefers(i.XValuesRefers)),e=i.GetAdjustedOneDimensionXValues(a),f=0;f<e.length;f++)g=b,e[f]===N?c.push(""):"string"==typeof e[f]?c.push(e[f]):(!g&&!D(d)&&d.length>0&&f<d.length&&d[f]!==N&&(g=d[f].FormatCode),g?(h=new n(g).format(e[f]),c.push(h)):c.push(""+e[f]));return c},GetMultiXValuesText:function(a,b,c){var d,e,f,g,h,i,j,k,l,m,o,p,q=this;for(b===O&&(b=N),c===O&&(c=N),d=[],e=u.GetStylesFromCellRefer(q.Worksheet,q.XValuesRefers[0],q.PlotVisibleOnly),f=q.GetAdjustedOneDimensionXValues(a),g=0;g<f.length;g++){if(h="",f[g]instanceof Array)if(m=f[g],1===q.Kta.RowCol)for(o=0;o<m.length;o++)(D(c)||c===o)&&(h&&(h+=" "),l=m[o],"string"==typeof l?h+=""+l:(j=b,k=e.GetValue(g,o),D(k)||j||(j=k.FormatCode),j?(i=new n(j).format(l),h+=i):D(l)||(h+=""+l)));else for(p=0;p<m.length;p++)(D(c)||c===p)&&(h&&(h+=" "),l=m[p],"string"==typeof l?h+=""+l:(j=b,k=e.GetValue(p,g),D(k)||j||(j=k.FormatCode),j?(i=new n(j).format(l),h+=i):D(l)||(h+=""+l)));d.push(h)}return d},GetPointValueText:function(a,b){var c,d,e,f,g,h,i=this;return b===O&&(b=N),c=i.PointsCount,u.IsOfPieChart(i.InnerChartType)&&a===c-1?b?new n(b).format(this.Values[a]):""+i.Values[a]:i.HasRefers(1)?(d={sheet:N,row:-1,col:-1},i.GetRowColIndex(i.ValuesRefers,a,d),e=d.sheet,f=d.row,g=d.col,D(e)||f===-1||g===-1?N:b?(h=e.mua(f,g),new n(b).format(h)):e.vpa(f,g)):b?new n(b).format(this.Values[a]):""+this.Values[a]},FromOOModel:function(a){var b=this;b.Wta=a,0===a.seriesType?b.FromCT_BarSer(a):1===a.seriesType?b.FromCT_AreaSer(a):2===a.seriesType?b.FromCT_LineSer(a):3===a.seriesType?b.FromCT_PieSer(a):4===a.seriesType?b.FromCT_RadarSer(a):5===a.seriesType?b.FromCT_ScatterSer(a):6===a.seriesType?b.FromCT_BubbleSer(a):7===a.seriesType&&b.FromCT_SurfaceSer(a)},ToOOModel:function(){var a=this,b=N;switch(this.Xta){case 0:break;case 12:case 13:case 14:case 15:case 16:case 17:case 6:case 18:case 19:case 20:case 21:case 22:case 23:b=a.ToCT_BarSer();break;case 9:case 24:case 25:case 26:case 27:case 28:case 5:b=a.ToCT_LineSer();break;case 10:case 29:case 32:case 30:case 31:case 4:b=a.ToCT_PieSer();break;case 1:case 33:case 34:case 35:case 36:b=a.ToCT_ScatterSer();break;case 8:case 37:case 38:case 39:case 40:case 7:b=a.ToCT_AreaSer();break;case 3:case 41:b=a.ToCT_PieSer();break;case 2:case 42:case 43:b=a.ToCT_RadarSer();break;case 44:case 45:case 46:case 47:b=a.ToCT_SurfaceSer();break;case 11:case 48:b=a.ToCT_BubbleSer();break;case 49:break;case 50:break;case 51:break;case 52:}return b&&u.removeEmptyArrayProperties(b),b},ToCT_BarSer:function(){var a=this,b=a.Wta,c=b&&0===b.seriesType?b:{seriesType:0};return a.ToCT_CatValSerBase(c),c.shape=a.BarShape,c.invertIfNegative=a.InvertIfNegative,c.dPt=a.ToDataPoints(),a.IsPictureFill()?c.pictureOptions=a.ToCT_PictureOptions():delete c.pictureOptions,c},FromCT_BarSer:function(a){var b=this;b.FromCT_CatValSerBase(a),D(a.shape)||(b.BarShape=a.shape),D(a.invertIfNegative)||(b.InvertIfNegative=a.invertIfNegative),b.fua.RestorePoints(a.dPt),b.FromCT_PictureOptions(a.pictureOptions)},ToCT_LineSer:function(){var a=this,b=a.Wta&&2===a.Wta.seriesType?a.Wta:{seriesType:2,dPt:[],trendline:[],errBars:[]};return a.ToCT_CatValSerBase(b),b.smooth=a.Smooth,b.marker=a.ToCT_Marker(),b.dPt=a.ToDataPoints(),b},FromCT_LineSer:function(a){var b=this;b.FromCT_CatValSerBase(a),D(a.smooth)||(b.Smooth=a.smooth),b.FromCT_Marker(a.marker),b.fua.RestorePoints(a.dPt)},ToCT_PieSer:function(){var a=this,b=a.Wta&&3===a.Wta.seriesType?a.Wta:{seriesType:3,dPt:[],trendline:[],errBars:[]};return a.ToCT_CatValSerBase(b),b.explosion=a.Explosion,b.dPt=a.ToDataPoints(),b},FromCT_PieSer:function(a){this.FromCT_CatValSerBase(a),D(a.explosion)||(this.Explosion=a.explosion),this.fua.RestorePoints(a.dPt)},ToCT_AreaSer:function(){var a=this,b=a.Wta&&1===a.Wta.seriesType?a.Wta:{seriesType:1,dPt:[],trendline:[],errBars:[]};return a.ToCT_CatValSerBase(b),b.marker=a.ToCT_Marker(),a.IsPictureFill()?b.pictureOptions=a.ToCT_PictureOptions():b.pictureOptions=N,b},FromCT_AreaSer:function(a){this.FromCT_CatValSerBase(a),this.FromCT_Marker(a.marker),this.FromCT_PictureOptions(a.pictureOptions)},ToCT_RadarSer:function(){var a=this,b=a.Wta&&4===a.Wta.seriesType?a.Wta:{seriesType:4,dPt:[],trendline:[],errBars:[]};return a.ToCT_CatValSerBase(b),b.marker=a.ToCT_Marker(),b.dPt=a.ToDataPoints(),b},FromCT_RadarSer:function(a){this.FromCT_CatValSerBase(a),this.FromCT_Marker(a.marker),this.fua.RestorePoints(a.dPt)},ToCT_ScatterSer:function(){var a=this,b=a.Wta&&5===a.Wta.seriesType?a.Wta:{seriesType:5,dPt:[],trendline:[],errBars:[]};return a.ToCT_XYSerBase(b),b.smooth=a.Smooth,b.marker=a.ToCT_Marker(),b.dPt=a.ToDataPoints(),b},FromCT_ScatterSer:function(a){var b=this;b.FromCT_XYSerBase(a),D(a.smooth)||(b.Smooth=a.smooth),b.FromCT_Marker(a.marker),b.fua.RestorePoints(a.dPt)},ToCT_BubbleSer:function(){var a=this,b=a.Wta&&5===this.Wta.seriesType?a.Wta:{seriesType:6,dPt:[],trendline:[],errBars:[]};return a.ToCT_XYSerBase(b),b.bubbleSize=a.BubbleSizesToCT_NumDataSource(),b.bubble3D=48===a.Xta||a.Has3DEffect,b.invertIfNegative=a.InvertIfNegative,b.extLst=a.ToCT_ExtensionList(),b.dPt=a.ToDataPoints(),b},FromCT_BubbleSer:function(a){var b=this;b.FromCT_XYSerBase(a),b.BubbleFromCT_NumDataSource(a.bubbleSize),a.bubble3D&&(b.Has3DEffect=!0),b.fua.RestorePoints(a.dPt)},ToCT_CatValSerBase:function(a){var b=this;a.idx=b.Sta!==-1?b.Sta:b.SourceIndex,b.Tta===-1?a.order=b.SourceIndex:a.order=b.Tta-1,a.tx=b.ToCT_SerTx(),a.spPr=b.ToShapeProperties(),a.cat=b.XValuesToCT_AxDataSource(),a.val=b.ValuesToCT_NumDataSource(),a.dLbls=b.ToCT_DLbls(),a.trendline=b.ToCT_Trendlines(),a.extLst=b.ToCT_ExtensionList()},FromCT_CatValSerBase:function(a){var b=this;D(a.idx)?b.Sta=-1:b.Sta=a.idx,D(a.order)?b.Tta=-1:b.Tta=a.order+1,b.FromCT_SerTx(a.tx),b.FromShapeProperties(a.spPr),b.FromCT_AxDataSource(a.cat),b.FromCT_NumDataSource(a.val),b.FromCT_DLbls(a.dLbls),b.FromCT_Trendlines(a.trendline),b.FromCT_ExtensionList(a.extLst)},ToCT_XYSerBase:function(a){var b,c=this;a.idx=c.Sta!==-1?c.Sta:c.SourceIndex,a.order=c.PlotOrder-1,a.tx=c.ToCT_SerTx(),a.spPr=c.ToShapeProperties(),a.xVal=c.XValuesToCT_AxDataSource(),a.yVal=c.ValuesToCT_NumDataSource(),b=c.ToCT_DLbls(),b&&(a.dLbls=b),a.trendline=c.ToCT_Trendlines(),a.extLst=c.ToCT_ExtensionList()},FromCT_XYSerBase:function(a){var b=this;D(a.idx)?b.Sta=-1:b.Sta=a.idx,D(a.order)?b.Tta=-1:b.Tta=a.order+1,b.FromCT_SerTx(a.tx),b.FromShapeProperties(a.spPr),b.FromCT_NumDataSource(a.yVal),b.FromCT_AxDataSource(a.xVal),b.FromCT_DLbls(a.dLbls),b.FromCT_Trendlines(a.trendline),b.FromCT_ExtensionList(a.extLst)},ToCT_DLbls:function(){var a=this;return!a.HasDataLabels&&!a.fua.HasDataLabel||D(a.Qta)?N:a.Qta.ToOOModel()},ToCT_Trendlines:function(){var a,b,c,d=[];if(this.gua.Count>0)for(a=0,b=this.gua.GetLines();a<b.length;a++)c=b[a],d.push(c.ToOOModel());return d},FromCT_DLbls:function(a){D(a)?this.HasDataLabels=!1:(this.HasDataLabels=!0,this.Qta.FromOOModel(a))},FromCT_Trendlines:function(a){D(a)?this.gua=new f(this):this.gua.RestoreTrendlines(a)},FromCT_AxDataSource:function(a){var b,c,d,e=this;return D(a)?void e.SetXValuesInternal(N):(b=e.GetAxDataSourceFormulaOrValues(a),c=b.formula,d=b.values,void(E(c)?D(d)?e.SetXValuesInternal(N):e.SetXValuesInternal(d):e.UpdateXValuesFormula(c)))},FromCT_NumDataSource:function(a){var b,c,d,e=this;return D(a)?void e.SetValuesInternal(N):(b=e.GetNumDataSourceFormulaOrValues(a),c=b.formula,d=b.values,void(E(c)?D(d)?e.SetValuesInternal(N):e.SetValuesInternal(d):e.UpdateValuesFormula(c)))},BubbleFromCT_NumDataSource:function(a){var b,c,d,e=this;return D(a)?void e.SetBubbleSizesInternal(N):(b=e.GetNumDataSourceFormulaOrValues(a),c=b.formula,d=b.values,void(E(c)?D(d)?e.SetBubbleSizesInternal(N):e.SetBubbleSizesInternal(d):e.UpdateBubbleFormula(c)))},ToCT_SurfaceSer:function(){var a={seriesType:7};return this.ToCT_CatValSerBase(a),a},FromCT_SurfaceSer:function(a){this.FromCT_CatValSerBase(a)},ToCT_PictureOptions:function(){var a={};return a.pictureFormat=this.PictureType,2===this.PictureType&&(a.pictureStackUnit=this.PictureUnit),a},FromCT_PictureOptions:function(a){var b=this;return D(a)?(b.cua=0,b.UnDirty(128),b.dua=1,void b.UnDirty(256)):(D(a.pictureFormat)||(b.PictureType=a.pictureFormat),void(D(a.pictureStackUnit)||(b.PictureUnit=a.pictureStackUnit)))},ToCT_SerTx:function(){var a,b=this;return E(b.Cj)&&D(b.Lta)?N:(a={},D(b.Lta)?a.v=b.Name:a.strRef={f:b.GetNameFormula()},a)},FromCT_SerTx:function(a){var b,c;return D(a)?void this.SetNameInternal(N):(b=N,c=N,D(a.strRef)||E(a.strRef.f)?E(a.v)||(c=a.v):b=a.strRef.f,void(E(b)?D(c)||this.SetNameInternal(c):this.UpdateNameFormula(b)))},ToCT_Marker:function(){var a=this,b={},c=!1;return 11!==a.MarkerStyle&&(b.symbol=a.MarkerStyle,c=!0),11!==a.MarkerStyle&&4!==a.MarkerStyle&&(b.size=a.MarkerSize,c=!0),D(a.Pta)||(b.spPr=a.Pta.ToOOModel(),c=!0),c?b:N},FromCT_Marker:function(a){var b=this;return D(a)?(b.MarkerStyle=11,void b.ClearMarkerFormat()):(D(a.spPr)?b.ClearMarkerFormat():(D(b.Pta)&&(b.Pta=b.CreateMarkerFormat()),b.Pta.FromOOModel(a.spPr)),D(a.size)||(b.MarkerSize=a.size),void(D(a.symbol)?b.MarkerStyle=11:b.MarkerStyle=a.symbol))},ClearMarkerFormat:function(){var a=this;D(a.Pta)||(a.Pta.SetParentForChildren(N),a.Pta.ParentStateful=N,a.Pta=N)},XValuesToCT_AxDataSource:function(){return this.IsMultiLevelXValues?this.ToMultipleCT_AxDataSource():this.ToSingleCT_AxDataSource()},ToSingleCT_AxDataSource:function(){var a,b,c,d,e,f=this,g={},h=f.GetXValuesFormula();return D(f.lua)||0===f.lua.length?E(h)?N:(a={},a.f=h,g.strRef=a,g):(b=[],c=f.XValues,u.TryAllToNumbers(c,b)?(d=f.ToCT_NumberData(h,f.XValuesRefers,b),E(h)?g.numLit=d:g.numRef={f:h,numCache:{formatCode:d.formatCode}}):(e=f.ToCT_StrData(c),E(h)?g.strLit=e:g.strRef={f:h}),g)},ToMultipleCT_AxDataSource:function(){var a,b,c,d,e=this;return D(e.lua)||0===e.lua.length?N:(a={},b=e.GetXValuesFormula(),c=e.ToCT_MultiLvlStrData(),d={},d.multiLvlStrCache=c,d.f=b,a.multiLvlStrRef=d,a)},GetAxDataSourceFormulaOrValues:function(a){var b,c,d,e,f,g,h=N,i=N;if(D(a.numRef)&&D(a.numLit))D(a.strRef)&&D(a.strLit)?D(a.multiLvlStrRef)||(h=a.multiLvlStrRef.f):D(a.strRef)||E(a.strRef.f)?(g=a.strLit,D(g)||D(g.pt)||(i=g.pt.slice())):h=a.strRef.f;else if(D(a.numRef)||E(a.numRef.f)){if(b=a.numLit,!D(b)&&!D(b.pt))for(i=[],c=0,d=b.pt;c<d.length;c++)e=d[c],f={value:N},w(e,f,!0),i.push(f.value)}else h=a.numRef.f;return{formula:h,values:i}},ValuesToCT_NumDataSource:function(){var a,b=this,c={},d=b.GetValuesFormula();return E(d)&&(D(b.Ey)||0===b.Ey.length)?N:(a=b.ToCT_NumberData(d,b.ValuesRefers,b.Values),E(d)?c.numLit=a:c.numRef={f:d,numCache:{formatCode:a.formatCode}},c)},GetNumDataSourceFormulaOrValues:function(a){var b,c,d,e,f,g=N,h=N;if(!D(a.numRef)||!D(a.numLit))if(D(a.numRef)||E(a.numRef.f)){if(b=a.numLit,!D(b)&&!D(b.pt))for(h=[],c=0,d=b.pt;c<d.length;c++)e=d[c],f={value:N},w(e,f,!0)?h.push(f.value):j.parse(e)instanceof j?h.push(null):h.push(0)}else g=a.numRef.f;return{formula:g,values:h}},BubbleSizesToCT_NumDataSource:function(){var a=this,b={},c=a.GetBubbleSizesFormula(),d=a.ToCT_NumberData(c,a.BubbleSizesRefers,a.BubbleSizes);return E(c)?b.numLit=d:b.numRef={f:c,numCache:{formatCode:d.formatCode}},b},ToCT_NumberData:function(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v;if(D(c)||0===c.length)return E(a)?N:(d={},d.formatCode="General",d.ptCount=1,d.pt=["1"],d);for(e={},f="General",g=[],h=[],e.formatCode=f,i=e.ptCount=c.length,j=0;j<i;j++)c[j]===N||isNaN(c[j])?k="#N/A":(l=c[j],k=C.IsNegativeInfinity(l)?Number.MIN_VALUE.toLocaleString():C.IsPositiveInfinity(l)?Number.MAX_VALUE.toLocaleString():l.toLocaleString()),g.push(k);if(!D(b)&&b.length>0){for(m=[],n=0,o=b;n<o.length;n++)p=o[n],m.push(new B(p.Row,p.Column,p.RowCount,p.ColumnCount));for(q=0,r=this.GetStylesFromRefers(b),s=0,t=r;s<t.length&&q<i;s++)u=t[s],D(u)||(v=u.FormatCode,v&&v!==f&&(h[q]=v)),q++}return g.length>0&&(e.pt=g,h.length>0&&(S(h)?e.formatCode=h[0]:e.formatCodes=h)),e},ToCT_StrData:function(a){var b=a.map(function(a){return!D(a)&&a.toLocaleString?a.toLocaleString():a});return{ptCount:a.length,pt:b}},ToCT_MultiLvlStrData:function(){var a,b,c,d=this,e={lvl:[]};for(e.ptCount=d.PointsCount,a=1===d.Kta.RowCol?d.Mta[0].ColumnCount:d.Mta[0].RowCount,b=0;b<a;b++)c=d.GetMultiXValuesText(d.PointsCount,N,b),e.lvl.push({pt:c});return e},ToCT_ExtensionList:function(){var a,b=this,c={ext:[]};return!D(b.ic)&&b.ic.IsDirtyIncludingParent()&&c.ext.push(b.ToCT_InvertSolidFillFmt()),b.HasDataLabels&&!D(b.Qta.ChartText.TextRefer)&&(a={uri:"{6F2FDCE9-48DA-4B69-8628-5D25D57E5C99}"},a.dataObject={extDataType:1},a.dataObject.f=b.Qta.ChartText.Formula,c.ext.push(a)),c},ToCT_InvertSolidFillFmt:function(){var a,b={uri:"{6F2FDCE9-48DA-4B69-8628-5D25D57E5C99}"},c={extDataType:0};return c.spPr={},a=this.ic.ToOOModel(),0===a.colorFillType?(c.spPr.solidFill=a,delete a.colorFillType):5===a.colorFillType&&(c.spPr.noFill=!0),c.spPr.ln={},c.spPr.ln.noFill=!0,b.dataObject=c,b},FromCT_ExtensionList:function(a){var b,c,d,e,f,g,h=this;if(h.HasDataLabels&&(h.Qta.ShowDataLabelsRange=!1),!D(a)&&!D(a.ext))for(b=0,c=a.ext;b<c.length;b++)d=c[b],d&&d.dataObject&&(e=d.dataObject.extDataType,0===e?(f=d.dataObject,D(f.spPr)||h.ic.FromOOModel(f.spPr.solidFill)):1===e&&(g=d.dataObject,h.Qta.ChartText.Formula=g.f,h.Qta.ShowDataLabelsRange=!0))},ToDataPoints:function(a){var b,c,d,e;a===O&&(a=!1),b=[],c=this.Points.GetPoints();for(d in c)e=c[d],(a||this.NeedRenderPoint(e))&&b.push(e.ToOOModel());return b},NeedRenderPoint:function(a){return a.IsDirtyIncludingParent()},GetParentGroup:function(){var a=this.sQa;return a||(a=this.sQa=this.Chart.FindChartGroup(this.Xta,this.fsa)),a}}),c}(A),o.Series=g,o.ReferType={Name:0,Values:1,XValues:2,BubbleSzies:3},h=function(){function a(a){var b=this;b._S=N,b.Ata=[],b.nua={Min:0,Max:1},b.oua={Min:0,Max:1},b.pua={Min:0,Max:1},b.qua={Min:0,Max:1},b.Spa=a}var c=a.prototype;c.get=function(a){if(0===arguments.length)return this.GetSers().map(function(a,b){return M(a,0===b)});var b=this.Get(a);return b?M(b,0===a):N},c.set=function(a,b){var c,d,e,f=this,g=f.Get(a);g&&b&&(c=M(g,0===a),f.RVa({type:"set",index:a,series:c}),d=f.ChartView,e=d.sheet(),R(g,b,e),f.Spa.HandleElementChanged(4,f,z.Collection),e.rua(d),d.sua())},c.add=function(a){this.Cz(N,a)},c.Cz=function(a,b,c){var d,e,f,h,i,j,k,l,m;if(b){if(d=this,!c&&y(d.Spa.ChartType))throw Error("Stock chart not support add / remove series.");if(e=this.ChartView,f=e.sheet(),h=b.length&&b[0]?b:[b],i=h.length,i>0){for(j=d.Ata.length,d.RVa({type:"add",index:j,count:i}),k=j,D(a)||(k=a),l=0;l<i;l++)m=new g(d),d.Ata.splice(k,0,m),R(m,h[l],f),k++;d.Spa.HandleElementChanged(4,d,z.Collection)}f.rua(e),e.sua()}},c.remove=function(a){var b,c,d,e,f=this;if(y(f.Spa.ChartType))throw Error("Stock chart not support add / remove series.");b=f.Get(a),b&&(c=M(b,0===a),f.RVa({type:"remove",index:a,series:c}),d=f.ChartView,e=d.sheet(),e.rua(d),b.Delete(),d.sua())},c.SVa=function(a){if(a&&a.length>0)for(a.sort(function(a,b){return a-b});a.length;){var b=a.pop();this.Get(b).Delete()}},c.TVa=function(a){this.RVa({type:"updateSeriesInCalc",series:a})},c.RVa=function(a){this.ChartView.RVa("series",a)},c.RUa=function(a){var b,c,d,e,f,g;if(a&&a.type)if(b=this,c=a.type,d=a.index,e=a.count,f=a.series,"add"===c)for(g=0;g<e;g++)b.remove(d);else"remove"===c?this.Cz(d,f,!0):"set"===c?b.set(d,f):"updateSeriesInCalc"===c&&(b.Ata.length=0,b.Cz(0,f,!0))},v(c,"Parent",{get:function(){return this.Spa}}),v(c,"ChartView",{get:function(){return this.Spa.Parent}}),v(c,"Count",{get:function(){return this.GetValidSers().length}}),c.Add=function(a,b,c,d,e,f){var g,h,i;this.AddInteral(a,b,c,d,e,f),g=this.Spa,g&&(h=g.Parent,h&&(i=h.sheet(),i.rua(h),h.sua(!0)))},c.Extend=function(a,b,c){var d,e,f,g,h,i,j,k,l,m,n=this.Splits(a,b);if(0!==n.length)for(d=c?1:0,e=n[0],g=0,h=this.Ata,i=h.length;g<i;g++)j=h[g],!D(j.ValuesRefers)&&j.ValuesRefers.length>0&&d<n.length&&(k=j.ValuesRefers.slice(0),f=n[d++],k.push(u.CreateReference(a.Worksheet.name(),f.Row,f.Column,f.RowCount,f.ColumnCount)),j.UpdateValuesFormula(u.ReferencesToFormula(k))),u.IsBubbleChart(j.InnerChartType)&&!D(j.BubbleSizesRefers)&&j.BubbleSizesRefers.length>0&&d<n.length&&(l=j.BubbleSizesRefers.slice(0),f=n[d++],l.push(u.CreateReference(a.Worksheet.name(),f.Row,f.Column,f.RowCount,f.ColumnCount)),j.UpdateBubbleFormula(u.ReferencesToFormula(l))),c&&!D(j.XValuesRefers)&&j.XValuesRefers.length>0&&(m=j.XValuesRefers.slice(0),m.push(u.CreateReference(a.Worksheet.name(),e.Row,e.Column,e.RowCount,e.ColumnCount)),j.UpdateXValuesFormula(u.ReferencesToFormula(m)))},c.Get=function(a){return this.Item(a,N)},c.NewSeries=function(){var a=this,b=new g(a);return a.Ata.push(b),b},v(c,"PrimaryValuesMinMax",{get:function(){return this.nua},set:function(a){var b=this;a!==b.nua&&(b.nua=a,b.Spa.HandleElementChanged(4,b,z.PrimaryValuesMinMax))}}),v(c,"SecondaryValuesMinMax",{get:function(){return this.oua},set:function(a){var b=this;a!==b.oua&&(b.oua=a,b.Spa.HandleElementChanged(4,b,z.SecondaryValuesMinMax))}}),v(c,"PrimaryXValuesMinMax",{get:function(){return this.pua},set:function(a){var b=this;a!==b.pua&&(b.pua=a,b.Spa.HandleElementChanged(4,b,z.PrimaryXValuesMinMax))}}),v(c,"SecondaryXValuesMinMax",{get:function(){return this.qua},set:function(a){var b=this;a!==b.qua&&(b.qua=a,b.Spa.HandleElementChanged(4,b,z.SecondaryXValuesMinMax))}}),v(c,"AllSers",{get:function(){return this.Ata}}),v(c,"RowCol",{get:function(){return D(this._S)?1:this._S}}),c.IndexOf=function(a){var b=a;return b.PlotVisibleOnly&&b.IsHidden?-1:this.GetValidSers().indexOf(a)},c.IndexOfSource=function(a){return this.Ata.indexOf(a)},c.AdjustIndex=function(a,b){var c,d,e,f,g,h=this,i=h.GetValidSers();a<0||a>=i.length||b<0||b>=i.length||(c=h.MapToSourceIndex(a),d=h.MapToSourceIndex(b),e=h.Ata,f=e[c],g=e[d],e[c]=g,e[d]=f)},c.GetSers=function(a,b){return a===O&&(a=!0),a?this.Ata.filter(function(a){return!a.IsHidden&&(D(b)||a.AxisGroup===b)}):D(b)?this.Ata:this.Ata.filter(function(a){return a.AxisGroup===b})},c.GetValidSers=function(a){return this.GetSers(this.Spa.PlotVisibleOnly,a)},c.DetectRanges2=function(a,b,c,d,e,f){var g,h,i=this.DetectRanges(a,b,c,d,e,f);return u.GetDimensioin(this.Spa.ChartType)>1&&D(f.category)&&!D(f.data)&&(h=f.data,i?h.ColumnCount>1&&(f.category=new B(h.Row,h.Column,h.RowCount,1),f.data=new B(h.Row,h.Column+1,h.RowCount,h.ColumnCount-1),D(f.seriesName)||(g=f.seriesName,f.seriesName=new B(g.Row,g.Column+1,g.RowCount,g.ColumnCount-1))):f.data.RowCount>1&&(f.category=new B(h.Row,h.Column,1,h.ColumnCount),f.data=new B(h.Row+1,h.Column,h.RowCount-1,h.ColumnCount),D(f.seriesName)||(g=f.seriesName,f.seriesName=new B(g.Row+1,g.Column,h.RowCount-1,g.ColumnCount)))),i},c.GenerateSeriesStructures=function(a,b,c,d){var e,f,g,h,i=this,j=i.Spa.Parent.sheet().Apa(a[0].WorksheetName),k=new B(a[0].Row,a[0].Column,a[0].RowCount,a[0].ColumnCount),l=N,m=N,n=N;return D(b)?(e={seriesName:N,category:N,data:N},f=i.DetectRanges2(j,k.Row,k.Column,k.RowCount,k.ColumnCount,e),l=e.seriesName,m=e.category,n=e.data,i._S=f?1:0):(i._S=b,D(c)&&D(d)&&(e={seriesName:N,category:N,data:N},f=i.DetectRanges2(j,k.Row,k.Column,k.RowCount,k.ColumnCount,e),l=e.seriesName,m=e.category,n=e.data,g=f?1:0,i._S!==g&&(h=m,m=l,l=h))),D(c)&&D(d)||(1===i._S?c&&d?(l=new B(k.Row,k.Column+1,1,k.ColumnCount-1),m=new B(k.Row+1,k.Column,k.RowCount-1,1),n=new B(k.Row+1,k.Column+1,k.RowCount-1,k.ColumnCount-1)):c?(l=new B(k.Row,k.Column,1,k.ColumnCount),m=N,n=new B(k.Row+1,k.Column,k.RowCount-1,k.ColumnCount)):d?(l=N,m=new B(k.Row,k.Column,k.RowCount,1),n=new B(k.Row,k.Column+1,k.RowCount,k.ColumnCount-1)):(l=N,m=N,n=new B(k.Row,k.Column,k.RowCount,k.ColumnCount)):c&&d?(l=new B(k.Row+1,k.Column,k.RowCount-1,1),m=new B(k.Row,k.Column+1,1,k.ColumnCount-1),n=new B(k.Row+1,k.Column+1,k.RowCount-1,k.ColumnCount-1)):c?(l=new B(k.Row,k.Column,k.RowCount,1),m=N,n=new B(k.Row,k.Column+1,k.RowCount,k.ColumnCount-1)):d?(l=N,m=new B(k.Row,k.Column,1,k.ColumnCount),n=new B(k.Row+1,k.Column,k.RowCount-1,k.ColumnCount)):(l=N,m=N,n=new B(k.Row,k.Column,k.RowCount,k.ColumnCount))),i.GenerateSeriesStructures2(a,i._S,l,m,n)},c.GenerateSeriesStructures2=function(a,b,c,e,f){var g,h,i,j,k,l,m,n,o,p,q,r,s,t,v,w,x,y=[];if(D(a)||0===a.length)return y;if(g=a[0].WorksheetName,h=a[0],i=D(b)?1:b,!D(f)){if(1===i)for(o=h.Column;o<h.Column+h.ColumnCount;o++)(D(e)||o<e.Column||o>=e.Column+e.ColumnCount)&&(l=new d,D(c)||(l.Label=u.CreateReference(g,c.Row,o,c.RowCount,1)),l.Data.push(u.CreateReference(g,f.Row,o,f.RowCount,1)),D(e)||l.Categories.push(u.CreateReference(g,e.Row,e.Column,e.RowCount,e.ColumnCount)),y.push(l));else for(n=h.Row;n<h.Row+h.RowCount;n++)(D(e)||n<e.Row||n>=e.Row+e.RowCount)&&(l=new d,D(c)||(l.Label=u.CreateReference(g,n,c.Column,1,c.ColumnCount)),l.Data.push(u.CreateReference(g,n,f.Column,1,f.ColumnCount)),D(e)||l.Categories.push(u.CreateReference(g,e.Row,e.Column,1,e.ColumnCount)),y.push(l));if(a.length>1)if(p=this.InSameColumnRowStrip(a)){if(1===this._S){for(q=f.Column,r=f.ColumnCount,o=q;o<q+r;o++)if(D(e)||o!==e.Column){for(l=y[o-q],j=1;j<a.length;j++)for(k=a[j],n=k.Row;n<k.Row+k.RowCount;n++)l.Data.push(u.CreateReference(g,n,o,k.RowCount,1)),D(e)||l.Categories.push(u.CreateReference(g,n,e.Column,k.RowCount,1));y.push(l)}}else for(s=f.Row,t=f.RowCount,n=s;n<s+t;n++)if(D(e)||n!==e.Row){for(l=y[n-s],j=1;j<a.length;j++)for(k=a[j],o=k.Column;o<k.Column+k.ColumnCount;o++)l.Data.push(u.CreateReference(g,n,o,1,k.ColumnCount)),D(e)||l.Categories.push(u.CreateReference(g,n,e.Column,1,k.ColumnCount));y.push(l)}}else if(1===i)for(j=1;j<a.length;j++)for(k=a[j],o=k.Column;o<k.Column+k.ColumnCount;o++)l=new d,m=c.RowCount,D(c)||(l.Label=u.CreateReference(g,k.Row,o,m,1)),l.Data.push(u.CreateReference(g,k.Row+m,o,k.RowCount-m,1)),y.push(l);else for(j=1;j<a.length;j++)for(k=a[j],n=k.Row;n<k.Row+k.RowCount;n++)l=new d,m=c.ColumnCount,D(c)||(l.Label=u.CreateReference(g,n,k.Column,1,m)),l.Data.push(u.CreateReference(g,n,k.Column+m,1,k.ColumnCount-m)),y.push(l)}for(v=0,w=y;v<w.length;v++)x=w[v],x.RowCol=i;return y},c.InSameColumnRowStrip=function(a){var b,c,d=-1,e=-1;if(1===this._S)for(b=0;b<a.length;b++){if(c=a[b],d!==-1&&e!==-1&&(c.Column!==d||c.LastColumn!==e))return!1;d=c.Column,e=c.LastColumn}else for(b=0;b<a.length;b++){if(c=a[b],d!==-1&&e!==-1&&(c.Row!==d||c.LastRow!==e))return!1;d=c.Row,e=c.LastRow}return!0},c.DetectRanges=function(a,b,c,d,e,f){var g,h,i,j,k,l,m,n,o,p,q,r,s,t=this,u=a.getRowCount(),v=a.getColumnCount();if(d<1&&b!==-1||e<1&&c!==-1)throw Error("Cannot detect an empty cell range.");
if(g=t.TrimCellRect(a,b,c,d,e),b=g.Row,c=g.Column,d=g.RowCount,e=g.ColumnCount,f.category=N,f.seriesName=N,f.data=N,d<=0||e<=0)return!1;if(h=new B(b,c,d,e),i=new B(0,0,u,v),h.Intersect(i),b=h.Row,c=h.Column,d=h.RowCount,e=h.ColumnCount,b<0||c<0)throw Error("The cell range is invalid.");if(1===d&&1===e)return t.IsEmptyCell(a,b,c)||(f.data=new B(b,c,d,e)),!1;if(t.IsEmptyCell(a,b,c)){for(j=c+1,k=b+1;j<c+e&&t.IsEmptyCell(a,b,j);)j++;if(l=j,m=c+e-l,0===m){for(;k<b+d&&t.IsEmptyCell(a,k,c);)k++;k===b+d?d>1?e>1?(f.category=new B(b,c+1,1,e-1),f.seriesName=new B(b+1,c,d-1,1),f.data=new B(b+1,c+1,d-1,e-1)):(f.seriesName=new B(b,c,1,1),f.data=new B(b+1,c,d-1,1)):(f.seriesName=new B(b,c,1,1),f.data=new B(b,c+1,d,e-1)):e>1?(e>1&&k-b>=1&&(f.category=new B(b,c+1,k-b,e-1)),d>1&&b+d>k&&(f.seriesName=new B(k,c,b+d-k,1)),f.data=new B(k,c+1,b+d-k,e-1)):(f.seriesName=N,d>1&&k>b&&k<b+d&&(f.category=new B(b,c,k-b,e)),k<b+d&&k>b?f.data=new B(k,c,b+d-k,e):f.data=new B(b,c,d,e))}else{for(j--;k<b+d&&t.IsEmptyCell(a,k,j);)k++;k===b+d?d>1?(e>1&&k-b>=1&&(f.category=new B(b,l,1,m)),d>1&&e>m&&(f.seriesName=new B(b+1,c,d-1,e-m)),f.data=new B(b+1,l,d-1,m)):(f.seriesName=new B(b,c,d,l-c),f.data=new B(b,l,d,m)):(e>1&&k-b>=1&&(f.category=new B(b,l,k-b,m)),d>1&&b+d>k&&e>m&&(f.seriesName=new B(k,c,b+d-k,e-m)),f.data=new B(k,l,b+d-k,m))}}else if(n=c+e-1,o=b+d-1,e>1&&d>1){for(j=n,m=0;j>=c&&t.IsNumericData(a.mua(o,j));)m++,j--;if(p=0===m,p&&(m=1,j--),e>1){if(l=j+1,j=o-1,q=1,!p)for(;j>=b&&t.IsNumericData(a.mua(j,n));)q++,j--;m>0&&l>=c&&j+1>b&&(f.category=new B(b,l,j+1-b,m)),q>0&&l>c&&(f.seriesName=new B(j+1,c,q,l-c)),f.data=new B(j+1,l,q,m)}}else if(d>1)if(t.IsNumericData(a.mua(b,c)))f.data=new B(b,c,d,e);else{for(j=o;j>=b&&t.IsNumericData(a.mua(j,c));)j--;j!==o||t.IsNumericData(a.mua(j,c))||j--,f.data=new B(j+1,c,o-j,e),j>=b&&(f.seriesName=new B(b,c,j-b+1,e))}else if(t.IsNumericData(a.mua(b,c)))f.data=new B(b,c,d,e);else{for(j=n;j>=c&&t.IsNumericData(a.mua(b,j));)j--;j!==n||t.IsNumericData(a.mua(b,j))||j--,f.data=new B(b,j+1,d,n-j),j>=c&&(f.seriesName=new B(b,c,d,j-c+1))}if(!D(f.data)&&f.data.RowCount>f.data.ColumnCount&&f.data.RowCount>1&&(f.data.ColumnCount>1||1===f.data.ColumnCount&&(!D(f.seriesName)||!D(f.category))))return r=!1,D(f.seriesName)?D(f.category)||(r=f.category.Column===f.data.Column):r=f.seriesName.Row===f.data.Row,r&&(s=f.category,f.category=f.seriesName,f.seriesName=s),!0;if(!D(f.data)){if(1===f.data.RowCount)return!1;if(1===f.data.ColumnCount)return!0}return!D(f.seriesName)&&f.seriesName.Column===f.data.Column||!D(f.category)&&f.category.Row===f.data.Row},c.TrimCellRect=function(a,b,c,d,e){var f,g,h,i,j,k,l=a.getRowCount(),m=a.getColumnCount();if(0!==l&&0!==m){if(b===-1||0===b&&d===l){k=c===-1,k&&(c=0,e=m),b=0,d=l,f=!0;do{for(h=c,i=c+e;h<i;h++)if(!this.IsEmptyCell(a,b,h)){f=!1;break}if(f&&(b++,d--,0===d))return}while(f);g=b+d-1,f=!0;do{for(h=c,i=c+e;h<i;h++)if(!this.IsEmptyCell(a,g,h)){f=!1;break}if(f&&(d--,g--,0===d))return}while(f);k&&(c=-1)}if(c===-1||0===c&&e===m){c=0,e=m,f=!0;do{for(g=b,j=b+d;g<j;g++)if(!this.IsEmptyCell(a,g,c)){f=!1;break}if(f&&(c++,e--,0===e))return}while(f);h=c+e-1,f=!0;do{for(g=b,j=b+d;g<j;g++)if(!this.IsEmptyCell(a,g,h)){f=!1;break}if(f&&(e--,h--,0===e))return}while(f)}return new B(b,c,d,e)}},c.IsNumericData=function(a){if(a instanceof Date)return!1;if(D(a))return!0;if("number"==typeof a)return!0;var b=""+a;return 0===b.length||!isNaN(a)&&isFinite(a)},c.IsEmptyCell=function(a,b,c){var d=a.mua(b,c);return!(!D(d)&&(""+d).length>0)},c.UpdateValuesMaxMin=function(a){0===a?this.UpdatePrimaryValuesMaxMin():this.UpdateSecondaryValuesMaxMin()},c.UpdateXValuesMaxMin=function(a){0===a?this.UpdatePrimaryXValuesMaxMin():this.UpdateSecondaryXValuesMaxMin()},c.Item=function(a,b){var c,d,e,f=this.GetSers(this.Spa.PlotVisibleOnly,b);if("number"==typeof a){if(a>=0&&a<f.length)return f[a]}else if("string"==typeof a)for(c=0,d=f;c<d.length;c++)if(e=d[c],e.Name===name)return e;return N},c.GetSerieValues=function(a,b){var c=this,d=c.GetValidSers(a),e=[];return d.forEach(function(a){var c=b(a);e.push(c.Min),e.push(c.Max)}),e},c.UpdatePrimaryValuesMaxMin=function(){var a=this.GetSerieValues(0,function(a){return a.ValuesMinMax});this.PrimaryValuesMinMax=b.getMinMaxValues(a)},c.UpdateSecondaryValuesMaxMin=function(){var a=this.GetSerieValues(1,function(a){return a.ValuesMinMax});this.SecondaryValuesMinMax=b.getMinMaxValues(a)},c.UpdatePrimaryXValuesMaxMin=function(){var a=this.GetSerieValues(0,function(a){return a.XValuesMinMax});this.PrimaryXValuesMinMax=b.getMinMaxValues(a)},c.UpdateSecondaryXValuesMaxMin=function(){var a=this.GetSerieValues(1,function(a){return a.XValuesMinMax});this.SecondaryXValuesMinMax=b.getMinMaxValues(a)},c.GetMaxPointsCount=function(a){var b,c,d,e,f=0,g=this.GetValidSers(a);for(b=0,c=g;b<c.length;b++)d=c[b],e=d.Values,!D(e)&&e.length>f&&(f=e.length);return f};function e(a,b,c){(b||c)&&(a.HasDataLabels=!0,b&&a.DataLabels.mRa(b))}return c.nRa=function(a){var b,c,d,f;if(a)for(b=this.Ata,c=b.length,d=a.count,f=0;f<c;f++)e(b[f],a[f],f>=d)},c.AddSers=function(a,b,c){var d,e=this;if(e.Spa.SuspendElementChanged(),d=e.Parent.ChartType,u.IsBubbleChart(d))e.AddSersForBubble(a);else if(49===d||50===d){if(49===d&&3!==a.length)throw Error("To create this stock chart, arrange the data on your sheet in this order: high price, low price, closing price. Use dates or stock names as labels.");if(50===d&&4!==a.length)throw Error("To create this stock chart, arrange the data on your sheet in this order: opening price, high price, low price, closing price. Use dates or stock names as labels.");e.AddSersForStock(a)}else if(51===d||52===d){if(51===d&&4!==a.length)throw Error("To create this stock chart, arrange the data on your sheet in this order: volume traded, high price, low price, closing price. Use dates or stock names as labels.");if(52===d&&5!==a.length)throw Error("To create this stock chart, arrange the data on your sheet in this order: volume traded, opening price, high price, low price, closing price. Use dates or stock names as labels.");e.AddSersForVolumeStock(a)}else e.AddSersDefault(a,N,N,c);e.nRa(b),e.Spa.ResumeElementChanged(4,e,z.Collection)},c.AddSersDefault=function(a,b,c,d){var e,f,h,i=d&&d.length,j=i&&d.slice(-1)[0];for(e=0;e<a.length;e++)f=a[e],h=new g(this,i?d[e]||j:b,c),this.Ata.push(h),D(f.Label)?h.UpdateNameFormula(N):h.UpdateNameFormula(u.ReferencesToFormula([f.Label])),h.UpdateXValuesFormula(u.ReferencesToFormula(f.Categories)),h.UpdateValuesFormula(u.ReferencesToFormula(f.Data))},c.AddSersForBubble=function(a){var b,c,d,e;for(b=0;b<a.length;b+=2)c=a[b],d=a[b+1],e=new g(this),this.Ata.push(e),D(c.Label)?e.UpdateNameFormula(N):e.UpdateNameFormula(u.ReferencesToFormula([c.Label])),e.UpdateXValuesFormula(u.ReferencesToFormula(c.Categories)),e.UpdateValuesFormula(u.ReferencesToFormula(c.Data)),D(d)||e.UpdateBubbleFormula(u.ReferencesToFormula(d.Data))},c.AddSersForStock=function(a,b){var c,d,e;for(b===O&&(b=N),c=0;c<a.length;c++)d=a[c],e=new g(this,9,b),this.Ata.push(e),D(d.Label)?e.UpdateNameFormula(N):e.UpdateNameFormula(u.ReferencesToFormula([d.Label])),e.UpdateXValuesFormula(u.ReferencesToFormula(d.Categories)),e.UpdateValuesFormula(u.ReferencesToFormula(d.Data))},c.AddSersForVolumeStock=function(a){var b,c=a.filter(function(a,b){return 0===b});this.AddSersDefault(c,12),b=a.filter(function(a,b){return b>0}),this.AddSersForStock(b,1)},c.DeleteSeries=function(a){var b,c=this;c.UpdatePlotOrders(a.PlotOrder),b=c.Ata.indexOf(a),b>=0&&c.Ata.splice(b,1),c.Spa.HandleElementChanged(4,c,z.Collection)},c.UpdatePlotOrders=function(a){var b,c,d;for(b=0,c=this.Ata;b<c.length;b++)d=c[b],d.UpdateOrder(a)},c.Splits=function(a,b){var c,d,e=[];if(1===b)for(c=0;c<a.ColumnCount;c++)e.push(u.CreateReference(a.Worksheet.name(),a.Row,c+a.Column,a.RowCount,1));else for(d=0;d<a.RowCount;d++)e.push(u.CreateReference(a.Worksheet.name(),d+a.Row,a.Column,1,a.ColumnCount));return e},c.MapToSourceIndex=function(a){var b,c,d;if(!this.Spa.PlotVisibleOnly||a===-1)return a;for(b=0,c=this.Ata,d=0;d<c.length;d++)if(!c[d].IsHidden){if(b===a)return d;b++}return-1},c.SyncOneDimensionSersXValues=function(a,b){var c,d,e,f;for(c=0,d=this.Ata;c<d.length;c++)e=d[c],e.AxisGroup===a&&(f=u.GetDimensioin(e.InnerChartType),1===f&&e.SetXValuesInternal(b))},c.SyncOneDimensionSersXValuesFormula=function(a,b){var c,d,e,f;for(c=0,d=this.Ata;c<d.length;c++)e=d[c],a!==e&&e.AxisGroup===a.AxisGroup&&(f=u.GetDimensioin(e.InnerChartType),1===f&&e.UpdateXValuesFormula(b))},c.RestoreSeries=function(a){var b,c,d,e,f,h,i,j,k,l,m,n,o,p,q,r,s,t,v,w,x,y,A,B,C,D=this;for(D.Spa.SuspendElementChanged(),D.Ata=[],b=u.GetPrimaryAxises(a),c=[],d=u.GetPieCharts(a),e=u.GetPrimaryPieChart(d),f=D.Spa.PlotVisibleOnly,k=0,l=a.chartGroups;k<l.length;k++)if(m=l[k],n=m.chartType,[10,11,12,13].indexOf(n)>=0)for(o=m,p=0,q=o.ser;p<q.length;p++)r=q[p],i=u.GetChartTypeByPieChart(o,r),h=new g(D,i,o===e?0:1),h.PlotVisibleOnly=f,c.push(h),h.FromOOModel(r);else if(0===n)for(s=m,j=b.indexOf(s.axId[0])>=0?0:1,t=0,v=s.ser;t<v.length;t++)w=v[t],h=new g(D,9,j),h.PlotVisibleOnly=f,c.push(h),h.FromOOModel(w);else for(j=b.indexOf(m.axId[0])>=0?0:1,y=0,A=m.ser;y<A.length;y++)B=A[y],i=u.GetChartTypeByChartBase(m,B),h=new g(D,i,j),h.PlotVisibleOnly=f,c.push(h),0===y?x=B:!B.cat&&x&&x.cat&&(B.cat=x.cat),h.FromOOModel(B);for(C=0;C<c.length;C++)D.Ata.push(c[C]);D.Spa.ResumeElementChanged(4,D,z.Restore)},c.RefreshSeriesIfNeed=function(a,b){var c,d,e;for(c=0,d=this.Ata;c<d.length;c++)e=d[c],e.RefreshValuesIfNeed(a,b)},c.RefreshSeriesIfNeed2=function(a,b){var c,d;1===u.GetDimensioin(this.Spa.ChartType)&&(c=this.GetValidSers(),d=c[0],!D(d)&&!D(d.XValuesRefers)&&d.XValuesRefers.length>0&&(d.AreAllXValuesDateTime=u.AreValuesDateTime(this.ChartView.sheet(),d.XValuesRefers,d.PlotVisibleOnly)))},c.SetSourceData=function(a,b){this.Ata.length=0,this.AddInteral(a,b,N,N)},c.AddInteral=function(a,b,c,d,e,f){var g,h=u.RangeToReferences(a);if(h.length>0){if(g=this.GenerateSeriesStructures(h,b,c,d),u.IsStockChart(this.Parent.ChartType)&&!u.AreValuesDateTime(this.ChartView.sheet(),g[0].Categories))throw Error("The xValues of stock chart should be date.");this.AddSers(g,e,f)}},a}(),o.SeriesCollection=h,a.exports=o}()},function(b,c){b.exports=a.Spread.CalcEngine},function(b,c){b.exports=a.Spread.Formatter},function(a,b,c){!function(){"use strict";var b,d,e,f,g,h,i,j,k=c(3),l=c(8).GC$,m=l.inherit,n=c(7),o=n.ChartElementBase,p=n.StatefulChartElementBase,q=n.ChartConstants,r=n.ChartUtility,s=r.defineProperty,t=r.colorFormatToString,u=n.UnitHelper,v=u.isNullOrUndefined,w=c(4).ColorSchemeIndex,x=c(10).ChartFormat,y=c(12).ColorFormat,z=c(9).DrawingText,A=c(27).GeneralFormatter,B=null,C=void 0;k.PointStates={Explosion:1,Format:2,Has3DEffect:4,InvertIfNegative:8,MarkerFormat:16,MarkerSize:32,MarkerStyle:64,PictureType:128,PictureUnit:256},b=function(a){m(b,a);function b(b,c){var d=a.call(this,b)||this;return d.tua=B,d.Ata=b,d.mi=c,d.dua=1,d.aua=5,d.bua=4,d}var c=b.prototype;return s(c,"DataLabel",{get:function(){return this.Ata.DataLabels.Get(this.mi)}}),s(c,"Explosion",{get:function(){return this.GetState(1)?this.Yta:this.Ata.Explosion},set:function(a){a!==this.Yta&&a>=0&&a<=400&&(this.Yta=a,this.Dirty(1))}}),s(c,"Format",{get:function(){return this.ChartFormat}}),c.getFillColor=function(a){return t(this.Format.Fill,a)},c.getLineColor=function(a){return t(this.Format.Line,a)},s(c,"Has3DEffect",{get:function(){return this.GetState(4)?this.Zta:this.Ata.Has3DEffect},set:function(a){this.Zta=a,this.Dirty(4)}}),s(c,"HasDataLabel",{get:function(){return!this.Ata.DataLabels.Get(this.mi).Deleted},set:function(a){this.Ata.DataLabels.Get(this.mi).Deleted=!a}}),s(c,"InvertIfNegative",{get:function(){return this.GetState(8)?this._ta:this.Ata.InvertIfNegative},set:function(a){this._ta=a,this.Dirty(8)}}),s(c,"MarkerFormat",{get:function(){var a=this;return v(a.Pta)&&(a.Pta=a.CreateMarkerFormat()),a.Pta}}),s(c,"MarkerSize",{get:function(){return this.GetState(32)?this.aua:this.Ata.MarkerSize},set:function(a){this.aua=a,this.Dirty(32)}}),s(c,"MarkerStyle",{get:function(){return this.GetState(64)?this.bua:this.Ata.MarkerStyle},set:function(a){this.bua=a,this.Dirty(64)}}),s(c,"Parent",{get:function(){return this.Ata}}),s(c,"PictureType",{get:function(){return this.GetState(128)?this.cua:this.Ata.PictureType},set:function(a){this.cua=a,this.Dirty(128)}}),s(c,"PictureUnit",{get:function(){return this.GetState(256)?this.dua:this.Ata.PictureUnit},set:function(a){this.dua=a,this.Dirty(256)}}),s(c,"SecondaryPlot",{get:function(){return this.uua},set:function(a){a!==this.uua&&(this.uua=a,this.Chart.HandleElementChanged(5,this,q.SecondaryPlot))}}),s(c,"Chart",{get:function(){return this.Ata.SeriesCollection.Parent}}),s(c,"Index",{get:function(){return this.mi}}),c.SetFillColor=function(a,b){this.Format.Fill.Color.setColor(a,b)},c.SetSecondaryPlotInteral=function(a){this.uua=a},c.GetValueText=function(a){return a===C&&(a=B),this.Ata.GetPointValueText(this.mi,a)},c.GetCatText=function(){return this.Ata.GetCatText(this.mi)},c.GetPercentageValue=function(){return this.Ata.GetPercentageValue(this.mi)},c.CreateFormat=function(){var a=this;return new x(a.Ata.SeriesCollection.Parent,a.Ata.FormatInternal,a.AutoFillColorFormat.bind(a),a.AutoLineColorFormat.bind(a))},c.GetDefaultFormat=function(){return a.prototype.GetDefaultFormat.call(this)},c.CreateMarkerFormat=function(){var a=this;return new x(a.Chart,a.Ata.MarkerFormat,a.AutoMarkerColorFormat.bind(a),a.AutoMarkerColorFormat.bind(a))},c.AutoFillColorFormat=function(){return r.IsFillSeries(this.Ata.InnerChartType)?this.GenerateAutoColor():B},c.AutoLineColorFormat=function(){return r.IsLineSeries(this.Ata.InnerChartType)?this.GenerateAutoColor():B},c.AutoMarkerColorFormat=function(){return r.IsMarkerSeries(this.Ata.InnerChartType)?this.GenerateAutoColor():B},c.GenerateAutoColor=function(){var a,b;return a=this.IsRenderVaryColors()?this.mi:this.Ata.AutoColorIndex,b=new y(this.Chart),b.ObjectThemeColor=w["Accent"+(a%6+1)],b},c.IsRenderVaryColors=function(){var a=this.Ata.Parent.VaryByCategories;return 1===this.Ata.SeriesCollection.Count&&a||r.IsAnyPieChart(this.Ata.InnerChartType)&&a},c.IsDirtyIncludingParent=function(b){b===C&&(b=!1);var c=this;return!(v(c.Kb)||!c.Kb.IsDirtyIncludingParent(b))||(!(v(c.Pta)||!c.Pta.IsDirtyIncludingParent(b))||a.prototype.IsDirtyIncludingParent.call(c,b))},c.OnParentChanged=function(a){var b=this;b.Ata=a,v(b.Kb)||(b.Kb.ParentStateful=b.Ata.ChartFormat),v(b.Pta)||(b.Pta.ParentStateful=b.Ata.MarkerFormat)},c.IsNegative=function(){return this.Ata.Values[this.mi]<0},c.MapToSourceIndex=function(a){var b,c,d,e,f,g,h,i,j=this;if(!j.Ata.PlotVisibleOnly||!j.Ata.HasRefers(1)||!j.Ata.HasHiddenValues())return a;for(b=0,c=0,d=0,e=j.Ata.ValuesRefers;d<e.length;d++)if(f=e[d],g=j.Ata.Worksheet.Apa(f.WorksheetName),1===f.RowCount)for(h=f.Column;h<f.Column+f.ColumnCount;h++){if(!g.Jpa(f.Row,h).EntireColumn.Hidden){if(c===a)return b;c++}b++}else if(1===f.ColumnCount)for(i=f.Row;i<f.Row+f.RowCount;i++){if(!g.Jpa(i,f.Column).EntireRow.Hidden){if(c===a)return b;c++}b++}return a},c.FromOOModel=function(b){var c,d,e,f,g,h=this;h.tua=b,h.mi=b.idx,c=b.bubble3D,v(c)||(h.Has3DEffect=c),d=b.pictureOptions,v(d)||h.FromCT_PictureOptions(d),e=b.explosion,v(e)||(h.Explosion=e),f=b.invertIfNegative,v(f)||(h.InvertIfNegative=f),a.prototype.FromShapeProperties.call(h,b.spPr),g=b.marker,v(g)||h.FromCT_Marker(g)},c.ToOOModel=function(){var b=this,c=v(b.tua)?{}:b.tua;return c.idx=b.mi,b.GetState(4)&&(c.bubble3D=b.Has3DEffect),c.pictureOptions=b.ToCT_PictureOptions(),r.IsPieOrDoughnutChart(b.Ata.InnerChartType)&&b.GetState(1)&&(c.explosion=b.Explosion),c.invertIfNegative=b.InvertIfNegative,c.spPr=a.prototype.ToShapeProperties.call(b),c.marker=b.ToCT_Marker(),c},c.ToCT_PictureOptions=function(){var a=this,b={},c=!1;return a.GetState(128)&&(b.pictureFormat=a.PictureType,c=!0),a.GetState(256)&&(b.pictureStackUnit=a.PictureUnit,c=!0),c?b:B},c.FromCT_PictureOptions=function(a){var b,c=a.pictureFormat;v(c)||(this.PictureType=c),b=a.pictureStackUnit,v(b)||(this.PictureUnit=b)},c.ToCT_Marker=function(){var a=this,b={},c=!1;return(!v(a.Pta)&&a.Pta.IsDirtyIncludingParent()||a.IsRenderVaryColors())&&(v(a.Pta)&&(a.Pta=a.CreateMarkerFormat()),b.spPr=a.Pta.ToOOModel(),c=!0),(a.GetState(32)||a.IsRenderVaryColors())&&(b.size=a.MarkerSize,c=!0),(a.GetState(64)||a.IsRenderVaryColors())&&(b.symbol=a.MarkerStyle,c=!0),c?b:B},c.FromCT_Marker=function(a){var b,c,d=this,e=a.spPr;v(e)?d.ClearMarkerFormat():(v(d.Pta)&&(d.Pta=d.CreateMarkerFormat()),d.Pta.FromOOModel(e)),b=a.size,v(b)||(d.MarkerSize=b),c=a.symbol,v(c)||(d.MarkerStyle=c)},c.ClearMarkerFormat=function(){var a=this;v(a.Pta)||(a.Pta.SetParentForChildren(B),a.Pta.ParentStateful=B,a.Pta=B)},b}(p),k.Point=b,d=function(){function a(a){this.fua={},this.Ata=a}var c=a.prototype;return s(c,"Count",{get:function(){return this.Ata.PointsCount}}),s(c,"Parent",{get:function(){return this.Ata}}),c.Get=function(a){return this.GetPoint(a)},s(c,"HasDataLabel",{get:function(){var a,b,c=this.fua;for(a in c)if(b=c[a],!v(b)&&b.HasDataLabel)return!0;return!1}}),c.ItemInternal=function(a){return this.fua[a]||B},c.GetPoint=function(a){var c,d=this;return a<0||a>=d.Count?B:(c=d.fua[a])?c:(c=new b(d.Ata,a),d.fua[a]=c,c)},c.GetPoints=function(){return this.fua},c.RestorePoints=function(a){var b,c,d,e;if(this.ClearPoints(),!v(a))for(b=0,c=a;b<c.length;b++)d=c[b],e=this.GetPoint(d.idx),v(e)||e.FromOOModel(d)},c.ClearPoints=function(){var a,b;for(a in this.fua)b=this.fua[a],v(b)||(b.ParentStateful=B);this.fua={}},a}(),k.Points=d,k.DataLableStates={Font:1,Format:2,NumberFormat:4,NumberFormatLinked:8,Position:16,Separator:32,ShowBubbleSize:64,ShowCategoryName:128,ShowLegendKey:256,ShowPercentage:512,ShowSeriesName:1024,ShowValue:2048,ShowLeaderLines:4096,Text:8192,AutoText:16384},e=function(a){m(b,a);function b(b,c){var d=a.call(this,c)||this;return d.Rd="General",d.jsa=!0,d.vua=",",d.wua=!1,d.xua=!1,d.yua=!1,d.zua=!1,d.Aua=!1,d.Bua=!1,d.Cua=!1,d.Dua=!0,d.Ysa=B,d.Lqa=B,d.Ata=b,d.Eua=c,d.UpdatePosition(),d}var c=b.prototype;return s(c,"AutoText",{get:function(){var a=this;return a.GetState(16384)||v(a.Eua)?a.Dua:a.Eua.AutoText},set:function(a){this.Dua=a,this.Dirty(16384)}}),s(c,"Font",{get:function(){return this.ChartTextInternal.Font}}),s(c,"Format",{get:function(){return this.ChartFormat}}),s(c,"NumberFormat",{get:function(){var a=this;return a.GetState(4)||v(a.Eua)?a.Rd?a.Rd:"General":a.Eua.NumberFormat},set:function(a){this.setNumberFormat(a)}}),c.setNumberFormat=function(a){var b=this;b.Rd=a,a?b.Dirty(4):b.UnDirty(4),b.jsa=!1,b.Dirty(8)},s(c,"NumberFormatLinked",{get:function(){return this.getNumberFormatLinked()},set:function(a){this.setNumberFormatLinked(a)}}),c.getNumberFormatLinked=function(){var a=this;return a.GetState(8)||v(a.Eua)?a.jsa:a.Eua.NumberFormatLinked},c.setNumberFormatLinked=function(a){var b=this;b.jsa=a,b.Dirty(8),a&&(b.Rd=B,b.UnDirty(4))},s(c,"Position",{get:function(){var a=this;return a.GetState(16)||v(a.Eua)?a.SH:a.Eua.Position},set:function(a){this.IsPositionValid(a)&&(this.SH=a,this.Dirty(16))}}),s(c,"Separator",{get:function(){var a=this;return a.GetState(32)||v(a.Eua)?a.vua:a.Eua.Separator},set:function(a){this.vua=a,this.Dirty(32)}}),s(c,"ShowBubbleSize",{get:function(){var a=this;return a.GetState(64)||v(a.Eua)?a.wua:a.Eua.ShowBubbleSize},set:function(a){this.wua=a,this.Dirty(64)}}),s(c,"ShowCategoryName",{get:function(){var a=this;return a.GetState(128)||v(a.Eua)?a.xua:a.Eua.ShowCategoryName},set:function(a){this.xua=a,this.Dirty(128)}}),s(c,"ShowLegendKey",{get:function(){var a=this;return a.GetState(256)||v(a.Eua)?a.yua:a.Eua.ShowLegendKey},set:function(a){this.yua=a,this.Dirty(256)}}),s(c,"ShowPercentage",{get:function(){var a=this;return a.GetState(512)||v(a.Eua)?a.zua:a.Eua.ShowPercentage},set:function(a){this.zua=a,this.Dirty(512)}}),s(c,"ShowSeriesName",{get:function(){var a=this;return a.GetState(1024)||v(a.Eua)?a.Aua:a.Eua.ShowSeriesName},set:function(a){this.Aua=a,this.Dirty(1024)}}),s(c,"ShowValue",{get:function(){var a=this;return a.GetState(2048)||v(a.Eua)?a.Bua:a.Eua.ShowValue},set:function(a){this.Bua=a,this.Dirty(2048)}}),s(c,"ShowLeaderLines",{get:function(){var a=this;return a.GetState(4096)||v(a.Eua)?a.Cua:a.Eua.ShowLeaderLines},set:function(a){this.Cua=a,this.Dirty(4096)}}),s(c,"LeaderLines",{get:function(){var a=this;return v(a.Fua)&&(a.Fua=a.CreateLeaderLines()),a.Fua}}),c.IsDirtyIncludingParent=function(b){b===C&&(b=!1);var c=this;return!(v(c.Qpa)||!c.Qpa.Font.IsDirtyIncludingParent(b))||(!(v(c.Kb)||!c.Kb.IsDirtyIncludingParent(b))||a.prototype.IsDirtyIncludingParent.call(c,b))},c.OnParentChanged=function(a){var b=this;b.Eua=a,v(b.Eua)||(v(b.Kb)||(b.Kb.ParentStateful=b.Eua.ChartFormat),v(b.Fua)||(b.Fua.Format.ParentStateful=b.Eua.LeaderLines.Format))},c.GetDefaultPosition=function(){var a=this.Ata.InnerChartType;return r.IsColumnChart(a)||r.IsBarChart(a)?r.IsStackedChart(a)?2:6:r.IsLineChart(a)||r.IsScatterChart(a)||r.IsBubbleChart(a)?7:r.IsPieChart(a)||r.IsOfPieChart(a)?0:2},c.IsNoPosition=function(){var a=this.Ata.InnerChartType;return r.IsAreaChart(a)||r.IsRadarChart(a)||r.Is3DChart(a)||r.IsDoughnutChart(a)},c.FromOOModel=function(b){var c,d,e,f,g,h,i,j,k,l,m,n,o=this;o.Lqa=b,c=b.numFmt,v(c)||(o.Rd=c.formatCode,o.Dirty(4),o.jsa=c.sourceLinked!==!1,o.Dirty(8)),a.prototype.FromShapeProperties.call(o,b.spPr),d=b.txPr,v(d)||(e={},e.rich=d,o.ChartTextInternal.FromOOModel(e)),f=b.dLblPos,v(f)||(o.Position=f),g=b.showBubbleSize,!v(g)&&r.IsBubbleChart(o.Ata.InnerChartType)&&(o.ShowBubbleSize=g),h=b.showCatName,o.ShowCategoryName=!v(h)&&h,i=b.showLegendKey,o.ShowLegendKey=!v(i)&&i,j=b.showPercent,!v(j)&&r.IsPieOrDoughnutChart(o.Ata.InnerChartType)&&(o.ShowPercentage=j),k=b.showSerName,o.ShowSeriesName=!v(k)&&k,l=b.showVal,o.ShowValue=!v(l)&&l,m=b.separator,m&&","!==m&&(o.Separator=m),n=b.delete,o.Ysa=v(n)?B:n},c.ToOOModel=function(){var b,c=this,d=c.Lqa||c.CreateCT_Dlbl();return(c.GetState(4)||c.GetState(8))&&(b={formatCode:c.NumberFormat},c.NumberFormatLinked===!1&&(b.sourceLinked=!1),d.numFmt=b),d.spPr=a.prototype.ToShapeProperties.call(c),c.Qpa&&c.Qpa.Font.IsDirtyIncludingParent()&&(d.txPr=c.Qpa.ToOOModel().rich),c.IsNoPosition()||(d.dLblPos=c.Position),c.Ysa||(d.showBubbleSize=c.ShowBubbleSize,d.showCatName=c.ShowCategoryName,d.showLegendKey=c.ShowLegendKey,d.showPercent=c.ShowPercentage,d.showSerName=c.ShowSeriesName,d.showVal=c.ShowValue),","!==c.Separator&&(d.separator=c.Separator),d},c.CreateCT_Dlbl=function(){return B},c.GetDefaultChartText=function(){return B},c.IsPositionValid=function(a){var b=!1,c=this.Ata.InnerChartType;return r.IsColumnChart(c)||r.IsBarChart(c)?b=r.IsStackedChart(c)?2===a||3===a||4===a:2===a||3===a||4===a||6===a:r.IsLineChart(c)||r.IsScatterChart(c)||r.IsBubbleChart(c)?b=2===a||5===a||7===a||8===a||1===a:r.IsPieChart(c)?b=2===a||4===a||6===a||0===a:(r.IsAreaChart(c)||r.IsRadarChart(c)||r.Is3DChart(c))&&(b=!1),b},c.UpdatePosition=function(){this.SH=this.GetDefaultPosition()},c.ResetByChartType=function(){this.UpdatePosition()},s(c,"Chart",{get:function(){return this.Ata.SeriesCollection.Parent}}),s(c,"ChartText",{get:function(){return this.Qpa}}),s(c,"ChartTextInternal",{get:function(){var a=this;return v(a.Qpa)&&(a.Qpa=a.GetDefaultChartText()),a.Qpa}}),c.CreateLeaderLines=function(){return B},s(c,"HasDataLabelsRange",{get:function(){return!v(this.Qpa)&&!v(this.Qpa.TextRefer)}}),s(c,"Series",{get:function(){return this.Ata}}),b}(p),k.DataLabelBase=e,f=function(a){m(b,a);function b(b){var c=a.call(this,b,B)||this;return c.Gua={},c.Ata=b,c.Qpa=c.GetDefaultChartText(),c.Bua=!1,c.Cua=!1,c}var c=b.prototype;return c.CreateFormat=function(){var a=new x(this.Chart);return a.Fill.Color.ColorType=0,a.Line.Color.ColorType=0,a},c.GetDefaultChartText=function(){return new z(this.Chart.Parent,this.Chart.ChartArea.Font)},s(c,"Parent",{get:function(){return this.Ata}}),s(c,"AutoText",{get:function(){return this.Dua},set:function(a){var b,c,d;for(b=0,c=this.Count;b<c;b++)d=this.GetLabel(b),d.AutoText=a;this.Dua=a}}),s(c,"Count",{get:function(){return this.Ata.PointsCount}}),s(c,"NumberFormat",{get:function(){return this.GetNumberFormat()},set:function(b){a.prototype.setNumberFormat.call(this,b)}}),s(c,"NumberFormatLinked",{get:function(){return a.prototype.getNumberFormatLinked.call(this)},set:function(b){b||(this.Rd=this.GetFirstNumberFormat(),this.Dirty(4)),a.prototype.setNumberFormatLinked.call(this,b)}}),c.Get=function(a){return this.GetLabel(a)},c.IsDirtyIncludingParent=function(b){return b===C&&(b=!1),!(v(this.Fua)||!this.Fua.Format.IsDirtyIncludingParent(b))||a.prototype.IsDirtyIncludingParent.call(this,b)},c.CreateLeaderLines=function(){return new i(this)},c.GetLabel=function(a){var b,c=this;return a<0||a>=c.Count?B:(b=c.Gua[a])?b:(b=new g(c.Ata,a),c.Gua[a]=b,b)},c.UpdateDeleted=function(a){var b,c,d=this.Gua;for(b in d)c=d[b],v(c)||(c.Deleted=a)},c.ResetByChartType=function(){var b,c,d;for(a.prototype.ResetByChartType.call(this),b=0,c=this.Count;b<c;b++)d=this.GetLabel(b),d.IsDirtyIncludingParent()&&d.ResetByChartType()},c.GetNumberFormat=function(){var a=this,b=a.Rd;return a.GetState(4)||(a.NumberFormatLinked&&!v(a.Ata.ValuesRefers)&&a.Ata.ValuesRefers.length>0?b=a.GetFirstNumberFormat():v(a.Eua)||(b=a.Eua.NumberFormat)),b||"General"},c.GetFirstNumberFormat=function(){var a,b=this.Ata.ValuesRefers[0],c=this.Ata.Worksheet.Apa(b.WorksheetName),d=B;return v(c)||(a=c.ksa(b.Row,b.Column),v(a)||(d=a.FormatCode)),d||"General"},c.ToOOModel=function(){var b,c,d,e,f=this,g=a.prototype.ToOOModel.call(f);f.ShowLeaderLines&&(g.extLst={ext:[]},b={uri:"{CE6537A1-D6FC-4f65-9D91-7224C49458BB}"},g.extLst.ext.push(b),b.showLeaderLines=!0,g.showLeaderLines=!0,v(f.Fua)?delete g.leaderLines:g.leaderLines=f.Fua.ToOOModel()),c=[];for(d in f.Gua)e=f.Gua[d],v(e)||v(f.Qpa.TextRefer)&&!e.Deleted&&!e.IsDirtyIncludingParent()||c.push(e.ToOOModel());return c.length>0&&(g.dLbl=c),g},c.FromOOModel=function(b){var c,d,e,f,g,h,i,j=this;if(a.prototype.FromOOModel.call(j,b),j.Gua={},c=b.dLbl,!v(c))for(d=0,e=c;d<e.length;d++)f=e[d],g=j.GetLabel(f.idx),v(g)||g.FromOOModel(f);h=b.showLeaderLines,v(h)||(j.ShowLeaderLines=h),i=b.leaderLines,v(i)?j.Fua=B:(v(j.Fua)&&(j.Fua=j.CreateLeaderLines()),j.Fua.FromOOModel(i))},c.CreateCT_Dlbl=function(){return{dLbl:[]}},c.mRa=function(a){var b=this;b.Separator=a.Separator,b.ShowBubbleSize=a.ShowBubbleSize,b.ShowCategoryName=a.ShowCategoryName,b.ShowLegendKey=a.ShowLegendKey,b.ShowPercentage=a.ShowPercentage,b.ShowSeriesName=a.ShowSeriesName,b.ShowValue=a.ShowValue,b.ShowLeaderLines=a.ShowLeaderLines,b.Position=a.Position},b}(e),k.DataLabels=f,g=function(a){m(b,a);function b(b,c){var d=a.call(this,b,b.DataLabels)||this;return d.Ata=b,d.mi=c,d}var c=b.prototype;return c.CreateFormat=function(){var a=new x(this.Chart,this.Ata.DataLabels.Format);return a.Fill.Color.ColorType=0,a.Line.Color.ColorType=0,a},c.GetDefaultChartText=function(){var a=this.Ata.SeriesCollection.Parent;return new z(a.Parent,this.Ata.DataLabels.Font)},s(c,"Parent",{get:function(){return this.Ata.Points.Get(this.mi)}}),s(c,"AutoText",{get:function(){return this.Dua},set:function(a){var b=this;b.Dua!==a&&(a||(b.ChartTextInternal.Text=b.GetAutoText(),b.Dirty(8192)),b.Dua=a)}}),s(c,"NumberFormat",{get:function(){return this.GetNumberFormat()},set:function(b){a.prototype.setNumberFormat.call(this,b)}}),s(c,"NumberFormatLinked",{get:function(){return a.prototype.getNumberFormatLinked.call(this)},set:function(b){b||(this.Rd=this.GetNumberFormat(),this.Dirty(4)),a.prototype.setNumberFormatLinked.call(this,b)}}),s(c,"Text",{get:function(){return this.GetText()},set:function(a){var b=this;b.ChartTextInternal.Text=a,b.Dirty(8192),b.Dua=!1,b.Dirty(16384)}}),c.Delete=function(){this.Ysa=!0},c.CreateLeaderLines=function(){return new j(this)},s(c,"Deleted",{get:function(){return!v(this.Ysa)&&this.Ysa},set:function(a){this.Ysa=a,a||(this.ShowValue=!0,this.ShowLeaderLines=!0)}}),s(c,"ParentLabels",{get:function(){return this.Eua}}),c.GetNumberFormat=function(){var a,b,c,d,e,f,g=this,h=g.Rd;return g.GetState(4)||(a=g.Ata.ValuesRefers,g.NumberFormatLinked&&!v(a)&&a.length>0?(b={sheet:B,row:-1,col:-1},g.Ata.GetRowColIndex(a,g.mi,b),c=b.sheet,d=b.row,e=b.col,v(c)||d===-1||e===-1||(f=c.ksa(d,e),v(f)||(h=f.FormatCode))):v(g.Eua)||(h=g.Eua.NumberFormat)),h||"General"},c.GetText=function(){return this.AutoText?this.GetAutoText():this.Qpa.Text},c.GetAutoText=function(){var a,b=this,c=[],d=!1;return b.ShowSeriesName&&(a=b.Ata.Name,c.push(v(a)?"":a),d=!0),b.ShowCategoryName&&(d&&c.push(b.Separator),c.push(b.Ata.GetCatText(b.mi)),d=!0),b.ShowValue&&(d&&c.push(b.Separator),c.push(b.Ata.GetPointValueText(b.mi,b.NumberFormat)),d=!0),b.ShowBubbleSize&&r.IsBubbleChart(b.Ata.InnerChartType)&&(d&&c.push(b.Separator),c.push(""+b.Ata.BubbleSizes[b.mi]),d=!0),b.ShowPercentage&&r.IsPieOrDoughnutChart(b.Ata.InnerChartType)&&(d&&c.push(b.Separator),c.push(b.GetPercentText())),c.join("")},c.GetValueText=function(){var a=this;return a.GetState(8192)?a.NumberFormatLinked?a.Ata.GetPointValueText(a.mi):a.Ata.GetPointValueText(a.mi,a.NumberFormat):a.Qpa.Text},c.GetPercentText=function(){var a=this.GetNumberFormat(),b=new A("General"===a?"0%":a),c=this.Ata.GetPercentageValue(this.mi);return b.format(c)},c.FromOOModel=function(b){var c,d,e,f,g,h,i,j=this;if(a.prototype.FromOOModel.call(j,b),j.mi=b.idx,v(b.tx))v(b.txPr)||(i={},i.rich=b.txPr,j.ChartTextInternal.FromOOModel(i),j.Dua=!0,j.UnDirty(16384));else{if(c=b.tx.rich,v(b.tx.rich)&&!v(b.txPr)&&(b.tx.rich=b.txPr),j.ChartTextInternal.FromOOModel(b.tx),d=!1,e=b.extLst,!v(e)&&!v(e.ext))for(f=0,g=e.ext;f<g.length;f++)if(h=g[f],h.showDataLabelsRange){d=!0;break}d?(j.Dua=!0,j.UnDirty(16384)):(j.Dua=!1,j.Dirty(16384),j.Dirty(8192)),b.tx.rich=c}},c.ToOOModel=function(){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r=this;if(r.Deleted)return b={},b.idx=r.mi,b.delete=!0,b;if(c=a.prototype.ToOOModel.call(r),c.idx=r.mi,d=c.extLst,!v(d)&&!v(d.ext)&&d.ext.length>0){for(e=B,f=d.ext,h=0,i=f.length;h<i;h++)if(j=f[h],!v(j.layout)){e=j,g=h;break}v(e)||(d.ext.splice(g,1),k=e.layout,l=c.layout,v(k)||(v(k.extLst)||(l.extLst=k.extLst),m=k.manualLayout,v(m)||(v(l.manualLayout)?l.manualLayout=m:(n=l.manualLayout,v(m.x)||(n.x=m.x),v(m.y)||(n.y=m.y),v(m.w)||(n.w=m.w),v(m.h)||(n.h=m.h))))),c.extLst=B}return p=r.ParentLabels,v(p)||!p.ShowDataLabelsRange||v(p.ChartText)||v(p.ChartText.TextRefer)?r.AutoText&&!v(r.Qpa)?(c.txPr=r.Qpa.ToOOModel().rich,c.tx=B):v(r.Qpa)||(o=r.Qpa.ToOOModel(),v(r.Qpa.TextRefer)?(c.tx=o,c.txPr=B):(c.tx={},c.tx.strRef=o.strRef,c.txPr=o.rich)):(o=r.Qpa.ToOOModel(),c.tx=o,c.txPr=B,c.extLst={ext:[]},q={},q.uri="{CE6537A1-D6FC-4f65-9D91-7224C49458BB}",q.dlblFieldTable={dlblFTEntry:[]},q.showDataLabelsRange=!0,c.extLst.ext.push(q)),c},c.CreateCT_Dlbl=function(){var a={};return a.layout={},a},b}(e),k.DataLabel=g,h=function(a){m(b,a);function b(b){var c=a.call(this)||this;return c.Hua=B,c.Iua=b,c}var c=b.prototype;return s(c,"Format",{get:function(){return this.ChartFormat}}),c.GetDefaultFormat=function(){var b=a.prototype.GetDefaultFormat.call(this),c=b.Line,d=c.Color;return d.ObjectThemeColor=1,d.Brightness=.65,c.Weight=1,b},c.Delete=function(){this.Iua.ShowLeaderLines=!1},c.FromOOModel=function(b){this.Hua=b,a.prototype.FromShapeProperties.call(this,b.spPr)},c.ToOOModel=function(){var b=this.Hua||{};return b.spPr=a.prototype.ToShapeProperties.call(this),b},b}(o),k.DblsLeaderLinesBase=h,i=function(a){m(b,a);function b(b){return a.call(this,b)||this}return b.prototype.CreateFormat=function(){return new x(this.Iua.Chart)},b}(h),k.DataLabelsLeaderLines=i,j=function(a){m(b,a);function b(b){return a.call(this,b)||this}return b.prototype.CreateFormat=function(){return new x(this.Iua.Chart,this.Iua.Series.DataLabels.LeaderLines.Format)},b}(h),k.DataLabelLeaderLines=j,a.exports=k}()},function(a,b,c){!function(){"use strict";var b,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r=c(3),s=c(27).GeneralFormatter,t=c(7),u=t.DateTimeExtension,v=t.UnitHelper.isNullOrUndefined,w=t.ChartUtility,x=w.colorFormatToString,y=w.IsStockChart,z="x",A="value",B="color",C="bubbleSizeField",D="name",E="Candlestick",F="HighLowOpenClose",G=null,H="Bar",I="Line",J="Area",K="Scatter",L="Stack",M="Spline",N="yyyy-MM-dd";
function O(a,b){var c,d,e;if(a.length>1)for(d=0;d<a.length;d++)e=a[d][0],c?Oa(c,e.XValues)||b.push(a[d][1]):e.XValuesIsAuto()||(c=e.XValues)}function P(a){var b,c,d,e,f,g=[],h=[];for(b=0,c=a.length;b<c;b++)d=a[b],0===d.AxisGroup?g.push([d,b]):h.push([d,b]);for(e=[],O(g,e),O(h,e),f=[],b=0,c=a.length;b<c;b++)e.indexOf(b)<0&&f.push(a[b]);return f}function Q(a){for(var b=0,c=a.length;b<c;b++)if(!a[b].IsHidden)return a[b]}function R(a){var b=a.SeriesCollection.AllSers;return w.IsPieChart(a.ChartType)&&b.length>0?b=[Q(b)||b[0]]:0===a.ChartType&&(b=P(b)),b}function S(a,b){var c,d,e,f=a.Name,g=f;if(f){if(b)if(d=b[f],d>0){for(e=0;e<d;e++)g+=" ";b[f]++}else b[f]=1}else c=a.SeriesCollection.IndexOfSource(a),g=w.IsPieOrDoughnutChart(a.ChartType)?""+(c+1):"Series"+(c+1);return g}function T(a,b){var c,d,e;return 4!==a.MarkerStyle?(c={},d=a.MarkerFormat,c.symbolFill=x(d.Fill,b),c.symbolStroke=x(d.Line,b),e=d.Line.Weight,e>=0&&(c.symbolStrokeWidth=e),c):G}function U(a,b){return w.IsPieOrDoughnutChart(a.ChartType)?V(a.Points.Get(0),b):V(a,b)}function V(a,b){var c,d,e,f=a&&a.Format&&a.Format.Line;return f?(c=f.Weight,d={},c>=0&&(d.width=c),e=x(f,b),e&&(d.color=e),d):G}function W(a,b,c){var d,e,f,g=a.ChartType;switch(g){case 12:case 6:case 15:d={type:H};break;case 13:case 16:case 14:case 17:d={type:H,group:L};break;case 19:case 22:case 20:case 23:d={type:H,swapAxes:!0,group:L};break;case 18:case 21:d={type:H,swapAxes:!0};break;case 9:case 5:case 36:d={type:I};break;case 26:case 35:d={type:I,symbols:!0};break;case 24:case 25:d={type:I,group:L};break;case 27:case 28:d={type:I,group:L,symbols:!0};break;case 8:case 7:d={type:J};break;case 37:case 39:case 38:case 40:d={type:J,group:L};break;case 1:d={type:K};break;case 33:d={type:I,symbols:!0,lineAspect:M};break;case 34:d={type:I,lineAspect:M};break;case 11:case 48:d={type:K,size:!0};break;case 10:case 4:case 30:case 31:case 29:case 32:d={type:H,radial:!0,group:L};break;case 3:case 41:d={type:H,radial:!0,group:L,doughnut:!0};break;default:d={type:H}}return 52===b?c?d.stock=!0:9===g&&(d={type:E}):51===b?c?d.stock=!0:9===g&&(d={type:F}):50===b?d={type:E}:49===b&&(d={type:F}),e=a.XValuesIsAuto(),f=w.IsScatterChart(g)||w.IsBubbleChart(g),f&&(d.scatter=!0,e&&(d.needXNames=!0)),d}function X(a,b){return a instanceof Date?b?new s(N).format(a):u.ToOADate(a):a}function Y(a,b){var c=a?a[b]:b+1;return X(c)}function Z(a,b,c,d,e,f,g,h,i){var j,k,l,m,n={},o=d[e];if(a&&v(o)&&(o=0,j=!0),n[g]=X(o),a===!0){if(n[f]=b,k=Y(c,e),j&&v(k))return G;n[h]="number"==typeof k?""+k:k}else{if(l=Y(c,e),v(o)&&v(l))return G;n[f]=l,n[h]=b,i&&(m=i.names,n[D]=(m&&m[e]||l)+"")}return n}b={2:"None",3:"Outside",1:"Inside",0:"Cross"};function $(a){return b[a]}function _(a,b,c,d){var e,f=a.AxisTitle;if(f)return e=f.Font.Size*d,b&&(e+=""),{color:x(f.Font,c),fontFamily:f.Font.Name,fontSize:e}}d={bottom:"Near",top:"Far",left:"Near",right:"Far"};function aa(a){var b,c;return a.Visible===!0&&(c=a.GetAxisPostion(),b=d[c]),b||"None"}function ba(a){var b={majorGrid:!!a.MajorGridlines,minorGrid:!!a.MinorGridlines},c=ca(V(a.MajorGridlines,!1));return c&&(b.majorGridStyle=c),c=ca(V(a.MinorGridlines,!1)),c&&(b.minorGridStyle=c),b}function ca(a){var b,c,d;if(a&&(b=a.width,c=a.color,b||c))return d={},b&&(d.strokeWidth=b),c&&(d.stroke=c),d}function da(a){var b,c,d,e,f;return a.MinimumScaleIsAuto||a.MaximumScaleIsAuto?(b=0,c=1,d=a.CalcualteValueAxisMinMax({},!0,!0),e=d.Max,f=d.Min,a.MaximumScaleIsAuto?e<=0&&(c=0):c=a.MaximumScale,a.MinimumScaleIsAuto?f<0&&(b=Math.abs(f)>e?-1:Math.floor(5*f/e)/5):b=a.MinimumScale,{min:b,max:c}):{min:a.MinimumScale,max:a.MaximumScale}}function ea(a){var b,c,d,e,f,g,h,i,j={visible:a.Visible,tickLabelPosition:3===a.TickLabelPosition?3:2,format:a.TickLabels.NumberFormat,majorTickPosition:a.MajorTickMark,minorTickPosition:a.MinorTickMark},k=a.MajorGridlines,l=V(k,!0)||{};return l.visible=!!k,j.majorGridLine=l,b=a.MinorGridlines,c=V(b,!0)||{},c.visible=!!b,j.minorGridLine=c,d=_(a,!1,!0,1)||{},d.text=a.AxisTitle?a.AxisTitle.Text:"",j.title=d,a.MajorUnitIsAuto||(j.majorUnit=a.MajorUnit),a.MinorUnitIsAuto||(j.minorUnit=a.MinorUnit),a.IsValueOrDateScaleAxis()&&(e=a.MinimumScale,f=a.MaximumScale,a.IsTimeScale()?(e=u.FromOADate(e),f=u.FromOADate(f)):ha(a.Chart,a.AxisGroup)&&(g=da(a),e=g.min,f=g.max,j.format&&!a.TickLabels.NumberFormatLinked||(j.format="0%")),a.MinimumScaleIsAuto||(j.min=e),a.MaximumScaleIsAuto||(j.max=f)),h=a.TickLabels.Font,h&&(j.style={color:x(h,!0),fontFamily:h.Name,fontSize:h.Size}),i=V(a,!0),i&&(j.lineStyle={color:i.color||"transparent",width:v(i.width)?1:i.width}),0===a.Type&&(j.categoryType=a.ActualCategoryType),j}e={0:1,1:31,2:365};function fa(a){return e[a]}function ga(a,b,c,d,e,f){var g,h,i,j,k,l,m,n,o,p,q,r,s,t,w,z,A,B,C,D=aa(a),E=ba(a),F={};return"X"===b?(F.bottom=5,F.top=5):(F.left=5,F.right=5),g={plots:c,type:b,format:a.TickLabels.NumberFormat,majorTicks:$(a.MajorTickMark),minorTicks:$(a.MinorTickMark),majorGrid:E.majorGrid,minorGrid:E.minorGrid,title:a.AxisTitle?a.AxisTitle.Text:"",titleStyle:_(a,!0,!1,f),position:D,labelStyle:{padding:F}},3===a.TickLabelPosition&&(g.labels=!1),h=a.IsTimeScale(),i=a.MajorUnitIsAuto?a.BaseUnit:a.MajorUnitScale,j=a.MinorUnitIsAuto?a.BaseUnit:a.MinorUnitScale,k=h?fa(i):1,l=h?fa(j):1,a.MajorUnitIsAuto||(g.majorUnit=a.MajorUnit*k),m=a.MinorUnit*l,a.MinorUnitIsAuto||(g.minorUnit=m),n=a.Chart.ChartType,o="Y"===b,p=y(n),q=o&&p,q?(g.max=a.MaximumScale,g.min=a.MinimumScale):(r=e&&!d,a.MaximumScaleIsAuto&&!r||(s=a.MaximumScale,h&&(p?s=u.FromOADate(s).valueOf():s+=m/2),g.max=s),a.MinimumScaleIsAuto&&!r||(t=a.MinimumScale,h&&(p?t=u.FromOADate(t).valueOf():t-=m/2),g.min=t)),o&&(d?g.scale={type:"Percentage"}:0===a.ScaleType&&(g.scale={type:"Logarithmic"},g.logBase=a.LogBase)),d&&e&&(w=da(a),g.min=w.min,g.max=w.max,g.format&&!a.TickLabels.NumberFormatLinked||(g.format="0%")),z=E.majorGridStyle,z&&(g.majorGridStyle=z),z=E.minorGridStyle,z&&(g.minorGridStyle=z),A=a.TickLabels.Font,A&&(g.textStyle={color:x(A,!1),fontFamily:A.Name},A.Size&&(g.textStyle.fontSize=A.Size*f+"")),B=V(a,!1),B&&(g.lineStyle={stroke:B.color||"transparent",strokeWidth:v(B.width)?1:B.width}),C=a.TickLabels&&a.TickLabels.Qpa&&a.TickLabels.Qpa.TextBody&&a.TickLabels.Qpa.TextBody.Rotation,C&&(g.labelAngle=C),g}function ha(a,b,c){c||(c=R(a));var d,e,f;for(d=0;d<c.length;d++)if(e=c[d],f=e.ChartType,e.AxisGroup===b&&w.IsStacked100Chart(f))return!0;return!1}function ia(a,b,c){var d,e,f,g={},h=a.ChartFormat;return h&&(g.style={backgroundColor:x(h.Fill,b)}),d=a.Font,d&&(e=g.textStyle={},e.color=x(d,b),e.fontFamily=d.Name,f=d.Size,f>0&&(e.fontSize=f*c+"")),g}function ja(a,b){var c,d,e,f,g,h=a.Format.Line;if(h.Color&&0===h.Color.ColorType)return G;switch(c={},d=x(h,!0),d&&(c.stroke=b.currentTheme().getColor(d)),e=h.Weight>0?h.Weight:1,c.strokeWidth=e,f=h.DashStyle){case 1:g=e+","+3*e;break;case 2:g=4*e+","+3*e;break;case 3:g=8*e+","+3*e;break;case 4:g=4*e+","+3*e+","+e+","+3*e;break;case 5:g=8*e+","+3*e+","+e+","+3*e;break;case 6:g=8*e+","+3*e+","+e+","+3*e+","+e+","+3*e;break;case 7:g=3*e+","+e;break;case 8:g=e+","+e;break;case 9:g=3*e+","+e+","+e+","+e;break;case 10:g=3*e+","+e+","+e+","+e+","+e+","+e}return g&&(c.strokeDasharray=g),c}function ka(a){var b=a.Parent.FirstSliceAngle;return b+90}function la(a){var b={1:"Top",4:"Bottom",3:"Left"};return b[a]||"Right"}function ma(a){var b="Vertical";return 1!==a&&4!==a||(b="Horizontal"),b}function na(a,b){var c={},d=x(a,!1),e=a.Name,f=a.Size;return(d||e||f>0)&&(d&&(c.color=d),e&&(c.fontFamily=e),f>0&&(c.fontSize=f*b+"")),c}function oa(a,b,c){var d,e=a.type,f=a.stock;return d=e===E?{x:"date",high:"high",low:"low",open:"open",close:"close"}:e===F?{x:"date",high:"high",low:"low",close:"close"}:f?"date, volume":c+", "+b,[{field:d}]}function pa(a,b){var c={field:b,excludeNulls:!0};return a.group&&(c.group=a.group),[c]}function qa(a,b,c,d,e){var f,g,h=a.ShowValue,i=a.ShowCategoryName,j=a.ShowSeriesName,k=a.ShowPercentage,l=[],m=e.radial;return j&&l.push("{"+(m?c:b)+".value}"),i&&l.push("{"+(m?b:c)+".value}"),h&&(f="",g=a.NumberFormat,g&&(f=": "+g),l.push("{"+d+".value"+f+"}")),k&&l.push("{PercentageCategory:0%}"),l.length>0?l.join(a.Separator):G}function ra(a,b,c,d,e){var f,g,h,i,j,k;return a?(f=a.ShowValue,g=a.ShowCategoryName,h=a.ShowSeriesName,i=a.ShowPercentage,j=e.radial,k=[],(f||i)&&k.push({field:d}),g&&k.push({field:j?b:c}),h&&k.push({field:j?c:b}),k.length>0?k:G):G}function sa(a,b,c,d,e){var f,g,h=a.type,i=a.stock,j=a.radial,k=a.scatter;return h===E?f="{date.name}:{date.value}\n{high.name}:{high.value}\n{low.name}:{low.value}\n{open.name}:{open.value}\n{close.name}:{close.value}":h===F?f="{date.name}:{date.value}\n{high.name}:{high.value}\n{low.name}:{low.value}\n{close.name}:{close.value}":k?(g=a.needXNames?D:c,f='Series "{'+b+'.value}" Point "{'+g+'.value}" \n({'+c+".value}, {"+d+".value})",a.size&&(f+=" Size: {"+C+".value}")):f=i?"{date.name}:{date.value}\n{volume.name}:{volume.value}":j?'Series "{'+c+'.value}" Point "{'+b+'.value}" \nValue: {'+d+".value: "+(e||"#,##0")+"} ({PercentageCategory:0%})":'Series "{'+b+'.value}" Point "{'+c+'.value}" \nValue: {'+d+".value: "+(e||"#,##0")+"}",f}function ta(a,b,c,d){var e,f,g=a.type,h=a.stock;return g===E?e=["date","high","low","open","close"]:g===F?e=["date","high","low","close"]:h?e=["date","volume"]:(e=[d,c,b],a.size&&e.push(C),a.needXNames&&e.push(D)),f=[],e.forEach(function(a){f.push({field:a})}),f}function ua(a,b,c,d,e,f){var g,h,i,j,k,l,m,n,o,p,q,r,s,t={},u=a.Position;return"number"==typeof u&&u>=0&&u<=8&&(g={0:"Auto",1:"Inside",2:"Center",3:"Inside",4:"Inside",5:"Center",6:"Outside",7:"Center",8:"Outside"},h=g[u],h&&(t.position=h)),a.ShowLeaderLines&&"Outside"===t.position?(i=V(a.LeaderLines,!1),i&&(t.connectingLine={stroke:i.color||"transparent",strokeWidth:v(i.width)?1:i.width})):t.connectingLine={stroke:"transparent"},j=t.style={},k=V(a,!1),k&&(j.borderStyle={strokeWidth:v(k.width)?1:k.width,stroke:k.color||"transparent"}),l=a.Format&&a.Format.Fill,m=x(l,!1),j.backgroundColor=m||"transparent",n=a.Font,o=x(n,!1),p=n.Name,q=n.Size,(o||p||q>0)&&(r=t.textStyle={},o&&(r.color=o),p&&(r.fontFamily=p),q>0&&(r.fontSize=q*f+"")),s=qa(a,d,b,c,e),s&&(t.template=s),t}function va(a,b,c,d,e,f){var g,h={};return h.values=oa(a,c,f),h.details=pa(a,d),h.color={field:d},a.size&&(h.size={field:C}),g=ra(e.GetDataLabels(),d,f,c,a),g&&(h.text=g),h.tooltip=ta(a,d,f,c),h}function wa(a,b,c,d,e,f,g){var h,i,j,k,l,m,n,o=c[0],p={};return a.radial||(p.clippingMode="Clip"),h=o.GetDataLabels(),h&&(p.text=ua(h,d,e,f,a,g)),p.tooltip={style:{borderStyle:{stroke:"#767676"},backgroundColor:"white"},textStyle:{color:"#575757",fontFamily:"Calibri, Arial",fontSize:14*g},template:sa(a,f,d,e,h&&h.NumberFormat)},a.swapAxes&&(p.swapAxes=!0),a.symbols&&(p.symbols=!0),a.lineAspect&&(p.lineAspect=a.lineAspect),a.radial&&(p.radial=!0,p.startAngle=ka(o),a.doughnut&&(p.innerRadius=o.Parent.DoughnutHoleSize/100),p.sweep=360),y(b)||(i=xa(c),(c.length<=1||i)&&(p.style||(p.style={}),j=U(o,!1),k=j&&j.width,l=j&&j.color,(k>=0||l)&&(k>=0&&(p.style.strokeWidth=k),l&&!w.IsLineChart(o.ChartType)&&(p.style.stroke=l)),m=T(o,!1),m&&(p.style.symbolFill=m.symbolFill,p.style.symbolStroke=m.symbolStroke,v(m.symbolStrokeWidth)||(p.style.symbolStrokeWidth=m.symbolStrokeWidth))),n=[],c.length>1&&!i&&(n=n.concat(ya(c,f,a.type===I||a.type===J))),n.length>0&&(p.rules=n)),p}function xa(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r=[],s=[];for(b=0;b<a.length;b++)r.push(U(a[b],!1)),s.push(T(a[b],!1));if(c=!0,r.length>0)for(d=r[0],e=d&&d.color,f=d&&d.width,g=s[0],h=g&&g.symbolFill,i=g&&g.symbolStroke,j=g&&g.symbolStrokeWidth,b=1;b<r.length;b++){if(k=r[b],l=k&&k.color,m=k&&k.width,e!==l||f!==m){c=!1;break}if(n=s[b],o=n&&n.symbolFill,p=n&&n.symbolStroke,q=n&&n.symbolStrokeWidth,h!==o||i!==p||j!==q){c=!1;break}}return c}function ya(a,b,c){var d,e,f,g,h,i,j,k,l,m=[],n={};for(d=0;d<a.length;d++)e=a[d],f=U(e,!1),g=f&&f.color,h=f&&f.width,i=[],g&&i.push({name:"style.stroke",value:g}),h&&i.push({name:"style.strokeWidth",value:h}),j=T(e,!1),j&&(i.push({name:"style.symbolFill",value:j.symbolFill}),i.push({name:"style.symbolStroke",value:j.symbolStroke}),v(j.symbolStrokeWidth)||i.push({name:"style.symbolStrokeWidth",value:j.symbolStrokeWidth})),k=S(e,n),i.length>0&&k&&(l=c?"Group":"DataPoint",m.push({condition:"current.items[0]."+b+' = "'+k+'"',type:l,actions:[{targetElement:l,properties:i}]}));return m}function za(a,b,c,d,e,f,g,h){var i={name:c,type:a.type};return i.encodings=va(a,b,f,g,d[0],e),i.config=wa(a,b,d,e,f,g,h),i}function Aa(a,b){var c,d,e,f=a.Points,g=f.Count,h=[];for(c=0;c<g;c++)d=f.Get(c),e=d.getFillColor(b),e&&h.push(e);return h}function Ba(a,b){var c,d=Aa(b,!1),e=d.length;for(a.length=0,c=0;c<e;c++)a.push(d[c])}function Ca(a,b,c){var d,e;c.type===I?(d=b.getLineColor(!1),d&&a.push(d)):c.type===H||c.type===J?c.radial===!0?Ba(a,b):(e=b.getFillColor(!1),e&&a.push(e)):c.type===K&&(c.size?(e=b.getFillColor(!1),e&&a.push(e)):(e=b.getMarkerFillColor(!1),e&&a.push(e)))}f={0:"",1:"2"};function Da(a){return z+f[a.AxisGroup]}g={secondaryLine:1,primaryLine:2,secondaryOther:11,primaryOther:12,secondaryArea:21,primaryArea:22};function Ea(a,b){var c=0;return 0===a?c=b===I?g.primaryLine:b===J?g.primaryArea:g.primaryOther:1===a&&(c=b===I?g.secondaryLine:b===J?g.secondaryArea:g.secondaryOther),c}function Fa(a,b){var c,d,e,f,g,h,i={},j=[];for(c=0;c<a.length;c++)d=a[c],e=d.Values,e&&e.length>0&&(f=d.iua(),i[f]?i[f].push(d):(i[f]=[d],g=W(d,b,0===c),h=Ea(d.AxisGroup,g.type),j.push({type:f,value:h,chartInfo:g})));return j.length>1&&j.sort(function(a,b){return b.value-a.value}),{serGroupsOrder:j,serGroups:i}}function Ga(a,b,c,d,e){var f,g,h,i,j,k,l,m=[],n=a.serGroupsOrder,o=a.serGroups;for(f=0;f<n.length;f++)g=n[f].type,h=n[f].chartInfo,i=o[g],j=i[0],k=za(h,b,"plot"+(f+1),i,Da(j),A+g,B+g,e),m.push(k),l=j.AxisGroup,0===l?c.push(k.name):1===l&&d.push(k.name);return m}h={49:["high","low","close"],50:["open","high","low","close"],51:["volume","high","low","close"],52:["volume","open","high","low","close"]};function Ha(a,b){var c,d;for(c=0;c<a.length;c++)if(d=a[c],d.AxisGroup===b&&!d.XValuesIsAuto())return d.XValues}function Ia(a){var b,c="",d=""+this;for(b=0;b<a;b++)c+=d;return c}function Ja(a,b){return i||(i="".repeat||Ia),i.call(a,b)}function Ka(a){var b,c,d,e,f,g=a.slice(),h={};for(h[a[0]]=1,v(a[0])&&(g[0]=""),b=1,c=a.length;b<c;b++)d=a[b],e=h[d],e?(f=Ja(" ",e),g[b]=v(d)?f:d+f,h[d]++):h[d]=1;return g}function La(a,b,c){var d,e,f,g,i,j,k,l,m,n,o,p,q,r,s,t,u,v,x,z,D,E,F=a.ChartType;if(y(F)){for(j=h[F],k={},d=0;d<b.length;d++){if(e=b[d],l=j[d],g=e.XValues,i=e.Values,!k.date){if(!w.AreAllDate(g))return;k.date=g}k[l]=i}for(m=k.date&&k.date.length,d=0;d<m;d++)if(n={date:X(k.date[d],!0),high:k.high[d],low:k.low[d],close:k.close[d]},k.open&&(n.open=k.open[d]),k.volume&&(n.volume=k.volume[d]),c(n))return}else for(o=Ha(b,0),p=Ha(b,1),q={},d=0;d<b.length;d++)for(e=b[d],r=e.iua(),f=W(e),g=e.XValuesIsAuto()?0===e.AxisGroup?o:p:e.XValues,s=f.needXNames,s&&(t={names:e.lua}),i=e.Values,f.size&&(u=e.GetBubbleSizes()),v=a.Axes.GetAxis(0,e.AxisGroup),g&&v&&!v.IsValueOrDateScaleAxis()&&(g=Ka(g)),x=S(e,q),z=i&&i.length,D=0;D<z;D++)if(E=Z(f.radial,x,g,i,D,Da(e),A+r,B+r,t),E&&(u&&u.length>0&&(E[C]=u[D]),c(E,e)))return}function Ma(a){if(a){for(var b in a)if(!v(a[b]))return!1;return!0}return!1}function Na(a,b){var c,d,e=[];return La(a,b,function(a){Ma(a)||e.push(a)}),e.length>0&&(c=a.ChartType,d=a.Axes.Item(0,0),(w.IsLineChart(c)||w.IsAreaChart(c))&&d&&d.IsValueOrDateScaleAxis()&&e.sort(function(a,b){return a[z]-b[z]})),{values:e}}function Oa(a,b){return JSON.stringify(a)===JSON.stringify(b)}function Pa(a,b,c){var d,e,f,g,i,j,k=a.ChartType;if(y(k)){if(e=h[k],f=e.indexOf(c),f>=0)return a.SeriesCollection.Get(f)}else g=R(a),i=Fa(g,a.ChartType),j=Za(i),La(a,j,function(a,c){if(Oa(a,b))return d=c,!0});return d}function Qa(a,b){if(b||(b=R(a)),1===b.length)return b[0].Name}function Ra(a,b){return a.Text||Qa(a.Parent,b)||a.DefaultText}function Sa(a,b,c,d){var e,f,g;return a?(e={text:Ra(a,c)},f=a.GetChartTextInternal(),f&&(g=f.Font,e.color=x(g,b),e.fontFamily=g.Name,e.fontSize=(g.Size||a.DefaultFontSize)*d),e):G}function Ta(a,b,c){var d,e,f=Sa(a,!1,b,c);return f?(d={header:f.text},a.GetChartTextInternal()&&(d.headerTextStyle={color:f.color,fontFamily:f.fontFamily},f.fontSize&&(d.headerTextStyle.fontSize=f.fontSize*c+""),d.headerStyle={backgroundColor:x(a.Format.Fill,!1)},e=V(a,!1),e&&(d.headerStyle.borderStyle={strokeWidth:v(e.width)?1:e.width,stroke:e.color||"transparent"})),d):G}function Ua(a,b){var c;return c=a?{position:la(a.Position),orientation:ma(a.Position),textStyle:na(a.Font,b)}:{hidden:!0},{legend:c,legends:[{title:"",type:"Color"}]}}function Va(a,b){var c,d,e;if(w.IsBarChart(a.ChartType))return!0;if(0===a.ChartType){for(c=a.SeriesCollection.GetValidSers(b),d=!0,e=0;e<c.length;e++)if(!w.IsBarChart(c[e].ChartType)){d=!1;break}return d}return!1}function Wa(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=a.Axes,r=[],s=a.ChartType,t=Va(a,0),u=Va(a,1),x=w.IsPieOrDoughnutChart(s),z=ha(a,0,b);return q&&(f=q.Item(0,0),g=q.Item(1,0),h=q.Item(0,1),i=q.Item(1,1),f?(m=ga(f,t?"Y":"X",c,z,f.IsValueOrDateScaleAxis(),e),t||f.IsValueOrDateScaleAxis()||y(s)||(m.scale={type:"Ordinal"},n=a.SeriesCollection.GetValidSers(0)[0],m.min=-.5,m.max=(n?n.XValues.length:0)-.5),l=g&&g.GetCustomCrossesAt(),v(l)||(m.origin=l),r.push(m)):x&&r.push({plots:c,type:"X",position:"None"}),g?(o=ga(g,t?"X":"Y",c,z,!0,e),r.push(o),l=f&&f.GetCustomCrossesAt(),v(l)||(o.origin=l),m&&!v(o.min)&&o.min<0&&o.max>=0&&(m.origin=0),g.ReversePlotOrder&&(o.reversed=!0)):x&&r.push({plots:c,type:"Y",position:"None",scale:{type:"Percentage"}}),z=ha(a,1,b),h&&(j=ga(h,u?"Y":"X",d,z,h.IsValueOrDateScaleAxis(),e),u||h.IsValueOrDateScaleAxis()||y(s)||(j.scale={type:"Ordinal"},p=a.SeriesCollection.GetValidSers(1)[0],j.min=-.5,j.max=(p?p.XValues.length:0)-.5),l=i&&i.GetCustomCrossesAt(),v(l)||(j.origin=l),m&&j.position===m.position?m.plots=m.plots.concat(j.plots):r.push(j)),i&&(k=ga(i,u?"X":"Y",d,z,!0,e),l=h&&h.GetCustomCrossesAt(),v(l)||(k.origin=l),o&&k.position===o.position?o.plots=o.plots.concat(k.plots):r.push(k),i.ReversePlotOrder&&(k.reversed=!0))),r}function Xa(a){var b,c,d,e,f,g,h,i,j=a.ColumnGroups;return j&&j.Count>0?b=j.Get(0):(c=a.BarGroups,c&&c.Count>0&&(b=c.Get(0))),b&&(d=b.GetSers(),e=d&&d.length,e>0)?(f=b.Overlap,g=b.GapWidth,h={},i=w.IsStackedChart(d[0].ChartType)?1:e,v(f)||(h.overlap=f/100),v(g)||(h.width=i/(i+g/100)),h):G}function Ya(a,b,c,d,e,f,g){var h,i,j,k,l,m,n,o=ia(a.ChartArea,!1,g),p=c.DR(a.Parent),q={style:o.style,textStyle:o.textStyle,selectionMode:y(a.ChartType)?"Custom":"Group",selectedStyle:{adorners:p}};return f.length>0&&(q.palette=f),h=ja(a.ChartArea,c),h&&(q.borderStyle=h),i=Ta(a.ChartTitle,b,g),i&&(i.header&&(q.header=i.header),i.headerTextStyle&&(q.headerTextStyle=i.headerTextStyle),i.headerStyle&&(q.headerStyle=i.headerStyle)),j=Wa(a,b,d,e,g),j.length>0&&(k={axes:j,style:{fill:x(a.PlotArea.Format.Fill,!1)}},l=V(a.PlotArea,!1),l&&(k.borderStyle={strokeWidth:v(l.width)?1:l.width,stroke:l.color||"transparent"}),m=Ua(a.Legend,g),m&&(k.legend=m.legend,l&&(k.legend.style={borderStyle:{strokeWidth:1,stroke:"transparent"}}),k.legends=m.legends,w.IsBubbleChart(a.ChartType)&&k.legends.push({type:"Size",hidden:!0})),q.plotAreas=[k]),n=Xa(a),n&&(q.bar=n),q}function Za(a){var b,c,d,e,f,g,h=a.serGroupsOrder,i=a.serGroups,j=[];for(b=0,c=h.length;b<c;b++)for(d=h[b].type,e=i[d],f=0,g=e.length;f<g;f++)j.push(e[f]);return j}function $a(a){var b,c,d,e,f,g,h,i=a.serGroupsOrder,j=a.serGroups,k=[];for(b=0,c=i.length;b<c;b++)for(d=i[b].type,e=i[b].chartInfo,f=j[d],g=0,h=f.length;g<h;g++)Ca(k,f[g],e);return k}function _a(a,b){var c,d,e=b.zoom(),f=[],g=[],h={},i=R(a),j=a.ChartType,k=Fa(i,j),l=Za(k),m=$a(k);return h.plots=Ga(k,j,f,g,e),c=h.data=Na(a,l),d=0===c.values.length,h.config=Ya(a,i,b,f,g,m,e),d?(h.config.header="",h.plots=[],delete h.config.plotAreas):y(j)||(h.data.dateFormats=!1),h}function ab(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o=a.ChartType,p=W(a,a.SeriesCollection.Parent.ChartType,b),q={chartType:o,axisGroup:a.AxisGroup};return p.radial?c=Aa(a,!0).join(","):(d=a.getFillColor(!0),d&&(c=d)),q.backColor=c,e=q.border={},p.radial?(g=a.Points,g.Count>0&&(h=g.Get(0),i=h.getLineColor(!0),i&&(e.color=i),f=h.Format.Line.Weight)):(f=a.LineWidth,j=a.getLineColor(!0),j&&(e.color=j)),!v(f)&&f>=0&&(e.width=f),p.radial&&(q.startAngle=a.Parent.FirstSliceAngle),k=a.GetNameFormula(),k?q.name=k:q.name='"'+S(a)+'"',l=a.GetXValuesFormula(),l&&(q.xValues=l),m=a.GetValuesFormula(),m&&(q.yValues=m),n=a.GetBubbleSizesFormula(),n&&(q.bubbleSizes=n),q}j=c(1),j&&(k={format:function(a,b){return"General"===a&&"number"==typeof b&&Math.abs(b-parseFloat(b.toFixed(2)))<1e-10&&(b=b.toFixed(2)),new s(a).format(b)},defaultFormat:function(a,b){return 4===a?"mm/dd/yyyy":"General"}},l={create:function(){return k}},m=j.plugins,m.unregisterStringFormatting("Default"),m.registerStringFormatting("Default",l),m.unregisterRenderEngine("Canvas"),m.registerRenderEngine("Canvas",new m.PureCanvasRenderEnginePlugin),n=j.FlexDV.prototype,o=n.load,n.load=function(){try{o.apply(this,arguments)}catch(a){}},p=n.refresh,n.refresh=function(){try{p.apply(this,arguments)}catch(a){}},q=n.Select,n.Select=function(){try{q.apply(this,arguments)}catch(a){}}),r.ChartHelper={getChartModelData:_a,getSeries:Pa,getChartAreaStyle:ia,colorFormatToString:x,getChartTitleProperties:Sa,getSeriesProperties:ab,getAxisProperties:ea,isPercentageScaleType:ha,getChartTitleText:Ra},a.exports=r}()},function(a,b,c){!function(){"use strict";var b,d,e,f,g=c(3),h=c(8).GC$,i=h.inherit,j=c(7),k=j.ChartConstants,l=j.ChartUtility,m=l.defineProperty,n=j.ChartElementBase,o=j.UnitHelper,p=o.isNullOrUndefined,q=c(10).ChartFormat,r=null,s=function(a){i(b,a);function b(b,c){var d=a.call(this)||this;return d.Hua=r,d.Jua=b,d.Kua=c,d}var c=b.prototype;return m(c,"Format",{get:function(){return this.ChartFormat}}),c.GetDefaultFormat=function(){var b=this;switch(b.Kua){case 0:return b.GetDefaultDropLinesFormat();case 1:return b.GetDefaultHiLoLinesFormat();case 2:return b.GetOfPieDefaultSerLinesFormat();case 3:return b.GetDlblsDefaultLeaderLines()}return a.prototype.GetDefaultFormat.call(b)},c.GetOfPieDefaultSerLinesFormat=function(){var b=a.prototype.GetDefaultFormat.call(this),c=b.Line,d=c.Color;return d.ObjectThemeColor=1,d.Brightness=.65,c.Weight=1,b},c.GetDefaultHiLoLinesFormat=function(){var b=a.prototype.GetDefaultFormat.call(this),c=b.Line,d=c.Color;return d.ObjectThemeColor=1,d.Brightness=.25,c.Weight=1,b},c.GetDefaultDropLinesFormat=function(){var b=a.prototype.GetDefaultFormat.call(this),c=b.Line,d=c.Color;return d.ObjectThemeColor=1,d.Brightness=.65,c.Weight=1,b},c.GetDlblsDefaultLeaderLines=function(){var b=a.prototype.GetDefaultFormat.call(this),c=b.Line,d=c.Color;return d.ObjectThemeColor=1,d.Brightness=.65,c.Weight=1,b},c.Delete=function(){var a=this,b=a.Kua,c=a.Jua;0===b?c.HasDropLines=!1:1===b?c.HasHiLoLines=!1:2===b&&(c.HasSeriesLines=!1)},c.FromOOModel=function(b){this.Hua=b,p(b)?a.prototype.ClearFormat.call(this):a.prototype.FromShapeProperties.call(this,b.spPr)},c.ToOOModel=function(){var b=this.Hua||{};return b.spPr=a.prototype.ToShapeProperties.call(this),b},c.CreateFormat=function(){return new q(this.Jua.Parent)},b}(n);g.ChartLines=s,g.BarType={Up:0,Down:1},b=function(a){i(b,a);function b(b,c){var d=a.call(this)||this;return d.Lua=r,d.Jua=b,d.Nc=c,d}var c=b.prototype;return m(c,"Format",{get:function(){return this.ChartFormat}}),m(c,"Parent",{get:function(){return this.Jua}}),c.GetDefaultFormat=function(){return 0===this.Nc?this.GetDefaultUpBarsFormat():this.GetDefaultDownBarsFormat()},c.GetDefaultUpBarsFormat=function(){var b,c,d=a.prototype.GetDefaultFormat.call(this);return d.Fill.Color.ObjectThemeColor=0,b=d.Line,c=b.Color,c.ObjectThemeColor=1,c.Brightness=.35,b.Weight=1,d},c.GetDefaultDownBarsFormat=function(){var b,c,d=a.prototype.GetDefaultFormat.call(this);return d.Fill.Color.ObjectThemeColor=1,b=d.Line,c=b.Color,c.ObjectThemeColor=1,c.Brightness=.35,b.Weight=1,d},c.Delete=function(){this.Jua.HasUpDownBars=!1},c.FromOOModel=function(b){this.Lua=b,p(b)?a.prototype.ClearFormat.call(this):a.prototype.FromShapeProperties.call(this,b.spPr)},c.ToOOModel=function(){var b=this.Lua||{};return b.spPr=a.prototype.ToShapeProperties.call(this),b},c.CreateFormat=function(){return new q(this.Jua.Parent)},b}(n),g.ChartBars=b,d=function(){function a(a,b,c){var d=this;d.Mua=75,d.Nua=0,d.Oua=2,d.Pua=75,d.Qua=!1,d.Rua=!1,d.Sua=!1,d.Tua=!1,d.Uua=!1,d.Vua=0,d.Wua=100,d.Xua=0,d.Yua=0,d.Spa=a,d.Zua=b,d.fsa=c,d.Init()}var c=a.prototype;m(c,"AxisGroup",{get:function(){return this.fsa},set:function(a){var b,c,d,e=this;if(a!==e.fsa){for(e.fsa=a,e.Spa.SuspendElementChanged(),b=0,c=e.GetSers();b<c.length;b++)d=c[b],d.AxisGroup=a;e.Spa.ResumeElementChanged(17,r,k.AxisGroup)}}}),m(c,"BubbleScale",{get:function(){return this.Wua},set:function(a){a!==this.Wua&&a>=0&&a<=300&&(this.Wua=a)}}),m(c,"DoughnutHoleSize",{get:function(){return this.Pua},set:function(a){a!==this.Pua&&a>=10&&a<=90&&(this.Pua=a)}}),m(c,"FirstSliceAngle",{get:function(){return this.Xua},set:function(a){a!==this.Xua&&a>=0&&a<=360&&(this.Xua=a)}}),m(c,"GapWidth",{get:function(){return this.Yua},set:function(a){a!==this.Yua&&a>=0&&a<=500&&(this.Yua=a)}}),m(c,"HasDropLines",{get:function(){return this.Rua},set:function(a){var b=this;a!==b.Rua&&(b.Rua=a,a&&p(b.$ua)&&(b.$ua=new s(b,0)))}}),m(c,"HasHiLoLines",{get:function(){return this.Sua},set:function(a){var b=this;a!==b.Sua&&(b.Sua=a,a&&p(b._ua)&&(b._ua=new s(b,1)))}}),m(c,"HasSeriesLines",{get:function(){return this.Tua},set:function(a){var b=this;a!==b.Tua&&(b.Tua=a,a&&p(b.ava)&&(b.ava=new s(b,2)))}}),m(c,"HasUpDownBars",{get:function(){return this.Uua},set:function(a){var c=this;a!==c.Uua&&(c.Uua=a,a&&p(c.bva)&&(c.bva=new b(c,0)),a&&p(c.cva)&&(c.cva=new b(c,1)))}}),m(c,"Overlap",{get:function(){return this.dva},set:function(a){a!==this.dva&&a>=-100&&a<=100&&(this.dva=a)}}),m(c,"Parent",{get:function(){return this.Spa}}),m(c,"SecondPlotSize",{get:function(){return this.Mua},set:function(a){a!==this.Mua&&a>=5&&a<=200&&(this.Mua=a)}}),m(c,"SeriesLines",{get:function(){return this.HasSeriesLines?this.ava:r}}),m(c,"HiLoLines",{get:function(){return this.HasHiLoLines?this._ua:r}}),m(c,"DropLines",{get:function(){return this.HasDropLines?this.$ua:r}}),m(c,"SizeRepresents",{get:function(){return this.Vua},set:function(a){this.Vua=a}}),m(c,"SplitType",{get:function(){return this.Nua},set:function(a){var b,c=this;a!==c.Nua&&(c.Nua=a,b={0:2,1:50,2:10},c.Oua=b[c.Nua]||c.Oua,c.Spa.HandleElementChanged(17,c,k.SplitType))}}),m(c,"SplitValue",{get:function(){return this.Oua},set:function(a){var b=this;a!==b.Oua&&(b.Oua=a,b.Spa.HandleElementChanged(17,b,k.SplitValue))}}),m(c,"UpBars",{get:function(){return this.HasUpDownBars?this.bva:r}}),m(c,"DownBars",{get:function(){return this.HasUpDownBars?this.cva:r}}),m(c,"VaryByCategories",{get:function(){return this.Qua},set:function(a){var b,c,d,e,f,g=this;if(a!==g.Qua&&(g.Qua=a,a))for(b=0,c=g.GetSers();b<c.length;b++)d=c[b],f=d.InnerChartType,l.IsFillSeries(f)?(e=d.Format.Fill.Color,1!==e.ColorType&&(e.ColorType=1)):l.IsLineSeries(f)&&!l.IsStockChart(g.Spa.ChartType)&&(e=d.Format.Line.Color,1!==e.ColorType&&(e.ColorType=1))}}),m(c,"SeriesCollection",{get:function(){return this.GetSers()}}),c.Equals=function(a){return!p(a)&&a.AxisGroup===this.fsa&&a.Zua===this.Zua},m(c,"Marker",{get:function(){return this.eva},set:function(a){this.eva=a}}),m(c,"Count",{get:function(){return this.GetSers().length}}),m(c,"GroupType",{get:function(){return this.Zua}}),c.IsStacked=function(){var a,b,c,d=this.GetSers();for(a=0,b=d;a<b.length;a++)if(c=b[a],l.IsStackedChart(c.InnerChartType))return!0;return!1},c.GetSers=function(){var a,b,c,d=this.Spa.SeriesCollection,e=[];for(a=0,b=d.Count;a<b;a++)c=d.Get(a),this.fsa===c.AxisGroup&&l.MapToGroupType(c.InnerChartType)===this.Zua&&e.push(c);return e},c.Init=function(){var a,c,d=this,e=d.Spa.ChartType,f=d.Zua;8===f?l.IsStackedChart(e)||d.IsStacked()?(d.Yua=150,d.dva=100):(d.Yua=182,d.dva=0):9===f||3===f||2===f?l.IsStackedChart(e)||d.IsStacked()?(d.Yua=150,d.dva=100):(d.Yua=150,d.dva=-27):11===f?d.Yua=150:12===f&&(l.IsOfPieChart(e)?(d.Yua=100,d.Tua=!0):d.Tua=!1),l.IsDoughnutChart(e)&&l.IsExplodedChart(e)?d.Pua=50:d.Pua=75,l.IsLineMarkerChart(e)?d.eva=!0:11===f&&(a=d.GetSers(),c=a.some(function(a){return 4!==a.MarkerStyle}),c&&(d.eva=!0)),d.Tua=l.HasSeriesLines(e),d.ava=d.Tua?new s(d,2):r,d.Sua=l.HasHiLoLines(e),d._ua=d.Sua?new s(d,1):r,d.Uua=l.HasUpDownBars(e),d.bva=d.Uua?new b(d,0):r,d.cva=d.Uua?new b(d,1):r,d.Qua=12===d.Zua||5===d.Zua||10===d.Zua},c.Restore=function(a){var b=this;switch(b.Zua){case 1:b.RestoreArea3DGroup(a);break;case 2:b.RestoreBar3DGroup(a);break;case 3:b.RestoreBar3DGroup(a);break;case 4:b.RestoreLine3DGroup(a);break;case 5:b.RestorePie3DGroup(a);break;case 7:b.RestoreAreaGroup(a);break;case 8:b.RestoreBarGroup(a,!0);break;case 9:b.RestoreBarGroup(a,!1);break;case 10:b.RestoreDoughnutGroup(a);break;case 11:l.IsStockChart(b.Spa.ChartType)?(b.RestoreStockGroup(a),b.RestoreBarGroup(a,!1)):b.RestoreLineGroup(a);break;case 12:b.RestorePieGroup(a),b.RestoreOfPieGroup(a);break;case 13:b.RestoreRadarGroup(a);break;case 14:b.RestoreXYGroup(a),b.RestoreBubbleGroup(a)}},c.RestoreBarGroup=function(a,b){var c,d=this,e=d.GetBarCharts(a,d.fsa,b);e.length>0&&(c=e[0],d.RestoreBarBaseGroup(c),p(c.overlap)?d.Overlap=0:d.Overlap=c.overlap,c.serLines&&c.serLines.length>0?(d.HasSeriesLines=!0,d.ava.FromOOModel(c.serLines[0])):d.HasSeriesLines=!1)},c.RestoreBarBaseGroup=function(a){p(a.gapWidth)||(this.GapWidth=a.gapWidth),p(a.varyColors)||(this.Qua=a.varyColors)},c.GetBarCharts=function(a,b,c){var d,e,f,g,h=this.GetCharts(6,a,b),i=[];for(d=0,e=h;d<e.length;d++)f=e[d],g=f.barDir,c?0===g&&i.push(f):(p(g)||1===g)&&i.push(f);return i},c.RestoreLineGroup=function(a){var b,c,d,e,f=this,g=f.GetCharts(8,a,f.fsa);g.length>0&&(b=g[0],f.RestoreLineBaseGroup(b),c=b.hiLowLines,p(c)?f.HasHiLoLines=!1:(f.HasHiLoLines=!0,f._ua.FromOOModel(c)),d=b.upDownBars,p(d)?f.HasUpDownBars=!1:(f.HasUpDownBars=!0,f.bva.FromOOModel(d.upBars),f.cva.FromOOModel(d.downBars)),e=b.marker,p(e)?f.Marker=!1:f.Marker=e)},c.RestoreLineBaseGroup=function(a){var b,c=this,d=a.varyColors;p(d)||(c.Qua=d),b=a.dropLines,p(b)?c.HasDropLines=!1:(c.HasDropLines=!0,c.$ua.FromOOModel(b))},c.RestoreStockGroup=function(a){var b,c,d,e,f=this,g=f.GetCharts(0,a,f.fsa);g.length>0&&(b=g[0],c=b.dropLines,p(c)?f.HasDropLines=!1:(f.HasDropLines=!0,f.$ua.FromOOModel(c)),d=b.hiLowLines,p(d)?f.HasHiLoLines=!1:(f.HasHiLoLines=!0,f._ua.FromOOModel(d)),e=b.upDownBars,p(e)?f.HasUpDownBars=!1:(f.HasUpDownBars=!0,f.bva.FromOOModel(e.upBars),f.cva.FromOOModel(e.downBars),p(e.gapWidth)||(f.GapWidth=e.gapWidth)))},c.RestoreXYGroup=function(a){var b,c,d=this.GetCharts(1,a,this.fsa);d.length>0&&(b=d[0],c=b.varyColors,c&&(this.Qua=c))},c.RestoreBubbleGroup=function(a){var b,c,d,e,f,g=this,h=g.GetCharts(3,a,g.fsa);h.length>0&&(b=h[0],c=b.varyColors,c&&(g.Qua=c),d=b.bubbleScale,p(d)||(g.Wua=d),e=b.showNegBubbles,p(e)||(g.ShowNegativeBubbles=e),f=b.sizeRepresents,p(f)||(g.SizeRepresents=f))},c.RestorePieGroup=function(a){var b,c,d=r,e=l.GetPieChart(a);0===this.fsa?e.length>0&&(d=e[0]):(b=l.GetPieCharts(a),c=l.GetPrimaryPieChart(b),10===c.chartType?e.length>1&&(d=e[1]):e.length>0&&(d=e[0])),p(d)||this.RestorePieBaseGroup(d)};function d(a,b){return a.some(function(a){return a===b.Index})}return c.RestoreOfPieGroup=function(a){var b,c,e,f,g,h,i,j,k,m,n,o,q,s,t,u,v,w,x=this,y=r,z=l.GetOfPieChart(a);if(0===x.fsa?z.length>0&&(y=z[0]):(b=l.GetPieCharts(a),c=l.GetPrimaryPieChart(b),13===c.chartType?z.length>1&&(y=z[1]):z.length>0&&(y=z[0])),y)if(x.RestorePieBaseGroup(y),e=y.serLines,!p(e)&&e.length>0?(x.HasSeriesLines=!0,x.ava.FromOOModel(e[0])):x.HasSeriesLines=!1,f=y.secondPieSize,p(f)||(x.SecondPlotSize=f),g=y.gapWidth,p(g)||(x.GapWidth=g),h=y.splitType,p(h)||(x.Nua=h),i=y.splitPos,p(i)||(x.Oua=i),3===x.Nua){if(j=y.custSplit,k=j&&j.secondPiePt,k&&k.length>0)for(m=0,n=x.GetSers();m<n.length;m++)for(o=n[m],
q=o.Points,s=0,t=q.Count;s<t;s++)u=q.Get(s),u.SetSecondaryPlotInteral(d(k,u))}else for(v=0,w=x.GetSers();v<w.length;v++)o=w[v],o.UpdateSecondPlotPoints()},c.RestoreDoughnutGroup=function(a){var b,c,d,e=r,f=l.GetDoughnutChart(a);0===this.fsa?f.length>0&&(e=f[0]):(b=l.GetPieCharts(a),c=l.GetPrimaryPieChart(b),12===c.chartType?f.length>1&&(e=f[1]):f.length>0&&(e=f[0])),e&&(this.RestorePieBaseGroup(e),d=e.holeSize,p(d)||(this.DoughnutHoleSize=d))},c.RestorePieBaseGroup=function(a){var b,c=a.varyColors;p(c)||(this.Qua=c),b=a.firstSliceAng,p(b)||(this.Xua=b)},c.RestoreRadarGroup=function(a){var b,c,d=this.GetCharts(2,a,this.fsa);d.length>0&&(b=d[0],c=b.varyColors,p(c)||(this.Qua=c))},c.RestoreAreaGroup=function(a){var b=this.GetCharts(4,a,this.fsa);b.length>0&&this.RestoreAreaBaseGroup(b[0])},c.RestoreAreaBaseGroup=function(a){var b,c=this,d=a.varyColors;p(d)||(c.Qua=d),b=a.dropLines,p(b)?c.HasDropLines=!1:(c.HasDropLines=!0,c.$ua.FromOOModel(b))},c.RestoreArea3DGroup=function(a){var b,c,d=l.GetArea3DChart(a);p(d)||(b=d,this.RestoreAreaBaseGroup(b),c=b.gapDepth,p(c)||(this.Spa.GapDepth=c))},c.RestoreBar3DGroup=function(a){var b,c,d,e=l.GetBar3DChart(a);p(e)||(b=e,this.RestoreBarBaseGroup(b),c=b.gapDepth,p(c)||(this.Spa.GapDepth=c),d=b.shape,p(d)||this.Spa.SetBarShapeInternal(d))},c.RestoreLine3DGroup=function(a){var b,c=l.GetLine3DChart(a);p(c)||(this.RestoreLineBaseGroup(c),b=c.gapDepth,p(b)||(this.Spa.GapDepth=b))},c.RestorePie3DGroup=function(a){var b=l.GetPie3DChart(a);p(b)||this.RestorePieBaseGroup(b)},c.GetCharts=function(a,b,c){var d,e,f,g,h,i,j,k=l.GetPrimaryAxises(b),m=[],n=[];for(d=0,e=b.chartGroups;d<e.length;d++)if(f=e[d],f.chartType===a)for(g=f,h=0,i=g.axId;h<i.length;h++)j=i[h],k.indexOf(j)===-1&&n.indexOf(g)===-1?n.push(g):m.indexOf(g)===-1&&m.push(g);return 0===c?m:n},a}(),g.ChartGroup=d,e=function(){function a(a,b){this.fva=[],this.Spa=a,this.Zua=b}var b=a.prototype;return m(b,"Count",{get:function(){return this.GetChartGroups().length}}),m(b,"Parent",{get:function(){return this.Spa}}),b.Get=function(a){var b=this.GetChartGroups();return a>=0&&a<b.length?b[a]:r},b.GetChartGroups=function(){var a,b=this,c=b.GetValidChartGroups();return 0===c.length&&l.MapToGroupType(b.Spa.ChartType)===b.Zua&&(a=b.TryGetCachedGroup(0),c.push(a)),c},b.TryGetCachedGroup=function(a){var b,c,e,f,g=this;for(b=0,c=g.fva;b<c.length;b++)if(e=c[b],e.GroupType===g.Zua&&e.AxisGroup===a)return e;return f=new d(g.Spa,g.Zua,a),g.fva.push(f),f},b.GetValidChartGroups=function(){var a,b=[],c=this.TryGetCachedGroup(0);return!p(c)&&c.Count>0&&b.push(c),a=this.TryGetCachedGroup(1),!p(a)&&a.Count>0&&b.push(a),b},b.Reset=function(){var a,b,c;for(a=0,b=this.fva;a<b.length;a++)c=b[a],c.Init()},a}(),g.ChartGroups=e,f=function(){function a(a){this.Spa=a,this.K$a=!1,this.fva=r}var b=a.prototype;return m(b,"Count",{get:function(){return this.GetAllChartGroups().length}}),m(b,"Parent",{get:function(){return this.Spa}}),b.Get=function(a){var b=this.GetAllChartGroups();return a>=0&&a<b.length?b[a]:r},b.GetAllChartGroups=function(){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,q=this;return q.K$a&&q.fva?q.fva:(a=[],b=q.Spa.Area3DGroup,p(b)||a.push(b),c=q.Spa.Bar3DGroup,p(c)||a.push(c),d=q.Spa.Column3DGroup,p(d)||a.push(d),e=q.Spa.Line3DGroup,p(e)||a.push(e),f=q.Spa.Pie3DGroup,p(f)||a.push(f),g=q.Spa.SurfaceGroup,p(g)||a.push(g),h=q.Spa.AreaGroups,p(h)||q.gva(a,h),i=q.Spa.BarGroups,p(i)||q.gva(a,i),j=q.Spa.ColumnGroups,p(j)||q.gva(a,j),k=q.Spa.DoughnutGroups,p(k)||q.gva(a,k),l=q.Spa.LineGroups,p(l)||q.gva(a,l),m=q.Spa.PieGroups,p(m)||q.gva(a,m),n=q.Spa.RadarGroups,p(n)||q.gva(a,n),o=q.Spa.XYGroups,p(o)||q.gva(a,o),q.K$a&&(q.fva=a),a)},b.startCache=function(){this.K$a=!0,this.fva=r},b.endCache=function(){this.K$a=!1,this.fva=r},b.gva=function(a,b){for(var c=0,d=b.Count;c<d;c++)a.push(b.Get(c))},b.Reset=function(){var a,b,c,d=this.GetAllChartGroups();for(a=0,b=d;a<b.length;a++)c=b[a],c.Init()},a}(),g.FullChartGroups=f,g.ChartGroupType={UnKnown:0,Area3DGroup:1,Bar3DGroup:2,Column3DGroup:3,Line3DGroup:4,Pie3DGroup:5,SurfaceGroup:6,AreaGroup:7,BarGroup:8,ColumnGroup:9,DoughnutGroup:10,LineGroup:11,PieGroup:12,RadarGroup:13,XYGroup:14},g.ChartLinesType={DropLines:0,HiLoLines:1,SeriesLines:2,DlblsLeaderLines:3},a.exports=g}()},function(a,b,c){!function(){"use strict";var b,d,e,f=c(6),g=f.j,h=g.G,i=c(3),j=c(7),k=j.ChartElementBase,l=j.ChartUtility,m=l.defineProperty,n=j.UnitHelper,o=n.isNullOrUndefined,p=c(9).DrawingText,q=c(10).ChartFormat,r=null,s=void 0,t=function(a){h(b,a);function b(b,c,d){d===s&&(d=-1),a.call(this);var e=this;return e.hva=b,e.iva=c,e.zoa=d,e}var c=b.prototype;return c.Equals=function(a){return a&&this.iva===a.iva&&this.zoa===a.zoa||!1},m(c,"Format",{get:function(){var a=this,b=a.zoa;return b===-1?a.iva.Format:b>=0&&b<a.iva.PointsCount?a.iva.Points.Get(b).Format:r}}),m(c,"Parent",{get:function(){return this.hva}}),c.ClearFormats=function(){},c.Delete=function(){},m(c,"Series",{get:function(){return this.iva}}),m(c,"Point",{get:function(){return this.zoa}}),c.CreateFormat=function(){return new q(this.hva.Parent.Parent,this.hva.Parent.Format)},b}(k);i.LegendKey=t,b=function(){function a(a,b,c){c===s&&(c=-1);var d=this;d.Ysa=r,d.jva=r,d.kva=r,d.lva=r,d.mva=a,d.jva=new t(d,b,c)}var b=a.prototype;return m(b,"Font",{get:function(){var a=this;return a.kva||(a.kva=new p(a.mva.Parent.Parent,a.mva.Font)),a.kva.Font}}),m(b,"Format",{get:function(){return this.jva.Format}}),m(b,"Parent",{get:function(){return this.mva}}),m(b,"Deleted",{get:function(){return this.Ysa||!1}}),m(b,"SourceIndex",{get:function(){return this.mva.LegendEntries.IndexOfSource(this)}}),m(b,"LegendKey",{get:function(){return this.jva}}),b.Delete=function(){this.Ysa=!0},b.FromOOModel=function(a){if(o(a))return this.Ysa=!1,void(this.kva=r);if(o(a.delete)||(this.Ysa=a.delete),!this.Deleted)if(o(a.txPr))this.kva=r;else{this.kva=new p(this.mva.Parent.Parent,this.mva.Font);var b={};b.rich=a.txPr,this.kva.FromOOModel(b)}},b.ToOOModel=function(){var a=this.lva;return(o(a)&&!o(this.kva)&&this.kva.Font.IsDirtyIncludingParent(!1)||!o(this.Ysa))&&(a={}),o(a)?r:(o(this.Ysa)||(a.delete=this.Ysa),a.idx=this.SourceIndex,this.Deleted||o(this.kva)||(a.txPr=this.kva.ToOOModel().rich),a)},a}(),i.LegendEntry=b,d=function(){function a(a){this.nva=[],this.mva=a,this.ova=a.Parent.SeriesCollection}var c=a.prototype;return c.FindEntryByKey=function(a,b){var c,d,e,f,g;for(c=0,d=this.nva;c<d.length;c++)if(e=d[c],f=e.LegendKey.Series,g=e.LegendKey.Point,!o(f)&&this.ova.IndexOf(f)!==-1&&b===g)return e;return r},c.UpdateEntries=function(a){var c,d,e,f,g,h=[],i=this,j=i.ova,k=i.mva;if(j.Count>0)if(c=j.Get(0),l.IsAnyPieChart(c.InnerChartType))for(d=c.PointsCount,e=0;e<d;e++)a?h.push(new b(k,c,e)):h.push(i.GetEntry(c,e));else for(e=0,f=j.Count;e<f;e++)g=j.Get(e),a?h.push(new b(k,g)):h.push(i.GetEntry(g,-1));i.nva=h},c.GetEntry=function(a,c){return this.FindEntryByKey(a,c)||new b(this.mva,a,c)},m(a.prototype,"Count",{get:function(){var a,b,c,d=0;for(a=0,b=this.nva;a<b.length;a++)c=b[a],d+=c.Deleted?0:1;return d}}),m(a.prototype,"Parent",{get:function(){return this.mva}}),c.Get=function(a){return this.GetItem(a)},c.GetAllExistingEntries=function(){return this.nva},c.IndexOfSource=function(a){return this.nva.indexOf(a)},c.GetItem=function(a){var b,c,d,e=0;for(b=0,c=this.nva;b<c.length;b++){if(d=c[b],!d.Deleted&&e===a)return d;d.Deleted||e++}return r},c.RestorEntries=function(a){var b,c,d,e,f,g,h;if(o(a)||0===a.length)return void this.UpdateEntries(!0);for(b=this.nva,c=b.length,d=0,e=a;d<e.length;d++)f=e[d],o(f.idx)||(g=f.idx,g<c&&(h=b[g],o(h)||h.FromOOModel(f)))},a}(),i.LegendEntries=d,e=function(a){h(b,a);function b(b){a.call(this);var c=this;return c.DefaultFontSize=n.pointToPixel(9),c.SH=2,c.Lqa=r,c.Spa=b,c.Qpa=new p(b.Parent,b.ChartArea.Font),c.Qpa.Font.Size=n.pointToPixel(9),c.nva=new d(c),c.Position=4,c}var c=b.prototype;return m(c,"Font",{get:function(){var a=this;return a.Qpa||(a.Qpa=new p(a.Spa.Parent,a.Spa.ChartArea.Font)),a.Qpa.Font}}),m(c,"Format",{get:function(){return this.ChartFormat}}),m(c,"LegendEntries",{get:function(){return this.nva}}),m(c,"Parent",{get:function(){return this.Spa}}),m(c,"Position",{get:function(){return this.SH},set:function(a){this.SH=a,this.Lqa&&0!==a&&(this.Lqa.layout=r)}}),c.Delete=function(){this.Spa.HasLegend=!1},c.FromOOModel=function(b){var c,d=this;d.Lqa=b,o(b.legendPos)||(d.SH=b.legendPos),o(b.overlay)||(d.IncludeInLayout=b.overlay),a.prototype.FromShapeProperties.call(d,b.spPr),o(b.txPr)?d.Qpa=r:(c={rich:b.txPr},d.Qpa.FromOOModel(c)),d.nva.RestorEntries(b.legendEntry)},c.ToOOModel=function(){var b,c,d,e,f,g,h=this,i=h.Lqa||{};for(i.legendPos=h.Position,i.overlay=h.IncludeInLayout,i.spPr=a.prototype.ToShapeProperties.call(h),o(h.Qpa)||(b=h.Qpa.ToOOModel(),o(b)?i.txPr=r:i.txPr=b.rich),c=[],d=0,e=h.nva.GetAllExistingEntries();d<e.length;d++)f=e[d],g=f.ToOOModel(),o(g)||c.push(g);return c.length>0&&(i.legendEntry=c),i},c.CreateFormat=function(){return new q(this.Spa)},b}(k),i.Legend=e,a.exports=i}()},function(a,b,c){!function(){"use strict";var b=c(6),d=b.j,e=d.G,f=c(3),g=c(4),h=g.ColorSchemeIndex,i=c(7),j=i.ChartElementBase,k=i.ChartUtility,l=k.defineProperty,m=i.UnitHelper,n=m.isNullOrUndefined,o=c(10).ChartFormat,p=null,q=void 0,r=function(a){e(b,a);function b(b){a.call(this);var c=this;return c.pva=p,c.Spa=b,c.Kb=c.GetDefaultFormat(),c}var c=b.prototype;return c.GetDefaultFormat=function(){var b=a.prototype.GetDefaultFormat.call(this);return b.Fill.Color.ColorType=0,b.Line.Color.ColorType=0,b},c.CreateFormat=function(){return new o(this.Spa)},l(c,"Format",{get:function(){return this.ChartFormat}}),l(c,"Parent",{get:function(){return this.Spa}}),l(c,"PrimaryCatAxis",{get:function(){return this.Spa.Axes.Item(0,0)}}),l(c,"PrimaryValAxis",{get:function(){return this.Spa.Axes.Item(1,0)}}),l(c,"SecondaryCatAxis",{get:function(){return this.Spa.Axes.Item(0,1)}}),l(c,"SecondaryValAxis",{get:function(){return this.Spa.Axes.Item(1,1)}}),l(c,"SerAxis",{get:function(){return this.Spa.Axes.Item(2,0)}}),l(c,"SeriesCollection",{get:function(){return this.Spa.SeriesCollection}}),c.FromOOModel=function(a){var b=this;b.pva=a,a.axes||(a.axes=[]),b.FromShapeProperties(a.spPr),b.Spa.SeriesCollection.RestoreSeries(a),b.Spa.Axes.RestoreAxes(a)},c.ToOOModel=function(){var a=this,b=a.Spa.ChartType,c=a.pva||{},d=a.ToCT_ChartPlotArea(b);return n(d)||(a.SyncPlotAreaCharts(d,c),c.spPr=a.ToShapeProperties()),c},c.ToCT_ChartPlotArea=function(a,b,c){var d,e,f,g,h,i,j,l;switch(b===q&&(b=p),c===q&&(c=!0),d={chartGroups:[],axes:[]},e=n(b)||0===b,f=!0,f=k.IsStockChart(a)?this.HasSecondarySeries(9):(n(b)||1===b)&&this.HasSecondarySeries(a)&&!k.Is3DChart(a)&&!k.IsSurfaceChart(a),k.IsAnyPieChart(a)&&(c=!1),g=p,h=p,a){case 0:d=this.ToComboChartPlotArea();break;case 12:case 13:case 14:case 18:case 19:case 20:case 15:case 16:case 17:case 6:case 21:case 22:case 23:e&&(g=this.ToCT_BarChart(a,0)),f&&(h=this.ToCT_BarChart(a,1));break;case 9:case 24:case 25:case 26:case 27:case 28:case 5:e&&(g=this.ToCT_LineChart(a,0)),f&&(h=this.ToCT_LineChart(a,1));break;case 10:case 30:case 31:case 4:case 29:case 32:case 3:case 41:e&&(g=this.ToCT_PieChart(a,0)),f&&(h=this.ToCT_PieChart(a,1));break;case 8:case 37:case 38:case 39:case 40:case 7:e&&(g=this.ToCT_AreaChart(a,0)),f&&(h=this.ToCT_AreaChart(a,1));break;case 2:case 42:case 43:e&&(g=this.ToCT_RadarChart(a,0)),f&&(h=this.ToCT_RadarChart(a,1));break;case 1:case 33:case 34:case 35:case 36:e&&(g=this.ToCT_ScatterChart(a,0)),f&&(h=this.ToCT_ScatterChart(a,1));break;case 11:case 48:e&&(g=this.ToCT_BubbleChart(a,0)),f&&(h=this.ToCT_BubbleChart(a,1));break;case 44:case 45:case 46:case 47:e&&(g=this.ToCT_SurfaceChartBase(a,0));break;case 49:case 50:e&&(g=this.ToCT_StockChart(a,0)),f&&(h=this.ToCT_StockChart(a,1));break;case 51:case 52:e&&(i=this.SeriesCollection.GetSers(!1,0),i.length>0&&(j=i[0].InnerChartType,g=this.ToCT_ChartBase(j,0))),f&&(h=this.ToCT_StockChart(a,1))}return n(g)||(d.chartGroups.push(g),c&&(l=this.SetPlotAreaAxies(d,this.PrimaryCatAxis,this.PrimaryValAxis,this.SerAxis),g.axId=g.axId.concat(l))),n(h)||(d.chartGroups.push(h),c&&(l=this.SetPlotAreaAxies(d,this.SecondaryCatAxis,this.SecondaryValAxis,this.SerAxis),h.axId=h.axId.concat(l))),d},c.ToCT_ChartBase=function(a,b){switch(a){case 12:case 13:case 14:return this.ToCT_BarChart(a,b);case 15:case 16:case 17:case 6:return this.ToCT_BarChart(a,b);case 18:case 19:case 20:return this.ToCT_BarChart(a,b);case 21:case 22:case 23:return this.ToCT_BarChart(a,b);case 9:case 24:case 25:case 26:case 27:case 28:return this.ToCT_LineChart(a,b);case 5:return this.ToCT_LineChart(a,b);case 10:case 30:return this.ToCT_PieChart(a,b);case 31:case 4:return this.ToCT_PieChart(a,b);case 29:case 32:return this.ToCT_PieChart(a,b);case 1:case 33:case 34:case 35:case 36:return this.ToCT_ScatterChart(a,b);case 8:case 37:case 38:return this.ToCT_AreaChart(a,b);case 39:case 40:case 7:return this.ToCT_AreaChart(a,b);case 3:case 41:return this.ToCT_PieChart(a,b);case 2:case 42:case 43:return this.ToCT_RadarChart(a,b);case 44:case 45:return this.ToCT_SurfaceChartBase(a,b);case 46:case 47:return this.ToCT_SurfaceChartBase(a,b);case 11:case 48:return this.ToCT_BubbleChart(a,b)}},c.SyncPlotAreaCharts=function(a,b){var c,d,e,f;b.axes=a.axes,b.chartGroups=a.chartGroups,c=p,d=k.GetSurface3DChart(b),n(d)||n(d.bandFmts)||(c=d.bandFmts),e=p,f=k.GetSurfaceChart(b),n(f)||n(f.bandFmts)||(e=f.bandFmts),n(d)||n(c)||(d.bandFmts=c),n(f)||n(e)||(f.bandFmts=e)},c.ToComboChartPlotArea=function(){var a=this.ConvertAxisGroupToComboChartPlotArea(0),b=this.ConvertAxisGroupToComboChartPlotArea(1);return n(a)||n(b)?n(a)?n(b)?null:b:a:this.MergePrimeSecondPlotArea(a,b)},c.ConvertAxisGroupToComboChartPlotArea=function(a){var b,c,d,e,f,g,h,i,j=[],l=this.SeriesCollection.GetSers(!1,a);for(b=0,c=l;b<c.length;b++)d=c[b],j.indexOf(d.InnerChartType)<0&&j.push(d.InnerChartType);for(e=[],f=p,g=0,h=j;g<h.length;g++)i=h[g],n(f)&&!k.IsAnyPieChart(i)?(f=this.ToCT_ChartPlotArea(i,a),e.push(f)):e.push(this.ToCT_ChartPlotArea(i,a,!1));return e.length>0?this.ProcessComboPlotAreas(e):null},c.ProcessComboPlotAreas=function(a){var b,c,d,e,f,g,h,i,j,l,m,o,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,$,_,aa,ba,ca,da,ea,fa,ga,ha,ia,ja,ka,la,ma,na,oa,pa,qa,ra,sa,ta,ua,va,wa,xa,ya,za,Aa,Ba,Ca,Da,Ea,Fa=p;for(b=0,c=a;b<c.length;b++)if(d=c[b],e=k.GetChartType(d),!k.IsAnyPieChart(e)){Fa=d;break}if(n(Fa)&&a.length>0?(Fa=a[0],a.splice(0,1)):a.splice(a.indexOf(Fa),1),!n(Fa)&&a.length>0){if(f=[],!n(Fa.axes))for(g=0,h=Fa.axes;g<h.length;g++)i=h[g],f.push(i.axId);for(j=0;j<a.length;j++){if(l=a[j],m=k.GetArea3DChart(l),!n(m)&&n(m)&&(m.axId=f,Fa.chartGroups.push(m)),o=k.GetAreaChart(l),!n(o))for(q=0,r=o;q<r.length;q++)if(s=r[q],s.axId=f,t=k.GetAreaChart(Fa),0===t.length||k.GetChartTypeByAreaChart(t[0])!==k.GetChartTypeByAreaChart(s))Fa.chartGroups.push(s);else for(u=0,v=s.ser;u<v.length;u++)w=v[u],t[0].ser.push(w);if(x=k.GetBar3DChart(l),y=k.GetBar3DChart(Fa),!n(x)&&n(y)&&(x.axId=f,Fa.chartGroups.push(m)),z=k.GetBarChart(l),!n(z))for(A=0,B=z;A<B.length;A++)if(C=B[A],C.axId=f,D=k.GetBarChart(Fa),0===D.length||k.GetChartTypeByBarChart(D[0])!==k.GetChartTypeByBarChart(C))Fa.chartGroups.push(C);else for(E=0,F=C.ser;E<F.length;E++)w=F[E],D[0].ser.push(w);if(G=k.GetBubbleChart(l),!n(G))for(H=0,I=G;H<I.length;H++)if(J=I[H],J.axId=f,K=k.GetBubbleChart(Fa),0===K.length||k.GetChartTypeByBubbleChart(K[0])!==k.GetChartTypeByBubbleChart(J))Fa.chartGroups.push(J);else for(L=0,M=J.ser;L<M.length;L++)w=M[L],K[0].ser.push(w);if(N=k.GetDoughnutChart(l),!n(N))for(O=0,P=N;O<P.length;O++)if(Q=P[O],R=k.GetDoughnutChart(Fa),0===R.length||k.GetChartTypeByPieChart(R[0],null)!==k.GetChartTypeByPieChart(Q,null))Fa.chartGroups.push(Q);else for(S=0,T=Q.ser;S<T.length;S++)w=T[S],R[0].ser.push(w);if(U=k.GetLine3DChart(l),V=k.GetLine3DChart(Fa),!n(U)&&n(V)&&(U.axId=f,Fa.chartGroups.push(U)),W=k.GetLineChart(l),!n(W))for(X=0,Y=W;X<Y.length;X++)if(Z=Y[X],Z.axId=f,$=k.GetLineChart(Fa),0===$.length||k.GetChartTypeByLineChart($[0],null)!==k.GetChartTypeByLineChart(Z,null))Fa.chartGroups.push(Z);else for(_=0,aa=Z.ser;_<aa.length;_++)w=aa[_],$[0].ser.push(w);if(ba=k.GetOfPieChart(l),!n(ba))for(ca=0,da=ba;ca<da.length;ca++)if(ea=da[ca],fa=k.GetOfPieChart(Fa),0===fa.length||k.GetChartTypeByPieChart(fa[0],null)!==k.GetChartTypeByPieChart(ea,null))Fa.chartGroups.push(ea);else for(ga=0,ha=ea.ser;ga<ha.length;ga++)w=ha[ga],fa[0].ser.push(w);if(ia=k.GetPie3DChart(l),ja=k.GetPie3DChart(Fa),!n(ia)&&n(ja)&&Fa.chartGroups.push(ia),ka=k.GetPieChart(l),!n(ka))for(la=0,ma=ka;la<ma.length;la++)if(na=ma[la],oa=k.GetPieChart(Fa),0===oa.length||k.GetChartTypeByPieChart(oa[0],null)!==k.GetChartTypeByPieChart(na,null))Fa.chartGroups.push(na);else for(pa=0,qa=na.ser;pa<qa.length;pa++)w=qa[pa],oa[0].ser.push(w);if(ra=k.GetRadarChart(l),!n(ra))for(sa=0,ta=ra;sa<ta.length;sa++)if(ua=ta[sa],ua.axId=f,va=k.GetRadarChart(Fa),0===va.length||k.GetChartTypeByRadarChart(va[0],null)!==k.GetChartTypeByRadarChart(ua,null))Fa.chartGroups.push(ua);else for(wa=0,xa=ua.ser;wa<xa.length;wa++)w=xa[wa],va[0].ser.push(w);if(ya=k.GetScatterChart(l),!n(ya))for(za=0,Aa=ya;za<Aa.length;za++)if(Ba=Aa[za],Ba.axId=f,Ca=k.GetScatterChart(Fa),0===Ca.length||k.GetChartTypeByScatterChart(Ca[0])!==k.GetChartTypeByScatterChart(Ba))Fa.chartGroups.push(Ba);else for(Da=0,Ea=Ba.ser;Da<Ea.length;Da++)w=Ea[Da],Ca[0].ser.push(w)}}return Fa},c.MergePrimeSecondPlotArea=function(a,b){var c,d,e,f,g,h,i,j,l,m,o,p,q,r,s,t,u;return n(b.axes)||(a.axes=a.axes.concat(b.axes)),c=k.GetArea3DChart(b),d=k.GetArea3DChart(a),!n(c)&&n(d)&&a.chartGroups.push(c),e=k.GetAreaChart(b),a.chartGroups=a.chartGroups.concat(e),f=k.GetBar3DChart(b),g=k.GetBar3DChart(a),!n(f)&&n(g)&&a.chartGroups.push(f),h=k.GetBarChart(b),a.chartGroups=a.chartGroups.concat(h),i=k.GetBubbleChart(b),a.chartGroups=a.chartGroups.concat(i),j=k.GetDoughnutChart(b),a.chartGroups=a.chartGroups.concat(j),l=k.GetLine3DChart(a),m=k.GetLine3DChart(b),!n(m)&&n(l)&&a.chartGroups.push(m),o=k.GetLineChart(b),a.chartGroups=a.chartGroups.concat(o),p=k.GetOfPieChart(b),a.chartGroups=a.chartGroups.concat(p),q=k.GetPie3DChart(a),r=k.GetPie3DChart(b),!n(r)&&n(q)&&a.chartGroups.push(r),s=k.GetPieChart(b),a.chartGroups=a.chartGroups.concat(s),t=k.GetRadarChart(b),a.chartGroups=a.chartGroups.concat(t),u=k.GetScatterChart(b),a.chartGroups=a.chartGroups.concat(u),a},c.SetPlotAreaAxies=function(a,b,c,d){var e,f,g,h;return d===q&&(d=p),e=p,f=p,h=[],n(b)||(e=b.ToOOModel(),n(e)||(h.push(e.axId),a.axes.push(e))),n(c)||n(b)||(f=c.ToOOModel(),h.push(f.axId),a.axes.push(f),0===c.Crosses?e.crossesAt=c.CrossesAt:e.crosses=c.Crosses,0===b.Crosses?f.crossesAt=b.CrossesAt:f.crosses=b.Crosses,b.ReversePlotOrder&&(k.IsBarChart(this.Spa.ChartType)?f.axPos=0:f.axPos=2),f.crossBetween=b.AxisBetweenCategories?0:1),n(e)||n(f)||(e.crossAx=f.axId,f.crossAx=e.axId),n(d)?k.Is3DChart(this.Spa.ChartType)&&h.push(0):(g=d.ToOOModel(),a.axes.push(g),h.push(g.axId),n(f)||(g.crossAx=f.axId),g.crosses=1),h},c.ToCT_BarChart=function(a,b){var c,d,e;return k.Is3DChart(a)?(c=this.ToCT_BarChartBase(a,b),n(c)||(c.gapDepth=this.Spa.GapDepth),c):(d=this.ToCT_BarChartBase(a,b),n(d)||(e=this.Spa.FindChartGroup(a,b),n(e)||(d.overlap=e.Overlap,e.HasSeriesLines&&(d.serLines=[],d.serLines.push(e.SeriesLines.ToOOModel())))),d)},c.ToCT_BarChartBase=function(a,b){var c,d,e,f,g,h,i,j,l=k.IsBarChart(a);for(c=k.Is3DChart(a)?{chartType:7,ser:[],axId:[]}:{chartType:6,ser:[],serLines:[],axId:[]},c.barDir=l?0:1,d=this.SeriesCollection.GetSers(!1,b),e=0,f=d;e<f.length;e++)g=f[e],h=g,h.InnerChartType===a&&(i=h.ToOOModel(),n(i)||c.ser.push(i));switch(a){case 19:case 13:case 16:case 22:c.grouping=3;break;case 20:case 14:case 17:case 23:c.grouping=0;break;case 6:c.grouping=2;break;case 18:case 12:case 21:case 15:c.grouping=1;break;default:c.grouping=1}return j=this.Spa.FindChartGroup(a,b),n(j)||(c.gapWidth=j.GapWidth,c.varyColors=j.VaryByCategories),c},c.ToCT_LineChart=function(a,b){var c,d,e,f=this;return k.Is3DChart(a)?(c=f.ToCT_LineChartBase(a,b),n(c)||(c.gapDepth=f.Spa.GapDepth),c):(d=f.ToCT_LineChartBase(a,b),n(d)||(d.smooth=k.IsSmoothLine(a),e=f.Spa.FindChartGroup(a,b),n(e)||(e.HasHiLoLines&&(d.hiLowLines=e.HiLoLines.ToOOModel()),e.HasUpDownBars&&(d.upDownBars=f.ToCT_UpDownBars(e)),d.marker=e.Marker)),d)},c.ToCT_LineChartBase=function(a,b){var c,d,e,f,g,h,i,j;for(c=k.Is3DChart(a)?{chartType:9,ser:[],axId:[]}:{chartType:8,ser:[],axId:[]},d=this.SeriesCollection.GetSers(!1,b),e=0,f=d;e<f.length;e++)g=f[e],h=g,h.InnerChartType===a&&(i=h.ToOOModel(),n(i)||c.ser.push(i));switch(a){case 27:case 24:c.grouping=2;break;case 28:case 25:c.grouping=0;break;default:c.grouping=1}return j=this.Spa.FindChartGroup(a,b),n(j)||(c.varyColors=j.VaryByCategories,j.HasDropLines&&(c.dropLines=j.DropLines.ToOOModel())),c},c.ToCT_PieChart=function(a,b){var c,d,e,f,g,h,i=this,j=i.Spa.FindChartGroup(a,b);if(k.Is3DChart(a))return i.ToCT_PieChartBase(a,b);if(k.IsOfPieChart(a)){if(c=i.ToCT_PieChartBase(a,b),!n(c)&&(c.ofPieType=32===a?1:0,!n(j)))if(j.HasSeriesLines&&c.serLines.push(j.SeriesLines.ToOOModel()),c.secondPieSize=j.SecondPlotSize,c.gapWidth=j.GapWidth,c.splitType=j.SplitType,3===j.SplitType){if(c.custSplit={secondPiePt:[]},d=j.SeriesCollection[0]){e=d.Points.GetPoints();for(f in e)g=e[f],g.SecondaryPlot&&c.custSplit.secondPiePt.push(g.Index)}}else c.splitPos=j.SplitValue;return c}return k.IsDoughnutChart(a)?(h=i.ToCT_PieChartBase(a,b),n(h)||n(j)||(h.holeSize=j.DoughnutHoleSize),h):i.ToCT_PieChartBase(a,b)},c.ToCT_PieChartBase=function(a,b){var c,d,e,f,g,h,i,j;for(c=k.Is3DChart(a)?{chartType:11,ser:[],axId:[]}:k.IsOfPieChart(a)?{chartType:13,ser:[],serLines:[],axId:[]}:k.IsDoughnutChart(a)?{chartType:12,ser:[],axId:[]}:{chartType:10,ser:[],axId:[]},c.varyColors=!0,d=this.SeriesCollection.GetSers(!1,b),e=0,f=d;e<f.length;e++)g=f[e],h=g,h.InnerChartType===a&&(i=h.ToOOModel(),n(i)||c.ser.push(i));return j=this.Spa.FindChartGroup(a,b),n(j)||(c.varyColors=j.VaryByCategories,c.firstSliceAng=j.FirstSliceAngle),c},c.ToCT_AreaChart=function(a,b){if(k.Is3DChart(a)){var c=this.ToCT_AreaChartBase(a,b);return n(c)||(c.gapDepth=this.Spa.GapDepth),c}return this.ToCT_AreaChartBase(a,b)},c.ToCT_AreaChartBase=function(a,b){var c,d,e,f,g,h,i,j;for(c=k.Is3DChart(a)?{chartType:5,ser:[],axId:[]}:{chartType:4,ser:[],axId:[]},c.varyColors=!1,d=this.SeriesCollection.GetSers(!1,b),e=0,f=d;e<f.length;e++)g=f[e],h=g,h.InnerChartType===a&&(i=h.ToOOModel(),n(i)||c.ser.push(i));switch(a){case 39:case 37:c.grouping=2;break;case 40:case 38:c.grouping=0;break;default:c.grouping=1}return j=this.Spa.FindChartGroup(a,b),n(j)||(c.varyColors=j.VaryByCategories,j.HasDropLines&&(c.dropLines=j.DropLines.ToOOModel())),c},c.ToCT_RadarChart=function(a,b){var c,d,e,f,g,h,i={chartType:2,ser:[],axId:[]},j=this.SeriesCollection.GetSers(!1,b);for(c=0,d=j;c<d.length;c++)e=d[c],f=e,f.InnerChartType===a&&(g=f.ToOOModel(),n(g)||i.ser.push(g));return 2===a?i.radarStyle=1:43===a?i.radarStyle=2:42===a&&(i.radarStyle=1),h=this.Spa.FindChartGroup(a,b),n(h)||(i.varyColors=h.VaryByCategories),i},c.ToCT_ScatterChart=function(a,b){var c,d,e,f,g,h,i,j={chartType:1,ser:[],axId:[]};switch(a){case 1:case 35:j.scatterStyle=2;break;case 36:j.scatterStyle=1;break;case 33:j.scatterStyle=5;break;case 34:j.scatterStyle=4;break;default:j.scatterStyle=2}for(c=this.SeriesCollection.GetSers(!1,b),d=0,e=c;d<e.length;d++)f=e[d],g=f,g.InnerChartType===a&&(h=g.ToOOModel(),n(h)||j.ser.push(h));return i=this.Spa.FindChartGroup(a,b),n(i)||(j.varyColors=i.VaryByCategories),j},c.ToCT_BubbleChart=function(a,b){var c,d,e,f,g,h,i={chartType:3,ser:[],axId:[]},j=this.SeriesCollection.GetSers(!1,b);for(c=0,d=j;c<d.length;c++)e=d[c],f=e,f.InnerChartType===a&&(g=f.ToOOModel(),n(g)||i.ser.push(g));return h=this.Spa.FindChartGroup(a,b),n(h)||(i.varyColors=h.VaryByCategories,i.bubbleScale=h.BubbleScale,i.showNegBubbles=h.ShowNegativeBubbles,i.sizeRepresents=h.SizeRepresents),i},c.ToCT_StockChart=function(a,b){var c,d,e,f,g,h,i={chartType:0,ser:[],axId:[]},j=this.SeriesCollection.GetSers(!1,b);for(c=0,d=j;c<d.length;c++)e=d[c],f=e,9===f.InnerChartType&&(g=f.ToOOModel(),n(g)||i.ser.push(g));return h=this.Spa.FindChartGroup(a,b),n(h)||(h.HasHiLoLines&&(i.hiLowLines=h.HiLoLines.ToOOModel()),h.HasDropLines&&(i.dropLines=h.DropLines.ToOOModel()),h.HasUpDownBars&&(i.upDownBars=this.ToCT_UpDownBars(h))),i},c.ToCT_UpDownBars=function(a){var b={};return b.upBars=a.UpBars.ToOOModel(),b.downBars=a.DownBars.ToOOModel(),b.gapWidth=a.GapWidth,b},c.ToCT_SurfaceChartBase=function(a,b){var c,d,e,f,g,h,i,j;for(c=k.IsSurface3DChart(a)?{chartType:15,ser:[],axId:[]}:{chartType:14,ser:[],axId:[]},d=this.SeriesCollection.GetSers(!1,b),e=0,f=d;e<f.length;e++)g=f[e],h=g,h.InnerChartType===a&&(i=h.ToOOModel(),n(i)||c.ser.push(i));return j=47===a||45===a,c.wireframe=j,c.bandFmts={bandFmt:this.GenerateBands(j)},c},c.GenerateBands=function(a){var b,c,d,e,f=[];for(c=0;c<6;c++)d={},d.idx=c,d.spPr={},e={},b=e.schemeClr={},b.val=h["Accent"+(c%6+1)],a?d.spPr.ln={solidFill:e,cap:0,w:1}:d.spPr.solidFill=e,f.push(d);for(c=6;c<12;c++)d={},d.idx=c,d.spPr={},d.spPr.solidFill={},b=d.spPr.solidFill.schemeClr={},b.val=h["Accent"+(c%6+1)],b.lumMod=[6e4],f.push(d);for(c=12;c<15;c++)d={},d.idx=c,d.spPr={},d.spPr.solidFill={},b=d.spPr.solidFill.schemeClr={},b.val=h["Accent"+(c%6+1)],b.lumMod=[8e4],b.lumOff=[2e4],f.push(d);return f},c.HasSecondarySeries=function(a){return this.Spa.SeriesCollection.AllSers.some(function(b){return 1===b.AxisGroup&&b.InnerChartType===a})},b}(j);f.PlotArea=r,a.exports=f}()},function(a,b,c){!function(){"use strict";var b,d,e=c(3),f=c(8),g=c(24),h=c(26),i=f.Events,j=f.GC$,k=f.Worksheet,l=f.Workbook,m=h.Functions,n=c(6).pc,o=c(34).Chart,p=f.CalcEngine.ChartSource,q=c(7),r=q.DateTimeExtension,s=q.ChartUtility,t=q.Range,u=q.CellRect,v=c(13).ARGBColor,w=null,x=void 0,y=Math.floor,z=".chart";function A(a){var b="General";return a&&(b=a.formatter||a._autoFormatter,b&&"object"==typeof b)?b.formatString():b}j.extend(k.prototype,{Apa:function(a){return this.parent.getSheetFromName(a)},Dpa:function(a,b,c,d){var e,f,g,h=[];for(e=0;e<c;e++)if(this.getRowVisible(a+e)){for(f=[],g=0;g<d;g++)this.getColumnVisible(b+g)&&f.push(this.ksa(a+e,b+g));h.push(f)}return h},Epa:function(a,b,c,d){var e,f,g,h=[];for(e=0;e<c;e++){for(f=[],g=0;g<d;g++)f.push(this.ksa(a+e,b+g));h.push(f)}return h},ksa:function(a,b){var c=this.getStyle(a,b);return{FormatCode:A(c),Flag:w}},Cpa:function(a,b,c,d,e){var f,g,h,i;for(e===x&&(e=!1),f=[],g=0;g<c;g++){for(h=[],i=0;i<d;i++)h.push(this.mua(a+g,b+i,e));f.push(h)}return f},Bpa:function(a,b,c,d,e){var f,g,h,i;for(e===x&&(e=!1),f=[],g=0;g<c;g++)if(this.getRowVisible(a+g)){for(h=[],i=0;i<d;i++)this.getColumnVisible(b+i)&&h.push(this.mua(a+g,b+i,e));f.push(h)}return f},mua:function(a,b,c){var d=this.getValue(a,b);return c&&"number"==typeof d&&d>r.OADateMinAsDouble&&d<r.OADateMaxAsDouble?r.FromOADate(d):d},vpa:function(a,b,c,d){var e,f,g=this.getText(a,b);if(!g)return"";if(c>1||d>1)for(e=0;e<c;e++)for(f=0;f<d;f++)if(g!==this.getText(a+e,b+f))return"";return g},sSa:function(a,b,c,d,e){var f,g,i,j,k,l=new h.Evaluator,m=a.source||this.yj(),n=m.getEvaluatorContext(h.pf(d,e)),o=h.Mh(n,a,!1,0,0,!0,!0),p=l.evaluate(o||a,n,!0,!0);if(p instanceof h.CalcReference)for(f=p.getSource().getName(),g=0;g<p.getRangeCount();g++)i=s.CreateReference(f,p.getRow(g),p.getColumn(g),p.getRowCount(g),p.getColumnCount(g)),b.push(i);else if(p instanceof h.CalcArray)for(j=0;j<p.getRowCount();j++)for(k=0;k<p.getColumnCount();k++)c.push(p.getValue(j,k))},Kpa:function(a,b,c,d){var e,f=[],g=[],h=this.getCalcService();return a&&h&&("("===a[0]&&")"===a[a.length-1]&&(a=a.substring(1,a.length-1)),e=h.parse(this.yj(),a,b,c,void 0,void 0,!d),this.sSa(e,f,g,b,c)),{references:f,values:g}},Jpa:function(a,b,c,d,e){var f=1,g=1;return a<0&&(f=-1),b<0&&(g=-1),new t(e||this,[new u(a,b,c||f,d||g)])},jua:function(a){var b,c=this,d=[],e=a?c.getRowCount():c.getColumnCount(),f=a?c.getRowVisible:c.getColumnVisible,g=-1,h=0;for(b=0;b<e;b++)f.call(c,b)?g!==-1&&0!==h&&(d.push({Index:g,Count:h}),g=-1,h=0):g===-1?(g=b,h=1):h++;return g!==-1&&0!==h&&d.push({Index:g,Count:h}),d},Kqa:function(a){var b,c,d,e=a.ColorType;return 3===e?v.FromIndexedColor(a.Value,a.Tint):4===e?(b=this.currentTheme(),c=s.toThemeColorString(a.Value,a.Tint),d=n.ec(b.getColor(c)),v.FromArgbs(d.a,d.r,d.g,d.b)):1===e?v.FromKnownColor(26):0===e?new v:v.FromArgb(a.Value).GetTintColor(a.Tint)},Yra:function(a){var b=this.currentTheme();return 1===a?b.getFont("Body"):2===a?b.getFont("Headings"):""},wpa:function(a){var b,c,d,e,f,g,h;for(b=0,c=a;b<c.length;b++)if(d=c[b],d.IsFullRow){for(e=0,f=d.RowCount;e<f;e++)if(this.getRowVisible(d.Row+e))return!1}else if(d.IsFullColumn)for(g=0,h=d.ColumnCount;g<h;g++)if(this.getColumnVisible(d.Column+g))return!1;return!0},rua:function(a,b){var c=this.Vva;c&&c.Tva(a,b)},MOa:function(a){var b,c=this.charts&&this.charts.all(),d=c&&c.length;for(b=0;b<d;b++)c[b].sua(a)}}),b=g.FloatingObjectCollection;function B(a){b.call(this,a,"2")}B.prototype=new b,B.prototype.add=function(a,b,c,d,e,f,g,h){var i=this.kj,j=new o(i,a,b,c,d,e,f,g,h);return i.wr.Sb(j),j},B.prototype.Sb=function(a){return this.kj.wr.Sb(a),a},B.prototype.remove=function(a){var b=this.get(a),c=this.kj.wr.Fb(a);c&&b.no()},B.prototype.clear=function(){var a,b=this.all();for(this.kj.wr.$b(this.g3),a=0;a<b.length;a++)b[a].no()},B.prototype.tTa=function(a,c,d){b.prototype.tTa.apply(this,arguments);var e=this.kj,f;f=d?new u(a,0,c-a+1,e.getColumnCount()):new u(0,a,e.getRowCount(),c-a+1),this.all().forEach(function(a){a.sua(!0,f)})},e.ChartCollection=B;function C(a,b,c,d){var e=a.zoom();d&&!d.width||(c.style.width=y(b.width()*e)+"px"),d&&!d.height||(c.style.height=y(b.height()*e)+"px")}function D(a){var b=a.Cva;b&&(b.series=x,b.chartView=x,b.Gu("TextChanged"),b.destroy(),a.Cva=w)}d=f.lUa,j.extend(d.prototype,{UVa:function(a,b){var c,d=this,e=d.zTa;e&&(c=e.VVa,c||(c=e.VVa=[]),c.push({chart:a,value:b}))},WVa:function(a){var b,c;if(a)for(b=a.length-1;b>=0;b--)c=a[b],c.chart.RUa(c.value)}}),d.$n("Charts",{init:function(){this.Xva=new B(this.kj)},undo:function(a){var b=a.VVa;b&&this.WVa(b),this.kj.MOa(!0)}}),k.$n("chart",{init:function(){var a=this,b=a.Vva=new p(a);a.charts=a.ITa.Xva,a.$oa.push({Wva:function(a){"2"===a.typeName&&b.Qva(a)}});function c(b){var c,d,e;for(c=0,d=a.charts.all();c<d.length;c++)e=d[c],e.sua(!0,b)}a.Fu(i.RowChanged+z,function(b,d){var e=d.propertyName;"isVisible"===e&&c([new u(d.row,0,1,a.getColumnCount())])}),a.Fu(i.ColumnChanged+z,function(b,d){var e=d.propertyName;"isVisible"===e&&c([new u(0,d.col,a.getRowCount(),1)])}),a.Fu(i.FloatingObjectLoaded+z,function(b,c){var d,e=c.floatingObject.Spa,f=c.floatingObject;e&&(d=c.element,f.AJ(d),C(a,f,d),f.Nva(d))}),a.Fu(i.FloatingObjectChanged+z,function(b,c){var d,e,f,g,h,i,j=c.floatingObject,k=c.propertyName,l=j.Gva;if(j.getHost().length>0&&l&&l.length>0)for(e=j.isSelected(),f=0,g=l.length;f<g;f++)h=l[f],d=h.hostElement,"width"===k||"height"===k?(i={},i[k]=!0,C(a,j,d,i),j.width()>0&&j.height()>0&&h.refresh()):"isSelected"!==k||e||h.Select(w)}),a.Fu(i.FloatingObjectRemoved+z,function(b,c){var d=c.floatingObject,e=d.Gva;e&&(d.no(),D(a))})},dispose:function(a){if(a!==!1){var b=this;b.Gu(z),D(b)}},processMouseDown:function(a){var b=this;a.hitInfo.formulaRangeHitInfo||(D(b),b.yl.uH())},toJson:function(a,b){var c,d,e=b&&b.ignoreStyle;e||(c=this,d=c.charts.all(),d.length>0&&(a.charts=d.map(function(a){return a.toJSON()})))},fromJsonAfterFormula:function(a,b,c){var d,e,f,g,h,i,j=c&&c.ignoreStyle;if(!j&&(d=a.charts,e=this,d))for(f=0,g=d;f<g.length;f++)h=g[f],i=new o(e),i.fromJSON(h),e.charts.Sb(i)},onLayoutChanged:function(a){var b=this,c=a.changeType;"zoomSheet"===c&&b.charts.all().forEach(function(a){var c,d,e,f=a.Gva;if(f&&f.length>0){for(c=0,d=f.length;c<d;c++)e=f[c],C(b,a,e.hostElement);a.sua()}})},onPaintSuspend:function(a){var b=this;b.charts.all().forEach(function(b){!a.suspend&&b.iOa&&b.sua()})},setName:function(a){var b,c,d,e=a.oldName,f=a.newName,g=this.getParent();
if(g)for(b=g.getSheetCount(),c=0;c<b;c++)d=g.getSheet(c),d.charts.all().forEach(function(a){a.jOa(e,f)})},onProtectChanged:function(){this.MOa()}}),l.$n("chart",{init:function(){if(!m.findGlobalFunction("SERIES")){var a=new m.Function("SERIES",4,5);a.evaluate=function(a){return 0},a.acceptsReference=function(a){return!0},a.acceptsArray=function(a){return!0},m.ci.SERIES=a}},fromJson:function(a,b,c){var d=c&&c.ignoreStyle;d||this.sheets.forEach(function(a){a.charts.all().forEach(function(a){a.updateSeries(w,!0)})})}}),a.exports=e}()},function(a,b,c){!function(){"use strict";var b,d=c(3),e=c(8),f=c(24),g=c(35),h=c(7),i=h.DateTimeExtension,j=c(22).AxisTitle,k=c(23).ChartModel,l=c(29).ChartHelper,m=c(13).ARGBColor,n=e.GC$,o=l.getChartModelData,p=l.colorFormatToString,q=l.getChartTitleText,r=e.kf,s=e.CalcEngine.formulaToRanges,t=h.Reference,u=h.UnitHelper,v=u.isNullOrUndefined,w=h.ChartUtility,x=n.isEmptyObject,y=null,z=void 0;function A(a,b){var c=1,d;if(!a)return b+c;do d=b+c++;while(a.charts.get(d));return d}function B(a,b,c){var d,e,f,g,h,i,j,k,l;a&&b&&(d=b.showValue,e=b.showSeriesName,f=b.showCategoryName,g=b.showPercentage,h=b.position,i=b.format,j=b.color,k={},l=!1,a.SeriesCollection.AllSers.forEach(function(a){var b,m=a.DataLabels;m&&(d!==z&&(l||(k.showValue=m.ShowValue),m.ShowValue=d),e!==z&&(l||(k.showSeriesName=m.ShowSeriesName),m.ShowSeriesName=e),f!==z&&(l||(k.showCategoryName=m.ShowCategoryName),m.ShowCategoryName=f),g!==z&&(l||(k.showPercentage=m.ShowPercentage),m.ShowPercentage=g),b=m.ShowValue||m.ShowSeriesName||m.ShowCategoryName||m.ShowPercentage,!a.HasDataLabels&&b?a.HasDataLabels=!0:a.HasDataLabels&&!b&&(a.HasDataLabels=!1),v(h)||(l||(k.position=m.Position),m.Position=h),i&&(l||(k.format=m.NumberFormat),m.NumberFormat=i),j&&(l||(k.color=p(m.Font,!0)),m.Font.Color.setColor(c,j)),l=!0,a.fQa())}),a.Parent.RVa("dataLabels",k))}function C(a,b,c,d){v(b.width)||(d.width=a.Weight,a.Weight=b.width),b.color&&(d.color=p(a,!0),a.Color.setColor(c,b.color))}function D(a,b){var c,d=a.SeriesCollection.GetValidSers(b)[0];return!!d&&(c=[],w.TryAllToNumbers(d.lua,c,!0))}function E(a,b,c,d,e,f){var g,h,k,m,n,o,q,r,s,t,u,w,z,A,B,E,F,G,H,I;b&&(g={},a||(a=d.Add(e,f),g.removed=!0),b.removed&&d.Remove(e,f),0===e&&(h=b.categoryType,3===a.ActualCategoryType||!a.IsValueOrDateScaleAxis()&&!D(a,f)||2!==h&&1!==h||(g.categoryType=a.ActualCategoryType,a.ActualCategoryType=h)),v(b.visible)||(g.visible=a.Visible,a.Visible=!!b.visible),v(b.tickLabelPosition)||(g.tickLabelPosition=a.TickLabelPosition,a.TickLabelPosition=b.tickLabelPosition),k=a.Format.Line,m=b.lineStyle,m&&(n=g.lineStyle={},v(m.width)||(n.width=k.Weight,k.Weight=m.width),m.color&&(n.color=p(k,!0),k.Color.setColor(c,m.color))),o=a.TickLabels.Font,q=b.style,q&&(r=g.style={},q.color&&(r.color=p(o,!0),o.Color.setColor(c,q.color)),q.fontFamily&&(r.fontFamily=o.Name,o.Name=q.fontFamily),v(q.fontSize)||(r.fontSize=o.Size,o.Size=q.fontSize)),v(b.majorTickPosition)||(g.majorTickPosition=a.MajorTickMark,a.MajorTickMark=b.majorTickPosition),v(b.minorTickPosition)||(g.minorTickPosition=a.MinorTickMark,a.MinorTickMark=b.minorTickPosition),a.MajorUnitIsAuto||(g.majorUnit=a.MajorUnit),v(b.majorUnit)?a.MajorUnitIsAuto=!0:a.MajorUnit=b.majorUnit,a.MinorUnitIsAuto||(g.minorUnit=a.MinorUnit),v(b.minorUnit)?a.MinorUnitIsAuto=!0:a.MinorUnit=b.minorUnit,a.IsValueOrDateScaleAxis()&&!l.isPercentageScaleType(a.Chart,a.AxisGroup)&&(s=b.min,t=b.max,u=a.IsTimeScale(),a.MinimumScaleIsAuto||(g.min=a.MinimumScale),v(s)?a.MinimumScaleIsAuto=!0:(u&&(s=i.ToOADate(s)),a.MinimumScale=s),a.MaximumScaleIsAuto||(g.max=a.MaximumScale),v(t)?a.MaximumScaleIsAuto=!0:(u&&(t=i.ToOADate(t)),a.MaximumScale=t)),b.format&&(g.format=a.TickLabels.NumberFormat,a.TickLabels.NumberFormat=b.format),w=b.title,w&&(z=a.AxisTitle,A=g.title={},z||(A.removed=!0,z=a.AxisTitle=new j(a.Dsa.Parent,a.fsa,a.Nc)),w.removed&&(a.AxisTitle=y),B=w.text,v(B)||(A.text=z.Text,z.Text=B,a.HasTitle=B.length>0),E=z.Font,w.fontFamily&&(A.fontFamily=E.Name,E.Name=w.fontFamily),v(w.fontSize)||(A.fontSize=E.Size,E.Size=w.fontSize),w.color&&(A.color=p(E,!0),E.Color.setColor(c,w.color))),F=b.majorGridLine,F&&(G=g.majorGridLine={},v(F.visible)||(G.visible=a.HasMajorGridlines,a.HasMajorGridlines=F.visible),C(a._sa(!0).Format.Line,F,c,G)),H=b.minorGridLine,H&&(I=g.minorGridLine={},v(H.visible)||(I.visible=a.HasMinorGridlines,a.HasMinorGridlines=H.visible),C(a.ata(!0).Format.Line,H,c,I)),x(g)||a.RVa(g))}function F(a){var b,c,d,e,f=a.Cva,g=f.series;g&&(b=s(a,f.text(),a.Jl,a.Kl),b[0]&&(c=b[0].ranges,d=c[0],e=new h.Reference(a.name(),d.row,d.col,d.row+d.rowCount-1,d.col+d.colCount-1),g.SetValuesRefers([e]),d=c[1],d&&(e=new h.Reference(a.name(),d.row,d.col,d.row+d.rowCount-1,d.col+d.colCount-1),g.SetNameRefer(e)),d=c[2],d&&(e=new h.Reference(a.name(),d.row,d.col,d.row+d.rowCount-1,d.col+d.colCount-1),g.SetXValuesRefers([e])),d=c[3],d&&(e=new h.Reference(a.name(),d.row,d.col,d.row+d.rowCount-1,d.col+d.colCount-1),g.SetBubbleSizesRefers([e])),f.chartView.sua(!0)))}d.ElementType={series:0,axis:1,legend:3,label:4,chartTitle:5,plotArea:7,chartArea:8};function G(a){var b,c,d=[[8,0],[0,0],[4,1],[1,4],[2,3],[3,3],[7,5],[6,5],[5,0],[9,7],[10,8]];for(b=0;b<d.length;b++)if(c=d[b],a.indexOf(c[0])>=0)return c[1];return 8}function H(a,b){var c=b.model.items[0],d=a.Dva(c,b.field);return d?{index:d.Index}:{}}function I(a,b){var c=b.element;return c?{axisType:1===c.axisType?"y":"x",axisPosition:1===c.position?"primary":"secondary"}:{}}function J(a,b){var c=a.series().AllSers,d=c.map(function(a){return a.Name}),e=b.model;return e?{index:d.indexOf(e)}:{}}function K(a,b,c){var d,e,f,g={};switch(a){case 0:g=H(b,c);break;case 1:g=I(b,c);break;case 3:g=J(b,c)}for(d=b.series().AllSers,e=[],f=0;f<d.length;f++)e.push(d[f].Name||M(d[f]));return{category:e,info:g}}function L(a,b){var c=b.elementType,d=G(c);return{chart:a,elementType:d,options:K(d,a,b)}}function M(a){if(!a.Name){var b=a.SeriesCollection.IndexOfSource(a);return b+1}}function N(a,b){var c,d,e,f;return b&&(c=s(a,b,0,0),d=c[0],d&&(e=a.parent,f=e.getSheetFromName(d.sheetName)))?{sheet:f,range:d.ranges&&d.ranges[0]}:{range:{}}}b=function(a){n.inherit(b,a);function b(b,c,d,e,f,g,h,i,j){var l=this,m=c||A(b,"Chart ");a.call(l,m,e,f,g,h),l.typeName="2",l.g3="2",l.sheet(b),l.Spa=new k(l,d),l.Gva=[],i&&l.Eva(i,j),l.Fva()}var d=b.prototype;d.chartType=function(a){var b,c=this,d=c.Spa;return 0===arguments.length?d.ChartType:(c.RVa("chartType",d.ChartType),b=w.IsScatterChart(a)&&c.Hva(),b?(d.e8=a,c.dataRange(b)):d.ChartType=a,c.sua(),c)},d.title=function(a){var b,c,d,e,f=this,g=f.Spa;return 0===arguments.length?l.getChartTitleProperties(g.ChartTitle,!0,z,1):(a&&(b=a.text,c={},""===b?(c.text=q(g.ChartTitle),g.HasTitle=!1):(g.HasTitle=!0,d=g.ChartTitle,e=d.Font,a.text&&(c.text=q(d),d.Text=a.text),a.fontFamily&&(c.fontFamily=e.Name,e.Name=a.fontFamily),a.fontSize&&(c.fontSize=e.Size,e.Size=a.fontSize),a.color&&(c.color=p(e,!0),e.Color.setColor(this.sheet(),a.color))),x(c)||f.RVa("title",c),this.sua()),this)},d.legend=function(a){var b,c=this,d=c.Spa,e=w.IsStockChart(d.ChartType);return 0===arguments.length?e?z:{visible:d.HasLegend,position:d.Legend?d.Legend.Position:2}:(e||(b={},v(a.visible)||(b.visible=d.HasLegend,d.HasLegend=a.visible),!v(a.position)&&d.Legend&&(b.position=d.Legend.Position,d.Legend.Position=a.position),x(b)||c.RVa("legend",b),c.sua()),c)},d.chartArea=function(a){var b,c,d,e,f,g,h,i,j,k,m=this,n=m.Spa.ChartArea;return 0===arguments.length?(e=l.getChartAreaStyle(n,!0,1),f=e.textStyle,g={},b=e.style.backgroundColor,b&&(g.backColor=b),c=f.color,c&&(g.color=c,g.fontFamily=f.fontFamily),d=parseFloat(f.fontSize),isNaN(d)||(g.fontSize=d),g):(a&&(h=n.GetFormatInternal(),i={},b=a.backColor,b&&h&&(i.backColor=p(h.Fill,!0),h.Fill.Color.setColor(m.sheet(),b)),j=n.Font,j&&(c=a.color,c&&(i.color=p(n.Font,!0),n.setFontColor(m.sheet(),c)),k=a.fontFamily,k&&(i.fontFamily=j.Name,j.Name=k),d=parseFloat(a.fontSize),isNaN(d)||(i.fontSize=j.Size,j.Size=d)),x(i)||m.RVa("chartArea",i),m.sua()),m)},d.dataLabels=function(a){var b,c,d,e,f=this.Spa,g=w.IsStockChart(f.ChartType);return 0===arguments.length?g?z:(b=f.SeriesCollection.AllSers[0],c=b.GetDataLabels(),c?(d={showValue:c.ShowValue,showSeriesName:c.ShowSeriesName,showCategoryName:c.ShowCategoryName,showPercentage:c.ShowPercentage,position:c.Position,format:c.NumberFormat},e=p(c.Font,!0),e&&(d.color=e)):d={showValue:!1,showSeriesName:!1,showCategoryName:!1,showPercentage:!1},w.IsPieOrDoughnutChart(b.InnerChartType)||delete d.showPercentage,d):(a&&!g&&(B(f,a,this.sheet()),this.sua()),this)},d.axes=function(a){var b,c,d=this.Spa.Axes,e=d.Item(0,0),f=d.Item(1,0),g=d.Item(0,1),h=d.Item(1,1);return 0===arguments.length?(b={},e&&(b.primaryCategory=l.getAxisProperties(e)),f&&(b.primaryValue=l.getAxisProperties(f)),g&&(b.secondaryCategory=l.getAxisProperties(g)),h&&(b.secondaryValue=l.getAxisProperties(h)),b):(c=this.sheet(),E(e,a.primaryCategory,c,d,0,0),E(f,a.primaryValue,c,d,1,0),E(g,a.secondaryCategory,c,d,0,1),E(h,a.secondaryValue,c,d,1,1),this.sua(),this)},d.series=function(){return this.Spa.SeriesCollection},d.dataRange=function(a){var b,c,d=this,e=d.Hva();return 0===arguments.length?e:(a&&(0===d.chartType()&&(c=d.Spa.SeriesCollection,b=c.AllSers.map(function(a){return a.ChartType})),d.RVa("dataRange",e),d.Eva(a,j(d),b)),d)};function f(a,b,c,d,e,f){var g,h,i,j,k=a.length;for(g=0;g<k;g++){if(h=a[g],!h)return!1;if(i=N(b,h),j=i.range,i.sheet!==f)return!1;if(1!==j.rowCount||1!==j.colCount)return!1;if(e){if(j.row!==c+g||j.col!==d-1)return!1}else if(j.col!==d+g||j.row!==c-1)return!1}return!0}d.Hva=function(){var a,b,c,d,e,g,h,i,k,l,m,n,o,p,q,s,u,v,w=this.Spa.SeriesCollection,x=w.AllSers,y=x.length,z=0===j(this);if(y>0){for(a=this.sheet(),b=x[0],c=b.GetXValuesFormula(),d=b.GetValuesFormula(),e=[],g=N(a,d),h=g.sheet,i=g.range,k=i.rowCount,l=i.colCount,m=i.row,n=i.col,o=r(m,n,k,l),p=!!c,e.push(b.GetNameFormula()),s=1;s<y;s++){if(b=x[s],p&&c!==b.GetXValuesFormula())return;if(d=b.GetValuesFormula(),u=N(a,d),q=u.range,u.sheet!==h||q.rowCount!==k||q.colCount!==l)return;if(z){if(q.row!==m+s)return;o.rowCount++}else{if(q.col!==n+s)return;o.colCount++}e.push(b.GetNameFormula())}return p&&(u=N(a,c),q=u.range,u.sheet===h&&(z?q.row===m-1&&q.col===n&&q.colCount===l&&(o.row--,o.rowCount++):q.col===n-1&&q.row===m&&q.rowCount===k&&(o.col--,o.colCount++))),f(e,a,m,n,z,h)&&(z?(o.col--,o.colCount++):(o.row--,o.rowCount++)),v=new t(h.name(),o.row,o.col,o.row+o.rowCount-1,o.col+o.colCount-1),1===a.parent.options.referenceStyle?v.ToR1C1Text():v.ToA1Text(0,0)}};function h(a){var b,c,d={},e=!1,f=a.length;for(b=0;b<f;b++)c=a[b],c.HasDataLabels&&(d[b]=c.DataLabels,e=!0);return e?d.count=f:d=y,d}d.Eva=function(a,b,c){var d,e,f,g,i=this,j=i.sheet(),k=N(j,a);k&&(d=i.Spa.SeriesCollection,e=d.Ata,f=h(e),e.length=0,g=k.range,d.Add(j.Jpa(g.row,g.col,g.rowCount,g.colCount,k.sheet),b,y,y,f,c))},d.Fva=function(){var a=this,b=document.createElement("div"),c=b.style;c.boxSizing="border-box",c.border="1px none gray",c.width=a.width()+"px",c.height=a.height()+"px",c.outline="none",a.content(b,!1)},d.hga=function(){return!1},d.sua=function(a,b){var c,d,e,f,g,h,i;if(a===z&&(a=!1),c=this,d=c.sheet(),a&&c.updateSeries(b,!0),d.isPaintSuspended())this.iOa=!0;else{if(e=c.Gva,e.length>0)for(f=o(c.Spa,d),g=0,h=e.length;g<h;g++)i=e[g],i.load(f),i.refresh();this.iOa=!1}},d.Iva=function(a,b,c,d,e){var f=this.Spa.SeriesCollection,g=f.Get(a),h=this.sheet().ITa;g&&(h.zTa&&!d.series&&(d.series=f.get()),e?d.indexes.push(a):g.UpdateFormula(b,c))},d.updateSeries=function(a,b){void 0===b&&(b=!1);var c=this.Spa;c&&c.UpdateSeries(a,b)};function i(a,b,c,d){var e,f,g,h,i=[c.xVlues,c.name];for(b.Count>1&&i.push(b.get(1).yValues),g=0,h=i.length;g<h;g++)if(e=i[g]){if(f=N(a,e).range,d.row===f.row)return 0;if(d.col===f.col)return 1}return 0}function j(a){var b,c,d,e=a.Spa.SeriesCollection,f=e._S;return v(f)&&(b=a.sheet(),c=e.get(0),c&&(d=N(b,c.yValues).range,f=1===d.rowCount?d.colCount>1?0:i(b,e,c,d):1)),f}return d.getDataOrientation=function(){return j(this)},d.switchDataOrientation=function(){var a,b,c,d=this,e=d.Hva();return!!e&&(d.RVa("switchDataOrientation"),a=d.Spa.SeriesCollection,b=1^j(d),0===d.chartType()&&(c=a.AllSers.map(function(a){return a.ChartType})),d.Eva(e,b,c),!0)},d.getFormulas=function(){var a=this.Spa;if(a)return a.SeriesCollection.AllSers.map(function(a){return a.Formula})},d.clone=function(a){a=a||this.sheet();var c=new b(a);return c.fromJSON(this.toJSON()),c},d.Dva=function(a,b){return l.getSeries(this.Spa,a,b)},d.VQa=function(){var a,b,c,d,e,f,g,h,i,j=[],k=this,l=k.sheet().name(),m=k.series().AllSers;for(e=0;e<m.length;e++)f=m[e],g=f.ValuesRefers[0],g&&g.WorksheetName===l&&(d=r(g.Row,g.Column,g.RowCount,g.ColumnCount),a=a?a.union(d):d),h=f.NameRefer,h&&h.WorksheetName===l&&(d=r(h.Row,h.Column,h.RowCount,h.ColumnCount),b=b?b.union(d):d),i=f.XValuesRefers[0],i&&i.WorksheetName===l&&(d=r(i.Row,i.Column,i.RowCount,i.ColumnCount),c=c?c.union(d):d);a&&j.push(a),b&&j.push(b),c&&j.push(c),k.Kva(j)},d.WQa=function(a,b){var c,d,e,f,g=[],h=this,i=h.sheet().name(),j=h.Dva(a,b);j&&(c=j.ValuesRefers[0],c&&c.WorksheetName===i&&g.push(r(c.Row,c.Column,c.RowCount,c.ColumnCount)),d=j.NameRefer,d&&d.WorksheetName===i&&g.push(r(d.Row,d.Column,d.RowCount,d.ColumnCount)),e=j.XValuesRefers[0],e&&e.WorksheetName===i&&g.push(r(e.Row,e.Column,e.RowCount,e.ColumnCount)),f=j.BubbleSizesRefers[0],f&&f.WorksheetName===i&&g.push(r(f.Row,f.Column,f.RowCount,f.ColumnCount))),h.Kva(g,j)},d.Kva=function(a,b){var c,d=this.sheet(),f=d.Cva;a&&a.length>0?(c=e.CalcEngine.rangesToFormula(a,d.Jl,d.Kl,0,!1),f.text("=SERIES("+c+")")):f.text(""),b?f.UQa=!0:f.UQa=!1,f.series=b,f.chartView=this,d.yl.uH()},d.toJSON=function(){var b,c=this,d=a.prototype.toJSON.call(c);return delete d.content,d.chartSpace=c.Spa.ToOOModel(),b=["hiLowLines","p"],w.simpleJSONObject(d,b),d},d.fromJSON=function(b,c){var d=this;a.prototype.fromJSON.call(d,b,c),d.Spa=new k(d),d.Spa.FromOOModel(b.chartSpace)},d.no=function(a){var b,c,d,e;if(a!==!1){for(b=this,c=b.Gva,d=0,e=c.length;d<e;d++)c[d].dispose();b.Gva=[],b.Lva()}},w.defineProperty(d,"DrawingType",{get:function(){return 1}}),d.Kqa=function(a){if(2===a.ColorType)return m.FromArgb(a.Value);var b=this.sheet();return b?b.Kqa(a):new m},d.Yra=function(a){var b=this.sheet();return b?b.Yra(a):""},d.AJ=function(a){var b,c,d,e=this.Mva;e||(e=this.Mva=[]),b=this.sheet(),c="mousedown",d=function(){var a,c,d,e;b.isEditing()&&!(a=b.endEdit())||b.Cva||(c=b.parent,d=g.W4(c.qo),e=b.Cva=new g.FormulaTextBox(d,{rangeSelectMode:!0,absoluteReference:!0},c),e.Fu("TextChanged",function(){b.yl.uH()}),e.onRangeMoved=function(){F(b)},e.onRangeResized=function(){F(b)})},a.addEventListener(c,d,!0),e.push([a,c,d])},d.Lva=function(){var a,b,c,d=this.Mva;if(d)for(a=0,b=d.length;a<b;a++)c=d[a],c[0].removeEventListener(c[1],c[2]);this.Mva=y},d.Nva=function(a,b){var d,f=this,g=f.sheet(),h=o(f.Spa,g),i=c(1);i&&(d=new i.FlexDV(a),d.renderMethod=i.RenderMethod.Canvas,v(b)||(d.devicePixelRatio=b),d.load(h),d.refresh(),d.event.addHandler(function(a,b){var c,h,j,k,l,m;b.event.action===i.MotionEvent.ACTION_CLICK&&g.DR(f)&&(h=b.elementType,h&&h.indexOf(i.ElementType.Plot)>=0?c=b.model.items[0]:d.Select(y),j=b.field,w.IsStockChart(f.Spa.ChartType)&&(!j&&c&&(j="volume"),k="["+j+"]",l=d.Query(k),d.Select(l,{adorners:!0},k)),m=G(h),7===m||8===m?f.VQa():f.WQa(c,j),g.Wq(e.Events.ChartClicked,L(f,b))),f.getHost()[0].style.cursor="default"}),f.Gva.push(d))},d.onNameChanged=function(a,b){this.sheet().rua(this,{action:"rename",oldName:a,newName:b})},d.jOa=function(a,b){this.series().AllSers.forEach(function(c){var d,e,f,g=c.NameRefer;g&&g.WorksheetName===a&&(g.WorksheetName=b),d=c.XValuesRefers,d&&d.forEach(function(c){c.WorksheetName===a&&(c.WorksheetName=b)}),e=c.ValuesRefers,e&&e.forEach(function(c){c.WorksheetName===a&&(c.WorksheetName=b)}),f=c.BubbleSizesRefers,f&&f.forEach(function(c){c.WorksheetName===a&&(c.WorksheetName=b)})})},d.hitTest=function(a,b){var d,e,f,g,h,i,j,k,l,m,o,p,q,r=c(1);return r&&(d=this,e=d.Gva,e&&e.length>0&&(f=e[0],g=d.sheet().parent,h=n(g.getHost()),i=h.offset(),j=i.left,k=i.top,l=n(d.qo[0]),m=l.offset(),o=m.left,p=m.top,q=f.hitTest(new r.core.Point(a+j-o,b+k-p))))?L(d,q):y},d.refreshContent=function(){var a,b,c,d,e=this.sheet(),f=e.parent;if(f&&f.kv&&(a=this.Gva,a&&a.length>0))for(b=0,c=a.length;b<c;b++)d=a[b],d.refresh()},d.RVa=function(a,b){var c,d=this.sheet().ITa;d.zTa&&(c={name:a},v(b)||(c.value=b),d.UVa(this,c))},d.XVa=function(a){var b=this.Spa.SeriesCollection;a.series&&b.TVa(a.series),b.SVa(a.indexes)},d.RUa=function(a){if(a){var b=a.name,c=a.value;this[b]&&("series"===b?this[b]().RUa(c):this[b](c))}},b}(f.FloatingObject),d.Chart=b,a.exports=d}()},function(b,c){b.exports=a.Spread.Sheets.FormulaTextBox},function(a,b,c){!function(){"use strict";var a=c(8),b=c(26),d=c(6),e=a.CalcEngine,f=d.j,g=f.Ia,h=f.G,i=e.ChartSource=function(a){h(b,a);function b(b){a.call(this,null),this.kj=b,this.qWa={},this.rWa={}}return b}(b.CalcSource);function j(a){if(a){var b=a.lastIndexOf(",");if(b>0)return{index:+a.substr(b+1),name:a.substr(0,b)}}}function k(a,b,c,d,e,f){var g,h,i,k,l;a&&c&&d&&(g=j(c),g&&(h=b[g.name],h&&(i=a.get(h),i&&(k=f[h],k||(k=f[h]={indexes:[],chart:i}),l=d.formulaAdjusted,l&&(i.sWa=!0),i.Iva(g.index,d.formula,e,k,2===l)))))}function l(a,b,c,d){var e,f,g;a&&c&&d&&(e=j(c),e&&(f=b[e.name],f&&(g=a.get(f),g&&g.sua(!d.formula||d.formulaAdjusted))))}function m(a,b,c,d,e,f){var g=b.getFormulas();a.qWa[d]=e,g&&g.length&&g.forEach(function(a,b){c.setFormulaByName(d+","+b,a,f)})}function n(a,b,c){for(var d=0;;){if(!a.DTa(b+","+d))break;a.setFormulaByName(b+","+d,null,c),d++}}function o(a,b){if(b&&b.indexOf("#REF!")!==-1){b=b.replace(/#REF!/g,"");var c=b.split(",");a.formulaAdjusted=c[2].length?1:2}a.formula=b}g(i.prototype,{getValueByName:function(a){},setFormulaByName:function(a,b){var c=this.rWa,d=c[a];d||(d=c[a]={}),o(d,b)},setValueByName:function(a,b){var c=this.rWa,d=c[a];d||(d=c[a]={}),d.dataChanged=!0},Qva:function(a){this.Rva(a,0)},Sva:function(a){this.Rva(a,1)},Tva:function(a,b){this.Rva(a,2,b)},Rva:function(a,b,c){var d,e,f,g=this,h=g.kj,i=h.getCalcService(),j=i.getSourceModel(this);a&&(i.suspend(!0),d=a.name(),e=d.toUpperCase(),0===b?m(g,a,j,e,d):1===b?n(j,e):c&&"rename"===c.action?(n(j,c.oldName.toUpperCase()),m(g,a,j,c.newName.toUpperCase(),d)):(f=c&&c.syncOnly,n(j,e,f),m(g,a,j,e,d,f)),i.resume(!1))},startCalculation:function(){},endCalculation:function(){var a,b,c,d,e,f,g,h,i,m,n=this,o=n.kj,p=o.charts,q=n.getCalcService().useR1C1;if(p){b=n.qWa,c=this.rWa,d={};for(g in c)f=c[g],f.formula&&k(p,b,g,f,q,d);for(g in d)a=d[g],a.chart.XVa(a);h={};for(g in c)c[g].dataChanged&&(i=j(g),i&&(m=b[i.name],h[m]||(l(p,b,g,c[g]),h[m]=!0)));this.rWa={};for(g in d)a=d[g],e=a.chart,e&&e.sWa&&(delete e.sWa,o.rua(e,{syncOnly:!0}))}}})}()},function(a,b,c){!function(){"use strict";var b,d,e=c(6),f=e.j,g=f.G,h=c(3),i=c(5).StatefullBase,j=c(7),k=j.ShapeConstants,l=k.PositionConver,m=j.ChartUtility,n=m.defineProperty,o=j.ShapeUtility,p=o.FromLum,q=o.ToLum,r=j.UnitHelper,s=r.isNullOrUndefined,t=null,u=void 0;h.PictureFormatType={PictureShape:0,PictureFill:1,TextureFill:2},b=function(){function a(a){var b=this;b.qva=0,b.rva=0,b.sva=0,b.tva=0,b.xo=a}var b=a.prototype;return n(b,"PictureHeight",{get:function(){return this.tva},set:function(a){this.tva=a}}),n(b,"PictureOffsetX",{get:function(){return this.qva},set:function(a){this.qva=a}}),n(b,"PictureOffsetY",{get:function(){return this.rva},set:function(a){this.rva=a}}),n(b,"PictureWidth",{get:function(){return this.sva},set:function(a){this.sva=a}}),n(b,"ShapeHeight",{get:function(){return this.xo.Height},set:function(a){this.xo.Height=a}}),n(b,"ShapeLeft",{get:function(){return this.xo.Left},set:function(a){this.xo.Left=a}}),n(b,"ShapeTop",{get:function(){return this.xo.Top},set:function(a){this.xo.Top=a}}),n(b,"ShapeWidth",{get:function(){return this.xo.Width},set:function(a){this.xo.Width=a}}),b.Clone=function(){var b=this,c=new a(b.xo);return c.tva=b.tva,c.qva=b.qva,c.rva=b.rva,c.sva=b.sva,c},a}(),h.Crop=b,d=function(a){g(c,a);function c(b,c){b===u&&(b=0),c===u&&(c=t),a.call(this,c);var d=this;return d.Jqa=k.DefaultBrightness,d.Xba=0,d.uva=k.DefaultBrightness,d.vva=k.DefaultTransparent,d.wva=b,d.hqa=c,d.xva=0===d.wva,d}var d=c.prototype;return n(d,"Brightness",{get:function(){return this.IsDirty(1)||s(this.hqa)?this.Jqa:this.hqa.Brightness},set:function(a){if(a<0||a>1)throw Error();this.Jqa=a,this.Dirty(1)}}),n(d,"ColorType",{get:function(){return this.IsDirty(2)||s(this.hqa)?this.Xba:this.hqa.ColorType},set:function(a){0===a?(this.Jqa=k.DefaultBrightness,this.uva=k.DefaultBrightness):3===a&&(this.Jqa=.85,this.uva=.15),this.Xba=a,this.Dirty(2)}}),n(d,"Contrast",{get:function(){return this.IsDirty(4)||s(this.hqa)?this.uva:this.hqa.Contrast},set:function(a){if(a<0||a>1)throw Error();this.uva=a,this.Dirty(4)}}),n(d,"Crop",{get:function(){var a=this;return a.yva||(a.yva=new b(a.zva)),a.yva}}),n(d,"CropBottom",{get:function(){return this.Crop.ShapeTop+this.Crop.ShapeHeight},set:function(a){this.Crop.ShapeHeight=a-this.Crop.ShapeTop}}),n(d,"CropLeft",{get:function(){return this.Crop.ShapeLeft},set:function(a){this.Crop.ShapeLeft=a}}),n(d,"CropRight",{get:function(){return this.Crop.ShapeLeft+this.Crop.ShapeWidth},set:function(a){this.Crop.ShapeWidth=a-this.Crop.ShapeLeft}}),n(d,"CropTop",{get:function(){return this.Crop.ShapeTop},set:function(a){this.Crop.ShapeTop=a}}),n(d,"TransparencyColor",{get:function(){return this.IsDirty(8)||s(this.hqa)?this.vva:this.hqa.TransparencyColor},set:function(a){this.vva=a,this.Dirty(8)}}),n(d,"TransparentBackground",{get:function(){return this.IsDirty(16)||s(this.hqa)?this.xva:this.hqa.TransparentBackground},set:function(a){this.xva=a;var b=this.zva.Fill;a&&(b.Transparency=1),b.Solid(),this.Dirty(16)}}),n(d,"Container",{get:function(){return this.zva},set:function(a){if(this.zva=a,a){var b=this.Crop;b.PictureWidth=a.Width,b.PictureHeight=a.Height}}}),n(d,"PicFill",{get:function(){return this.IsDirty(32)||s(this.hqa)?this.Ava:this.hqa.PicFill},set:function(a){this.Ava=a,this.Dirty(32)}}),n(d,"PicType",{get:function(){return this.IsDirty(64)||s(this.hqa)?this.Bva:this.hqa.PicType},set:function(a){this.Bva=a,this.Dirty(64)}}),d.ClearModel=function(){var a,b,c;for(this.Tpa=t,a=0,b=this.Children;a<b.length;a++)c=b[a],c.ClearModel()},n(d,"PictureFormatType",{get:function(){return this.wva},set:function(a){this.wva=a}}),d.HasOwnPicture=function(){return this.IsDirty(1)||this.IsDirty(2)||this.IsDirty(4)||this.IsDirty(8)||this.IsDirty(16)},d.SetPictureInfo=function(a,b,c){this.PicFill=a,this.PicType=b,this.PictureFormatType=c},d.IncrementBrightness=function(a){this.Brightness+=a},d.IncrementContrast=function(a){this.Contrast+=a},d.FromOOModel=function(a){var b,c=this;c.Tpa=a,s(a)||(c.FromCT_Blip(a.blip),b=c.zva,s(b)||(s(a.tile)||(c.PictureFormatType=2),c.Crop.PictureWidth=b.Width,c.Crop.PictureHeight=b.Height,0===c.PictureFormatType?c.FromCT_RelativeRect(a.srcRect):1===c.PictureFormatType&&c.FromCT_RelativeRect(a.stretch.fillRect)))},d.ToOOModel=function(){var a,b,c=this,d=c.Tpa||{};return d.colorFillType=3,d.blip=c.ToCT_Blip(),a=c.zva,s(a)?d:(b=c.PictureFormatType,0===b?(d.srcRect=c.ToCT_RelativeRect(),d.stretch={},d.stretch.fillRect={l:0,r:0,t:0,b:0}):1===b?(d.stretch={},d.stretch.fillRect=c.ToCT_RelativeRect(),d.srcRect={l:0,r:0,t:0,b:0}):2===b&&(d.stretch=t,d.srcRect=t),d)},d.FromCT_Blip=function(a){if(!s(a)){var b=this;b.FromCT_ColorChangeEffect(a.clrChange),b.FromCT_LuminanceEffect(a.lum),s(a.grayscl)?s(a.biLevel)||(b.ColorType=2):b.ColorType=1,b.FromCT_BlipBlob(a.blipBlob)}},d.ToCT_Blip=function(){var a=this,b=a.Tpa&&a.Tpa.blip||{cstate:4};return a.TransparencyColor!==k.DefaultTransparent&&(b.clrChange=a.ToCT_ColorChangeEffect()),a.Brightness===k.DefaultBrightness&&a.Contrast===k.DefaultBrightness||(b.lum=a.ToCT_LuminanceEffect()),1===a.ColorType?b.grayscl={}:2===a.ColorType&&(b.biLevel={thresh:5e4}),b.blipBlob=a.ToCT_BlipBlob(),b},d.FromCT_ColorChangeEffect=function(a){var b=a&&a.clrFrom&&a.clrFrom.srgbClr;b&&this.FromColorByteArr(a.val)},d.ToCT_ColorChangeEffect=function(){var a=this.ToColorByteArr(this.vva);return{useA:!0,clrFrom:{srgbClr:{val:a}},clrTo:{srgbClr:{val:a,alpha:[0]}}}},d.FromColorByteArr=function(a){this.vva=0|a[2]<<16|a[1]<<8|a[0]},d.ToColorByteArr=function(a){var b=[];return b[3]=Math.floor(a/(1<<24)),a%=1<<24,b[2]=Math.floor(a/65536),a%=65536,b[1]=Math.floor(a/256),a%=256,b[0]=Math.floor(a),b},d.FromCT_LuminanceEffect=function(a){a&&(this.Brightness=p(a.bright),this.Contrast=p(a.contrast))},d.ToCT_LuminanceEffect=function(){return{bright:q(this.Brightness),contrast:q(this.Contrast)}},d.FromCT_BlipBlob=function(a){if(a){var b=this;b.Ava=a.blob,b.Dirty(32),b.Bva=a.type,b.Dirty(64)}},d.ToCT_BlipBlob=function(){var a=this,b=a.Tpa&&a.Tpa.blip&&a.Tpa.blip.blipBlob||{type:0};return b.blob=a.PicFill,b.type=a.PicType,b},d.FromCT_RelativeRect=function(a){var b,c,d,e,f,g,h,i=this.zva;s(a)||s(i)||(b=a.l/l,c=a.r/l,d=a.t/l,e=a.b/l,f=this.Crop,g=f.PictureWidth=i.Width/(1-b-c),h=f.PictureHeight=i.Height/(1-d-e),f.PictureOffsetX=(g-i.Width)/2-b*g,f.PictureOffsetY=(h-i.Height)/2-d*h)},d.ToCT_RelativeRect=function(){var a,b,c,d,e,f,g,h,i=this.zva,j=this.Crop,k=j.ShapeHeight,m=j.ShapeWidth;return s(i)||0===k||0===m?{l:0,r:0,t:0,b:0}:(a=j.PictureWidth,b=j.PictureHeight,c=j.PictureOffsetX,d=j.PictureOffsetY,e=((a-m)/2-c)/a,f=((a-m)/2+c)/a,g=((b-k)/2-d)/b,h=((b-k)/2+d)/b,{l:e*l,r:f*l,t:g*l,b:h*l})},d.Clone=function(){var a=this,b=new c;return b.Jqa=a.Jqa,b.uva=a.uva,b.Xba=a.Xba,a.yva&&(b.yva=a.yva.Clone()),b.Ava=a.Ava,b.wva=a.wva,b.Bva=a.Bva,b.zva=a.zva,b.vva=a.vva,b.xva=a.xva,b},d.OnParentChanged=function(a){this.hqa=a},c}(i),h.PictureFormat=d,a.exports=h}()}])});