| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- /*!
- *
- * SpreadJS Library 13.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(GC){GC="object"==typeof GC?GC:{},GC.Spread=GC.Spread||{},GC.Spread.Sheets=GC.Spread.Sheets||{},GC.Spread.Sheets.Charts=function(a){var b={};function c(d){if(b[d])return b[d].exports;var e=b[d]={i:d,l:!1,exports:{}};return a[d].call(e.exports,e,e.exports,c),e.l=!0,e.exports}return c.m=a,c.c=b,c.d=function(a,b,d){c.o(a,b)||Object.defineProperty(a,b,{enumerable:!0,get:d})},c.r=function(a){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},c.t=function(a,b){var d,e;if(1&b&&(a=c(a)),8&b)return a;if(4&b&&"object"==typeof a&&a&&a.__esModule)return a;if(d=Object.create(null),c.r(d),Object.defineProperty(d,"default",{enumerable:!0,value:a}),2&b&&"string"!=typeof a)for(e in a)c.d(d,e,function(b){return a[b]}.bind(null,e));return d},c.n=function(a){var b=a&&a.__esModule?function b(){return a.default}:function b(){return a};return c.d(b,"a",b),b},c.o=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},c.p="/assets/",c(c.s="./dist/plugins/chart/chart.entry.js")}({"./dist/plugins/chart/axis.js":function(a,b,c){"use strict";var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S=this&&this.__extends||function(){var a=function(b,c){return(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])})(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)}}();Object.defineProperty(b,"__esModule",{value:!0}),d=c("./dist/plugins/chart/chartFormat.js"),e=c("./dist/plugins/chart/chartTitle.js"),f=c("FloatingObject"),g=c("Common"),h=c("./dist/plugins/chart/chart.ns.js"),i=c("./dist/plugins/chart/chartInterface.js"),j=f.Drawing.UnitHelper,k=f.Drawing.ChartUtility,l=f.Drawing.ChartConstants,m=f.Drawing.AxisUtility,n=f.Drawing.DateTimeExtension,o=f.Drawing.ChartElementBase,p=f.Drawing.ColorFormat,q=f.Drawing.DrawingText,r=f.Drawing.AxisType,s=f.Drawing.CategoryType,t=f.Drawing.ScaleType,u=f.Drawing.TimeUnit,v=f.Drawing.AxisCrosses,w=f.Drawing.AxisGroup,x=f.Drawing.ColorSchemeIndex,y=f.Drawing.ST_AxPos,z=f.Drawing.ST_Orientation,A=f.Drawing.CT_AxisType,B=f.Drawing.ST_CrossBetween,C=g.Common.CultureManager,D=j.isNullOrUndefined,E=7,F=4*E,G=null,H=void 0,I=Math.abs,J=Math.ceil,K=new g.Common.ResourceManager(h.SR),L=K.getResource.bind(K),M=function(a){S(b,a);function b(b,c,d){var e=a.call(this,b)||this;return e.fsa=c,e.Nc=d,e}return Object.defineProperty(b.prototype,"DefaultText",{get:function(){return"Axis Title"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"DefaultFontSize",{get:function(){return j.pointToPixel(10)},enumerable:!0,configurable:!0}),b.prototype.Delete=function(){this.Spa.Axes.Item(this.Nc,this.fsa).HasTitle=!1},b}(e.ChartTitleBase),b.AxisTitle=M,N=function(a){S(b,a);function b(b){var c=a.call(this)||this,d=c;return d.gsa=G,d.hsa=b,d.Qpa=d.GetDefaultChartText(),d}return b.prototype.GetDefaultChartText=function(){var a=this.hsa.Parent.Parent;return new q(a.Parent,a.ChartArea.Font)},Object.defineProperty(b.prototype,"Parent",{get:function(){return this.hsa},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Font",{get:function(){return this.Qpa.Font},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Format",{get:function(){return this.ChartFormat},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Text",{get:function(){return this.Qpa.Text?this.Qpa.Text:this.GetAutoText()},set:function(a){this.Qpa.Text=a},enumerable:!0,configurable:!0}),b.prototype.Delete=function(){this.hsa.HasDisplayUnitLabel=!1,this.hsa.DisplayUnitCustom=1,this.hsa.DisplayUnit=9},b.prototype.GetAutoText=function(){var a=C.q4(C.culture()).NumberFormat.standardDictionaryNumbers,b=this.hsa,c=b.DisplayUnit,d={8:a.Trillions,7:a.Billions,4:a.Millions,1:a.Thousands,0:a.Hundreds};return d[c]||"x"+b.GetValuesFromDispUnit(c)},b.prototype.FromOOModel=function(a){this.gsa=a,a&&(D(a.builtInUnit)?D(a.custUnit)||(this.hsa.DisplayUnitCustom=a.custUnit):this.hsa.DisplayUnit=a.builtInUnit,this.FromCT_DispUnitsLbl(a.dispUnitsLbl),D(a.visible)||(this.hsa.HasDisplayUnitLabel=a.visible))},b.prototype.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.visible=a.hsa.HasDisplayUnitLabel,c},b.prototype.From2016ChartOOModel=function(a){this.gsa=a,a&&(D(a.unit)||(this.hsa.DisplayUnit=a.unit),this.FromCT_DispUnitsLbl(a.unitsLabel))},b.prototype.To2016ChartOOModel=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.unitsLabel=a.ToCT_DispUnitsLbl(),c},b.prototype.ToCT_DispUnitsLbl=function(){var a,b,c,d=this;return d.hsa.DisplayUnitLabel?(a=d.gsa,b=a&&a.dispUnitsLbl||{},b.spPr=d.ToShapeProperties(),c=d.Qpa.ToOOModel(),d.Qpa.Text?(D(d.Qpa.TextRefer)?b.tx=c:b.tx={strRef:c.strRef},b.txPr=G):(b.txPr=c.rich,b.tx=G),b):G},b.prototype.FromCT_DispUnitsLbl=function(a){var b,c=this;return D(a)?(c.hsa.HasDisplayUnitLabel=!1,void c.FromShapeProperties(G)):(c.FromShapeProperties(a.spPr),c.hsa.HasDisplayUnitLabel=!0,b=a.tx,b||(b={rich:a.txPr}),void c.Qpa.FromOOModel(b))},b.prototype.CreateFormat=function(){return new d.ChartFormat(this.hsa.Parent.Parent)},b}(o),b.DisplayUnitLabel=N,O=function(a){S(b,a);function b(b){var c=a.call(this)||this;return c.hsa=b,c}return Object.defineProperty(b.prototype,"Parent",{get:function(){return this.hsa},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Format",{get:function(){return this.ChartFormat},enumerable:!0,configurable:!0}),b.prototype.FromOOModel=function(a){this.isa=a,a&&this.FromShapeProperties(a.spPr)},b.prototype.ToOOModel=function(){var a=this.isa||{};return a.spPr=this.ToShapeProperties(),a},b.prototype.CreateFormat=function(){return new d.ChartFormat(this.hsa.Parent.Parent)},b}(o),b.Gridlines=O,P=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 q(b.Parent,b.ChartArea.Font),c.Qpa.Font.Size=j.pointToPixel(9),c.UP=0}return Object.defineProperty(a.prototype,"Font",{get:function(){return this.Qpa.Font},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"NumberFormat",{get:function(){return this.GetNumberFormat()},set:function(a){this.Rd=a,this.jsa=!1},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"NumberFormatLinked",{get:function(){return this.jsa},set:function(a){a?this.Rd=G:this.Rd=this.GetNumberFormat(),this.jsa=a},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"Offset",{get:function(){return this.UP},set:function(a){this.UP=a},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"Parent",{get:function(){return this.hsa},enumerable:!0,configurable:!0}),a.prototype.GetNumberFormat=function(){var a,b,c,d,e,f,g,h,i=this,j=i.hsa,k=j.Type,l=j.Parent.Parent,m=i.Rd;if(i.NumberFormatLinked){if(a=G,b=l.SeriesCollection,b.Count>0&&(a=b.AllSers.filter(function(a){return a.fsa===j.fsa})[0]),D(a))return G;c=G,0===k?c=a.XValuesRefers:1===k&&(c=a.ValuesRefers),c&&c.length>0&&(d={sheet:G,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&&(m=h.FormatCode)))}return m||i.jPa(l.ChartType,k,j)},a.prototype.jPa=function(a,b,c){var d="General";return k.IsStockChart(a)&&b===r.Category||c.IsTimeScale()?d="mm/dd/yyyy":k.IsStacked100Chart(a)&&b===r.Value&&(d="0%"),d},a.prototype.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=G,b.jsa=!0)},a.prototype.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}(),b.TickLabels=P,Q=function(a){S(b,a);function b(b,c,d){var e=a.call(this)||this,f=e;return f.lsa=2,f.msa=2,f.nsa=!0,f.osa=10,f.psa=!1,f.qsa=9,f.rsa=1,f.ssa=G,f.tsa=G,f.usa=1,f.vsa=!0,f.wsa=2,f.xsa=1,f.ysa=!1,f.Asa=!0,f.Bsa=G,f.Csa=G,f.Dsa=b,f.Nc=c,f.fsa=d,f.zsa=new M(f.Dsa.Parent,f.fsa,f.Nc),f.Esa=f.GetDefaultTickLabels(),f.InitProps(),f.InitRulers(),e}return Object.defineProperty(b.prototype,"AxisBetweenCategories",{get:function(){return this.nsa},set:function(a){this.nsa=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"AxisGroup",{get:function(){return this.fsa},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Type",{get:function(){return this.Nc},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"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,l.CategoryType))},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"ActualCategoryType",{get:function(){return this.Tsa},set:function(a){a!==this.Tsa&&(this.Tsa=a,this.UpdateAxisRulers())},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"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,l.CategoryNames,a)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"ScaleType",{get:function(){return this.Rsa},set:function(a){a!==this.Rsa&&(this.Rsa=a,this.UpdateAxisRulers())},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"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),I(b.Gsa-b.Fsa)<b.Jsa&&(b.Lsa=!0,b.Msa=!0)),b.UpdateAxisRulers())},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"MaximumScaleIsAuto",{get:function(){return this.Isa},set:function(a){a!==this.Isa&&(this.Isa=a,this.UpdateAxisRulers())},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"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),I(b.Gsa-b.Fsa)<b.Jsa&&(b.Lsa=!0,b.Msa=!0)),b.UpdateAxisRulers())},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"MinimumScaleIsAuto",{get:function(){return this.Hsa},set:function(a){a!==this.Hsa&&(this.Hsa=a,this.UpdateAxisRulers())},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"MajorUnit",{get:function(){return this.Jsa},set:function(a){var b=this;b.ZOa()&&(2===b.Tsa&&(a=J(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()))},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"MajorUnitIsAuto",{get:function(){return this.Lsa},set:function(a){a!==this.Lsa&&(this.Lsa=a,this.UpdateAxisRulers())},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"MinorUnit",{get:function(){return this.Ksa},set:function(a){var b=this;b.ZOa()&&(2===b.Tsa&&(a=J(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()))},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"MinorUnitIsAuto",{get:function(){return this.Msa},set:function(a){a!==this.Msa&&(this.Msa=a,this.UpdateAxisRulers())},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"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()},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"BaseUnitIsAuto",{get:function(){return this.Osa},set:function(a){a!==this.Osa&&(this.Osa=a,this.UpdateAxisRulers())},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"MinorUnitScale",{get:function(){return this.Msa?this.Nsa:this.Psa},set:function(a){this.Msa=!1,a!==this.Psa&&(this.Psa=a,this.UpdateAxisRulers())},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"MajorUnitScale",{get:function(){return this.Lsa?this.Nsa:this.Qsa},set:function(a){this.Lsa=!1,a!==this.Qsa&&(this.Qsa=a,this.UpdateAxisRulers())},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"AxisTitle",{get:function(){return this.ysa?this.zsa:G},set:function(a){this.zsa=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Crosses",{get:function(){return this.GetCrosses()},set:function(a){a!==this.Wsa&&(0===a&&(this.Xsa=this.GetCrossesAt()),this.Wsa=a)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"CrossesAt",{get:function(){return this.GetCrossesAt()},set:function(a){a!==this.Xsa&&(this.Xsa=a,this.Wsa=0)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Format",{get:function(){var a=this;return D(a.Kb)&&(a.Kb=a.GetDefaultFormat()),a.Kb},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"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&&D(b.ssa)&&(b.ssa=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"DisplayUnitCustom",{get:function(){return this.rsa},set:function(a){this.rsa=a,this.qsa=10,D(this.ssa)&&(this.ssa=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"DisplayUnitLabel",{get:function(){return this.tsa},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"HasDisplayUnitLabel",{get:function(){return!D(this.ssa)&&this.ssa},set:function(a){this.ssa=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"HasMajorGridlines",{get:function(){return!!this.Usa},set:function(a){var b=this;a!==b.Usa&&(b.Usa=a,a&&D(b.Vsa)&&(b.Vsa=b.GetDefaultGridlines()))},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"HasMinorGridlines",{get:function(){return!!this.Zsa},set:function(a){var b=this;a!==b.Zsa&&(b.Zsa=a,a&&D(b.$sa)&&(b.$sa=b.GetDefaultGridlines()))},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"HasTitle",{get:function(){return this.ysa},set:function(a){this.ysa=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"LogBase",{get:function(){return this.osa},set:function(a){var b=this;if(a!==b.osa||!b.IsLogarithmic){if(a<2||a>1e3)throw Error("The LogBase must be in range of 2 and 1000!");b.Rsa=0,b.osa=a,b.UpdateAxisRulers()}},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"MajorGridlines",{get:function(){return this.Usa?this.Vsa:G},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"MinorGridlines",{get:function(){return this.Zsa?this.$sa:G},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Parent",{get:function(){return this.Dsa},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"ReversePlotOrder",{get:function(){return this.psa},set:function(a){this.psa=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"TickLabelPosition",{get:function(){return this.wsa},set:function(a){this.wsa=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"TickLabels",{get:function(){return this.Esa},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"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},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"TickLabelSpacingIsAuto",{get:function(){return this.vsa},set:function(a){this.vsa=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"MajorTickMark",{get:function(){return this.lsa},set:function(a){this.lsa=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"MinorTickMark",{get:function(){return this.msa},set:function(a){this.msa=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"TickMarkSpacing",{get:function(){return this.xsa},set:function(a){this.xsa=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Visible",{get:function(){return!this.Ysa},set:function(a){this.Ysa=!a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"NoMultiLvlLbl",{get:function(){return this.Asa},set:function(a){a!==this.NoMultiLvlLbl&&(this.Asa=a,0!==this.TickLabels.Offset||a||(this.TickLabels.Offset=100))},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Chart",{get:function(){return this.Parent.Parent},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"SeriesCollection",{get:function(){return this.Dsa.Parent.SeriesCollection},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"IsLogarithmic",{get:function(){return 0===this.Rsa},enumerable:!0,configurable:!0}),b.prototype.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},b.prototype.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=!k.IsSurfaceChart(a.Chart.ChartType),a.tsa=new N(a),a.Kb=a.GetDefaultFormat()},b.prototype.GetDefaultGridlines=function(){var a=new O(this),b=a.Format.Line;return b.Color.ObjectThemeColor=1,b.Weight=1,b.Color.Brightness=l.DefaultLineColorBrightness,a},b.prototype.GetDefaultTickLabels=function(){return new P(this)},b.prototype.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?G:d.TickLabels.NumberFormat)}return[]},b.prototype.UpdateAxisRulers=function(){var a=this;1===a.Nc?a.UpdateValueAxis():0===a.Nc&&(2===a.Tsa?a.UpdateCatAxisTimeScale():3===a.Tsa&&a.UpdateCatAxisValueScale())},b.prototype.UpdateValueScaleAxis=function(){this.UpdateValueAxisMinMax(),this.UpdateValueAxisMajorMinor()},b.prototype.UpdateValueAxis=function(){this.UpdateValueScaleAxis()},b.prototype.UpdateAxisForCatScale=function(){},b.prototype.UpdateCatAxisValueScale=function(){this.UpdateValueScaleAxis()},b.prototype.UpdateCatAxisTimeScale=function(){this.UpdateDateTimeAxisMinMax(),this.UpdateDateTimeAxisMajorMinorUnit()},b.prototype.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))},b.prototype.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,k.allSeriesIsScatterOrBubble(d.Chart)&&!d.IsLogarithmic&&(d.Gsa+=c)))},b.prototype.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))},b.prototype.CalcualteValueAxisTempMinMax=function(a,b){var c=this,d=c.GetInitialMinMax(a,b),e=d.initMin,f=d.initMax,g=m.CalculateValidMinimum(e,f,c.IsLogarithmic,c.LogBase,c.MinimumScaleIsAuto||a,c.MaximumScaleIsAuto||b),h=m.CalculateValidMaximum(e,f,c.IsLogarithmic,c.LogBase);return m.calcMinMax(g,h,c.IsLogarithmic,c.Dsa.Spa)},b.prototype.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}},b.prototype.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=m.CalculateMinimum2(e.Min,e.Max,f,d.IsLogarithmic,d.LogBase),h=m.CalculateMaximum2(e.Min,e.Max,f,d.IsLogarithmic,d.LogBase);return{Min:g,Max:h}},b.prototype.CalculateValueAxisMajorMinorUnit=function(a){var b,c,d=this;return D(a)&&(a=d.CalcualteValueAxisTempMinMax()),b=m.CalculateMajorUnit(a.Min,a.Max,d.MinorUnitIsAuto,d.MinorUnit,d.IsLogarithmic,d.LogBase),c=m.CalculateMinorUnit(a.Min,a.Max,b,d.IsLogarithmic),{Min:c,Max:b}},b.prototype.UpdateDateTimeAxisMajorMinorUnit=function(){var a,b,c,d,e,f,g,h=this;0===h.MinimumScale&&1===h.MaximumScale||(a=n.FromOADate(h.MinimumScale),b=n.FromOADate(h.MaximumScale),(h.Osa||h.Lsa)&&(c=h.SeriesCollection.GetMaxPointsCount(h.fsa),d={unitValue:0},e=h.CalculateTimeUnit(a,b,c,d),f=d.unitValue,h.Osa&&(h.Nsa=e),h.Lsa&&(h.Osa?(h.Qsa=e,h.Jsa=f):(1===h.Nsa&&7===f&&(f=1),h.Jsa=f,h.Qsa=h.Nsa))),h.Msa&&(g=h.Qsa,0===g?(h.Psa=0,h.Ksa=1):1===g?(h.Psa=1,h.Ksa=1):2===g&&(h.Psa=2,h.Ksa=1)))},b.prototype.CalculateTimeUnit=function(a,b,c,d){var e,f,g,h,i;for(a.getFullYear()!==b.getFullYear()?(f=u.years,e=1):a.getMonth()!==b.getMonth()?(f=u.months,e=12):(f=u.days,e=E),g=this.GetDateItemsCount(a,b,f,e);g<c;){if(f===u.years)f=u.months,e=12;else{if(f!==u.months){e=1;break}if(1===e){f=u.days,h=b.valueOf()-a.valueOf(),i=h/864e5,e=i>=F?E:1;break}e--}g=this.GetDateItemsCount(a,b,f,e)}return d.unitValue=e,f},b.prototype.GetDateItemsCount=function(a,b,c,d){var e,f,g;for(d=Math.floor(d),e=new Date(a.valueOf()),f=b,g=[];e<=f;)g.push(e),c===u.days?e.setDate(e.getDate()+d):c===u.months?e.setMonth(e.getMonth()+d):c===u.years&&e.setFullYear(e.getFullYear()+d);return g.length},b.prototype.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=k.GetDimensioin(c.InnerChartType),c.AxisGroup===this.fsa&&1===d)return c;return G},b.prototype.IsValueOrDateScaleAxis=function(){return this.IsValueScaleAxis()||this.IsTimeScale()},b.prototype.IsValueScaleAxis=function(){return 1===this.Nc||0===this.Nc&&3===this.Tsa},b.prototype.IsTimeScale=function(){return 0===this.Nc&&2===this.Tsa},b.prototype.GetCrosses=function(){return D(this.Wsa)?v.AxisCrossesAutomatic:this.Wsa},b.prototype.GetCustomCrossesAt=function(){var a=this,b=a.Crosses;if(b===v.AxisCrossesCustom)return a.Xsa||0},b.prototype.GetCrossesAt=function(){var a=this,b=0,c=a.Crosses;return c===v.AxisCrossesCustom?b=D(a.Xsa)?0:a.Xsa:c===v.AxisCrossesAutomatic?b=a.GetAutoCrossesAt():c===v.AxisCrossesMaximum?b=a.GetMaxCrossesAt():c===v.AxisCrossesMinimum&&(b=a.GetMinCrossesAt()),b},b.prototype.GetAutoCrossesAt=function(){var a=this;return a.Nc===r.Category?a.Tsa===s.CategoryScale?1:a.fsa===w.primary?a.MinimumScale:a.MaximumScale:a.IsValueOrDateScaleAxis()&&a.IsLogarithmic?1:0},b.prototype.GetMinCrossesAt=function(){var a=this;return a.IsValueOrDateScaleAxis()?a.MinimumScale:a.Nc===r.Category?a.Tsa===s.CategoryScale?1:a.MinimumScale:0},b.prototype.GetMaxCrossesAt=function(){var a=this;return a.IsValueOrDateScaleAxis()?a.MaximumScale:a.Nc===r.Category?a.Tsa===s.CategoryScale?a.CategoryNames.length:a.MaximumScale:0},b.prototype.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]},b.prototype.GetActualDispUnit=function(){var a=this;return 10===a.DisplayUnit?a.DisplayUnitCustom:i.DisplayUnitInternal[a.DisplayUnit]},b.prototype.HasTwoDimensionSers=function(){var a,b,c,d=this.SeriesCollection.GetSers(!1,this.fsa);for(a=0,b=d;a<b.length;a++)if(c=b[a],k.GetDimensioin(c.InnerChartType)>1)return!0;return!1},b.prototype.ResetOnChartTypeChanged=function(){this.Bsa=G},b.prototype.CreateFormat=function(){return new d.ChartFormat(this.Dsa.Parent,G,G,this.AutoLineColorFormat.bind(this))},b.prototype.GetDefaultFormat=function(){var b=a.prototype.GetDefaultFormat.call(this),c=this.Dsa.Parent.ChartType;return(k.IsSurfaceChart(c)||5===c)&&(b.Line.Weight=1),this.InitAutoLineColor(c,b.Line.Color),k.IsRadarChart(c)&&1===this.Nc&&b.Line.Color.setColor(G,"rgba(0,0,0,0)"),b},b.prototype.InitAutoLineColor=function(a,b){var c=l.DefaultLineColorBrightness;b.ObjectThemeColor=x.DK1,b.Brightness=c},b.prototype.AutoLineColorFormat=function(){var a=this.Dsa.Parent.ChartType,b=new p(this.Dsa.Parent);return this.InitAutoLineColor(a,b),b},b.prototype.EnsureAxisType=function(a){if(this.Nc!==a)throw Error()},b.prototype.EnsureAxisCatType=function(a){if(this.Tsa!==a)throw Error()},b.prototype.EnsureNotAxisType=function(a){if(this.Nc===a)throw Error()},b.prototype.EnsureNotAxisCatType=function(a){if(this.Tsa===a)throw Error()},b.prototype.UpdateCategoryType=function(a){this.Ssa=a,this.Tsa=a},b.prototype.From2016ChartOOModel=function(a){var b,c=this;c.Chart.SuspendElementChanged(),c.Bsa=a,D(a.catScaling)||D(a.catScaling.gapWidth)||(c.gapWidth=a.catScaling.gapWidth),D(a.valScaling)||c.FromCT_ValueAxisScaling(a.valScaling),D(a.title)||(c.zsa.FromOOModel(a.title),c.ysa=!0),D(a.units)||(c.tsa.From2016ChartOOModel(a.units),c.HasDisplayUnitLabel=!0),D(a.majorGridlines)?c.HasMajorGridlines=!1:(c.HasMajorGridlines=!0,c.Vsa.FromOOModel(a.majorGridlines)),D(a.minorGridlines)?c.HasMinorGridlines=!1:(c.HasMinorGridlines=!0,c.$sa.FromOOModel(a.minorGridlines)),D(a.majorTickMarks)?c.MajorTickMark=3:c.MajorTickMark=a.majorTickMarks,D(a.minorTickMarks)||(c.MinorTickMark=a.minorTickMarks),!D(a.tickLabels)&&!D(a.tickLabels.extLst)&&a.tickLabels.extLst.length>0&&(c.Wkb=a.tickLabels.extLst),b={},b.CT_TextBody=a.txPr,b.CT_NumFmt=a.numFmt,c.Esa.FromOOModel(b),D(a.spPr)||c.FromShapeProperties(a.spPr),D(a.extLst)||(c.Xkb=a.extLst),D(a.id)||(c.yn=a.id),D(a.hidden)||(c._hidden=a.hidden),c.Chart.ResumeElementChanged()},b.prototype.To2016ChartOOModel=function(){var b,c=this,d={};return D(c.gapWidth)||(d.catScaling={gapWidth:c.gapWidth}),c.NeedToCT_ValueAxisScaling()&&(d.valScaling=c.ToCT_ValueAxisScaling()),c.ysa&&(d.title=c.zsa.ToOOModel()),c.HasDisplayUnitLabel&&!D(c.tsa)&&(d.units=c.tsa.To2016ChartOOModel()),c.HasMajorGridlines&&!D(c.Vsa)&&(d.majorGridlines=c.Vsa.ToOOModel()),c.HasMinorGridlines&&!D(c.$sa)&&(d.minorGridlines=c.$sa.ToOOModel()),d.majorTickMarks=c.MajorTickMark,d.minorTickMarks=c.MinorTickMark,!D(c.Wkb)&&c.Wkb.length>0&&(d.tickLabels={extLst:c.Wkb}),D(c.TickLabels)||(b=c.Esa.ToOOModel(),0===c.Chart.SeriesCollection.Count?d.numFmt=G:d.numFmt=b.CT_NumFmt,d.txPr=b.CT_TextBody),d.spPr=a.prototype.ToShapeProperties.call(c),D(c.Xkb)||(d.extLst=c.Xkb),D(c.yn)||(d.id=c.yn),D(c._hidden)||(d.hidden=c._hidden),d},b.prototype.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()},b.prototype.ToOOModel=function(){var a,b=this,c=G,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},b.prototype.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=G:c.tickLblSkip=a.TickLabelSpacing,c.lblOffset=a.TickLabels.Offset,c.tickMarkSkip=a.TickMarkSpacing,c.noMultiLvlLbl=a.NoMultiLvlLbl,c},b.prototype.FromCT_CatAx=function(a){var b=this;(D(a.auto)||1!==b.ActualCategoryType)&&b.UpdateCategoryType(1),b.FromCT_AxBase(a),D(a.tickLblSkip)?b.vsa=!0:(b.usa=a.tickLblSkip,b.vsa=!1),D(a.lblOffset)||(b.Esa.Offset=a.lblOffset),D(a.tickMarkSkip)||(b.xsa=a.tickMarkSkip)},b.prototype.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.dispUnits=null,c},b.prototype.FromCT_ValAx=function(a){var b=this;b.FromCT_AxBase(a),D(a.majorUnit)?b.Lsa=!0:(b.Jsa=a.majorUnit,b.Lsa=!1),D(a.minorUnit)?b.Msa=!0:(b.Ksa=a.minorUnit,b.Msa=!1),b.tsa.FromOOModel(a.dispUnits)},b.prototype.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},b.prototype.FromCT_DateAx=function(a){var b=this;(D(a.auto)||2!==b.ActualCategoryType)&&b.UpdateCategoryType(2),b.FromCT_AxBase(a),D(a.majorUnit)?b.Lsa=!0:(b.Jsa=a.majorUnit,b.Lsa=!1),D(a.minorUnit)?b.Msa=!0:(b.Ksa=a.minorUnit,b.Msa=!1),D(a.baseTimeUnit)?b.Osa=!0:(b.Nsa=a.baseTimeUnit,b.Osa=!1),D(a.majorTimeUnit)||(b.Qsa=a.majorTimeUnit),D(a.minorTimeUnit)||(b.Psa=a.minorTimeUnit),D(a.lblOffset)||(b.Esa.Offset=a.lblOffset)},b.prototype.ToCT_SerAx=function(){var a=this,b=a.Bsa||{axisType:2};return a.ToCT_AxBase(b),a.TickLabelSpacingIsAuto?b.tickLblSkip=G:b.tickLblSkip=a.TickLabelSpacing,b.tickMarkSkip=a.TickMarkSpacing,b},b.prototype.FromCT_SerAx=function(a){var b=this;b.FromCT_AxBase(a),D(a.tickLblSkip)?b.vsa=!0:(b.usa=a.tickLblSkip,b.vsa=!1),D(a.tickMarkSkip)||(b.xsa=a.tickMarkSkip)},b.prototype.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),D(d.TickLabels)||(c=d.Esa.ToOOModel(),0===d.Chart.SeriesCollection.Count?b.numFmt=G:b.numFmt=c.CT_NumFmt,b.txPr=c.CT_TextBody),d.HasMajorGridlines&&!D(d.Vsa)&&(b.majorGridlines=d.Vsa.ToOOModel()),d.HasMinorGridlines&&!D(d.$sa)&&(b.minorGridlines=d.$sa.ToOOModel()),d.ysa&&(b.title=d.zsa.ToOOModel())},b.prototype.FromCT_AxBase=function(a){var b,c=this;D(a.delete)?1===c.fsa&&(c.Ysa=!1):c.Ysa=a.delete,D(a.majorTickMark)?c.MajorTickMark=0:c.MajorTickMark=a.majorTickMark,D(a.minorTickMark)?c.MinorTickMark=0:c.MinorTickMark=a.minorTickMark,D(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),D(a.majorGridlines)?c.HasMajorGridlines=!1:(c.HasMajorGridlines=!0,c.Vsa.FromOOModel(a.majorGridlines)),D(a.minorGridlines)?c.HasMinorGridlines=!1:(c.HasMinorGridlines=!0,c.$sa.FromOOModel(a.minorGridlines)),D(a.title)||(c.zsa.FromOOModel(a.title),c.ysa=!0)},b.prototype.GetAxisPostion=function(){var a=this.GetAxPos(),b={0:"bottom",3:"top",1:"left",2:"right"};return b[a]},b.prototype.GetAxPos=function(){var a=this;return a.Bsa&&!D(a.Bsa.axPos)?a.Bsa.axPos:a.Type===r.Category?k.IsBarChart(a.Chart.ChartType)?this.AxisGroup===w.primary?y.l:y.r:this.AxisGroup===w.primary?y.b:y.t:a.Type===r.Value?this.AxisGroup===w.primary?y.l:y.r:y.b},b.prototype.ToCT_Scaling=function(){var a=this,b=a.Bsa,c=b&&!D(b.scaling)?b.scaling:{};return c.orientation=a.ReversePlotOrder?z.maxMin:z.minMax,a.IsValueOrDateScaleAxis()&&(a.MinimumScaleIsAuto||(c.min=a.MinimumScale),a.MaximumScaleIsAuto||(c.max=a.MaximumScale),a.ScaleType===t.ScaleLogarithmic?c.logBase=a.LogBase:delete c.logBase),c},b.prototype.FromCT_Scaling=function(a){if(a){var b=this;D(a.orientation)||(b.ReversePlotOrder=a.orientation===z.maxMin),D(a.min)?b.Hsa=!0:(b.Fsa=a.min,b.Hsa=!1),
- D(a.max)?b.Isa=!0:(b.Gsa=a.max,b.Isa=!1),D(a.logBase)?b.Rsa=t.ScaleLinear:(b.osa=a.logBase,b.Rsa=t.ScaleLogarithmic)}},b.prototype.NeedToCT_ValueAxisScaling=function(){var a=this;return!(D(a.KPa)&&D(a.LPa)&&D(a.Jsa)&&D(a.Ksa))},b.prototype.ToCT_ValueAxisScaling=function(){var a=this,b={};return D(a.Fsa)||a.Hsa!==!1||(b.min=a.Fsa),D(a.Gsa)||a.Isa!==!1||(b.max=a.Gsa),D(a.Jsa)||a.Lsa!==!1||(b.majorUnit=a.Jsa),D(a.Ksa)||a.Msa!==!1||(b.minorUnit=a.Ksa),b},b.prototype.FromCT_ValueAxisScaling=function(a){if(a){var b=this;D(a.min)?b.Hsa=!0:(b.Fsa=a.min,b.Hsa=!1),D(a.max)?b.Isa=!0:(b.Gsa=a.max,b.Isa=!1),D(a.majorUnit)||(b.Jsa=a.majorUnit),D(a.minorUnit)||(b.Ksa=a.minorUnit)}},b.prototype.GetCrossAtAx=function(){var a=this;return 0===a.Nc?a.Dsa.Item(1,a.fsa):a.Dsa.Item(0,a.fsa)},b.prototype.GetAxisId=function(){return D(this.Csa)&&(this.Csa=m.GenerateAxisId()),this.Csa},b.prototype._sa=function(a){var b=this;return a&&D(b.Vsa)&&(b.Vsa=b.GetDefaultGridlines()),b.Vsa},b.prototype.ata=function(a){var b=this;return a&&D(b.$sa)&&(b.$sa=b.GetDefaultGridlines()),b.$sa},b.prototype.ZOa=function(){var a=this.Tsa;return 0!==this.Nc||2===a||3===a},b.prototype.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)},b}(o),b.Axis=Q,R=function(){function a(a){this.Dsa=[],this.Spa=a}return Object.defineProperty(a.prototype,"Parent",{get:function(){return this.Spa},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"Count",{get:function(){return this.Dsa.length},enumerable:!0,configurable:!0}),a.prototype.Item=function(a,b){return b===H&&(b=w.primary),this.GetAxis(a,b)},a.prototype.GetAxis=function(a,b){var c,d,e,f,g=this.Dsa;for(c=0,d=g;c<d.length;c++)if(e=d[c],f=e,f.Type===a&&f.AxisGroup===b)return f;return G},a.prototype.Add=function(a,b){var c,d,e,f,g,h;for(b===H&&(b=w.primary),c=this.Dsa,d=0,e=c;d<e.length;d++)if(f=e[d],g=f,a===g.Type&&b===g.AxisGroup)throw Error("Can not add same type of axis many times!");return h=new Q(this,a,b),this.Dsa.push(h),h},a.prototype.Remove=function(a,b){var c,d,e,f,g,h,i;for(b===H&&(b=w.primary),c=G,d=this.Dsa,e=0,f=d;e<f.length;e++)if(g=f[e],h=g,h.Type===a&&h.AxisGroup===b){c=h;break}return D(c)?G:(i=this.Dsa.indexOf(c),this.Dsa.splice(i,1),c)},a.prototype.Restore2016ChartAxes=function(a){var b,c,d,e,f,g,h,i,j=V(a.axes),k=W(a.axes),l=X(a.plotAreaRegion.series);for(d=0,e=k;d<e.length;d++)f=e[d],f.id===l?c=f:b=f;j&&j.length>0&&(g=this.GetAxis(0,0),g.From2016ChartOOModel(j[0])),k&&k.length>0&&(b&&(h=this.GetAxis(1,0),h.From2016ChartOOModel(b)),c&&(i=this.GetAxis(1,1),i.From2016ChartOOModel(c)))},a.prototype.RestoreAxes=function(a){var b,c;this.RestoreGroupAxes(a,w.primary),this.RestoreGroupAxes(a,w.secondary),b=k.GetAxes(a,2),b&&b.length>0&&(c=this.GetAxis(r.SeriesAxis,w.primary),c&&c.FromOOModel(b[0]))},a.prototype.RestoreGroupAxes=function(a,b){var c,d,e,f=k.GetAxises(a,b),g=k.GetCategoryAxises(a),h=a.axes,i=T(h,f,g,A.CT_CatAx),j=T(h,f,g,A.CT_ValAx),l=T(h,f,g,A.CT_DateAx),m=G,n=this.GetAxis(r.Category,b);i&&(n&&n.FromOOModel(i),m=U(h,i)),j&&(n&&n.ActualCategoryType===s.ValueScale&&n.FromOOModel(j),m=U(h,j)),l&&(n&&n.FromOOModel(l),m=U(h,l)),m&&(n&&(D(m.crosses)?D(m.crossesAt)||(n.CrossesAt=m.crossesAt):n.Crosses=m.crosses,D(m.crossBetween)||(n.AxisBetweenCategories=m.crossBetween===B.between)),c=this.GetAxis(r.Value,b),c&&(c.FromOOModel(m),d=G,e=G,i?(d=i.crosses,e=i.crossesAt):l?(d=l.crosses,e=l.crossesAt):j&&(d=j.crosses,e=j.crossesAt),D(d)?D(e)||(c.CrossesAt=e):c.Crosses=d))},a.prototype.ResetOnChartTypeChanged=function(){var a,b,c,d=this.Dsa;for(a=0,b=d;a<b.length;a++)c=b[a],c.ResetOnChartTypeChanged()},a.prototype.RVa=function(a){var b=this.Parent.Parent;b.RVa("axes",a)},a}(),b.Axes=R;function T(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 U(a,b){return a.filter(function(a){return 3===a.axisType&&a.axId===b.crossAx})[0]}function V(a){return a.filter(function(a){return a.catScaling})}function W(a){return a.filter(function(a){return a.valScaling})}function X(a){var b,c,d;for(b=0,c=a;b<c.length;b++)if(d=c[b],18===d.layoutId)return d.axisId[0].val;return null}},"./dist/plugins/chart/chart-dv.js":function(a,b,c){"use strict";var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,$,_,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,Ga,Ha,Ia,Ja,Ka,La,Ma,Na,Oa,Pa,Qa,Ra,Sa,Ta,Ua;Object.defineProperty(b,"__esModule",{value:!0}),d=c("Common"),e=c("FloatingObject"),f=c("Core"),g=c("./node_modules/util/util.js"),h=e.Drawing.ChartType,i=d.Common.j,j=e.Drawing.DateTimeExtension,k=e.Drawing.UnitHelper,l=e.Drawing.CategoryType,m=e.Drawing.ChartUtility,n=d.Formatter.GeneralFormatter,o=i.za,p=k.isNullOrUndefined,q=d.Common.pc,r=f.GC$,s=m.colorFormatToString,t=m.getTransparencyFromColorFormat,u=m.IsStockChart,v=m.IsScatterChart,w=m.IsSunburstChart,x=m.IsSunburstOrTreemapChart,y=m.IsBarChart,z=m.IsPieChart,A=m.IsRadarChart,B=m.IsLineChart,C=m.IsColumnChart,D=m.IsAreaChart,E=m.IsBubbleChart,F=m.getLineFormatInfo,G="x",H="value",I="color",J="bubbleSizeField",K="name",L="Candlestick",M="HighLowOpenClose",N=null,O=void 0,P="Bar",Q="Line",R="Area",S="Scatter",T="Stack",U="Spline",V="Radial",W="Polygonal",X="TreeMap",Y="Radar",Z="Sunburst",$="value",_="treeMapCat",aa="treeMapSubCat",ba="level",ca='Series "{',da=2,ea='.value}" Point "{',fa="yyyy-MM-dd",ga=[{mode:"Point",duration:1e3,easing:"Linear",startDelay:0,staggering:!0},{mode:"Point",duration:500,easing:"Linear"},{duration:100,scale:2}],ha=[{mode:"Point",duration:1e3,easing:"Linear",startDelay:0,staggering:!1},{mode:"Point",duration:500,easing:"Linear"},{duration:100,scale:1.2}],ia=[{mode:"All",duration:1e3,easing:"Linear",startDelay:0},{mode:"All",duration:500,easing:"Linear"},{duration:100,scale:1.1}],ja="ErrorBar",ka={0:"Horizontal",1:"Vertical"},la={0:"Both",1:"Minus",2:"Plus"},ma={0:"Custom",1:"Fixed",2:"Percentage",3:"StandardDeviation",4:"StandardError"},na="Group",oa={2:"None",3:"Outside",1:"Inside",0:"Cross"},pa={bottom:"Near",top:"Far",left:"Near",right:"Far"},qa={bottom:"top",top:"bottom",left:"right",right:"left"},ra={0:"Day",1:"Month",2:"Year"},sa={0:1,1:30,2:365},ta={0:"",1:"2"},ua={49:["high","low","close"],50:["open","high","low","close"],51:["volume","high","low","close"],52:["volume","open","high","low","close"]},function(a){a[a.secondaryLine=1]="secondaryLine",a[a.primaryLine=2]="primaryLine",a[a.secondaryOther=11]="secondaryOther",a[a.primaryOther=12]="primaryOther",a[a.secondaryArea=21]="secondaryArea",a[a.primaryArea=22]="primaryArea"}(va=b.PaintPriority||(b.PaintPriority={})),wa={0:"Connected",1:"Gaps",2:"Zeros"},xa={0:"Dot",1:"Dash",2:"Diamond",3:"ShortDash",4:"None",5:"Dot",6:"Plus",7:"Box",8:"Star",9:"Triangle",10:"X"};function Va(a,b){var c,d,e,f,g,h,i,j,k,l,n,o;if(a.length>1)for(c=void 0,d=void 0,e=0,f=a;e<f.length;e++)g=f[e],h=g[0],c?(i=!1,j=m.IsScatterChart(h.ChartType),j&&(k=m.AreAllNumbers(c,!0),l=m.AreAllNumbers(h.lua,!0),i=k&&l),n=pc(c,h.XValues),o=pc(d,h.lua),n=n||v&&pc(d,h.lua),n||o||i||b.push(g[1])):h.XValuesIsAuto()||(c=h.XValues,d=h.lua)}function Wa(a){var b,c,d,e,f=[],g=[],h=a.length;for(b=0;b<h;b++)c=a[b],0===c.AxisGroup?f.push([c,b]):g.push([c,b]);for(d=[],Va(f,d),Va(g,d),e=[],h=a.length,b=0;b<h;b++)d.indexOf(b)<0&&e.push(a[b]);return e}function Xa(a){for(var b=0,c=a.length;b<c;b++)if(!a[b].IsHidden)return a[b]}function Ya(a,b){return"number"!=typeof a||"number"!=typeof b?a:0===a?0:1===b?a:Math.max(1,parseInt(a*b,10))}function Za(a){var b=a.SeriesCollection.AllSers;return m.IsPieChart(a.ChartType)&&b.length>0?b=[Xa(b)||b[0]]:0===a.ChartType&&(b=Wa(b)),b}function $a(a,b){var c,d=a.Name,e=d;return d?b&&(e=_a(b,d)):(c=a.SeriesCollection.IndexOfSource(a),e=m.IsPieOrDoughnutChart(a.ChartType)?""+(c+1):"Series"+(c+1)),e}function _a(a,b){var c,d=b,e=a[b];if(e>0){for(c=0;c<e;c++)d+=" ";a[b]++}else a[b]=1;return d}function ab(a,b){var c,d,e,f,g;return 4!==a.MarkerStyle?(c={},d=a.MarkerFormat,c.symbolFill=a.getMarkerFillColor(b,!0),c.symbolStroke=s(d.Line,b,!0),e=1===a.ChartType,f=void 0,f=e?d.Line.Weight:a.getMarkerBorderLineWidth(),f>=0?c.symbolStrokeWidth=f:"transparent"===c.symbolFill&&"transparent"!==c.symbolStroke||(c.symbolStrokeWidth=0),g=6===a.MarkerStyle||8===a.MarkerStyle||10===a.MarkerStyle,g&&1===d.Fill.Color.ColorType&&(c.symbolFill="transparent"),c):N}function bb(a,b,c){return m.IsPieOrDoughnutChart(a.ChartType)?F(a.Points.Get(0),b,c):F(a,b,c)}function cb(a,b,c){var d,e,f,g=a.ChartType;switch(g){case 13:case 16:case 14:case 17:d={type:P,group:T};break;case 19:case 22:case 20:case 23:d={type:P,swapAxes:!0,group:T};break;case 18:case 21:d={type:P,swapAxes:!0};break;case 9:case 5:case 36:d={type:Q};break;case 26:case 35:d={type:Q,symbols:!0};break;case 24:case 25:d={type:Q,group:T};break;case 27:case 28:d={type:Q,group:T,symbols:!0};break;case 8:case 7:d={type:R};break;case 37:case 39:case 38:case 40:d={type:R,group:T};break;case 1:d={type:S};break;case 33:d={type:Q,symbols:!0,lineAspect:U};break;case 34:d={type:Q,lineAspect:U};break;case 11:case 48:d={type:S,size:!0};break;case 10:case 4:case 30:case 31:case 29:case 32:d={type:P,radial:!0,group:T};break;case 3:case 41:d={type:P,radial:!0,group:T,doughnut:!0};break;case 57:d={type:Z};break;case 58:d={type:X};break;case 2:d={type:Y,swapAxes:!0,radar:!0};break;case 43:d={type:Y,radar:!0,swapAxes:!0,area:!0};break;case 42:d={type:Y,radar:!0,swapAxes:!0,marker:!0,symbols:!0};break;default:d={type:P}}return 52===b?c?(d.stock=!0,d.stockType=2):9===g&&(d={type:L,stockType:0}):51===b?c?(d.stock=!0,d.stockType=2):9===g&&(d={type:M,stockType:1}):50===b?d={type:L,stockType:0}:49===b&&(d={type:M,stockType:1}),e=a.XValuesIsAuto(),f=m.IsScatterChart(g)||m.IsBubbleChart(g),f&&(d.scatter=!0,e&&(d.needXNames=!0)),d}function db(a,b,c){return a instanceof Date?b?new n(fa).format(a):c?j.ToOADate(a):a:a&&a._error?null:a}function eb(a,b,c,d){var e;return e=a?a[b]:c?b+1+"":b+1,db(e,!1,d)}function fb(a,b,c,d,e,f,g,h,i,j,k,l){var m,n,o,q,r,s,t,u,v,w={},x=a.radial,y={},z=a.type===P&&a.swapAxes===!0,A=a.scatter===!0,B=d[e];if(x&&p(B)&&(B=0,m=!0),j&&p(B)&&(B=0),w[g]=db(B),y[g]=db(B),x===!0){if(w[f]=b,n=eb(c,e,z),m&&p(n))return N;w[h]="number"==typeof n?""+n:n}else{if(o=void 0,q=!0,l&&k>0){if(r=0,c){if(r=c.length/k,o=eb(c,e*r,z,A),(p(B)||j&&p(B))&&p(o))return N;if(y[f]=o,s=e,""===o.split(" ").join(""))for(;s>0&&""===o.split(" ").join("");)s-=1,o=c[s*r];else q=!1;w[f]=o}for(t=2;t<=r;t++){if(u=c[t-1+r*e],s=e,y[""+f+t]=u,""===u.split(" ").join(""))for(;s>0&&""===u.split(" ").join("");)s-=1,u=c[t-1+s*r];else q=!1;w[""+f+t]=u}q&&(w=y)}else o=eb(c,e,z,A),w[f]=o;w[h]=b,i&&(v=i.names,w[K]=(v&&v[e]||o)+"")}return w}function gb(a){return oa[a]}function hb(a,b,c,d,e,f){var g,h,i,j=a.AxisTitle;if(j)return g=j.Font.Size*d,h=void 0,b&&(h=g+""),i={color:s(j.Font,c,e,f),fontFamily:j.Font.Name,fontSize:h||g},e||(i.transparency=t(j.Font)),i}function ib(a){var b,c,d;return a.Visible===!0&&(c=a.GetAxisPostion(),d=a.TickLabelPosition,0===d&&0===a.AxisGroup?c=qa[c]:1===d&&1===a.AxisGroup&&(c=qa[c]),b=pa[c]),b||"None"}function jb(a){var b={majorGrid:!!a.MajorGridlines,minorGrid:!!a.MinorGridlines},c=kb(F(a.MajorGridlines,!1,!0));return c&&(b.majorGridStyle=c),c=kb(F(a.MinorGridlines,!1,!0)),c&&(b.minorGridStyle=c),b}function kb(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 lb(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 mb(a){return a.TickLabels&&a.TickLabels.Qpa&&a.TickLabels.Qpa.TextBody&&a.TickLabels.Qpa.TextBody.Rotation}function nb(a,b,c,d){var e,f,g,h,i,k,l,m,n,o,q,r,u,v,w,x={visible:a.Visible,tickLabelPosition:3===a.TickLabelPosition?3:2,format:a.TickLabels.NumberFormat,majorTickPosition:a.MajorTickMark,minorTickPosition:a.MinorTickMark},y=a.MajorGridlines,z=F(y,!0,b)||{};return z.visible=!!y,x.majorGridLine=z,e=a.IsTimeScale(),f=a.MinorGridlines,g=F(f,!0,b)||{},g.visible=!!f,x.minorGridLine=g,h=hb(a,!1,!0,1,b,c)||{},h.text=a.AxisTitle?a.AxisTitle.Text:"",x.title=h,(d||e&&!a.BaseUnitIsAuto)&&(x.baseUnit=a.BaseUnit),!d&&a.MajorUnitIsAuto||(x.majorUnit=a.MajorUnit,e&&(x.majorUnitScale=a.MajorUnitScale)),!d&&a.MinorUnitIsAuto||(x.minorUnit=a.MinorUnit,e&&(x.minorUnitScale=a.MinorUnitScale)),a.IsValueOrDateScaleAxis()&&(i=a.MinimumScale,k=a.MaximumScale,a.IsTimeScale()?(i=j.FromOADate(i),k=j.FromOADate(k)):xb(a.Chart,a.AxisGroup)&&(l=lb(a),i=l.min,k=l.max,x.format&&!a.TickLabels.NumberFormatLinked||(x.format="0%")),!d&&a.MinimumScaleIsAuto||(x.min=i),!d&&a.MaximumScaleIsAuto||(x.max=k)),m=a.TickLabels.Font,m&&(x.style={color:s(m,!0,b,c),fontFamily:m.Name,fontSize:m.Size},b||(x.style.transparency=t(m))),n=F(a,!0,b,c),n&&(o="transparent",(n.color||""===n.color&&c)&&(o=n.color),x.lineStyle={color:o,width:p(n.width)?1:n.width},b||(x.lineStyle.transparency=n.transparency)),0===a.Type&&(x.categoryType=a.ActualCategoryType),q=mb(a),p(q)||(x.labelAngle=q),r=a.IsLogarithmic&&"number"==typeof a.LogBase&&a.LogBase>=2,r&&(p(x.scaling)&&(x.scaling={}),x.scaling.logBase=a.LogBase),u=9!==a.DisplayUnit,u&&(v={},v.unit=a.GetActualDispUnit(),v.visible=a.HasDisplayUnitLabel,w=a.DisplayUnitLabel.Font,w&&(v.style={color:s(w,!0,b,c),fontFamily:w.Name,fontSize:w.Size},b||(v.style.transparency=t(w))),x.displayUnit=v),x}b.getAxisProperties=nb;function ob(a){return ra[a]}function pb(a,b){var c=!1;return(a||m.IsBubbleChart(b)||m.IsScatterChart(b))&&(c=!0),c}function qb(a){var b,c=a.AllSers;for(b=0;b<c.length;b++)if(!p(c[b].getTrendlines()))return!0}function rb(a,b){var c,d,e,f,g=a.AllSers,h=0;for(c=0;c<g.length;c++)if(!p(g[c].getTrendlines()))for(d=g[c].getTrendlines(),e=0;e<d.length;e++)f=d[e],h=Math.max(h,b?f.forward:f.backward);return h}!function(a){a[a.positive=0]="positive",a[a.negative=1]="negative",a[a.zero=2]="zero"}(ya||(ya={}));function sb(a){var b,c,d,e,f,g,h=[],i=new n(a).formatters;return 0===i.length?h:(b=i[0],c=i[1],d=i[2],e=ub(b,0),f=ub(c,1),g=ub(d,2),b&&(d||(g=ub(b,2),c||(f=ub(b,1)))),e&&h.push(e),f&&h.push(f),g&&h.push(g),h)}function tb(a){var b;switch(a){case 0:b="current.value > 0";break;case 1:b="current.value < 0";break;case 2:b="current.value = 0"}return b}function ub(a,b){var c,d,e,f="Label",g="Label",h="textStyle.color";if(a&&a.colorFormatPart){if(d=a.colorFormatPart.foreColor,p(d))return;e=tb(b),c={condition:e,type:f,actions:[{targetElement:g,properties:[{name:h,value:d}]}]}}return c}function vb(a,b){var c={};return c.text=a.Text,c.textStyle=Fb(a.Font,b),c}function wb(a,b,c,d,e,f,h,i){var k,l,m,n,o,q,r,t,x,y,z,A,B,C,D,G,H,I,J,K,L,M,N,O,P,Q=a.Chart.SeriesCollection,R=ib(a),S=jb(a),T=a.Chart.ChartType,U=u(T),V=v(T),W=E(T),X={},Y="Y"===b,Z=Y&&d,$={formatter:a.TickLabels.NumberFormat};return"X"===b?h?(X.left=5,X.right=5):(X.bottom=5,X.top=5):h?(X.bottom=5,X.top=5):(X.left=5,X.right=5),k=qb(a.Chart.lta),l=Q.HasErrorBars,m={plots:c,type:b,majorTicks:gb(a.MajorTickMark),minorTicks:gb(a.MinorTickMark),majorGrid:S.majorGrid,minorGrid:S.minorGrid,title:a.AxisTitle?a.AxisTitle.Text:"",titleStyle:hb(a,!0,!1,f,!0),position:R,labelStyle:{padding:X}},"General"!==$.formatter&&(V||W||Y)&&(m.rules=sb($.formatter)),n=a.DisplayUnit,9!==n&&(o=a.HasDisplayUnitLabel,o&&(q=a.DisplayUnitLabel,m.unitLabel=vb(q,f)),r=a.GetValuesFromDispUnit(n),g.isNumber(r)&&($.displayUnitValue=r)),m.format=JSON.stringify($),3===a.TickLabelPosition&&(m.labels=!1),t=a.IsTimeScale(),x=a.MajorUnitIsAuto?a.BaseUnit:a.MajorUnitScale,y=a.MinorUnitIsAuto?a.BaseUnit:a.MinorUnitScale,z=t?ob(x):1,A=t?ob(y):1,t?(m.dateMode=ob(a.BaseUnit),m.majorUnit={value:a.MajorUnit,dateMode:z},m.minorUnit={value:a.MinorUnit,dateMode:A}):(a.MajorUnitIsAuto||(m.majorUnit=a.MajorUnit*z,m.overlappingLabels="Show"),B=a.MinorUnit*A,a.MinorUnitIsAuto||(m.minorUnit=B)),i&&(t?m.axisPadding=432e5*sa[x]:a.IsValueScaleAxis()&&(m.axisPadding=.5)),C=Y&&U,D=Bc(a.Chart),C?(m.max=a.MaximumScale,m.min=a.MinimumScale):(G=e&&!Z,a.MaximumScaleIsAuto&&!G||(H=a.MaximumScale,t?(I=j.FromOADate(H),m.max=I,U&&(m.max=I.valueOf())):m.max=H),k&&a.MaximumScaleIsAuto&&!p(m.max)&&delete m.max,a.MinimumScaleIsAuto&&!G||(J=a.MinimumScale,t?(K=j.FromOADate(J),m.min=K,U&&(m.min=K.valueOf())):m.min=J),k&&a.MinimumScaleIsAuto&&!p(m.min)&&delete m.min),!Z&&pb(Y,T)&&0===a.ScaleType&&(m.scale={type:"Logarithmic"},m.logBase=a.LogBase,a.MaximumScaleIsAuto&&delete m.max,a.MinimumScaleIsAuto&&delete m.min),Z&&e&&(L=lb(a),m.min=L.min,m.max=L.max,m.format&&!a.TickLabels.NumberFormatLinked||(m.format="0%"),m.scale={type:"Percentage"}),M=S.majorGridStyle,M&&(m.majorGridStyle=M),M=S.minorGridStyle,M&&(m.minorGridStyle=M),N=a.TickLabels.Font,N&&(m.textStyle={color:s(N,!1,!0),fontFamily:N.Name},N.Size&&(m.textStyle.fontSize=N.Size*f+"")),O=F(a,!1,!0),O&&(m.lineStyle={stroke:O.color||"transparent",strokeWidth:p(O.width)?1:O.width},D&&(m.lineStyle.strokeWidth=0)),P=mb(a),p(P)||(P===-90&&(P=-89),m.labelAngle=P),l&&a.MaximumScaleIsAuto&&!p(m.max)&&delete m.max,l&&a.MinimumScaleIsAuto&&!p(m.min)&&delete m.min,w(a.Chart.ChartType)&&(m.position="None",delete m.max,delete m.min),m}function xb(a,b,c){c||(c=Za(a));var d,e,f;for(d=0;d<c.length;d++)if(e=c[d],f=e.ChartType,e.AxisGroup===b&&m.IsStacked100Chart(f))return!0;return!1}b.isPercentageScaleType=xb;function yb(a,b,c,d,e){var f,g,h,i={},j=a.ChartFormat;return j&&(d?i.style={backgroundColor:s(j.Fill,b,d,e)}:i.style={backgroundColor:s(j.Fill,b,!1,e),transparency:t(j.Fill)}),f=a.Font,f&&(g=i.textStyle={},d?g.color=s(f,b,d,e):(g.color=s(f,b,d,e),g.transparency=t(f)),g.fontFamily=f.Name,h=f.Size,h>0&&(g.fontSize=h*c+"")),i}b.getChartAreaStyle=yb;function zb(a,b){var c,d,e,f,g=a.Format.Line;return g.Color&&0===g.Color.ColorType?N:(c={},d=s(g,!1,!0),d&&(c.stroke=d),e=g.Weight>=0?g.Weight:1,c.strokeWidth=Ya(e,b),f=Ab(g),f&&(c.strokeDasharray=f),c)}function Ab(a){var b=a.Weight>0?a.Weight:1,c=a.DashStyle;return Bb(b,c)}b.getLineDashArrayWithLineFormat=Ab;function Bb(a,b){var c;switch(b){case 1:c=a+","+3*a;break;case 2:c=4*a+","+3*a;break;case 3:c=8*a+","+3*a;break;case 4:c=4*a+","+3*a+","+a+","+3*a;break;case 5:c=8*a+","+3*a+","+a+","+3*a;break;case 6:c=8*a+","+3*a+","+a+","+3*a+","+a+","+3*a;break;case 7:c=3*a+","+a;break;case 8:c=a+","+a;break;case 9:c=3*a+","+a+","+a+","+a;break;case 10:c=3*a+","+a+","+a+","+a+","+a+","+a}return c}function Cb(a){return a.Parent.FirstSliceAngle}function Db(a){var b={1:"Top",4:"Bottom",3:"Left",5:"TopRight"};return b[a]||"Right"}function Eb(a){var b="Vertical";return 1!==a&&4!==a||(b="Horizontal"),b}function Fb(a,b){var c={},d=s(a,!1,!0),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 Gb(a,b,c,d){var e,f=a.type,g=a.stock;return e=f===L?{x:"date",high:"high",low:"low",open:"open",close:"close"}:f===M?{x:"date",high:"high",low:"low",close:"close"}:g?"date, volume":f===X||f===Z?$:f===Y?b:d?b:c+", "+b,[{field:e,excludeNulls:!0}]}function Hb(a,b,c,d){var e,f,g=a.type,h=b,i=d.GetCatCount();if(g===Z||g===X)for(h="",e=0;e<i;e++)h+=0===e?"level"+e:" > level"+e;return f={field:h},g===Z&&(f.group="Stack"),a.group&&(f.group=a.group),[f]}function Ib(a,b){var c=a.type,d=b;return c!==X&&c!==Z||(d=ba+"0"),{field:d}}function Jb(a,b,c,d,e,f,g){var h,i,j,k,l,m=a.ShowValue,n=a.ShowCategoryName,o=a.ShowSeriesName,p=a.ShowPercentage,q=[],r=f.radial,s=f.type,t=s===X||s===Z;if(t)return N;if(o&&q.push("{"+(r?d:c)+".value}"),n)if(s===X)q.push("{"+_+"}\n{"+aa+"}");else if(s===Z){for(h="",i=0;i<g;i++)h+="{"+ba+i+"} ";q.push(h)}else f.needXNames?q.push("{"+K+".value}"):q.push("{"+(r?c:d)+".value}");return j=a.NumberFormat,m&&(k="",j&&(k=": "+j),q.push("{"+e+".value"+k+"}")),p&&(l="0%",j&&j.indexOf("%")>=0&&(l=j),q.push("{PercentageCategory:"+l+"}")),q.length>0?q.join(a.Separator):N}function Kb(a,b,c,d,e,f,g){var h,i,j,k,l,m,n,o,p,q;if(!a)return N;if(h=a.ShowValue,i=a.ShowCategoryName,j=a.ShowSeriesName,k=a.ShowPercentage,l=f.radial,m=f.type,n=m===Z||m===X,o=[],(h||k)&&(n?o.push({field:$}):o.push({field:e})),i)if(n)for(p=0;p<g;p++)o.push({field:ba+p});else f.needXNames?o.push({field:K}):o.push({field:l?c:d});return j&&(n?o.push({field:b}):o.push({field:l?d:c})),q=n?{field:"level0"}:o.length>0?o:N}function Lb(a,b,c,d,e){var f,g,h=a.type,i=a.stock,j=a.radial,k=a.scatter;return h===L?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===M?f="{date.name}:{date.value}\n{high.name}:{high.value}\n{low.name}:{low.value}\n{close.name}:{close.value}":k?(g=a.needXNames?K:c,f=ca+b+ea+g+'.value}" \n({'+c+".value}, {"+d+".value})",a.size&&(f+=" Size: {"+J+".value}")):f=i?"{date.name}:{date.value}\n{volume.name}:{volume.value}":j?ca+c+ea+b+'.value}" \nValue: {'+d+".value: "+(e||"#,##0")+"} ({PercentageCategory:0%})":h===Z||h===X?"":ca+b+ea+c+'.value}" \nValue: {'+d+".value: "+(e||"General")+"}",f}function Mb(a,b,c,d,e){var f,g,h,i=a.type,j=a.stock,k=i===Z||i===X;if(i===L)f=["date","high","low","open","close"];else if(i===M)f=["date","high","low","close"];else if(j)f=["date","volume"];else if(k)for(f=[],g=0;g<e;g++)f.push(ba+g);else f=[d,c,b],a.size&&f.push(J),a.needXNames&&f.push(K);return h=[],f.forEach(function(a){h.push({field:a})}),k&&h.push({field:$,aggregate:"Sum"}),h}function Nb(a,b,c,d,e,f,g,h){var i,j,k,l,m,n,o,q,r,t,u,v,w,x,y,z,A,B,C,D={},E=a.Position,G=a.Children;if("number"==typeof E&&E>=0&&E<=8&&(i={0:"Inside",1:"Inside",2:"Center",3:"Inside",4:"Inside",5:"Center",6:"Outside",7:"Center",8:"Outside"},j=i[E],j&&(D.position=j),f.doughnut))for(k=0;k<G.length;k++)if(l=G[k],m=l.HasCustomLayout){D.position=i[6],D.offset=12;break}return!a.ShowLeaderLines||"Outside"!==D.position&&0!==E?D.connectingLine={stroke:"transparent"}:(n=F(a.LeaderLines,!1,!0),n&&(D.connectingLine={stroke:n.color||"transparent",strokeWidth:p(n.width)?1:Ya(n.width,g)})),o=D.style={},q=F(a,!1,!0),q&&(D.borderStyle={strokeWidth:p(q.width)?1:Ya(q.width,g),stroke:q.color||"transparent"}),r=a.Format&&a.Format.Fill,t=s(r,!1,!0),o.backgroundColor=t||"transparent",u=a.Font,v=s(u,!1,!0),w=u&&u.Name,x=u&&u.Size,(v||w||x>0)&&(y=D.textStyle={},v&&(y.color=v),w&&(y.fontFamily=w),x>0&&(y.fontSize=x*g+"")),z=Jb(a,b,e,c,d,f,h),p(z)||(0===E?D.overlappingLabels="Smart":D.overlappingLabels="Show"),A=f.type,B=A===X||A===Z,B?(C=a.ShowCategoryName,C||(D={textStyle:{color:"transparent"},style:{backgroundColor:"transparent"}})):z&&(D.template=z),D}function Ob(a,b,c,d,e,f){var g,h,i,j,k,l,m={},n=e.IsMultiLevelXValues,o=e.PointsCount;if(m.values=Gb(a,c,f,n),g=a.type,g===Y&&(m.category={field:f,excludeNulls:!0}),n&&o>0){for(h=e.XValues,i=[f],j=h.length/o,k=2;k<=j;k++)i.push(""+f+k);m.category={field:i.join(">"),excludeNulls:!0}}return m.details=Hb(a,d,f,e),m.color=Ib(a,d),a.size&&(m.size={field:J}),l=Kb(e.GetDataLabels(),e.Name,d,f,c,a,e.GetCatCount()),l&&(m.text=l),m.tooltip=Mb(a,d,f,c,e.GetCatCount()),m}function Pb(a,b,c,d,e,f,g,h,i,j,k,l,n,o,q,r){var s,t,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U=f[0],X={},Y=[];for(c.radial||c.symbols||m.IsScatterChart(U.ChartType)||(X.clippingMode="Clip"),s=U.GetDataLabels(),s&&(X.text=Nb(s,U.Name,g,h,i,c,j,U.GetCatCount())),X.tooltip={style:{borderStyle:{stroke:"#767676"},backgroundColor:"white"},textStyle:{color:"#575757",fontFamily:"Calibri, Arial",fontSize:14*j},template:Lb(c,i,g,h,s&&s.NumberFormat)},c.swapAxes&&(X.swapAxes=!0),c.symbols&&(X.symbols=!0),c.lineAspect&&(X.lineAspect=c.lineAspect),c.radial&&(X.axisMode=V,X.startAngle=Cb(U),c.doughnut&&(X.innerRadius=U.Parent.DoughnutHoleSize/100),X.sweep=360),c.radar&&(X.axisMode=W,X.startAngle=Cb(U)),u(d)?(X.style=X.style||{},1===c.stockType?X.style.stroke="#168A16":0===c.stockType?(X.style.fill="#666666",X.style.stroke="#666666"):2===c.stockType&&(X.style.stroke="#5B9BD4")):m.IsPieOrDoughnutChart(U.ChartType)||m.IsSunburstChart(U.ChartType)||m.IsTreeMap(U.ChartType)?(X.style||(X.style={}),t=bb(U,!1,!0),E=t&&t.width||0,F=t&&t.color,(E>=0||F)&&(E>=0&&(X.style.strokeWidth=Ya(E,j)),F&&!m.IsLineChart(U.ChartType)&&(X.style.stroke=F),t.dashStyle&&(G=Bb(E,t.dashStyle),X.style.strokeDasharray=G))):(H=Wb(f,h,l,j,c,Y),X.seriesStyles=H),w(d)&&(X.axisMode=V,X.startAngle=-Math.PI/2,X.innerRadius=.3),k&&(I=void 0,I=m.IsAnyPieChart(d)||x(d)?ia:C(d)||y(d)||u(d)||0===d?ha:ga,I&&(X.loadAnimation=I[0],X.updateAnimation=I[1],X.hoverAnimation=I[2])),q&&(X.hoverStyle={fill:r.GetFillColor(!1,!1),opacity:1-r.GetFillColorTransparency(),stroke:r.GetLineColor(!1,!1),strokeWidth:r.GetLineWidth(),strokeOpacity:1-r.GetLineColorTransparency(),strokeDasharray:Ab(r.Format.Line),symbolFill:r.Za.GetFillColor(!1,!1),symbolOpacity:1-r.Za.GetFillColorTransparency(),symbolStroke:r.Za.GetLineColor(!1,!1),symbolStrokeWidth:r.Za.GetLineWidth(),symbolStrokeOpacity:1-r.Za.GetLineColorTransparency(),symbolStrokeDasharray:Ab(r.Za.Format.Line)}),J=wa[n],p(J)||(X.showNulls=J),o?X.showNaNs=J:C(d)||z(d)||y(d)||D(d)||u(d)?X.showNaNs=wa[1]:(B(d)||A(d)||v(d))&&(X.showNaNs=wa[0]),m.IsPieOrDoughnutChart(d)&&(X.plugins=[{type:"PlotLayout",name:"ExcelPie"}]),K=[],L=0;L<f.length;L++){if(M=Y[L]&&Y[L].seriesName,N=f[L].qOb,!p(N))for(O=0;O<N.length;O++)Ub(N[O],M,j,K);if(P=f[L].gua,!p(P))for(Q=P.Jta,O=0;O<Q.length;O++)Rb(Q[O],M,K)}return K.length>0&&(X.overlays=K),!e||8!==e.GroupType&&9!==e.GroupType||(R=void 0,S=Fc(e),S&&(R=S,T=Qb(b,Y),T.length>0&&(R.groups=T)),R&&(X.bar=S)),X}function Qb(a,b){var c,d,e,f,g,h,i=[];for(c=0,d=b;c<d.length;c++)e=d[c],f=e.seriesName,g=e.valueField,h={cluster:a,key:f,valueField:g},i.push(h);return i}function Rb(a,b,c){var d,e,f,g,h={display:"Front",detailLevel:"Group"};h.type=a.getTrendlineStringForDV(),h.order=a.Order,h.period=a.Period,h.detailKey=b,p(a.Forward)&&p(a.Backward)||0===a.Forward&&0===a.Backward||(h.forecast={},h.forecast.backwardPeriod=a.Backward,h.forecast.forwardPeriod=a.Forward),a.DisplayEquation!==!0&&a.DisplayRSquared!==!0||(h.text={},h.text.equation=a.DisplayEquation,h.text.rSquaredValue=a.DisplayRSquared,d=a.Font,p(d.Name)&&p(d.Size)&&p(d.Color)||(h.text.textStyle={},h.text.textStyle.fontFamily=d.Name,h.text.textStyle.fontSize=d.Size,h.text.textStyle.color=a.getFontColor(!1,!1,!1))),h.intercept=a.Intercept,h.label=a.Name,e={},e.stroke=a.getLineColor(!1,!1,!1),e.strokeWidth=a.Width,f=Ab(a.ChartFormat.Line),f&&(e.strokeDasharray=f),g=1-a.ColorTransparency,0!==g&&(e.strokeOpacity=g),o(e)||(h.style=e),c.push(h)}function Sb(a){return a===h.area||a===h.columnClustered||a===h.columnStacked||a===h.columnStacked100||a===h.barClustered||a===h.barStacked||a===h.barStacked100||a===h.areaStacked||a===h.areaStacked100?"FrontOfPlot":"BackOfPlot"}function Tb(a){var b,c,d,e,f,g,h=a.Ata,i=h.Ey,j=h.lua,k=h.fua.Count,l=a.Spa.rOb,m=a.Ey,n=[];for(b=0;b<k;b++)c=j?j[b]:null,d=i?i[b]:null,(2===l||null!==c&&null!==d)&&(e=m[b],f=e.positive,g=e.negative,n.push({positive:f,negative:g}));return n}function Ub(a,b,c,d){var e,f,g={},h={},i=a.sOb,j=a.tOb,k=a.uOb,l=a.vOb;h.stroke=a.getLineColor(!1,!1),h.strokeOpacity=1-a.getLineTransparency(),h.strokeWidth=Ya(a.getLineWidth(),c),e=Ab(a.ChartFormat.Line),e&&(h.strokeDasharray=e),g.style=h,f=a.getDirection(),g.type=ja,g.display=Sb(a.ChartType),g.orientation=ka[f],g.direction=la[i],g.errorType=ma[j],g.endCap=!k,g.detailKey=b,1===j?g.value=l:2===j?g.value=l/100:3===j?(g.value=l,g.detailLevel=na):4===j?g.detailLevel=na:0===j&&(g.detailLevel=na,g.errorValues=Tb(a)),d.push(g)}b.createErrorBarOverlay=Ub;function Vb(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u=[],v=[];for(b=0,c=a;b<c.length;b++)d=c[b],u.push(bb(d,!1,!0)),v.push(ab(d,!1));if(e=!0,u.length>0)for(f=u[0],g=f&&f.color,h=f&&f.width,i=v[0],j=i&&i.symbolFill,k=i&&i.symbolStroke,l=i&&i.symbolStrokeWidth,m=1;m<u.length;m++){if(n=u[m],o=n&&n.color,p=n&&n.width,g!==o||h!==p){e=!1;break}if(q=v[m],r=q&&q.symbolFill,s=q&&q.symbolStroke,t=q&&q.symbolStrokeWidth,j!==r||k!==s||l!==t){e=!1;break}}return e}function Wb(a,b,c,d,e,f){var g,h,i,j,k,l,m,n,o,q,r,s,t,u,v,w,x,y=[];for(i=0;i<a.length;i++)g={},j=a[i],k=j.ChartType,l=bb(j,!1,!0),m=0,e.type===Q&&(m=da),l&&!p(l.width)&&(m=l.width),n=l&&l.color,(m>=0||n)&&(m>=0&&(o=Ya(m,d),E(k)?g.symbolStrokeWidth=o:g.strokeWidth=o),n&&(E(k)?g.symbolStroke=n:g.stroke=n)),q=ab(j,!1),q?(g.symbolFill=q.symbolFill||"rgba(0,0,0,0)",g.symbolStroke=q.symbolStroke,p(q.symbolStrokeWidth)||(r=q.symbolStrokeWidth<0?1:q.symbolStrokeWidth,g.symbolStrokeWidth=Ya(r,d)),s=j.MarkerSize,p(s)||(g.symbolSize=parseInt(s,10)*d),t=j.MarkerStyle,"none"!==t&&(g.symbolShape=xa[t]),u=j.MarkerFormat.Line,v=void 0,u&&(v=Ab(u)),v&&(g.symbolStrokeDasharray=v)):E(j.ChartType)||(g.symbols=!1),h=ac(j,e),h&&("line"===h.type?g.stroke=h.color:"fill"===h.type&&(E(j.ChartType)?g.symbolFill=h.color:g.fill=h.color)),w=j.Format.Line,x=void 0,w&&(x=Ab(w)),x&&(E(j.ChartType)?g.symbolStrokeDasharray=x:g.strokeDasharray=x),g.key=$a(j,c),g.valueField=b,y.push(g),f.push({seriesName:g.key,valueField:g.valueField});return y}function Xb(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){var q="plot"+(d+1),r={name:q,type:Yb(b)};return r.encodings=Ob(b,c,h,i,f[0],g),r.config=Pb(a,q,b,c,e,f,g,h,i,j,k,l,m,n,o,p),r}function Yb(a){return a.type===Z?P:a.type===Y?a.area?R:Q:a.type}function Zb(a,b,c,d){var e,f,g,h=a.Points,i=h.Count,j=[];for(e=0;e<i;e++)f=h.Get(e),g=f.getFillColor(b,c,d),(g||""===g)&&j.push(g);return j}function $b(a){var b,c,d,e=a.Points,f=e.Count,g=[];for(b=0;b<f;b++)c=e.Get(b),d=c.getFillColorTransparency(),p(d)||g.push(d);return g}function _b(a,b,c){var d,e=Zb(b,!1,c),f=e.length;for(a.length=0,d=0;d<f;d++)a.push(e[d])}function ac(a,b){var c,d;if(b.type===Q){if(c=a.getLineColor(!1,!0))return{type:"line",color:c}}else if(b.type===Y){if(b.area){if(d=a.getFillColor(!1,!0))return{type:"fill",color:d}}else if(b.marker){if(d=a.getMarkerFillColor(!1,!0))return{type:"fill",color:d}}else if(c=a.getLineColor(!1,!0))return{type:"line",color:c}}else if(b.type===P||b.type===R){if(d=a.getFillColor(!1,!0))return{type:"fill",color:d}}else if(b.type===S)if(b.size){if(d=a.getFillColor(!1,!0))return{type:"fill",color:d}}else if(d=a.getMarkerFillColor(!1,!0))return{type:"fill",color:d}}function bc(a,b,c){var d,e,f,g,h,i;if(c.type===Q)d=b.getLineColor(!1,!0),d&&a.push(d);else if(c.type===Y)c.area?(e=b.getFillColor(!1,!0),e&&a.push(e)):c.marker?(e=b.getMarkerFillColor(!1,!0),e&&a.push(e)):(d=b.getLineColor(!1,!0),d&&a.push(d));else if(c.type===P||c.type===R)c.radial===!0?_b(a,b,!0):(e=b.getFillColor(!1,!0),e&&a.push(e));else if(c.type===S)c.size?(e=b.getFillColor(!1,!0),e&&a.push(e)):(e=b.getMarkerFillColor(!1,!0),e&&a.push(e));else if(c.type===Z||c.type===X)for(f=b.dataPoints(),g=b.elb.GetSunBurstOrTreemapOrder(),h=0;h<f.yoa();h++)i=f.NR(g[h]),i&&(a[h]=i.getFillColor(!1,!0))}function cc(a){return G+ta[a.AxisGroup]}function dc(a,b){var c=0;return 0===a?c=b===Q?va.primaryLine:b===R?va.primaryArea:va.primaryOther:1===a&&(c=b===Q?va.secondaryLine:b===R?va.secondaryArea:va.secondaryOther),c}function ec(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=cb(d,b,0===c),h=dc(d.AxisGroup,g.type),j.push({type:f,value:h,chartInfo:g,targetGroup:d.Parent})));return j.length>1&&j.sort(function(a,b){return b.value-a.value}),{serGroupsOrder:j,serGroups:i}}function fc(a,b,c,d,e,f,g,h,i,j,k){var l,m,n,o,p,q,r,s,t=[],u=b.serGroupsOrder,v=b.serGroups,w={};for(l=0;l<u.length;l++)m=u[l].type,n=u[l].chartInfo,o=u[l].targetGroup,p=v[m],q=p[0],r=Xb(a,n,c,l,o,p,cc(q),H+m,I+m,f,g,w,h,i,j,k),t.push(r),s=q.AxisGroup,0===s?d.push(r.name):1===s&&e.push(r.name);return t}function gc(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 hc(a){var b,c="",d=""+this;for(b=0;b<a;b++)c+=d;return c}function ic(a,b){return za||(za="".repeat||hc),za.call(a,b)}function jc(a){
- return a instanceof Date}function kc(a){var b,c,d,e,f,g=a.slice(),h={};for(h[a[0]]=1,p(a[0])&&(g[0]=""),jc(g[0])||(g[0]=g[0]+""),b=1,c=a.length;b<c;b++)jc(g[b])||(d=a[b],e=h[d],f="",e?(f=ic(" ",e),h[d]++):h[d]=1,g[b]=p(d)?f:d+f);return g}function lc(a,b,c){var d,e,f,g,h,i,j,k,l,n,p,q,r,s,t,v,w,x,z,A,B,C,D,E,F,G,K,L=a.ChartType;if(u(L)){for(i=ua[L],j={},d=0;d<b.length;d++){if(e=b[d],k=i[d],g=e.XValues,h=e.Values,!j.date){if(!m.AreAllDate(g))return;j.date=g}j[k]=h}for(l=j.date&&j.date.length,d=0;d<l;d++)if(n={date:db(j.date[d],!0),high:j.high[d],low:j.low[d],close:j.close[d]},j.open&&(n.open=j.open[d]),j.volume&&(n.volume=j.volume[d]),c(n))return}else for(p=gc(b,0),q=gc(b,1),r={},s={barChartXvaluesCache:[],axisGroup:null},t=void 0,d=0;d<b.length;d++)for(e=b[d],v=e.iua(),f=cb(e),g=e.XValuesIsAuto()?0===e.AxisGroup?p:q:e.XValues,t=y(e.ChartType)&&o(e.Mta),t&&(null===s.axisGroup?(s.barChartXvaluesCache=g,s.axisGroup=e.AxisGroup):g=s.barChartXvaluesCache),w=f.needXNames,x=void 0,w&&(x={names:e.lua}),h=e.Values,z=void 0,f.size&&(z=e.GetBubbleSizes()),A=a.Axes.GetAxis(0,e.AxisGroup),g&&(A&&!A.IsValueOrDateScaleAxis()||m.IsPieChart(a.ChartType))&&(g=kc(g)),B=$a(e,r),C=h&&h.length,D=e.IsMultiLevelXValues,E=e.PointsCount,F=0;F<C;F++)if(G="Area"===f.type,K=fb(f,B,g,h,F,cc(e),H+v,I+v,x,G,E,D),K&&(z&&z.length>0&&(K[J]=z[F]),c(K,e)))return}function mc(a){if(a){for(var b in a)if(!p(a[b]))return!1;return!0}return!1}Aa=function(){function a(a){var b=this;b.Ata=a,b.Rlb=b.GetSeriesOrientation(),b.Ou=b.GetDataSourceByCatArrayAndValues(a.lua,a.Ey),b.dlb=b.CreateTreeData(),b.Sta=0}return a.getCatValue=function(a,b,c,d){return!p(a)&&c<a.length?a[b]:0===c?"Branch"+(d+1):d+1},a.prototype.GetSeriesOrientation=function(){var a,b=this.Ata,c=b.Chart.Parent.getDataOrientation();return p(c)&&b.Nta&&b.Nta.length>0?(a=b.Nta[0],1===a.ColumnCount):!!c},a.prototype.GetDataSourceByCatArrayAndValues=function(b,c){var d,e,f,g,h,i,j,k;for(p(b)&&(b=[]),p(c)&&(c=[]),d=this.Ata.GetCatCount()||2,e=c.length,g=[],h=0;h<e;h++){for(i=[],j=!1,k=0;k<d;k++)f=this.Rlb?a.getCatValue(b,h*d+k,k,h):a.getCatValue(b,h+k*e,k,h),j!==!1||p(f)||(j=!0),i.push(f);p(c[h])?i.push(0):i.push(c[h]),j&&g.push(i)}return g},a.prototype.CreateTreeData=function(){var a,b,c,d,e,f,g,h,i,j,k,l=this,m=l.Ou,n=[],o=[],p={},q=m.length,r=m[0]?m[0].length:0,s=[],t={};for(l.Sta=0,f=0;f<q;f++)for(c=m[f],g=!1,h=0;h<r;h++)if(d=c[h],a=n[h]=n[h]||null,i=h===r-2,j=h===r-1,k=0===h,null!==d||null!==a||i)if(j)t.data=d;else{if(k||g?(e=s,g=!1):e=t.children,b=o[h]=o[h]||{},i&&null===d&&b[d]===!0){e.push(null);break}d=l.FixNullValue(d,h,n,!i),d!==p[h]&&(o.length=h+1,n.length=h+1),d=l.FixRepeatName(d,h,b,p,i),t=l.AddLengthOrAddNewObj(e,d)}else k&&(g=!0);return s},a.prototype.FixNullValue=function(a,b,c,d){var e=c[b]=c[b]||null;return null===a&&d?a=e:a!==e&&(c[b]=a),a},a.prototype.FixRepeatName=function(a,b,c,d,e){if(void 0===c[a])d[b]=a,c[a]=!0;else if(a!==d[b]||e){for(var f=a;void 0!==c[f]&&(f!==d[b]||e);)f+=" ";c[f]=!0,d[b]=f,a=f}return a},a.prototype.AddLengthOrAddNewObj=function(a,b){var c;return a[a.length-1]&&a[a.length-1].value===b?(a[a.length-1].length++,c=a[a.length-1]):(c={length:1,children:[],value:b},p(b)||(c.idx=this.Sta,this.Sta++),a.push(c)),c},a.prototype.GetSunBurstOrTreemapOrder=function(){var a,b=c(this.dlb);function c(a){var b,c,e,f,g=[];for(c=0;c<a.length;c++)b=0,e=a[c],f=e.children,b=f&&f.length>0?d(e,b):e.data,g.push({sum:b,index:c});return g}function d(a,b){if(a.children&&a.children.length>0)for(var c=0;c<a.children.length;c++)b=d(a.children[c],b);else a.data&&(b+=a.data);return b}for(b.sort(function(a,b){return b.sum-a.sum}),a=0;a<b.length;a++)b[a]=b[a].index;return b},a.prototype.GetSunBurstOrTreemapData=function(){var a,b=[],c=this.GetSunBurstOrTreemapOrder(),d=[];for(a=0;a<c.length;a++)d.push(this.dlb[c[a]]);if(0===d.length)return d;e({children:d},0,{});function e(a,c,d){var f,g,h,i,j=a.children,k=!0;for(g=0;g<j.length;g++)f={},r.extend(!0,f,d),h=j[g],h.children.length>0?(f["level"+c]=h.value,e(h,c+1,f),k=!1):p(h.value)||(f["level"+c]=h.value,f[$]=h.data,b.push(f),k=!1);k&&(i=0,a.children.length>0&&!p(a.children[0].data)&&(i=a.children[0].data),f={},r.extend(!0,f,d),f[$]=i,b.push(f))}return b},a}(),b.ChartData2016ModelCalHelper=Aa;function nc(a,b){var c,d,e=[];return b&&b[0]&&x(b[0].ChartType)&&!p(b[0].elb)?e=b[0].elb.GetSunBurstOrTreemapData():lc(a,b,function(a){mc(a)||e.push(a)}),e.length>0&&(c=a.ChartType,d=a.Axes.Item(0,0),(m.IsLineChart(c)||m.IsAreaChart(c))&&d&&d.IsValueOrDateScaleAxis()&&(e=oc(e,function(a,b){var c=a[G],d=b[G];return c instanceof Date&&(c=c.valueOf()),d instanceof Date&&(d=d.valueOf()),c-d}))),{values:e}}function oc(a,b){var c,d,e,f,g,h,i,j=a.length;if(j<=1)return a;for(c=Math.floor(j/2),d=a[c],e=[],f=[],g=[],h=0;h<j;h++)c!==h?(i=b(a[h],d),i<0?e.push(a[h]):i>0?f.push(a[h]):g.push(a[h])):g.push(a[h]);return oc(e,b).concat(g,oc(f,b))}function pc(a,b){return JSON.stringify(a)===JSON.stringify(b)}function qc(a,b,c){var d,e,f,g,h,i,j;if(!p(b)){if(f=a.ChartType,u(f)){if(g=ua[f],h=g.indexOf(c),h>=0)return a.SeriesCollection.Get(h)}else x(f)?(e=Za(a),d=e&&e.length>0&&e[0]):(e=Za(a),i=ec(e,a.ChartType),j=Mc(i),lc(a,j,function(a,c){if(pc(a,b))return d=c,!0}));return d}}b.getSeries=qc;function rc(a,b){if(b||(b=Za(a)),1===b.length&&!x(b[0].ChartType))return b[0].Name}function sc(a,b){return a&&(a.Text||rc(a.Parent,b)||a.DefaultText)}b.getChartTitleText=sc;function tc(a,b,c,d,e,f){var g,h,i;return a?(void 0===f&&(f=!1),g={text:sc(a,c)},h=a.GetChartTextInternal(),h&&(i=h.Font,g.color=s(i,b,e,f),e||(g.transparency=t(i)),g.fontFamily=i.Name,g.fontSize=(i.Size||a.DefaultFontSize)*d),g):N}b.getChartTitleProperties=tc;function uc(a,b,c){var d,e,f,g,h=tc(a,!1,b,c,!0);return h?(d={text:h.text},a.GetChartTextInternal()&&(d.headerTextStyle={color:h.color,fontFamily:h.fontFamily},h.fontSize&&(d.headerTextStyle.fontSize=h.fontSize*c+""),e=s(a.Format.Fill,!1,!0),f={backgroundColor:e},d.headerStyle=f,g=F(a,!1,!0),g&&(d.headerStyle.strokeWidth=p(g.width)?1:Ya(g.width,c),d.headerStyle.stroke=g.color||"transparent")),d):N}function vc(a){return p(a.Layout)?N:a.Layout}function wc(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,q,r,s;if(a?(f={excelPosition:Db(a.Position),orientation:Eb(a.Position),groupOrientation:Eb(a.Position),textStyle:Fb(a.Font,b)},f.showLegendWithoutOverlappingChart=!a.IncludeInLayout):f={excelPosition:"None"},g=[],a){for(i=18===c.ChartType?"Reversed":O,!m.IsStackedChart(c.ChartType)||2!==a.Position&&3!==a.Position&&5!==a.Position||(i="Reversed"),h={title:"",type:"Color",sortOrder:i},j=qb(c.lta),h.merge=[],k=0;k<d.length;k++)h.merge.push(d[k]+".Color"),j&&h.merge.push(d[k]+".Overlay");if(!p(e))for(k=0;k<e.length;k++)h.merge.push(e[k]+".Color"),j&&h.merge.push(e[k]+".Overlay");for(l=vc(a),p(l)||(f.left=l.x,f.top=l.y,h.width=l.w,h.height=l.h),g.push(h),n=c.SeriesCollection.AllSers,o=!1,q=0,r=n;q<r.length;q++)if(s=r[q],E(s.ChartType)){o=!0;break}o&&g.push({title:"",type:"Size",position:"None"})}return{legend:f,legends:g}}function xc(a,b){var c,d,e;if(m.IsLineChart(a.ChartType))return!0;if(0===a.ChartType){for(c=a.SeriesCollection.GetValidSers(b),d=!0,e=0;e<c.length;e++)if(!m.IsLineChart(c[e].ChartType)){d=!1;break}return d}return!1}function yc(a){var b,c;if(m.IsLineChart(a.ChartType))return!0;if(0===a.ChartType)for(b=a.SeriesCollection.AllSers,c=0;c<b.length;c++)if(m.IsLineChart(b[c].ChartType))return!0;return!1}function zc(a,b){var c,d,e;if(m.IsBarChart(a.ChartType))return!0;if(0===a.ChartType){for(c=a.SeriesCollection.GetValidSers(b),d=!0,e=0;e<c.length;e++)if(!m.IsBarChart(c[e].ChartType)){d=!1;break}return d}return!1}function Ac(a,b){var c,d,e;if(m.IsColumnChart(a.ChartType))return!0;if(0===a.ChartType){for(c=a.SeriesCollection.GetValidSers(b),d=!1,e=0;e<c.length;e++)if(m.IsColumnChart(c[e].ChartType)){d=!0;break}return d}return!1}function Bc(a,b){var c,d,e;if(m.IsRadarChart(a.ChartType))return!0;if(0===a.ChartType){if(c=void 0,c=p(b)?a.SeriesCollection.AllSers:a.SeriesCollection.GetValidSers(b),0===c.length)return!1;for(d=!0,e=0;e<c.length;e++)if(!m.IsRadarChart(c[e].ChartType)){d=!1;break}return d}return!1}function Cc(a,b){var c,d,e=0,f=a.length||0,g=0;for(c=0;c<f;c++)d=a[c],m.IsRadarChart(d.ChartType)&&(g=d.lua&&d.lua.length?d.lua.length:d.Ey&&d.Ey.length?d.Ey.length:0,e=Math.max(e,g));return e+b}function Dc(a,b){return a&&b&&b.Visible===!1&&(a.IsTimeScale()&&b.IsTimeScale()||a.IsValueScaleAxis()&&b.IsValueScaleAxis())}function Ec(a,b,c,d,e){var f,g,h,i,j,k,n,o,q,r,s,t,v,x,y,z,A,B,C,E,G=a.Axes,H=[],I=a.ChartType,J=zc(a,0),K=zc(a,1),L=J!==K,M=m.IsPieOrDoughnutChart(I),N=Bc(a,0),P=Bc(a,1),Q=Ac(a,0),R=Ac(a,1),S=xc(a,0),T=xc(a,1),U=xb(a,0,b),V=qb(a.lta),W=1;if(G&&(i=G.Item(0,0),j=G.Item(1,0),k=G.Item(0,1),n=G.Item(1,1),o=void 0,q=void 0,r=void 0,s=void 0,i?(o=wb(i,"X",c,U,i.IsValueOrDateScaleAxis(),e,J,S),J||i.IsValueOrDateScaleAxis()||u(I)||N||(o.scale={type:"Ordinal"},Q||D(I)||(v=a.SeriesCollection.GetValidSers(0)[0],o.min=.5,v&&!v.Rta?o.max=(v?v.XValues.length:0)+.5:o.max=(v?v.lua.length:0)+.5)),t=j&&j.GetCustomCrossesAt(),p(t)?j&&1===j.Crosses&&0===j.ScaleType&&(o.origin=1):o.origin=t,N&&(x=F(i,!1,!0),o.majorGridStyle={stroke:x.color||"transparent",strokeWidth:p(x.width)?1:x.width},o.majorGrid=!0,o.min=W,o.max=Cc(b,W)),i.ReversePlotOrder&&(o.reversed=!0),V&&(p(o.max)||(o.max=o.max+rb(a.lta,!0)),p(o.min)||(o.min=o.min-rb(a.lta,!1))),H.push(o)):M&&H.push({plots:c,type:"X",position:"None"}),j?(q=wb(j,"Y",c,U,!0,e,J),H.push(q),t=i&&i.GetCustomCrossesAt(),i&&i.ActualCategoryType===l.TimeScale&&!p(t)?o.min<=t&&o.max>=t?q.origin=t:q.origin=O:(p(t)||(q.origin=t),o&&p(o.origin)&&!p(q.min)&&q.min<0&&q.max>=0&&(o.origin=0),q&&p(q.origin)&&!p(o.min)&&o.min<0&&o.max>=0&&(q.origin=0)),N&&(h=q.labelAngle||0,q.labelAngle=h-90),j.ReversePlotOrder&&(q.reversed=!0),w(I)&&(q.scale={type:"Percentage"})):M&&H.push({plots:c,type:"Y",position:"None",scale:{type:"Percentage"}}),U=xb(a,1,b),k&&(f=o,L&&(f=q),r=wb(k,"X",d,U,k.IsValueOrDateScaleAxis(),e,K,T),y=Dc(J?j:i,K?n:k),y&&f?f.max=Math.max(f.max,r.max):(K||k.IsValueOrDateScaleAxis()||u(I)||P||(r.scale={type:"Ordinal"},R||(z=a.SeriesCollection.GetValidSers(1)[0],r.min=.5,r.max=(z?z.XValues.length:0)+.5)),t=n&&n.GetCustomCrossesAt(),p(t)?n&&1===n.Crosses&&j&&0===j.ScaleType&&(r.origin=1):r.origin=t,P&&(A=F(k,!1,!0),r.majorGridStyle={stroke:A.color||"transparent",strokeWidth:p(A.width)?1:A.width},r.majorGrid=!0,r.min=W,r.max=Cc(b,W)),V&&(p(r.max)||(r.max=r.max+rb(a.lta,!0)),p(r.min)||(r.min=r.min-rb(a.lta,!1))),g=d.indexOf("plot1")>-1,!f||r.position!==f.position||P||0===a.ChartType?g?H.unshift(r):H.push(r):g?f.plots=r.plots.concat(f.plots):f.plots=f.plots.concat(r.plots),k.ReversePlotOrder&&(r.reversed=!0))),n&&(f=q,L&&(f=o),s=wb(n,"Y",d,U,!0,e,K),B=Dc(J?i:j,K?k:n),B&&f?f.max=Math.max(f.max,s.max):(t=k&&k.GetCustomCrossesAt(),i&&i.ActualCategoryType===l.TimeScale&&!p(t)?o.min<=t&&o.max>=t?q.origin=t:q.origin=O:p(t)||(s.origin=t),P&&(s.majorGrid=!1,h=o.labelAngle||0,s.labelAngle=h-90),g=d.indexOf("plot1")>-1,f&&s.position===f.position&&"None"!==s.position&&N===P?g?f.plots=s.plots.concat(f.plots):f.plots=f.plots.concat(s.plots):g?H.unshift(s):H.push(s),n.ReversePlotOrder&&(s.reversed=!0))),P&&k))for(H.reverse(),C=0;C<H.length;C++)if(E=H[C],"X"===E.type){E.position="None";break}return H}function Fc(a){var b,c,d,e,f,g;return a?(b=a.GetSers(),c=b&&b.length,d=a.Overlap,e=a.GapWidth,f={},g=m.IsStackedChart(b[0].ChartType)?1:c,p(d)||(f.overlap=d/100),p(e)||(f.width=g/(g+e/100)),f):N}function Gc(a,b,c,d,e,f,g){var h,i,j,k,l,n,o,q,r,t,v,w=yb(a.ChartArea,!1,g,!0),y=c.DR(a.Parent),z={style:w.style,textStyle:w.textStyle,selectionMode:u(a.ChartType)?"Custom":"Group",selectedStyle:{adorners:y}};return f.length>0&&(m.IsPieOrDoughnutChart(a.ChartType)||m.IsSunburstChart(a.ChartType)||m.IsTreeMap(a.ChartType))&&(z.palette=f),h=zb(a.ChartArea,g),h&&(z.borderStyle=h),i=uc(a.ChartTitle,b,g),i&&(z.header={width:"Auto"},i.text&&(z.header.title=i.text),i.headerTextStyle&&(z.header.textStyle=i.headerTextStyle),i.headerStyle&&(z.header.style=i.headerStyle)),j=Ec(a,b,d,e,g),j.length>0&&(k=a.PlotArea.Format.Fill,l=Ic(k),n=x(a.ChartType)?{}:{backgroundColor:l},o=F(a.PlotArea,!1,!0),o&&(n.innerStroke=o.color||"transparent",n.innerStrokeWidth=p(o.width)?1:Ya(o.width,g)),q={axes:j,style:n},r=wc(a.Legend,g,a,d,e),r&&(q.legend=r.legend,t=F(a.Legend,!1,!0),t&&(q.legend.borderStyle={strokeWidth:p(t.width)?0:Ya(t.width,g),stroke:t.color||"transparent"}),a.Legend&&a.Legend.Format&&(v=s(a.Legend.Format.Fill,!1,!0),v&&(q.legend.style={backgroundColor:v})),q.legends=r.legends,m.IsBubbleChart(a.ChartType)&&q.legends.push({type:"Size",position:"None"}),q.plugins=[{type:"LegendViewManagerModel",name:"SjsLegendViewManagerPlugin"}]),z.plotAreas=[q]),(m.IsPieChart(a.ChartType)||m.IsSunburstChart(a.ChartType))&&(z.bar={width:.85}),z.padding=Hc(a,g),z}function Hc(a,b){var c,d,e,f,g=0,h=0,i=a.ChartType,j=a.kta.legend(),k=j&&j.visible&&3===j.position,l=j&&j.visible&&2===j.position,n=m.IsPieOrDoughnutChart(i)||m.IsRadarChart(i),o=m.IsSunburstOrTreemapChart(i);return n?(g=k?0:8,h=l?0:8):o?(g=k?0:5,h=l?0:5):C(i)?(c=a.Axes,d=c.Item(1,0),e=c.Item(1,1),g=d?0:20,h=e?0:20):D(i)?(c=a.Axes,d=c.Item(1,0),e=c.Item(1,1),g=d?0:10,h=e?0:10):yc(a)&&(c=a.Axes,e=c.Item(1,1),h=e?0:10),f={},0!==h&&(f.right=Ya(h,b)),0!==g&&(f.left=Ya(g,b)),f}function Ic(a){var b,c=a.mqa,d=c.GradientStopList||[],e=Jc(d);return a.Vkb===!0?b=Kc(a.GradientAngle,e):1===a.eqa&&(b=Lc(a.qqa,e)),p(b)&&(b=s(a,!1,!0)),b}function Jc(a){var b,c,d,e,f,g;if(p(a)||0===a.length)return"";for(b="",c="",g=0;g<a.length;g++)f=a[g],e=" "+100*f.Position+"%",d=s(f,!1,!0),b=q.bc(q.ec(d))+e+(g===a.length-1?"":","),c+=b;return c}function Kc(a,b){var c="linear-gradient",d=parseInt(a/45,10),e=["to right","to right bottom","to bottom","to left bottom","to left","to left top","to top","to right top"],f=e[d],g=c+"("+f+","+b+")";return g}function Lc(a,b){var c="radial-gradient",d="closest-corner at center",e=["at left top","at right top","at left bottom","at right bottom"],f,g;return 4===a?(f=e[a-1],g=c+"("+f+","+b+")"):6===a&&(g=c+"("+d+","+b+")"),g}function Mc(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 Nc(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=0;g<h;g++)if(bc(k,f[g],e),e.type===Z||e.type===X)return k;if(!p(i[b+1])&&e.type===Y)for(d=i[b+1].type,f=j[d],h=f.length,g=0;g<h;g++)k.push("transparent")}return k}function Oc(a,b){var c,d,e=b.zoom(),f=[],g=[],h={},i=Za(a),j=a.ChartType,k=ec(i,j),l=Mc(k),m=Nc(k);return h.plots=fc(a,k,j,f,g,e,a.UseAnimation,a.DisplayBlanksAs,a.DisplayNaNAsBlank,a.wOb,a.xOb),c=h.data=nc(a,l),d=0===c.values.length,h.config=Gc(a,i,b,f,g,m,e),d&&!x(j)?(h.config.header={title:""},h.plots=[],delete h.config.plotAreas):u(j)||(h.data.dateFormats=!1),h}b.getChartModelData=Oc;function Pc(a){return[1,33,35,26,27,28,42].indexOf(a)>=0}function Qc(a,b,c,d){var e,f,g,h,i,j,k,l,m,n,o,q,r,s,t,u,v,w,x,y,z,A,B,C,D=a.ChartType,E=cb(a,a.SeriesCollection.Parent.ChartType,b),F={chartType:D,axisGroup:a.AxisGroup};return E.radial?e=Zb(a,!0,c,d).join(","):Pc(a.ChartType)?(f=a.getMarkerFillColor(!0,c,d),(f||""===f)&&(e=f)):(f=a.getFillColor(!0,c,d),(f||""===f)&&(e=f)),F.backColor=e,c||(g=void 0,E.radial?g=$b(a).join(","):Pc(a.ChartType)?g=a.getMarkerColorTransparency():(h=a.getFillColorTransparency(),p(h)||(g=h)),F.backColorTransparency=g),i=F.border={},E.radial?(k=a.Points,k.Count>0&&(l=k.Get(0),m=l.getLineColor(!0,c,d),(m||""===m)&&(i.color=m),c||(n=l.getLineColorTransparency(),p(n)||(i.transparency=n)),j=l.Format.Line.Weight,i.lineType=l.Format.Line.DashStyle)):(j=a.LineWidth,o=a.getLineColor(!0,c,d),(o||""===o)&&(i.color=o),c||(q=a.getLineColorTransparency(),p(q)||(i.transparency=q)),r=a.getLineDashStyle(),p(r)||(i.lineType=r)),!p(j)&&j>=0&&(i.width=j),E.radial&&(F.startAngle=a.Parent.FirstSliceAngle),s=a.Worksheet.Wu.useR1C1,t=a.GetNameFormula(s),t?F.name=t:F.name=$a(a),u=a.GetXValuesFormula(s),u&&(F.xValues=u),v=a.GetValuesFormula(s),v&&(F.yValues=v),w=a.GetBubbleSizesFormula(s),w&&(F.bubbleSizes=w),Pc(a.ChartType)&&(x={},y={},z=a.getMarkerFillColor(!0,c,d),null!==z&&(x.fill=z),x.fillColorTransparency=a.getMarkerColorTransparency(),x.size=a.MarkerSize,x.shape=a.MarkerStyle,y.color=a.getMarkerBorderColor(!0,c,d),y.colorTransparency=a.getMarkerBorderColorTransparency(),y.width=a.getMarkerBorderLineWidth(),y.lineType=a.getMarkerBorderLineDashStyle(),x.border=y,F.symbol=x),A=a.getErrorBars(),p(A)?F.errorBars=null:F.errorBars=A,B=a.getTrendlines(),!p(B)&&B.length>0?F.trendlines=B:F.trendlines=null,C=a.PlotVisibleOnly,p(C)||(F.plotVisibleOnly=C),F}b.getSeriesProperties=Qc,Ba=c("./dist/plugins/chart/dv/dv.js");function Rc(a){var b,c=0;for(b=a.length-1;b>0&&" "===a[b];b--)c++;return{string:a.slice(0,a.length-c),length:c}}Ba&&(Ca={format:function(a,b){var c,d,e,f,h,i,j=b,k=a;if(g.isString(a)&&"{"===a[0]){c={};try{c=JSON.parse(a)||{}}catch(a){c={}}k=c.formatter,d=c.displayUnitValue,g.isNumber(j)&&g.isNumber(d)&&(j/=d)}if("General"===k&&"number"==typeof j&&Math.abs(j-parseFloat(j.toFixed(2)))<1e-10&&(j=j.toFixed(2)),e=0,j&&"string"==typeof j&&(f=Rc(j),j=f.string,e=f.length),h=new n(k).format(j),h&&"string"==typeof h)for(i=0;i<e;i++)h+=" ";return h},defaultFormat:function(a,b){return 4===a?"mm/dd/yyyy":"General"}},Da={create:function(){return Ca}},Ea=Ba.plugins,Fa={filter:function(a,b){return void 0!==a[b]}},Ga={create:function(){return Fa}},Ha={render:function(a,b,c){a.fill=c.fill,a.stroke="none",a.drawRect(b.left,b.top,b.width,b.height),a.stroke=c.stroke,a.strokeWidth=c.strokeWidth,a.strokeDasharray=c.strokeDasharray,a.drawLine(b.left,b.top,b.right,b.bottom),a.drawLine(b.right,b.top,b.left,b.bottom),a.drawLine(b.left+b.width/2,b.top,b.left+b.width/2,b.bottom)}},Ia={create:function(){return Ha}},Ja={render:function(a,b,c){a.fill=c.fill,a.stroke=c.stroke,a.strokeWidth=c.strokeWidth,a.strokeDasharray=c.strokeDasharray;var d={x1:0,y1:0,width:b.width/2,height:b.width/2*.4};d.x1=b.left+b.width/2,d.y1=b.top+b.height/2-d.height/2,a.drawRect(d.x1,d.y1,d.width,d.height)}},Ka={create:function(){return Ja}},La={render:function(a,b,c){a.fill=c.fill,a.stroke=c.stroke,a.strokeWidth=c.strokeWidth,a.strokeDasharray=c.strokeDasharray;var d={x1:0,y1:0,width:b.width,height:.2*b.width};d.x1=b.left,d.y1=b.top+b.height/2-d.height/2,a.drawRect(d.x1,d.y1,d.width,d.height)}},Ma={create:function(){return La}},Na={render:function(a,b,c){a.fill=c.fill,a.stroke="none",a.drawRect(b.left,b.top,b.width,b.height),a.stroke=c.stroke,a.strokeWidth=c.strokeWidth,a.strokeDasharray=c.strokeDasharray,a.drawLine(b.left,b.top+b.height/2,b.right,b.top+b.height/2),a.drawLine(b.left+b.width/2,b.top,b.left+b.width/2,b.bottom)}},Oa={create:function(){return Na}},Pa={render:function(a,b,c){a.fill=c.fill,a.stroke="none",a.drawRect(b.left,b.top,b.width,b.height),a.stroke=c.stroke,a.strokeWidth=c.strokeWidth,a.strokeDasharray=c.strokeDasharray,a.drawLine(b.left,b.top,b.right,b.bottom),a.drawLine(b.right,b.top,b.left,b.bottom)}},Qa={create:function(){return Pa}},Ea.StringFormattingPlugin.unregisterStringFormatting("Default"),Ea.StringFormattingPlugin.registerStringFormatting("Default",Da),Ea.SymbolPlugin.unregisterSymbol("Star"),Ea.SymbolPlugin.registerSymbol("Star",Ia),Ea.SymbolPlugin.unregisterSymbol("Dash"),Ea.SymbolPlugin.registerSymbol("Dash",Ma),Ea.SymbolPlugin.unregisterSymbol("ShortDash"),Ea.SymbolPlugin.registerSymbol("ShortDash",Ka),Ea.SymbolPlugin.unregisterSymbol("Plus"),Ea.SymbolPlugin.registerSymbol("Plus",Oa),Ea.SymbolPlugin.unregisterSymbol("X"),Ea.SymbolPlugin.registerSymbol("X",Qa),Ea.FilterPlugin.unregisterFilter("ValueEncodingExcludeNulls"),Ea.FilterPlugin.registerFilter("ValueEncodingExcludeNulls",Ga),Ea.FilterPlugin.unregisterFilter("CategoryEncodingExcludeNulls"),Ea.FilterPlugin.registerFilter("CategoryEncodingExcludeNulls",Ga),Ea.RenderEnginePlugin.unregisterRenderEngine("Canvas"),Ea.RenderEnginePlugin.registerRenderEngine("Canvas",new Ea.PureCanvasRenderEnginePlugin),Ea.PluginCollection.defaultPluginCollection.register(new Ea.SjsLegendViewManagerPlugin),Ea.PluginCollection.defaultPluginCollection.register(new Ea.PieExcelPlotLayoutPlugin),Ra=Ba.FlexDV.prototype,Sa=Ra.load,Ra.load=function(){try{Sa.apply(this,arguments)}catch(a){}},Ta=Ra.refresh,Ra.refresh=function(){try{this.devicePixelRatioIsAuto&&(this.devicePixelRatio=f.En.npb()),Ta.apply(this,arguments)}catch(a){}},Ua=Ra.select,Ra.select=function(){try{Ua.apply(this,arguments)}catch(a){}})},"./dist/plugins/chart/chart-spreadjs.js":function(a,b,c){"use strict";var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s=this&&this.__extends||function(){var a=function(b,c){return(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])})(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)}}();Object.defineProperty(b,"__esModule",{value:!0}),d=c("Core"),e=c("CalcEngine"),f=c("FloatingObject"),g=c("./dist/plugins/chart/chartview.js"),h=c("./dist/plugins/chart/chartSource.js"),i=f.Drawing.DateTimeExtension,j=f.Drawing.ChartUtility,k=f.Drawing.Range,l=f.Drawing.CellRect,m=null,n=void 0,o=".chart";function t(a){var b="General";return a&&(b=a.formatter||a._autoFormatter,b&&"object"==typeof b)?b.formatString():b}p=d.Worksheet.prototype,p.Apa=function(a){return this.parent.getSheetFromName(a)},p.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},p.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},p.ksa=function(a,b){var c=this.getStyle(a,b);return{FormatCode:t(c),Flag:m}},p.Cpa=function(a,b,c,d,e){var f,g,h,i;for(e===n&&(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},p.Bpa=function(a,b,c,d,e){var f,g,h,i;for(e===n&&(e=!1),f=[],g=0;g<c;g++)if(this.getRowVisible(a+g)&&this.getRowHeight(a+g)>0){for(h=[],i=0;i<d;i++)this.getColumnVisible(b+i)&&this.getColumnWidth(b+i)>0&&h.push(this.mua(a+g,b+i,e));f.push(h)}return f},p.mua=function(a,b,c){var d=this.getValue(a,b);return c&&"number"==typeof d&&d>i.OADateMinAsDouble&&d<i.OADateMaxAsDouble?i.FromOADate(d):d},p.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},p.sSa=function(a,b,c,d,f){var g,h,i,k,l,m,n,o,p,q=new e.Evaluator,r=a;if(g=r.source?r.source:this.yj(),h=g.getEvaluatorContext(e.pf(d,f)),i=e.Mh(h,a,!1,0,0,!0,!0),k=q.evaluate(i||a,h,!0,!0),k instanceof e.CalcReference)for(l=k.getSource().getName(),m=0;m<k.getRangeCount();m++)n=j.CreateReference(l,k.getRow(m),k.getColumn(m),k.getRowCount(m),k.getColumnCount(m)),b.push(n);else if(k instanceof e.CalcArray)for(o=0;o<k.getRowCount();o++)for(p=0;p<k.getColumnCount();p++)c.push(k.getValue(o,p))},p.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,!1,!1,!d),this.sSa(e,f,g,b,c)),{references:f,values:g}},p.Jpa=function(a,b,c,d,e){var f=1,g=1;return a<0&&(f=-1),b<0&&(g=-1),new k(e||this,[new l(a,b,c||f,d||g)])},p.jua=function(a){var b,c=this,d=[],e=a?c.getRowCount():c.getColumnCount(),f=a?c.getRowVisible:c.getColumnVisible,g=a?c.getRowHeight:c.getColumnWidth,h=-1,i=0;for(b=0;b<e;b++)f.call(c,b)&&g.call(c,b)>0?h!==-1&&0!==i&&(d.push({Index:h,Count:i}),h=-1,i=0):h===-1?(h=b,i=1):i++;return h!==-1&&0!==i&&d.push({Index:h,Count:i}),d},p.Kqa=function(a){var b=this.currentTheme();return j.Kqa(b,a)},p.Yra=function(a){var b=this.currentTheme();return j.Yra(b,a)},p.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)&&this.getRowHeight(d.Row+e)>0)return!1}else if(d.IsFullColumn)for(g=0,h=d.ColumnCount;g<h;g++)if(this.getColumnVisible(d.Column+g)&&this.getColumnWidth(d.Column+g)>0)return!1;return!0},p.rua=function(a,b){var c=this.Vva;c&&c.Tva(a,b)},p.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)},q=function(a){s(b,a);function b(b){return a.call(this,b,"2")||this}return b.prototype.add=function(a,b,c,d,e,f,h,i){var j=this.kj,k=new g.Chart(j,a,b,c,d,e,f,h,i);return j.wr.Sb(k),k},b.prototype.Sb=function(a){return this.kj.wr.Sb(a),a},b.prototype.get=function(a){return this.kj.wr.NR(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.all=function(){return this.kj.wr.zR(this.g3)},b.prototype.zIndex=function(a,b){return this.kj.wr.PR(a,b)},b.prototype.tTa=function(a,b,c){f.FloatingObjectCollection.prototype.tTa.call(this,a,b,c);var d=this.kj,e;e=c?new l(a,0,b-a+1,d.getColumnCount()):new l(0,a,d.getRowCount(),b-a+1),this.all().forEach(function(a){a.sua(!0,e)})},b}(f.FloatingObjectCollection),b.ChartCollection=q;function u(a,b,c,d){var e,f,g=a.zoom();d&&!d.width||(e=b.wxb(g),c.style.width=e+"px"),d&&!d.height||(f=b.xxb(g),c.style.height=f+"px")}function v(a){var b=a.Cva;b&&(b.series=n,b.chartView=n,b.Gu("TextChanged"),b.destroy(),a.Cva=m)}r=d.lUa.prototype,r.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}))},r.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.lUa.$n("Charts",{init:function(){this.Xva=new q(this.kj)},undo:function(a){var b=a.VVa;b&&this.WVa(b),this.kj.MOa(!0)}}),d.Worksheet.$n("chart",{init:function(){var a=this,b=a.Vva=new h.ChartSource(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(d.Events.RowChanged+o,function(b,d){var e=d.propertyName;"isVisible"===e&&c([new l(d.row,0,1,a.getColumnCount())])}),a.Fu(d.Events.ColumnChanged+o,function(b,d){var e=d.propertyName;"isVisible"===e&&c([new l(0,d.col,a.getRowCount(),1)])}),a.Fu(d.Events.RowHeightChanged+o,function(b,d){var e,f=d.rowList;for(e=0;e<f.length;e++)c([new l(f[e],0,1,a.getColumnCount())])}),a.Fu(d.Events.ColumnWidthChanged+o,function(b,d){var e,f=d.colList;for(e=0;e<f.length;e++)c([new l(0,f[e],a.getRowCount(),1)])}),a.Fu(d.Events.FloatingObjectLoaded+o,function(b,c){var e,f=c.floatingObject.Spa,g=c.floatingObject;f&&(e=c.element,g.AJ(e),u(a,g,e),g.Nva(e,d.En.npb(),!0))}),a.Fu(d.Events.FloatingObjectChanged+o,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,u(a,j,d,i),j.width()>0&&j.height()>0&&h.refresh()):"isSelected"!==k||e||h.select([])}),a.Fu(d.Events.FloatingObjectRemoved+o,function(b,c){var d=c.floatingObject,e=d.Gva;e&&(d.no(),v(a))}),a.Fu(d.Events.FloatingObjectSelectionChanged+o,function(a,b){var c=b.floatingObject;c&&c instanceof g.Chart&&c.isSelected()===!1&&c.Kva()})},dispose:function(a){if(a.clearCache!==!1){var b=this;b.Gu(o),v(b)}},processMouseDown:function(a){var b=this;a.hitInfo.formulaRangeHitInfo||(v(b),b.yl.uH())},toJson:function(a,b){var c,d,e,f=b&&b.ignoreStyle;f||(c=this,d=c.charts.all(),d.length>0&&(e=c.Vva,e&&e.Dxb(),a.charts=d.map(function(a){return a.toJSON()})))},fromJsonAfterFormula:function(a,b,c){var d,e,f,h,i,j,k=c&&c.ignoreStyle;if(!k&&(d=a.charts,e=this,d))for(f=0,h=d;f<h.length;f++)i=h[f],j=new g.Chart(e),j.fromJSON(i),e.charts.Sb(j)},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],u(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()},onGroupChanged:function(a){this.charts.tTa(a.start,a.end,a.isRow)}}),d.Workbook.$n("chart",{init:function(){if(!e.Functions.findGlobalFunction("SERIES")){var a=new e.Functions.Function("SERIES",4,5);a.evaluate=function(a){return 0},a.acceptsReference=function(a){return!0},a.acceptsArray=function(a){return!0},e.Functions.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(m,!0)})})},onCultureChanged:function(){var a=this.getActiveSheet();a.MOa()}})},"./dist/plugins/chart/chart.entry.js":function(a,b,c){"use strict";var d,e;function f(a){for(var c in a)b.hasOwnProperty(c)||(b[c]=a[c])}Object.defineProperty(b,"__esModule",{value:!0}),c("./dist/plugins/chart/dv/dv.plugins.js"),f(c("./dist/plugins/chart/chartTitle.js")),f(c("./dist/plugins/chart/axis.js")),f(c("./dist/plugins/chart/chartview.js")),f(c("./dist/plugins/chart/chart.js")),f(c("./dist/plugins/chart/chartFormat.js")),f(c("./dist/plugins/chart/chartGroup.js")),f(c("./dist/plugins/chart/dataPoint.js")),f(c("./dist/plugins/chart/legend.js")),f(c("./dist/plugins/chart/plotArea.js")),f(c("./dist/plugins/chart/series.js")),f(c("./dist/plugins/chart/chartSource.js")),f(c("./dist/plugins/chart/chart-dv.js")),f(c("./dist/plugins/chart/chart-spreadjs.js")),f(c("./dist/plugins/chart/chart.ns.js")),d=c("FloatingObject");for(e in d.Drawing)d.Drawing.hasOwnProperty(e)&&(b[e]=d.Drawing[e])},"./dist/plugins/chart/chart.js":function(a,b,c){"use strict";var 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=this&&this.__extends||function(){var a=function(b,c){return(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])})(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)}}();Object.defineProperty(b,"__esModule",{value:!0}),d=c("./dist/plugins/chart/series.js"),e=c("./dist/plugins/chart/chartGroup.js"),f=c("./dist/plugins/chart/axis.js"),g=c("./dist/plugins/chart/legend.js"),h=c("./dist/plugins/chart/chartTitle.js"),i=c("./dist/plugins/chart/plotArea.js"),j=c("./dist/plugins/chart/chartFormat.js"),k=c("./dist/plugins/chart/hoverStyle.js"),l=c("FloatingObject"),m=l.Drawing.UnitHelper,n=l.Drawing.ChartUtility,o=l.Drawing.ChartConstants,p=l.Drawing.ChartElementBase,q=l.Drawing.ARGBColor,r=l.Drawing.DrawingType,s=l.Drawing.DrawingText,t=m.isNullOrUndefined,u=m.pointToPixel,v=null,w=void 0,x=Math.floor;function F(a){var b=a.chart,c=b&&b.plotArea,d=c&&c.plotAreaRegion,e=d&&d.series,f=e&&e[0],g=f&&f.layoutId;return g&&(20===g||21===g)}y=function(a){E(b,a);function b(b){var c,d=a.call(this)||this,e=d;return e.Spa=b,e.Qpa=e.GetDefaultChartText(),c=e.Kb=e.GetDefaultFormat(),c.Fill.Color.ObjectThemeColor=0,c.Line.Color.ObjectThemeColor=1,c.Line.Color.Brightness=o.DefaultLineColorBrightness,c.Line.Weight=1,e.bta=!1,d}return Object.defineProperty(b.prototype,"Font",{get:function(){return this.Qpa.Font},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Format",{get:function(){var a=this;return t(a.Kb)&&(a.Kb=a.GetDefaultFormat()),a.Kb},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"FormatInternal",{get:function(){var a=this;return t(a.Kb)&&(a.Kb=a.CreateFormat()),a.Kb},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Parent",{get:function(){return this.Spa},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"RoundedCorners",{get:function(){return this.bta},set:function(a){this.bta=a},enumerable:!0,configurable:!0}),b.prototype.GetDefaultChartText=function(){var a=new s(this.Spa.Parent,v,v,{
- Size:u(10)}),b=a.Font;return b.ThemeFont=2,b.Color.ObjectThemeColor=1,b.Color.Brightness=.35,b.Bold=!1,a},b.prototype.ResetChartText=function(){var a,b,c,d,e,f,g=this,h=new s(g.Spa.Parent,v,v,{Size:u(10)});if(!t(g.Qpa)){for(a=[],b=0,c=g.Qpa.Font.Children;b<c.length;b++)a.push(c[b]);for(d=0,e=a;d<e.length;d++)f=e[d],f.ParentStateful=h.Font}g.Qpa=h},b.prototype.setFontColor=function(a,b){this.Qpa.TextBody.setFontColor(a,b)},b.prototype.setFontTransparency=function(a){this.Qpa.TextBody.setFontTransparency(a)},b.prototype.FromOOModel=function(b){var c,d=this;d.Lqa=b,t(b)||(d.bta=b.RoundedCorners,t(b.SpPr)&&b.Is2016Chart||a.prototype.FromShapeProperties.call(this,b.SpPr),c={},c.rich=b.TxPr,d.ResetChartText(),t(c.rich)||d.Qpa.FromOOModel(c))},b.prototype.ToOOModel=function(){var b=this,c=t(b.Lqa)?{}:b.Lqa;return c.SpPr=a.prototype.ToShapeProperties.call(this),t(b.Qpa)||(c.TxPr=b.Qpa.ToOOModel().rich),c},b.prototype.GetDefaultFormat=function(){return this.CreateFormat()},b.prototype.CreateFormat=function(){return new j.ChartFormat(this.Spa,v,v,v)},b}(p),b.ChartArea=y,z=function(a){E(b,a);function b(b){var c=a.call(this)||this,d=c;return d.Lqa=v,d.Spa=b,d}return Object.defineProperty(b.prototype,"Format",{get:function(){var a=this;return t(a.Kb)&&(a.Kb=a.GetDefaultFormat()),a.Kb},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Parent",{get:function(){return this.Spa},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Thickness",{get:function(){return this.cta},set:function(a){this.cta=a},enumerable:!0,configurable:!0}),b.prototype.GetDefaultFormat=function(){var b=a.prototype.GetDefaultFormat.call(this);return b.Line.Color.ColorType=0,b},b.prototype.CreateFormat=function(){return new j.ChartFormat(this.Spa)},b.prototype.FromOOModel=function(b){this.Lqa=b,t(b.thickness)||(this.Thickness=x(b.thickness)),a.prototype.FromShapeProperties.call(this,b.spPr)},b.prototype.ToOOModel=function(){var b=this,c=t(b.Lqa)?{}:b.Lqa;return c.thickness=b.Thickness,c.spPr=a.prototype.ToShapeProperties.call(this),c},b}(p),b.Floor=z,A=function(a){E(b,a);function b(b){var c=a.call(this)||this,d=c;return d.cta=0,d.Lqa=v,d.Spa=b,c}return Object.defineProperty(b.prototype,"Format",{get:function(){return this.ChartFormat},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Parent",{get:function(){return this.Spa},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Thickness",{get:function(){return this.cta},set:function(a){this.cta=a},enumerable:!0,configurable:!0}),b.prototype.FromOOModel=function(b){this.Lqa=b,t(b.thickness)||(this.Thickness=x(b.thickness)),a.prototype.FromShapeProperties.call(this,b.spPr)},b.prototype.ToOOModel=function(){var b=this,c=t(b.Lqa)?{}:b.Lqa;return c.thickness=b.Thickness,c.spPr=a.prototype.ToShapeProperties.call(this),c},b.prototype.CreateFormat=function(){return this.CreateFormatCore()},b.prototype.CreateFormatCore=function(){return v},b}(p),b.WallBase=A,B=function(a){E(b,a);function b(b){return a.call(this,b)||this}return Object.defineProperty(b.prototype,"Thickness",{get:function(){return this.cta},set:function(a){this.cta=a,this.Spa.SideWall.Thickness=a,this.Spa.BackWall.Thickness=a},enumerable:!0,configurable:!0}),b.prototype.CreateFormatCore=function(){return new j.ChartFormat(this.Spa)},b}(A),b.Walls=B,C=function(a){E(b,a);function b(b){return a.call(this,b)||this}return b.prototype.CreateFormatCore=function(){return new j.ChartFormat(this.Spa,this.Spa.Walls.Format)},b}(A),b.Wall=C,D=function(){function a(a,b){b===w&&(b=12);var c=this;if(c.dta=150,c.eta=!0,n.IsSunburstChart(b)?c.fta=!1: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.Zkb=!1,c.rOb=0,c.yOb=!1,c.lta=new d.SeriesCollection(c),c.wOb=!1,c.InitElements(),c.InitProps(),c.mta=new e.FullChartGroups(c),c.UpdateFormat()}return Object.defineProperty(a.prototype,"Name",{get:function(){return this.kta.name()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"Parent",{get:function(){return this.kta},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"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(n.IsStockChart(a)&&b.GetStockChartSersCount(a)!==b.lta.Count)throw Error("the amount of series is not correct!");b.e8=a,b.UpdateOnChartTypeChanged()}},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"SeriesCollection",{get:function(){return this.lta},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"Axes",{get:function(){var a=this;return a.Dsa||(a.Dsa=new f.Axes(a)),a.Dsa},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"ChartArea",{get:function(){return this.nta},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"ChartTitle",{get:function(){return this.HasTitle?this.zsa:v},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"DisplayNaNAsBlank",{get:function(){return this.yOb},set:function(a){this.yOb=a},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"UseAnimation",{get:function(){return this.Zkb},set:function(a){this.Zkb=a},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"DisplayBlanksAs",{get:function(){return this.rOb},set:function(a){this.rOb=a},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"PlotArea",{get:function(){return this.pta},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"Legend",{get:function(){return this.HasLegend?this.mva:v},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"Floor",{get:function(){var a=this;return n.Is3DChart(a.e8)?(t(a.qta)&&(a.qta=a.GetDefaultFloor()),a.qta):v},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"Walls",{get:function(){var a=this;return n.Is3DChart(a.e8)?(t(a.rta)&&(a.rta=new B(a)),a.rta):v},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"SideWall",{get:function(){var a=this;return n.Is3DChart(a.e8)?(t(a.sta)&&(a.sta=new C(a)),a.sta):v},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"BackWall",{get:function(){var a=this;return n.Is3DChart(a.e8)?(t(a.tta)&&(a.tta=new C(a)),a.tta):v},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"AutoScaling",{get:function(){return this.nta.Format.ThreeD._AutoScale},set:function(a){this.nta.Format.ThreeD._AutoScale=a},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"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()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"PlotVisibleOnly",{get:function(){return this.eta},set:function(a){a!==this.eta&&this.UpdatePlotVisibleOnly(a)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"DepthPercent",{get:function(){return this.nta.Format.ThreeD._DepthPercent},set:function(a){this.nta.Format.ThreeD._DepthPercent=a},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"Elevation",{get:function(){return this.nta.Format.ThreeD.RotationY},set:function(a){this.nta.Format.ThreeD.RotationY=a},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"GapDepth",{get:function(){return this.dta},set:function(a){a>=0&&a<=500&&(this.dta=a)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"HasLegend",{get:function(){return this.fta},set:function(a){a!==this.fta&&(this.fta=a,a&&this.mva.LegendEntries.UpdateEntries())},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"HasTitle",{get:function(){return this.ysa},set:function(a){this.ysa=a},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"HeightPercent",{get:function(){return this.nta.Format.ThreeD._HeightPercent},set:function(a){this.nta.Format.ThreeD._HeightPercent=a},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"Perspective",{get:function(){return this.nta.Format.ThreeD.Perspective},set:function(a){this.nta.Format.ThreeD.Perspective=a},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"RightAngleAxes",{get:function(){return this.nta.Format.ThreeD._RightAngleAxes},set:function(a){this.nta.Format.ThreeD._RightAngleAxes=a},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"Rotation",{get:function(){return this.nta.Format.ThreeD.RotationX},set:function(a){this.nta.Format.ThreeD.RotationX=a},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"Area3DGroup",{get:function(){return this.GetFirstChartGroup(1)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"Bar3DGroup",{get:function(){return this.GetFirstChartGroup(2)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"Column3DGroup",{get:function(){return this.GetFirstChartGroup(3)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"Line3DGroup",{get:function(){return this.GetFirstChartGroup(4)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"Pie3DGroup",{get:function(){return this.GetFirstChartGroup(5)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"SurfaceGroup",{get:function(){return this.GetFirstChartGroup(6)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"AreaGroups",{get:function(){return this.GetChartGroups(7)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"BarGroups",{get:function(){return this.GetChartGroups(8)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"ColumnGroups",{get:function(){return this.GetChartGroups(9)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"DoughnutGroups",{get:function(){return this.GetChartGroups(10)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"LineGroups",{get:function(){return this.GetChartGroups(11)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"PieGroups",{get:function(){return this.GetChartGroups(12)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"RadarGroups",{get:function(){return this.GetChartGroups(13)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"XYGroups",{get:function(){return this.GetChartGroups(14)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"ChartGroups",{get:function(){return this.mta.Count>0?this.mta:v},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"IsElementChangedSuspended",{get:function(){return this.jta>0},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"DrawingType",{get:function(){return r.Chart},enumerable:!0,configurable:!0}),a.prototype.InitElements=function(){var a=this;a.nta=new y(a),a.mva=new g.Legend(a),n.IsRadarChart(a.e8)||n.IsSunburstOrTreemapChart(a.e8)?a.mva.Position=1:a.mva.Position=4,a.zsa=new h.ChartTitle(a),a.pta=new i.PlotArea(a),n.Is3DChart(a.e8)&&(a.qta=a.GetDefaultFloor(),a.rta=new B(a),a.sta=new C(a),a.tta=new C(a)),a.xOb=new k.HoverStyle(a)},a.prototype.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}},a.prototype.UpdateSeries=function(a,b){b===w&&(b=!1),this.lta.RefreshSeriesIfNeed(a,b)},a.prototype.InitChartGroups=function(){t(this.mta)&&(this.mta=new e.FullChartGroups(this))},a.prototype.SetSourceData=function(a,b){this.lta.SetSourceData(a,b)},a.prototype.Delete=function(){},a.prototype.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},a.prototype.SuspendElementChanged=function(){this.jta++},a.prototype.ResumeElementChanged=function(a,b,c){b===w&&(b=v),c===w&&(c=v),this.jta--,0!==this.jta||t(a)||this.HandleElementChanged(a,b,c)},a.prototype.HandleElementChanged=function(a,b,c,d,e){d===w&&(d=v),e===w&&(e=v);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))},a.prototype.FindChartGroup=function(a,b){var c,d,e,f=n.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 v},a.prototype.SetBarShapeInternal=function(a){this.gta=a},a.prototype.HandleSeriesCollectionChanged=function(a,b,c,d){var e=this,f=!1;return b===o.PrimaryValuesMinMax?t(e.uta)||(e.uta.UpdateAxisRulers(),f=!0):b===o.SecondaryValuesMinMax?t(e.vta)||(e.vta.UpdateAxisRulers(),f=!0):b===o.PrimaryXValuesMinMax?t(e.wta)||1===e.wta.ActualCategoryType||(e.wta.UpdateAxisRulers(),f=!0):b===o.SecondaryXValuesMinMax?t(e.xta)||1===e.xta.ActualCategoryType||(e.xta.UpdateAxisRulers(),f=!0):b===o.Collection?(e.lta._S=v,e.UpdateChartTypeBySeries(),e.UpdateAxes(),e.UpdateSeriesCollectionMinMax(),e.HasLegend&&e.mva.LegendEntries.UpdateEntries(),e.UpdateAxisNoMultiLvlLbl()):b===o.Restore&&(e.UpdateChartTypeBySeries(),e.UpdateAxes(),e.UpdateSeriesCollectionMinMax(),e.mva.LegendEntries.UpdateEntries(),e.UpdateAxisNoMultiLvlLbl()),f},a.prototype.HandleSeriesChanged=function(a,b,c,d){var e,f,g,h,i,j,k,l=this,m=a,n=l.lta;if(b===o.ChartType)e=l.UpdateChartTypeBySeries(),e&&l.UpdateAxes();else if(b===o.AxisGroup)l.UpdateAxes(),l.UpdateSeriesCollectionMinMax();else if(b===o.AreAllXValuesDateTime)0===m.Index&&l.UpdateAxisActualCatType(m.AxisGroup);else if(b===o.ValuesMinMax)n.UpdateValuesMaxMin(m.AxisGroup);else if(b===o.XValuesMinMax)n.UpdateXValuesMaxMin(m.AxisGroup);else if(b===o.XValuesFormula)n.SyncOneDimensionSersXValuesFormula(m,c),l.UpdateAxisNoMultiLvlLbl();else if(b===o.IsMultiLevelXValues)f=G(l.Axes,0,m.AxisGroup),t(f)||(f.NoMultiLvlLbl=!m.IsMultiLevelXValues);else if(b===o.XValues)n.SyncOneDimensionSersXValues(m.AxisGroup,c);else if(b===o.PlotOrder)for(g=x(d),h=x(c),i=0,j=n.Count;i<j;i++)k=n.Get(i),k!==m&&(h>g?k.PlotOrder===h&&k.SetPlotOrderInternal(g):k.PlotOrder>=h&&k.SetPlotOrderInternal(k.PlotOrder+1))},a.prototype.HandleCategoryAxisChanged=function(a,b,c,d){var e,f=a;b===o.CategoryNames?this.lta.SyncOneDimensionSersXValues(f.AxisGroup,c):b===o.CategoryType&&(e=f.CategoryType,0===e?f.ActualCategoryType=this.DetectCatAxisCategoryType(f.AxisGroup):f.ActualCategoryType=e)},a.prototype.HandleChartGroupChanged=function(a,b,c,d){var e,f,g;if(b===o.SplitType||b===o.SplitValue)for(e=0,f=a.GetSers();e<f.length;e++)g=f[e],g.UpdateSecondPlotPoints();else b===o.AxisGroup&&(this.UpdateAxes(),this.UpdateSeriesCollectionMinMax());return!0},a.prototype.HandleDataPointChanged=function(a,b,c,d){b===o.SecondaryPlot&&(a.Parent.Parent.SplitType=3)},a.prototype.ResetSeriesByChartType=function(){var a,b,c=this,d=c.lta,e=d.Count;if(0!==e)if(n.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()},a.prototype.UpdateSeriesCollectionMinMax=function(){var a,b=this,c=b.lta;c.UpdateValuesMaxMin(0),c.UpdateValuesMaxMin(1),a=n.GetDimensioin(b.ChartType),(a>1||!t(b.wta)&&b.wta.IsValueOrDateScaleAxis())&&c.UpdateXValuesMaxMin(0),(a>1||!t(b.xta)&&b.xta.IsValueOrDateScaleAxis())&&c.UpdateXValuesMaxMin(1)},a.prototype.UpdateAxes=function(){var a=this;a.Dsa||(a.Dsa=new f.Axes(a)),a.UpdateCatValAxes(),a.UpdateSeriesAxis(),a.UpdateAxisSettings()},a.prototype.UpdateCatValAxes=function(){var a,b,c,d,e=this,f=e.Dsa,g=!1,h=!1;if(n.IsAnyPieChart(e.e8))g=!1,h=!1;else if(a=e.lta.Count,0===a)g=!0;else for(b=0,c=e.lta.Count;b<c;b++)d=e.lta.Get(b),0===d.AxisGroup&&(g=!0),1===d.AxisGroup&&(h=!0);g?(t(e.uta)&&(e.uta=G(f,1,0,!0)),t(e.wta)&&(e.wta=G(f,0,0,!0))):(f.Remove(1,0),e.uta=v,f.Remove(0,0),e.wta=v),h?(t(e.vta)&&(e.vta=G(f,1,1,!0)),t(e.xta)&&(e.xta=G(f,0,1,!0))):(f.Remove(1,1),e.vta=v,f.Remove(0,1),e.xta=v)},a.prototype.UpdateSeriesAxis=function(){var a=this,b=a.Dsa;n.HasSeriesAx(a.e8)?t(a.yta)&&(a.yta=G(b,2,0,!0)):(b.Remove(2,0),a.yta=v)},a.prototype.UpdateAxisNoMultiLvlLbl=function(){var a,b,c,d=this.lta,e=d.GetSers(!0,0);e.length>0&&(a=G(this.Dsa,0,0),t(a)||(a.NoMultiLvlLbl=!e.some(function(a){return a.IsMultiLevelXValues}))),b=d.GetSers(!0,1),b.length>0&&(c=G(this.Dsa,0,1),t(c)||(c.NoMultiLvlLbl=!b.some(function(a){return a.IsMultiLevelXValues})))},a.prototype.UpdateFormat=function(){var a=this,b=a.nta.Format.ThreeD;n.Is3DChart(a.e8)&&(n.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))},a.prototype.UpdateAxisSettings=function(a){a===w&&(a=v);var b=this;b.UpdateAxisActualCatType(a),t(b.uta)||(46===b.e8||47===b.e8?b.uta.TickLabelPosition=3:b.uta.TickLabelPosition=2)},a.prototype.UpdateAxisActualCatType=function(a){a===w&&(a=v);var b=this;t(b.wta)||0!==b.wta.CategoryType||!t(a)&&0!==a||(b.wta.ActualCategoryType=b.DetectCatAxisCategoryType(0)),t(b.xta)||0!==b.xta.CategoryType||!t(a)&&1!==a||(b.xta.ActualCategoryType=b.DetectCatAxisCategoryType(1))},a.prototype.UpdateOnChartTypeChanged=function(){var a,b,c=this;c.ResetSeriesByChartType(),c.UpdateAxes(),c.Dsa.ResetOnChartTypeChanged(),c.UpdateSeriesCollectionMinMax(),c.UpdateFormat(),a=n.MapToGroupType(c.e8),b=c.ita[a],b&&b.Reset()},a.prototype.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 60===i&&(d=!0,e=i),d&&b!==h.e8&&(e=b),e!==i&&!n.IsBuiltInComboChart(i)&&(h.e8=e,!0)},a.prototype.UpdateAxesRulers=function(){var a=this;t(a.wta)||a.wta.UpdateAxisRulers(),t(a.xta)||a.xta.UpdateAxisRulers(),t(a.uta)||a.uta.UpdateAxisRulers(),t(a.vta)||a.vta.UpdateAxisRulers()},a.prototype.DetectCatAxisCategoryType=function(a){var b,c,d,e,f,g=this,h=n.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=n.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},a.prototype.AreAllFirstSerXValuesDateTime=function(a){var b=this.lta.Item(0,a);return!t(b)&&(!t(b.XValuesRefers)&&n.AreValuesDateTime(this.kta.sheet(),b.XValuesRefers,this.PlotVisibleOnly))},a.prototype.GetDefaultFloor=function(){var a,b=new z(this);return n.IsAreaChart(this.e8)&&n.Is3DChart(this.e8)?(a=b.Format.Line,a.Weight=1,a.Color.ObjectThemeColor=1,a.Color.Brightness=o.DefaultLineColorBrightness):b.Thickness=0,b},a.prototype.GetStockChartSersCount=function(a){return 49===a?3:50===a||51===a?4:52===a?5:-1},a.prototype.HasChartGroups=function(a){var b,c,d;for(b=0,c=this.lta.AllSers;b<c.length;b++)if(d=c[b],n.MapToGroupType(d.InnerChartType)===a)return!0;return!1},a.prototype.GetChartGroups=function(a){var b=this.ita[a];return b||(b=new e.ChartGroups(this,a),this.ita[a]=b),b},a.prototype.GetFirstChartGroup=function(a){var b=this.GetChartGroups(a);return!t(b)&&b.Count>0?b.Get(0):v},a.prototype.FromOOModel=function(a){var b=this;b.zta=a,t(a)||(b.FromCT_ChartArea(a),t(a.colors)||(b.$kb=a.colors),t(b.zta.chart)||(b.mta.startCache(),b.FromCT_Chart(b.zta.chart),b.mta.endCache()),t(b.zta.userShapes)||b.FromCT_UserShapes(b.zta.userShapes))},a.prototype.ToOOModel=function(){var a,b,c=this,d=t(c.zta)?{typeName:"chartSpace"}:c.zta;return t(c.nta)||(d.roundedCorners=c.nta.RoundedCorners),d.chart=c.ToCT_Chart(),t(c.nta)||(a=c.nta.ToOOModel(),d.spPr=a.SpPr,d.txPr=a.TxPr),b=c.ToCT_UserShapes(),b&&(d.userShapes=b),d},a.prototype.FromCT_ChartArea=function(a){var b,c={};c.RoundedCorners=!t(a.roundedCorners)&&a.roundedCorners,c.SpPr=a.spPr,c.TxPr=a.txPr,c.Is2016Chart=F(a),this.nta.FromOOModel(c),t(a.chart)&&t(a.spPr)||(b={},t(a.chart)||(b.View3D=a.chart.view3D),t(a.spPr)||(b.Scene3D=a.spPr.scene3d,b.Shape3D=a.spPr.sp3d),t(b.View3D)&&t(b.Shape3D)&&t(b.Scene3D)||this.nta.FormatInternal.ThreeD.FromOOModel(b))},a.prototype.ToCT_UserShapes=function(){return 0===this.hta.length?v:this.hta.map(function(a){return a.toJSON()})},a.prototype.FromCT_UserShapes=function(a){var b=this,c=b.kta.sheet();a&&a.forEach(function(a){if(a){var d=v;a.chartSpace?d=b.createChartView&&b.createChartView(c):a.src&&(d=new l.Picture),d&&(d.fromJSON(a),b.hta.push(d))}})},a.prototype.ToCT_Chart=function(){var a=this,b=t(a.zta)||t(a.zta.chart)?{}:a.zta.chart,c=a.ChartType,d=n.GetIs2016ChartByChartType(c);return a.HasTitle?(b.title=a.zsa.ToOOModel(d),b.autoTitleDeleted=!1):(delete b.title,b.autoTitleDeleted=!0),a.ToCT_3DChartProps(b),b.plotArea=a.pta.ToOOModel(),a.HasLegend?b.legend=a.mva.ToOOModel(d):delete b.legend,b.plotVisOnly=a.PlotVisibleOnly,t(a.DisplayBlanksAs)?b.dispBlanksAs=0:b.dispBlanksAs=a.DisplayBlanksAs,t(a.DisplayNaNAsBlank)||(b.dispNaAsBlank=a.DisplayNaNAsBlank),b.extLst=a.ToCT_ExtensionList(),b.showDLblsOverMax=a.ShowDataLabelsOverMaximum,b.pivotFmts&&0===b.pivotFmts.length&&delete b.pivotFmts,b},a.prototype.FromCT_ExtensionList=function(a){var b,c,d,e,f,g=this;if(!t(a)&&!t(a.ext))for(b=0,c=a.ext;b<c.length;b++)d=c[b],d&&d.dataObject&&(e=d.dataObject.extDataType,2===e&&(f=d.dataObject,g.DisplayNaNAsBlank="1"===f.dispNaAsBlank))},a.prototype.ToCT_ExtensionList=function(){var a,b,c=this,d={ext:[]};return c.DisplayNaNAsBlank&&(a={uri:"{56B9EC1D-385E-4148-901F-78D8002777C0}"},b={extDataType:2},b.dispNaAsBlank="1",a.dataObject=b,d.ext.push(a)),d},a.prototype.FromCT_Chart=function(a){var b,c,d,e=this;if(e.e8=n.GetChartType(a.plotArea),b=n.Get2016ChartType(a.plotArea),t(a.title)?e.ysa=!1:(e.ysa=!0,e.zsa=new h.ChartTitle(e),e.zsa.FromOOModel(a.title)),e.UpdatePlotVisibleOnly(!!t(a.plotVisOnly)||a.plotVisOnly),!t(a.plotArea))for(e.pta.FromOOModel(a.plotArea),c=0,d=e.mta.Count;c<d;c++)e.mta.Get(c).Restore(a.plotArea);t(a.legend)?e.HasLegend=!1:(e.HasLegend=!0,b?e.mva.From2016ChartOOModel(a.legend):e.mva.FromOOModel(a.legend)),t(a.dispBlanksAs)||(e.DisplayBlanksAs=a.dispBlanksAs),t(a.dispNaAsBlank)||(e.DisplayNaNAsBlank=a.dispNaAsBlank),t(a.extLst)||e.FromCT_ExtensionList(a.extLst),t(a.showDLblsOverMax)||(e.ShowDataLabelsOverMaximum=a.showDLblsOverMax),t(a.floor)?e.qta=v:(e.qta=new z(e),e.qta.FromOOModel(a.floor)),t(a.sideWall)?e.sta=v:(e.sta=new C(e),e.sta.FromOOModel(a.sideWall)),t(a.backWall)?e.tta=v:(e.tta=new C(e),e.tta.FromOOModel(a.backWall))},a.prototype.ToCT_3DChartProps=function(a){var b,c,d=this;n.Is3DChart(d.e8)?(b=d.nta.Format.ThreeD.ToOOModel(),a.view3D=b.View3D,t(d.qta)?delete a.floor:a.floor=d.qta.ToOOModel(),t(d.sta)?delete a.sideWall:a.sideWall=d.sta.ToOOModel(),t(d.tta)?delete a.backWall:a.backWall=d.tta.ToOOModel(),c=v,t(d.rta)||(c=d.rta.ToOOModel()),t(c)||(t(a.sideWall)?a.sideWall=c:t(a.sideWall.spPr)&&(a.sideWall.spPr=c.spPr),t(a.backWall)?a.backWall=c:t(a.backWall.spPr)&&(a.backWall.spPr=c.spPr))):(delete a.view3D,delete a.floor,delete a.sideWall,delete a.backWall)},a.prototype.Kqa=function(a){if(2===a.ColorType)return q.FromArgb(a.Value);var b=this.kta.sheet();return t(b)?new q:b.Kqa(a)},a.prototype.Yra=function(a){var b=this.kta.sheet();return t(b)?"":b.Yra(a)},a}(),b.ChartModel=D;function G(a,b,c,d){var e=a.Item(b,c);return!e&&d&&(e=a.Add(b,c)),e}},"./dist/plugins/chart/chart.ns.js":function(a,b,c){"use strict";Object.defineProperty(b,"__esModule",{value:!0});var d=c("./dist/plugins/chart/chart.res.en.js");b.SR={en:d}},"./dist/plugins/chart/chart.res.en.js":function(a,b,c){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.period="period",b.movingAverage="MovingAverage",b.exponential="Exponential",b.linear="Linear",b.logarithmic="Logarithmic",b.polynomial="Polynomial",b.power="Power"},"./dist/plugins/chart/chartFormat.js":function(a,b,c){"use strict";var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v=this&&this.__extends||function(){var a=function(b,c){return(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])})(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)}}();Object.defineProperty(b,"__esModule",{value:!0}),d=c("FloatingObject"),e=d.Drawing.UnitHelper,f=d.Drawing.ChartUtility,g=d.Drawing.ARGBColor,h=d.Drawing.StatefullBase,i=d.Drawing.FillFormat,j=d.Drawing.LineFormat,k=d.Drawing.ColorFormat,l=d.Drawing.ThreeDFormat,m=d.Drawing.ShadowFormat,n=d.Drawing.GlowFormat,o=d.Drawing.SoftEdgeFormat,p=d.Drawing.ReflectionFormat,q=e.isNullOrUndefined,r=f.umb,s=null,t=void 0,u=function(a){v(b,a);function b(b,c,d,e){var f=a.call(this,c)||this,g=f;return g.Tpa=s,g.Spa=b,g.Upa=c,g.Vpa=d||g.Wpa.bind(g),g.Xpa=e||g.Ypa.bind(g),g}return b.prototype.Wpa=function(){var a=this.Upa,b=new k(this.Spa,a&&a.FillInternal);return b.RGB=g.FromRgb(255,255,255),b},b.prototype.Ypa=function(){var a=this.Upa,b=new k(this.Spa,a&&a.FillInternal);return b.RGB=g.FromRgb(0,0,0),b},Object.defineProperty(b.prototype,"Fill",{get:function(){return this.FillInternal},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Line",{get:function(){return this.LineInternal},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"ThreeD",{get:function(){return this.ThreedInternal},enumerable:!0,configurable:!0}),b.prototype.FromOOModel=function(a){var b=this;b.Tpa=a,q(a)||(q(a.solidFill)?q(a.noFill)?q(a.blipFill)?q(a.gradFill)?q(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),q(a.ln)||b.LineInternal.FromOOModel(a.ln),q(a.scene3d)&&q(a.sp3d)||b.ThreedInternal.FromOOModel({Scene3D:a.scene3d,Shape3D:a.sp3d}),b.FromCT_EffectList(a.effectLst))},b.prototype.ToOOModel=function(){return this.ToCT_ShapeProperties()},b.prototype.ToCT_ShapeProperties=function(){var a,b,c=this,d=q(c.Tpa)?{}:c.Tpa;return r(d),q(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),q(c.Cna)?delete d.ln:d.ln=c.Cna.ToOOModel(),!q(c.$pa)&&c.$pa.IsDirtyIncludingParent()&&(b=c.$pa.ToOOModel(),d.scene3d=b.Scene3D,d.sp3d=b.Shape3D),d.effectLst=c.ToCT_EffectList(),d},b.prototype.Clone=function(){var a=this,c=new b(a.Spa);return q(a.Zpa)||(c.Zpa=a.Zpa.Clone()),q(a.Cna)?c.Cna=s:c.Cna=a.Cna.Clone(),q(a.$pa)||(c.$pa=a.$pa.Clone()),c.rpa=a.rpa,c.Upa=a.Upa,c},b.prototype.IsDirtyIncludingParent=function(b){var c=this;return b===t&&(b=!1),!(q(c.Zpa)||!c.Zpa.IsDirtyIncludingParent())||(!(q(c.Cna)||!c.Cna.IsDirtyIncludingParent())||(!(q(c.$pa)||!c.$pa.IsDirtyIncludingParent())||a.prototype.IsDirtyIncludingParent.call(this,b)))},b.prototype.OnParentChanged=function(a){var b=this;b.Upa=a,q(b.Upa)?(q(b.Zpa)||(b.Zpa.ParentStateful=s),q(b.Cna)||(b.Cna.ParentStateful=s),q(b.$pa)||(b.$pa.ParentStateful=s),q(b._pa)||(b._pa.ParentStateful=s),q(b.aqa)||(b.aqa.ParentStateful=s),q(b.bqa)||(b.bqa.ParentStateful=s),q(b.cqa)||(b.cqa.ParentStateful=s)):(q(b.Zpa)||(b.Zpa.ParentStateful=b.Upa.Fill),q(b.Cna)||(b.Cna.ParentStateful=b.Upa.Line),q(b.$pa)||(b.$pa.ParentStateful=b.Upa.ThreeD),q(b._pa)||(b._pa.ParentStateful=b.Upa.GlowFormatInternal),q(b.aqa)||(b.aqa.ParentStateful=b.Upa.ShadowFormatInternal),q(b.bqa)||(b.bqa.ParentStateful=b.Upa.SoftEdgeFormatInternal),q(b.cqa)||(b.cqa.ParentStateful=b.Upa.ReflectionFormatInternal))},b.prototype.FromCT_EffectList=function(a){var b=this;return q(a)?(b.SetShadowField(s),b.SetGlowField(s),b.SetSoftEdgeField(s),void b.SetReflectionField(s)):(q(a.innerShdw)?q(a.outerShdw)?q(a.prstShdw)?b.SetShadowField(s):b.ShadowFormatInternal.FromOOModel(a.prstShdw):b.ShadowFormatInternal.FromOOModel(a.outerShdw):b.ShadowFormatInternal.FromOOModel(a.innerShdw),q(a.glow)?b.SetGlowField(s):b.GlowFormatInternal.FromOOModel(a.glow),q(a.softEdge)?b.SetSoftEdgeField(s):b.SoftEdgeFormatInternal.FromOOModel(a.softEdge),void(q(a.reflection)?b.SetReflectionField(s):b.ReflectionFormatInternal.FromOOModel(a.reflection)))},b.prototype.ToCT_EffectList=function(){var a,b,c=this,d=q(c.Tpa)||q(c.Tpa.effectLst)?{}:c.Tpa.effectLst;return delete d.outerShdw,delete d.innerShdw,delete d.prstShdw,q(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,q(c._pa)||(d.glow=c._pa.ToOOModel()),delete d.softEdge,q(c.bqa)||(d.softEdge=c.bqa.ToOOModel()),delete d.reflection,q(c.cqa)||(d.reflection=c.cqa.ToOOModel()),c.IsEffectListDirty(d)?d:{}},Object.defineProperty(b.prototype,"FillInternal",{get:function(){var a=this;return q(a.Zpa)&&(a.Zpa=new i(a.Spa,q(a.Upa)?s:a.Upa.FillInternal,a.Vpa,a.Spa.Parent)),a.Zpa},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"LineInternal",{get:function(){var a=this;return q(a.Cna)&&(a.Cna=new j(a.Spa,q(a.Upa)?s:a.Upa.LineInternal,a.Xpa)),a.Cna},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"ThreedInternal",{get:function(){var a=this;return q(a.$pa)&&(a.$pa=new l(a.Spa,q(a.Upa)?s:a.Upa.ThreedInternal)),a.$pa},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"ShadowFormatInternal",{get:function(){var a=this;return q(a.aqa)&&(a.aqa=new m(a.Spa,q(a.Upa)?s:a.Upa.ShadowFormatInternal)),a.aqa},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"GlowFormatInternal",{get:function(){var a=this;return q(a._pa)&&(a._pa=new n(a.Spa,q(a.Upa)?s:a.Upa.GlowFormatInternal)),a._pa},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"SoftEdgeFormatInternal",{get:function(){return q(this.bqa)&&(this.bqa=new o),this.bqa},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"ReflectionFormatInternal",{get:function(){var a=this;return q(a.cqa)&&(a.cqa=new p(a.Spa,q(a.Upa)?s:a.Upa.ReflectionFormatInternal)),a.cqa},enumerable:!0,configurable:!0}),b.prototype.AdjustStateful=function(a,b){q(a)||(a.SetParentForChildren(b),q(b)||(b.ParentStateful=a.ParentStateful),a.ParentStateful=s)},b.prototype.SetFillField=function(a){this.AdjustStateful(this.Zpa,a),this.Zpa=a},b.prototype.SetLineField=function(a){this.AdjustStateful(this.Cna,a),this.Cna=a},b.prototype.SetThreeDField=function(a){this.AdjustStateful(this.$pa,a),this.$pa=a},b.prototype.SetShadowField=function(a){this.AdjustStateful(this.aqa,a),this.aqa=a},b.prototype.SetGlowField=function(a){this.AdjustStateful(this._pa,a),this._pa=a},b.prototype.SetReflectionField=function(a){this.AdjustStateful(this.cqa,a),this.cqa=a},b.prototype.SetSoftEdgeField=function(a){this.AdjustStateful(this.bqa,a),this.bqa=a},b.prototype.IsEffectListDirty=function(a){return!(q(a.blur)&&q(a.fillOverlay)&&q(a.glow)&&q(a.innerShdw)&&q(a.outerShdw)&&q(a.prstShdw)&&q(a.reflection)&&q(a.softEdge))},b}(h),b.ChartFormat=u},"./dist/plugins/chart/chartGroup.js":function(a,b,c){"use strict";var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r=this&&this.__extends||function(){var a=function(b,c){return(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])})(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)}}();Object.defineProperty(b,"__esModule",{value:!0}),d=c("./dist/plugins/chart/chartFormat.js"),e=c("./dist/plugins/chart/chartInterface.js"),f=c("FloatingObject"),g=f.Drawing.ChartConstants,h=f.Drawing.ChartUtility,i=f.Drawing.ChartElementBase,j=f.Drawing.UnitHelper,k=null,l=j.isNullOrUndefined,m=function(a){r(b,a);function b(b,c){var d=a.call(this)||this,e=d;return e.Hua=k,e.Jua=b,e.Kua=c,d}return Object.defineProperty(b.prototype,"Format",{get:function(){return this.ChartFormat;
- },enumerable:!0,configurable:!0}),b.prototype.GetDefaultFormat=function(){var b=this;switch(b.Kua){case e.ChartLinesType.DropLines:return b.GetDefaultDropLinesFormat();case e.ChartLinesType.HiLoLines:return b.GetDefaultHiLoLinesFormat();case e.ChartLinesType.SeriesLines:return b.GetOfPieDefaultSerLinesFormat();case e.ChartLinesType.DlblsLeaderLines:return b.GetDlblsDefaultLeaderLines()}return a.prototype.GetDefaultFormat.call(this)},b.prototype.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},b.prototype.GetDefaultHiLoLinesFormat=function(){return this.GetDefaultDropLinesOrFormat(.25)},b.prototype.GetDefaultDropLinesFormat=function(){return this.GetDefaultDropLinesOrFormat(.65)},b.prototype.GetDlblsDefaultLeaderLines=function(){return this.GetDefaultDropLinesOrFormat(.65)},b.prototype.GetDefaultDropLinesOrFormat=function(b){var c=a.prototype.GetDefaultFormat.call(this),d=c.Line,e=d.Color;return e.ObjectThemeColor=1,e.Brightness=b,d.Weight=1,c},b.prototype.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)},b.prototype.FromOOModel=function(b){this.Hua=b,l(b)?a.prototype.ClearFormat.call(this):a.prototype.FromShapeProperties.call(this,b.spPr)},b.prototype.ToOOModel=function(){var b=this.Hua||{};return b.spPr=a.prototype.ToShapeProperties.call(this),b},b.prototype.CreateFormat=function(){return new d.ChartFormat(this.Jua.Parent)},b}(i),b.ChartLines=m,n=function(a){r(b,a);function b(b,c){var d=a.call(this)||this,e=d;return e.Lua=k,e.Jua=b,e.Nc=c,d}return Object.defineProperty(b.prototype,"Format",{get:function(){return this.ChartFormat},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Parent",{get:function(){return this.Jua},enumerable:!0,configurable:!0}),b.prototype.GetDefaultFormat=function(){return this.Nc===e.BarType.Up?this.GetDefaultUpBarsFormat():this.GetDefaultDownBarsFormat()},b.prototype.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},b.prototype.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},b.prototype.Delete=function(){this.Jua.HasUpDownBars=!1},b.prototype.FromOOModel=function(b){this.Lua=b,l(b)?a.prototype.ClearFormat.call(this):a.prototype.FromShapeProperties.call(this,b.spPr)},b.prototype.ToOOModel=function(){var b=this.Lua||{};return b.spPr=a.prototype.ToShapeProperties.call(this),b},b.prototype.CreateFormat=function(){return new d.ChartFormat(this.Jua.Parent)},b}(i),b.ChartBars=n;function s(a,b){return a.some(function(a){return a===b.Index})}o=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()}return Object.defineProperty(a.prototype,"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,k,g.AxisGroup)}},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"BubbleScale",{get:function(){return this.Wua},set:function(a){a!==this.Wua&&a>=0&&a<=300&&(this.Wua=a)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"DoughnutHoleSize",{get:function(){return this.Pua},set:function(a){a!==this.Pua&&a>=10&&a<=90&&(this.Pua=a)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"FirstSliceAngle",{get:function(){return this.Xua},set:function(a){a!==this.Xua&&a>=0&&a<=360&&(this.Xua=a)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"GapWidth",{get:function(){return this.Yua},set:function(a){a!==this.Yua&&a>=0&&a<=500&&(this.Yua=a)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"HasDropLines",{get:function(){return this.Rua},set:function(a){var b=this;a!==b.Rua&&(b.Rua=a,a&&l(b.$ua)&&(b.$ua=new m(b,0)))},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"HasHiLoLines",{get:function(){return this.Sua},set:function(a){var b=this;a!==b.Sua&&(b.Sua=a,a&&l(b._ua)&&(b._ua=new m(b,1)))},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"HasSeriesLines",{get:function(){return this.Tua},set:function(a){var b=this;a!==b.Tua&&(b.Tua=a,a&&l(b.ava)&&(b.ava=new m(b,2)))},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"HasUpDownBars",{get:function(){return this.Uua},set:function(a){var b=this;a!==b.Uua&&(b.Uua=a,a&&l(b.bva)&&(b.bva=new n(b,0)),a&&l(b.cva)&&(b.cva=new n(b,1)))},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"Overlap",{get:function(){return this.dva},set:function(a){a!==this.dva&&a>=-100&&a<=100&&(this.dva=a)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"Parent",{get:function(){return this.Spa},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"SecondPlotSize",{get:function(){return this.Mua},set:function(a){a!==this.Mua&&a>=5&&a<=200&&(this.Mua=a)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"SeriesLines",{get:function(){return this.HasSeriesLines?this.ava:k},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"HiLoLines",{get:function(){return this.HasHiLoLines?this._ua:k},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"DropLines",{get:function(){return this.HasDropLines?this.$ua:k},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"SizeRepresents",{get:function(){return this.Vua},set:function(a){this.Vua=a},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"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,g.SplitType))},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"SplitValue",{get:function(){return this.Oua},set:function(a){var b=this;a!==b.Oua&&(b.Oua=a,b.Spa.HandleElementChanged(17,b,g.SplitValue))},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"UpBars",{get:function(){return this.HasUpDownBars?this.bva:k},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"DownBars",{get:function(){return this.HasUpDownBars?this.cva:k},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"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],e=void 0,f=d.InnerChartType,h.IsFillSeries(f)?(e=d.Format.Fill.Color,1!==e.ColorType&&(e.ColorType=1)):h.IsLineSeries(f)&&!h.IsStockChart(g.Spa.ChartType)&&(e=d.Format.Line.Color,1!==e.ColorType&&(e.ColorType=1))},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"SeriesCollection",{get:function(){return this.GetSers()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"Marker",{get:function(){return this.eva},set:function(a){this.eva=a},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"Count",{get:function(){return this.GetSers().length},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"GroupType",{get:function(){return this.Zua},enumerable:!0,configurable:!0}),a.prototype.Equals=function(a){return!l(a)&&a.AxisGroup===this.fsa&&a.Zua===this.Zua},a.prototype.IsStacked=function(){var a,b,c,d=this.GetSers();for(a=0,b=d;a<b.length;a++)if(c=b[a],h.IsStackedChart(c.InnerChartType))return!0;return!1},a.prototype.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&&h.MapToGroupType(c.InnerChartType)===this.Zua&&e.push(c);return e},a.prototype.Init=function(){var a,b,c=this,d=c.Spa.ChartType,e=c.Zua;8===e?h.IsStackedChart(d)||c.IsStacked()?(c.Yua=150,c.dva=100):(c.Yua=182,c.dva=0):9===e||3===e||2===e?h.IsStackedChart(d)||c.IsStacked()?(c.Yua=150,c.dva=100):(c.Yua=150,c.dva=-27):11===e?c.Yua=150:12===e&&(h.IsOfPieChart(d)?(c.Yua=100,c.Tua=!0):c.Tua=!1),h.IsDoughnutChart(d)&&h.IsExplodedChart(d)?c.Pua=50:c.Pua=75,h.IsLineMarkerChart(d)?c.eva=!0:11===e&&(a=c.GetSers(),b=a.some(function(a){return 4!==a.MarkerStyle}),b&&(c.eva=!0)),c.Tua=h.HasSeriesLines(d),c.ava=c.Tua?new m(c,2):k,c.Sua=h.HasHiLoLines(d),c._ua=c.Sua?new m(c,1):k,c.Uua=h.HasUpDownBars(d),c.bva=c.Uua?new n(c,0):k,c.cva=c.Uua?new n(c,1):k,c.Qua=12===c.Zua||5===c.Zua||10===c.Zua},a.prototype.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:h.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)}},a.prototype.RestoreBarGroup=function(a,b){var c,d=this,e=d.GetBarCharts(a,d.fsa,b);e.length>0&&(c=e[0],d.RestoreBarBaseGroup(c),l(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)},a.prototype.RestoreBarBaseGroup=function(a){l(a.gapWidth)||(this.GapWidth=a.gapWidth),l(a.varyColors)||(this.Qua=a.varyColors)},a.prototype.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):(l(g)||1===g)&&i.push(f);return i},a.prototype.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,l(c)?f.HasHiLoLines=!1:(f.HasHiLoLines=!0,f._ua.FromOOModel(c)),d=b.upDownBars,l(d)?f.HasUpDownBars=!1:(f.HasUpDownBars=!0,f.bva.FromOOModel(d.upBars),f.cva.FromOOModel(d.downBars)),e=b.marker,l(e)?f.Marker=!1:f.Marker=e)},a.prototype.RestoreLineBaseGroup=function(a){var b,c=this,d=a.varyColors;l(d)||(c.Qua=d),b=a.dropLines,l(b)?c.HasDropLines=!1:(c.HasDropLines=!0,c.$ua.FromOOModel(b))},a.prototype.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,l(c)?f.HasDropLines=!1:(f.HasDropLines=!0,f.$ua.FromOOModel(c)),d=b.hiLowLines,l(d)?f.HasHiLoLines=!1:(f.HasHiLoLines=!0,f._ua.FromOOModel(d)),e=b.upDownBars,l(e)?f.HasUpDownBars=!1:(f.HasUpDownBars=!0,f.bva.FromOOModel(e.upBars),f.cva.FromOOModel(e.downBars),l(e.gapWidth)||(f.GapWidth=e.gapWidth)))},a.prototype.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))},a.prototype.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,l(d)||(g.Wua=d),e=b.showNegBubbles,l(e)||(g.ShowNegativeBubbles=e),f=b.sizeRepresents,l(f)||(g.SizeRepresents=f))},a.prototype.RestorePieGroup=function(a){var b,c,d=k,e=h.GetPieChart(a);0===this.fsa?e.length>0&&(d=e[0]):(b=h.GetPieCharts(a),c=h.GetPrimaryPieChart(b),10===c.chartType?e.length>1&&(d=e[1]):e.length>0&&(d=e[0])),l(d)||this.RestorePieBaseGroup(d)},a.prototype.RestoreOfPieGroup=function(a){var b,c,d,e,f,g,i,j,m,n,o,p,q,r,t,u,v,w,x=this,y=k,z=h.GetOfPieChart(a);if(0===x.fsa?z.length>0&&(y=z[0]):(b=h.GetPieCharts(a),c=h.GetPrimaryPieChart(b),13===c.chartType?z.length>1&&(y=z[1]):z.length>0&&(y=z[0])),y)if(x.RestorePieBaseGroup(y),d=y.serLines,!l(d)&&d.length>0?(x.HasSeriesLines=!0,x.ava.FromOOModel(d[0])):x.HasSeriesLines=!1,e=y.secondPieSize,l(e)||(x.SecondPlotSize=e),f=y.gapWidth,l(f)||(x.GapWidth=f),g=y.splitType,l(g)||(x.Nua=g),i=y.splitPos,l(i)||(x.Oua=i),3===x.Nua){if(j=y.custSplit,m=j&&j.secondPiePt,m&&m.length>0)for(n=0,o=x.GetSers();n<o.length;n++)for(p=o[n],q=p.Points,r=0,t=q.Count;r<t;r++)u=q.Get(r),u.SetSecondaryPlotInteral(s(m,u))}else for(v=0,w=x.GetSers();v<w.length;v++)p=w[v],p.UpdateSecondPlotPoints()},a.prototype.RestoreDoughnutGroup=function(a){var b,c,d,e=k,f=h.GetDoughnutChart(a);0===this.fsa?f.length>0&&(e=f[0]):(b=h.GetPieCharts(a),c=h.GetPrimaryPieChart(b),12===c.chartType?f.length>1&&(e=f[1]):f.length>0&&(e=f[0])),e&&(this.RestorePieBaseGroup(e),d=e.holeSize,l(d)||(this.DoughnutHoleSize=d))},a.prototype.RestorePieBaseGroup=function(a){var b,c=a.varyColors;l(c)||(this.Qua=c),b=a.firstSliceAng,l(b)||(this.Xua=b)},a.prototype.RestoreRadarGroup=function(a){var b,c,d=this.GetCharts(2,a,this.fsa);d.length>0&&(b=d[0],c=b.varyColors,l(c)||(this.Qua=c))},a.prototype.RestoreAreaGroup=function(a){var b=this.GetCharts(4,a,this.fsa);b.length>0&&this.RestoreAreaBaseGroup(b[0])},a.prototype.RestoreAreaBaseGroup=function(a){var b,c=this,d=a.varyColors;l(d)||(c.Qua=d),b=a.dropLines,l(b)?c.HasDropLines=!1:(c.HasDropLines=!0,c.$ua.FromOOModel(b))},a.prototype.RestoreArea3DGroup=function(a){var b,c,d=h.GetArea3DChart(a);l(d)||(b=d,this.RestoreAreaBaseGroup(b),c=b.gapDepth,l(c)||(this.Spa.GapDepth=c))},a.prototype.RestoreBar3DGroup=function(a){var b,c,d,e=h.GetBar3DChart(a);l(e)||(b=e,this.RestoreBarBaseGroup(b),c=b.gapDepth,l(c)||(this.Spa.GapDepth=c),d=b.shape,l(d)||this.Spa.SetBarShapeInternal(d))},a.prototype.RestoreLine3DGroup=function(a){var b,c=h.GetLine3DChart(a);l(c)||(this.RestoreLineBaseGroup(c),b=c.gapDepth,l(b)||(this.Spa.GapDepth=b))},a.prototype.RestorePie3DGroup=function(a){var b=h.GetPie3DChart(a);l(b)||this.RestorePieBaseGroup(b)},a.prototype.GetCharts=function(a,b,c){var d,e,f,g,i,j,k,l=h.GetPrimaryAxises(b),m=[],n=[];for(d=0,e=b.chartGroups;d<e.length;d++)if(f=e[d],f.chartType===a)for(g=f,i=0,j=g.axId;i<j.length;i++)k=j[i],l.indexOf(k)===-1&&n.indexOf(g)===-1?n.push(g):m.indexOf(g)===-1&&m.push(g);return 0===c?m:n},a}(),b.ChartGroup=o,p=function(){function a(a,b){this.fva=[],this.Spa=a,this.Zua=b}return Object.defineProperty(a.prototype,"Count",{get:function(){return this.GetChartGroups().length},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"Parent",{get:function(){return this.Spa},enumerable:!0,configurable:!0}),a.prototype.Get=function(a){var b=this.GetChartGroups();return a>=0&&a<b.length?b[a]:k},a.prototype.GetChartGroups=function(){var a,b=this,c=b.GetValidChartGroups();return 0===c.length&&h.MapToGroupType(b.Spa.ChartType)===b.Zua&&(a=b.TryGetCachedGroup(0),c.push(a)),c},a.prototype.TryGetCachedGroup=function(a){var b,c,d,e,f=this;for(b=0,c=f.fva;b<c.length;b++)if(d=c[b],d.GroupType===f.Zua&&d.AxisGroup===a)return d;return e=new o(f.Spa,f.Zua,a),f.fva.push(e),e},a.prototype.GetValidChartGroups=function(){var a,b=[],c=this.TryGetCachedGroup(0);return!l(c)&&c.Count>0&&b.push(c),a=this.TryGetCachedGroup(1),!l(a)&&a.Count>0&&b.push(a),b},a.prototype.Reset=function(){var a,b,c;for(a=0,b=this.fva;a<b.length;a++)c=b[a],c.Init()},a}(),b.ChartGroups=p,q=function(){function a(a){this.Spa=a,this.k$a=!1,this.fva=k}return Object.defineProperty(a.prototype,"Count",{get:function(){return this.GetAllChartGroups().length},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"Parent",{get:function(){return this.Spa},enumerable:!0,configurable:!0}),a.prototype.Get=function(a){var b=this.GetAllChartGroups();return a>=0&&a<b.length?b[a]:k},a.prototype.GetAllChartGroups=function(){var a,b,c,d,e,f,g,h,i,j,k,m,n,o,p,q=this;return q.k$a&&q.fva?q.fva:(a=[],b=q.Spa.Area3DGroup,l(b)||a.push(b),c=q.Spa.Bar3DGroup,l(c)||a.push(c),d=q.Spa.Column3DGroup,l(d)||a.push(d),e=q.Spa.Line3DGroup,l(e)||a.push(e),f=q.Spa.Pie3DGroup,l(f)||a.push(f),g=q.Spa.SurfaceGroup,l(g)||a.push(g),h=q.Spa.AreaGroups,l(h)||q.gva(a,h),i=q.Spa.BarGroups,l(i)||q.gva(a,i),j=q.Spa.ColumnGroups,l(j)||q.gva(a,j),k=q.Spa.DoughnutGroups,l(k)||q.gva(a,k),m=q.Spa.LineGroups,l(m)||q.gva(a,m),n=q.Spa.PieGroups,l(n)||q.gva(a,n),o=q.Spa.RadarGroups,l(o)||q.gva(a,o),p=q.Spa.XYGroups,l(p)||q.gva(a,p),q.k$a&&(q.fva=a),a)},a.prototype.startCache=function(){this.k$a=!0,this.fva=k},a.prototype.endCache=function(){this.k$a=!1,this.fva=k},a.prototype.gva=function(a,b){for(var c=0,d=b.Count;c<d;c++)a.push(b.Get(c))},a.prototype.Reset=function(){var a,b,c,d=this.GetAllChartGroups();for(a=0,b=d;a<b.length;a++)c=b[a],c.Init()},a}(),b.FullChartGroups=q},"./dist/plugins/chart/chartInterface.js":function(a,b,c){"use strict";var d,e,f,g,h,i;Object.defineProperty(b,"__esModule",{value:!0}),function(a){a[a.hundreds=0]="hundreds",a[a.thousands=1]="thousands",a[a.tenThousands=2]="tenThousands",a[a.hundredThousands=3]="hundredThousands",a[a.millions=4]="millions",a[a.tenMillions=5]="tenMillions",a[a.hundredMillions=6]="hundredMillions",a[a.billions=7]="billions",a[a.trillions=8]="trillions",a[a.none=9]="none",a[a.custom=10]="custom"}(d=b.DisplayUnitInternal||(b.DisplayUnitInternal={})),function(a){a[a.Explosion=1]="Explosion",a[a.Format=2]="Format",a[a.Has3DEffect=4]="Has3DEffect",a[a.InvertIfNegative=8]="InvertIfNegative",a[a.MarkerFormat=16]="MarkerFormat",a[a.MarkerSize=32]="MarkerSize",a[a.MarkerStyle=64]="MarkerStyle",a[a.PictureType=128]="PictureType",a[a.PictureUnit=256]="PictureUnit"}(e=b.PointStates||(b.PointStates={})),function(a){a[a.DropLines=0]="DropLines",a[a.HiLoLines=1]="HiLoLines",a[a.SeriesLines=2]="SeriesLines",a[a.DlblsLeaderLines=3]="DlblsLeaderLines"}(f=b.ChartLinesType||(b.ChartLinesType={})),function(a){a[a.Up=0]="Up",a[a.Down=1]="Down"}(g=b.BarType||(b.BarType={})),function(a){a[a.series=0]="series",a[a.axis=1]="axis",a[a.legend=3]="legend",a[a.label=4]="label",a[a.chartTitle=5]="chartTitle",a[a.plotArea=7]="plotArea",a[a.chartArea=8]="chartArea",a[a.errorBar=9]="errorBar",a[a.trendline=10]="trendline",a[a.displayUnitLabel=11]="displayUnitLabel"}(h=b.ElementType||(b.ElementType={})),function(a){a[a.Name=0]="Name",a[a.Values=1]="Values",a[a.XValues=2]="XValues",a[a.BubbleSzies=3]="BubbleSzies"}(i=b.ReferType||(b.ReferType={}))},"./dist/plugins/chart/chartSource.js":function(a,b,c){"use strict";var d,e,f,g=this&&this.__extends||function(){var a=function(b,c){return(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])})(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)}}();Object.defineProperty(b,"__esModule",{value:!0}),d=c("CalcEngine"),function(a){a[a.add=0]="add",a[a.remove=1]="remove",a[a.update=2]="update"}(e||(e={})),f=function(a){g(b,a);function b(b){var c=a.call(this,null)||this;return c.kj=b,c.qWa={},c.rWa={},c}return b.prototype.createSourceModel=function(a){return new d.CalcSourceModel(a,this)},b.prototype.getValueByName=function(a){},b.prototype.setFormulaByName=function(a,b){var c=this.rWa,d=c[a];d||(d=c[a]={}),o(d,b)},b.prototype.setValueByName=function(a,b){var c=this.rWa,d=c[a];d||(d=c[a]={}),d.dataChanged=!0},b.prototype.Qva=function(a){this.Rva(a,0)},b.prototype.Sva=function(a){this.Rva(a,1)},b.prototype.Tva=function(a,b){this.Rva(a,2,b)},b.prototype.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))},b.prototype.startCalculation=function(){},b.prototype.endCalculation=function(){var a,b,c,d,e,f,g,i,m,n,o,p,q,r=this,s=r.kj,t=s.charts,u=r.getCalcService(),v=u.useR1C1;if(t){if(u.calcOnDemand){b=r.Bf,c=b.dataTableByName;for(d in c)b.recalculateNameID(c[d].calc.name)}e=r.qWa,f=this.rWa,g={},i=void 0,n=j(f,t,e);for(m in n)k(m,t,n[m],v,g);for(m in g)g.hasOwnProperty(m)&&(a=g[m],a.chart.XVa(a));o={};for(m in f)f[m].dataChanged&&(p=h(m),p&&(q=e[p.name],o[q]||(l(t,e,m,f[m]),o[q]=!0)));this.rWa={};for(m in g)g.hasOwnProperty(m)&&(a=g[m],i=a.chart,i&&i.sWa&&(delete i.sWa,s.rua(i,{syncOnly:!0})))}},b.prototype.Dxb=function(){this.endCalculation()},b}(d.CalcSource),b.ChartSource=f;function h(a){if(a){var b=a.lastIndexOf(",");if(b>0)return{index:+a.substr(b+1),name:a.substr(0,b)}}}function i(a,b,c,d,e,f){var g,i,j,k,l;a&&c&&d&&(g=h(c),g&&(i=b[g.name],i&&(j=a.get(i),j&&(k=f[i],k||(k=f[i]={indexes:[],chart:j}),l=d.formulaAdjusted,l&&(j.sWa=!0),j.Iva(g.index,d.formula,e,k,2===l)))))}function j(a,b,c){var d,e,f,g,i={};for(e in a)d=a[e],d.formula&&b&&e&&(f=h(e),f&&(g=c[f.name],g&&(i[g]||(i[g]=[]),i[g].push({info:f,changeInfo:d}))));return i}function k(a,b,c,d,e){var f,g,h,i,j,k,l;if(a&&c){if(f=b.get(a),!f)return;for(g=e[a],g||(g=e[a]={indexes:[],chart:f}),f.Spa.lBb=!0,h=0;h<c.length;h++)i=c[h].info,j=c[h].changeInfo,k=j.formulaAdjusted,k&&(f.sWa=!0),f.Iva(i.index,j.formula,d,g,2===k);delete f.Spa.lBb,c.length>0&&(l=f.series(),l.UpdatePrimaryValuesMaxMin(),l.UpdateSecondaryValuesMaxMin(),l.UpdatePrimaryXValuesMaxMin(),l.UpdateSecondaryXValuesMaxMin())}}function l(a,b,c,d){var e,f,g;a&&c&&d&&(e=h(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}},"./dist/plugins/chart/chartTitle.js":function(a,b,c){"use strict";var d,e,f,g,h,i,j,k,l,m,n,o=this&&this.__extends||function(){var a=function(b,c){return(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])})(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)}}();Object.defineProperty(b,"__esModule",{value:!0}),d=c("./dist/plugins/chart/chartFormat.js"),e=c("FloatingObject"),f=e.Drawing.UnitHelper,g=e.Drawing.ChartUtility,h=e.Drawing.DrawingText,i=e.Drawing.ChartElementBase,j=f.isNullOrUndefined,k=g.IsSunburstOrTreemapChart,l=null,m=function(a){o(b,a);function b(b){var c=a.call(this)||this,d=c;return d.Ppa=!0,d.Rpa=l,d.Spa=b,d.Qpa=d.GetDefaultChartText(),d}return b.prototype.GetChartTextInternal=function(){return this.Qpa},Object.defineProperty(b.prototype,"Font",{get:function(){var a=this;return j(a.Qpa)&&(a.Qpa=a.GetDefaultChartText()),a.Qpa.Font},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Format",{get:function(){return this.ChartFormat},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Formula",{get:function(){return j(this.Qpa)?l:this.Qpa.Formula},set:function(a){var b=this;j(b.Qpa)&&(b.Qpa=b.GetDefaultChartText()),b.Qpa.Formula=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"FormulaR1C1",{get:function(){return j(this.Qpa)?l:this.Qpa.FormulaR1C1},set:function(a){var b=this;j(b.Qpa)&&(b.Qpa=b.GetDefaultChartText()),b.Qpa.FormulaR1C1=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"IncludeInLayout",{get:function(){return this.Ppa},set:function(a){this.Ppa=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Parent",{get:function(){return this.Spa},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Text",{get:function(){return j(this.Qpa)?l:this.Qpa.Text},set:function(a){var b=this;j(b.Qpa)&&(b.Qpa=b.GetDefaultChartText()),b.Qpa.Text=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"DefaultText",{get:function(){return l},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"DefaultFontSize",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Worksheet",{get:function(){return this.Spa.Parent.sheet()},enumerable:!0,configurable:!0}),b.prototype.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(j(d)?"":d);return e},b.prototype.GetDefaultChartText=function(){var a=new h(this.Spa.Parent,this.Spa.ChartArea.Font,l,l);return a.Font.Size=this.DefaultFontSize,a},b.prototype.CreateFormat=function(){var a=new d.ChartFormat(this.Spa);return a.Fill.Color.ColorType=0,a.Line.Color.ColorType=0,a},b.prototype.FromOOModel=function(b){var c,d=this;d.Rpa=b,b&&(j(b.tx)?j(b.txPr)?d.Qpa=d.GetDefaultChartText():(c={},c.rich=b.txPr,d.Qpa.FromOOModel(c)):(j(b.tx.strRef)||j(b.txPr)?j(b.txPr)||j(b.tx.txData)||(b.tx.rich=b.txPr):b.tx.rich=b.txPr,d.Qpa.FromOOModel(b.tx)),j(b.overlay)||(d.Ppa=!b.overlay),a.prototype.FromShapeProperties.call(d,b.spPr))},b.prototype.ToOOModel=function(){var b,c=this,d=j(c.Rpa)?{}:c.Rpa;return j(c.Qpa)?(delete d.tx,delete d.txPr):(b=c.Qpa.ToOOModel(),d.tx={},j(c.Qpa.TextRefer)?c.Qpa.Text?(delete d.tx.strRef,d.tx=b):(delete d.tx,d.txPr=b.rich,k(this.Spa.ChartType)&&d.txPr.p.length>0&&d.txPr.p[0].elements&&d.txPr.p[0].elements.length>0&&(d.txPr.p[0].elements[0].t=c.DefaultText)):(d.tx.strRef=b.strRef,d.txPr=b.rich)),d.overlay=!c.Ppa,d.spPr=a.prototype.ToShapeProperties.call(c),d},b}(i),b.ChartTitleBase=m,n=function(a){o(b,a);function b(b){return a.call(this,b)||this}return Object.defineProperty(b.prototype,"DefaultText",{get:function(){return"Chart Title"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"DefaultFontSize",{get:function(){return f.pointToPixel(14)},enumerable:!0,configurable:!0}),b.prototype.Delete=function(){this.Spa.HasTitle=!1},b.prototype.ToOOModel=function(b){var c,d,e=a.prototype.ToOOModel.call(this);return j(e.tx)&&j(e.txPr)&&!b&&(c=e.txPr={p:[]},d={elements:[]},d.pPr={},d.pPr.defRPr={b:!1},c.p.push(d),j(c.bodyPr)&&(c.bodyPr={}),j(c.lstStyle)&&(c.lstStyle={})),this.CorrectChartTitleOOModel(e),e},b.prototype.CorrectChartTitleOOModel=function(a){if(a){var b=a.txPr,c=a.tx,d=this.Font.Size,e=void 0;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}(m),b.ChartTitle=n},"./dist/plugins/chart/chartview.js":function(a,b,c){"use strict";var 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=this&&this.__extends||function(){var a=function(b,c){return(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])})(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)}}();Object.defineProperty(b,"__esModule",{value:!0}),d=c("Core"),e=c("SheetsCalc"),f=c("FloatingObject"),g=c("FormulaTextBox"),h=c("./dist/plugins/chart/axis.js"),i=c("./dist/plugins/chart/chart.js"),j=c("./dist/plugins/chart/series.js"),k=c("./dist/plugins/chart/chart-dv.js"),l=c("./dist/plugins/chart/chartInterface.js"),m=c("./node_modules/util/util.js"),n=d.GC$,o=f.Drawing.DateTimeExtension,p=f.Drawing.ARGBColor,q=f.Drawing.Reference,r=f.Drawing.UnitHelper,s=f.Drawing.ChartUtility,t=f.Drawing.DisplayUnit,u=s.colorFormatToString,v=s.getTransparencyFromColorFormat,w=d.kf,x=e.formulaToRanges,y=r.isNullOrUndefined,z=s.IsSunburstOrTreemapChart,A=s.IsRadarChart,B=n.isEmptyObject,C=s.getLineFormatInfo,D=f.Drawing.ChartType,E=null,F=void 0,G={1:"horizontal",2:"vertical"};function L(a,b){var c=1,d;if(!a)return b+c;do d=b+c,c++;while(a.charts.get(d));return d}function M(a,b,c){var d,e,f,g,h,i,j,k,l,m;a&&b&&(d=b.showValue,e=b.showSeriesName,f=b.showCategoryName,g=b.showPercentage,h=b.position,i=b.format,j=b.color,k=b.transparency,l={},m=!1,a.SeriesCollection.AllSers.forEach(function(a){var b,n,o=a.DataLabels;o&&(d!==F&&(m||(l.showValue=o.ShowValue),o.ShowValue=d),e!==F&&(m||(l.showSeriesName=o.ShowSeriesName),o.ShowSeriesName=e),f!==F&&(m||(l.showCategoryName=o.ShowCategoryName),o.ShowCategoryName=f),g!==F&&(m||(l.showPercentage=o.ShowPercentage),o.ShowPercentage=g),b=o.ShowValue||o.ShowSeriesName||o.ShowCategoryName||o.ShowPercentage,!a.HasDataLabels&&b?(n=o.ShowValue,a.HasDataLabels=!0,n===!1&&(a.DataLabels.ShowValue=!1)):a.HasDataLabels&&!b&&(a.HasDataLabels=!1),y(h)||(m||(l.position=o.Position),o.Position=h),i&&(m||(l.format=o.NumberFormat),o.NumberFormat=i),j?(m||(l.color=u(o.Font,!0)),o.Font.Color.setColor(c,j)):null!==j&&""!==j||(m||(l.color=u(o.Font,!0)),o.Font.Color.ColorType=0),y(k)||(m||(l.transparency=v(o.Font)),o.Font.Color.Transparency=k),m=!0,a.fQa())}),a.Parent.RVa("dataLabels",l))}function N(a,b,c,d){y(b.width)||(d.width=a.Weight,a.Weight=b.width),b.color?(d.color=u(a,!0),a.Color.setColor(c,b.color)):null!==b.color&&""!==b.color||(a.Color.ColorType=0),y(b.transparency)||(d.transparency=v(a),a.Color.Transparency=b.transparency)}function O(a,b){var c,d=a.SeriesCollection.GetValidSers(b)[0];return!!d&&(c=[],s.TryAllToNumbers(d.lua,c,!0))}function P(a,b,c,d,e,f){var g,i,j,k,n,p,q,r,s,w,x,z,A,C,D,F,G,H,I,J,K,L,M,P,Q,R,S,T,U,V,W;b&&(g={},a||(a=d.Add(e,f),g.removed=!0),b.removed&&d.Remove(e,f),0===e&&(i=b.categoryType,3===a.ActualCategoryType||!a.IsValueOrDateScaleAxis()&&!O(a,f)||2!==i&&1!==i||(g.categoryType=a.ActualCategoryType,a.ActualCategoryType=i)),y(b.visible)||(g.visible=a.Visible,a.Visible=!!b.visible),y(b.tickLabelPosition)||(g.tickLabelPosition=a.TickLabelPosition,a.TickLabelPosition=b.tickLabelPosition),j=a.Format.Line,k=b.lineStyle,n=a.IsTimeScale(),k&&(p=g.lineStyle={},y(k.width)||(p.width=j.Weight,j.Weight=k.width),k.color?(p.color=u(j,!0),j.Color.setColor(c,k.color)):null!==k.color&&""!==k.color||(j.Color.ColorType=0),y(k.transparency)||(p.transparency=v(j),j.Color.Transparency=k.transparency)),q=a.TickLabels.Font,r=b.style,r&&(s=g.style={},r.color?(s.color=u(q,!0),q.Color.setColor(c,r.color)):null!==r.color&&""!==r.color||(q.Color.ColorType=0),y(r.transparency)||(s.transparency=v(q),q.Color.Transparency=r.transparency),r.fontFamily&&(s.fontFamily=q.Name,q.Name=r.fontFamily),y(r.fontSize)||(s.fontSize=q.Size,q.Size=r.fontSize)),y(b.majorTickPosition)||(g.majorTickPosition=a.MajorTickMark,a.MajorTickMark=b.majorTickPosition),y(b.minorTickPosition)||(g.minorTickPosition=a.MinorTickMark,a.MinorTickMark=b.minorTickPosition),n&&(a.BaseUnitIsAuto||(g.baseUnit=a.BaseUnit),y(b.baseUnit)?a.BaseUnitIsAuto=!0:a.BaseUnit=b.baseUnit),a.MajorUnitIsAuto||(g.majorUnit=a.MajorUnit,n&&(g.majorUnitScale=a.MajorUnitScale)),y(b.majorUnit)?a.MajorUnitIsAuto=!0:a.MajorUnit=b.majorUnit,n&&!y(b.majorUnitScale)&&(a.MajorUnitScale=b.majorUnitScale),a.MinorUnitIsAuto||(g.minorUnit=a.MinorUnit,n&&(g.minorUnitScale=a.MinorUnitScale)),y(b.minorUnit)?a.MinorUnitIsAuto=!0:a.MinorUnit=b.minorUnit,n&&!y(b.minorUnitScale)&&(a.MinorUnitScale=b.minorUnitScale),a.IsValueOrDateScaleAxis()&&(w=b.min,x=b.max,a.MinimumScaleIsAuto||(g.min=a.MinimumScale),y(w)?a.MinimumScaleIsAuto=!0:(n&&(w=o.ToOADate(w)),a.MinimumScale=w),a.MaximumScaleIsAuto||(g.max=a.MaximumScale),y(x)?a.MaximumScaleIsAuto=!0:(n&&(x=o.ToOADate(x)),a.MaximumScale=x),z=b.scaling,y(z)||(A=z.logBase,C=z.orientation,g.scaling?(g.scaling.logBase=A,g.scaling.orientation=C):g.scaling={},"number"==typeof A?a.LogBase=A:a.ScaleType=1)),b.format&&(g.format=a.TickLabels.NumberFormat,a.TickLabels.NumberFormat=b.format),D=b.title,D&&(F=a.AxisTitle,G=g.title={},F||(G.removed=!0,F=a.AxisTitle=new h.AxisTitle(a.Dsa.Parent,a.fsa,a.Nc)),D.removed&&(a.AxisTitle=E),H=D.text,y(H)||(G.text=F.Text,F.Text=H,a.HasTitle=H.length>0),I=F.Font,D.fontFamily&&(G.fontFamily=I.Name,I.Name=D.fontFamily),y(D.fontSize)||(G.fontSize=I.Size,I.Size=D.fontSize),D.color?(G.color=u(I,!0),I.Color.setColor(c,D.color)):null!==D.color&&""!==D.color||(I.Color.ColorType=0),y(D.transparency)||(G.transparency=v(I),I.Color.Transparency=D.transparency)),J=b.majorGridLine,J&&(K=g.majorGridLine={},
- y(J.visible)||(K.visible=a.HasMajorGridlines,a.HasMajorGridlines=J.visible),N(a._sa(!0).Format.Line,J,c,K)),L=b.minorGridLine,L&&(M=g.minorGridLine={},y(L.visible)||(M.visible=a.HasMinorGridlines,a.HasMinorGridlines=L.visible),N(a.ata(!0).Format.Line,L,c,M)),void 0!==b.labelAngle&&a.TickLabels&&a.TickLabels.Qpa&&a.TickLabels.Qpa.TextBody&&(g.labelAngle=a.TickLabels.Qpa.TextBody.Rotation,a.TickLabels.Qpa.TextBody.Rotation=b.labelAngle),b.displayUnit?(P=b.displayUnit,Q=P.unit,R=P.visible,S=P.style,s=g.displayUnit={},T=!1,s.unit=a.GetActualDispUnit(),m.isString(Q)?(U=t[Q],V=+Q,m.isString(U)?(a.DisplayUnit=l.DisplayUnitInternal[U],T=!0):!isNaN(V)&&V>0&&(a.DisplayUnitCustom=V,T=!0)):m.isNumber(Q)&&Q>0&&(a.DisplayUnitCustom=Q,T=!0),S&&(W=a.DisplayUnitLabel.Font,s.style={},S.color?(s.style.color=u(W,!0),W.Color.setColor(c,S.color)):null!==S.color&&""!==S.color||(W.Color.ColorType=0),y(S.transparency)||(s.style.transparency=v(W),W.Color.Transparency=S.transparency),S.fontFamily&&(s.style.fontFamily=W.Name,W.Name=S.fontFamily),y(S.fontSize)||(s.style.fontSize=W.Size,W.Size=S.fontSize)),s.visible=a.HasDisplayUnitLabel,a.HasDisplayUnitLabel=!(!T||!y(R))||R):null===b.displayUnit&&a.DisplayUnitLabel&&a.DisplayUnitLabel.Delete(),B(g)||a.RVa(g))}function Q(a){var b,c,d,e,f=a.Cva,g=f.series;g&&(b=x(a,f.text(),a.Jl,a.Kl),b[0]&&(c=b[0].ranges,d=c[0],e=new q(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 q(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 q(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 q(a.name(),d.row,d.col,d.row+d.rowCount-1,d.col+d.colCount-1),g.SetBubbleSizesRefers([e])),f.chartView.sua(!0)))}function R(a){var b;switch(a){case 1:case 2:b=5;break;case 4:case 260:case 516:b=3;break;case 9:case 265:case 521:b=1;break;case 7:case 263:case 8:b=0;break;case 2321:b=9;break;case 1809:b=10;break;case 777:b=11;break;default:b=7}return b}function S(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=aa(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}function T(a,b){for(var c=a;c.type!==b;)c=c.parent;return c}function U(a,b){var c,d,e,f,g,h=null;if(b.model&&b.model.items&&b.model.items.length>0&&(h=b.model.items[0]),c=a.Dva(h,b.field),d=c?{index:c.Index}:{},z(a.chartType())&&h)for(e=c.elb&&c.elb.dlb,e=e||[],f=0;f<e.length;f++)if(g=e[f],g&&g.value&&g.value===h.level0)return d.dataPointIndex=f,d;return d}function V(a,b){var c=b.model;return 265!==c.type&&521!==c.type||!c.parent||(c=c.parent),9===c.type?{axisType:1===c.axisType?"y":"x",axisPosition:1===c.position?"primary":"secondary"}:{}}function W(a,b){var c,d,e,f=b.model,g=T(f,8),h=null;return f&&g&&g.items&&g.items.length>0&&(h=g.items[0]),c=a.Dva(h,b.field),d={},c&&(d.seriesIndex=c.Index),e=f.orientation,"number"==typeof e&&(d.errorBarsDirection=G[e]),d}function X(a,b){var c,d,e,f,g,h,i,j=b.model,k=T(j,8),l=null;return j&&k&&k.items&&k.items.length>0&&(l=k.items[0]),c=a.Dva(l,b.field),d={},c&&(d.seriesIndex=c.Index),e=b.model.overlay.option,f=b.model.overlay.parent.option.config.overlays,g=f.filter(function(a){return a.detailKey===e.detailKey}),h=g.filter(function(a){return a.type.includes("Trendline")}),i=h.indexOf(e),m.isNumber(i)&&(d.trendlineIndex=i),d}function Y(a,b){var c=b.model;return c.parent&&(c=c.parent),9===c.type?{axisType:1===c.axisType?"y":"x",axisPosition:1===c.position?"primary":"secondary",isDisplayUnitLabel:!0}:{}}function Z(a,b,c){var d,e,f,g={};switch(a){case 0:g=U(b,c);break;case 1:g=V(b,c);break;case 9:g=W(b,c);break;case 10:g=X(b,c);break;case 11:g=Y(b,c)}for(d=b.series().AllSers,e=[],f=0;f<d.length;f++)e.push(d[f].Name||_(d[f]));return{category:e,info:g}}function $(a,b){var c=b.model.type,d=R(c);return{chart:a,elementType:d,options:Z(d,a,b)}}function _(a){if(!a.Name){var b=a.SeriesCollection.IndexOfSource(a);return b+1}}function aa(a,b){var c,d,e,f;return b&&(c=x(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:{}}}function ba(a,b,c,d,e){var f=b.GetBubbleSizesFormula(e),g=aa(a,f),h=g.range;if(!B(h))if(d){if(h.row!==c.row+c.rowCount)return;c.rowCount++}else{if(h.col!==c.col+c.colCount)return;c.colCount++}return c}function ca(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=E,d}function da(a,b,c,d){var e,f,g,h,i=[c.xValues,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=aa(a,e).range,d.col===f.col)return 0;if(d.row===f.row)return 1}return 0}function ea(a){var b,c,d,e=a.Spa.SeriesCollection,f=e._S;return y(f)&&(b=a.sheet(),c=e.get(0),c&&(d=aa(b,c.yValues).range,f=1===d.rowCount?d.colCount>1?0:da(b,e,c,d):1)),f}function fa(a){var b=a.Nta&&a.Nta[0],c=a.Lta;return b?1===b.RowCount?0:1===b.ColumnCount?1:1===c.RowCount?0:1===c.ColumnCount?1:0:0}function ga(a){var b,c=a.Format.Line,d={};return d.color=u(c,!0,!1,!0),d.transparency=v(c),b=c.Weight>0?c.Weight:1,d.width=b,d.dashStyle=c.DashStyle,d}!function(a){}(H=b.MajorTickPosition||(b.MajorTickPosition={})),function(a){}(I=b.MinorTickPosition||(b.MinorTickPosition={}));function ha(a,b){return!(!y(a)||!y(b))||(!y(a)&&!y(b)&&a.x===b.x&&a.y===b.y||void 0)}function ia(a){return a===D.line||a===D.lineMarkers||a===D.xyScatterLines||a===D.xyScatterLinesNoMarkers||a===D.xyScatterSmooth||a===D.xyScatterSmoothNoMarkers}function ja(a,b){var c,d,e;if(ia(a)||A(a))return!0;if(0===a)for(c=b.SeriesCollection.AllSers,d=0;d<c.length;d++)if(e=c[d].ChartType,ia(e)||A(e))return!0;return!1}function ka(a){return a!==D.sunburst&&a!==D.treemap&&a!==D.lineMarkersStacked&&a!==D.lineMarkersStacked100&&a!==D.lineStacked&&a!==D.lineStacked100}J=function(a){K(b,a);function b(b,c,d,e,f,g,h,j,k){var l=a.call(this,c||L(b,"Chart "),e,f,g,h)||this,m=l;return m.typeName="2",m.g3="2",m.sheet(b),m.Spa=new i.ChartModel(m,d),m.Gva=[],z(d)&&(k=F),j&&m.Eva(j,k),m.Fva(),l}return Object.defineProperty(b.prototype,"DrawingType",{get:function(){return 1},enumerable:!0,configurable:!0}),b.prototype.chartType=function(a){var b,c=this,d=c.Spa;return 0===arguments.length?d.ChartType:(c.RVa("chartType",d.ChartType),b=(s.IsScatterChart(a)||z(a))&&c.Hva(),b?(d.e8=a,c.dataRange(b),c.displayBlanksAs(c.displayBlanksAs())):(d.ChartType=a,c.displayBlanksAs(c.displayBlanksAs())),c.sua(),c)},b.prototype.title=function(a){var b,c,d,e,f,g=this,h=g.Spa;return 0===arguments.length?k.getChartTitleProperties(h.ChartTitle,!0,F,1,!1,!0):(a&&(b=a.text,c={},d=void 0,""===b?(c.text=k.getChartTitleText(h.ChartTitle),h.HasTitle=!1):(h.HasTitle=!0,d=h.ChartTitle,e=d.Font,a.text&&(c.text=k.getChartTitleText(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),f=a.color,f?(c.color=u(e,!0,!0),e.Color.setColor(this.sheet(),f)):null!==f&&""!==f||(c.color=u(e,!0,!0),e.Color.ColorType=0),y(a.transparency)||(c.transparency=v(e),e.Color.Transparency=a.transparency)),B(c)||g.RVa("title",c),this.sua()),this)},b.prototype.legend=function(a){var b,c,d,e,f,g=this,h=g.Spa,i=s.IsStockChart(h.ChartType),j=h.Legend;return 0===arguments.length?i?F:(b=C(j,!1,!1,!0),{visible:h.HasLegend,position:j?j.Position:2,borderStyle:b,backColor:j&&j.Format&&j.Format.Fill?u(j.Format.Fill,!1,!1,!0):F,backColorTransparency:j&&j.Format&&j.Format.Fill?v(j.Format.Fill):F,color:j&&j.Font?u(j.Font,!1,!0):F,fontFamily:j&&j.Font?j.Font.Name:F,fontSize:j&&j.Font?j.Font.Size:F}):(i||(c={},y(a.visible)||(c.visible=h.HasLegend,h.HasLegend=a.visible),j=h.Legend,!y(a.position)&&j&&(c.position=j.Position,j.Position=a.position),d=a.backColor,d&&j?(c.backColor=u(j.Format.Fill,!1),j.Format.Fill.Color.setColor(h.kta.sheet(),d)):null!==d&&""!==d||!j||(c.backColor=u(j.Format.Fill,!1),j.Format.Fill.Color.ColorType=0),!y(a.backColorTransparency)&&j&&(c.backColorTransparency=v(j.Format.Fill),j.Format.Fill.Color.Transparency=a.backColorTransparency),!y(a.borderStyle)&&j&&(e=j.Format&&j.Format.Line,y(e)||y(a.borderStyle.width)||(y(c.borderStyle)&&(c.borderStyle={}),c.borderStyle.width=e.Weight,e.Weight=a.borderStyle.width),f=a.borderStyle.color,!y(e)&&f?(y(c.borderStyle)&&(c.borderStyle={}),c.borderStyle.color=u(e,!1),e.Color.setColor(h.kta.sheet(),f)):null!==f&&""!==f||!e||(y(c.borderStyle)&&(c.borderStyle={}),c.borderStyle.color=u(e,!1),e.Color.ColorType=0),y(e)||y(a.borderStyle.transparency)||(y(c.borderStyle)&&(c.borderStyle={}),c.borderStyle.transparency=v(e),e.Color.Transparency=a.borderStyle.transparency)),!y(a.color)&&j&&(c.color=u(j.Font,!1,!0),j.Font.Color.setColor(this.sheet(),a.color)),!y(a.fontFamily)&&j&&(c.fontFamily=j.Font.Name,j.Font.Name=a.fontFamily),!y(a.fontSize)&&a.fontSize>0&&j&&(c.fontSize=j.Font.Size,j.Font.Size=a.fontSize),B(c)||g.RVa("legend",c),g.sua()),g)},b.prototype.chartArea=function(a){var b,c,d,e,f,g,h,i,j,l,m,n,o,p,q,r,s,t,w=this,x=w.Spa.ChartArea;return 0===arguments.length?(g=k.getChartAreaStyle(x,!0,1,!1,!0),h=ga(x),i=g.textStyle,j={},b=g.style.backgroundColor,e=g.style.transparency,b?(j.backColor=b,j.backColorTransparency=e):""===b&&(j.backColor=b),c=i.color,f=i.transparency,c?(j.color=c,j.transparency=f,j.fontFamily=i.fontFamily):""===c&&(j.color=c),d=parseFloat(i.fontSize),isNaN(d)||(j.fontSize=d),j.border=h,j):(a&&(l=x.GetFormatInternal(),m={},b=a.backColor,b&&l?(m.backColor=u(l.Fill,!0),l.Fill.Color.setColor(w.sheet(),b)):null!==b&&""!==b||!l||(m.backColor=u(l.Fill,!0),l.Fill.Color.ColorType=0),e=a.backColorTransparency,!y(e)&&l&&(m.backColorTransparency=v(l.Fill),l.Fill.Color.Transparency=e),n=x.Font,n&&(c=a.color,f=a.transparency,c?(m.color=u(x.Font,!0),x.setFontColor(w.sheet(),c)):null!==c&&""!==c||(m.color=u(x.Font,!0),n.Color.ColorType=0),!y(f)&&l&&(m.transparency=v(x.Font),x.setFontTransparency(f)),o=a.fontFamily,o&&(m.fontFamily=n.Name,n.Name=o),d=parseFloat(a.fontSize),isNaN(d)||(m.fontSize=n.Size,n.Size=d)),p=a.border,y(p)||(q=p.color,r=p.transparency,s=p.width,t=p.dashStyle,m.border={},q?(m.border.color=u(l.Line,!0),l.Line.Color.setColor(w.sheet(),q)):null!==q&&""!==q||(m.border.color=u(l.Line,!0),l.Line.Color.ColorType=0),y(r)||(m.border.transparency=v(l.Line),l.Line.Color.Transparency=r),y(s)||(m.border.width=s,l.Line.Weight=s),y(t)||(m.border.dashStyle=t,l.Line.DashStyle=t)),B(m)||w.RVa("chartArea",m),w.sua()),w)},b.prototype.dataLabels=function(a){var b,c,d,e,f,g=this.Spa,h=s.IsStockChart(g.ChartType);return 0===arguments.length?h?F:(b=g.SeriesCollection.AllSers[0],c=b.GetDataLabels(),d=void 0,c?(d={showValue:c.ShowValue,showSeriesName:c.ShowSeriesName,showCategoryName:c.ShowCategoryName,showPercentage:c.ShowPercentage,position:c.Position,format:c.NumberFormat},e=u(c.Font,!0,!1,!0),(e||""===e)&&(d.color=e),f=v(c.Font),y(f)||(d.transparency=f)):d={showValue:!1,showSeriesName:!1,showCategoryName:!1,showPercentage:!1},s.IsPieOrDoughnutChart(b.InnerChartType)||delete d.showPercentage,d):(a&&!h&&(M(g,a,this.sheet()),this.sua()),this)},b.prototype.axes=function(a){var b,c=this.Spa.Axes,d=c.Item(0,0),e=c.Item(1,0),f=c.Item(0,1),g=c.Item(1,1);return 0===arguments.length?this.getAxesImp():(b=this.sheet(),P(d,a.primaryCategory,b,c,0,0),P(e,a.primaryValue,b,c,1,0),P(f,a.secondaryCategory,b,c,0,1),P(g,a.secondaryValue,b,c,1,1),this.sua(),this)},b.prototype.getAxesImp=function(a){var b=this.Spa.Axes,c=b.Item(0,0),d=b.Item(1,0),e=b.Item(0,1),f=b.Item(1,1),g={};return c&&(g.primaryCategory=k.getAxisProperties(c,!1,!0,a)),d&&(g.primaryValue=k.getAxisProperties(d,!1,!0,a)),e&&(g.secondaryCategory=k.getAxisProperties(e,!1,!0,a)),f&&(g.secondaryValue=k.getAxisProperties(f,!1,!0,a)),g},b.prototype.series=function(){return this.Spa.SeriesCollection},b.prototype.dataRange=function(a){var b,c,d,e,f=this,g=f.Hva();return 0===arguments.length?g:(a&&(b=void 0,c=f.chartType(),0===c&&(d=f.Spa.SeriesCollection,b=d.AllSers.map(function(a){return a.ChartType})),f.RVa("dataRange",g),e=z(c)?null:ea(f),f.Eva(a,e,b)),f)},b.prototype.useAnimation=function(a){var b=this,c=b.Spa,d=c.UseAnimation;return 0===arguments.length?d:(y(a)||!a==!d||(b.RVa("useAnimation",d),c.UseAnimation=a,b.sua()),b)},b.prototype.hoverStyle=function(a){var b,c,d,e,f=this,g=f.Spa,h=g.xOb;return 0===arguments.length?g.wOb?(b=C(h,!1,!1,!0,!0),c=C(h.Za,!1,!1,!0,!0),{borderStyle:b,transparency:h.GetFillColorTransparency(),color:h.GetFillColor(!0,!1),symbolStyle:{color:h.Za.GetFillColor(!0,!1),transparency:h.Za.GetFillColorTransparency(),borderStyle:c}}):E:(y(a)?a===E&&(d={applyHoverStyle:!0},g.wOb=!1,f.RVa("hoverStyle",d),f.sua()):(d={},d.applyHoverStyle=g.wOb,g.wOb=!0,y(a.borderStyle)||(y(a.borderStyle.width)||(y(d.borderStyle)&&(d.borderStyle={}),d.borderStyle.width=h.GetLineWidth(),h.SetLineWidth(a.borderStyle.width)),e=a.borderStyle.color,e!==F&&(y(d.borderStyle)&&(d.borderStyle={}),d.borderStyle.color=h.GetLineColor(!0,!1),h.SetLineColor(g.kta.sheet(),e)),y(a.borderStyle.transparency)||(y(d.borderStyle)&&(d.borderStyle={}),d.borderStyle.transparency=h.GetLineColorTransparency(),h.SetLineColorTransparency(a.borderStyle.transparency)),y(a.borderStyle.dashStyle)||(y(d.borderStyle)&&(d.borderStyle={}),d.borderStyle.dashStyle=h.GetLineType(),h.SetLineType(a.borderStyle.dashStyle))),a.color!==F&&(d.color=h.GetFillColor(!0,!1),h.SetFillColor(g.kta.sheet(),a.color)),y(a.transparency)||(d.transparency=h.GetFillColorTransparency(),h.SetFillColorTransparency(a.transparency)),y(a.symbolStyle)||y(a.symbolStyle.borderStyle)||(y(d.symbolStyle)&&(d.symbolStyle={}),y(a.symbolStyle.borderStyle.width)||(y(d.symbolStyle.borderStyle)&&(d.symbolStyle.borderStyle={}),d.symbolStyle.borderStyle.width=h.Za.GetLineWidth(),h.Za.SetLineWidth(a.symbolStyle.borderStyle.width)),e=a.symbolStyle.borderStyle.color,e!==F&&(y(d.symbolStyle.borderStyle)&&(d.symbolStyle.borderStyle={}),d.symbolStyle.borderStyle.color=h.Za.GetLineColor(!0,!1),h.Za.SetLineColor(g.kta.sheet(),e)),y(a.symbolStyle.borderStyle.transparency)||(y(d.symbolStyle.borderStyle)&&(d.symbolStyle.borderStyle={}),d.symbolStyle.borderStyle.transparency=h.Za.GetLineColorTransparency(),h.Za.SetLineColorTransparency(a.symbolStyle.borderStyle.transparency)),y(a.symbolStyle.borderStyle.dashStyle)||(y(d.symbolStyle.borderStyle)&&(d.symbolStyle.borderStyle={}),d.symbolStyle.borderStyle.dashStyle=h.Za.GetLineType(),h.Za.SetLineType(a.symbolStyle.borderStyle.dashStyle))),!y(a.symbolStyle)&&a.symbolStyle.color&&(y(d.symbolStyle)&&(d.symbolStyle={}),d.symbolStyle.color=h.Za.GetFillColor(!0,!1),h.Za.SetFillColor(g.kta.sheet(),a.symbolStyle.color)),y(a.symbolStyle)||y(a.symbolStyle.transparency)||(y(d.symbolStyle)&&(d.symbolStyle={}),d.symbolStyle.transparency=h.Za.GetFillColorTransparency(),h.Za.SetFillColorTransparency(a.symbolStyle.transparency)),B(d)||f.RVa("hoverStyle",d),f.sua()),f)},b.prototype.displayBlanksAs=function(a){var b,c=this,d=c.Spa,e=d.DisplayBlanksAs;return 0===arguments.length?e:(y(a)||(b=c.chartType(),0!==a||ja(b,d)?1!==a||ka(b)||(a=2):a=2,a!==e&&(c.RVa("displayBlanksAs",e),d.DisplayBlanksAs=a,c.sua())),c)},b.prototype.ignoreHidden=function(a){var b=this,c=b.Spa,d=c.PlotVisibleOnly;return 0===arguments.length?d:(y(a)||a===d||(b.RVa("plotVisibleOnly",d),c.PlotVisibleOnly=a,c.UpdatePlotVisibleOnly(a),b.sua(!0)),b)},b.prototype.displayNaNAsBlank=function(a){var b=this,c=b.Spa,d=c.DisplayNaNAsBlank;return 0===arguments.length?d:(y(a)||a===d||(b.RVa("displayNanAs",d),c.DisplayNaNAsBlank=a,b.sua()),b)},b.prototype.Hva=function(){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,r,t,u,v=this.Spa.SeriesCollection,x=v.AllSers,z=x.length,A=0===ea(this),B=this.Spa.ChartType,C=s.IsBubbleChart(B);if(z>0){if(a=this.sheet(),b=a.Wu.useR1C1,c=x[0],d=c.GetXValuesFormula(b),e=c.GetValuesFormula(b),f=[],g=aa(a,e),h=g.sheet,i=g.range,j=i.rowCount,k=i.colCount,l=i.row,m=i.col,n=w(l,m,j,k),o=!!d,p=void 0,r=void 0,t=void 0,f.push(c.GetNameFormula(b)),C&&(n=ba(a,c,n,A,b),y(n)))return;for(r=1;r<z;r++){if(c=x[r],o&&d!==c.GetXValuesFormula(b))return;if(e=c.GetValuesFormula(b),t=aa(a,e),p=t.range,t.sheet!==h||p.rowCount!==j||p.colCount!==k)return;if(A){if(p.row!==n.row+n.rowCount)return;n.rowCount++}else{if(p.col!==n.col+n.colCount)return;n.colCount++}if(C&&(n=ba(a,c,n,A,b),y(n)))return;f.push(c.GetNameFormula(b))}return o&&(t=aa(a,d),p=t.range,t.sheet===h&&(A?p.row===l-p.rowCount&&p.col===m&&p.colCount===k&&(n.row-=p.rowCount,n.rowCount+=p.rowCount):p.col===m-p.colCount&&p.row===l&&p.rowCount===j&&(n.col-=p.colCount,n.colCount+=p.colCount))),S(f,a,l,m,A,h)&&(A?(n.col--,n.colCount++):(n.row--,n.rowCount++)),u=new q(h.name(),n.row,n.col,n.row+n.rowCount-1,n.col+n.colCount-1),1===a.parent.options.referenceStyle?u.ToR1C1Text():u.ToA1Text(0,0)}},b.prototype.Eva=function(a,b,c){var d,e,f,g,h=this,i=h.sheet(),j=aa(i,a);j&&(d=h.Spa.SeriesCollection,e=d.Ata,f=ca(e),e.length=0,g=j.range,d.Add(i.Jpa(g.row,g.col,g.rowCount,g.colCount,j.sheet),b,E,E,f,c))},b.prototype.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)},b.prototype.hga=function(){return!1},b.prototype.sua=function(a,b){var c,d,e,f,g,h,i;if(a===F&&(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=k.getChartModelData(c.Spa,d),g=0,h=e.length;g<h;g++)i=e[g],i.load(f),i.refresh();this.iOa=!1}},b.prototype.Iva=function(a,b,c,d,e){var f=this.Spa.SeriesCollection,g=f.AllSers[a],h=this.sheet().ITa;g&&(h.zTa&&!d.series&&(d.series=f.get()),d.series&&d.series[a]&&(d.series[a].datalabels=g.mBb()),e?d.indexes.push(a):g.UpdateFormula(b,c))},b.prototype.updateSeries=function(a,b){void 0===b&&(b=!1);var c=this.Spa;c&&c.UpdateSeries(a,b)},b.prototype.getDataOrientation=function(){return ea(this)},b.prototype.zOb=function(a){return fa(a)},b.prototype.switchDataOrientation=function(){var a,b,c,d,e,f;try{return a=this,b=a.Hva(),!(!b||z(a.chartType()))&&(a.RVa("switchDataOrientation"),c=a.Spa.SeriesCollection,d=1^ea(a),e=void 0,0===a.chartType()&&(e=c.AllSers.map(function(a){return a.ChartType})),f=a.nBb(),a.oBb(f)?a.pBb(f,d):a.Eva(b,d,e),!0)}catch(a){return!1}},b.prototype.oBb=function(a){var b,c,d,e,f=this,g=f.dataRange(),h=aa(f.sheet(),g).range;if(!h.containsRange)return!1;if(b=a.valuesRange,c=a.nameRange,d=a.xValuesRange,y(b)||y(c)||y(d))return!1;if(h.containsRange(b)&&h.containsRange(c)&&h.containsRange(d))return!1;if(e=f.getDataOrientation(),1===e){if(b.rowCount===d.rowCount&&b.colCount===c.colCount)return!0}else if(b.colCount===d.colCount&&b.rowCount===c.rowCount)return!0;return!1},b.prototype.nBb=function(){var a,b,c,d,e,f,g,h,i,j=this,k=j.series(),l=j.sheet().name(),m=k.AllSers;for(e=0;e<m.length;e++)f=m[e],g=f.ValuesRefers[0],g&&g.WorksheetName===l&&(d=w(g.Row,g.Column,g.RowCount,g.ColumnCount),a=a?a.union(d):d),h=f.NameRefer,h&&h.WorksheetName===l&&(d=w(h.Row,h.Column,h.RowCount,h.ColumnCount),b=b?b.union(d):d),i=f.XValuesRefers[0],i&&i.WorksheetName===l&&(d=w(i.Row,i.Column,i.RowCount,i.ColumnCount),c=c?c.union(d):d);return{valuesRange:a,nameRange:b,xValuesRange:c}},b.prototype.pBb=function(a,b){var c,d,e,f,g,h=a.valuesRange,i=a.nameRange,k=a.xValuesRange,l=this,m=l.series(),n=l.sheet().name(),o=[],p=i,q=k;if(h&&i&&k)if(0===b)for(d=0;d<h.rowCount;d++)c=new j.SeriesStructure,c.Label=s.CreateReference(n,q.row+d,q.col,1,q.colCount),c.Categories=[s.CreateReference(n,p.row,p.col,p.rowCount,p.colCount)],c.Data=[s.CreateReference(n,h.row+d,h.col,1,h.colCount)],o.push(c);else if(1===b)for(e=0;e<h.colCount;e++)c=new j.SeriesStructure,c.Label=s.CreateReference(n,q.row,q.col+e,q.rowCount,1),c.Categories=[s.CreateReference(n,p.row,p.col,p.rowCount,p.colCount)],c.Data=[s.CreateReference(n,h.row,h.col+e,h.rowCount,1)],o.push(c);f=m.Ata,g=ca(f),m.Ata.length=0,m.AddSers(o,g,[l.Spa.ChartType]),l.sua()},b.prototype.getFormulas=function(){var a=this.Spa,b=this.sheet().Wu.useR1C1;if(a)return a.SeriesCollection.AllSers.map(function(a){return b?a.FormulaR1C1:a.Formula})},b.prototype.clone=function(a){a=a||this.sheet();var c=new b(a);return c.fromJSON(this.toJSON()),c},b.prototype.Dva=function(a,b){return k.getSeries(this.Spa,a,b)},b.prototype.VQa=function(){var a,b,c,d,e,f,g,h,i,j,k,l=[],m=this,n=m.sheet().name(),o=m.series().AllSers,p=!1;for(f=0;f<o.length;f++)if(g=o[f],g.ValuesRefers&&g.ValuesRefers.length>1||g.XValuesRefers&&g.XValuesRefers.length>1||g.BubbleSizesRefers&&g.BubbleSizesRefers.length>1){p=!0;break}if(p!==!0){for(f=0;f<o.length;f++)g=o[f],h=g.ValuesRefers[0],h&&h.WorksheetName===n&&(e=w(h.Row,h.Column,h.RowCount,h.ColumnCount),a=a?a.union(e):e),i=g.NameRefer,i&&i.WorksheetName===n&&(e=w(i.Row,i.Column,i.RowCount,i.ColumnCount),b=b?b.union(e):e),j=g.XValuesRefers[0],j&&j.WorksheetName===n&&(e=w(j.Row,j.Column,j.RowCount,j.ColumnCount),c=c?c.union(e):e),k=g.BubbleSizesRefers&&g.BubbleSizesRefers[0],k&&k.WorksheetName===n&&(e=w(k.Row,k.Column,k.RowCount,k.ColumnCount),d=d?d.union(e):e);a&&l.push(a),b&&l.push(b),c&&l.push(c),d&&l.push(d),m.Kva(l)}},b.prototype.WQa=function(a,b){var c,d=[],e=this,f=e.sheet().name(),g=e.Dva(a,b);g&&(g.ValuesRefers.forEach(function(a){a&&a.WorksheetName===f&&d.push(w(a.Row,a.Column,a.RowCount,a.ColumnCount))}),c=g.NameRefer,c&&c.WorksheetName===f&&d.push(w(c.Row,c.Column,c.RowCount,c.ColumnCount)),g.XValuesRefers.forEach(function(a){a&&a.WorksheetName===f&&d.push(w(a.Row,a.Column,a.RowCount,a.ColumnCount))}),g.BubbleSizesRefers.forEach(function(a){a&&a.WorksheetName===f&&d.push(w(a.Row,a.Column,a.RowCount,a.ColumnCount))})),e.Kva(d,g)},b.prototype.Kva=function(a,b){var c,d,f=this.sheet(),g=f.Cva;g&&(a&&a.length>0?(c=!(!f.parent||!f.parent.options.referenceStyle),d=e.rangesToFormula(a,f.Jl,f.Kl,0,c),g.text("=SERIES("+d+")")):g.text(""),b?g.UQa=!0:g.UQa=!1,g.series=b,g.chartView=this,f.yl.uH())},b.prototype.qBb=function(a){var b=this;return a.useAnimation=b.useAnimation(),b.Spa.wOb&&(a.hoverStyle=b.hoverStyle()),a},b.prototype.rBb=function(a){var b=this;b.useAnimation(!!a.useAnimation),b.hoverStyle(a.hoverStyle)},b.prototype.toJSON=function(){var b,c=a.prototype.toJSON.call(this),d=this;return delete c.content,c.chartSpace=d.Spa.ToOOModel(),b=["hiLowLines","p","variation","majorGridlines","minorGridlines","title"],s.simpleJSONObject(c,b),d.qBb(c),c},b.prototype.fromJSON=function(b,c){a.prototype.fromJSON.call(this,b,c);var d=this;d.Spa=new i.ChartModel(d),d.Spa.FromOOModel(b.chartSpace),d.rBb(b)},b.prototype.no=function(a){a!==!1&&(this.clearflexDVs(),this.Lva())},b.prototype.clearflexDVs=function(){var a,b,c=this,d=c.Gva;for(a=0,b=d.length;a<b;a++)d[a].dispose();c.Gva=[]},b.prototype.Kqa=function(a){if(2===a.ColorType)return p.FromArgb(a.Value);var b=this.sheet();return b?b.Kqa(a):new p},b.prototype.Yra=function(a){var b=this.sheet();return b?b.Yra(a):""},b.prototype.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(){Q(b)},e.onRangeResized=function(){Q(b)})},a.addEventListener(c,d,!0),e.push([a,c,d])},b.prototype.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=E},b.prototype.Nva=function(a,b,e){var f,g=this,h=g.sheet(),i=k.getChartModelData(g.Spa,h),j=c("./dist/plugins/chart/dv/dv.js");j&&(f=new j.FlexDV(a),f.renderMethod=j.RenderMethod.Canvas,y(b)||(f.devicePixelRatio=b,f.devicePixelRatioIsAuto=e),f.load(i),f.refresh(),f.hitTested.addHandler(function(a,b){var c,e,i,k;b.event.action===j.MotionEvent.ACTION_CLICK&&h.DR(g)&&(c=b.model,e=b.addition,i=c.items&&c.items[0],s.IsStockChart(g.Spa.ChartType)&&(!e&&i&&(e="volume"),g.Kub(f,e)),k=R(c.type),g.isSelected()===!0&&(g.Lub(f,k,i,e),h.Wq(d.Events.ChartClicked,$(g,b)))),g.getHost()[0].style.cursor="default"}),g.Gva.push(f))},b.prototype.Kub=function(a,b){var c="["+b+"]",d=a.query(c);a.select(d,{adorners:!0},c)},b.prototype.Lub=function(a,b,c,d){var e=this;7===b?e.VQa():0===b?y(c)?(a.select([]),e.WQa(E)):e.WQa(c,d):(a.select([]),e.WQa(E))},b.prototype.onNameChanged=function(a,b){this.sheet().rua(this,{action:"rename",oldName:a,newName:b})},b.prototype.jOa=function(a,b){this.series().AllSers.forEach(function(d){var e,f,g,h=d.NameRefer;h&&h.WorksheetName===a&&(h.WorksheetName=b),e=d.XValuesRefers,e&&e.forEach(c),f=d.ValuesRefers,f&&f.forEach(c),g=d.BubbleSizesRefers,g&&g.forEach(c)});function c(c){c.WorksheetName===a&&(c.WorksheetName=b)}},b.prototype.hitTest=function(a,b){var d,e,f,g,h,i,j,k,l,m,o,p,q,r,s=c("./dist/plugins/chart/dv/dv.js");if(s&&(d=this,e=d.Gva,e&&e.length>0)){for(f=void 0,g=0;g<e.length;g++)if(e[g].M4){f=e[g];break}if(h=d.sheet().parent,i=n(h.getHost()),j=i.offset(),k=j.left,l=j.top,m=n(d.qo[0]),o=m.offset(),p=o.left,q=o.top,r=f&&f.hitTest(new s.core.Point(a+k-p,b+l-q)))return $(d,r)}return E},b.prototype.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()},b.prototype.RVa=function(a,b){var c,d=this.sheet().ITa;d.zTa&&(c={name:a},y(b)||(c.value=b),d.UVa(this,c))},b.prototype.XVa=function(a){var b=this.Spa.SeriesCollection;a.series&&b.TVa(a.series),b.SVa(a.indexes)},b.prototype.RUa=function(a){var b,c,d,e;a&&(b=a.name,c=a.value,this[b]?"series"===b?this[b]().RUa(c):this[b](c):"dataPoint"===b&&(d=this.series(),e=d&&d.dataPoints(),e&&e.RUa(c)))},b}(f.FloatingObject),b.Chart=J,i.ChartModel.prototype.createChartView=function(a){return new J(a)}},"./dist/plugins/chart/dataPoint.js":function(a,b,c){"use strict";var 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=this&&this.__extends||function(){var a=function(b,c){return(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])})(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)}}();Object.defineProperty(b,"__esModule",{value:!0}),d=c("Common"),e=c("FloatingObject"),f=c("./dist/plugins/chart/chartFormat.js"),g=e.Drawing.ChartElementBase,h=e.Drawing.StatefulChartElementBase,i=e.Drawing.ChartConstants,j=e.Drawing.ChartUtility,k=e.Drawing.UnitHelper,l=e.Drawing.ColorSchemeIndex,m=e.Drawing.ColorFormat,n=e.Drawing.DrawingText,o=e.Drawing.MarkerStyle,p=j.colorFormatToString,q=j.getTransparencyFromColorFormat,r=k.isNullOrUndefined,s=j.IsSunburstOrTreemapChart,t=d.Formatter.GeneralFormatter,u=null,v=void 0,w=function(a){F(b,a);function b(b,c){var d,e=a.call(this,b)||this;return e.FromCT_PictureOptions=function(a){var b,c=a.pictureFormat;r(c)||(this.PictureType=c),b=a.pictureStackUnit,r(b)||(this.PictureUnit=b)},e.FromCT_Marker=function(a){var b,c,d=this,e=a.spPr;r(e)?d.ClearMarkerFormat():(r(d.Pta)&&(d.Pta=d.CreateMarkerFormat()),d.Pta.FromOOModel(e)),b=a.size,r(b)||(d.MarkerSize=b),c=a.symbol,r(c)||(d.MarkerStyle=c)},d=e,d.tua=u,d.Ata=b,d.mi=c,d.dua=1,d.aua=5,d.bua=o.MarkerStyleNone,e}return Object.defineProperty(b.prototype,"DataLabel",{get:function(){return this.Ata.DataLabels.Get(this.mi)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"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))},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Format",{get:function(){return this.ChartFormat},enumerable:!0,configurable:!0}),b.prototype.getFillColor=function(a,b,c){return p(this.Format.Fill,a,b,c)},b.prototype.getFillColorTransparency=function(){return q(this.Format.Fill)},b.prototype.getLineColor=function(a,b,c){return p(this.Format.Line,a,b,c)},b.prototype.getLineColorTransparency=function(){return q(this.Format.Line)},Object.defineProperty(b.prototype,"Has3DEffect",{get:function(){return this.GetState(4)?this.Zta:this.Ata.Has3DEffect},set:function(a){this.Zta=a,this.Dirty(4)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"HasDataLabel",{get:function(){return!this.Ata.DataLabels.Get(this.mi).Deleted},set:function(a){this.Ata.DataLabels.Get(this.mi).Deleted=!a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"InvertIfNegative",{get:function(){return this.GetState(8)?this._ta:this.Ata.InvertIfNegative},set:function(a){this._ta=a,this.Dirty(8)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"MarkerFormat",{get:function(){var a=this;return r(a.Pta)&&(a.Pta=a.CreateMarkerFormat()),a.Pta},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"MarkerSize",{get:function(){return this.GetState(32)?this.aua:this.Ata.MarkerSize},set:function(a){this.aua=a,this.Dirty(32)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"MarkerStyle",{get:function(){return this.GetState(64)?this.bua:this.Ata.MarkerStyle},set:function(a){this.bua=a,this.Dirty(64)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Parent",{get:function(){return this.Ata},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"PictureType",{get:function(){return this.GetState(128)?this.cua:this.Ata.PictureType},set:function(a){this.cua=a,this.Dirty(128)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"PictureUnit",{get:function(){return this.GetState(256)?this.dua:this.Ata.PictureUnit},set:function(a){this.dua=a,this.Dirty(256)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"SecondaryPlot",{get:function(){return this.uua},set:function(a){a!==this.uua&&(this.uua=a,this.Chart.HandleElementChanged(5,this,i.SecondaryPlot))},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Chart",{get:function(){return this.Ata.SeriesCollection.Parent},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Index",{get:function(){return this.mi},enumerable:!0,configurable:!0}),b.prototype.SetFillColor=function(a,b){this.Format.Fill.Color.setColor(a,b)},b.prototype.SetFillColorTransparency=function(a){this.Format.Fill.Color.Transparency=a},b.prototype.SetSecondaryPlotInteral=function(a){this.uua=a},b.prototype.GetValueText=function(a){return a===v&&(a=u),this.Ata.GetPointValueText(this.mi,a)},b.prototype.GetCatText=function(){return this.Ata.GetCatText(this.mi)},b.prototype.GetPercentageValue=function(){return this.Ata.GetPercentageValue(this.mi)},b.prototype.CreateFormat=function(){var a=this;return new f.ChartFormat(a.Ata.SeriesCollection.Parent,a.Ata.FormatInternal,a.AutoFillColorFormat.bind(a),a.AutoLineColorFormat.bind(a))},b.prototype.GetDefaultFormat=function(){return a.prototype.GetDefaultFormat.call(this)},b.prototype.CreateMarkerFormat=function(){var a=this;return new f.ChartFormat(a.Chart,a.Ata.MarkerFormat,a.AutoMarkerColorFormat.bind(a),a.AutoMarkerColorFormat.bind(a))},b.prototype.AutoFillColorFormat=function(){return j.IsFillSeries(this.Ata.InnerChartType)?this.GenerateAutoColor():u},b.prototype.AutoLineColorFormat=function(){return j.IsLineSeries(this.Ata.InnerChartType)?this.GenerateAutoColor():u},b.prototype.AutoMarkerColorFormat=function(){return j.IsMarkerSeries(this.Ata.InnerChartType)?this.GenerateAutoColor():u},b.prototype.GenerateAutoColor=function(){var a,b;return a=this.IsRenderVaryColors()?this.mi:this.Ata.AutoColorIndex,b=new m(this.Chart),b.ObjectThemeColor=l["Accent"+(a%6+1)],b},b.prototype.IsRenderVaryColors=function(){var a=this.Ata.Parent.VaryByCategories;return 1===this.Ata.SeriesCollection.Count&&a||j.IsAnyPieChart(this.Ata.InnerChartType)&&a},b.prototype.IsDirtyIncludingParent=function(b){b===v&&(b=!1);var c=this;return!(r(c.Kb)||!c.Kb.IsDirtyIncludingParent(b))||(!(r(c.Pta)||!c.Pta.IsDirtyIncludingParent(b))||a.prototype.IsDirtyIncludingParent.call(this,b))},b.prototype.OnParentChanged=function(a){var b=this;b.Ata=a,r(b.Kb)||(b.Kb.ParentStateful=b.Ata.ChartFormat),
- r(b.Pta)||(b.Pta.ParentStateful=b.Ata.MarkerFormat)},b.prototype.IsNegative=function(){return this.Ata.Values[this.mi]<0},b.prototype.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},b.prototype.FromOOModel=function(b){var c,d,e,f,g,h=this;h.tua=b,h.mi=b.idx,c=b.bubble3D,r(c)||(h.Has3DEffect=c),d=b.pictureOptions,r(d)||h.FromCT_PictureOptions(d),e=b.explosion,r(e)||(h.Explosion=e),f=b.invertIfNegative,r(f)||(h.InvertIfNegative=f),a.prototype.FromShapeProperties.call(this,b.spPr),g=b.marker,r(g)||h.FromCT_Marker(g)},b.prototype.ToOOModel=function(){var b=this,c=r(b.tua)?{}:b.tua;return c.idx=b.mi,b.GetState(4)&&(c.bubble3D=b.Has3DEffect),c.pictureOptions=b.ToCT_PictureOptions(),j.IsPieOrDoughnutChart(b.Ata.InnerChartType)&&b.GetState(1)&&(c.explosion=b.Explosion),c.invertIfNegative=b.InvertIfNegative,c.spPr=a.prototype.ToShapeProperties.call(this),c.marker=b.ToCT_Marker(),c},b.prototype.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:u},b.prototype.ToCT_Marker=function(){var a=this,b={},c=!1;return(!r(a.Pta)&&a.Pta.IsDirtyIncludingParent()||a.IsRenderVaryColors())&&(r(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:u},b.prototype.ClearMarkerFormat=function(){var a=this;r(a.Pta)||(a.Pta.SetParentForChildren(u),a.Pta.ParentStateful=u,a.Pta=u)},b}(h),b.Point=w,x=function(){function a(a){this.fua={},this.Ata=a}return Object.defineProperty(a.prototype,"Count",{get:function(){return this.Ata.PointsCount},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"Parent",{get:function(){return this.Ata},enumerable:!0,configurable:!0}),a.prototype.Get=function(a){return this.GetPoint(a)},Object.defineProperty(a.prototype,"HasDataLabel",{get:function(){var a,b,c=this.fua;for(a in c)if(b=c[a],!r(b)&&b.HasDataLabel)return!0;return!1},enumerable:!0,configurable:!0}),a.prototype.ItemInternal=function(a){return this.fua[a]||u},a.prototype.GetPoint=function(a){var b,c=this;return a<0||a>=c.Count?u:(b=c.fua[a])?b:(b=new w(c.Ata,a),c.fua[a]=b,b)},a.prototype.GetPoints=function(){return this.fua},a.prototype.RestorePoints=function(a){var b,c,d,e;if(this.ClearPoints(),!r(a))for(b=0,c=a;b<c.length;b++)d=c[b],e=this.GetPoint(d.idx),r(e)||e.FromOOModel(d)},a.prototype.ClearPoints=function(){var a,b;for(a in this.fua)b=this.fua[a],r(b)||(b.ParentStateful=u);this.fua={}},a}(),b.Points=x,function(a){a[a.Font=1]="Font",a[a.Format=2]="Format",a[a.NumberFormat=4]="NumberFormat",a[a.NumberFormatLinked=8]="NumberFormatLinked",a[a.Position=16]="Position",a[a.Separator=32]="Separator",a[a.ShowBubbleSize=64]="ShowBubbleSize",a[a.ShowCategoryName=128]="ShowCategoryName",a[a.ShowLegendKey=256]="ShowLegendKey",a[a.ShowPercentage=512]="ShowPercentage",a[a.ShowSeriesName=1024]="ShowSeriesName",a[a.ShowValue=2048]="ShowValue",a[a.ShowLeaderLines=4096]="ShowLeaderLines",a[a.Text=8192]="Text",a[a.AutoText=16384]="AutoText"}(y=b.DataLableStates||(b.DataLableStates={})),z=function(a){F(b,a);function b(b){var c=a.call(this)||this,d=c;return d.Hua=u,d.Iua=b,c}return Object.defineProperty(b.prototype,"Format",{get:function(){return this.ChartFormat},enumerable:!0,configurable:!0}),b.prototype.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},b.prototype.Delete=function(){this.Iua.ShowLeaderLines=!1},b.prototype.FromOOModel=function(b){this.Hua=b,a.prototype.FromShapeProperties.call(this,b.spPr)},b.prototype.ToOOModel=function(){var b=this.Hua||{};return b.spPr=a.prototype.ToShapeProperties.call(this),b},b}(g),b.DblsLeaderLinesBase=z,A=function(a){F(b,a);function b(b){return a.call(this,b)||this}return b.prototype.CreateFormat=function(){return new f.ChartFormat(this.Iua.Chart)},b}(z),b.DataLabelsLeaderLines=A,B=function(a){F(b,a);function b(b){return a.call(this,b)||this}return b.prototype.CreateFormat=function(){return new f.ChartFormat(this.Iua.Chart,this.Iua.Series.DataLabels.LeaderLines.Format)},b}(z),b.DataLabelLeaderLines=B,C=function(a){F(b,a);function b(b,c){var d=a.call(this,c)||this,e=d;return e.Rd="General",e.jsa=!0,e.vua=",",e.wua=!1,e.xua=!1,e.yua=!1,e.zua=!1,e.Aua=!1,e.Bua=!1,e.Cua=!1,e.Dua=!0,e.Ysa=u,e.Lqa=u,e.Ata=b,e.Eua=c,e.UpdatePosition(),d}return Object.defineProperty(b.prototype,"AutoText",{get:function(){var a=this;return a.GetState(y.AutoText)||r(a.Eua)?a.Dua:a.Eua.AutoText},set:function(a){this.Dua=a,this.Dirty(y.AutoText)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Font",{get:function(){return this.ChartTextInternal.Font},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Format",{get:function(){return this.ChartFormat},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"NumberFormat",{get:function(){var a=this;return a.GetState(4)||r(a.Eua)?a.Rd?a.Rd:"General":a.Eua.NumberFormat},set:function(a){this.setNumberFormat(a)},enumerable:!0,configurable:!0}),b.prototype.setNumberFormat=function(a){var b=this;b.Rd=a,a?b.Dirty(4):b.UnDirty(4),b.jsa=!1,b.Dirty(8)},Object.defineProperty(b.prototype,"NumberFormatLinked",{get:function(){return this.getNumberFormatLinked()},set:function(a){this.setNumberFormatLinked(a)},enumerable:!0,configurable:!0}),b.prototype.getNumberFormatLinked=function(){var a=this;return a.GetState(8)||r(a.Eua)?a.jsa:a.Eua.NumberFormatLinked},b.prototype.setNumberFormatLinked=function(a){var b=this;b.jsa=a,b.Dirty(8),a&&(b.Rd=u,b.UnDirty(4))},Object.defineProperty(b.prototype,"Position",{get:function(){var a=this;return a.GetState(16)||r(a.Eua)?a.SH:a.Eua.Position},set:function(a){this.IsPositionValid(a)&&(this.SH=a,this.Dirty(16))},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"HasCustomLayout",{get:function(){var a=this;return a.AOb},set:function(a){this.AOb=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Separator",{get:function(){var a=this;return a.GetState(32)||r(a.Eua)?a.vua:a.Eua.Separator},set:function(a){this.vua=a,this.Dirty(32)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"ShowBubbleSize",{get:function(){var a=this;return a.GetState(64)||r(a.Eua)?a.wua:a.Eua.ShowBubbleSize},set:function(a){this.wua=a,this.Dirty(64)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"ShowCategoryName",{get:function(){var a=this;return a.GetState(128)||r(a.Eua)?a.xua:a.Eua.ShowCategoryName},set:function(a){this.xua=a,this.Dirty(128)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"ShowLegendKey",{get:function(){var a=this;return a.GetState(256)||r(a.Eua)?a.yua:a.Eua.ShowLegendKey},set:function(a){this.yua=a,this.Dirty(256)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"ShowPercentage",{get:function(){var a=this;return a.GetState(512)||r(a.Eua)?a.zua:a.Eua.ShowPercentage},set:function(a){this.zua=a,this.Dirty(512)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"ShowSeriesName",{get:function(){var a=this;return a.GetState(1024)||r(a.Eua)?a.Aua:a.Eua.ShowSeriesName},set:function(a){this.Aua=a,this.Dirty(1024)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"ShowValue",{get:function(){var a=this;return a.GetState(2048)||r(a.Eua)?a.Bua:a.Eua.ShowValue},set:function(a){this.Bua=a,this.Dirty(2048)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"ShowLeaderLines",{get:function(){var a=this;return a.GetState(4096)||r(a.Eua)?a.Cua:a.Eua.ShowLeaderLines},set:function(a){this.Cua=a,this.Dirty(4096)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"LeaderLines",{get:function(){var a=this;return r(a.Fua)&&(a.Fua=a.CreateLeaderLines()),a.Fua},enumerable:!0,configurable:!0}),b.prototype.IsDirtyIncludingParent=function(b){b===v&&(b=!1);var c=this;return!(r(c.Qpa)||!c.Qpa.Font.IsDirtyIncludingParent(b))||(!(r(c.Kb)||!c.Kb.IsDirtyIncludingParent(b))||a.prototype.IsDirtyIncludingParent.call(this,b))},b.prototype.OnParentChanged=function(a){var b=this;b.Eua=a,r(b.Eua)||(r(b.Kb)||(b.Kb.ParentStateful=b.Eua.ChartFormat),r(b.Fua)||(b.Fua.Format.ParentStateful=b.Eua.LeaderLines.Format))},b.prototype.GetDefaultPosition=function(){var a=this.Ata.InnerChartType;return j.IsColumnChart(a)||j.IsBarChart(a)?j.IsStackedChart(a)?2:6:j.IsLineChart(a)||j.IsScatterChart(a)||j.IsBubbleChart(a)?7:j.IsPieChart(a)||j.IsOfPieChart(a)?0:2},b.prototype.IsNoPosition=function(){var a=this.Ata.InnerChartType;return j.IsAreaChart(a)||j.IsRadarChart(a)||j.Is3DChart(a)||j.IsDoughnutChart(a)},b.prototype.FromOOModel=function(b){var c,d,e,f,g,h,i,k,l,m,n,o,p,q,t,v,w,x,y=this;y.Lqa=b,c=b.numFmt,r(c)||(y.Rd=c.formatCode,y.Dirty(4),y.jsa=c.sourceLinked!==!1,y.Dirty(8)),a.prototype.FromShapeProperties.call(this,b.spPr),d=b.txPr,e=y.Chart.ChartType,r(d)?s(e)&&(g={solidFill:{srgbClr:{val:[255,255,255]}}},y.ChartTextInternal.Lpa._font.TextCharacterProperties_FromOOModel(g)):(f={},f.rich=d,y.ChartTextInternal.FromOOModel(f)),h=b.layout&&b.layout.manualLayout,r(h)||(y.HasCustomLayout=h.x>0||h.y>0),i=b.dLblPos,r(i)||(y.Position=i),k=b.showBubbleSize,!r(k)&&j.IsBubbleChart(y.Ata.InnerChartType)&&(y.ShowBubbleSize=k),l=s(y.Ata.InnerChartType),m=b.visibility,n=l&&m,o=n?m.categoryName:b.showCatName,y.ShowCategoryName=!r(o)&&o,p=b.showLegendKey,y.ShowLegendKey=!r(p)&&p,q=b.showPercent,!r(q)&&j.IsPieOrDoughnutChart(y.Ata.InnerChartType)&&(y.ShowPercentage=q),t=n?m.seriesName:b.showSerName,y.ShowSeriesName=!r(t)&&t,v=n?m.value:b.showVal,y.ShowValue=!r(v)&&v,w=b.separator,w&&","!==w&&(y.Separator=w),x=b.delete,y.Ysa=r(x)?u:x},b.prototype.ToOOModel=function(){var b,c,d=this,e=d.Lqa||d.CreateCT_Dlbl();return(d.GetState(4)||d.GetState(8))&&(b={formatCode:d.NumberFormat},d.NumberFormatLinked===!1&&(b.sourceLinked=!1),e.numFmt=b),e.spPr=a.prototype.ToShapeProperties.call(this),d.Qpa&&d.Qpa.Font.IsDirtyIncludingParent()&&(e.txPr=d.Qpa.ToOOModel().rich),d.IsNoPosition()||(e.dLblPos=d.Position),c=s(d.Ata.InnerChartType),d.Ysa||(e.showBubbleSize=d.ShowBubbleSize,e.showLegendKey=d.ShowLegendKey,e.showPercent=d.ShowPercentage,c?e.visibility={seriesName:d.ShowSeriesName,categoryName:d.ShowCategoryName,value:d.ShowValue}:(e.showCatName=d.ShowCategoryName,e.showSerName=d.ShowSeriesName,e.showVal=d.ShowValue)),","!==d.Separator&&(e.separator=d.Separator),e},b.prototype.CreateCT_Dlbl=function(){return u},b.prototype.GetDefaultChartText=function(){return u},b.prototype.IsPositionValid=function(a){var b=!1,c=this.Ata.InnerChartType;return j.IsColumnChart(c)||j.IsBarChart(c)?b=j.IsStackedChart(c)?2===a||3===a||4===a:2===a||3===a||4===a||6===a:j.IsLineChart(c)||j.IsScatterChart(c)||j.IsBubbleChart(c)?b=2===a||5===a||7===a||8===a||1===a:j.IsPieChart(c)?b=2===a||4===a||6===a||0===a:(j.IsAreaChart(c)||j.IsRadarChart(c)||j.Is3DChart(c))&&(b=!1),b},b.prototype.UpdatePosition=function(){this.SH=this.GetDefaultPosition()},b.prototype.ResetByChartType=function(){this.UpdatePosition()},Object.defineProperty(b.prototype,"Chart",{get:function(){return this.Ata.SeriesCollection.Parent},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"ChartText",{get:function(){return this.Qpa},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"ChartTextInternal",{get:function(){var a=this;return r(a.Qpa)&&(a.Qpa=a.GetDefaultChartText()),a.Qpa},enumerable:!0,configurable:!0}),b.prototype.CreateLeaderLines=function(){return u},Object.defineProperty(b.prototype,"HasDataLabelsRange",{get:function(){return!r(this.Qpa)&&!r(this.Qpa.TextRefer)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Series",{get:function(){return this.Ata},enumerable:!0,configurable:!0}),b}(h),b.DataLabelBase=C,D=function(a){F(b,a);function b(b){var c=a.call(this,b,u)||this,d=c;return d.Gua={},d.Ata=b,d.Qpa=d.GetDefaultChartText(),d.Bua=!1,d.Cua=!1,c}return b.prototype.CreateFormat=function(){var a=new f.ChartFormat(this.Chart);return a.Fill.Color.ColorType=0,a.Line.Color.ColorType=0,a},b.prototype.GetDefaultChartText=function(){var a=new n(this.Chart.Parent,this.Chart.ChartArea.Font),b=s(this.Ata.InnerChartType);return b&&a.Font.Color.setColor(this.Ata.Worksheet,"rgb(255,255,255)"),a},Object.defineProperty(b.prototype,"Parent",{get:function(){return this.Ata},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"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},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Count",{get:function(){return this.Ata.PointsCount},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"NumberFormat",{get:function(){return this.GetNumberFormat()},set:function(b){a.prototype.setNumberFormat.call(this,b)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"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)},enumerable:!0,configurable:!0}),b.prototype.Get=function(a){return this.GetLabel(a)},b.prototype.IsDirtyIncludingParent=function(b){return b===v&&(b=!1),!(r(this.Fua)||!this.Fua.Format.IsDirtyIncludingParent(b))||a.prototype.IsDirtyIncludingParent.call(this,b)},b.prototype.CreateLeaderLines=function(){return new A(this)},b.prototype.GetLabel=function(a){var b,c=this;return a<0||a>=c.Count?u:(b=c.Gua[a])?b:(b=new E(c.Ata,a),c.Gua[a]=b,b)},b.prototype.UpdateDeleted=function(a){var b,c,d=this.Gua;for(b in d)c=d[b],r(c)||(c.Deleted=a)},b.prototype.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()},b.prototype.GetNumberFormat=function(){var a=this,b=a.Rd;return a.GetState(4)||(a.NumberFormatLinked&&!r(a.Ata.ValuesRefers)&&a.Ata.ValuesRefers.length>0?b=a.GetFirstNumberFormat():r(a.Eua)||(b=a.Eua.NumberFormat)),b||"General"},b.prototype.GetFirstNumberFormat=function(){var a,b=this.Ata.ValuesRefers[0],c=this.Ata.Worksheet.Apa(b.WorksheetName),d=u;return r(c)||(a=c.ksa(b.Row,b.Column),r(a)||(d=a.FormatCode)),d||"General"},b.prototype.ToOOModel=function(){var b,c,d,e,f=this,g=a.prototype.ToOOModel.call(this);f.ShowLeaderLines&&(g.extLst={ext:[]},b={uri:"{CE6537A1-D6FC-4f65-9D91-7224C49458BB}"},g.extLst.ext.push(b),b.showLeaderLines=!0,g.showLeaderLines=!0,r(f.Fua)?delete g.leaderLines:g.leaderLines=f.Fua.ToOOModel()),c=[];for(d in f.Gua)e=f.Gua[d],r(e)||r(f.Qpa.TextRefer)&&!e.Deleted&&!e.IsDirtyIncludingParent()||c.push(e.ToOOModel());return c.length>0&&(g.dLbl=c),g},b.prototype.FromOOModel=function(b){var c,d,e,f,g,h,i,j=this;if(a.prototype.FromOOModel.call(this,b),j.Gua={},c=b.dLbl,!r(c))for(d=0,e=c;d<e.length;d++)f=e[d],g=j.GetLabel(f.idx),r(g)||g.FromOOModel(f);h=b.showLeaderLines,r(h)||(j.ShowLeaderLines=h),i=b.leaderLines,r(i)?j.Fua=u:(r(j.Fua)&&(j.Fua=j.CreateLeaderLines()),j.Fua.FromOOModel(i))},b.prototype.CreateCT_Dlbl=function(){return{dLbl:[]}},b.prototype.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}(C),b.DataLabels=D,E=function(a){F(b,a);function b(b,c){var d=a.call(this,b,b.DataLabels)||this,e=d;return e.Ata=b,e.mi=c,e}return b.prototype.CreateFormat=function(){var a=new f.ChartFormat(this.Chart,this.Ata.DataLabels.Format);return a.Fill.Color.ColorType=0,a.Line.Color.ColorType=0,a},b.prototype.GetDefaultChartText=function(){var a=this.Ata.SeriesCollection.Parent;return new n(a.Parent,this.Ata.DataLabels.Font)},Object.defineProperty(b.prototype,"Parent",{get:function(){return this.Ata.Points.Get(this.mi)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"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)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"NumberFormat",{get:function(){return this.GetNumberFormat()},set:function(b){a.prototype.setNumberFormat.call(this,b)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"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)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"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)},enumerable:!0,configurable:!0}),b.prototype.Delete=function(){this.Ysa=!0},b.prototype.CreateLeaderLines=function(){return new B(this)},Object.defineProperty(b.prototype,"Deleted",{get:function(){return!r(this.Ysa)&&this.Ysa},set:function(a){this.Ysa=a,a||(this.ShowValue=!0,this.ShowLeaderLines=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"ParentLabels",{get:function(){return this.Eua},enumerable:!0,configurable:!0}),b.prototype.GetNumberFormat=function(){var a,b,c,d,e,f,g=this,h=g.Rd;return g.GetState(4)||(a=g.Ata.ValuesRefers,g.NumberFormatLinked&&!r(a)&&a.length>0?(b={sheet:u,row:-1,col:-1},g.Ata.GetRowColIndex(a,g.mi,b),c=b.sheet,d=b.row,e=b.col,r(c)||d===-1||e===-1||(f=c.ksa(d,e),r(f)||(h=f.FormatCode))):r(g.Eua)||(h=g.Eua.NumberFormat)),h||"General"},b.prototype.GetText=function(){return this.AutoText?this.GetAutoText():this.Qpa.Text},b.prototype.GetAutoText=function(){var a,b=this,c=[],d=!1;return b.ShowSeriesName&&(a=b.Ata.Name,c.push(r(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&&j.IsBubbleChart(b.Ata.InnerChartType)&&(d&&c.push(b.Separator),c.push(""+b.Ata.BubbleSizes[b.mi]),d=!0),b.ShowPercentage&&j.IsPieOrDoughnutChart(b.Ata.InnerChartType)&&(d&&c.push(b.Separator),c.push(b.GetPercentText())),c.join("")},b.prototype.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},b.prototype.GetPercentText=function(){var a=this.GetNumberFormat(),b=new t("General"===a?"0%":a),c=this.Ata.GetPercentageValue(this.mi);return b.format(c)},b.prototype.FromOOModel=function(b){var c,d,e,f,g,h,i,j=this;if(a.prototype.FromOOModel.call(this,b),j.mi=b.idx,r(b.tx))r(b.txPr)||(i={},i.rich=b.txPr,j.ChartTextInternal.FromOOModel(i),j.Dua=!0,j.UnDirty(16384));else{if(c=b.tx.rich,r(b.tx.rich)&&!r(b.txPr)&&(b.tx.rich=b.txPr),j.ChartTextInternal.FromOOModel(b.tx),d=!1,e=b.extLst,!r(e)&&!r(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}},b.prototype.ToOOModel=function(){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,s=this;if(s.Deleted)return b={},b.idx=s.mi,b.delete=!0,b;if(c=a.prototype.ToOOModel.call(this),c.idx=s.mi,d=c.extLst,!r(d)&&!r(d.ext)&&d.ext.length>0){for(e=u,f=d.ext,g=void 0,h=0,i=f.length;h<i;h++)if(j=f[h],!r(j.layout)){e=j,g=h;break}r(e)||(d.ext.splice(g,1),k=e.layout,l=c.layout,r(k)||(r(k.extLst)||(l.extLst=k.extLst),m=k.manualLayout,r(m)||(r(l.manualLayout)?l.manualLayout=m:(n=l.manualLayout,r(m.x)||(n.x=m.x),r(m.y)||(n.y=m.y),r(m.w)||(n.w=m.w),r(m.h)||(n.h=m.h))))),c.extLst=u}return p=s.ParentLabels,r(p)||!p.ShowDataLabelsRange||r(p.ChartText)||r(p.ChartText.TextRefer)?s.AutoText&&!r(s.Qpa)?(c.txPr=s.Qpa.ToOOModel().rich,c.tx=u):r(s.Qpa)||(o=s.Qpa.ToOOModel(),r(s.Qpa.TextRefer)?(c.tx=o,c.txPr=u):(c.tx={},c.tx.strRef=o.strRef,c.txPr=o.rich)):(o=s.Qpa.ToOOModel(),c.tx=o,c.txPr=u,c.extLst={ext:[]},q={},q.uri="{CE6537A1-D6FC-4f65-9D91-7224C49458BB}",q.dlblFieldTable={dlblFTEntry:[]},q.showDataLabelsRange=!0,c.extLst.ext.push(q)),c},b.prototype.CreateCT_Dlbl=function(){var a={};return a.layout={},a},b}(C),b.DataLabel=E},"./dist/plugins/chart/dv/dv.financial.js":function(a,b,c){var d=c("./dist/plugins/chart/dv/dv.js"),e=this&&this.__extends||function(){var a=function(b,c){return(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])})(b,c)};return function(b,c){function d(){this.constructor=b}a(b,c),b.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}();!function(a){!function(a){"use strict";var b=(c.CandlestickStyleStroke="#666666",c.HlocStyleStroke="green",c);function c(){}a.BOb=b}(a.financial||(a.financial={}))}(d=d||{}),function(a){var b;!function(b){"use strict";var c,d=(c=a.models.W5a,e(f,c),f.prototype.i5a=function(b){var d,e=c.prototype.i5a.call(this,b);return null==e?null:(d=e.a3a()[0],d instanceof a.models.l3a||d.field instanceof a.models.hBa?e:null)},f.prototype.cTa=function(a,c,d){if("IStockFieldValueEncodingOption"==a.type)return b.KOa.COb(a,this.HL(),c);if("IFieldsValueEncodingOption"!=a.type)return null;var e=b.KOa.DOb(a,this.HL(),c);return null==e&&(e=b.LOa.DOb(a,this.HL(),c)),e},f.prototype.h5a=function(a){return[]},f.prototype.j5a=function(b,c,d,e){var f=a.models.x3a.T0(b,this.HL(),c,d,e);return null!=f?f:null},f.prototype.k5a=function(a){return null},f.prototype.l5a=function(a){return null},f.prototype.p5a=function(b){return a.models.O2a.T0(b,this.HL())},f.prototype.q5a=function(a){return null},f);function f(a){return c.call(this,a)||this}b.tkb=d}((b=a.financial||(a.financial={})).models||(b.models={}))}(d=d||{}),function(a){var b;!function(c){"use strict";var d,f=(d=a.models.EOb,e(g,d),g.prototype.mSa=function(){var a=new b.FOb;return a.GOb(this.plot.option.config.style),a},g.prototype.zAa=function(a){return a instanceof g&&this.plot.option.config.symbols==a.plot.option.config.symbols&&d.prototype.zAa.call(this,a)},g.prototype.styleEquals=function(b,c){return null!=b&&null!=c?a.options.IOb.HOb(b.fill,c.fill)&&a.options.IOb.HOb(b.stroke,c.stroke)&&b.opacity==c.opacity&&b.strokeOpacity==c.strokeOpacity&&b.strokeDasharray==c.strokeDasharray&&a.options.KOb.JOb(b.strokeWidth,c.strokeWidth):null==b&&null==c},g);function g(a){return d.call(this,a)||this}c.LOb=f}((b=a.financial||(a.financial={})).models||(b.models={}))}(d=d||{}),function(a){var b;!function(b){"use strict";var c,d=(c=a.models.MOb,e(f,c),Object.defineProperty(f.prototype,"coordinateSystemType",{get:function(){return"Cartesian"},enumerable:!0,configurable:!0}),f.prototype.q6a=function(a){return new b.tkb(a)},f.prototype.queryInterface=function(a){return"ILegendSymbolManager"==a?new b.LOb(this):c.prototype.queryInterface.call(this,a)},f);function f(a,b){return c.call(this,a,b)||this}b.NOb=d}((b=a.financial||(a.financial={})).models||(b.models={}))}(d=d||{}),function(a){var b;!function(a){"use strict";var b,c=(b=a.NOb,e(d,b),d.prototype.queryInterface=function(c){return"IPlotViewBuilder"==c?new a.OOb(this):b.prototype.queryInterface.call(this,c)},d);function d(a,c){return b.call(this,a,c)||this}a.POb=c}((b=a.financial||(a.financial={})).models||(b.models={}))}(d=d||{}),function(a){var b;!function(c){"use strict";var d,f=(d=a.models.QOb,e(g,d),g.prototype.build=function(a){return new b.Ekb(a,this.f3a())},g);function g(a){return d.call(this,a)||this}c.OOb=f}((b=a.financial||(a.financial={})).models||(b.models={}))}(d=d||{}),function(a){var b;!function(a){"use strict";var b,c=(b=a.NOb,e(d,b),d.prototype.queryInterface=function(c){return"IPlotViewBuilder"==c?new a.ROb(this):b.prototype.queryInterface.call(this,c)},d);function d(a,c){return b.call(this,a,c)||this}a.SOb=c}((b=a.financial||(a.financial={})).models||(b.models={}))}(d=d||{}),function(a){var b;!function(c){"use strict";var d,f=(d=a.models.QOb,e(g,d),g.prototype.build=function(a){return new b.Gkb(a,this.f3a())},g);function g(a){return d.call(this,a)||this}c.ROb=f}((b=a.financial||(a.financial={})).models||(b.models={}))}(d=d||{}),function(a){var b;!function(b){"use strict";var c,d=(c=a.models.F3a,e(f,c),f);function f(a,b){return c.call(this,a,b)||this}b.JOa=d}((b=a.financial||(a.financial={})).models||(b.models={}))}(d=d||{}),function(a){var b;!function(b){"use strict";var c,d=(c=b.JOa,e(f,c),f.COb=function(b,c,d){var e=a.models.k3a.T0(b.field.high,c),g=a.models.k3a.T0(b.field.low,c),h=a.models.k3a.T0(b.field.open,c),i=a.models.k3a.T0(b.field.close,c),j=a.models.l3a.T0(b.field.x,c);return null==j&&(j=a.models.j3a.T0(b.field.x,c)),null!=d?new f(d,e,g,h,i,(!!b.excludeNulls)):null!=j?new f(new a.models.i3a(j),e,g,h,i,(!!b.excludeNulls)):null},f.DOb=function(b,c,d){var e,g,h,i,j,k,l,m;for(e=null,g=null,h=null,i=null,j=null,k=0,l=a.TOb.splitStringWithEscape(b.field,",");k<l.length;k++){if(m=l[k],null==e){if(null!=(e=a.models.l3a.T0(m,c)))continue;if(null!=(e=a.models.j3a.T0(m,c)))continue}null==g&&null!=(g=a.models.k3a.T0(m,c))||null==h&&null!=(h=a.models.k3a.T0(m,c))||null==i&&null!=(i=a.models.k3a.T0(m,c))||null!=j||(j=a.models.k3a.T0(m,c))}if(null!=g&&null!=h){if(null!=d)return new f(d,g,h,i,j,(!!b.excludeNulls));if(null!=e)return new f(new a.models.i3a(e),g,h,i,j,(!!b.excludeNulls))}return null},Object.defineProperty(f.prototype,"name",{get:function(){if(null==this.HCa){var a=[];null!=this.mkb&&a.push(this.mkb.Cj()),null!=this.nkb&&a.push(this.nkb.Cj()),null!=this.okb&&a.push(this.okb.Cj()),null!=this.pkb&&a.push(this.pkb.Cj()),this.HCa=a.join("-")}return this.HCa},enumerable:!0,configurable:!0}),f.prototype.lCa=function(b){var c,d,e,f,g,h,i,j;for(c=NaN,d=NaN,e=NaN,f=NaN,g=0,h=b;g<h.length;g++)i=h[g],null!=this.okb&&(j=a.core.UOb.asNumber(a.models.VOb.getValue(i,this.okb.Cj()),!0),isNaN(e)&&null!=j&&(e=j)),null!=this.pkb&&null!=(j=a.core.UOb.asNumber(a.models.VOb.getValue(i,this.pkb.Cj()),!0))&&(f=j),null!=this.mkb&&null!=(j=a.core.UOb.asNumber(a.models.VOb.getValue(i,this.mkb.Cj()),!0))&&(isNaN(c)||c<j)&&(c=j),null!=this.nkb&&null!=(j=a.core.UOb.asNumber(a.models.VOb.getValue(i,this.nkb.Cj()),!0))&&(isNaN(d)||j<d)&&(d=j);return{high:c,low:d,open:e,close:f}},f.prototype.PBa=function(a){var b=this.lCa(a);return isNaN(b.high)||isNaN(b.low)?null:b.high-b.low},f.prototype.zAa=function(a){return a instanceof f&&this.mkb==a.mkb&&this.nkb==a.nkb&&this.okb==a.okb&&this.pkb==a.pkb},f.prototype.LPa=function(){var a=NaN;return null!=this.mkb&&(isNaN(a)||a<this.mkb.field.cw())&&(a=this.mkb.field.cw()),null!=this.nkb&&(isNaN(a)||a<this.nkb.field.cw())&&(a=this.nkb.field.cw()),null!=this.okb&&(isNaN(a)||a<this.okb.field.cw())&&(a=this.okb.field.cw()),null!=this.pkb&&(isNaN(a)||a<this.pkb.field.cw())&&(a=this.pkb.field.cw()),a},f.prototype.KPa=function(){var a=NaN;return null!=this.mkb&&(isNaN(a)||a>this.mkb.field.bw())&&(a=this.mkb.field.bw()),null!=this.nkb&&(isNaN(a)||a>this.nkb.field.bw())&&(a=this.nkb.field.bw()),null!=this.okb&&(isNaN(a)||a>this.okb.field.bw())&&(a=this.okb.field.bw()),null!=this.pkb&&(isNaN(a)||a>this.pkb.field.bw())&&(a=this.pkb.field.bw()),a},f.prototype.WOb=function(a){var b=this,c=this.PY();return null!=c&&(a=a.filter(function(a){var d=!1;return null!=b.mkb&&(d=c.filter(a,b.mkb.Cj())),d&&null!=b.nkb&&(d=c.filter(a,b.nkb.Cj())),d&&null!=b.okb&&(d=c.filter(a,b.okb.Cj())),d&&null!=b.pkb&&(d=c.filter(a,b.pkb.Cj())),d})),a},f);function f(a,b,d,e,f,g){var h=c.call(this,a,g)||this;return h.mkb=b,h.nkb=d,h.okb=e,h.pkb=f,h}b.KOa=d}((b=a.financial||(a.financial={})).models||(b.models={}))}(d=d||{}),function(a){var b;!function(b){"use strict";var c,d=(c=b.JOa,e(f,c),f.DOb=function(b,c,d){var e,g,h,i,j;for(e=null,g=null,h=0,i=a.TOb.splitStringWithEscape(b.field,",");h<i.length;h++)j=i[h],null==e&&null!=(e=a.models.l3a.T0(j,c))||null!=g||(g=a.models.k3a.T0(j,c));if(null!=g){if(null!=d)return new f(d,g,(!!b.excludeNulls));if(null!=e)return new f(new a.models.i3a(e),g,(!!b.excludeNulls))}return null},Object.defineProperty(f.prototype,"name",{get:function(){return this.rkb.Cj()},enumerable:!0,configurable:!0}),f.prototype.lCa=function(b){var c,d,e,f,g,h,i,j;for(c=NaN,d=NaN,e=NaN,f=NaN,g=0,h=b;g<h.length;g++)i=h[g],null!=this.rkb&&(j=a.core.UOb.asNumber(a.models.VOb.getValue(i,this.rkb.Cj())),isNaN(e)&&null!=j&&(e=j),null!=j&&(f=j),null!=j&&(isNaN(c)||c<j)&&(c=j),null!=j&&(isNaN(d)||j<d)&&(d=j));return{high:c,low:d,open:e,close:f}},f.prototype.PBa=function(a){var b=this.lCa(a);return isNaN(b.high)||isNaN(b.low)?null:b.high-b.low},f.prototype.zAa=function(a){return a instanceof f&&this.rkb==a.rkb},f.prototype.LPa=function(){return this.rkb.field.cw()},f.prototype.KPa=function(){return this.rkb.field.bw()},f);function f(a,b,d){var e=c.call(this,a,d)||this;return e.rkb=b,e}b.LOa=d}((b=a.financial||(a.financial={})).models||(b.models={}))}(d=d||{}),function(a){var b;!function(b){"use strict";var c,d=(c=a.models.w6a,e(f,c),f.prototype.KBa=function(b){return null==b||b.length<=0?new a.models.SOa:b[0].ySite},f.prototype.t6a=function(a,c,d,e){if(null!=c&&(null!=this.YOb().XOb().e6a()||null!=this.YOb().XOb().ZOb())){if(c instanceof b.KOa)return new b.ukb(this,c,d,e,a,"Day");if(c instanceof b.LOa)return new b.ukb(this,c,d,e,a,"Day")}return null},f.prototype.kNa=function(a){return null},f);function f(a,b,d){return c.call(this,a,b,d)||this}b.vkb=d}((b=a.financial||(a.financial={})).models||(b.models={}))}(d=d||{}),function(a){var b;!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"template",{get:function(){var a,b=this.O5a();return b&&0<b.length?(a=this.P5a(),null==a&&(a=this.rPa()),a):null},enumerable:!0,configurable:!0}),d.prototype.zoa=function(){return this.tCa},d.prototype.defaultProperty=function(a){return"value"},d.prototype.defaultFormat=function(a){return null},d.prototype.fromToken=function(c,d){var e,f,g,h,i,j,k,l,m=new a.models.Token;if("date"==c)e=this.tCa.Q5a().Qb(),m.name="date",m.value=new a.models.$Ob(e);else if("high"==c)m.name="high",m.value=new a.models.$Ob(this.zoa()._Ob());else if("low"==c)m.name="low",m.value=new a.models.$Ob(this.zoa().aPb());else if("open"==c)m.name="open",m.value=new a.models.$Ob(this.zoa().OT());else if("close"==c)m.name="close",m.value=new a.models.$Ob(this.zoa().WT());else if("xField"==c)null!=(f=this.zoa().Ata().HOa().E3a())&&(m.name=f.wLa(),m.value=new a.models.$Ob(this.zoa().Q5a().Qb()));else if("categoryField"==c)null!=(f=this.zoa().Ata().HOa().E3a())&&f instanceof a.models.h3a&&(g=f.a3a(),null==d&&(d=0),null!=g&&0<=d&&d<g.length&&(m.name=g[d].wLa(),m.value=new a.models.$Ob(g[d].field.lCa(this.zoa()._items()))));else if("valueField"==c)h=this.zoa().Ata().HOa(),h instanceof b.JOa&&(i=h.lCa(this.zoa()._items()),m.name=h.wLa(),m.value=new b.bPb(i.high,i.low,i.open,i.close));else for(j=0,k=this.O5a();j<k.length;j++)if(l=k[j],l.N2a().Cj()==c)return this.U5a(l);return m},d.prototype.U5a=function(b){var c=new a.models.Token;return c.name=b.N2a().wLa(),c.value=new a.models.$Ob(b.lCa(this.zoa()._items())),c.aggregate=a.cPb.toAggregateString(b.sOa()),c},d);function d(b){a.ePb.dPb(null!=b),this.tCa=b}b.wkb=c}((b=a.financial||(a.financial={})).models||(b.models={}))}(d=d||{}),function(a){var b;!function(b){"use strict";var c,d=(c=a.models.I6a,e(f,c),f.prototype._Ob=function(){return this.Akb},f.prototype.aPb=function(){return this.Bkb},f.prototype.OT=function(){return this.Ckb},f.prototype.WT=function(){return this.Dkb},f.prototype.E5a=function(){return new b.xkb(this);
- },f.prototype.fPb=function(){var a,b,c=this._items();0!=c.length&&(a=this.Ata().HOa().lCa(c),b=this.TJa(),this.Akb=a.high,this.Bkb=a.low,this.Ckb=a.open,this.Dkb=a.close,b.high=a.high,b.low=a.low,b.open=a.open,b.close=a.close)},f);function f(a,b,d){var e=c.call(this,a,b,d)||this;return e.fPb(),e}b.ykb=d}((b=a.financial||(a.financial={})).models||(b.models={}))}(d=d||{}),function(a){var b;!function(b){"use strict";var c,d,f=(c=a.models.Y1a,e(g,c),Object.defineProperty(g.prototype,"ySite",{get:function(){return null==this.JBa&&(this.JBa=new d(this.HOa())),this.JBa},enumerable:!0,configurable:!0}),g.prototype.gPb=function(){return this.pNa},g.prototype.M6a=function(){var d=this.uPa().YOb().XOb().e6a(),e=null!=d&&0<d.a3a().length?d.a3a()[0]:null;return e instanceof a.models.l3a?(new b.hPb).buildPoints(this._items(),this,e):c.prototype.M6a.call(this)},g.prototype.eDa=function(a,c){return new b.ykb(this,a,c)},g.prototype.FBa=function(a){var b=this.fua().map(function(a){return a.jxa()});null!=b&&b.forEach(function(b){a.forEach(function(a){a.evaluate(b)})})},g);function g(a,b,d,e,f,g){var h=c.call(this,a,b,d,e,f)||this;return h.pNa=g,h}b.ukb=f,Object.defineProperty(h.prototype,"name",{get:function(){return""},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"min",{get:function(){return this.zCa.KPa()},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"max",{get:function(){return this.zCa.LPa()},enumerable:!0,configurable:!0}),h.prototype.padding=function(){return 0},Object.defineProperty(h.prototype,"dataType",{get:function(){return a.core.DataType.Number},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"isOrdinal",{get:function(){return!1},enumerable:!0,configurable:!0}),h.prototype.labelFromValue=function(b,c){var d=a.plugins.w1a.lPa("Default");return null!=d?d.format(c,b):null},h.prototype.itemValue=function(a){return a},d=h;function h(a){this.valueCount=NaN,this.zCa=a}}((b=a.financial||(a.financial={})).models||(b.models={}))}(d=d||{}),function(a){var b;!function(b){"use strict";var c,d,f,g,h=(c=a.data.GroupingsBuilder,e(i,c),i.prototype.buildPoints=function(b,c,d){var e,h,i,j,k,l,m,n,o,p,q,r;for(e=[],h=c.uPa().YOb().XOb().e6a(),i=new f(c,d),j=new g(d,c.gPb()),k=new a.iPb,l=new a.data.GroupingDescription(i,j,k),m=this.build(b,l),n=h.jPb(),o=0,p=m;o<p.length;o++)q=p[o],null!=q.key&&(r=q,r.Q5a().mi(n),r.fPb(),e.push(r),n++);return e},i);function i(){return null!==c&&c.apply(this,arguments)||this}b.hPb=h,d=a.data.GroupingBuilder,e(j,d),j.prototype.createGrouping=function(a){return this.kPb.eDa([],new b.zkb(this.L2a,a,0))},f=j;function j(a,b){var c=d.call(this)||this;return c.kPb=a,c.L2a=b,c}b.lPb=f,k.prototype.build=function(b){if("Day"!=this.pNa)return null;var c=a.models.VOb.getValue(b,this.L2a.field.name),d=this.L2a.mPb().T0(c);return d?new Date(d.getFullYear(),d.getMonth(),d.getDate()):null},g=k;function k(a,b){this.L2a=a,this.pNa=b}b.nPb=g}((b=a.financial||(a.financial={})).models||(b.models={}))}(d=d||{}),function(a){var b;!function(b){"use strict";var c,d=(c=a.models.qBa,e(f,c),Object.defineProperty(f.prototype,"min",{get:function(){return this.FCa},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"max",{get:function(){return this.GCa},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"valueCount",{get:function(){return this.aNa.length},enumerable:!0,configurable:!0}),f.prototype.itemValue=function(a){return a},f);function f(b){var d,e,f,g,h=c.call(this,b)||this;if(h.aNa=null,h.FCa=NaN,h.GCa=NaN,d=b.N2a().field.queryInterface("IDateDataField"),null!=d)for(e=d.Ey(),h.aNa=[],f=0;f<e.length;f++)g=e[f].valueOf(),-1==h.aNa.indexOf(g)&&((isNaN(h.FCa)||h.FCa>g)&&(h.FCa=g),(isNaN(h.GCa)||h.GCa<g)&&(h.GCa=g),h.aNa.push(g));else a.ePb.dPb(!1);return h}b.bNa=d}((b=a.financial||(a.financial={})).models||(b.models={}))}(d=d||{}),function(a){var b;!function(b){"use strict";var c,d=(c=b.wkb,e(f,c),f.prototype.O5a=function(){return this.zoa().Ata().plot().YOb().XOb().p6a()},f.prototype.P5a=function(){var a=this.zoa().vw();return null!=a&&null!=a.template&&0<a.template.length?a.template:null},f.prototype.rPa=function(){var b,c,d,e=[],f=[];for(e.push("{date.name}: {date.value}"),b=function(b){var c,d=b.N2a().Cj();f.some(function(a){return a==d})||(c=b.N2a().format,e.push(a.TOb.getTemplateValueSection(d,c,!0)),f.push(d))},c=0,d=this.O5a();c<d.length;c++)b(d[c]);return e.join("\n")},f);function f(a){return c.call(this,a)||this}b.xkb=d}((b=a.financial||(a.financial={})).models||(b.models={}))}(d=d||{}),function(a){var b;!function(b){"use strict";var c,d=(c=a.models.Z6a,e(f,c),f);function f(a,b,d){return c.call(this,a,b,d)||this}b.zkb=d}((b=a.financial||(a.financial={})).models||(b.models={}))}(d=d||{}),function(a){var b;(b=a.financial||(a.financial={})).models||(b.models={})}(d=d||{}),function(a){var b;(b=a.financial||(a.financial={})).models||(b.models={})}(d=d||{}),function(a){var b;!function(b){"use strict";var c,d=(c=a.models.oPb,e(f,c),Object.defineProperty(f.prototype,"value",{get:function(){return{high:this.Akb,low:this.Bkb,open:this.Ckb,close:this.Dkb}},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"high",{get:function(){return this.Akb},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"low",{get:function(){return this.Bkb},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"open",{get:function(){return this.Ckb},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"close",{get:function(){return this.Dkb},enumerable:!0,configurable:!0}),f.prototype.bc=function(b){var c,d=a.plugins.w1a.lPa("Default");return null!=d?(null==b&&(b=d.defaultFormat(a.core.DataType.Date,!1)),d.format(b,this.Akb)+", "+d.format(b,this.Bkb)+", "+d.format(b,this.Ckb)+", "+d.format(b,this.Dkb)):(c="",c+=null!=this.Akb?""+this.Akb:"",c+=", ",c+=null!=this.Bkb?""+this.Bkb:"",c+=", ",c+=null!=this.Ckb?""+this.Ckb:"",c+=", ",c+=null!=this.Dkb?""+this.Dkb:"")},f);function f(a,b,d,e){var f=c.call(this)||this;return f.Akb=a,f.Bkb=b,f.Ckb=d,f.Dkb=e,f}b.bPb=d}((b=a.financial||(a.financial={})).models||(b.models={}))}(d=d||{}),function(a){var b;(b=a.financial||(a.financial={})).models||(b.models={})}(d=d||{}),function(a){var b;!function(b){"use strict";var c,d=(c=a.options.S8a,e(f,c),Object.defineProperty(f.prototype,"high",{get:function(){return this.Akb},set:function(a){null!=this.Akb&&this.Akb==a||"string"==typeof a&&(this.Akb=a)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"low",{get:function(){return this.Bkb},set:function(a){null!=this.Bkb&&this.Bkb==a||"string"==typeof a&&(this.Bkb=a)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"open",{get:function(){return this.Ckb},set:function(a){null!=this.Ckb&&this.Ckb==a||"string"==typeof a&&(this.Ckb=a)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"close",{get:function(){return this.Dkb},set:function(a){null!=this.Dkb&&this.Dkb==a||"string"==typeof a&&(this.Dkb=a)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"x",{get:function(){return this.z1a},set:function(a){null!=this.z1a&&this.z1a==a||"string"==typeof a&&(this.z1a=a)},enumerable:!0,configurable:!0}),f);function f(a){var b=c.call(this,a)||this;return b.high=b.$z().high,b.low=b.$z().low,b.open=b.$z().open,b.close=b.$z().close,b.x=b.$z().x,b}b.pPb=d}((b=a.financial||(a.financial={})).options||(b.options={}))}(d=d||{}),function(a){var b;!function(b){"use strict";var c,d=(c=a.options.S8a,e(f,c),Object.defineProperty(f.prototype,"field",{get:function(){return this.oBa},set:function(a){null==this.oBa&&this.oBa!=a&&(this.oBa="object"==typeof a?new b.pPb(a):null)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"aggregate",{get:function(){return this.AGa},set:function(b){this.AGa!=b&&(this.AGa=a.core.UOb.asEnum(b,a.Aggregate,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"excludeNulls",{get:function(){return this.LSa},set:function(b){null!=this.LSa&&this.LSa==b||(this.LSa=a.options.qPb.PBa(b,!1))},enumerable:!0,configurable:!0}),f);function f(a){var b=c.call(this,a)||this;return b.type="IStockFieldValueEncodingOption",b.field=b.$z().field,b.aggregate=b.$z().aggregate,b.excludeNulls=b.$z().excludeNulls,b}b.rPb=d}((b=a.financial||(a.financial={})).options||(b.options={}))}(d=d||{}),function(a){var b;(b=a.financial||(a.financial={})).options||(b.options={})}(d=d||{}),function(a){var b;(b=a.financial||(a.financial={})).options||(b.options={})}(d=d||{}),function(a){var b;!function(b){"use strict";var c=(d.sPb=function(a){return d.tPb(a.option().values)},d.tPb=function(a){var b,c,e,f,g;if(null==a)return[];if(Array.isArray(a)){for(b=[],c=0,e=a;c<e.length;c++)f=e[c],null!=(g=d.uPb(f))&&b.push(g);return b}return null!=(g=d.uPb(a))?[g]:[]},d.uPb=function(c){if(null==c)return null;if("string"==typeof c.field)return null!=(d=new a.options.vPb(c)).field?d:null;if("object"!=typeof c.field)return null;var d,e=c.type;return"string"==typeof e&&-1!=e.lastIndexOf("ValueEncodingOption")?c:null!=(d=new b.rPb(c)).field?d:null},d);function d(){}b.wPb=c}((b=a.financial||(a.financial={})).options||(b.options={}))}(d=d||{}),function(a){var b;!function(b){"use strict";var c,d,f=(c=a.models.xPb,e(g,c),g);function g(a,b,d,e){var f=c.call(this,a,b,d)||this;return f.stockField=e,f}b.yPb=f,h.prototype.Qoa=function(a){var b,c,d,e;for(b=[],c=0,d=a.aT().J5a();c<d.length;c++)e=d[c],b.push.apply(b,this.sliceDataInSeries(e,!0));return b},h.prototype.sliceDataInSeries=function(a,b){var c,d,e,g,h,i,j,k;for(c=[],d=[],e=[],g=[],h=0,i=a.fua();h<i.length;h++)j=i[h],isNaN(j._Ob())||c.push(j),isNaN(j.aPb())||d.push(j),isNaN(j.OT())||e.push(j),isNaN(j.WT())||g.push(j);return k=[],0<c.length&&k.push(new f(c,a.HOa(),b,"high")),0<d.length&&k.push(new f(d,a.HOa(),b,"low")),0<e.length&&k.push(new f(e,a.HOa(),b,"open")),0<g.length&&k.push(new f(g,a.HOa(),b,"close")),k},d=h;function h(){}b.zPb=d}((b=a.financial||(a.financial={})).models||(b.models={}))}(d=d||{}),function(a){!function(b){"use strict";var c=(d.extract=function(b,c,d){var e,f,g,h,i,j,k,l;if(null==c||0==c.length)return null;for(e=[],f=[],g=[],h=0,i=c;h<i.length;h++)j=i[h],k=this.getValue(b,j,d),null!=k&&(e.push(b._La(j.Q5a())),f.push(k),g.push(j));return l=new a.XyPoints,l.xs=e,l.ys=f,l.points=g,l},d.getValue=function(b,c,d){var e=null;switch(d){case"high":e=c._Ob();break;case"low":e=c.aPb();break;case"open":e=c.OT();break;case"close":e=c.WT()}return null==e&&b.$z().config.showNulls==a.ShowNulls.Zeros&&(e=0),e},d);function d(){}b.APb=c}(a.financial||(a.financial={}))}(d=d||{}),function(a){var b;!function(b){"use strict";var c,d=(c=a.models.BPb,e(f,c),f.prototype.queryInterface=function(a){return"IOverlayViewBuilder"==a?new b.CPb(this):c.prototype.queryInterface.call(this,a)},f);function f(a){return c.call(this,a)||this}b.DPb=d}((b=a.financial||(a.financial={})).models||(b.models={}))}(d=d||{}),function(a){var b;!function(c){"use strict";var d,f=(d=a.models.EPb,e(g,d),g.prototype.build=function(a){return a instanceof b.Ikb?new b.FPb(a,this.f3a()):null},g);function g(a){return d.call(this,a)||this}c.CPb=f}((b=a.financial||(a.financial={})).models||(b.models={}))}(d=d||{}),function(a){!function(b){"use strict";var c=(d.prototype.GPb=function(c,d){var e=c.bRa();return!(e instanceof a.tbb)&&e instanceof b.Ikb?this.createItemViewBy(c,d,c.$z()):null},d.prototype.createItemViewBy=function(a,c,d){switch(d.type){case"LinearTrendline":return new b.HPb(a,c,this.createLinearTrendline(d),d.forecast);case"PolynomialTrendline":return new b.HPb(a,c,this.createPolynomialTrendline(d),d.forecast);case"ExponentialTrendline":return new b.HPb(a,c,this.createExponentialTrendline(d),d.forecast);case"LogarithmicTrendline":return new b.HPb(a,c,this.createLogarithmicTrendline(d),d.forecast);case"PowerTrendline":return new b.HPb(a,c,this.createPowerTrendline(d),d.forecast);case"FourierTrendline":return new b.HPb(a,c,this.createFourierTrendline(d),d.forecast);case"MovingAverageTrendline":return new b.IPb(a,c,this.createSimpleMovingAverageTrendline(d));case"CumulativeMovingAverageTrendline":return new b.IPb(a,c,this.createCumulativeMovingAverageTrendline(d));case"ExponentialMovingAverageTrendline":return new b.IPb(a,c,this.createExponentialMovingAverageTrendline(d));case"WeightedMovingAverageTrendline":return new b.IPb(a,c,this.createWeightedMovingAverageTrendline(d));case"MovingAnnualTotalTrendline":return new b.IPb(a,c,this.createMovingAnnualTotalTrendline(d))}return null},d.prototype.createMovingAnnualTotalTrendline=function(b){return new a.MovingAnnualTotalTrendline(b.period)},d.prototype.createCumulativeMovingAverageTrendline=function(b){return new a.CumulativeMovingAverageTrendline(b.period)},d.prototype.createSimpleMovingAverageTrendline=function(b){return new a.SimpleMovingAverageTrendline(b.period)},d.prototype.createWeightedMovingAverageTrendline=function(b){return new a.WeightedMovingAverageTrendline(b.period)},d.prototype.createExponentialMovingAverageTrendline=function(b){return new a.ExponentialMovingAverageTrendline},d.prototype.createPowerTrendline=function(b){return new a.PowerTrendline},d.prototype.createExponentialTrendline=function(b){return new a.ExponentialTrendline(b.intercept)},d.prototype.createLinearTrendline=function(b){return new a.LinearTrendLine(b.intercept)},d.prototype.createFourierTrendline=function(b){return new a.FourierTrendline(b.order)},d.prototype.createPolynomialTrendline=function(b){return new a.PolynomialTrendline(b.order,b.intercept)},d.prototype.createLogarithmicTrendline=function(b){return new a.LogarithmicTrendline},d);function d(){}b.JPb=c}(a.financial||(a.financial={}))}(d=d||{}),function(a){!function(b){"use strict";var c,d=(c=a.KPb,e(f,c),f.prototype.LPb=function(){return this.MPb()},f.prototype.extractData=function(a){return a instanceof b.models.yPb?b.APb.extract(this.LPb().NPb(),a.points,a.stockField):null},f);function f(a,b,d){return c.call(this,a,b,d)||this}b.IPb=d}(a.financial||(a.financial={}))}(d=d||{}),function(a){!function(b){"use strict";var c,d=(c=a.OPb,e(f,c),f.prototype.LPb=function(){return this.MPb()},f.prototype.extractData=function(a){return a instanceof b.models.yPb?b.APb.extract(this.LPb().NPb(),a.points,a.stockField):null},f);function f(a,b,d,e){return c.call(this,a,b,d,e)||this}b.HPb=d}(a.financial||(a.financial={}))}(d=d||{}),function(a){var b;!function(b){"use strict";var c=(d.prototype.defaultProperty=function(a){return"value"},d.prototype.defaultFormat=function(b){return a.plugins.w1a.lPa("Default").defaultFormat(a.core.DataType.String,!1)},d.prototype.fromToken=function(b,c){var d=new a.models.Token;return"Field"==b&&(d.value=new a.models.$Ob(this.stockField)),d},d);function d(a,b){this.template=a,this.stockField=null==b?"":b}b.PPb=c}((b=a.financial||(a.financial={})).models||(b.models={}))}(d=d||{}),function(a){var b;!function(c){"use strict";var d=(Object.defineProperty(e.prototype,"type",{get:function(){return"FinancialCumulativeMovingAverageTrendline"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),e.prototype.create=function(c,d){if(null!=d&&null!=c){if(a.options.QPb(d)){var e=d;return new b.models.DPb(e)}if("CumulativeMovingAverageTrendline"===d.type)return e=new a.options.RPb(d.option()),new b.models.DPb(e)}return null},e);function e(){}c.SPb=d}((b=a.financial||(a.financial={})).plugins||(b.plugins={}))}(d=d||{}),function(a){var b;!function(c){"use strict";var d=(Object.defineProperty(e.prototype,"type",{get:function(){return"FinancialExponentialMovingAverageTrendline"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),e.prototype.create=function(c,d){if(null!=d&&null!=c){if(a.options.TPb(d)){var e=d;return new b.models.DPb(e)}if("ExponentialMovingAverageTrendline"===d.type)return e=new a.options.UPb(d.option()),new b.models.DPb(e)}return null},e);function e(){}c.VPb=d}((b=a.financial||(a.financial={})).plugins||(b.plugins={}))}(d=d||{}),function(a){var b;!function(c){"use strict";var d=(Object.defineProperty(e.prototype,"type",{get:function(){return"FinancialExponentialTrendline"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),e.prototype.create=function(c,d){if(null!=d&&c instanceof b.Ikb){if(a.options.WPb(d)){var e=d;return new b.models.DPb(e)}if("ExponentialTrendline"===d.type)return e=new a.options.XPb(d.option()),new b.models.DPb(e)}return null},e);function e(){}c.YPb=d}((b=a.financial||(a.financial={})).plugins||(b.plugins={}))}(d=d||{}),function(a){var b;!function(c){"use strict";var d=(Object.defineProperty(e.prototype,"type",{get:function(){return"FinancialFourierTrendline"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),e.prototype.create=function(c,d){if(null!=d&&c instanceof b.Ikb){if(a.options.ZPb(d)){var e=d;return new b.models.DPb(e)}if("FourierTrendline"===d.type)return e=new a.options.$Pb(d.option()),new b.models.DPb(e)}return null},e);function e(){}c._Pb=d}((b=a.financial||(a.financial={})).plugins||(b.plugins={}))}(d=d||{}),function(a){var b;!function(c){"use strict";var d=(Object.defineProperty(e.prototype,"type",{get:function(){return"FinancialLinearTrendline"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"priority",{get:function(){return 1},enumerable:!0,configurable:!0}),e.prototype.create=function(c,d){if(null!=d&&c instanceof b.Ikb){if(a.options.aQb(d)){var e=d;return new b.models.DPb(e)}if("LinearTrendline"===d.type)return e=new a.options.bQb(d.option()),new b.models.DPb(e)}return null},e);function e(){}c.cQb=d}((b=a.financial||(a.financial={})).plugins||(b.plugins={}))}(d=d||{}),function(a){var b;!function(c){"use strict";var d=(Object.defineProperty(e.prototype,"type",{get:function(){return"FinancialLogarithmicTrendline"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),e.prototype.create=function(c,d){if(null!=d&&c instanceof b.Ikb){if(a.options.dQb(d)){var e=d;return new b.models.DPb(e)}if("LogarithmicTrendline"===d.type)return e=new a.options.eQb(d.option()),new b.models.DPb(e)}return null},e);function e(){}c.fQb=d}((b=a.financial||(a.financial={})).plugins||(b.plugins={}))}(d=d||{}),function(a){var b;!function(c){"use strict";var d=(Object.defineProperty(e.prototype,"type",{get:function(){return"FinancialMovingAnnualTotalTrendline"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),e.prototype.create=function(c,d){if(null!=d&&null!=c){if(a.options.gQb(d)){var e=d;return new b.models.DPb(e)}if("MovingAnnualTotalTrendline"===d.type)return e=new a.options.hQb(d.option()),new b.models.DPb(e)}return null},e);function e(){}c.iQb=d}((b=a.financial||(a.financial={})).plugins||(b.plugins={}))}(d=d||{}),function(a){var b;!function(c){"use strict";var d=(Object.defineProperty(e.prototype,"type",{get:function(){return"FinancialPolynomialTrendline"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),e.prototype.create=function(c,d){if(null!=d&&c instanceof b.Ikb){if(a.options.jQb(d)){var e=d;return new b.models.DPb(e)}if("PolynomialTrendline"===d.type)return e=new a.options.kQb(d.option()),new b.models.DPb(e)}return null},e);function e(){}c.lQb=d}((b=a.financial||(a.financial={})).plugins||(b.plugins={}))}(d=d||{}),function(a){var b;!function(c){"use strict";var d=(Object.defineProperty(e.prototype,"type",{get:function(){return"FinancialPowerTrendline"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),e.prototype.create=function(c,d){if(null!=d&&c instanceof b.Ikb){if(a.options.mQb(d)){var e=d;return new b.models.DPb(e)}if("PowerTrendline"===d.type)return e=new a.options.nQb(d.option()),new b.models.DPb(e)}return null},e);function e(){}c.oQb=d}((b=a.financial||(a.financial={})).plugins||(b.plugins={}))}(d=d||{}),function(a){var b;!function(c){"use strict";var d=(Object.defineProperty(e.prototype,"type",{get:function(){return"FinancialMovingAverageTrendline"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),e.prototype.create=function(c,d){if(null!=d&&null!=c){if(a.options.pQb(d)){var e=d;return new b.models.DPb(e)}if("MovingAverageTrendline"===d.type)return e=new a.options.qQb(d.option()),new b.models.DPb(e)}return null},e);function e(){}c.rQb=d}((b=a.financial||(a.financial={})).plugins||(b.plugins={}))}(d=d||{}),function(a){var b;!function(c){"use strict";var d=(Object.defineProperty(e.prototype,"type",{get:function(){return"FinancialWeightedMovingAverageTrendline"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),e.prototype.create=function(c,d){if(null!=d&&null!=c){if(a.options.sQb(d)){var e=d;return new b.models.DPb(e)}if("WeightedMovingAverageTrendline"===d.type)return e=new a.options.tQb(d.option()),new b.models.DPb(e)}return null},e);function e(){}c.uQb=d}((b=a.financial||(a.financial={})).plugins||(b.plugins={}))}(d=d||{}),function(a){!function(b){"use strict";var c,d=(c=a.BaseAnimation,e(f,c),f.prototype.Reverse=function(){var a=new f(this.rect,this.currentTo,this.from,this.keyframesType,(!1));return a.duration=this.duration,a},f.prototype.onEndAnimation=function(b){c.prototype.onEndAnimation.call(this,b),this.fillAfter||(b instanceof a.jgb&&this.keyframesType===a.AnimationKeyFramesType.Percentage&&b.scale(this.to),null!=this.rect&&b.APa(this.rect.clone()))},f.prototype.applyTransformation=function(b,c){var d,e,f,g,h;this.keyframesType===a.AnimationKeyFramesType.Percentage?(d=this.from+(this.to-this.from)*b,this.currentTo=d,e=this.rect.clone(),c.APa().left=e.left+(1-d)*e.width/2,c.APa().top=e.top+(1-d)*e.height/2,c.APa().width=d*e.width,c.APa().height=d*e.height):(e=this.rect,f=this.from+(this.to-this.from)*b,this.currentTo=f,g=this.rect.width+f,h=this.rect.height+f,c.APa().top=e.top-(h-e.height)/2,c.APa().height=h,c.APa().left=e.left-(g-e.width)/2,c.APa().width=g)},f);function f(a,b,d,e,f){void 0===f&&(f=!0);var g=c.call(this)||this;return g.from=b,g.to=d,g.keyframesType=e,g.rect=a.clone(),g.fillAfter=f,g.currentTo=b,g}b.N_StockAnimation=d}(a.financial||(a.financial={}))}(d=d||{}),function(a){!function(b){"use strict";var c=(d.build=function(c,d){if(null==d||!c.bz())return null;if(c instanceof a.jgb){var e=void 0;return null!=d.scale?d.scale.type==a.ValueOptionType.Percentage?e=new b.N_StockAnimation(c.APa(),1,d.scale.value,a.AnimationKeyFramesType.Percentage):d.scale.type==a.ValueOptionType.Pixel&&(e=new b.N_StockAnimation(c.APa(),0,d.scale.value,a.AnimationKeyFramesType.Pixel)):e=new b.N_StockAnimation(c.APa(),1,1.05,a.AnimationKeyFramesType.Percentage),e&&(e.ease=a.x7.V1a(d.easing),e.duration=d.duration),e}return null},d.buildReverse=function(a){if(null!=a)return a.Reverse()},d);function d(){}b.StockHoverAnimationBuilder=c}(a.financial||(a.financial={}))}(d=d||{}),function(a){!function(b){"use strict";var c=(d.prototype.vQb=function(a){var b,c,d,e;for(b=[],c=0,d=a.length;c<d;++c)e=this.buildAnimationBy(a[c],c,d),null!=e&&b.push({view:a[c],Animation:e});return 0<b.length?b:null},d.prototype.buildAnimationBy=function(c,d,e){var f,g,h,i;return 0==c.bz()?null:(f=this.option,g=null,null!=c.APa&&null!=c.APa()&&(g=new b.N_StockAnimation(c.APa(),0,1,a.AnimationKeyFramesType.Percentage)),null!=g&&(h=null!=f.startDelay?f.startDelay:0,f.mode===a.AnimationMode.All?(g.delay=h,g.duration=f.duration):(i=this.delayBuilder(d,e,f.duration,f.staggering),g.delay=h+i.delay,g.duration=i.duration),g.ease=a.x7.V1a(f.easing)),g)},d.prototype.delayBuilder=function(a,b,c,d){var e,f;return d?(e=c/(b+1),{delay:a*e,duration:2*e}):(f=c/b,{delay:f*a,duration:f})},d);function d(a){this.option=a}b.StockLoadingAnimationBuilder=c}(a.financial||(a.financial={}))}(d=d||{}),function(a){var b;!function(a){"use strict";var b=(c.prototype.$z=function(){return this.eAa},c.prototype.wQb=function(){return this.xQb},c.prototype.queryInterface=function(a){return null},c);function c(a,b){this.xQb=a,this.eAa=b}a.AnimationDefinition=b}((b=a.financial||(a.financial={})).models||(b.models={}))}(d=d||{}),function(a){var b;!function(b){"use strict";var c,d=(c=b.AnimationDefinition,e(f,c),f.prototype.yQb=function(b,c,d){var e=a.AnimationManager.getInstance(b).zQb();e&&e.R6(b,{Animation:d,view:c})},f.prototype.AQb=function(b,c){var d,e=a.AnimationManager.getInstance(b).zQb();return e&&(d=e.NR(b),d&&d.view==c)?d.Animation:null},f.prototype.Nc=function(){return"HoverAnimation"},f.prototype.$z=function(){return c.prototype.$z.call(this)},f.prototype.enter=function(b,c){if(null!=b&&null!=this.$z()){a.AnimationUtil.BQb(b,c);var d=this.getHoverAnimation(b);null!=d&&(this.yQb(c,b,d),a.AnimationUtil.CQb(b,d,c))}},f.prototype.leave=function(b,c){var d,e,f;null!=b&&null!=this.$z()&&(d=void 0,e=this.AQb(c,b),null!=e&&(d=e).SG(b),f=this.getReversedHoverAnimation(b,d),null!=f&&a.AnimationUtil.CQb(b,f,c))},f);function f(a,b){return c.call(this,a,b)||this}b.HoverAnimationDefinition=d}((b=a.financial||(a.financial={})).models||(b.models={}))}(d=d||{}),function(a){var b;!function(b){"use strict";var c,d=(c=b.AnimationDefinition,e(f,c),f.prototype.Nc=function(){return"LoadingAnimation"},f.prototype.prepareLoadingAnimation=function(b){if(null!=b&&null!=this.$z()){var c=this.getLoadingAnimationInfos(b),d=a.AnimationManager.getInstance(b).DQb();null!=d&&d.handleSepecific(b,c,!0)}},f);function f(){return null!==c&&c.apply(this,arguments)||this}b.LoadingAnimationDefinition=d}((b=a.financial||(a.financial={})).models||(b.models={}))}(d=d||{}),function(a){var b;!function(b){"use strict";var c,d=(c=b.AnimationDefinition,e(f,c),f.prototype.Nc=function(){return"UpdateAnimation"},f.prototype.getCachedViews=function(a){return this.getAnimatableViews(a)},f.prototype.prepareUpdateAnimation=function(b){var c,d,e,f,g,h;if(null!=b){if(c=this.getAnimatableViews(b),d=a.AnimationManager.getInstance(b).DQb(),null==d||null==c)return;if(e=this.$z(),f=a.AnimationManager.getInstance(b).EQb(),null==e)return void f.$b();d.interruptSepecificAnimationBy(b),g=new a.UpdateAnimationAnalyzer(b,this).FQb(c,f),f.R6(b,a.UpdateAnimationStorage.pack(this.getCachedViews(b))),null!=g&&(h=this.getUpdateAnimationInfos(g),d.handleSepecific(b,h,!0))}},f);function f(){return null!==c&&c.apply(this,arguments)||this}b.UpdateAnimationDefinition=d}((b=a.financial||(a.financial={})).models||(b.models={}))}(d=d||{}),function(a){var b;!function(a){"use strict";var c,d=(c=a.HoverAnimationDefinition,e(f,c),f.prototype.GQb=function(){return"Candlestick"},f.prototype.wQb=function(){return c.prototype.wQb.call(this)},f.prototype.getHoverAnimation=function(a){return b.StockHoverAnimationBuilder.build(a,this.$z())},f.prototype.getReversedHoverAnimation=function(a,c){return null==c&&(c=this.getHoverAnimation(a)),b.StockHoverAnimationBuilder.buildReverse(c)},f);function f(a,b){return c.call(this,a,b)||this}a.CandlestickHoverAnimationDefinition=d}((b=a.financial||(a.financial={})).models||(b.models={}))}(d=d||{}),function(a){var b;!function(a){"use strict";var c,d=(c=a.LoadingAnimationDefinition,e(f,c),f.prototype.GQb=function(){return"Candlestick"},f.prototype.wQb=function(){return c.prototype.wQb.call(this)},f.prototype.getLoadingAnimationInfos=function(a){var c=this.getAnimatableViews(a);if(null!=c)return new b.StockLoadingAnimationBuilder(this.$z()).vQb(c)},f.prototype.getAnimatableViews=function(a){return a.ngb(this.$z())},f);function f(a,b){return c.call(this,a,b)||this}a.CandlestickLoadingAnimationDefinition=d}((b=a.financial||(a.financial={})).models||(b.models={}))}(d=d||{}),function(a){var b;!function(a){"use strict";var b,c=(b=a.UpdateAnimationDefinition,e(d,b),d.prototype.GQb=function(){return"Candlestick"},d.prototype.wQb=function(){return b.prototype.wQb.call(this)},d.prototype.createUpdateAnimation=function(a,b){return null},d.prototype.getUpdateAnimationInfos=function(a){return null},d.prototype.getAnimatableViews=function(a){return null},d);function d(a,c){return b.call(this,a,c)||this}a.CandlestickUpdateAnimationDefinition=c}((b=a.financial||(a.financial={})).models||(b.models={}))}(d=d||{}),function(a){var b;!function(a){"use strict";var c=(Object.defineProperty(d.prototype,"chartType",{get:function(){return"Candlestick"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(a){var c=a.option.config.hoverAnimation;return a instanceof b.models.POb?new b.models.CandlestickHoverAnimationDefinition(a,c):null},d);function d(){}a.CandlestickHoverAnimationPlugin=c}((b=a.financial||(a.financial={})).plugins||(b.plugins={}))}(d=d||{}),function(a){var b;!function(a){"use strict";var c=(Object.defineProperty(d.prototype,"chartType",{get:function(){return"Candlestick"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(a){var c=a.option.config.loadAnimation;return a instanceof b.models.POb?new b.models.CandlestickLoadingAnimationDefinition(a,c):null},d);function d(){}a.CandlestickLoadingAnimationPlugin=c}((b=a.financial||(a.financial={})).plugins||(b.plugins={}))}(d=d||{}),function(a){var b;!function(a){"use strict";var c=(Object.defineProperty(d.prototype,"chartType",{get:function(){return"Candlestick"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(a){var c=a.option.config.updateAnimation;return a instanceof b.models.POb?new b.models.CandlestickUpdateAnimationDefinition(a,c):null},d);function d(){}a.CandlestickUpdateAnimationPlugin=c}((b=a.financial||(a.financial={})).plugins||(b.plugins={}))}(d=d||{}),function(a){var b;!function(a){"use strict";var c,d=(c=a.HoverAnimationDefinition,e(f,c),f.prototype.GQb=function(){return"HighLowOpenClose"},f.prototype.wQb=function(){return c.prototype.wQb.call(this)},f.prototype.getHoverAnimation=function(a){return b.StockHoverAnimationBuilder.build(a,this.$z())},f.prototype.getReversedHoverAnimation=function(a,c){return null==c&&(c=this.getHoverAnimation(a)),b.StockHoverAnimationBuilder.buildReverse(c)},f);function f(a,b){return c.call(this,a,b)||this}a.HighLowOpenCloseHoverAnimationDefinition=d}((b=a.financial||(a.financial={})).models||(b.models={}))}(d=d||{}),function(a){var b;!function(a){"use strict";var c,d=(c=a.LoadingAnimationDefinition,e(f,c),f.prototype.GQb=function(){return"HighLowOpenClose"},f.prototype.wQb=function(){return c.prototype.wQb.call(this)},f.prototype.getLoadingAnimationInfos=function(a){var c=this.getAnimatableViews(a);if(null!=c)return new b.StockLoadingAnimationBuilder(this.$z()).vQb(c)},f.prototype.getAnimatableViews=function(a){return a.ngb(this.$z())},f);function f(a,b){return c.call(this,a,b)||this}a.HighLowOpenCloseLoadingAnimationDefinition=d}((b=a.financial||(a.financial={})).models||(b.models={}))}(d=d||{}),function(a){var b;!function(a){"use strict";var b,c=(b=a.UpdateAnimationDefinition,e(d,b),d.prototype.GQb=function(){return"HighLowOpenClose"},d.prototype.wQb=function(){return b.prototype.wQb.call(this)},d.prototype.createUpdateAnimation=function(a,b){return null},d.prototype.getUpdateAnimationInfos=function(a){return null},d.prototype.getAnimatableViews=function(a){return null},d);function d(a,c){return b.call(this,a,c)||this}a.HighLowOpenCloseUpdateAnimationDefinition=c}((b=a.financial||(a.financial={})).models||(b.models={}));
- }(d=d||{}),function(a){var b;!function(a){"use strict";var c=(Object.defineProperty(d.prototype,"chartType",{get:function(){return"HighLowOpenClose"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(a){var c=a.option.config.hoverAnimation;return a instanceof b.models.SOb?new b.models.HighLowOpenCloseHoverAnimationDefinition(a,c):null},d);function d(){}a.HighLowOpenCloseHoverAnimationPlugin=c}((b=a.financial||(a.financial={})).plugins||(b.plugins={}))}(d=d||{}),function(a){var b;!function(a){"use strict";var c=(Object.defineProperty(d.prototype,"chartType",{get:function(){return"HighLowOpenClose"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(a){var c=a.option.config.loadAnimation;return a instanceof b.models.SOb?new b.models.HighLowOpenCloseLoadingAnimationDefinition(a,c):null},d);function d(){}a.HighLowOpenCloseLoadingAnimationPlugin=c}((b=a.financial||(a.financial={})).plugins||(b.plugins={}))}(d=d||{}),function(a){var b;!function(a){"use strict";var c=(Object.defineProperty(d.prototype,"chartType",{get:function(){return"HighLowOpenClose"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(a){var c=a.option.config.updateAnimation;return a instanceof b.models.SOb?new b.models.HighLowOpenCloseUpdateAnimationDefinition(a,c):null},d);function d(){}a.HighLowOpenCloseUpdateAnimationPlugin=c}((b=a.financial||(a.financial={})).plugins||(b.plugins={}))}(d=d||{}),function(a){var b;!function(c){"use strict";var d=(Object.defineProperty(e.prototype,"chartType",{get:function(){return"Candlestick"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),e.prototype.create=function(c,d){return null!=d?(d.encodings.values=a.financial.options.wPb.sPb(d.encodings),new b.models.POb(d,c.q4a().s4a().Ou())):null},e);function e(){}c.Fkb=d}((b=a.financial||(a.financial={})).plugins||(b.plugins={}))}(d=d||{}),function(a){var b;!function(c){"use strict";var d=(Object.defineProperty(e.prototype,"chartType",{get:function(){return"HighLowOpenClose"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),e.prototype.create=function(c,d){return null!=d?(d.encodings.values=a.financial.options.wPb.sPb(d.encodings),new b.models.SOb(d,c.q4a().s4a().Ou())):null},e);function e(){}c.Hkb=d}((b=a.financial||(a.financial={})).plugins||(b.plugins={}))}(d=d||{}),function(a){!function(b){"use strict";var c,d=(c=a.HQb,e(f,c),f.prototype.NPb=function(){return this.bRa()},f.prototype.shouldApplyColorFromPalette=function(){var a=this.IQb();return(null==a.style||null==a.style.stroke)&&null!=a.label},f.prototype.getDataSlices=function(){return(new b.models.zPb).Qoa(this.NPb())},f.prototype.stockFiledFilter=function(a){if(null==a)return!1;var b=this.IQb();return null==b.field||b.field==a.stockField},f.prototype.createOverlayItemView=function(a){var c,d=a;this.stockFiledFilter(d)&&0<d.points.length&&(c=(new b.JPb).GPb(this,d),null!=c&&(c.wLa(this.JQb(c.Qoa())),this.nqb().push(c)))},f.prototype.JQb=function(c){var d,e,f,g=this.IQb().label;return null==g?null:(d=new b.models.PPb(g,c.stockField),e=a.plugins.w1a.QOa("Default"),null!=e&&(f=e.toLines(d),null!=f)?f.join(""):g)},f);function f(a,b){return c.call(this,a,b)||this}b.FPb=d}(a.financial||(a.financial={}))}(d=d||{}),function(a){!function(b){"use strict";var c,d=(c=a.models.oSa,e(f,c),f.prototype.iTa=function(){return a.KQb.TBa(this)},f.prototype.applyOther=function(){a.KQb.LQb(this)},f.prototype.getLineStyle=function(b){var c=new a.Arb,d=this.getColor(),e=this.iTa();return null!=e&&(d=e),null!=d&&(c.stroke=d),c.orb(this.Wqa()),b.hasSelectionInPlotArea&&(this.Ofb().selected,c.orb(this.Wqa())),c},f.prototype.render=function(b,c,d){b.beginTransform();var e=this.getLineStyle(d);a.NQb.MQb(b,1),a.NQb.Jqb(b,e),b.drawLine(c.left,c.top+c.height/2,c.right,c.top+c.height/2),b.restoreTransform()},f);function f(){return null!==c&&c.apply(this,arguments)||this}b.FOb=d}(a.financial||(a.financial={}))}(d=d||{}),function(a){!function(b){"use strict";var c,d=(c=a.u4a,e(f,c),f.prototype.ctb=function(b){var c,d=a.plugins.w1a.AWa("Financial"+b.type,this,b);return null!=d&&(c=d.queryInterface("IOverlayViewBuilder"),null!=c)?c.build(this):null},Object.defineProperty(f.prototype,"radial",{get:function(){return!1},enumerable:!0,configurable:!0}),f.prototype.TPa=function(){var a=this.q4a().s4a().$z().bar.width;return null==a||isNaN(a)?.7:(1<a&&(a=1),a<0&&(a=0),a)},f.prototype.OQb=function(){return this.PQb()},f.prototype.QQb=function(){return this.PQb()},f.prototype.PQb=function(){var b,d,e,f,g,h,i,j;if(null!=this.XOb().e6a())return.5;if(null==this.XOb().ZOb())return c.prototype.PQb.call(this);if(b=.5,d=this.XOb().ZOb(),d.N2a()instanceof a.models.l3a&&(e=d.N2a().field.queryInterface("IDateDataField"),null!=e)){for(f=e.Ey(),g=NaN,h=NaN,i=0;i<f.length;i++)j=f[i].valueOf(),isNaN(h)||(isNaN(g)||j-h<g)&&(g=j-h),h=j;isNaN(g)||(b=.5*g)}return b},f.prototype.IBa=function(d){if(null==this.XOb().e6a()&&null!=this.XOb().ZOb()){var e=this.XOb().ZOb();if(e.N2a()instanceof a.models.l3a)return new b.models.bNa(e)}return c.prototype.IBa.call(this,d)},f);function f(a,b){return c.call(this,a,b)||this}b.Ikb=d}(a.financial||(a.financial={}))}(d=d||{}),function(a){!function(b){"use strict";var c,d=(c=a.Z1a,e(f,c),Object.defineProperty(f.prototype,"high",{get:function(){return this.aT()._Ob()},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"low",{get:function(){return this.aT().aPb()},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"open",{get:function(){return this.aT().OT()},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"close",{get:function(){return this.aT().WT()},enumerable:!0,configurable:!0}),f);function f(b,d){var e=c.call(this,b,d)||this,f=e.aT();return f.OT()<f.WT()&&(e.style.fill=a.options.IOb.RQb("none")),e}b.SQb=d}(a.financial||(a.financial={}))}(d=d||{}),function(a){!function(b){"use strict";var c,d=(c=a.Geb,e(f,c),f.prototype.defaultStrokeColor=function(){var a=this.Ceb().aT().tE();return null==a&&(a=this.Ceb().aT().Ata().tE()),a},f.prototype.ssb=function(){return this.tsb},f.prototype.usb=function(){return this.vsb},f.prototype.BPa=function(){var b=this.Ceb(),c=b.Kkb(),d=b.Mkb();return new a.core.Point((c.x+d.x)/2,(c.y+d.y)/2)},f.prototype.layoutByPositionAndPlacement=function(b,c,d,e,f){var g,h,i,j=this.Ceb(),k=j.APa(),l=j.Jkb(),m=j.Lkb(),n=this.BPa(),o=n.clone(),p=n.clone(),q=n.clone();if(b==a.TextPosition.Center)return q.x+e.width/2>f.right?q.x=f.right-e.width/2:q.x-e.width/2<f.left&&(q.x=f.left+e.width/2),this.tsb=p,this.vsb=o,void this.Xvb(new a.shapes.qwb(q.x,q.y,e.width,e.height,0));switch(g=b==a.TextPosition.Inside,d<0&&(d=-d),c){case a.Placement.Auto:case a.Placement.Top:case a.Placement.Bottom:h=c==a.Placement.Auto||c==a.Placement.Top,o.y=p.y=h?l.y:m.y,h==g?(o.y+=d,o.y+e.height>f.bottom&&(o.y=f.bottom-e.height),q.y=o.y+e.height/2):(o.y-=d,o.y-e.height<f.top&&(o.y=f.top+e.height),q.y=o.y-e.height/2);break;case a.Placement.Left:case a.Placement.Right:i=c===a.Placement.Left,o.x=p.x=i?n.x-k.width/2:n.x+k.width/2,g==i?(o.x+=d,o.x+e.width>f.right&&(o.x=f.right-e.width),q.x=o.x+e.width/2):(o.x-=d,o.x-e.width<f.left&&(o.x=f.left+e.width),q.x=o.x-e.width/2)}this.tsb=p,this.vsb=o,this.Xvb(new a.shapes.qwb(q.x,q.y,e.width,e.height,0))},f.prototype.calcPositionBy=function(b,c,d,e,f,g){var h,i,j;if(b===a.TextPosition.Center)return a.TextPosition.Center;if(b!==a.TextPosition.Auto)return b===a.TextPosition.Inside?f<0?a.TextPosition.Outside:a.TextPosition.Inside:f<0?a.TextPosition.Inside:a.TextPosition.Outside;switch(h=f<0,f<0&&(f=-f),i=this.Ceb().Jkb(),j=d.center,c){case a.Placement.Auto:case a.Placement.Top:return h?i.y+f+g.height>e.bottom?a.TextPosition.Outside:a.TextPosition.Inside:i.y-f-g.height<e.top?a.TextPosition.Inside:a.TextPosition.Outside;case a.Placement.Bottom:return h?i.y-f-g.height<e.top?a.TextPosition.Outside:a.TextPosition.Inside:i.y+f+g.height>e.bottom?a.TextPosition.Inside:a.TextPosition.Outside;case a.Placement.Left:return h?j.x+f+g.width>e.right?a.TextPosition.Outside:a.TextPosition.Inside:j.x-f-g.width<e.left?a.TextPosition.Inside:a.TextPosition.Outside;case a.Placement.Right:return h?j.x-f-g.width<e.left?a.TextPosition.Outside:a.TextPosition.Inside:j.x+f+g.width>e.right?a.TextPosition.Inside:a.TextPosition.Outside;default:return a.TextPosition.Auto}},f.prototype.TQb=function(a,b,c){var d,e,f,g,h,i,j=this.Ceb().bRa();b=this.Ceb().APa(),d=j.z5a().xsb(),e=this.SIa(a,null),f=j.$z().config.text.offset,g=this.SH(),h=j.$z().config.text.placement,null==f&&(f=0),i=this.calcPositionBy(g,h,b,j.APa(),f,e),this.layoutByPositionAndPlacement(i,h,f,e,d)},f.prototype.wsb=function(b,d,e){return e!==a.OverlappingLabels.Auto&&c.prototype.wsb.call(this,b,d,e)},f);function f(a,b){return c.call(this,a,b)||this}b.Iub=d}(a.financial||(a.financial={}))}(d=d||{}),function(a){!function(b){"use strict";var c,d=(c=b.Ikb,e(f,c),f.prototype.mgb=function(a){return new b.models.vkb(this,a,this.$z())},f.prototype.ghb=function(a){return new b.yNa(this,a)},f.prototype.UQb=function(a,b,c){var d,e,f,g,h;for(d=0,e=this.Zgb();d<e.length;d++)for(f=0,g=e[d].ggb();f<g.length;f++)h=g[f],this.VQb(a,h)},f.prototype.VQb=function(b,c){var d,e,f,g,h,i,j,k,l,m,n,o=c.aT(),p=o._Ob(),q=o.aPb(),r=o.OT(),s=o.WT(),t=this.WQb(),u=this.XQb(),v=this.itb();null==v&&(v=1),d=this._La(o.Q5a())-.5*v*this.TPa(),e=d+v*this.TPa(),f=((d=t.Qb(d))+(e=t.Qb(e)))/2,g=null==p||isNaN(p)?NaN:u.Qb(p),h=null==q||isNaN(q)?NaN:u.Qb(q),i=null==r||isNaN(r)?NaN:u.Qb(r),j=null==s||isNaN(s)?NaN:u.Qb(s),k=d<e?d:e,l=[i,j],m=0<(l=l.filter(function(a){return!isNaN(a)})).length?Math.min.apply(Math,l):NaN,n=0<l.length?Math.max.apply(Math,l):NaN,isNaN(m)&&isNaN(n)&&(isNaN(g)||isNaN(h)?isNaN(g)?isNaN(h)||(m=n=h):m=n=g:m=n=(g+h)/2),isNaN(f)||isNaN(g)||(c.Jkb(new a.core.Point(f,g)),c.Kkb(new a.core.Point(f,m))),isNaN(f)||isNaN(h)||(c.Lkb(new a.core.Point(f,h)),c.Mkb(new a.core.Point(f,n))),isNaN(f)||isNaN(i)||isNaN(j)||isNaN(e)||isNaN(d)?isNaN(f)||isNaN(i)||isNaN(e)||isNaN(d)?isNaN(f)||isNaN(j)||isNaN(e)||isNaN(d)||c.APa(new a.core.Rect(k,j,Math.abs(e-d),0)):c.APa(new a.core.Rect(k,i,Math.abs(e-d),0)):c.APa(new a.core.Rect(k,m,Math.abs(e-d),Math.abs(j-i))),c.v8a(),this.oi.push(c)},f);function f(a,b){return c.call(this,a,b)||this}b.Ekb=d}(a.financial||(a.financial={}))}(d=d||{}),function(a){!function(b){"use strict";var c,d=(c=a.rgb,e(f,c),f.prototype.M6a=function(b){var c,d,e,f,g=[],h=b.aT().YQb(),i=b.APa();return i&&(null!=h&&"open"!=h||(b.open>b.close?(g.push(new a.core.Point(i.left,i.top)),g.push(new a.core.Point(i.right,i.top))):(g.push(new a.core.Point(i.right,i.bottom)),g.push(new a.core.Point(i.left,i.bottom)))),null!=h&&"close"!=h||(b.open>b.close?(g.push(new a.core.Point(i.right,i.bottom)),g.push(new a.core.Point(i.left,i.bottom))):(g.push(new a.core.Point(i.left,i.top)),g.push(new a.core.Point(i.right,i.top))))),c=b.Jkb(),d=b.Kkb(),null!=c&&null!=d&&(null!=h&&"high"!=h||g.push(c.clone())),e=b.Lkb(),f=b.Mkb(),null!=e&&null!=f&&(null!=h&&"low"!=h||g.push(e.clone())),g},f);function f(a){return c.call(this,a)||this}b.Nkb=d}(a.financial||(a.financial={}))}(d=d||{}),function(a){!function(b){"use strict";var c,d=(c=b.SQb,e(f,c),f.prototype.kgb=function(){return new b.Nkb(this)},f.prototype.Jkb=function(a){return arguments.length<=0?this.Okb:void(this.Okb=a.clone())},f.prototype.Kkb=function(a){return arguments.length<=0?this.Pkb:void(this.Pkb=a.clone())},f.prototype.Lkb=function(a){return arguments.length<=0?this.Qkb:void(this.Qkb=a.clone())},f.prototype.Mkb=function(a){return arguments.length<=0?this.Rkb:void(this.Rkb=a.clone())},f.prototype.yy=function(){var a=c.prototype.yy.call(this).clone();return a.stroke=b.BOb.HlocStyleStroke,a},f.prototype.Nbb=function(b,c){var d,e;b.beginTransform(),a.NQb.Jqb(b,this.yy()),d=this.aT(),null!=d.Ata().tE()&&(b.fill=d.Ata().tE(),b.stroke=d.Ata().tE()),null!=d.tE()&&(b.fill=d.tE(),b.stroke=d.tE()),e=this.ZQb(),null!=e?a.NQb.$Qb(b,e):(a.NQb.$Qb(b,this.bRa().$z().config.style),a.NQb.$Qb(b,this.aT().Ata().dhb().Wqa())),c.hasSelectionInPlotArea&&(this.KQa()?(null!=(e=this._Qb())?a.NQb.$Qb(b,e):(a.NQb.$Qb(b,this.bRa().q4a().s4a().$z().selectedStyle),a.NQb.$Qb(b,this.bRa().$z().config.selectedStyle)),c.apiSelectedStyle&&a.NQb.$Qb(b,c.apiSelectedStyle)):null!=(e=this.aRb())?a.NQb.$Qb(b,e):(a.NQb.$Qb(b,this.bRa().q4a().s4a().$z().unselectedStyle),a.NQb.$Qb(b,this.bRa().$z().config.unselectedStyle))),this.B5a()&&a.NQb.$Qb(b,d.Ata().uPa().$z().config.hoverStyle),null!=this.Okb&&null!=this.Pkb&&(this.Okb.equals(this.Pkb)?this.Okb.y!=this.APa().top&&b.drawLine(this.Okb.x,this.Okb.y,this.Pkb.x,this.Pkb.y+1):b.drawLine(this.Okb.x,this.Okb.y,this.Pkb.x,this.Pkb.y)),null!=this.Qkb&&null!=this.Rkb&&(this.Qkb.equals(this.Rkb)?this.Qkb.y!=this.APa().bottom&&b.drawLine(this.Qkb.x,this.Qkb.y,this.Rkb.x,this.Rkb.y+1):b.drawLine(this.Qkb.x,this.Qkb.y,this.Rkb.x,this.Rkb.y)),0!=this.APa().height?b.drawRect(this.APa().left,this.APa().top,this.APa().width,this.APa().height):b.drawLine(this.APa().left,this.APa().top,this.APa().left+this.APa().width,this.APa().top),b.restoreTransform()},f.prototype.mr=function(b,d){var e,f,g,h,i,j;for(e=0;e<this.EQa.length;++e)if(f=this.EQa[e],null!=f&&f.contains(b)){switch(g=this.aT(),h=g.OT()>g.WT(),i=null,e){case 0:i="high";break;case 1:i=h?"open":"close";break;case 2:i=h?"close":"open";break;case 3:i="low"}return j=new a.HitTestResult(b,this,this,a.ElementType.DataPoint,i),null==d||null!=d&&d.predicate(j)?j:null}return c.prototype.mr.call(this,b,d)},f.prototype.ftb=function(){var c=[],d=a.plugins.w1a.QOa("Default");return null!=d&&(c=d.toLines(this.aT().D5a())),null!=c&&0<c.length?new b.Iub(this,c):null},f.prototype.v8a=function(){this.EQa=[this.APa().clone(),this.APa().clone(),this.APa().clone(),this.APa().clone()];var a=this.APa().top,b=this.APa().bottom,c=a,d=this.APa().top+this.APa().height/2,e=this.APa().bottom;null!=this.Okb&&null!=this.Pkb&&(a=this.Okb.y-10,c=this.Pkb.y-(this.Pkb.y-this.Okb.y)/2),null!=this.Qkb&&null!=this.Rkb&&(e=this.APa().bottom+Math.abs(this.Rkb.y-this.Qkb.y)/2,b=this.APa().bottom+Math.abs(this.Rkb.y-this.Qkb.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},f);function f(a,b){var d=c.call(this,a,b)||this;return d.EQa=[],d}b.yNa=d}(a.financial||(a.financial={}))}(d=d||{}),function(a){!function(b){"use strict";var c,d=(c=a.Geb,e(f,c),f.prototype.defaultStrokeColor=function(){var a=this.Ceb().aT().tE();return null==a&&(a=this.Ceb().aT().Ata().tE()),a},f.prototype.ssb=function(){return this.tsb},f.prototype.usb=function(){return this.vsb},f.prototype.layoutByPositionAndPlacement=function(b,c,d,e,f){var g,h,i,j=this.Ceb(),k=j.APa(),l=j.Ukb(),m=j.bRb(),n=k.center,o=k.center,p=k.center;if(b==a.TextPosition.Center)return p.x+e.width/2>f.right?p.x=f.right-e.width/2:p.x-e.width/2<f.left&&(p.x=f.left+e.width/2),this.tsb=o,this.vsb=n,void this.Xvb(new a.shapes.qwb(p.x,p.y,e.width,e.height,0));switch(g=b==a.TextPosition.Inside,d<0&&(d=-d),c){case a.Placement.Auto:case a.Placement.Top:case a.Placement.Bottom:h=c==a.Placement.Auto||c==a.Placement.Top,n.y=o.y=h?l.y:m.y,h==g?(n.y+=d,n.y+e.height>f.bottom&&(n.y=f.bottom-e.height),p.y=n.y+e.height/2):(n.y-=d,n.y-e.height<f.top&&(n.y=f.top+e.height),p.y=n.y-e.height/2);break;case a.Placement.Left:case a.Placement.Right:i=c===a.Placement.Left,i?(n.x=o.x=k.left,null!=j.cRb()&&(p.y=n.y=o.y=j.cRb().y)):(n.x=o.x=k.right,null!=j.dRb()&&(p.y=n.y=o.y=j.dRb().y)),g==i?(n.x+=d,n.x+e.width>f.right&&(n.x=f.right-e.width),p.x=n.x+e.width/2):(n.x-=d,n.x-e.width<f.left&&(n.x=f.left+e.width),p.x=n.x-e.width/2)}this.tsb=o,this.vsb=n,this.Xvb(new a.shapes.qwb(p.x,p.y,e.width,e.height,0))},f.prototype.calcPositionBy=function(b,c,d,e,f,g){var h,i,j;if(b===a.TextPosition.Center)return a.TextPosition.Center;if(b!==a.TextPosition.Auto)return b===a.TextPosition.Inside?f<0?a.TextPosition.Outside:a.TextPosition.Inside:f<0?a.TextPosition.Inside:a.TextPosition.Outside;switch(h=f<0,f<0&&(f=-f),i=this.Ceb().Ukb(),j=d.center,c){case a.Placement.Auto:case a.Placement.Top:return h?i.y+f+g.height>e.bottom?a.TextPosition.Outside:a.TextPosition.Inside:i.y-f-g.height<e.top?a.TextPosition.Inside:a.TextPosition.Outside;case a.Placement.Bottom:return h?i.y-f-g.height<e.top?a.TextPosition.Outside:a.TextPosition.Inside:i.y+f+g.height>e.bottom?a.TextPosition.Inside:a.TextPosition.Outside;case a.Placement.Left:return h?j.x+f+g.width>e.right?a.TextPosition.Outside:a.TextPosition.Inside:j.x-f-g.width<e.left?a.TextPosition.Inside:a.TextPosition.Outside;case a.Placement.Right:return h?j.x-f-g.width<e.left?a.TextPosition.Outside:a.TextPosition.Inside:j.x+f+g.width>e.right?a.TextPosition.Inside:a.TextPosition.Outside;default:return a.TextPosition.Auto}},f.prototype.TQb=function(a,b,c){var d,e,f,g,h,i,j=this.Ceb().bRa();b=this.Ceb().APa(),d=j.z5a().xsb(),e=this.SIa(a,null),f=j.$z().config.text.offset,g=this.SH(),h=j.$z().config.text.placement,null==f&&(f=0),i=this.calcPositionBy(g,h,b,j.APa(),f,e),this.layoutByPositionAndPlacement(i,h,f,e,d)},f.prototype.wsb=function(b,d,e){return e!==a.OverlappingLabels.Auto&&c.prototype.wsb.call(this,b,d,e)},f);function f(a,b){return c.call(this,a,b)||this}b.Jub=d}(a.financial||(a.financial={}))}(d=d||{}),function(a){!function(a){"use strict";var b,c=(b=a.Ikb,e(d,b),d.prototype.mgb=function(b){return new a.models.vkb(this,b,this.$z())},d.prototype.ghb=function(b){return new a.FNa(this,b)},d.prototype.UQb=function(a,b,c){var d,e,f,g;for(d=0,e=this.Zgb();d<e.length;d++)for(f=0,g=e[d].ggb();f<g.length;f++)g[f].eRb(a)},d);function d(a,c){return b.call(this,a,c)||this}a.Gkb=c}(a.financial||(a.financial={}))}(d=d||{}),function(a){!function(b){"use strict";var c,d=(c=a.rgb,e(f,c),f.prototype.M6a=function(a){var b=[];return null!=a.Ukb()&&b.push(a.Ukb().clone()),null!=a.cRb()&&b.push(a.cRb().clone()),null!=a.fRb()&&b.push(a.fRb().clone()),null!=a.bRb()&&b.push(a.bRb().clone()),b},f);function f(a){return c.call(this,a)||this}b.Tkb=d}(a.financial||(a.financial={}))}(d=d||{}),function(a){!function(b){"use strict";var c,d=(c=b.SQb,e(f,c),f.prototype.Ukb=function(){return this.Skb},f.prototype.bRb=function(){return this.gRb},f.prototype.cRb=function(){return this.hRb},f.prototype.iRb=function(){return this.jRb},f.prototype.dRb=function(){return this.kRb},f.prototype.fRb=function(){return this.lRb},f.prototype.mRb=function(){return this.bRa()},f.prototype.kgb=function(){return new b.Tkb(this)},f.prototype.yy=function(){var a=c.prototype.yy.call(this).clone();return a.stroke=b.BOb.HlocStyleStroke,a},f.prototype.Nbb=function(b,c){var d,e,f;b.beginTransform(),a.NQb.Jqb(b,this.yy()),d=this.aT(),null!=d.Ata().tE()&&(b.fill=d.Ata().tE(),b.stroke=d.Ata().tE()),null!=d.tE()&&(b.fill=d.tE(),b.stroke=d.tE()),e=this.ZQb(),null!=e?a.NQb.$Qb(b,e):(a.NQb.$Qb(b,this.bRa().$z().config.style),a.NQb.$Qb(b,this.aT().Ata().dhb().Wqa())),c.hasSelectionInPlotArea&&(this.KQa()?(null!=(e=this._Qb())?a.NQb.$Qb(b,e):(a.NQb.$Qb(b,this.bRa().q4a().s4a().$z().selectedStyle),a.NQb.$Qb(b,this.bRa().$z().config.selectedStyle)),c.apiSelectedStyle&&a.NQb.$Qb(b,c.apiSelectedStyle)):null!=(e=this.aRb())?a.NQb.$Qb(b,e):(a.NQb.$Qb(b,this.bRa().q4a().s4a().$z().unselectedStyle),a.NQb.$Qb(b,this.bRa().$z().config.unselectedStyle))),this.B5a()&&a.NQb.$Qb(b,this.bRa().$z().config.hoverStyle),f=this.Ukb(),null!=f&&null!=this.gRb&&b.drawLine(f.x,f.y,this.gRb.x,this.gRb.y),null!=this.hRb&&null!=this.jRb&&(this.hRb.equals(this.jRb)||b.drawLine(this.hRb.x,this.hRb.y,this.jRb.x,this.jRb.y)),null!=this.kRb&&null!=this.lRb&&(this.kRb.equals(this.lRb)||b.drawLine(this.kRb.x,this.kRb.y,this.lRb.x,this.lRb.y)),b.restoreTransform()},f.prototype.mr=function(b,d){var e,f,g,h;for(e=0;e<this.EQa.length;++e)if(f=this.EQa[e],null!=f&&f.contains(b)){switch(g=null,e){case 0:g="high";break;case 1:g="open";break;case 2:g="close";break;case 3:g="low";break;case 4:g=null}return h=new a.HitTestResult(b,this,this,a.ElementType.DataPoint,g),null==d||null!=d&&d.predicate(h)?h:null}return c.prototype.mr.call(this,b,d)},f.prototype.ftb=function(){var c=[],d=a.plugins.w1a.QOa("Default");return null!=d&&(c=d.toLines(this.aT().D5a())),null!=c&&0<c.length?new b.Jub(this,c):null},f.prototype.eRb=function(b){var c,d,e,f,g,h,i,j,k,l,m,n,o=this.aT(),p=o._Ob(),q=o.aPb(),r=o.OT(),s=o.WT(),t=this.mRb(),u=t.itb();null==u&&(u=1),c=t.WQb(),d=t.XQb(),e=t._La(o.Q5a())-.5*u*t.TPa(),f=e+u*t.TPa(),g=((e=c.Qb(e))+(f=c.Qb(f)))/2,h=null==p||isNaN(p)?NaN:d.Qb(p),i=null==q||isNaN(q)?NaN:d.Qb(q),j=null==r||isNaN(r)?NaN:d.Qb(r),k=null==s||isNaN(s)?NaN:d.Qb(s),l=[h,i,j,k],m=0<(l=l.filter(function(a){return!isNaN(a)})).length?Math.min.apply(Math,l):NaN,n=0<l.length?Math.max.apply(Math,l):NaN,isNaN(g)||isNaN(m)||(this.Skb=new a.core.Point(g,m)),isNaN(g)||isNaN(n)||(this.gRb=new a.core.Point(g,n)),isNaN(g)||isNaN(j)||isNaN(j)||(this.hRb=new a.core.Point(g-Math.abs(f-e)/2,j),this.jRb=new a.core.Point(g,j)),isNaN(g)||isNaN(k)||isNaN(f)||isNaN(e)||(this.kRb=new a.core.Point(g,k),this.lRb=new a.core.Point(g+Math.abs(f-e)/2,k)),this.v8a(),t.oi.push(this)},f.prototype.v8a=function(){var b,c=[null!=this.Skb?this.Skb.x:null,null!=this.gRb?this.gRb.x:null,null!=this.jRb?this.jRb.x:null,null!=this.hRb?this.hRb.x:null,null!=this.lRb?this.lRb.x:null,null!=this.kRb?this.kRb.x:null],d=[null!=this.Skb?this.Skb.y:null,null!=this.gRb?this.gRb.y:null,null!=this.jRb?this.jRb.y:null,null!=this.hRb?this.hRb.y:null,null!=this.lRb?this.lRb.y:null,null!=this.kRb?this.kRb.y:null],e=Math.min.apply(Math,c.filter(function(a){return null!=a})),f=Math.min.apply(Math,d.filter(function(a){return null!=a})),g=Math.max.apply(Math,c.filter(function(a){return null!=a})),h=Math.max.apply(Math,d.filter(function(a){return null!=a}));this.APa(new a.core.Rect(e,f,g-e,h-f)),this.EQa=[],b=this.Ukb(),null!=b&&(this.EQa[0]=new a.core.Rect(b.x-10,b.y-10,20,20)),null!=this.hRb&&(this.EQa[1]=new a.core.Rect(this.hRb.x,this.hRb.y-10,this.APa().width/2,20)),null!=this.lRb&&(this.EQa[2]=new a.core.Rect(this.lRb.x-this.APa().width/2,this.lRb.y-10,this.APa().width/2,20)),null!=this.gRb&&(this.EQa[3]=new a.core.Rect(this.gRb.x-10,this.gRb.y-10,20,20)),null!=this.Skb&&null!=this.gRb&&(this.EQa[4]=new a.core.Rect(this.Skb.x-10,this.Skb.y-10,20,this.gRb.y-this.Skb.y+20))},f);function f(a,b){return c.call(this,a,b)||this}b.FNa=d}(a.financial||(a.financial={}))}(d=d||{}),function(a){var b;!function(b){"use strict";a.plugins.PlotPlugin.registerPlot("CartesianCandlestick",new b.Fkb),a.plugins.PlotPlugin.registerPlot("CartesianHighLowOpenClose",new b.Hkb),a.plugins.LoadingAnimationDefinitionPlugin.register("Candlestick",new b.CandlestickLoadingAnimationPlugin),a.plugins.UpdateAnimationDefinitionPlugin.register("Candlestick",new b.CandlestickUpdateAnimationPlugin),a.plugins.HoverAnimationDefinitionPlugin.register("Candlestick",new b.CandlestickHoverAnimationPlugin),a.plugins.LoadingAnimationDefinitionPlugin.register("HighLowOpenClose",new b.HighLowOpenCloseLoadingAnimationPlugin),a.plugins.UpdateAnimationDefinitionPlugin.register("HighLowOpenClose",new b.HighLowOpenCloseUpdateAnimationPlugin),a.plugins.HoverAnimationDefinitionPlugin.register("HighLowOpenClose",new b.HighLowOpenCloseHoverAnimationPlugin),a.plugins.OverlayPlugin.registerOverlay("PolynomialStockTrendline",new b.lQb),a.plugins.OverlayPlugin.registerOverlay("LinearStockTrendLine",new b.cQb),a.plugins.OverlayPlugin.registerOverlay("LogarithmicStockTrendline",new b.fQb),a.plugins.OverlayPlugin.registerOverlay("ExponentialStockTrendline",new b.YPb),a.plugins.OverlayPlugin.registerOverlay("PowerStockTrendline",new b.oQb),a.plugins.OverlayPlugin.registerOverlay("FourierStockTrendline",new b._Pb),a.plugins.OverlayPlugin.registerOverlay("MovingAverageStockTrendline",new b.rQb),a.plugins.OverlayPlugin.registerOverlay("CumulativeMovingAverageStockTrendline",new b.SPb),a.plugins.OverlayPlugin.registerOverlay("WeightedMovingAverageStockTrendline",new b.uQb),a.plugins.OverlayPlugin.registerOverlay("ExponentialMovingAverageStockTrendline",new b.VPb),a.plugins.OverlayPlugin.registerOverlay("MovingAnnualTotalStockTrendline",new b.iQb)}((b=a.financial||(a.financial={})).plugins||(b.plugins={}))}(d=d||{}),a.exports=d},"./dist/plugins/chart/dv/dv.js":function(module,exports){var __extends=this&&this.__extends||function(){var a=function(b,c){return(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])})(b,c)};return function(b,c){function d(){this.constructor=b}a(b,c),b.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}(),dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv,dv;!function(a){"use strict";var b=(c.ControlClassName="gcdv-flexdv",c.HeaderClassName="gcdv-header",c.FooterClassName="gcdv-footer",c.PlotAreaClassName="gcdv-plotarea",c.LegendsClassName="gcdv-legends",c.LegendClassName="gcdv-legend",c.CoordinateSystemClassName="gcdv-coordinate-system",c.AxisXClassName="gcdv-axis-x",c.AxisYClassName="gcdv-axis-y",c.TickMajorClassName="gcdv-tick-major",c.TickMinorClassName="gcdv-tick-minor",c.TickGroupClassName="gcdv-tick-group",c.GridLineMajorClassName="gcdv-gridline-major",c.GridLineMinorClassName="gcdv-gridline-minor",c.PlotClassName="gcdv-plot",c.TitleClassName="gcdv-title",c.LabelClassName="gcdv-label",c.ContentClassName="gcdv-content",c.ConnectingLineClassName="gcdv-connecting-line",c.LineClassName="gcdv-line",c.StyleStroke="#666666",c.StyleFill="#666666",c.StyleColor="#666666",c.Precision=.01,c.LabelPadding=2,c.TooltipThreshold=15,c.DefaultDateFormats=["r"],c.BarLineStroke="black",c.ColorFieldValuesName="VALUESNAME",c);function c(){}a.nRb=b}(dv=dv||{}),function(a){"use strict";var b=(c.PathBalloon="m50,0c-14.9112,0 -27.000001,12.6793 -27.000001,28.318866c0,15.643342 27.000001,68.422157 27.000001,68.422157s27.000001,-52.778815 27.000001,-68.422157c0,-15.639566 -12.0852,-28.318866 -27.000001,-28.318866z",c.PathTriangle="m0,100l50,-100l50,100l-100,0z",c.PathGauge="M 50,0 L 60, 100 Q 60 ,110 50, 110, T 40, 100 Z",c);function c(){}a.oRb=b}(dv=dv||{}),function(a){var b;!function(c){"use strict";var d,e,f,g,h,i=(Object.defineProperty(j.prototype,"name",{get:function(){return this.Cj},enumerable:!0,configurable:!0}),Object.defineProperty(j.prototype,"level",{get:function(){return this.aN},enumerable:!0,configurable:!0}),Object.defineProperty(j.prototype,"items",{get:function(){return this._items},enumerable:!0,configurable:!0}),Object.defineProperty(j.prototype,"groups",{get:function(){return this.Ub},enumerable:!0,configurable:!0}),j);function j(a,b,c,d){this.Hxa=a,this.Cj=b,this.aN=c,this.Gxa=d,this.Ub=[],this._items=[]}c.CollectionViewGroup=i,Object.defineProperty(k.prototype,"sortComparer",{get:function(){return this.hxa},set:function(a){a!=this.hxa&&(b.assert(null==a||b.UOb.isFunction(a),"Function expected."),this.hxa=a)},enumerable:!0,configurable:!0}),Object.defineProperty(k.prototype,"useStableSort",{get:function(){return this.Wwa},set:function(a){this.Wwa=b.UOb.asBoolean(a)},enumerable:!0,configurable:!0}),k.prototype.getAggregate=function(b,c,d){var e=d?this.ixa:this.jxa;return a.pRb.sOa(b,e,c)},Object.defineProperty(k.prototype,"trackChanges",{get:function(){return this.bxa},set:function(a){this.bxa=b.UOb.asBoolean(a)},enumerable:!0,configurable:!0}),Object.defineProperty(k.prototype,"itemsAdded",{get:function(){return this.cxa;
- },enumerable:!0,configurable:!0}),Object.defineProperty(k.prototype,"itemsRemoved",{get:function(){return this.dxa},enumerable:!0,configurable:!0}),Object.defineProperty(k.prototype,"itemsEdited",{get:function(){return this.exa},enumerable:!0,configurable:!0}),k.prototype.clearChanges=function(){this.cxa.clear(),this.dxa.clear(),this.exa.clear()},k.prototype.implementsInterface=function(a){switch(a){case"ICollectionView":case"IEditableCollectionView":case"IPagedCollectionView":case"INotifyCollectionChanged":return!0}return!1},k.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)},k.prototype.Pwa=function(a,c,d){void 0===a&&(a=b.NotifyCollectionChangedAction.Reset);var e=new b.NotifyCollectionChangedEventArgs(a,c,d);this.onCollectionChanged(e)},k.prototype.onSourceCollectionChanging=function(a){return this.sourceCollectionChanging.raise(this,a),!a.cancel},k.prototype.onSourceCollectionChanged=function(a){this.sourceCollectionChanged.raise(this,a)},Object.defineProperty(k.prototype,"canFilter",{get:function(){return this.Xwa},set:function(a){this.Xwa=b.UOb.asBoolean(a)},enumerable:!0,configurable:!0}),Object.defineProperty(k.prototype,"canGroup",{get:function(){return this.Ywa},set:function(a){this.Ywa=b.UOb.asBoolean(a)},enumerable:!0,configurable:!0}),Object.defineProperty(k.prototype,"canSort",{get:function(){return this.Zwa},set:function(a){this.Zwa=b.UOb.asBoolean(a)},enumerable:!0,configurable:!0}),Object.defineProperty(k.prototype,"currentItem",{get:function(){return this.ixa&&-1<this.Sta&&this.Sta<this.ixa.length?this.ixa[this.Sta]:null},set:function(a){this.moveCurrentTo(a)},enumerable:!0,configurable:!0}),Object.defineProperty(k.prototype,"currentPosition",{get:function(){return this.Sta},enumerable:!0,configurable:!0}),Object.defineProperty(k.prototype,"filter",{get:function(){return this.PY},set:function(a){this.PY!=a&&(b.assert(null==a||b.UOb.isFunction(a),"Function expected."),this.PY=a,this.canFilter&&this.refresh())},enumerable:!0,configurable:!0}),Object.defineProperty(k.prototype,"groupDescriptions",{get:function(){return this.Rwa},enumerable:!0,configurable:!0}),Object.defineProperty(k.prototype,"groups",{get:function(){return this.Ub},enumerable:!0,configurable:!0}),Object.defineProperty(k.prototype,"isEmpty",{get:function(){return!this.ixa||!this.ixa.length},enumerable:!0,configurable:!0}),Object.defineProperty(k.prototype,"sortDescriptions",{get:function(){return this.Qwa},enumerable:!0,configurable:!0}),Object.defineProperty(k.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.UOb.asArray(a,!1),this.pxa=b.UOb.tryCast(this.oxa,"INotifyCollectionChanged"),this.pxa&&this.pxa.collectionChanged.addHandler(this.qxa,this),this.clearChanges(),this.refresh(),this.moveCurrentToFirst(),this.onSourceCollectionChanged(),this.currentPosition<0&&-1<c&&this.onCurrentChanged()}},enumerable:!0,configurable:!0}),k.prototype.qxa=function(a,b){this.uwa<=0&&this.refresh()},k.prototype.contains=function(a){return-1<this.ixa.indexOf(a)},k.prototype.moveCurrentTo=function(a){return this.moveCurrentToPosition(this.ixa.indexOf(a))},k.prototype.moveCurrentToFirst=function(){return this.moveCurrentToPosition(0)},k.prototype.moveCurrentToLast=function(){return this.moveCurrentToPosition(this.ixa.length-1)},k.prototype.moveCurrentToPrevious=function(){return 0<this.Sta&&this.moveCurrentToPosition(this.Sta-1)},k.prototype.moveCurrentToNext=function(){return this.moveCurrentToPosition(this.Sta+1)},k.prototype.moveCurrentToPosition=function(a){if(-1<=a&&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},k.prototype.refresh=function(){0<this.uwa||this.Swa||this.Twa||(this.rxa(),this.onCollectionChanged())},k.prototype.rxa=function(){var a,c=this.currentItem;this.oxa?this.PY&&this.canFilter?this.jxa=this.sxa(this.oxa):this.jxa=0<this.Qwa.length&&this.canSort?this.oxa.slice(0):this.oxa:this.jxa=[],this.canSort&&0<this.Qwa.length&&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=b.UOb.clamp(this.Vwa,0,this.pageCount-1),this.ixa=this.wxa(),this.Ub&&1<this.pageCount&&(this.Ub=this.uxa(this.ixa),this.vxa(this.Ub)),a=this.ixa.indexOf(c),a<0&&(a=Math.min(this.Sta,this.ixa.length-1)),this.Sta=a,this.xxa=this.yxa(this.groups),this.currentItem!==c&&this.onCurrentChanged()},k.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())},k.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&&null!=(e=c(j,k)))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(0!=(e=j<k?-1:k<j?1:0))return i.ascending?+e:-e}return 0}},k.prototype.sxa=function(a){return this.canFilter&&this.PY?a.filter(this.PY,this):a},k.prototype.onCurrentChanged=function(a){void 0===a&&(a=b.EventArgs.empty),this.currentChanged.raise(this,a)},k.prototype.onCurrentChanging=function(a){return this.currentChanging.raise(this,a),!a.cancel},Object.defineProperty(k.prototype,"items",{get:function(){return this.ixa},enumerable:!0,configurable:!0}),k.prototype.beginUpdate=function(){this.uwa++},k.prototype.endUpdate=function(){this.uwa--,this.uwa<=0&&this.refresh()},Object.defineProperty(k.prototype,"isUpdating",{get:function(){return 0<this.uwa},enumerable:!0,configurable:!0}),k.prototype.deferUpdate=function(a){try{this.beginUpdate(),a()}finally{this.endUpdate()}},Object.defineProperty(k.prototype,"canAddNew",{get:function(){return this.$wa},set:function(a){this.$wa=b.UOb.asBoolean(a)},enumerable:!0,configurable:!0}),Object.defineProperty(k.prototype,"canCancelEdit",{get:function(){return this._wa},set:function(a){this._wa=b.UOb.asBoolean(a)},enumerable:!0,configurable:!0}),Object.defineProperty(k.prototype,"canRemove",{get:function(){return this.vL},set:function(a){this.vL=b.UOb.asBoolean(a)},enumerable:!0,configurable:!0}),Object.defineProperty(k.prototype,"currentAddItem",{get:function(){return this.Swa},enumerable:!0,configurable:!0}),Object.defineProperty(k.prototype,"currentEditItem",{get:function(){return this.Twa},enumerable:!0,configurable:!0}),Object.defineProperty(k.prototype,"isAddingNew",{get:function(){return null!=this.Swa},enumerable:!0,configurable:!0}),Object.defineProperty(k.prototype,"isEditingItem",{get:function(){return null!=this.Twa},enumerable:!0,configurable:!0}),k.prototype.editItem=function(a){a!=this.Twa&&this.moveCurrentTo(a)&&(this.commitEdit(),this.Twa=a,this.Axa={},this.Ia(this.Axa,this.Twa))},k.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)},k.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}},k.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),-1<d&&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())},k.prototype.cancelNew=function(){var a=this.Swa;null!=a&&this.remove(a)},k.prototype.remove=function(a){var c,d,e,f,g,h,i,j=a==this.Swa;j&&(this.Swa=null),a==this.Twa&&this.cancelEdit(),this.canRemove?(c=this.oxa.indexOf(a),-1<c&&(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),-1<f&&this.cxa.removeAt(f),g=this.exa.indexOf(a),-1<g&&this.exa.removeAt(g),this.dxa.indexOf(a)<0&&!j&&f<0&&this.dxa.push(a)),h=0<this.sortDescriptions.length,i=0<this.pageSize&&-1<this.Vwa,h||i||e!=this.yxa(this.groups)?this.Pwa():this.Pwa(b.NotifyCollectionChangedAction.Remove,a,c),this.currentItem!==d&&this.onCurrentChanged())):b.assert(!1,"cannot remove items (canRemove == false).")},k.prototype.removeAt=function(a){a=b.UOb.asInt(a),this.remove(this.ixa[a])},k.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):-1<c?(d=new b.NotifyCollectionChangedEventArgs(b.NotifyCollectionChangedAction.Change,a,c),this.exa.onCollectionChanged(d)):-1<(c=this.cxa.indexOf(a))&&(d=new b.NotifyCollectionChangedEventArgs(b.NotifyCollectionChangedAction.Change,a,c),this.cxa.onCollectionChanged(d)))},k.prototype.Ia=function(b,c){var d,e,f;for(d=0,e=a.x7.properties(c);d<e.length;d++)f=e[d],b[f]=c[f]},k.prototype.Bxa=function(b,c){var d,e,f,g,h,i;for(d=a.x7.properties(c),e=0,f=d;e<f.length;e++)if(g=f[e],!this.Cxa(b[g],c[g]))return!1;for(h=0,i=d=a.x7.properties(b);h<i.length;h++)if(g=i[h],!this.Cxa(b[g],c[g]))return!1;return!0},k.prototype.Cxa=function(a,c){return a==c||b.DateTime.equals(a,c)},Object.defineProperty(k.prototype,"canChangePage",{get:function(){return this.axa},set:function(a){this.axa=b.UOb.asBoolean(a)},enumerable:!0,configurable:!0}),Object.defineProperty(k.prototype,"isPageChanging",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(k.prototype,"itemCount",{get:function(){return this.ixa.length},enumerable:!0,configurable:!0}),Object.defineProperty(k.prototype,"pageIndex",{get:function(){return this.Vwa},enumerable:!0,configurable:!0}),Object.defineProperty(k.prototype,"pageSize",{get:function(){return this.Uwa},set:function(a){a!=this.Uwa&&(this.Uwa=b.UOb.asInt(a),this.refresh())},enumerable:!0,configurable:!0}),Object.defineProperty(k.prototype,"totalItemCount",{get:function(){return this.jxa.length},enumerable:!0,configurable:!0}),Object.defineProperty(k.prototype,"pageCount",{get:function(){return this.pageSize?Math.ceil(this.totalItemCount/this.pageSize):1},enumerable:!0,configurable:!0}),k.prototype.moveToFirstPage=function(){return this.moveToPage(0)},k.prototype.moveToLastPage=function(){return this.moveToPage(this.pageCount-1)},k.prototype.moveToNextPage=function(){return this.moveToPage(this.pageIndex+1)},k.prototype.moveToPage=function(a){var c,d=b.UOb.clamp(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},k.prototype.moveToPreviousPage=function(){return this.moveToPage(this.pageIndex-1)},k.prototype.onPageChanged=function(a){void 0===a&&(a=b.EventArgs.empty),this.pageChanged.raise(this,a)},k.prototype.onPageChanging=function(a){return this.pageChanging.raise(this,a),!a.cancel},k.prototype.Dxa=function(a){var b=this.Exa(this.mta,a.level,a.nwa);return null!=b&&(a=b),a},k.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)&&null!=(e=this.Exa(e.groups,b,c)))return e}return null},k.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)},k.prototype.uxa=function(a){var c,d,e,f,g,h,i,j,k,l,m,n,o,p;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=[],l=0;l<i;l++)m=this.Rwa[l],n=m.groupNameFromItem(g,l),o=l==i-1,!(e=d[j])&&b.UOb.isPrimitive(n)&&(e={},d[j]=e),p=this.Fxa(m,h,e,n,l,o),j+="/"+n,k.push(n+""),p.nwa=j,p.qRb=k.slice(),o&&p.items.push(g),h=p.groups;return c},k.prototype.yxa=function(a){var b,c,d;for(b="",c=0;null!=a&&c<a.length;c++)d=a[c],b+="{"+d.name+":"+(d.items?d.items.length:"*"),0<d.groups.length&&(b+=",",b+=this.yxa(d.groups)),b+="}";return b},k.prototype.vxa=function(a){var b,c,d,e,f,g;for(b=[],c=0;c<a.length;c++){if(d=a[c],!d.Gxa)for(e=this.vxa(d.groups),f=0,g=e.length;f<g;f++)d._items.push(e[f]);for(f=0,g=d._items.length;f<g;f++)b.push(d._items[f])}return b},k.prototype.Fxa=function(a,c,d,e,f,g){var h,j,k;if(d&&b.UOb.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=k;function k(a,d){var f=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.gxa=null,this.hxa=null,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(){for(var a=f.Qwa,c=0;c<a.length;c++)b.assert(a[c]instanceof h,"sortDescriptions array must contain SortDescription objects.");f.canSort&&f.refresh()}),this.Rwa.collectionChanged.addHandler(function(){for(var a=f.Rwa,c=0;c<a.length;c++)b.assert(a[c]instanceof e,"groupDescriptions array must contain GroupDescription objects.");f.canGroup&&f.refresh()}),this.sourceCollection=a||new c.ObservableArray,d&&(this.beginUpdate(),b.copy(this,d),this.endUpdate())}c.CollectionView=d,l.prototype.groupNameFromItem=function(a,b){return""},l.prototype.namesMatch=function(a,b){return a===b},e=l;function l(){}c.GroupDescription=e,__extends(m,f=e),Object.defineProperty(m.prototype,"propertyName",{get:function(){return this.Mwa.nwa()},enumerable:!0,configurable:!0}),m.prototype.groupNameFromItem=function(a,b){return this.Owa?this.Owa(a,this.propertyName):this.Mwa.getValue(a)},m.prototype.namesMatch=function(a,b){return a===b},g=m;function m(a,c,d){void 0===c&&(c=null),void 0===d&&(d=null);var e=f.call(this)||this;return e.Mwa=new b.n1a(a),e.Owa=c,e}c.PropertyGroupDescription=g,Object.defineProperty(n.prototype,"property",{get:function(){return this.Mwa.nwa()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ascending",{get:function(){return this.Nwa},enumerable:!0,configurable:!0}),h=n;function n(a,c){this.Mwa=new b.n1a(a),this.Nwa=c}}((b=a.core||(a.core={})).collections||(b.collections={}))}(dv=dv||{}),function(a){var b;!function(a){"use strict";var c,d,e=(f.prototype.pop=function(){return null},f.prototype.push=function(){for(var a=[],b=0;b<arguments.length;b++)a[b]=arguments[b];return 0},f.prototype.splice=function(a,b,c){return null},f.prototype.slice=function(a,b){return null},f.prototype.indexOf=function(a,b){return-1},f.prototype.sort=function(a){return null},f.prototype.forEach=function(a,b){return null},f.prototype.filter=function(a,b){return null},f);function f(){this.length=0,Array.apply(this,arguments)}(a.ArrayBase=e).prototype=Array.prototype,__extends(g,c=e),g.prototype.push=function(){var a,d,e,f;for(a=[],d=0;d<arguments.length;d++)a[d]=arguments[d];for(e=this.length,f=0;a&&f<a.length;f++)e=c.prototype.push.call(this,a[f]),this.uwa||this.Pwa(b.NotifyCollectionChangedAction.Add,a[f],e-1);return e},g.prototype.pop=function(){var a=c.prototype.pop.call(this);return this.Pwa(b.NotifyCollectionChangedAction.Remove,a,this.length),a},g.prototype.splice=function(a,d,e){var f;return d&&e?(f=c.prototype.splice.call(this,a,d,e),1==d?this.Pwa(b.NotifyCollectionChangedAction.Change,e,a):this.Pwa()):e?(f=c.prototype.splice.call(this,a,0,e),this.Pwa(b.NotifyCollectionChangedAction.Add,e,a)):(f=c.prototype.splice.call(this,a,d),1==d?this.Pwa(b.NotifyCollectionChangedAction.Remove,f[0],a):this.Pwa()),f},g.prototype.slice=function(a,b){return c.prototype.slice.call(this,a,b)},g.prototype.indexOf=function(a,b){return c.prototype.indexOf.call(this,a,b)},g.prototype.sort=function(a){var b=c.prototype.sort.call(this,a);return this.Pwa(),b},g.prototype.insert=function(a,b){this.splice(a,0,b)},g.prototype.remove=function(a){var b=this.indexOf(a);return-1<b&&(this.removeAt(b),!0)},g.prototype.removeAt=function(a){this.splice(a,1)},g.prototype.setAt=function(a,b){a>this.length&&(this.length=a),this.splice(a,1,b)},g.prototype.clear=function(){0!==this.length&&(this.splice(0,this.length),this.Pwa())},g.prototype.beginUpdate=function(){this.uwa++},g.prototype.endUpdate=function(){0<this.uwa&&(this.uwa--,0==this.uwa&&this.Pwa())},Object.defineProperty(g.prototype,"isUpdating",{get:function(){return 0<this.uwa},enumerable:!0,configurable:!0}),g.prototype.deferUpdate=function(a){try{this.beginUpdate(),a()}finally{this.endUpdate()}},g.prototype.implementsInterface=function(a){return"INotifyCollectionChanged"==a},g.prototype.onCollectionChanged=function(a){void 0===a&&(a=b.NotifyCollectionChangedEventArgs.reset),this.isUpdating||this.collectionChanged.raise(this,a)},g.prototype.Pwa=function(a,c,d){if(void 0===a&&(a=b.NotifyCollectionChangedAction.Reset),!this.isUpdating){var e=new b.NotifyCollectionChangedEventArgs(a,c,d);this.onCollectionChanged(e)}},d=g;function g(a){var d,e=c.call(this)||this;if(e.uwa=0,e.collectionChanged=new b.Event,a){for(a=b.UOb.asArray(a),e.uwa++,d=0;d<a.length;d++)e.push(a[d]);e.uwa--}return e}a.ObservableArray=d}((b=a.core||(a.core={})).collections||(b.collections={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.addDays=function(a,b){var c=new Date(a.valueOf());return c.setDate(c.getDate()+b),c},c.addMonths=function(a,b){var c=new Date(a.valueOf());return c.setMonth(c.getMonth()+b),c},c.addYears=function(a,b){var c=new Date(a.valueOf());return c.setFullYear(c.getFullYear()+b),c},c.addHours=function(a,b){var c=new Date(a.valueOf());return c.setHours(c.getHours()+b),c},c.addMinutes=function(a,b){var c=new Date(a.valueOf());return c.setMinutes(c.getMinutes()+b),c},c.addSeconds=function(a,b){var c=new Date(a.valueOf());return c.setSeconds(c.getSeconds()+b),c},c.sameDate=function(b,c){return a.UOb.isDate(b)&&a.UOb.isDate(c)&&b.getFullYear()==c.getFullYear()&&b.getMonth()==c.getMonth()&&b.getDate()==c.getDate()},c.sameTime=function(b,c){return a.UOb.isDate(b)&&a.UOb.isDate(c)&&b.getHours()==c.getHours()&&b.getMinutes()==c.getMinutes()&&b.getSeconds()==c.getSeconds()},c.equals=function(b,c){return a.UOb.isDate(b)&&a.UOb.isDate(c)&&b.getTime()==c.getTime()},c.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},c.toFiscal=function(b,d){var e=a.culture.Globalize.calendar;return Array.isArray(e.fiscalYearOffsets)?c.addMonths(b,-e.fiscalYearOffsets[d?0:1]):b},c.fromFiscal=function(b,d){var e=a.culture.Globalize.calendar;return Array.isArray(e.fiscalYearOffsets)?c.addMonths(b,+e.fiscalYearOffsets[d?0:1]):b},c.newDate=function(){var a=new Date;return new Date(a.getFullYear(),a.getMonth(),a.getDate())},c.isMonthLastDay=function(a){var b=new Date(a.valueOf());return b.setDate(b.getDate()+1),b.getMonth()!=a.getMonth()},c.clone=function(a){return c.fromDateTime(a,a)},c);function c(){}a.DateTime=b}(a.core||(a.core={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c,d,e,f,g,h,i,j,k,l;(c=b=a.NotifyCollectionChangedAction||(a.NotifyCollectionChangedAction={}))[c.Add=0]="Add",c[c.Remove=1]="Remove",c[c.Change=2]="Change",c[c.Reset=3]="Reset",d=function(a,b){this.handler=a,this.self=b},m.prototype.addHandler=function(b,c){a.assert(null==b||a.UOb.isFunction(b),"Function expected."),this.qwa.push(new d(b,c))},m.prototype.removeHandler=function(b,c){var d,e;for(a.assert(null==b||a.UOb.isFunction(b),"Function expected."),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++);},m.prototype.removeAllHandlers=function(){this.qwa.length=0},m.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(m.prototype,"hasHandlers",{get:function(){return 0<this.qwa.length},enumerable:!0,configurable:!0}),e=m;function m(){this.qwa=[]}a.Event=e,n.empty=new n,f=n;function n(){}a.EventArgs=f,__extends(o,g=f),h=o;function o(){var a=null!==g&&g.apply(this,arguments)||this;return a.cancel=!1,a}a.CancelEventArgs=h,__extends(p,i=f),p.reset=new p(b.Reset),j=p;function p(a,c,d){void 0===a&&(a=b.Reset),void 0===c&&(c=null),void 0===d&&(d=-1);var e=i.call(this)||this;return e.action=a,e.item=c,e.index=d,e}a.NotifyCollectionChangedEventArgs=j,__extends(q,k=h),l=q;function q(a){var b=k.call(this)||this;return b.newPageIndex=a,b}a.PageChangingEventArgs=l}(a.core||(a.core={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.asType=function(b,d,e){return void 0===e&&(e=!1),b=c.tryCast(b,d),a.assert(e||null!=b,d+" expected."),b},c.asArray=function(b,c){return void 0===c&&(c=!0),a.assert(c&&null==b||Array.isArray(b),"Array expected."),b},c.asBoolean=function(b,d){return void 0===d&&(d=!1),a.assert(d&&null==b||c.isBoolean(b),"Boolean expected."),b},c.asEnum=function(b,d,e){if(void 0===e&&(e=!1),null==b&&e)return null;var f=d[b];return a.assert(null!=f,"Invalid enum value."),c.isNumber(f)?f:b},c.asInt=function(b,d,e){if(void 0===d&&(d=!1),void 0===e&&(e=!1),a.assert(d&&null==b||c.isInt(b),"Integer expected."),e&&b&&b<0)throw"Positive integer expected.";return b},c.asNumber=function(b,d,e){if(void 0===d&&(d=!1),void 0===e&&(e=!1),a.assert(d&&null==b||c.isNumber(b),"Number expected."),e&&b&&b<0)throw"Positive number expected.";return b},c.asString=function(b,c){return void 0===c&&(c=!0),"string"==typeof b?b:c&&null==b?null:void a.assert(!1,"A string value is expected.")},c.isBoolean=function(a){return"boolean"==typeof a},c.isDate=function(a){return a instanceof Date&&!isNaN(a.getTime())},c.isFunction=function(a){return"function"==typeof a},c.isInt=function(a){return c.isNumber(a)&&a==Math.round(a)},c.isNumber=function(a){return"number"==typeof a},c.isObject=function(a){return null!=a&&"object"==typeof a&&!c.isDate(a)&&!Array.isArray(a)},c.isString=function(a){return"string"==typeof a},c.isPrimitive=function(a){return c.isString(a)||c.isNumber(a)||c.isBoolean(a)||c.isDate(a)},c.tryCast=function(a,b){return null==a?null:c.isString(b)?c.isFunction(a.implementsInterface)&&a.implementsInterface(b)?a:null:a instanceof b?a:null},c.clamp=function(a,b,c){return null!=a&&(null!=c&&c<a&&(a=c),null!=b&&a<b&&(a=b)),a},c.isNullEnum=function(a){return null==a},c.isNullNumber=function(a){return null==a},c);function c(){}a.UOb=b}(a.core||(a.core={}))}(dv=dv||{}),function(a){!function(){"use strict";(a.core||(a.core={})).cloneDeep=function b(c){var d,e,f,g,h,i,j,k;if(null==c||"number"==typeof c||"string"==typeof c||"boolean"==typeof c)return c;if(Array.isArray(c)){for(d=[],e=0,f=c;e<f.length;e++)g=f[e],d.push(b(g));return d}if(c instanceof Date)return new Date(c.getTime());for(h={},i=0,j=a.x7.properties(c);i<j.length;i++)k=j[i],"function"==typeof c[k]?h[k]=c[k]:h[k]=b(c[k]);return h}}()}(dv=dv||{}),function(a){!function(){"use strict";(a.core||(a.core={})).culture={Globalize:{numberFormat:{negativeSign:"-",positiveSign:"+",permillSymbol:"\u2030",number:{decimals:2,negativePattern:["(n)","-n","- n","n-","n -"],groupSizes:[3]},".":".",",":",",percent:{decimals:2,symbol:"%",pattern:["-n %","n %"]},currency:{decimals:2,symbol:"$",pattern:["($n)","$n"],groupSizes:[3]}},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]}}}}()}(dv=dv||{}),function(a){!function(){"use strict";(a.core||(a.core={})).assert=function(a,b){if(!a)throw b?"Assertion failed: "+b:"Assertion failed!"}}()}(dv=dv||{}),function(a){!function(){"use strict";(a.core||(a.core={})).merge=function b(){var c,d,e,f,g,h,i,j,k,l;for(c=[],d=0;d<arguments.length;d++)c[d]=arguments[d];for(e={},f=0,g=c;f<g.length;f++)if(h=g[f],null!=h&&"number"!=typeof h&&"string"!=typeof h&&"boolean"!=typeof h)if(Array.isArray(h))for(Array.isArray(e)||(e=[]),i=0;i<h.length;i++)i<h.length&&i<e.length?e[i]=b(e[i],h[i]):e.push(b(h[i]));else for(j=0,k=a.x7.properties(h);j<k.length;j++)l=k[j],null===h[l]||"number"==typeof h[l]||"string"==typeof h[l]||"boolean"==typeof h[l]?e[l]=h[l]:void 0===h[l]||(e[l]=b(e[l],h[l]));return e}}()}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.format=function(a,c,e,f){return b.UOb.isString(a)?a:b.UOb.isNumber(a)?(c=c||(a==Math.round(a)?"n0":"n2"),d.formatNumber(a,c,e,f)):b.UOb.isDate(a)?d.formatDate(a,c=c||"d"):null!=a?""+a:""},d.formatNumber=function(c,e,f,g){var h,i,j,k,l,m,n,o,p,q,r;if(b.UOb.asNumber(c),b.UOb.asString(e,!0),i=e?e.match(/([a-z])(\d*)(,*)(.*)/i):null,j=b.culture.Globalize.numberFormat,k=i?i[1].toLowerCase():"n",l=i&&i[2]?parseInt(i[2]):"c"==k?j.currency.decimals:c==Math.round(c)?0:2,m=i&&i[3]?3*i[3].length:0,n=i&&i[4]?i[4]:j.currency.symbol,o=j["."],p=j[","],m&&(c/=Math.pow(10,m)),"d"==k||"x"==k){for(h=Math.round(Math.abs(c)).toString("d"==k?10:16);h.length<l;)h="0"+h;return c<0&&(h="-"+h),e&&"X"==e[0]&&(h=h.toUpperCase()),h}return"p"==k&&(c=d.dwa(c)),g&&(c=a.TOb.toFixed(c,l,!0)),h="c"==k||"p"==k?Math.abs(c).toFixed(l):c.toFixed(l),(f||"g"==k)&&-1<h.indexOf(".")&&(h=(h=h.replace(/(\.[0-9]*?)0+$/g,"$1")).replace(/\.$/,"")),"."!=o&&(h=h.replace(".",o)),!p||"n"!=k&&"c"!=k&&"p"!=k||(q=h.indexOf(o),r=/\B(?=(\d\d\d)+(?!\d))/g,h=-1<q?h.substr(0,q).replace(r,p)+h.substr(q):h.replace(r,p)),"c"==k&&(h=j.currency.pattern[c<0?0:1].replace("n",h).replace("$",n)),"p"==k&&(h=j.percent.pattern[c<0?0:1].replace("n",h)),h},d.formatDate=function(a,b){switch(b){case"r":case"R":return a.toUTCString();case"u":return a.toISOString().replace(/\.\d{3}/,"")}b=d.ewa(b);for(var c=d.fwa(b),e="",f=0;f<c.length;f++)e+=d.gwa(a,b,c[f]);return e},d.parseInt=function(a,b){return Math.round(d.parseFloat(a,b))},d.parseFloat=function(a,c){var d,e,f,g=-1<a.indexOf("-")||-1<a.indexOf("(")&&-1<a.indexOf(")")?-1:1,h=-1<a.indexOf("%")?.01:1,i=c?c.match(/,+/):null,j=i?3*i[0].length:0;return!c||"x"!=c[0]&&"X"!=c[0]?(d=b.culture.Globalize.numberFormat["."],e=RegExp("[^\\d\\"+d+"]","g"),f=a.replace(e,"").replace(d,"."),parseFloat(f)*g*h*Math.pow(10,j)):(a=a.replace(/[^0-9a-f]+.*$/gi,""),parseInt(a,16)*g*h*Math.pow(10,j))},d.parseDate=function(a,c){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;if(!(a=b.UOb.asString(a,!0)))return null;if("u"==c)return new Date(a);if("R"==c||"r"==c)return e=a.match(/(([0-9]+)\-([0-9]+)\-([0-9]+))?\s?(([0-9]+):([0-9]+)(:([0-9]+))?)?/),e[1]||e[5]?(f=e[1]?new Date(parseInt(e[2]),parseInt(e[3])-1,parseInt(e[4])):new Date,e[5]&&(f.setHours(parseInt(e[6])),f.setMinutes(parseInt(e[7])),f.setSeconds(e[8]?parseInt(e[9]):0))):f=new Date(a),isNaN(f.getTime())?null:f;if(c=d.ewa(c||"d"),l=b.culture.Globalize.calendar,m=d.hwa,n=RegExp("(\\"+l["/"]+")|(\\"+l[":"]+")|(\\d+)|(["+m+"\\.]{2,})|(["+m+"]+)","gi"),o=a.match(n),p=d.fwa(c),q=0,r=-1,s=0,t=1,u=0,v=0,w=0,x=0,y=-1,!(o&&o.length&&p&&p.length))return null;for(z=0;z<p.length&&o;z++)switch(A=z-q,B=-1<A&&A<o.length?o[A]:"",C=p[z].length,p[z]){case"EEEE":case"EEE":case"EE":case"E":case"eeee":case"eee":case"ee":case"e":k=p[z];case"yyyy":case"yyy":case"yy":case"y":1<C&&B.length>C&&(o[A]=B.substr(C),B=B.substr(0,C),q++),r=parseInt(B);break;case"MMMM":case"MMM":for(j=!0,D=B.toLowerCase(),s=-1,E=0;E<12;E++)if(0==l.months[E].toLowerCase().indexOf(D)){s=E;break}if(-1<s)break;case"MM":case"M":j=!0,1<C&&B.length>C&&(o[A]=B.substr(C),B=B.substr(0,C),q++),s=parseInt(B)-1;break;case"dddd":case"ddd":g=!0;break;case"dd":case"d":1<C&&B.length>C&&(o[A]=B.substr(C),B=B.substr(0,C),q++),t=parseInt(B),h=!0;break;case"hh":case"h":1<C&&B.length>C&&(o[A]=B.substr(C),B=B.substr(0,C),q++),u=12==(u=parseInt(B))?0:u;break;case"HH":1<C&&B.length>C&&(o[A]=B.substr(C),B=B.substr(0,C),q++),u=parseInt(B);break;case"H":u=parseInt(B);break;case"mm":case"m":1<C&&B.length>C&&(o[A]=B.substr(C),B=B.substr(0,C),q++),v=parseInt(B);break;case"ss":case"s":1<C&&B.length>C&&(o[A]=B.substr(C),B=B.substr(0,C),q++),w=parseInt(B);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":x=parseInt(B)/Math.pow(10,C-3);break;case"tt":case"t":B=B.toUpperCase(),(l.pm[0]&&B==l.pm[0]&&u<12||l.pm[1]&&B==l.pm[1]&&u<12)&&(u+=12);break;case"q":case"Q":case"u":case"U":i=!0;break;case"ggg":case"gg":case"g":y=1<l.eras.length?d.iwa(B,l):-1;break;case l["/"]:case l[":"]:if(B&&B!=p[z])return null;break;case"K":break;default:d.jwa(p[z])!=B&&q++}if(j&&h&&(isNaN(u)&&(u=0),isNaN(v)&&(v=0),isNaN(w)&&(w=0)),s<0||11<s||isNaN(s)||t<0||31<t||isNaN(t)||u<0||24<u||isNaN(u)||v<0||60<v||isNaN(v)||w<0||60<w||isNaN(w))return null;if(k){if(!j)return null;f=new Date(r,s),r=(f=b.DateTime.fromFiscal(f,"E"==k[0])).getFullYear(),s=f.getMonth()}return g&&!h||i&&!j?null:(r<0&&(r=(new Date).getFullYear()),-1<y?r=r+l.eras[y].start.getFullYear()-1:r<100&&(r+=r+2e3<(b.UOb.isNumber(l.twoDigitYearMax)?l.twoDigitYearMax:2029)?2e3:1900),f=new Date(r,s,t,u,v+0,w,x),isNaN(f.getTime())?null:f)},d.getFirstDayOfWeek=function(){var a=b.culture.Globalize.calendar.firstDay;return a||0},d.getNumberDecimalSeparator=function(){var a=b.culture.Globalize.numberFormat["."];return a||"."},d.jwa=function(a){return 1<a.length&&a[0]==a[a.length-1]&&("'"==a[0]||'"'==a[0])?a.substr(1,a.length-2):a},d.fwa=function(b){var c,e,f,g;if(a.x7.hasProperty(d.yAa,b))return d.yAa[b];for(f=[],c=0;-1<c&&c<b.length;c++)if(g=b[c],("'"==g||'"'==g)&&-1<(e=b.indexOf(g,c+1)))f.push(b.substring(c,e+1)),c=e;else{for(e=c+1;e<b.length&&b[e]==g;e++);f.push(b.substring(c,e)),c=e-1}return d.yAa[b]=f},d.gwa=function(a,c,e){var f,g,h=b.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 j=(f="E"==e[0]?b.DateTime.toFiscal(a,!0):"e"==e[0]?b.DateTime.toFiscal(a,!1):a).getFullYear(),1<h.eras.length&&-1<c.indexOf("g")&&-1<(i=d.iwa(a,h))&&(j=j-h.eras[i].start.getFullYear()+1),d.lwa(j,4).substr(4-e.length);case"MMMM":return h.months[a.getMonth()];case"MMM":return h.monthsAbbr[a.getMonth()];case"MM":case"M":return d.lwa(a.getMonth()+1,l);
- case"dddd":return h.days[a.getDay()];case"ddd":return h.daysAbbr[a.getDay()];case"dd":return d.lwa(a.getDate(),2);case"d":return""+a.getDate();case"hh":case"h":return d.lwa(d.mwa(a),l);case"HH":case"H":return d.lwa(a.getHours(),l);case"mm":case"m":return d.lwa(a.getMinutes(),l);case"ss":case"s":return d.lwa(a.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=a.getMilliseconds()*Math.pow(10,l-3),"f"==e[0]?d.lwa(k,l):k.toFixed(0);case"tt":return a.getHours()<12?h.am[0]:h.pm[0];case"t":return a.getHours()<12?h.am[1]:h.pm[1];case"q":case"Q":return""+(Math.floor(a.getMonth()/3)+1);case"u":case"U":return f=b.DateTime.toFiscal(a,"U"==e),""+(Math.floor(f.getMonth()/3)+1);case"ggg":case"gg":case"g":return 1<h.eras.length&&-1<(i=d.iwa(a,h))?"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=(""+a).match(/(\+|\-)(\d{2})(\d{2})/),g?g[1]+g[2]+g[3]:""}return 1<l&&e[0]==e[l-1]&&('"'==e[0]||"'"==e[0])?e.substr(1,l-2):e},d.iwa=function(a,c){if(b.UOb.isDate(a)){for(var d=0;d<c.eras.length;d++)if(a>=c.eras[d].start)return d}else if(b.UOb.isString(a))for(d=0;d<c.eras.length;d++)if(c.eras[d].name&&(0==c.eras[d].name.indexOf(a)||0==c.eras[d].symbol.indexOf(a)))return d;return-1},d.ewa=function(a){var c=b.culture.Globalize.calendar.patterns[a];return c||a},d.lwa=function(a,b){var c=a.toFixed(0),d=b-c.length+1;return 0<d?Array(d).join("0")+c:c},d.mwa=function(a){var c=b.culture.Globalize.calendar,d=a.getHours();return c.am&&c.am[0]&&0==(d%=12)&&(d=12),d},d.dwa=function(a){var b=""+a,c=b.indexOf(".");return c<0?b+="00":(c+=2,b=(b=b.replace(".","")+"00").substr(0,c)+"."+b.substr(c)),parseFloat(b)},d.hwa="a-z"+"u00c0-u017fu3000-u30ffu4e00-u9faf".replace(/u/g,"\\u")+"u1100-u11ffu3130-u318fua960-ua97fuac00-ud7afud7b0-ud7ff".replace(/u/g,"\\u"),d.yAa={},d);function d(){}b.Globalize=c}(a.core||(a.core={}))}(dv=dv||{}),function(a){!function(b){"use strict";function c(a,b){a.style.display="none",b&&a.parentElement&&a.parentElement.removeChild(a)}function d(){var a,b=document.activeElement;return b&&(a=b.shadowRoot,a&&a.activeElement&&(b=a.activeElement)),b}function e(a,c,d){void 0===c&&(c=400),void 0===d&&(d=35),b.assert(null==a||b.UOb.isFunction(a),"Function expected."),b.UOb.asNumber(c,!1,!0),b.UOb.asNumber(d,!1,!0);var 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)}),1<=b&&clearInterval(f)},d);return+f}b.showPopup=function(f,g,h,i,j){var k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D;if(void 0===g&&(g=null),void 0===h&&(h=!1),void 0===i&&(i=!1),void 0===j&&(j=!0),k=document.body,g instanceof HTMLElement){if(!b.contains(document.body,g))return;for(l=g.parentElement;l;l=l.parentElement)if("fixed"==getComputedStyle(l).position){k=l;break}}else for(l=d();l;l=l.parentElement)if(!b.hasClass(l,"gcdv-popup")&&"fixed"==getComputedStyle(l).position){k=l;break}if(k.lastChild!=f&&k.appendChild(f),g instanceof HTMLElement&&j&&(m=getComputedStyle(g),n=b.ica.fromCss(m.backgroundColor),null!=n&&0<n.alpha&&b.setCss(f,{color:m.color,backgroundColor:m.backgroundColor,fontFamily:m.fontFamily,fontSize:m.fontSize,fontWeight:m.fontWeight,fontStyle:m.fontStyle})),b.setCss(f,{position:"absolute",visibility:"hidden",display:""}),a.Control.refreshAll(f),o=getComputedStyle(f),p=parseFloat(o.marginTop)+parseFloat(o.marginBottom),q=parseFloat(o.marginLeft)+parseFloat(o.marginRight),r=new b.Size(f.offsetWidth+q,f.offsetHeight+p),s=new b.Point(0,0),t=null,g&&null!=g.clientX&&null!=g.clientY&&null!=g.pageX&&null!=g.pageY)g.clientX<=0&&g.clientY<=0&&g.target?t=g.target.getBoundingClientRect():(s.x=Math.max(0,g.pageX-pageXOffset),s.y=Math.max(0,g.pageY-pageYOffset));else if(g instanceof b.Point)s=g;else if(g instanceof HTMLElement)t=g.getBoundingClientRect();else if(g&&null!=g.top&&null!=g.left)t=g;else{if(null!=g)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(f).direction,s.x=x?Math.max(0,t.right-r.width):Math.max(0,Math.min(t.left,innerWidth-r.width)),s.y=h?v>r.height||w<v?Math.max(0,t.top-r.height):t.bottom:w>r.height||v<w?t.bottom:Math.max(0,t.top-r.height),u=Math.max(u,t.width),b.isIE()&&(u-=f.offsetWidth-(f.clientWidth+parseInt(o.borderLeftWidth)+parseInt(o.borderRightWidth)))),y=new b.Point(0,0),null!=g&&(k==document.body?y=new b.Point((-pageXOffset),(-pageYOffset)):k&&(z=k.getBoundingClientRect(),y=new b.Point(z.left-k.scrollLeft,z.top-k.scrollTop))),A={position:null==g?"fixed":"absolute",left:s.x-y.x,top:s.y-y.y,minWidth:u,display:"",visibility:"",zIndex:1500},i&&(f.style.opacity="0",e(function(a){f.style.opacity=1==a?"":""+a})),b.setCss(f,A),B=g instanceof MouseEvent?g.target:g,B instanceof HTMLElement)for(D=B.parentElement;D&&D!=document.body;D=D.parentElement)"auto"==getComputedStyle(D).overflowY&&D.scrollHeight>D.offsetHeight&&(C=C||new a.Control(document.createElement("div"))).addEventListener(D,"scroll",function(a){c(f,!0),C.dispose()})},b.hidePopup=function(a,b,d){void 0===b&&(b=!0),void 0===d&&(d=!1),d?e(function(d){a.style.opacity=""+(1-d),1==d&&(c(a,b),a.style.opacity="")}):c(a,b)},b.getActiveElement=d,b.animate=e}(a.core||(a.core={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d,e=(f.prototype.setTooltip=function(a,c){a=b.getElement(a),c=this.Sxa(c);var d=this.Cb(a);-1<d&&(this.FQ(a),this.Rxa.splice(d,1)),c&&(this.EQ(a),this.Rxa.push({element:a,content:c}))},f.prototype.show=function(c,e,g,h){var i,j;e=this.Sxa(e),h=h||a.rRb.fromBoundingRect(c.getBoundingClientRect()),i=f.Txa,i||(i=f.Txa=document.createElement("div"),b.addClass(i,"gcdv-tooltip"),i.style.visibility="none",document.body.appendChild(i)),null!=g&&this.applyTooltipStyle(i,g),this.Uxa(e),j=new d(e),this.onPopup(j),j.content&&!j.cancel&&(this.Uxa(j.content),i.style.minWidth="",h=new b.Rect(h.left-(i.offsetWidth-h.width)/2,h.top-this.gap,i.offsetWidth,h.height+2*this.gap),b.showPopup(i,h,!0),document.addEventListener("mousedown",this.Kxa))},f.prototype.hide=function(){f.Txa&&(f.Txa.style.visibility="hidden",f.Txa.innerHTML=""),document.removeEventListener("mousedown",this.Kxa)},Object.defineProperty(f.prototype,"isVisible",{get:function(){return f.Txa&&"hidden"!=f.Txa.style.visibility},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"isContentHtml",{get:function(){return this.Mxa},set:function(a){this.Mxa=b.UOb.asBoolean(a)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"gap",{get:function(){return this.Nxa},set:function(a){this.Nxa=b.UOb.asNumber(a)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"showAtMouse",{get:function(){return this.Oxa},set:function(a){this.Oxa=b.UOb.asBoolean(a)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"showDelay",{get:function(){return this.Pxa},set:function(a){this.Pxa=b.UOb.asInt(a)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"hideDelay",{get:function(){return this.Qxa},set:function(a){this.Qxa=b.UOb.asInt(a)},enumerable:!0,configurable:!0}),f.prototype.onPopup=function(a){this.popup&&this.popup.raise(this,a)},f.prototype.Cb=function(a){for(var b=0;b<this.Rxa.length;b++)if(this.Rxa[b].element==a)return b;return-1},f.prototype.applyTooltipStyle=function(b,c){var d,e,f=c.fill;b.style.backgroundColor="string"==typeof f?f:null,d=c.stroke,b.style.borderColor="string"==typeof d?d:null,b.style.borderWidth=null==c.strokeWidth?null:c.strokeWidth+"px",b.style.color=c.textFill,b.style.fontFamily=c.fontFamily,b.style.fontSize=null==c.fontSize?null:c.fontSize+"px",b.style.fontStyle=a.FontStyle[c.fontStyle],b.style.fontWeight=c.fontWeight,e=[],c.textDecoration.lineThrough&&e.push("line-through"),c.textDecoration.overline&&e.push("overline"),c.textDecoration.underline&&e.push("underline"),b.style.textDecoration=e.join(" ")},f.prototype.EQ=function(a){a.addEventListener("mouseenter",this.Ixa),a.addEventListener("mouseleave",this.Kxa),a.addEventListener("click",this.Ixa)},f.prototype.FQ=function(a){a.removeEventListener("mouseenter",this.Ixa),a.removeEventListener("mouseleave",this.Kxa),a.removeEventListener("click",this.Ixa)},f.prototype.Jxa=function(a){var c=this,d="mouseenter"==a.type?this.Pxa:0;this.Vxa(),this.Wxa=setTimeout(function(){var d,e,f=c.Cb(a.target);-1<f&&(d=c.Rxa[f],e=c.Oxa?new b.Rect(a.clientX,a.clientY,0,0):null,c.show(d.element,d.content,null,e),0<c.Qxa&&(c.Xxa=setTimeout(function(){c.hide()},c.Qxa)))},d)},f.prototype.Lxa=function(){this.Vxa(),this.hide()},f.prototype.Vxa=function(){this.Wxa&&(clearTimeout(this.Wxa),this.Wxa=null),this.Xxa&&(clearTimeout(this.Xxa),this.Xxa=null)},f.prototype.Sxa=function(a){if((a=b.UOb.asString(a,!0))&&"#"==a[0]){var c=b.getElement(a);c&&(a=c.innerHTML)}return a},f.prototype.Uxa=function(a){var b=f.Txa;b&&(this.isContentHtml?b.innerHTML=a:b.textContent=a)},f);function f(a){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 b.Event,b.copy(this,a)}b.Tooltip=e,c=b.CancelEventArgs,__extends(g,c),Object.defineProperty(g.prototype,"content",{get:function(){return this.Uc},set:function(a){this.Uc=b.UOb.asString(a,!0)},enumerable:!0,configurable:!0}),d=g;function g(a){var d=c.call(this)||this;return d.Uc=b.UOb.asString(a,!0),d}b.TooltipEventArgs=d}(a.core||(a.core={}))}(dv=dv||{}),function(a){a.core||(a.core={})}(dv=dv||{}),function(a){var b;function c(a,b){if(a&&b&&a.setAttribute&&!d(a,b)){var c=a.getAttribute("class");a.setAttribute("class",c?c+" "+b:b)}}function d(a,b){if(a&&a.getAttribute){var c=RegExp("(\\s|^)"+b+"(\\s|$)");return a&&c.test(a.getAttribute("class"))}return!1}function e(a,b,e){null==e&&(e=!d(a,b)),(e?c:f)(a,b)}function f(a,b){if(a&&b&&a.setAttribute&&d(a,b)){var c=RegExp("((\\s|^)"+b+"(\\s|$))","g"),e=a.getAttribute("class");e=e.replace(c," ").replace(/ +/g," ").trim(),a.setAttribute("class",e)}}function g(a,c,d){var e,f;if(null!=a){if(b.UOb.isString(a))switch(c){case b.DataType.Number:return e=b.Globalize.parseFloat(a,d),isNaN(e)?a:e;case b.DataType.Date:return f=b.Globalize.parseDate(a,d),f||d||!a||(f=new Date(a)),f&&isFinite(f.getTime())?f:a;case b.DataType.Boolean:switch(a.toLowerCase()){case"true":return!0;case"false":return!1}return a}if(c==b.DataType.String)return b.Globalize.format(a,d)}return a}(b=a.core||(a.core={})).addClass=c,b.createElement=function(a,b){var c,d=document.createElement("div");return d.innerHTML=a,c=d.removeChild(d.firstChild),b instanceof HTMLElement?b.appendChild(c):c},b.getElement=function(a){return a instanceof Element?a:b.UOb.isString(a)?document.querySelector(a):a&&a.jquery?a[0]:null},b.hasClass=d,b.copy=function c(d,e){var f,g,h,i;if(e)for(f=0,g=a.x7.properties(e);f<g.length;f++)h=g[f],"_"!=h[0]&&(b.assert(a.x7.hasProperty(d,h),'Unknown property "'+h+'".'),i=e[h],d.Zz&&d.Zz(h,i)||(d[h]instanceof b.Event&&b.UOb.isFunction(i)?d[h].addHandler(i):b.UOb.isObject(i)&&d[h]&&"itemsSource"!=h?c(d[h],i):d[h]=i))},b.getElementRect=function(a){var c=a.getBoundingClientRect();return new b.Rect(c.left+pageXOffset,c.top+pageYOffset,c.width,c.height)},b.contains=function(a,b){var c,d;for(c=b;c&&a;){if(c===a)return!0;d=c,c=d=d.parentNode||d.host}return!1},b.setCss=function b(c,d){var e,f,g,h,i;if(Array.isArray(c))c.forEach(function(a){b(a,d)});else for(e=c.style,f=0,g=a.x7.properties(d);f<g.length;f++)h=g[f],i=d[h],"number"==typeof i&&h.match(/width|height|left|top|right|bottom|size|padding|margin'/i)&&(i+="px"),e[h]!=i&&(e[h]=""+i)},b.isIE=function(){return null!=navigator.userAgent.match(/MSIE |Trident\/|Edge\//)},b.closest=function(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},b.enable=function(a,b){var c,d,f;for(e(a,"gcdv-state-disabled",!b),b?a.removeAttribute("disabled"):a.setAttribute("disabled","true"),c=a.querySelectorAll("input"),d=0;d<c.length;d++)f=c[d],b?f.removeAttribute("disabled"):f.setAttribute("disabled","true")},b.toggleClass=e,b.removeClass=f,b.asDate=function(a,c){if(void 0===c&&(c=!1),b.UOb.isString(a)){var d=g(a,b.DataType.Date,"r");b.UOb.isDate(d)&&(a=d)}return b.assert(c&&null==a||b.UOb.isDate(a),"Date expected."),a},b.changeType=g}(dv=dv||{}),function(a){"use strict";var b=(c.prototype._process=function(b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q=-1;if(null==b){for(c=0,d=this.u1a;c<d.length;c++)e=(p=d[c]).onLeave(null),q<e&&(q=e);this.u1a=[]}else if(b.event.action==a.MotionEvent.ACTION_CLICK){if(null!=b.model)for(f=0,g=this.v1a();f<g.length;f++)e=g[f].onClick(b.event,b.model),q<e&&(q=e)}else if(b.event.action==a.MotionEvent.ACTION_MOUSE_MOVE||b.event.action==a.MotionEvent.ACTION_MOUSE_OVER||b.event.action==a.MotionEvent.ACTION_WHEEL){for(h=this.u1a.length-1;0<=h;h--)(p=this.u1a[h]).isModel(b.event,b.model)?(e=p.onMove(b.event),q<e&&(q=e)):(e=p.onLeave(b.event),this.u1a.splice(h,1),q<e&&(q=e));if(null!=b.model)for(i=this.x1a(),j=function(a){if(!k.u1a.some(function(b){return b.name==a.name})&&a.hover(b.event,b.model)){k.u1a.push(a);var c=a.onEnter(b.event);q<c&&(q=c)}},k=this,l=0,m=i;l<m.length;l++)j(m[l])}else if(b.event.action==a.MotionEvent.ACTION_MOUSE_LEAVE){for(n=0,o=this.u1a;n<o.length;n++)e=(p=o[n]).onLeave(b.event),q<e&&(q=e);this.u1a=[]}1==q?this.LDa.invalidate():1<q&&this.LDa.refresh()},c.prototype.v1a=function(){return a.plugins.ClickInteractionPlugin.qab().map(function(a){return a.create()})},c.prototype.x1a=function(){return a.plugins.HoverInteractionPlugin.rab().map(function(a){return a.create()})},c.prototype.dispose=function(){for(var a=0,b=this.u1a;a<b.length;a++)b[a].dispose()},c);function c(a){this.u1a=[],this.LDa=a}a.y1a=b}(dv=dv||{}),function(a){"use strict";var b=(c.C1a=function(a,b){var d,e=b||window.event,f=new c(0,0,0);switch(e.type){case"touchstart":f=new c(c.ACTION_DOWN);break;case"touchend":f=new c(c.ACTION_UP);break;case"touchcancel":f=new c(c.ACTION_CANCEL);break;case"touchmove":f=new c(c.ACTION_MOVE);break;case"mousedown":f=new c(c.ACTION_MOUSE_DOWN);break;case"mousemove":f=new c(c.ACTION_MOUSE_MOVE);break;case"mouseup":f=new c(c.ACTION_MOUSE_UP);break;case"mouseout":f=new c(c.ACTION_MOUSE_OUT);break;case"mouseover":f=new c(c.ACTION_MOUSE_OVER);break;case"click":f=new c(c.ACTION_CLICK);break;case"mouseenter":f=new c(c.ACTION_MOUSE_ENTER);break;case"mouseleave":f=new c(c.ACTION_MOUSE_LEAVE);break;case"wheel":f=new c(c.ACTION_WHEEL)}return d=f.rAa(a,e),f.x=d.x,f.y=d.y,f.originalEvent=e,f},Object.defineProperty(c.prototype,"action",{get:function(){return this.B1a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"x",{get:function(){return this.z1a},set:function(a){this.z1a=a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"y",{get:function(){return this.A1a},set:function(a){this.A1a=a},enumerable:!0,configurable:!0}),c.prototype.contains=function(b){return!!b&&b.contains(new a.core.Point(this.x,this.y))},c.prototype.rAa=function(b,c){var d,e,f,g,h,i=new a.core.Point(0,0);return c instanceof MouseEvent&&(i=new a.core.Point(c.pageX,c.pageY)),d=i.clone(),e=a.core.getElementRect(b),d.x-=e.left,d.y-=e.top,f=null,null!=b&&null!=b.ownerDocument&&null!=b.ownerDocument.defaultView&&(f=b.ownerDocument.defaultView.getComputedStyle(b)),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.ACTION_DOWN=0,c.ACTION_UP=1,c.ACTION_MOVE=2,c.ACTION_CANCEL=3,c.ACTION_OUTSIDE=4,c.ACTION_MOUSE_DOWN=5,c.ACTION_MOUSE_MOVE=6,c.ACTION_MOUSE_UP=7,c.ACTION_MOUSE_OVER=8,c.ACTION_MOUSE_OUT=9,c.ACTION_CLICK=10,c.ACTION_MOUSE_ENTER=11,c.ACTION_MOUSE_LEAVE=12,c.ACTION_WHEEL=13,c);function c(a,b,c){this.z1a=b,this.A1a=c,this.B1a=a}a.MotionEvent=b}(dv=dv||{}),function(a){"use strict";var b=(c.toFixed=function(a,b,c){var d,e;return c?(d=(e=""+a).indexOf("."),-1<d&&(e=e.substr(0,d+1+b),a=parseFloat(e))):(e=a.toFixed(b),a=parseFloat(e)),a},c.escapeRegExp=function(a){return a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")},c.getReplaceRegExp=function(a){var b=a.join("").replace(/[\]\\]/g,"\\$&");return RegExp("(["+b+"])","g")},c.getPlaceHolder=function(a){var b,c=0;do{if(b=String.fromCharCode(c),-1==a.indexOf(b))return b;0==c?c=55296:c++}while(c<57344);return null},c.getPlaceHolderPairs=function(a){var b,c,d=55296;do{if(b=String.fromCharCode(d),c=String.fromCharCode(d+1),-1==a.indexOf(b)&&-1==a.indexOf(c))return b+c;d+=2}while(d<57344);return null},c.replaceStringWithPlaceHolderPairs=function(b,c,d,e){if(a.ePb.dPb(c&&d&&c.length==d.length,"no matched place holder pairs"),e){for(var f=d.length,g=0;g<f;g++)b=b.replace(RegExp(d[g],"g"),c[g]);return b}return b.replace(/\\(.)/g,function(a,b){var e=d[c.indexOf(b)];return e||a})},c.splitStringWithEscape=function(b,d){var e,f,g;if(a.ePb.dPb(null!=d&&1==d.length&&"\\"!=d[0],"Invalid separator for split"),null==b||""==b)return[];if(e=b.match(/(\\+)$/),null!=e&&e[0].length%2==1)throw new a.options.OptionError(b);return f=c.getPlaceHolder(b),g=RegExp(f,"g"),b.replace(RegExp("(\\\\+)"+c.escapeRegExp(d),"g"),function(a,b){var c=b.length;return c%2==0?a:b.substr(0,c-1)+f}).split(d).map(function(a){return a.replace(g,d)})},c.sRb=function(a){return null==a||""==a?a:a.replace(/\\(.)/g,"$1")},c.getEscapeString=function(a,b){return a.replace(c.getReplaceRegExp(b),"\\$1")},c.getTemplateValueSection=function(a,b,d){var e=".,:|>\\".split(""),f=c.getEscapeString(a,e);return b=b?":"+c.getEscapeString(b,e):"",c.templateItemStrings[d?0:1].replace(/@/g,f)+b+"}"},c.templateItemStrings=["{@.name}: {@.value","{@.value"],c);function c(){}a.TOb=b}(dv=dv||{}),function(a){"use strict";var b=(c.toAggregateString=function(b){return a.Aggregate[b]},c.toEnum=function(a,b){if("string"==typeof b){var c=a[b];if(null!=c)return c}else if("number"==typeof b&&null!=a[b])return b;return NaN},c);function c(){}a.cPb=b}(dv=dv||{}),function(a){"use strict";var b=(c.dPb=function(a,b){if(!a)throw b?Error("Debug Assertion failed: "+b):Error("Debug Assertion failed!")},c.cwa=function(a,b){console.error('WARNING: "'+a+'" has been deprecated; please use "'+b+'" instead.')},c);function c(){}a.ePb=b}(dv=dv||{}),function(a){var b=(c.prototype.equals=function(b,c){return a.x7.sameValue(b,c)},c);function c(){}a.iPb=b}(dv=dv||{}),dv=dv||{},dv=dv||{},dv=dv||{},dv=dv||{},function(a){"use strict";var b=(Object.defineProperty(c.prototype,"propertyChanged",{set:function(a){this.tRb=a},enumerable:!0,configurable:!0}),c.prototype.onPropertyChanged=function(b){null!=this.tRb&&this.tRb(this,new a.uRb(b))},c);function c(){}a.vRb=b}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.core.EventArgs,__extends(d,b),Object.defineProperty(d.prototype,"propertyName",{get:function(){return this.wRb},enumerable:!0,configurable:!0}),d);function d(a){var c=b.call(this)||this;return c.wRb=a,c}a.uRb=c}(dv=dv||{}),dv=dv||{},dv=dv||{},function(a){"use strict";var b=(c.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},c.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,x,y,z=this.Awa;if(b&&a.core.addClass(z,b),f=null,c&&(f=a.core.createElement(c,z)),g=z.querySelectorAll("input"),h=1==g.length?g[0]:null,i=z.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&&z.id&&(k=document.querySelector('label[for="'+z.id+'"]'),l=z.id+"_input",m=l,k instanceof HTMLLabelElement)){for(n=0;null!=document.getElementById(m);n++)m=l+n;h.id=m,k.htmlFor=m}if(h&&(o=document.createEvent("HTMLEvents"),p=h.value,o.initEvent("change",!0,!1),this.addEventListener(h,"input",function(){p=h.value},!0),this.gotFocus.addHandler(function(){p=h.value}),this.lostFocus.addHandler(function(){p!=h.value&&h.dispatchEvent(o)})),z.getAttribute("tabindex")||(z.tabIndex=null!=h?-1:0),this.Jwa(),d)for(q=d,r=this,s=0,t=a.x7.properties(q);s<t.length;s++){if(u=t[s],v=q[u],r[u]=f.querySelector('[wj-part="'+v+'"]'),null==r[u]&&f.getAttribute("wj-part")==v&&(r[u]=f),null==r[u])throw'Missing template part: "'+v+'"';v==e&&(w=z.attributes,x="name",y=w[x],y&&y.value&&r[u].setAttribute(x,y.value),(y=w[x="accesskey"])&&y.value&&(r[u].setAttribute(x,y.value),z.removeAttribute(x)))}return f},c.prototype.dispose=function(){var b,d,e,f,g,h,i,j,k,l,m,n,o,p;for(b=this.Awa.querySelectorAll(".wj-control"),d=0;d<b.length;d++)e=c.getControl(b[d]),e&&e.dispose();for(this.Kwa&&clearTimeout(this.Kwa),this.removeEventListener(),f=0,g=a.x7.properties(this);f<g.length;f++)2<(l=g[f]).length&&0==l.indexOf("on")&&(m=this[l[2].toLowerCase()+l.substr(3)])instanceof a.core.Event&&m.removeAllHandlers();if(h=this.collectionView,h instanceof a.core.collections.CollectionView)for(i=h,j=0,k=a.x7.properties(i);j<k.length;j++)(m=i[l=k[j]])instanceof a.core.Event&&m.removeHandler(null,this);if(this.Awa.parentNode){for(this.Awa.innerHTML=this.xwa,d=0;d<this.Awa.attributes.length;++d)this.Awa.removeAttribute(this.Awa.attributes[d].name);for(n=0,o=a.x7.properties(this.i2a);n<o.length;n++)p=o[n],this.Awa.setAttribute(p,this.i2a[p])}this.Awa[c.j2a]=null,this.Awa=this.xwa=this.ywa=null},c.getControl=function(b){var d=a.core.getElement(b);return d?a.core.UOb.asType(d[c.j2a],c,!0):null},Object.defineProperty(c.prototype,"hostElement",{get:function(){return this.Awa},enumerable:!0,configurable:!0}),c.prototype.focus=function(){this.Awa&&this.Awa.focus()},c.prototype.containsFocus=function(){var b,d,e,f,g;if(!this.Awa)return!1;for(b=this.Awa.querySelectorAll(".wj-control"),d=0;d<b.length;d++)if(e=c.getControl(b[d]),e&&e!=this&&e.containsFocus())return!0;return f=a.core.getActiveElement(),g=c.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)},c.prototype.refreshDelay=function(a){var b=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(){b.refresh(b.vwa)},c.k2a))},c.prototype.refresh=function(a){void 0===a&&(a=!0),!this.isUpdating&&this.Kwa&&(clearTimeout(this.Kwa),this.Kwa=null,this.vwa=!1)},c.invalidateAll=function(a){var b,d;if((a=a||document.body).children)for(b=0;b<a.children.length;b++)c.invalidateAll(a.children[b]);d=c.getControl(a),d&&d.refreshDelay()},c.refreshAll=function(a){var b,d;if((a=a||document.body).children)for(b=0;b<a.children.length;b++)c.refreshAll(a.children[b]);d=c.getControl(a),d&&d.refresh()},c.disposeAll=function(a){var b,d=c.getControl(a);if(d)d.dispose();else if(a.children)for(b=0;b<a.children.length;b++)c.disposeAll(a.children[b])},c.prototype.beginUpdate=function(){this.uwa++},c.prototype.endUpdate=function(){this.uwa--,this.uwa<=0&&this.refreshDelay()},Object.defineProperty(c.prototype,"isUpdating",{get:function(){return 0<this.uwa},enumerable:!0,configurable:!0}),c.prototype.deferUpdate=function(a){try{this.beginUpdate(),a()}finally{this.endUpdate()}},Object.defineProperty(c.prototype,"isTouching",{get:function(){return c.Gwa},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"isDisabled",{get:function(){return this.Awa&&null!=this.Awa.getAttribute("disabled")},set:function(b){(b=a.core.UOb.asBoolean(b,!0))!=this.isDisabled&&a.core.enable(this.Awa,!b)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"disabled",{get:function(){return a.ePb.cwa("disabled","isDisabled"),this.isDisabled},set:function(b){a.ePb.cwa("disabled","isDisabled"),this.isDisabled=b},enumerable:!0,configurable:!0}),c.prototype.initialize=function(b){b&&(this.beginUpdate(),a.core.copy(this,b),this.endUpdate())},c.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}))},c.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},c.prototype.onGotFocus=function(a){this.gotFocus.raise(this,a)},c.prototype.onLostFocus=function(a){this.lostFocus.raise(this,a)},c.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())}},c.prototype.Ewa=function(){var a=this;setTimeout(function(){var b,d,e;for(b=a.Awa;b;b=b.parentElement)d=c.getControl(b),d&&(e=d.containsFocus(),e!=d.M4&&((d.M4=e)?d.onGotFocus():d.onLostFocus(),d.Jwa()))})},c.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&&0<c.length)))},c.prototype.Hwa=function(a){null!=a.pointerType&&"touch"!=a.pointerType||(c.Gwa=!0)},c.prototype.Iwa=function(a){null!=a.pointerType&&"touch"!=a.pointerType||setTimeout(function(){c.Gwa=!1},400)},c.prototype.Fwa=function(a){this.isDisabled&&(a.preventDefault(),a.stopPropagation(),a.stopImmediatePropagation())},c.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},c.prototype.xRb=function(){for(var a=this.Awa;null!=a;){if(a==document.documentElement)return!0;a=a.parentNode}return!1},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.j2a="gcdv-Control",c.k2a=10,c);function c(b,d,e){var f,g,h,i,j,k,l,m,n=this;for(void 0===d&&(d=null),void 0===e&&(e=!1),this.M4=!1,this.uwa=0,this.vwa=!1,this.i2a={},this.gotFocus=new a.core.Event,this.lostFocus=new a.core.Event,a.core.assert(null==c.getControl(b),"Element is already hosting a control."),f=a.core.getElement(b),a.core.assert(null!=f,"Cannot find the host element."),g=0,h=f.attributes.length;g<h;g++)this.i2a[f.attributes[g].name]=f.attributes[g].value;this.xwa=f.innerHTML,this.ywa=f.tagName,"INPUT"!=f.tagName&&"SELECT"!=f.tagName||(f=this.zwa(f)),(this.Awa=f)[c.j2a]=this,1==e&&(this.Cwa=new a.core.Size(f.offsetWidth,f.offsetHeight),i=this.Dwa.bind(this),this.addEventListener(window,"resize",i)),this.addEventListener(f,"focus",function(){setTimeout(function(){n.Ewa()})},!0),this.addEventListener(f,"blur",function(){setTimeout(function(){n.Ewa()},20)},!0),j=this.Fwa.bind(this),this.addEventListener(f,"mousedown",j,!0),this.addEventListener(f,"mouseup",j,!0),this.addEventListener(f,"click",j,!0),this.addEventListener(f,"dblclick",j,!0),this.addEventListener(f,"keydown",j,!0),this.addEventListener(f,"wheel",j,!0),null==c.Gwa&&(c.Gwa=!1,a.x7.hasProperty(window,"ontouchstart")||a.x7.hasProperty(window,"onpointerdown"))&&(k=document.body,l=this.Hwa,m=this.Iwa,a.x7.hasProperty(window,"ontouchstart")?(k.addEventListener("touchstart",l),k.addEventListener("touchend",m),k.addEventListener("touchcancel",m),k.addEventListener("touchleave",m)):a.x7.hasProperty(window,"onpointerdown")&&(k.addEventListener("pointerdown",l),k.addEventListener("pointerup",m),k.addEventListener("pointerout",m),k.addEventListener("pointercancel",m),k.addEventListener("pointerleave",m)))}a.Control=b}(dv=dv||{}),function(a){"use strict";var b=(c.sOa=function(b,c,d){var e,f,g,h=0,i=0,j=0,k=0,l=null,m=null,n=d?new a.core.n1a(d):null;if((b=a.core.UOb.asEnum(b,a.Aggregate))==a.Aggregate.CountOfAll)return c.length;for(e=0;e<c.length;e++)f=c[e],n&&(f=n.getValue(f)),null!=f&&(h++,(null==l||f<l)&&(l=f),(null==m||m<f)&&(m=f),a.core.UOb.isNumber(f)&&!isNaN(f)?(i++,j+=f,k+=f*f):"boolean"==typeof f&&(i++,1==f&&(j++,k++)));switch(g=0==i?0:j/i,b){case a.Aggregate.Average:return g;case a.Aggregate.Count:return h;case a.Aggregate.Max:return m;case a.Aggregate.Min:return l;case a.Aggregate.Range:return m-l;case a.Aggregate.Sum:return j;case a.Aggregate.PopulationVariance:return i<=1?0:k/i-g*g;case a.Aggregate.PopulationStandardDeviation:return i<=1?0:Math.sqrt(k/i-g*g);case a.Aggregate.Variance:return i<=1?0:(k/i-g*g)*i/(i-1);case a.Aggregate.StandardDeviation:return i<=1?0:Math.sqrt((k/i-g*g)*i/(i-1))}a.ePb.dPb(!1,"Invalid aggregate type.")},c);function c(){}a.pRb=b}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.nwa=function(b){var c,d,e,f,g,h,i;if(arguments.length<=0)return this.k1a;if(c=null!=(this.k1a=b)?a.TOb.splitStringWithEscape(b,"."):[],d=[],e=c.length,0<e){for(f=a.TOb.getPlaceHolderPairs(b),g=0;g<e;g++)h=c[g],i=(h=a.TOb.replaceStringWithPlaceHolderPairs(h,"[]",f,!1)).split(/^(.*?)\s*\[\s*|\s*\]\s*\[\s*|\s*\]\s*$/).filter(function(a){return a}),0<i.length?d=d.concat(i):d.push(h);this.l1a=d.map(function(b){return a.TOb.replaceStringWithPlaceHolderPairs(a.TOb.sRb(b),"[]",f,!0)})}},d.prototype.getValue=function(b){if(null!=b&&"object"==typeof b){if(a.x7.hasProperty(b,this.k1a))return this.getValueByToken(b,this.k1a);for(var c=0;c<this.l1a.length&&b;c++)b=this.getValueByToken(b,this.l1a[c]);return b}},d.prototype.getValueByToken=function(a,b){return a[b]},d.prototype.setValue=function(b,c){if(b){if(a.x7.hasProperty(b,this.k1a))return void(b[this.k1a]=c);for(var d=0;d<this.l1a.length-1;d++)if(null==(b=b[this.l1a[d]]))return;b[this.l1a[this.l1a.length-1]]=c}},d);function d(a){this.nwa(a)}b.n1a=c}(a.core||(a.core={}))}(dv=dv||{}),function(a){!function(){"use strict";function b(a){this.items=[],this.key=a}(a.data||(a.data={})).Grouping=b}()}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.build=function(a){return this.createGrouping(a)},c.prototype.createGrouping=function(b){return new a.Grouping(b)},c);function c(){}a.GroupingBuilder=b}(a.data||(a.data={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(Object.defineProperty(c.prototype,"groupingBuilder",{get:function(){return this.yRb},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"groupingKeyBuilder",{get:function(){return this.zRb},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"groupingKeyEqualityComparer",{get:function(){return this.ARb},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"groupingComparer",{get:function(){return this.BRb},enumerable:!0,configurable:!0}),c);function c(a,b,c,d){void 0===d&&(d=null),this.yRb=a,this.zRb=b,this.ARb=c,this.BRb=d}a.GroupingDescription=b}(a.data||(a.data={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.build=function(a,b){var c,d,e,f,g,h,i,j,k,l;for(c=[],d=0,e=a;d<e.length;d++){for(f=e[d],g=f,h=0,i=c;h<i.length;h++)if(j=i[h],this.isItemInGroup(g,j,b)){j.items.push(g),g=null;break}null!=g&&(k=b.groupingKeyBuilder.build(f),(j=b.groupingBuilder.build(k)).items.push(g),c.push(j),g=null)}return l=b.groupingComparer,null!=l&&c.sort(function(a,b){return l.compare(a,b)}),c},c.prototype.isItemInGroup=function(a,b,c){var d=c.groupingKeyBuilder.build(a);return c.groupingKeyEqualityComparer.equals(d,b.key)},c);function c(){}a.GroupingsBuilder=b}(a.data||(a.data={}));
- }(dv=dv||{}),function(a){a.data||(a.data={})}(dv=dv||{}),function(a){a.data||(a.data={})}(dv=dv||{}),function(a){a.data||(a.data={})}(dv=dv||{}),function(a){a.data||(a.data={})}(dv=dv||{}),function(a){"use strict";var b=(c.fromBoundingRect=function(b){if(null!=b.left)return new a.core.Rect(b.left,b.top,b.width,b.height);if(null!=b.x)return new a.core.Rect(b.x,b.y,b.width,b.height);throw Error("Invalid source rectangle.")},c);function c(){}a.rRb=b}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.CRb=function(a,b){return null},c.prototype.DRb=function(b){var c,d,e=this.s4a;return null==e.control?null:(c=e.control.hostElement,b.host||(b.host=c),d=new a.ERb(e.Sbb(),b),this.FRb.push(d),d)},c.prototype.GRb=function(a){var b=this.FRb.indexOf(a);0<=b&&this.FRb.splice(b,1)[0].dispose()},c.prototype.dispose=function(){for(var a=this.FRb,b=0;b<a.length;b++)a[b].dispose();this.FRb=[]},c);function c(a){this.s4a=a,this.FRb=[]}a.HRb=b}(dv=dv||{}),function(a){"use strict";var b=(c.W3a=function(a){var b=new c(a.X3a(),a.v2a());return this.aqb(a,b),b},c.aqb=function(a,b){var c=a.yl(),d=b.yl();d.fillOpacity=c.fillOpacity,d.strokeOpacity=c.strokeOpacity,d.fill=c.fill,d.stroke=c.stroke,d.strokeWidth=c.strokeWidth,d.strokeDasharray=c.strokeDasharray,d.textFill=c.textFill,d.fontSize=c.fontSize,d.fontFamily=c.fontFamily,d.fontWeight=c.fontWeight,d.fontStyle=c.fontStyle,d.textDecoration=c.textDecoration},c.prototype.yl=function(){return this.V3a},c.prototype.X3a=function(){return this.U3a},c.prototype.v2a=function(b){var c,d;return arguments.length<=0?this.Kza:(c=a.core.UOb.asEnum(b,a.RenderMethod,!0),void(null!=c&&c!=this.Kza&&(this.Kza=c,d=this.IRb(),null!=d&&this.X3a().removeChild(d),this.V3a=this.Rza(this.X3a(),this.v2a()))))},c.prototype.t2a=function(b){if(arguments.length<=0)return this.yl().devicePixelRatio;if(!isNaN(b)&&null!=b&&this.yl().devicePixelRatio!=b){if(this.v2a()==a.RenderMethod.Canvas){var c=this.IRb();null!=c&&this.X3a().removeChild(c),this.V3a=this.Rza(this.X3a(),this.v2a())}this.yl().devicePixelRatio=b}},c.prototype.copyTo=function(a,b,d,e,f,g,h,i,j){c.copy(this,a,b,d,e,f,g,h,i,j)},c.copy=function(a,b,c,d,e,f,g,h,i,j){var k=a.IRb(),l=b.IRb();k instanceof HTMLCanvasElement&&l instanceof HTMLCanvasElement&&0<e&&0<f&&0<i&&0<j&&l.getContext("2d").drawImage(k,c,d,e,f,g,h,i,j)},c.prototype.Rza=function(b,c){if(c!=a.RenderMethod.NotSet&&c!=a.RenderMethod.SVG)return c!=a.RenderMethod.Canvas?(a.ePb.dPb(!1),null):null==(d=a.plugins.RenderEnginePlugin.iSa("Canvas"))?null:(f=d.create(b),e=new a.NRa(b,f));if(null==(d=a.plugins.RenderEnginePlugin.iSa("SVG")))return null;var d,e,f=d.create(b);return(e=new a.NRa(b,f)).strokeWidth=null,e},c.prototype.IRb=function(){var b=this.yl().renderEngine;return b instanceof a.models.oAa?b._Ha:b instanceof a.models.pAa||b instanceof a.models.QRa?b.MHa:null},c.prototype.clone=function(){var a=this.X3a(),b=new c(a,this.v2a());return a.removeChild(a.lastChild),c.aqb(this,b),b},c.prototype.element=function(){return this.IRb()},c.prototype.dispose=function(){var a=this.element();null!=a&&a.remove()},c.prototype.queryInterface=function(a){return"IDisposable"==a||"IDomElement"==a?this:null},c);function c(b,c){this.Kza=a.RenderMethod.NotSet,this.U3a=b,this.Kza=c,null!=b&&null!=c&&(this.V3a=this.Rza(b,c))}a.JRb=b}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.ad=function(){var b=this,c=b.Tbb,d=b.ndb;d.on("Scrolled",function(e){var f,g,h;e.scrollOrientation===a.ScrollOrientation.VerticalScroll?(f=b.whb,g=b.xhb,f.forEach(function(b){b.JX(0,d.scrollTop()),c.zhb(b).forEach(function(c){c.Ccb(a.core.Rect.intersection(c.APa(),b.APa()))})}),g.forEach(function(b){b.JX(d.scrollLeft(),d.scrollTop()),c.zhb(b).forEach(function(c){c.Ccb(a.core.Rect.intersection(c.APa(),b.APa()))})})):(h=b.vhb,g=b.xhb,h.forEach(function(b){b.JX(d.scrollLeft(),0),c.zhb(b).forEach(function(c){c.Ccb(a.core.Rect.intersection(c.APa(),b.APa()))})}),g.forEach(function(b){b.JX(d.scrollLeft(),d.scrollTop()),c.zhb(b).forEach(function(c){c.Ccb(a.core.Rect.intersection(c.APa(),b.APa()))})}))})},c.prototype.VF=function(a){this.ndb.update(a)},c.prototype.element=function(){return this.ndb.ndb},c.prototype.dispose=function(){var a=this.vhb.concat(this.whb).concat(this.xhb);this.Tbb.Ehb(a),this.ndb.dispose(),this.ndb=null},c.prototype.queryInterface=function(a){return"IDisposable"==a||"IDomElement"==a?this:null},c);function c(b,c){this.Tbb=b,this.ndb=new a.Scrollbar(c.host,c.option),this.vhb=c.xScrollViews||[],this.whb=c.yScrollViews||[],this.xhb=c.xyScrollViews||[],this.Tbb.yhb(this.vhb.concat(this.whb).concat(this.xhb)),this.ad()}a.ERb=b}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.VF=function(a){this.ndb&&this.ndb.VF(a)},c.prototype.KRb=function(){if(this.ndb){var b=a.MRb.LRb(this.w2a);null!=b&&b.GRb(this.ndb)}this.ndb=null},c);function c(b,c){this.w2a=b;var d=a.MRb.LRb(b);null!=d&&(this.ndb=d.DRb(c))}a.NRb=b}(dv=dv||{}),function(a){"use strict";var b,c,d,e,f,g,h,i,j,k=("undefined"!=typeof window&&(function(a,b,c){return void 0===c&&(c=!0),c?b in a:a.hasOwnProperty(b)}(window,"ontouchstart")||window.DocumentTouch&&document instanceof window.DocumentTouch)?(b="touchstart",c="touchmove",d="touchend"):"undefined"!=typeof navigator&&navigator.msMaxTouchPoints&&(window.MSPointerEvent?(b="MSPointerDown",d=c="MSPointerMove"):window.PointerEvent&&(b="pointerdown",c="pointermove",d="pointerup")),{TOUCH_START:b,TOUCH_MOVE:c,TOUCH_END:d});(f=e=a.ScrollOrientation||(a.ScrollOrientation={}))[f.HorizontalScroll=0]="HorizontalScroll",f[f.VerticalScroll=1]="VerticalScroll",l.prototype.scrollLeft=function(){return this.Phb},l.prototype.scrollTop=function(){return this.Qhb},l.prototype.dispose=function(){this.Ihb&&this.Ihb.disconnect(),this.Lza.off(),this.Ghb.removeChild(this.ndb)},l.prototype.update=function(a){var b,c,d,e,f,g,h=this.Ghb;a&&this.Ia(this.eAa,a),(a=this.eAa).containerRect&&(b=a.containerRect,c=a.contentSize),b?(this.Jhb=b.left,this.Khb=b.top,this.Lhb=b.width,this.Mhb=b.height):(this.Jhb=0,this.Khb=0,this.Lhb=h.clientWidth,this.Mhb=h.clientHeight),c?(this.Nhb=c.width,this.Ohb=c.height):(this.Nhb=h.scrollWidth,this.Ohb=h.scrollHeight),d=this.Gq(this._hb),this.Zhb=this.Rh(d.marginLeft)+this.Rh(d.marginRight),this.$hb=this.Lhb-this.Zhb,e=this.Gq(this.bib),this.Xhb=this.Rh(e.marginTop)+this.Rh(e.marginBottom),this.Yhb=this.Mhb-this.Xhb,f=!1!==a.xscroll,g=!1!==a.yscroll,f&&this.Nhb>this.Lhb+.5?(this.Rhb=!0,this.$hb=this.Lhb-this.Zhb,this.Uhb=this.dib(),this.ndb.classList.add("gcdv-active-x"),this.zib(this.Phb,0)):(this.Rhb=!1,this.$hb=0,this.Uhb=0,this.ndb.classList.remove("gcdv-active-x"),this.zib(0,0)),g&&this.Ohb>this.Mhb+.5?(this.Shb=!0,this.Yhb=this.Mhb-this.Xhb,this.Whb=this.eib(),this.ndb.classList.add("gcdv-active-y"),this.yib(this.Qhb,0)):(this.Shb=!1,this.Yhb=0,this.Whb=0,this.ndb.classList.remove("gcdv-active-y"),this.yib(0,0))},l.prototype.MXa=function(){var a,b,c=this.Ghb,d=this.eAa;this.Rhb?this.Thb=this.Phb*(this.$hb-this.Uhb)/(this.Nhb-this.Lhb):this.Thb=0,this.Shb?this.Vhb=this.Qhb*(this.Yhb-this.Whb)/(this.Ohb-this.Mhb):this.Vhb=0,this.Thb=Math.min(this.Thb,this.$hb-this.Uhb),this.Vhb=Math.min(this.Vhb,this.Yhb-this.Whb),a=d.trackXOffset?d.trackXOffset:0,b=d.trackYOffset?d.trackYOffset:0,this.fib(this.ndb,{left:c.scrollLeft+this.Jhb,top:c.scrollTop+this.Khb}),this.fib(this._hb,{left:0,top:this.Mhb-this._hb.offsetHeight+a,width:this.$hb}),this.fib(this.aib,{left:this.Thb,width:this.Uhb}),this.fib(this.bib,{left:this.Lhb-this.bib.offsetWidth+b,top:0,height:this.Yhb}),this.fib(this.cib,{top:this.Vhb,height:this.Whb})},l.prototype.on=function(a,b){this.Lza.object(this).on(a,b)},l.prototype.once=function(a,b){this.Lza.object(this).once(a,b)},l.prototype.off=function(a){this.Lza.object(this).off(a)},l.prototype.gib=function(a,b){this.Lza.object(this).fire(a,b)},l.prototype.AJ=function(){var a,b,c=this,d=this.Lza;d.element(window).on("resize",function(a){return c.hib(a)}),d.element(this.Ghb.ownerDocument).on("keydown",function(a){return c.iib(a)}),a=null,window.MutationObserver?a=window.MutationObserver:window.WebKitMutationObserver?a=window.WebKitMutationObserver:window.WebKitMutationObserver&&(a=window.MozMutationObserver),a&&(this.Ihb=new a(function(a){return c.jib(a)}),this.Ihb.observe(this.Ghb,{subtree:!0,childList:!0})),b=d.element(this.Ghb),b.on("scroll",function(a){return c.kib(a)}),b.on("wheel",function(a){return c.lib(a)}),b.on(k.TOUCH_START,function(a){return c.mib(a)}),b.on("mouseenter",function(a){return c.nib(a)}),b.on("mouseleave",function(a){return c.oib(a)}),b.on("mousemove",function(a){return c.pib(a)}),d.element(this._hb).on("mousedown",function(a){return c.qib(a)}),d.element(this.aib).on("mousedown",function(a){return c.rib(a)}),d.element(this.bib).on("mousedown",function(a){return c.sib(a)}),d.element(this.cib).on("mousedown",function(a){return c.tib(a)}),d.element(this.ndb).on("click mousemove",function(a){return c.pub(a)})},l.prototype.jib=function(a){this.update()},l.prototype.hib=function(a){this.update()},l.prototype.iib=function(a){var b,c,d,e,f,g,h,i;if(!(a.isDefaultPrevented&&a.isDefaultPrevented()||a.defaultPrevented)&&(b=null,Element&&(Element.prototype.matches?b=Element.prototype.matches:Element.prototype.webkitMatchesSelector?b=Element.prototype.webkitMatchesSelector:Element.prototype.msMatchesSelector&&(b=Element.prototype.msMatchesSelector)),c=b.call(this.aib,":focus")?b.call(this.aib,":focus"):b.call(this.cib,":focus"),(this.ndb.classList.contains("gcdv-hover")||c)&&(d=document.activeElement?document.activeElement:this.Ghb.ownerDocument.activeElement,!(d&&("IFRAME"===d.tagName&&(d=d.contentDocument.activeElement),b.call(d,"input,[contenteditable]")||b.call(d,"select,[contenteditable]")||b.call(d,"textarea,[contenteditable]")||b.call(d,"button,[contenteditable]")))))){switch(e=0,f=0,a.which){case 37:e=-40;break;case 39:e=40;break;case 38:f=40;break;case 40:f=-40;break;case 33:f=this.Mhb;break;case 34:f=-this.Mhb;break;case 36:f=this.Ohb;break;case 35:f=-this.Ohb;break;default:return}g=this.Qhb-f,h=this.Phb+e,i=!1,this.Shb?(this.yib(g),i=!0):this.Rhb&&(this.zib(h),i=!0),i&&this.pub(a)}},l.prototype.kib=function(a){var b=this.Ghb;this.Aib()||(this.Qhb=b.scrollTop,this.Phb=b.scrollLeft),this.MXa()},l.prototype.nib=function(a){this.Aib()||(this.ndb.classList.add("gcdv-hover"),this.MXa())},l.prototype.oib=function(a){this.ndb.classList.remove("gcdv-hover"),this.MXa()},l.prototype.pib=function(a){this.Aib()&&(this.Bib(a)?this.ndb.classList.add("gcdv-hover"):this.ndb.classList.remove("gcdv-hover"),this.MXa())},l.prototype.lib=function(a){if(this.Bib(a)){var b=this.Cib(a),c=b.deltaX,d=b.deltaY,e=this.Qhb-d,f=this.Phb+c,g=!1;this.Shb&&0!==d?(this.yib(e),g=!0):this.Rhb&&0!==c&&(this.zib(f),g=!0),g&&this.pub(a)}},l.prototype.Cib=function(b){var c=0,d=0;return a.x7.hasProperty(b,"deltaY")&&(d=-1*b.deltaY),a.x7.hasProperty(b,"deltaX")&&(c=b.deltaX),1===b.deltaMode?(c*=10,d*=10):b.deltaMode,{deltaX:c,deltaY:d}},l.prototype.Bib=function(a){if(this.Aib()){var b=this.Ghb.getBoundingClientRect(),c=this.eAa,d=c.trackXOffset?c.trackXOffset:0,e=c.trackYOffset?c.trackYOffset:0,f=a.pageX-b.left,g=a.pageY-b.top;return this.Jhb<=f&&f<this.Jhb+this.Lhb+e&&this.Khb<=g&&g<this.Khb+this.Mhb+d}return!0},l.prototype.mib=function(a){var b,c,d,e,f,g=this;g.Hhb&&clearInterval(g.Hhb),(this.Rhb||this.Shb)&&this.Dib(a)&&(b=a.targetTouches?a.targetTouches[0]:a,this.Bib(b)&&(c={},d=(new Date).getTime(),e={},c.pageX=b.pageX,c.pageY=b.pageY,f=g.Lza.element(g.Ghb),f.off(k.TOUCH_MOVE),f.on(k.TOUCH_MOVE,function(a){var b,f,h,i,j,k,l,m,n;g.Dib(a)&&(b=a.targetTouches?a.targetTouches[0]:a,f={pageX:b.pageX,pageY:b.pageY},h=f.pageX-c.pageX,i=f.pageY-c.pageY,j=g.Qhb-i,k=g.Phb-h,l=!1,g.Shb?(g.yib(j),l=!0):g.Rhb&&(g.zib(k),l=!0),l&&g.pub(a),c=f,m=(new Date).getTime(),n=m-d,0<n&&(e.x=h/n,e.y=i/n,d=m))}),f.off(k.TOUCH_END),f.on(k.TOUCH_END,function(a){f.off(k.TOUCH_MOVE),f.off(k.TOUCH_END),g.pub(a),clearInterval(g.Hhb),g.Hhb=setInterval(function(){if(e.x||e.y)if(Math.abs(e.x)<.01&&Math.abs(e.y)<.01)clearInterval(g.Hhb);else{var a=g.Qhb-30*e.y,b=g.Phb-30*e.x;g.Shb?g.yib(a):g.Rhb&&g.zib(b),e.x*=.8,e.y*=.8}else clearInterval(g.Hhb)},10)})))},l.prototype.Dib=function(a){return!(a.pointerType&&"pen"===a.pointerType&&0===a.buttons||(!a.targetTouches||1!==a.targetTouches.length)&&(!a.pointerType||"mouse"===a.pointerType||a.pointerType===a.MSPOINTER_TYPE_MOUSE))},l.prototype.qib=function(a){var b=this.aib.getBoundingClientRect(),c=a.pageX-window.pageXOffset<b.left?-1:1,d=this.Phb+c*this.Lhb;this.zib(d),this.pub(a)},l.prototype.rib=function(a){var b=this,c=b.Phb,d=a.pageX,e=(b.Nhb-b.Lhb)/(b.$hb-b.Uhb),f=b.Ghb.ownerDocument,g=b.Lza.element(f);g.on("mousemove",function(a){var f=c+e*(a.pageX-d);b.zib(f),b.ndb.classList.add("gcdv-scrolling-x"),b.pub(a)},!0),g.on("mouseup",function(){b.Lza.off(f),b.ndb.classList.remove("gcdv-scrolling-x"),b.MXa()},!0),b.pub(a)},l.prototype.sib=function(a){var b=this.cib.getBoundingClientRect(),c=a.pageY-window.pageYOffset<b.top?-1:1,d=this.Qhb+c*this.Mhb;this.yib(d),this.pub(a)},l.prototype.tib=function(a){var b=this,c=b.Qhb,d=a.pageY,e=(b.Ohb-b.Mhb)/(b.Yhb-b.Whb),f=b.Ghb.ownerDocument,g=b.Lza.element(f);g.on("mousemove",function(a){var f=c+e*(a.pageY-d);b.yib(f),b.ndb.classList.add("gcdv-scrolling-y"),b.pub(a)},!0),g.on("mouseup",function(){b.Lza.off(f),b.ndb.classList.remove("gcdv-scrolling-y"),b.MXa()},!0),b.pub(a)},l.prototype.pub=function(a){a.preventDefault(),a.stopPropagation()},l.prototype.zib=function(a,b){void 0===b&&(b=10);var c=this;function d(){if(a=Math.max(0,Math.min(a,c.Nhb-c.Lhb)),c.Phb-a){var b=c.Phb;c.Phb=a,c.Aib()||(c.Ghb.scrollLeft=a),c.gib(l.SCROLLED,{scrollOrientation:e.HorizontalScroll,newValue:c.Phb,oldValue:b})}c.MXa(),c.nub=null}c.nub&&window.clearTimeout(c.nub),0==b?d():c.nub=window.setTimeout(function(){d()},b)},l.prototype.yib=function(a,b){void 0===b&&(b=10);var c=this;function d(){if(a=Math.max(0,Math.min(a,c.Ohb-c.Mhb)),c.Qhb-a){var b=c.Qhb;c.Qhb=a,c.Aib()||(c.Ghb.scrollTop=a),c.gib(l.SCROLLED,{scrollOrientation:e.VerticalScroll,newValue:c.Qhb,oldValue:b})}c.MXa(),c.oub=null}c.oub&&window.clearTimeout(c.oub),0==b?d():c.oub=window.setTimeout(function(){d()},b)},l.prototype.dib=function(){return this.$hb*this.Lhb/this.Nhb},l.prototype.eib=function(){return this.Yhb*this.Mhb/this.Ohb},l.prototype.Nl=function(a,b,c){var d=document.createElement(a);return d.className=b,c&&this.fib(d,c),d},l.prototype.Gq=function(a){return getComputedStyle(a)},l.prototype.Eib=function(a,b){return this.Gq(a)[b]},l.prototype.fib=function(b,c){var d,e,f,g;for(d=0,e=a.x7.properties(c,!1);d<e.length;d++)f=e[d],g=c[f],"number"==typeof g&&(g+="px"),b.style[f]=g},l.prototype.Aib=function(){return!!this.eAa.containerRect},l.prototype.Rh=function(a){return parseInt(a,10)||0},l.prototype.Ia=function(b,c){var d,e,f;for(d=0,e=a.x7.properties(c);d<e.length;d++)f=e[d],c.hasOwnProperty(f)&&(b[f]=c[f]);return b},l.SCROLLED="Scrolled",g=l;function l(a,b){b=b||{},this.Ghb=a,this.eAa=b,this.Lza=new j,this.Hhb=null,this.Ihb=null,this.nub=null,this.oub=null,this.Jhb=0,this.Khb=0,this.Lhb=0,this.Mhb=0,this.Nhb=0,this.Ohb=0,this.Phb=0,this.Qhb=0,this.Rhb=!1,this.Shb=!1,this.Thb=0,this.Uhb=0,this.Vhb=0,this.Whb=0,this.Xhb=0,this.Yhb=0,this.Zhb=0,this.$hb=0,this.ndb=this.Nl("div","gcdv-scrollbar",{width:0,height:0,position:"relative"}),this._hb=this.Nl("div","gcdv-scrollbar-trackX",{position:"absolute"}),this.aib=this.Nl("div","gcdv-scrollbar-thumbX"),this._hb.appendChild(this.aib),this.bib=this.Nl("div","gcdv-scrollbar-trackY",{position:"absolute"}),this.cib=this.Nl("div","gcdv-scrollbar-thumbY"),this.bib.appendChild(this.cib),this.ndb.appendChild(this._hb),this.ndb.appendChild(this.bib),this.Ghb.insertBefore(this.ndb,this.Ghb.firstChild),this.update(),this.AJ()}a.Scrollbar=g,m.prototype.context=function(){return this.scb},m.prototype.on=function(a,b){this.Fu(a,b,!1)},m.prototype.once=function(a,b){this.Fu(a,b,!0)},m.prototype.off=function(b){var c,d,e,f,g,h=this.Fib;if(b){if("string"==typeof b)delete h[b];else if("function"==typeof b)for(c=0,d=a.x7.properties(h,!1);c<d.length;c++)for(e=d[c],f=h[e]?h[e]:[],g=0;g<f.length;g++)f[g][0]===b&&f.splice(g--,1)}else this.Fib={}},m.prototype.fire=function(a){var b,c,d,e,f;for(b=[],c=1;c<arguments.length;c++)b[c-1]=arguments[c];if(d=this.Fib[a],d&&0!==d.length)for(e=0;e<d.length;e++)f=d[e],f[0].apply(this.scb,b),f[1]&&d.splice(e--,e)},m.prototype.Fu=function(a,b,c){"string"==typeof a&&"function"==typeof b&&(this.Fib[a]||(this.Fib[a]=[]),this.Fib[a].push([b,c]))},h=m;function m(a){this.scb=a,this.Fib={}}n.prototype.context=function(){return this.PHa},n.prototype.on=function(a,b,c){var d,e,f;if("string"==typeof a&&"function"==typeof b)for(c=!!c,d=a.split(" ").filter(function(a){return""!==a}),e=0;e<d.length;e++)f=d[e],this.Fib[f]||(this.Fib[f]=[]),this.Fib[f].push({fn:b,capture:c}),this.PHa.addEventListener(f,b,c)},n.prototype.off=function(b){var c,d,e,f,g,h,i,j=this.Fib;if(b){if("string"==typeof b){for(h=j[b]?j[b]:[],i=0;i<h.length;i++)this.PHa.removeEventListener(b,h[i].fn,h[i].capture);delete j[b]}else if("function"==typeof b)for(c=0,d=a.x7.properties(j,!1);c<d.length;c++)for(h=j[g=d[c]]?j[g]:[],i=0;i<h.length;i++)h[i]===b&&(this.PHa.removeEventListener(g,h[i].fn,h[i].capture),h.splice(i--,1))}else{for(e=0,f=a.x7.properties(j,!1);e<f.length;e++)for(h=j[g=f[e]]?j[g]:[],i=0;i<h.length;i++)this.PHa.removeEventListener(g,h[i].fn,h[i].capture);this.Fib={}}},i=n;function n(a){this.PHa=a,this.Fib={}}o.prototype.element=function(a){var b=this.Fib.filter(function(b){return b.context()===a})[0];return b||(b=new i(a),this.Fib.push(b)),b},o.prototype.object=function(a){var b=this.Fib.filter(function(b){return b.context()===a})[0];return b||(b=new h(a),this.Fib.push(b)),b},o.prototype.off=function(a){var b,c=this.Fib;if(a)for(b=0;b<c.length;b++)c[b].context()===a&&(c[b].off(),c.splice(b--,1));else{for(b=0;b<c.length;b++)c[b].off();this.Fib=[]}},j=o;function o(){this.Fib=[]}}(dv=dv||{}),dv=dv||{},function(a){!function(a){"use strict";var b=(c.fromCss=function(b){var c,d=a.o1a.fromCss(b);return null!=d?d:(c=a.p1a.fromCss(b),null!=c?c:null)},c.tint=function(b,c){return b instanceof a.o1a?a.o1a.tint(b,c):b instanceof a.p1a?a.p1a.tint(b,c):b},c.prototype.toCss=function(){return null},c);function c(b){void 0===b&&(b=1),this.alpha=a.UOb.clamp(b,0,1)}a.ica=b}(a.core||(a.core={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.toCssRgbaColor=function(a){return this.q1a[a.toLowerCase()]},c);function c(){this.q1a={},this.q1a.aliceblue="rgb(240, 248, 255)",this.q1a.antiquewhite="rgb(250, 235, 215)",this.q1a.aqua="rgb( 0, 255, 255)",this.q1a.aquamarine="rgb(127, 255, 212)",this.q1a.azure="rgb(240, 255, 255)",this.q1a.beige="rgb(245, 245, 220)",this.q1a.bisque="rgb(255, 228, 196)",this.q1a.black="rgb( 0, 0, 0)",this.q1a.blanchedalmond="rgb(255, 235, 205)",this.q1a.blue="rgb( 0, 0, 255)",this.q1a.blueviolet="rgb(138, 43, 226)",this.q1a.brown="rgb(165, 42, 42)",this.q1a.burlywood="rgb(222, 184, 135)",this.q1a.cadetblue="rgb( 95, 158, 160)",this.q1a.chartreuse="rgb(127, 255, 0)",this.q1a.chocolate="rgb(210, 105, 30)",this.q1a.coral="rgb(255, 127, 80)",this.q1a.cornflowerblue="rgb(100, 149, 237)",this.q1a.cornsilk="rgb(255, 248, 220)",this.q1a.crimson="rgb(220, 20, 60)",this.q1a.cyan="rgb( 0, 255, 255)",this.q1a.darkblue="rgb( 0, 0, 139)",this.q1a.darkcyan="rgb( 0, 139, 139)",this.q1a.darkgoldenrod="rgb(184, 134, 11)",this.q1a.darkgray="rgb(169, 169, 169)",this.q1a.darkgreen="rgb( 0, 100, 0)",this.q1a.darkgrey="rgb(169, 169, 169)",this.q1a.darkkhaki="rgb(189, 183, 107)",this.q1a.darkmagenta="rgb(139, 0, 139)",this.q1a.darkolivegreen="rgb( 85, 107, 47)",this.q1a.darkorange="rgb(255, 140, 0)",this.q1a.darkorchid="rgb(153, 50, 204)",this.q1a.darkred="rgb(139, 0, 0)",this.q1a.darksalmon="rgb(233, 150, 122)",this.q1a.darkseagreen="rgb(143, 188, 143)",this.q1a.darkslateblue="rgb( 72, 61, 139)",this.q1a.darkslategray="rgb( 47, 79, 79)",this.q1a.darkslategrey="rgb( 47, 79, 79)",this.q1a.darkturquoise="rgb( 0, 206, 209)",this.q1a.darkviolet="rgb(148, 0, 211)",this.q1a.deeppink="rgb(255, 20, 147)",this.q1a.deepskyblue="rgb( 0, 191, 255)",this.q1a.dimgray="rgb(105, 105, 105)",this.q1a.dimgrey="rgb(105, 105, 105)",this.q1a.dodgerblue="rgb( 30, 144, 255)",this.q1a.firebrick="rgb(178, 34, 34)",this.q1a.floralwhite="rgb(255, 250, 240)",this.q1a.forestgreen="rgb( 34, 139, 34)",this.q1a.fuchsia="rgb(255, 0, 255)",this.q1a.gainsboro="rgb(220, 220, 220)",this.q1a.ghostwhite="rgb(248, 248, 255)",this.q1a.gold="rgb(255, 215, 0)",this.q1a.goldenrod="rgb(218, 165, 32)",this.q1a.gray="rgb(128, 128, 128)",this.q1a.grey="rgb(128, 128, 128)",this.q1a.green="rgb( 0, 128, 0)",this.q1a.greenyellow="rgb(173, 255, 47)",this.q1a.honeydew="rgb(240, 255, 240)",this.q1a.hotpink="rgb(255, 105, 180)",this.q1a.indianred="rgb(205, 92, 92)",this.q1a.indigo="rgb( 75, 0, 130)",this.q1a.ivory="rgb(255, 255, 240)",this.q1a.khaki="rgb(240, 230, 140)",this.q1a.lavender="rgb(230, 230, 250)",this.q1a.lavenderblush="rgb(255, 240, 245)",this.q1a.lawngreen="rgb(124, 252, 0)",this.q1a.lemonchiffon="rgb(255, 250, 205)",this.q1a.lightblue="rgb(173, 216, 230)",this.q1a.lightcoral="rgb(240, 128, 128)",this.q1a.lightcyan="rgb(224, 255, 255)",this.q1a.lightgoldenrodyellow="rgb(250, 250, 210)",this.q1a.lightgray="rgb(211, 211, 211)",this.q1a.lightgreen="rgb(144, 238, 144)",this.q1a.lightgrey="rgb(211, 211, 211)",this.q1a.lightpink="rgb(255, 182, 193)",this.q1a.lightsalmon="rgb(255, 160, 122)",this.q1a.lightseagreen="rgb( 32, 178, 170)",this.q1a.lightskyblue="rgb(135, 206, 250)",this.q1a.lightslategray="rgb(119, 136, 153)",this.q1a.lightslategrey="rgb(119, 136, 153)",this.q1a.lightsteelblue="rgb(176, 196, 222)",this.q1a.lightyellow="rgb(255, 255, 224)",this.q1a.lime="rgb( 0, 255, 0)",this.q1a.limegreen="rgb( 50, 205, 50)",this.q1a.linen="rgb(250, 240, 230)",this.q1a.magenta="rgb(255, 0, 255)",this.q1a.maroon="rgb(128, 0, 0)",this.q1a.mediumaquamarine="rgb(102, 205, 170)",this.q1a.mediumblue="rgb( 0, 0, 205)",this.q1a.mediumorchid="rgb(186, 85, 211)",this.q1a.mediumpurple="rgb(147, 112, 219)",this.q1a.mediumseagreen="rgb( 60, 179, 113)",this.q1a.mediumslateblue="rgb(123, 104, 238)",this.q1a.mediumspringgreen="rgb( 0, 250, 154)",this.q1a.mediumturquoise="rgb( 72, 209, 204)",this.q1a.mediumvioletred="rgb(199, 21, 133)",this.q1a.midnightblue="rgb( 25, 25, 112)",this.q1a.mintcream="rgb(245, 255, 250)",this.q1a.mistyrose="rgb(255, 228, 225)",this.q1a.moccasin="rgb(255, 228, 181)",this.q1a.navajowhite="rgb(255, 222, 173)",this.q1a.navy="rgb( 0, 0, 128)",this.q1a.oldlace="rgb(253, 245, 230)",this.q1a.olive="rgb(128, 128, 0)",this.q1a.olivedrab="rgb(107, 142, 35)",this.q1a.orange="rgb(255, 165, 0)",this.q1a.orangered="rgb(255, 69, 0)",this.q1a.orchid="rgb(218, 112, 214)",this.q1a.palegoldenrod="rgb(238, 232, 170)",this.q1a.palegreen="rgb(152, 251, 152)",this.q1a.paleturquoise="rgb(175, 238, 238)",this.q1a.palevioletred="rgb(219, 112, 147)",this.q1a.papayawhip="rgb(255, 239, 213)",this.q1a.peachpuff="rgb(255, 218, 185)",this.q1a.peru="rgb(205, 133, 63)",this.q1a.pink="rgb(255, 192, 203)",this.q1a.plum="rgb(221, 160, 221)",this.q1a.powderblue="rgb(176, 224, 230)",this.q1a.purple="rgb(128, 0, 128)",this.q1a.red="rgb(255, 0, 0)",this.q1a.rosybrown="rgb(188, 143, 143)",this.q1a.royalblue="rgb( 65, 105, 225)",this.q1a.saddlebrown="rgb(139, 69, 19)",this.q1a.salmon="rgb(250, 128, 114)",this.q1a.sandybrown="rgb(244, 164, 96)",this.q1a.seagreen="rgb( 46, 139, 87)",this.q1a.seashell="rgb(255, 245, 238)",this.q1a.sienna="rgb(160, 82, 45)",this.q1a.silver="rgb(192, 192, 192)",this.q1a.skyblue="rgb(135, 206, 235)",this.q1a.slateblue="rgb(106, 90, 205)",this.q1a.slategray="rgb(112, 128, 144)",this.q1a.slategrey="rgb(112, 128, 144)",this.q1a.snow="rgb(255, 250, 250)",this.q1a.springgreen="rgb( 0, 255, 127)",this.q1a.steelblue="rgb( 70, 130, 180)",this.q1a.tan="rgb(210, 180, 140)",this.q1a.teal="rgb( 0, 128, 128)",this.q1a.thistle="rgb(216, 191, 216)",this.q1a.tomato="rgb(255, 99, 71)",this.q1a.turquoise="rgb( 64, 224, 208)",this.q1a.violet="rgb(238, 130, 238)",this.q1a.wheat="rgb(245, 222, 179)",this.q1a.white="rgb(255, 255, 255)",this.q1a.whitesmoke="rgb(245, 245, 245)",this.q1a.yellow="rgb(255, 255, 0)",this.q1a.yellowgreen="rgb(154, 205, 50)"}a.r1a=b}(a.core||(a.core={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.ica,__extends(e,c),e.fromCss=function(a){var b,c;return 0==a.indexOf("hsla(")&&a.indexOf(")")==a.length-1?(b=a.substring(5,a.length-1).split(","),4==b.length?new e(parseFloat(b[0]),e.s1a(b[1]),e.s1a(b[2]),parseFloat(b[3])):null):0!=a.indexOf("hsl(")||a.indexOf(")")!=a.length-1?null:(c=a.substring(4,a.length-1).split(","),3==c.length?new e(parseFloat(c[0]),e.s1a(c[1]),e.s1a(c[2])):null)},e.tint=function(a,b){if(0===b)return a;var c=240*a.lightness;return c+=parseInt(0<b?""+(240-c)*b:""+c*b,10),c/=240,new e(a.hue,a.saturation,c,a.alpha)},e.s1a=function(a){return a.lastIndexOf("%")==a.length-1?parseFloat(a.slice(0,a.length-1))/100:NaN},e.prototype.toCss=function(){var a=Math.round(100*this.alpha);return 99<a?"hsl("+this.hue+","+Math.round(100*this.saturation)+"%,"+Math.round(100*this.lightness)+"%)":"hsla("+this.hue+","+Math.round(100*this.saturation)+"%,"+Math.round(100*this.lightness)+"%,"+a/100+")"},e.fromRgba=function(a){var b,c=a.red/255,d=a.green/255,f=a.blue/255,g=Math.max(c,d,f),h=Math.min(c,d,f),i=0,j=0,k=(g+h)/2;return g==h?i=j=0:(b=g-h,j=.5<k?b/(2-g-h):b/(g+h),g==c?i=(d-f)/b+(d<f?6:0):g==d?i=(f-c)/b+2:g==f&&(i=(c-d)/b+4),i/=6),new e(360*i,j,k,a.alpha)},e.prototype.toRgba=function(){var a=this.bya(this.hue/360,this.saturation,this.lightness);return new b.o1a(a[0],a[1],a[2],this.alpha)},e.prototype.bya=function(b,c,d){var e,f,g,h,i;return a.ePb.dPb(0<=b&&b<=1&&0<=c&&c<=1&&0<=d&&d<=1,"bad HSL values"),0==c?e=f=g=d:(h=d<.5?d*(1+c):d+c-d*c,i=2*d-h,e=this.eya(i,h,b+1/3),f=this.eya(i,h,b),g=this.eya(i,h,b-1/3)),[Math.round(255*e),Math.round(255*f),Math.round(255*g)]},e.prototype.eya=function(a,b,c){return c<0&&(c+=1),1<c&&--c,c<1/6?a+6*(b-a)*c:c<.5?b:c<2/3?a+(b-a)*(2/3-c)*6:a},e);function e(a,d,e,f){void 0===f&&(f=1);var g=c.call(this,f)||this;return a%=360,g.hue=b.UOb.clamp(a,0,360),g.saturation=b.UOb.clamp(d,0,1),g.lightness=b.UOb.clamp(e,0,1),g}b.p1a=d}(a.core||(a.core={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.ica,__extends(d,b),d.fromCss=function(a){var b,c=d.t1a.toCssRgbaColor(a);return null==c&&(c=a),"transparent"==c.toLowerCase()?new d(0,0,0,0):0==c.indexOf("#")?4==c.length?new d(parseInt(c[1]+c[1],16),parseInt(c[2]+c[2],16),parseInt(c[3]+c[3],16)):7==c.length?new d(parseInt(c.substr(1,2),16),parseInt(c.substr(3,2),16),parseInt(c.substr(5,2),16)):null:0==c.indexOf("rgba(")&&c.indexOf(")")==c.length-1?4==(b=c.substring(5,c.length-1).split(",")).length?new d(parseInt(b[0]),parseInt(b[1]),parseInt(b[2]),parseFloat(b[3])):null:0==c.indexOf("rgb(")&&c.indexOf(")")==c.length-1&&3==(b=c.substring(4,c.length-1).split(",")).length?new d(parseInt(b[0]),parseInt(b[1]),parseInt(b[2])):null},d.tint=function(b,c){if(0===c)return b;var d=a.p1a.fromRgba(b);return a.p1a.tint(d,c).toRgba()},d.prototype.toCss=function(){var a=Math.round(100*this.alpha);return 99<a?"#"+((1<<24)+(this.red<<16)+(this.green<<8)+this.blue).toString(16).slice(1):"rgba("+this.red+","+this.green+","+this.blue+","+a/100+")"},d.t1a=new a.r1a,d);function d(c,d,e,f){void 0===f&&(f=1);var g=b.call(this,f)||this;return g.red=a.UOb.clamp(c,0,255),g.green=a.UOb.clamp(d,0,255),g.blue=a.UOb.clamp(e,0,255),g}a.o1a=c}(a.core||(a.core={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(Object.defineProperty(c.prototype,"x",{get:function(){return this.z1a},set:function(a){if("number"!=typeof a)throw Error("A number type is required.");this.z1a!=a&&(this.z1a=a)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"y",{get:function(){return this.A1a},set:function(a){if("number"!=typeof a)throw Error("A number type is required.");this.A1a!=a&&(this.A1a=a)},enumerable:!0,configurable:!0}),c.prototype.clone=function(){return new c(this.x,this.y)},c.prototype.equals=function(a){return a instanceof c&&this.x==a.x&&this.y==a.y},c);function c(a,b){this.z1a=0,this.A1a=0,this.x=a,this.y=b}a.Point=b}(a.core||(a.core={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.union=function(a,b){var c=Math.min(a.left,b.left),e=Math.min(a.top,b.top);return new d(c,e,Math.max(a.right,b.right)-c,Math.max(a.bottom,b.bottom)-e)},Object.defineProperty(d.prototype,"right",{get:function(){return this.left+this.width},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"bottom",{get:function(){return this.top+this.height},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"location",{get:function(){return new b.Point(this.left,this.top)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"center",{get:function(){return new b.Point(this.left+this.width/2,this.top+this.height/2)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"size",{get:function(){return new b.Size(this.width,this.height)},enumerable:!0,configurable:!0}),d.prototype.equals=function(a){return a instanceof d&&this.left==a.left&&this.top==a.top&&this.width==a.width&&this.height==a.height},d.prototype.clone=function(){return new d(this.left,this.top,this.width,this.height)},d.prototype.ORb=function(){var b=this.left+.5*this.width,c=this.top+.5*this.height;return new a.shapes.qwb(b,c,this.width,this.height,0)},d.intersection=function(a,b){var c=Math.max(a.left,b.left),e=Math.max(a.top,b.top);return new d(c,e,Math.min(a.right,b.right)-c,Math.min(a.bottom,b.bottom)-e)},d.prototype.contains=function(a){return a.x>=this.left&&a.x<this.right&&a.y>=this.top&&a.y<this.bottom},d.prototype.intersectsWith=function(a){return this.left<a.right&&this.right>a.left&&this.top<a.bottom&&this.bottom>a.top},d.prototype.inflate=function(a,b){return new d(this.left-a,this.top-b,this.width+2*a,this.height+2*b)},d);function d(a,c,d,e){this.left=b.UOb.asNumber(a),this.top=b.UOb.asNumber(c),this.width=b.UOb.asNumber(d),this.height=b.UOb.asNumber(e)}b.Rect=c}(a.core||(a.core={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(Object.defineProperty(c.prototype,"width",{get:function(){return this.REa},set:function(a){if("number"!=typeof a)throw Error("A number type is required.");this.REa!=a&&(this.REa=a)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"height",{get:function(){return this.Z8a},set:function(a){if("number"!=typeof a)throw Error("A number type is required.");this.Z8a!=a&&(this.Z8a=a)},enumerable:!0,configurable:!0}),c.prototype.clone=function(){return new c(this.width,this.height)},c.prototype.equals=function(a){return a instanceof c&&this.width==a.width&&this.height==a.height},c);function c(a,b){this.REa=0,this.Z8a=0,this.width=a,this.height=b}a.Size=b}(a.core||(a.core={}))}(dv=dv||{}),function(a){"use strict";var b;(b=a.Aggregate||(a.Aggregate={}))[b.List=0]="List",b[b.Sum=1]="Sum",b[b.Count=2]="Count",b[b.Average=3]="Average",b[b.Max=4]="Max",b[b.Min=5]="Min",b[b.Range=6]="Range",b[b.StandardDeviation=7]="StandardDeviation",b[b.Variance=8]="Variance",b[b.PopulationStandardDeviation=9]="PopulationStandardDeviation",b[b.PopulationVariance=10]="PopulationVariance",b[b.CountOfAll=11]="CountOfAll"}(dv=dv||{}),function(a){"use strict";var b;(b=a.AnimationEasing||(a.AnimationEasing={}))[b.Linear=0]="Linear",b[b.Swing=1]="Swing",b[b.EaseInQuad=2]="EaseInQuad",b[b.EaseOutQuad=3]="EaseOutQuad",b[b.EaseInOutQuad=4]="EaseInOutQuad",b[b.EaseInCubic=5]="EaseInCubic",b[b.EaseOutCubic=6]="EaseOutCubic",b[b.EaseInOutCubic=7]="EaseInOutCubic",b[b.EaseInQuart=8]="EaseInQuart",b[b.EaseOutQuart=9]="EaseOutQuart",b[b.EaseInOutQuart=10]="EaseInOutQuart",b[b.EaseInQuint=11]="EaseInQuint",b[b.EaseOutQuint=12]="EaseOutQuint",b[b.EaseInOutQuint=13]="EaseInOutQuint",b[b.EaseInSine=14]="EaseInSine",b[b.EaseOutSine=15]="EaseOutSine",b[b.EaseInOutSine=16]="EaseInOutSine",b[b.EaseInExpo=17]="EaseInExpo",b[b.EaseOutExpo=18]="EaseOutExpo",
- b[b.EaseInOutExpo=19]="EaseInOutExpo",b[b.EaseInCirc=20]="EaseInCirc",b[b.EaseOutCirc=21]="EaseOutCirc",b[b.EaseInOutCirc=22]="EaseInOutCirc",b[b.EaseInBack=23]="EaseInBack",b[b.EaseOutBack=24]="EaseOutBack",b[b.EaseInOutBack=25]="EaseInOutBack",b[b.EaseInBounce=26]="EaseInBounce",b[b.EaseOutBounce=27]="EaseOutBounce",b[b.EaseInOutBounce=28]="EaseInOutBounce",b[b.EaseInElastic=29]="EaseInElastic",b[b.EaseOutElastic=30]="EaseOutElastic",b[b.EaseInOutElastic=31]="EaseInOutElastic"}(dv=dv||{}),function(a){"use strict";var b;(b=a.AnimationMode||(a.AnimationMode={}))[b.All=0]="All",b[b.Point=1]="Point",b[b.Group=2]="Group"}(dv=dv||{}),function(a){"use strict";var b;(b=a.AxisMode||(a.AxisMode={}))[b.Cartesian=0]="Cartesian",b[b.Radial=1]="Radial",b[b.Polygonal=2]="Polygonal"}(dv=dv||{}),function(a){"use strict";var b;(b=a.AxisPosition||(a.AxisPosition={}))[b.None=0]="None",b[b.Near=1]="Near",b[b.Far=2]="Far"}(dv=dv||{}),function(a){"use strict";var b;(b=a.AxisType||(a.AxisType={}))[b.X=0]="X",b[b.Y=1]="Y"}(dv=dv||{}),function(a){"use strict";var b;(b=a.ClippingMode||(a.ClippingMode={}))[b.None=0]="None",b[b.Fit=1]="Fit",b[b.Clip=2]="Clip"}(dv=dv||{}),function(a){"use strict";var b;(b=a.ColorOptionType||(a.ColorOptionType={}))[b.Linear=0]="Linear",b[b.Radial=1]="Radial",b[b.CssColor=2]="CssColor"}(dv=dv||{}),function(a){!function(a){"use strict";var b;(b=a.DataType||(a.DataType={}))[b.Unknown=0]="Unknown",b[b.Object=1]="Object",b[b.String=2]="String",b[b.Number=3]="Number",b[b.Boolean=4]="Boolean",b[b.Date=5]="Date",b[b.Array=6]="Array"}(a.core||(a.core={}))}(dv=dv||{}),function(a){"use strict";var b;(b=a.DateMode||(a.DateMode={}))[b.MilliSecond=0]="MilliSecond",b[b.Second=1]="Second",b[b.Minute=2]="Minute",b[b.Hour=3]="Hour",b[b.Day=4]="Day",b[b.Week=5]="Week",b[b.Month=6]="Month",b[b.Year=7]="Year"}(dv=dv||{}),function(a){"use strict";var b;(b=a.ElementType||(a.ElementType={}))[b.Control=0]="Control",b[b.Header=1]="Header",b[b.Footter=2]="Footter",b[b.PlotArea=3]="PlotArea",b[b.Legend=4]="Legend",b[b.LegendItem=260]="LegendItem",b[b.LegendTitle=516]="LegendTitle",b[b.PlotsPane=5]="PlotsPane",b[b.Plot=6]="Plot",b[b.DataPoint=7]="DataPoint",b[b.DataPointLabel=263]="DataPointLabel",b[b.Series=8]="Series",b[b.Axis=9]="Axis",b[b.AxisLabel=265]="AxisLabel",b[b.AxisTitle=521]="AxisTitle",b[b.AxisUnitLabel=777]="AxisUnitLabel",b[b.GridLine=10]="GridLine",b[b.Trellis=16]="Trellis",b[b.TrellisRowHeader=272]="TrellisRowHeader",b[b.TrellisColumnHeader=528]="TrellisColumnHeader",b[b.TrellisRow=784]="TrellisRow",b[b.TrellisColumn=1040]="TrellisColumn",b[b.TrellisCell=1296]="TrellisCell",b[b.TrellisCorner=1552]="TrellisCorner",b[b.OverlayItem=17]="OverlayItem",b[b.TextOverlayItem=273]="TextOverlayItem",b[b.RectangleOverlayItem=529]="RectangleOverlayItem",b[b.EllipseOverlayItem=785]="EllipseOverlayItem",b[b.ImageOverlayItem=1041]="ImageOverlayItem",b[b.LineOverlayItem=1297]="LineOverlayItem",b[b.NeedleOverlayItem=1553]="NeedleOverlayItem",b[b.TrendLineOverlayItem=1809]="TrendLineOverlayItem",b[b.ReferenceLineOverlayItem=2065]="ReferenceLineOverlayItem",b[b.ErrorBarOverlayItem=2321]="ErrorBarOverlayItem",b[b.Overlay=18]="Overlay"}(dv=dv||{}),function(a){"use strict";var b;(b=a.FontStyle||(a.FontStyle={}))[b.Normal=0]="Normal",b[b.Italic=1]="Italic",b[b.Oblique=2]="Oblique"}(dv=dv||{}),function(a){"use strict";var b;(b=a.FontWeight||(a.FontWeight={}))[b.Normal=0]="Normal",b[b.Bold=1]="Bold"}(dv=dv||{}),function(a){"use strict";var b;(b=a.GradientSideOrCorner||(a.GradientSideOrCorner={}))[b.ToLeft=4026531840]="ToLeft",b[b.ToRight=1879048192]="ToRight",b[b.ToTop=805306368]="ToTop",b[b.ToBottom=268435456]="ToBottom",b[b.ToLeftTop=4076863488]="ToLeftTop",b[b.ToRightTop=1929379840]="ToRightTop",b[b.ToLeftBottom=4043309056]="ToLeftBottom",b[b.ToRightBottom=1895825408]="ToRightBottom"}(dv=dv||{}),function(a){"use strict";var b;(b=a.GradientExtentKeyword||(a.GradientExtentKeyword={}))[b.ClosestSide=0]="ClosestSide",b[b.ClosestCorner=1]="ClosestCorner",b[b.FarthestSide=2]="FarthestSide",b[b.FarthestCorner=3]="FarthestCorner"}(dv=dv||{}),function(a){"use strict";var b;(b=a.GradientPosition||(a.GradientPosition={}))[b.Center=0]="Center",b[b.Left=1]="Left",b[b.Right=2]="Right",b[b.Top=3]="Top",b[b.Bottom=4]="Bottom",b[b.LeftTop=5]="LeftTop",b[b.RightTop=6]="RightTop",b[b.LeftBottom=7]="LeftBottom",b[b.RightBottom=8]="RightBottom"}(dv=dv||{}),function(a){"use strict";var b;(b=a.Group||(a.Group={}))[b.Cluster=0]="Cluster",b[b.Stack=1]="Stack"}(dv=dv||{}),function(a){"use strict";var b;(b=a.HAlign||(a.HAlign={}))[b.Left=0]="Left",b[b.Center=1]="Center",b[b.Right=2]="Right",b[b.NotSet=3]="NotSet"}(dv=dv||{}),function(a){"use strict";var b;(b=a.HeaderFooterWidthOptionType||(a.HeaderFooterWidthOptionType={}))[b.Auto=0]="Auto"}(dv=dv||{}),function(a){"use strict";var b;(b=a.LegendPosition||(a.LegendPosition={}))[b.Left=0]="Left",b[b.Top=1]="Top",b[b.Right=2]="Right",b[b.Bottom=3]="Bottom",b[b.None=4]="None",b[b.Floating=5]="Floating"}(dv=dv||{}),function(a){"use strict";var b;(b=a.LegendType||(a.LegendType={}))[b.Color=0]="Color",b[b.Size=1]="Size",b[b.Shape=2]="Shape",b[b.Overlay=3]="Overlay"}(dv=dv||{}),function(a){"use strict";var b;(b=a.LineAspect||(a.LineAspect={}))[b.Default=0]="Default",b[b.Spline=1]="Spline",b[b.StepLeft=2]="StepLeft",b[b.StepRight=3]="StepRight",b[b.StepCenter=4]="StepCenter"}(dv=dv||{}),function(a){"use strict";var b;(b=a.LineCap||(a.LineCap={}))[b.Butt=0]="Butt",b[b.Round=1]="Round",b[b.Square=2]="Square"}(dv=dv||{}),function(a){"use strict";var b;(b=a.LineJoin||(a.LineJoin={}))[b.Miter=0]="Miter",b[b.Bevel=1]="Bevel",b[b.Round=2]="Round"}(dv=dv||{}),function(a){"use strict";var b;(b=a.LinePosition||(a.LinePosition={}))[b.Auto=0]="Auto",b[b.Center=1]="Center"}(dv=dv||{}),function(a){"use strict";var b;(b=a.OrderType||(a.OrderType={}))[b.Ascending=0]="Ascending",b[b.Descending=1]="Descending",b[b.None=2]="None"}(dv=dv||{}),function(a){"use strict";var b;(b=a.Orientation||(a.Orientation={}))[b.Horizontal=0]="Horizontal",b[b.Vertical=1]="Vertical",b[b.NotSet=2]="NotSet"}(dv=dv||{}),function(a){"use strict";var b;(b=a.OverlappingLabels||(a.OverlappingLabels={}))[b.Auto=0]="Auto",b[b.Show=1]="Show",b[b.Hide=2]="Hide",b[b.HideAll=3]="HideAll",b[b.Smart=4]="Smart"}(dv=dv||{}),function(a){"use strict";var b;(b=a.OverlayLabelDisplay||(a.OverlayLabelDisplay={}))[b.Legend=0]="Legend",b[b.Plot=1]="Plot",b[b.Both=2]="Both",b[b.None=3]="None"}(dv=dv||{}),function(a){"use strict";var b;(b=a.OverlayLabelPosition||(a.OverlayLabelPosition={}))[b.TopLeft=0]="TopLeft",b[b.TopCenter=1]="TopCenter",b[b.TopRight=2]="TopRight",b[b.BottomLeft=3]="BottomLeft",b[b.BottomCenter=4]="BottomCenter",b[b.BottomRight=5]="BottomRight"}(dv=dv||{}),function(a){"use strict";var b;(b=a.OverlayDisplay||(a.OverlayDisplay={}))[b.Front=0]="Front",b[b.Back=1]="Back",b[b.FrontOfPlot=2]="FrontOfPlot",b[b.BackOfPlot=3]="BackOfPlot"}(dv=dv||{}),function(a){"use strict";var b;(b=a.Palette||(a.Palette={}))[b.Standard=0]="Standard",b[b.Cocoa=1]="Cocoa",b[b.Coral=2]="Coral",b[b.Dark=3]="Dark",b[b.HighContrast=4]="HighContrast",b[b.Light=5]="Light",b[b.Midnight=6]="Midnight",b[b.Modern=7]="Modern",b[b.Organic=8]="Organic",b[b.Slate=9]="Slate",b[b.Zen=10]="Zen",b[b.Cyborg=11]="Cyborg",b[b.Superhero=12]="Superhero",b[b.Flatly=13]="Flatly",b[b.Darkly=14]="Darkly",b[b.Cerulan=15]="Cerulan",b[b.Office=16]="Office",b[b.Office2010=17]="Office2010",b[b.Grayscale=18]="Grayscale",b[b.BlueWarm=19]="BlueWarm",b[b.Blue=20]="Blue",b[b.Blue2=21]="Blue2",b[b.BlueGreen=22]="BlueGreen",b[b.Green=23]="Green",b[b.GreenYellow=24]="GreenYellow",b[b.Yellow=25]="Yellow",b[b.YellowOrange=26]="YellowOrange",b[b.Orange=27]="Orange",b[b.OrangeRed=28]="OrangeRed",b[b.RedOrange=29]="RedOrange",b[b.Red=30]="Red",b[b.RedViolet=31]="RedViolet",b[b.Violet=32]="Violet",b[b.Violet2=33]="Violet2",b[b.Median=34]="Median",b[b.Paper=35]="Paper",b[b.Marquee=36]="Marquee",b[b.Slipstream=37]="Slipstream",b[b.Aspect=38]="Aspect"}(dv=dv||{}),function(a){"use strict";var b;(b=a.PathFillType||(a.PathFillType={}))[b.Nonzero=0]="Nonzero",b[b.Evenodd=1]="Evenodd"}(dv=dv||{}),function(a){"use strict";var b;(b=a.PercentileType||(a.PercentileType={}))[b.Exclusive=0]="Exclusive",b[b.Inclusive=1]="Inclusive"}(dv=dv||{}),function(a){"use strict";var b;(b=a.Placement||(a.Placement={}))[b.Auto=0]="Auto",b[b.Left=1]="Left",b[b.Top=2]="Top",b[b.Right=3]="Right",b[b.Bottom=4]="Bottom"}(dv=dv||{}),function(a){"use strict";var b;(b=a.PlotType||(a.PlotType={}))[b.Bar=0]="Bar",b[b.Line=1]="Line",b[b.Scatter=2]="Scatter",b[b.Area=3]="Area"}(dv=dv||{}),function(a){"use strict";var b;(b=a.Position||(a.Position={}))[b.Left=0]="Left",b[b.Top=1]="Top",b[b.Right=2]="Right",b[b.Bottom=3]="Bottom",b[b.None=4]="None"}(dv=dv||{}),function(a){"use strict";var b;(b=a.ReferenceLineAggregate||(a.ReferenceLineAggregate={}))[b.Sum=1]="Sum",b[b.Count=2]="Count",b[b.Average=3]="Average",b[b.Max=4]="Max",b[b.Min=5]="Min",b[b.Median=6]="Median",b[b.Percentile=7]="Percentile"}(dv=dv||{}),function(a){"use strict";var b;(b=a.RenderMethod||(a.RenderMethod={}))[b.NotSet=0]="NotSet",b[b.SVG=1]="SVG",b[b.Canvas=2]="Canvas"}(dv=dv||{}),function(a){"use strict";var b;(b=a.SelectionMode||(a.SelectionMode={}))[b.None=0]="None",b[b.Point=1]="Point",b[b.Points=2]="Points",b[b.Group=3]="Group",b[b.Color=4]="Color",b[b.Shape=5]="Shape",b[b.Size=6]="Size",b[b.LegendSingle=7]="LegendSingle",b[b.LegendMultiple=8]="LegendMultiple",b[b.Category=9]="Category",b[b.Custom=10]="Custom",b[b.Trellis=11]="Trellis"}(dv=dv||{}),function(a){"use strict";var b;(b=a.ShowNulls||(a.ShowNulls={}))[b.Gaps=0]="Gaps",b[b.Zeros=1]="Zeros",b[b.Connected=2]="Connected"}(dv=dv||{}),function(a){"use strict";var b;(b=a.SortOrder||(a.SortOrder={}))[b.None=0]="None",b[b.Reversed=1]="Reversed",b[b.Ascending=2]="Ascending",b[b.Descending=3]="Descending"}(dv=dv||{}),function(a){"use strict";var b;(b=a.TextDecoration||(a.TextDecoration={}))[b.Normal=0]="Normal",b[b.Overline=1]="Overline",b[b.LineThrough=2]="LineThrough",b[b.Underline=4]="Underline"}(dv=dv||{}),function(a){"use strict";var b;(b=a.TextOverflow||(a.TextOverflow={}))[b.Clip=0]="Clip",b[b.Ellipsis=1]="Ellipsis",b[b.Wrap=2]="Wrap"}(dv=dv||{}),function(a){"use strict";var b;(b=a.TextPosition||(a.TextPosition={}))[b.Auto=0]="Auto",b[b.Outside=1]="Outside",b[b.Center=2]="Center",b[b.Inside=3]="Inside",b[b.Smart=4]="Smart"}(dv=dv||{}),function(a){"use strict";var b;(b=a.TickMark||(a.TickMark={}))[b.None=0]="None",b[b.Outside=1]="Outside",b[b.Inside=2]="Inside",b[b.Cross=3]="Cross"}(dv=dv||{}),function(a){"use strict";var b;(b=a.VAlign||(a.VAlign={}))[b.Top=0]="Top",b[b.Middle=1]="Middle",b[b.Bottom=2]="Bottom",b[b.NotSet=3]="NotSet"}(dv=dv||{}),function(a){"use strict";var b;(b=a.ValueOptionType||(a.ValueOptionType={}))[b.Number=0]="Number",b[b.Date=1]="Date",b[b.Percentage=2]="Percentage",b[b.Pixel=3]="Pixel",b[b.Enum=4]="Enum",b[b.Available=5]="Available"}(dv=dv||{}),function(a){"use strict";var b;(b=a.ValueScaleType||(a.ValueScaleType={}))[b.Ordinal=0]="Ordinal",b[b.Linear=1]="Linear",b[b.Logarithmic=2]="Logarithmic",b[b.Percentage=3]="Percentage"}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.core.Event,__extends(d,b),d.prototype.raise=function(a,c){b.prototype.raise.call(this,a,c)},d);function d(){return null!==b&&b.apply(this,arguments)||this}a.HitTestEvent=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.core.EventArgs,__extends(d,b),d);function d(a,c,d){var e=b.call(this)||this;return e.point=a,e.model=c,e.addition=d,e}a.HitTestEventArgs=c}(dv=dv||{}),function(){"use strict";(dv||(dv={})).HitTestResult=function(a,b,c,d,e){void 0===e&&(e=null),this.point=a,this.model=b,this.addition=e,this.PHa=c,this.kEa=d}}(),function(a){"use strict";var b,c=(b=a.core.Event,__extends(d,b),d.prototype.raise=function(a,c){b.prototype.raise.call(this,a,c)},d);function d(){return null!==b&&b.apply(this,arguments)||this}a.RenderedEvent=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.core.EventArgs,__extends(d,b),d);function d(){return b.call(this)||this}a.RenderedEventArgs=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Control,__extends(d,b),Object.defineProperty(d.prototype,"option",{get:function(){return this.eAa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"devicePixelRatio",{get:function(){return this.u2a().t2a()},set:function(a){this.u2a().t2a(a),this.refreshDelay()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"enabled",{get:function(){return this.qOa},set:function(a){null!=a&&(this.qOa=a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"renderMethod",{get:function(){return this.u2a().v2a()},set:function(a){this.u2a().v2a()!==a&&(this.u2a().v2a(a),this.refreshDelay())},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"model",{get:function(){return this.w2a},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"hitTested",{get:function(){return this.m2a},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"rendered",{get:function(){return this.Cvb},enumerable:!0,configurable:!0}),d.prototype.layers=function(){return this.PRb},d.prototype.u2a=function(){return this.r2a},d.prototype.QRb=function(){return null==this.RRb&&(this.RRb=new a.AnimationManager(this)),this.RRb},d.prototype.dispose=function(){var c,d,e;for(c=0,d=a.x7.properties(this.p2a);c<d.length;c++)e=d[c],this.hostElement.removeEventListener(e,this.p2a[e],!1);this.p2a=null,this.m2a.removeAllHandlers(),this.Cvb.removeAllHandlers(),this.n2a.dispose(),this.w2a&&this.w2a.dispose(),this.w2a=null,this.PRb.length=0,this.RRb=null,b.prototype.dispose.call(this)},d.prototype.initialize=function(b){this.w2a&&this.w2a.dispose(),this.eAa=b;var c=new a.options.SRb(b);c.renderMethod!==a.RenderMethod.NotSet&&(this.renderMethod=c.renderMethod),this.w2a=new a.TRb(this,c)},d.prototype.load=function(a){null!=this.w2a&&(this.initialize(a),this.refreshDelay())},d.prototype.refresh=function(c){if(void 0===c&&(c=!0),null!=this.w2a&&(b.prototype.refresh.call(this,c),!this.isUpdating)){var d=this.mAa(),e=new a.core.Rect(0,0,d.width,d.height);this._R(this.u2a().yl(),e),this.yl(this.u2a().yl(),e,{})}},d.prototype.invalidate=function(){this.Upb({})},d.prototype.hitTest=function(a,b){return void 0===b&&(b=null),null!=this.w2a&&this.w2a.APa().contains(a)?this.w2a.mr(a,b):null},d.prototype.query=function(a){return null!=this.w2a?this.w2a.Vpb(a):[]},d.prototype.select=function(b,c,d){var e;void 0===c&&(c=null),void 0===d&&(d=null),null!=this.w2a&&(null!=c&&(e=new a.options.vAa(c)),Array.isArray(b)?(this.w2a.N4(b,d),this.Upb({apiSelectedStyle:e})):null!=b&&(this.w2a.N4([b],d),this.Upb({apiSelectedStyle:e})))},d.prototype._R=function(a,b){a.beginRender(),a.setViewportSize(b.width,b.height),null!=this.w2a&&this.w2a._R(a,b,{}),a.endRender(),this.QRb().URb(),this.QRb().VRb()},d.prototype.yl=function(b,c,d){b.beginRender(),b.setViewportSize(c.width,c.height),null!=this.w2a&&(d.scrollableViewZIndex=0,this.w2a.yl(b,d),delete d.scrollableViewZIndex),this.PRb.forEach(function(a){a.render(b)}),b.endRender();var e=new a.RenderedEventArgs;this.Cvb.raise(this,e)},d.prototype.Upb=function(b){if(null!=this.w2a){var c=this.mAa();this.yl(this.u2a().yl(),new a.core.Rect(0,0,c.width,c.height),b)}},d.prototype.mAa=function(){return this.xRb()||null==this.qCa?b.prototype.mAa.call(this):this.qCa},d.prototype.Pza=function(){var b,c,d;for(this.p2a.mousemove=this.B2a.bind(this),this.p2a.mousewheel=this.B2a.bind(this),this.p2a.mouseleave=this.B2a.bind(this),this.p2a.click=this.B2a.bind(this),this.p2a.wheel=this.B2a.bind(this),b=0,c=a.x7.properties(this.p2a);b<c.length;b++)d=c[b],this.hostElement.addEventListener(d,this.p2a[d],!1)},d.prototype.B2a=function(b){var c,d,e,f;this.enabled&&(c=a.MotionEvent.C1a(this.hostElement,b),d=new a.core.Point(c.x,c.y),e=this.w2a.mr(d),null!=e?(f=new a.HitTestEventArgs(d,e.model,e.addition),f.event=c,this.m2a.raise(this,f),this.n2a._process(f)):this.n2a._process(null))},d);function d(c,d,e){var f=b.call(this,c,null,!0)||this;return f.PRb=[],f.n2a=new a.y1a(f),f.qOa=!0,f.m2a=new a.HitTestEvent,f.Cvb=new a.RenderedEvent,f.p2a={},f.applyTemplate(a.nRb.ControlClassName,null,null),f.Pza(),f.r2a=new a.JRb(f.hostElement,a.RenderMethod.NotSet),f.initialize(d),f.qCa=e,f.refreshDelay(),f}a.FlexDV=c}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.begin=function(a){this.scb=a},d.prototype.end=function(){this.scb=null},d.prototype.measureString=function(b,c,d,e,f){var g,h,i=(null!=f?f+" ":"")+(null!=e?e+" ":"")+(null!=c?c:"")+(null!=d?d+" ":"");return this.scb.font=i,this.scb.font.replace(/\"/g,"'")!==i.replace(/\"/g,"'")&&(i=f+" "+e+" "+c+" "+(this.scb.font.split(" ").splice(1).join(" ")||"sans-serif"),this.scb.font=i),g=this.scb.measureText(b).width,h=0,this.scb.font.split(" ").some(function(a){if(-1<a.indexOf("px"))return h=parseInt(a.slice(0,-2)),!0}),new a.core.Size(g,1.5*h)},d);function d(){}b.WRb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.begin=function(a){this.cIa=a},d.prototype.end=function(){this.cIa=null},d.prototype.getBBox=function(){var b,c,d=this.cIa,e=d.getAttribute("font-size"),f=d.getAttribute("font-family"),g=d.getAttribute("font-weight"),h=d.getAttribute("font-style"),i=e+","+(a.core.isIE()?d.textContent:d.innerHTML)+","+d.getAttribute("x")+","+d.getAttribute("y")+f+","+g+","+h;if(null!=this.xn[i])return this.xn[i];b=null;try{c=d.getBBox(),b=new a.core.Rect(c.x,c.y,c.width,c.height)}catch(c){b=new a.core.Rect(0,0,0,0)}return b.height=Math.round(1e4*b.height)/1e4,b.width=Math.round(1e4*b.width)/1e4,this.xn[i]=b},d.prototype.measureString=function(b,c,d,e,f){var g,h;if(null==this.cIa)throw"text null";return g=new a.core.Size(0,0),c&&this.cIa.setAttribute("font-size",c),d&&this.cIa.setAttribute("font-family",d),e&&this.cIa.setAttribute("font-weight",e.toLowerCase()),f&&(a.x7.isIE()||a.x7.isEdge()||this.cIa.setAttribute("font-style",f.toLowerCase())),this.iIa(this.cIa,b),h=this.getBBox(),g.width=h.width,g.height=h.height,this.cIa.removeAttribute("font-size"),this.cIa.removeAttribute("font-family"),this.cIa.removeAttribute("font-weight"),this.cIa.removeAttribute("font-style"),this.cIa.textContent=null,g},d.prototype.iIa=function(a,b){var c,d,e,f=b?""+b:null;if(f&&0<=f.indexOf("tspan"))try{for(a.textContent=null,c=new DOMParser,d='<svg xmlns="http://www.w3.org/2000/svg">'+f+"</svg>",e=c.parseFromString(d,"text/xml").documentElement.firstChild;e;)a.appendChild(a.ownerDocument.importNode(e,!0)),e=e.nextSibling}catch(a){throw Error("Error parsing XML string.")}else a.textContent=f},d);function d(){this.xn={}}b.XRb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.each=function(a,b){var d,e,f,g,h,i,j;for("string"==typeof a&&(a=c.parsePath(a)),(h=a[0].slice(0))[0]=h[0].toUpperCase(),e=h[h.length-2],f=h[h.length-1],b.call(null,h,e,f),i=[e,f],g=1;g<a.length;g++){switch(j=a[g].slice(0),j=c.makeAbsolute(j,e,f),j=c.removeShorthand(j,h,e,f),b.call(null,j.slice(0),e,f),j[0]){case"Z":e=i[0],f=i[1];break;case"M":i=j.slice(-2);default:e=(d=j.slice(-2))[0],f=d[1]}h=j}},c.makeAbsolute=function(a,b,c){var d=a.shift();if(d[0].toLowerCase()===d){switch(d){case"h":case"v":a[0]+="h"==d?b:c;break;case"a":a[a.length-2]+=b,a[a.length-1]+=c;break;default:a=a.map(function(a,d){return a+(d%2==0?b:c)})}d=d.toUpperCase()}return a.unshift(d),a},c.removeShorthand=function(a,b,c,d){var e,f,g=a.shift();if(-1!==["H","V","T","S"].indexOf(g))switch(g){case"H":g="L",a.push(d);break;case"V":g="L",a.unshift(c);break;case"T":case"S":e=c,f=d,-1!==["Q","C"].indexOf(b[0])&&(e=b[b.length-4],f=b[b.length-3]),a.unshift(c-e+c,d-f+d),g="T"==g?"Q":"C"}return a.unshift(g),a},c.parsePath=function(a){var b,d,e,f,g,h,i=(a=a.replace(/([mlhvcqtzsa])/gi," $1 ")).match(/([mlhvcqtzsa][^mlhvcqtzsa]*)/gi),j=[],k=[],l=0,m=0;for(l=0;l!==i.length;l++)b=i[l].match(/([\-]?(?:(\.\d*)|(0|[1-9]\d*)(\.\d*)?)([eE][+\-]?\d+)?|[mlhvcqtzsa]+)/gi),j.push(b);for(l=0;l<j.length;l++)if(e=j[l],f=(b=e.shift()).toUpperCase(),g=e.map(parseFloat),"Z"!==f)for(d=c.PATH_LENGTHS[f],m=0;m<g.length;m+=d)h=g.slice(m,m+d),h.unshift(b),k.push(h),"M"==f&&(b="M"==b?"L":"l");else k.push(["Z"]);return k},c.parseToAbs=function(a){var b,d,e,f,g,h,i,j;for("string"==typeof a&&(a=c.parsePath(a)),(f=a[0].slice(0))[0]=f[0].toUpperCase(),g=[f],h=[b=f[f.length-2],d=f[f.length-1]],e=1;e<a.length;e++){switch(i=a[e].slice(0),i=c.makeAbsolute(i,b,d),i=c.removeShorthand(i,f,b,d),g.push(i.slice(0)),i[0]){case"Z":b=h[0],d=h[1];break;case"M":h=i.slice(-2);default:j=i.slice(-2),b=j[0],d=j[1]}f=i}return g},c.PATH_LENGTHS={L:2,M:2,C:6,S:4,Q:4,T:2,A:7,V:1,H:1},c);function c(){}a.Path=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.clone=function(){var a=new d(this.PRa,this.YRb,this.RHa);return a.opacity=this.opacity,a.fill=this.fill,a.stroke=this.stroke,a.strokeWidth=this.strokeWidth,a.strokeDasharray=this.strokeDasharray,a.textFill=this.textFill,a.fontFamily=this.fontFamily,a.fontSize=this.fontSize,a.fontWeight=this.fontWeight,a.fontStyle=this.fontStyle,a.textDecoration=this.textDecoration,a.devicePixelRatio=this.devicePixelRatio,a},Object.defineProperty(d.prototype,"opacity",{get:function(){return this.qFa},set:function(a){this.QHa.opacity=a,this.qFa=a},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"fill",{get:function(){return this.rFa},set:function(a){this.QHa.fill=a,this.rFa=a},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"stroke",{get:function(){return this.sFa},set:function(a){this.QHa.stroke=a,this.sFa=a},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"strokeWidth",{get:function(){return this.tFa},set:function(a){this.QHa.strokeWidth=a,this.tFa=a},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"strokeDasharray",{get:function(){return this.uFa},set:function(a){this.QHa.strokeDasharray=a,this.uFa=a},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"textFill",{get:function(){return this.SHa},set:function(a){this.QHa.textFill=a,this.SHa=a},enumerable:!0,configurable:!0}),Object.defineProperty(d.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(d.prototype,"fontFamily",{get:function(){return this.zGa},set:function(a){this.QHa.fontFamily=a,this.zGa=a},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"fontWeight",{get:function(){return this.a8a},set:function(a){this.QHa.fontWeight=a,this.a8a=a},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"fontStyle",{get:function(){return this.b8a},set:function(a){this.QHa.fontStyle=a,this.b8a=a},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"textDecoration",{get:function(){return this.d8a},set:function(a){this.QHa.textDecoration=a,this.d8a=a},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"devicePixelRatio",{get:function(){var a=window.devicePixelRatio?window.devicePixelRatio:1;return a=a<1?1:a,null==this.TNa||isNaN(this.TNa)||(a=this.TNa),a},set:function(a){isNaN(a)||null==a||(this.TNa=a)},enumerable:!0,configurable:!0}),d.prototype.beginRender=function(){var a,b=this,c=b.QHa._Ha,d=b.PRa;b.RHa&&(b.QHa.beginRender(),d=c),b.PRa.appendChild(c),b.KHa={},a=window.getComputedStyle(d),b.OHa={fontSize:a.fontSize,fontFamily:a.fontFamily,textFill:a.color}},d.prototype.endRender=function(){this.RHa&&this.QHa.endRender(),this.QHa._Ha.parentNode&&this.QHa._Ha.parentNode.removeChild(this.QHa._Ha)},d.prototype.setViewportSize=function(a,b){var c=this.MHa,d=this.devicePixelRatio;this.RHa&&this.QHa.setViewportSize(a,b),c.width=a*d,c.height=b*d,c.style.width=a+"px",c.style.height=b+"px",c.getContext("2d").scale(d,d)},d.prototype.addClipRect=function(a,b){a&&b&&(this.RHa&&this.QHa.addClipRect(a,b),this.KHa[b]=a)},d.prototype.drawEllipse=function(b,c,d,e,f,g){var h,i,j=this.MHa.getContext("2d");return this.RHa&&(h=this.QHa.drawEllipse(b,c,d,e,f,g)),j.save(),j.beginPath(),j.ellipse?j.ellipse(b,c,d,e,0,0,2*Math.PI):(j.translate(b,c),j.scale(1,e/d),j.translate(-b,-c),j.arc(b,c,d,0,2*Math.PI),j.scale(1,1)),i=new a.core.Rect(b-d,c-e,2*d,2*e),this.LHa(h,g,f,!0,null,i),j.restore(),h},d.prototype.drawRect=function(b,c,d,e,f,g,h){var i,j,k=this.MHa.getContext("2d");return this.RHa&&(i=this.QHa.drawRect(b,c,d,e,f,g,h)),k.save(),this.JHa(k,h),k.beginPath(),k.rect(b,c,d,e),j=new a.core.Rect(b,c,d,e),this.LHa(i,g,f,!0,null,j),k.restore(),i},d.prototype.drawLine=function(b,c,d,e,f,g){var h,i,j,k,l,m,n=this.MHa.getContext("2d");return this.RHa&&(h=this.QHa.drawLine(b,c,d,e,f,g)),n.save(),n.beginPath(),n.moveTo(b,c),n.lineTo(d,e),i=Math.min(b,d),j=Math.min(c,e),k=Math.max(b,d)-i,l=Math.max(c,e)-j,m=new a.core.Rect(i,j,k,l),this.LHa(h,g,f,!0,null,m),n.restore(),h},d.prototype.drawPath=function(c,d,e,f,g,h){var i,j,k,l;if(c)return j=this.MHa.getContext("2d"),this.RHa&&(i=this.QHa.drawPath(c,d,e,f,g,h)),j.save(),j.beginPath(),k=0,l=0,b.Path.each(c,function(a){switch(a.shift()){case"M":2==a.length&&(k=a[0],l=a[1]),j.moveTo.apply(j,a);break;case"L":2==a.length&&(k=a[0],l=a[1]),j.lineTo.apply(j,a);break;case"C":6==a.length&&(k=a[4],l=a[5]),j.bezierCurveTo.apply(j,a);break;case"A":!function(a,b,c,d,e,f,g,h,i){var k,l,m,n,o,p,q,r,s,t,u,v,w=Math.cos(e)*(a-h)/2+Math.sin(e)*(b-i)/2,x=-Math.sin(e)*(a-h)/2+Math.cos(e)*(b-i)/2,y=Math.pow(w,2)/Math.pow(c,2)+Math.pow(x,2)/Math.pow(d,2);1<y&&(c*=Math.sqrt(y),d*=Math.sqrt(y)),k=(f==g?-1:1)*Math.sqrt((Math.pow(c,2)*Math.pow(d,2)-Math.pow(c,2)*Math.pow(x,2)-Math.pow(d,2)*Math.pow(w,2))/(Math.pow(c,2)*Math.pow(x,2)+Math.pow(d,2)*Math.pow(w,2)));function z(a){return Math.sqrt(Math.pow(a[0],2)+Math.pow(a[1],2))}function A(a,b){return(a[0]*b[0]+a[1]*b[1])/(z(a)*z(b))}function B(a,b){return(a[0]*b[1]<a[1]*b[0]?-1:1)*Math.acos(A(a,b))}isNaN(k)&&(k=0),l=k*c*x/d,m=k*-d*w/c,n=(a+h)/2+Math.cos(e)*l-Math.sin(e)*m,o=(b+i)/2+Math.sin(e)*l+Math.cos(e)*m,p=B([1,0],[(w-l)/c,(x-m)/d]),q=[(w-l)/c,(x-m)/d],r=[(-w-l)/c,(-x-m)/d],s=B(q,r),A(q,r)<=-1&&(s=Math.PI),1<=A(q,r)&&(s=0),t=d<c?c:d,u=d<c?1:c/d,v=d<c?d/c:1,j.translate(n,o),j.rotate(e),j.scale(u,v),j.arc(0,0,t,p,p+s,1-g),j.scale(1/u,1/v),j.rotate(-e),j.translate(-n,-o)}(k,l,a[0],a[1],a[2],a[3],a[4],a[5],a[6]),7==a.length&&(k=a[5],l=a[6]);break;case"Q":4==a.length&&(k=a[2],l=a[3]),j.quadraticCurveTo.apply(j,a);break;case"Z":j.closePath()}}),this.LHa(i,h,g,!0,null,null,d===a.PathFillType.Evenodd?"evenodd":"nonzero",e,f),j.restore(),i},d.prototype.drawLines=function(b,c,d,e,f){var g,h,i,j,k,l,m,n,o,p;if(b&&c&&0!==b.length&&0!==c.length){for(i=this.MHa.getContext("2d"),j=Math.min(b.length,c.length),this.RHa&&(g=this.QHa.drawLines([0,1],[1,0],d,e,f)),i.save(),k=this.fill,this.fill="none",this.JHa(i,f),i.beginPath(),i.moveTo(b[0],c[0]),h=1;h<j;h++)i.lineTo(b[h],c[h]);return l=Math.min.apply(Math,b),m=Math.min.apply(Math,c),n=Math.max.apply(Math,b)-l,o=Math.max.apply(Math,c)-m,p=new a.core.Rect(l,m,n,o),this.LHa(g,e,d,!0,null,p),i.restore(),this.fill=k,g}},d.prototype.drawSplines=function(b,c,d,e,f){var g,h,i,j,k,l,m,n,o,p,q,r;if(b&&c&&0!==b.length&&0!==c.length){for(i=this.MHa.getContext("2d"),j=new a.THa(b,c).calculate(),k=j.xs,l=j.ys,m=Math.min(k.length,l.length),this.RHa&&(g=this.QHa.drawSplines([0,1],[1,0],d,e,f)),i.save(),this.JHa(i,f),i.beginPath(),i.moveTo(k[0],l[0]),h=1;h<m;h++)i.lineTo(k[h],l[h]);return n=Math.min.apply(Math,b),o=Math.min.apply(Math,c),p=Math.max.apply(Math,b)-n,q=Math.max.apply(Math,c)-o,r=new a.core.Rect(n,o,p,q),this.LHa(g,e,d,!0,null,r),i.restore(),g}},d.prototype.drawPolygon=function(b,c,d,e,f){var g,h,i,j,k,l,m,n,o;if(b&&c&&0!==b.length&&0!==c.length){for(i=this.MHa.getContext("2d"),j=Math.min(b.length,c.length),this.RHa&&(g=this.QHa.drawPolygon([0,1,1],[1,0,1],d,e,f)),i.save(),this.JHa(i,f),i.beginPath(),i.moveTo(b[0],c[0]),h=1;h<j;h++)i.lineTo(b[h],c[h]);return i.closePath(),k=Math.min.apply(Math,b),l=Math.min.apply(Math,c),m=Math.max.apply(Math,b)-k,n=Math.max.apply(Math,c)-l,o=new a.core.Rect(k,l,m,n),this.LHa(g,e,d,!0,null,o),i.restore(),g}},d.prototype.getPieBoundRect=function(b,c,d,e,f){var g,h,i,j,k,l,m,n;for(f<e&&(k=e,e=f,f=k),l=e;l<=f;l+=.01)new a.core.Point(b,c),m=b+d*Math.cos(l),n=c+d*Math.sin(l),(null==g||m<g)&&(g=m),(null==i||n<i)&&(i=n),(null==h||h<m)&&(h=m),(null==j||j<n)&&(j=n);return new a.core.Rect(g,i,h-g,j-i)},d.prototype.drawPieSegment=function(b,c,d,e,f,g,h,i){var j,k,l=this.MHa.getContext("2d"),m=e,n=e+f;return this.RHa&&(j=this.QHa.drawPieSegment(b,c,d,e,f,g,h,i)),l.save(),this.JHa(l,i),l.beginPath(),l.arc(b,c,d,m,n,!1),k=f<0?a.x7.mergeRect(this.getPieBoundRect(b,c,d,m,2*Math.PI),this.getPieBoundRect(b,c,d,0,n)):this.getPieBoundRect(b,c,d,m,n),this.LHa(j,h,g,!0,null,k),l.restore(),j},d.prototype.drawDonutSegment=function(b,c,d,e,f,g,h,i,j){var k,l,m,n,o,p=this.MHa.getContext("2d"),q=f,r=f+g;return this.RHa&&(k=this.QHa.drawDonutSegment(b,c,d,e,f,g,h,i,j)),p.save(),this.JHa(p,j),p.beginPath(),d!=e?(o=g>=2*Math.PI,(l=new a.core.Point(b,c)).x+=e*Math.cos(q),l.y+=e*Math.sin(q),(m=new a.core.Point(b,c)).x+=e*Math.cos(r),m.y+=e*Math.sin(r),o?(p.arc(b,c,d,q,r,!1),p.moveTo(l.x,l.y)):(p.moveTo(l.x,l.y),p.arc(b,c,d,q,r,!1),p.lineTo(m.x,m.y)),p.arc(b,c,e,r,q,!0)):p.arc(b,c,d,q,r,!1),n=g<0?a.x7.mergeRect(this.getPieBoundRect(b,c,e,q,2*Math.PI),this.getPieBoundRect(b,c,d,q,2*Math.PI),this.getPieBoundRect(b,c,e,0,r),this.getPieBoundRect(b,c,d,0,r)):a.x7.mergeRect(this.getPieBoundRect(b,c,e,q,r),this.getPieBoundRect(b,c,d,q,r)),this.LHa(k,i,h,!0,null,n),p.restore(),k},d.prototype.drawString=function(a,b,c,d){var e,f,g;if(null!=a)return f=this.MHa.getContext("2d"),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),this.YRb.begin(f),g=this.ZRb(a),this.YRb.end(),this.$Rb(a.trim(),b,g),f.restore(),e},d.prototype.drawStringRotated=function(a,b,c,d,e,f){var g,h,i;if(null!=a)return h=this.MHa.getContext("2d"),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),this.YRb.begin(h),i=this.ZRb(a),this.YRb.end(),this.$Rb(a.trim(),b,i),h.restore(),g},d.prototype.measureString=function(a,b,c,d){var e,f;return this.RHa?this.QHa.measureString(a,b,c,d):(e=this.MHa.getContext("2d"),e.save(),this.LHa(null,null,b,!0,!0),this.YRb.begin(e),f=this.ZRb(a),this.YRb.end(),e.restore(),f)},d.prototype.ZRb=function(b){var c=null,d=null,e=null,f=null;return null!=this.fontWeight&&(e=this.fontWeight),null!=this.fontStyle&&(f=a.FontStyle[this.fontStyle]?a.FontStyle[this.fontStyle]:""+this.fontStyle),this.HHa?(c=this.HHa,d=this.fontFamily||"sans-serif"):this.OHa&&(c=this.OHa.fontSize,d=this.OHa.fontFamily||"sans-serif"),this.YRb.measureString(b,c,d,e,f)},d.prototype.startTransform=function(a){this.RHa&&this.QHa.startTransform(a);var b=this.MHa.getContext("2d");b.save(),null!=a&&Array.isArray(a)&&6===a.length&&b.transform(a[0],a[1],a[2],a[3],a[4],a[5])},d.prototype.endTransform=function(){this.RHa&&this.QHa.endTransform(),this.MHa.getContext("2d").restore()},d.prototype.startGroup=function(a,b,c){var d,e;return void 0===c&&(c=!1),e=this.MHa.getContext("2d"),this.RHa&&(d=this.QHa.startGroup(a,b,c)),e.save(),this.JHa(e,b),d},d.prototype.endGroup=function(){this.RHa&&this.QHa.endGroup(),this.MHa.getContext("2d").restore()},d.prototype.drawImage=function(a,c,d,e,f,g){var h,i,j=this.MHa.getContext("2d"),k=new Image;return this.RHa&&(h=this.QHa.drawImage(a,c,d,e,f)),i=this,k.onload=function(){b.aSb._Rb(g)?(i.startTransform(g),j.drawImage(k,c,d,e,f),i.endTransform()):j.drawImage(k,c,d,e,f)},k.src=a,h},d.prototype.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())},d.prototype.NHa=function(b,c){var d,e,f;return"none"==b&&(b="transparent"),d=a.core.o1a.fromCss(b),null!=d?(null!=c&&1===d.alpha&&(e=isNaN(c)?1:+c,d=new a.core.o1a(d.red,d.green,d.blue,e)),d.toCss()):(f=a.core.p1a.fromCss(b),null==f?b:(null!=c&&1===f.alpha&&(e=isNaN(c)?1:+c,f=new a.core.p1a(f.hue,f.saturation,f.lightness,e)),f.toCss()))},d.prototype.c8a=function(a){var b=a;return b&&'"'===b[0]&&(b=b.substring(1)),b&&'"'===b[b.length-1]&&(b=b.slice(0,-1)),b},d.prototype.cloneStyle=function(a){return{fontFamily:a.fontFamily,fontWeight:a.fontWeight,fill:a.fill,fontStyle:a.fontStyle,fontSize:a.fontSize,stroke:a.stroke,strokeWidth:a.strokeWidth,strokeDasharray:a.strokeDasharray}},d.prototype.LHa=function(b,c,d,e,f,g,h,i,j){var k,l,m,n,o,p,q,r,s,t,u;if(void 0===h&&(h="nonzero"),void 0===i&&(i=a.LineCap.Butt),void 0===j&&(j=a.LineJoin.Miter),m=this,n=m.MHa.getContext("2d"),o=m.stroke,p=m.fill,q=m.opacity,r=m.strokeWidth,s=m.strokeDasharray,c&&void 0!==c.opacity&&(q=c.opacity),c&&void 0!==c.stroke&&(o=c.stroke),c&&void 0!==c.strokeDasharray&&(s=c.strokeDasharray),c&&void 0!==c.fill&&"string"==typeof c.fill&&(p=m.NHa(c.fill,c["fill-opacity"])),b&&((l=this.cloneStyle(window.getComputedStyle(b))).fontFamily=this.c8a(l.fontFamily),l.fontWeight=this.c8a(l.fontWeight)),f)l?(n.globalAlpha=q,n.fillStyle=l.fill,k=l.fontStyle+" "+l.fontWeight+" "+l.fontSize+" "+l.fontFamily,n.font=k,n.font.replace(/\"/g,"'")!==k.replace(/\"/g,"'")&&(k=l.fontStyle+" "+l.fontWeight+" "+l.fontSize+" "+(n.font.split(" ").splice(1).join(" ")||"sans-serif"),n.font=k)):m.HHa?(n.globalAlpha=q,n.fillStyle=m.textFill,n.font=m.HHa+" "+(m.fontFamily||"sans-serif")):m.OHa&&(n.globalAlpha=q,n.fillStyle=m.OHa.textFill,k=m.OHa.fontSize+" "+m.OHa.fontFamily,n.font=k,n.font.replace(/\"/g,"'")!==k.replace(/\"/g,"'")&&(k=m.OHa.fontSize+" "+(n.font.split(" ")[1]||"sans-serif"),n.font=k));else if(l&&(t=l,"string"==typeof o&&(o=l.stroke&&"none"!==l.stroke?l.stroke:o),"string"==typeof p&&(p=l.fill&&"none"!==l.fill?m.NHa(l.fill,t["fill-opacity"]):p),r=l.strokeWidth?l.strokeWidth:r,s=l.strokeDasharray?l.strokeDasharray:s,a.core.UOb.isString(r)&&(u=a.core.UOb.asString(r,!0),u=u.replace("px",""),r=parseFloat(u))),null!=q&&"none"!==q&&(n.globalAlpha=q),e&&null!=p&&"transparent"!==p&&"none"!==p&&(n.fillStyle=this.applyColor(p,g),n.fill(h)),"none"!==o&&null!=o&&0!==r){switch(n.strokeStyle=this.applyColor(o,g),n.lineWidth=r,null!=s&&"none"!==s&&(s=s.match(/\d+(\.\d+)?/g),n.setLineDash(s)),i){case a.LineCap.Round:n.lineCap="round";break;case a.LineCap.Square:n.lineCap="square";break;case a.LineCap.Butt:n.lineCap="butt"}switch(j){case a.LineJoin.Round:n.lineJoin="round";break;case a.LineJoin.Bevel:n.lineJoin="bevel";break;case a.LineJoin.Miter:n.lineJoin="miter"}n.stroke()}},d.prototype.applyColor=function(a,c){var d=this.MHa.getContext("2d");if(null!=a)return"string"==typeof a?a:a instanceof b.bSb?(new b.F7a).applyCanvasGradient(d,a,c):a instanceof b.cSb?(new b.G7a).applyCanvasGradient(d,a,c):void 0},d.prototype.$Rb=function(a,b,c){var d,e,f=this.MHa.getContext("2d");(this.textDecoration.underline||this.textDecoration.lineThrough||this.textDecoration.overline)&&(d=c.width,e=c.height/1.5,this.textDecoration.underline&&this.drawLine(b.x,b.y,b.x+d,b.y,null,{stroke:""+f.fillStyle,strokeWidth:1,strokeDasharray:""}),this.textDecoration.lineThrough&&this.drawLine(b.x,b.y-e/2,b.x+d,b.y-e/2,null,{stroke:""+f.fillStyle,strokeWidth:1,strokeDasharray:""}),this.textDecoration.overline&&this.drawLine(b.x,b.y-e,b.x+d,b.y-e,null,{stroke:""+f.fillStyle,strokeWidth:1,strokeDasharray:""}))},d);function d(a,c,d){void 0===d&&(d=!0),this.qFa=1,this.tFa=1,this.yGa=null,this.zGa=null,this.TNa=NaN,this.a8a=null,this.b8a=null,this.HHa=null,this.KHa={},this.PRa=a,this.YRb=c;var e=this;e.MHa=document.createElement("canvas"),e.QHa=new b.oAa(a,new b.XRb),e.PRa.appendChild(e.MHa),e.RHa=d}b.pAa=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.startTransform=function(a){var b=this.MHa.getContext("2d");b.save(),null!=a&&Array.isArray(a)&&6===a.length&&b.transform(a[0],a[1],a[2],a[3],a[4],a[5])},d.prototype.endTransform=function(){this.MHa.getContext("2d").restore()},d.prototype.clone=function(){var a=new d(this.PRa,this.dSb);return a.opacity=this.opacity,a.fill=this.fill,a.stroke=this.stroke,a.strokeWidth=this.strokeWidth,a.strokeDasharray=this.strokeDasharray,a.textFill=this.textFill,a.fontFamily=this.fontFamily,a.fontSize=this.fontSize,a.fontWeight=this.fontWeight,a.fontStyle=this.fontStyle,a.textDecoration=this.textDecoration,a.devicePixelRatio=this.devicePixelRatio,a},Object.defineProperty(d.prototype,"opacity",{get:function(){return this.qFa},set:function(a){this.qFa=a},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"fill",{get:function(){return this.rFa},set:function(a){this.rFa=a},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"stroke",{get:function(){return this.sFa},set:function(a){this.sFa=a},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"strokeWidth",{get:function(){return this.tFa},set:function(a){this.tFa=a},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"strokeDasharray",{get:function(){return this.uFa},set:function(a){this.uFa=a},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"textFill",{get:function(){return this.SHa},set:function(a){this.SHa=a},enumerable:!0,configurable:!0}),Object.defineProperty(d.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(d.prototype,"fontFamily",{get:function(){return this.zGa},set:function(a){this.zGa=a},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"fontWeight",{get:function(){return this.a8a},set:function(a){this.a8a=a},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"fontStyle",{get:function(){return this.b8a},set:function(a){this.b8a=a},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"textDecoration",{get:function(){return this.d8a},set:function(a){this.d8a=a},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"devicePixelRatio",{get:function(){var a=window.devicePixelRatio?window.devicePixelRatio:1;return a=a<1?1:a,null==this.TNa||isNaN(this.TNa)||(a=this.TNa),a},set:function(a){isNaN(a)||null==a||(this.TNa=a)},enumerable:!0,configurable:!0}),d.prototype.beginRender=function(){var a,b=this.PRa;this.KHa={},a=window.getComputedStyle(b),this.OHa={fontSize:a.fontSize,fontFamily:a.fontFamily,textFill:a.color}},d.prototype.endRender=function(){},d.prototype.setViewportSize=function(a,b){var c=this.MHa,d=this.devicePixelRatio;c.width=a*d,c.height=b*d,c.style.width=a+"px",c.style.height=b+"px",c.getContext("2d").scale(d,d)},d.prototype.addClipRect=function(a,b){a&&b&&(this.KHa[b]=a)},d.prototype.drawPath=function(c,d,e,f,g,h){var i,j,k;c&&(i=this.MHa.getContext("2d"),i.save(),i.beginPath(),j=0,k=0,b.Path.each(c,function(a){switch(a.shift()){case"M":2==a.length&&(j=a[0],k=a[1]),i.moveTo.apply(i,a);break;case"L":2==a.length&&(j=a[0],k=a[1]),i.lineTo.apply(i,a);break;case"C":6==a.length&&(j=a[4],k=a[5]),i.bezierCurveTo.apply(i,a);break;case"A":!function(a,b,c,d,e,f,g,h,j){var k,l,m,n,o,p,q,r,s,t,u,v,w=Math.cos(e)*(a-h)/2+Math.sin(e)*(b-j)/2,x=-Math.sin(e)*(a-h)/2+Math.cos(e)*(b-j)/2,y=Math.pow(w,2)/Math.pow(c,2)+Math.pow(x,2)/Math.pow(d,2);1<y&&(c*=Math.sqrt(y),d*=Math.sqrt(y)),k=(f==g?-1:1)*Math.sqrt((Math.pow(c,2)*Math.pow(d,2)-Math.pow(c,2)*Math.pow(x,2)-Math.pow(d,2)*Math.pow(w,2))/(Math.pow(c,2)*Math.pow(x,2)+Math.pow(d,2)*Math.pow(w,2)));function z(a){return Math.sqrt(Math.pow(a[0],2)+Math.pow(a[1],2))}function A(a,b){return(a[0]*b[0]+a[1]*b[1])/(z(a)*z(b))}function B(a,b){return(a[0]*b[1]<a[1]*b[0]?-1:1)*Math.acos(A(a,b))}isNaN(k)&&(k=0),l=k*c*x/d,m=k*-d*w/c,n=(a+h)/2+Math.cos(e)*l-Math.sin(e)*m,o=(b+j)/2+Math.sin(e)*l+Math.cos(e)*m,p=B([1,0],[(w-l)/c,(x-m)/d]),q=[(w-l)/c,(x-m)/d],r=[(-w-l)/c,(-x-m)/d],s=B(q,r),A(q,r)<=-1&&(s=Math.PI),1<=A(q,r)&&(s=0),t=d<c?c:d,u=d<c?1:c/d,v=d<c?d/c:1,i.translate(n,o),i.rotate(e),i.scale(u,v),i.arc(0,0,t,p,p+s,1-g),i.scale(1/u,1/v),i.rotate(-e),i.translate(-n,-o)}(j,k,a[0],a[1],a[2],a[3],a[4],a[5],a[6]),7==a.length&&(j=a[5],k=a[6]);break;case"Q":4==a.length&&(j=a[2],k=a[3]),i.quadraticCurveTo.apply(i,a);break;case"Z":i.closePath()}}),this.LHa(void 0,h,g,!0,null,null,d===a.PathFillType.Evenodd?"evenodd":"nonzero",e,f),i.restore())},d.prototype.drawEllipse=function(b,c,d,e,f,g){var h,i=this.MHa.getContext("2d");i.save(),i.beginPath(),i.ellipse?i.ellipse(b,c,d,e,0,0,2*Math.PI):(i.translate(b,c),i.scale(1,e/d),i.translate(-b,-c),i.arc(b,c,d,0,2*Math.PI),i.scale(1,1)),h=new a.core.Rect(b-d,c-e,2*d,2*e),this.LHa(void 0,g,f,!0,null,h),i.restore()},d.prototype.drawRect=function(b,c,d,e,f,g,h){var i,j=this.MHa.getContext("2d");j.save(),this.JHa(j,h),j.beginPath(),j.rect(b,c,d,e),i=new a.core.Rect(b,c,d,e),this.LHa(void 0,g,f,!0,null,i),j.restore()},d.prototype.drawLine=function(b,c,d,e,f,g){var h,i,j,k,l,m=this.MHa.getContext("2d");m.save(),m.beginPath(),m.moveTo(b,c),m.lineTo(d,e),h=Math.min(b,d),i=Math.min(c,e),j=Math.max(b,d)-h,k=Math.max(c,e)-i,l=new a.core.Rect(h,i,j,k),this.LHa(void 0,g,f,null,null,l),m.restore()},d.prototype.drawLines=function(b,c,d,e,f){var g,h,i,j,k,l,m,n,o;if(b&&c&&0!==b.length&&0!==c.length){for(h=this.MHa.getContext("2d"),i=Math.min(b.length,c.length),h.save(),j=this.fill,this.fill="none",this.JHa(h,f),h.beginPath(),h.moveTo(b[0],c[0]),g=1;g<i;g++)h.lineTo(b[g],c[g]);k=Math.min.apply(Math,b),l=Math.min.apply(Math,c),m=Math.max.apply(Math,b)-k,n=Math.max.apply(Math,c)-l,o=new a.core.Rect(k,l,m,n),this.LHa(void 0,e,d,null,null,o),h.restore(),this.fill=j}},d.prototype.drawSplines=function(b,c,d,e,f){var g,h,i,j,k,l,m,n,o,p,q;if(b&&c&&0!==b.length&&0!==c.length){for(h=this.MHa.getContext("2d"),i=new a.THa(b,c).calculate(),j=i.xs,k=i.ys,l=Math.min(j.length,k.length),h.save(),this.JHa(h,f),h.beginPath(),h.moveTo(j[0],k[0]),g=1;g<l;g++)h.lineTo(j[g],k[g]);m=Math.min.apply(Math,b),n=Math.min.apply(Math,c),o=Math.max.apply(Math,b)-m,p=Math.max.apply(Math,c)-n,q=new a.core.Rect(m,n,o,p),this.LHa(void 0,e,d,null,null,q),h.restore()}},d.prototype.drawPolygon=function(b,c,d,e,f){var g,h,i,j,k,l,m,n;if(b&&c&&0!==b.length&&0!==c.length){for(h=this.MHa.getContext("2d"),i=Math.min(b.length,c.length),h.save(),this.JHa(h,f),h.beginPath(),h.moveTo(b[0],c[0]),g=1;g<i;g++)h.lineTo(b[g],c[g]);h.closePath(),j=Math.min.apply(Math,b),k=Math.min.apply(Math,c),l=Math.max.apply(Math,b)-j,m=Math.max.apply(Math,c)-k,n=new a.core.Rect(j,k,l,m),this.LHa(void 0,e,d,!0,null,n),h.restore()}},d.prototype.getPieBoundRect=function(b,c,d,e,f){var g,h,i,j,k,l,m,n;for(f<e&&(k=e,e=f,f=k),l=e;l<=f;l+=.01)new a.core.Point(b,c),m=b+d*Math.cos(l),n=c+d*Math.sin(l),(null==g||m<g)&&(g=m),(null==i||n<i)&&(i=n),(null==h||h<m)&&(h=m),(null==j||j<n)&&(j=n);return new a.core.Rect(g,i,h-g,j-i)},d.prototype.drawPieSegment=function(b,c,d,e,f,g,h,i){var j,k=this.MHa.getContext("2d"),l=e,m=e+f;k.save(),this.JHa(k,i),k.beginPath(),k.arc(b,c,d,l,m,!1),j=f<0?a.x7.mergeRect(this.getPieBoundRect(b,c,d,l,2*Math.PI),this.getPieBoundRect(b,c,d,0,m)):this.getPieBoundRect(b,c,d,l,m),this.LHa(void 0,h,g,!0,null,j),k.restore()},d.prototype.drawDonutSegment=function(b,c,d,e,f,g,h,i,j){var k,l,m,n,o=this.MHa.getContext("2d"),p=f,q=f+g;o.save(),this.JHa(o,j),o.beginPath(),d!=e?(n=g>=2*Math.PI,(k=new a.core.Point(b,c)).x+=e*Math.cos(p),k.y+=e*Math.sin(p),(l=new a.core.Point(b,c)).x+=e*Math.cos(q),l.y+=e*Math.sin(q),n?(o.arc(b,c,d,p,q,!1),o.moveTo(k.x,k.y)):(o.moveTo(k.x,k.y),o.arc(b,c,d,p,q,!1),o.lineTo(l.x,l.y)),o.arc(b,c,e,q,p,!0)):o.arc(b,c,d,p,q,!1),m=g<0?a.x7.mergeRect(this.getPieBoundRect(b,c,e,p,2*Math.PI),this.getPieBoundRect(b,c,d,p,2*Math.PI),this.getPieBoundRect(b,c,e,0,q),this.getPieBoundRect(b,c,d,0,q)):a.x7.mergeRect(this.getPieBoundRect(b,c,e,p,q),this.getPieBoundRect(b,c,d,p,q)),this.LHa(void 0,i,h,!0,null,m),o.restore()},d.prototype.drawString=function(a,b,c,d){var e,f;null!=a&&(e=this.MHa.getContext("2d"),e.save(),e.textBaseline="bottom",this.LHa(void 0,d,c,!0,!0),e.fillText(a.trim(),b.x,b.y),this.dSb.begin(e),f=this.ZRb(a),this.dSb.end(),this.$Rb(a.trim(),b,f),e.restore())},d.prototype.drawStringRotated=function(a,b,c,d,e,f){var g,h;null!=a&&(g=this.MHa.getContext("2d"),g.save(),g.textBaseline="bottom",g.translate(c.x,c.y),g.rotate(Math.PI/180*d),g.translate(-c.x,-c.y),this.LHa(void 0,f,e,!0,!0),g.fillText(a,b.x,b.y),this.dSb.begin(g),h=this.ZRb(a),this.dSb.end(),this.$Rb(a.trim(),b,h),g.restore())},d.prototype.measureString=function(a,b,c,d){var e,f=this.MHa.getContext("2d");return f.save(),this.LHa(null,null,b,!0,!0),this.dSb.begin(f),e=this.ZRb(a),this.dSb.end(),f.restore(),e},d.prototype.ZRb=function(b){var c="",d="",e="",f="";return null!=this.fontWeight&&(e=this.fontWeight),null!=this.fontStyle&&(f=a.FontStyle[this.fontStyle]?a.FontStyle[this.fontStyle]:""+this.fontStyle),this.HHa?(c=this.HHa,d=this.fontFamily||"sans-serif"):this.OHa&&(c=this.OHa.fontSize,d=this.OHa.fontFamily||"sans-serif"),this.dSb.measureString(b,c,d,e,f)},d.prototype.startGroup=function(a,b,c){void 0===c&&(c=!1);var d=this.MHa.getContext("2d");d.save(),this.JHa(d,b)},d.prototype.endGroup=function(){this.MHa.getContext("2d").restore()},d.prototype.drawImage=function(a,c,d,e,f,g){var h=this.MHa.getContext("2d"),i=new Image,j=this;i.onload=function(){b.aSb._Rb(g)?(j.startTransform(g),h.drawImage(i,c,d,e,f),j.endTransform()):h.drawImage(i,c,d,e,f)},i.src=a},d.prototype.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())},d.prototype.NHa=function(b,c){var d,e,f;return"none"==b&&(b="transparent"),d=a.core.o1a.fromCss(b),null!=d?(null!=c&&1===d.alpha&&(e=isNaN(c)?1:+c,d=new a.core.o1a(d.red,d.green,d.blue,e)),d.toCss()):(f=a.core.p1a.fromCss(b),null==f?b:(null!=c&&1===f.alpha&&(e=isNaN(c)?1:+c,f=new a.core.p1a(f.hue,f.saturation,f.lightness,e)),f.toCss()))},d.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},d.prototype.LHa=function(b,c,d,e,f,g,h,i,j){void 0===h&&(h="nonzero"),void 0===i&&(i=a.LineCap.Butt),void 0===j&&(j=a.LineJoin.Miter);var k,l=this,m=l.MHa.getContext("2d"),n="",o="",p=l.stroke,q=l.fill,r=l.opacity,s=l.strokeWidth,t=l.strokeDasharray;if(null!=l.fontWeight&&(n=l.fontWeight),null!=l.fontStyle&&(o=a.FontStyle[l.fontStyle]?a.FontStyle[l.fontStyle]:""+l.fontStyle),c&&void 0!==c.opacity&&(r=c.opacity),c&&void 0!==c.stroke&&(p=c.stroke),c&&void 0!==c.strokeDasharray&&(t=c.strokeDasharray),c&&void 0!==c.fill&&"string"==typeof c.fill&&(q=l.NHa(c.fill,c["fill-opacity"])),c&&void 0!==c.strokeWidth&&(s=c.strokeWidth),f)l.HHa?(m.globalAlpha=r,m.fillStyle=l.textFill,m.font=o+" "+n+" "+l.HHa+" "+(l.fontFamily||"sans-serif")):l.OHa&&(m.globalAlpha=r,m.fillStyle=l.OHa.textFill,k=o+" "+n+" "+l.OHa.fontSize+" "+l.OHa.fontFamily,m.font=k,m.font.replace(/\"/g,"'")!==k.replace(/\"/g,"'")&&(k=l.OHa.fontSize+" "+(m.font.split(" ")[1]||"sans-serif"),m.font=k));else if(null!=r&&"none"!==r&&(m.globalAlpha=r),e&&null!=q&&"transparent"!==q&&"none"!==q&&(m.fillStyle=this.applyColor(q,g),m.fill(h)),"none"!==p&&null!=p&&0!==s){switch(m.strokeStyle=this.applyColor(p,g),m.lineWidth=s,null!=t&&"none"!==t&&null!=(t=t.match(/\d+(\.\d+)?/g))&&"none"!==t&&m.setLineDash(t),i){case a.LineCap.Round:m.lineCap="round";break;case a.LineCap.Square:m.lineCap="square";break;case a.LineCap.Butt:m.lineCap="butt"}switch(j){case a.LineJoin.Round:m.lineJoin="round";break;case a.LineJoin.Bevel:m.lineJoin="bevel";break;case a.LineJoin.Miter:m.lineJoin="miter"}m.stroke()}},d.prototype.$Rb=function(a,b,c){var d,e,f=this.MHa.getContext("2d");(this.textDecoration.underline||this.textDecoration.lineThrough||this.textDecoration.overline)&&(d=c.width,e=c.height/1.5,this.textDecoration.underline&&this.drawLine(b.x,b.y,b.x+d,b.y,null,{stroke:""+f.fillStyle,strokeWidth:1,strokeDasharray:""}),this.textDecoration.lineThrough&&this.drawLine(b.x,b.y-e/2,b.x+d,b.y-e/2,null,{stroke:""+f.fillStyle,strokeWidth:1,strokeDasharray:""}),this.textDecoration.overline&&this.drawLine(b.x,b.y-e,b.x+d,b.y-e,null,{stroke:""+f.fillStyle,strokeWidth:1,strokeDasharray:""}))},d.prototype.applyColor=function(a,c){var d=this.MHa.getContext("2d");if(null!=a)return"string"==typeof a?a:a instanceof b.bSb?(new b.F7a).applyCanvasGradient(d,a,c):a instanceof b.cSb?(new b.G7a).applyCanvasGradient(d,a,c):void 0},d);function d(a,b){this.qFa=1,this.tFa=1,this.yGa=null,this.zGa=null,this.TNa=NaN,this.HHa=null,this.a8a=null,this.b8a=null,this.KHa={},this.PRa=a,this.dSb=b,this.MHa=document.createElement("canvas"),this.PRa.appendChild(this.MHa)}b.QRa=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.clone=function(){var a=new d(this.PRa,this.eSb);return a.opacity=this.opacity,a.fill=this.fill,a.stroke=this.stroke,a.strokeWidth=this.strokeWidth,a.strokeDasharray=this.strokeDasharray,a.textFill=this.textFill,a.fontFamily=this.fontFamily,a.fontSize=this.fontSize,a.fontWeight=this.fontWeight,a.fontStyle=this.fontStyle,a.textDecoration=this.textDecoration,a.devicePixelRatio=this.devicePixelRatio,a},d.prototype.beginRender=function(){for(;this._Ha.firstChild;)this._Ha.removeChild(this._Ha.firstChild);this.bIa=document.createElementNS(d.aIa,"defs"),this._Ha.appendChild(this.bIa),this._Ha.appendChild(this.eIa),this.$Ha={}},d.prototype.endRender=function(){null!=this.eIa.parentNode&&this._Ha.removeChild(this.eIa)},d.prototype.setViewportSize=function(b,c){a.ePb.dPb(null!=b&&0<b),a.ePb.dPb(null!=c&&0<c),this._Ha.setAttribute("width",""+b),this._Ha.setAttribute("height",""+c)},d.prototype.addClipRect=function(a,b){if(a&&b){var c=document.createElementNS(d.aIa,"clipPath"),e=document.createElementNS(d.aIa,"rect");e.setAttribute("x",a.left.toFixed(this.Fqb)),e.setAttribute("y",a.top.toFixed(this.Fqb)),e.setAttribute("width",a.width.toFixed(this.Fqb)),e.setAttribute("height",a.height.toFixed(this.Fqb)),c.appendChild(e),c.setAttribute("id",b),this._Ha.appendChild(c)}},d.prototype.drawPath=function(b,c,e,f,g,h){var i=document.createElementNS(d.aIa,"path");switch(null!=this.opacity&&i.setAttribute("opacity",""+this.opacity),null!==this.strokeWidth&&(i.setAttribute("stroke-width",this.strokeWidth.toFixed(this.Fqb)),0<this.strokeWidth&&(this.GDa(i,"stroke",this.stroke),null!==this.strokeDasharray&&i.setAttribute("stroke-dasharray",this.strokeDasharray))),this.GDa(i,"fill",this.fill),c==a.PathFillType.Evenodd&&i.setAttribute("fill-rule","evenodd"),e){case a.LineCap.Butt:break;case a.LineCap.Round:i.setAttribute("stroke-linecap","round");break;case a.LineCap.Square:i.setAttribute("stroke-linecap","square")}switch(f){case a.LineJoin.Miter:break;case a.LineJoin.Round:i.setAttribute("stroke-linejoin","round");break;case a.LineJoin.Bevel:i.setAttribute("stroke-linejoin","bevel")}return i.setAttribute("d",b),g&&i.setAttribute("class",g),this.GHa(i,h),this.gIa(i),i},d.prototype.drawEllipse=function(a,b,c,e,f,g){var h=document.createElementNS(d.aIa,"ellipse");return null!=this.opacity&&h.setAttribute("opacity",""+this.opacity),null!==this.strokeWidth&&(h.setAttribute("stroke-width",this.strokeWidth.toFixed(this.Fqb)),0<this.strokeWidth&&(this.GDa(h,"stroke",this.stroke),null!==this.strokeDasharray&&h.setAttribute("stroke-dasharray",this.strokeDasharray))),this.GDa(h,"fill",this.fill),h.setAttribute("cx",a.toFixed(this.Fqb)),h.setAttribute("cy",b.toFixed(this.Fqb)),h.setAttribute("rx",c.toFixed(this.Fqb)),h.setAttribute("ry",e.toFixed(this.Fqb)),f&&h.setAttribute("class",f),this.GHa(h,g),this.gIa(h),h},d.prototype.drawRect=function(a,b,c,e,f,g,h){var i=document.createElementNS(d.aIa,"rect");return this.GDa(i,"fill",this.fill),null!=this.opacity&&i.setAttribute("opacity",""+this.opacity),null!==this.strokeWidth&&(i.setAttribute("stroke-width",this.strokeWidth.toFixed(this.Fqb)),0<this.strokeWidth&&(this.GDa(i,"stroke",this.stroke),null!==this.strokeDasharray&&i.setAttribute("stroke-dasharray",this.strokeDasharray))),i.setAttribute("x",a.toFixed(this.Fqb)),i.setAttribute("y",b.toFixed(this.Fqb)),0<c&&c<this.Iqb?i.setAttribute("width",""+this.Iqb):i.setAttribute("width",c.toFixed(this.Fqb)),0<e&&e<this.Iqb?i.setAttribute("height",""+this.Iqb):i.setAttribute("height",e.toFixed(this.Fqb)),h&&i.setAttribute("clip-path","url(#"+h+")"),f&&i.setAttribute("class",f),this.GHa(i,g),this.gIa(i),i},d.prototype.drawLine=function(a,b,c,e,f,g){var h=document.createElementNS(d.aIa,"line");return null!=this.opacity&&h.setAttribute("opacity",""+this.opacity),null!==this.strokeWidth&&(h.setAttribute("stroke-width",this.strokeWidth.toFixed(this.Fqb)),0<this.strokeWidth&&(this.GDa(h,"stroke",this.stroke),null!==this.strokeDasharray&&h.setAttribute("stroke-dasharray",this.strokeDasharray))),h.setAttribute("x1",a.toFixed(this.Fqb)),h.setAttribute("x2",c.toFixed(this.Fqb)),h.setAttribute("y1",b.toFixed(this.Fqb)),h.setAttribute("y2",e.toFixed(this.Fqb)),f&&h.setAttribute("class",f),this.GHa(h,g),this.gIa(h),h},d.prototype.drawLines=function(a,b,c,e,f){var g,h,i,j;if(a&&b&&(g=Math.min(a.length,b.length),0<g)){for(h=document.createElementNS(d.aIa,"polyline"),null!=this.opacity&&h.setAttribute("opacity",""+this.opacity),null!==this.strokeWidth&&(h.setAttribute("stroke-width",this.strokeWidth.toFixed(this.Fqb)),0<this.strokeWidth&&(this.GDa(h,"stroke",this.stroke),null!==this.strokeDasharray&&h.setAttribute("stroke-dasharray",this.strokeDasharray))),h.setAttribute("fill","none"),i="",j=0;j<g;j++)i+=a[j].toFixed(this.Fqb)+","+b[j].toFixed(this.Fqb)+" ";return h.setAttribute("points",i),c&&h.setAttribute("class",c),f&&h.setAttribute("clip-path","url(#"+f+")"),this.GHa(h,e),this.gIa(h),h}return null},d.prototype.drawSplines=function(b,c,e,f,g){var h,i,j,k,l,m,n;if(b&&c&&(h=new a.THa(b,c).calculate(),i=h.xs,j=h.ys,k=Math.min(i.length,j.length),0<k)){for(l=document.createElementNS(d.aIa,"polyline"),null!=this.opacity&&l.setAttribute("opacity",""+this.opacity),null!==this.strokeWidth&&(l.setAttribute("stroke-width",this.strokeWidth.toFixed(this.Fqb)),0<this.strokeWidth&&(this.GDa(l,"stroke",this.stroke),null!==this.strokeDasharray&&l.setAttribute("stroke-dasharray",this.strokeDasharray))),l.setAttribute("fill","none"),m="",n=0;n<k;n++)m+=i[n].toFixed(this.Fqb)+","+j[n].toFixed(this.Fqb)+" ";return l.setAttribute("points",m),e&&l.setAttribute("class",e),g&&l.setAttribute("clip-path","url(#"+g+")"),this.GHa(l,f),this.gIa(l),l}return null},d.prototype.drawPolygon=function(a,b,c,e,f){var g,h,i,j;if(a&&b&&(g=Math.min(a.length,b.length),0<g)){for(h=document.createElementNS(d.aIa,"polygon"),null!=this.opacity&&h.setAttribute("opacity",""+this.opacity),null!==this.strokeWidth&&(h.setAttribute("stroke-width",this.strokeWidth.toFixed(this.Fqb)),0<this.strokeWidth&&(this.GDa(h,"stroke",this.stroke),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(this.Fqb)+","+b[j].toFixed(this.Fqb)+" ";return h.setAttribute("points",i),c&&h.setAttribute("class",c),f&&h.setAttribute("clip-path","url(#"+f+")"),this.GHa(h,e),this.gIa(h),h}return null},d.prototype.drawPieSegment=function(b,c,e,f,g,h,i,j){var k,l,m,n,o,p;return g>=2*Math.PI?(this.drawEllipse(b,c,e,e,h,i),null):(k=document.createElementNS(d.aIa,"path"),this.GDa(k,"fill",this.fill),null!=this.opacity&&k.setAttribute("opacity",""+this.opacity),null!==this.strokeWidth&&(k.setAttribute("stroke-width",this.strokeWidth.toFixed(this.Fqb)),0<this.strokeWidth&&(this.GDa(k,"stroke",this.stroke),null!==this.strokeDasharray&&k.setAttribute("stroke-dasharray",this.strokeDasharray))),l=new a.core.Point(b,c),l.x+=e*Math.cos(f),l.y+=e*Math.sin(f),m=f+g,n=new a.core.Point(b,c),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(this.Fqb)+","+l.y.toFixed(this.Fqb),p+=" A "+e.toFixed(this.Fqb)+","+e.toFixed(this.Fqb)+o,p+=n.x.toFixed(this.Fqb)+","+n.y.toFixed(this.Fqb),p+=" L "+b.toFixed(this.Fqb)+","+c.toFixed(this.Fqb)+" z",k.setAttribute("d",p),j&&k.setAttribute("clip-path","url(#"+j+")"),h&&k.setAttribute("class",h),this.GHa(k,i),this.gIa(k),null)},d.prototype.drawDonutSegment=function(b,c,e,f,g,h,i,j,k){var l,m,n,o,p,q,r,s,t,u;return e==f&&h>=2*Math.PI?(this.drawEllipse(b,c,e,e,i,j),null):(l=!1,(h>=2*Math.PI||Math.abs(h-2*Math.PI)<=.001)&&(l=!0,h=2*Math.PI-.001),m=document.createElementNS(d.aIa,"path"),this.GDa(m,"fill",this.fill),null!=this.opacity&&m.setAttribute("opacity",""+this.opacity),null!==this.strokeWidth&&(m.setAttribute("stroke-width",this.strokeWidth.toFixed(this.Fqb)),0<this.strokeWidth&&(this.GDa(m,"stroke",this.stroke),null!==this.strokeDasharray&&m.setAttribute("stroke-dasharray",this.strokeDasharray))),n=" 0 0,1 ",o=" 0 0,0 ",Math.abs(h)>Math.PI&&(n=" 0 1,1 ",o=" 0 1,0 "),p=g+h,q="",r=new a.core.Point(b,c),r.x+=e*Math.cos(g),r.y+=e*Math.sin(g),s=new a.core.Point(b,c),s.x+=e*Math.cos(p),s.y+=e*Math.sin(p),q+="M "+r.x.toFixed(3)+","+r.y.toFixed(3),q+=" A "+e.toFixed(3)+","+e.toFixed(3)+n,q+=s.x.toFixed(3)+","+s.y.toFixed(3),e!=f?(t=new a.core.Point(b,c),t.x+=f*Math.cos(p),t.y+=f*Math.sin(p),u=new a.core.Point(b,c),u.x+=f*Math.cos(g),u.y+=f*Math.sin(g),q+=l?" M "+t.x.toFixed(3)+","+t.y.toFixed(3):" L "+t.x.toFixed(3)+","+t.y.toFixed(3),q+=" A "+f.toFixed(3)+","+f.toFixed(3)+o,q+=u.x.toFixed(3)+","+u.y.toFixed(3),l||(q+=" z")):l&&(q+=" z"),m.setAttribute("d",q),k&&m.setAttribute("clip-path","url(#"+k+")"),i&&m.setAttribute("class",i),this.GHa(m,j),this.gIa(m),m)},d.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),this.eSb.begin(f),e=this.eSb.getBBox(),this.eSb.end(),f.setAttribute("y",(b.y-(e.top+e.height-b.y)).toFixed(this.Fqb)),f},d.prototype.drawStringRotated=function(a,b,c,e,f,g){var h,i,j=this.dIa(b,a);return f&&j.setAttribute("class",f),this.GHa(j,g),h=document.createElementNS(d.aIa,"g"),h.setAttribute("transform","rotate("+e.toFixed(this.Fqb)+","+c.x.toFixed(this.Fqb)+","+c.y.toFixed(this.Fqb)+")"),h.appendChild(j),this.gIa(h),this.eSb.begin(j),i=this.eSb.getBBox(),this.eSb.end(),j.setAttribute("y",(b.y-(i.top+i.height-b.y)).toFixed(this.Fqb)),j},d.prototype.measureString=function(b,c,d,e){var f,g,h,i=new a.core.Size(0,0);if(c&&this.cIa.setAttribute("class",c),d&&this.eIa.setAttribute("class",d),this.GHa(this.cIa,e),this.eSb.begin(this.cIa),i=this.eSb.measureString(b,this.fontSize,this.fontFamily,this.fontWeight,null!=this.fontStyle?a.FontStyle[this.fontStyle]:null),this.eSb.end(),this.cIa.removeAttribute("class"),e)for(f=0,g=a.x7.properties(e);f<g.length;f++)h=g[f],this.cIa.removeAttribute(this.jIa(h));return this.eIa.removeAttribute("class"),this.cIa.textContent=null,i},d.prototype.startTransform=function(a){var b=document.createElementNS(d.aIa,"g");null!=a&&Array.isArray(a)&&6===a.length&&b.style.setProperty("transform","matrix("+a.join(",")+")"),this.gIa(b),this.cb=b},d.prototype.endTransform=function(){this.endGroup()},d.prototype.startGroup=function(a,b,c){void 0===c&&(c=!1);var e=document.createElementNS(d.aIa,"g");return a&&e.setAttribute("class",a),b&&e.setAttribute("clip-path","url(#"+b+")"),this.gIa(e),c&&e.transform.baseVal.appendItem(this._Ha.createSVGTransform()),this.cb=e},d.prototype.endGroup=function(){if(this.cb){var a=this.cb.parentNode;a==this._Ha?this.cb=null:this.cb=a}},d.prototype.drawImage=function(a,b,c,e,f){var g=document.createElementNS(d.aIa,"image");return g.setAttributeNS(d.kIa,"href",a),g.setAttribute("x",b.toFixed(this.Fqb)),g.setAttribute("y",c.toFixed(this.Fqb)),g.setAttribute("width",e.toFixed(this.Fqb)),g.setAttribute("height",f.toFixed(this.Fqb)),g.setAttribute("preserveAspectRatio","none"),this.gIa(g),g},d.prototype.gIa=function(a){var b=this.cb;(b=b||this._Ha).appendChild(a)},d.prototype.iIa=function(a,b){var c,d,e,f=b?""+b:null;if(f&&0<=f.indexOf("tspan"))try{for(a.textContent=null,c=new DOMParser,d='<svg xmlns="http://www.w3.org/2000/svg">'+f+"</svg>",e=c.parseFromString(d,"text/xml").documentElement.firstChild;e;)a.appendChild(a.ownerDocument.importNode(e,!0)),e=e.nextSibling}catch(a){throw Error("Error parsing XML string.")}else a.textContent=f},d.prototype.dIa=function(b,c){var e,f=document.createElementNS(d.aIa,"text");return this.iIa(f,c),null!=this.textFill&&f.setAttribute("fill",this.textFill),f.setAttribute("x",b.x.toFixed(this.Fqb)),f.setAttribute("y",b.y.toFixed(this.Fqb)),this.fontSize&&f.setAttribute("font-size",this.fontSize),this.fontFamily&&f.setAttribute("font-family",this.fontFamily),this.fontWeight&&f.setAttribute("font-weight",this.fontWeight.toLowerCase()),this.fontStyle&&f.setAttribute("font-style",a.FontStyle[this.fontStyle].toLowerCase()),this.textDecoration&&(e=[],this.textDecoration.lineThrough&&e.push("line-through"),this.textDecoration.overline&&e.push("overline"),this.textDecoration.underline&&e.push("underline"),0<e.length&&f.setAttribute("text-decoration",e.join(" "))),f},d.prototype.GHa=function(b,c){var d,e,f,g,h;if(c)for(d=0,e=a.x7.properties(c);d<e.length;d++)f=e[d],g=c[f],null!=g&&"function"!=typeof g&&("fill"===f||"stroke"===f?this.GDa(b,f,c[f]):"fontWeight"===f?b.setAttribute("font-weight",g.toLowerCase()):"fontStyle"===f?b.setAttribute("font-style",a.FontStyle[g].toLowerCase()):"textDecoration"===f?(h=[],this.textDecoration.lineThrough&&h.push("line-through"),this.textDecoration.overline&&h.push("overline"),this.textDecoration.underline&&h.push("underline"),0<h.length&&b.setAttribute("text-decoration",h.join(" "))):"strokeWidth"===f?b.setAttribute("stroke-width",g):"fontSize"===f?b.setAttribute("font-size",g):"fontFamily"===f?b.setAttribute("font-family",g):"strokeDasharray"===f?b.setAttribute("stroke-dasharray",g):"color"===f?b.setAttribute("color",g):"opacity"===f?b.setAttribute("opacity",g):"_"==f.substring(0,1)||"constructor"==f||b.setAttribute(this.jIa(f),c[f]))},d.prototype.jIa=function(a){return a.replace(/[A-Z]/g,function(a){return"-"+a.toLowerCase()})},d.prototype.GDa=function(a,c,d){var e;null!=d&&("string"==typeof d&&a.setAttribute(c,d),d instanceof b.cSb&&(e=new b.G7a,a.setAttribute(c,"url(#"+e.applySvgGradient(this.bIa,d)+")")),d instanceof b.bSb&&(e=new b.F7a,a.setAttribute(c,"url(#"+e.applySvgGradient(this.bIa,d)+")")))},d.aIa="http://www.w3.org/2000/svg",d.kIa="http://www.w3.org/1999/xlink",d);function d(b,c){this.Fqb=3,this.Iqb=.001,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.fontWeight=null,this.fontStyle=null,this.$Ha={},this.PRa=b,this.eSb=c,this._Ha=document.createElementNS(d.aIa,"svg"),this.cIa=this.dIa(new a.core.Point((-1e3),(-1e3)),""),this.eIa=document.createElementNS(d.aIa,"g"),this.eIa.appendChild(this.cIa),this.PRa.appendChild(this._Ha),void 0===d.fIa&&(d.fIa=0<=navigator.userAgent.toLowerCase().indexOf("firefox"))}b.oAa=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.getValue=function(a,b){return a[b]},c);function c(){}a.VOb=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.HL=function(){return this.KAa},d.prototype._items=function(){return this.GAa},d.prototype.$z=function(){return this.DRa},d.prototype.H2a=function(){return this.F2a},d.prototype.ROa=function(){return this.cAa},d.prototype.MAa=function(c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q;for(d={},e=0,f=c;e<f.length;e++)for(g=f[e],h=0,i=a.x7.properties(g);h<i.length;h++)j=i[h],k=d[j],null==k&&(d[j]=k=new b.eBa(j)),l=k,m=b.VOb.getValue(g,j),k instanceof b.eBa&&(a.core.UOb.isNumber(m)?d[j]=l=new b.fBa(j):a.core.UOb.isString(m)?null==this.ROa().gBa(m)?d[j]=l=new b.hBa(j):d[j]=l=new b.iBa(j,this.ROa()):a.core.UOb.isDate(m)?d[j]=l=new b.iBa(j,this.ROa()):a.core.UOb.isBoolean(m)&&(d[j]=l=new b.jBa(j))),l instanceof b.fBa?(n=a.core.UOb.asNumber(m,!0),
- null!==n&&l.Sb(n)):l instanceof b.iBa?(o=null,null!=m&&null!==(o=m instanceof Date?m:this.ROa().gBa(""+m))&&l.Sb(o)):l instanceof b.hBa?(p=a.core.UOb.asString(m,!0),null!==p&&l.Sb(p)):l instanceof b.jBa&&(q=a.core.UOb.asBoolean(m,!0),null!==q&&l.Sb(q));return d},d.prototype.G2a=function(a,c){return b.I2a.T0(a,c)},d);function d(c,d,e){var f,g,h,i;for(this.KAa={},a.ePb.dPb(null!=c),this.GAa=c,a.ePb.dPb(null!=d),this.DRa=d,a.ePb.dPb(null!=e),this.F2a=e,this.cAa=new b.pRa(this.DRa.dateFormats),this.KAa=this.MAa(this._items()),f=0,g=e;f<g.length;f++)h=g[f],i=this.G2a(h,this.KAa),null!=i&&null==this.KAa[i.name]&&(this.KAa[i.name]=i)}b.qRa=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.onPending=function(a){},c.prototype.onStartAniamtion=function(a){},c.prototype.onEndAnimation=function(a){},c.prototype.onInterruptAnimation=function(a,b){this.onEndAnimation(b)},c.prototype.applyTransformation=function(a,b){},c.prototype.Reverse=function(){return null},c.prototype.oI=function(b,c){if(this.state==a.AnimationState.BeforeStart){if(this.state=a.AnimationState.Animating,this.onPending(c),this.duration+this.delay<=0)return void this.SG(c);this.ishiddenBeforeStart&&c.bz(!1),this.start=b+this.delay,this.Tyb(b,c)}},c.prototype.fSb=function(b){return this.state==a.AnimationState.Animating&&b<this.start},c.prototype.gSb=function(){return this.state==a.AnimationState.End},c.prototype.hSb=function(a){return a>=this.start&&a<this.start+this.duration},c.prototype.Tyb=function(b,c){this.state==a.AnimationState.Animating&&(this.hSb(b)?(this.isFirstRunning&&(c.bz(!0),this.onStartAniamtion(c),this.isFirstRunning=!1),this.applyTransformation(this.scale(b),c)):b>=this.start+this.duration&&(this.applyTransformation(1,c),this.SG(c)))},c.prototype.SG=function(b){this.state!==a.AnimationState.Animating&&this.state!=a.AnimationState.BeforeStart||(b.bz(!0),this.state=a.AnimationState.End,this.onEndAnimation(b))},c.prototype.iSb=function(b,c){this.state!==a.AnimationState.Animating&&this.state!=a.AnimationState.BeforeStart||(c.bz(!0),this.state=a.AnimationState.End,this.onInterruptAnimation(this.scale(b),c))},c.prototype.scale=function(a){return this.ease((a-this.start)/this.duration)},c);function c(){this.isFirstRunning=!0,this.ease=a.D1a.Linear,this.start=0,this.delay=0,this.duration=0,this.state=a.AnimationState.BeforeStart,this.ishiddenBeforeStart=!0}a.BaseAnimation=b}(dv=dv||{}),function(a){"use strict";var b=(c.Linear=function(a){return a},c.Swing=function(a){var b=1.70158;return(a/=.5)<1?a*a*((1+(b*=1.525))*a-b)*.5:.5*((a-=2)*a*((1+(b*=1.525))*a+b)+2)},c.EaseInQuad=function(a){return a*a},c.EaseOutQuad=function(a){return a*(2-a)},c.EaseInOutQuad=function(a){return a<.5?2*a*a:(4-2*a)*a-1},c.EaseInCubic=function(a){return a*a*a},c.EaseOutCubic=function(a){return--a*a*a+1},c.EaseInOutCubic=function(a){return a<.5?4*a*a*a:(a-1)*(2*a-2)*(2*a-2)+1},c.EaseInQuart=function(a){return a*a*a*a},c.EaseOutQuart=function(a){return 1- --a*a*a*a},c.EaseInOutQuart=function(a){return a<.5?8*a*a*a*a:1-8*--a*a*a*a},c.EaseInQuint=function(a){return a*a*a*a*a},c.EaseOutQuint=function(a){return 1+--a*a*a*a*a},c.EaseInOutQuint=function(a){return a<.5?16*a*a*a*a*a:1+16*--a*a*a*a*a},c.EaseInSine=function(a){return 1-Math.cos(a*(Math.PI/2))},c.EaseOutSine=function(a){return Math.sin(a*(Math.PI/2))},c.EaseInOutSine=function(a){return-.5*(Math.cos(Math.PI*a)-1)},c.EaseInExpo=function(a){return 0==a?0:Math.pow(2,10*(a-1))},c.EaseOutExpo=function(a){return 1==a?1:1-Math.pow(2,-10*a)},c.EaseInOutExpo=function(a){return(a/=.5)<1?.5*Math.pow(2,10*(a-1)):.5*(2-Math.pow(2,-10*--a))},c.EaseInCirc=function(a){return-(Math.sqrt(1-a*a)-1)},c.EaseOutCirc=function(a){return Math.sqrt(1-Math.pow(a-1,2))},c.EaseInOutCirc=function(a){return(a/=.5)<1?-.5*(Math.sqrt(1-a*a)-1):.5*(Math.sqrt(1-(a-=2)*a)+1)},c.EaseInBack=function(a){return a*a*(2.70158*a-1.70158)},c.EaseOutBack=function(a){return--a*a*(2.70158*a+1.70158)+1},c.EaseInOutBack=function(a){var b=1.70158;return(a/=.5)<1?a*a*((1+(b*=1.525))*a-b)*.5:.5*((a-=2)*a*((1+(b*=1.525))*a+b)+2)},c.EaseInBounce=function(a){return 1-c.EaseOutBounce(1-a)},c.EaseOutBounce=function(a){var b=7.5625;return a<1/2.75?b*a*a:a<2/2.75?b*(a-=1.5/2.75)*a+.75:a<2.5/2.75?b*(a-=2.25/2.75)*a+.9375:b*(a-=2.625/2.75)*a+.984375},c.EaseInOutBounce=function(a){return a<.5?.5*c.EaseInBounce(2*a):.5*c.EaseOutBounce(2*a-1)+.5},c.EaseInElastic=function(a){return-(Math.pow(2,10*--a)*Math.sin((a-.075)*(2*Math.PI)/.3))},c.EaseOutElastic=function(a){return Math.pow(2,-10*a)*Math.sin((a-.075)*(2*Math.PI)/.3)+1},c.EaseInOutElastic=function(a){return(a*=2)<1?Math.pow(2,10*--a)*Math.sin((a-.1125)*(2*Math.PI)/.45)*-.5:Math.pow(2,-10*--a)*Math.sin((a-.1125)*(2*Math.PI)/.45)*.5+1},c);function c(){}a.D1a=b}(dv=dv||{}),function(a){"use strict";var b;(b=a.AnimationKeyFramesType||(a.AnimationKeyFramesType={}))[b.Percentage=0]="Percentage",b[b.Pixel=1]="Pixel"}(dv=dv||{}),function(a){"use strict";var b;(b=a.AnimationState||(a.AnimationState={}))[b.BeforeStart=0]="BeforeStart",b[b.Animating=1]="Animating",b[b.End=2]="End"}(dv=dv||{}),function(a){"use strict";var b=(c.jSb=function(b,c,d,e){if(null!=b){b.duration=d,b.ease=a.x7.V1a(e.easing),e.staggering||(c=0);var f=null==e.startDelay?0:e.startDelay;b.delay=f+c}},c.CQb=function(b,c,d){if(null!=c&&null!=d&&null!=b){var e=a.AnimationManager.getInstance(d).DQb();null!=e&&e.handleHover(d,{view:b,Animation:c})}},c.kSb=function(b,c){if(null!=b&&null!=c){var d=a.AnimationManager.getInstance(c).DQb();return null!=d?d.findHoverAnimationBy(b):null}},c.lSb=function(b,c){if(null!=b&&null!=c){var d=a.AnimationManager.getInstance(c).DQb();return null!=d?d.stopHoverAnimationBy(b):void 0}},c.BQb=function(b,c){if(null!=b&&null!=c){var d=a.AnimationManager.getInstance(c).DQb();null!=d&&d.stopAllAnimationBy(c,b)}},c.mSb=function(b,c){return a.AnimationManager.getInstance(b).EQb().NR(b)[c]},c);function c(){}a.AnimationUtil=b}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),dv=dv||{},function(a){"use strict";var b=(c.prototype.nSb=function(){return this.onFrame},c.prototype.DQb=function(){return this.handler},c.prototype.EQb=function(){return this.updateAnimationStorage},c.prototype.zQb=function(){return this.hoverAnimationStorage},c.getInstance=function(b){return a.MRb.oSb(b.q4a().s4a()).QRb()},c.prototype.getAllPlotViewsBy=function(b){var c=b.model;return c instanceof a.kAa?c.E2a().map(function(a){return a.nPa()}).reduce(function(a,b){return a.push.apply(a,b),a},[]):null},c.prototype.URb=function(){var a,b,d,e,f=this.getAllPlotViewsBy(this.contorl);if(f)for(a=0,b=f;a<b.length;a++)d=b[a],e=c.pSb(d.f3a()),e&&e.prepareUpdateAnimation(d)},c.prototype.VRb=function(){var a,b,d,e,f;if(this.firstLoading){if(a=this.getAllPlotViewsBy(this.contorl))for(b=0,d=a;b<d.length;b++)e=d[b],f=c.qSb(e.f3a()),f&&f.prepareLoadingAnimation(e);this.firstLoading=!1}},c.addProcessor=function(b,c){var d=a.MRb.oSb(b.q4a().s4a());a.rSb.requestAnimationFrame(d,c)},c.qSb=function(b){var c=a.plugins.LoadingAnimationDefinitionPlugin.getPlugin(b.type);return null!=c?c.create(b):null},c.pSb=function(b){var c=a.plugins.UpdateAnimationDefinitionPlugin.getPlugin(b.type);return null!=c?c.create(b):null},c.sSb=function(b){var c=a.plugins.HoverAnimationDefinitionPlugin.getPlugin(b.type);return null!=c?c.create(b):null},c);function c(b){this.contorl=b,this.handler=new a.AnimationProcessPool,this.updateAnimationStorage=new a.UpdateAnimationStorage,this.onFrame=new a.AnimationOnFrame(b),this.hoverAnimationStorage=new a.HoverAnimationStorage,this.firstLoading=!0}a.AnimationManager=b}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.handleSepecific=function(b,c,d){var e,f,g,h,i,j,k,l,m,n;if(null!=c&&(f=b.yn(),0<c.length)){for(g=this.specificPool,h=a.CustomizedDate.start(),i=0,j=c;i<j.length;i++)(m=j[i]).Animation.oI(h,m.view);if(null!=g[f]){if(d){for(k=0,l=g[f];k<l.length;k++)(m=l[k]).Animation.SG(m.view);g[f]=c}else(e=g[f]).push.apply(e,c);return}g[f]=c,n=new a.SepecificHandlerCallback(g,f,b),a.AnimationManager.addProcessor(b,n)}},c.prototype.handleHover=function(b){var c,d,e,f,g,h,i,j;for(d=[],e=1;e<arguments.length;e++)d[e-1]=arguments[e];if(null!=d&&0<d.length){for(f=Date.now(),g=0,h=d;g<h.length;g++)i=h[g],i.Animation.oI(f,i.view);if(0<this.hoverPool.length)return void(c=this.hoverPool).push.apply(c,d);this.hoverPool=d,j=new a.GeneralHandlerCallback(this.hoverPool,b),a.AnimationManager.addProcessor(b,j)}},c.prototype.findHoverAnimationBy=function(a){var b,c,d;if(0<this.hoverPool.length)for(b=0,c=this.hoverPool;b<c.length;b++)if(d=c[b],d.view===a&&!d.Animation.gSb())return d;return null},c.prototype.stopHoverAnimationBy=function(a){var b,c,d;if(0<this.hoverPool.length)for(b=0,c=this.hoverPool;b<c.length;b++)if(d=c[b],d.view===a&&!d.Animation.gSb())return d.Animation.SG(a),d;return null},c.prototype.stopAllAnimationBy=function(a,b){var c,d,e,f,g,h;for(c=this.hoverPool,d=0,e=c;d<e.length;d++)(h=e[d]).view===b&&h.Animation.SG(b);if(c=this.specificPool[a.yn()])for(f=0,g=c;f<g.length;f++)(h=g[f]).view===b&&h.Animation.SG(b)},c.prototype.interruptSepecificAnimationBy=function(b){var c,d,e,f,g=this.specificPool[b.yn()];if(null!=g)for(c=a.CustomizedDate.now(),d=0,e=g;d<e.length;d++)f=e[d],f.Animation.iSb(c,f.view)},c);function c(){this.specificPool={},this.hoverPool=[]}a.AnimationProcessPool=b}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.tSb=function(){var b,c,d,e,f,g;for(b=this.infos,c=b.length,d=Date.now(),e=0;e<c;++e)f=b[e].view,g=b[e].Animation,g.Tyb(d,f),g.gSb()&&(b[e]=b[c-1],b.pop(),--c,--e);0<b.length&&a.AnimationManager.addProcessor(this.plot,this)},c);function c(a,b){this.infos=a,this.plot=b}a.GeneralHandlerCallback=b}(dv=dv||{}),dv=dv||{},function(a){"use strict";var b=(c.prototype.tSb=function(){var b,c,d,e,f,g;for(b=this.map[this.id],c=b.length,d=a.CustomizedDate.now(),e=0;e<c;++e)f=b[e].view,g=b[e].Animation,g.Tyb(d,f),g.gSb()&&(b[e]=b[c-1],b.pop(),--c,--e);0<b.length?a.AnimationManager.addProcessor(this.plot,this):delete this.map[this.id]},c);function c(a,b,c){this.map=a,this.id=b,this.plot=c}a.SepecificHandlerCallback=b}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.getId=function(a){return a.yn()},c.prototype.$b=function(){this.cache={}},c.prototype.NR=function(a){if(null!=a){var b=this.getId(a);if(null!=b)return this.cache[b]}return null},c.prototype.R6=function(a,b){if(null!=a){var c=this.getId(a);this.cache[c]=b}return null},c);function c(){this.cache={},this.cache={}}a.HoverAnimationStorage=b}(dv=dv||{}),function(a){"use strict";var b=(c.isTestMode=!1,c.pastTime=500,c);function c(){}a.AnimationTestConfig=b}(dv=dv||{}),function(a){"use strict";var b=(c.start=function(){return a.AnimationTestConfig.isTestMode&&null!=a.AnimationTestConfig.pastTime?0:Date.now()},c.now=function(){return a.AnimationTestConfig.isTestMode&&null!=a.AnimationTestConfig.pastTime?a.AnimationTestConfig.pastTime:Date.now()},c);function c(){}a.CustomizedDate=b}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.add=function(a,b){0==this.callbackList.length&&window.requestAnimationFrame(this.flush.bind(this)),this.callbackList.push(b)},c.prototype.flush=function(){var a,b,c,d=this.callbackList;for(this.callbackList=[],a=0,b=d;a<b.length&&(c=b[a],null!=c);a++)c.tSb();d.length=0,this.control.invalidate()},c);function c(a){this.callbackList=[],this.control=a}a.AnimationOnFrame=b}(dv=dv||{}),dv=dv||{},function(a){a.plugins||(a.plugins={})}(dv=dv||{}),function(a){"use strict";var b=(c.requestAnimationFrame=function(a,b){var d=c.callbacklist,e=c.controlList;0==d.length&&window.requestAnimationFrame(c.frameCallBack),d.push(b),-1==e.indexOf(a)&&e.push(a)},c.frameCallBack=function(a){var b,d,e,f,g,h,i=c.callbacklist,j=c.controlList;for(c.controlList=[],c.callbacklist=[],b=0,d=i;b<d.length&&(e=d[b],null!=e);b++)e.tSb();for(f=0,g=j;f<g.length;f++)h=g[f],h&&h.invalidate();j.length=0,i.length=0},c.callbacklist=[],c.controlList=[],c);function c(){}a.rSb=b}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.register=function(b){if(null==b)throw a.PluginErrors.EmptyPluginError();this.r8a=b},c.unregister=function(){this.r8a=null},c.hasRegistered=function(){return null!=this.r8a},c.uSb=function(){if(null==this.r8a)throw a.PluginErrors.EmptyPluginError();return this.r8a},c);function c(){}a.RequestAnimationFramePlugin=b}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.FQb=function(b,c){if(null==this.plotView||null==this.definition)return null;if(null==b)return null;b=b.filter(function(b){return null!=b.yn()&&b instanceof a.MIa&&b.bz()});var d=c.NR(this.plotView);return null!=d?this.createInfosBy(d,b):null},c.prototype.createInfosBy=function(b,c){var d,e,f,g,h,i,j,k,l=a.UpdateAnimationStorage.pack(c),m=a.x7.properties(b),n=[];for(null==l&&(l={}),d=0,e=m;d<e.length;d++)f=b[j=e[d]],g=l[j],null!=f&&n.push({from:f,to:g});for(h=0,i=m=a.x7.properties(l);h<i.length;h++)j=i[h],a.x7.hasProperty(b,j)||(k=l[j],null!=k&&n.push({from:null,to:k}));return n},c);function c(a,b){this.plotView=a,this.definition=b}a.UpdateAnimationAnalyzer=b}(dv=dv||{}),function(a){"use strict";var b=(c.pack=function(a){var b,c,d,e;if(null==a)return null;for(b={},c=0,d=a;c<d.length;c++)e=d[c],b[e.yn()]=e;return b},c.prototype.iT=function(){for(var b=0,c=0,d=a.x7.properties(this.xn);c<d.length;c++)if(d[c],0<++b)return!1;return!0},c.prototype.$b=function(){this.xn={}},c.prototype.NR=function(a){if(null!=a)return this.xn[a.yn()]},c.prototype.R6=function(a,b){null!=a&&(this.xn[a.yn()]=b)},c);function c(){this.xn={}}a.UpdateAnimationStorage=b}(dv=dv||{}),function(a){!function(a){"use strict";var b=function(a,b){this.children=null,this.values=[],this.order=a,this.key=b},c=(d.prototype.addData=function(){var a,b,c,d,e;for(a=[],b=0;b<arguments.length;b++)a[b]=arguments[b];for(c=0,d=a;c<d.length;c++)e=d[c],this.datas.push(e)},d.prototype.addUnit=function(){var a,b,c,d,e;for(a=[],b=0;b<arguments.length;b++)a[b]=arguments[b];for(c=0,d=a;c<d.length;c++)e=d[c],this.units.push(e)},d.prototype.getTree=function(a,c){var d,e,f,g,h,i,j,k,l,m,n;if(a>=this.units.length)return null;for(d={},e=this.units[a],f=[],g=0,h=c;g<h.length;g++)i=h[g],j=e(i),k=d[j],null==k&&(k=new b((this.order++),j),d[j]=k,f.push(k)),k.values.push(i);for(l=0,m=f;l<m.length;l++)n=m[l],a===this.units.length-1?(this.groups.push(n.values),n.children=null):n.children=this.getTree(a+1,n.values);return f},d.prototype.classify=function(){return this.groups=[],this.order=0,this.getTree(0,this.datas),this.groups},d);function d(){this.units=[],this.datas=[]}a.Classifier=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.KGa=function(a){var b=this.nOa.s4a().OOa(),c=this.nOa.sPa();return a&&this.nOa.sPa(c+1),b.getColor(c)},c.prototype.zAa=function(a){return a instanceof c&&this.nOa==a.nOa},c.prototype.queryInterface=function(a){return null},c);function c(a){this.nOa=a}a.GlobalColorIterator=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.zAa=function(a){if(a instanceof d){if(a==this)return!0;if(this.CAa.length==a.CAa.length){for(var b=0;b<this.CAa.length;++b)if(!this.CAa[b].zAa(a.CAa[b]))return!1;return!0}}return!1},d.prototype.getColor=function(c){if(null==this.CAa||0==this.CAa.length)return"grey";var d=this.CAa[c%this.CAa.length];return d.type==a.ColorOptionType.Linear?this.vSb(b.bSb.wSb(d),c):d.type==a.ColorOptionType.Radial?this.xSb(b.cSb.wSb(d),c):d.type==a.ColorOptionType.CssColor?this.ySb(d.color,c):"grey"},d.prototype.ySb=function(b,c){var d=a.core.ica.fromCss(b),e=this.BAa[Math.floor(c/this.CAa.length)%this.BAa.length];return a.core.ica.tint(d,e).toCss()},d.prototype.vSb=function(a,c){var d,e,f,g;for(d=[],e=0,f=a.colorStops;e<f.length;e++)g=f[e],d.push(new b.zSb(this.ySb(g.color,c),g.stop));return new b.bSb(a.degree,d)},d.prototype.xSb=function(a,c){var d,e,f,g;for(d=[],e=0,f=a.colorStops;e<f.length;e++)g=f[e],d.push(new b.zSb(this.ySb(g.color,c),g.stop));return new b.cSb(a.start,a.startRadius,a.end,a.endRadius,d)},d);function d(b){this.BAa=[0,-.5,.5,-.25,.25],a.ePb.dPb(null!=b&&Array.isArray(b)),this.CAa=b}b.Wza=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.Standard=["#88bde6","#fbb258","#90cd97","#f6aac9","#bfa554","#bc99c7","#eddd46","#f07e6e","#8c8c8c"],c.Cocoa=["#466bb0","#c8b422","#14886e","#b54836","#6e5944","#8b3872","#73b22b","#b87320","#141414"],c.Coral=["#84d0e0","#f48256","#95c78c","#efa5d6","#ba8452","#ab95c2","#ede9d0","#e96b7d","#888888"],c.Dark=["#005fad","#f06400","#009330","#e400b1","#b65800","#6a279c","#d5a211","#dc0127","#000000"],c.HighContrast=["#ff82b0","#0dda2c","#0021ab","#bcf28c","#19c23b","#890d3a","#607efd","#1b7700","#000000"],c.Light=["#ddca9a","#778deb","#cb9fbb","#b5eae2","#7270be","#a6c7a7","#9e95c7","#95b0c7","#9b9b9b"],c.Midnight=["#83aaca","#e37849","#14a46a","#e097da","#a26d54","#a584b7","#d89c54","#e86996","#2c343b"],c.Modern=["#2d9fc7","#ec993c","#89c235","#e377a4","#a68931","#a672a6","#d0c041","#e35855","#68706a"],c.Organic=["#9c88d9","#a3d767","#8ec3c0","#e9c3a9","#91ab36","#d4ccc0","#61bbd8","#e2d76f","#80715a"],c.Slate=["#7493cd","#f99820","#71b486","#e4a491","#cb883b","#ae83a4","#bacc5c","#e5746a","#505d65"],c.Zen=["#7bb5ae","#e2d287","#92b8da","#eac4cb","#7b8bbd","#c7d189","#b9a0c8","#dfb397","#a9a9a9"],c.Cyborg=["#2a9fd6","#77b300","#9933cc","#ff8800","#cc0000","#00cca3","#3d6dcc","#525252","#000000"],c.Superhero=["#5cb85c","#f0ad4e","#5bc0de","#d9534f","#9f5bde","#46db8c","#b6b86e","#4e5d6c","#2b3e4b"],c.Flatly=["#18bc9c","#3498db","#f39c12","#6cc1be","#99a549","#8f54b5","#e74c3c","#8a9899","#2c3e50"],c.Darkly=["#375a7f","#00bc8c","#3498db","#f39c12","#e74c3c","#8f61b3","#b08725","#4a4949","#000000"],c.Cerulan=["#033e76","#87c048","#59822c","#53b3eb","#fc6506","#d42323","#e3bb00","#cccccc","#222222"],c.Office=["#5b9bd5","#ed7d31","#a5a5a5","#ffc000","#4472c4","#70ad47"],c.Office2010=["#4f81bd","#c0504d","#9bbb59","#8064a2","#4bacc6","#f79646"],c.Grayscale=["#dddddd","#b2b2b2","#969696","#808080","#5f5f5f","#4d4d4d"],c.BlueWarm=["#4a66ac","#629dd1","#297fd5","#7f8fa9","#5aa2ae","#9d90a0"],c.Blue=["#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249"],c.Blue2=["#1cade4","#2683c6","#27ced7","#42ba97","#3e8853","#62a39f"],c.BlueGreen=["#3494ba","#58b6c0","#75bda7","#7a8c8e","#84acb6","#2683c6"],c.Green=["#549e39","#8ab833","#c0cf3a","#029676","#4ab5c4","#0989b1"],c.GreenYellow=["#99cb38","#63a537","#37a76f","#44c1a3","#4eb3cf","#51c3f9"],c.Yellow=["#ffca08","#f8931d","#ce8d3e","#ec7016","#e64823","#9c6a6a"],c.YellowOrange=["#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529"],c.Orange=["#e48312","#bd582c","#865640","#9b8357","#c2bc80","#94a088"],c.OrangeRed=["#d34817","#9b2d1f","#a28e6a","#956251","#918485","#855d5d"],c.RedOrange=["#e84c22","#ffbd47","#b64926","#ff8427","#cc9900","#b22600"],c.Red=["#a5300f","#d55816","#e19825","#b19c7d","#7f5f52","#b27d49"],c.RedViolet=["#e32d91","#c830cc","#4ea6dc","#4775e7","#8971e1","#d54773"],c.Violet=["#ad84c6","#8784c7","#5d739a","#6997af","#84acb6","#6f8183"],c.Violet2=["#92278f","#9b57d3","#755dd9","#665eb8","#45a5ed","#5982db"],c.Median=["#94b6d2","#dd8047","#a5ab81","#d8b25c","#7ba79d","#968c8c"],c.Paper=["#a5b592","#f3a447","#e7bc29","#d092a7","#9c85c0","#809ec2"],c.Marquee=["#418ab3","#a6b727","#f69200","#838383","#fec306","#df5327"],c.Slipstream=["#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124"],c.Aspect=["#f07f09","#9f2936","#1b587c","#4e8542","#604878","#c19859"],c);function c(){}a.Xza=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.sPa=function(a){return arguments.length<=0?this.BDa:void(null!=a&&(this.BDa=a))},c.prototype.KGa=function(a){var b=this.BDa;return a&&this.BDa++,this.ASb.getColor(b)},c.prototype.zAa=function(a){return a instanceof c&&(a==this||this.ASb.zAa(a.ASb))},c.prototype.queryInterface=function(a){return null},c);function c(b){this.BDa=0,this.ASb=new a.Wza(b)}a.BSb=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){!function(){"use strict";function b(a,b){this.color=a,this.stop=b}(a.models||(a.models={})).zSb=b}()}(dv=dv||{}),function(a){!function(a){"use strict";var b=(Object.defineProperty(c.prototype,"isTransparent",{get:function(){return"transparent"==this.oCa||"none"==this.oCa||"#00000000"==this.oCa||"rgba(0,0,0,0)"==this.oCa},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"color",{get:function(){return this.oCa},enumerable:!0,configurable:!0}),c);function c(b){this.type=a.ColorType.CssColor,this.oCa=b}a.CSb=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.wSb=function(b){var d=b.colorStops.map(function(b){return new a.zSb(b.color,b.stop)});return new c(b.angle,d)},Object.defineProperty(c.prototype,"degree",{get:function(){return this.e8a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"colorStops",{get:function(){return this.I8a},enumerable:!0,configurable:!0}),c);function c(b,c){this.I8a=[],this.type=a.ColorType.LinearGradient,this.isTransparent=!1,this.e8a=b,this.I8a=c}a.bSb=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.wSb=function(c){var e=c,f=new a.core.Point(e.x0,e.y0),g=new a.core.Point(e.x1,e.y1),h=c.colorStops.map(function(a){return new b.zSb(a.color,a.stop)});return new d(f,e.r0,g,e.r1,h)},Object.defineProperty(d.prototype,"start",{get:function(){return this.IMa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"startRadius",{get:function(){return this.f8a},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"end",{get:function(){return this.JMa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"endRadius",{get:function(){return this.g8a},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"colorStops",{get:function(){return this.I8a},enumerable:!0,configurable:!0}),d);function d(a,c,d,e,f){if(this.I8a=[],this.type=b.ColorType.RadialGradient,this.isTransparent=!1,this.IMa=a,this.f8a=c,this.JMa=d,this.g8a=e,this.I8a=f,0==c&&0==e&&"transparent"!=f[f.length-1].color){var g=new b.zSb("transparent",1);this.colorStops.push(g)}}b.cSb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b;(b=a.ColorType||(a.ColorType={}))[b.CssColor=0]="CssColor",b[b.LinearGradient=1]="LinearGradient",b[b.RadialGradient=2]="RadialGradient"}(a.models||(a.models={}))}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.inject=function(a){var b,c,d;for(b=0,c=this.DSb;b<c.length;b++)d=c[b].queryInterface("IInjectablePlugin"),null!=d&&d.inject(a)},d.prototype.build=function(a,b,c){var d,e,f,g,h;for(d=0,e=this.DSb;d<e.length;d++)if(f=e[d],f.type==b&&(g=f.queryInterface("IDefinitionPlugin"),null!=g&&(h=g.build(a,c),null!=h)))return h;return null},d);function d(b){var c,d,e,f,g;for(this.DSb=[],d=0,e=b;d<e.length;d++)f=e[d],g=a.plugins.PluginCollection.defaultPluginCollection.plugin(f.type,f.name),g=g.sort(function(a,b){return b.priority-a.priority}),(c=this.DSb).push.apply(c,g)}b.ConfigPluginCollection=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.T0=function(c,e){var f,g,h;return"string"==typeof c.field&&(f=a.TOb.splitStringWithEscape(c.field,","),g=null!=c.label?c.label.split(","):[],0<f.length&&(h=b.M2a.T0(f[0],e),null!=h))?(0<g.length&&h.wLa(g[0]),new d(h,a.core.UOb.isNullEnum(c.aggregate)?a.Aggregate.List:c.aggregate)):null},d.prototype.N2a=function(){return this.L2a},d.prototype.sOa=function(){return this.AGa},Object.defineProperty(d.prototype,"name",{get:function(){return this.N2a().Cj()},enumerable:!0,configurable:!0}),d.prototype.lCa=function(b){var c=this.sOa();return c!=a.Aggregate.List?this.N2a().field.sOa(b,c):this.N2a().field.lCa(b)},d.prototype.zAa=function(a){if(this==a)return!0;if(null==a)return!1;if(a instanceof d){if(null==this.N2a()){if(null!=a.N2a())return!1}else if(!this.N2a().equals(a.N2a()))return!1;return this.sOa()==a.sOa()}return!1},d);function d(a,b){this.L2a=a,this.AGa=b}b.O2a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(Object.defineProperty(c.prototype,"coordinateSystemType",{get:function(){return this.ESb},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"hAlign",{get:function(){return this.xGa},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"vAlign",{get:function(){return this.f9a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"plotDefinitions",{get:function(){return this.FSb},set:function(a){this.FSb=a},enumerable:!0,configurable:!0}),c.prototype.queryInterface=function(a){return"ICoordinateSystemDefinition"==a?this:null},c);function c(a,b,c){this.FSb=[],this.ESb=a,this.xGa=b,this.f9a=c}a.GSb=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.f3a=function(){return this.I4a},c.prototype.queryInterface=function(a){return this.f3a().queryInterface(a)},c);function c(a){this.I4a=a}a.HSb=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.GSb,__extends(d,b),d.prototype.queryInterface=function(c){return"ICoordinateSystemViewBuilder"==c?new a.ISb(this):b.prototype.queryInterface.call(this,c)},d);function d(a,c,d){return b.call(this,a,c,d)||this}a.JSb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.HSb,__extends(e,c),e.prototype.build=function(b){return new a.Cab(b,this.f3a())},e);function e(a){return c.call(this,a)||this}b.ISb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.GSb,__extends(d,b),d.prototype.queryInterface=function(c){return"ICoordinateSystemViewBuilder"==c?new a.KSb(this):b.prototype.queryInterface.call(this,c)},d);function d(a,c,d){return b.call(this,a,c,d)||this}a.LSb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.HSb,__extends(e,c),e.prototype.build=function(b){return new a.Eab(b,this.f3a())},e);function e(a){return c.call(this,a)||this}b.KSb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.GSb,__extends(d,b),d.prototype.queryInterface=function(c){return"ICoordinateSystemViewBuilder"==c?new a.MSb(this):b.prototype.queryInterface.call(this,c)},d);function d(a,c,d){return b.call(this,a,c,d)||this}a.NSb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.HSb,__extends(e,c),e.prototype.build=function(b){return new a.Gab(b,this.f3a())},e);function e(a){return c.call(this,a)||this}b.MSb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.GSb,__extends(d,b),d.prototype.queryInterface=function(b){return"ICoordinateSystemViewBuilder"==b?new a.OSb(this):null},d);function d(a,c,d){return b.call(this,a,c,d)||this}a.PSb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.HSb,__extends(e,c),e.prototype.build=function(b){return new a.Iab(b,this.f3a())},e);function e(a){return c.call(this,a)||this}b.OSb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(Object.defineProperty(c.prototype,"option",{get:function(){return this.eAa},enumerable:!0,configurable:!0}),c.prototype.queryInterface=function(a){return null},c);function c(a){this.eAa=a}a.QSb=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.cb=function(){return this.BGa},c.prototype.HSa=function(){return this.LSa},c.prototype.Q2a=function(){return this.P2a},c.prototype.zAa=function(a){if(this==a)return!0;if(null==a)return!1;if(null==this.Q2a()){if(null!=a.Q2a())return!1}else if(!this.Q2a().zAa(a.Q2a()))return!1;return this.HSa()==a.HSa()&&this.cb()==a.cb()},c);function c(a,b,c){this.LSa=b,this.BGa=a,this.P2a=c}a.R2a=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.R2a,__extends(e,c),e.T0=function(c,d){var f,g,h,i,j;return null==c.field?null:(g=c.sort,f=null==g?null:null!=g.field?b.T2a.T0(g,d):b.U2a.T0(g.order),h=a.TOb.splitStringWithEscape(c.field,">"),i=null!=c.label?c.label.split(","):[],0<h.length&&(j=b.M2a.T0(h[0],d),null!=j)?(0<i.length&&j.wLa(i[0]),new e(j,c.group,(!!c.excludeNulls),f)):null)},e.prototype.N2a=function(){return this.L2a},e.prototype.V2a=function(a){var c,d,e=this,f=this.Q2a();return null==f?a:(c=a.slice(),f instanceof b.T2a?(d=f,c.sort(function(a,b){return d.rOa().e4(a,b)})):f instanceof b.U2a&&c.sort(function(a,b){return e.N2a().field.e4(a,b)}),f.RSb||c.reverse(),c)},e.prototype.zAa=function(a){if(this==a)return!0;if(null==a)return!1;if(a instanceof e){if(null==this.N2a()){if(null!=a.N2a())return!1}else if(!this.N2a().equals(a.N2a()))return!1;return c.prototype.zAa.call(this,a)}return!1},e);function e(a,b,d,e){var f=c.call(this,b,d,e)||this;return f.L2a=a,f}b.W2a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.R2a,__extends(e,c),e.T0=function(c,d){var f,g,h,i,j,k,l;if(null==c.field)return null;for(g=c.sort,f=null==g?null:null!=g.field?b.T2a.T0(g,d):b.U2a.T0(g.order),h=[],i=0,j=a.TOb.splitStringWithEscape(c.field,">");i<j.length;i++)k=j[i],l=b.M2a.T0(k,d),null!=l&&h.push(l);return 0<h.length?new e(h,c.group,(!!c.excludeNulls),f):null},e.prototype.Y2a=function(){return this.X2a},e.prototype.V2a=function(a){var c,d,e=this,f=this.Q2a();return null==f?a:(c=a.slice(),f instanceof b.T2a?(d=f,c.sort(function(a,b){return d.rOa().e4(a,b)})):f instanceof b.U2a&&c.sort(function(a,b){return e.Y2a()[0].field.e4(a,b)}),f.RSb||c.reverse(),c)},e.prototype.zAa=function(a){var b,d,f;if(this==a)return!0;if(null==a)return!1;if(a instanceof e){if(this.Y2a().length!=a.Y2a().length)return!1;for(b=0;b<this.Y2a().length;b++)if(d=this.Y2a()[b],f=a.Y2a()[b],null==d){if(null!=f)return!1}else if(!d.equals(f))return!1;return c.prototype.zAa.call(this,a)}return!1},e);function e(a,b,d,e){var f=c.call(this,b,d,e)||this;return f.X2a=null==a?[]:a,f}b.Z2a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.T0=function(c,e){var f,g,h,i,j,k,l;if(null==c.field)return null;for(g=c.sort,f=null==g?null:null!=g.field?b.T2a.T0(g,e):b.U2a.T0(g.order),h=[],i=a.TOb.splitStringWithEscape(c.field,">"),j=null!=c.label?c.label.split(","):[],k=0;k<i.length;k++)l=b.M2a.T0(i[k],e),null!=l&&(k<j.length&&l.wLa(j[k]),h.push(l));return h.reverse(),0<h.length?new d(h,f,(!!c.excludeNulls)):null},d.prototype.a3a=function(){return this._2a},d.prototype.Q2a=function(){return this.P2a},d.prototype.HSa=function(){return this.LSa},d.prototype.jPb=function(){return d.SSb},d.prototype.PY=function(){return this.Svb},d.prototype.Cj=function(){return this.a3a()[0].Cj()},d.prototype.wLa=function(){return this.a3a()[0].wLa()},d.prototype.b3a=function(a,c){return(new b.USb).TSb(this,a,c)},d.prototype.V2a=function(a){var c,d,e=this,f=this.Q2a();return null==f?a:(c=a.slice(),f instanceof b.T2a?(d=f,c.sort(function(a,b){return d.rOa().e4(a,b)})):f instanceof b.U2a&&c.sort(function(a,b){return e.a3a()[0].field.e4(a,b)}),f.RSb||c.reverse(),c)},d.prototype.zAa=function(a){if(this==a)return!0;if(a instanceof d){if(null==this.Q2a()&&null!=a.Q2a())return!1;if(null!=this.Q2a()&&null==a.Q2a())return!1;if(null!=this.Q2a()&&null!=a.Q2a()&&!this.Q2a().zAa(a.Q2a()))return!1;if(this.a3a()==a.a3a())return!0;
- if(null!=this.a3a()&&null!=a.a3a()&&this.a3a().length==a.a3a().length){for(var b=0;b<this.a3a().length;b++)if(!this.a3a()[b].equals(a.a3a()[b]))return!1;return!0}}return!1},d.SSb=1,d);function d(b,c,d){this.Svb=null,this._2a=b,this.P2a=c,this.LSa=d,this.HSa()&&(this.Svb=a.plugins.w1a.PY("CategoryEncodingExcludeNulls"))}b.h3a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d,e,f,g,h=(c=a.data.GroupingsBuilder,__extends(i,c),i.prototype.TSb=function(b,c,d){var f,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=b.a3a(),H=b.PY();for(null!=H&&G.forEach(function(a){c=c.filter(function(b){return H.filter(b,a.field.name)})}),f=b.jPb(),h=b.V2a(c),i=this.VSb(b,d),j=new a.iPb,k=[],l=[],m=G.length,n=m-1;0<=n;n--){if(o=G[n],p=n==G.length-1,q=0==n,r=new e(o,q),s=new g(o),t=new a.data.GroupingDescription(r,s,j,p?i:null),u=[],p)if(v=this.build(h,t),q)for(w=0;w<v.length;w++)(C=v[w]).mi(f+w),l.push(C);else u.push.apply(u,v);else for(x=k[m-n-2],y=0;y<x.length;y++)if(z=x[y],v=this.build(z.items,t),q){for(A=0,B=v;A<B.length;A++)(C=B[A]).cb(z),C.mi(f+l.length),l.push(C);z.oI=0==y?f:x[y-1].Vma+1,z.Vma=z.oI+(v.length-1),this.WSb(z)}else for(D=0,E=v;D<E.length;D++)F=E[D],(F.hqa=z).oi.push(F),u.push(F);k.push(u)}return{groups:k[0],dimensionValues:l}},i.prototype.WSb=function(a){var b,c,d=a.hqa;null!=d&&(b=d.oi,c=!1,a==b[0]&&(d.oI=a.oI,c=!0),a==b[b.length-1]&&(d.Vma=a.Vma,c=!0),c&&this.WSb(d))},i.prototype.VSb=function(a,c){var d,e,g=a.Q2a();return g instanceof b.U2a||null==c?null:(d=g,null==d?null:(e=c.filter(function(a){return a instanceof b.G3a&&a.name==d.rOa().name}),null==e||e.length<=0?null:new f(e[0],a.Q2a().RSb)))},i);function i(){return null!==c&&c.apply(this,arguments)||this}b.USb=h,d=a.data.GroupingBuilder,__extends(j,d),j.prototype.createGrouping=function(c){var d,e,f,g;return this.XSb?new b.g3a([],c,0,null):(d=null,e=a.plugins.w1a.lPa("Default"),null!=e?(f=this.L2a.format,d=e.format(f,c)):d=null==c?"null":""+c,g=new b.e3a(c,[],[],null,0),g.Qb=d,g)},e=j;function j(a,b){var c=d.call(this)||this;return c.L2a=a,c.XSb=b,c}b.YSb=e,k.prototype.compare=function(b,c){var d=this.FOa.sOa,e=this.FOa.name,f=a.pRb.sOa(d,b.items,e),g=a.pRb.sOa(d,c.items,e),h=f==g?0:g<f?1:-1;return this.ZSb?h:-h},f=k;function k(a,b){this.FOa=a,this.ZSb=b}b.$Sb=f,l.prototype.build=function(a){return this.I4a.field.lCa(a)},g=l;function l(a){this.I4a=a}b._Sb=g}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.N2a=function(){return this.L2a},c.prototype.Cj=function(){return this.N2a().Cj()},c.prototype.wLa=function(){return this.N2a().wLa()},c.prototype.jPb=function(){return c.SSb},c.prototype.zAa=function(a){return this==a||a instanceof c&&this.N2a().equals(a.N2a())},c.SSb=1,c);function c(a){this.L2a=a}a.i3a=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.T0=function(a,c){var d=null;if(null!=a&&""!=(a=a.trim())){if(null!=(d=b.j3a.T0(a,c)))return d;if(null!=(d=b.k3a.T0(a,c)))return d;if(null!=(d=b.l3a.T0(a,c)))return d;if(null!=(d=b.m3a.T0(a,c)))return d;if(null!=(d=b.n3a.T0(a,c)))return d;if(null!=(d=b.o3a.T0(a,c)))return d;if(null!=(d=b.p3a.T0(a,c)))return d}return d},d.aTb=function(b,c){return b[a.TOb.sRb(c)]},d.bTb=function(b,c){return c<2?null:a.TOb.sRb((2==c?b[1]:b.slice(1).join(":")).trim())},d.prototype.Cj=function(){return this.field.name},d.prototype.wLa=function(a){return arguments.length<=0?null!=this.hRa?this.hRa:this.field.name:void(this.hRa=a)},d.prototype.equals=function(a){if(this===a)return!0;if(null==a)return!1;var b=a.queryInterface("IFieldDefinition");if(null==b)return!1;if(null==this.field){if(null!=b.field)return!1}else if(!this.field.equals(b.field))return!1;return this.format==b.format},d.prototype.queryInterface=function(a){return"IDefinition"==a||"IFieldDefinition"==a?this:null},d);function d(a,b){this.hRa=null,this.field=a,this.format=b}b.M2a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.M2a,__extends(e,c),e.T0=function(c,d){var f,g,h;return null!=c&&(c=c.trim(),f=a.TOb.splitStringWithEscape(c,":"),g=f.length,1<=g&&(h=this.aTb(d,f[0].trim()),null!=h&&h instanceof b.q3a))?new e(h,this.bTb(f,g)):null},e.prototype.cTb=function(){return this.field},e.prototype.wLa=function(a){return arguments.length<=0?this.hRa:void(this.hRa=a)},e);function e(a,b){return c.call(this,a,b)||this}b.o3a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.M2a,__extends(e,c),e.T0=function(c,d){var f,g,h;return null!=c&&(c=c.trim(),f=a.TOb.splitStringWithEscape(c,":"),g=f.length,1<=g&&(h=this.aTb(d,f[0].trim()),null!=h&&h instanceof b.I2a))?new e(h,this.bTb(f,g)):null},e.prototype.dTb=function(){return this.field},e.prototype.wLa=function(a){return arguments.length<=0?this.hRa:void(this.hRa=a)},e);function e(a,b){return c.call(this,a,b)||this}b.n3a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.M2a,__extends(e,c),e.T0=function(c,d){var f,g,h;return null!=c&&(c=c.trim(),f=a.TOb.splitStringWithEscape(c,":"),g=f.length,1<=g&&(h=this.aTb(d,f[0].trim()),null!=h&&h instanceof b.jBa))?new e(h,this.bTb(f,g)):null},e.prototype.eTb=function(){return this.field},e);function e(a,b){return c.call(this,a,b)||this}b.m3a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.M2a,__extends(e,c),e.T0=function(c,d){var f,g,h;return null!=c&&(c=c.trim(),f=a.TOb.splitStringWithEscape(c,":"),g=f.length,1<=g&&(h=this.aTb(d,f[0].trim()),null!=h&&h instanceof b.iBa))?new e(h,this.bTb(f,g)):null},e.prototype.mPb=function(){return this.field},e);function e(a,b){return c.call(this,a,b)||this}b.l3a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.M2a,__extends(e,c),e.T0=function(c,d){var f,g,h;return null!=c&&(c=c.trim(),f=a.TOb.splitStringWithEscape(c,":"),g=f.length,1<=g&&(h=this.aTb(d,f[0].trim()),null!=h&&h instanceof b.eBa))?new e(h,this.bTb(f,g)):null},e.prototype.fTb=function(){return this.field},e);function e(a,b){return c.call(this,a,b)||this}b.p3a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.M2a,__extends(e,c),e.T0=function(c,d){var f,g,h;return null!=c&&(c=c.trim(),f=a.TOb.splitStringWithEscape(c,":"),g=f.length,1<=g&&(h=this.aTb(d,f[0].trim()),null!=h&&h instanceof b.fBa))?new e(h,this.bTb(f,g)):null},e.prototype.gTb=function(){return this.field},e);function e(a,b){return c.call(this,a,b)||this}b.k3a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.M2a,__extends(e,c),e.T0=function(c,d){var f,g,h;return null!=c&&(c=c.trim(),f=a.TOb.splitStringWithEscape(c,":"),g=f.length,1<=g&&(h=this.aTb(d,f[0].trim()),null!=h&&h instanceof b.hBa))?new e(h,this.bTb(f,g)):null},e.prototype.hTb=function(){return this.field},e);function e(a,b){return c.call(this,a,b)||this}b.j3a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){!function(a){"use strict";var b=(Object.defineProperty(c.prototype,"type",{get:function(){return this.eAa.type},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"option",{get:function(){return this.eAa},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"plotOptions",{get:function(){return this.Teb},enumerable:!0,configurable:!0}),c.prototype.queryInterface=function(a){return null},c);function c(a,b){this.eAa=a,this.Teb=b}a.r3a=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.f3a=function(){return this.I4a},c.prototype.queryInterface=function(a){return this.f3a().queryInterface(a)},c);function c(a){this.I4a=a}a.iTb=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.r3a,__extends(d,b),d.prototype.queryInterface=function(b){return"ILayoutViewBuilder"==b?new a.jTb(this):null},d);function d(a,c){return b.call(this,a,c)||this}a.kTb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.iTb,__extends(e,c),e.prototype.build=function(b){return new a.Zab(b,this.f3a())},e);function e(a){return c.call(this,a)||this}b.jTb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){!function(a){"use strict";var b=(Object.defineProperty(c.prototype,"type",{get:function(){return this.kEa},enumerable:!0,configurable:!0}),c.prototype.lTb=function(a){this.xQb=a},Object.defineProperty(c.prototype,"plotDefinition",{get:function(){return this.xQb},enumerable:!0,configurable:!0}),c.prototype.vQb=function(a,b){return null},c.prototype.Kb=function(){return null},c.prototype.queryInterface=function(a){return null!=this.xQb?this.xQb.queryInterface(a):null},c);function c(a){this.kEa=a}a.s3a=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.s3a,__extends(e,c),e.T0=function(c,d){var f,g,h,i,j;if(null==c.field)return null;for(f=[],g=a.TOb.splitStringWithEscape(c.field,">"),h=null!=c.label?c.label.split(","):[],i=0;i<g.length;i++)j=b.M2a.T0(g[i],d),null!=j&&(i<h.length&&j.wLa(h[i]),f.push(j));return 0<f.length?new e(f):null},e.prototype.Y2a=function(){return this.X2a},e.prototype.vQb=function(c,d){return this.type===a.LegendType.Color&&this.plotDefinition instanceof b.mTb?new b.nTb(c,this.plotDefinition,d.RGb(this.plotDefinition.name,a.LegendType.Color)):null},e.prototype.wLa=function(){return""},e.prototype.zAa=function(a){if(a instanceof e){if(this==a)return!0;if(this.Y2a()==a.Y2a())return!0;if(null!=this.Y2a()&&null!=a.Y2a()&&this.Y2a().length==a.Y2a().length){for(var b=0;b<this.Y2a().length;b++)if(!this.Y2a()[b].equals(a.Y2a()[b]))return!1;return!0}}return!1},e);function e(b){var d=c.call(this,a.LegendType.Color)||this;return d.X2a=b,d}b.t3a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){!function(a){"use strict";var b=(Object.defineProperty(c.prototype,"generators",{get:function(){return this.oTb},enumerable:!0,configurable:!0}),c.prototype.queryInterface=function(a){return null},c);function c(){for(var a,b=[],c=0;c<arguments.length;c++)b[c]=arguments[c];this.oTb=[],(a=this.generators).push.apply(a,b)}a.LegendGenerators=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.s3a,__extends(e,c),e.prototype.sOa=function(){return this.AGa},e.prototype.N2a=function(){return this.L2a},e.prototype.Q2a=function(){return this.P2a},e.prototype.wLa=function(){return this.N2a().wLa()},e.prototype.Kb=function(){return null!=this.L2a.format?this.L2a.format:null!=this.L2a.field.queryInterface("INumberDataField")?"n":null},e.prototype.lCa=function(b){var c=this.sOa();return a.core.UOb.isNullEnum(c)||c==a.Aggregate.List?this.N2a().field.lCa(b):this.N2a().field.sOa(b,c)},e.prototype.zAa=function(a){return a instanceof e&&(this==a||this.sOa()==a.sOa()&&(null!=this.Q2a()||null==a.Q2a())&&(null==this.Q2a()||null!=a.Q2a())&&!(null!=this.Q2a()&&null!=a.Q2a()&&!this.Q2a().zAa(a.Q2a()))&&this.N2a().equals(a.N2a()))},e);function e(b,d,e,f){var g=c.call(this,b)||this;return a.ePb.dPb(null!=e),g.AGa=d,g.L2a=e,g.P2a=f,g}b.pTb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.pTb,__extends(e,c),e.prototype.lCa=function(b){var c=this.sOa();return a.core.UOb.isNullEnum(c)||c==a.Aggregate.List?this.rTb().qTb(b):this.rTb().sOa(b,c)},e.prototype.sTb=function(a){return this.lCa(a)},e);function e(a,b,d,e){return c.call(this,a,b,d,e)||this}b.tTb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.tTb,__extends(e,c),e.T0=function(c,d,f){if("string"==typeof d.field){var g=b.U2a.T0(d.sort),h=b.k3a.T0(d.field,f);if(null!=h)return h.wLa(d.label),new e(c,h,a.core.UOb.isNullEnum(d.aggregate)?a.Aggregate.List:d.aggregate,g)}return null},e.prototype.vQb=function(c,d){var e,f=null;return this.type===a.LegendType.Color?(e=d.RGb(this.plotDefinition.name,this.type),(f=null!=e&&null!=e.ranges?new b.B4a(c,this,e):null==e||0!=e.gradient.enabled?new b.C4a(c,this,e):new b.z4a(c,this,e)).uTb(b.vTb.PlotColor)):this.type===a.LegendType.Size&&(f=new b.B4a(c,this,d.RGb(this.plotDefinition.name,this.type))).uTb(b.vTb.PlotSize),f},e.prototype.wTb=function(){return this.N2a()},e.prototype.rTb=function(){return this.wTb().gTb()},e.prototype.Kb=function(){return null!=this.wTb().format?this.wTb().format:"n"},e);function e(a,b,d,e){return c.call(this,a,d,b,e)||this}b.xTb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.tTb,__extends(e,c),e.T0=function(c,d,f){if("string"==typeof d.field){var g=b.U2a.T0(d.sort),h=b.n3a.T0(d.field,f);if(null!=h&&(h.wLa(d.label),null!=h.dTb().$z().bin))return new e(c,h,a.core.UOb.isNullEnum(d.aggregate)?a.Aggregate.List:d.aggregate,g)}return null},e.prototype.rTb=function(){return this.yTb().dTb()},e.prototype.yTb=function(){return c.prototype.N2a.call(this)},e.prototype.wLa=function(){var a=this.yTb().wLa();return null!=a?a:this.yTb().dTb().u3a().name},e.prototype.vQb=function(c,d){if(this.type!==a.LegendType.Color)return null;var e=new b.B4a(c,this,d.RGb(this.plotDefinition.name,a.LegendType.Color));return e.uTb(b.vTb.PlotColor),e},e.prototype.zAa=function(a){return a instanceof e&&c.prototype.zAa.call(this,a)},e);function e(a,b,d,e){return c.call(this,a,d,b,e)||this}b.z3a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.xTb,__extends(e,c),e.T0=function(c,d,f){if(c===a.LegendType.Color&&"string"==typeof d.field){var g=b.U2a.T0(d.sort),h=b.k3a.T0(d.field,f);if(null!=h)return h.wLa(d.label),new e(h,a.core.UOb.isNullEnum(d.aggregate)?a.Aggregate.List:d.aggregate,g)}return null},e.prototype.vQb=function(c,d){var e,f=null;return this.type===a.LegendType.Color&&(e=d.RGb(this.plotDefinition.name,this.type),(f=null!=e&&null!=e.ranges?new b.B4a(c,this,e):new b.z4a(c,this,e)).uTb(b.vTb.PlotColor)),f},e.prototype.zAa=function(a){return a instanceof e&&c.prototype.zAa.call(this,a)},e);function e(b,d,e){return c.call(this,a.LegendType.Color,b,d,e)||this}b.zTb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.xTb,__extends(e,c),e.T0=function(c,d,f){if("string"==typeof d.field){var g=b.U2a.T0(d.sort),h=b.k3a.T0(d.field,f);if(null!=h)return h.wLa(d.label),new e(c,h,a.core.UOb.isNullEnum(d.aggregate)?a.Aggregate.List:d.aggregate,g)}return null},e.prototype.vQb=function(c,d){if(this.type!==a.LegendType.Size)return null;var e=new b.B4a(c,this,d.RGb(this.plotDefinition.name,a.LegendType.Size));return e.uTb(b.vTb.PlotSize),e},e.prototype.wTb=function(){return c.prototype.N2a.call(this)},e.prototype.zAa=function(a){return!!(c.prototype.zAa.call(this,a)&&a instanceof e)&&this.sOa()==a.sOa()},e);function e(a,b,d,e){return c.call(this,a,b,d,e)||this}b.y3a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.pTb,__extends(e,c),e.T0=function(c,d,f){var g,h,i,j,k,l;if("string"==typeof d.field){if(g=b.U2a.T0(d.sort),h=b.j3a.T0(d.field,f),null!=h)return h.wLa(d.label),new e(c,h,a.core.UOb.isNullEnum(d.aggregate)?a.Aggregate.List:d.aggregate,g);if(i=b.m3a.T0(d.field,f),null!=i)return i.wLa(d.label),new e(c,i,a.core.UOb.isNullEnum(d.aggregate)?a.Aggregate.List:d.aggregate,g);if(j=b.k3a.T0(d.field,f),null!=j)return j.wLa(d.label),new e(c,j,a.core.UOb.isNullEnum(d.aggregate)?a.Aggregate.List:d.aggregate,g);if(k=b.l3a.T0(d.field,f),null!=k)return k.wLa(d.label),new e(c,k,a.core.UOb.isNullEnum(d.aggregate)?a.Aggregate.List:d.aggregate,g);if(l=b.n3a.T0(d.field,f),null!=l&&(l.wLa(d.label),null!=l.dTb().$z().bin))return new e(c,l,a.core.UOb.isNullEnum(d.aggregate)?a.Aggregate.List:d.aggregate,g)}return null},e.prototype.vQb=function(c,d){return this.type!==a.LegendType.Color?this.type!==a.LegendType.Shape?null:((e=new b.z4a(c,this,d.RGb(this.plotDefinition.name,this.type))).uTb(b.vTb.PlotShape),e):((e=new b.z4a(c,this,d.RGb(this.plotDefinition.name,this.type))).uTb(b.vTb.PlotColor),e);var e},e);function e(a,b,d,e){return c.call(this,a,d,b,e)||this}b.v3a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.s3a,__extends(e,c),e.T0=function(b,c,d,f,g){var h,i;return a.ePb.dPb(null!=b),null==b.field||0==g.length?null:(h=this.getFieldNames(b.field),null==h||h[0]!==a.nRb.ColorFieldValuesName?null:(h.shift(),i=this.getFieldDefinitions(h,d,f,g),i&&0<i.length?new e(g,i):new e(g,[])))},e.getFieldDefinitions=function(a,c,d,e){var f,g,h,i,j,k,l,m;if(null!=a&&0<a.length){if(f=c.filter(function(c){if(c instanceof b.W2a){var d=c;return-1!=a.indexOf(d.N2a().Cj())}return!1}).map(function(a){return a.N2a()}),null!=d)for(g=0,h=d.a3a();g<h.length;g++)i=h[g],-1!=a.indexOf(i.Cj())&&f.push(i);else for(j=0,k=e;j<k.length;j++)if(l=k[j],l instanceof b.F3a&&(m=l.E3a(),null!=m&&m instanceof b.i3a&&-1!=a.indexOf(m.N2a().Cj()))){f.push(m.N2a());break}return f}return null},e.prototype.vQb=function(c,d){if(this.type!==a.LegendType.Color)return null;var e=new b.ATb(c,this,d.RGb(this.plotDefinition.name,a.LegendType.Color));return e.uTb(b.vTb.PlotColor),e},e.prototype.i6a=function(){return this.Z5a},e.prototype.Y2a=function(){return this.X2a},e.getFieldNames=function(b){return a.TOb.splitStringWithEscape(b,">").map(function(b){return a.TOb.sRb(b.trim())})},e.prototype.wLa=function(){return""},e.prototype.zAa=function(a){return a instanceof e},e.prototype.BTb=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n;for(b=!1,c=0,d=this.i6a();c<d.length;c++){for(e=d[c],f=0,g=a.i6a();f<g.length;f++)if(h=g[f],e.name===h.name){b=!0;break}if(b)break}if(!b)return!1;if(0===this.Y2a().length&&0===a.Y2a().length)return!0;for(i=0,j=this.Y2a();i<j.length;i++)for(k=j[i],l=0,m=a.Y2a();l<m.length;l++)if(n=m[l],k.equals(n))return!0;return!1},e);function e(b,d){var e=c.call(this,a.LegendType.Color)||this;return e.Z5a=b,e.X2a=d,e}b.x3a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(Object.defineProperty(c.prototype,"option",{get:function(){return this.eAa},enumerable:!0,configurable:!0}),c.prototype.queryInterface=function(a){return null},c);function c(a){this.eAa=a}a.CTb=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.f3a=function(){return this.I4a},c.prototype.queryInterface=function(a){return this.f3a().queryInterface(a)},c);function c(a){this.I4a=a}a.DTb=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.f3a=function(){return this.I4a},c.prototype.queryInterface=function(a){return this.f3a().queryInterface(a)},c);function c(a){this.I4a=a}a.ETb=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.HL=function(){return this.KAa},d.prototype.vQb=function(a){var b=this.h5a(a.details),c=this.i5a(a.category),d=this.yOa(a.values,c,b);return{categoriedDimensionDefinition:c,valueDefinitions:d,detailDefinitions:b,colorDefinition:this.j5a(a.color,b,c,d),shapeDefinition:this.k5a(a.shape),sizeDefinition:this.l5a(a.size),textDefinitions:this.m5a(a.text),tooltipDefinitions:this.n5a(a.tooltip)}},d.prototype.i5a=function(a){return b.h3a.T0(a,this.HL())},d.prototype.yOa=function(a,b,c){var d,e,f,g,h;for(d=[],e=0,f=a;e<f.length;e++)g=f[e],h=this.cTa(g,b,c),null!=h&&d.push(h);return d},d.prototype.cTa=function(a,c,d){return b.C3a.T0(a,this.HL())},d.prototype.h5a=function(a){var b,c,d,e,f;for(b=[],c=0,d=a;c<d.length;c++)e=d[c],f=this.o5a(e),null!=f&&b.push(f);return b},d.prototype.o5a=function(a){return b.W2a.T0(a,this.HL())},d.prototype.j5a=function(c,d,e,f){var g,h,i=b.zTb.T0(a.LegendType.Color,c,this.HL());return null!=i?i:(g=b.z3a.T0(a.LegendType.Color,c,this.KAa),null!=g?g:(h=b.v3a.T0(a.LegendType.Color,c,this.KAa),null!=h?h:null))},d.prototype.k5a=function(c){return b.v3a.T0(a.LegendType.Shape,c,this.KAa)},d.prototype.l5a=function(c){return b.y3a.T0(a.LegendType.Size,c,this.KAa)},d.prototype.m5a=function(a){var b,c,d,e,f=[];if(null!=a)for(b=0,c=a;b<c.length;b++)d=c[b],e=this.p5a(d),null!=e&&f.push(e);return f},d.prototype.p5a=function(a){return b.O2a.T0(a,this.HL())},d.prototype.n5a=function(a){var b,c,d,e,f=[];if(null!=a)for(b=0,c=a;b<c.length;b++)d=c[b],e=this.q5a(d),null!=e&&f.push(e);return f},d.prototype.q5a=function(a){return b.O2a.T0(a,this.HL())},d);function d(a){this.KAa=a}b.r5a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.FTb=function(){return!0},Object.defineProperty(c.prototype,"name",{get:function(){return this.eAa.name},enumerable:!0,configurable:!0}),c.prototype.createColorIterator=function(b){return null!=b&&Array.isArray(b)?new a.BSb(b):null},Object.defineProperty(c.prototype,"type",{get:function(){return this.option.type},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"option",{get:function(){return this.eAa},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"coordinateSystemType",{get:function(){return"None"},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"coordinateSystemDefinition",{get:function(){return this.GTb},set:function(a){this.GTb=a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"axisDefinitions",{get:function(){return this.HTb},enumerable:!0,configurable:!0}),c.prototype.queryInterface=function(b){return"ILegendSymbolManager"==b?new a.EOb(this):"IColorIterator"==b?this.ITb:"IPlotDefinition"==b?this:null},c);function c(a){this.HTb=[],this.eAa=a,this.ITb=this.createColorIterator(a.config.palette)}a.JTb=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.f3a=function(){return this.I4a},c.prototype.queryInterface=function(a){return this.f3a().queryInterface(a)},c);function c(a){this.I4a=a}a.QOb=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.JTb,__extends(e,c),Object.defineProperty(e.prototype,"coordinateSystemType",{get:function(){var b=this.option.config.axisMode;return b==a.AxisMode.Radial?"Radial":b==a.AxisMode.Polygonal?"Polygonal":"Cartesian"},enumerable:!0,configurable:!0}),e.prototype.initDefinitions=function(){null!=this.l6a&&this.l6a.lTb(this),null!=this.n6a&&this.n6a.lTb(this),null!=this.m6a&&this.m6a.lTb(this)},e.prototype.e6a=function(){return this.f6a},e.prototype.ZOb=function(){return this.KTb},e.prototype.i6a=function(){return this.Z5a},e.prototype.j6a=function(){return this.k6a},e.prototype.R5a=function(){return this.l6a},e.prototype.S5a=function(){return this.m6a},e.prototype.T5a=function(){return this.n6a},e.prototype.o6a=function(){return this.$5a},e.prototype.p6a=function(){return this._5a},e.prototype.xBa=function(a,c){var d,e,f,g,h,i;if(null!=a){for(d=this.q6a(c.HL()).vQb(a),this.f6a=d.categoriedDimensionDefinition,null!=this.f6a&&(this.KTb=new b.i3a(this.f6a.a3a()[0])),this.Z5a=[],e=0,f=d.valueDefinitions;e<f.length;e++)g=f[e],g instanceof b.F3a&&(null==this.KTb&&(h=g.E3a(),null!=h&&h instanceof b.i3a&&(this.KTb=h)),this.Z5a.push(g));this.k6a=[],null!=d.detailDefinitions&&0<d.detailDefinitions.length&&(i=d.detailDefinitions[0],i instanceof b.W2a&&this.k6a.push(i)),this.l6a=d.colorDefinition,this.n6a=d.sizeDefinition,this.m6a=d.shapeDefinition,this.$5a=d.textDefinitions,this._5a=d.tooltipDefinitions}else this.KTb=null,this.Z5a=null,this.k6a=null,this.l6a=null,this.n6a=null,this.m6a=null,this.$5a=null,this._5a=null},e.prototype.q6a=function(a){return new b.W5a(a)},e.prototype.queryInterface=function(a){return"ILegendGenerators"==a?new b.LegendGenerators(new b.Y5a(this),new b.LTb(this)):c.prototype.queryInterface.call(this,a)},e);function e(a,b){var d=c.call(this,a)||this;return d.Z5a=[],d.$5a=[],d._5a=[],d.xBa(a.encodings,b),d.initDefinitions(),d}b.MOb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.MOb,__extends(d,b),d.prototype.queryInterface=function(c){return"ILegendSymbolManager"==c?new a.MTb(this):"IPlotViewBuilder"==c?new a.NTb(this):b.prototype.queryInterface.call(this,c)},d);function d(a,c){return b.call(this,a,c)||this}a.OTb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.QOb,__extends(e,c),e.prototype.build=function(b){return new a.fbb(b,this.f3a())},e);function e(a){return c.call(this,a)||this}b.NTb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.MOb,__extends(d,b),d.prototype.queryInterface=function(c){return"ILegendSymbolManager"==c?new a.PTb(this):"IPlotViewBuilder"==c?new a.QTb(this):b.prototype.queryInterface.call(this,c)},d);function d(a,c){return b.call(this,a,c)||this}a.RTb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.QOb,__extends(e,c),e.prototype.build=function(b){return new a.hbb(b,this.f3a())},e);function e(a){return c.call(this,a)||this}b.QTb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.r5a,__extends(e,c),e.prototype.cTa=function(a,c,d){if(null==c)return b.G3a.T0(a,this.HL(),null);var e=null;return null!=(e=b.G3a.T0(a,this.HL(),c))||null!=(e=b.K3a.T0(a,this.HL(),c))||null!=(e=b.J3a.T0(a,this.HL(),c))?e:null},e.prototype.h5a=function(a){var c,d=[];return null!=a&&0<a.length&&(c=this.o5a(a[0]),null!=c&&c instanceof b.W2a&&d.push(c)),d},e.prototype.j5a=function(c,d,e,f){var g,h,i,j=b.x3a.T0(c,this.HL(),d,e,f);return null!=j?j:(g=b.xTb.T0(a.LegendType.Color,c,this.HL()),null!=g?g:(h=b.z3a.T0(a.LegendType.Color,c,this.HL()),null!=h?h:(i=b.v3a.T0(a.LegendType.Color,c,this.HL()),null!=i?i:null)))},e);function e(a){return c.call(this,a)||this}b.W5a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.MOb,__extends(d,b),d.prototype.queryInterface=function(c){return"IPlotViewBuilder"==c?new a.STb(this):b.prototype.queryInterface.call(this,c)},d);function d(a,c){return b.call(this,a,c)||this}a.TTb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.QOb,__extends(e,c),e.prototype.build=function(b){return new a.u4a(b,this.f3a())},e);function e(a){return c.call(this,a)||this}b.STb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.MOb,__extends(d,b),d.prototype.queryInterface=function(c){return"ILegendSymbolManager"==c?new a.UTb(this):"IPlotViewBuilder"==c?new a.VTb(this):b.prototype.queryInterface.call(this,c)},d);function d(a,c){return b.call(this,a,c)||this}a.WTb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.QOb,__extends(e,c),e.prototype.build=function(b){return new a.jbb(b,this.f3a())},e);function e(a){return c.call(this,a)||this}b.VTb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.MOb,__extends(d,b),d.prototype.queryInterface=function(c){return"ILegendSymbolManager"==c?new a.XTb(this):"IPlotViewBuilder"==c?new a.YTb(this):b.prototype.queryInterface.call(this,c)},d);function d(a,c){return b.call(this,a,c)||this}a.ZTb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.QOb,__extends(e,c),e.prototype.build=function(b){return new a.pbb(b,this.f3a())},e);function e(a){return c.call(this,a)||this}b.YTb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.JTb,__extends(d,b),d.prototype.initDefinitions=function(){null!=this.l6a&&this.l6a.lTb(this)},d.prototype.HOa=function(){return this.FOa},d.prototype.c7a=function(){return this.f7a},d.prototype.R5a=function(){return this.l6a},d.prototype.o6a=function(){return this.$5a},d.prototype.p6a=function(){return this._5a},d.prototype.xBa=function(b,c){var d,e,f;null!=b?(d=this.q6a(c.HL()).vQb(b),null!=d.valueDefinitions&&0<d.valueDefinitions.length&&(e=d.valueDefinitions[0],e instanceof a.C3a&&(this.FOa=e)),null!=d.detailDefinitions&&0<d.detailDefinitions.length&&(f=d.detailDefinitions[0],f instanceof a.Z2a&&(this.f7a=f)),d.colorDefinition instanceof a.t3a&&(this.l6a=d.colorDefinition),this.$5a=d.textDefinitions,this._5a=d.tooltipDefinitions):(this.FOa=null,this.f7a=null,this.l6a=null,this.$5a=null,this._5a=null)},d.prototype.q6a=function(b){return new a.e7a(b)},d.prototype.queryInterface=function(c){return"ILegendSymbolManager"==c?new a.$Tb(this):"ILegendGenerators"==c?new a.LegendGenerators(new a.Dqb(this)):b.prototype.queryInterface.call(this,c)},d);function d(a,c){var d=b.call(this,a)||this;return d.$5a=[],d._5a=[],d.xBa(a.encodings,c),d.initDefinitions(),d}a.mTb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.r5a,__extends(d,b),d.prototype.i5a=function(a){return null},d.prototype.yOa=function(a,b,c){var d,e=[];return null!=a&&0<a.length&&(d=this.cTa(a[0],b,c),null!=d&&e.push(d)),e},d.prototype.cTa=function(b,c,d){return a.C3a.T0(b,this.HL())},d.prototype.h5a=function(b){var c,d=[];return null!=b&&0<b.length&&(c=this.o5a(b[0]),null!=c&&c instanceof a.Z2a&&d.push(c)),d},d.prototype.o5a=function(b){return a.Z2a.T0(b,this.HL())},d.prototype.j5a=function(b,c,d,e){return null==b?null:a.t3a.T0(b,this.HL())},d.prototype.k5a=function(a){return null},d.prototype.l5a=function(a){return null},d);function d(a){return b.call(this,a)||this}a.e7a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.mTb,__extends(d,b),Object.defineProperty(d.prototype,"type",{get:function(){return"Sunburst"},enumerable:!0,configurable:!0}),d.prototype.queryInterface=function(c){return"IPlotViewBuilder"==c?new a._Tb(this):b.prototype.queryInterface.call(this,c)},d);function d(a,c){return b.call(this,a,c)||this}a.aUb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.QOb,__extends(e,c),e.prototype.build=function(b){var c,d=this.f3a();return(d.option.config.axisMode==a.AxisMode.Polygonal||d.option.config.axisMode==a.AxisMode.Radial)&&(c=d.c7a(),null!=c&&null!=c.Y2a()&&1<c.Y2a().length)?new a.rbb(b,this.f3a()):null},e);function e(a){return c.call(this,a)||this}b._Tb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.mTb,__extends(d,b),d.prototype.queryInterface=function(c){return"IPlotViewBuilder"==c?new a.bUb(this):b.prototype.queryInterface.call(this,c)},d);function d(a,c){return b.call(this,a,c)||this}a.cUb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.QOb,__extends(e,c),e.prototype.build=function(b){return new a.vbb(b,this.f3a())},e);function e(a){return c.call(this,a)||this}b.bUb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.JTb,__extends(d,b),d.prototype.FTb=function(){return null!=this.Z5a&&0<this.Z5a.length},d.prototype.initDefinitions=function(){null!=this.l6a&&this.l6a.lTb(this),null!=this.n6a&&this.n6a.lTb(this),null!=this.m6a&&this.m6a.lTb(this)},d.prototype.i6a=function(){return this.Z5a},d.prototype.j6a=function(){return this.k6a},d.prototype.R5a=function(){return this.l6a},d.prototype.S5a=function(){return this.m6a},d.prototype.T5a=function(){return this.n6a},d.prototype.xBa=function(a,b){if(null!=a){var c=this.q6a(b.HL()).vQb(a);this.Z5a=c.valueDefinitions,this.k6a=c.detailDefinitions,this.l6a=c.colorDefinition,this.m6a=c.shapeDefinition,this.n6a=c.sizeDefinition}else this.Z5a=null,this.k6a=null,this.l6a=null,this.n6a=null,this.m6a=null},d.prototype.q6a=function(b){return new a.k7a(b)},d.prototype.queryInterface=function(c){return"ILegendGenerators"==c?new a.LegendGenerators(new a.l7a(this)):b.prototype.queryInterface.call(this,c)},d);function d(a,c){var d=b.call(this,a)||this;return d.xBa(a.encodings,c),
- d.initDefinitions(),d}a.dUb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.dUb,__extends(d,b),d.prototype.queryInterface=function(c){return"ILegendSymbolManager"==c?new a.eUb(this):"IPlotViewBuilder"==c?new a.fUb(this):b.prototype.queryInterface.call(this,c)},d);function d(a,c){return b.call(this,a,c)||this}a.gUb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.QOb,__extends(e,c),e.prototype.build=function(c){var d,e=this.f3a();return null!=e.option&&null!=c&&(d=e.i6a(),null!=d&&0<d.length&&d[0]instanceof b.q7a)?new a.lbb(c,this.f3a()):null},e);function e(a){return c.call(this,a)||this}b.fUb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.r5a,__extends(d,b),d.prototype.i5a=function(a){return null},d.prototype.yOa=function(a,b,c){var d,e=[];return 0<a.length&&(d=this.cTa(a[0],b,c),null!=d&&e.push(d)),e},d.prototype.cTa=function(b,c,d){return null==b?null:0<d.length?a.i7a.T0(b,this.HL()):a.j7a.T0(b,this.HL())},d.prototype.o5a=function(b){return a.W2a.T0(b,this.HL())},d);function d(a){return b.call(this,a)||this}a.k7a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.dUb,__extends(d,b),d.prototype.queryInterface=function(c){return"ILegendSymbolManager"==c?new a.hUb(this):"IPlotViewBuilder"==c?new a.iUb(this):b.prototype.queryInterface.call(this,c)},d);function d(a,c){return b.call(this,a,c)||this}a.jUb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.QOb,__extends(e,c),e.prototype.build=function(c){var d,e=this.f3a();return null!=e.option&&null!=c&&(d=e.i6a(),null!=d&&0<d.length&&d[0]instanceof b.q7a)?new a.nbb(c,this.f3a()):null},e);function e(a){return c.call(this,a)||this}b.iUb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.r5a,__extends(e,c),e.prototype.i5a=function(a){var b=c.prototype.i5a.call(this,a);return null!=b&&1==b.a3a().length?b:null},e.prototype.yOa=function(a,b,c){var d,e,f,g,h;for(d=[],e=0,f=a;e<f.length;e++)g=f[e],h=this.cTa(g,b,c),null!=h&&d.push(h);return d},e.prototype.cTa=function(a,c,d){if(null==c)return b.G3a.T0(a,this.HL(),null);var e=b.G3a.T0(a,this.HL(),c);return null!=e&&e.N2a()instanceof b.k3a?e:null},e.prototype.h5a=function(a){var c,d=[];return null!=a&&0<a.length&&(c=this.o5a(a[0]),null!=c&&c instanceof b.W2a&&d.push(c)),d},e.prototype.j5a=function(c,d,e,f){var g,h,i,j=b.x3a.T0(c,this.HL(),d,e,f);return null!=j?j:(g=b.xTb.T0(a.LegendType.Color,c,this.HL()),null!=g?g:(h=b.z3a.T0(a.LegendType.Color,c,this.HL()),null!=h?h:(i=b.v3a.T0(a.LegendType.Color,c,this.HL()),null!=i?i:null)))},e.prototype.m5a=function(a){return[]},e);function e(a){return c.call(this,a)||this}b.z7a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.MOb,__extends(d,b),Object.defineProperty(d.prototype,"coordinateSystemType",{get:function(){return"TextCategories"},enumerable:!0,configurable:!0}),d.prototype.q6a=function(b){return new a.z7a(b)},d.prototype.queryInterface=function(c){return"ILegendSymbolManager"==c?new a.kUb(this):"IPlotViewBuilder"==c?new a.lUb(this):b.prototype.queryInterface.call(this,c)},d);function d(a,c){return b.call(this,a,c)||this}a.mUb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.QOb,__extends(e,c),e.prototype.build=function(b){return new a.tbb(b,this.f3a())},e);function e(a){return c.call(this,a)||this}b.lUb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.zAa=function(a){return this==a||null!=a&&this.RSb==a.RSb},c);function c(a){this.RSb=a}a.B3a=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.B3a,__extends(e,c),e.T0=function(b,c){if(null==b||null==b.field||b.order==a.OrderType.None)return null;var d=c[b.field];return null==d?null:new e(d,b.order==a.OrderType.Ascending)},e.prototype.rOa=function(){return this.oBa},e.prototype.zAa=function(a){if(this==a)return!0;if(null==a)return!1;if(a instanceof e){if(null==this.rOa()){if(null!=a.rOa())return!1}else if(!this.rOa().equals(a.rOa()))return!1;return c.prototype.zAa.call(this,a)}return!1},e);function e(a,b){var d=c.call(this,b)||this;return d.oBa=a,d}b.T2a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.B3a,__extends(e,c),e.T0=function(b){return b==a.OrderType.None?null:new e(b==a.OrderType.Ascending)},e);function e(a){return c.call(this,a)||this}b.U2a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.HSa=function(){return this.LSa},d.prototype.PY=function(){return this.Svb},d.prototype.WOb=function(a){var b=this,c=this.PY();return null!=c&&(a=a.filter(function(a){return c.filter(a,b.name)})),a},d);function d(b){this.Svb=null,this.LSa=b,this.HSa()&&(this.Svb=a.plugins.w1a.PY("ValueEncodingExcludeNulls"))}b.IOa=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.IOa,__extends(d,b),Object.defineProperty(d.prototype,"name",{get:function(){return null},enumerable:!0,configurable:!0}),d.prototype.wLa=function(){return null},d.prototype.E3a=function(){return this.D3a},d.prototype.PBa=function(a){return 0},d.prototype.zAa=function(a){if(this==a)return!0;if(a instanceof d){if(this.name!=a.name)return!1;var b=this.E3a(),c=a.E3a();if(null!=b&&null!=c){if(!b.zAa(c))return!1}else if(null!=b||null!=c)return!1;return!0}return!1},d);function d(a,c){var d=b.call(this,c)||this;return d.D3a=a,d}a.F3a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.IOa,__extends(e,c),e.T0=function(c,d){var f,g,h,i;return null!=c&&"IFieldsValueEncodingOption"==c.type&&(f=c,g=a.TOb.splitStringWithEscape(f.field,","),h=null!=f.label?f.label.split(","):[],0<g.length&&(i=b.M2a.T0(g[0],d),null!=i))?(0<h.length&&i.wLa(h[0]),new e(i,a.core.UOb.isNullEnum(f.aggregate)?a.Aggregate.Sum:f.aggregate,(!!f.excludeNulls))):null},e.prototype.N2a=function(){return this.L2a},Object.defineProperty(e.prototype,"name",{get:function(){return this.N2a().Cj()},enumerable:!0,configurable:!0}),e.prototype.wLa=function(){return this.N2a().wLa()},e.prototype.lCa=function(b){return this.sOa!=a.Aggregate.List?this.N2a().field.sOa(b,this.sOa):this.N2a().field.lCa(b)},e.prototype.PBa=function(b){return this.sOa!=a.Aggregate.List?this.N2a().field.sOa(b,this.sOa):this.N2a().field.PBa(b)},e.prototype.zAa=function(a){return this==a||a instanceof e&&this.N2a().equals(a.N2a())&&this.sOa==a.sOa},e);function e(a,b,d){var e=c.call(this,d)||this;return e.L2a=a,e.sOa=b,e}b.C3a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.F3a,__extends(e,c),e.T0=function(c,d,f){if(null!=c&&"IFieldsValueEncodingOption"==c.type){var g,h=c,i=a.TOb.splitStringWithEscape(h.field,","),j=null!=h.label?h.label.split(","):[];if(null==f){if(1<i.length){if(null!=(g=b.M2a.T0(i[0],d))&&(0<j.length&&g.wLa(j[0]),f=new b.i3a(g)),null!=(g=b.M2a.T0(i[1],d)))return 1<j.length&&g.wLa(j[1]),new e(f,g,a.Aggregate.List,(!!h.excludeNulls))}else if(null!=(g=b.M2a.T0(i[0],d)))return 0<j.length&&g.wLa(j[0]),new e(null,g,a.core.UOb.isNullEnum(h.aggregate)?a.Aggregate.Sum:h.aggregate,(!!h.excludeNulls))}else if(0<i.length&&null!=(g=b.M2a.T0(i[0],d)))return 0<j.length&&g.wLa(j[0]),new e(f,g,a.core.UOb.isNullEnum(h.aggregate)?a.Aggregate.Sum:h.aggregate,(!!h.excludeNulls))}return null},e.prototype.N2a=function(){return this.L2a},Object.defineProperty(e.prototype,"name",{get:function(){return this.N2a().Cj()},enumerable:!0,configurable:!0}),e.prototype.wLa=function(){return this.N2a().wLa()},e.prototype.lCa=function(b){return this.sOa!=a.Aggregate.List?this.N2a().field.sOa(b,this.sOa):this.N2a().field.lCa(b)},e.prototype.PBa=function(b){return this.sOa!=a.Aggregate.List?this.N2a().field.sOa(b,this.sOa):this.N2a().field.PBa(b)},e.prototype.zAa=function(a){return a instanceof e&&this.N2a().equals(a.N2a())&&this.sOa==a.sOa},e);function e(a,b,d,e){var f=c.call(this,a,e)||this;return f.L2a=b,f.sOa=d,f}b.G3a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.F3a,__extends(d,b),d.T0=function(b,c,e){var f,g,h,i,j;return null!=b&&"IRangeFieldValueEncodingOption"==b.type&&(f=b,g=null!=f.label?[f.label.lower,f.label.upper]:[],h=null,null!=f.field.lower&&null!=(i=a.l3a.T0(f.field.lower,c))&&(0<g.length&&i.wLa(g[0]),h=i),j=null,null!=f.field.upper&&null!=(i=a.l3a.T0(f.field.upper,c))&&(1<g.length&&i.wLa(g[1]),j=i),null!=h&&null!=j)?new d(e,h,j,(!!f.excludeNulls)):null},Object.defineProperty(d.prototype,"name",{get:function(){return this.HCa},enumerable:!0,configurable:!0}),d.prototype.wLa=function(){return this.hRa},d.prototype.E3a=function(){return b.prototype.E3a.call(this)},d.prototype.lCa=function(b){var c,d,e,f,g,h,i;for(c=null,d=null,e=0,f=b;e<f.length;e++)g=f[e],h=this.H3a.mPb().T0(a.VOb.getValue(g,this.H3a.Cj())),null!=h&&(null==d||d.valueOf()>h.valueOf())&&(d=h),i=this.I3a.mPb().T0(a.VOb.getValue(g,this.I3a.Cj())),null!=i&&(null==c||c.valueOf()<i.valueOf())&&(c=i);return{upper:c,lower:d}},d.prototype.PBa=function(a){var b=this.lCa(a);return b.upper.valueOf()-b.lower.valueOf()},d.prototype.zAa=function(a){return a instanceof d&&this.H3a.equals(a.H3a)&&this.I3a.equals(a.I3a)},d.prototype.WOb=function(a){var b=this,c=this.PY();return null!=c&&(a=a.filter(function(a){var d=!1;return null!=b.H3a&&(d=c.filter(a,b.H3a.Cj())),d&&null!=b.I3a&&(d=c.filter(a,b.I3a.Cj())),d})),a},d);function d(a,c,d,e){var f=b.call(this,a,e)||this;return f.H3a=c,f.I3a=d,f.HCa=c.Cj()+"-"+d.Cj(),f.hRa=c.wLa()+"-"+d.wLa(),f}a.J3a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.F3a,__extends(e,c),e.T0=function(a,c,d){var f,g,h,i,j;return null!=a&&"IRangeFieldValueEncodingOption"==a.type&&(f=a,g=null!=f.label?[f.label.lower,f.label.upper]:[],h=null,null!=f.field.lower&&null!=(i=b.k3a.T0(f.field.lower,c))&&(0<g.length&&i.wLa(g[0]),h=i),j=null,null!=f.field.upper&&null!=(i=b.k3a.T0(f.field.upper,c))&&(1<g.length&&i.wLa(g[1]),j=i),null!=h&&null!=j)?new e(d,h,j,(!!f.excludeNulls)):null},Object.defineProperty(e.prototype,"name",{get:function(){return this.HCa},enumerable:!0,configurable:!0}),e.prototype.wLa=function(){return this.hRa},e.prototype.E3a=function(){return c.prototype.E3a.call(this)},e.prototype.lCa=function(b){var c=this.H3a.field.sOa(b,a.Aggregate.Min);return{upper:this.I3a.field.sOa(b,a.Aggregate.Max),lower:c}},e.prototype.PBa=function(b){var c=this.H3a.field.sOa(b,a.Aggregate.Min);return this.I3a.field.sOa(b,a.Aggregate.Max)-c},e.prototype.zAa=function(a){return a instanceof e&&this.H3a.equals(a.H3a)&&this.I3a.equals(a.I3a)},e.prototype.WOb=function(a){var b=this,c=this.PY();return null!=c&&(a=a.filter(function(a){var d=!1;return null!=b.H3a&&(d=c.filter(a,b.H3a.Cj())),d&&null!=b.I3a&&(d=c.filter(a,b.I3a.Cj())),d})),a},e);function e(a,b,d,e){var f=c.call(this,a,e)||this;return f.H3a=b,f.I3a=d,f.HCa=b.Cj()+"-"+d.Cj(),f.hRa=b.wLa()+"-"+d.wLa(),f}b.K3a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.evaluate=function(a,b){null!=this.hQa&&this.hQa.evaluate("CONDITION",b)},d.prototype.isIdentityExpression=function(a){return!1},d.prototype.getIdentityValue=function(a){},d.prototype.resultCallback=function(a){},d);function d(){this.hQa=null;var b=a.plugins.CalculationEnginePlugin.nUb("Default");null!=b&&(this.hQa=b.create(this))}b.P3a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.equals=function(a){return this===a||null!=a&&a.Nc()==this.Nc()&&this.name==a.name},d.prototype.Nc=function(){return this.kEa},d.prototype.sOa=function(c,d){var e,f,g,h,i,j,k,l,m=new a.core.collections.CollectionView(c);if(d==a.Aggregate.Sum||d==a.Aggregate.Average){for(e=!0,f=0,g=c;f<g.length;f++)if(h=g[f],null!=b.VOb.getValue(h,this.name)){e=!1;break}if(e)return null;for(i=!0,j=0,k=c;j<k.length;j++)if(h=k[j],l=b.VOb.getValue(h,this.name),null==l||"number"!=typeof l||!isNaN(l)){i=!1;break}if(i)return NaN}return m.getAggregate(d,this.name)},d.prototype.queryInterface=function(a){return"IDataField"==a?this:null},d);function d(a,b){this.name=a,this.kEa=b}b.AAa=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.AAa,__extends(e,c),e.T0=function(c,d){if(a.ePb.dPb(null!=c),null==c.field)return null;if(null!=c.outputAs&&0<c.outputAs.length&&null!=c.field&&0<c.field.length){var f=d[c.field];if(null!=f&&f instanceof b.iBa)return new e(c,f)}return null},e.prototype.bw=function(){return this.oBa.bw()},e.prototype.cw=function(){return this.oBa.cw()},e.prototype.Ey=function(){return this.oBa.Ey()},e.prototype.$z=function(){return this.eAa},e.prototype.u3a=function(){return this.oBa},e.prototype.lCa=function(a){return this.oBa.lCa(a)},e.prototype.oUb=function(a){return this.oBa.oUb(a)},e.prototype.e4=function(a,b){return this.oBa.e4(a,b)},e.prototype.PBa=function(a){return this.oBa.PBa(a)},e.prototype.equals=function(a){if(!c.prototype.equals.call(this,a))return!1;if(a instanceof e){var b=a;return this.u3a().equals(b.u3a())}return!1},e.prototype.queryInterface=function(a){return"IDateDataField"==a?this:c.prototype.queryInterface.call(this,a)},e);function e(b,d){var e=c.call(this,b.outputAs,a.core.DataType.Date)||this;return a.ePb.dPb(null!=d),e.eAa=b,e.oBa=d,e}b.q3a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.AAa,__extends(e,c),e.T0=function(c,d){if(a.ePb.dPb(null!=c),null==c.field)return null;if(null!=c.outputAs&&0<c.outputAs.length&&null!=c.field&&0<c.field.length){var f=d[c.field];if(null!=f&&f instanceof b.fBa)return new e(c,f)}return null},e.prototype.bw=function(){return this.u3a().bw()},e.prototype.cw=function(){return this.u3a().cw()},e.prototype.Ey=function(){return this.oBa.Ey()},e.prototype.$z=function(){return this.eAa},e.prototype.u3a=function(){return this.oBa},e.prototype.lCa=function(a){return this.oBa.lCa(a)},e.prototype.qTb=function(a){return this.oBa.qTb(a)},e.prototype.e4=function(a,b){return this.oBa.e4(a,b)},e.prototype.PBa=function(a){return this.oBa.PBa(a)},e.prototype.Q3a=function(a,b){var c,d=this.$z().bin;return null==d?[]:(c=d.steps,Array.isArray(c)&&0<c.length?this.T3a(this.bw(),this.cw(),c):this.R3a(this.bw(),this.cw()))},e.prototype.T3a=function(a,b,c){var d,e,f,g,h=[],i=[];for(i=i.concat(c).sort(function(a,b){return null==a?1:null==b?-1:b<a?1:a<b?-1:0}),d=a,h.push(d),e=0,f=c;e<f.length;e++)g=f[e],d<g&&(h.push(g),d=g);return d<b&&h.push(b),h},e.prototype.R3a=function(a,c,d){return void 0===d&&(d=4),new b.rRa(a,c,(!0),d).ZDa()},e.prototype.equals=function(a){if(!c.prototype.equals.call(this,a))return!1;if(a instanceof e){var b=a;return this.u3a().equals(b.u3a())}return!1},e.prototype.queryInterface=function(a){return"INumberDataField"==a?this:c.prototype.queryInterface.call(this,a)},e);function e(b,d){var e=c.call(this,b.outputAs,a.core.DataType.Number)||this;return a.ePb.dPb(null!=d),e.eAa=b,e.oBa=d,e}b.I2a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.AAa,__extends(e,c),e.prototype.bw=function(){return 0},e.prototype.cw=function(){return this.Ey()?this.Ey().length-1:0},e.prototype.Ey=function(){return this.oFa},e.prototype.Sb=function(a){-1==this.oFa.indexOf(a)&&this.oFa.push(a)},e.prototype.lCa=function(a){return this.pUb(a)},e.prototype.pUb=function(c){var d,e,f,g;if(null==c)return null;if(Array.isArray(c)){for(d=0,e=c;d<e.length;d++)if(f=e[d],null!=(g=a.core.UOb.asBoolean(b.VOb.getValue(f,this.name),!0)))return g}else{if(null==b.VOb.getValue(c,this.name))return null;if(null!=(g=a.core.UOb.asBoolean(b.VOb.getValue(c,this.name),!0)))return g}return null},e.prototype.e4=function(c,d){var e,f=null;return null!=c&&(f=a.core.UOb.asBoolean(b.VOb.getValue(c,this.name),!0)),e=null,null!=d&&(e=a.core.UOb.asBoolean(b.VOb.getValue(d,this.name),!0)),f==e?0:1==f?1:-1},e.prototype.PBa=function(a){var b=this.pUb(a);return null==b?null:this.Ey().indexOf(b)},e.prototype.queryInterface=function(a){return"IBooleanDataField"==a?this:c.prototype.queryInterface.call(this,a)},e);function e(b){var d=c.call(this,b,a.core.DataType.Boolean)||this;return d.oFa=[],d}b.jBa=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.AAa,__extends(e,c),e.prototype.bw=function(){return this.uOa},e.prototype.cw=function(){return this.vOa},e.prototype.Ey=function(){return this.oFa},e.prototype.ROa=function(){return this.cAa},e.prototype.Sb=function(a){(isNaN(this.uOa)||this.uOa>a.valueOf())&&(this.uOa=a.valueOf()),(isNaN(this.vOa)||this.vOa<a.valueOf())&&(this.vOa=a.valueOf()),-1==this.oFa.indexOf(a)&&this.oFa.push(a)},e.prototype.T0=function(a){return"string"==typeof a?this.ROa().gBa(a):null!=a&&a instanceof Date?a:null},e.prototype.lCa=function(a){return this.oUb(a)},e.prototype.oUb=function(a){var c,d,e,f;if(null==a)return null;if(Array.isArray(a)){for(c=0,d=a;c<d.length;c++)if(e=d[c],null!=(f=this.T0(b.VOb.getValue(e,this.name))))return f}else{if(null==b.VOb.getValue(a,this.name))return null;if(null!=(f=this.T0(b.VOb.getValue(a,this.name))))return f}return null},e.prototype.e4=function(a,c){var d,e=null;return null!=a&&(e=this.T0(b.VOb.getValue(a,this.name))),d=null,null!=c&&(d=this.T0(b.VOb.getValue(c,this.name))),e==d?0:null==e?-1:null==d?1:e.valueOf()-d.valueOf()},e.prototype.PBa=function(a){var b=this.oUb(a);return null==b?null:b.valueOf()},e.prototype.queryInterface=function(a){return"IDateDataField"==a?this:c.prototype.queryInterface.call(this,a)},e);function e(b,d){var e=c.call(this,b,a.core.DataType.Date)||this;return e.oFa=[],e.uOa=NaN,e.vOa=NaN,e.cAa=d,e}b.iBa=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.AAa,__extends(e,c),e.prototype.bw=function(){return NaN},e.prototype.cw=function(){return NaN},e.prototype.Ey=function(){return this.oFa},e.prototype.sOa=function(a,b){return null},e.prototype.lCa=function(a){return null},e.prototype.e4=function(a,b){return 0},e.prototype.PBa=function(a){return null},e);function e(b){var d=c.call(this,b,a.core.DataType.Unknown)||this;return d.oFa=null,d}b.eBa=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.AAa,__extends(e,c),e.prototype.bw=function(){return this.uOa},e.prototype.cw=function(){return this.vOa},e.prototype.Ey=function(){return this.oFa},e.prototype.Sb=function(a){(isNaN(this.uOa)||this.uOa>a)&&(this.uOa=a),(isNaN(this.vOa)||this.vOa<a)&&(this.vOa=a),-1==this.oFa.indexOf(a)&&this.oFa.push(a)},e.prototype.lCa=function(a){return this.qTb(a)},e.prototype.qTb=function(c){var d,e,f,g;if(null==c)return null;if(Array.isArray(c)){for(d=0,e=c;d<e.length;d++)if(f=e[d],null!=(g=a.core.UOb.asNumber(b.VOb.getValue(f,this.name),!0)))return g}else{if(null==b.VOb.getValue(c,this.name))return null;if(null!=(g=a.core.UOb.asNumber(b.VOb.getValue(c,this.name),!0)))return g}return null},e.prototype.e4=function(c,d){var e,f=null;return null!=c&&(f=a.core.UOb.asNumber(b.VOb.getValue(c,this.name),!0)),e=null,null!=d&&(e=a.core.UOb.asNumber(b.VOb.getValue(d,this.name),!0)),f==e?0:null==f?-1:null==e?1:f-e},e.prototype.PBa=function(a){return this.qTb(a)},e.prototype.queryInterface=function(a){return"INumberDataField"==a?this:c.prototype.queryInterface.call(this,a)},e);function e(b){var d=c.call(this,b,a.core.DataType.Number)||this;return d.oFa=[],d.uOa=NaN,d.vOa=NaN,d}b.fBa=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.AAa,__extends(e,c),e.prototype.bw=function(){return 0},e.prototype.cw=function(){return null!=this.Ey()?this.Ey().length-1:0},e.prototype.Ey=function(){return this.oFa},e.prototype.Sb=function(a){-1==this.oFa.indexOf(a)&&this.oFa.push(a)},e.prototype.lCa=function(a){return this.qUb(a)},e.prototype.qUb=function(c){var d,e,f,g;if(null==c)return null;if(Array.isArray(c)){for(d=0,e=c;d<e.length;d++)if(f=e[d],null!=(g=a.core.UOb.asString(b.VOb.getValue(f,this.name),!0)))return g}else{if(null==b.VOb.getValue(c,this.name))return null;if(null!=(g=a.core.UOb.asString(b.VOb.getValue(c,this.name),!0)))return g}return null},e.prototype.e4=function(c,d){var e,f=null;return null!=c&&(f=a.core.UOb.asString(b.VOb.getValue(c,this.name),!0)),e=null,null!=d&&(e=a.core.UOb.asString(b.VOb.getValue(d,this.name),!0)),f==e?0:null==f?-1:null==e?1:f.localeCompare(e)},e.prototype.PBa=function(a){var b=this.qUb(a);return null==b?null:this.Ey().indexOf(b)},e.prototype.queryInterface=function(a){return"IStringDataField"==a?this:c.prototype.queryInterface.call(this,a)},e);function e(b){var d=c.call(this,b,a.core.DataType.String)||this;return d.oFa=[],d}b.hBa=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.PY=function(a){return a?[a[this.index<0?Math.max(0,this.index+a.length):Math.min(a.length-1,this.index)]]:null},c);function c(a){this.index=a}a.rUb=b}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.PY=function(a){var b,c,d,e,f,g;if(a){for(b=a.length,c=this.start?this.start:0,d=this.end?this.end:a.length,e=this.step?this.step:1,c=c<0?Math.max(0,c+b):Math.min(b,c),d=d<0?Math.max(0,d+b):Math.min(b,d),f=[],g=c;g<d&&0<=g;g+=e)f.push(a[g]);return f}return null},c);function c(a,b,c){this.start=a,this.end=b,this.step=c}a.sUb=b}(dv=dv||{}),dv=dv||{},function(a){!function(b){"use strict";var c=(d.prototype.predicate=function(b){var c=null!=b&&null!=b.model?b.model.type:null;return!(null!=c&&0<=this.modelTypes.indexOf(""+a.ElementType[c]))},d);function d(a){this.modelTypes=a}b.ExcludingModelPrediction=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.predicate=function(b){var c=null!=b?b.model.type:null;return null!=c&&0<=this.modelTypes.indexOf(""+a.ElementType[c])},d);function d(a){this.modelTypes=a}b.IncludingModelPrediction=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),dv=dv||{},function(a){a.models||(a.models={})}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.tUb=function(a){return arguments.length<=0?this.uUb:void(this.uUb=a)},d.prototype.vUb=function(){return null==this.wUb&&(this.wUb=new b.xUb),this.wUb},d.prototype.yUb=function(a){return arguments.length<=0?this.zUb:void(this.zUb=a)},d.prototype.AUb=function(){return this.FSb},d.prototype.BUb=function(){var a=this.AUb();return this.q4a().nPa().filter(function(b){return 0<=a.indexOf(b.f3a())})},d.prototype.CUb=function(){var a=this.AUb();return 0<a.length?a[0].option.config.style:null},d.prototype.Ga=function(a){return null},d.prototype.g3=function(){return this.DUb},d.prototype.$z=function(){return null==this.eAa&&(this.eAa=new a.options.wDa(null)),this.eAa},d.prototype.q4a=function(){return this.nOa},d.prototype.uTb=function(a){this.DUb|=a},d.prototype.Ma=function(c){switch(c){case a.LegendType.Color:return this.DUb==b.vTb.PlotColor||this.DUb==(b.vTb.PlotColor|b.vTb.PlotShape);case a.LegendType.Shape:return this.DUb===b.vTb.PlotShape||this.DUb==(b.vTb.PlotColor|b.vTb.PlotShape);case a.LegendType.Size:return this.DUb===b.vTb.PlotSize;case a.LegendType.Overlay:return this.DUb===b.vTb.OverlayColor}return!1},d.prototype.EUb=function(){},d.prototype.NGa=function(){this.use()},d.prototype.use=function(){null!=this.tUb()&&this.tUb().FUb(this)},d.prototype.GUb=function(){null!=this.tUb()&&this.tUb().GUb(this)},d.prototype.queryInterface=function(a){return null},d);function d(a,b){this.DUb=0,this.FSb=[],this.zUb=!0,this.nOa=a,this.eAa=b}b.BaseLegend=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.BaseLegend,__extends(d,b),d.prototype.HUb=function(a){return arguments.length<=0?this.IUb:void(this.IUb=a)},d.prototype.oPa=function(){return null},d);function d(a,c){var d=b.call(this,a,c)||this;return d.IUb=!0,d}a.yDa=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.compare=function(b,c){var d=b.g3(),e=c.g3();return(d&a.vTb.PlotColor)==a.vTb.PlotColor&&(e&a.vTb.PlotColor)==a.vTb.PlotColor?0:(d&a.vTb.PlotColor)==a.vTb.PlotColor?-1:(e&a.vTb.PlotColor)==a.vTb.PlotColor?1:(d&a.vTb.OverlayColor)==a.vTb.OverlayColor&&(e&a.vTb.OverlayColor)==a.vTb.OverlayColor?0:(d&a.vTb.OverlayColor)==a.vTb.OverlayColor?-1:(e&a.vTb.OverlayColor)==a.vTb.OverlayColor?1:(d&a.vTb.PlotSize)==a.vTb.PlotSize&&(e&a.vTb.PlotSize)==a.vTb.PlotSize?0:(d&a.vTb.PlotSize)==a.vTb.PlotSize?-1:(e&a.vTb.PlotSize)==a.vTb.PlotSize?1:(d&a.vTb.PlotShape)==a.vTb.PlotShape&&(e&a.vTb.PlotShape)==a.vTb.PlotShape?0:(d&a.vTb.PlotShape)==a.vTb.PlotShape?-1:(e&a.vTb.PlotShape)==a.vTb.PlotShape?1:0},c);function c(){}a.JUb=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b;(b=a.vTb||(a.vTb={}))[b.PlotColor=1]="PlotColor",b[b.PlotShape=2]="PlotShape",b[b.PlotSize=4]="PlotSize",b[b.OverlayColor=8]="OverlayColor"}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.KUb=function(a){null!=a&&this.pEa.indexOf(a)<0&&this.pEa.push(a)},c.prototype.LUb=function(a){var b,c,d;for(b=0,c=a.pEa;b<c.length;b++)d=c[b],this.KUb(d)},c.prototype.vQb=function(){return this.pEa.join("-")},c);function c(){this.pEa=[]}a.xUb=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(){"use strict";function b(){}(a.models||(a.models={})).OAa=b}()}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.yDa,__extends(d,b),d.prototype.getColor=function(){return this.MUb().KGa(!0)},d.prototype.MUb=function(){var b=this.AUb()[0].queryInterface("IColorIterator");return null==b&&(b=new a.GlobalColorIterator(this.q4a())),b},d.prototype.getLegendSymbol=function(){var a=null,b=this.AUb()[0].queryInterface("ILegendSymbolManager");return null!=b&&(a=b.mSa()),a},d.prototype.queryInterface=function(a){return"IColorLegend"===a?this:b.prototype.queryInterface.call(this,a)},d);function d(c,d){var e=b.call(this,c,null)||this;return e.AUb().push(d),e.uTb(a.vTb.PlotColor),e}a.NUb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.findFirstInMerge=function(a,b){var c,d,e,f,g,h;for(c=0,d=this.mergeOptions;c<d.length;c++)for(e=d[c],f=0,g=e.merge;f<g.length;f++)if(h=g[f],a===h.plotName&&h.type===b)return e;return null},c.prototype.findFirstInNormal=function(a){for(var b=0;b<this.normalOptions.length;++b)if(this.normalOptions[b].type==a)return this.normalOptions.splice(b,1)[0];return null},c.prototype.RGb=function(a,b){var c=this.findFirstInMerge(a,b);return null==c&&(c=this.findFirstInNormal(b)),c},c);function c(a){var b,c,d;for(this.mergeOptions=[],this.normalOptions=[],b=0,c=a;b<c.length;b++)d=c[b],null==d.merge?this.normalOptions.push(d):this.mergeOptions.push(d)}a.LegendOptionDispatcher=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.yDa,__extends(e,c),e.prototype.OUb=function(){return null},e.prototype.applyOptionsToItems=function(){var a,b,c=this.$z().items;if(null!=c)for(a=0;a<this.GAa.length;++a)b=c[a],this.GAa[a].Owb(b)},e.prototype._items=function(){return this.GAa},e.prototype.sortItemByOption=function(){switch(this.$z().sortOrder){case a.SortOrder.Reversed:this.GAa.reverse();break;case a.SortOrder.Ascending:this.GAa.sort(function(a,b){return a.zsa()>b.zsa()?1:-1});break;case a.SortOrder.Descending:this.GAa.sort(function(a,b){return a.zsa()<b.zsa()?1:-1})}},e);function e(a,b){var d=c.call(this,a,b)||this;return d.GAa=[],d}b.D4a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.D4a,__extends(e,c),e.prototype.f3a=function(){return this.I4a},e.prototype.PUb=function(){return this.I4a},e.prototype.QUb=function(a){return null},e.prototype.OUb=function(){return this.PUb().Kb()},e.prototype.Ga=function(a){var c,d,f,g,h;if(a instanceof e&&(d=this.PUb(),f=a.PUb(),d.zAa(f)&&b.SUb.RUb(d.plotDefinition,f.plotDefinition)&&b.SUb.TUb(d.plotDefinition,f.plotDefinition)&&b.SUb.UUb(d.plotDefinition,f.plotDefinition)))if(g=this.g3(),h=a.g3(),b.SUb.VUb(d.plotDefinition,f.plotDefinition)){if(g===b.vTb.PlotColor&&h===b.vTb.PlotShape)return this.uTb(b.vTb.PlotShape),this.vUb().KUb(f.wLa()),this;if(g===b.vTb.PlotShape&&h===b.vTb.PlotColor)return this.uTb(b.vTb.PlotColor),this.vUb().KUb(f.wLa()),this}else if(g===h)return(c=this.AUb()).push.apply(c,a.AUb()),this.vUb().KUb(f.wLa()),this;return null},e.prototype.getColor=function(){return this.MUb().KGa(!0)},e.prototype.MUb=function(){var a=this.AUb()[0].queryInterface("IColorIterator");return null==a&&(a=new b.GlobalColorIterator(this.q4a())),a},e.prototype.getLegendSymbol=function(){var a=null,b=this.AUb()[0].queryInterface("ILegendSymbolManager");return null!=b&&(a=b.mSa()),a},e.prototype.queryInterface=function(b){return"IColorLegend"===b&&this.Ma(a.LegendType.Color)?this:c.prototype.queryInterface.call(this,b)},e);function e(a,b,d){var e=c.call(this,a,d)||this;return e.I4a=b,e.vUb().KUb(b.wLa()),e.AUb().push(b.plotDefinition),e}b.J4a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.WUb=function(a){var b,c,d,e,f,g;for(b=[],c=0,d=this.mva().BUb();c<d.length;c++)for(e=0,f=d[c].x4a(a);e<f.length;e++)g=f[e],b.push(g);return b},d.prototype.mva=function(){return this.iFa},d.prototype.Za=function(a){return arguments.length<=0?(null==this.iRa&&(this.iRa=new b.oSa),this.iRa):void(this.iRa=a)},d.prototype.zsa=function(){return this.mEa},d.prototype.$z=function(a){return arguments.length<=0?this.eAa:void(this.eAa=a)},d.prototype.Oz=function(a){return arguments.length<=0?this.qCa:void(this.qCa=a)},d.prototype.tE=function(a){return arguments.length<=0?this.oCa:void(this.oCa=a)},d.prototype.nSa=function(a){return arguments.length<=0?this.pCa:void(this.pCa=a)},d.prototype.OUb=function(){return this.iFa.OUb()},d.prototype.cxb=function(){return new b.dxb(this,this.OUb())},d.prototype.Owb=function(a){null==a||null==(this.eAa=a).text?null!=this.cxb()&&(this.mEa=this.Nfb(this.cxb())):this.mEa=a.text},d.prototype.Nfb=function(b){var c,d=a.plugins.w1a.QOa("Default");return null!=d&&(c=d.toLines(b),null!=c&&0<c.length)?c.join(""):this.mEa},d);function d(a,b){this.iFa=a,this.mEa=b}b.zDa=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c,d,e,f=(g.prototype.TJa=function(){return this.kCa},g.prototype.rPa=function(){return"{value}"},g.prototype.exb=function(){var a=this.kCa.mva().$z();return null!=a&&null!=a.template?a.template:this.rPa()},g.prototype.defaultProperty=function(a){return"value"},g.prototype.defaultFormat=function(a){return this.qEa},g.prototype.fromToken=function(b,c){var d,e=new a.Token;return"value"==b&&(d=this.kCa.zsa(),e.value=new a.$Ob(d)),e},g);function g(a,b){this.kCa=a,this.qEa=b,this.template=this.exb()}a.dxb=f,__extends(h,b=f),h.prototype.TJa=function(){return b.prototype.TJa.call(this)},h.prototype.rPa=function(){return"{from}-{to}"},h.prototype.fromToken=function(b,c){var d=new a.Token;return"from"===b?d.value=new a.$Ob(this.TJa().my.start):"to"===b&&(d.value=new a.$Ob(this.TJa().my.to)),d},c=h;function h(a,c){return b.call(this,a,c)||this}a.fxb=c,__extends(i,d=f),i.prototype.TJa=function(){return d.prototype.TJa.call(this)},i.prototype.fromToken=function(b,c){var d=new a.Token;return"value"===b&&(d.value=new a.$Ob(this.TJa().key)),d},e=i;function i(a,b){return d.call(this,a,b)||this}a.gxb=e}(a.models||(a.models={}))}(dv=dv||{}),
- function(a){!function(a){"use strict";var b,c=(b=a.zDa,__extends(d,b),d.prototype.fua=function(){return this.J6a},d.prototype.mva=function(){return b.prototype.mva.call(this)},d);function d(a,c){var d=b.call(this,a,c)||this;return d.J6a=[],d}a.K4a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.J4a,__extends(e,c),e.prototype.XUb=function(){return c.prototype.f3a.call(this)},e.prototype.Ga=function(a){return a instanceof e?c.prototype.Ga.call(this,a):null},e.prototype.EUb=function(){var a,c,d,e,f,g;for(a=0,c=this.BUb();a<c.length;a++)for(d=c[a],e=0,f=b.ZUb.YUb(d);e<f.length;e++)g=f[e],this.Sb(g)},e.prototype.NGa=function(){this.Ma(a.LegendType.Color)&&this.GDa(),this.Ma(a.LegendType.Shape)&&this.IDa(),this.sortItemByOption(),this.applyOptionsToItems(),this.use()},e.prototype.$Ub=function(){return c.prototype._items.call(this)},e.prototype.Sb=function(c){var d,e,f,g;0<c._items().length&&(d=this.XUb().lCa(c._items()),e=this.JDa(d),null==e&&(f=a.plugins.w1a.lPa("Default"),g=null!=f?f.format(this.XUb().N2a().format,d):""+d,(e=new b.R4a(this,g,d)).Za(this.getLegendSymbol()),this._items().push(e)),e.fua().push(c))},e.prototype.GDa=function(){this.S4a();for(var a=0,b=this._items();a<b.length;a++)b[a].tE(this.getColor())},e.prototype.IDa=function(){this.S4a();for(var a=0,b=this.q4a().s4a().POa(),c=0,d=this._items();c<d.length;c++)d[c].nSa(b.getSymbol(a)),a++},e.prototype.JDa=function(a){var b,c,d,e=this.$Ub();if(e.length<=0)return null;for(b=0,c=e;b<c.length;b++)if(d=c[b],null!=d.key&&d.key instanceof Date&&null!=a&&a instanceof Date){if(d.key.valueOf()==a.valueOf())return d}else if(d.key==a||"number"==typeof d.key&&"number"==typeof a&&isNaN(d.key)&&isNaN(a))return d;return null},e.prototype.QUb=function(a){return this.JDa(this.XUb().lCa(a._items()))},e.prototype.S4a=function(){var a,c=this.XUb().Q2a();c instanceof b.U2a&&(a=this.$Ub(),a.sort(function(a,b){return a.key==b.key?0:null==a.key?1:null==b.key?-1:a.key instanceof Date&&b.key instanceof Date?a.key.valueOf()-b.key.valueOf():"number"==typeof a.key&&"number"==typeof b.key?a.key-b.key:"string"==typeof a.key&&"string"==typeof b.key?a.key.toLowerCase().localeCompare(b.key.toLowerCase()):"boolean"==typeof a.key&&"boolean"==typeof b.key?a.key?-1:1:0}),c.RSb||a.reverse())},e);function e(a,b,d){return c.call(this,a,b,d)||this}b.z4a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.K4a,__extends(d,b),d.prototype.cxb=function(){return new a.gxb(this,this.OUb())},d);function d(a,c,d){var e=b.call(this,a,c)||this;return e.key=d,e}a.R4a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d,e,f=(c=b.zDa,__extends(g,c),g.prototype.tE=function(){return this.Gvb},g);function g(a,b,d){var e=c.call(this,a,d)||this;return e.Gvb=b,e}b._Ub=f,d=b.D4a,__extends(h,d),h.prototype.aVb=function(){var a,c,d,e,f,g;for(a=[],c=this.xQb,d=0,e=this.q4a().nPa();d<e.length;d++)f=e[d],f.f3a()===c&&(g=f.aT(),g instanceof b.gDa&&null!=g.al()&&a.push(g));return a},h.prototype.ivb=function(b,c,d){if("string"==typeof b){var e=a.core.ica.fromCss(b);b=a.core.ica.tint(e,c/d).toCss()}return b},h.prototype.getColorableLayer=function(){var b,c,d,e,f,g=this.xQb,h=g.c7a().Y2a().map(function(a){return a.Cj()});if((b=null==g.R5a()?[h[0]]:g.R5a().Y2a().map(function(a){return a.Cj()})).length<=0)return a.ePb.dPb(!1),{layers:[],isTree:!1};if(1==b.length)return c=h.indexOf(b[0]),c<0&&(c=0),{layers:[c],isTree:!1};for(d=0,e=[],f=0;f<h.length&&(h[f]!==b[d]||(e.push(f),++d!==b.length));++f);return{layers:e,isTree:!0}},h.prototype.EUb=function(){var a,b,c,d,e=this.xQb;if(null!=e&&null!=e.HOa()&&null!=e.c7a())for(a=this.getColorableLayer().layers,this.start=a[0],this.end=a[a.length-1],this.layers=a,b=0,c=this.aVb();b<c.length;b++)d=c[b],this.initScaleTree(d.al(),this.end),this.checkIn(d.al());null==e.R5a()&&this.HUb(!1)},h.prototype.checkIn=function(a){var b,c,d,e;if(0<a.oi().length)for(b=0,c=a.oi();b<c.length;b++)d=c[b],e=this.root.findChildByPath(d.path),null!=e&&(null==e.label&&(e.label=d.Cj()),e.points.push(d)),this.checkIn(d)},h.prototype.NGa=function(){this.root.color=this.getColor(!1),this.applyColorToScaleTree(this.root,this.start,this.end),this.createItemsFromScaleTree(this.root),this.sortItemByOption(),this.applyOptionsToItems(),this.use()},h.prototype.use=function(){var a,b,c;for(a=0,b=this.aVb();a<b.length;a++)c=b[a],c.al().tE(this.root.color),this.applyColorToPoint(c.al())},h.prototype.getPath=function(a,b){var c,d,e;for(0===a.oi().length&&b.push(a.path),c=0,d=a.oi();c<d.length;c++)e=d[c],this.getPath(e,b)},h.prototype.initScaleTree=function(a,c){var d,e,f,g=[];for(this.getPath(a,g),d=0,e=g;d<e.length;d++)f=e[d],b.HierachicalLegendScaleTreeNode.fit(this.root,f,c)},h.prototype.applyColorToScaleTree=function(a,b,c){var d,e,f;if(!(c<b))for(d=a.level+1,e=0;e<a.children.length;++e)f=a.children[e],a.level<b?f.color=this.getColor(!0):0<=this.layers.indexOf(d)?f.color=this.ivb(a.color,e+1,a.children.length+1):f.color=a.color,this.applyColorToScaleTree(f,b,c)},h.prototype.applyColorToPoint=function(a){var b,c,d,e;if(0<a.oi().length)for(b=0,c=a.oi();b<c.length;b++)d=c[b],e=this.root.findChildByPath(d.path),null!=e&&d.tE(e.color),this.applyColorToPoint(d)},h.prototype.createItemsFromScaleTree=function(a){var b,c,d,e;if(null!=a)for(b=0,c=a.children;b<c.length;b++)d=c[b],d.level===this.start?(e=new f(this,d.color,d.label),e.Za(this.getLegendSymbol()),this._items().push(e)):d.level<this.start&&this.createItemsFromScaleTree(d)},h.prototype.getLegendSymbol=function(){var a=null,b=this.xQb.queryInterface("ILegendSymbolManager");return null!=b&&(a=b.mSa()),a},h.prototype.getColor=function(a){return this.getColorIterator().KGa(a)},h.prototype.getColorIterator=function(){var a=this.xQb.queryInterface("IColorIterator");return null==a&&(a=new b.GlobalColorIterator(this.q4a())),a},e=h;function h(a,c,e){var f=d.call(this,a,e)||this;return f.uTb(b.vTb.PlotColor),f.xQb=c,f.AUb().push(c),f.root=new b.HierachicalLegendScaleTreeNode(null),f}b.nTb=e}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.findChildByPath=function(a){var b,c,d;for(b=this,c=0;c<a.length;++c){if(d=b.findChild(a[c]),null==d)return b;b=d}return b},c.prototype.findChild=function(a){var b,c,d;for(b=0,c=this.children;b<c.length;b++)if(d=c[b],a===d.key)return d;return null},c.fit=function(a,b,d){var e,f;for(e=0;e<b.length&&!(d<e);++e)f=a.findChild(b[e]),null==f&&((f=new c(a)).key=b[e]),a=f},c);function c(a){this.children=[],this.points=[],null!=(this.parent=a)?(this.parent.children.push(this),this.level=a.level+1):this.level=-1}a.HierachicalLegendScaleTreeNode=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.zDa,__extends(d,b),d.prototype.mva=function(){return b.prototype.mva.call(this)},d);function d(a,c,d){var e=b.call(this,a,c)||this;return e.Za(d),e}a.kqb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.D4a,__extends(d,b),d.prototype.Ga=function(a){return null},d.prototype.initializeStyle=function(a){a.bVb()},d.prototype.createItem=function(){var a,b,c,d,e,f,g,h,i;for(b=0,c=this.BUb();b<c.length;b++)for(d=0,e=c[b].atb();d<e.length;d++)f=e[d],g=f.f3a(),null!=g&&(h=g.queryInterface("IOverlayLegendItemsBuilder"),null!=h&&(i=h.build(this,f),i&&(a=this._items()).push.apply(a,i)))},d.prototype.NGa=function(){var a,b,c,d,e;for(a=0,b=this.BUb();a<b.length;a++)for(c=0,d=b[a].atb();c<d.length;c++)e=d[c],this.initializeStyle(e);this.createItem(),this.sortItemByOption(),this.applyOptionsToItems()},d);function d(a,c,d){var e=b.call(this,a,d)||this;return e.AUb().push(c),e}a.hqb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.J4a,__extends(e,c),e.prototype.cVb=function(){return c.prototype.f3a.call(this)},e.prototype.bw=function(){return this.uOa},e.prototype.cw=function(){return this.vOa},e.prototype.Ga=function(a){return a instanceof e?c.prototype.Ga.call(this,a):null},e.prototype.EUb=function(){var a,c,d,e,f,g,h,i,j,k,l,m;for(c=0,d=this.BUb();c<d.length;c++)for(e=d[c],f=0,g=b.ZUb.YUb(e);f<g.length;f++)h=g[f],this.Sb(h);for((a=this._items()).push.apply(a,this.L4a()),i=0,j=this.BUb();i<j.length;i++)for(e=j[i],k=0,l=b.ZUb.YUb(e);k<l.length;k++)h=l[k],m=this.QUb(h),null!=m&&m.fua().push(h)},e.prototype.NGa=function(){this.Ma(a.LegendType.Color)&&this.GDa(),this.Ma(a.LegendType.Size)&&this.HDa(),this.sortItemByOption(),this.applyOptionsToItems(),this.use()},e.prototype.Sb=function(a){var b=this.cVb().sTb(a._items());null==b||isNaN(b)||((null==this.vOa||isNaN(this.vOa)||this.cw()<b)&&(this.vOa=b),(null==this.uOa||isNaN(this.uOa)||this.bw()>b)&&(this.uOa=b))},e.prototype.GDa=function(){var a,c,d=this._items(),e=this.cVb().Q2a();for(e instanceof b.U2a&&(e.RSb||d.reverse()),a=0,c=d;a<c.length;a++)c[a].tE(this.getColor())},e.prototype.HDa=function(){var a,c=this._items();c.forEach(function(a,b){a.Oz(b+1)}),a=this.cVb().Q2a(),a instanceof b.U2a&&(a.RSb||c.reverse())},e.prototype.JDa=function(a){var b,c,d,e,f=this._items();if(f.length<=0)return null;if(null==a)return null;for(b=0,c=Number.MIN_VALUE,d=0;d<f.length;++d)if(e=f[d],e.my.to>c&&(c=e.my.to,b=d),e.my.start<=a&&a<e.my.to)return e;return a==c?f[b]:null},e.prototype.QUb=function(a){return this.JDa(this.cVb().sTb(a._items()))},e.prototype.L4a=function(){var a,c,d=this.$z();return null!=d&&null!=d.ranges&&0<d.ranges.length?this.M4a(this.bw(),this.cw(),d.ranges):(a=this.cVb(),a instanceof b.z3a?(c=a.yTb().dTb().Q3a(this.bw(),this.cw()),this.N4a(this.bw(),this.cw(),c)):this.O4a(this.bw(),this.cw()))},e.prototype.P4a=function(c,d){var e,f;return null==c&&(e=a.plugins.w1a.lPa("Default"),c=null!=e?e.format(this.cVb().N2a().format,d.start)+"-"+e.format(this.cVb().N2a().format,d.to):""+d.start+"-"+d.to),f=new b.Q4a(this,c,d),f.Za(this.getLegendSymbol()),f},e.prototype.N4a=function(a,b,c){var d,e,f,g,h;for(d=[],e=Math.min(a,c[0]),f=0,g=c;f<g.length;f++)h=g[f],e<h&&(d.push(this.P4a(null,{start:e,to:h})),e=h);return e<b&&d.push(this.P4a(null,{start:e,to:b})),d},e.prototype.O4a=function(a,c){var d,e,f,g=[],h=new b.rRa(a,c,(!0),4).ZDa();if(0<h.length)if(d=h[0],1<h.length)for(e=1;e<h.length;e++)f=h[e],g.push(this.P4a(null,{start:d,to:f})),d=f;else g.push(this.P4a(null,{start:d,to:d}));return g},e.prototype.M4a=function(b,c,d){var e,f,g,h,i,j;for(e=[],f=[],g=b,h=0,i=f=f.concat(d).sort(function(b,c){return a.core.UOb.isNullNumber(b.to)?1:a.core.UOb.isNullNumber(c.to)?-1:b.to>c.to?1:b.to<c.to?-1:0});h<i.length;h++)if(j=i[h],a.core.UOb.isNullNumber(j.to))if(g<c)e.push(this.P4a(j.title,{start:g,to:c})),g=c;else{if(0!=e.length)break;e.push(this.P4a(j.title,{start:g,to:c})),g=c}else{if(j.to<=b)continue;if(c<g)continue;e.push(this.P4a(j.title,{start:g,to:j.to})),g=j.to}return g<c&&e.push(this.P4a(null,{start:g,to:c})),e},e.prototype.sortItemByOption=function(){var b=this._items();switch(this.$z().sortOrder){case a.SortOrder.Reversed:case a.SortOrder.Descending:b.reverse()}},e);function e(a,b,d){var e=c.call(this,a,b,d)||this;return e.uOa=null,e.vOa=null,e}b.B4a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.K4a,__extends(d,b),d.prototype.cxb=function(){var b=this.mva().$z();return null!=b&&null!=b.ranges?null:new a.fxb(this,this.OUb())},d);function d(a,c,d){var e=b.call(this,a,c)||this;return e.my=d,e}a.Q4a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.Ofb=function(){return this.Mfb},d.prototype.dVb=function(a){return arguments.length<=0?this.lFa:void(this.lFa!=a&&(this.lFa=a))},d.prototype.eVb=function(a){return arguments.length<=0?this.mFa:void(this.mFa!=a&&(this.mFa=a))},d.prototype.GOb=function(a){return arguments.length<=0?this.fVb:void(this.fVb!=a&&(this.fVb=a))},d.prototype.nSa=function(a){return arguments.length<=0?this.pCa:void(this.pCa=a)},d.prototype.Oz=function(a){return arguments.length<=0?this.qCa:void(this.qCa=a)},d.prototype.Wqa=function(a){return arguments.length<=0?this.tEa:void(this.tEa!=a&&(this.tEa=a))},d.prototype.F4a=function(){return!0},d.prototype.Efb=function(b,c){var d,e=10,f=this.Wqa();return a.core.UOb.isNullNumber(f.symbolSize)||(e=f.symbolSize),d=c*e,new a.core.Size(Math.max(1.2*d,16),d)},d.prototype.gVb=function(a){this.Mfb=a,this.nSa(a.aT().nSa()),this.Oz(a.aT().Oz()),this.dVb(a.BLa().q4a().s4a().$z().selectedStyle),this.eVb(a.BLa().q4a().s4a().$z().unselectedStyle),this.applyStyle(),this.applyOther()},d.prototype.applyOther=function(){},d.prototype.applyStyle=function(){var b,c=new a.options.AFa({}),d=this.Ofb().BLa().q4a().s4a().$z().style;null==c.stroke&&(c.stroke=d.stroke),!a.core.UOb.isNullNumber(d.strokeWidth)&&(null==c.strokeWidth||null!=c.strokeWidth&&a.core.UOb.isNullNumber(c.strokeWidth.left))&&(b=d.strokeWidth,c.strokeWidth=new a.options.hVb({top:b,right:b,bottom:b,left:b})),null==c.strokeDasharray&&(c.strokeDasharray=d.strokeDasharray),a.options.jVb.iVb(c,this.GOb()),this.Wqa(c)},d.prototype.getStyle=function(b,c){var d=new a.Arb,e=this.getColor();return null!=e&&(d.fill=e,d.stroke=e),c?d.vrb(this.Wqa()):d.orb(this.Wqa()),b.hasSelectionInPlotArea&&(this.Ofb().selected?c?d.vrb(this.dVb()):d.orb(this.dVb()):c?d.vrb(this.eVb()):d.orb(this.eVb())),d},d.prototype.getColor=function(){var a=this.Ofb().BLa().Isb();return null!=this.Ofb().aT().tE()&&(a=this.Ofb().aT().tE()),a},d.prototype.render=function(b,c,d){var e,f,g=this.nSa(),h=this.getStyle(d,!0);return null!=this.Wqa()&&null!=this.Wqa().symbolShape&&(g=this.Wqa().symbolShape),null!=g&&(e=a.plugins.w1a.Za(g),null!=e)?void e.render(b,c,h):(f=c.width<c.height?c.width/2:c.height/2,a.NQb.MQb(b,1),a.NQb.Jqb(b,h),b.drawEllipse((c.right+c.left)/2,(c.top+c.bottom)/2,f-b.strokeWidth/2,f-b.strokeWidth/2),void 0)},d);function d(){}b.oSa=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.models.oSa,__extends(d,b),d.prototype.F4a=function(){return this.TFa},d.prototype.render=function(c,d,e){var f,g=d.width<d.height?d.width:d.height;this.F4a()?b.prototype.render.call(this,c,d,e):(f=this.getStyle(e,!1),c.beginTransform(),a.NQb.MQb(c,1),a.NQb.Jqb(c,f),c.drawRect((d.right+d.left)/2-g/2,d.top,g,g),c.restoreTransform())},d);function d(a){void 0===a&&(a=!1);var c=b.call(this)||this;return c.TFa=a,c}a.Igb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.models.oSa,__extends(d,b),d.prototype.F4a=function(){return this.TFa},d.prototype.render=function(c,d,e){var f=this.getStyle(e,!1);c.beginTransform(),a.NQb.MQb(c,1),a.NQb.Jqb(c,f),c.drawLine(d.left,d.top+d.height/2,d.right,d.top+d.height/2),c.restoreTransform(),this.F4a()&&b.prototype.render.call(this,c,d,e)},d);function d(a){var c=b.call(this)||this;return c.TFa=a,c}a.Xgb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.models.oSa,__extends(d,b),d.prototype.render=function(b,c,d){var e=c.width<c.height?c.width:c.height,f=this.getStyle(d,!1);b.beginTransform(),a.NQb.MQb(b,1),a.NQb.Jqb(b,f),b.drawRect((c.right+c.left)/2-e/2,c.top,e,e),b.restoreTransform()},d);function d(){return null!==b&&b.apply(this,arguments)||this}a.kVb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.models.oSa,__extends(d,b),d.prototype.applyOther=function(){if(!this.Ofb().aT().mva().Ma(a.LegendType.Size)){var b=a.KQb.lVb(this);null!=b&&a.options.jVb.iVb(this.Wqa(),b)}},d.prototype.mVb=function(){return null==this.nVb&&(this.nVb=a.KQb.oVb(this)),this.nVb},d.prototype.isLegendEverySymbolsHasSameColor=function(){return!this.Ofb().aT().mva()._items().map(function(a){return a.Za()}).some(function(a){return null==a.mVb()})},d.prototype.getColor=function(){return this.Ofb().aT().mva().Ma(a.LegendType.Shape)&&!this.Ofb().aT().mva().Ma(a.LegendType.Color)&&this.isLegendEverySymbolsHasSameColor()?this.mVb():b.prototype.getColor.call(this)},d);function d(){return null!==b&&b.apply(this,arguments)||this}a.pVb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Igb,__extends(d,b),d.prototype.F4a=function(){return null==this.qVb?b.prototype.F4a.call(this):this.qVb},d.prototype.mVb=function(){return null==this.nVb&&(this.nVb=a.KQb.oVb(this)),this.nVb},d.prototype.isLegendEverySymbolsHasSameColor=function(){return!this.Ofb().aT().mva()._items().map(function(a){return a.Za()}).some(function(a){return null==a.mVb()})},d.prototype.applyOther=function(){if(this.qVb=null,!this.Ofb().aT().mva().Ma(a.LegendType.Size)){var b=a.KQb.lVb(this);null!=b&&(a.options.jVb.iVb(this.Wqa(),b),this.qVb=b.symbols)}},d.prototype.getColor=function(){return this.Ofb().aT().mva().Ma(a.LegendType.Shape)&&!this.Ofb().aT().mva().Ma(a.LegendType.Color)&&this.isLegendEverySymbolsHasSameColor()?this.mVb():b.prototype.getColor.call(this)},d);function d(a){return b.call(this,a)||this}a.rVb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.kVb,__extends(d,b),d.prototype.mVb=function(){return null==this.nVb&&(this.nVb=a.KQb.oVb(this)),this.nVb},d.prototype.isLegendEverySymbolsHasSameColor=function(){return!this.Ofb().aT().mva()._items().map(function(a){return a.Za()}).some(function(a){return null==a.mVb()})},d.prototype.applyOther=function(){if(!this.Ofb().aT().mva().Ma(a.LegendType.Size)){var b=a.KQb.lVb(this);null!=b&&a.options.jVb.iVb(this.Wqa(),b)}},d.prototype.getColor=function(){return this.Ofb().aT().mva().Ma(a.LegendType.Shape)&&!this.Ofb().aT().mva().Ma(a.LegendType.Color)&&this.isLegendEverySymbolsHasSameColor()?this.mVb():b.prototype.getColor.call(this)},d);function d(){return null!==b&&b.apply(this,arguments)||this}a.sVb=c}(dv=dv||{}),function(a){"use strict";var b=(c.LQb=function(b){var c,d,e,f,g,h;if(b.Ofb().aT().mva()instanceof a.models.J4a){for(c=null,d=null,e=!0,f=0,g=b.Ofb().aT().fua();f<g.length;f++){if(h=g[f],!(h instanceof a.models.I6a))return;if(null==h.Ata().W4a())return;if(e)c=h.Ata().pSa(),d=h.Ata().tVb(),e=!1;else if(d!=h.Ata().tVb()||!this.seriesStyleEquals(c,h.Ata().pSa()))return}null!=c&&a.options.jVb.iVb(b.Wqa(),c)}},c.lVb=function(b){var c,d,e,f,g,h;if(b.Ofb().aT().mva()instanceof a.models.J4a){for(c=null,d=null,e=!0,f=0,g=b.Ofb().aT().fua();f<g.length;f++){if(h=g[f],!(h instanceof a.models.I6a))return;if(null==h.Ata().W4a())return;if(e)c=h.Ata().pSa(),d=h.Ata().tVb(),e=!1;else if(d!=h.Ata().tVb()||!this.seriesStyleEquals(c,h.Ata().pSa()))return}return c}return null},c.getSeries=function(b){var c,d,e,f=b.Ofb().aT(),g=null;if(f instanceof a.models.K4a)for(c=0,d=f.fua();c<d.length;c++){if(e=d[c],!(e instanceof a.models.I6a))return null;if(null==g)g=e.Ata();else if(g!=e.Ata())return null}return g},c.TBa=function(b){var c,d,e,f=b.Ofb().aT(),g=null,h=!0;if(f instanceof a.models.K4a)for(c=0,d=f.fua();c<d.length;c++){if(e=d[c],!(e instanceof a.models.I6a))return null;if(h)g=e.Ata().tE(),h=!1;else if(!this.colorEquals(g,e.Ata().tE()))return null}return g},c.oVb=function(b){var c,d,e,f=b.Ofb().aT(),g=null;if(f instanceof a.models.K4a)for(c=0,d=f.fua();c<d.length;c++){if(e=d[c],!(e instanceof a.models.I6a))return null;if(null==g)g=this.calculatorColorBy(e);else if(!this.colorEquals(g,this.calculatorColorBy(e)))return null}return g},c.calculatorColorBy=function(b){var c=b.jxa();return c instanceof a.Z1a?c.Dgb():null},c.seriesStyleEquals=function(b,c){return null!=b&&null!=c&&!!(b.opacity==c.opacity&&a.options.IOb.uVb(b.fill,c.fill)&&a.options.IOb.uVb(b.backgroundColor,c.backgroundColor)&&a.options.IOb.uVb(b.stroke,c.stroke)&&b.strokeDasharray==c.strokeDasharray&&b.strokeOpacity==c.strokeOpacity&&a.options.KOb.JOb(b.strokeWidth,c.strokeWidth)&&a.options.IOb.uVb(b.symbolFill,c.symbolFill)&&b.symbolOpacity==c.symbolOpacity&&b.symbolShape==c.symbolShape&&b.symbolSize==c.symbolSize&&a.options.IOb.uVb(b.symbolStroke,c.symbolStroke)&&b.symbolStrokeDasharray==c.symbolStrokeDasharray&&b.symbolStrokeOpacity==c.symbolStrokeOpacity&&b.symbolStrokeWidth==c.symbolStrokeWidth)},c.colorEquals=function(a,b){return a==b},c);function c(){}a.KQb=b}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.pVb,__extends(d,b),d.prototype.F4a=function(){return null==this.qVb?this.TFa:this.qVb},d.prototype.applyOther=function(){if(this.qVb=null,!this.Ofb().aT().mva().Ma(a.LegendType.Size)){var b=a.KQb.lVb(this);null!=b&&(a.options.jVb.iVb(this.Wqa(),b),this.qVb=b.symbols)}},d.prototype.iTa=function(){return a.KQb.TBa(this)},d.prototype.getLineStyle=function(b){var c=new a.Arb,d=this.getColor(),e=this.iTa();return null!=e&&(d=e),null!=d&&(c.stroke=d),c.orb(this.Wqa()),b.hasSelectionInPlotArea&&(this.Ofb().selected?c.orb(this.dVb()):c.orb(this.eVb())),c},d.prototype.render=function(c,d,e){c.beginTransform();var f=this.getLineStyle(e);a.NQb.MQb(c,1),a.NQb.Jqb(c,f),c.drawLine(d.left,d.top+d.height/2,d.right,d.top+d.height/2),c.restoreTransform(),this.F4a()&&b.prototype.render.call(this,c,d,e)},d);function d(a){var c=b.call(this)||this;return c.TFa=a,c}a.vVb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.models.oSa,__extends(d,b),d.prototype.applyOther=function(){if(!this.Ofb().aT().mva().Ma(a.LegendType.Size)){var b=a.KQb.lVb(this);null!=b&&a.options.jVb.iVb(this.Wqa(),b)}},d.prototype.mVb=function(){return null==this.nVb&&(this.nVb=a.KQb.oVb(this)),this.nVb},d.prototype.isLegendEverySymbolsHasSameColor=function(){return!this.Ofb().aT().mva()._items().map(function(a){return a.Za()}).some(function(a){return null==a.mVb()})},d.wVb=function(a){return""+(d.xVb+2*a)},d.prototype.Efb=function(b,c){b.beginTransform(),b.fontSize=d.wVb(c);var e=b.measureString("A").height;return b.restoreTransform(),new a.core.Size(Math.max(1.2*e,16),e)},d.prototype.getTextStyle=function(b){var c=new a.Arb,d=this.getColor();return null!=d&&("string"==typeof d?c.textFill=d:d instanceof a.models.bSb?0<d.colorStops.length&&(c.textFill=d.colorStops[0].color):d instanceof a.models.cSb&&0<d.colorStops.length&&(c.textFill=d.colorStops[0].color)),c.orb(this.Wqa()),b.hasSelectionInPlotArea&&(this.Ofb().selected?c.orb(this.dVb()):c.orb(this.eVb())),c},d.prototype.getColor=function(){return this.Ofb().aT().mva().Ma(a.LegendType.Shape)&&!this.Ofb().aT().mva().Ma(a.LegendType.Color)&&this.isLegendEverySymbolsHasSameColor()?this.mVb():b.prototype.getColor.call(this)},d.prototype.render=function(c,e,f){if(null!=this.Oz())return c.beginTransform(),a.NQb.Jqb(c,this.getTextStyle(f)),null!=this.Oz()&&(c.fontSize=d.wVb(this.Oz())),c.drawMultipleStrings("A",e,a.HAlign.Center,a.TextOverflow.Clip),void c.restoreTransform();if(null==this.nSa()){var g=e.width<e.height?e.width:e.height;c.beginTransform(),a.NQb.MQb(c,1),a.NQb.Jqb(c,this.getStyle(f,!1)),c.drawRect((e.right+e.left)/2-g/2,e.top,g,g),c.restoreTransform()}else b.prototype.render.call(this,c,e,f)},d.xVb=14,d);function d(){return null!==b&&b.apply(this,arguments)||this}a.yVb=c}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.mSa=function(){var a=new b.oSa;return a.GOb(this.plot.option.config.style),a},d.prototype.styleEquals=function(b,c){return null!=b&&null!=c?a.options.IOb.HOb(b.symbolFill,c.symbolFill)&&a.options.IOb.HOb(b.symbolStroke,c.symbolStroke)&&b.symbolSize===c.symbolSize&&b.symbolOpacity==c.symbolOpacity&&b.symbolStrokeOpacity==c.symbolStrokeOpacity&&b.symbolStrokeDasharray==c.symbolStrokeDasharray&&b.symbolStrokeWidth==c.symbolStrokeWidth:null==b&&null==c},d.prototype.zAa=function(a){return a instanceof d&&this.styleEquals(this.plot.option.config.style,a.plot.option.config.style)},d.prototype.queryInterface=function(a){return null},d);function d(a){this.plot=a}b.EOb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.EOb,__extends(e,c),e.prototype.mSa=function(){var b=new a.Igb;return b.GOb(this.plot.option.config.style),b},e.prototype.zAa=function(a){return a instanceof e&&c.prototype.zAa.call(this,a)},e.prototype.styleEquals=function(b,c){return null!=b&&null!=c?a.options.IOb.HOb(b.fill,c.fill)&&a.options.IOb.HOb(b.stroke,c.stroke)&&b.opacity==c.opacity&&b.strokeOpacity==c.strokeOpacity&&b.strokeDasharray==c.strokeDasharray&&a.options.KOb.JOb(b.strokeWidth,c.strokeWidth):null==b&&null==c},e);function e(a){return c.call(this,a)||this}b.eUb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.EOb,__extends(e,c),e.prototype.mSa=function(){var b=new a.Xgb((!1));return b.GOb(this.plot.option.config.style),b},e.prototype.styleEquals=function(b,c){return null!=b&&null!=c?a.options.IOb.HOb(b.fill,c.fill)&&a.options.IOb.HOb(b.stroke,c.stroke)&&b.opacity==c.opacity&&b.strokeOpacity==c.strokeOpacity&&b.strokeDasharray==c.strokeDasharray&&a.options.KOb.JOb(b.strokeWidth,c.strokeWidth):null==b&&null==c},e.prototype.zAa=function(a){return a instanceof e&&c.prototype.zAa.call(this,a)},e);function e(a){return c.call(this,a)||this}b.hUb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.EOb,__extends(e,c),e.prototype.mSa=function(){var b=new a.kVb;return b.GOb(this.plot.option.config.style),b},e.prototype.zAa=function(a){return a instanceof e&&this.plot.type===a.plot.type&&c.prototype.zAa.call(this,a)},e.prototype.styleEquals=function(b,c){return null!=b&&null!=c?a.options.IOb.HOb(b.fill,c.fill)&&a.options.IOb.HOb(b.stroke,c.stroke)&&b.opacity==c.opacity&&b.strokeOpacity==c.strokeOpacity&&b.strokeDasharray==c.strokeDasharray&&a.options.KOb.JOb(b.strokeWidth,c.strokeWidth):null==b&&null==c},e);function e(a){return c.call(this,a)||this}b.$Tb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.EOb,__extends(e,c),e.prototype.mSa=function(){var b=new a.rVb(this.plot.option.config.symbols);return b.GOb(this.plot.option.config.style),b},e.prototype.zAa=function(a){return a instanceof e&&this.plot.option.config.symbols==a.plot.option.config.symbols&&c.prototype.zAa.call(this,a)},e.prototype.styleEquals=function(b,c){return null!=b&&null!=c?a.options.IOb.HOb(b.fill,c.fill)&&a.options.IOb.HOb(b.stroke,c.stroke)&&b.opacity==c.opacity&&b.strokeOpacity==c.strokeOpacity&&b.strokeDasharray==c.strokeDasharray&&a.options.KOb.JOb(b.strokeWidth,c.strokeWidth):null==b&&null==c},e);function e(a){return c.call(this,a)||this}b.MTb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.EOb,__extends(e,c),e.prototype.mSa=function(){var b=new a.sVb;return b.GOb(this.plot.option.config.style),b},e.prototype.zAa=function(a){return a instanceof e&&this.plot.type===a.plot.type&&c.prototype.zAa.call(this,a)},e.prototype.styleEquals=function(b,c){return null!=b&&null!=c?a.options.IOb.HOb(b.fill,c.fill)&&a.options.IOb.HOb(b.stroke,c.stroke)&&b.opacity==c.opacity&&b.strokeOpacity==c.strokeOpacity&&b.strokeDasharray==c.strokeDasharray&&a.options.KOb.JOb(b.strokeWidth,c.strokeWidth):null==b&&null==c},e);function e(a){return c.call(this,a)||this}b.PTb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.EOb,__extends(e,c),e.prototype.mSa=function(){var b=new a.vVb(this.plot.option.config.symbols);return b.GOb(this.plot.option.config.style),b},e.prototype.styleEquals=function(b,c){return null!=b&&null!=c?a.options.IOb.HOb(b.fill,c.fill)&&a.options.IOb.HOb(b.stroke,c.stroke)&&b.opacity==c.opacity&&b.strokeOpacity==c.strokeOpacity&&b.strokeDasharray==c.strokeDasharray&&a.options.KOb.JOb(b.strokeWidth,c.strokeWidth):null==b&&null==c},e.prototype.zAa=function(a){return a instanceof e&&this.plot.option.config.symbols==a.plot.option.config.symbols&&c.prototype.zAa.call(this,a)},e);function e(a){return c.call(this,a)||this}b.UTb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.EOb,__extends(e,c),e.prototype.mSa=function(){var b=new a.pVb;return b.GOb(this.plot.option.config.style),b},e.prototype.zAa=function(a){return a instanceof e&&this.plot.option.config.symbols==a.plot.option.config.symbols&&c.prototype.zAa.call(this,a)},e);function e(a){return c.call(this,a)||this}b.XTb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.EOb,__extends(e,c),e.prototype.mSa=function(){var b=new a.yVb;return b.GOb(this.plot.option.config.style),b},e.prototype.zAa=function(a){return a instanceof e&&c.prototype.zAa.call(this,a)},e.prototype.styleEquals=function(b,c){return null!=b&&null!=c?a.options.IOb.HOb(b.fill,c.fill)&&a.options.IOb.HOb(b.stroke,c.stroke)&&b.opacity==c.opacity&&b.strokeOpacity==c.strokeOpacity&&b.strokeDasharray==c.strokeDasharray&&a.options.KOb.JOb(b.strokeWidth,c.strokeWidth):null==b&&null==c},e);function e(a){return c.call(this,a)||this}b.kUb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.J4a,__extends(e,c),e.prototype.zVb=function(){return this.AVb},e.prototype.Ga=function(a){var c,d,f,g,h;if(a instanceof e&&(c=this.AUb()[0],d=a.AUb()[0],b.SUb.RUb(c,d)&&b.SUb.UUb(c,d)&&b.SUb.TUb(c,d)&&b.SUb.BVb(this,a))){for(f=0,g=a.zVb();f<g.length;f++)h=g[f],this.AVb.push(h),this.AUb().push(h.plotDefinition);return this}return null},e.prototype.EUb=function(){var a,b,c,d,e,f;for(a=0,b=this.AVb;a<b.length;a++)for(c=b[a],d=0,e=this.CVb(c);d<e.length;d++)f=e[d],this.DVb(f,c)},e.prototype.CVb=function(a){var c,d,e,f,g;for(c=[],d=0,e=this.q4a().nPa();d<e.length;d++)f=e[d],g=f.aT(),f.f3a()===a.plotDefinition&&g instanceof b.w6a&&c.push(g);return c},e.prototype.getRelatedDefinitionBy=function(a){var b,c,d,e;for(b=a.bRa().f3a(),c=0,d=this.AVb;c<d.length;c++)if(e=d[c],e.plotDefinition===b)return e;return null},e.prototype.DVb=function(a,b){null!=a&&null!=b&&this.addItems(a,b)},e.prototype.valuesNameGetter=function(a){return a.HOa().name},e.prototype.keyGetter=function(a,b){return null!=b&&b.Y2a()&&0<b.Y2a().length?""+b.Y2a()[0].field.lCa(a._items()):null},e.prototype.suffixGetter=function(a,b){if(b&&b.Y2a()&&0<b.Y2a().length){var c=b.Y2a()[0].format,d=b.Y2a()[0].field.lCa(a._items());return this.getStringByFormat(d,c)}return null},e.prototype.QUb=function(a){var c,d,e;return a instanceof b.I6a&&(c=this.valuesNameGetter(a.Ata()),d=this.getRelatedDefinitionBy(a.Ata().uPa()),null!=d)?(e=this.keyGetter(a,d),this.getItem(c,e)):null},e.prototype.getItem=function(a,b){var c,d,e;for(c=0,d=this._items();c<d.length;c++)if(e=d[c],e.EVb()===a&&e.pwa()===b)return e;return null},e.prototype.addItems=function(a,c){var d,e,f,g,h,i,j,k,l,m;for(d=0,e=a.J5a();d<e.length;d++)for(f=e[d],g=0,h=f.fua();g<h.length;g++)i=h[g],0!==i._items().length&&(j=this.valuesNameGetter(f),k=this.keyGetter(i,c),l=this.getItem(j,k),null==l&&(m=this.suffixGetter(i,c),l=new b.FVb(this,j,k,m),this._items().push(l),l.Za(this.getLegendSymbol())),l.fua().push(i))},e.prototype.NGa=function(){this.applyColor(),this.sortItemByOption(),this.applyOptionsToItems(),this.use()},e.prototype.groupingItems=function(){var a,b,c,d,e,f;for(a={},b=[],c=0,d=this._items();c<d.length;c++)e=d[c],null==e.pwa()?b.push([e]):(f=e.EVb(),null==a[f]&&(a[f]=[],b.push(a[f])),a[f].push(e));return b},e.prototype.applyColor=function(){var a,b,c,d,e,f;for(a=0,b=this.groupingItems();a<b.length;a++)if(c=b[a],0<c.length)for(d=this.getColor(),e=0,f=c.length;e<f;++e)c[e].tE(this.ivb(d,e,f))},e.prototype.ivb=function(b,c,d){if("string"==typeof b){var e=a.core.ica.fromCss(b);b=a.core.ica.tint(e,c/d).toCss()}return b},e.prototype.getStringByFormat=function(b,c){var d=a.plugins.w1a.lPa("Default");return null!=d&&null==c&&(a.core.UOb.isNumber(b)?c=d.defaultFormat(a.core.DataType.Number,!1):a.core.UOb.isDate(b)&&(c=d.defaultFormat(a.core.DataType.Date,!1))),d.format(c,b)},e.prototype._items=function(){return c.prototype._items.call(this)},e);function e(a,b,d){var e=c.call(this,a,b,d)||this;return e.AVb=[],e.AVb.push(b),e}b.ATb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.K4a,__extends(d,b),d.prototype.WUb=function(){var a,b,c,d,e,f,g,h,i,j,k,l;for(a=[],b=this.mva(),c=0,d=b.zVb();c<d.length;c++)for(e=d[c],f=0,g=b.CVb(e);f<g.length;f++)for(h=0,i=g[f].J5a();h<i.length;h++)for(j=0,k=i[h].fua();j<k.length;j++)l=k[j],b.QUb(l)===this&&a.push(l.jxa());return a},d.prototype.EVb=function(){return this.GVb},d.prototype.pwa=function(){return this.m1a},d);function d(a,c,d,e){void 0===d&&(d=null),void 0===e&&(e=null);var f=b.call(this,a,null==e?c:c+" - "+e)||this;
- return f.GVb=c,f.m1a=d,f}a.FVb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.yDa,__extends(d,b),d);function d(a,c){return b.call(this,a,c)||this}a.X4a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.X4a,__extends(e,c),Object.defineProperty(e.prototype,"title",{get:function(){var b=null!=this.$z()?a.core.UOb.asString(this.$z().title,!0):null;return null==b&&(b=this.f3a().N2a().Cj()),b},enumerable:!0,configurable:!0}),e.prototype.f3a=function(){return this.I4a},e);function e(a,b,d){var e=c.call(this,a,d)||this;return e.GAa=[],e.AUb().push(b.plotDefinition),e.I4a=b,e}b.Y4a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.Y4a,__extends(e,c),e.prototype.HVb=function(a){var b=this.f3a().sTb(a._items());return null!=b?this.e5a().eb(b).color:null},Object.defineProperty(e.prototype,"linearColor",{get:function(){return this._4a},enumerable:!0,configurable:!0}),e.prototype.bw=function(){return this.uOa},e.prototype.cw=function(){return this.vOa},e.prototype.Ga=function(a){var c,d,f;return a instanceof e&&(d=this.f3a(),f=a.f3a(),d.zAa(f)&&b.SUb.UUb(d.plotDefinition,f.plotDefinition))?((c=this.AUb()).push.apply(c,a.AUb()),this.vUb().KUb(f.wLa()),this):null},e.prototype.EUb=function(){var a,c,d,e,f,g;for(a=0,c=this.BUb();a<c.length;a++)for(d=c[a],e=0,f=b.ZUb.YUb(d);e<f.length;e++)g=f[e],this.Sb(g)},e.prototype.NGa=function(){this.Ma(a.LegendType.Color)&&this.GDa(),this.use()},e.prototype.Sb=function(a){var b=this.f3a().sTb(a._items());null!=b&&((null==this.cw()||this.cw()<b)&&(this.vOa=b),(null==this.bw()||this.bw()>b)&&(this.uOa=b))},e.prototype.GDa=function(){var a,c,d,e,f=this.$z().gradient;if(0!=f.enabled){if(a=[],null!=f.palette&&0<f.palette.length)for(c=0,d=f.palette;c<d.length;c++)e=d[c],a.push(new b.zSb(e,null));else a=[new b.zSb(this.getColor(),null),new b.zSb(this.getColor(),null)];this.c5a(a),this._4a=new b.bSb(180,a)}},e.prototype.getColor=function(){for(var a=this.MUb(),b=a.KGa(!0);null!=b&&"string"!=typeof b;)b=a.KGa(!0);return"string"==typeof b?b:null},e.prototype.MUb=function(){var a=this.f3a().plotDefinition.queryInterface("IColorIterator");return null==a&&(a=new b.GlobalColorIterator(this.q4a())),a},e.prototype.e5a=function(){return this.Z4a},e.prototype.c5a=function(b){var c,d,e,f,g;this.e5a().d5a(b),c=new a.f5a,d=(this.vOa-this.uOa)/1.5,0<this.uOa?(e=this.uOa-d,e<0&&(e=0),c.d5a([e,this.vOa])):this.vOa<0?(f=this.vOa+d,0<f&&(f=0),c.d5a([this.uOa,f])):c.d5a([this.uOa,this.vOa]),c.my([0]),g=c.ticks(),this.e5a().my(g[0],g[g.length-1])},e.prototype.queryInterface=function(b){return"IColorLegend"===b&&this.Ma(a.LegendType.Color)?this:c.prototype.queryInterface.call(this,b)},e);function e(b,d,e){var f=c.call(this,b,d,e)||this;return f.Z4a=new a.$4a,f.vUb().KUb(d.wLa()),f}b.C4a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.GUb=function(a){},d.prototype.FUb=function(a){var c,d,e,f,g;if(a instanceof b.BaseLegend){for(c=0,d=a.BUb();c<d.length;c++)e=d[c].aT(),e instanceof b.w6a&&this.useForPlot(a,e);f=a.queryInterface("IColorLegend"),null!=f&&(g=f.MUb(),null!=g&&new b.IVb(g).NGa(a.BUb()))}},d.prototype.useForPlot=function(a,c){a instanceof b.J4a?this.useItemizedPointLegend(c,a):a instanceof b.C4a?this.useLinearColorPointLegend(c,a):a instanceof b.ATb&&this.useValuesNameLegend(c,a)},d.prototype.useValuesNameLegend=function(a,b){var c,d,e,f,g,h,i,j,k;for(c=0,d=a.J5a();c<d.length;c++){for(e=d[c],f=null,g=!0,h=0,i=e.fua();h<i.length;h++)j=i[h],k=b.QUb(j),null!=k&&(j.tE(k.tE()),0<j._items().length&&(null==f?g&&(f=j.tE(),g=!1):f!=j.tE()&&(f=null)));null!=f&&e.tE(f)}},d.prototype.useItemizedPointLegend=function(b,c){var d,e,f,g,h,i,j,k,l;for(d=0,e=b.J5a();d<e.length;d++){for(f=e[d],g=null,h=!0,i=0,j=f.fua();i<j.length;i++)k=j[i],l=c.QUb(k),null!=l&&(c.Ma(a.LegendType.Color)&&(k.tE(l.tE()),0<k._items().length&&(null==g?h&&(g=k.tE(),h=!1):g!=k.tE()&&(g=null))),c.Ma(a.LegendType.Shape)&&k.nSa(l.nSa()),c.Ma(a.LegendType.Size)&&k.Oz(l.Oz()));null!=g&&f.tE(g)}},d.prototype.useLinearColorPointLegend=function(b,c){var d,e,f,g,h,i;if(c.Ma(a.LegendType.Color))for(d=0,e=b.J5a();d<e.length;d++)for(f=e[d],f.X5a(c.e5a()),g=0,h=f.fua();g<h.length;g++)i=h[g],i.tE(c.HVb(i))},d);function d(){}b.CartesianLegendAdopter=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.GUb=function(a){},d.prototype.FUb=function(a){var c,d,e;if(a instanceof b.BaseLegend)for(c=0,d=a.BUb();c<d.length;c++)e=d[c],this.useForPlot(a,e)},d.prototype.useForPlot=function(a,c){var d,e,f;for(d=0,e=c.ggb();d<e.length;d++)f=e[d],a instanceof b.J4a?this.useItemizedPointLegend(f.aT(),a):a instanceof b.C4a&&this.useLinearColorPointLegend(f.aT(),a)},d.prototype.useItemizedPointLegend=function(b,c){var d=c.QUb(b);null!=d&&(c.Ma(a.LegendType.Color)&&b.tE(d.tE()),c.Ma(a.LegendType.Shape)&&b.nSa(d.nSa()),c.Ma(a.LegendType.Size)&&b.Oz(d.Oz()))},d.prototype.useLinearColorPointLegend=function(b,c){c.Ma(a.LegendType.Color)&&b.tE(c.HVb(b))},d);function d(){}b.LegendAdopter=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.FUb=function(a){var c,d,e;if(a instanceof b.J4a)for(c=0,d=a.BUb();c<d.length;c++)e=d[c].aT(),e instanceof b.t7a&&this.useItemizedPointLegend(e,a)},d.prototype.GUb=function(a){},d.prototype.useItemizedPointLegend=function(b,c){var d,e,f,g,h,i,j,k,l;for(d=0,e=b.J5a();d<e.length;d++){for(f=e[d],g=null,h=!0,i=0,j=f.fua();i<j.length;i++)k=j[i],l=c.QUb(k),null!=l&&(c.Ma(a.LegendType.Color)&&(k.tE(l.tE()),null==g?h&&(g=k.tE(),h=!1):g!=k.tE()&&(g=null)),c.Ma(a.LegendType.Shape)&&k.nSa(l.nSa()),c.Ma(a.LegendType.Size)&&k.Oz(l.Oz()));null!=g&&(f.color=g)}},d);function d(){}b.ParallelLegendAdopter=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.NGa=function(b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p;for(c=0,d=b;c<d.length;c++)if(e=d[c].aT(),e instanceof a.w6a)for(f=0,g=e.J5a();f<g.length;f++)0!=(p=g[f]).fua().length&&null==p.tE()&&null==p.X5a()&&null==this.JVb(p)&&(h=new a.KVb(p),this.LVb.push(h));for(i=0,j=this.LVb;i<j.length;i++)(h=j[i]).tE(this.getColor());if(0<this.LVb.length)for(k=0,l=b;k<l.length;k++)if(m=l[k].aT(),m instanceof a.w6a)for(n=0,o=m.J5a();n<o.length;n++)0!=(p=o[n]).fua().length&&null==p.tE()&&null==p.X5a()&&null!=(h=this.JVb(p))&&p.tE(h.tE())},c.prototype.getColor=function(){return this.getColorIterator().KGa(!0)},c.prototype.getColorIterator=function(){return this.ITb},c.prototype.JVb=function(a){var b,d,e;for(b=0,d=this.LVb;b<d.length;b++)if(e=d[b],c.MVb(e.Ata(),a))return e;return null},c.MVb=function(a,b){var c,d,e,f,g,h,i,j;if(a==b)return!0;if(a.uPa().$z().type!=b.uPa().$z().type)return!1;if(c=a.V4a(),d=b.V4a(),c&&d){if(e=c.f3a(),f=d.f3a(),null!=e&&null!=f){if(!e.zAa(f))return!1}else if(null!=e||null!=f)return!1}else if(null!=c||null!=d)return!1;if(g=a.HOa(),h=b.HOa(),null!=g&&null!=h){if(!g.zAa(h))return!1}else if(null!=g||null!=h)return!1;if(i=a.W4a(),j=b.W4a(),null!=i&&null!=j){if(!i.zAa(j))return!1}else if(null!=i||null!=j)return!1;return!0},c);function c(a){this.LVb=[],this.ITb=a}a.IVb=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.tE=function(a){return arguments.length<=0?this.oCa:void(this.oCa=a)},c.prototype.Ata=function(){return this.KDa},c);function c(a){this.KDa=a}a.KVb=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.TUb=function(a,b){var c=a.queryInterface("ILegendSymbolManager"),d=b.queryInterface("ILegendSymbolManager");return null!=c&&null!=d?c.zAa(d):null==c&&null==d},c.UUb=function(a,b){var c=a.queryInterface("IColorIterator"),d=b.queryInterface("IColorIterator");return c==d||null!=c&&null!=c&&c.zAa(d)},c.RUb=function(a,b){return a.type===b.type},c.VUb=function(a,b){return a===b},c.BVb=function(a,b){var c,d,e,f,g,h;for(c=0,d=a.zVb();c<d.length;c++)for(e=d[c],f=0,g=b.zVb();f<g.length;f++)if(h=g[f],e.BTb(h))return!0;return!1},c);function c(){}a.SUb=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.YUb=function(b){return b instanceof a.u4a?this.extractFromCartesian(b):b.ggb().map(function(a){return a.aT()})},d.extractFromCartesian=function(a){var b,c,d,e;for(b=[],c=0,d=a.aT().J5a();c<d.length;c++)e=d[c],b.push.apply(b,e.fua());return b},d);function d(){}b.ZUb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.NVb=function(){var a,b=this.affineMatrix[0],c=this.affineMatrix[2],e=this.affineMatrix[4],f=this.affineMatrix[1],g=this.affineMatrix[3],h=this.affineMatrix[5],i=b*g-f*c;return i?(i=1/i,a=[],a[0]=g*i,a[1]=-f*i,a[2]=-c*i,a[3]=b*i,a[4]=(c*h-g*e)*i,a[5]=(f*e-b*h)*i,new d(a)):null},d.prototype.hZ=function(){var a=this.affineMatrix;a[0]=1,a[1]=0,a[2]=0,a[3]=1,a[4]=0,a[5]=0},d.prototype.An=function(a){return arguments.length<=0?this.affineMatrix.slice():void(d._Rb(a)&&(this.OVb=!0,this.affineMatrix=a))},d.prototype.PVb=function(a){return!1===a&&(this.OVb=a),this.OVb},d.prototype.Sna=function(a){if(Array.isArray(a)&&6===a.length){this.OVb=!0;var b=this.affineMatrix;this.affineMatrix=[a[0]*b[0]+a[2]*b[1],a[1]*b[0]+a[3]*b[1],a[0]*b[2]+a[2]*b[3],a[1]*b[2]+a[3]*b[3],a[0]*b[4]+a[2]*b[5]+a[4],a[1]*b[4]+a[3]*b[5]+a[5]]}},d.prototype.QVb=function(b,c){null==c&&(c=new a.core.Point(0,0));var d=Math.cos(b),e=Math.sin(b),f=[d,e,-e,d,(1-d)*c.x+c.y*e,(1-d)*c.y-c.x*e];this.Sna(f)},d.prototype.Dn=function(a,b){if(!isNaN(a)&&!isNaN(b)){var c=[1,0,0,1,a,b];this.Sna(c)}},d.prototype.eb=function(a,b){if(!isNaN(a)&&!isNaN(b)){var c=[a,0,0,b,0,0];this.Sna(c)}},d.prototype.RVb=function(a,b){if(!isNaN(a)&&!isNaN(a)){var c=[1,Math.tan(b),Math.tan(a),1,0,0];this.Sna(c)}},d.prototype.SVb=function(a,b){if(!isNaN(a)&&!isNaN(b)){var c=[1,b,a,1,0,0];this.Sna(c)}},d.prototype.TVb=function(b){return new a.core.Point(this.affineMatrix[0]*b.x+this.affineMatrix[2]*b.y+this.affineMatrix[4],this.affineMatrix[1]*b.x+this.affineMatrix[3]*b.y+this.affineMatrix[5])},d.prototype.UVb=function(b){var c=this;return b.map(function(b){return new a.core.Point(c.affineMatrix[0]*b.x+c.affineMatrix[2]*b.y+c.affineMatrix[4],c.affineMatrix[1]*b.x+c.affineMatrix[3]*b.y+c.affineMatrix[5])})},d.prototype.VVb=function(a,b){var c=this;return{xs:a.map(function(a,d){return c.affineMatrix[0]*a+c.affineMatrix[2]*b[d]+c.affineMatrix[4]}),ys:b.map(function(b,d){return c.affineMatrix[1]*a[d]+c.affineMatrix[3]*b+c.affineMatrix[5]})}},d._Rb=function(a){return null!=a&&Array.isArray(a)&&6===a.length},d);function d(a){this.OVb=!1,Array.isArray(a)?(a.length=6,this.affineMatrix=a):this.affineMatrix=[1,0,0,1,0,0]}b.aSb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.f3a=function(){return this.I4a},d.prototype.w5a=function(c,d){var e,f=[];return this.getRelatedPlots(c.nPa()).some(function(a){return 0<a.atb().length})&&(e=new b.hqb(c,this.I4a,d.RGb(this.I4a.name,a.LegendType.Overlay)),e.uTb(b.vTb.OverlayColor),f.push(e)),f},d.prototype.getRelatedPlots=function(a){var b=this;return a.filter(function(a){return a.f3a()===b.I4a})},d.prototype.queryInterface=function(a){return this.I4a.queryInterface(a)},d);function d(a){this.I4a=a}b.LTb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.tRa=function(){return this.sRa},d.prototype.gBa=function(b){var c,d,e,f,g;if(null!=b&&"string"==typeof b&&(c=a.plugins.w1a.ROa("Default"),null!=c))for(d=0,e=this.tRa();d<e.length;d++)if(f=e[d],g=c.parse(b,f),null!=g)return g;return null},d);function d(a){this.sRa=a}b.pRa=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(Object.defineProperty(c.prototype,"items",{get:function(){return this._items()},enumerable:!0,configurable:!0}),c.prototype._items=function(){return this.GAa},c.prototype.hvb=function(a){return arguments.length<=0?this.gvb:void(this.gvb!=a&&(this.gvb=a))},Object.defineProperty(c.prototype,"field",{get:function(){return this.oBa},set:function(a){this.oBa=a},enumerable:!0,configurable:!0}),c.prototype.queryInterface=function(a){return null},c);function c(a){this.GAa=a,this.gvb=a}a.JAa=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=a.core.collections.GroupDescription,__extends(e,c),e.prototype.groupNameFromItem=function(a,b){return this.f3a.field.lCa(a)},e.prototype.namesMatch=function(a,b){return a===b},e);function e(a){var b=c.call(this)||this;return b.f3a=a,b}b.c3a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.JAa,__extends(d,b),d.prototype.bRa=function(){return this.LAa},d.prototype.$z=function(){return this.eAa},Object.defineProperty(d.prototype,"fields",{get:function(){return this.y5a.HL()},enumerable:!0,configurable:!0}),d.prototype.OOa=function(){if(null==this.Uza){if(null==this.$z().config.palette)return this.bRa().q4a().s4a().OOa();this.Uza=new a.Wza(this.$z().config.palette)}return this.Uza},d.prototype.sPa=function(a){return arguments.length<=0?null!=this.Uza?this.BDa:this.bRa().q4a().sPa():void(null!=a&&(null!=this.Uza?this.BDa=a:this.bRa().q4a().sPa(a)))},d.prototype.A4a=function(a){var b,c,d,e=this.bRa().q4a().$z().legends;if(null!=e&&0<e.length)for(b=0,c=e;b<c.length;b++)if(d=c[b],d.type==a)return d;return null},d);function d(a,c,d){var e=b.call(this,c._items())||this;return e.BDa=0,e.y5a=c,e.LAa=a,e.eAa=d,e}a.kBa=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.JAa,__extends(d,b),d.prototype.TJa=function(){return this.kCa},d.prototype.YQb=function(a){return arguments.length<=0?this.oqb:void(this.oqb!=a&&(this.oqb=a))},d.prototype.tE=function(a){return arguments.length<=0?this.oCa:void(this.oCa!=a&&(this.oCa=a))},d.prototype.nSa=function(a){return arguments.length<=0?this.pCa:void(this.pCa!=a&&(this.pCa=a))},d.prototype.Oz=function(a){return arguments.length<=0?this.qCa:void(this.qCa!=a&&(this.qCa=a))},d.prototype.KQa=function(a){return arguments.length<=0?this.F5a:void(this.KQa()!=a&&(this.F5a=a))},d.prototype.Cgb=function(a){return arguments.length<=0?this.A5a:void(this.Cgb()!=a&&(this.A5a=a))},d.prototype.D5a=function(){return null},d.prototype.E5a=function(){return null},d.prototype.jxa=function(a){return arguments.length<=0?this.C5a:void(this.C5a!=a&&null==this.C5a&&(this.C5a=a))},d);function d(a){var c=b.call(this,a)||this;return c.kCa={},c.F5a=!1,c.A5a=!1,c}a.sAa=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.JAa,__extends(d,b),d.prototype.uPa=function(){return this.ZCa},d.prototype.tE=function(a){return arguments.length<=0?this.oCa:void(this.oCa!=a&&(this.oCa=a))},d.prototype.dhb=function(a){return arguments.length<=0?this.chb:void(this.chb!=a&&(this.chb=a))},d);function d(a,c){var d=b.call(this,c)||this;return d.ZCa=a,d}a.G5a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d,e,f,g=(c=a.data.GroupingBuilder,__extends(h,c),h.prototype.createGrouping=function(a){return this.WVb.t6a(a,this.FOa,new b.u6a(this.f7a,a),this.XVb)},h);function h(a,b,d,e){var f=c.call(this)||this;return f.WVb=a,f.FOa=b,f.f7a=d,f.XVb=e,f}b.YVb=g,d=a.data.GroupingBuilder,__extends(i,d),i.prototype.createGrouping=function(a){var c=this.WVb.t6a([],this.FOa,new b.u6a(this.f7a,a));return c.m1a=a,c},e=i;function i(a,b,c){var e=d.call(this)||this;return e.WVb=a,e.FOa=b,e.f7a=c,e}b.ZVb=e,j.prototype.build=function(a){return this.I4a.field.lCa(a)},f=j;function j(a){this.I4a=a}b.$Vb=f}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.NGa=function(a){this.H5a(a,this.nQa(a.$z().config.rules),this.I5a(a.$z().config.rules))},d.prototype.H5a=function(a,b,c){var d,e,f;for(d=0,e=a.Zgb();d<e.length;d++)f=e[d],this.K5a(f,b,c)},d.prototype.K5a=function(a,b,c){var d,e,f,g,h;for(d=0,e=b;d<e.length;d++)e[d].evaluate(a);for(f=0,g=a.ggb();f<g.length;f++)h=g[f],this.L5a(h,c)},d.prototype.L5a=function(a,b){for(var c=0,d=b;c<d.length;c++)d[c].evaluate(a)},d.prototype.nQa=function(b){var c,d,e,f,g;for(c=[],d=0,e=b;d<e.length;d++)f=e[d],null!=f&&"Group"==f.type&&(g=a.plugins.w1a.M5a("Cartesian",f),null!=g&&c.push(g));return c},d.prototype.I5a=function(b){var c=[];return b.forEach(function(b){if(null!=b&&"DataPoint"==b.type){var d=a.plugins.w1a.M5a("Cartesian",b);null!=d&&c.push(d)}}),c},d);function d(){}b.N5a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"template",{get:function(){var a,b=this.O5a();return b&&0<b.length?(a=this.P5a(),null==a&&(a=this.rPa()),a):null},enumerable:!0,configurable:!0}),d.prototype.zoa=function(){return this.tCa},d.prototype.defaultProperty=function(a){return"value"},d.prototype.defaultFormat=function(b){return"PercentageCategory"!=b&&"PercentageDetail"!=b&&"PercentagePlot"!=b?null:a.plugins.w1a.lPa("Default").defaultFormat(a.core.DataType.Number,!0)},d.prototype.fromToken=function(c,d){var e,f,g,h,i,j,k,l,m,n,o,p=new b.Token;if("PercentageCategory"==c)p.name="PercentageCategory",p.value=new b.$Ob(this.zoa().pqb());else if("PercentageDetail"==c)p.name="PercentageDetail",p.value=new b.$Ob(this.zoa().qqb());else if("PercentagePlot"==c)p.name="PercentagePlot",p.value=new b.$Ob(this.zoa().rqb());else if("valueField"==c)e=this.zoa().Ata().HOa(),e instanceof b.G3a?(p.name=e.wLa(),p.value=new b.$Ob(e.lCa(this.zoa()._items())),p.aggregate=a.cPb.toAggregateString(e.sOa)):e instanceof b.J3a?(f=e.lCa(this.zoa()._items()),p.name=e.wLa(),p.value=new b._Vb(f.lower,f.upper)):e instanceof b.K3a&&(f=e.lCa(this.zoa()._items()),p.name=e.wLa(),p.value=new b.aWb(f.lower,f.upper));else if("xField"==c)null!=(g=this.zoa().Ata().HOa().E3a())&&(p.name=g.wLa(),p.value=new b.$Ob(this.zoa().Q5a().Qb()));else if("categoryField"==c)null!=(g=this.zoa().Ata().HOa().E3a())&&g instanceof b.h3a&&(h=g.a3a(),null==d&&(d=0),null!=h&&0<=d&&d<h.length&&(p.name=h[d].wLa(),p.value=new b.$Ob(h[d].field.lCa(this.zoa()._items()))));else if("detailFields"==c)i=this.zoa().Ata().W4a(),null!=i&&null!=i.f3a()&&(p.name=i.f3a().N2a().wLa(),p.value=new b.$Ob(i.pwa()));else if("colorField"==c)j=this.zoa().Ata().plot().bRa().f3a().R5a(),(j instanceof b.v3a||j instanceof b.xTb||j instanceof b.z3a)&&(p.name=j.N2a().wLa(),p.value=new b.$Ob(j.lCa(this.zoa()._items())),p.aggregate=a.cPb.toAggregateString(j.sOa()),p.color=new b.ColorContent(this.zoa().tE()));else if("shapeField"==c)k=this.zoa().Ata().plot().YOb().XOb().S5a(),k instanceof b.v3a&&(p.name=k.N2a().wLa(),p.value=new b.$Ob(k.lCa(this.zoa()._items())),p.aggregate=a.cPb.toAggregateString(k.sOa()));else if("sizeField"==c)l=this.zoa().Ata().plot().YOb().XOb().T5a(),l instanceof b.y3a&&(p.name=l.N2a().wLa(),p.value=new b.$Ob(l.lCa(this.zoa()._items())),p.aggregate=a.cPb.toAggregateString(l.sOa()));else for(m=0,n=this.O5a();m<n.length;m++)if(o=n[m],o.N2a().Cj()==c)return this.U5a(o);return p},d.prototype.U5a=function(c){var d=new b.Token;return d.name=c.N2a().wLa(),d.value=new b.$Ob(c.lCa(this.zoa()._items())),d.aggregate=a.cPb.toAggregateString(c.sOa()),d},d);function d(b){a.ePb.dPb(null!=b),this.tCa=b}b.V5a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.w5a=function(b,c){var d,e,f,g,h,i,j=[];if(null!=this.I4a&&0<this.getRelatedPlots(b.nPa()).length)for(d=this.I4a.R5a(),e=null,null!=d&&(e=d.vQb(b,c)),null==e&&((e=new a.NUb(b,this.I4a)).yUb(!1),e.AUb().push(this.I4a)),e.tUb(new a.CartesianLegendAdopter),j.push(e),f=0,g=[this.I4a.T5a(),this.I4a.S5a()];f<g.length;f++)h=g[f],null!=h&&(i=h.vQb(b,c),null!=i&&(j.push(i),i.tUb(new a.CartesianLegendAdopter)));return j},c.prototype.getRelatedPlots=function(a){var b=this.I4a;return a.filter(function(a){return a.f3a()===b})},c.prototype.queryInterface=function(a){return this.I4a.queryInterface(a)},c);function c(a){this.I4a=a}a.Y5a=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.kBa,__extends(e,c),e.prototype.YOb=function(){return this.bRa()},e.prototype.fua=function(){var a,b,c,d,e,f;for(a=[],b=0,c=this.J5a();b<c.length;b++)for(d=0,e=c[b].points();d<e.length;d++)f=e[d],null!=f&&a.push(f);return a},e.prototype.J5a=function(){return this.uBa},e.prototype.VBa=function(a){var b,c,d,e=this.YOb().XOb().i6a().indexOf(a);if(null==this.vBa[e])for(b=this.vBa[e]=0,c=this.J5a();b<c.length;b++)d=c[b],d.HOa()==a&&(this.vBa[e]+=d.VBa());return this.vBa[e]},e.prototype.WBa=function(a,b){var c,d,e,f,g=this.YOb().XOb().i6a().indexOf(a);if(null==this.wBa[g]&&(this.wBa[g]={}),c=this.wBa[g],null==c[b.mi()])for(d=c[b.mi()]=0,e=this.J5a();d<e.length;d++)f=e[d],f.HOa()==a&&(c[b.mi()]+=f.WBa(b));return c[b.mi()]},e.prototype.tqb=function(c,d){return null==c?null:c instanceof b.h3a?b.bWb.T0(c,this.YOb().XOb().i6a(),d):c instanceof b.i3a?b.cWb.T0(c,d):(a.ePb.dPb(!1),null)},e.prototype.a6a=function(c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;for(e=[],f=[],g=this.YOb().XOb().j6a(),h=0,i=this.YOb().XOb().i6a();h<i.length;h++){if(j=i[h],k=null,l=j.E3a(),null!=l){for(m=0,n=f.length;m<n;m++)if(o=f[m],l.zAa(o.f3a())){k=o;break}null==k&&(k=this.tqb(l,c),f.push(k))}if(null!=g&&0<g.length)for(p=0,q=g;p<q.length;p++)for(r=q[p],s=r.V2a(c),t=new b.YVb(this,j,r,k),u=new b.$Vb(r.N2a()),v=new a.iPb,w=new a.data.GroupingDescription(t,u,v),x=0,y=(new a.data.GroupingsBuilder).build(s,w);x<y.length;x++)null==(z=y[x])||r.HSa()&&z.v6a()||e.push(z);else null!=(z=this.t6a(null,j,null,k))&&((d=z.items).push.apply(d,c),e.push(z))}return e},e.prototype.t6a=function(a,b,c,d){return null},e);function e(a,b,d){var e=c.call(this,a,b,d)||this;return e.uBa=[],e.vBa={},e.wBa={},e.uBa=e.a6a(e._items()),e}b.w6a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype._R=function(b,c,d){var e,f,g,h,i,j,k;for(this.uqb=d,e=[],f=function(a){var b=a.HOa(),c=a.W4a(),d=null==c?null:c.f3a(),f=e.filter(function(a){return a.valueDefinition==b&&a.detailDefinition==d}),g=void 0;0==f.length?(g={valueDefinition:b,detailDefinition:d,seriesList:[]},e.push(g)):g=f[0],g.seriesList.push(a)},g=0,h=b.J5a();g<h.length;g++)f(h[g]);for(i=0,j=e;i<j.length;i++)k=j[i],null!=k.detailDefinition&&k.detailDefinition.cb()==a.Group.Stack&&this.w5(k.seriesList);c&&this.NBa(b.J5a())},d.prototype.w5=function(a){var c,d,e,f,g,h,i,j,k,l;for(c={},d=0,e=a;d<e.length;d++)for(f=0,g=e[d].points();f<g.length;f++)if(h=g[f],!h.Cgb())if(i=h.Q5a().mi(),h instanceof b.XCa){if(h.x6a(),j=h.y6a(),(null==j||isNaN(j))&&!this.uqb)continue;(null==j||isNaN(j))&&this.uqb&&(j=0),null!=(k=c[i])&&h.z6a(k),null==c[i]?c[i]=j:c[i]+=j,h.y6a(c[i])}else if(h instanceof b.SCa){if(h.x6a(),null==h.A6a()&&null==h.B6a()&&!this.uqb)continue;l=null,l=h.A6a()<0&&h.B6a()<0?h.A6a()-h.B6a():h.B6a()-h.A6a(),null!=(k=c[i])&&h.A6a(k),null==c[i]?c[i]=h.A6a()+l:c[i]+=l,h.B6a(c[i])}},d.prototype.NBa=function(a){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;for(c={},d=0,e=a;d<e.length;d++)for(f=0,g=e[d].points();f<g.length;f++)h=(p=g[f]).Q5a().mi(),p instanceof b.XCa?(i=p.z6a(),null!=i&&!isNaN(i)||(i=0),null!=(r=p.y6a())&&!isNaN(r)||(r=0),null==c[h]?c[h]=Math.abs(r-i):c[h]+=Math.abs(r-i)):p instanceof b.SCa&&(j=p.A6a(),null!=j&&!isNaN(j)||(j=0),k=p.B6a(),null!=k&&!isNaN(k)||(k=0),null==c[h]?c[h]=Math.abs(k-j):c[h]+=Math.abs(k-j));for(l=0,m=a;l<m.length;l++)for(n=0,o=m[l].points();n<o.length;n++)q=c[h=(p=o[n]).Q5a().mi()],0!=q&&(p instanceof b.XCa?(null==(r=p.z6a())||isNaN(r)||p.z6a(r/q),null==(r=p.y6a())||isNaN(r)||p.y6a(r/q)):p instanceof b.SCa&&(null==(r=p.A6a())||isNaN(r)||p.A6a(r/q),null==(r=p.B6a())||isNaN(r)||p.B6a(r/q)))},d.prototype.equals=function(a){return!1},d.prototype.queryInterface=function(a){return"IDefinition"==a?this:null},d);function d(){}b.C6a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.sAa,__extends(d,b),Object.defineProperty(d.prototype,"key",{get:function(){return this.Q5a().Qb()},enumerable:!0,configurable:!0}),d.prototype.mi=function(){if(null==this.l4a)for(var a=this.Ata().points(),b=0;b<a.length;b++)if(a[b]==this){this.l4a=b;break}return this.l4a},d.prototype.Ata=function(){return this.KDa},d.prototype.Q5a=function(){return this.D6a},d.prototype.o7a=function(){return this.Q5a().Qb()},d.prototype.tVb=function(){var a=this.Ata().W4a();return null==a?null:a.pwa()},d.prototype.HOa=function(){return this.Ata().HOa().name},d.prototype.pqb=function(){return null!=this.Q5a()?Math.abs(this.Qb())/this.Ata().plot().WBa(this.Ata().HOa(),this.Q5a()):null},d.prototype.qqb=function(){var a=this.Ata().plot().YOb().XOb().j6a();return null!=a&&0<a.length?Math.abs(this.Qb())/this.Ata().VBa():null},d.prototype.rqb=function(){return Math.abs(this.Qb())/this.Ata().plot().VBa(this.Ata().HOa())},d.prototype.D5a=function(){return new a.E6a(this)},d.prototype.E5a=function(){return new a.F6a(this)},d.prototype._text=function(){return null==this.G6a&&(this.G6a=this.Ata().plot().$z().config.text.clone()),this.G6a},d.prototype.vw=function(){return null==this.H6a&&(this.H6a=this.Ata().plot().$z().config.tooltip.clone()),this.H6a},d.prototype.Qb=function(){return this.mCa},d);function d(a,c,d){var e,f=b.call(this,c)||this;return f.KDa=a,f.mCa=a.HOa().PBa(f._items()),null!=(f.D6a=d)&&(e=a.HOa().E3a(),null!=e&&(f.TJa()[e.Cj()]=d.Qb())),f}a.I6a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.G5a,__extends(e,c),Object.defineProperty(e.prototype,"key",{get:function(){return this.m1a},enumerable:!0,configurable:!0}),e.prototype.fua=function(){return this.points()},e.prototype.points=function(){return null==this.J6a&&(this.J6a=this.M6a()),this.J6a},e.prototype.plot=function(){return c.prototype.uPa.call(this)},Object.defineProperty(e.prototype,"ySite",{get:function(){return new b.SOa},enumerable:!0,configurable:!0}),e.prototype.HOa=function(){return this.FOa},e.prototype.W4a=function(){return this.K6a},e.prototype.V4a=function(){return this.L6a},e.prototype.tVb=function(){var a=this.W4a();return null==a?null:a.pwa()},e.prototype.mi=function(){if(null==this.l4a)for(var a=this.plot().J5a(),b=0;b<a.length;b++)if(a[b]==this){this.l4a=b;break}return this.l4a},e.prototype.VBa=function(){var a,b,c;if(null==this.vBa)for(a=this.vBa=0,b=this.points();a<b.length;a++)c=b[a],this.vBa+=Math.abs(c.Qb());return this.vBa},e.prototype.v6a=function(){for(var a=0,b=this.points();a<b.length;a++)if(null!=b[a].Qb())return!1;return!0},e.prototype.WSa=function(){for(var a=0,b=this.points();a<b.length;a++)if(null==b[a].Qb())return!0;return!1},e.prototype.pSa=function(){var a,b,c,d,e;if(null==this.dWb)for(a=0,b=this.plot().$z().config.seriesStyles;a<b.length;a++)if(c=b[a],d=c.key,e=this.W4a().pwa(),null!=this.HOa()&&this.HOa().name==c.valueField&&null!=this.W4a()&&(d===e||"number"==typeof d&&"number"==typeof e&&isNaN(d)&&isNaN(e)))return this.dWb=c.clone(),this.dWb;return this.dWb},e.prototype.WBa=function(a){var b,c,d,e;if(null==this.yCa[a.mi()])for(b=this.yCa[a.mi()]=0,c=this.points();b<c.length;b++)d=c[b],e=d.Q5a(),null!=e&&e.mi()==a.mi()&&(this.yCa[a.mi()]+=Math.abs(d.Qb()));return this.yCa[a.mi()]},e.prototype.M6a=function(){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t=[],u=this.HOa(),v=u.WOb(this._items()),w=this.V4a();if(null==w){if((u=this.HOa())instanceof b.G3a)if(u.sOa==a.Aggregate.List)for(c=0,d=v;c<d.length;c++)e=d[c],t.push(this.eDa([e],new b.P6a(null)));else t.push(this.eDa(v,new b.P6a(null)))}else if(w instanceof b.bWb){for(f={},g=w.eWb(),h=0,i=v;h<i.length;h++)for(e=i[h],j=0,k=g;j<k.length;j++)if((o=k[j]).Bb(e)){l=void 0,a.x7.hasKey(f,o.mi())?l=f[o.mi()]:(l={dimensionValue:o,items:[]},f[o.mi()]=l),l.items.push(e);break}for(m=0,n=g;m<n.length;m++)o=n[m],a.x7.hasKey(f,o.mi())&&t.push(this.eDa(f[o.mi()].items,o))}else if(w instanceof b.cWb)for(g=w.fWb(),p=0,q=v.length;p<q;p++)for(e=v[p],r=0,s=g;r<s.length;r++)if((o=s[r]).Bb(e)){t.push(this.eDa([e],o));break}return t},e.prototype.eDa=function(a,b){return null},e.prototype.X5a=function(a){return arguments.length<=0?this.T6a:void(this.T6a=a)},e.prototype.R=function(){var a=this.uPa().$z().config.symbols,b=this.pSa();return null!=b&&null!=b.symbols&&(a=b.symbols),a},e);function e(a,b,d,e,f){var g=c.call(this,a,[])||this;return g.J6a=null,g.yCa={},g.FOa=b,g.K6a=d,g.L6a=e,g.m1a=f,g}b.Y1a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(Object.defineProperty(c.prototype,"key",{get:function(){return this.m1a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"items",{get:function(){return this._items},enumerable:!0,configurable:!0}),c);function c(a,b,c,d,e){this.m1a=a,this._items=b,this.oi=c,this.hqa=d,this.oI=e}a.e3a=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.f3a=function(){return this.I4a},c.prototype.pwa=function(){return this.m1a},c.prototype.zAa=function(a){if(this==a)return!0;if(a instanceof c){if(this.pwa()!==a.pwa())return!1;var b=this.f3a(),d=a.f3a();if(b&&d){if(!b.zAa(d))return!1}else if(b||d)return!1;return!0}return!1},c);function c(a,b){this.I4a=a,this.m1a=b}a.u6a=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.I6a,__extends(d,b),d.prototype.A6a=function(a){return arguments.length<=0?this.PCa:void(this.PCa!=a&&(this.PCa=a))},d.prototype.B6a=function(a){return arguments.length<=0?this.QCa:void(this.QCa!=a&&(this.QCa=a))},d.prototype.x6a=function(){var b,c=this.Ata().HOa();c instanceof a.K3a?null!=(b=c.lCa(this._items())).lower&&null!=b.upper?(this.PCa=Math.min(b.lower,b.upper),this.QCa=Math.max(b.lower,b.upper)):(this.PCa=b.lower,this.QCa=b.upper):c instanceof a.J3a&&(b=c.lCa(this._items()),this.PCa=Math.min(b.lower.valueOf(),b.upper.valueOf()),this.QCa=Math.max(b.lower.valueOf(),b.upper.valueOf()))},d);function d(c,d,e){var f,g,h,i=b.call(this,c,d,e)||this;return i.PCa=NaN,i.QCa=NaN,f=c.HOa(),f instanceof a.K3a?(g=f.lCa(i._items()),(h=i.TJa())[f.H3a.Cj()]=g.lower,h[f.I3a.Cj()]=g.upper):f instanceof a.J3a&&(g=f.lCa(i._items()),(h=i.TJa())[f.H3a.Cj()]=g.lower,h[f.I3a.Cj()]=g.upper),i.x6a(),i}a.SCa=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d,e=(c=b.Y1a,__extends(f,c),Object.defineProperty(f.prototype,"ySite",{get:function(){return null==this.JBa&&(this.JBa=new d(this,this.HOa())),this.JBa},enumerable:!0,configurable:!0}),f.prototype.eDa=function(a,c){return new b.SCa(this,a,c)},f);function f(a,b,d,e,f){return c.call(this,a,b,d,e,f)||this}b.TCa=e,Object.defineProperty(g.prototype,"name",{get:function(){return this.FOa.wLa()},enumerable:!0,configurable:!0}),Object.defineProperty(g.prototype,"min",{get:function(){var a,b,c,d,e,f,g;for(a=null,b=0,c=this.jCa.points();b<c.length;b++)d=c[b],e=d.A6a(),f=d.B6a(),null==e||isNaN(e)||null==f||isNaN(f)||(g=Math.min(e,f),(null==a||g<a)&&(a=g));return a},enumerable:!0,configurable:!0}),Object.defineProperty(g.prototype,"max",{get:function(){var a,b,c,d,e,f,g;for(a=null,b=0,c=this.jCa.points();b<c.length;b++)d=c[b],e=d.A6a(),f=d.B6a(),null==e||isNaN(e)||null==f||isNaN(f)||(g=Math.max(e,f),(null==a||a<g)&&(a=g));return a},enumerable:!0,configurable:!0}),Object.defineProperty(g.prototype,"dataType",{get:function(){return this.FOa instanceof b.K3a?a.core.DataType.Number:this.FOa instanceof b.J3a?a.core.DataType.Date:a.core.DataType.Unknown},enumerable:!0,configurable:!0}),g.prototype.labelFromValue=function(b,c){var d=a.plugins.w1a.lPa("Default");return null!=d?(null==c&&(a.core.UOb.isNumber(b)?c=d.defaultFormat(a.core.DataType.Number,!1):a.core.UOb.isDate(b)&&(c=d.defaultFormat(a.core.DataType.Date,!1))),d.format(c,b)):null},g.prototype.itemValue=function(a){return a},d=g;function g(a,b){this.valueCount=NaN,this.jCa=a,this.FOa=b}}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.I6a,__extends(d,b),d.prototype.y6a=function(a){return arguments.length<=0?this.WCa:void(this.WCa!=a&&(this.WCa=a))},d.prototype.z6a=function(a){return arguments.length<=0?this.RCa:void(this.RCa!=a&&(this.RCa=a))},d.prototype.x6a=function(){
- var a=this.Ata().HOa();this.WCa=a.PBa(this._items()),this.RCa=null},d);function d(a,c,d){var e=b.call(this,a,c,d)||this,f=a.HOa();return e.TJa()[f.N2a().Cj()]=f.lCa(e._items()),e.x6a(),e}a.XCa=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d,e=(c=b.Y1a,__extends(f,c),Object.defineProperty(f.prototype,"ySite",{get:function(){return null==this.JBa&&(this.JBa=new d(this,this.HOa())),this.JBa},enumerable:!0,configurable:!0}),f.prototype.eDa=function(a,c){return new b.XCa(this,a,c)},f);function f(a,b,d,e,f){return c.call(this,a,b,d,e,f)||this}b.YCa=e,Object.defineProperty(g.prototype,"name",{get:function(){return this.GOa.N2a().wLa()},enumerable:!0,configurable:!0}),Object.defineProperty(g.prototype,"min",{get:function(){var a,b,c,d;for(a=null,b=0,c=this.jCa.points();b<c.length;b++)d=c[b].y6a(),null==d||isNaN(d)||(null==a||d<a)&&(a=d);return a},enumerable:!0,configurable:!0}),Object.defineProperty(g.prototype,"max",{get:function(){var a,b,c,d;for(a=null,b=0,c=this.jCa.points();b<c.length;b++)d=c[b].y6a(),null==d||isNaN(d)||(null==a||a<d)&&(a=d);return a},enumerable:!0,configurable:!0}),Object.defineProperty(g.prototype,"dataType",{get:function(){return this.GOa instanceof b.G3a&&this.GOa.sOa!=a.Aggregate.List?a.core.DataType.Number:this.GOa.N2a().field.Nc()},enumerable:!0,configurable:!0}),Object.defineProperty(g.prototype,"valueCount",{get:function(){if(this.GOa instanceof b.G3a&&this.GOa.sOa==a.Aggregate.List){var c=this.GOa.N2a();if(c instanceof b.j3a)return c.hTb().Ey().length;if(c instanceof b.m3a)return c.eTb().Ey().length}return NaN},enumerable:!0,configurable:!0}),g.prototype.labelFromValue=function(c,d){var e,f;if(this.GOa instanceof b.G3a&&(e=this.GOa.N2a().field,this.GOa.sOa==a.Aggregate.List)){if(e instanceof b.hBa)return c<e.Ey().length?e.Ey()[c]:null;if(e instanceof b.jBa)return c<e.Ey().length?""+e.Ey()[c]:null}return f=a.plugins.w1a.lPa("Default"),null!=f?(null==d&&(a.core.UOb.isNumber(c)?d=f.defaultFormat(a.core.DataType.Number,!1):a.core.UOb.isDate(c)&&(d=f.defaultFormat(a.core.DataType.Date,!1))),f.format(d,c)):null},g.prototype.itemValue=function(c){if(this.GOa instanceof b.G3a){var d=this.GOa.N2a().field;if(this.GOa.sOa==a.Aggregate.List){if(d instanceof b.hBa)return d.Ey()[c];if(d instanceof b.jBa)return d.Ey()[c]}}return c},d=g;function g(a,b){this.jCa=a,this.GOa=b}}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.NGa=function(a){this.gWb(a,this.hWb(a.$z().rules))},d.prototype.gWb=function(a,b){var c,d,e,f,g,h;for(c=0,d=b;c<d.length;c++)for(e=d[c],f=0,g=a.Rrb();f<g.length;f++)h=g[f],e.evaluate(h)},d.prototype.hWb=function(b){var c,d,e,f,g;for(c=[],d=0,e=b;d<e.length;d++)f=e[d],null!=f&&(g=a.plugins.w1a.M5a("Axis",f),null!=g&&c.push(g));return c},d);function d(){}b.iWb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.labels=function(){return this.jWb},c.prototype.queryInterface=function(a){return null},c);function c(a){this.jWb=a}a.kWb=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.title=function(){return this.lWb},c.prototype.queryInterface=function(a){return null},c);function c(a){this.lWb=a}a.mWb=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.V5a,__extends(e,c),e.prototype.O5a=function(){return this.zoa().Ata().plot().YOb().XOb().o6a()},e.prototype.P5a=function(){var a=this.zoa()._text();return null!=a&&null!=a.template?a.template:null},e.prototype.rPa=function(){for(var b=[],c=[],d=function(d){var e,f=d.N2a().Cj();c.some(function(a){return a==f})||(e=d.N2a().format,b.push(a.TOb.getTemplateValueSection(f,e,!1)),c.push(f))},e=0,f=this.O5a();e<f.length;e++)d(f[e]);return b.join("; ")},e);function e(a){return c.call(this,a)||this}b.E6a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.V5a,__extends(e,c),e.prototype.O5a=function(){return this.zoa().Ata().plot().YOb().XOb().p6a()},e.prototype.P5a=function(){var a=this.zoa().vw();return null!=a&&null!=a.template&&0<a.template.length?a.template:null},e.prototype.rPa=function(){var b,c,d,e,f=[],g=[],h=this.zoa().Ata(),i=h.HOa().E3a();for(null!=i&&(f.push("{xField.name}: {xField.value}"),g.push(i.Cj())),b=h.W4a(),null!=b&&(f.push("{detailFields.name}: {detailFields.value}"),g.push(b.f3a().N2a().Cj())),c=function(b){var c,d=b.N2a().Cj();g.some(function(a){return a==d})||(c=b.N2a().format,f.push(a.TOb.getTemplateValueSection(d,c,!0)),g.push(d))},d=0,e=this.O5a();d<e.length;d++)c(e[d]);return f.join("\n")},e);function e(a){return c.call(this,a)||this}b.F6a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.dataLabel=function(){return this.nWb},c.prototype.queryInterface=function(a){return null},c);function c(a){this.nWb=a}a.oWb=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.f3a=function(){return this.I4a},c.prototype.Q6a=function(){return this.oFa},c);function c(a,b){this.I4a=a,this.oFa=b}a.pWb=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.mi=function(a){return arguments.length<=0?this.l4a:void(this.l4a=a)},c.prototype.Qb=function(){return this.mCa},c);function c(a,b){this.mCa=a,this.l4a=b}a.W6a=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.W6a,__extends(d,b),Object.defineProperty(d.prototype,"key",{get:function(){return this.Qb()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"items",{get:function(){return this.GAa},enumerable:!0,configurable:!0}),d.prototype.Bb=function(a){for(var b=0,c=this.GAa.length;b<c;b++)if(this.GAa[b]==a)return!0;return!1},d.prototype.cb=function(a){return arguments.length<=0?this.BGa:void(this.BGa=a)},d);function d(a,c,d,e){var f=b.call(this,c,d)||this;return f.GAa=a,f.BGa=e,f}a.g3a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.pWb,__extends(d,b),d.T0=function(a,b,c){var e=a.b3a(c,b);return new d(a,e.dimensionValues,e.groups)},d.prototype.e6a=function(){return b.prototype.f3a.call(this)},d.prototype.eWb=function(){return b.prototype.Q6a.call(this)},d.prototype.Ub=function(){return this.j4a},d);function d(a,c,d){var e=b.call(this,a,c)||this;return e.j4a=d,e}a.bWb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.pWb,__extends(d,b),d.T0=function(b,c){var e,f,g,h,i,j,k=[];if(null!=b&&(e=b.N2a(),null!=e&&(f=e.field,null!=f))){if(g=f.queryInterface("IDateDataField"),null!=g)return g.Ey().forEach(function(c,d){k.push(new a.Z6a(b.N2a(),c,b.jPb()+d))}),new d(b,k);if(h=f.queryInterface("INumberDataField"),null!=h)return h.Ey().forEach(function(c,d){k.push(new a.Z6a(b.N2a(),c,b.jPb()+d))}),new d(b,k);if(i=f.queryInterface("IBooleanDataField"),null!=i)return i.Ey().forEach(function(c,d){k.push(new a.Z6a(b.N2a(),c,b.jPb()+d))}),new d(b,k);if(j=f.queryInterface("IStringDataField"),null!=j)return j.Ey().forEach(function(c,d){k.push(new a.Z6a(b.N2a(),c,b.jPb()+d))}),new d(b,k)}return k.push(new a.P6a(null)),new d(b,k)},d.prototype.qWb=function(){return b.prototype.f3a.call(this)},d.prototype.fWb=function(){return b.prototype.Q6a.call(this)},d);function d(a,c){return b.call(this,a,c)||this}a.cWb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.W6a,__extends(d,b),Object.defineProperty(d.prototype,"key",{get:function(){return this.Qb()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"items",{get:function(){return this.rWb},enumerable:!0,configurable:!0}),d.prototype.Bb=function(a){var b=this.L2a.field.lCa(a),c=this.Qb();return null!=b&&b instanceof Date&&null!=c&&c instanceof Date?b.valueOf()==this.Qb().valueOf():this.Qb()==b},d);function d(a,c,d){var e=b.call(this,c,d)||this;return e.L2a=a,e.rWb=[],e}a.Z6a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.Z6a,__extends(d,b),d.prototype.Bb=function(a){return!0},d);function d(a){return b.call(this,a,0,0)||this}a.P6a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.gridLines=function(){return this.sWb.filter(function(a){return a.bz()})},c.prototype.queryInterface=function(a){return null},c);function c(a){this.sWb=a}a.tWb=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.jPb=function(){return this.f6a.jPb()},Object.defineProperty(d.prototype,"min",{get:function(){return this.jPb()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"max",{get:function(){return this.jPb()+this.Ey.length-1},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"valueCount",{get:function(){return this.Ey?this.Ey.length:0},enumerable:!0,configurable:!0}),d.prototype.labelFromValue=function(b,c){var d,e,f,g={value:null,index:-1};return null!=this.Ey&&(d=this.Ey.filter(function(a){return a.index==b}),0<d.length&&(g=d.shift())),e=null,null!=g.value&&(e=g.value),f=a.plugins.w1a.lPa("Default"),"number"==typeof e?(null==c&&(c=this.f6a.a3a()[0].format),null==c&&null!=f&&(c=f.defaultFormat(a.core.DataType.Number,!1))):null!=e&&e instanceof Date&&(null==c&&(c=this.f6a.a3a()[0].format),null==c&&null!=f&&(c=f.defaultFormat(a.core.DataType.Date,!1))),null!=f?f.format(c,e):null==e?null:""+g.value},d.prototype.itemValue=function(a){if(null==this.Ey)return null;var b=this.Ey.filter(function(b){return b.index==a});return 0==b.length?null:b.shift().value},d);function d(b,c,d){var e,f;a.ePb.dPb(null!=b&&0<b.a3a().length),this.f6a=b,this.groupLevels=b.a3a().length-1,this.name=b.wLa(),this.dataType=b.a3a()[0].field.Nc(),e=b.b3a(d,c),this.groups=e.groups,f=e.dimensionValues,this.Ey=f.map(function(a){return{value:a.Qb(),index:a.mi()}})}b.LCa=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"name",{get:function(){return this.N2a().wLa()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"min",{get:function(){return null!=this.N2a()?this.uWb.jPb():-this.Half},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"max",{get:function(){return null!=this.N2a()?this.uWb.jPb()+this.valueCount-1:this.Half},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"dataType",{get:function(){return null!=this.N2a()?this.N2a().field.Nc():a.core.DataType.Unknown},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"valueCount",{get:function(){var a,b,c,d,e,f=this.N2a();if(null!=f&&(a=f.field,null!=a)){if(b=a.queryInterface("IDateDataField"),null!=b)return b.Ey().length;if(c=a.queryInterface("INumberDataField"),null!=c)return c.Ey().length;if(d=a.queryInterface("IBooleanDataField"),null!=d)return d.Ey().length;if(e=a.queryInterface("IStringDataField"),null!=e)return e.Ey().length}return NaN},enumerable:!0,configurable:!0}),d.prototype.rOa=function(){return this.N2a()},d.prototype.qWb=function(){return this.uWb},d.prototype.N2a=function(){return this.qWb().N2a()},d.prototype.labelFromValue=function(c,d){var e,f,g,h=this.N2a()?this.N2a().field:null;return null==h?null:(e=null,f=a.plugins.w1a.lPa("Default"),g=c-this.uWb.jPb(),h instanceof b.hBa||h instanceof b.jBa?e=h.Ey()[g]:h instanceof b.fBa?(e=h.Ey()[g],null==d&&null!=f&&(d=f.defaultFormat(a.core.DataType.Number,!1))):h instanceof b.iBa&&(e=new Date(h.Ey()[g].valueOf()),null==d&&null!=f&&(d=f.defaultFormat(a.core.DataType.Date,!1))),null!=f?f.format(d,e):null==e?null:""+e)},d.prototype.itemValue=function(a){var c=this.N2a()?this.N2a().field:null,d=a-this.uWb.jPb();return c instanceof b.hBa||c instanceof b.jBa||c instanceof b.fBa||c instanceof b.iBa?c.Ey()[d]:null},d);function d(a){this.Half=.5,this.uWb=a}b.vWb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"name",{get:function(){return this.N2a().wLa()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"min",{get:function(){return null!=this.N2a()?this.N2a().field.bw():-this.Half},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"max",{get:function(){return null!=this.N2a()?this.N2a().field.cw():this.Half},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"dataType",{get:function(){return null!=this.N2a()?this.N2a().field.Nc():a.core.DataType.Unknown},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"valueCount",{get:function(){var a,b,c,d,e,f=this.N2a();if(null!=f&&(a=f.field,null!=a)){if(b=a.queryInterface("IDateDataField"),null!=b)return b.Ey().length;if(c=a.queryInterface("INumberDataField"),null!=c)return c.Ey().length;if(d=a.queryInterface("IBooleanDataField"),null!=d)return d.Ey().length;if(e=a.queryInterface("IStringDataField"),null!=e)return e.Ey().length}return NaN},enumerable:!0,configurable:!0}),d.prototype.rOa=function(){return this.N2a()},d.prototype.qWb=function(){return this.uWb},d.prototype.N2a=function(){return this.qWb().N2a()},d.prototype.labelFromValue=function(c,d){var e,f,g=this.N2a()?this.N2a().field:null;return null==g?null:(e=null,f=a.plugins.w1a.lPa("Default"),g instanceof b.fBa?(e=c,null==d&&null!=f&&(d=f.defaultFormat(a.core.DataType.Number,!1))):g instanceof b.iBa&&(e=new Date(c),null==d&&null!=f&&(d=f.defaultFormat(a.core.DataType.Date,!1))),null!=f?f.format(d,e):null==e?null:""+e)},d.prototype.itemValue=function(a){var c=this.N2a()?this.N2a().field:null;return c instanceof b.fBa?a:c instanceof b.iBa?new Date(a):null},d);function d(a){this.Half=.5,this.uWb=a}b.qBa=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"name",{get:function(){return this.HCa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"min",{get:function(){return this.FCa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"max",{get:function(){return this.GCa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"dataType",{get:function(){return this.ICa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"valueCount",{get:function(){return this.JCa},enumerable:!0,configurable:!0}),d.prototype.labelFromValue=function(b,c){if(null!=this.ECa)return this.ECa.labelFromValue(b,c);this.ICa==a.core.DataType.Date&&(b=new Date(b));var d=a.plugins.w1a.lPa("Default");return null!=d?(null==c&&(a.core.UOb.isNumber(b)?c=d.defaultFormat(a.core.DataType.Number,!1):a.core.UOb.isDate(b)&&(c=d.defaultFormat(a.core.DataType.Date,!1))),d.format(c,b)):null},d.prototype.itemValue=function(a){return null!=this.ECa?this.ECa.itemValue(a):a},d);function d(c,d){var e,f,g,h,i,j,k,l,m,n,o;for(this.ECa=null,this.HCa=null,this.ICa=a.core.DataType.Unknown,this.JCa=NaN,e=[],f=!1,g=0,h=c;g<h.length;g++)i=h[g],null!=i&&(null!=i.ySite.name&&0<i.ySite.name.length&&-1==e.indexOf(i.ySite.name)&&e.push(i.ySite.name),j=!1,k=i.HOa(),k instanceof b.G3a&&!j&&k.sOa==a.Aggregate.List&&(l=k.N2a(),j=l instanceof b.j3a||l instanceof b.m3a),!f&&j?(this.ECa=i.ySite,this.ICa=i.ySite.dataType,(isNaN(this.JCa)||this.JCa<i.ySite.valueCount)&&(this.JCa=i.ySite.valueCount)):j?i.ySite.dataType==a.core.DataType.Number&&(this.ICa=i.ySite.dataType):(f=!0,this.ECa=null,this.JCa=NaN,this.ICa=i.ySite.dataType),m=i.ySite.min,null!=m&&(null==this.FCa||this.FCa>m)&&(this.FCa=m,this.$6a=this.FCa),n=i.ySite.max,null!=n&&(null==this.GCa||this.GCa<n)&&(this.GCa=n),d==a.ShowNulls.Zeros&&i.WSa()&&(null==this.FCa||0<this.FCa)&&(this.FCa=0,this.$6a=this.FCa,null==this.GCa&&(this.GCa=this.FCa)));0<e.length&&(this.HCa=e.join(",")),(this.ICa==a.core.DataType.Number||this.ICa==a.core.DataType.Date)&&(null==this.FCa&&null==this.GCa&&(this.FCa=0,this.GCa=0),this.FCa==this.GCa&&(this.FCa=Math.min(0,this.FCa),this.GCa=Math.max(0,this.GCa)),o=(this.GCa-this.FCa)/1.5,0<this.FCa?(this.FCa=this.FCa-o,this.FCa<0&&(this.FCa=0)):this.GCa<0&&(this.GCa=this.GCa+o,0<this.GCa&&(this.GCa=0)))}b.eCa=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"name",{get:function(){return""},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"min",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"max",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"dataType",{get:function(){return a.core.DataType.Unknown},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"valueCount",{get:function(){return NaN},enumerable:!0,configurable:!0}),d.prototype.labelFromValue=function(a,b){return null},d.prototype.itemValue=function(a){return null},d);function d(){}b.SOa=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.LCa,__extends(d,b),Object.defineProperty(d.prototype,"max",{get:function(){var a=this.wWb?this.Ey.length:this.Ey.length-1;return this.jPb()+a},enumerable:!0,configurable:!0}),d);function d(a,c,d,e){var f=b.call(this,a,c,d)||this;return f.wWb=e,f}a.Mvb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.vWb,__extends(d,b),Object.defineProperty(d.prototype,"max",{get:function(){var a=this.wWb?this.valueCount:this.valueCount-1;return null!=this.N2a()?this.qWb().jPb()+a:this.Half},enumerable:!0,configurable:!0}),d);function d(a,c){var d=b.call(this,a)||this;return d.wWb=c,d}a.xWb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.qBa,__extends(d,b),Object.defineProperty(d.prototype,"max",{get:function(){return null!=this.N2a()?this.N2a().field.cw():this.Half},enumerable:!0,configurable:!0}),d);function d(a){return b.call(this,a)||this}a.owb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.eCa,__extends(d,b),Object.defineProperty(d.prototype,"max",{get:function(){return null!=this.ECa?this.GCa+1:this.GCa},enumerable:!0,configurable:!0}),d);function d(a,c){return b.call(this,a,c)||this}a.yWb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.zWb=function(){var a=this.color;return"string"==typeof a?a:null},c.prototype.AWb=function(){var b=this.zWb();return null!=b?new a.StringObject("color",b):null},c.prototype.queryInterface=function(a){return"IStringifyable"===a?this:null},c);function c(a){this.color=a}a.ColorContent=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.sAa,__extends(d,b),d.prototype.Cj=function(){return this.HCa},d.prototype.oi=function(){return this.$Ca},d.prototype.Qb=function(){return this.mCa},d.prototype.D5a=function(){return new a._6a(this)},d.prototype.E5a=function(){return new a.a7a(this)},d.prototype.SFb=function(){var b,c,d=this.BWb;null!=d&&(b=d.name,c=this._items().filter(function(c){var d=a.VOb.getValue(c,b);return"number"!=typeof d||0<=d}),this.mCa=d.PBa(c),this.TJa()[b]=this.mCa)},d.prototype.wqb=function(a){var b,c,d=0;if(a>this.ora())for(b=0,c=this.oi();b<c.length;b++)d+=c[b].wqb(a);else a==this.ora()&&(d=this.Qb());return d},d);function d(a,c,d,e){var f=b.call(this,d)||this;return f.mCa=0,f.$Ca=[],f.path=e,f.HCa=a,f.BWb=c,0<d.length&&f.SFb(),f}a._Ca=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.NGa=function(a){this.H5a(a,this.I5a(a.$z().config.rules))},d.prototype.H5a=function(a,b){this.L5a(a.CWb(),b)},d.prototype.L5a=function(a,b){var c,d,e,f,g;if(null!=a){for(c=0,d=b;c<d.length;c++)d[c].evaluate(a);for(e=0,f=a.oi();e<f.length;e++)g=f[e],this.L5a(g,b)}},d.prototype.nQa=function(b){var c=[];return b.forEach(function(b){if(null!=b&&"Group"==b.type){var d=a.plugins.w1a.M5a("Hierarchical",b);null!=d&&c.push(d)}}),c},d.prototype.I5a=function(b){var c=[];return b.forEach(function(b){if(null!=b&&"DataPoint"==b.type){var d=a.plugins.w1a.M5a("Hierarchical",b);null!=d&&c.push(d)}}),c},d);function d(){}b.b7a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"template",{get:function(){var a,b=this.O5a();return b&&0<b.length?(a=this.P5a(),null==a&&(a=this.rPa()),a):null},enumerable:!0,configurable:!0}),d.prototype.zoa=function(){return this.tCa},d.prototype.al=function(){var a=this.zoa();return a instanceof b.aDa?a:a instanceof b.bDa?a.al():null},d.prototype.defaultProperty=function(a){return"value"},d.prototype.defaultFormat=function(b){return"PercentageDetail"!=b&&"PercentageLevel"!=b&&"PercentagePlot"!=b?null:a.plugins.w1a.lPa("Default").defaultFormat(a.core.DataType.Number,!0)},d.prototype.fromToken=function(c,d){var e,f,g,h,i,j,k,l,m=new b.Token;if("PercentageDetail"==c)m.name="PercentageDetail",m.value=new b.$Ob(this.zoa().qqb());else if("PercentageLevel"==c)m.name="PercentageLevel",m.value=new b.$Ob(this.zoa().xqb());else if("PercentagePlot"==c)m.name="PercentagePlot",m.value=new b.$Ob(this.zoa().rqb());else if("valueField"==c)e=this.al().uPa().EWb().DWb().HOa(),e instanceof b.C3a&&(m.name=e.name,m.value=new b.$Ob(e.lCa(this.zoa()._items())),m.aggregate=a.cPb.toAggregateString(e.sOa));else if("detailFields"==c)f=this.al().uPa().EWb().DWb().c7a(),f&&(g=f.Y2a(),g&&0<g.length&&(h=this.zoa().ora(),null==d?(i=g[h-1],m.name=i.wLa(),m.value=new b.$Ob(i.field.lCa(this.zoa()._items()))):d<h&&(i=g[d],m.name=i.wLa(),m.value=new b.$Ob(i.field.lCa(this.zoa()._items())))));else for(j=0,k=this.O5a();j<k.length;j++)if(l=k[j],l.N2a().Cj()==c)return this.U5a(l);return m},d.prototype.U5a=function(c){var d,e,f,g,h,i=this.al().uPa().EWb().DWb().c7a();if(i&&(d=i.Y2a(),d&&0<d.length))for(e=this.zoa().ora(),f=0;f<d.length;f++)if(d[f].field.equals(c.N2a().field))return g=new b.Token,f<e&&(g.name=c.N2a().wLa(),g.value=new b.$Ob(c.lCa(this.zoa()._items())),g.aggregate=a.cPb.toAggregateString(c.sOa())),g;return h=new b.Token,h.name=c.N2a().wLa(),h.value=new b.$Ob(c.lCa(this.zoa()._items())),h.aggregate=a.cPb.toAggregateString(c.sOa()),h},d);function d(b){a.ePb.dPb(null!=b),this.tCa=b}b.d7a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.w5a=function(b,c){var d,e=[];return null!=this.xQb&&(null!=this.xQb.R5a()?null!=(d=this.xQb.R5a().vQb(b,c))&&e.push(d):((d=new a.nTb(b,this.xQb,null)).yUb(!1),e.push(d))),e},c.prototype.queryInterface=function(a){return this.xQb.queryInterface(a)},c);function c(a){this.xQb=a}a.Dqb=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.kBa,__extends(d,b),d.prototype.fua=function(){return this.FWb(this.al())},d.prototype.al=function(){return this.cDa},d.prototype.EWb=function(){return this.bRa()},d.prototype.eDa=function(b,c,d){return new a.bDa(b,c,d,[],[])},d.prototype.dDa=function(b,c,d,e){return new a.aDa(b,c,d,e)},d.prototype.FWb=function(a){var b,c,d,e;if(null==a)return[];for(b=[a],c=0,d=a.oi();c<d.length;c++)e=d[c],null!=e&&b.push.apply(b,this.FWb(e));return b},d);function d(a,c,d){var e=b.call(this,a,c,d)||this;return e.Eqb=!1,e.cDa=e.RNa(),e}a.gDa=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a._Ca,__extends(d,b),d.prototype.HOa=function(){return this.al().uPa().EWb().DWb().HOa().name},d.prototype.ora=function(){return this.hqa().ora()+1},d.prototype.hqa=function(a){return arguments.length<=0?this.jCa:void(this.jCa=a)},d.prototype.al=function(){var b=this.hqa();return b instanceof d?b.al():b instanceof a.aDa?b:null},d.prototype.qqb=function(){return Math.abs(this.Qb()/this.hqa().Qb())},d.prototype.xqb=function(){return Math.abs(this.Qb()/this.al().wqb(this.ora()))},d.prototype.rqb=function(){return Math.abs(this.Qb()/this.al().Qb())},d.prototype._text=function(){return null==this.G6a&&(this.G6a=this.al().uPa().$z().config.text.clone()),this.G6a},d.prototype.vw=function(){return null==this.H6a&&(this.H6a=this.al().uPa().$z().config.tooltip.clone()),this.H6a},d);function d(a,c,d,e,f){var g=b.call(this,c,d,e,f)||this;return g.jCa=a,g}a.bDa=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a._Ca,__extends(d,b),d.prototype.hqa=function(){return this.uPa().bRa()},d.prototype.HOa=function(){return this.uPa().EWb().DWb().HOa().name},d.prototype.ora=function(){return 0},d.prototype.qqb=function(){return 1},d.prototype.xqb=function(){return 1},d.prototype.rqb=function(){return 1},d.prototype.al=function(){return this},d.prototype.uPa=function(){return this.ZCa},d.prototype.Wqa=function(){return null==this.tEa&&(this.tEa=this.uPa().$z().config.style.clone()),this.tEa},d.prototype._text=function(){return null==this.G6a&&(this.G6a=this.uPa().$z().config.text.clone()),this.G6a},d.prototype.vw=function(){return null==this.H6a&&(this.H6a=this.uPa().$z().config.tooltip.clone()),this.H6a},d);function d(a,c,d,e){var f=b.call(this,c,d,e,[])||this;return f.ZCa=a,f}a.aDa=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.gDa,__extends(e,c),e.prototype.RNa=function(){var b,c,d,e,f;return null==this.EWb().DWb().HOa()?null:(b=this.dDa(this,"",this.EWb().DWb().HOa(),this._items()),c=[],d=this.bRa(),e=d.ghb(b,null),null!=this.EWb().DWb().c7a()&&(f=this.EWb().DWb().c7a(),(new a.HWb).GWb(e,this._items(),f,d,this),c.push.apply(c,this.traverseChild(e))),d.pvb(c.reverse()),d.CWb(e),b)},e.prototype.traverseChild=function(a){var b,c,d,e,f;for(b=[],c=[],d=a.oi(),e=d.length-1;0<=e;e--)c.push(d[e]);for(;0<c.length;)for(f=c.pop(),b.push(f),e=(d=f.oi()).length-1;0<=e;e--)c.push(d[e]);return b},e);function e(a,b,d){return c.call(this,a,b,d)||this}b.qvb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.gDa,__extends(e,c),e.prototype.RNa=function(){var b,c,d,e,f;return null==this.EWb().DWb().HOa()?null:(c=this.dDa(this,"",this.EWb().DWb().HOa(),this._items()),null==c.Qb()?null:(d=this.bRa(),e=d.ghb(c,null,[]),null!=this.EWb().DWb().c7a()&&(f=this.EWb().DWb().c7a(),(new a.HWb).GWb(e,this._items(),f,d,this)),(b=d.ggb()).push.apply(b,this.traverseChild(e)),d.CWb(e),c))},e.prototype.traverseChild=function(a){var b,c,d,e=[],f=[];for(f.push(a);0<f.length;)for(b=f.pop(),e.push(b),c=b.oi(),d=c.length-1;0<=d;d--)f.push(c[d]);return e},e);function e(a,b,d){return c.call(this,a,b,d)||this}b.svb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.d7a,__extends(e,c),e.prototype.O5a=function(){return this.al().uPa().EWb().DWb().o6a()},e.prototype.P5a=function(){var a=this.zoa()._text();return null!=a&&null!=a.template?a.template:null},e.prototype.rPa=function(){var b,c,d,e,f,g,h,i=[],j=[],k=this.al().uPa().EWb().DWb().c7a();if(k&&(b=k.Y2a(),b&&0<b.length))for(c=this.zoa().ora(),d=0;d<b.length;d++)e=b[d],d<c&&(i=["{detailFields["+d+"].value}"]),j.push(e.Cj());for(f=function(b){var c,d=b.N2a().Cj();j.some(function(a){return a==d})||(c=b.N2a().format,i.push(a.TOb.getTemplateValueSection(d,c,!1)),j.push(d))},g=0,h=this.O5a();g<h.length;g++)f(h[g]);return i.join("; ")},e);function e(a){return c.call(this,a)||this}b._6a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.d7a,__extends(e,c),e.prototype.O5a=function(){return this.al().uPa().EWb().DWb().p6a()},e.prototype.P5a=function(){var a=this.zoa().vw();return null!=a&&null!=a.template&&0<a.template.length?a.template:null},e.prototype.rPa=function(){var b,c,d,e,f,g,h,i,j=[],k=[],l=this.al().uPa().EWb().DWb().c7a();if(l&&(b=l.Y2a(),b&&0<b.length))for(c=this.zoa().ora(),d=0;d<b.length;d++)e=b[d],f="detailFields["+d+"]",d<c&&j.push("{"+f+".name}: {"+f+".value}"),k.push(e.Cj());for(g=function(b){var c,d=b.N2a().Cj();k.some(function(a){return a==d})||(c=b.N2a().format,j.push(a.TOb.getTemplateValueSection(d,c,!0)),k.push(d))},h=0,i=this.O5a();h<i.length;h++)g(i[h]);return j.join("\n")},e);function e(a){return c.call(this,a)||this}b.a7a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.IWb=function(a,b){return'"'+a+'":"'+b+'"'},c.JWb=function(a){return"{"+c.IWb("type",a.type)+","+c.IWb("value",a.value)+"}"},c.KWb=function(a){var b=a.match(/"type":"(.*?)"/),d=a.match(/"value":"(.*?)"/);return new c(null==b?null:b[1],null==d?null:d[1])},c.LWb=function(a){return null!=a?"<%"+c.JWb(a)+"%>":""},c.T0=function(a){var b,d,e,f,g;for(d=/<%(.*?)%>/g,e=0,f=[];null!=(b=d.exec(a));)g=b.index,e<g&&f.push(new c("text",a.substr(e,g))),f.push(c.KWb(b[1])),e=g+b[0].length;return e<a.length&&f.push(new c("text",a.substr(e,a.length))),f},c);function c(a,b){this.type=a,this.value=b}a.StringObject=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(Object.defineProperty(c.prototype,"color",{get:function(){return this.tE},set:function(a){this.tE=a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"name",{get:function(){return this.Cj},set:function(a){this.Cj=a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"value",{get:function(){return this.Qb},set:function(a){this.Qb=a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"aggregate",{get:function(){return this.sOa},set:function(a){this.sOa=a},enumerable:!0,configurable:!0}),c);function c(){}a.Token=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.N2a=function(){return this.L2a},c.prototype.bw=function(a){return arguments.length<=0?this.uOa:void(this.uOa!=a&&(this.uOa=a))},c.prototype.cw=function(a){return arguments.length<=0?this.vOa:void(this.vOa!=a&&(this.vOa=a))},c);function c(a){this.uOa=null,this.vOa=null,this.L2a=a}a.h7a=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.w5a=function(b,c){var d,e,f,g,h=[],i=this.I4a;if(null!=i&&0<this.getRelatedPlots(b.nPa()).length)for(d=0,e=[i.R5a(),i.T5a(),i.S5a()];d<e.length;d++)f=e[d],null!=f&&(g=f.vQb(b,c),null!=g&&(h.push(g),g.tUb(new a.ParallelLegendAdopter)));return h},c.prototype.getRelatedPlots=function(a){var b=this.I4a;return a.filter(function(a){return a.f3a()===b})},c.prototype.queryInterface=function(a){return this.I4a.queryInterface(a)},c);function c(a){this.I4a=a}a.l7a=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.kBa,__extends(e,c),e.prototype.fua=function(){var a,b,c,d,e,f;for(a=[],b=0,c=this.J5a();b<c.length;b++)for(d=0,e=c[b].fua();d<e.length;d++)f=e[d],null!=f&&a.push(f);return a},e.prototype.p7a=function(){return this.m7a},e.prototype.J5a=function(){return this.uBa},e.prototype.MWb=function(){return this.bRa()},e.prototype.n7a=function(a){var c,d,e,f;if(null==a)return null;if(c=[],a instanceof b.q7a)for(d=0,e=a.Y2a();d<e.length;d++)f=e[d],c.push(new b.h7a(f));return c},e.prototype.a6a=function(c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=[];if(null!=e)for(f=new b.ZVb(this,d,e),g=new b.$Vb(e.N2a()),h=new a.iPb,i=new a.data.GroupingDescription(f,g,h),j=0,k=o=(new a.data.GroupingsBuilder).build(c,i);j<k.length;j++)l=k[j],null==l||e.HSa()&&l.v6a()||q.push(l);else for(m=0,n=c;m<n.length;m++)p=n[m],null!=(o=this.t6a([p],d,null))&&q.push(o);return q},e.prototype.t6a=function(a,c,d){return null!=d&&c instanceof b.i7a?new b.r7a(this,a,c,d):null==d&&c instanceof b.j7a?new b.s7a(this,a,c):null},e);function e(a,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=c.call(this,a,d,e)||this;
- if(1==q.MWb().NWb().i6a().length)for(f=q.MWb().NWb().i6a()[0],q.m7a=q.n7a(f),1==q.MWb().NWb().j6a().length?(g=q.MWb().NWb().j6a()[0],g instanceof b.W2a&&(q.uBa=q.a6a(d._items(),f,g))):0==q.MWb().NWb().j6a().length&&(q.uBa=q.a6a(d._items(),f,null)),h=0,i=q.J5a();h<i.length;h++)for(j=0,k=i[h].fua();j<k.length;j++)l=k[j],m=l.o7a(),n=l.Qb(),null==n||isNaN(n)||(o=m.cw(),(null==o||isNaN(o)||o<n)&&m.cw(n),p=m.bw(),(null==p||isNaN(p)||n<p)&&m.bw(n));return q}b.t7a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.IOa,__extends(d,b),Object.defineProperty(d.prototype,"name",{get:function(){return this.Y2a().map(function(a){return a.Cj()}).join("-")},enumerable:!0,configurable:!0}),d.prototype.Y2a=function(){return this.X2a},d.prototype.zAa=function(a){if(a instanceof d){if(this.Y2a()==a.Y2a())return!0;if(null!=this.Y2a()&&null!=a.Y2a()&&this.Y2a().length==a.Y2a().length){for(var b=0;b<this.Y2a().length;b++)if(!this.Y2a()[b].equals(a.Y2a()[b]))return!1;return!0}}return!1},d.prototype.WOb=function(a){var b,c,d=this.PY();return null!=d&&(b=this.Y2a(),c=b.length,a=a.filter(function(a){for(var e=0;e<c;e++)if(!d.filter(a,b[e].Cj()))return!1;return 0<c})),a},d);function d(a,c){var d=b.call(this,c)||this;return d.X2a=[],d.X2a=a,d}a.q7a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.q7a,__extends(e,c),e.T0=function(c,d){var f,g,h,i,j,k;if(null==c||"IFieldsValueEncodingOption"!=c.type)return null;if(f=c,f.aggregate==a.Aggregate.List)return null;for(g=[],h=0,i=a.TOb.splitStringWithEscape(f.field,"|");h<i.length;h++)j=i[h],k=b.M2a.T0(j,d),null!=k&&g.push(k);return 1<g.length?new e(g,a.core.UOb.isNullEnum(f.aggregate)?a.Aggregate.Sum:f.aggregate,f.excludeNulls):null},e.prototype.sOa=function(){return this.AGa},e.prototype.zAa=function(a){return a instanceof e&&this.sOa()==a.sOa()&&c.prototype.zAa.call(this,a)},e);function e(a,b,d){var e=c.call(this,a,d)||this;return e.AGa=b,e}b.i7a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.q7a,__extends(e,c),e.T0=function(c,d){var f,g,h,i,j,k;if(null!=c&&"IFieldsValueEncodingOption"==c.type){for(f=c,g=[],h=0,i=a.TOb.splitStringWithEscape(f.field,"|");h<i.length;h++)j=i[h],k=b.k3a.T0(j,d),null!=k&&g.push(k);if(1<g.length)return new e(g,f.excludeNulls)}return null},e.prototype.zAa=function(a){return a instanceof e&&c.prototype.zAa.call(this,a)},e);function e(a,b){return c.call(this,a,b)||this}b.j7a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.sAa,__extends(d,b),Object.defineProperty(d.prototype,"parent",{get:function(){return this.Ata()},enumerable:!0,configurable:!0}),d.prototype.Ata=function(){return this.KDa},d.prototype.OWb=function(){return this.u7a.N2a().field.lCa(this.items)},d.prototype.Qb=function(){return NaN},d.prototype.Wqa=function(){return null==this.tEa&&(this.tEa=this.Ata().uPa().$z().config.style.clone()),this.tEa},d.prototype._text=function(){return null==this.G6a&&(this.G6a=this.Ata().uPa().$z().config.text.clone()),this.G6a},d.prototype.vw=function(){return null==this.H6a&&(this.H6a=this.Ata().uPa().$z().config.tooltip.clone()),this.H6a},d.prototype.o7a=function(){return this.u7a},d);function d(a,c,d){var e=b.call(this,c)||this;return e.KDa=a,e.u7a=d,e}a.v7a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.v7a,__extends(e,c),e.prototype.Qb=function(){var b=this.Ata().HOa(),c=this.o7a().N2a(),d=a.x7.find(b.Y2a(),function(a){return a.equals(c)});return null!=d?d.field.sOa(this._items(),b.sOa()):null},e);function e(a,b,d){return c.call(this,a,b,d)||this}b.w7a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.v7a,__extends(e,c),e.prototype.Qb=function(){var b=this.Ata().HOa(),c=this.o7a().N2a(),d=a.x7.find(b.Y2a(),function(a){return a.equals(c)});return null!=d?d.field.PBa(this._items()):null},e);function e(a,b,d){return c.call(this,a,b,d)||this}b.x7a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.JAa,__extends(e,c),Object.defineProperty(e.prototype,"key",{get:function(){return this.m1a},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return a.ElementType.Series},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this.uPa().bRa()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){return this.oCa},set:function(a){this.oCa!=a&&(this.oCa=a)},enumerable:!0,configurable:!0}),e.prototype.KQa=function(a){var b,c,d,e;if(arguments.length<=0){for(b=0,c=this.fua();b<c.length;b++)if(!c[b].KQa())return!1;return!0}for(d=0,e=this.fua();d<e.length;d++)e[d].KQa(a)},e.prototype.uPa=function(){return this.ZCa},e.prototype.fua=function(){return this.J6a},e.prototype.v6a=function(){for(var a=0,b=this.fua();a<b.length;a++)if(null!=b[a].Qb())return!1;return!0},e.prototype.HOa=function(){return this.FOa},e.prototype.M6a=function(a){var b,c,d,e,f;for(b=[],c=0,d=this.uPa().p7a();c<d.length;c++)e=d[c],f=this.eDa(a,e),null!=f&&b.push(f);return b},e.prototype.eDa=function(a,c){return new b.v7a(this,a,c)},e);function e(a,b,d){var e=c.call(this,b)||this;return e.m1a=null,e.ZCa=a,e.FOa=d,e.J6a=e.M6a(b),e}b.y7a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.y7a,__extends(d,b),d.prototype.eDa=function(b,c){return new a.w7a(this,b,c)},d);function d(a,c,d,e){var f=b.call(this,a,c,d)||this;return f.K6a=e,f}a.r7a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.y7a,__extends(d,b),d.prototype.eDa=function(b,c){return new a.x7a(this,b,c)},d);function d(a,c,d){return b.call(this,a,c,d)||this}a.s7a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.NGa=function(a){this.H5a(a,this.nQa(a.$z().config.rules),this.I5a(a.$z().config.rules))},d.prototype.H5a=function(a,b,c){var d,e,f;for(d=0,e=a.Zgb();d<e.length;d++)f=e[d],this.K5a(f,b,c)},d.prototype.K5a=function(a,b,c){var d,e,f,g,h;for(d=0,e=b;d<e.length;d++)e[d].evaluate(a);for(f=0,g=a.ggb();f<g.length;f++)h=g[f],this.L5a(h,c)},d.prototype.L5a=function(a,b){for(var c=0,d=b;c<d.length;c++)d[c].evaluate(a)},d.prototype.nQa=function(b){var c,d,e,f,g;for(c=[],d=0,e=b;d<e.length;d++)f=e[d],null!=f&&"Group"==f.type&&(g=a.plugins.w1a.M5a("Cartesian",f),null!=g&&c.push(g));return c},d.prototype.I5a=function(b){var c=[];return b.forEach(function(b){if(null!=b&&"DataPoint"==b.type){var d=a.plugins.w1a.M5a("Cartesian",b);null!=d&&c.push(d)}}),c},d);function d(){}b.PWb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.w6a,__extends(d,b),d.prototype.t6a=function(b,c,d,e){return c instanceof a.G3a?new a.YCa(this,c,d,e,b):null},d);function d(a,c,d){return b.call(this,a,c,d)||this}a.A7a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.addSvgStopByColors=function(a,b){var c=this;this.ensureGradientOffset(b),b.forEach(function(b){var d=document.createElementNS(c.svgNS,"stop");d.setAttribute("offset",""+b.stop),d.setAttribute("stop-color",b.color),a.appendChild(d)})},c.prototype.addCanvasStopByColors=function(a,b){this.ensureGradientOffset(b),b.forEach(function(b){a.addColorStop(b.stop,b.color)})},c.prototype.ensureGradientOffset=function(a){var b=this,c=0,d=0;a.forEach(function(e,f){null==e.stop?(0==f&&(e.stop=0,c=f),f==a.length-1&&(e.stop=1,d=f,b.initGradientOffset(a,c,d),c=f)):c!=d&&(d=f,b.initGradientOffset(a,c,d),c=f),d++}),a.sort(function(a,b){return a.stop-b.stop})},c.prototype.initGradientOffset=function(a,b,c){var d,e,f=c-b;if(1<f)for(d=a[c].stop-a[b].stop,e=1;e<f;e++)a[b+e].stop=a[b].stop+d/f*e},c);function c(){this.svgNS="http://www.w3.org/2000/svg"}a.D7a=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.D7a,__extends(d,b),d.prototype.applySvgGradient=function(a,b){this.E7a=this.createSvgGradient();var c="gradient"+(1e5*Math.random()).toFixed();return this.E7a.setAttribute("id",c),this.addSvgDirection(b.degree),this.addSvgStopByColors(this.E7a,b.colorStops),a.appendChild(this.E7a),c},d.prototype.applyCanvasGradient=function(a,b,c){var d=null,e=this.convertDegToPoint(b.degree);return d=null==c?a.createLinearGradient(e.x1*a.canvas.width,e.y1*a.canvas.height,e.x2*a.canvas.width,e.y2*a.canvas.height):a.createLinearGradient(e.x1*c.width+c.left,e.y1*c.height+c.top,e.x2*c.width+c.left,e.y2*c.height+c.top),this.addCanvasStopByColors(d,b.colorStops),d},d.prototype.createSvgGradient=function(){return document.createElementNS(this.svgNS,"linearGradient")},d.prototype.addSvgDirection=function(a){var b=this.convertDegToPoint(a);this.E7a.setAttribute("x1",b.x1.toFixed(this.Fqb)),this.E7a.setAttribute("y1",b.y1.toFixed(this.Fqb)),this.E7a.setAttribute("x2",b.x2.toFixed(this.Fqb)),this.E7a.setAttribute("y2",b.y2.toFixed(this.Fqb))},d.prototype.convertDegToPoint=function(a){var b,c,d,e,f,g;switch(a<0&&(a=360+a%360),g=Math.floor(a/180),Math.floor(a%180/45)){case 0:c=(b=this.getTriangleEdgeValue(a)).cosEdge,e=1+b.sinEdge,d=1-b.cosEdge,f=-b.sinEdge;break;case 1:c=-(b=this.getTriangleEdgeValue(90-a)).sinEdge,e=1-b.cosEdge,d=1+b.sinEdge,f=b.cosEdge;break;case 2:c=-(b=this.getTriangleEdgeValue(a-90)).sinEdge,e=b.cosEdge,d=1+b.sinEdge,f=1-b.cosEdge;break;case 3:c=(b=this.getTriangleEdgeValue(180-a)).cosEdge,e=-b.sinEdge,d=1-b.cosEdge,f=1+b.sinEdge}return g%2==0?{x1:c,y1:e,x2:d,y2:f}:{x1:d,y1:f,x2:c,y2:e}},d.prototype.getTriangleEdgeValue=function(a){var b=.5*Math.sqrt(2)*Math.cos((a+45)/180*Math.PI);return{sinEdge:Math.abs(b*Math.sin(a/180*Math.PI)),cosEdge:Math.abs(b*Math.cos(a/180*Math.PI))}},d);function d(){var a=null!==b&&b.apply(this,arguments)||this;return a.Fqb=3,a}a.F7a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.D7a,__extends(d,b),d.prototype.createSvgGradient=function(){return document.createElementNS(this.svgNS,"radialGradient")},d.prototype.applySvgGradient=function(a,b){this.E7a=this.createSvgGradient();var c="gradient"+(1e5*Math.random()).toFixed();return this.E7a.setAttribute("id",c),this.addSvgDirection(b),this.addSvgStopByColors(this.E7a,b.colorStops),a.appendChild(this.E7a),c},d.prototype.applyCanvasGradient=function(a,b,c){var d,e;return null==c?d=b.startRadius==b.endRadius?a.createRadialGradient(b.end.x*a.canvas.width,b.end.y*a.canvas.height,0,b.start.x*a.canvas.width,b.start.y*a.canvas.height,b.startRadius*a.canvas.width):a.createRadialGradient(b.end.x*a.canvas.width,b.end.y*a.canvas.height,b.endRadius,b.start.x*a.canvas.width,b.start.y*a.canvas.height,b.startRadius*a.canvas.width):(e=c.width>c.height?c.height:c.width,d=b.startRadius==b.endRadius?a.createRadialGradient(b.end.x*c.width+c.left,b.end.y*c.height+c.top,0,b.start.x*c.width+c.left,b.start.y*c.height+c.top,b.startRadius*e):a.createRadialGradient(b.end.x*c.width+c.left,b.end.y*c.height+c.top,b.endRadius*e,b.start.x*c.width+c.left,b.start.y*c.height+c.top,b.startRadius*e)),this.addCanvasStopByColors(d,b.colorStops),d},d.prototype.addSvgDirection=function(a){this.E7a.setAttribute("cx",a.start.x.toFixed(this.Fqb)),this.E7a.setAttribute("cy",a.start.y.toFixed(this.Fqb)),this.E7a.setAttribute("fx",a.end.x.toFixed(this.Fqb)),this.E7a.setAttribute("fy",a.end.y.toFixed(this.Fqb)),a.endRadius==a.startRadius?this.E7a.setAttribute("r",a.startRadius.toFixed(this.Fqb)):(this.E7a.setAttribute("cr",a.startRadius.toFixed(this.Fqb)),this.E7a.setAttribute("fr",a.endRadius.toFixed(this.Fqb)))},d);function d(){var a=null!==b&&b.apply(this,arguments)||this;return a.Fqb=3,a}a.G7a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.shape=function(){return null},c.prototype.queryInterface=function(a){return null},c);function c(){}a.QWb=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.j8a=function(a){return arguments.length<=0?this.i8a:void(this.i8a!=a&&(this.i8a=a))},d.prototype.WDa=function(a){return arguments.length<=0?this.OEa:void(this.OEa!=a&&(this.OEa=a))},d.prototype.bw=function(){return this.uOa},d.prototype.cw=function(){return this.vOa},d.prototype.d5a=function(a){this.uOa=a.reduce(function(a,b){return a.valueOf()<b.valueOf()?a:b},this.bw()),this.vOa=a.reduce(function(a,b){return a.valueOf()>b.valueOf()?a:b},this.cw())},d.prototype.my=function(a,b){this.h8a.start=a,this.h8a.end=b},d.prototype.Qb=function(b){if(null==this.bw()||null==this.cw())return NaN;if(b.valueOf()<this.bw().valueOf()||b.valueOf()>this.cw().valueOf())return NaN;switch(this.j8a()){case a.DateMode.Year:return this.bw().getFullYear(),this.cw().getFullYear(),this.k8a(b);case a.DateMode.Month:return this.bw().getFullYear(),this.cw().getFullYear(),this.bw().getMonth(),this.cw().getMonth(),this.k8a(b);case a.DateMode.Week:case a.DateMode.Day:case a.DateMode.Hour:case a.DateMode.Minute:case a.DateMode.Second:case a.DateMode.MilliSecond:return this.k8a(b);default:return NaN}},d.prototype.k8a=function(a){var b;return b=this.bw().valueOf()==this.cw().valueOf()?.5:(a.valueOf()-this.bw().valueOf())/(this.cw().valueOf()-this.bw().valueOf()),this.WDa()?(this.h8a.start-this.h8a.end)*b+this.h8a.end:(this.h8a.end-this.h8a.start)*b+this.h8a.start},d);function d(){this.OEa=!1,this.h8a={start:0,end:0},this.i8a=a.DateMode.Day}b.l8a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.WDa=function(a){return arguments.length<=0?this.OEa:void(this.OEa!=a&&(this.OEa=a))},c.prototype.bw=function(){return this.uOa},c.prototype.cw=function(){return this.vOa},c.prototype.d5a=function(a){this.uOa=a.reduce(function(a,b){return a<b?a:b},this.bw()),this.vOa=a.reduce(function(a,b){return b<a?a:b},this.cw())},c.prototype.my=function(a,b){this.h8a.start=a,this.h8a.end=b},c.prototype.Qb=function(a){return null==this.bw()||null==this.cw()||a<this.bw()||a>this.cw()?NaN:(b=this.bw()==this.cw()?.5:(a-this.bw())/(this.cw()-this.bw()),this.WDa()?(this.h8a.start-this.h8a.end)*b+this.h8a.end:(this.h8a.end-this.h8a.start)*b+this.h8a.start);var b},c);function c(){this.OEa=!1,this.h8a={start:0,end:0}}a.m8a=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.WDa=function(a){return arguments.length<=0?this.OEa:void(this.OEa!=a&&(this.OEa=a))},c.prototype.o8a=function(){return this.n8a},c.prototype.d5a=function(a){var b,c,d,e;for(b=[],c=0,d=a;c<d.length;c++)e=d[c],-1==this.p8a(e)&&b.push(e);this.n8a=b.concat(this.o8a())},c.prototype.my=function(a,b){this.h8a.start=a,this.h8a.end=b},c.prototype.Qb=function(a){var b,c=this.p8a(a);return null==a||-1==c||this.h8a.start==this.h8a.end?null:(b=1==this.o8a().length?.5:c/(this.o8a().length-1),this.WDa()?(this.h8a.start-this.h8a.end)*b+this.h8a.end:(this.h8a.end-this.h8a.start)*b+this.h8a.start)},c.prototype.p8a=function(a){var b=-1;return this.o8a().some(function(c,d){return a===c||c instanceof Date&&a instanceof Date&&c.valueOf()==a.valueOf()?(b=d,!0):void 0}),b},c);function c(){this.OEa=!1,this.n8a=[],this.h8a={start:0,end:0}}a.q8a=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){"use strict";var b,c,d,e,f,g,h,i,j=(k.prototype.getDiff=function(a,b){return null==this.r8a?(new e).getDifference(a,b):this.r8a.getDifference(a,b)},k);function k(j){if(null!=j)switch(j){case a.DateMode.Year:this.r8a=new b;break;case a.DateMode.Month:this.r8a=new c;break;case a.DateMode.Week:this.r8a=new d;break;case a.DateMode.Day:this.r8a=new e;break;case a.DateMode.Hour:this.r8a=new f;break;case a.DateMode.Minute:this.r8a=new g;break;case a.DateMode.Second:this.r8a=new h;break;case a.DateMode.MilliSecond:this.r8a=new i}}a.s8a=j,l.prototype.getDifference=function(a,b){return a.getFullYear()-b.getFullYear()},b=l;function l(){}m.prototype.getDifference=function(a,b){var c=a.getFullYear()-b.getFullYear();return a.getMonth()-b.getMonth()+12*c},c=m;function m(){}n.prototype.getDifference=function(a,b){return Math.ceil((a.getTime()-b.getTime())/1e3/60/60/24/7)},d=n;function n(){}o.prototype.getDifference=function(a,b){return Math.ceil((a.getTime()-b.getTime())/1e3/60/60/24)},e=o;function o(){}p.prototype.getDifference=function(a,b){return Math.ceil((a.getTime()-b.getTime())/1e3/60/60)},f=p;function p(){}q.prototype.getDifference=function(a,b){return Math.ceil((a.getTime()-b.getTime())/1e3/60)},g=q;function q(){}r.prototype.getDifference=function(a,b){return Math.ceil((a.getTime()-b.getTime())/1e3)},h=r;function r(){}s.prototype.getDifference=function(a,b){return Math.ceil(a.getTime()-b.getTime())},i=s;function s(){}}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.d5a=function(a){return arguments.length<=0?this.t8a.slice():void(1==a.length?(this.t8a=[a[0],a[0]],this.$l()):1<a.length&&(null==a[0]?this.t8a=[a[1],a[1]]:null==a[1]?this.t8a=[a[0],a[0]]:this.t8a=a.slice(),this.$l()))},c.prototype.my=function(a){return arguments.length<=0?this.h8a.slice():(this.h8a=a,void this.$l())},c.prototype.WDa=function(a){return arguments.length<=0?this.OEa:void(this.OEa!=a&&(this.OEa=a,this.$l()))},c.prototype.RWb=function(a){return arguments.length<=0?this.SWb:void(this.SWb!=a&&(this.SWb=a,this.$l()))},c.prototype.TWb=function(a){return arguments.length<=0?this.UWb:void(this.UWb!=a&&(this.UWb=a,this.$l()))},c.prototype.Jsa=function(b){return arguments.length<=0?this.VDa:void(this.UDa!=b&&(null==b?(this.UDa=NaN,this.$l()):"number"==typeof b&&(a.ePb.dPb(isNaN(b)||0<b),this.UDa=b,this.$l())))},c.prototype.Ksa=function(a){return arguments.length<=0?this.AEa:void(this.AEa!=a&&(this.AEa=a))},c.prototype.format=function(a){return arguments.length<=0?this.qEa:void(this.qEa!=a&&(this.qEa=a,this.$l()))},c.prototype.pW=function(a){return a},c.prototype.$l=function(){this.u8a=!0},c.prototype.v8a=function(){this.u8a&&(this.w8a(),this.u8a=!1)},c.prototype.oI=function(){return this.v8a(),this.start},c.prototype.Vma=function(){return this.v8a(),this.end},c);function c(){this.SWb=0,this.UWb=0,this.t8a=[],this.h8a=[],this.OEa=!1,this.u8a=!0,this.UDa=NaN,this.AEa=NaN,this.VDa=NaN}a.x8a=b}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.x8a,__extends(d,b),d.prototype.d5a=function(a){return arguments.length<=0?b.prototype.d5a.call(this):void b.prototype.d5a.call(this,a)},d.prototype.tickNumber=function(b){return arguments.length<=0?this.y8a:void(this.y8a!=b&&(a.ePb.dPb(0<b),this.y8a=b,null==this.y8a&&(this.y8a=10),this.$l()))},d.prototype.min=function(){this.v8a();var a=this.d5a()[0];return null==a||isNaN(a)?this.B8a:Math.min(a-this.RWb(),this.B8a)},d.prototype.max=function(){this.v8a();var a=this.d5a()[1];return null==a||isNaN(a)?this.A8a:Math.max(a+this.TWb(),this.A8a)},d.prototype.ticks=function(){return this.v8a(),this.z8a},d.prototype.value=function(a){if(null==a||isNaN(a))return null;this.v8a();var b=this.max(),c=this.min();return null==c&&null==b||isNaN(c)&&isNaN(b)?c=b=0:null==c?c=b:null==b&&(b=c),b==c?(this.end-this.start)/2+this.start:(this.end-this.start)/(b-c)*(a-c)+this.start},d.prototype.w8a=function(){var a,b,c,d,e=this.my();this.WDa()?(this.start=e[1],this.end=e[0]):(this.start=e[0],this.end=e[1]),a=this.d5a(),b=a[0],c=a[1],null==b&&null==c||isNaN(b)&&isNaN(c)?b=c=0:null==b?b=c:null==c&&(c=b),b==c&&(b<0?c=0:0<c?b=0:(b-=.5,c+=.5)),d=c-b,isNaN(this.UDa)?this.VDa=this.jDa(c-b):(this.tickNumber(Math.round(d/this.UDa+.5)+1),this.VDa=this.UDa),0==this.Jsa()&&(this.UDa=void 0,this.VDa=void 0),this.A8a=this.C8a(c,this.Jsa()),this.B8a=this.D8a(b,this.Jsa()),this.z8a=this.bEa(d)},d.prototype.jDa=function(a){var b=this.nDa(a),c=a/this.tickNumber(),d=this.oDa(2*c,-b,!0);return d<c&&(d=this.oDa(c,1-b,!1)),d<c&&(d=this.mDa(c)),d},d.prototype.D8a=function(a,b){return 0==b&&(b=1),Math.floor(a/b)*b},d.prototype.C8a=function(a,b){return 0==b&&(b=1),Math.floor(a/b)*b==a?a:(Math.floor(a/b)+1)*b},d.prototype.bEa=function(a){var b,c,d,e,f,g=[],h=this.d5a();if(null!=h[0]&&null!=h[1]&&!isNaN(h[0])&&!isNaN(h[1])){if(b=this.B8a,c=this.A8a,null==b||isNaN(b)||null==c||isNaN(c))return g;if(d=this.VWb(a),e=this.Jsa(),b<=0&&0<=c){for(f=0;b-f<=d;)g.push(f),f-=e;for(g.reverse(),f=e;f-c<=d;)g.push(f),f+=e}else if(b!=c)for(f=b;f-c<=d;)g.push(f),f+=e}return g},d.prototype.VWb=function(a){if(a<=0||isNaN(a))return 0;1<=a&&(a=1);var b=Math.log(a)/Math.LN10,c=Math.floor(b)-1;return Math.min(Math.pow(10,c),1e-10)},d.prototype.nDa=function(a){var b,c,d;return a<=0||isNaN(a)?0:(c=Math.log(a)/Math.LN10,b=0<=c?Math.floor(c):Math.ceil(c),d=a/Math.pow(10,b),d<3&&(b=1-b,(d=a/Math.pow(10,b))<3&&(b+=1)),b)},d.prototype.oDa=function(a,b,c){if(0==a)return a;a<0&&(a=-a);var d=a/Math.pow(10,b),e=10;return 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)},d.prototype.mDa=function(a){if(0==a)return a;a<0&&(a=-a);var b=Math.log(a)/Math.LN10,c=Math.floor(b),d=a/Math.pow(10,c),e=10;return d<=1?e=1:d<=2?e=2:d<=5&&(e=5),e*Math.pow(10,c)},d);function d(){var a=null!==b&&b.apply(this,arguments)||this;return a.y8a=10,a}a.f5a=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.x8a,__extends(d,b),d.prototype.d5a=function(a){return arguments.length<=0?b.prototype.d5a.call(this):void b.prototype.d5a.call(this,a)},d.prototype.tickNumber=function(a){return arguments.length<=0?this.y8a:void(this.y8a!=a&&(this.y8a=a,null==this.y8a&&(this.y8a=10),this.$l()))},d.prototype.min=function(){var a,b;return this.v8a(),a=this.d5a()[0],null==a?this.FCa:(b=a-this.RWb(),0<b&&b<this.FCa?b:this.FCa)},d.prototype.max=function(){this.v8a();var a=this.d5a()[1];return null!=a?Math.max(a+this.TWb(),this.GCa):this.GCa},d.prototype.ticks=function(){return this.v8a(),this.z8a},d.prototype.osa=function(){return this.qSa},d.prototype.value=function(a){var b,c,d;return null==a||isNaN(a)?null:(this.v8a(),b=this.min(),c=this.max(),a<b&&(a=b),d=Math.log(c/b),Math.log(a/b)/d*(this.end-this.start)+this.start)},d.prototype.w8a=function(){var a,b=this.my();this.WDa()?(this.start=b[1],this.end=b[0]):(this.start=b[0],this.end=b[1]),a=this.d5a(),this.FCa=a[0],this.GCa=a[1],null==this.FCa&&null==this.GCa?this.FCa=this.GCa=0:null==this.FCa?this.FCa=this.GCa:null==this.GCa&&(this.GCa=this.FCa),0<this.osa()&&(this.GCa=this.C8a(this.GCa),this.FCa=this.D8a(this.FCa),(this.FCa<=0||isNaN(this.FCa))&&(this.FCa=1),this.GCa<this.FCa&&(this.GCa=this.FCa+1)),this.z8a=[],this.dEa(this.FCa,this.GCa,this.Jsa(),this.z8a,!1),this.z8a.sort(function(a,b){return b<a?1:-1})},d.prototype.D8a=function(a){var b=this.osa(),c=Math.log(b),d=Math.floor(Math.log(a)/c+1e-9);return Math.pow(b,d)},d.prototype.C8a=function(a){var b=this.osa(),c=Math.log(b),d=Math.ceil(Math.log(a)/c-1e-9);return Math.pow(b,d)},d.prototype.dEa=function(a,b,c,d,e){var f,g,h,i,j,k,l,m=this.osa(),n=Math.log(m),o=Math.floor(Math.log(a)/n),p=Math.ceil(Math.log(b)/n),q=m,r=!0;for(0<c&&(r=!1,q=c),q<m&&(q=m),f=(p-o+1)*m/q,g=1,e&&(h=this.tickNumber(),h<f?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++)a<=(l=j*(1+k*q))&&l<=b&&(0==k?d.unshift(l):d.push(l));else a<=(l=Math.pow(q,i))&&l<=b&&d.push(l)},d);function d(a){var c=b.call(this)||this;return c.y8a=10,c.qSa=a,c}a.E8a=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.f5a,__extends(d,b),d.prototype.D8a=function(a,c){return this.Jwb||this.WWb?a:b.prototype.D8a.call(this,a,c)},d.prototype.C8a=function(a,c){return this.Kwb||this.XWb?a:b.prototype.C8a.call(this,a,c)},d);function d(a,c,d,e){var f=b.call(this)||this;return f.Jwb=a,f.Kwb=c,f.WWb=d,f.XWb=e,f}a.Lwb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.E8a,__extends(d,b),d.prototype.D8a=function(a){return this.Jwb?a:b.prototype.D8a.call(this,a)},d.prototype.C8a=function(a){return this.Kwb?a:b.prototype.C8a.call(this,a)},d);function d(a,c,d){var e=b.call(this,a)||this;return e.Jwb=c,e.Kwb=d,e}a.YWb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.x8a,__extends(d,b),d.prototype.d5a=function(a){return arguments.length<=0?b.prototype.d5a.call(this):void b.prototype.d5a.call(this,a)},d.prototype.tickNumber=function(a){if(arguments.length<=0)return Math.floor(this.GCa)+1},d.prototype.min=function(){return this.v8a(),this.FCa-this.RWb()},d.prototype.max=function(){return this.v8a(),this.GCa+this.TWb()},d.prototype.ticks=function(){return this.v8a(),this.z8a},d.prototype.value=function(a){this.v8a();var b=this.min(),c=this.max();return(isNaN(b)&&isNaN(c)||null==b&&null==c)&&(b=-.5,c=.5),b==c?(this.end-this.start)/2+this.start:(this.end-this.start)/(c-b)*(a-b)+this.start},d.prototype.w8a=function(){var a,b,c=this.my();if(this.WDa()?(this.start=c[1],this.end=c[0]):(this.start=c[0],this.end=c[1]),isNaN(this.UDa)&&(this.UDa=1),a=this.d5a(),this.z8a=[],null!=a[0]&&null!=a[1]&&!isNaN(a[0])&&!isNaN(a[1]))for(this.FCa=a[0],this.GCa=a[1],b=Math.round(this.FCa);b<=Math.floor(this.GCa);b+=this.UDa)this.z8a.push(parseFloat(b.toFixed(1/this.UDa)))},d);function d(){return null!==b&&b.apply(this,arguments)||this}a.F8a=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.x8a,__extends(d,b),d.prototype.d5a=function(a){return arguments.length<=0?b.prototype.d5a.call(this):void b.prototype.d5a.call(this,a)},d.prototype.min=function(){return this.v8a(),this.B8a-this.RWb()},d.prototype.max=function(){return this.v8a(),this.A8a+this.TWb()},d.prototype.tickNumber=function(b){return arguments.length<=0?this.y8a:void(this.y8a!=b&&(a.ePb.dPb(0<b),this.y8a=b,null==this.y8a&&(this.y8a=d.TickNumber),this.$l()))},d.prototype.ZWb=function(a){return arguments.length<=0?this.$Wb:void(this.$Wb!=a&&(this.$Wb=a,this.$l()))},d.prototype._Wb=function(a){return arguments.length<=0?this.aXb:void(this.aXb!=a&&(this.aXb=a))},d.prototype.bXb=function(a){return arguments.length<=0?this.cXb:void(this.cXb!=a&&(this.cXb=a,this.$l()))},d.prototype.dXb=function(a){return arguments.length<=0?this.eXb:void(this.eXb!=a&&(this.eXb=a,this.$l()))},d.prototype.ticks=function(){return this.v8a(),this.z8a},d.prototype.pW=function(a){return this.v8a(),this.fXb(a,this._Wb())},d.prototype.gXb=function(){return this.v8a(),this.hXb(1,this._Wb())},d.prototype.fXb=function(b,c){var d=new Date(b);switch(c){case a.DateMode.Year:return new Date(d.getFullYear(),0,1).valueOf();case a.DateMode.Month:return new Date(d.getFullYear(),d.getMonth(),1).valueOf();case a.DateMode.Week:case a.DateMode.Day:return new Date(d.getFullYear(),d.getMonth(),d.getDate()).valueOf();case a.DateMode.Hour:return new Date(d.getFullYear(),d.getMonth(),d.getDate(),d.getHours()).valueOf();case a.DateMode.Minute:return new Date(d.getFullYear(),d.getMonth(),d.getDate(),d.getHours(),d.getMinutes()).valueOf();case a.DateMode.Second:return new Date(d.getFullYear(),d.getMonth(),d.getDate(),d.getHours(),d.getMinutes(),d.getSeconds()).valueOf();case a.DateMode.MilliSecond:}return b},d.prototype.value=function(a){if(null==a||isNaN(a))return null;this.v8a();var b=this.max(),c=this.min();return b==c?(this.end-this.start)/2+this.start:(this.end-this.start)/(b-c)*(a-c)+this.start},d.prototype.w8a=function(){var b,c,d,e,f=this.my();this.WDa()?(this.start=f[1],this.end=f[0]):(this.start=f[0],this.end=f[1]),b=this.d5a(),c=b[0],d=b[1],this._Wb(null==this.ZWb()?a.DateMode.Day:this.ZWb()),this.B8a=this.fXb(c,this._Wb()),this.A8a=this.fXb(d,this._Wb()),e=this.bXb(),isNaN(this.UDa)?null!=e?e<this._Wb()?(e=this._Wb(),this.VDa=this.hXb(1,e)):this.VDa=this.iXb(this.B8a,this.A8a,e):(this.VDa=this.iXb(this.B8a,this.A8a),(e=this.jXb(this.VDa,this.B8a))<this._Wb()&&(e=this._Wb(),this.VDa=this.hXb(1,e))):(e=null!=e?e:this._Wb())<this._Wb()?(e=this._Wb(),this.VDa=this.iXb(this.B8a,this.A8a,e)):this.VDa=this.hXb(this.UDa,e),this.z8a=this.gEa(this.B8a,this.A8a,this.VDa,e)},d.prototype.iXb=function(b,c,e){var f,g,h,i,j;return void 0===e&&(e=null),null!=e?(f=new a.hEa(.001*(c-b)*a.hEa.TicksPerSecond),g=this.hXb(1,e),h=f.Ticks/1e4/g,d.TickNumber<h?this.hXb(h/d.TickNumber,e):g):(i=this.tickNumber(),d.TickNumber<i&&(i=d.TickNumber),j=new a.hEa(.001*(c-b)/i*a.hEa.TicksPerSecond),1e3*a.iEa.NiceTimeSpan(j,this.format()).TotalSeconds)},d.prototype.jXb=function(b,c){var d=new Date(c),e=new a.hEa(.001*b*a.hEa.TicksPerSecond);return 365<=e.TotalDays?a.DateMode.Year:30<=e.TotalDays||28<=e.TotalDays&&a.core.DateTime.isMonthLastDay(d)?a.DateMode.Month:7<=e.TotalDays?a.DateMode.Week:1<=e.TotalDays?a.DateMode.Day:3600<e.TotalSeconds?a.DateMode.Hour:60<e.TotalSeconds?a.DateMode.Minute:1<e.TotalSeconds?a.DateMode.Second:a.DateMode.MilliSecond},d.prototype.hXb=function(b,c){switch(c){case a.DateMode.Year:return 365*b*24*3600*1e3;case a.DateMode.Month:return 30*b*24*3600*1e3;case a.DateMode.Week:return 7*b*24*3600*1e3;case a.DateMode.Day:return 24*b*3600*1e3;case a.DateMode.Hour:return 3600*b*1e3;case a.DateMode.Minute:return 60*b*1e3;case a.DateMode.Second:return 1e3*b;case a.DateMode.MilliSecond:}return b},d.prototype.gEa=function(b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q;function r(a){var b,c;for(b=g;b<=h;a(b))c=b.valueOf(),f.push(c)}switch(f=[],g=new Date(b),h=new Date(c),i=new a.hEa(.001*d*a.hEa.TicksPerSecond),isNaN(this.UDa),i.TotalDays,30<=i.TotalDays||28<=i.TotalDays&&a.core.DateTime.isMonthLastDay(g),j=Math.round(i.TotalDays/365),k=Math.round(i.TotalDays/30),l=Math.round(i.TotalDays/7),m=Math.round(i.TotalDays),e){case a.DateMode.Year:j=j<=0?1:j,r(function(a){a.setFullYear(a.getFullYear()+j)});break;case a.DateMode.Month:k=k<=0?1:k,r(function(b){var c=new Date(b.valueOf());c.setMonth(b.getMonth()+k),c.getMonth()!=(b.getMonth()+k)%12||a.core.DateTime.isMonthLastDay(b)?(b.setDate(1),b.setMonth(b.getMonth()+k+1),b.setDate(0)):b.setMonth(b.getMonth()+k)});break;case a.DateMode.Week:l=l<=0?1:l,r(function(a){a.setDate(a.getDate()+7*l)});break;case a.DateMode.Day:m=m<=0?1:m,r(function(a){a.setDate(a.getDate()+m)});break;case a.DateMode.Hour:n=Math.round(i.TotalSeconds/3600),n=n<=0?1:n,r(function(a){a.setHours(a.getHours()+n)});break;case a.DateMode.Minute:o=Math.round(i.TotalSeconds/60),o=o<=0?1:o,r(function(a){a.setMinutes(a.getMinutes()+o)});break;case a.DateMode.Second:p=Math.round(i.TotalSeconds),p=p<=0?1:p,r(function(a){a.setSeconds(a.getSeconds()+p)});break;case a.DateMode.MilliSecond:q=Math.round(i.Ticks/1e3),q=q<=0?1:q,r(function(a){a.setMilliseconds(a.getMilliseconds()+q)})}return f},d.TickNumber=12,d);function d(){var a=null!==b&&b.apply(this,arguments)||this;return a.y8a=d.TickNumber,a.$Wb=null,a.aXb=null,a.cXb=null,a.eXb=null,a}a.H8a=c}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.Pwb=function(){return this.h8a.start},c.prototype.Qwb=function(){return this.h8a.end},c.prototype.WDa=function(a){return arguments.length<=0?this.OEa:void(this.OEa!=a&&(this.OEa=a))},c.prototype.d5a=function(a){this.I8a=a.slice(),this.ensureGradientOffset()},c.prototype.my=function(a,b){this.h8a.start=a,this.h8a.end=b},c.prototype.J8a=function(b,c){var d,e,f,g,h;return this.ensureGradientOffset(),f=[],d=1-this.convertToOffset(c),e=1-this.convertToOffset(b),g=this.eb(b),h=this.eb(c),f.push(new a.models.zSb(g.color,1)),f.push(new a.models.zSb(h.color,0)),this.I8a.forEach(function(b){b.stop<e&&b.stop>d&&f.push(new a.models.zSb(b.color,(b.stop-d)/(e-d)))}),f},c.prototype.K8a=function(b,c){var d,e,f,g,h;return this.ensureGradientOffset(),f=[],d=1-this.convertToOffset(c),e=1-(this.h8a.start-b)/(c-b),g=this.eb(this.h8a.start),h=this.eb(c),f.push(new a.models.zSb(g.color,1-(this.h8a.start-b)/(c-b))),
- f.push(new a.models.zSb(h.color,0)),this.I8a.forEach(function(b){b.stop>d&&1!=b.stop&&f.push(new a.models.zSb(b.color,b.stop*e))}),f},c.prototype.convertToOffset=function(a){if(null==a)return 0;var b=(a-this.h8a.start)/(this.h8a.end-this.h8a.start);return 1<b?b=1:b<0&&(b=0),b},c.prototype.eb=function(b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p;return this.h8a.start==this.h8a.end?null:(c=new a.models.zSb(null,this.convertToOffset(b)),d=0,this.I8a.some(function(a,b){return c.stop<a.stop?(d=b-1,!0):c.stop==a.stop&&(d=b,!0)}),g=0,d==this.I8a.length-1?(c.color=this.I8a[0].color,c):(this.I8a[d+1].stop!=this.I8a[d].stop&&(g=(c.stop-this.I8a[d].stop)/(this.I8a[d+1].stop-this.I8a[d].stop)),this.WDa()?(e=a.core.o1a.fromCss(this.I8a[d+1].color),f=a.core.o1a.fromCss(this.I8a[d].color)):(h=this.I8a.slice().reverse(),e=a.core.o1a.fromCss(h[d].color),f=a.core.o1a.fromCss(h[d+1].color)),i=e.red,j=e.green,k=e.blue,l=e.alpha,m=(f.red-i)*g,n=(f.green-j)*g,o=(f.blue-k)*g,p=(f.alpha-l)*g,c.color="rgba("+Math.floor(m+i)+","+Math.floor(n+j)+","+Math.floor(o+k)+","+(p+l)+")",c))},c.prototype.Qb=function(a){return 0},c.prototype.ensureGradientOffset=function(){var a=this,b=0,c=0;this.I8a.forEach(function(d,e){null==d.stop?(0==e&&(d.stop=0,b=e),e==a.I8a.length-1&&(d.stop=1,c=e,a.initGradientOffset(a.I8a,b,c),b=e)):b!=c&&(c=e,a.initGradientOffset(a.I8a,b,c),b=e),c++})},c.prototype.initGradientOffset=function(a,b,c){var d,e,f=c-b;if(1<f)for(d=a[c].stop-a[b].stop,e=1;e<f;e++)a[b+e].stop=d/f*e},c);function c(){this.OEa=!1,this.h8a={start:0,end:0},this.I8a=[]}a.$4a=b}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=a.vRb,__extends(e,c),e.prototype.option=function(){return this.$z()},e.prototype.isEmpty=function(){return Object.getOwnPropertyNames(this.option()).length<=0},e.prototype.$z=function(){return this.eAa},e.prototype.kXb=function(a){return null==a||"string"==typeof a&&a.trim().length<=0},e);function e(a){var b=c.call(this)||this;return b.eAa=null==a?{}:a,b}b.lXb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.lXb,__extends(e,c),Object.defineProperty(e.prototype,"opacity",{get:function(){return this.qFa},set:function(b){this.qFa!=b&&(this.qFa=a.core.UOb.asNumber(b,!0),this.onPropertyChanged("opacity"))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeOpacity",{get:function(){return this.c9a},set:function(b){this.c9a!=b&&(this.c9a=a.core.UOb.asNumber(b,!0),this.onPropertyChanged("strokeOpacity"))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fill",{get:function(){return this.rFa},set:function(b){if(null==this.rFa||this.rFa!=b){if(this.kXb(b))this.rFa=null;else{if(null==a.options.IOb.mXb(b))throw new a.options.OptionError(b);this.rFa=a.options.IOb.mXb(b)}this.onPropertyChanged("fill")}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this.hFa},set:function(b){if(null==this.hFa||this.hFa!=b){if(this.kXb(b))this.hFa=null;else{if(null==a.options.IOb.mXb(b))throw new a.options.OptionError(b);this.hFa=a.options.IOb.mXb(b)}this.onPropertyChanged("backgroundColor")}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"stroke",{get:function(){return this.sFa},set:function(b){if(null==this.sFa||this.sFa!=b){if(this.kXb(b))this.sFa=null;else{if(null==a.options.IOb.mXb(b))throw new a.options.OptionError(b);this.sFa=a.options.IOb.mXb(b)}this.onPropertyChanged("stroke")}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeWidth",{get:function(){return this.tFa},set:function(b){this.tFa!=b&&(this.tFa=new a.options.hVb(b),this.onPropertyChanged("strokeWidth"))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeDasharray",{get:function(){return this.uFa},set:function(b){this.uFa!=b&&(this.uFa=a.core.UOb.asString(b,!0),this.onPropertyChanged("strokeDasharray"))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"symbolShape",{get:function(){return this.d9a},set:function(b){this.d9a!=b&&(this.d9a=a.core.UOb.asString(b,!0),this.onPropertyChanged("symbolShape"))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"symbolOpacity",{get:function(){return this.vFa},set:function(b){this.vFa!=b&&(this.vFa=a.core.UOb.asNumber(b,!0),this.onPropertyChanged("symbolOpacity"))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"symbolStrokeOpacity",{get:function(){return this.e9a},set:function(b){this.e9a!=b&&(this.e9a=a.core.UOb.asNumber(b,!0),this.onPropertyChanged("symbolStrokeOpacity"))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"symbolFill",{get:function(){return this.wFa},set:function(b){if(null==this.wFa||this.wFa!=b){if(this.kXb(b))this.wFa=null;else{if(null==a.options.IOb.mXb(b))throw new a.options.OptionError(b);this.wFa=a.options.IOb.mXb(b)}this.onPropertyChanged("symbolFill")}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"symbolStroke",{get:function(){return this.xFa},set:function(b){if(null==this.xFa||this.xFa!=b){if(this.kXb(b))this.xFa=null;else{if(null==a.options.IOb.mXb(b))throw new a.options.OptionError(b);this.xFa=a.options.IOb.mXb(b)}this.onPropertyChanged("symbolStroke")}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"symbolStrokeWidth",{get:function(){return this.yFa},set:function(b){this.yFa!=b&&(this.yFa=a.core.UOb.asNumber(b,!0),this.onPropertyChanged("symbolStrokeWidth"))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"symbolStrokeDasharray",{get:function(){return this.zFa},set:function(b){this.zFa!=b&&(this.zFa=a.core.UOb.asString(b,!0),this.onPropertyChanged("symbolStrokeDasharray"))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"symbolSize",{get:function(){return this.Qqb},set:function(b){null!=this.Qqb&&this.Qqb==b||(this.Qqb=a.core.UOb.asNumber(b,!0),this.onPropertyChanged("symbolSize"))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"borderRadius",{get:function(){return this.nXb},set:function(b){null!=this.nXb&&this.nXb==b||(this.nXb=new a.options.oXb(b),this.onPropertyChanged("borderRadius"))},enumerable:!0,configurable:!0}),e.prototype.pXb=function(a){return null!=a&&(null!=a.opacity&&(this.opacity=a.opacity),null!=a.strokeOpacity&&(this.strokeOpacity=a.strokeOpacity),null==a.fill||a.fill.isEmpty()||(this.fill=a.fill),null==a.backgroundColor||a.backgroundColor.isEmpty()||(this.backgroundColor=a.backgroundColor),null==a.stroke||a.stroke.isEmpty()||(this.stroke=a.stroke),null!=a.strokeWidth&&(this.strokeWidth=a.strokeWidth),null!=a.strokeDasharray&&(this.strokeDasharray=a.strokeDasharray),null!=a.symbolShape&&(this.symbolShape=a.symbolShape),null!=a.symbolOpacity&&(this.symbolOpacity=a.symbolOpacity),null!=a.symbolStrokeOpacity&&(this.symbolStrokeOpacity=a.symbolStrokeOpacity),null==a.symbolFill||a.symbolFill.isEmpty()||(this.symbolFill=a.symbolFill),null==a.symbolStroke||a.symbolStroke.isEmpty()||(this.symbolStroke=a.symbolStroke),null!=a.symbolStrokeWidth&&(this.symbolStrokeWidth=a.symbolStrokeWidth),null!=a.symbolStrokeDasharray&&(this.symbolStrokeDasharray=a.symbolStrokeDasharray),null!=a.symbolSize&&(this.symbolSize=a.symbolSize),null==a.borderRadius||a.borderRadius.isEmpty()||(this.borderRadius=a.borderRadius)),this},e.prototype.clone=function(){return new e(this)},e.prototype.onPropertyChanged=function(a){this.qXb=!0,c.prototype.onPropertyChanged.call(this,a)},e.prototype.rXb=function(){return this.qXb},e);function e(a){var b=c.call(this,a)||this;return b.qXb=!1,b.opacity=b.$z().opacity,b.strokeOpacity=b.$z().strokeOpacity,b.fill=b.$z().fill,b.backgroundColor=b.$z().backgroundColor,b.stroke=b.$z().stroke,b.strokeWidth=b.$z().strokeWidth,b.strokeDasharray=b.$z().strokeDasharray,b.symbolShape=b.$z().symbolShape,b.symbolOpacity=b.$z().symbolOpacity,b.symbolStrokeOpacity=b.$z().symbolStrokeOpacity,b.symbolFill=b.$z().symbolFill,b.symbolStroke=b.$z().symbolStroke,b.symbolStrokeWidth=b.$z().symbolStrokeWidth,b.symbolStrokeDasharray=b.$z().symbolStrokeDasharray,b.symbolSize=b.$z().symbolSize,b.borderRadius=b.$z().borderRadius,b}b.sXb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.sXb,__extends(e,c),Object.defineProperty(e.prototype,"adorners",{get:function(){return this.CGa},set:function(b){null!=this.CGa&&this.CGa==b||(this.CGa=a.options.qPb.PBa(b,!1),this.onPropertyChanged("adorners"))},enumerable:!0,configurable:!0}),e.prototype.clone=function(){return new e(this)},e);function e(a){var b=c.call(this,a)||this;return b.adorners=b.$z().adorners,b}b.tXb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.getSymbol=function(b){var c=a.plugins.w1a.$Ra();return null!=c&&0<c.length?c[b%c.length]:null},d);function d(){}b.Zza=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.UDa=function(a){return arguments.length<=0?this.M8a:void(this.M8a!=a&&(this.M8a=a,this.z8a=null))},d.prototype.ZDa=function(){return null==this.z8a&&(this.z8a=this.N8a(this.bw(),this.cw())),this.z8a},d.prototype.osa=function(){return this.qSa},d.prototype.bw=function(){return this.uOa},d.prototype.cw=function(){return this.vOa},d.prototype.Ak=function(){return this.xRa},d.prototype.Jb=function(){return this.L8a},d.prototype.N8a=function(a,b){var c,d,e,f,g=[],h=this.osa(),i=Math.log(h),j=Math.floor(Math.log(this.bw())/i),k=Math.ceil(Math.log(this.cw())/i),l=h,m=!0;for(0<this.UDa()&&(m=!1,(l=this.UDa())<h&&(l=h)),c=j;c<=k;c+=1)if(m)for(d=Math.pow(h,c),e=0;e*l<h-1;e++)(f=d*(1+e*l))>=this.bw()&&f<=this.cw()&&(0==e?g.unshift(f):g.push(f));else(f=Math.pow(l,c))>=this.bw()&&f<=this.cw()&&g.push(f);return g},d);function d(b,c,d,e,f){a.ePb.dPb(c<=d),a.ePb.dPb(0<f),this.qSa=b,this.uOa=c,this.vOa=d,this.xRa=e,this.L8a=f}b.O8a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.UDa=function(a){return arguments.length<=0?this.M8a:void(this.M8a!=a&&(this.M8a=a))},d.prototype.ZDa=function(){return null==this.z8a&&(this.z8a=this.N8a(this.bw(),this.cw())),this.z8a},d.prototype.bw=function(){return this.uOa},d.prototype.cw=function(){return this.vOa},d.prototype.Ak=function(){return this.xRa},d.prototype.Jb=function(){return this.L8a},d.prototype.N8a=function(a,b){var c,d,e=[];if(a==b)e.push(a);else{for(c=this.UDa(),null==c&&(c=this.jDa(a,b,this.Jb())),d=Math.ceil(a/c)*c,this.Ak()&&a<d&&e.push(d-c);d<=b;)e.push(d),d+=c;this.Ak()&&d-c<b&&e.push(d)}return e},d.prototype.jDa=function(b,c,e){a.ePb.dPb(b<c),a.ePb.dPb(0<e);var f=(c-b)/e,g=Math.pow(10,Math.floor(Math.log(f)/Math.LN10)),h=f/g;return d.P8a<=h?g*=10:d.Q8a<=h?g*=5:d.R8a<=h&&(g*=2),g},d.P8a=Math.sqrt(50),d.Q8a=Math.sqrt(10),d.R8a=Math.sqrt(2),d);function d(b,c,d,e){a.ePb.dPb(b<=c),a.ePb.dPb(0<e),this.uOa=b,this.vOa=c,this.xRa=d,this.L8a=e}b.rRa=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(){"use strict";function b(){}(a.models||(a.models={})).oPb=b}()}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.oPb,__extends(d,b),Object.defineProperty(d.prototype,"value",{get:function(){return this.mCa},enumerable:!0,configurable:!0}),d.prototype.bc=function(a){return void 0===a&&(a=null),""+this.mCa},d);function d(a){var c=b.call(this)||this;return c.mCa=a,c}a.uXb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.oPb,__extends(e,c),Object.defineProperty(e.prototype,"value",{get:function(){return this.mCa},enumerable:!0,configurable:!0}),e.prototype.bc=function(b){void 0===b&&(b=null);var c=a.plugins.w1a.lPa("Default");return null!=c?(null==b&&(a.core.UOb.isNumber(this.mCa)?b=c.defaultFormat(a.core.DataType.Number,!1):a.core.UOb.isDate(this.mCa)&&(b=c.defaultFormat(a.core.DataType.Date,!1))),c.format(b,this.mCa)):null!=this.mCa?""+this.mCa:""},e);function e(a){var b=c.call(this)||this;return b.mCa=a,b}b.$Ob=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.oPb,__extends(e,c),Object.defineProperty(e.prototype,"value",{get:function(){return{lower:this.vXb,upper:this.wXb}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lower",{get:function(){return this.vXb},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"upper",{get:function(){return this.wXb},enumerable:!0,configurable:!0}),e.prototype.bc=function(b){var c,d;return void 0===b&&(b=null),c=a.plugins.w1a.lPa("Default"),null!=c?(null==b&&(b=c.defaultFormat(a.core.DataType.Date,!1)),c.format(b,this.vXb)+", "+c.format(b,this.wXb)):(d="",d+=null!=this.vXb?""+this.vXb:"",d+=", ",d+=null!=this.wXb?""+this.wXb:"")},e);function e(a,b){var d=c.call(this)||this;return d.vXb=a,d.wXb=b,d}b._Vb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.oPb,__extends(d,b),Object.defineProperty(d.prototype,"value",{get:function(){return this.mCa},enumerable:!0,configurable:!0}),d.prototype.bc=function(a){return void 0===a&&(a=null),""+this.mCa},d);function d(a){var c=b.call(this)||this;return c.mCa=a,c}a.xXb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.oPb,__extends(e,c),Object.defineProperty(e.prototype,"value",{get:function(){return{lower:this.vXb,upper:this.wXb}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lower",{get:function(){return this.vXb},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"upper",{get:function(){return this.wXb},enumerable:!0,configurable:!0}),e.prototype.bc=function(b){var c,d;return void 0===b&&(b=null),c=a.plugins.w1a.lPa("Default"),null!=c?(null==b&&(b=c.defaultFormat(a.core.DataType.Number,!1)),c.format(b,this.vXb)+", "+c.format(b,this.wXb)):(d="",d+=null!=this.vXb?""+this.vXb:"",d+=", ",d+=null!=this.wXb?""+this.wXb:"")},e);function e(a,b){var d=c.call(this)||this;return d.vXb=a,d.wXb=b,d}b.aWb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.oPb,__extends(d,b),Object.defineProperty(d.prototype,"value",{get:function(){return this.mCa},enumerable:!0,configurable:!0}),d.prototype.bc=function(a){return void 0===a&&(a=null),""+this.mCa},d);function d(a){var c=b.call(this)||this;return c.mCa=a,c}a.yXb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.oPb,__extends(d,b),Object.defineProperty(d.prototype,"value",{get:function(){return this.mCa},enumerable:!0,configurable:!0}),d.prototype.bc=function(a){return void 0===a&&(a=null),""+this.mCa},d);function d(a){var c=b.call(this)||this;return c.mCa=a,c}a.zXb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.Ok=function(){return this.iQa},d.prototype.evaluate=function(a){var b,c,d;if(this.Kqb=!0,null!=this.hQa)for(this.iQa=a,b=0,c=this.Lqb;b<c.length&&(d=c[b],this.Kqb);b++)null==this.getIdentityValue(d)&&this.hQa.evaluate("CONDITION",d);return this.Kqb},d.prototype.PDa=function(a){var b,c,d,e;for(b=[],c=0,d=("]."+a+".[").split("].[");c<d.length;c++)e=d[c],e.trim()&&b.push(e);return b},d.prototype.isIdentityExpression=function(a){return!0},d.prototype.getIdentityValue=function(b){var c,d,e=this.Ok();try{return c=new a.core.n1a(b),d=c.getValue(e.item),null==d&&(d=c.getValue(e)),d}catch(a){}return null},d.prototype.resultCallback=function(a){1!=a&&(this.Kqb=!1)},d);function d(b){this.hQa=null,this.Kqb=!0;var c=a.plugins.CalculationEnginePlugin.nUb("Default");null!=c&&(this.hQa=c.create(this),this.Lqb=this.PDa(b))}b.Nqb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.option=function(){return this.$z()},c.prototype.isEmpty=function(){return Object.getOwnPropertyNames(this.option()).length<=0},c.prototype.$z=function(){return this.eAa},c.prototype.kXb=function(a){return null==a||"string"==typeof a&&a.trim().length<=0},c);function c(a){this.eAa=null==a?{}:a}a.S8a=b}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this.hFa},set:function(a){if(null==this.hFa||this.hFa!=a)if(this.kXb(a))this.hFa=null;else{if(null==b.IOb.mXb(a))throw new b.OptionError(a);this.hFa=b.IOb.mXb(a)}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"stroke",{get:function(){return this.sFa},set:function(a){if(null==this.sFa||this.sFa!=a)if(this.kXb(a))this.sFa=null;else{if(null==b.IOb.mXb(a))throw new b.OptionError(a);this.sFa=b.IOb.mXb(a)}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeWidth",{get:function(){return this.tFa},set:function(b){this.tFa!=b&&(this.tFa=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeDasharray",{get:function(){return this.uFa},set:function(b){this.uFa!=b&&(this.uFa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerStroke",{get:function(){return this.wwb},set:function(a){if(null==this.wwb||this.wwb!=a)if(this.kXb(a))this.wwb=null;else{if(null==b.IOb.mXb(a))throw new b.OptionError(a);this.wwb=b.IOb.mXb(a)}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerStrokeWidth",{get:function(){return this.xwb},set:function(b){this.xwb!=b&&(this.xwb=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerStrokeDasharray",{get:function(){return this.ywb},set:function(b){this.ywb!=b&&(this.ywb=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fill",{get:function(){return this.rFa},set:function(a){if(null==this.rFa||this.rFa!=a)if(this.kXb(a))this.rFa=null;else{if(null==b.IOb.mXb(a))throw new b.OptionError(a);this.rFa=b.IOb.mXb(a)}},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.backgroundColor=b.$z().backgroundColor,b.stroke=b.$z().stroke,b.strokeWidth=b.$z().strokeWidth,b.strokeDasharray=b.$z().strokeDasharray,b.innerStroke=b.$z().innerStroke,b.innerStrokeWidth=b.$z().innerStrokeWidth,b.innerStrokeDasharray=b.$z().innerStrokeDasharray,b.fill=b.$z().fill,b}b.uEa=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"mode",{get:function(){return this.T8a},set:function(b){null!=b&&this.T8a==b||(this.T8a=a.core.UOb.asEnum(b,a.AnimationMode,!0),null==this.T8a&&(this.T8a=a.AnimationMode.All))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"duration",{get:function(){return this.U8a},set:function(b){null!=b&&this.U8a==b||(this.U8a=a.core.UOb.asNumber(b,!0),null==this.U8a&&(this.U8a=200))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"easing",{get:function(){return this.V8a},set:function(b){null!=b&&this.V8a==b||(this.V8a=a.core.UOb.asEnum(b,a.AnimationEasing,!0),null==this.V8a&&(this.V8a=a.AnimationEasing.Linear))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startDelay",{get:function(){return this.W8a},set:function(b){null!=b&&this.W8a==b||(this.W8a=a.core.UOb.asNumber(b,!0),null==this.W8a&&(this.W8a=0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"staggering",{get:function(){return this.X8a},set:function(a){null!=a&&this.X8a==a||(this.X8a=a,null==this.X8a&&(this.X8a=!1))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.mode=b.$z().mode,b.duration=b.$z().duration,b.easing=b.$z().easing,b.startDelay=b.$z().startDelay,b.staggering=b.$z().staggering,b}b.Y8a=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"type",{get:function(){return this.kEa},set:function(b){null!=this.kEa&&this.kEa==b||(this.kEa=a.core.UOb.asEnum(b,a.AxisType,!0),null==this.kEa&&(this.kEa=a.AxisType.X))},enumerable:!0,configurable:!0}),Object.defineProperty(e.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))if("string"==typeof b)this.lEa=b.split(",");else if(Array.isArray(b))for(c=0,d=b;c<d.length;c++)e=d[c],f=a.core.UOb.asString(e,!0),null!=f&&this.lEa.push(f)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this.mEa},set:function(b){null!=this.mEa&&this.mEa==b||(this.mEa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"position",{get:function(){return this.nEa},set:function(b){null!=this.nEa&&this.nEa==b||(this.nEa=a.core.UOb.asEnum(b,a.AxisPosition,!0),null==this.nEa&&(this.nEa=a.AxisPosition.Near))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"overlappingLabels",{get:function(){return this.oEa},set:function(b){null!=this.oEa&&this.oEa==b||(this.oEa=a.core.UOb.asEnum(b,a.OverlappingLabels,!0),null==this.oEa&&(this.oEa=a.OverlappingLabels.Auto))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"labels",{get:function(){return this.pEa},set:function(a){null!=this.pEa&&this.pEa==a||(this.pEa=b.qPb.PBa(a,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"max",{get:function(){return this.GCa},set:function(a){if(null==this.GCa||this.GCa!=a)if(null==a)this.GCa=a;else{var c=b.BXb.AXb(a);null!=c&&(this.GCa=c)}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"min",{get:function(){return this.FCa},set:function(a){if(null==this.FCa||this.FCa!=a)if(null==a)this.FCa=a;else{var c=b.BXb.AXb(a);null!=c&&(this.FCa=c)}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"format",{get:function(){return this.qEa},set:function(b){this.qEa!=b&&(this.qEa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.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 new b.OptionError("Ordinal Scale is not supported in y axis!");this.rEa=d}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"axisLine",{get:function(){return this.JQa},set:function(a){null!=this.JQa&&this.JQa==a||(this.JQa=b.qPb.PBa(a,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.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(e.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(e.prototype,"hoverStyle",{get:function(){return this.cGa},set:function(a){null!=this.cGa&&this.cGa==a||(this.cGa=new b.wEa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.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(e.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(e.prototype,"majorUnit",{get:function(){return this.zEa},set:function(a){null!=this.zEa&&this.zEa==a||(this.zEa=new b.CXb(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minorUnit",{get:function(){return this.AEa},set:function(a){null!=this.AEa&&this.AEa==a||(this.AEa=new b.CXb(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateMode",{get:function(){return this.i8a},set:function(b){null!=this.i8a&&this.i8a==b||(this.i8a=a.core.UOb.asEnum(b,a.DateMode,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"majorTicks",{get:function(){return this.BEa},set:function(b){null!=this.BEa&&this.BEa==b||(this.BEa=a.core.UOb.asEnum(b,a.TickMark,!0),null==this.BEa&&(this.BEa=a.TickMark.Outside))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minorTicks",{get:function(){return this.CEa},set:function(b){null!=this.CEa&&this.CEa==b||(this.CEa=a.core.UOb.asEnum(b,a.TickMark,!0),null==this.CEa&&(this.CEa=a.TickMark.None))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"majorTickSize",{get:function(){return this.DEa},set:function(b){null!=this.DEa&&this.DEa==b||(this.DEa=a.core.UOb.asNumber(b,!0),null==this.DEa&&(this.DEa=4))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minorTickSize",{get:function(){return this.EEa},set:function(b){null!=this.EEa&&this.EEa==b||(this.EEa=a.core.UOb.asNumber(b,!0),null==this.EEa&&(this.EEa=2))},enumerable:!0,configurable:!0}),Object.defineProperty(e.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(e.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(e.prototype,"majorGrid",{get:function(){return this.IEa},set:function(a){null!=this.IEa&&this.IEa==a||(this.IEa=b.qPb.PBa(a,!1))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minorGrid",{get:function(){return this.JEa},set:function(a){null!=this.JEa&&this.JEa==a||(this.JEa=b.qPb.PBa(a,!1))},enumerable:!0,configurable:!0}),Object.defineProperty(e.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(e.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(e.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(e.prototype,"origin",{get:function(){return this.NEa},set:function(b){this.NEa!=b&&(this.NEa=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"reversed",{get:function(){return this.OEa},set:function(a){null!=this.OEa&&this.OEa==a||(this.OEa=b.qPb.PBa(a,!1))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"labelAngle",{get:function(){return this.PEa},set:function(b){var c,d,e,f,g,h,i,j;if(null==this.PEa||this.PEa!=b){if(c=[],"number"==typeof b)c.push(a.core.UOb.asNumber(b,!0));else if("string"==typeof b)for(d=0,e=b.split(",");d<e.length;d++)null!=(h=e[d])&&""!=h.trim()?c.push(parseInt(h.trim())):c.push(null);else if(b instanceof Array)for(f=0,g=b;f<g.length;f++)h=g[f],c.push(a.core.UOb.asNumber(h,!0));for(i=0;i<c.length;i++)j=c[i],null!=j&&(j<-90?c[i]=-90:90<j&&(c[i]=90));this.PEa=c}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"logBase",{get:function(){return this.qSa},set:function(b){null!=this.qSa&&this.qSa==b||(this.qSa=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.REa},set:function(c){null!=this.REa&&this.REa==c||(null==c?this.REa=null:(null==(c=b.BXb.DXb(c))||c.type!=a.ValueOptionType.Percentage||0<c.value&&c.value<1)&&(this.REa=c))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.Z8a},set:function(c){null!=this.Z8a&&this.Z8a==c||(null==c?this.Z8a=null:(null==(c=b.BXb.DXb(c))||c.type!=a.ValueOptionType.Percentage||0<c.value&&c.value<1)&&(this.Z8a=c))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxWidth",{get:function(){return this.Pqb},set:function(c){null!=this.Pqb&&this.Pqb==c||(null==c?this.Pqb=null:(null==(c=b.BXb.DXb(c))||c.type!=a.ValueOptionType.Percentage||0<c.value&&c.value<1)&&(this.Pqb=c)),null==this.Pqb&&(this.Pqb=new b.EXb({type:a.ValueOptionType.Percentage,value:.75}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxHeight",{get:function(){return this.Oqb},set:function(c){null!=this.Oqb&&this.Oqb==c||(null==c?this.Oqb=null:(null==(c=b.BXb.DXb(c))||c.type!=a.ValueOptionType.Percentage||0<c.value&&c.value<1)&&(this.Oqb=c)),null==this.Oqb&&(this.Oqb=new b.EXb({type:a.ValueOptionType.Percentage,value:.75}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"viewSize",{get:function(){return this.$8a},set:function(b){this.$8a!=b&&0<b&&b<=1&&(this.$8a=a.core.UOb.asNumber(b,!0)),null==this.$8a&&(this.$8a=1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollbarVisible",{get:function(){return this._8a},set:function(a){null!=this._8a&&this._8a==a||(this._8a=b.qPb.PBa(a,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"groupGrid",{get:function(){return this.FXb},set:function(b){null!=this.FXb&&this.FXb==b||(this.FXb=a.core.UOb.asEnum(b,a.TickMark,!0),null==this.FXb&&(this.FXb=a.TickMark.Outside))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"groupGridStyle",{get:function(){return this.GXb},set:function(a){null!=this.GXb&&this.GXb==a||(this.GXb=new b.GEa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"useActualMax",{get:function(){return this.XWb},set:function(a){null!=this.XWb&&this.XWb==a||(this.XWb=b.qPb.PBa(a,!1))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"useActualMin",{get:function(){return this.WWb},set:function(a){null!=this.WWb&&this.WWb==a||(this.WWb=b.qPb.PBa(a,!1))},enumerable:!0,configurable:!0}),Object.defineProperty(e.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(e.prototype,"unitLabel",{get:function(){return this.HXb},set:function(a){null!=this.HXb&&this.HXb==a||(this.HXb=new b.IXb(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"axisPadding",{get:function(){return this.hxb},set:function(a){null!=this.hxb&&this.hxb==a||(this.hxb=a,null==this.hxb&&(this.hxb=0))},enumerable:!0,configurable:!0}),e);function e(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.hoverStyle=d.$z().hoverStyle,d.labelStyle=d.$z().labelStyle,d.titleStyle=d.$z().titleStyle,
- d.majorUnit=d.$z().majorUnit,d.minorUnit=d.$z().minorUnit,d.dateMode=d.$z().dateMode,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,d.axisLine=d.$z().axisLine,d.height=d.$z().height,d.width=d.$z().width,d.maxHeight=d.$z().maxHeight,d.maxWidth=d.$z().maxWidth,d.viewSize=d.$z().viewSize,d.scrollbarVisible=d.$z().scrollbarVisible,d.groupGrid=d.$z().groupGrid,d.groupGridStyle=d.$z().groupGridStyle,d.useActualMax=d.$z().useActualMax,d.useActualMin=d.$z().useActualMin,d.rules=d.$z().rules,d.unitLabel=d.$z().unitLabel,d.axisPadding=d.$z().axisPadding,null==d.majorTicks&&(d.majorTicks=a.TickMark.None),null==d.minorTicks&&(d.minorTicks=a.TickMark.None),null==d.overlappingLabels&&(d.overlappingLabels=a.OverlappingLabels.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}b.QEa=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"value",{get:function(){return this.mCa},set:function(b){null!=this.mCa&&this.mCa==b||(this.mCa=a.core.UOb.asNumber(b,!0,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateMode",{get:function(){return this.i8a},set:function(b){null!=this.i8a&&this.i8a==b||(this.i8a=a.core.UOb.asEnum(b,a.DateMode,!0))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return"number"==typeof a?(b.value=a,b.dateMode=null):(b.value=b.$z().value,b.dateMode=b.$z().dateMode),b}b.CXb=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.S8a,__extends(d,b),Object.defineProperty(d.prototype,"horizontalRadius",{get:function(){return this.JXb},set:function(b){null!=this.JXb&&this.JXb==b||(this.JXb=new a.KXb(b))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"verticalRadius",{get:function(){return this.LXb},set:function(b){null!=this.LXb&&this.LXb==b||(this.LXb=new a.KXb(b))},enumerable:!0,configurable:!0}),d.prototype.isEmpty=function(){return!(!this.horizontalRadius.isEmpty()||!this.verticalRadius.isEmpty())&&b.prototype.isEmpty.call(this)},d);function d(a){var c,d=b.call(this,a)||this;return"string"==typeof a?(c=a.split("/",2),1==c.length?(d.horizontalRadius=c[0],d.verticalRadius=c[0]):2==c.length&&(d.horizontalRadius=c[0],d.verticalRadius=c[1])):"number"==typeof a?(d.horizontalRadius=a,d.verticalRadius=a):(d.horizontalRadius=d.$z().horizontalRadius,d.verticalRadius=d.$z().verticalRadius),d}a.oXb=c}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"topLeft",{get:function(){return this.MXb},set:function(c){null!=this.MXb&&this.MXb==c||(this.MXb=b.BXb.DXb(c),null==this.MXb&&(this.MXb=new b.EXb({type:a.ValueOptionType.Pixel,value:0})))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"topRight",{get:function(){return this.NXb},set:function(c){null!=this.NXb&&this.NXb==c||(this.NXb=b.BXb.DXb(c),null==this.NXb&&(this.NXb=new b.EXb({type:a.ValueOptionType.Pixel,value:0})))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bottomRight",{get:function(){return this.OXb},set:function(c){null!=this.OXb&&this.OXb==c||(this.OXb=b.BXb.DXb(c),null==this.OXb&&(this.OXb=new b.EXb({type:a.ValueOptionType.Pixel,value:0})))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bottomLeft",{get:function(){return this.PXb},set:function(c){null!=this.PXb&&this.PXb==c||(this.PXb=b.BXb.DXb(c),null==this.PXb&&(this.PXb=new b.EXb({type:a.ValueOptionType.Pixel,value:0})))},enumerable:!0,configurable:!0}),e.prototype.isEmpty=function(){return 0==this.topLeft.value&&0==this.topLeft.value&&0==this.bottomRight.value&&0==this.bottomLeft.value},e.prototype.T0=function(b){var c={topLeft:"",topRight:"",bottomRight:"",bottomLeft:""},d=a.core.UOb.asString(b,!0).split(" ",4),e="",f="",g="",h="";return d&&(4==d.length?(e=d[0],f=d[1],g=d[2],h=d[3]):3==d.length?(e=d[0],f=h=d[1],g=d[2]):2==d.length?(e=g=d[0],f=h=d[1]):1==d.length&&(e=f=g=h=d[0]),c.topLeft=e,c.topRight=f,c.bottomRight=g,c.bottomLeft=h),c},e);function e(a){var b,d=c.call(this,a)||this;return"string"==typeof a?(b=d.T0(a),d.topLeft=b.topLeft,d.topRight=b.topRight,d.bottomRight=b.bottomRight,d.bottomLeft=b.bottomLeft):"number"==typeof a?d.topLeft=d.topRight=d.bottomRight=d.bottomLeft=a:(d.topLeft=d.$z().topLeft,d.topRight=d.$z().topRight,d.bottomRight=d.$z().bottomRight,d.bottomLeft=d.$z().bottomLeft),d}b.KXb=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.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(e.prototype,"header",{get:function(){return this.XEa},set:function(a){null!=this.XEa&&this.XEa===a||(this.XEa=new b.a9a(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"footer",{get:function(){return this.$Ea},set:function(a){null!=this.$Ea&&this.$Ea===a||(this.$Ea=new b.b9a(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"palette",{get:function(){return this.bFa},set:function(c){null!=this.bFa&&this.bFa==c||(this.bFa=b.IOb.QXb(c,a.models.Xza.Office.map(function(a){return b.IOb.RQb(a)})))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"plotAreas",{get:function(){return this.cFa},set:function(a){var c,d,e,f,g;if((null==this.cFa||this.cFa!=a)&&(this.cFa=[],null!=a))for(Array.isArray(a)||(a=[a]),c=0;c<a.length;c++){for(d=new b.dFa(a[c]),null==d.row&&(d.row=c),null==d.column&&(d.column=0),e=0,f=this.cFa;e<f.length;e++)if(g=f[e],g.row==d.row&&g.column==d.column)throw new b.OptionError(a,"Unexpected duplicated row and column value: ");this.cFa.push(d)}},enumerable:!0,configurable:!0}),Object.defineProperty(e.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(e.prototype,"backgroundColor",{get:function(){return this.hFa},set:function(a){if(null==this.hFa||this.hFa!=a)if(this.kXb(a))this.hFa=null;else{if(null==b.IOb.mXb(a))throw new b.OptionError(a);this.hFa=b.IOb.mXb(a)}},enumerable:!0,configurable:!0}),Object.defineProperty(e.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(e.prototype,"selectionMode",{get:function(){return this.kFa},set:function(b){null!=this.kFa&&this.kFa==b||(this.kFa=a.core.UOb.asEnum(b,a.SelectionMode,!0),null==this.kFa&&(this.kFa=a.SelectionMode.None))},enumerable:!0,configurable:!0}),Object.defineProperty(e.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(e.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(e.prototype,"selectedTextStyle",{get:function(){return this.RXb},set:function(a){null!=this.RXb&&this.RXb==a||(this.RXb=new b.SXb(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"unselectedTextStyle",{get:function(){return this.TXb},set:function(a){null!=this.TXb&&this.TXb==a||(this.TXb=new b.SXb(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.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(e.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(e.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(e.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}),e);function e(a){var b=c.call(this,a)||this;return b.header=b.$z().header,b.footer=b.$z().footer,b.palette=b.$z().palette,b.plotAreas=b.$z().plotAreas,b.plotAreaLayout=b.$z().plotAreaLayout,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.selectedTextStyle=b.$z().selectedTextStyle,b.unselectedTextStyle=b.$z().unselectedTextStyle,b.style=b.$z().style,b.textStyle=b.$z().textStyle,b.borderStyle=b.$z().borderStyle,b.bar=b.$z().bar,b.padding=b.$z().padding,b}b.hAa=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"name",{get:function(){return this.HCa},set:function(c){null!=this.HCa&&this.HCa==c||(this.HCa=b.VXb.UXb(c,a.plugins.PluginCollection.defaultPluginName))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this.kEa},set:function(a){if(null==this.kEa||this.kEa!=a){if((a=b.VXb.UXb(a,"")).length<=0)throw new b.OptionError(a);this.kEa=a}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"arguments",{get:function(){return this.wvb},set:function(a){null!=this.wvb&&this.wvb==a||(this.wvb=a)},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.name=b.$z().name,b.type=b.$z().type,b.arguments=b.$z().arguments,b}b.WXb=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.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))if("string"==typeof b)this.lEa=b.split(",");else if(Array.isArray(b))for(c=0,d=b;c<d.length;c++)e=d[c],f=a.core.UOb.asString(e,!0),null!=f&&this.lEa.push(f)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"layoutMode",{get:function(){return this.XXb},set:function(b){null!=this.XXb&&this.XXb==b||(this.XXb=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.plots=b.$z().plots,b.layoutMode=b.$z().layoutMode,b}b.YXb=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"name",{get:function(){return this.HCa},set:function(b){this.HCa!=b&&(this.HCa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.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(e.prototype,"dateFormats",{get:function(){return this.pFa},set:function(a){if(null==this.pFa||this.pFa!=a)if(null==a)this.pFa=["r"];else{var c=b.$Xb.ZXb(a);if(null==c)throw new b.OptionError(a);this.pFa=c}},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.name=b.$z().name,b.values=b.$z().values,b.dateFormats=b.$z().dateFormats,b}b.fAa=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"opacity",{get:function(){return this.qFa},set:function(b){this.qFa!=b&&(this.qFa=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeOpacity",{get:function(){return this.c9a},set:function(b){this.c9a!=b&&(this.c9a=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fill",{get:function(){return this.rFa},set:function(a){if(null==this.rFa||this.rFa!=a)if(this.kXb(a))this.rFa=null;else{if(null==b.IOb.mXb(a))throw new b.OptionError(a);this.rFa=b.IOb.mXb(a)}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this.hFa},set:function(a){if(null==this.hFa||this.hFa!=a)if(this.kXb(a))this.hFa=null;else{if(null==b.IOb.mXb(a))throw new b.OptionError(a);this.hFa=b.IOb.mXb(a)}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"stroke",{get:function(){return this.sFa},set:function(a){if(null==this.sFa||this.sFa!=a)if(this.kXb(a))this.sFa=null;else{if(null==b.IOb.mXb(a))throw new b.OptionError(a);this.sFa=b.IOb.mXb(a)}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeWidth",{get:function(){return this.tFa},set:function(a){this.tFa!=a&&(this.tFa=null==a?null:new b.hVb(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeDasharray",{get:function(){return this.uFa},set:function(b){this.uFa!=b&&(this.uFa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"symbolShape",{get:function(){return this.d9a},set:function(b){this.d9a!=b&&(this.d9a=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"symbolOpacity",{get:function(){return this.vFa},set:function(b){this.vFa!=b&&(this.vFa=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"symbolStrokeOpacity",{get:function(){return this.e9a},set:function(b){this.e9a!=b&&(this.e9a=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"symbolFill",{get:function(){return this.wFa},set:function(a){if(null==this.wFa||this.wFa!=a)if(this.kXb(a))this.wFa=null;else{if(null==b.IOb.mXb(a))throw new b.OptionError(a);this.wFa=b.IOb.mXb(a)}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"symbolStroke",{get:function(){return this.xFa},set:function(a){if(null==this.xFa||this.xFa!=a)if(this.kXb(a))this.xFa=null;else{if(null==b.IOb.mXb(a))throw new b.OptionError(a);this.xFa=b.IOb.mXb(a)}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"symbolStrokeWidth",{get:function(){return this.yFa},set:function(b){this.yFa!=b&&(this.yFa=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"symbolStrokeDasharray",{get:function(){return this.zFa},set:function(b){this.zFa!=b&&(this.zFa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"symbolSize",{get:function(){return this.Qqb},set:function(b){null!=this.Qqb&&this.Qqb==b||(this.Qqb=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"borderRadius",{get:function(){return this.nXb},set:function(a){this.nXb!=a&&(this.nXb=null==a?null:new b.oXb(a))},enumerable:!0,configurable:!0}),e.prototype.clone=function(){return new e(this)},e.prototype.pXb=function(a){return null!=a&&(null!=a.opacity&&(this.opacity=a.opacity),null!=a.strokeOpacity&&(this.strokeOpacity=a.strokeOpacity),null==a.fill||a.fill.isEmpty()||(this.fill=a.fill),null==a.backgroundColor||a.backgroundColor.isEmpty()||(this.backgroundColor=a.backgroundColor),null==a.stroke||a.stroke.isEmpty()||(this.stroke=a.stroke),null!=a.strokeWidth&&(this.strokeWidth=a.strokeWidth),null!=a.strokeDasharray&&(this.strokeDasharray=a.strokeDasharray),null!=a.symbolShape&&(this.symbolShape=a.symbolShape),null!=a.symbolOpacity&&(this.symbolOpacity=a.symbolOpacity),null!=a.symbolStrokeOpacity&&(this.symbolStrokeOpacity=a.symbolStrokeOpacity),null==a.symbolFill||a.symbolFill.isEmpty()||(this.symbolFill=a.symbolFill),null==a.symbolStroke||a.symbolStroke.isEmpty()||(this.symbolStroke=a.symbolStroke),null!=a.symbolStrokeWidth&&(this.symbolStrokeWidth=a.symbolStrokeWidth),null!=a.symbolStrokeDasharray&&(this.symbolStrokeDasharray=a.symbolStrokeDasharray),null!=a.symbolSize&&(this.symbolSize=a.symbolSize),null==a.borderRadius||a.borderRadius.isEmpty()||(this.borderRadius=a.borderRadius)),this},e);function e(a){var b=c.call(this,a)||this;return b.opacity=b.$z().opacity,b.strokeOpacity=b.$z().strokeOpacity,b.fill=b.$z().fill,b.backgroundColor=b.$z().backgroundColor,b.stroke=b.$z().stroke,b.strokeWidth=b.$z().strokeWidth,b.strokeDasharray=b.$z().strokeDasharray,b.symbolShape=b.$z().symbolShape,b.symbolOpacity=b.$z().symbolOpacity,b.symbolStrokeOpacity=b.$z().symbolStrokeOpacity,b.symbolFill=b.$z().symbolFill,b.symbolStroke=b.$z().symbolStroke,b.symbolStrokeWidth=b.$z().symbolStrokeWidth,b.symbolStrokeDasharray=b.$z().symbolStrokeDasharray,b.symbolSize=b.$z().symbolSize,b.borderRadius=b.$z().borderRadius,b}b.AFa=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.iVb=function(b,c){null!=c&&null!=b&&(a.core.UOb.isNullNumber(c.strokeOpacity)||(b.strokeOpacity=c.strokeOpacity),null!=c.fill&&(b.fill=c.fill),a.core.UOb.isNullNumber(c.opacity)||(b.opacity=c.opacity),null!=c.backgroundColor&&(b.backgroundColor=c.backgroundColor),null!=c.stroke&&(b.stroke=c.stroke),null!=c.strokeWidth&&(b.strokeWidth=c.strokeWidth),null!=c.strokeDasharray&&(b.strokeDasharray=c.strokeDasharray),null!=c.symbolShape&&(b.symbolShape=c.symbolShape),a.core.UOb.isNullNumber(c.symbolOpacity)||(b.symbolOpacity=c.symbolOpacity),a.core.UOb.isNullNumber(c.symbolStrokeOpacity)||(b.symbolStrokeOpacity=c.symbolStrokeOpacity),null!=c.symbolFill&&(b.symbolFill=c.symbolFill),null!=c.symbolStroke&&(b.symbolStroke=c.symbolStroke),a.core.UOb.isNullNumber(c.symbolStrokeWidth)||(b.symbolStrokeWidth=c.symbolStrokeWidth),null!=c.symbolStrokeDasharray&&(b.symbolStrokeDasharray=c.symbolStrokeDasharray),a.core.UOb.isNullNumber(c.symbolSize)||(b.symbolSize=c.symbolSize),null!=c.borderRadius&&(b.borderRadius=c.borderRadius))},d);function d(){}b.jVb=c}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"plots",{get:function(){return this.lEa},set:function(a){var c,d,e;if((null==this.lEa||this.lEa!=a)&&(this.lEa=[],null!=a))for(Array.isArray(a)||(a=[a]),c=0,d=a;c<d.length;c++)e=d[c],this.lEa.push(new b.qAa(e))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"config",{get:function(){return this.gAa},set:function(a){null!=this.gAa&&this.gAa==a||(this.gAa=new b.hAa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"data",{get:function(){return this.Tza},set:function(a){null!=this.Tza&&this.Tza==a||(this.Tza=new b.fAa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"transform",{get:function(){return this._Xb},set:function(a){var c,d,e;if((null==this._Xb||this._Xb!=a)&&(this._Xb=[],null!=a))for(Array.isArray(a)||(a=[a]),c=0,d=a;c<d.length;c++)e=d[c],this._Xb.push(new b.A2a(e))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderMethod",{get:function(){return this.Kza},set:function(c){null!=this.Kza&&this.Kza==c||(this.Kza=b.bYb.aYb(c,a.RenderMethod,a.RenderMethod.NotSet))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.plots=b.$z().plots,b.config=b.$z().config,b.data=b.$z().data,b.transform=b.$z().transform,b.renderMethod=b.$z().renderMethod,b}b.SRb=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"field",{get:function(){return this.oBa},set:function(b){this.oBa!=b&&(this.oBa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return this.hRa},set:function(b){this.hRa!=b&&(this.hRa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.field=b.$z().field,b.label=b.$z().label,b}b.BFa=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"width",{get:function(){return this.REa},set:function(a){null!=this.REa&&this.REa==a||(this.REa=null==a?null:b.BXb.cYb(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this.mEa},set:function(b){this.mEa!==b&&(this.mEa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.Z8a},set:function(c){null!=this.Z8a&&this.Z8a==c||(null==c?this.Z8a=null:(null==(c=b.BXb.DXb(c))||c.type!=a.ValueOptionType.Percentage||0<c.value&&c.value<1)&&(this.Z8a=c))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxHeight",{get:function(){return this.Oqb},set:function(c){null!=this.Oqb&&this.Oqb==c||(null==c?this.Oqb=null:(null==(c=b.BXb.DXb(c))||c.type!=a.ValueOptionType.Percentage||0<c.value&&c.value<1)&&(this.Oqb=c))},enumerable:!0,configurable:!0}),Object.defineProperty(e.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(e.prototype,"hAlign",{get:function(){return this.xGa},set:function(b){null!=this.xGa&&this.xGa==b||(this.xGa=a.core.UOb.asEnum(b,a.HAlign,!0),null==this.xGa&&(this.xGa=a.HAlign.Center))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"vAlign",{get:function(){return this.f9a},set:function(b){null!=this.f9a&&this.f9a==b||(this.f9a=a.core.UOb.asEnum(b,a.VAlign,!0),null==this.f9a&&(this.f9a=a.VAlign.Middle))},enumerable:!0,configurable:!0}),Object.defineProperty(e.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(e.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(e.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}),e);function e(a){var b=c.call(this,a)||this;return b.title=b.$z().title,b.height=b.$z().height,b.maxHeight=b.$z().maxHeight,b.padding=b.$z().padding,b.hAlign=b.$z().hAlign,b.vAlign=b.$z().vAlign,b.style=b.$z().style,b.textStyle=b.$z().textStyle,b.borderStyle=b.$z().borderStyle,b.width=b.$z().width,b}b.b9a=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"itemSpace",{get:function(){return this.dYb},set:function(c){if(null!=c){var d=b.BXb.eYb(c);d.type==a.ValueOptionType.Pixel&&0<=d.value&&(this.dYb=d)}else this.dYb=null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"margin",{get:function(){return this.fYb},set:function(a){this.fYb=null==a?a:new b.gYb(a)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"groupPadding",{get:function(){return this.hYb},set:function(a){this.hYb=null==a?a:new b.bOa(a)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"groupOrientation",{get:function(){return null==this.iYb?a.Orientation.NotSet:this.iYb},set:function(b){this.iYb!=b&&(this.iYb=a.core.UOb.asEnum(b,a.Orientation,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"left",{get:function(){return this.FFa},set:function(b){null!=this.FFa&&this.FFa==b||(null==b?this.FFa=null:(a.core.assert("number"==typeof b&&0<=b&&b<=1,"left set wrong value."),this.FFa=b))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"top",{get:function(){return this.GFa},set:function(b){null!=this.GFa&&this.GFa==b||(null==b?this.GFa=null:(a.core.assert("number"==typeof b&&0<=b&&b<=1,"top set wrong value."),this.GFa=b))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"groupHAlign",{get:function(){return null==this.jYb?a.HAlign.NotSet:this.jYb},set:function(b){this.jYb!=b&&(this.jYb=a.core.UOb.asEnum(b,a.HAlign,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"groupVAlign",{get:function(){return null==this.kYb?a.VAlign.NotSet:this.kYb},set:function(b){this.kYb!=b&&(this.kYb=a.core.UOb.asEnum(b,a.VAlign,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"labelPosition",{get:function(){return null==this.lYb?a.Position.Right:this.lYb},set:function(b){null!=this.lYb&&this.lYb==b||(this.lYb=a.core.UOb.asEnum(b,a.Position,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orientation",{get:function(){return this.CFa},set:function(b){this.CFa!=b&&(this.CFa=a.core.UOb.asEnum(b,a.Orientation,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"position",{get:function(){return this.nEa},set:function(b){null!=this.nEa&&this.nEa==b||(this.nEa=a.core.UOb.asEnum(b,a.LegendPosition,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"titlePosition",{get:function(){return this.g9a},set:function(b){null!=this.g9a&&this.g9a==b||(this.g9a=a.core.UOb.asEnum(b,a.Position,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wrapping",{get:function(){return this.DFa},set:function(a){null!=this.DFa&&this.DFa==a||(this.DFa=b.qPb.mYb(a,null))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"style",{get:function(){return this.tEa},set:function(a){null!=this.tEa&&this.tEa==a||(this.tEa=new b.Rqb(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.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(e.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(e.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(e.prototype,"hoverStyle",{get:function(){return this.cGa},set:function(a){null!=this.cGa&&this.cGa==a||(this.cGa=new b.wEa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filteredOutStyle",{get:function(){return this.h9a},set:function(a){null!=this.h9a&&this.h9a==a||(this.h9a=new b.wEa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"padding",{get:function(){return this.cOa},set:function(a){this.cOa&&this.cOa===a||(this.cOa=new b.bOa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"itemPadding",{get:function(){return this.i9a},set:function(a){this.i9a&&this.i9a===a||(this.i9a=new b.bOa(a))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.orientation=b.$z().orientation,b.position=b.$z().position,b.titlePosition=b.$z().titlePosition,b.wrapping=b.$z().wrapping,b.style=b.$z().style,b.textStyle=b.$z().textStyle,b.borderStyle=b.$z().borderStyle,b.titleStyle=b.$z().titleStyle,b.hoverStyle=b.$z().hoverStyle,b.filteredOutStyle=b.$z().filteredOutStyle,b.padding=b.$z().padding,b.itemPadding=b.$z().itemPadding,b.labelPosition=b.$z().labelPosition,b.groupHAlign=b.option().groupHAlign,b.groupVAlign=b.$z().groupVAlign,b.left=b.$z().left,b.top=b.$z().top,b.groupOrientation=b.$z().groupOrientation,b.groupPadding=b.$z().groupPadding,b.margin=b.$z().margin,b.itemSpace=b.$z().itemSpace,b}b.jFa=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"width",{get:function(){return this.REa},set:function(a){null!=this.REa&&this.REa==a||(this.REa=null==a?null:b.BXb.cYb(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this.mEa},set:function(b){this.mEa!==b&&(this.mEa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.Z8a},set:function(c){null!=this.Z8a&&this.Z8a==c||(null==c?this.Z8a=null:(null==(c=b.BXb.DXb(c))||c.type!=a.ValueOptionType.Percentage||0<c.value&&c.value<1)&&(this.Z8a=c))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxHeight",{get:function(){return this.Oqb},set:function(c){null!=this.Oqb&&this.Oqb==c||(null==c?this.Oqb=null:(null==(c=b.BXb.DXb(c))||c.type!=a.ValueOptionType.Percentage||0<c.value&&c.value<1)&&(this.Oqb=c))},enumerable:!0,configurable:!0}),Object.defineProperty(e.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(e.prototype,"hAlign",{get:function(){return this.xGa},set:function(b){null!=this.xGa&&this.xGa==b||(this.xGa=a.core.UOb.asEnum(b,a.HAlign,!0),null==this.xGa&&(this.xGa=a.HAlign.Center))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"vAlign",{get:function(){return this.f9a},set:function(b){null!=this.f9a&&this.f9a==b||(this.f9a=a.core.UOb.asEnum(b,a.VAlign,!0),null==this.f9a&&(this.f9a=a.VAlign.Middle))},enumerable:!0,configurable:!0}),Object.defineProperty(e.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(e.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(e.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}),e);function e(a){var b=c.call(this,a)||this;return b.title=b.$z().title,b.height=b.$z().height,b.maxHeight=b.$z().maxHeight,b.padding=b.$z().padding,b.hAlign=b.$z().hAlign,b.vAlign=b.$z().vAlign,b.style=b.$z().style,b.textStyle=b.$z().textStyle,b.borderStyle=b.$z().borderStyle,b.width=b.$z().width,b}b.a9a=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.Y8a,__extends(d,b),Object.defineProperty(d.prototype,"scale",{get:function(){return this.rEa},set:function(b){null!=this.rEa&&this.rEa==b||(this.rEa=null==b?null:a.BXb.DXb(b))},enumerable:!0,configurable:!0}),d);function d(a){var c=b.call(this,a)||this;return c.scale=c.$z().scale,c}a.Sqb=c}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"enabled",{get:function(){return this.qOa},set:function(a){null!=this.qOa&&this.qOa==a||("boolean"==typeof a?this.qOa=a:null==this.qOa&&(this.qOa=!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"min",{get:function(){return this.FCa},set:function(b){null!=this.FCa&&this.FCa==b||(this.FCa=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"max",{get:function(){return this.GCa},set:function(b){null!=this.GCa&&this.GCa==b||(this.GCa=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"unit",{get:function(){return this.M8a},set:function(b){null!=this.M8a&&this.M8a==b||(this.M8a=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"palette",{get:function(){return this.bFa},set:function(a){null!=this.bFa&&this.bFa==a||(this.bFa=b.oYb.nYb(a))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.bFa=[],b.enabled=b.$z().enabled,b.min=b.$z().min,b.max=b.$z().max,b.unit=b.$z().unit,b.palette=b.$z().palette,
- b}b.a5a=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"itemSpace",{get:function(){return this.dYb},set:function(c){if(null!=c){var d=b.BXb.eYb(c);d.type==a.ValueOptionType.Pixel&&0<=d.value&&(this.dYb=d)}else this.dYb=null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"merge",{get:function(){return this.pYb},set:function(a){null!=a&&(this.pYb=b.rYb.qYb(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"margin",{get:function(){return this.fYb},set:function(a){this.fYb=null==a?a:new b.gYb(a)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"groupPadding",{get:function(){return this.hYb},set:function(a){this.hYb=null==a?a:new b.bOa(a)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"groupOrientation",{get:function(){return null==this.iYb?a.Orientation.NotSet:this.iYb},set:function(b){this.iYb!=b&&(this.iYb=a.core.UOb.asEnum(b,a.Orientation,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"left",{get:function(){return this.FFa},set:function(b){null!=this.FFa&&this.FFa==b||(null==b?this.FFa=null:(a.core.assert("number"==typeof b&&0<=b&&b<=1,"left set wrong value."),this.FFa=b))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"top",{get:function(){return this.GFa},set:function(b){null!=this.GFa&&this.GFa==b||(null==b?this.GFa=null:(a.core.assert("number"==typeof b&&0<=b&&b<=1,"top set wrong value."),this.GFa=b))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"groupHAlign",{get:function(){return null==this.jYb?a.HAlign.NotSet:this.jYb},set:function(b){this.jYb!=b&&(this.jYb=a.core.UOb.asEnum(b,a.HAlign,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"groupVAlign",{get:function(){return null==this.kYb?a.VAlign.NotSet:this.kYb},set:function(b){this.kYb!=b&&(this.kYb=a.core.UOb.asEnum(b,a.VAlign,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"labelPosition",{get:function(){return this.lYb},set:function(b){null!=this.lYb&&this.lYb==b||(this.lYb=a.core.UOb.asEnum(b,a.Position,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hAlign",{get:function(){return this.xGa},set:function(b){this.xGa!=b&&(this.xGa=a.core.UOb.asEnum(b,a.HAlign,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"vAlign",{get:function(){return this.f9a},set:function(b){this.f9a!=b&&(this.f9a=a.core.UOb.asEnum(b,a.VAlign,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"template",{get:function(){return this.vCa},set:function(b){null!=b&&(this.vCa=a.core.UOb.asString(b))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"items",{get:function(){return this.GAa},set:function(a){var c,d,e;if((null==this.GAa||this.GAa!=a)&&(this.GAa=[],null!=a))for(Array.isArray(a)||(a=[a]),c=0,d=a;c<d.length;c++)e=d[c],this.GAa.push(new b.Vwb(e))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sortOrder",{get:function(){return null==this.Wwb&&(this.Wwb=a.SortOrder.None),this.Wwb},set:function(b){this.Wwb!=b&&(this.Wwb=a.core.UOb.asEnum(b,a.SortOrder,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this.kEa},set:function(b){this.kEa!=b&&(this.kEa=a.core.UOb.asEnum(b,a.LegendType,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orientation",{get:function(){return this.CFa},set:function(b){this.CFa!=b&&(this.CFa=a.core.UOb.asEnum(b,a.Orientation,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"position",{get:function(){return this.nEa},set:function(b){null!=this.nEa&&this.nEa==b||(this.nEa=a.core.UOb.asEnum(b,a.LegendPosition,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this.mEa},set:function(b){this.mEa!=b&&(this.mEa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"titlePosition",{get:function(){return this.g9a},set:function(b){null!=this.g9a&&this.g9a==b||(this.g9a=a.core.UOb.asEnum(b,a.Position,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"style",{get:function(){return this.tEa},set:function(a){null!=this.tEa&&this.tEa==a||(this.tEa=new b.Rqb(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.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(e.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(e.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(e.prototype,"hoverStyle",{get:function(){return this.cGa},set:function(a){null!=this.cGa&&this.cGa==a||(this.cGa=new b.wEa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filteredOutStyle",{get:function(){return this.h9a},set:function(a){null!=this.h9a&&this.h9a==a||(this.h9a=new b.wEa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ranges",{get:function(){return this.EFa},set:function(a){null!=this.EFa&&this.EFa==a||(this.EFa=b.tYb.sYb(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gradient",{get:function(){return this.E7a},set:function(a){null!=this.E7a&&this.E7a==a||(null==this.E7a&&(this.E7a=new b.a5a(null)),"boolean"==typeof a?(this.E7a=new b.a5a(null),this.E7a.enabled=a):"object"==typeof a&&(this.E7a=new b.a5a(a)))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"padding",{get:function(){return this.cOa},set:function(a){this.cOa&&this.cOa===a||(this.cOa=new b.bOa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"itemPadding",{get:function(){return this.i9a},set:function(a){this.i9a&&this.i9a===a||(this.i9a=new b.bOa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.REa},set:function(c){null!=this.REa&&this.REa==c||(null==c?this.REa=null:(null==(c=b.BXb.DXb(c))||c.type!=a.ValueOptionType.Percentage||0<c.value&&c.value<1)&&(this.REa=c))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.Z8a},set:function(c){null!=this.Z8a&&this.Z8a==c||(null==c?this.Z8a=null:(null==(c=b.BXb.DXb(c))||c.type!=a.ValueOptionType.Percentage||0<c.value&&c.value<1)&&(this.Z8a=c))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxWidth",{get:function(){return this.Pqb},set:function(c){null!=this.Pqb&&this.Pqb==c||(null==c?this.Pqb=null:(null==(c=b.BXb.DXb(c))||c.type!=a.ValueOptionType.Percentage||0<c.value&&c.value<1)&&(this.Pqb=c))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxHeight",{get:function(){return this.Oqb},set:function(c){null!=this.Oqb&&this.Oqb==c||(null==c?this.Oqb=null:(null==(c=b.BXb.DXb(c))||c.type!=a.ValueOptionType.Percentage||0<c.value&&c.value<1)&&(this.Oqb=c))},enumerable:!0,configurable:!0}),e);function e(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.titlePosition=b.$z().titlePosition,b.style=b.$z().style,b.textStyle=b.$z().textStyle,b.borderStyle=b.$z().borderStyle,b.titleStyle=b.$z().titleStyle,b.hoverStyle=b.$z().hoverStyle,b.filteredOutStyle=b.$z().filteredOutStyle,b.ranges=b.$z().ranges,b.gradient=b.$z().gradient,b.padding=b.$z().padding,b.itemPadding=b.$z().itemPadding,b.width=b.$z().width,b.height=b.$z().height,b.maxWidth=b.$z().maxWidth,b.maxHeight=b.$z().maxHeight,b.sortOrder=b.$z().sortOrder,b.items=b.$z().items,b.template=b.$z().template,b.hAlign=b.option().hAlign,b.vAlign=b.option().vAlign,b.labelPosition=b.option().labelPosition,b.merge=b.$z().merge,b.groupHAlign=b.option().groupHAlign,b.groupVAlign=b.$z().groupVAlign,b.left=b.$z().left,b.top=b.$z().top,b.groupOrientation=b.$z().groupOrientation,b.groupPadding=b.$z().groupPadding,b.margin=b.$z().margin,b.itemSpace=b.$z().itemSpace,b}b.wDa=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"title",{get:function(){return this.mEa},set:function(b){null!=this.mEa&&this.mEa==b||(this.mEa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"to",{get:function(){return this.uYb},set:function(b){null!=this.uYb&&this.uYb==b||(this.uYb=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.title=b.$z().title,b.to=b.$z().to,b}b.vYb=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.uEa,__extends(d,b),Object.defineProperty(d.prototype,"iconColor",{get:function(){return this.Tqb},set:function(b){if(null==this.Tqb||this.Tqb!=b)if(this.kXb(b))this.Tqb=null;else{if(null==a.IOb.mXb(b))throw new a.OptionError(b);this.Tqb=a.IOb.mXb(b)}},enumerable:!0,configurable:!0}),d);function d(a){var c=b.call(this,a)||this;return c.iconColor=c.$z().iconColor,c}a.Rqb=c}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"opacity",{get:function(){return this.qFa},set:function(b){null!=this.qFa&&this.qFa==b||(this.qFa=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"stroke",{get:function(){return this.sFa},set:function(a){if(null==this.sFa||this.sFa!=a)if(this.kXb(a))this.sFa=null;else{if(null==b.IOb.mXb(a))throw new b.OptionError(a);this.sFa=b.IOb.mXb(a)}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeWidth",{get:function(){return this.tFa},set:function(b){null!=this.tFa&&this.tFa==b||(this.tFa=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeDasharray",{get:function(){return this.uFa},set:function(b){this.uFa!=b&&(this.uFa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.opacity=b.$z().opacity,b.stroke=b.$z().stroke,b.strokeWidth=b.$z().strokeWidth,b.strokeDasharray=b.$z().strokeDasharray,b}b.GEa=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"left",{get:function(){return this.FFa},set:function(b){null!=this.FFa&&this.FFa==b||(this.FFa=a.core.UOb.asNumber(b,!0),null==this.FFa&&(this.FFa=0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"top",{get:function(){return this.GFa},set:function(b){null!=this.GFa&&this.GFa==b||(this.GFa=a.core.UOb.asNumber(b,!0),null==this.GFa&&(this.GFa=0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"right",{get:function(){return this.HFa},set:function(b){null!=this.HFa&&this.HFa==b||(this.HFa=a.core.UOb.asNumber(b,!0),null==this.HFa&&(this.HFa=0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bottom",{get:function(){return this.IFa},set:function(b){null!=this.IFa&&this.IFa==b||(this.IFa=a.core.UOb.asNumber(b,!0),null==this.IFa&&(this.IFa=0))},enumerable:!0,configurable:!0}),e.prototype.isEmpty=function(){var a=this.$z();return"string"!=typeof a&&"number"!=typeof a&&c.prototype.isEmpty.call(this)},e.prototype.T0=function(b){var c={left:0,top:0,right:0,bottom:0},d=a.core.UOb.asString(b,!0).split(",",4),e=NaN,f=NaN,g=NaN,h=NaN;return d&&(4==d.length?(e=parseFloat(d[0]),h=parseFloat(d[1]),f=parseFloat(d[2]),g=parseFloat(d[3])):3==d.length?(e=parseFloat(d[0]),g=h=parseFloat(d[1]),f=parseFloat(d[2])):2==d.length?(e=f=parseFloat(d[0]),g=h=parseFloat(d[1])):1==d.length&&(e=f=g=h=parseFloat(d[0])),isNaN(e)||(c.top=e),isNaN(f)||(c.bottom=f),isNaN(g)||(c.left=g),isNaN(h)||(c.right=h)),c},e);function e(a){var b,d=c.call(this,a)||this;return"string"==typeof a?(b=d.T0(a),d.left=b.left,d.top=b.top,d.right=b.right,d.bottom=b.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}b.gYb=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.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(e.prototype,"type",{get:function(){return this.kEa},set:function(b){null==b&&b==this.kEa||(this.kEa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"display",{get:function(){return null==this.Uqb&&(this.Uqb=a.OverlayDisplay.Front),this.Uqb},set:function(b){null==b&&b==this.Uqb||(this.Uqb=a.core.UOb.asEnum(b,a.OverlayDisplay,!0))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.display=b.$z().display,b.type=b.$z().type,b.rules=b.$z().rules,b}b.j9a=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"left",{get:function(){return this.FFa},set:function(b){null!=this.FFa&&this.FFa==b||(this.FFa=a.core.UOb.asNumber(b,!0),a.core.assert(null==b||0<=b,"padding should not be negative."),null==this.FFa&&(this.FFa=0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"top",{get:function(){return this.GFa},set:function(b){null!=this.GFa&&this.GFa==b||(this.GFa=a.core.UOb.asNumber(b,!0),a.core.assert(null==b||0<=b,"padding should not be negative."),null==this.GFa&&(this.GFa=0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"right",{get:function(){return this.HFa},set:function(b){null!=this.HFa&&this.HFa==b||(this.HFa=a.core.UOb.asNumber(b,!0),a.core.assert(null==b||0<=b,"padding should not be negative."),null==this.HFa&&(this.HFa=0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bottom",{get:function(){return this.IFa},set:function(b){null!=this.IFa&&this.IFa==b||(this.IFa=a.core.UOb.asNumber(b,!0),a.core.assert(null==b||0<=b,"padding should not be negative."),null==this.IFa&&(this.IFa=0))},enumerable:!0,configurable:!0}),e.prototype.isEmpty=function(){var a=this.$z();return"string"!=typeof a&&"number"!=typeof a&&c.prototype.isEmpty.call(this)},e.prototype.T0=function(b){var c={left:0,top:0,right:0,bottom:0},d=a.core.UOb.asString(b,!0).split(",",4),e=NaN,f=NaN,g=NaN,h=NaN;return d&&(4==d.length?(e=parseFloat(d[0]),h=parseFloat(d[1]),f=parseFloat(d[2]),g=parseFloat(d[3])):3==d.length?(e=parseFloat(d[0]),g=h=parseFloat(d[1]),f=parseFloat(d[2])):2==d.length?(e=f=parseFloat(d[0]),g=h=parseFloat(d[1])):1==d.length&&(e=f=g=h=parseFloat(d[0])),isNaN(e)||(c.top=e),isNaN(f)||(c.bottom=f),isNaN(g)||(c.left=g),isNaN(h)||(c.right=h)),c},e);function e(a){var b,d=c.call(this,a)||this;return"string"==typeof a?(b=d.T0(a),d.left=b.left,d.top=b.top,d.right=b.right,d.bottom=b.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}b.bOa=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.S8a,__extends(d,b),Object.defineProperty(d.prototype,"columnWidths",{get:function(){return this.KFa},set:function(b){var c,d,e,f,g;if(null==this.KFa||this.KFa!=b)if(null==b)this.KFa=[];else{for(Array.isArray(b)||(b=[b]),c=[],d=0,e=b;d<e.length;d++)f=e[d],g=a.BXb.wYb(f),c.push(g);this.KFa=c}},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"rowHeights",{get:function(){return this.LFa},set:function(b){var c,d,e,f,g;if(null==this.LFa||this.LFa!=b)if(null==b)this.LFa=[];else{for(Array.isArray(b)||(b=[b]),c=[],d=0,e=b;d<e.length;d++)f=e[d],g=a.BXb.wYb(f),c.push(g);this.LFa=c}},enumerable:!0,configurable:!0}),d);function d(a){var c=b.call(this,a)||this;return c.columnWidths=c.$z().columnWidths,c.rowHeights=c.$z().rowHeights,c}a.fFa=c}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"row",{get:function(){return this.MFa},set:function(b){null!=this.MFa&&this.MFa==b||(this.MFa=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"column",{get:function(){return this.NFa},set:function(b){null!=this.NFa&&this.NFa==b||(this.NFa=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.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(e.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(e.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(e.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(e.prototype,"backgroundColor",{get:function(){return this.hFa},set:function(a){if(null==this.hFa||this.hFa!=a)if(this.kXb(a))this.hFa=null;else{if(null==b.IOb.mXb(a))throw new b.OptionError(a);this.hFa=b.IOb.mXb(a)}},enumerable:!0,configurable:!0}),Object.defineProperty(e.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(e.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(e.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(e.prototype,"coordinateSystems",{get:function(){return this.xYb},set:function(a){var c,d,e;if((null==this.xYb||this.xYb!=a)&&(this.xYb=[],null!=a))for(Array.isArray(a)||(a=[a]),c=0,d=a;c<d.length;c++)e=d[c],this.xYb.push(new b.YXb(e))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"plugins",{get:function(){return this.DSb},set:function(a){null!=this.DSb&&this.DSb==a||(this.DSb=b.VXb.Ph(a,b.VXb.yYb,[]))},enumerable:!0,configurable:!0}),e.prototype.queryInterface=function(a){return"IPlotAreaCustomOption"==a||"IPlotAreaOption"==a?this:null},e);function e(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.coordinateSystems=b.$z().coordinateSystems,b.plugins=b.$z().plugins,b}b.dFa=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"axisMode",{get:function(){return this.k9a},set:function(b){null!=this.k9a&&this.k9a==b||(this.k9a=a.core.UOb.asEnum(b,a.AxisMode,!0),null==this.k9a&&(this.k9a=a.AxisMode.Cartesian))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"symbols",{get:function(){return this.TFa},set:function(a){null!=this.TFa&&this.TFa==a||(this.TFa=b.qPb.PBa(a,!1))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"swapAxes",{get:function(){return this.UFa},set:function(a){null!=this.UFa&&this.UFa==a||(this.UFa=b.qPb.PBa(a,!1))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"clippingMode",{get:function(){return this.VFa},set:function(b){null!=this.VFa&&this.VFa==b||(this.VFa=a.core.UOb.asEnum(b,a.ClippingMode,!0),null==this.VFa&&(this.VFa=a.ClippingMode.None))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showNulls",{get:function(){return this.WFa},set:function(b){null!=this.WFa&&this.WFa==b||(this.WFa=a.core.UOb.asEnum(b,a.ShowNulls,!0),null==this.WFa&&(this.WFa=a.ShowNulls.Connected))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showNaNs",{get:function(){return this.zYb},set:function(b){null!=this.zYb&&this.zYb==b||(this.zYb=a.core.UOb.asEnum(b,a.ShowNulls,!0),null==this.zYb&&(this.zYb=a.ShowNulls.Connected))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lineAspect",{get:function(){return this.XFa},set:function(b){null!=this.XFa&&this.XFa==b||(this.XFa=a.core.UOb.asEnum(b,a.LineAspect,!0),null==this.XFa&&(this.XFa=a.LineAspect.Default))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offset",{get:function(){return this.rCa},set:function(a){null!=this.rCa&&this.rCa==a||(this.rCa="number"==typeof a?a:null)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.YFa},set:function(a){null!=this.YFa&&this.YFa==a||("number"==typeof a?(this.YFa=a,1<this.YFa?this.YFa=1:this.YFa<0&&(this.YFa=0)):this.YFa=0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sweep",{get:function(){return this.ZFa},set:function(a){null!=this.ZFa&&this.ZFa==a||("number"==typeof a?(this.ZFa=a,360<this.ZFa?this.ZFa=360:this.ZFa<0&&(this.ZFa=0)):this.ZFa=360)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.$Fa},set:function(a){null!=this.$Fa&&this.$Fa==a||(this.$Fa="number"==typeof a?a:0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.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(e.prototype,"barLines",{get:function(){return this.bGa},set:function(a){null!=this.bGa&&this.bGa==a||(this.bGa=b.qPb.PBa(a,!1))},enumerable:!0,configurable:!0}),Object.defineProperty(e.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(e.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(e.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(e.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(e.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}),Object.defineProperty(e.prototype,"loadAnimation",{get:function(){return this.n9a},set:function(c){null!=this.n9a&&this.n9a==c||(null==c?this.n9a=null:"boolean"==typeof c?this.n9a=c?new b.Y8a({mode:a.AnimationMode.Point,duration:1e3,easing:a.AnimationEasing.Linear,startDelay:1e3}):null:"object"==typeof c&&(this.n9a=new b.Y8a(c)))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"updateAnimation",{get:function(){return this.o9a},set:function(a){null!=this.o9a&&this.o9a==a||(null==a?this.o9a=null:"boolean"==typeof a?this.o9a=a?new b.Y8a(null):null:"object"==typeof a&&(this.o9a=new b.Y8a(a)))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hoverAnimation",{get:function(){return this.p9a},set:function(a){null!=this.p9a&&this.p9a==a||(null==a?this.p9a=null:"boolean"==typeof a?this.p9a=a?new b.Sqb(null):null:"object"==typeof a&&(this.p9a=new b.Sqb(a)))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"overlays",{get:function(){return this.q9a},set:function(a){var c,d,e;if((null==this.q9a||this.q9a!=a)&&(this.q9a=[],null!=a))for(Array.isArray(a)||(a=[a]),c=0,d=a;c<d.length;c++)e=d[c],this.q9a.push(new b.j9a(e))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textConfig",{get:function(){return this.r9a},set:function(a){null!=this.r9a&&this.r9a==a||(this.r9a=new b.s9a(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.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(e.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(e.prototype,"selectedTextStyle",{get:function(){return this.RXb},set:function(a){null!=this.RXb&&this.RXb==a||(this.RXb=new b.SXb(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"unselectedTextStyle",{get:function(){return this.TXb},set:function(a){null!=this.TXb&&this.TXb==a||(this.TXb=new b.SXb(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hAlign",{get:function(){return this.xGa},set:function(b){null!=this.xGa&&this.xGa==b||(this.xGa=a.core.UOb.asEnum(b,a.HAlign,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"vAlign",{get:function(){return this.f9a},set:function(b){null!=this.f9a&&this.f9a==b||(this.f9a=a.core.UOb.asEnum(b,a.VAlign,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"palette",{get:function(){return this.bFa},set:function(c){null!=this.bFa&&this.bFa==c||(this.bFa=null==c?null:b.IOb.QXb(c,a.models.Xza.Office.map(function(a){return b.IOb.RQb(a)})))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"seriesStyles",{get:function(){return this.AYb},set:function(a){var c,d,e;if((null==this.AYb||this.AYb!=a)&&(this.AYb=[],null!=a))for(Array.isArray(a)||(a=[a]),c=0,d=a;c<d.length;c++)e=d[c],this.AYb.push(new b.BYb(e))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bar",{get:function(){return this.WEa},set:function(a){null!=this.WEa&&this.WEa==a||(this.WEa=new b.CYb(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"plugins",{get:function(){return this.DSb},set:function(a){null!=this.DSb&&this.DSb==a||(this.DSb=b.VXb.Ph(a,b.VXb.yYb,[]))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.axisMode=b.$z().axisMode,b.symbols=b.$z().symbols,b.swapAxes=b.$z().swapAxes,b.clippingMode=b.$z().clippingMode,b.showNulls=b.$z().showNulls,b.showNaNs=b.$z().showNaNs,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.loadAnimation=b.$z().loadAnimation,b.hoverAnimation=b.$z().hoverAnimation,b.updateAnimation=b.$z().updateAnimation,b.overlays=b.$z().overlays,b.textConfig=b.$z().textConfig,b.selectedStyle=b.$z().selectedStyle,b.unselectedStyle=b.$z().unselectedStyle,b.hAlign=b.$z().hAlign,b.vAlign=b.$z().vAlign,b.palette=b.$z().palette,b.seriesStyles=b.$z().seriesStyles,b.bar=b.$z().bar,b.plugins=b.$z().plugins,b}b.gGa=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"placement",{get:function(){return this.DYb},set:function(b){null!=this.DYb&&this.DYb==b||(this.DYb=a.core.UOb.asEnum(b,a.Placement,!0),null==this.DYb&&(this.DYb=a.Placement.Auto))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scope",{get:function(){return this.hGa},set:function(b){this.hGa!=b&&(this.hGa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"template",{get:function(){return this.vCa},set:function(b){this.vCa!=b&&(this.vCa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"position",{get:function(){return this.nEa},set:function(b){null!=this.nEa&&this.nEa==b||(this.nEa=a.core.UOb.asEnum(b,a.TextPosition,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offset",{get:function(){return this.rCa},set:function(b){null!=this.rCa&&this.rCa==b||(this.rCa=a.core.UOb.asNumber(b,!0),null==this.rCa&&(this.rCa=0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"overlappingLabels",{get:function(){return this.oEa},set:function(b){null!=this.oEa&&this.oEa==b||(this.oEa=a.core.UOb.asEnum(b,a.OverlappingLabels,!0),null==this.oEa&&(this.oEa=a.OverlappingLabels.Auto))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"connectingLine",{get:function(){return this.iGa},set:function(a){null!=this.iGa&&this.iGa==a||(null==a?this.iGa=null:"boolean"==typeof a?this.iGa=a?new b.GEa({stroke:null,strokeWidth:1}):null:"object"==typeof a&&(this.iGa=new b.GEa(a)))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"linePosition",{get:function(){return this.jGa},set:function(b){null!=this.jGa&&this.jGa==b||(this.jGa=a.core.UOb.asEnum(b,a.LinePosition,!0),null==this.jGa&&(this.jGa=a.LinePosition.Auto))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"angle",{get:function(){return this.P9a},set:function(a){null!=this.P9a&&this.P9a==a||(this.P9a=b.FYb.EYb(a,null))},enumerable:!0,configurable:!0}),Object.defineProperty(e.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(e.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(e.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}),e.prototype.clone=function(){return new e(this.$z())},e);function e(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.angle=b.$z().angle,b.style=b.$z().style,b.textStyle=b.$z().textStyle,b.borderStyle=b.$z().borderStyle,b.placement=b.$z().placement,b}b.eGa=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"scope",{get:function(){return this.hGa},set:function(b){this.hGa!=b&&(this.hGa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"template",{get:function(){return this.vCa},set:function(b){this.vCa!=b&&(this.vCa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.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(e.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}),e.prototype.clone=function(){return new e(this.$z())},e);function e(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}b.fGa=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.S8a,__extends(d,b),Object.defineProperty(d.prototype,"values",{get:function(){return this.oFa},set:function(b){null!=this.oFa&&this.oFa==b||(this.oFa=a.GYb.tPb(b))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"category",{get:function(){return this.mGa},set:function(b){null!=this.mGa&&this.mGa==b||(this.mGa=new a.u9a(b))},enumerable:!0,configurable:!0}),Object.defineProperty(d.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(d.prototype,"color",{get:function(){return this.oCa},set:function(b){null!=this.oCa&&this.oCa==b||(this.oCa=new a.v9a(b))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"size",{get:function(){return this.qCa},set:function(b){null!=this.qCa&&this.qCa==b||(this.qCa=new a.w9a(b))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"shape",{get:function(){return this.pCa},set:function(b){null!=this.pCa&&this.pCa==b||(this.pCa=new a.x9a(b))},enumerable:!0,configurable:!0}),Object.defineProperty(d.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.y9a(e),null!=f.field&&this.dGa.push(f)},enumerable:!0,configurable:!0}),Object.defineProperty(d.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.y9a(e),null!=f.field&&this.Oza.push(f)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"layout",{get:function(){return this.uMa},set:function(b){null!=this.uMa&&this.uMa==b||(this.uMa=new a.z9a(b))},enumerable:!0,configurable:!0}),d);function d(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.layout=c.$z().layout,c}a.pGa=c}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"name",{get:function(){return this.HCa},set:function(b){this.HCa!=b&&(this.HCa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this.kEa},set:function(b){this.kEa!=b&&(this.kEa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.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(e.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}),e);function e(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}b.qAa=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"targetElement",{get:function(){return this.sGa},set:function(b){this.sGa!=b&&(this.sGa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.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}),e);function e(a){var b=c.call(this,a)||this;return b.rGa=[],b.targetElement=b.$z().targetElement,b.properties=b.$z().properties,b}b.uGa=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"name",{get:function(){return this.HCa},set:function(b){this.HCa!=b&&(this.HCa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this.mCa},set:function(a){this.mCa!=a&&(this.mCa=a)},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.name=b.$z().name,b.value=b.$z().value,b}b.tGa=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"condition",{get:function(){return this.wGa},set:function(b){this.wGa!=b&&(this.wGa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this.kEa},set:function(b){this.kEa!=b&&(this.kEa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.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}),e);function e(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}b.aGa=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.AFa,__extends(d,b),Object.defineProperty(d.prototype,"valueField",{get:function(){return this.xBb},set:function(a){null!=this.xBb&&this.xBb==a||(this.xBb=a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"key",{get:function(){return this.m1a},set:function(a){null!=this.m1a&&this.m1a==a||(this.m1a=a)},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.qPb.PBa(b,null))},enumerable:!0,configurable:!0}),d.prototype.clone=function(){return new d(this)},d);function d(a){var c=b.call(this,a)||this;return c.valueField=c.$z().valueField,c.key=c.$z().key,c.symbols=c.$z().symbols,c}a.BYb=c}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"left",{get:function(){return this.FFa},set:function(b){null!=this.FFa&&this.FFa==b||(this.FFa=a.core.UOb.asNumber(b,!0),null==this.FFa&&(this.FFa=0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"top",{get:function(){return this.GFa},set:function(b){null!=this.GFa&&this.GFa==b||(this.GFa=a.core.UOb.asNumber(b,!0),null==this.GFa&&(this.GFa=0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"right",{get:function(){return this.HFa},set:function(b){null!=this.HFa&&this.HFa==b||(this.HFa=a.core.UOb.asNumber(b,!0),null==this.HFa&&(this.HFa=0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bottom",{get:function(){return this.IFa},set:function(b){null!=this.IFa&&this.IFa==b||(this.IFa=a.core.UOb.asNumber(b,!0),null==this.IFa&&(this.IFa=0))},enumerable:!0,configurable:!0}),e.prototype.isEmpty=function(){var a=this.$z();return"string"!=typeof a&&"number"!=typeof a&&c.prototype.isEmpty.call(this)},e.prototype.T0=function(b){var c={left:0,top:0,right:0,bottom:0},d=a.core.UOb.asString(b,!0).split(",",4),e=NaN,f=NaN,g=NaN,h=NaN;return d&&(4==d.length?(e=parseFloat(d[0]),h=parseFloat(d[1]),f=parseFloat(d[2]),g=parseFloat(d[3])):3==d.length?(e=parseFloat(d[0]),g=h=parseFloat(d[1]),f=parseFloat(d[2])):2==d.length?(e=f=parseFloat(d[0]),g=h=parseFloat(d[1])):1==d.length&&(e=f=g=h=parseFloat(d[0])),isNaN(e)||(c.top=e),isNaN(f)||(c.bottom=f),isNaN(g)||(c.left=g),isNaN(h)||(c.right=h)),c},e);function e(a){var b,d=c.call(this,a)||this;return"string"==typeof a?(b=d.T0(a),d.left=b.left,d.top=b.top,d.right=b.right,d.bottom=b.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}b.hVb=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"overline",{get:function(){return this.G9a},set:function(a){null!=this.G9a&&this.G9a==a||(this.G9a=b.qPb.mYb(a,null))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lineThrough",{get:function(){return this.H9a},set:function(a){null!=this.H9a&&this.H9a==a||(this.H9a=b.qPb.mYb(a,null))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"underline",{get:function(){return this.I9a},set:function(a){null!=this.I9a&&this.I9a==a||(this.I9a=b.qPb.mYb(a,null))},enumerable:!0,configurable:!0}),e.prototype.T0=function(a){var b,c,d,e,f,g;for(b=null,c=null,d=null,e=0,f=a.split(",",3);e<f.length;e++)g=f[e].trim(),"Overline"==g?b=!0:"LineThrough"==g?c=!0:"Underline"==g&&(d=!0);return{overline:b,lineThrough:c,underline:d}},e);function e(b){var d,e=c.call(this,b)||this;return"string"==typeof b?(d=e.T0(b),e.overline=d.overline,e.lineThrough=d.lineThrough,e.underline=d.underline):"number"==typeof b?(e.overline=0!=(b&a.TextDecoration.Overline),e.lineThrough=0!=(b&a.TextDecoration.LineThrough),e.underline=0!=(b&a.TextDecoration.Underline)):(e.overline=e.$z().overline,e.lineThrough=e.$z().lineThrough,e.underline=e.$z().underline),e}b.J9a=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"color",{get:function(){return this.oCa},set:function(b){this.oCa!=b&&(this.oCa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"opacity",{get:function(){return this.qFa},set:function(b){this.qFa!=b&&(this.qFa=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fontSize",{get:function(){return this.yGa},set:function(b){this.yGa!=b&&(this.yGa="number"==typeof b?""+b:a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fontFamily",{get:function(){return this.zGa},set:function(b){this.zGa!=b&&(this.zGa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fontWeight",{get:function(){return this.a8a},set:function(a){null!=this.a8a&&this.a8a==a||(this.a8a=b.IYb.HYb(a,null))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fontStyle",{get:function(){return this.b8a},set:function(b){null!=b&&this.b8a!=b&&(this.b8a=a.core.UOb.asEnum(b,a.FontStyle))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textDecoration",{get:function(){return this.d8a},set:function(a){null!=a&&this.d8a==a||(this.d8a=new b.J9a(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"overflow",{get:function(){return this.Xqb},set:function(b){null!=this.Xqb&&this.Xqb==b||(this.Xqb=a.core.UOb.asEnum(b,a.TextOverflow,!0))},enumerable:!0,configurable:!0}),e.prototype.pXb=function(a){return null!=a&&(null!=a.color&&(this.color=a.color),null!=a.fontSize&&(this.fontSize=a.fontSize),null!=a.fontFamily&&(this.fontFamily=a.fontFamily),null!=a.fontWeight&&(this.fontWeight=a.fontWeight),null!=a.fontStyle&&(this.fontStyle=a.fontStyle),null==a.textDecoration||a.textDecoration.isEmpty()||(this.textDecoration=a.textDecoration),null!=a.overflow&&(this.overflow=a.overflow)),this},e);function e(a){var b=c.call(this,a)||this;return b.color=b.$z().color,b.opacity=b.$z().opacity,b.fontSize=b.$z().fontSize,b.fontFamily=b.$z().fontFamily,b.fontWeight=b.$z().fontWeight,b.fontStyle=b.$z().fontStyle,b.textDecoration=b.$z().textDecoration,b.overflow=b.$z().overflow,b}b.wEa=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"text",{get:function(){return this.dGa},set:function(b){this.dGa!=b&&(this.dGa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textStyle",{get:function(){return this.vEa},set:function(a){null!=this.vEa&&this.vEa==a||(this.vEa=new b.yRa(a))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.text=b.$z().text,b.textStyle=b.$z().textStyle,b}b.IXb=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"value",{get:function(){return this.mCa},set:function(b){this.mCa!=b&&(this.mCa=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),e);function e(b){var d=c.call(this,b)||this;return d.type=a.ValueOptionType.Pixel,d.type=d.$z().type,d.value=d.$z().value,d}b.EXb=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"type",{get:function(){return this.kEa},set:function(b){this.kEa!=b&&(this.kEa=a.core.UOb.asEnum(b,a.ValueScaleType,!0))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.type=b.$z().type,b}b.sEa=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.BFa,__extends(d,b),Object.defineProperty(d.prototype,"sort",{get:function(){return this.K9a},set:function(b){if(null==this.K9a||this.K9a!=b)if(null==b)this.K9a=b;else{var c=a.KYb.JYb(b);if(null==c)throw new a.OptionError(b);this.K9a=c}},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"excludeNulls",{get:function(){return this.LSa},set:function(b){null!=this.LSa&&this.LSa==b||(this.LSa=a.qPb.PBa(b,!1))},enumerable:!0,configurable:!0}),d);function d(a){var c=b.call(this,a)||this;return c.sort=c.$z().sort,c.excludeNulls=c.$z().excludeNulls,c}a.u9a=c}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.BFa,__extends(e,c),Object.defineProperty(e.prototype,"aggregate",{get:function(){return this.AGa},set:function(b){this.AGa!=b&&(this.AGa=a.core.UOb.asEnum(b,a.Aggregate,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sort",{get:function(){return this.K9a},set:function(b){null!=this.K9a&&this.K9a==b||(this.K9a=a.core.UOb.asEnum(b,a.OrderType,!0),null==this.K9a&&(this.K9a=a.OrderType.None))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.aggregate=b.$z().aggregate,b.sort=b.$z().sort,b}b.v9a=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.BFa,__extends(e,c),Object.defineProperty(e.prototype,"aggregate",{get:function(){return this.AGa},set:function(b){this.AGa!=b&&(this.AGa=a.core.UOb.asEnum(b,a.Aggregate,!0))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.aggregate=b.$z().aggregate,b}b.y9a=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.BFa,__extends(e,c),Object.defineProperty(e.prototype,"sort",{get:function(){return this.K9a},set:function(a){if(null==this.K9a||this.K9a!=a)if(null==a)this.K9a=a;else{var c=b.KYb.JYb(a);if(null==c)throw new b.OptionError(a);this.K9a=c}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"group",{get:function(){return this.BGa},set:function(b){null!=this.BGa&&this.BGa==b||(this.BGa=a.core.UOb.asEnum(b,a.Group,!0),null==this.BGa&&(this.BGa=a.Group.Cluster))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"excludeNulls",{get:function(){return this.LSa},set:function(a){null!=this.LSa&&this.LSa==a||(this.LSa=b.qPb.PBa(a,!1))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.sort=b.$z().sort,b.group=b.$z().group,b.excludeNulls=b.$z().excludeNulls,b}b.nGa=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.BFa,__extends(e,c),Object.defineProperty(e.prototype,"type",{get:function(){return this.kEa},set:function(b){null!=this.kEa&&this.kEa==b||(this.kEa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.type=b.$z().type,b}b.z9a=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.BFa,__extends(e,c),Object.defineProperty(e.prototype,"aggregate",{get:function(){return this.AGa},set:function(b){this.AGa!=b&&(this.AGa=a.core.UOb.asEnum(b,a.Aggregate,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sort",{get:function(){return this.K9a},set:function(b){null!=this.K9a&&this.K9a==b||(this.K9a=a.core.UOb.asEnum(b,a.OrderType,!0),null==this.K9a&&(this.K9a=a.OrderType.None))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.aggregate=b.$z().aggregate,b.sort=b.$z().sort,b}b.x9a=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.BFa,__extends(e,c),Object.defineProperty(e.prototype,"aggregate",{get:function(){return this.AGa},set:function(b){this.AGa!=b&&(this.AGa=a.core.UOb.asEnum(b,a.Aggregate,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sort",{get:function(){return this.K9a},set:function(b){null!=this.K9a&&this.K9a==b||(this.K9a=a.core.UOb.asEnum(b,a.OrderType,!0),null==this.K9a&&(this.K9a=a.OrderType.None))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.aggregate=b.$z().aggregate,b.sort=b.$z().sort,b}b.w9a=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.BFa,__extends(e,c),Object.defineProperty(e.prototype,"order",{get:function(){return this.A3a},set:function(c){null!=this.A3a&&this.A3a==c||(this.A3a=b.bYb.aYb(c,a.OrderType,a.OrderType.None))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.order=b.$z().order,b}b.S2a=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"field",{get:function(){return this.oBa},set:function(a){null==this.oBa&&this.oBa!=a&&(this.oBa="string"==typeof a?a:null)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return this.hRa},set:function(a){null==this.hRa&&this.hRa!=a&&(this.hRa="string"==typeof a?a:null)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"aggregate",{get:function(){return this.AGa},set:function(b){this.AGa!=b&&(this.AGa=a.core.UOb.asEnum(b,a.Aggregate,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"excludeNulls",{get:function(){return this.LSa},set:function(a){null!=this.LSa&&this.LSa==a||(this.LSa=b.qPb.PBa(a,!1))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.type="IFieldsValueEncodingOption",b.field=b.$z().field,b.label=b.$z().label,b.aggregate=b.$z().aggregate,b.excludeNulls=b.$z().excludeNulls,b}b.vPb=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"field",{get:function(){return this.oBa},set:function(a){if(null==this.oBa&&this.oBa!=a)if("object"==typeof a){var c=new b.LYb(a);null!=c.upper&&null!=c.lower?this.oBa=c:this.oBa=null}else this.oBa=null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return this.hRa},set:function(a){null==this.hRa&&this.hRa!=a&&(this.hRa="object"==typeof a?new b.LYb(a):null)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"aggregate",{get:function(){return this.AGa},set:function(b){this.AGa!=b&&(this.AGa=a.core.UOb.asEnum(b,a.Aggregate,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"excludeNulls",{get:function(){return this.LSa},set:function(a){null!=this.LSa&&this.LSa==a||(this.LSa=b.qPb.PBa(a,!1))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.type="IRangeFieldValueEncodingOption",b.field=b.$z().field,b.label=b.$z().label,b.aggregate=b.$z().aggregate,b.excludeNulls=b.$z().excludeNulls,b}b.MYb=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"lower",{get:function(){return this.vXb},set:function(b){null!=this.vXb&&this.vXb==b||"string"==typeof b&&(this.vXb=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"upper",{get:function(){return this.wXb},set:function(b){null!=this.wXb&&this.wXb==b||"string"==typeof b&&(this.wXb=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.lower=b.$z().lower,b.upper=b.$z().upper,b}b.LYb=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.PBa=function(b,c){if(null==b)return c;if("boolean"==typeof b)return b;throw new a.OptionError(b)},c.mYb=function(b,c){if(null==b)return c;if("boolean"==typeof b)return b;throw new a.OptionError(b)},c);function c(){}a.qPb=b}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.NYb=function(b,c){return b.type==a.ValueOptionType.Percentage?b.value*c/100:b.value},d.OYb=function(c,d,e){var f=this.NYb(c,d)/e;return new b.EXb({type:a.ValueOptionType.Pixel,value:f})},d.PYb=function(a,c,d){if(null==a||0==c||0==d)return null;if(a.horizontalRadius.isEmpty()&&a.verticalRadius.isEmpty())return null;var e=this.NYb(a.horizontalRadius.topLeft,c)+this.NYb(a.horizontalRadius.topRight,c),f=this.NYb(a.horizontalRadius.bottomLeft,c)+this.NYb(a.horizontalRadius.bottomRight,c),g=Math.max(c,Math.max(e,f)),h=this.NYb(a.verticalRadius.topLeft,d)+this.NYb(a.verticalRadius.bottomLeft,d),i=this.NYb(a.verticalRadius.topRight,d)+this.NYb(a.verticalRadius.bottomRight,d),j=Math.max(d,Math.max(h,i)),k=Math.max(1,Math.max(g/c,j/d)),l=new b.oXb(0);return l.horizontalRadius.topLeft=this.OYb(a.horizontalRadius.topLeft,c,k),l.horizontalRadius.topRight=this.OYb(a.horizontalRadius.topRight,c,k),l.horizontalRadius.bottomRight=this.OYb(a.horizontalRadius.bottomRight,c,k),l.horizontalRadius.bottomLeft=this.OYb(a.horizontalRadius.bottomLeft,c,k),l.verticalRadius.topLeft=this.OYb(a.verticalRadius.topLeft,d,k),l.verticalRadius.topRight=this.OYb(a.verticalRadius.topRight,d,k),l.verticalRadius.bottomRight=this.OYb(a.verticalRadius.bottomRight,d,k),l.verticalRadius.bottomLeft=this.OYb(a.verticalRadius.bottomLeft,d,k),l},d.QYb=function(a,b,c,d,e){if(null==(e=this.PYb(e,c,d)))return null;var f=e.horizontalRadius.topLeft.value,g=e.verticalRadius.topLeft.value,h=e.horizontalRadius.topRight.value,i=e.verticalRadius.topRight.value,j=e.horizontalRadius.bottomRight.value,k=e.verticalRadius.bottomRight.value,l=e.horizontalRadius.bottomLeft.value,m=e.verticalRadius.bottomLeft.value,n="M "+(a+f).toFixed(this.Fqb)+","+b.toFixed(this.Fqb);return n+=" L "+(a+c-h).toFixed(this.Fqb)+","+b.toFixed(this.Fqb),n+=" Q "+(a+c).toFixed(this.Fqb)+","+b.toFixed(this.Fqb)+","+(a+c).toFixed(this.Fqb)+","+(b+i).toFixed(this.Fqb),n+=" L "+(a+c).toFixed(this.Fqb)+","+(b+d-k).toFixed(this.Fqb),n+=" Q "+(a+c).toFixed(this.Fqb)+","+(b+d).toFixed(this.Fqb)+","+(a+c-j).toFixed(this.Fqb)+","+(b+d).toFixed(this.Fqb),n+=" L "+(a+l).toFixed(this.Fqb)+","+(b+d).toFixed(this.Fqb),n+=" Q "+a.toFixed(this.Fqb)+","+(b+d).toFixed(this.Fqb)+","+a.toFixed(this.Fqb)+","+(b+d-m).toFixed(this.Fqb),n+=" L "+a.toFixed(this.Fqb)+","+(b+g).toFixed(this.Fqb),n+=" Q "+a.toFixed(this.Fqb)+","+b.toFixed(this.Fqb)+","+(a+f).toFixed(this.Fqb)+","+b.toFixed(this.Fqb),n+=" Z"},d.RYb=function(a,c,d,e,f,g){if(null==(f=this.PYb(f,d,e)))return null;for(var h=f.horizontalRadius.topLeft.value,i=f.verticalRadius.topLeft.value,j=f.horizontalRadius.topRight.value,k=f.verticalRadius.topRight.value,l=f.horizontalRadius.bottomRight.value,m=f.verticalRadius.bottomRight.value,n=f.horizontalRadius.bottomLeft.value,o=f.verticalRadius.bottomLeft.value,p=[],q=[],r=this.getAppropriateSizes(g,[1,2,1,2,1,2,1,2]),s=[new b.SYb(a+h,a+d-j),new b.TYb(a+d-j,a+d,a+d),new b.SYb(a+d,a+d),new b.TYb(a+d,a+d,a+d-l),new b.SYb(a+d-l,a+n),new b.TYb(a+n,a,a),new b.SYb(a,a),new b.TYb(a,a,a+h)],t=[new b.SYb(c,c),new b.TYb(c,c,c+k),new b.SYb(c+k,c+e-m),new b.TYb(c+e-m,c+e,c+e),new b.SYb(c+e,c+e),new b.TYb(c+e,c+e,c+e-o),new b.SYb(c+e-o,c+i),new b.TYb(c+i,c,c)],u=0;u<8;++u)p.push.apply(p,this.UYb(s[u],r[u])),q.push.apply(q,this.UYb(t[u],r[u]));return{xs:p,ys:q}},d.getAppropriateSizes=function(a,b){var c,d,e,f,g,h,i;for(c=b.reduce(function(a,b){return a+b},0),d=[],e=0,f=b.map(function(a){return a/c});e<f.length;e++)g=f[e],d.push(Math.floor(g*a));for(h=a-d.reduce(function(a,b){return a+b},0),i=d.length;0<h;)++d[Math.floor(Math.random()*i)],--h;return d},d.UYb=function(a,b){for(var c=this.VYb(b),d=[],e=0;d.push(a.WYb(e)),(e+=c)<=1;);return d.length<b&&d.push(a.WYb(1)),d},d.VYb=function(a){return a<3?1:1/(a-1)},d.XYb=function(b,c,d,e,f,g,h){var 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;return 0==g?null:(i=.5*(d+e),j=i*g,k=d-e,null==(h=this.PYb(h,k,j))?null:(l=h.horizontalRadius.topLeft.value,m=h.verticalRadius.topLeft.value,n=h.horizontalRadius.topRight.value,o=h.verticalRadius.topRight.value,p=h.horizontalRadius.bottomRight.value,q=h.verticalRadius.bottomRight.value,r=h.horizontalRadius.bottomLeft.value,s=f+g,t=f+(j-m)/i,u=f+(j-o)/i,v=f+h.verticalRadius.bottomLeft.value/i,w=f+q/i,x=" 0 0,1 ",y=" 0 0,0 ",z=new a.core.Point(b,c),z.x+=(d-l)*Math.cos(s),z.y+=(d-l)*Math.sin(s),A="",A+="M "+z.x.toFixed(this.Fqb)+","+z.y.toFixed(this.Fqb),B=new a.core.Point(b,c),B.x+=(e+n)*Math.cos(s),B.y+=(e+n)*Math.sin(s),A+=" L "+B.x.toFixed(this.Fqb)+","+B.y.toFixed(this.Fqb),C=new a.core.Point(b,c),C.x+=e*Math.cos(s),C.y+=e*Math.sin(s),D=new a.core.Point(b,c),D.x+=e*Math.cos(u),D.y+=e*Math.sin(u),A+=" Q "+C.x.toFixed(this.Fqb)+","+C.y.toFixed(this.Fqb)+","+D.x.toFixed(this.Fqb)+","+D.y.toFixed(this.Fqb),E=new a.core.Point(b,c),E.x+=e*Math.cos(w),E.y+=e*Math.sin(w),y=Math.abs(w-u)>Math.PI?" 0 1,0 ":" 0 0,0 ",A+=" A "+e.toFixed(3)+","+e.toFixed(3)+y+E.x.toFixed(3)+","+E.y.toFixed(3),F=new a.core.Point(b,c),F.x+=e*Math.cos(f),F.y+=e*Math.sin(f),G=new a.core.Point(b,c),G.x+=(e+p)*Math.cos(f),G.y+=(e+p)*Math.sin(f),A+=" Q "+F.x.toFixed(this.Fqb)+","+F.y.toFixed(this.Fqb)+","+G.x.toFixed(this.Fqb)+","+G.y.toFixed(this.Fqb),H=new a.core.Point(b,c),H.x+=(d-r)*Math.cos(f),H.y+=(d-r)*Math.sin(f),A+=" L "+H.x.toFixed(this.Fqb)+","+H.y.toFixed(this.Fqb),I=new a.core.Point(b,c),I.x+=d*Math.cos(f),I.y+=d*Math.sin(f),J=new a.core.Point(b,c),J.x+=d*Math.cos(v),J.y+=d*Math.sin(v),A+=" Q "+I.x.toFixed(this.Fqb)+","+I.y.toFixed(this.Fqb)+","+J.x.toFixed(this.Fqb)+","+J.y.toFixed(this.Fqb),K=new a.core.Point(b,c),K.x+=d*Math.cos(t),K.y+=d*Math.sin(t),x=Math.abs(v-t)>Math.PI?" 0 1,1 ":" 0 0,1 ",A+=" A "+d.toFixed(3)+","+d.toFixed(3)+x+K.x.toFixed(3)+","+K.y.toFixed(3),L=new a.core.Point(b,c),L.x+=d*Math.cos(s),L.y+=d*Math.sin(s),A+=" Q "+L.x.toFixed(this.Fqb)+","+L.y.toFixed(this.Fqb)+","+z.x.toFixed(this.Fqb)+","+z.y.toFixed(this.Fqb),A+=" Z"))},d.Fqb=3,d);function d(){}b.YYb=c}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.HOb=function(a,b){return null!=a&&null!=b?a.zAa(b):null==a&&null==b},d.RQb=function(c){return null==c?null:(c.trim(),null==c?null:"none"==c?new b.ZYb({color:"none"}):null==a.core.ica.fromCss(c)?null:new b.ZYb({color:c}))},d.$Yb=function(a){if(null==a)return null;if(""==a.trim())return null;var b=a.match(/^\s*(\w*-\w*)\((.*)\)/);return null==b||"linear-gradient"!=b[1]?null:d.parseCssToLinearColor(b[2])},d.parseCssToLinearColor=function(a){var c,d,e,f,g=new b.L9a,h=a.split(RegExp(",(?![^()]*\\))")),i=h;if("to"==h[0].slice(0,2)){for(c=h[0].toLowerCase().split(" "),d="",e=0;e<c.length;e++)d+=c[e].substring(0,1).toUpperCase()+c[e].substring(1);h[0]=d}return"To"==h[0].slice(0,2)&&(g.angle=h[0],i=h.slice(1)),h[0].search("deg")==h[0].length-3&&(f=+h[0].slice(0,h[0].length-3),null!=f&&NaN!=f&&(g.angle=f),i=h.slice(1)),g.colorStops=i,g},d._Yb=function(a){if(null==a)return null;if(""==a.trim())return null;var b=a.match(/^\s*(\w*-\w*)\((.*)\)/);return null==b||"radial-gradient"!=b[1]?null:d.parseCssToRadialGradientColor(b[2])},d.parseCssToRadialGradientColor=function(c){var d,e,f=new b.M9a,g=c.split(RegExp(",(?![^()]*\\))")),h=c.match(/\s*((closest-side|closest-corner|farthest-side|farthest-corner)\s+)?(at(\s+)+((right|left|bottom|top|[\d.]+%)\s*){2})?/);return null!=h[2]&&("closest-side"==h[2]?f.extentKeyword=a.GradientExtentKeyword.ClosestSide:"closest-corner"==h[2]?f.extentKeyword=a.GradientExtentKeyword.ClosestCorner:"farthest-side"==h[2]?f.extentKeyword=a.GradientExtentKeyword.FarthestSide:"farthest-corner"==h[2]&&(f.extentKeyword=a.GradientExtentKeyword.FarthestCorner)),d=[],e=[],null!=h[3]&&h[3].split(" ").forEach(function(a){if(""!=a.trim()){if(a.search("%")==a.length-1){var b=+a.slice(0,a.length-1);if(null!=b&&!isNaN(b))return void d.push(b/100)}if(!isNaN(+a))return void d.push(+a/100);switch(a){case"top":case"bottom":case"left":case"right":e.push(a)}}}),(d.length||e.length)&&g.shift(),null!=d[0]&&(f.x0=f.x1=d[0]),null!=d[1]&&(f.y0=f.y1=d[1]),-1<e.indexOf("left")&&(f.x0=f.x1=0),-1<e.indexOf("right")&&(f.x0=f.x1=1),-1<e.indexOf("top")&&(f.y0=f.y1=0),-1<e.indexOf("bottom")&&(f.y0=f.y1=1),f.colorStops=g,f.v8a(),f},d.mXb=function(c){var e,f,g;if(null==c)return null;if("string"==typeof c){if(null==(c=c.trim()))return null;if(e=d.$Yb(c),null!=e)return e;if(f=d._Yb(c),null!=f)return f;if(g=d.RQb(c),null!=g)return g}else if("object"==typeof c){if(a.core.UOb.asEnum(c.type,a.ColorOptionType,!1)==a.ColorOptionType.Linear)return new b.L9a(c);if(a.core.UOb.asEnum(c.type,a.ColorOptionType,!1)==a.ColorOptionType.Radial)return new b.M9a(c);if(a.core.UOb.asEnum(c.type,a.ColorOptionType,!1)==a.ColorOptionType.CssColor)return new b.ZYb(c)}return null},d.QXb=function(c,e){var f,g,h,i,j,k;if(null==c)return e;if(Array.isArray(c)){for(f=[],g=0,h=c;g<h.length;g++)i=h[g],j=d.mXb(i),null!=j&&f.push(j);return f.length<=0?e:f}if(f=a.cPb.toEnum(a.Palette,c),isNaN(f))throw new b.OptionError(c);return k=a.Palette[f],a.models.Xza[k].map(function(a){return d.RQb(a)})},d.uVb=function(b,c){var d,e,f,g,h;if(null==b&&null==c)return!0;if(null==b||null==c)return!1;if(b.type!=c.type)return!1;if(b.type==a.ColorOptionType.CssColor&&c.type==a.ColorOptionType.CssColor)return b.color==c.color;if(b.type==a.ColorOptionType.Linear&&c.type==a.ColorOptionType.Linear){if(d=c,(g=b).angle!=d.angle)return!1;if(g.colorStops.length!=d.colorStops.length)return!1;for(e=g.colorStops.length,f=0;f<e;f++){if(g.colorStops[f].color!=d.colorStops[f].color)return!1;if(g.colorStops[f].stop!=d.colorStops[f].stop)return!1}return!0}if(b.type!=a.ColorOptionType.Radial||c.type!=a.ColorOptionType.Radial)return!1;if(d=c,(g=b).extentKeyword!=d.extentKeyword)return!1;if(g.position!=d.position)return!1;if(g.colorStops.length!=d.colorStops.length)return!1;for(h=g.colorStops.length,f=0;f<h;f++){if(g.colorStops[f].color!=d.colorStops[f].color)return!1;if(g.colorStops[f].stop!=d.colorStops[f].stop)return!1}return!0},d);function d(){}b.IOb=c}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c,d,e=(f.xP=function(a,b,c){return a+(b-a)*c},f.aZb=function(a,b,c,d){return this.xP(this.xP(a,b,d),this.xP(b,c,d),d)},f.bZb=function(a,b,c,d,e){return this.aZb(this.xP(a,b,e),this.xP(b,c,e),this.xP(c,d,e),e)},f);function f(){}g.prototype.WYb=function(a){
- return e.aZb(this.p1,this.p2,this.p3,a)},b=g;function g(a,b,c){this.p1=a,this.p2=b,this.p3=c}a.TYb=b,h.prototype.WYb=function(a){return e.bZb(this.p1,this.p2,this.p3,this.p4,a)},c=h;function h(a,b,c,d){this.p1=a,this.p2=b,this.p3=c,this.p4=d}a.cZb=c,i.prototype.WYb=function(a){return e.xP(this.p1,this.p2,a)},d=i;function i(a,b){this.p1=a,this.p2=b}a.SYb=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.ZXb=function(a){var b,c,d,e;if(null==a)return["r"];if("boolean"==typeof a)return a?["r"]:[];if("string"==typeof a)return[a];if(Array.isArray(a)){for(b=[],c=0,d=a;c<d.length;c++)e=d[c],"string"==typeof e&&0<e.trim().length&&b.push(e);return b}return null},c);function c(){}a.$Xb=b}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.aYb=function(b,c,d){if(null==b)return d;if("string"==typeof b){var e=c[b];if(null!=e)return e}else if("number"==typeof b&&null!=c[b])return b;throw new a.OptionError(b)},c);function c(){}a.bYb=b}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.HYb=function(c,d){if(null==c)return d;if("string"==typeof c){var e=a.cPb.toEnum(a.FontWeight,c);if(!isNaN(e))return c;if(e=parseFloat(c),!isNaN(e)&&e>this.MinFontWeight&&e<this.MaxFontWeight)return""+e}else if("number"==typeof c){if(e=a.cPb.toEnum(a.FontWeight,c),!isNaN(e))return a.FontWeight[c];if(!isNaN(c)&&c>this.MinFontWeight&&c<this.MaxFontWeight)return""+c}throw new b.OptionError(c)},d.MinFontWeight=50,d.MaxFontWeight=950,d);function d(){}b.IYb=c}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.sYb=function(b){if(null==b)return null;if(Array.isArray(b))return c.dZb(b,[]);if("object"==typeof b)return c.dZb([b],[]);throw new a.OptionError(b)},c.dZb=function(b,c){var d,e,f,g,h,i;for(d=[],e=-Number.MAX_VALUE,f=0,g=b;f<g.length;f++){if(h=g[f],i=new a.vYb(h),null==i)return d;if(!(i.to>e)){if(0<d.length&&null==i.to){d.push(i),e=i.to;break}break}d.push(i),e=i.to}return d.length<=0?c:d},c);function c(){}a.tYb=b}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.EYb=function(a,c){var d,e,f,g,h,i,j=[];if(null==a)return c;if("number"!=typeof a||isNaN(a))if("string"==typeof a)for(d=a.split(","),e=0,f=d.length;e<f;e++)if(g=d[e].trim(),null==g)j.push(null);else if("Auto"==g)j.push(null);else{if(h=parseInt(g),isNaN(h))throw new b.OptionError(a);j.push(h)}else Array.isArray(a)&&(j=a.map(function(c){if(null==c)return null;if("number"==typeof c&&!isNaN(c))return c;if("Auto"==c)return null;if("string"!=typeof c)throw new b.OptionError(a);var d=parseInt(c);if(isNaN(d))throw new b.OptionError(a);j.push(d)}));else j.push(a);for(e=0,i=j.length;e<i;e++)"number"==typeof(h=j[e])&&(h<-90?j[e]=-90:90<h&&(j[e]=90));return j},d.eZb=function(b){var c,e;if(null==b)return null;if("string"==typeof b){if(c=a.cPb.toEnum(a.GradientSideOrCorner,b),!isNaN(c))return d.fZb(c);if(e=parseFloat(b),!isNaN(e))return e}else if("number"==typeof b&&!isNaN(b))return b;return NaN},d.fZb=function(b){switch(b){case a.GradientSideOrCorner.ToLeft:return 270;case a.GradientSideOrCorner.ToRight:return 90;case a.GradientSideOrCorner.ToTop:return 360;case a.GradientSideOrCorner.ToBottom:return 180;case a.GradientSideOrCorner.ToLeftTop:return 315;case a.GradientSideOrCorner.ToRightTop:return 45;case a.GradientSideOrCorner.ToLeftBottom:return 225;case a.GradientSideOrCorner.ToRightBottom:return 135;default:return 0}},d);function d(){}b.FYb=c}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.Ph=function(a,b,c){var d,e,f,g;if(null==a)return c;for(d=[],e=0,f=Array.isArray(a)?a:[a];e<f.length;e++)g=b(f[e]),null==g?console.warn("The option setting {0} is unexcepted and ignored.",g):d.push(g);return d},c.gZb=function(a,b,c){var d,e,f,g;if(void 0===c&&(c=null),null==a)return c;for(d=[],e=0,f=Array.isArray(a)?a:[a];e<f.length;e++)g=b(f[e]),null==g?console.warn("The option setting {0} is unexcepted and ignored.",g):d.push(g);return 0<d.length?d:c},c.UXb=function(b,c){if(null==b)return c;if("string"==typeof b)return b;throw new a.OptionError(b)},c.hZb=function(b){if(null==b)return null;if("string"==typeof b)return b;throw new a.OptionError(b)},c.yYb=function(b){return"object"==typeof b?new a.WXb(b):null},c);function c(){}a.VXb=b}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.JYb=function(c){if(null==c)return null;if("object"==typeof c)return new b.S2a(c);var d=a.cPb.toEnum(a.OrderType,c);return null==d?new b.S2a({order:a.OrderType.None}):new b.S2a({order:d})},d);function d(){}b.KYb=c}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.iZb=function(c){if(null==c)return null;if("string"!=typeof c)return null;if(null==(c=c.trim()))return null;if("none"==c)return"none";if(null==a.core.ica.fromCss(c))throw new b.OptionError(c);return c},d.nYb=function(a){return null==a?[]:Array.isArray(a)?d.jZb(a,[]):"string"==typeof a?d.jZb(a.split(","),[]):[]},d.jZb=function(a,b){var c,e,f,g,h;if(null==a)return b;for(c=[],e=0,f=a;e<f.length;e++)g=f[e],h=d.iZb(g),null!=h&&c.push(h);return c.length<=0?b:c},d);function d(){}b.oYb=c}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.JOb=function(a,b){return a==b||null!=a&&null!=b&&a.left==b.left&&a.top==b.top&&a.right==b.right&&a.bottom==b.bottom},c);function c(){}a.KOb=b}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.tPb=function(a){var b,d,e,f,g;if(null==a)return[];if(Array.isArray(a)){for(b=[],d=0,e=a;d<e.length;d++)f=e[d],null!=(g=c.uPb(f))&&b.push(g);return b}return null!=(g=c.uPb(a))?[g]:[]},c.uPb=function(b){if(null==b)return null;if("string"==typeof b.field)return null!=(c=new a.vPb(b)).field?c:null;if("object"!=typeof b.field)return null;var c,d=b.type;return"string"==typeof d&&-1!=d.lastIndexOf("ValueEncodingOption")?b:null!=(c=new a.MYb(b)).field?c:null},c);function c(){}a.GYb=b}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.eYb=function(c){var e,f,g;if(null==c)return null;if("string"==typeof c){if(e=d.i1a(c),!isNaN(e))return new b.EXb({type:a.ValueOptionType.Pixel,value:e})}else{if("number"==typeof c&&!isNaN(c))return new b.EXb({type:a.ValueOptionType.Pixel,value:c});if("object"==typeof c&&(f=a.cPb.toEnum(a.ValueOptionType,c.type),f==a.ValueOptionType.Pixel&&(g=a.core.UOb.asNumber(c.value,!0,!1),null!=g&&!isNaN(g))))return new b.EXb({type:f,value:g})}return null},d.DXb=function(c){var e,f,g,h;if(null==c)return null;if("string"==typeof c){if(e=d.i1a(c),!isNaN(e))return new b.EXb({type:a.ValueOptionType.Pixel,value:e});if(f=d.kZb(c),!isNaN(f))return f<0&&(f=1),new b.EXb({type:a.ValueOptionType.Percentage,value:f})}else{if("number"==typeof c&&!isNaN(c))return c<0&&(c=1),new b.EXb({type:a.ValueOptionType.Percentage,value:c});if("object"==typeof c&&(g=a.cPb.toEnum(a.ValueOptionType,c.type),(g==a.ValueOptionType.Percentage||g==a.ValueOptionType.Pixel)&&(h=a.core.UOb.asNumber(c.value,!0,!1),null!=h&&!isNaN(h))))return h<0&&g==a.ValueOptionType.Percentage&&(h=1),new b.EXb({type:g,value:h})}return null},d.wYb=function(c){var e,f,g,h,i;if(null==c)return null;if("string"==typeof c){if(e=d.lZb(c),!isNaN(e))return new b.EXb({type:a.ValueOptionType.Available,value:e});if(f=d.i1a(c),!isNaN(f))return new b.EXb({type:a.ValueOptionType.Pixel,value:f});if(g=d.mZb(c),!isNaN(g))return new b.EXb({type:a.ValueOptionType.Pixel,value:g})}else{if("number"==typeof c&&!isNaN(c))return new b.EXb({type:a.ValueOptionType.Pixel,value:c});if("object"==typeof c&&(h=a.cPb.toEnum(a.ValueOptionType,c.type),(h==a.ValueOptionType.Available||h==a.ValueOptionType.Pixel)&&(i=a.core.UOb.asNumber(c.value,!0,!1),null!=i&&!isNaN(i))))return new b.EXb({type:h,value:i})}return null},d.cYb=function(c){var e,f,g,h,i;if(null==c)return null;if("string"==typeof c){if(null!=(i=a.cPb.toEnum(a.HeaderFooterWidthOptionType,c))&&!isNaN(i))return new b.EXb({type:a.ValueOptionType.Enum,value:i});if(e=d.i1a(c),!isNaN(e))return new b.EXb({type:a.ValueOptionType.Pixel,value:e});if(f=d.kZb(c),!isNaN(f))return new b.EXb({type:a.ValueOptionType.Percentage,value:f})}else{if("number"==typeof c&&!isNaN(c))return new b.EXb({type:a.ValueOptionType.Pixel,value:c});if("object"==typeof c)if(g=a.cPb.toEnum(a.ValueOptionType,c.type),g==a.ValueOptionType.Percentage||g==a.ValueOptionType.Pixel){if(h=a.core.UOb.asNumber(c.value,!0,!1),null!=h&&!isNaN(h))return new b.EXb({type:g,value:h})}else if(g==a.ValueOptionType.Enum&&null!=(i=a.cPb.toEnum(a.HeaderFooterWidthOptionType,c.value))&&!isNaN(i))return new b.EXb({type:g,value:i})}return null},d.AXb=function(c){return null==c?null:"number"!=typeof c||isNaN(c)?c instanceof Date?new b.EXb({type:a.ValueOptionType.Date,value:c.getTime()}):null:new b.EXb({type:a.ValueOptionType.Number,value:c})},d.i1a=function(a){return(a=a.trim()).toLowerCase().indexOf("px")==a.length-2?parseFloat(a.substr(0,a.length-2)):NaN},d.kZb=function(a){return(a=a.trim()).toLowerCase().indexOf("%")==a.length-1?parseFloat(a.substr(0,a.length-1)):NaN},d.lZb=function(a){return(a=a.trim()).toLowerCase().indexOf("*")==a.length-1?parseFloat(a.substr(0,a.length-1)):NaN},d.mZb=function(a){return a=a.trim(),parseFloat(a)},d);function d(){}b.BXb=c}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),e.prototype.zAa=function(a){return this.stop===a.stop&&this.color===a.color},Object.defineProperty(e.prototype,"color",{get:function(){return this.oCa},set:function(b){this.oCa!=b&&(this.oCa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"stop",{get:function(){return this.O9a},set:function(b){this.O9a!=b&&(this.O9a=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),e.prototype.N9a=function(b){var c,d,e=b.lastIndexOf(" ");return-1==e?{color:a.core.ica.fromCss(b).toCss(),stop:null}:(c=a.core.ica.fromCss(b.slice(0,e).trim()),null==c?null:(d=b.slice(e+1),"%"==d?{color:c.toCss(),stop:null}:"%"==d[d.length-1]?{color:c.toCss(),stop:+d.slice(0,d.length-1)/100}:{color:c.toCss(),stop:+d}))},e);function e(a){var b=c.call(this,a)||this;return"string"==typeof a&&(a=b.N9a(a.trim())),null!=a&&"object"==typeof a&&(b.color=a.color,b.stop=a.stop),b}b.b5a=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),e.prototype.zAa=function(a){return a instanceof e&&a.color===this.color},Object.defineProperty(e.prototype,"color",{get:function(){return this.oCa},set:function(b){this.oCa!=b&&(this.oCa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),e);function e(b){var d=c.call(this,b)||this;return d.type=a.ColorOptionType.CssColor,d.color=d.$z().color,d}b.ZYb=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"colorStops",{get:function(){return this.I8a},set:function(a){var c,d,e,f;if((null==this.I8a||this.I8a!=a)&&(this.I8a=[],null!=a))for(Array.isArray(a)||(a=[a]),c=0,d=a;c<d.length;c++)e=d[c],f=new b.b5a(e),null!=f&&null!=f.color&&this.I8a.push(f)},enumerable:!0,configurable:!0}),e.prototype.zAa=function(a){return a instanceof e&&this.angle==a.angle&&this.isColorStopEquals(this.colorStops,a.colorStops)},e.prototype.isColorStopEquals=function(a,b){if(a==b)return!0;if(a.length!=b.length)return!1;for(var c=0;c<a.length;++c)if(!a[c].zAa(b[c]))return!1;return!0},Object.defineProperty(e.prototype,"angle",{get:function(){return this.P9a},set:function(a){if(null!=this.P9a&&this.P9a!=a)if(null==a)this.P9a;else{var c=b.FYb.eZb(a);if(isNaN(c))throw new b.OptionError(a);this.P9a=c}},enumerable:!0,configurable:!0}),e);function e(b){var d=c.call(this,b)||this;return d.I8a=[],d.P9a=180,d.type=a.ColorOptionType.Linear,d.angle=d.$z().angle,d.colorStops=d.$z().colorStops,d}b.L9a=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),e.prototype.zAa=function(a){return a instanceof e&&this.extentKeyword==a.extentKeyword&&this.position==a.position&&this.isColorStopEquals(this.colorStops,a.colorStops)},e.prototype.isColorStopEquals=function(a,b){if(a==b)return!0;if(a.length!=b.length)return!1;for(var c=0;c<a.length;++c)if(!a[c].zAa(b[c]))return!1;return!0},Object.defineProperty(e.prototype,"colorStops",{get:function(){return this.I8a},set:function(a){var c,d,e,f;if((null==this.I8a||this.I8a!=a)&&(this.I8a=[],null!=a))for(Array.isArray(a)||(a=[a]),c=0,d=a;c<d.length;c++)e=d[c],f=new b.b5a(e),null!=f&&null!=f.color&&this.I8a.push(f)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"extentKeyword",{get:function(){return this.S9a},set:function(b){null!=b&&this.S9a!=b&&(this.S9a=a.core.UOb.asEnum(b,a.GradientExtentKeyword,!0),this.v8a())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"position",{get:function(){return this.nEa},set:function(b){if(null!=b&&this.nEa!=b)switch(this.nEa=a.core.UOb.asEnum(b,a.GradientPosition,!0),this.position){case a.GradientPosition.Center:this.T9a();break;case a.GradientPosition.Left:this.U9a();break;case a.GradientPosition.Right:this.V9a();break;case a.GradientPosition.Top:this.W9a();break;case a.GradientPosition.Bottom:this.X9a();break;case a.GradientPosition.LeftTop:this.U9a(),this.W9a();break;case a.GradientPosition.LeftBottom:this.U9a(),this.X9a();break;case a.GradientPosition.RightTop:this.V9a(),this.W9a();break;case a.GradientPosition.RightBottom:this.V9a(),this.X9a()}},enumerable:!0,configurable:!0}),e.prototype.v8a=function(){var b=Math.min(this.x0,1-this.x0),c=Math.min(this.y0,1-this.y0);switch(this.S9a){case a.GradientExtentKeyword.ClosestSide:this.r0=this.r1=Math.min(b,c);break;case a.GradientExtentKeyword.ClosestCorner:this.r0=this.r1=Math.sqrt(b*b+c*c);break;case a.GradientExtentKeyword.FarthestSide:this.r0=this.r1=Math.max(1-b,1-c);break;case a.GradientExtentKeyword.FarthestCorner:this.r0=this.r1=Math.sqrt((1-b)*(1-b)+(1-c)*(1-c))}},e.prototype.Y9a=function(a,b){null!=a[0]&&(this.x0=this.x1=a[0]),null!=a[1]&&(this.y0=this.y1=a[1]),-1<b.indexOf("left")&&this.U9a(),-1<b.indexOf("right")&&this.V9a(),-1<b.indexOf("top")&&this.W9a(),-1<b.indexOf("bottom")&&this.X9a()},e.prototype.X9a=function(){this.y0=this.y1=1},e.prototype.W9a=function(){this.y0=this.y1=0},e.prototype.U9a=function(){this.x0=this.x1=0},e.prototype.V9a=function(){this.x0=this.x1=1},e.prototype.T9a=function(){this.x0=this.x1=this.y0=this.y1=.5},e);function e(b){var d=c.call(this,b)||this;return d.x0=.5,d.y0=.5,d.r0=.5,d.x1=.5,d.y1=.5,d.r1=.5,d.I8a=[],d.S9a=a.GradientExtentKeyword.FarthestCorner,d.nEa=a.GradientPosition.Center,d.type=a.ColorOptionType.Radial,d.position=d.$z().position,d.extentKeyword=d.$z().extentKeyword,d.colorStops=d.$z().colorStops,d}b.M9a=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"text",{get:function(){return this.dGa},set:function(b){null!=b&&(this.dGa=a.core.UOb.asString(b))},enumerable:!0,configurable:!0}),Object.defineProperty(e.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}),e);function e(a){var b=c.call(this,a)||this;return b.text=b.$z().text,b.textStyle=b.$z().textStyle,b}b.Vwb=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=function(a,b){this.plotName=a,this.type=b};b.MergeLegendType=d,e.nZb=function(c){var e,f="wrong format for merge legend option.";return a.ePb.dPb("string"==typeof c,f),e=c.split(".").map(function(a){return a.trim()}),a.ePb.dPb(2==e.length&&null!=e[0]&&null!=e[1],f),new d(e[0],b.bYb.aYb(e[1],a.LegendType,null))},e.qYb=function(a){var b,c,d,f,g=[];for("string"==typeof a?b=a.split(","):Array.isArray(a)&&(b=a),c=function(a){var b=e.nZb(a);return g.some(function(a){return a.plotName===b.plotName&&a.type===b.type})?"continue":void(null!=b&&g.push(b))},d=0,f=b;d<f.length;d++)c(f[d]);return g},c=e;function e(){}b.rYb=c}(a.options||(a.options={}))}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=Error,__extends(d,b),d.oZb=function(a,b){return null==a?null==b?"Unexpected null value.":b:"number"==typeof a&&isNaN(a)?null==b?"Unexpected NaN value.":b:(b="Unexpected option value: ","string"==typeof a?b+a:b+(""+a))},d);function d(a,c){return void 0===c&&(c=null),b.call(this,d.oZb(a,c))||this}a.OptionError=c}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"valueField",{get:function(){return this.xBb},set:function(a){this.xBb!=a&&(this.xBb=a)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"key",{get:function(){return this.m1a},set:function(a){this.m1a!=a&&(this.m1a=a)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.REa},set:function(b){null!=b&&this.REa!=b&&(this.REa=a.core.UOb.asNumber(b,!0),1<this.REa?this.REa=1:this.REa<0&&(this.REa=0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cluster",{get:function(){return this.pZb},set:function(b){null!=b&&this.pZb!=b&&(this.pZb=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.valueField=b.$z().valueField,b.key=b.$z().key,b.width=b.$z().width,b.cluster=b.$z().cluster,b}b.qZb=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"width",{get:function(){return this.REa},set:function(b){null!=b&&this.REa!=b&&(this.REa=a.core.UOb.asNumber(b,!0),1<this.REa?this.REa=1:this.REa<0&&(this.REa=0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bottomWidth",{get:function(){return this.SEa},set:function(a){null!=a&&this.SEa!=a&&(this.SEa=a)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"topWidth",{get:function(){return this.$qb},set:function(b){null!=b&&this.$qb!=b&&(this.$qb=a.core.UOb.asNumber(b,!0),1<this.$qb?this.$qb=1:this.REa<0&&(this.$qb=0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"neckHeight",{get:function(){return this.TEa},set:function(a){null!=a&&this.TEa!=a&&(this.TEa=a)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"overlap",{get:function(){return this.UEa},set:function(b){null!=this.UEa&&this.UEa==b||(this.UEa=a.core.UOb.asNumber(b,!0),null==this.UEa?this.UEa=0:1<this.UEa?this.UEa=1:this.UEa<-1&&(this.UEa=-1))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"borderRadius",{get:function(){return this.nXb},set:function(a){null!=this.nXb&&this.nXb==a||(this.nXb=new b.oXb(a))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.topWidth=b.$z().topWidth,b.width=b.$z().width,b.bottomWidth=b.$z().bottomWidth,b.neckHeight=b.$z().neckHeight,b.overlap=b.$z().overlap,b.borderRadius=b.$z().borderRadius,b}b.VEa=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"width",{get:function(){return this.REa},set:function(b){null!=b&&this.REa!=b&&(this.REa=a.core.UOb.asNumber(b,!0),1<this.REa?this.REa=1:this.REa<0&&(this.REa=0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"overlap",{get:function(){return this.Oib},set:function(b){null!=this.Oib&&this.Oib==b||(this.Oib=a.core.UOb.asNumber(b,!0),1<this.Oib?this.Oib=1:this.Oib<-1&&(this.Oib=-1))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"groups",{get:function(){return this.j4a},set:function(a){var c,d,e;if((null==this.j4a||this.j4a!=a)&&(this.j4a=[],null!=a))for(Array.isArray(a)||(a=[a]),c=0,d=a;c<d.length;c++)e=d[c],this.j4a.push(new b.qZb(e))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.width=b.$z().width,b.overlap=b.$z().overlap,b.groups=b.$z().groups,b}b.CYb=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"format",{get:function(){return this.qEa},set:function(b){null!=this.qEa&&this.qEa==b||(this.qEa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"categoryStyle",{get:function(){return this.$9a},set:function(a){null!=this.$9a&&this.$9a==a||(this.$9a=new b.wEa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"symbolSpace",{get:function(){return this._9a},set:function(b){null!=this._9a&&this._9a==b||(this._9a=a.core.UOb.asNumber(b,!0,!0),null==this._9a&&(this._9a=0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"seriesSpace",{get:function(){return this.aab},set:function(b){null!=this.aab&&this.aab==b||(this.aab=a.core.UOb.asNumber(b,!0,!0),null==this.aab&&(this.aab=0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"categorySpace",{get:function(){return this.bab},set:function(b){null!=this.bab&&this.bab==b||(this.bab=a.core.UOb.asNumber(b,!0,!0),null==this.bab&&(this.bab=0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dimensionSpace",{get:function(){return this.cab},set:function(b){null!=this.cab&&this.cab==b||(this.cab=a.core.UOb.asNumber(b,!0,!0),null==this.cab&&(this.cab=0))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.format=b.$z().format,b.categoryStyle=b.$z().categoryStyle,b.symbolSpace=b.$z().symbolSpace,b.seriesSpace=b.$z().seriesSpace,b.categorySpace=b.$z().categorySpace,b.dimensionSpace=b.$z().dimensionSpace,b}b.s9a=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.wEa,__extends(d,b),Object.defineProperty(d.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}),d);function d(a){var c=b.call(this,a)||this;return c.padding=c.$z().padding,c}a.yRa=c}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.AFa,__extends(d,b),Object.defineProperty(d.prototype,"adorners",{get:function(){return this.CGa},set:function(b){null!=this.CGa&&this.CGa==b||(this.CGa=a.qPb.PBa(b,!1))},enumerable:!0,configurable:!0}),d.prototype.pXb=function(a){return b.prototype.pXb.call(this,a),null!=a&&null!=a.adorners&&(this.adorners=a.adorners),this},d);function d(a){var c=b.call(this,a)||this;return c.adorners=c.$z().adorners,c}a.vAa=c}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.wEa,__extends(d,b),d);function d(a){return b.call(this,a)||this}a.SXb=c}(a.options||(a.options={}))}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.S8a,__extends(d,b),Object.defineProperty(d.prototype,"steps",{get:function(){return this.dab},set:function(a){var b,c,d,e;if(this.dab!=a)if(null==a)this.dab=null;else if(Array.isArray(a)){for(b=[],c=0,d=a;c<d.length;c++)e=d[c],"number"==typeof e&&b.push(e);0<b.length&&(this.dab=b)}},enumerable:!0,configurable:!0}),d);function d(a){var c=b.call(this,a)||this;return c.steps=c.$z().steps,c}a.S3a=c}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"bin",{get:function(){return this.eab},set:function(a){null!=this.eab&&this.eab==a||(null==a?this.eab=null:"boolean"==typeof a?this.eab=a?new b.S3a({steps:[]}):null:"object"==typeof a&&(this.eab=new b.S3a(a)))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"field",{get:function(){return this.oBa},set:function(b){this.oBa!=b&&(this.oBa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputAs",{get:function(){return this.rZb},set:function(b){this.rZb!=b&&(this.rZb=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.bin=b.$z().bin,b.field=b.$z().field,b.outputAs=b.$z().outputAs,b}b.A2a=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){"use strict";var b;(b=a.AnnotationAttachment||(a.AnnotationAttachment={}))[b.DataPoint=0]="DataPoint",b[b.PlotCoordinate=1]="PlotCoordinate",b[b.ClientCoordinate=2]="ClientCoordinate"}(dv=dv||{}),function(a){"use strict";var b;(b=a.AnnotationPosition||(a.AnnotationPosition={}))[b.Center=0]="Center",b[b.Inside=1]="Inside",b[b.Outside=2]="Outside"}(dv=dv||{}),function(a){"use strict";var b;(b=a.AnnotationType||(a.AnnotationType={}))[b.Rectangle=0]="Rectangle",b[b.Ellipse=1]="Ellipse",b[b.Line=2]="Line",b[b.Image=3]="Image",b[b.Text=4]="Text",b[b.Polygon=5]="Polygon",b[b.Path=6]="Path"}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.CTb,__extends(d,b),d.prototype.$z=function(){return this.option},d.prototype.queryInterface=function(b){return"IOverlayViewBuilder"==b?new a.sZb(this):"IOverlayLegendItemsBuilder"==b?new a.tZb(this):null},d);function d(a){return b.call(this,a)||this}a.uZb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.DTb,__extends(e,c),e.prototype.f3a=function(){return c.prototype.f3a.call(this)},e.prototype.build=function(b,c){return c instanceof a.vZb?c.wZb(b):null},e);function e(a){return c.call(this,a)||this}b.tZb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.ETb,__extends(e,c),e.prototype.f3a=function(){return c.prototype.f3a.call(this)},e.prototype.build=function(b){var c=this.f3a().$z().pointPath;if(c)if(null!=a.xZb.ucb(c)){if(!(b instanceof a.tbb)&&b instanceof a.u4a)return new a.yZb(b,this.f3a())}else if(null!=a.PointPathExpression.ucb(c)&&!(b instanceof a.tbb)&&b instanceof a.u4a)return new a.zZb(b,this.f3a());return null},e.prototype.queryInterface=function(a){return this.f3a().queryInterface(a)},e);function e(a){return c.call(this,a)||this}b.sZb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.j9a,__extends(e,c),Object.defineProperty(e.prototype,"placement",{get:function(){return null==this.DYb&&(this.DYb=a.Placement.Auto),this.DYb},set:function(b){this.DYb!=b&&(this.DYb=a.core.UOb.asEnum(b,a.Placement,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"position",{get:function(){return null==this.nEa&&(this.nEa=a.AnnotationPosition.Outside),this.nEa},set:function(b){this.nEa!=b&&(this.nEa=a.core.UOb.asEnum(b,a.AnnotationPosition,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pointPath",{get:function(){return this.D9a},set:function(b){this.D9a!=b&&(this.D9a=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"style",{get:function(){return this.tEa},set:function(c){this.tEa!=c&&(a.ePb.dPb("object"==typeof c||null==c,"wrong format for style."),this.tEa=new b.AZb(c))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return this.hRa},set:function(b){this.hRa!=b&&(this.hRa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offset",{get:function(){return this.rCa},set:function(b){this.rCa!=b&&(this.rCa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.offset=b.$z().offset,b.label=b.$z().label,b.style=b.$z().style,b.pointPath=b.$z().pointPath,b.position=b.$z().position,b.placement=b.option().placement,b}b.BZb=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"opacity",{get:function(){return this.qFa},set:function(b){this.qFa!=b&&(this.qFa=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeOpacity",{get:function(){return this.c9a},set:function(b){this.c9a!=b&&(this.c9a=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fill",{get:function(){return this.rFa},set:function(a){if(null==this.rFa||this.rFa!=a)if(this.kXb(a))this.rFa=null;else{if(null==b.IOb.mXb(a))throw new b.OptionError(a);this.rFa=b.IOb.mXb(a)}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this.hFa},set:function(a){if(null==this.hFa||this.hFa!=a)if(this.kXb(a))this.hFa=null;else{if(null==b.IOb.mXb(a))throw new b.OptionError(a);this.hFa=b.IOb.mXb(a)}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"stroke",{get:function(){return this.sFa},set:function(a){if(null==this.sFa||this.sFa!=a)if(this.kXb(a))this.sFa=null;else{if(null==b.IOb.mXb(a))throw new b.OptionError(a);this.sFa=b.IOb.mXb(a)}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeWidth",{get:function(){return this.tFa},set:function(b){this.tFa!=b&&(this.tFa=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeDasharray",{get:function(){return this.uFa;
- },set:function(b){this.uFa!=b&&(this.uFa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.opacity=b.$z().opacity,b.strokeOpacity=b.$z().strokeOpacity,b.fill=b.$z().fill,b.backgroundColor=b.$z().backgroundColor,b.stroke=b.$z().stroke,b.strokeWidth=b.$z().strokeWidth,b.strokeDasharray=b.$z().strokeDasharray,b}b.AZb=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.BZb,__extends(e,c),Object.defineProperty(e.prototype,"lineCap",{get:function(){return null==this.CZb&&(this.CZb=a.LineCap.Butt),this.CZb},set:function(b){this.CZb!=b&&(this.CZb=a.core.UOb.asEnum(b,a.LineCap,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lineJoin",{get:function(){return null==this.DZb&&(this.DZb=a.LineJoin.Miter),this.DZb},set:function(b){this.DZb!=b&&(this.DZb=a.core.UOb.asEnum(b,a.LineJoin,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"join",{get:function(){return this.EZb},set:function(b){this.EZb!=b&&(this.EZb=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fillType",{get:function(){return null==this.FZb&&(this.FZb=a.PathFillType.Nonzero),this.FZb},set:function(b){this.FZb!=b&&(this.FZb=a.core.UOb.asEnum(b,a.PathFillType,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return this.k1a},set:function(b){var c,d,e;if(null!=b)if(a.ePb.dPb(Array.isArray(b)||"string"==typeof b,"wrong path format for path annotation."),Array.isArray(b))for(this.k1a=[],c=0,d=b;c<d.length;c++)e=d[c],this.k1a.push(a.core.UOb.asString(e,!1));else this.k1a=[b]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"angle",{get:function(){return this.P9a},set:function(b){this.P9a!=b&&(this.P9a=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.Z8a},set:function(b){this.Z8a!=b&&(this.Z8a=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.REa},set:function(b){this.REa!=b&&(this.REa=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.width=b.$z().width,b.height=b.$z().height,b.angle=b.$z().angle,b.fillType=b.$z().fillType,b.path=b.$z().path,b.join=b.$z().join,b.lineCap=b.$z().lineCap,b.lineJoin=b.$z().lineJoin,b}b.GZb=d,b.HZb=function(a){return a instanceof d}}(a.options||(a.options={}))}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"type",{get:function(){return"Path"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b,c){if(null!=c&&null!=b){if(a.options.HZb(c)){var d=c;return new a.models.uZb(d)}if(c.type===this.type)return d=new a.options.GZb(c.option()),new a.models.uZb(d)}return null},d);function d(){}b.PathOverlayPlugin=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.BZb,__extends(e,c),Object.defineProperty(e.prototype,"height",{get:function(){return this.Z8a},set:function(b){this.Z8a!=b&&(this.Z8a=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.REa},set:function(b){this.REa!=b&&(this.REa=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"angle",{get:function(){return this.P9a},set:function(b){this.P9a!=b&&(this.P9a=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.width=b.$z().width,b.height=b.$z().height,b.angle=b.$z().angle,b}b.IZb=d,b.JZb=function(a){return a instanceof d}}(a.options||(a.options={}))}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"type",{get:function(){return"Ellipse"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b,c){if(null!=c&&null!=b){if(a.options.JZb(c)){var d=c;return new a.models.uZb(d)}if("Ellipse"===c.type)return d=new a.options.IZb(c.option()),new a.models.uZb(d)}return null},d);function d(){}b.KZb=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.BZb,__extends(e,c),Object.defineProperty(e.prototype,"height",{get:function(){return this.Z8a},set:function(b){this.Z8a!=b&&(this.Z8a=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.REa},set:function(b){this.REa!=b&&(this.REa=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"angle",{get:function(){return this.P9a},set:function(b){this.P9a!=b&&(this.P9a=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"source",{get:function(){return this.LZb},set:function(b){this.LZb!=b&&(this.LZb=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.width=b.$z().width,b.height=b.$z().height,b.angle=b.$z().angle,b.source=b.$z().source,b}b.MZb=d,b.NZb=function(a){return a instanceof d}}(a.options||(a.options={}))}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"type",{get:function(){return"Image"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b,c){if(null==c||null==b)return null;if(a.options.NZb(c)){var d=c;return new a.models.uZb(d)}return c.type!==this.type?null:(d=new a.options.MZb(c.option()),new a.models.uZb(d))},d);function d(){}b.OZb=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.uZb,__extends(d,b),d.prototype.$z=function(){return this.option},d.prototype.queryInterface=function(b){return"IOverlayViewBuilder"==b?new a.PZb(this):"IOverlayLegendItemsBuilder"==b?new a.QZb(this):null},d);function d(a){return b.call(this,a)||this}a.RZb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.DTb,__extends(e,c),e.prototype.f3a=function(){return c.prototype.f3a.call(this)},e.prototype.build=function(b,c){return c instanceof a.vZb?c.wZb(b):[]},e);function e(a){return c.call(this,a)||this}b.QZb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.ETb,__extends(e,c),e.prototype.f3a=function(){return c.prototype.f3a.call(this)},e.prototype.build=function(b){return"Line"===this.f3a().$z().type&&!(b instanceof a.tbb)&&b instanceof a.u4a?new a.SZb(b,this.f3a()):null},e.prototype.queryInterface=function(a){return this.f3a().queryInterface(a)},e);function e(a){return c.call(this,a)||this}b.PZb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.BZb,__extends(e,c),Object.defineProperty(e.prototype,"start",{get:function(){return this.IMa},set:function(b){this.IMa!=b&&(this.IMa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this.JMa},set:function(b){this.JMa!=b&&(this.JMa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.start=b.$z().start,b.end=b.$z().end,b}b.TZb=d,b.UZb=function(a){return a instanceof d}}(a.options||(a.options={}))}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"type",{get:function(){return"Line"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b,c){if(null!=c&&null!=b){if(a.options.UZb(c)){var d=c;return new a.models.RZb(d)}if(c.type===this.type)return d=new a.options.TZb(c.option()),new a.models.RZb(d)}return null},d);function d(){}b.VZb=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.uZb,__extends(d,b),d.prototype.$z=function(){return this.option},d.prototype.queryInterface=function(b){return"IOverlayViewBuilder"==b?new a.WZb(this):"IOverlayLegendItemsBuilder"==b?new a.XZb(this):null},d);function d(a){return b.call(this,a)||this}a.YZb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.DTb,__extends(e,c),e.prototype.f3a=function(){return c.prototype.f3a.call(this)},e.prototype.build=function(b,c){return c instanceof a.vZb?c.wZb(b):[]},e);function e(a){return c.call(this,a)||this}b.XZb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.ETb,__extends(e,c),e.prototype.f3a=function(){return c.prototype.f3a.call(this)},e.prototype.build=function(b){return"Needle"===this.f3a().$z().type&&!(b instanceof a.tbb)&&b instanceof a.u4a?new a.SZb(b,this.f3a()):null},e.prototype.queryInterface=function(a){return this.f3a().queryInterface(a)},e);function e(a){return c.call(this,a)||this}b.WZb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.BZb,__extends(e,c),Object.defineProperty(e.prototype,"endOffset",{get:function(){return this.ZZb},set:function(b){this.ZZb!=b&&(this.ZZb=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.REa},set:function(b){this.REa!=b&&(this.REa=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"start",{get:function(){return this.IMa},set:function(b){this.IMa!=b&&(this.IMa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this.JMa},set:function(b){this.JMa!=b&&(this.JMa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.start=b.$z().start,b.end=b.$z().end,b.width=b.$z().width,b.endOffset=b.option().endOffset,b}b.$Zb=d,b._Zb=function(a){return a instanceof d}}(a.options||(a.options={}))}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"type",{get:function(){return"Needle"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b,c){if(null!=c&&null!=b){if(a.options._Zb(c)){var d=c;return new a.models.YZb(d)}if(c.type===this.type)return d=new a.options.$Zb(c.option()),new a.models.YZb(d)}return null},d);function d(){}b.NeedleOverlayPlugin=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.BZb,__extends(e,c),Object.defineProperty(e.prototype,"height",{get:function(){return this.Z8a},set:function(b){this.Z8a!=b&&(this.Z8a=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.REa},set:function(b){this.REa!=b&&(this.REa=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"angle",{get:function(){return this.P9a},set:function(b){this.P9a!=b&&(this.P9a=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.width=b.$z().width,b.height=b.$z().height,b.angle=b.$z().angle,b}b.a$b=d,b.b$b=function(a){return a instanceof d}}(a.options||(a.options={}))}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"type",{get:function(){return"Rectangle"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b,c){if(null!=c&&null!=b){if(a.options.b$b(c)){var d=c;return new a.models.uZb(d)}if("Rectangle"===c.type)return d=new a.options.a$b(c.option()),new a.models.uZb(d)}return null},d);function d(){}b.c$b=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.uZb,__extends(d,b),d.prototype.$z=function(){return this.option},d.prototype.queryInterface=function(b){return"IOverlayViewBuilder"==b?new a.d$b(this):"IOverlayLegendItemsBuilder"==b?new a.e$b(this):null},d);function d(a){return b.call(this,a)||this}a.f$b=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.DTb,__extends(e,c),e.prototype.f3a=function(){return c.prototype.f3a.call(this)},e.prototype.build=function(b,c){return c instanceof a.vZb?c.wZb(b):[]},e);function e(a){return c.call(this,a)||this}b.e$b=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.ETb,__extends(e,c),e.prototype.f3a=function(){return c.prototype.f3a.call(this)},e.prototype.build=function(b){var c,d=this.f3a().$z();if("Text"===d.type&&(c=d.pointPath))if(null!=a.xZb.ucb(c)){if(!(b instanceof a.tbb)&&b instanceof a.u4a)return new a.g$b(b,this.f3a())}else if(null!=a.PointPathExpression.ucb(c)){if(b instanceof a.tbb)return new a.h$b(b,this.f3a());if(b instanceof a.u4a)return new a.i$b(b,this.f3a())}return null},e.prototype.queryInterface=function(a){return this.f3a().queryInterface(a)},e);function e(a){return c.call(this,a)||this}b.d$b=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.BZb,__extends(e,c),Object.defineProperty(e.prototype,"text",{get:function(){return this.dGa},set:function(b){this.dGa!=b&&(this.dGa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.REa},set:function(b){this.REa!=b&&(this.REa=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"angle",{get:function(){return this.P9a},set:function(b){this.P9a!=b&&(this.P9a=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textStyle",{get:function(){return null==this.vEa&&(this.vEa=new b.wEa(null)),this.vEa},set:function(c){null!=c&&(a.ePb.dPb("object"==typeof c,"wrong format for text style."),this.vEa=new b.wEa(c))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.width=b.$z().width,b.angle=b.$z().angle,b.textStyle=b.$z().textStyle,b.text=b.$z().text,b}b.j$b=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.j$b,__extends(e,c),Object.defineProperty(e.prototype,"groupName",{get:function(){return this.k$b},set:function(b){this.k$b!=b&&(this.k$b=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"margin",{get:function(){return null==this.fYb&&(this.fYb=new b.bOa(0)),this.fYb},set:function(a){null!=a&&(this.fYb=new b.bOa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"padding",{get:function(){return null==this.cOa&&(this.cOa=new b.bOa(0)),this.cOa},set:function(a){null!=a&&(this.cOa=new b.bOa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"symbol",{get:function(){return this.iRa},set:function(a){"object"==typeof a&&(this.iRa=new b.l$b(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"groupAlign",{get:function(){return this.m$b},set:function(b){this.m$b!=b&&(this.m$b=a.core.UOb.asEnum(b,a.AnnotationAlign,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hAlign",{get:function(){return null==this.xGa&&(this.xGa=a.AnnotationAlign.Center),this.xGa},set:function(b){this.xGa!=b&&(this.xGa=a.core.UOb.asEnum(b,a.AnnotationAlign,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"vAlign",{get:function(){return null==this.f9a&&(this.f9a=a.AnnotationAlign.Middle),this.f9a},set:function(b){this.f9a!=b&&(this.f9a=a.core.UOb.asEnum(b,a.AnnotationAlign,!0))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.vAlign=b.$z().vAlign,b.hAlign=b.$z().hAlign,b.groupAlign=b.$z().groupAlign,b.groupName=b.$z().groupName,b.symbol=b.option().symbol,b}b.n$b=d,b.o$b=function(a){return a instanceof d}}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"space",{get:function(){return this.p$b},set:function(b){this.p$b!=b&&(this.p$b=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.Z8a},set:function(b){this.Z8a!=b&&(a.core.assert(null==b||"number"==typeof b&&0<=b,"wrong format for height."),this.Z8a=b)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.REa},set:function(b){this.REa!=b&&(a.core.assert(null==b||"number"==typeof b&&0<=b,"wrong format for width."),this.REa=b)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"style",{get:function(){return null==this.tEa&&(this.tEa=new b.AZb(null)),this.tEa},set:function(c){null!=c&&(a.ePb.dPb("object"==typeof c,"wrong format for style."),this.tEa=new b.AZb(c))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shape",{get:function(){return this.pCa},set:function(b){this.pCa!=b&&(this.pCa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.shape=b.$z().shape,b.style=b.$z().style,b.height=b.$z().height,b.width=b.$z().width,b.space=b.$z().space,b}b.l$b=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.Uo=function(b){return new a.l$b(b)},c);function c(){}a.q$b=b}(a.options||(a.options={}))}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"type",{get:function(){return"Text"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b,c){if(null!=c&&null!=b){if(a.options.o$b(c)){var d=c;return new a.models.f$b(d)}if(c.type===this.type)return d=new a.options.n$b(c.option()),new a.models.f$b(d)}return null},d);function d(){}b.r$b=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.PY=function(a){return!0},c.prototype.s$b=function(a,b){var c,d,e;for(c=0,d=this.t$b;c<d.length;c++)if(e=d[c].queryInterface(b),null!=e)return e;return a.queryInterface(b)},c.prototype.u$b=function(a){this.t$b.unshift(a)},c.prototype.v$b=function(){this.t$b=[]},c);function c(){this.t$b=[]}a.AttachmentAgent=b}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.w$b=function(a,b){var c,d,e;for(c=0,d=this.x$b;c<d.length;c++)if(e=d[c],e.Nc()===a&&e.PY(b))return e;return null},c.prototype.y$b=function(){return this.x$b},c);function c(){for(var a,b=[],c=0;c<arguments.length;c++)b[c]=arguments[c];this.x$b=[],(a=this.x$b).push.apply(a,b)}a.AttachmentAgentManager=b}(dv=dv||{}),function(a){"use strict";function b(){}a.DonutAttachInfo=b;var c,d=(c=a.AttachmentAgent,__extends(e,c),e.prototype.Nc=function(){return"donut"},e.prototype.PY=function(a){return!0},e.prototype.Ls=function(a){},e);function e(){return c.call(this)||this}a.z$b=d}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.z$b,__extends(d,b),d.prototype.jxa=function(){return this.C5a},d.prototype.donutAttachmentInfo=function(a){return this.getDonutInfo(this.jxa())},d.prototype.Ls=function(b){b instanceof a.Jsb&&this.jxa().A$b().push(b)},d.prototype.getDonutInfo=function(b){if(b){var c=b.bRa(),d=new a.DonutAttachInfo;return d.startAngle=b.MPa(),d.radius=b.CPa(),d.sweep=b.DPa(),d.center=b.BPa().clone(),d.innerRadius=b.NPa(),d.swapAxes=c.yIa(),d.xReversed=a.AnnotationLib.B$b(c),d.yReversed=a.AnnotationLib.C$b(c),d}return null},d);function d(a){var c=b.call(this)||this;return c.C5a=a,c}a.D$b=c}(dv=dv||{}),dv=dv||{},dv=dv||{},function(a){"use strict";function b(){}a.LineAttachInfo=b;var c,d=(c=a.AttachmentAgent,__extends(e,c),e.prototype.Nc=function(){return"line"},e.prototype.PY=function(a){return!0},e.prototype.Ls=function(a){},e);function e(){return null!==c&&c.apply(this,arguments)||this}a.E$b=d}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.E$b,__extends(d,b),d.prototype.lineAttachmentInfo=function(b){var c,d,e,f=this.s$b(b,"ILineCoordinateValues");return null==f?null:(c=void 0,d=void 0,c=f.oI().BPa()?new a.core.Point(this.LAa.wPa(),this.LAa.xPa()):this.getAbsPoint(f.oI().x,f.oI().y),d=f.Vma().BPa()?new a.core.Point(this.LAa.wPa(),this.LAa.xPa()):this.getAbsPoint(f.Vma().x,f.Vma().y),new a.Vector(d.x-c.x,d.y-c.y),e=new a.LineAttachInfo,e.start=c,e.end=d,e)},d.prototype.bRa=function(){return this.LAa},d.F$b=function(b){return b.$z().config.axisMode==a.AxisMode.Polygonal||b.$z().config.axisMode==a.AxisMode.Radial},d.prototype.getAbsPoint=function(b,c){var e,f,g,h,i,j,k,l,m=null;return d.F$b(this.bRa())?(e=void 0,f=void 0,g=this.bRa().XQb(),h=this.bRa().WQb(),null==b&&(b=this.bRa().yIa()?g.KPa():h.KPa()),null==c&&(c=this.bRa().yIa()?h.KPa():g.KPa()),f=this.bRa().yIa()?(e=this.getAbsPos(g,b)+Math.PI/2,Math.PI/2+this.getAbsPos(h,c)):(e=this.getAbsPos(g,c)+Math.PI/2,this.getAbsPos(h,b)),i=e-Math.PI/2,m=new a.core.Point(this.bRa().wPa()+f*Math.cos(i),this.bRa().xPa()+f*Math.sin(i))):(this.bRa().yIa()&&(j=b,b=c,c=j),g=this.bRa().XQb(),h=this.bRa().WQb(),null==b&&(b=h.KPa()),null==c&&(c=g.KPa()),k=this.getAbsPos(h,b),l=this.getAbsPos(g,c),m=new a.core.Point(k,l)),m},d.prototype.getAbsPos=function(b,c){return b instanceof a.qeb&&b._orientation()==a.Orientation.Horizontal?b.Qb(c+b.OPa()):b.Qb(c)},d);function d(a){var c=b.call(this)||this;return c.LAa=a,c}a.G$b=c}(dv=dv||{}),function(a){"use strict";function b(a,b,c,d,e){this.point=a,this.xDir=b,this.yDir=c,this.xOffsetDir=d,this.yOffsetDir=e}a.PointAttachInfo=b;var c,d=(c=a.AttachmentAgent,__extends(e,c),e.prototype.Nc=function(){return"point"},e.prototype.PY=function(a){return!0},e.prototype.Ls=function(a){},e);function e(){return c.call(this)||this}a.H$b=d}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.H$b,__extends(d,b),d.prototype.pointAttachmentInfo=function(b){return null!=this.tCa?new a.PointAttachInfo(this.tCa,a.Vector.horizon(),a.Vector.vertical(),a.Vector.horizon(),a.Vector.vertical()):null},d);function d(a){var c=b.call(this)||this;return null!=a&&(c.tCa=a.clone()),c}a.I$b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.H$b,__extends(d,b),d.prototype.bRa=function(){return this.C5a},d.prototype.pointAttachmentInfo=function(b){var c,d,e,f,g,h=this.s$b(b,"ICoordinateValues"),i=this.s$b(b,"IAnnotationPosition");return null==h||null==i?null:h.BPa()?(c=void 0,d=void 0,e=a.AnnotationLib.J$b(this.bRa()),a.AnnotationLib.F$b(this.bRa())?(f=this.bRa().XQb(),g=f.MPa()+f.sweep/2,d=new a.Vector(Math.cos(g),Math.sin(g)),c=new a.Vector(Math.cos(g+Math.PI/2),Math.sin(g+Math.PI/2)),e.xDir=a.Vector.horizon(),e.yDir=new a.Vector(0,1)):(c=e.xDir,d=e.yDir),new a.PointAttachInfo(new a.core.Point(this.bRa().wPa(),this.bRa().xPa()),c,d,e.xDir,e.yDir)):this.getAbsPointAndRotateAngle(h.x,h.y,i.placement,i.position)},d.F$b=function(b){return b.$z().config.axisMode==a.AxisMode.Polygonal||b.$z().config.axisMode==a.AxisMode.Radial},d.prototype.getAbsPointAndRotateAngle=function(b,c,e,f){var g,h,i,j,k,l,m,n,o=new a.PointAttachInfo(null,a.Vector.horizon(),a.Vector.vertical(),a.Vector.horizon(),a.Vector.vertical());if(d.F$b(this.bRa()))g=void 0,h=void 0,i=this.bRa().XQb(),j=this.bRa().WQb(),h=this.bRa().yIa()?(g=this.getAbsPos(i,b),Math.PI/2+this.getAbsPos(j,c)):(g=this.getAbsPos(i,c),this.getAbsPos(j,b)),k=a.AnnotationLib.J$b(this.bRa(),g),o.xOffsetDir=k.xDir,o.yOffsetDir=k.yDir,o.yDir=new a.Vector(Math.cos(g),Math.sin(g)),o.xDir=new a.Vector(Math.cos(g+Math.PI/2),Math.sin(g+Math.PI/2)),o.point=new a.core.Point(this.bRa().wPa()+h*Math.cos(g),this.bRa().xPa()+h*Math.sin(g));else{if(this.bRa().yIa()&&(l=b,b=c,c=l),k=a.AnnotationLib.J$b(this.bRa()),o.xOffsetDir=o.xDir=k.xDir,o.yOffsetDir=o.yDir=k.yDir,i=this.bRa().XQb(),j=this.bRa().WQb(),m=this.getAbsPos(j,b),n=this.getAbsPos(i,c),f!==a.AnnotationPosition.Center)switch(e){case a.Placement.Auto:o.yDir=c<0?k.yDir.reverse():o.yDir;break;case a.Placement.Top:o.yDir=a.Vector.vertical(),o.xDir=a.Vector.horizon();break;case a.Placement.Left:o.yDir=new a.Vector((-1),0),o.xDir=a.Vector.vertical();break;case a.Placement.Right:o.yDir=a.Vector.horizon(),o.xDir=new a.Vector(0,1);break;case a.Placement.Bottom:o.yDir=new a.Vector(0,1),o.xDir=new a.Vector((-1),0)}else o.yDir=c<0?k.yDir.reverse():o.yDir;o.yDir.cross(o.xDir)<0&&(o.xDir=o.xDir.reverse()),o.point=new a.core.Point(m,n)}return o},d.prototype.getAbsPos=function(b,c){return b instanceof a.qeb&&b._orientation()==a.Orientation.Horizontal?b.Qb(c+b.OPa()):b.Qb(c)},d);function d(a){var c=b.call(this)||this;return c.C5a=a,c}a.K$b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.H$b,__extends(d,b),d.prototype.jxa=function(){return this.C5a},d.prototype.PY=function(b){return a.AnnotationLib.F$b(this.jxa().bRa())},d.prototype.pointAttachmentInfo=function(a){var b=this.s$b(a,"IAnnotationPosition");return null!=b?this.getPointInfo(this.jxa(),b.position):null},d.prototype.Ls=function(b){b instanceof a.Jsb&&this.jxa().A$b().push(b)},d.prototype.getPointInfo=function(b,c){var d,e,f,g,h,i,j,k,l=new a.PointAttachInfo(null,a.Vector.horizon(),a.Vector.vertical(),a.Vector.horizon(),a.Vector.vertical()),m=b.bRa(),n=b.APa();if(b.bz()||(n=new a.core.Rect(n.center.x,n.center.y,0,0)),a.AnnotationLib.F$b(m)){switch(d=new a.core.Point(m.wPa(),m.xPa()),e=n.center,f=void 0,g=void 0,e.equals(d)?(h=b.bRa().XQb(),i=h.MPa()+h.sweep/2,g=new a.Vector(Math.cos(i+Math.PI/2),Math.sin(i+Math.PI/2)),f=new a.Vector(Math.cos(i),Math.sin(i))):(f=new a.Vector(e.x-d.x,e.y-d.y),g=a.Vector.getPerp(f,!1)),c){case a.AnnotationPosition.Center:l.point=e.clone();break;case a.AnnotationPosition.Outside:l.point=a.Vector.endPoint(e,f,n.height/2);break;case a.AnnotationPosition.Inside:l.point=a.Vector.endPoint(e,f,-n.height/2)}l.xDir=g,l.yDir=f,j=a.Vector.angle(f,a.Vector.horizon()),k=a.AnnotationLib.J$b(m,j),l.xOffsetDir=k.xDir,l.yOffsetDir=k.yDir}return l},d);function d(a){var c=b.call(this)||this;return c.C5a=a,c}a.L$b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.H$b,__extends(d,b),d.prototype.jxa=function(){return this.C5a},d.prototype.isAuto=function(b){return null!=b&&(a.core.UOb.isNullEnum(b.placement)||b.placement===a.Placement.Auto)},d.prototype.PY=function(a){var b=this.s$b(a,"IAnnotationPosition");return this.isAuto(b)},d.prototype.pointAttachmentInfo=function(a){var b=this.s$b(a,"IAnnotationPosition");return this.isAuto(b)?this.getPointAttachInfo(this.jxa(),b.position):null},d.prototype.Ls=function(b){b instanceof a.Jsb&&this.jxa().A$b().push(b)},d.prototype.getPointAttachInfo=function(b,c){var d,e,f=new a.PointAttachInfo(null,a.Vector.horizon(),a.Vector.vertical(),a.Vector.horizon(),a.Vector.vertical()),g=b.bRa();return a.AnnotationLib.F$b(g)?null:(d=a.AnnotationLib.J$b(g),f.xDir=f.xOffsetDir=d.xDir,f.yDir=f.yOffsetDir=d.yDir,a.AnnotationLib.M$b(b)||(f.yDir=d.yDir.reverse()),f.yDir.cross(f.xDir)<0&&(f.xDir=f.xDir.reverse()),e=b.APa(),f.point=e.center.clone(),b.bz()&&c!==a.AnnotationPosition.Center&&(0==f.yDir.y?0<f.yDir.x?c===a.AnnotationPosition.Inside?f.point.x=e.left:f.point.x=e.right:c===a.AnnotationPosition.Inside?f.point.x=e.right:f.point.x=e.left:0<f.yDir.y?c===a.AnnotationPosition.Inside?f.point.y=e.top:f.point.y=e.bottom:c===a.AnnotationPosition.Inside?f.point.y=e.bottom:f.point.y=e.top),f)},d);function d(a){var c=b.call(this)||this;return c.C5a=a,c}a.N$b=c}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.w$b=function(a,b){return null==this.O$b?null:this.O$b.w$b(a,b)},c);function c(a,b){var c,d,e;if(this.O$b=a,null!=b)for(c=0,d=this.O$b.y$b();c<d.length;c++)e=d[c],null!=e&&e.u$b(b)}a.ProxyAttachmentAgentManager=b}(dv=dv||{}),function(a){"use strict";var b,c,d,e;function f(){this.leftTop=null,this.rightTop=null,this.rightBottom=null,this.leftBottom=null}a.P$b=f,__extends(g,b=f),c=g;function g(){return null!==b&&b.apply(this,arguments)||this}a.Q$b=c,d=a.AttachmentAgent,__extends(h,d),h.prototype.Nc=function(){return"rectangle"},h.prototype.PY=function(a){return!0},h.prototype.Ls=function(a){},e=h;function h(){return d.call(this)||this}a.R$b=e}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.R$b,__extends(d,b),d.prototype.jxa=function(){return this.C5a},d.prototype.rectAttachmentInfo=function(a){return this.getRectangleInfo(this.jxa())},d.prototype.Ls=function(b){b instanceof a.Jsb&&this.jxa().A$b().push(b)},d.prototype.getRectangleInfo=function(b){return b instanceof a.nMa||b instanceof a.oMa?a.AnnotationLib.S$b(b):null},d);function d(a){var c=b.call(this)||this;return c.C5a=a,c}a.T$b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.T$b,__extends(d,b),d.prototype.isAuto=function(b){return null!=b&&(a.core.UOb.isNullEnum(b.placement)||b.placement===a.Placement.Auto)},d.prototype.PY=function(a){var b=this.s$b(a,"IAnnotationPosition");return!this.isAuto(b)},d.prototype.getRectangleInfo=function(b){return b instanceof a.P1a?a.AnnotationLib.S$b(b):null},d);function d(a){return b.call(this,a)||this}a.U$b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.R$b,__extends(d,b),d.prototype.Nc=function(){return"rectangle"},d.prototype.outter=function(){var b,c,d,e,f,g,h,i,j,k,l,m,n,o=this.inner();if(0==this.V$b.length)return o;for(b=-o.angle,c=new a.models.aSb,c.QVb(b),d=[o.leftTop.x,o.rightTop.x,o.leftBottom.x,o.rightBottom.x],e=[o.leftTop.y,o.rightTop.y,o.leftBottom.y,o.rightBottom.y],f=0,g=this.V$b;f<g.length;f++)h=g[f].queryInterface("IVertexes"),null!=h&&(d.push.apply(d,h.WPa()),e.push.apply(e,h.XPa()));return i=c.VVb(d,e),d=i.xs,e=i.ys,j=Math.min.apply(Math,d),k=Math.min.apply(Math,e),l=Math.max.apply(Math,d)-j,m=Math.max.apply(Math,e)-k,n=new a.core.Point(j+l/2,k+m/2),c.hZ(),c.QVb(-b),n=c.TVb(n),new a.shapes.qwb(n.x,n.y,l,m,o.angle)},d.prototype.inner=function(){var a=this.Beb.APa().clone();return 0==a.width&&(a.width=1e-4),0==a.height&&(a.height=1e-4),a.ORb()},d.prototype.rectAttachmentInfo=function(b){var c,d,e;return null!=b&&(c=this.s$b(b,"IInnerAndOutterRotateRectLayouter"),null!=c)?(d=c.layoutWithInnerAndOutterRotateRect(this.inner(),this.outter()),e=new a.Q$b,e.leftTop=d.leftTop,e.leftBottom=d.leftBottom,e.rightTop=d.rightTop,e.rightBottom=d.rightBottom,e):null},d.prototype.Ls=function(b){b instanceof a.Jsb&&this.Beb.A$b().push(b)},d);function d(a,c){var d,e=b.call(this)||this;return e.V$b=[],e.Beb=a,(d=e.V$b).push.apply(d,c),e}a.W$b=c}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.CTb,__extends(d,b),d);function d(a){return b.call(this,a)||this}a.X$b=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){"use strict";var b;(b=a.AnnotationAlign||(a.AnnotationAlign={}))[b.Center=0]="Center",b[b.Left=1]="Left",b[b.Right=2]="Right",b[b.Middle=3]="Middle",b[b.Top=4]="Top",b[b.Bottom=5]="Bottom"}(dv=dv||{}),function(a){"use strict";var b;(b=a.ErrorBarDirection||(a.ErrorBarDirection={}))[b.Both=0]="Both",b[b.Plus=1]="Plus",b[b.Minus=2]="Minus"}(dv=dv||{}),function(a){"use strict";var b;(b=a.ErrorBarErrorType||(a.ErrorBarErrorType={}))[b.StandardDeviation=0]="StandardDeviation",b[b.StandardError=1]="StandardError",b[b.Percentage=2]="Percentage",b[b.Fixed=3]="Fixed",b[b.Custom=4]="Custom"}(dv=dv||{}),function(a){"use strict";var b;(b=a.ErrorBarOrientation||(a.ErrorBarOrientation={}))[b.Auto=0]="Auto",b[b.Horizontal=1]="Horizontal",b[b.Vertical=2]="Vertical"}(dv=dv||{}),function(a){"use strict";
- var b=(c.prototype.Y$b=function(){return!1},c.prototype.getValueBy=function(b,c,d,e){var f,g,h,i,j,k=this.option;if(null!=k.errorValues){if(f=k.errorValues,b<f.length)return e?f[b].positive:f[b].negative}else if(null!=k.errorField&&(g=c[b],h=d.aT().fields[k.errorField],null!=h))return k.aggregate==a.Aggregate.List&&0<g._items().length?(i=h.sOa([g._items()[0]],a.Aggregate.Sum),null==i||isNaN(i)?NaN:i):(j=h.sOa(g._items(),k.aggregate),null==j||isNaN(j)?NaN:j);return NaN},c.prototype.w8a=function(a){return null},c.prototype.Z$b=function(b,c,d){if(null!=b&&0<b.length){for(var e=[],f=0;f<b.length;++f)e.push(a.Variability.ucb(this.getValueBy(f,c,d,!0),this.getValueBy(f,c,d,!1),b[f]));return e}return null},c);function c(a){this.option=a}a.$$b=b}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.Y$b=function(){return!1},Object.defineProperty(c.prototype,"offset",{set:function(b){a.ePb.dPb(null==b||0<=b,"Wrong value for value."),null!=b&&(this.rCa=b)},enumerable:!0,configurable:!0}),c.prototype.w8a=function(b){var c,d,e,f;if(null!=b&&0<b.length){for(c=[],d=0,e=b;d<e.length;d++)f=e[d],c.push(a.Variability.ucb(this.rCa,this.rCa,f));return c}return null},c);function c(){this.rCa=.1}a.FixedVariability=b}(dv=dv||{}),dv=dv||{},dv=dv||{},function(a){"use strict";var b=(c.prototype.Y$b=function(){return!1},Object.defineProperty(c.prototype,"percent",{set:function(b){a.ePb.dPb(null==b||0<=b,"Wrong value for value."),null!=b&&(this.rEa=b)},enumerable:!0,configurable:!0}),c.prototype.w8a=function(b){var c,d,e,f,g;if(null!=b&&0<b.length){for(c=[],d=0,e=b;d<e.length;d++)f=e[d],g=Math.abs(f)*this.rEa,c.push(a.Variability.ucb(g,g,f));return c}return null},c);function c(){this.rEa=.05}a.PercentageVariability=b}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.Y$b=function(){return!0},Object.defineProperty(c.prototype,"scale",{set:function(b){a.ePb.dPb(null==b||0<=b,"Wrong value for value."),null!=b&&(this.rEa=b)},enumerable:!0,configurable:!0}),c.prototype.w8a=function(b){if(null!=b&&1<b.length){for(var c=b.length,d=b.reduce(function(a,b){return a+b},0)/c,e=b.reduce(function(a,b){return a+(b-d)*(b-d)},0),f=Math.sqrt(e/(c-1))*this.rEa,g=[],h=0,i=b;h<i.length;h++)i[h],g.push(a.Variability.ucb(f,f,d));return g}return null},c);function c(){this.rEa=1}a.StandardDeviation=b}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.Y$b=function(){return!1},c.prototype.w8a=function(b){var c,d,e,f,g,h,i,j;if(null!=b&&1<b.length){for(c=b.length,d=b.reduce(function(a,b){return a+b},0)/c,e=b.reduce(function(a,b){return a+(b-d)*(b-d)},0),f=Math.sqrt(e/(c-1))/Math.sqrt(c),g=[],h=0,i=b;h<i.length;h++)j=i[h],g.push(a.Variability.ucb(f,f,j));return g}return null},c);function c(){}a.StandardError=b}(dv=dv||{}),function(a){"use strict";var b=(c.ucb=function(a,b,d){return isNaN(d)?null:new c(a,b,d)},Object.defineProperty(c.prototype,"plus",{get:function(){return this._$b},set:function(a){null==a||isNaN(a)?this._$b=void 0:this._$b=a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"minus",{get:function(){return this.a_b},set:function(a){null==a||isNaN(a)?this.a_b=void 0:this.a_b=a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"join",{get:function(){return this.EZb},set:function(a){null==a||isNaN(a)||(this.EZb=a)},enumerable:!0,configurable:!0}),c);function c(a,b,c){this._$b=a,this.a_b=b,this.EZb=c}a.Variability=b}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.CTb,__extends(d,b),d.prototype.b_b=function(){return this.option},d.prototype.queryInterface=function(b){return"IOverlayViewBuilder"==b?new a.c_b(this):"IOverlayLegendItemsBuilder"==b?new a.d_b(this):null},d);function d(a){return b.call(this,a)||this}a.e_b=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.DTb,__extends(e,c),e.prototype.f_b=function(){return c.prototype.f3a.call(this)},e.prototype.build=function(b,c){return a.g_b,[]},e);function e(a){return c.call(this,a)||this}b.d_b=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.f3a=function(){return this.I4a},d.prototype.build=function(){var b=this.I4a.b_b();switch(b.errorType){case a.ErrorBarErrorType.StandardError:return this.createStandardErrorBy(b);case a.ErrorBarErrorType.StandardDeviation:return this.createStandardDeviationBy(b);case a.ErrorBarErrorType.Percentage:return this.createPercentageBy(b);case a.ErrorBarErrorType.Fixed:return this.createFixedVariabilityBy(b);case a.ErrorBarErrorType.Custom:return this.createCustomVariabilityBy(b);default:return null}},d.prototype.createStandardErrorBy=function(b){return new a.StandardError},d.prototype.createStandardDeviationBy=function(b){var c=new a.StandardDeviation;return c.scale=b.value,c},d.prototype.createPercentageBy=function(b){var c=new a.PercentageVariability;return c.percent=b.value,c},d.prototype.createFixedVariabilityBy=function(b){var c=new a.FixedVariability;return c.offset=b.value,c},d.prototype.createCustomVariabilityBy=function(b){return new a.$$b(b)},d);function d(a){this.I4a=a}b.h_b=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.ETb,__extends(e,c),e.prototype.f_b=function(){return c.prototype.f3a.call(this)},e.prototype.build=function(c){if("ErrorBar"===this.f_b().b_b().type&&!(c instanceof a.tbb)&&c instanceof a.u4a){var d=new b.h_b(this.f_b()).build();if(null!=d)return new a.g_b(c,d,this.f_b())}return null},e.prototype.queryInterface=function(a){return this.f3a().queryInterface(a)},e);function e(a){return c.call(this,a)||this}b.c_b=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.j9a,__extends(e,c),Object.defineProperty(e.prototype,"errorValues",{get:function(){return this.i_b},set:function(c){null!=c&&(a.core.assert(Array.isArray(c),"error values is not a array."),this.i_b=c.map(function(a){return new b.j_b(a)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"errorField",{get:function(){return this.k_b},set:function(b){null!=b&&this.k_b==b||(this.k_b=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"aggregate",{get:function(){return null==this.AGa?a.Aggregate.List:this.AGa},set:function(b){this.AGa!=b&&(this.AGa=a.core.UOb.asEnum(b,a.Aggregate,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"detailKey",{get:function(){return this.l_b},set:function(b){null!=b&&this.l_b==b||(this.l_b=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"detailLevel",{get:function(){return null==this.C9a&&(this.C9a=a.DetailLevel.Total),this.C9a},set:function(b){null!=b&&this.C9a==b||(this.C9a=a.core.UOb.asEnum(b,a.DetailLevel,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"field",{get:function(){return this.oBa},set:function(b){null!=b&&this.oBa==b||(this.oBa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orientation",{get:function(){return null==this.CFa&&(this.CFa=a.ErrorBarOrientation.Auto),this.CFa},set:function(b){this.CFa!=b&&(this.CFa=a.core.UOb.asEnum(b,a.ErrorBarOrientation,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endCap",{get:function(){return null==this.m_b||this.m_b},set:function(b){this.m_b!=b&&(this.m_b=a.core.UOb.asBoolean(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return this.hRa},set:function(b){this.hRa!=b&&(this.hRa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"style",{get:function(){return this.tEa},set:function(c){this.tEa!=c&&(a.ePb.dPb("object"==typeof c||null==c,"wrong format for style."),this.tEa=new b.AZb(c))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"errorType",{get:function(){return null==this.n_b&&(this.n_b=a.ErrorBarErrorType.StandardError),this.n_b},set:function(b){this.n_b!=b&&(this.n_b=a.core.UOb.asEnum(b,a.ErrorBarErrorType,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"direction",{get:function(){return null==this.o_b&&(this.o_b=a.ErrorBarDirection.Both),this.o_b},set:function(b){this.o_b!=b&&(this.o_b=a.core.UOb.asEnum(b,a.ErrorBarDirection,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this.mCa},set:function(b){this.mCa!=b&&(this.mCa=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.style=b.$z().style,b.value=b.$z().value,b.direction=b.$z().direction,b.errorType=b.$z().errorType,b.label=b.$z().label,b.endCap=b.$z().endCap,b.orientation=b.$z().orientation,b.field=b.$z().field,b.detailKey=b.$z().detailKey,b.detailLevel=b.$z().detailLevel,b.aggregate=b.$z().aggregate,b.errorField=b.$z().errorField,b.errorValues=b.$z().errorValues,b}b.p_b=d,b.q_b=function(a){return a instanceof d}}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.S8a,__extends(d,b),Object.defineProperty(d.prototype,"positive",{get:function(){return this.r_b},set:function(a){null==a||isNaN(a)||(this.r_b=a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"negative",{get:function(){return this.s_b},set:function(a){null==a||isNaN(a)||(this.s_b=a)},enumerable:!0,configurable:!0}),d);function d(a){var c=b.call(this,a)||this;return c.positive=c.$z().positive,c.negative=c.$z().negative,c}a.j_b=c}(a.options||(a.options={}))}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"type",{get:function(){return"ErrorBar"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b,c){if(null!=c&&null!=b){if(a.options.q_b(c)){var d=c;return new a.models.e_b(d)}if("ErrorBar"===c.type)return d=new a.options.p_b(c.option()),new a.models.e_b(d)}return null},d);function d(){}b.t_b=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.core.n1a,__extends(d,b),d.prototype.getValueByToken=function(a,b){var c;return c=this.u_b?this.getValuesInItems(a,b):a[b],this.u_b="items"===b&&"function"==typeof a.queryInterface&&null!=a.queryInterface("IDataModel"),c},d.prototype.getValuesInItems=function(a,b){var c,d,e,f,g=parseFloat(b);if(isNaN(g)||!this.isInteger(g)||g<0){for(c=[],d=0,e=a;d<e.length;d++)f=e[d],null!=f[b]&&c.push(f[b]);return 1===c.length?c[0]:c}return a[g]},d.prototype.isInteger=function(a){return a%1==0},d);function d(a){var c=b.call(this,a)||this;return c.u_b=!1,c}a.v_b=c}(dv=dv||{}),function(a){"use strict";var b=(c.ucb=function(a){if(null==a)return null;var b=a;return/^\s*=\s*.+$/.test(b)?new c(b.substring(1)):null},Object.defineProperty(c.prototype,"expression",{get:function(){return this.w_b},enumerable:!0,configurable:!0}),c);function c(a){this.w_b=a}a.x_b=b}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.vQb=function(a,b){return null!=this.hQa&&(this.scb=a,this.hQa.evaluate("EXPRESSION",b.expression)),this.y_b},c.prototype.isIdentityExpression=function(a){return"current"==a||8<a.length&&"current."==a.substring(0,8)},c.prototype.getIdentityValue=function(a){if("current"==a)return this.scb},c.prototype.resultCallback=function(a){this.y_b="string"!=typeof a&&"number"==typeof a?""+a:a},c);function c(){var b=a.plugins.CalculationEnginePlugin.nUb("Default");null!=b&&(this.hQa=b.create(this))}a.z_b=b}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.z_b,__extends(d,b),d.prototype.proxy=function(b){return a.models.A_b.build(b)},d.prototype.isIdentityExpression=function(a){return null!=this.proxy(this.scb)?this.proxy(this.scb).isIdentityExpression(a):b.prototype.isIdentityExpression.call(this,a)},d.prototype.getIdentityValue=function(a){return null!=this.proxy(this.scb)?this.proxy(this.scb).getIdentityValue(a):b.prototype.getIdentityValue.call(this,a)},d);function d(){return null!==b&&b.apply(this,arguments)||this}a.B_b=c}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.vQb=function(){var b,c,d,e;return this.w_b&&(b=this.w_b.expression,c=/^(center)$|^((?:-|\+)?\d+(?:\.\d+)?),((?:-|\+)?\d+(?:\.\d+)?)$/.exec(b),null!=c)?null!=c[1]?new a.CoordinateValues((!0)):(d=+c[2],e=+c[3],new a.CoordinateValues((!1),d,e)):null},c);function c(a){this.w_b=a}a.C_b=b}(dv=dv||{}),function(a){"use strict";var b=(c.ucb=function(a){if(null==a)return null;var b=a.replace(/(\s*)/g,"");return/^(?:center)$|^(?:-|\+)?\d+(?:\.\d+)?,(?:-|\+)?\d+(?:\.\d+)?$/.test(b)?new c(b):null},Object.defineProperty(c.prototype,"expression",{get:function(){return this.w_b},enumerable:!0,configurable:!0}),c);function c(a){this.w_b=a}a.xZb=b}(dv=dv||{}),function(dv){"use strict";var ConditionalFilter=function(){function ConditionalFilter(a){this.D_b=a}return ConditionalFilter.prototype.PY=function(a){var b=this;return a.filter(function(a){var c=b.getDescriptor(a);return b.evaluate(c)})},ConditionalFilter.prototype.evaluate=function(current){var P={eval:function(current,expression){expression=expression.replace(/@/g,"current");try{if(current)return!!eval(expression)}catch(a){throw new SyntaxError("wrong expression format.")}return!1}};return P.eval(current,this.D_b)},ConditionalFilter}();dv.ConditionalFilter=ConditionalFilter}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.ConditionalFilter,__extends(d,b),d.prototype.getDescriptor=function(b){return a.PointViewDescriptor.ucb(b)},d);function d(a){return b.call(this,a)||this}a.PointViewConditionalFilter=c}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.E_b=function(){return this.w_b},c.prototype.vQb=function(a){var b,c,d,e;for(b=a,c=0,d=this.getFilters(this.w_b);c<d.length&&(e=d[c],b);c++)b=e.PY(b);return b},c.prototype.getFilters=function(b){var c,d,e,f,g,h,i,j,k,l;for(c=[],d=0,e=b.operations;d<e.length;d++)f=e[d],a.PointPathExpression.F_b(f)?null!=(k=/^((?:-|\+)?\d+)$/.exec(f))&&k[1]&&(g=+k[1],c.push(this.getIndexFilter(g))):a.PointPathExpression.G_b(f)?null!=(k=/^((?:-|\+)?\d+)(?:\:((?:-|\+)?\d+)*)?(?:\:((?:-|\+)?\d+)*)?$/.exec(f))&&(h=null,i=null,j=null,k[1]&&(h=+k[1]),k[2]&&(i=+k[2]),k[3]&&(j=+k[3]),c.push(this.getSliceFilter(h,i,j))):a.PointPathExpression.H_b(f)&&null!=(k=/^\?\((.*)\)$/.exec(f))&&(l=k[1],l&&c.push(this.getConditionalFilter(l)));return c},c);function c(a){this.w_b=a}a.PointPathBuilder=b}(dv=dv||{}),function(a){"use strict";var b=(c.ucb=function(a){var b,d,e,f,g,h,i;if(null==a)return null;if(b=[],d=a.replace(/\[\s*(?:('.*?')|\?\s*(\(.*?\)))\s*\]/g,function(a,c,d){return c?"[#"+(b.push(c)-1)+"]":"[#"+(b.push("?"+d)-1)+"]"}),d=d.replace(/(\s*)/g,""),/^\$(\[.*?\])?$/.test(d)){for(e=/\[(.*?)\]/g,f=void 0,g=[],h=1;null!=(f=e.exec(d));){if(f.index!==h)return null;if(i=f[1],i=i.replace(/#([0-9]+)/g,function(a,c){return b[+c]}),!(c.F_b(i)||c.G_b(i)||c.H_b(i)))return null;g.push(i),h+=f[0].length}return h!==d.length?null:new c(d,g)}return null},c.F_b=function(a){return!!a&&/^(?:-|\+)?\d+$/.test(a)},c.G_b=function(a){return!!a&&/^(?:-|\+)?\d+(?:\:(?:(?:-|\+)?\d+)*){0,2}$/.test(a)},c.H_b=function(a){return!!a&&/^\?\(.*\)$/.test(a)},Object.defineProperty(c.prototype,"expression",{get:function(){return this.w_b},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"operations",{get:function(){return this.I_b.slice()},enumerable:!0,configurable:!0}),c);function c(a,b){this.w_b=a,this.I_b=b}a.PointPathExpression=b}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.PointPathBuilder,__extends(d,b),d.prototype.getIndexFilter=function(b){return new a.rUb(b)},d.prototype.getSliceFilter=function(b,c,d){return new a.sUb(b,c,d)},d.prototype.getConditionalFilter=function(b){return new a.PointViewConditionalFilter(b)},d);function d(a){return b.call(this,a)||this}a.PointViewPointPathBuilder=c}(dv=dv||{}),function(a){"use strict";var b=(c.ucb=function(a){return this.midware(a.aT().TJa(),a)},c.midware=function(b,c){return c instanceof a.Z1a?this.cartesianPointView_Midware(b,c):b},c.cartesianPointView_Midware=function(a,b){var c,d,e=b.YOb().XOb();return null!=e.j6a()&&0<e.j6a().length&&(c=e.j6a()[0].N2a().Cj(),d=b.aT(),a[c]=d.tVb()),a},c);function c(){}a.PointViewDescriptor=b}(dv=dv||{}),dv=dv||{},dv=dv||{},function(a){"use strict";var b=(Object.defineProperty(c.prototype,"x",{get:function(){return this.z1a},set:function(a){isNaN(a)||(this.z1a=a)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"y",{get:function(){return this.A1a},set:function(a){isNaN(a)||(this.A1a=a)},enumerable:!0,configurable:!0}),c.prototype.BPa=function(){return this.KMa},c.prototype.bc=function(){return this.KMa?"center":this.z1a+","+this.A1a},c.prototype.zAa=function(a){return null!=a&&(this.BPa()&&a.BPa()||this.x===a.x&&this.y===a.y)},c.prototype.queryInterface=function(a){return"ICoordinateValues"==a?this:null},c);function c(a,b,c){this.KMa=a,this.z1a=b,this.A1a=c}a.CoordinateValues=b}(dv=dv||{}),dv=dv||{},function(a){"use strict";var b=(c.J_b=function(a){if(null!=a){var b=a.box();if(b)return new c(b)}return null},c.prototype.box=function(){return this.rect.clone()},c.prototype.queryInterface=function(a){return"IBoxBounded"==a?this:null},c);function c(a){this.rect=a.clone()}a.BoxBounded=b}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.Ok=function(){return this.FLa},d.prototype.isIdentityExpression=function(a){return"current"==a||8<a.length&&"current."==a.substring(0,8)},d.prototype.getIdentityValue=function(a){return null==this.FLa?null:"current"==a?this.FLa:8<a.length&&"current."==a.substring(0,8)?this.binding(a.substring(8)).getValue(this.FLa):null},d.prototype.binding=function(b){return new a.v_b(b)},d.prototype.kI=function(a){return new b.K_b(a)},d);function d(a){this.FLa=a}b.L_b=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.L_b,__extends(d,b),d.prototype.Ok=function(){return b.prototype.Ok.call(this)},d.prototype.kI=function(b){return new a.M_b(b)},d);function d(a){return b.call(this,a)||this}a.N_b=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.build=function(c){return null!=c?c instanceof a.CartesianPointAnnotationOverlayItemView?new b.N_b(c):new b.L_b(c):null},d);function d(){}b.A_b=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){a.models||(a.models={})}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.CTb,__extends(d,b),d.prototype.$z=function(){return this.option},d.prototype.queryInterface=function(b){return"IOverlayViewBuilder"==b?new a.O_b(this):null},d);function d(a){return b.call(this,a)||this}a.P_b=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.ETb,__extends(e,c),e.prototype.f3a=function(){return c.prototype.f3a.call(this)},e.prototype.build=function(b){return!(b instanceof a.tbb)&&b instanceof a.u4a?new a.arb(b,this.f3a()):null},e.prototype.queryInterface=function(a){return this.f3a().queryInterface(a)},e);function e(a){return c.call(this,a)||this}b.O_b=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.j9a,__extends(e,c),Object.defineProperty(e.prototype,"axis",{get:function(){return this.A9a},set:function(b){null!=b&&this.A9a==b||(this.A9a=a.core.UOb.asEnum(b,a.AxisType,null),null==this.A9a&&(this.A9a=a.AxisType.Y))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"style",{get:function(){return this.tEa},set:function(a){null!=a&&this.tEa==a||(this.tEa=new b.AFa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"start",{get:function(){return this.IMa},set:function(a){null!=a&&this.IMa==a||(this.IMa=a)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this.JMa},set:function(a){null!=a&&this.JMa==a||(this.JMa=a)},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.axis=b.$z().axis,b.style=b.$z().style,b.start=b.$z().start,b.end=b.$z().end,b}b.B9a=d,b.Q_b=function(a){return a instanceof d}}(a.options||(a.options={}))}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"type",{get:function(){return"ReferenceBand"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b,c){if(null!=c&&null!=b&&!(b instanceof a.tbb)&&b instanceof a.u4a){if(a.options.Q_b(c)){var d=c;return new a.models.P_b(d)}if(c.type==this.type)return d=new a.options.B9a(c.option()),new a.models.P_b(d)}return null},d);function d(){}b.CartesianReferenceBandOverlayPlugin=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.CTb,__extends(d,b),d.prototype.$z=function(){return this.option},d.prototype.queryInterface=function(b){return"IOverlayViewBuilder"==b?new a.R_b(this):"IOverlayLegendItemsBuilder"==b?new a.S_b(this):null},d);function d(a){return b.call(this,a)||this}a.T_b=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.DTb,__extends(e,c),e.prototype.f3a=function(){return c.prototype.f3a.call(this)},e.prototype.build=function(c,d){var e,f,g,h=[];if(d instanceof a.crb)for(e=0,f=d.nqb();e<f.length;e++)g=f[e],null!=g.wLa()&&g.fta()&&h.push(new b.kqb(c,g.wLa(),g.getSymbol()));return h},e);function e(a){return c.call(this,a)||this}b.S_b=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.ETb,__extends(e,c),e.prototype.f3a=function(){return c.prototype.f3a.call(this)},e.prototype.build=function(b){return!(b instanceof a.tbb)&&b instanceof a.u4a?new a.crb(b,this.f3a()):null},e.prototype.queryInterface=function(a){return this.f3a().queryInterface(a)},e);function e(a){return c.call(this,a)||this}b.R_b=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"text",{get:function(){return this.dGa},set:function(a){null!=a&&a!=this.dGa&&(this.dGa=a)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"display",{get:function(){return null==this.Uqb&&(this.Uqb=a.OverlayLabelDisplay.Legend),this.Uqb},set:function(b){null!=b&&b!=this.Uqb&&(this.Uqb=a.core.UOb.asEnum(b,a.OverlayLabelDisplay))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"position",{get:function(){return null==this.nEa&&(this.nEa=a.OverlayLabelPosition.TopLeft),this.nEa},set:function(b){null!=b&&b!=this.nEa&&(this.nEa=a.core.UOb.asEnum(b,a.OverlayLabelPosition))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textStyle",{get:function(){return this.vEa},set:function(c){null!=c&&this.vEa!=c&&(a.ePb.dPb("object"==typeof c,"Invalid textStyle value in Overlay."),this.vEa=new b.wEa(c))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.text=b.$z().text,b.position=b.$z().position,b.display=b.$z().display,b.textStyle=b.$z().textStyle,b}b.Vqb=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"k",{get:function(){return this.tvb},set:function(a){null!=a&&(this.tvb=a)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"percentileType",{get:function(){return null==this.uvb?a.PercentileType.Exclusive:this.uvb},set:function(b){null!=b&&(this.uvb=a.core.UOb.asEnum(b,a.PercentileType,!0))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.k=b.$z().k,b.percentileType=b.$z().percentileType,b}b.vvb=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.j9a,__extends(e,c),Object.defineProperty(e.prototype,"detailKey",{get:function(){return this.l_b},set:function(b){null!=b&&this.l_b==b||(this.l_b=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"field",{get:function(){return this.oBa},set:function(b){null!=b&&this.oBa==b||(this.oBa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"axis",{get:function(){return this.A9a},set:function(b){null!=b&&this.A9a==b||(this.A9a=a.core.UOb.asEnum(b,a.AxisType,null),null==this.A9a&&(this.A9a=a.AxisType.Y))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"style",{get:function(){return this.tEa},set:function(a){null!=a&&this.tEa==a||(this.tEa=new b.AFa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"aggregate",{get:function(){return this.AGa},set:function(b){null!=b&&b==this.AGa||(this.AGa=a.core.UOb.asEnum(b,a.ReferenceLineAggregate,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this.mCa},set:function(a){null!=a&&a==this.mCa||(this.mCa=a)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return this.hRa},set:function(a){if(null==a||a!=this.hRa)if(null==a)this.hRa=null;else{var c=b.V_b.U_b(a);if(null==c)throw new b.OptionError(a);this.hRa=c}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"detailLevel",{get:function(){return this.C9a},set:function(b){null!=b&&this.C9a==b||(this.C9a=a.core.UOb.asEnum(b,a.DetailLevel,!0),null==this.C9a&&(this.C9a=a.DetailLevel.Total))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"arguments",{get:function(){return this.wvb},set:function(a){this.wvb=new b.vvb(a)},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.axis=b.$z().axis,b.style=b.$z().style,b.aggregate=b.$z().aggregate,b.value=b.$z().value,b.label=b.$z().label,b.detailLevel=b.$z().detailLevel,b.field=b.$z().field,b.arguments=b.$z().arguments,b.detailKey=b.$z().detailKey,b}b.E9a=d,b.W_b=function(a){return a instanceof d}}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.U_b=function(b){return null==b?null:"object"==typeof b?new a.Vqb(b):"string"==typeof b?new a.Vqb({text:b}):null},c);function c(){}a.V_b=b}(a.options||(a.options={}))}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"type",{get:function(){return"ReferenceLine"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b,c){if(null!=c&&null!=b&&!(b instanceof a.tbb)&&b instanceof a.u4a){if(a.options.W_b(c)){var d=c;return new a.models.T_b(d)}if(c.type==this.type)return d=new a.options.E9a(c.option()),new a.models.T_b(d)}return null},d);function d(){}b.CartesianReferenceLineOverlayPlugin=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){"use strict";var b=(c.matrix_invert=function(a){if(a.length!==a[0].length)return null;var b=0,c=0,d=0,e=a.length,f=0,g=[],h=[];for(b=0;b<e;b+=1)for(g[g.length]=[],h[h.length]=[],d=0;d<e;d+=1)g[b][d]=b==d?1:0,h[b][d]=a[b][d];for(b=0;b<e;b+=1){if(0==(f=h[b][b])){for(c=b+1;c<e;c+=1)if(0!=h[c][b]){for(d=0;d<e;d++)f=h[b][d],h[b][d]=h[c][d],h[c][d]=f,f=g[b][d],g[b][d]=g[c][d],g[c][d]=f;break}if(0==(f=h[b][b]))return null}for(d=0;d<e;d++)h[b][d]=h[b][d]/f,g[b][d]=g[b][d]/f;for(c=0;c<e;c++)if(c!=b)for(f=h[c][b],d=0;d<e;d++)h[c][d]-=f*h[b][d],g[c][d]-=f*g[b][d]}return g},c.matrix_transpose=function(a){return null!=a?a[0].map(function(b,c){return a.map(function(a){return a[c]})}):null},c.matrix_multiply=function(a,b){var c,d,e,f,g=a.length,h=a[0].length,i=b.length,j=b[0].length;if(h!==i)return null;for(c=Array(g),d=0;d<g;++d)for(c[d]=Array(j),e=0;e<j;++e)for(f=c[d][e]=0;f<h;++f)c[d][e]+=a[d][f]*b[f][e];return c},c.correlSquare=function(a,b){if(a.length!==b.length)return null;for(var c=a.reduce(function(a,b){return a+b})/a.length,d=b.reduce(function(a,b){return a+b})/b.length,e=0,f=0,g=0,h=0;h<a.length;++h)e+=(a[h]-c)*(b[h]-d),f+=(a[h]-c)*(a[h]-c),g+=(b[h]-d)*(b[h]-d);return e*e/(f*g)},c);function c(){}a.LeastSquareMathLib=b}(dv=dv||{}),function(a){"use strict";var b=(c.extract=function(b,c,d,e){var f,g,h,i,j,k,l,m,n;if(void 0===d&&(d=!1),void 0===e&&(e=!1),null==c||0==c.length)return null;for(f=[],g=[],h=[],i=0,j=c;i<j.length;i++)k=j[i],l=this.getAxisYValue(b,k,d),null==l||isNaN(l)||(m=k.jxa(),e&&m instanceof a.Z1a?f.push(m.X_b()):f.push(b._La(k.Q5a())),g.push(l),h.push(k));return n=new a.XyPoints,n.xs=f,n.ys=g,n.points=h,n},c.getAxisYValue=function(b,c,d){var e;return c instanceof a.models.XCa?(e=c.y6a(),d&&null!=c.z6a()&&(e-=c.z6a())):e=c instanceof a.models.SCa?c.B6a():c.Qb(),(null==e&&b.$z().config.showNulls==a.ShowNulls.Zeros||isNaN(e)&&b.$z().config.showNaNs==a.ShowNulls.Zeros)&&(e=0),e},c.getAxisXValue=function(a,b){return a._La(b.Q5a())},c);function c(){}a.Y_b=b}(dv=dv||{}),dv=dv||{},function(){"use strict";(dv||(dv={})).XyPoints=function(){}}();!function(a){"use strict";var b=(c.Z_b=function(a,b,d){var e,f,g,h,i;if(void 0===d&&(d=6),a<0&&d++,e=a%1,f=a-e,0!=e&&(0==b?e=0:Math.abs(e)<Math.pow(.1,b)?0!=f&&(e=0):e=c.getSignificanceDigits(e,b)),g=""+(a=f+e),g.length>d){if(0!=f){if(h=""+f,h.length==d)return a.toFixed(0);if(h.length<=d-1)return a.toFixed(d-1-h.length)}else if(i=a.toFixed(d-2),0!=+i)return i;return a.toExponential(1)}return g},c.getBaseLog=function(a,b){return Math.log(b)/Math.log(a)},c.getSignificanceDigits=function(a,b){if(0==a)return 0;if(a<0)return-c.getSignificanceDigits(-a,b);for(var d=Math.floor(-c.getBaseLog(10,a)),e=(a*=Math.pow(10,d)).toFixed(b),f="";0<d;)f+="0",d--;return e=e.replace(".","."+f),parseFloat(e)},c);function c(){}a.DefaultNumberExpressionPolicy=b}(dv=dv||{}),function(a){"use strict";var b=(c.setAppend_OffsetByXSize=function(a){c.Append_Offset=a.measureString("x").width/2},c.setSuper_OffsetByXSize=function(a){c.Super_Offset=a.measureString("x").height/1.5},c.$_b=function(){return new c("+")},c.__b=function(){return new c("-")},c.a0b=function(){return new c("=")},c.b0b=function(){return new c("y")},c.c0b=function(b,d,e){var f;return void 0===e&&(e=!1),(f=0<=b?c.$_b():c.__b()).append(new c(e&&1==Math.abs(b)?"":a.DefaultNumberExpressionPolicy.Z_b(Math.abs(b),d))),(new c).join(f)},c.d0b=function(b,d,e){return void 0===e&&(e=!0),0<=b?new c(e&&1==b?"":a.DefaultNumberExpressionPolicy.Z_b(b,d)):c.__b().join(new c(e&&-1==b?"":a.DefaultNumberExpressionPolicy.Z_b(Math.abs(b),d)))},c.e0b=function(a){return new c("(").join(a).join(new c(")"))},c.f0b=function(a){return new c(a)},c.g0b=function(){return new c("sin")},c.h0b=function(){return new c("cos")},c.prototype.box=function(){return this.rect.clone()},c.prototype.join=function(a){return this.i0b.push(a),this},c.prototype.raise=function(a){return this.j0b=a,this},c.prototype.append=function(a){return this.k0b.push(a),a},c.prototype.toString=function(){var a,b,c=this.l0b+this.i0b.map(function(a){return""+a}).join("");for(null!=this.j0b&&""+this.j0b&&(c+="^("+this.j0b+")"),a=0,b=this.k0b;a<b.length;a++)c+=" "+b[a];return c},c.prototype.layout=function(b,d,e,f){var g,h,i,j,k,l,m,n,o,p,q=b.fontSize;for(this.scaleFontSize(b,d),this.m0b=d,g=b.measureString(this.l0b),b.fontSize=q,h=g.height,i=g.width,j=0,k=this.i0b;j<k.length;j++)(p=k[j]).layout(b,d,e+i,f),l=p.rect.size,h=Math.max(h,l.height),i+=l.width;for(null!=this.j0b&&(this.j0b.layout(b,.75*d,e+i,f-h+c.Super_Offset),m=this.j0b.rect.size,
- h+=Math.max(m.height-c.Super_Offset,0),i+=m.width),n=0,o=this.k0b;n<o.length;n++)p=o[n],i+=c.Append_Offset,p.layout(b,d,e+i,f),l=p.rect.size,h=Math.max(h,l.height),i+=l.width;this.rect=new a.core.Rect(e,f-h,i,h)},c.prototype.scaleFontSize=function(a,b){var c=a.fontSize,d=parseFloat(c);isNaN(d)||(a.fontSize=d*b+"px")},c.prototype.preview=function(b,d){b.beginTransform(),a.NQb.n0b(b,d),this.vEa=d,c.setAppend_OffsetByXSize(b),c.setSuper_OffsetByXSize(b),this.layout(b,1,0,0),b.restoreTransform()},c.prototype.translate=function(a,b){var c,d,e,f;for(this.rect.top+=b,this.rect.left+=a,c=0,d=this.i0b;c<d.length;c++)d[c].translate(a,b);for(null!=this.j0b&&this.j0b.translate(a,b),e=0,f=this.k0b;e<f.length;e++)f[e].translate(a,b)},c.prototype.render=function(b){null!=this.rect&&(b.beginTransform(),a.NQb.n0b(b,this.vEa),this.draw(b),b.restoreTransform())},c.prototype.draw=function(a){var b,c,d,e;for(this.drawExpression(a),b=0,c=this.i0b;b<c.length;b++)c[b].draw(a);for(null!=this.j0b&&this.j0b.draw(a),d=0,e=this.k0b;d<e.length;d++)e[d].draw(a)},c.prototype.drawExpression=function(b){var c=b.fontSize;this.scaleFontSize(b,this.m0b),b.drawString(this.l0b,new a.core.Point(this.rect.left,this.rect.bottom)),b.fontSize=c},c.Super_Offset=4,c.Append_Offset=5,c);function c(a){void 0===a&&(a=""),this.i0b=[],this.k0b=[],this.l0b=a}a.Expression=b}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.type=function(){return"CompositeFunction"},c.prototype.y=function(a){if(null==a||isNaN(a)||0==this.o0b.length)return null;for(var b=a,c=this.o0b.length-1;0<=c;--c)b=this.o0b[c].y(b);return b},c.prototype.expression=function(){return null},c);function c(a){this.o0b=a.slice()}a.CompositeFunction=b}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.type=function(){return"Exponential"},c.from=function(a){return null==a||isNaN(a[0])||isNaN(a[1])?null:new c(a[0],a[1])},c.prototype.y=function(a){return"number"!=typeof a||isNaN(a)?null:this.p0b[0]*Math.exp(this.p0b[1]*a)},c.prototype.expression=function(){var b=a.Expression.b0b();return b.append(a.Expression.a0b()).append(a.Expression.d0b(this.p0b[0],3)).join(a.Expression.f0b("e")).raise((new a.Expression).append(a.Expression.d0b(this.p0b[1],4)).join(a.Expression.f0b("x"))),b},c);function c(a,b){this.p0b=[a,b]}a.Exponential=b}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.type=function(){return"Fourier"},c.prototype.order=function(){return(this.p0b.length-1)/2+1},c.from=function(a,b){return null!=a&&1<a.length&&!isNaN(b)?new c(a,b):null},c.prototype.y=function(a){var b,c,d;if("number"!=typeof a||isNaN(a))return null;for(b=this.p0b[0],c=1;c<this.p0b.length;c+=2)d=(c-1)/2+1,b+=this.p0b[c]*Math.cos(this.q0b*d*a)+this.p0b[c+1]*Math.sin(this.q0b*d*a);return b},c.prototype.expression=function(){var b,c,d,e,f,g;for(b=a.Expression.b0b(),c=b.append(a.Expression.a0b()),d=1;d<this.p0b.length;d+=2)e=(d-1)/2+1,f=e*this.q0b,g=Math.min(1+e,4),c=(c=1==d?c.append(a.Expression.d0b(this.p0b[d],g)):c.append(a.Expression.c0b(this.p0b[d],g,!0))).join(a.Expression.h0b()).join(a.Expression.d0b(f,g)).join(a.Expression.f0b("x")).append(a.Expression.c0b(this.p0b[d+1],g,!0)).join(a.Expression.g0b()).join(a.Expression.d0b(f,g)).join(a.Expression.f0b("x"));return c.append(a.Expression.c0b(this.p0b[0],1,!1)),b},c);function c(a,b){this.q0b=1,this.p0b=a.slice(),this.q0b=b}a.Fourier=b}(dv=dv||{}),dv=dv||{},function(a){"use strict";var b=(c.prototype.type=function(){return"Logarithmic"},c.from=function(a){return null==a||isNaN(a[0])||isNaN(a[1])?null:new c(a[0],a[1])},c.prototype.y=function(a){return"number"!=typeof a||isNaN(a)||a<=0?null:this.p0b[0]+this.p0b[1]*Math.log(a)},c.prototype.expression=function(){var b=a.Expression.b0b();return b.append(a.Expression.a0b()).append(a.Expression.d0b(this.p0b[1],3)).join(a.Expression.f0b("ln(x)")).append(a.Expression.c0b(this.p0b[0],3,!1)),b},c);function c(a,b){this.p0b=[a,b]}a.Logarithmic=b}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.scaleX=function(a){for(var b=this.p0b.length,c=0;c<b;++c)this.p0b[c]*=Math.pow(a,c)},c.prototype.translateX=function(a){var b,d,e;for(b=this.p0b.length,d=1;d<b;++d)for(e=0;e<d;++e)this.p0b[e]+=c.binomialCoef(d,e)*Math.pow(a,d-e)*this.p0b[d]},c.prototype.scaleY=function(a){for(var b=this.p0b.length,c=0;c<b;++c)this.p0b[c]*=a},c.prototype.translateY=function(a){this.p0b[0]+=a},c.binomialCoef=function(a,b){return this.factorial(a)/(this.factorial(b)*this.factorial(a-b))},c.factorial=function(a,b){return void 0===b&&(b=1),a<=1?b:(b*=a,this.factorial(a-1,b))},c.prototype.type=function(){return"Ploynomial"},c.prototype.order=function(){return this.p0b.length-1},c.from=function(a){return null!=a&&0<a.length?new c(a):null},c.clone=function(a){return null!=a?new c(a.p0b):null},c.prototype.y=function(a){if("number"!=typeof a||isNaN(a))return null;for(var b=this.p0b[0],c=1;c<this.p0b.length;++c)b+=this.p0b[c]*Math.pow(a,c);return b},c.prototype.expression=function(){var b,c=a.Expression.b0b(),d=c.append(a.Expression.a0b()),e=this.p0b.length;for(1<e&&(d=d.append(a.Expression.d0b(this.p0b[e-1],Math.min(e,4))).join(a.Expression.f0b("x")).raise(a.Expression.d0b(e-1,0))),b=e-2;0<b;--b)d=d.append(a.Expression.c0b(this.p0b[b],Math.min(b+1,4),!0)).join(a.Expression.f0b("x").raise(a.Expression.d0b(b,0)));return d.append(a.Expression.c0b(this.p0b[0],1,!1)),c},c);function c(a){this.p0b=a.slice()}a.Ploynomial=b}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.type=function(){return"Power"},c.from=function(a){return null==a||isNaN(a[0])||isNaN(a[1])?null:new c(a[0],a[1])},c.prototype.y=function(a){return"number"!=typeof a||isNaN(a)||a<=0?null:this.p0b[0]*Math.pow(a,this.p0b[1])},c.prototype.expression=function(){var b=a.Expression.b0b();return b.append(a.Expression.a0b()).append(a.Expression.d0b(this.p0b[0],3)).join(a.Expression.f0b("x").raise(a.Expression.d0b(this.p0b[1],3))),b},c);function c(a,b){this.p0b=[a,b]}a.Power=b}(dv=dv||{}),dv=dv||{},function(a){"use strict";var b=(c.prototype.log=function(a,b){return Math.log(b)/Math.log(a)},c.prototype.interpolate=function(b,c){var d,e,f,g,h,i,j,k,l,m,n,o;if(null==this.ZCa||null==this.r0b)return{xs:b,ys:c};for(e=this.ZCa,f=[],g=[],h=e.yIa()?e.XQb():e.WQb(),i=h.max-h.min,j=h.s0b(),j&&(i=this.log(h.logBase,h.max)-this.log(h.logBase,h.min)),d=a.AnnotationLib.F$b(e)?this.getRadialStepBy(e,i):this.getStepBy(h,i),k=0;k<b.length;++k)if(f.push(b[k]),g.push(c[k]),k<b.length-1){if(b[k]>b[k+1])return{xs:null,ys:null};if(b[k]===b[k+1])continue;if(l=d,h instanceof a.qeb&&!e.yIa()&&(l=this.optimizeStep(d,k/b.length)),j){if(b[k]<=0)continue;for(m=this.log(h.logBase,b[k+1]),n=l+this.log(h.logBase,b[k]);n<m;n+=l)o=Math.pow(h.logBase,n),f.push(o),g.push(this.r0b.y(o))}else for(n=b[k]+l;n<b[k+1];n+=l)f.push(n),g.push(this.r0b.y(n))}return{xs:f,ys:g}},c.prototype.optimizeStep=function(a,b){return-5*a/3*b+2*a},c.prototype.getRadialStepBy=function(a,b){if(a.yIa()){var c=a.XQb(),d=this.getAppropriateUnitPixelInterval(c,b);return this.t0b/d}return null!=this.GCa&&1<this.GCa?b/this.GCa:null},c.prototype.getStepBy=function(a,b){var c=this.getAppropriateUnitPixelInterval(a,b),d=this.t0b/c;return null!=this.GCa&&1<this.GCa&&b/d>this.GCa&&(d=b/this.GCa),d},c.prototype.getAppropriateUnitPixelInterval=function(b,c){if(b instanceof a.u0b){var d=b.radius;return d<0&&(d=1),Math.abs(b.sweep)*d/c}return b instanceof a.G8a?Math.abs(b.my()[1]-b.my()[0])/c:10},c);function c(a,b,c){this.t0b=1.5,this.GCa=500,this.r0b=a,this.ZCa=b,null!=c&&1<c&&(this.GCa=c)}a.CartesianFunctionalPointInterpolator=b}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.x=function(a){return null!=this.qSa?Math.log(a)/Math.log(this.qSa):a},c.prototype.interpolate=function(a,b){var c,d,e,f,g,h,i,j,k,l;if(null==this.r0b||a.length>this.GCa)return{xs:a,ys:b};for(c=[],d=[],e=this.GCa-a.length,f=this.x(a[a.length-1])-this.x(a[0]),g=0;g<a.length;++g)if(c.push(a[g]),d.push(b[g]),g<a.length-1){if(a[g]>a[g+1])return{xs:null,ys:null};if(a[g]===a[g+1])continue;if(null!=this.qSa&&a[g]<=0)continue;for(h=this.x(a[g+1])-this.x(a[g]),i=h*e/f,j=h/i,k=1;k<i;++k)l=k*j+this.x(a[g]),null!=this.qSa&&(l=Math.pow(this.qSa,l)),c.push(l),d.push(this.r0b.y(l))}return{xs:c,ys:d}},c);function c(a,b,c){this.r0b=a,null!=b&&(this.GCa=b),null!=c&&0<c&&(this.qSa=c)}a.FunctionalSimpleInterpolator=b}(dv=dv||{}),dv=dv||{},function(a){"use strict";var b=(c.prototype.type=function(){return"LinearNormalizer"},c.from=function(a){var b,d,e,f,g,h;if(null==a||0==a.length)return null;for(b=a[0],d=a[0],e=0,f=0,g=a;f<g.length;f++)h=g[f],e+=h,d=Math.max(h,d),b=Math.min(h,b);return d==b&&(d=1,b=0),new c(b,d,e/a.length,(!1))},c.prototype.y=function(a){return null==a||isNaN(a)?null:this.isInvert?this.invert(a):this.forward(a)},c.prototype.inv=function(){return new c(this.min,this.max,this.mean,(!this.isInvert))},c.prototype.forward=function(a){return(a-this.min)/(this.max-this.min)},c.prototype.invert=function(a){return a*(this.max-this.min)+this.min},c.prototype.expression=function(){return null},c);function c(a,b,c,d){this.max=b,this.min=a,this.mean=c,this.isInvert=d}a.LinearNormalizer=b}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.queryInterface=function(a){return null},c);function c(){}a.DiscretePointTrendLine=b}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.DiscretePointTrendLine,__extends(d,b),Object.defineProperty(d.prototype,"period",{get:function(){return null==this.v0b?2:this.v0b},set:function(a){!isNaN(a)&&1<a&&(this.v0b=a)},enumerable:!0,configurable:!0}),d);function d(a){var c=b.call(this)||this;return c.period=a,c}a.MovingAverageTrendLine=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.MovingAverageTrendLine,__extends(d,b),d.prototype.h_a=function(a,b){var c,d,e,f,g;if(null==a||null==b||a.length!==b.length||0==a.length)return{xs:null,ys:null};for(c=this.period,c>a.length-1&&(c=a.length-1),d=[a[c-1]],e=[this.calcMa(b,c)],f=e[0],g=c;g<a.length;++g)d.push(a[g]),f+=(b[g]-f)/(g+1),e.push(f);return{xs:d,ys:e}},d.prototype.calcMa=function(a,b){for(var c=0,d=0;d<b;++d)c+=a[d];return c/b},d);function d(a){return b.call(this,a)||this}a.CumulativeMovingAverageTrendline=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.MovingAverageTrendLine,__extends(d,b),d.prototype.h_a=function(a,b){if(null==a||null==b||a.length!==b.length||0==a.length)return{xs:null,ys:null};for(var c=2/(a.length+1),d=[a[0]],e=[b[0]],f=b[0],g=1;g<a.length;++g)f=c*b[g]+(1-c)*f,d.push(a[g]),e.push(f);return{xs:d,ys:e}},d);function d(){return b.call(this,null)||this}a.ExponentialMovingAverageTrendline=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.MovingAverageTrendLine,__extends(d,b),d.prototype.h_a=function(a,b){var c,d,e,f,g;if(null==a||null==b||a.length!==b.length||0==a.length)return{xs:null,ys:null};for(c=this.period,c>a.length-1&&(c=a.length-1),d=[a[c-1]],e=[this.calcMa(b,c)],f=e[0],g=c;g<a.length;++g)d.push(a[g]),f=f+b[g]-b[g-c],e.push(f);return{xs:d,ys:e}},d.prototype.calcMa=function(a,b){for(var c=0,d=0;d<b;++d)c+=a[d];return c},d);function d(a){return b.call(this,a)||this}a.MovingAnnualTotalTrendline=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.MovingAverageTrendLine,__extends(d,b),d.prototype.h_a=function(a,b){var c,d,e,f,g;if(null==a||null==b||a.length!==b.length||0==a.length)return{xs:null,ys:null};for(c=this.period,c>a.length-1&&(c=a.length-1),d=[a[c-1]],e=[this.calcMa(b,c)],f=e[0],g=c;g<a.length;++g)d.push(a[g]),f+=(b[g]-b[g-c])/c,e.push(f);return{xs:d,ys:e}},d.prototype.calcMa=function(a,b){for(var c=0,d=0;d<b;++d)c+=a[d];return c/b},d);function d(a){return b.call(this,a)||this}a.SimpleMovingAverageTrendline=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.MovingAverageTrendLine,__extends(d,b),d.prototype.h_a=function(a,b){var c,d,e,f,g,h,i;if(null==a||null==b||a.length!==b.length||0==a.length)return{xs:null,ys:null};for(c=this.period,c>a.length-1&&(c=a.length-1),d=0,e=0,f=0;f<c;++f)d+=(f+1)*b[f],e+=b[f];for(g=c*(c+1)/2,h=[a[c-1]],i=[d/g],f=c;f<a.length;++f)e+=b[f]-b[f-c],g=g+c*b[f]-e,h.push(a[f]),i.push(g/(c*(c+1)/2));return{xs:h,ys:i}},d);function d(a){return b.call(this,a)||this}a.WeightedMovingAverageTrendline=c}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.w0b=function(){return this.r0b},c.prototype.FTb=function(){return null!=this.r0b},c.prototype.x0b=function(a,b){if(a&&b&&a.length===b.length&&0<a.length){var c=this.y0b(a,b);this.r0b=this.createFunctionBy(c)}},c.prototype.y0b=function(b,c){return a.LeastSquareCalculator.z0b(this,b,c)},c.prototype.expression=function(){return null!=this.w0b()?this.w0b().expression():null},c.prototype.queryInterface=function(a){return"ILeastSquareComputable"===a?this:null},c);function c(){}a.FunctionalTrendLine=b}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.FunctionalTrendLine,__extends(d,b),Object.defineProperty(d.prototype,"intercept",{get:function(){return this.A0b},set:function(a){"number"==typeof a&&(this.A0b=a)},enumerable:!0,configurable:!0}),d.prototype.y0b=function(b,c){return a.LeastSquareCalculator.z0b(this,b,c,this.intercept)},d);function d(a){var c=b.call(this)||this;return c.intercept=a,c}a.InterceptFunctionalTrendline=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.InterceptFunctionalTrendline,__extends(d,b),d.prototype.createFunctionBy=function(b){if(null==b)return null;if(null!=this.intercept)return a.Exponential.from([this.intercept,b[0]]);var c=Math.exp(b[0]);return a.Exponential.from([c,b[1]])},d.prototype.x0b=function(a,c){if(!c.some(function(a){return a<=0})){var d=c.map(function(a){return Math.log(a)});b.prototype.x0b.call(this,a,d)}},d.prototype.B0b=function(a){var b=[];return null==this.intercept&&b.push(a.map(function(a){return 1})),b.push(a.slice()),b},d.prototype.y0b=function(b,c){this.intercept<=0&&(this.intercept=null);var d=this.intercept;return null!=d&&(d=Math.log(d)),a.LeastSquareCalculator.z0b(this,b,c,d)},d);function d(a){return b.call(this,a)||this}a.ExponentialTrendline=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.FunctionalTrendLine,__extends(d,b),Object.defineProperty(d.prototype,"order",{get:function(){return this.A3a},set:function(a){"number"==typeof a&&0<a&&(this.A3a=a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"period",{get:function(){return null==this.v0b?2*Math.PI:this.v0b},set:function(a){!isNaN(a)&&0<a&&(this.v0b=a)},enumerable:!0,configurable:!0}),d.prototype.createFunctionBy=function(b){return a.Fourier.from(b,2*Math.PI/this.period)},d.prototype.B0b=function(a){var b,c,d,e=[],f=this.order;for((null==f||f<1)&&(f=1),e.push(a.map(function(a){return 1})),b=2*Math.PI/this.period,c=function(c){e.push(a.map(function(a){return Math.cos(b*c*a)})),e.push(a.map(function(a){return Math.sin(b*c*a)}))},d=1;d<=f;++d)c(d);return e},d);function d(a,c){var d=b.call(this)||this;return d.order=a,d.period=c,d}a.FourierTrendline=c}(dv=dv||{}),function(a){"use strict";var b=(c.z0b=function(b,c,d,e){var f,g,h,i,j,k=b.queryInterface("ILeastSquareComputable");return null==k?null:(f=k.B0b(c),null==f||0===f.length?null:(g=a.LeastSquareMathLib.matrix_transpose(f),h=a.LeastSquareMathLib.matrix_invert(a.LeastSquareMathLib.matrix_multiply(f,g)),null==h?null:(i=a.LeastSquareMathLib.matrix_multiply(g,h),null==e?a.LeastSquareMathLib.matrix_multiply([d],i)[0]:(j=[],j.push(d.map(function(a){return a-e})),a.LeastSquareMathLib.matrix_multiply(j,i)[0]))))},c.C0b=function(b){if(null==b||0===b.length)return null;var c=a.LeastSquareMathLib.matrix_transpose(b),d=a.LeastSquareMathLib.matrix_invert(a.LeastSquareMathLib.matrix_multiply(b,c));return null==d?null:a.LeastSquareMathLib.matrix_multiply(c,d)},c);function c(){}a.LeastSquareCalculator=b}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.FunctionalTrendLine,__extends(d,b),d.prototype.createFunctionBy=function(b){return a.Logarithmic.from(b)},d.prototype.B0b=function(a){if(a.some(function(a){return a<=0}))return null;var b=[];return b.push(a.map(function(a){return 1})),b.push(a.map(function(a){return Math.log(a)})),b},d);function d(){return null!==b&&b.apply(this,arguments)||this}a.LogarithmicTrendline=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.InterceptFunctionalTrendline,__extends(d,b),Object.defineProperty(d.prototype,"order",{get:function(){return this.A3a},set:function(a){"number"==typeof a&&0<a&&(this.A3a=a)},enumerable:!0,configurable:!0}),d.prototype.createFunctionBy=function(b){return null!=b?(null!=this.intercept&&b.unshift(this.intercept),a.Ploynomial.from(b)):null},d.prototype.B0b=function(a){var b,c,d=[],e=this.order;for((null==e||e<1)&&(e=1),null==this.intercept&&d.push(a.map(function(a){return 1})),d.push(a.slice()),b=function(b){d.push(a.map(function(a){return Math.pow(a,b)}))},c=2;c<=e;++c)b(c);return d},d.prototype.x0b=function(a,c){a&&c&&a.length===c.length&&0<a.length&&(this.order=Math.min(a.length-1,this.order),null==this.intercept?this.normalizeAndFit(a,c):(this.D0b=null,b.prototype.x0b.call(this,a,c)))},d.prototype.normalizeAndFit=function(c,d){var e,f=this;this.xNomalizer=a.LinearNormalizer.from(c),this.yNomalizer=a.LinearNormalizer.from(d),c=c.map(function(a){return f.xNomalizer.y(a)}),d=d.map(function(a){return f.yNomalizer.y(a)}),b.prototype.x0b.call(this,c,d),e=this.w0b(),null!=e&&(this.r0b=new a.CompositeFunction([this.yNomalizer.inv(),e,this.xNomalizer]),(e=a.Ploynomial.clone(e)).scaleX(1/(this.xNomalizer.max-this.xNomalizer.min)),e.translateX(-this.xNomalizer.min),e.scaleY(this.yNomalizer.max-this.yNomalizer.min),e.translateY(this.yNomalizer.min),this.D0b=e)},d.prototype.expression=function(){return null!=this.D0b?this.D0b.expression():b.prototype.expression.call(this)},d);function d(a,c){var d=b.call(this,c)||this;return d.order=a,d}a.PolynomialTrendline=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.FunctionalTrendLine,__extends(d,b),d.prototype.createFunctionBy=function(b){if(null==b)return null;var c=Math.exp(b[0]);return 0===c?null:a.Power.from([c,b[1]])},d.prototype.x0b=function(a,c){if(!a.some(function(a,b){return a<=0||c[b]<=0})){var d=c.map(function(a){return Math.log(a)});b.prototype.x0b.call(this,a,d)}},d.prototype.B0b=function(a){var b=[];return b.push(a.map(function(a){return 1})),b.push(a.map(function(a){return Math.log(a)})),b},d);function d(){return null!==b&&b.apply(this,arguments)||this}a.PowerTrendline=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.PolynomialTrendline,__extends(d,b),d);function d(a){return b.call(this,1,a)||this}a.LinearTrendLine=c}(dv=dv||{}),function(a){"use strict";var b=(c.E0b=function(b,c,d,e){var f,g,h,i,j,k,l,m,n,o;if(null==c||null==d||c.length!==d.length)return null;if(f=[],g=[],h=b.WQb(),i=b.XQb(),b.yIa()&&(j=c,c=d,d=j),a.AnnotationLib.F$b(b))for(k=0;k<c.length;++k)l=i.Qb(d[k]),m=h.Qb(c[k]),f.push(m*Math.cos(l)+b.wPa()),g.push(m*Math.sin(l)+b.xPa());else for(k=0;k<c.length;++k)f.push(h.Qb(c[k])),g.push(i.Qb(d[k]));return(e=e||f.length<200)&&(n=new a.THa(f,g).calculate(),f=n.xs,g=n.ys),o=f.map(function(b,c){return new a.core.Point(b,g[c])}),new a.shapes.Ztb(o)},c.k=.002,c);function c(){}a.F0b=b}(dv=dv||{}),function(a){"use strict";var b;(b=a.LinePlacement||(a.LinePlacement={}))[b.Start=0]="Start",b[b.End=1]="End",b[b.Center=2]="Center"}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.CTb,__extends(d,b),d.prototype.$z=function(){return this.option},d.prototype.queryInterface=function(b){return"IOverlayViewBuilder"==b?new a.EPb(this):"IOverlayLegendItemsBuilder"==b?new a.G0b(this):null},d);function d(a){return b.call(this,a)||this}a.BPb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.DTb,__extends(e,c),e.prototype.f3a=function(){return c.prototype.f3a.call(this)},e.prototype.build=function(c,d){var e,f,g,h=[];if(d instanceof a.HQb)for(e=0,f=d.nqb();e<f.length;e++)g=f[e],null!=g.wLa()&&g.fta()&&h.push(new b.kqb(c,g.wLa(),g.getSymbol()));return h},e);function e(a){return c.call(this,a)||this}b.G0b=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.ETb,__extends(e,c),e.prototype.f3a=function(){return c.prototype.f3a.call(this)},e.prototype.build=function(b){return!(b instanceof a.tbb)&&b instanceof a.u4a?new a.HQb(b,this.f3a()):null},e.prototype.queryInterface=function(a){return this.f3a().queryInterface(a)},e);function e(a){return c.call(this,a)||this}b.EPb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.j9a,__extends(e,c),Object.defineProperty(e.prototype,"text",{get:function(){return this.dGa},set:function(a){null!=a&&this.dGa==a||(this.dGa=new b.H0b(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"density",{get:function(){return this.I0b},set:function(b){this.I0b!=b&&(this.I0b=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"detailKey",{get:function(){return this.l_b},set:function(b){null!=b&&this.l_b==b||(this.l_b=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"detailLevel",{get:function(){return null==this.C9a&&(this.C9a=a.DetailLevel.Total),this.C9a},set:function(b){null!=b&&this.C9a==b||(this.C9a=a.core.UOb.asEnum(b,a.DetailLevel,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"field",{get:function(){return this.oBa},set:function(b){null!=b&&this.oBa==b||(this.oBa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"style",{get:function(){return this.tEa},set:function(a){null!=a&&this.tEa==a||(this.tEa=new b.AFa(a))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return this.hRa},set:function(b){this.hRa!=b&&(this.hRa=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.style=b.$z().style,b.label=b.$z().label,b.field=b.$z().field,b.detailKey=b.$z().detailKey,b.detailLevel=b.$z().detailLevel,b.density=b.$z().density,b.text=b.$z().text,b}b.J0b=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.J0b,__extends(e,c),Object.defineProperty(e.prototype,"period",{get:function(){return this.v0b},set:function(a){this.v0b!=a&&(this.v0b=this.asInteger(a,!0))},enumerable:!0,configurable:!0}),e.prototype.asInteger=function(b,c){return null==b&&c||a.ePb.dPb(!isNaN(b)&&Math.round(b)===b,"Wrong format of period."),b},e);function e(a){var b=c.call(this,a)||this;return b.period=b.$z().period,b}b.RPb=d,b.QPb=function(a){return a instanceof d}}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.J0b,__extends(e,c),Object.defineProperty(e.prototype,"period",{get:function(){return this.v0b},set:function(a){this.v0b!=a&&(this.v0b=this.asInteger(a,!0))},enumerable:!0,configurable:!0}),e.prototype.asInteger=function(b,c){return null==b&&c||a.ePb.dPb(!isNaN(b)&&Math.round(b)===b,"Wrong format of period."),b},e);function e(a){var b=c.call(this,a)||this;return b.period=b.$z().period,b}b.UPb=d,b.TPb=function(a){return a instanceof d}}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.J0b,__extends(e,c),Object.defineProperty(e.prototype,"forecast",{get:function(){return this.K0b},set:function(a){this.K0b=new b.L0b(a)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"intercept",{get:function(){return this.A0b},set:function(b){this.A0b!=b&&(this.A0b=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.intercept=b.$z().intercept,b.forecast=b.$z().forecast,b}b.XPb=d,b.WPb=function(a){return a instanceof d}}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.J0b,__extends(e,c),Object.defineProperty(e.prototype,"forecast",{get:function(){return this.K0b},set:function(a){this.K0b=new b.L0b(a)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"order",{get:function(){return null==this.A3a?1:this.A3a},set:function(a){this.A3a!=a&&(this.A3a=this.asInteger(a,!0)),this.A3a<1?this.A3a=1:6<this.A3a&&(this.A3a=6)},enumerable:!0,configurable:!0}),e.prototype.asInteger=function(b,c){return null==b&&c||a.ePb.dPb(!isNaN(b)&&Math.round(b)===b,"Wrong format of fourier option."),b},Object.defineProperty(e.prototype,"period",{get:function(){return this.v0b},set:function(a){this.v0b!=a&&(this.v0b=this.asInteger(a,!0))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.order=b.$z().order,b.period=b.$z().period,b.forecast=b.$z().forecast,b}b.$Pb=d,b.ZPb=function(a){return a instanceof d}}(a.options||(a.options={}))}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){a.options||(a.options={})}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"placement",{get:function(){return null==this.DYb&&(this.DYb=a.LinePlacement.End),this.DYb},set:function(b){this.DYb!=b&&(this.DYb=a.core.UOb.asEnum(b,a.LinePlacement,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.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(e.prototype,"position",{get:function(){return null==this.nEa&&(this.nEa=a.AnnotationPosition.Center),this.nEa},set:function(b){this.nEa!=b&&(this.nEa=a.core.UOb.asEnum(b,a.AnnotationPosition,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"equation",{get:function(){return this.M0b},set:function(a){null!=this.M0b&&this.M0b==a||(this.M0b=b.qPb.PBa(a,!1))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rSquaredValue",{get:function(){return this.N0b},set:function(a){null!=this.N0b&&this.N0b==a||(this.N0b=b.qPb.PBa(a,!1))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.equation=b.$z().equation,b.rSquaredValue=b.$z().rSquaredValue,b.position=b.$z().position,b.textStyle=b.$z().textStyle,b.placement=b.$z().placement,b}b.H0b=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.J0b,__extends(e,c),Object.defineProperty(e.prototype,"forecast",{get:function(){return this.K0b},set:function(a){this.K0b=new b.L0b(a)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"intercept",{get:function(){return this.A0b},set:function(b){this.A0b!=b&&(this.A0b=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.intercept=b.$z().intercept,b.forecast=b.$z().forecast,b}b.bQb=d,b.aQb=function(a){return a instanceof d}}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.J0b,__extends(d,b),Object.defineProperty(d.prototype,"forecast",{get:function(){return this.K0b},set:function(b){this.K0b=new a.L0b(b)},enumerable:!0,configurable:!0}),d);function d(a){var c=b.call(this,a)||this;return c.forecast=c.$z().forecast,c}a.eQb=c,a.dQb=function(a){return a instanceof c}}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.J0b,__extends(e,c),Object.defineProperty(e.prototype,"period",{get:function(){return this.v0b},set:function(a){this.v0b!=a&&(this.v0b=this.asInteger(a,!0))},enumerable:!0,configurable:!0}),e.prototype.asInteger=function(b,c){return null==b&&c||a.ePb.dPb(!isNaN(b)&&Math.round(b)===b,"Wrong format of period."),b},e);function e(a){var b=c.call(this,a)||this;return b.period=b.$z().period,b}b.hQb=d,b.gQb=function(a){return a instanceof d}}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.J0b,__extends(e,c),Object.defineProperty(e.prototype,"forecast",{get:function(){return this.K0b},set:function(a){this.K0b=new b.L0b(a)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"intercept",{get:function(){return this.A0b},set:function(b){this.A0b!=b&&(this.A0b=a.core.UOb.asNumber(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"order",{get:function(){return null==this.A3a?2:this.A3a},set:function(a){this.A3a!=a&&(this.A3a=this.asInteger(a,!0),this.A3a<2?this.A3a=2:6<this.A3a&&(this.A3a=6))},enumerable:!0,configurable:!0}),e.prototype.asInteger=function(b,c){return null==b&&c||a.ePb.dPb(!isNaN(b)&&Math.round(b)===b,"Wrong format of order."),b},e);function e(a){var b=c.call(this,a)||this;return b.order=b.$z().order,b.intercept=b.$z().intercept,b.forecast=b.$z().forecast,b}b.kQb=d,b.jQb=function(a){return a instanceof d}}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.J0b,__extends(d,b),Object.defineProperty(d.prototype,"forecast",{get:function(){return this.K0b},set:function(b){this.K0b=new a.L0b(b)},enumerable:!0,configurable:!0}),d);function d(a){var c=b.call(this,a)||this;return c.forecast=c.$z().forecast,c}a.nQb=c,a.mQb=function(a){return a instanceof c}}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.J0b,__extends(e,c),Object.defineProperty(e.prototype,"period",{get:function(){return this.v0b},set:function(a){this.v0b!=a&&(this.v0b=this.asInteger(a,!0))},enumerable:!0,configurable:!0}),e.prototype.asInteger=function(b,c){return null==b&&c||a.ePb.dPb(!isNaN(b)&&Math.round(b)===b,"Wrong format of period."),b},e);function e(a){var b=c.call(this,a)||this;return b.period=b.$z().period,b}b.qQb=d,b.pQb=function(a){return a instanceof d}}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,__extends(e,c),Object.defineProperty(e.prototype,"backwardPeriod",{get:function(){return null==this.O0b?0:this.O0b},set:function(b){a.core.assert(null==b||"number"==typeof b&&0<=b),this.O0b=b},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"forwardPeriod",{get:function(){return null==this.P0b?0:this.P0b},set:function(b){a.core.assert(null==b||"number"==typeof b&&0<=b),this.P0b=b},enumerable:!0,configurable:!0}),e);function e(a){var b=c.call(this,a)||this;return b.forwardPeriod=b.$z().forwardPeriod,b.backwardPeriod=b.$z().backwardPeriod,b}b.L0b=d}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.J0b,__extends(e,c),Object.defineProperty(e.prototype,"period",{get:function(){return this.v0b},set:function(a){this.v0b!=a&&(this.v0b=this.asInteger(a,!0))},enumerable:!0,configurable:!0}),e.prototype.asInteger=function(b,c){return null==b&&c||a.ePb.dPb(!isNaN(b)&&Math.round(b)===b,"Wrong format of period."),b},e);function e(a){var b=c.call(this,a)||this;return b.period=b.$z().period,b}b.tQb=d,b.sQb=function(a){return a instanceof d}}(a.options||(a.options={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"type",{get:function(){return"CumulativeMovingAverageTrendline"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b,c){if(null!=c&&null!=b){if(a.options.QPb(c)){var d=c;return new a.models.BPb(d)}if("CumulativeMovingAverageTrendline"===c.type)return d=new a.options.RPb(c.option()),new a.models.BPb(d)}return null},d);function d(){}b.Q0b=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"type",{get:function(){return"ExponentialMovingAverageTrendline"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b,c){if(null!=c&&null!=b){if(a.options.TPb(c)){var d=c;return new a.models.BPb(d)}if("ExponentialMovingAverageTrendline"===c.type)return d=new a.options.UPb(c.option()),new a.models.BPb(d)}return null},d);function d(){}b.R0b=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"type",{get:function(){return"ExponentialTrendline"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b,c){
- if(null!=c&&null!=b){if(a.options.WPb(c)){var d=c;return new a.models.BPb(d)}if("ExponentialTrendline"===c.type)return d=new a.options.XPb(c.option()),new a.models.BPb(d)}return null},d);function d(){}b.S0b=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"type",{get:function(){return"FourierTrendline"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b,c){if(null!=c&&null!=b){if(a.options.ZPb(c)){var d=c;return new a.models.BPb(d)}if("FourierTrendline"===c.type)return d=new a.options.$Pb(c.option()),new a.models.BPb(d)}return null},d);function d(){}b.T0b=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"type",{get:function(){return"LinearTrendline"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b,c){if(null!=c&&null!=b){if(a.options.aQb(c)){var d=c;return new a.models.BPb(d)}if("LinearTrendline"===c.type)return d=new a.options.bQb(c.option()),new a.models.BPb(d)}return null},d);function d(){}b.U0b=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"type",{get:function(){return"LogarithmicTrendline"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b,c){if(null!=c&&null!=b){if(a.options.dQb(c)){var d=c;return new a.models.BPb(d)}if("LogarithmicTrendline"===c.type)return d=new a.options.eQb(c.option()),new a.models.BPb(d)}return null},d);function d(){}b.V0b=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"type",{get:function(){return"MovingAnnualTotalTrendline"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b,c){if(null!=c&&null!=b){if(a.options.gQb(c)){var d=c;return new a.models.BPb(d)}if("MovingAnnualTotalTrendline"===c.type)return d=new a.options.hQb(c.option()),new a.models.BPb(d)}return null},d);function d(){}b.W0b=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"type",{get:function(){return"PolynomialTrendline"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b,c){if(null!=c&&null!=b){if(a.options.jQb(c)){var d=c;return new a.models.BPb(d)}if("PolynomialTrendline"===c.type)return d=new a.options.kQb(c.option()),new a.models.BPb(d)}return null},d);function d(){}b.X0b=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"type",{get:function(){return"PowerTrendline"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b,c){if(null!=c&&null!=b){if(a.options.mQb(c)){var d=c;return new a.models.BPb(d)}if("PowerTrendline"===c.type)return d=new a.options.nQb(c.option()),new a.models.BPb(d)}return null},d);function d(){}b.Y0b=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"type",{get:function(){return"MovingAverageTrendline"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b,c){if(null!=c&&null!=b){if(a.options.pQb(c)){var d=c;return new a.models.BPb(d)}if("MovingAverageTrendline"===c.type)return d=new a.options.qQb(c.option()),new a.models.BPb(d)}return null},d);function d(){}b.Z0b=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"type",{get:function(){return"WeightedMovingAverageTrendline"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b,c){if(null!=c&&null!=b){if(a.options.sQb(c)){var d=c;return new a.models.BPb(d)}if("WeightedMovingAverageTrendline"===c.type)return d=new a.options.tQb(c.option()),new a.models.BPb(d)}return null},d);function d(){}b.$0b=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.gab=function(a){this.hab[a]=null},c.iab=function(b){if(null==c.hab[b]){var d=a.AdornerRenderPlugin.OSa(b);null!=d&&(this.hab[b]=d.create())}return c.hab[b]},c.M5a=function(b,c){var d=a.ConditionalFormattingRulePlugin.hCa(b);return null!=d?d.create(c):null},c.jab=function(b,c,d){var e=a.CoordinateSystemPlugin.kab(b);return null!=e?e.create(b,c,d):null},c.mab=function(a){this.nab[a]=null},c.QOa=function(b){if(null==c.nab[b]){var d=a.DataContentProviderPlugin.bAa(b);null!=d&&(this.nab[b]=d.create())}return c.nab[b]},c.oab=function(a){this.pab[a]=null},c.ROa=function(b){if(null==c.pab[b]){var d=a.DateParserPlugin.ORa(b);null!=d&&(this.pab[b]=d.create())}return c.pab[b]},c._R=function(b,c,d,e){var f,g=a.LayoutPlugin.sab(b);return null==g&&(g=a.LayoutPlugin.sab("Default")),null!=g&&(f=g.create(c,d,e),null!=f)?f:null},c.uPa=function(b,c,d){var e,f,g,h,i,j,k,l,m=a.PlotPlugin.tab();if(null!=m){for(e=[],f=0,g=m;f<g.length;f++)h=g[f],i=a.PlotPlugin.uab(h),i.chartType==b&&e.push(i);for(1<e.length&&e.sort(function(a,b){return b.priority-a.priority}),j=0,k=e;j<k.length;j++)if(l=k[j].create(c,d),null!=l)return l}return null},c.AWa=function(b,c,d){var e,f,g,h,i;for(e=a.OverlayPlugin.Abb(),f=[],g=0;g<e.length;g++)h=a.OverlayPlugin.zbb(e[g]),h.type===b&&f.push(h);for(f.sort(function(a,b){return b.priority-a.priority}),g=0;g<f.length;g++)if(i=f[g].create(c,d),null!=i)return i;return null},c.wab=function(a){this.TFa[a]=null},c.Za=function(b){if(null==c.TFa[b]){var d=a.SymbolPlugin.jSa(b);null!=d&&(this.TFa[b]=d.create())}return c.TFa[b]},c.$Ra=function(){return a.SymbolPlugin.$Ra()},c.xab=function(a){this.yab[a]=null},c.lPa=function(b){if(null==c.yab[b]){var d=a.StringFormattingPlugin._za(b);null!=d&&(this.yab[b]=d.create())}return c.yab[b]},c.PY=function(b){return a.FilterPlugin.Tvb(b).create()},c.hab={},c.nab={},c.pab={},c.TFa={},c.zab=[],c.yab={},c);function c(){}a.w1a=b}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.registerAdornerRender=function(b,d){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);if(null==d)throw a.PluginErrors.EmptyPluginError();if(null!=c._0b[b])throw a.PluginErrors.TypeExistsError(b);c._0b[b]=d,a.w1a.gab(b)},c.unregisterAdorner=function(b){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);null!=c._0b[b]&&(delete c._0b[b],a.w1a.gab(b))},c.hasRegisteredAdornerRender=function(b){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);return null!=c._0b[b]},c.OSa=function(a){return"string"==typeof a&&null!=c._0b[a]?c._0b[a]:null},c._0b={},c);function c(){}a.AdornerRenderPlugin=b}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(){return new a.models.a1b},d);function d(){}b.BorderAdornerRenderPlugin=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.render=function(a,b){var d,e,f,g=b.slice();if(!(null==g||g.length<=0))for(g.push(g[0]),a.drawLines(g.map(function(a){return a.x}),g.map(function(a){return a.y}),null,{fill:"none",stroke:"#838383",strokeWidth:1}),d=0,e=b;d<e.length;d++)f=e[d],a.drawEllipse(f.x,f.y,c.C7a,c.C7a,null,{fill:"#B3D6F2",stroke:"#047AD8",strokeWidth:1})},c.C7a=3,c);function c(){}a.a1b=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(){return new a.models.JSa},d);function d(){}b.MSa=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.render=function(a,b){var d,e,f;for(d=0,e=b;d<e.length;d++)f=e[d],a.drawRect(f.x-c.B7a,f.y-c.B7a,2*c.B7a,2*c.B7a,null,{fill:"transparent",stroke:"#80A3BE",storkeWidth:1})},c.B7a=3,c);function c(){}a.JSa=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(){return new a.models.KSa},d);function d(){}b.NSa=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.render=function(a,b){var d,e,f;for(d=0,e=b;d<e.length;d++)f=e[d],a.drawEllipse(f.x,f.y,c.C7a,c.C7a,null,{fill:"#B3D6F2",stroke:"#047AD8",strokeWidth:1})},c.C7a=3,c);function c(){}a.KSa=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){a.plugins||(a.plugins={})}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.existType=function(a,b){return null!=this.map[a]&&null!=this.map[a][b]&&0<this.map[a][b].length},c.exist=function(a,b,c){return this.existType(a,b)&&0<=this.map[a][b].indexOf(c)},c.set=function(a,b,c){null==this.map[a]&&(this.plotList.push(a),this.map[a]={}),null==this.map[a][b]&&(this.map[a][b]=[]),this.map[a][b].push(c)},c.delete=function(a,b,c){if(this.existType(a,b)){for(var d=this.map[a][b],e=0;e<d.length;e++)if(d[e]==c){d[e]=d[d.length-1],d.pop();break}0===d.length&&delete this.map[a][b]}},c.register=function(b,c,d){if(null==b||null==c||null==d)throw a.PluginErrors.EmptyPluginError();if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);if("string"!=typeof c)throw a.PluginErrors.InvalidTypeError(c);if(this.exist(b,c,d))throw a.PluginErrors.TypeExistsError(b+c);this.set(b,c,d)},c.unregister=function(b,c,d){if(null==b||null==c)throw a.PluginErrors.EmptyPluginError();if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);if("string"!=typeof c)throw a.PluginErrors.InvalidTypeError(c);this.delete(b,c,d)},c.hasRegisteredAnimationDefinition=function(b,c){if(null==b||null==c)throw a.PluginErrors.EmptyPluginError();if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);if("string"!=typeof c)throw a.PluginErrors.InvalidTypeError(c);return this.existType(b,c)},c.uSb=function(a,b){return null!=a&&null!=b&&"string"==typeof a&&"string"==typeof b&&this.existType(a,b)?this.map[a][b]:null},c.map={},c.plotList=[],c);function c(){}a.AnimationDefinitionPlugin=b}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.register=function(b,c){a.AnimationDefinitionPlugin.register(b,"HoverAnimation",c)},c.unregister=function(b,c){a.AnimationDefinitionPlugin.unregister(b,"HoverAnimation",c)},c.uSb=function(b){return a.AnimationDefinitionPlugin.uSb(b,"HoverAnimation")},c.getPlugin=function(a){var b=this.uSb(a);if(b&&0<b.length)return b.sort(function(a,b){return a.priority-b.priority}),b[0]},c);function c(){}a.HoverAnimationDefinitionPlugin=b}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){a.plugins||(a.plugins={})}(dv=dv||{}),function(a){a.plugins||(a.plugins={})}(dv=dv||{}),function(a){a.plugins||(a.plugins={})}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.register=function(b,c){a.AnimationDefinitionPlugin.register(b,"LoadingAnimation",c)},c.unregister=function(b,c){a.AnimationDefinitionPlugin.unregister(b,"LoadingAnimation",c)},c.uSb=function(b){return a.AnimationDefinitionPlugin.uSb(b,"LoadingAnimation")},c.getPlugin=function(a){var b=this.uSb(a);if(b&&0<b.length)return b.sort(function(a,b){return a.priority-b.priority}),b[0]},c);function c(){}a.LoadingAnimationDefinitionPlugin=b}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.register=function(b,c){a.AnimationDefinitionPlugin.register(b,"UpdateAnimation",c)},c.unregister=function(b,c){a.AnimationDefinitionPlugin.unregister(b,"UpdateAnimation",c)},c.uSb=function(b){return a.AnimationDefinitionPlugin.uSb(b,"UpdateAnimation")},c.getPlugin=function(a){var b=this.uSb(a);if(b&&0<b.length)return b.sort(function(a,b){return a.priority-b.priority}),b[0]},c);function c(){}a.UpdateAnimationDefinitionPlugin=b}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.BaseAnimation,__extends(d,b),d);function d(c,d,e){void 0===e&&(e=a.AnimationKeyFramesType.Percentage);var f=b.call(this)||this;return f.from=c,f.to=d,f.keyframesType=e,f}a.SimpleScaledAnimation=c}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.onCreate=function(){if(this.hasSymbol)for(var a=0,b=this.points;a<b.length;a++)b[a].bz(!1)},c.prototype.b1b=function(){var a,b,c;if(this.hasSymbol)for(a=0,b=this.points;a<b.length;a++)c=b[a],c.bz(!0),c.scale(0)},c.prototype.c1b=function(){var a,b;if(this.hasSymbol)for(a=0;a<this.points.length;++a)b=this.points[a],this.translateTo(b.APa(),this.centers[a]),b.scale(1),b.bz(!0)},c.prototype.translateTo=function(a,b){a.left=b.x-a.width/2,a.top=b.y-a.height/2},c.prototype.d1b=function(a,b){var c,d,e,f,g,h=this.shape.clone();if(0==h.ttb().length)return h;if(0==h.utb().length?(c=h.ttb()[0],h.ttb().forEach(function(b,d){b.x=(b.x-c.x)*a+c.x,b.y=(b.y-c.y)*a+c.y})):h.ttb().forEach(function(c,d){b?h.utb().length==h.ttb().length?c.x=(c.x-h.utb()[d].x)*a+h.utb()[d].x:c.x=(c.x-h.utb()[0].x)*a+h.utb()[0].x:h.utb().length==h.ttb().length?c.y=(c.y-h.utb()[d].y)*a+h.utb()[d].y:c.y=(c.y-h.utb()[0].y)*a+h.utb()[0].y}),this.hasSymbol)for(d=h.ttb(),e=this.points.length,a<0&&(a=0),f=0;f<e;++f)g=this.points[f],this.translateTo(g.APa(),d[this.indexs[f]]),g.scale(a);return h},c.equal=function(a,b){return Math.abs(a-b)<.001},c.equals=function(a,b){return this.equal(a.x,b.x)&&this.equal(a.y,b.y)},c.vQb=function(a,b,c){return this.ucb(a,b,c)},c.ucb=function(a,b,d){var e,f,g,h,i,j,k,l,m,n;if(null==a||null==b)return null;for(e=[],f=[],g=a.ttb(),h=0,i=g.length,j=[],k=0,l=b;k<l.length;k++)if(m=l[k])for(j.push(m),n=m.APa().center,e.push(n);h<i;){if(this.equals(n,g[h])){f.push(h),++h;break}++h}return j.length==f.length&&0<j.length?new c(a,b,e,f,d):void 0},c);function c(a,b,c,d,e){this.shape=a,this.points=b,this.centers=c,this.indexs=d,this.hasSymbol=e,this.onCreate()}a.e1b=b}(dv=dv||{}),function(a){"use strict";var b=(c.makeChain=function(a){var b,c,d,e,f,g;for(b=0,c=0,d=a;c<d.length;c++)(g=d[c]).start=b,b+=g.views.length;for(e=0,f=a;e<f.length;e++)(g=f[e]).total=b},c.prototype.calcViewsIndex=function(a,b){var c,d,e,f,g,h,i,j;for(this.indexs=[],c=0,d=a.ttb(),e=d.length,f=[],g=0,h=b;g<h.length;g++)if(i=h[g],null!=i)for(f.push(i),j=i.APa().center;c<e;){if(this.equals(j,d[c])){this.indexs.push(c),++c;break}++c}this.views=f},c.prototype.animateShape=function(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;for(f=this.shape.clone(),g=f.ttb().length,h=f.utb().length,i=a*(this.views.length-1),j=!0,k=0;k<this.views.length;++k)k<i?(d=k,c&&this.views[k].bz(!0)):(j&&(e=k,j=!1),c&&this.views[k].bz(!1));if(null==d)f.ttb().splice(1),f.utb().splice(1);else if(!j){if(l=(i-d)/(e-d),m=this.lerpPointWithIndex(f.ttb(),this.indexs[d],this.indexs[e],l),n=Math.floor((this.indexs[e]-this.indexs[d])*l)+this.indexs[d]+1,f.ttb().splice(n),f.ttb().push(m),0==f.utb().length)return f;o=Math.floor(h*a),o=o<1?1:o,p=f.utb()[o],f.utb().splice(o),b?(q=m.clone(),h==g?(r=f.utb()[o-1],q.x=r.x+l*(p.x-r.x)):q.x=f.utb()[0].x,f.utb().push(q)):(q=m.clone(),h==g?(r=f.utb()[o-1],q.y=r.y+l*(p.y-r.y)):q.y=f.utb()[0].y,f.utb().push(q))}return f},c.prototype.lerpPointWithIndex=function(a,b,c,d){var e=b+(c-b)*d;return this.lerpPoint(a[Math.floor(e)],a[Math.ceil(e)],d)},c.prototype.lerpPoint=function(a,b,c){var d=a.clone();return d.x+=(b.x-a.x)*c,d.y+=(b.y-a.y)*c,d},c.prototype.animateViews=function(a){var b,c;for(b=0;b<this.views.length;++b)c=this.views[b],1<=a||this.indexs[b]<a*this.shape.ttb().length-1?c.bz(!0):c.bz(!1)},c.prototype.equal=function(a,b){return Math.abs(a-b)<.001},c.prototype.equals=function(a,b){return this.equal(a.x,b.x)&&this.equal(a.y,b.y)},c);function c(a,b){this.start=0,this.shape=a.clone(),this.total=b.length,this.calcViewsIndex(a,b)}a.f1b=b}(dv=dv||{}),function(a){"use strict";var b=(c.g1b=function(a){var b,c,d;if(null!=a)for(b=0,c=a.aT().fua();b<c.length;b++)d=c[b].jxa(),null!=d&&d.bz(!1)},c.h1b=function(b){var c,d,e,f,g,h,i,j,k,l=b.aT();if(null==l.fua()||l.fua().length<=0)return null;for(c=b.bRa(),d=c.$z().config.axisMode,e=c.$z().config.showNulls,f=l.V4a()instanceof a.models.bWb,g=[],h=[],i=0,j=l.fua();i<j.length;i++)k=j[i],null!=c._La(k.Q5a())&&k instanceof a.models.XCa&&(e==a.ShowNulls.Gaps&&null==k.y6a()?(g.push(h),h=[]):k.jxa()&&h.push(k.jxa()));return d!=a.AxisMode.Cartesian&&f&&(0<g.length&&0<g[0].length?h.push(g[0][0]):0==g.length&&0<h.length&&h.push(h[0])),0<h.length&&g.push(h),g},c);function c(){}a.AreaAnimationUtil=b}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.BaseAnimation,__extends(d,b),d.prototype.onPending=function(b){var c,d=this;null!=this.KDa&&(c=a.AreaAnimationUtil.h1b(this.KDa),this.i1b=this.KDa.Tpb().map(function(b,e){return a.e1b.vQb(b.clone(),c[e],d.j1b)}))},d.prototype.onStartAniamtion=function(a){if(this.i1b)for(var b=0,c=this.i1b;b<c.length;b++)c[b].b1b()},d.prototype.onEndAnimation=function(a){var b,c,d,e,f,g;if(this.i1b){for(b=0,c=this.i1b;b<c.length;b++)(g=c[b]).c1b();for(d=[],e=0,f=this.i1b;e<f.length;e++)g=f[e],d.push(g.shape);this.KDa.Tpb(d),this.KDa=null,this.i1b=null}},d.prototype.applyTransformation=function(a,b){var c=this;this.i1b&&this.KDa.Tpb(this.i1b.map(function(b){return b.d1b(a,c.UFa)}))},d);function d(a,c,d){var e=b.call(this)||this;return e.UFa=c,e.j1b=d,e.KDa=a,e}a.N_AreaGroupLoadAnimation=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.SimpleScaledAnimation,__extends(d,b),d.prototype.onPending=function(b){if(null!=this.KDa){this.j1b&&a.AreaAnimationUtil.g1b(this.KDa);var c=a.AreaAnimationUtil.h1b(this.KDa);this.i1b=this.KDa.Tpb().map(function(b,d){return new a.f1b(b.clone(),c[d])}),a.f1b.makeChain(this.i1b)}},d.prototype.onEndAnimation=function(b){var c,d,e,f,g,h,i;if(null!=this.KDa){if(this.j1b)for(c=0,d=this.KDa.points;c<d.length;c++)e=d[c],e instanceof a.P1a&&e.bz(!0);for(f=[],g=0,h=this.i1b;g<h.length;g++)i=h[g],f.push(i.shape);this.KDa.Tpb(f),this.KDa=null,this.i1b=null}},d.prototype.applyTransformation=function(a,b){var c,d,e,f,g;for(c=this.from+(this.to-this.from)*a,d=[],e=0;e<this.i1b.length;++e)f=this.i1b[e],g=(f.total*c-f.start)/f.views.length,d.push(f.animateShape(g,this.UFa,this.j1b));this.KDa.Tpb(d)},d);function d(a,c,d){var e=b.call(this,0,1)||this;return e.UFa=c,e.j1b=d,e.KDa=a,e}a.N_AreaSeriesPointLoadAnimation=c}(dv=dv||{}),function(a){"use strict";var b;(b=a.AnimationFlags||(a.AnimationFlags={}))[b.Update=0]="Update",b[b.Add=1]="Add",b[b.Remove=2]="Remove";function c(){this.qtb=[]}a.rtb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.rtb,__extends(d,b),d.prototype.getAreaShape=function(b){var c=this,d=this.Mtb.map(function(a){return null!=a?a.clone():null}),e=this.Otb.map(function(a){return null!=a?a.clone():null});return new a.shapes.Btb(d.map(function(a,d){if(d<c.Ltb.length){var e=(a.x-c.Ltb[d].x)*b,f=(a.y-c.Ltb[d].y)*b;a.x=c.Ltb[d].x+e,a.y=c.Ltb[d].y+f}return a}),e.map(function(a,d){if(d<c.Ntb.length){var e=(a.x-c.Ntb[d].x)*b,f=(a.y-c.Ntb[d].y)*b;a.x=c.Ntb[d].x+e,a.y=c.Ntb[d].y+f}return a}))},d.analyseShapes=function(b,c){function e(b,c){return b instanceof a.models.SCa&&c instanceof a.models.SCa?null!=b&&null!=c&&b.A6a()==c.A6a()&&b.B6a()==c.B6a()&&b.dimension==c.dimension:null!=b&&null!=c&&b.value==c.value&&b.dimension==c.dimension}var f=[];return c.forEach(function(c){var g,h,i,j,k,l,m,n,o,p;for(g=null,h=0;h<b.length;h++)if(i=b[h],j=a.x7.findMaxSameArrayOf(i.aT(),c.aT(),e),null!=j){for(k=[],l=[],m=[],n=[],o=i.nSa().utb().length==i.nSa().ttb().length&&c.nSa().utb().length==c.nSa().ttb().length,p=0;p<i.nSa().ttb().length;p++)p<j.arrayStart&&(k.push(i.nSa().ttb()[p]),l.push(c.nSa().ttb()[j.otherStart]));if(o)for(p=0;p<i.nSa().utb().length;p++)p<j.arrayStart&&(m.push(i.nSa().utb()[p]),n.push(c.nSa().utb()[j.otherStart]));for(p=0;p<c.nSa().ttb().length;p++)p<j.otherStart&&(k.push(i.nSa().ttb()[j.arrayStart]),l.push(c.nSa().ttb()[p]));if(o)for(p=0;p<i.nSa().utb().length;p++)p<j.otherStart&&(m.push(i.nSa().utb()[j.arrayStart]),n.push(c.nSa().utb()[p]));for(p=0;p<i.nSa().ttb().length;p++)p>=j.arrayStart&&p<=j.arrayEnd&&k.push(i.nSa().ttb()[p]);if(o)for(p=0;p<i.nSa().utb().length;p++)p>=j.arrayStart&&p<=j.arrayEnd&&m.push(i.nSa().utb()[p]);for(p=0;p<c.nSa().ttb().length;p++)p>=j.otherStart&&p<=j.otherEnd&&l.push(c.nSa().ttb()[p]);if(o)for(p=0;p<c.nSa().utb().length;p++)p>=j.otherStart&&p<=j.otherEnd&&n.push(c.nSa().utb()[p]);for(p=0;p<c.nSa().ttb().length;p++)p>j.otherEnd&&(k.push(i.nSa().ttb()[j.arrayEnd]),l.push(c.nSa().ttb()[p]));if(o)for(p=0;p<c.nSa().utb().length;p++)p>j.otherEnd&&(m.push(i.nSa().utb()[j.arrayEnd]),n.push(c.nSa().utb()[p]));for(p=0;p<i.nSa().ttb().length;p++)p>j.arrayEnd&&(k.push(i.nSa().ttb()[p]),l.push(c.nSa().ttb()[j.otherEnd]));if(o)for(p=0;p<i.nSa().utb().length;p++)p>j.arrayEnd&&(m.push(i.nSa().utb()[p]),n.push(c.nSa().utb()[j.otherEnd]));o||(m=i.nSa().utb(),n=c.nSa().utb()),g=new d(m,n,k,l),f.push(g);break}null==g&&(g=new d([],[],[],[]),f.push(g))}),f},d.Ftb=function(b){var c,d,e,f,g,h,i,j,k;return null==b?null:(c=b.bRa(),d=b.data(),null==c.ggb()||c.ggb().length<=0?null:(f=c.$z().config.axisMode,g=c.$z().config.showNulls,h=d.V4a()instanceof a.models.bWb,i=[],j=[],k=0,d.points().forEach(function(l,m){null!=c._La(l.Q5a())&&(l instanceof a.models.XCa?(g==a.ShowNulls.Gaps?null==l.y6a()?(i.push(new a.k1b(b.Tpb()[k].utb(),b.Tpb()[k].ttb(),j)),j=[],k++):j.push(l.jxa()):g!=a.ShowNulls.Zeros&&null==l.y6a()||j.push(l.jxa()),0==m&&(e=(null!=l.y6a()||g!=a.ShowNulls.Gaps)&&0<j.length?j[0]:null)):l instanceof a.models.SCa&&(g==a.ShowNulls.Gaps?null==l.B6a()&&null==l.A6a()?(i.push(new a.k1b(b.Tpb()[k].utb(),b.Tpb()[k].ttb(),j)),j=[],k++):j.push(l.jxa()):(g==a.ShowNulls.Zeros||null!=l.B6a()&&null!=l.A6a())&&j.push(l.jxa()),0==m&&(e=(null==l.B6a()||null==l.A6a()||g!=a.ShowNulls.Gaps)&&0<j.length?j[0]:null)),m==d.points().length-1&&f!=a.AxisMode.Cartesian&&h&&0<j.length&&null!=e&&j.push(e))}),f!=a.AxisMode.Cartesian&&h&&g==a.ShowNulls.Connected&&0<j.length&&null==e&&j.push(j[0]),i.push(new a.k1b(b.Tpb()[k].utb(),b.Tpb()[k].ttb(),j)),i))},d);function d(a,c,d,e){var f=b.call(this)||this;return f.Ltb=[],f.Mtb=[],f.Ntb=[],f.Otb=[],f.Ltb=a,f.Mtb=c,f.Ntb=d,f.Otb=e,f}a.Etb=c}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.aT=function(){return this.Tza},c.prototype.nSa=function(){return this.pCa},c);function c(b,c,d){void 0===d&&(d=null),this.pCa=new a.shapes.Btb(b,c),this.Tza=d}a.k1b=b}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.SimpleScaledAnimation,__extends(d,b),d.prototype.onEndAnimation=function(b){b instanceof a.fMa&&b.Tpb(this.xtb)},d.prototype.onInterruptAnimation=function(b,c){if(c instanceof a.fMa){var d=a.AnimationUtil.mSb(c.bRa(),c.yn());null!=d&&d.Tpb(this.xtb)}},d.prototype.applyTransformation=function(b,c){if(c instanceof a.fMa){var d=this.from+(this.to-this.from)*b;c.Tpb(this.ytb.map(function(a){return a.getAreaShape(d)}))}},d);function d(a,c){var d=b.call(this,0,1)||this;return d.xtb=c.map(function(a){return a.clone()}),d.ytb=a,d}a.N_AreaSeriesComparedAnimation=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.SimpleScaledAnimation,__extends(d,b),d.prototype.Reverse=function(){var a=new d(this.rect,this.swapAxes,this.currentTo,this.from,this.keyframesType);return a.fillAfter=!1,a.duration=this.duration,a},d.prototype.onStartAniamtion=function(a){b.prototype.onStartAniamtion.call(this,a)},d.prototype.onEndAnimation=function(a){b.prototype.onEndAnimation.call(this,a),this.fillAfter||null!=this.rect&&a.APa(this.rect.clone())},d.prototype.applyTransformation=function(b,c){var d,e,f,g,h;this.keyframesType===a.AnimationKeyFramesType.Percentage?(d=this.from+(this.to-this.from)*b,this.currentTo=d,e=this.rect.clone(),this.swapAxes?(c.APa().top=e.top+(1-d)*e.height/2,c.APa().height=d*e.height):(c.APa().left=e.left+(1-d)*e.width/2,c.APa().width=d*e.width)):(e=this.rect,f=this.from+(this.to-this.from)*b,this.currentTo=f,this.swapAxes?(g=this.rect.height+f,c.APa().top=e.top-(g-e.height)/2,c.APa().height=g):(h=this.rect.width+f,c.APa().left=e.left-(h-e.width)/2,c.APa().width=h))},d);function d(a,c,d,e,f){var g=b.call(this,d,e,f)||this;return g.rect=a.clone(),g.swapAxes=c,g.fillAfter=!0,g.currentTo=d,g}a.N_BarHoverAnimation=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.SimpleScaledAnimation,__extends(d,b),d.prototype.onStartAniamtion=function(a){b.prototype.onStartAniamtion.call(this,a)},d.prototype.onEndAnimation=function(a){b.prototype.onEndAnimation.call(this,a),a.APa(this.rect.clone())},d.prototype.xor=function(a,b){return a!=b},d.prototype.applyTransformation=function(b,c){if(c instanceof a.nMa){var d=this.from+(this.to-this.from)*b,e=this.rect.clone(),f=this.isNegative;this.swapAxes?(this.xor(f,this.reversed)&&(e.left=this.rect.left+(this.rect.width-this.rect.width*d)),e.width=this.rect.width*d):(this.xor(f,this.reversed)||(e.top=this.rect.top+this.rect.height-this.rect.height*d),e.height=this.rect.height*d),c.APa(e)}},d);function d(a,c,d,e){var f=b.call(this,0,1)||this;return f.rect=a.clone(),f.swapAxes=c,f.reversed=d,f.isNegative=e,f}a.N_BarLoadAnimation=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.SimpleScaledAnimation,__extends(d,b),d.prototype.onEndAnimation=function(b){b instanceof a.oMa&&(b.XPa([].concat(this.ys)),b.WPa([].concat(this.xs)))},d.prototype.xor=function(a,b){return a!=b},d.prototype.applyTransformation=function(b,c){var d,e,f,g=this.from+(this.to-this.from)*b;c instanceof a.oMa&&(d=this.isNegative,e=this.max,f=this.min,this.swapAxes?this.xor(d,this.reversed)?c.WPa(this.xs.map(function(a){return e-(e-a)*g})):c.WPa(this.xs.map(function(a){return(a-f)*g+f})):this.xor(d,this.reversed)?c.XPa(this.ys.map(function(a){return(a-f)*g+f})):c.XPa(this.ys.map(function(a){return e-(e-a)*g})))},d);function d(a,c,d,e,f){var g=b.call(this,0,1)||this;return g.swapAxes=d,g.reversed=e,g.isNegative=f,g.xs=[].concat(a),g.ys=[].concat(c),g.swapAxes?(g.min=Math.min.apply(Math,g.xs),g.max=Math.max.apply(Math,g.xs)):(g.min=Math.min.apply(Math,g.ys),g.max=Math.max.apply(Math,g.ys)),g}a.N_FunnelLoadAnimation=c}(dv=dv||{}),function(a){"use strict";var b,c,d,e,f,g=(b=a.SimpleScaledAnimation,__extends(h,b),h.prototype.onEndAnimation=function(b){b instanceof a.mMa&&(b.DPa(this.sweep),b.MPa(this.startAngle))},h.prototype.xor=function(a,b){return a!=b},h.prototype.applyTransformation=function(b,c){var d,e,f=this.from+(this.to-this.from)*b;c instanceof a.mMa&&(d=this.sweep*f,this.xor(this.isNegative,this.reversed)&&(e=this.startAngle+this.sweep,c.MPa(e-d)),c.DPa(d))},h);function h(a,c,d,e){var f=b.call(this,0,1)||this;return f.sweep=a,f.startAngle=c,f.isNegative=e,f.reversed=d,f}a.N_RadialBarSweepLoadAnimation=g,c=a.SimpleScaledAnimation,__extends(i,c),i.prototype.onEndAnimation=function(b){c.prototype.onEndAnimation.call(this,b),b instanceof a.mMa&&(b.CPa(this.radius),b.NPa(this.innerRadius))},i.prototype.xor=function(a,b){return a!=b},i.prototype.applyTransformation=function(b,c){var d,e,f=this.from+(this.to-this.from)*b;c instanceof a.mMa&&(this.xor(this.isNegative,this.reversed)?(d=this.radius-(this.radius-this.innerRadius)*f,c.NPa(d)):(e=(this.radius-this.innerRadius)*f+this.innerRadius,c.CPa(e)))},d=i;function i(a,b,d,e){var f=c.call(this,0,1)||this;return f.innerRadius=b,f.radius=a,f.isNegative=e,f.reversed=d,f}a.N_RadialBarRadiusLoadAnimation=d,e=a.SimpleScaledAnimation,__extends(j,e),j.prototype.Reverse=function(){var a=new j(this.sweep,this.radius,this.innerRadius,this.currentTo,this.from,this.keyframesType);return a.fillAfter=!1,a.duration=this.duration,a},j.prototype.onEndAnimation=function(b){e.prototype.onEndAnimation.call(this,b),this.fillAfter||b instanceof a.mMa&&(b.CPa(this.radius),b.NPa(this.innerRadius),b.DPa(this.sweep))},j.prototype.applyTransformation=function(b,c){var d,e,f;c instanceof a.mMa&&(this.keyframesType===a.AnimationKeyFramesType.Percentage?(d=this.from+(this.to-this.from)*b,this.currentTo=d,e=this.radius-this.innerRadius,this.sweep,c.CPa(e*d+this.innerRadius)):(f=this.from+(this.to-this.from)*b,this.currentTo=f,c.CPa(this.radius+f)))},f=j;function j(a,b,c,d,f,g){var h=e.call(this,d,f,g)||this;return h.sweep=a,h.radius=b,h.innerRadius=c,h.fillAfter=!0,h.currentTo=d,h}a.N_RadialBarHoverAnimation=f}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.SimpleScaledAnimation,__extends(d,b),d.prototype.onPending=function(a){var b=a.queryInterface("IDisplayablePipeLine");null!=b&&(b.unshift(this),this.pipeline=b)},d.prototype.onEndAnimation=function(a){b.prototype.onEndAnimation.call(this,a),null!=this.pipeline&&(this.pipeline.delete(this),this.pipeline=null)},d.prototype.onInterruptAnimation=function(b,c){if(c instanceof a.mMa){this.calcShape(b);var d=a.AnimationUtil.mSb(c.bRa(),c.yn());d.BPa(this.center),d.MPa(this.tostartangle),d.DPa(this.tosweep),d.NPa(this.toinnerradius),d.CPa(this.toradius)}this.onEndAnimation(c)},d.prototype.applyTransformation=function(a,b){this.calcShape(a)},d.prototype.calcShape=function(b){var c=this.from+(this.to-this.from)*b,d=(this.tocenter.x-this.fromcenter.x)*c,e=(this.tocenter.y-this.fromcenter.y)*c,f=(this.tostartangle-this.fromstartangle)*c,g=(this.tosweep-this.fromsweep)*c,h=(this.toradius-this.fromradius)*c,i=(this.toinnerradius-this.frominnerradius)*c;this.center=new a.core.Point(this.fromcenter.x+d,this.fromcenter.y+e),this.startAngle=this.fromstartangle+f,this.sweep=this.fromsweep+g,this.innerRadius=this.frominnerradius+i,this.radius=this.fromradius+h},d.prototype.draw=function(b,c){var d=this.borderRadius,e=a.options.YYb.XYb(this.center.x,this.center.y,this.radius*((this.pointScale-1)/2+1),this.innerRadius*(1-(this.pointScale-1)/2),this.startAngle,this.sweep,d);null!=e?b.drawPath(e,a.PathFillType.Nonzero,a.LineCap.Butt,a.LineJoin.Miter):b.drawDonutSegment(this.center.x,this.center.y,this.radius*((this.pointScale-1)/2+1),this.innerRadius*(1-(this.pointScale-1)/2),this.startAngle,this.sweep,null,null,null)},d.prototype.contains=function(a){var b,c,d,e,f=a.x-this.center.x,g=a.y-this.center.y,h=f*f+g*g,i=this.innerRadius*this.innerRadius,j=this.radius*this.radius;return i<=h&&h<=j&&(b=90*this.sweep/Math.PI,c=this.clampAngle(180*this.startAngle/Math.PI+b),d=180*Math.atan2(g,f)/Math.PI,e=this.clampAngle(c-d),Math.abs(e)<=b)},d.prototype.cutOff=function(){return!0},d.prototype.clampAngle=function(a){var b=(a+180)%360-180;return b<-180&&(b+=360),b},d);function d(a,c,d,e,f,g,h,i,j,k,l,m){var n=b.call(this,0,1)||this;return n.center=n.fromcenter=a.clone(),n.radius=n.fromradius=c,n.innerRadius=n.frominnerradius=d,n.startAngle=n.fromstartangle=e,n.sweep=n.fromsweep=f,n.tocenter=g.clone(),n.toradius=h,n.toinnerradius=i,n.tostartangle=j,n.tosweep=k,n.ishiddenBeforeStart=!1,n.borderRadius=l,n.pointScale=m,n}a.N_RadialBarComparedAnimation=c}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.l1b=function(){for(var a=0,b=this.points;a<b.length;a++)b[a].bz(!1)},c.prototype.b1b=function(){var a,b,c;for(a=0,b=this.points;a<b.length;a++)c=b[a],c.bz(!0),c.scale(0)},c.prototype.c1b=function(){var a,b;for(a=0;a<this.points.length;++a)b=this.points[a],this.translateTo(b.APa(),this.centers[a]),b.scale(1),b.bz(!0)},c.prototype.copyPointsInLine=function(a){return a.fua().map(function(a){return a.clone()})},c.prototype.translateTo=function(a,b){a.left=b.x-a.width/2,a.top=b.y-a.height/2},c.prototype.d1b=function(b){var c,d,e,f,g,h,i=this.copyPointsInLine(this.shape),j=this.swapAxes?Math.min.apply(Math,i.map(function(a){return a.x})):Math.max.apply(Math,i.map(function(a){return a.y}));for(c=0,d=i;c<d.length;c++)e=d[c],this.swapAxes?e.x=(j-e.x)*(1-b)+e.x:e.y=(j-e.y)*(1-b)+e.y;for(f=this.points.length,b<0&&(b=0),g=0;g<f;++g)h=this.points[g],this.translateTo(h.APa(),i[this.indexs[g]]),h.scale(b);return new a.shapes.Ztb(i)},c.equal=function(a,b){return Math.abs(a-b)<.001},c.equals=function(a,b){return this.equal(a.x,b.x)&&this.equal(a.y,b.y);
- },c.vQb=function(a,b){var c,d,e,f,g;if(null==a)return null;for(c=[],d=0,e=a;d<e.length;d++)f=e[d],g=this.ucb(f.shape,f.views,b),null!=g&&(c.push(g),g.l1b());return c},c.ucb=function(a,b,d){var e,f,g,h,i,j,k,l,m,n;if(null==a||null==b)return null;for(e=[],f=[],g=a.fua(),h=0,i=g.length,j=[],k=0,l=b;k<l.length;k++)if(m=l[k])for(j.push(m),n=m.APa().center,e.push(n);h<i;){if(this.equals(n,g[h])){f.push(h),++h;break}++h}return j.length==f.length&&0<j.length?new c(a,b,e,f,d):void 0},c);function c(a,b,c,d,e){this.shape=a,this.points=b,this.centers=c,this.indexs=d,this.swapAxes=e}a.m1b=b}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.l1b=function(a,b){var c,d,e;for(this.staggering?this.duration=2/(b+1):this.duration=1/b,this.startTimes=[],c=0,d=this.points.length;c<d;++c)this.points[c].bz(!1),e=a+c,this.staggering?this.startTimes.push(e/(b+1)):this.startTimes.push(e/b)},c.prototype.c1b=function(){var a,b,c;for(a=0,b=this.points;a<b.length;a++)c=b[a],c.bz(!0),c.scale(1)},c.prototype.copyPointsInLine=function(a){return a.fua().map(function(a){return a.clone()})},c.prototype.d1b=function(b){var c,d,e,f,g,h,i,j,k,l,m,n,o;for(c=this.copyPointsInLine(this.shape),d=!0,e=this.points.length,f=0;f<e;++f)g=this.points[f],h=this.startTimes[f],b<h?(d&&(0==f?c=[]:(i=this.startTimes[f-1],j=this.indexs[f-1],k=this.indexs[f],l=(b-i)/(h-i),m=this.lerpPointWithIndex(c,j,k,l),n=Math.floor((k-j)*l)+j+1,c.splice(n),c.push(m)),d=!1),g.bz(!1)):(g.bz(!0),o=(b-h)/this.duration,1<(o=.9*o+.1)&&(o=1),g.scale(o));return new a.shapes.Ztb(c)},c.prototype.lerpPointWithIndex=function(a,b,c,d){var e=b+(c-b)*d;return this.lerpPoint(a[Math.floor(e)],a[Math.ceil(e)],d)},c.prototype.lerpPoint=function(a,b,c){var d=a.clone();return d.x+=(b.x-a.x)*c,d.y+=(b.y-a.y)*c,d},c.equal=function(a,b){return Math.abs(a-b)<.001},c.equals=function(a,b){return this.equal(a.x,b.x)&&this.equal(a.y,b.y)},c.vQb=function(a,b){var c,d,e,f,g,h,i,j,k;if(null==a)return null;for(c=[],d=0,e=0,f=a;e<f.length;e++)g=f[e],null!=(k=this.ucb(g.shape,g.views,b))&&(c.push(k),d+=k.points.length);for(h=0,i=0,j=c;i<j.length;i++)(k=j[i]).l1b(h,d),h+=k.points.length;return c},c.ucb=function(a,b,d){var e,f,g,h,i,j,k,l,m;if(null==a||null==b)return null;for(e=[],f=a.fua(),g=0,h=f.length,i=[],j=0,k=b;j<k.length;j++)if(l=k[j])for(i.push(l),m=l.APa().center;g<h;){if(this.equals(m,f[g])){e.push(g),++g;break}++g}return i.length==e.length&&0<i.length?new c(a,i,e,d):void 0},c);function c(a,b,c,d){this.shape=a,this.points=b,this.indexs=c,this.staggering=d}a.n1b=b}(dv=dv||{}),function(a){"use strict";var b=(c.g1b=function(a){var b,c,d;if(null!=a)for(b=0,c=a.data().points();b<c.length;b++)d=c[b].jxa(),null!=d&&d.bz(!1)},c.h1b=function(b){var c,d,e,f,g,h,i,j,k,l=b.data();if(null==l.points()||l.points().length<=0)return null;for(c=b.bRa(),d=c.$z().config.axisMode,e=c.$z().config.showNulls,f=l.V4a()instanceof a.models.bWb,g=[],h=[],i=0,j=l.points();i<j.length;i++)k=j[i],null!=c._La(k.Q5a())&&k instanceof a.models.XCa&&(e==a.ShowNulls.Gaps&&null==k.y6a()?(g.push(h),h=[]):k.jxa()&&h.push(k.jxa()));return d!=a.AxisMode.Cartesian&&f&&(0<g.length&&0<g[0].length?h.push(g[0][0]):0==g.length&&0<h.length&&h.push(h[0])),0<h.length&&g.push(h),g},c);function c(){}a.LineAnimationUtil=b}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.BaseAnimation,__extends(d,b),d.prototype.init=function(b){var c,d,e=this,f=this.stb.length,g=a.LineAnimationUtil.h1b(b);g.length==f&&(c=g.map(function(a,b){return{shape:e.stb[b],views:a}}),d=a.m1b.vQb(c,this.UFa),this.view=b,this.clips=d)},d.prototype.onStartAniamtion=function(a){if(this.clips)for(var b=0,c=this.clips;b<c.length;b++)c[b].b1b()},d.prototype.onEndAnimation=function(a){if(this.clips){for(var b=0,c=this.clips;b<c.length;b++)c[b].c1b();this.view.Tpb(this.stb),this.view=null,this.clips=null}},d.prototype.applyTransformation=function(a,b){this.clips&&this.view.Tpb(this.clips.map(function(b){return b.d1b(a)}))},d);function d(a,c){var d=b.call(this)||this;return d.stb=a.Tpb().map(function(a){return a.clone()}),d.UFa=c,d.init(a),d}a.N_LineGroupLoadAnimation=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.SimpleScaledAnimation,__extends(d,b),d.prototype.init=function(b){var c,d,e=this,f=this.stb.length,g=a.LineAnimationUtil.h1b(b);g.length==f&&(c=g.map(function(a,b){return{shape:e.stb[b],views:a}}),d=a.n1b.vQb(c,this.staggering),this.view=b,this.clips=d)},d.prototype.onEndAnimation=function(a){if(this.clips){for(var b=0,c=this.clips;b<c.length;b++)c[b].c1b();this.view.Tpb(this.stb),this.view=null,this.clips=null}},d.prototype.applyTransformation=function(a,b){this.clips&&this.view.Tpb(this.clips.map(function(b){return b.d1b(a)}))},d);function d(a,c){var d=b.call(this,0,1)||this;return d.stb=a.Tpb().map(function(a){return a.clone()}),d.staggering=c,d.init(a),d}a.N_LinePointLoadAnimation=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.SimpleScaledAnimation,__extends(d,b),d.prototype.onEndAnimation=function(b){b instanceof a.tMa&&b.Tpb(this.stb)},d.prototype.applyTransformation=function(b,c){var d,e,f=this,g=this.from+(this.to-this.from)*b;c instanceof a.tMa&&(this.T8a===a.AnimationMode.All||this.T8a===a.AnimationMode.Group?(d=this.stb.map(function(a){return a.clone()}),d.forEach(function(a){var b=f.UFa?Math.min.apply(Math,a.fua().map(function(a){return a.x})):Math.max.apply(Math,a.fua().map(function(a){return a.y}));a.fua().forEach(function(a){f.UFa?a.x=(b-a.x)*(1-g)+a.x:a.y=(b-a.y)*(1-g)+a.y})}),c.Tpb(d)):(e=this.stb.map(function(a){return a.clone()}),e.forEach(function(a){var b,c,d,e=Math.floor(g*a.fua().length);0<e&&e<a.fua().length?(b=g*a.fua().length-e,c=a.fua()[e-1],d=a.fua()[e],d.x=c.x+b*(d.x-c.x),d.y=c.y+b*(d.y-c.y),a.fua().splice(e),a.fua().push(d)):a.fua().splice(e)}),c.Tpb(e)))},d);function d(a,c,d){var e=b.call(this,0,1)||this;return e.stb=a.map(function(a){return a.clone()}),e.UFa=c,e.T8a=d,e}a.N_LineSeriesLoadAnimation=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.rtb,__extends(d,b),d.prototype.getLineShape=function(b){var c=this,d=this.fub.map(function(a){return null!=a?a.clone():null});return new a.shapes.Ztb(d.map(function(a,d){if(d<c.eub.length){var e=(a.x-c.eub[d].x)*b,f=(a.y-c.eub[d].y)*b;a.x=c.eub[d].x+e,a.y=c.eub[d].y+f}return a}))},d.analyseShapes=function(b,c){function e(a,b){return null!=a&&null!=b&&a.value==b.value&&a.dimension==b.dimension}var f=[];return c.forEach(function(c){var g,h,i,j,k,l,m;for(g=null,h=0;h<b.length;h++)if(i=b[h],j=a.x7.findMaxSameArrayOf(i.aT(),c.aT(),e),null!=j){for(k=[],l=[],m=0;m<i.nSa().fua().length;m++)m<j.arrayStart&&(k.push(i.nSa().fua()[m]),l.push(c.nSa().fua()[j.otherStart]));for(m=0;m<c.nSa().fua().length;m++)m<j.otherStart&&(k.push(i.nSa().fua()[j.arrayStart]),l.push(c.nSa().fua()[m]));for(m=0;m<i.nSa().fua().length;m++)m>=j.arrayStart&&m<=j.arrayEnd&&k.push(i.nSa().fua()[m]);for(m=0;m<c.nSa().fua().length;m++)m>=j.otherStart&&m<=j.otherEnd&&l.push(c.nSa().fua()[m]);for(m=0;m<c.nSa().fua().length;m++)m>j.otherEnd&&(k.push(i.nSa().fua()[j.arrayEnd]),l.push(c.nSa().fua()[m]));for(m=0;m<i.nSa().fua().length;m++)m>j.arrayEnd&&(k.push(i.nSa().fua()[m]),l.push(c.nSa().fua()[j.otherEnd]));g=new d(k,l),f.push(g);break}null==g&&(g=new d([],[]),f.push(g))}),f},d.bub=function(b){var c,d,e,f,g,h,i,j,k,l,m;if(null==b)return null;if(c=b.bRa(),d=b.data(),null==d.points()||d.points().length<=0)return null;for(e=c.$z().config.axisMode,f=c.$z().config.showNulls,g=d.V4a()instanceof a.models.bWb,h=[],i=[],j=0,k=0,l=d.points();k<l.length;k++)m=l[k],null!=c._La(m.Q5a())&&m instanceof a.models.XCa&&(f==a.ShowNulls.Gaps?null==m.y6a()?(h.push(new a.o1b(b.Tpb()[j].fua(),i)),i=[],j++):i.push(m.jxa()):f!=a.ShowNulls.Zeros&&null==m.y6a()||i.push(m.jxa()));return e!=a.AxisMode.Cartesian&&g&&(0<h.length&&0<h[0].aT().length?i.push(h[0].aT()[0]):0==h.length&&0<i.length&&i.push(i[0])),0<i.length&&h.push(new a.o1b(b.Tpb()[j].fua(),i)),h},d);function d(a,c){var d=b.call(this)||this;return d.eub=[],d.fub=[],d.eub=a,d.fub=c,d}a.aub=c}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.aT=function(){return this.Tza},c.prototype.nSa=function(){return this.pCa},c);function c(b,c){void 0===c&&(c=null),this.pCa=new a.shapes.Ztb(b),this.Tza=c}a.o1b=b}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.SimpleScaledAnimation,__extends(d,b),d.prototype.onEndAnimation=function(b){b instanceof a.tMa&&b.Tpb(this.xtb)},d.prototype.onInterruptAnimation=function(b,c){if(c instanceof a.tMa){var d=a.AnimationUtil.mSb(c.bRa(),c.yn());null!=d&&d.Tpb(this.xtb)}},d.prototype.applyTransformation=function(b,c){if(c instanceof a.tMa){var d=this.from+(this.to-this.from)*b;c.Tpb(this.ytb.map(function(a){return a.getLineShape(d)}))}},d);function d(a,c){var d=b.call(this,0,1)||this;return d.xtb=c.map(function(a){return a.clone()}),d.ytb=a,d}a.N_LineSeriesComparedAnimation=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.SimpleScaledAnimation,__extends(d,b),d.prototype.onPending=function(a){var b=a.queryInterface("IDisplayablePipeLine");null!=b&&(b.unshift(this),this.pipeline=b)},d.prototype.onEndAnimation=function(a){b.prototype.onEndAnimation.call(this,a),null!=this.pipeline&&(this.pipeline.delete(this),this.pipeline=null)},d.prototype.onInterruptAnimation=function(b,c){var d,e;c instanceof a.jgb&&null!=this.pipeline&&(d=this.from+(this.to-this.from)*b,this.calcShape(d),e=a.AnimationUtil.mSb(c.bRa(),c.yn()),null!=e&&(e.WPa(this.xs.slice()),e.XPa(this.ys.slice()))),this.onEndAnimation(c)},d.prototype.draw=function(a,b){this.xs&&this.ys&&a.drawPolygon(this.xs,this.ys)},d.prototype.contains=function(b){return!!(this.xs&&this.ys&&a.x7.IsPointInPolygon2(b,this.xs,this.ys))},d.prototype.cutOff=function(){return!0},d.prototype.applyTransformation=function(b,c){if(c instanceof a.jgb&&null!=this.pipeline){var d=this.from+(this.to-this.from)*b;this.calcShape(d)}},d.prototype.calcShape=function(a){var b,c,d,e,f,g,h,i,j,k=this.toXs,l=this.toYs;if(this.xs.length=this.toXs.length,this.ys.length=this.toYs.length,null!=k&&null!=l)for(Math.max(k.length,l.length,this.fromXs.length,this.fromYs.length),b=Math.min(k.length,l.length,this.fromXs.length,this.fromYs.length),c=Math.min(k.length,l.length)/b,d=Math.min(this.fromXs.length,this.fromYs.length)/b,e=0;e<b;++e)for(f=Math.floor(e*c),g=Math.floor(e*d),h=(k[f]-this.fromXs[g])*a,i=(l[f]-this.fromYs[g])*a,this.xs[f]=h+this.fromXs[g],this.ys[f]=i+this.fromYs[g],j=f+1;j<Math.floor((e+1)*c);++j)this.xs[j]=this.xs[f],this.ys[j]=this.ys[f]},d);function d(c,d,e,f){var g=b.call(this,0,1)||this;return g.xs=[],g.ys=[],g.ease=a.D1a.Linear,g.fromXs=[].concat(c),g.fromYs=[].concat(d),g.toXs=[].concat(e),g.toYs=[].concat(f),g.xs=g.fromXs.slice(),g.ys=g.fromYs.slice(),g.ishiddenBeforeStart=!1,g}a.N_DisplayablePointComparedAnimation=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.SimpleScaledAnimation,__extends(d,b),d.prototype.Reverse=function(){var a=new d(this.rect,this.currentTo,this.from,this.keyframesType,(!1));return a.duration=this.duration,a},d.prototype.onEndAnimation=function(c){b.prototype.onEndAnimation.call(this,c),this.fillAfter||(c instanceof a.jgb&&this.keyframesType===a.AnimationKeyFramesType.Percentage&&c.scale(this.to),null!=this.rect&&c.APa(this.rect.clone()))},d.prototype.applyTransformation=function(b,c){var d,e,f,g,h;this.keyframesType===a.AnimationKeyFramesType.Percentage?(d=this.from+(this.to-this.from)*b,this.currentTo=d,c instanceof a.jgb?c.scale(d):(e=this.rect.clone(),c.APa().left=e.left+(1-d)*e.width/2,c.APa().top=e.top+(1-d)*e.height/2,c.APa().width=d*e.width,c.APa().height=d*e.height)):(e=this.rect,f=this.from+(this.to-this.from)*b,this.currentTo=f,g=this.rect.width+f,h=this.rect.height+f,c.APa().top=e.top-(h-e.height)/2,c.APa().height=h,c.APa().left=e.left-(g-e.width)/2,c.APa().width=g)},d);function d(a,c,d,e,f){void 0===f&&(f=!0);var g=b.call(this,c,d,e)||this;return g.rect=a.clone(),g.fillAfter=f,g.currentTo=c,g}a.N_ScaleAnimation=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.N_DisplayablePointComparedAnimation,__extends(d,b),d.prototype.onPending=function(b){if(b instanceof a.P1a){var c=b.queryInterface("IDisplayablePipeLine");null!=c&&(this.view=b,c.unshift(this),this.pipeline=c)}},d.prototype.onEndAnimation=function(a){b.prototype.onEndAnimation.call(this,a),this.view=null},d.prototype.draw=function(b,c){if(this.xs&&this.ys&&this.view){var d=this.view.Dgb(),e=this.view.Ggb(c);return e.stroke||(e.stroke=d),e.fill||(e.fill=d),a.NQb.Jqb(b,e),b.drawPolygon(this.xs,this.ys),!0}},d);function d(a,c,d,e){return b.call(this,a,c,d,e)||this}a.N_DisplayableCartesianSymbolPointComparedAnimation=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.SimpleScaledAnimation,__extends(d,b),d.prototype.onPending=function(b){if(b instanceof a.P1a){var c=b.queryInterface("IDisplayablePipeLine");null!=c&&(this.view=b,c.unshift(this),this.pipeline=c)}},d.prototype.onEndAnimation=function(a){null!=this.pipeline&&(this.pipeline.delete(this),this.pipeline=null),this.view=null},d.prototype.onInterruptAnimation=function(b,c){if(c instanceof a.jgb&&null!=this.pipeline){this.calcShape(b);var d=a.AnimationUtil.mSb(c.bRa(),c.yn());null!=d&&d.APa(this.rect)}this.onEndAnimation(c)},d.prototype.applyTransformation=function(a,b){this.calcShape(a)},d.prototype.calcShape=function(b){var c=this.from+(this.to-this.from)*b,d=(this.toRectangle.left-this.fromRectangle.left)*c,e=(this.toRectangle.top-this.fromRectangle.top)*c,f=this.fromRectangle.left+d,g=this.fromRectangle.top+e,h=this.toRectangle.width,i=this.toRectangle.height;this.rect=new a.core.Rect(f,g,h,i)},d.prototype.contains=function(a){var b=this.rect;return null!=b&&b.contains(a)},d.prototype.cutOff=function(){return!0},d.prototype.draw=function(a,b){null!=this.view&&this.view.vLa(a,this.rect,b)},d);function d(a,c){var d=b.call(this,0,1)||this;return d.rect=d.fromRectangle=a.clone(),d.toRectangle=c.clone(),d}a.N_SymbolPointComparedAnimation=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.SimpleScaledAnimation,__extends(d,b),d.prototype.onStartAniamtion=function(a){b.prototype.onStartAniamtion.call(this,a),this.Hgb=a.opacity},d.prototype.onEndAnimation=function(a){b.prototype.onEndAnimation.call(this,a),a.opacity=this.Hgb},d.prototype.applyTransformation=function(a,b){var c=this.from+(this.to-this.from)*a;b.opacity=c},d);function d(){var a=b.call(this,0,1)||this;return a.Hgb=null,a}a.N_OpacityAnimation=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.SimpleScaledAnimation,__extends(d,b),d.prototype.Reverse=function(){var a=new d(this.sweep,this.radius,this.innerRadius,this.currentTo,this.from,this.keyframesType);return a.fillAfter=!1,a.duration=this.duration,a},d.prototype.onEndAnimation=function(b){this.fillAfter||b instanceof a.yMa&&(b.CPa(this.radius),b.NPa(this.innerRadius),b.DPa(this.sweep))},d.prototype.applyTransformation=function(b,c){var d,e,f,g;c instanceof a.yMa&&(this.keyframesType===a.AnimationKeyFramesType.Percentage?(d=this.from+(this.to-this.from)*b,this.currentTo=d,e=this.radius-this.innerRadius,f=this.sweep,c.CPa(e*d+this.innerRadius),c.DPa(f)):(g=this.from+(this.to-this.from)*b,this.currentTo=g,c.CPa(this.radius+g)))},d);function d(a,c,d,e,f,g){var h=b.call(this,e,f,g)||this;return h.sweep=a,h.radius=c,h.innerRadius=d,h.fillAfter=!0,h.currentTo=h.from,h}a.N_SunBurstHoverAnimation=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.SimpleScaledAnimation,__extends(d,b),d.prototype.onEndAnimation=function(b){b instanceof a.yMa&&(b.CPa(this.radius),b.NPa(this.innerRadius),b.DPa(this.sweep))},d.prototype.applyTransformation=function(b,c){var d,e,f=this.from+(this.to-this.from)*b;c instanceof a.yMa&&(d=this.radius-this.innerRadius,e=this.sweep,c.CPa(d*f+this.innerRadius),c.DPa(e*f))},d);function d(a,c,d){var e=b.call(this,0,1)||this;return e.sweep=a,e.radius=c,e.innerRadius=d,e}a.N_SunBurstLoadAnimation=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.SimpleScaledAnimation,__extends(d,b),d.prototype.onPending=function(b){if(b instanceof a.AMa){var c=b.queryInterface("IDisplayablePipeLine");null!=c&&(c.unshift(this),this.view=b,this.pipeline=c)}},d.prototype.onEndAnimation=function(a){null!=this.pipeline&&(this.pipeline.delete(this),this.pipeline=null,this.view=null)},d.prototype.onInterruptAnimation=function(b,c){if(c instanceof a.AMa&&null!=this.pipeline){this.calcShape(b);var d=a.AnimationUtil.mSb(c.bRa(),c.yn());null!=d&&(d.p1b=this.rectToShape(this.rect))}this.onEndAnimation(c)},d.prototype.applyTransformation=function(a,b){this.calcShape(a)},d.prototype.rectToShape=function(b){var c=b.left+.5*b.width,d=b.top+.5*b.height;return new a.shapes.qwb(c,d,b.width,b.height,0)},d.prototype.calcShape=function(b){var c=this.from+(this.to-this.from)*b,d=this.fromRectangle.left+(this.toRectangle.left-this.fromRectangle.left)*c,e=this.fromRectangle.top+(this.toRectangle.top-this.fromRectangle.top)*c,f=this.fromRectangle.right+(this.toRectangle.right-this.fromRectangle.right)*c,g=this.fromRectangle.bottom+(this.toRectangle.bottom-this.fromRectangle.bottom)*c;this.rect=new a.core.Rect(d,e,f-d,g-e)},d.prototype.contains=function(a){return!1},d.prototype.cutOff=function(){return!0},d.prototype.draw=function(a,b){var c,d,e,f=this.view;if(null!=f){if(f.B5a()?(b.hoveredPointView=f).q1b()&&(b.hovered=!0):b.hovered&&this.SG(f),c=this.rect,f.r1b())a.drawRect(c.left,c.top,c.width,c.height),f._labelView()&&f._labelView().renderByPointRect(a,c);else for(f.q1b()&&!f.s1b&&(a.drawRect(c.left,c.top,c.width,c.height),f._labelView()&&f._labelView().renderByHeaderRect(a,f.t1b(c))),d=0,e=f.oi();d<e.length;d++)e[d].yl(a,b);f.q1b()&&f.B5a()&&delete b.hovered,f.aT().KQa()&&delete b.selected}},d);function d(a,c){var d=b.call(this,0,1)||this;return d.rect=d.fromRectangle=a.clone(),d.toRectangle=c.clone(),d}a.u1b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.SimpleScaledAnimation,__extends(d,b),d.prototype.onStartAniamtion=function(a){var b=a.queryInterface("IDisplayablePipeLine");null!=b&&(b.unshift(this),this.pipeline=b,this.view=a,this.rect=a.v1b.clone(),a.q1b()&&(this.headerBottom=a.APa().top+a.w1b))},d.prototype.Reverse=function(){var a=new d(this.currentTo,this.from,this.keyframesType);return a.isReverse=!this.isReverse,a.duration=this.duration,a.headerBottom=this.headerBottom,a},d.prototype.onEndAnimation=function(a){this.isReverse&&(a.p1b=this.rect.ORb()),null!=this.pipeline&&(this.pipeline.delete(this),this.pipeline=null,this.view=null)},d.prototype.draw=function(a,b){var c,d,e,f=this.view;if(null!=f){if(f.B5a()?(b.hoveredPointView=f).q1b()&&(b.hovered=!0):b.hovered&&(this.SG(f),f.x1b()),c=f.APa(),f.r1b())a.drawRect(c.left,c.top,c.width,c.height),f._labelView()&&f._labelView().renderByPointRect(a,c);else for(f.q1b()&&!f.s1b&&(a.drawRect(c.left,c.top,c.width,c.height),f._labelView()&&f._labelView().renderByHeaderRect(a,f.t1b(c))),d=0,e=f.oi();d<e.length;d++)e[d].yl(a,b);f.q1b()&&f.B5a()&&delete b.hovered,f.aT().KQa()&&delete b.selected}},d.prototype.contains=function(a){return null!=this.view&&this.view.contains(a)},d.prototype.cutOff=function(){return!0},d.prototype.applyTransformation=function(b,c){var d,e,f,g,h;null!=this.view&&(f=this.rect.clone(),this.keyframesType===a.AnimationKeyFramesType.Percentage?this.currentTo=e=d=this.from+(this.to-this.from)*b:(g=this.from+(this.to-this.from)*b,this.currentTo=g,d=(c.p1b.size.height+g)/c.p1b.size.height,e=(c.p1b.size.width+g)/c.p1b.size.width),f=this.eb(e,d,f),c.q1b()&&(h=this.headerBottom-(this.headerBottom-this.rect.top)*d-f.top,f=this.Dn(0,h,f)),c.p1b=f.ORb())},d.prototype.Dn=function(a,b,c){return c.left+=a,c.top+=b,c},d.prototype.eb=function(a,b,c){if(isNaN(a)||isNaN(b))return null;var d=c;return d.top=d.top+(1-b)*d.height/2,d.height=b*d.height,d.left=d.left+(1-a)*d.width/2,d.width=a*d.width,d},d);function d(a,c,d){var e=b.call(this,a,c,d)||this;return e.isReverse=!1,e.currentTo=a,e}a.N_TreemapHoverAnimation=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.SimpleScaledAnimation,__extends(d,b),d.prototype.onStartAniamtion=function(a){var b=a.queryInterface("IDisplayablePipeLine");null!=b&&(b.unshift(this),this.pipeline=b,this.view=a,this.shape=a.p1b.clone())},d.prototype.onEndAnimation=function(a){null!=this.pipeline&&(this.pipeline.delete(this),this.pipeline=null,this.view=null,a.p1b=this.shape.clone())},d.prototype.applyTransformation=function(b,c){if(null!=this.pipeline){var d=this.from+(this.to-this.from)*b,e=new a.core.Rect(this.shape.center.x-.5*this.shape.size.width,this.shape.center.y-.5*this.shape.size.height,this.shape.size.width,this.shape.size.height);null!=(e=this.eb(d,d,e))&&(c.p1b=e.ORb())}},d.prototype.eb=function(a,b,c){if(isNaN(a)||isNaN(b))return null;var d=c;return d.top=d.top+(1-b)*d.height/2,d.height=b*d.height,d.left=d.left+(1-a)*d.width/2,d.width=a*d.width,d},d.prototype.draw=function(a,b){var c,d,e,f=this.view;if(null!=f){if(f.B5a()?(this.SG(f),(b.hoveredPointView=f).q1b()&&(b.hovered=!0)):b.hovered&&(this.SG(f),f.x1b()),c=f.APa(),f.r1b())a.drawRect(c.left,c.top,c.width,c.height),f._labelView()&&f._labelView().renderByPointRect(a,c);else for(f.q1b()&&!f.s1b&&(a.drawRect(c.left,c.top,c.width,c.height),f._labelView()&&f._labelView().renderByHeaderRect(a,f.t1b(c))),d=0,e=f.oi();d<e.length;d++)e[d].yl(a,b);f.q1b()&&f.B5a()&&delete b.hovered,f.aT().KQa()&&delete b.selected}},d.prototype.contains=function(a){return!1},d.prototype.cutOff=function(){return!0},d);function d(){return b.call(this,0,1)||this}a.N_TreemapPointLoadingAnimation=c}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(){return new a.models.y1b},d);function d(){}b.z1b=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"name",{get:function(){return"AnimationHover"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"model",{get:function(){return this.FLa},enumerable:!0,configurable:!0}),d.prototype.dispose=function(){},d.prototype.hover=function(b,c){return c.type==a.ElementType.DataPoint?(this.FLa=c,!0):(this.FLa=this.A1b(b,c),null!=this.FLa)},d.prototype.isModel=function(b,c){return c.type==a.ElementType.DataPoint?this.FLa==c:null!=this.FLa&&this.FLa==this.A1b(b,c)},d.prototype.prepareHoverAnimation=function(b,c,d){var e=a.AnimationManager.sSb(b.f3a());null!=e&&(d?e.enter(c,b):e.leave(c,b))},d.prototype.onEnter=function(b){var c=this.model;return c instanceof a.jgb&&this.prepareHoverAnimation(c.bRa(),c,!0),1},d.prototype.onLeave=function(b){var c=this.model;return c instanceof a.jgb&&this.prepareHoverAnimation(c.bRa(),c,!1),1},d.prototype.onMove=function(a){return 0},d.prototype.pta=function(b){var c=b.parent;return null==c?null:c.type==a.ElementType.PlotArea?c:this.pta(c)},d.prototype.A1b=function(c,d){var e,f,g;return d.type==a.ElementType.DataPointLabel&&(e=this.pta(d),null!=e&&(f=new a.core.Point(c.x,c.y),g=e.mr(f,new b.ExcludingModelPrediction(["DataPointLabel"])),null!=g&&g.model.type==a.ElementType.DataPoint))?g.model:null},d);function d(){}b.y1b=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){"use strict";var b=(c.build=function(b,c){return a.ScatterHoverAnimationBuilder.build(b,c)},c.buildReverse=function(a){if(null!=a)return a.Reverse()},c);function c(){}a.AreaHoverAnimationBuilder=b}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.vQb=function(a){var b,c,d,e;for(b=[],c=0,d=a.length;c<d;++c)e=this.buildAnimationBy(a[c],c,d),null!=e&&b.push({view:a[c],Animation:e});return 0<b.length?b:null},d.prototype.buildAnimationBy=function(b,c,d){var e,f,g,h=this.option,i=null;return b instanceof a.fMa&&(e=null!=h.startDelay?h.startDelay:0,f=b.aT().R(),h.mode===a.AnimationMode.All?((i=new a.N_AreaGroupLoadAnimation(b,b.yIa(),f)).delay=e,i.duration=h.duration):h.mode===a.AnimationMode.Group?(i=new a.N_AreaGroupLoadAnimation(b,b.yIa(),f),g=this.delayBuilder(c,d,h.duration,h.staggering),i.delay=e+g.delay,i.duration=g.duration):((i=new a.N_AreaSeriesPointLoadAnimation(b,b.yIa(),f)).delay=e,i.duration=h.duration)),null!=i&&(i.ease=a.x7.V1a(h.easing)),i},d.prototype.delayBuilder=function(a,b,c,d){var e,f;return d?(e=c/(b+1),{delay:a*e,duration:2*e}):(f=c/b,{delay:f*a,duration:f})},d);function d(a){this.option=a}b.AreaSeriesLoadingAnimationBuilder=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){"use strict";var b=(c.build=function(b,c){if(b instanceof a.MIa&&c instanceof a.MIa){if(!b.bz()&&!c.bz())return;if(c instanceof a.fMa){if(b instanceof a.fMa){var d=a.Etb.analyseShapes(a.Etb.Ftb(b),a.Etb.Ftb(c)),e=new a.N_AreaSeriesComparedAnimation(d,c.Tpb());return e.duration=1e3,e}return null}return a.ScatterUpdateAnimationBuilder.build(b,c)}},c);function c(){}a.AreaUpdateAnimationBuilder=b}(dv=dv||{}),function(a){"use strict";var b=(c.build=function(b,c){if(null==c||!b.bz())return null;if(b instanceof a.nMa){var d=b.bRa(),e=void 0;return null!=c.scale?c.scale.type==a.ValueOptionType.Percentage?e=new a.N_BarHoverAnimation(b.APa(),d.yIa(),1,c.scale.value,a.AnimationKeyFramesType.Percentage):c.scale.type==a.ValueOptionType.Pixel&&(e=new a.N_BarHoverAnimation(b.APa(),d.yIa(),0,c.scale.value,a.AnimationKeyFramesType.Pixel)):e=new a.N_BarHoverAnimation(b.APa(),d.yIa(),1,1.05,a.AnimationKeyFramesType.Percentage),e&&(e.ease=a.x7.V1a(c.easing),e.duration=c.duration),e}return b instanceof a.mMa?(e=void 0,null!=c.scale?c.scale.type==a.ValueOptionType.Percentage?e=new a.N_RadialBarHoverAnimation(b.DPa(),b.CPa(),b.NPa(),1,c.scale.value,a.AnimationKeyFramesType.Percentage):c.scale.type==a.ValueOptionType.Pixel&&(e=new a.N_RadialBarHoverAnimation(b.DPa(),b.CPa(),b.NPa(),0,c.scale.value,a.AnimationKeyFramesType.Pixel)):e=new a.N_RadialBarHoverAnimation(b.DPa(),b.CPa(),b.NPa(),1,1.05,a.AnimationKeyFramesType.Percentage),e&&(e.ease=a.x7.V1a(c.easing),e.duration=c.duration),e):b instanceof a.jgb?a.PointViewHoverAnimationBuilder.buildByPointView(b,c):null},c.buildReverse=function(a){if(null!=a)return a.Reverse()},c);function c(){}a.BarHoverAnimationBuilder=b}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.vQb=function(b){var c,d,e,f,g,h,i,j,k,l,m,n,o;for(c=[],d=this.option,e=0,f=b;e<f.length;e++)g=f[e],null!=(k=this.buildAnimationBy(g,d))&&c.push({view:g,Animation:this.buildAnimationBy(g,d)});if(h=null==d.startDelay?0:d.startDelay,0<c.length){for(i=0,j=c.length;i<j;++i)k=c[i].Animation,g=c[i].view,d.mode===a.AnimationMode.Group?(l=g.aT(),m=l.Ata().plot().J5a(),n=m.indexOf(l.Ata()),o=this.delayBuilder(n,m.length,d.duration,d.staggering),k.duration=o.duration,k.delay=o.delay+h):d.mode===a.AnimationMode.Point?(o=this.delayBuilder(i,j,d.duration,d.staggering),k.duration=o.duration,k.delay=o.delay+h):(k.duration=d.duration,k.delay=h),k.ease=a.x7.V1a(d.easing);return c}return null},d.prototype.buildAnimationBy=function(b,c){if(0==b.bz())return null;var d=b.bRa(),e=null;return b instanceof a.nMa?e=new a.N_BarLoadAnimation(b.APa(),d.yIa(),b.WDa(),(!b.M$b())):b instanceof a.oMa?e=new a.N_FunnelLoadAnimation(b.WPa(),b.XPa(),d.yIa(),b.WDa(),(!b.M$b())):b instanceof a.mMa&&(e=d.yIa()?new a.N_RadialBarRadiusLoadAnimation(b.CPa(),b.NPa(),b.WDa(),(!b.M$b())):new a.N_RadialBarSweepLoadAnimation(b.DPa(),b.MPa(),b.WDa(),(!b.M$b()))),e},d.prototype.delayBuilder=function(a,b,c,d){var e,f;return d?(e=c/(b+1),{delay:a*e,duration:2*e}):(f=c/b,{delay:f*a,duration:f})},d);function d(a){this.option=a}b.BarLoadingAnimationBuilder=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){"use strict";var b=(c.build=function(b,c){if(b instanceof a.MIa&&c instanceof a.MIa){if(!b.bz()&&!c.bz())return;return c instanceof a.mMa?this.toRadialBarPointView(b,c):c instanceof a.Z1a?a.CartesianUpdateAnimationBuilder.toCartesianPointView(b,c):null}},c.borderRadiusEquals=function(a,b){return!0},c.toRadialBarPointView=function(b,c){if(b instanceof a.mMa&&this.borderRadiusEquals(b,c)){var d=new a.N_RadialBarComparedAnimation(b.BPa(),b.CPa(),b.NPa(),b.MPa(),b.DPa(),c.BPa(),c.CPa(),c.NPa(),c.MPa(),c.DPa(),c.bRa().q4a().s4a().$z().bar.borderRadius,c.scale());return null!=d&&(d.duration=1e3),d}return a.CartesianUpdateAnimationBuilder.toCartesianPointView(b,c)},c);function c(){}a.BarUpdateAnimationBuilder=b}(dv=dv||{}),function(a){"use strict";var b=(c.toCartesianPointView=function(b,c){if(null!=b&&b instanceof a.jgb){var d=new a.N_DisplayablePointComparedAnimation(b.WPa(),b.XPa(),c.WPa(),c.XPa());return d.duration=1e3,d}return null},c);function c(){}a.CartesianUpdateAnimationBuilder=b}(dv=dv||{}),function(a){"use strict";var b=(c.build=function(b,c){return a.ScatterHoverAnimationBuilder.build(b,c)},c.buildReverse=function(a){if(null!=a)return a.Reverse()},c);function c(){}a.LineHoverAnimationBuilder=b}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.vQb=function(a){var b,c,d,e;for(b=[],c=0,d=a.length;c<d;++c)e=this.buildAnimationBy(a[c],c,d),null!=e&&b.push({view:a[c],Animation:e});return 0<b.length?b:null},d.prototype.buildAnimationBy=function(b,c,d){var e,f,g=this.option,h=null;if(b instanceof a.tMa){if(null==b.Tpb())return null;e=null!=g.startDelay?g.startDelay:0,b.aT().R()?g.mode===a.AnimationMode.Point?((h=new a.N_LinePointLoadAnimation(b,g.staggering)).delay=e,h.duration=g.duration):g.mode===a.AnimationMode.Group?(h=new a.N_LineGroupLoadAnimation(b,b.yIa()),f=this.delayBuilder(c,d,g.duration,g.staggering),h.delay=e+f.delay,h.duration=f.duration):((h=new a.N_LineGroupLoadAnimation(b,b.yIa())).delay=e,h.duration=g.duration):(h=new a.N_LineSeriesLoadAnimation(b.Tpb(),b.yIa(),g.mode),g.mode===a.AnimationMode.Group?(f=this.delayBuilder(c,d,g.duration,g.staggering),h.delay=e+f.delay,h.duration=f.duration):(h.delay=e,h.duration=g.duration))}return null!=h&&(h.ease=a.x7.V1a(g.easing)),h},d.prototype.delayBuilder=function(a,b,c,d){var e,f;return d?(e=c/(b+1),{delay:a*e,duration:2*e}):(f=c/b,{delay:f*a,duration:f})},d);function d(a){this.option=a}b.LineSeriesLoadingAnimationBuilder=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){"use strict";var b=(c.build=function(b,c){if(b instanceof a.MIa&&c instanceof a.MIa){if(!b.bz()&&!c.bz())return;if(c instanceof a.tMa){if(b instanceof a.tMa){c.bRa().$z().config.showNulls;var d=a.aub.analyseShapes(a.aub.bub(b),a.aub.bub(c)),e=new a.N_LineSeriesComparedAnimation(d,c.Tpb());return e.duration=1e3,e}return null}return a.ScatterUpdateAnimationBuilder.build(b,c)}},c);function c(){}a.LineUpdateAnimationBuilder=b}(dv=dv||{}),function(a){"use strict";var b=(c.build=function(b,c){return null!=c&&b.bz()&&b instanceof a.jgb?a.PointViewHoverAnimationBuilder.buildByPointView(b,c):null},c.buildReverse=function(a){if(null!=a)return a.Reverse()},c);function c(){}a.ScatterHoverAnimationBuilder=b}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.vQb=function(b){var c,d,e,f,g,h,i,j,k,l,m,n,o;for(c=[],d=this.option,e=0,f=b;e<f.length;e++)g=f[e],null!=(k=this.buildAnimationBy(g,d))&&c.push({view:g,Animation:this.buildAnimationBy(g,d)});if(h=null==d.startDelay?0:d.startDelay,0<c.length){for(i=0,j=c.length;i<j;++i)k=c[i].Animation,g=c[i].view,d.mode===a.AnimationMode.Group?(l=g.aT(),m=l.Ata().plot().J5a(),n=m.indexOf(l.Ata()),o=this.delayBuilder(n,m.length,d.duration,d.staggering),k.duration=o.duration,k.delay=o.delay+h):d.mode===a.AnimationMode.Point?(o=this.delayBuilder(i,j,d.duration,d.staggering),k.duration=o.duration,k.delay=o.delay+h):(k.duration=d.duration,k.delay=h),k.ease=a.x7.V1a(d.easing);return c}return null},d.prototype.buildAnimationBy=function(b,c){if(0==b.bz())return null;var d=null;return b instanceof a.P1a&&(d=new a.N_ScaleAnimation(b.APa(),0,1,a.AnimationKeyFramesType.Percentage,(!1))),d},d.prototype.delayBuilder=function(a,b,c,d){var e,f;return d?(e=c/(b+1),{delay:a*e,duration:2*e}):(f=c/b,{delay:f*a,duration:f})},d);function d(a){this.option=a}b.ScatterLoadingAnimationBuilder=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){"use strict";var b=(c.build=function(b,c){if(b instanceof a.MIa&&c instanceof a.MIa){if(!b.bz()&&!c.bz())return;if(c instanceof a.P1a){var d;if(b instanceof a.P1a&&b.aT().nSa()==c.aT().nSa())return(d=new a.N_SymbolPointComparedAnimation(b.APa(),c.APa())).duration=1e3,d;if(b instanceof a.jgb)return(d=new a.N_DisplayableCartesianSymbolPointComparedAnimation(b.WPa(),b.XPa(),c.WPa(),c.XPa())).duration=1e3,
- d}return null}},c);function c(){}a.ScatterUpdateAnimationBuilder=b}(dv=dv||{}),function(a){"use strict";var b=(c.buildByPointView=function(b,c){return null!=c&&b.bz()?(null!=c.scale?c.scale.type==a.ValueOptionType.Percentage?d=new a.N_ScaleAnimation(b.APa(),1,c.scale.value,a.AnimationKeyFramesType.Percentage):c.scale.type==a.ValueOptionType.Pixel&&(d=new a.N_ScaleAnimation(b.APa(),0,c.scale.value,a.AnimationKeyFramesType.Pixel)):d=new a.N_ScaleAnimation(b.APa(),1,1.05,a.AnimationKeyFramesType.Percentage),d&&(d.ease=a.x7.V1a(c.easing),d.duration=c.duration),d):null;var d},c);function c(){}a.PointViewHoverAnimationBuilder=b}(dv=dv||{}),function(a){"use strict";var b=(c.build=function(b,c){if(null==c||!b.bz())return null;if(b instanceof a.yMa){var d=void 0;return null!=c.scale?c.scale.type==a.ValueOptionType.Percentage?d=new a.N_SunBurstHoverAnimation(b.DPa(),b.CPa(),b.NPa(),1,c.scale.value,a.AnimationKeyFramesType.Percentage):c.scale.type==a.ValueOptionType.Pixel&&(d=new a.N_SunBurstHoverAnimation(b.DPa(),b.CPa(),b.NPa(),0,c.scale.value,a.AnimationKeyFramesType.Pixel)):d=new a.N_SunBurstHoverAnimation(b.DPa(),b.CPa(),b.NPa(),1,1.05,a.AnimationKeyFramesType.Percentage),d&&(d.ease=a.x7.V1a(c.easing),d.duration=c.duration),d}return null},c.buildReverse=function(a){if(null!=a)return a.Reverse()},c);function c(){}a.SunburstHoverAnimationBuilder=b}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.build=function(c){var d,e,f,g;return null==c||0==c.bz()?null:(d=this.option,e=this.size,f=new a.N_SunBurstLoadAnimation(c.DPa(),c.CPa(),c.NPa()),null!=f&&(g=b.SunburstStaggerBuilder.B1b(this.staggering,c,e,d),this.staggering=g.staggering,f.duration=g.duration,f.ease=a.x7.V1a(d.easing),f.delay=null!=d.startDelay?d.startDelay+this.staggering:this.staggering),f)},d);function d(a,b){this.staggering=null,this.size=a,this.option=b}b.SunburstLoadingAnimationBuilder=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.B1b=function(a,b,c,d){return{staggering:0,duration:d.duration}},c);function c(){}a.SunburstStaggerBuilder=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){"use strict";var b=(c.build=function(b,c){if(null!=b&&b instanceof a.jgb){var d=new a.N_DisplayablePointComparedAnimation(b.WPa(),b.XPa(),c.WPa(),c.XPa());return d.duration=1e3,d}return null},c);function c(){}a.SunburstUpdateAnimationBuilder=b}(dv=dv||{}),function(a){"use strict";var b=(c.build=function(b,c){if(null==c||!b.bz())return null;if(b instanceof a.AMa){var d=void 0;return null!=c.scale?c.scale.type==a.ValueOptionType.Percentage?d=new a.N_TreemapHoverAnimation(1,c.scale.value,a.AnimationKeyFramesType.Percentage):c.scale.type==a.ValueOptionType.Pixel&&(d=new a.N_TreemapHoverAnimation(0,c.scale.value,a.AnimationKeyFramesType.Pixel)):d=new a.N_TreemapHoverAnimation(1,1.05,a.AnimationKeyFramesType.Percentage),d&&(d.ease=a.x7.V1a(c.easing),d.duration=c.duration),d}return null},c.buildReverse=function(a){if(null!=a)return a.Reverse()},c);function c(){}a.TreeMapHoverAnimationBuilder=b}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.build=function(b){if(null==b)return null;var c=this.option;return c.mode===a.AnimationMode.All?this.createAllAnimation(b,c):this.createPointAnimation(b,c)},d.prototype.createAllAnimation=function(b,c){var d=new a.N_TreemapPointLoadingAnimation;return d.duration=c.duration,d.ease=a.x7.V1a(c.easing),d.delay=null!=c.startDelay?c.startDelay:0,[{Animation:d,view:b}]},d.prototype.createPointAnimation=function(b,c){var e,f,g,h,i,j,k=d.C1b(b.bRa().aT()),l=[];for(this.traverseToCreate(b,k,l,c),e=1==c.staggering,f=null!=c.startDelay?c.startDelay:0,g=0,h=l.length;g<h;++g)i=this.delayBuilder(g,h,c.duration,e),j=l[g].Animation,j.duration=i.duration,j.delay=i.delay+f,j.ease=a.x7.V1a(c.easing);return l},d.prototype.delayBuilder=function(a,b,c,d){var e,f;return d?(e=c/(b+1),{delay:a*e,duration:2*e}):(f=c/b,{delay:f*a,duration:f})},d.prototype.traverseToCreate=function(b,c,d,e){var f,g,h,i,j=b.aT();if(!(!b||b.r1b()||j.ora()>c))if(b.q1b()&&!b.s1b||j.ora()===c)f=new a.N_TreemapPointLoadingAnimation,d.push({Animation:f,view:b});else for(g=0,h=b.oi();g<h.length;g++)i=h[g],this.traverseToCreate(i,c,d,e)},d.C1b=function(a){var b,c,d,e=a.EWb().DWb().c7a().Y2a().map(function(a){return a.Cj()});if(null!=a.EWb().DWb().R5a())for(b=a.EWb().DWb().R5a().Y2a().map(function(a){return a.Cj()});0<b.length;)if(c=b[0],d=e.indexOf(c),0<=d)return d+1;return 1},d);function d(a){this.option=a}b.TreeMapLoadingAnimationBuilder=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.B1b=function(a,b,c,d){return{staggering:0,duration:d.duration}},c);function c(){}a.TreeMapStaggerBuilder=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){"use strict";var b=(c.build=function(b,c){return c instanceof a.AMa&&b instanceof a.AMa?new a.u1b(b.APa(),c.APa()):null},c);function c(){}a.TreeMapUpdateAnimationBuilder=b}(dv=dv||{}),function(a){"use strict";var b=(c.buildAnimationInfos=function(b,c,d){var e,f,g,h,i,j,k=[];if(null==b||null==c)return k;for(e=0,f=b;e<f.length;e++)g=f[e],h=g.from,i=g.to,null!=i&&null!=h?null!=(j=c(h,i))&&(a.AnimationUtil.jSb(j,0,d.duration,d),k.push({view:i,Animation:j})):null==h&&null!=i&&(j=new a.N_OpacityAnimation,a.AnimationUtil.jSb(j,0,d.duration,d),k.push({view:i,Animation:j}));return k},c);function c(){}a.UpdateAnimationsBuilder=b}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.$z=function(){return this.eAa},c.prototype.wQb=function(){return this.xQb},c.prototype.queryInterface=function(a){return null},c);function c(a,b){this.xQb=a,this.eAa=b}a.AnimationDefinition=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.AnimationDefinition,__extends(e,c),e.prototype.yQb=function(b,c,d){var e=a.AnimationManager.getInstance(b).zQb();e&&e.R6(b,{Animation:d,view:c})},e.prototype.AQb=function(b,c){var d,e=a.AnimationManager.getInstance(b).zQb();return e&&(d=e.NR(b),d&&d.view==c)?d.Animation:null},e.prototype.Nc=function(){return"HoverAnimation"},e.prototype.$z=function(){return c.prototype.$z.call(this)},e.prototype.viewGetter=function(a){return a},e.prototype.enter=function(b,c){if(null!=(b=this.viewGetter(b))&&null!=this.$z()){a.AnimationUtil.BQb(b,c);var d=this.getHoverAnimation(b);null!=d&&(this.yQb(c,b,d),a.AnimationUtil.CQb(b,d,c))}},e.prototype.leave=function(b,c){var d,e,f;null!=(b=this.viewGetter(b))&&null!=this.$z()&&(d=void 0,e=this.AQb(c,b),null!=e&&(d=e).SG(b),f=this.getReversedHoverAnimation(b,d),null!=f&&a.AnimationUtil.CQb(b,f,c))},e);function e(a,b){return c.call(this,a,b)||this}b.HoverAnimationDefinition=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.AnimationDefinition,__extends(e,c),e.prototype.Nc=function(){return"LoadingAnimation"},e.prototype.prepareLoadingAnimation=function(b){if(null!=b&&null!=this.$z()){var c=this.getLoadingAnimationInfos(b),d=a.AnimationManager.getInstance(b).DQb();null!=d&&d.handleSepecific(b,c,!0)}},e);function e(){return null!==c&&c.apply(this,arguments)||this}b.LoadingAnimationDefinition=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.AnimationDefinition,__extends(e,c),e.prototype.Nc=function(){return"UpdateAnimation"},e.prototype.getCachedViews=function(a){return this.getAnimatableViews(a)},e.prototype.prepareUpdateAnimation=function(b){var c,d,e,f,g,h;if(null!=b){if(c=this.getAnimatableViews(b),d=a.AnimationManager.getInstance(b).DQb(),null==d||null==c)return;if(e=this.$z(),f=a.AnimationManager.getInstance(b).EQb(),null==e)return void f.$b();d.interruptSepecificAnimationBy(b),g=new a.UpdateAnimationAnalyzer(b,this).FQb(c,f),f.R6(b,a.UpdateAnimationStorage.pack(this.getCachedViews(b))),null!=g&&(h=this.getUpdateAnimationInfos(g),d.handleSepecific(b,h,!0))}},e);function e(){return null!==c&&c.apply(this,arguments)||this}b.UpdateAnimationDefinition=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){"use strict";var b=(c.cloneVertex=function(a,b){a.WPa(b.WPa().slice()),a.XPa(b.XPa().slice())},c.cloneBaseInfo=function(a,b){a.bz(b.bz())},c.cloneId=function(a,b){a.igb=b.igb},c);function c(){}a.CartesianPointViewClone=b}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.HoverAnimationDefinition,__extends(e,c),e.prototype.GQb=function(){return"Area"},e.prototype.wQb=function(){return c.prototype.wQb.call(this)},e.prototype.getHoverAnimation=function(b){return a.AreaHoverAnimationBuilder.build(b,this.$z())},e.prototype.getReversedHoverAnimation=function(b,c){return null==c&&(c=this.getHoverAnimation(b)),a.AreaHoverAnimationBuilder.buildReverse(c)},e);function e(a,b){return c.call(this,a,b)||this}b.AreaHoverAnimationDefinition=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.LoadingAnimationDefinition,__extends(e,c),e.prototype.GQb=function(){return"Area"},e.prototype.wQb=function(){return c.prototype.wQb.call(this)},e.prototype.getLoadingAnimationInfos=function(a){var c=this.getAnimatableSeriesViews(a);if(null!=c)return new b.AreaSeriesLoadingAnimationBuilder(this.$z()).vQb(c)},e.prototype.getAnimatableSeriesViews=function(b){if(b instanceof a.fbb)return b.Zgb()},e);function e(a,b){return c.call(this,a,b)||this}b.AreaLoadingAnimationDefinition=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.UpdateAnimationDefinition,__extends(e,c),e.prototype.GQb=function(){return"Area"},e.prototype.wQb=function(){return c.prototype.wQb.call(this)},e.prototype.createUpdateAnimation=function(b,c){return a.AreaUpdateAnimationBuilder.build(b,c)},e.prototype.getUpdateAnimationInfos=function(b){return a.UpdateAnimationsBuilder.buildAnimationInfos(b,this.createUpdateAnimation,this.$z())},e.prototype.getAnimatableViews=function(a){return a.oi},e.prototype.getCachedViews=function(b){var c=this;return b.oi.map(function(b){return b instanceof a.Z1a?c.clonePoint(b):b instanceof a.fMa?c.cloneSeries(b):b})},e.prototype.cloneSeries=function(b){var c=new a.fMa(b.bRa(),b.aT());return null!=b.Tpb()&&c.Tpb(b.Tpb().map(function(a){return a.clone()})),a.CartesianPointViewClone.cloneBaseInfo(c,b),a.CartesianPointViewClone.cloneId(c,b),c},e.prototype.clonePoint=function(b){var c,d;return b instanceof a.P1a?(d=new a.P1a(b.YOb(),b.aT()),d.APa(b.APa().clone()),c=d):c=new a.Z1a(b.YOb(),b.aT()),a.CartesianPointViewClone.cloneVertex(c,b),a.CartesianPointViewClone.cloneBaseInfo(c,b),a.CartesianPointViewClone.cloneId(c,b),c},e);function e(a,b){return c.call(this,a,b)||this}b.AreaUpdateAnimationDefinition=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"chartType",{get:function(){return"Area"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b){var c=b.option.config.hoverAnimation;return b instanceof a.models.OTb?new a.models.AreaHoverAnimationDefinition(b,c):null},d);function d(){}b.AreaHoverAnimationPlugin=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"chartType",{get:function(){return"Area"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b){var c=b.option.config.loadAnimation;return b instanceof a.models.OTb?new a.models.AreaLoadingAnimationDefinition(b,c):null},d);function d(){}b.AreaLoadingAnimationPlugin=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"chartType",{get:function(){return"Area"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b){var c=b.option.config.updateAnimation;return b instanceof a.models.OTb?new a.models.AreaUpdateAnimationDefinition(b,c):null},d);function d(){}b.AreaUpdateAnimationPlugin=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.HoverAnimationDefinition,__extends(e,c),e.prototype.GQb=function(){return"Bar"},e.prototype.wQb=function(){return c.prototype.wQb.call(this)},e.prototype.getHoverAnimation=function(b){return a.BarHoverAnimationBuilder.build(b,this.$z())},e.prototype.getReversedHoverAnimation=function(b,c){return null==c&&(c=this.getHoverAnimation(b)),a.BarHoverAnimationBuilder.buildReverse(c)},e);function e(a,b){return c.call(this,a,b)||this}b.BarHoverAnimationDefinition=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.LoadingAnimationDefinition,__extends(e,c),e.prototype.GQb=function(){return"Bar"},e.prototype.wQb=function(){return c.prototype.wQb.call(this)},e.prototype.getLoadingAnimationInfos=function(a){var c=this.getAnimatableViews(a);if(null!=c)return new b.BarLoadingAnimationBuilder(this.$z()).vQb(c)},e.prototype.getAnimatableViews=function(b){var c,d,e,f;if(b instanceof a.hbb){for(c=[],d=0,e=b.oi;d<e.length;d++)f=e[d],f instanceof a.Z1a&&c.push(f);return c.sort(this.compare),c}return null},e.prototype.compare=function(a,b){var c=a.bRa();return c._La(a.aT().Q5a())-c._La(b.aT().Q5a())},e);function e(a,b){return c.call(this,a,b)||this}b.BarLoadingAnimationDefinition=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.UpdateAnimationDefinition,__extends(e,c),e.prototype.GQb=function(){return"Bar"},e.prototype.wQb=function(){return c.prototype.wQb.call(this)},e.prototype.createUpdateAnimation=function(b,c){return a.BarUpdateAnimationBuilder.build(b,c)},e.prototype.getUpdateAnimationInfos=function(b){return a.UpdateAnimationsBuilder.buildAnimationInfos(b,this.createUpdateAnimation,this.$z())},e.prototype.getAnimatableViews=function(a){return a.oi},e.prototype.getCachedViews=function(b){var c=this;return b.oi.map(function(b){return b instanceof a.Z1a?c.clonePoint(b):b})},e.prototype.clonePoint=function(b){var c,d;return b instanceof a.mMa?(d=new a.mMa(b.YOb(),b.aT()),d.BPa(b.BPa().clone()),d.CPa(b.CPa()),d.NPa(b.NPa()),d.MPa(b.MPa()),d.DPa(b.DPa()),d.scale=b.scale,c=d):c=new a.Z1a(b.YOb(),b.aT()),a.CartesianPointViewClone.cloneVertex(c,b),a.CartesianPointViewClone.cloneBaseInfo(c,b),a.CartesianPointViewClone.cloneId(c,b),c},e);function e(a,b){return c.call(this,a,b)||this}b.BarUpdateAnimationDefinition=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"chartType",{get:function(){return"Bar"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b){var c=b.option.config.hoverAnimation;return b instanceof a.models.RTb?new a.models.BarHoverAnimationDefinition(b,c):null},d);function d(){}b.BarHoverAnimationPlugin=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"chartType",{get:function(){return"Bar"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b){var c=b.option.config.loadAnimation;return b instanceof a.models.RTb?new a.models.BarLoadingAnimationDefinition(b,c):null},d);function d(){}b.BarLoadingAnimationPlugin=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"chartType",{get:function(){return"Bar"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b){var c=b.option.config.updateAnimation;return b instanceof a.models.RTb?new a.models.BarUpdateAnimationDefinition(b,c):null},d);function d(){}b.BarUpdateAnimationPlugin=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.AnimationDefinition,__extends(d,b),d.prototype.GQb=function(){return"Cartesian"},d.prototype.wQb=function(){return b.prototype.wQb.call(this)},d);function d(a,c){return b.call(this,a,c)||this}a.CartesianAnimationDefinition=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.HoverAnimationDefinition,__extends(e,c),e.prototype.GQb=function(){return"Line"},e.prototype.wQb=function(){return c.prototype.wQb.call(this)},e.prototype.getHoverAnimation=function(b){return a.LineHoverAnimationBuilder.build(b,this.$z())},e.prototype.getReversedHoverAnimation=function(b,c){return null==c&&(c=this.getHoverAnimation(b)),a.LineHoverAnimationBuilder.buildReverse(c)},e);function e(a,b){return c.call(this,a,b)||this}b.LineHoverAnimationDefinition=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.LoadingAnimationDefinition,__extends(e,c),e.prototype.GQb=function(){return"Line"},e.prototype.wQb=function(){return c.prototype.wQb.call(this)},e.prototype.getLoadingAnimationInfos=function(a){var c=this.getAnimatableSeriesViews(a);if(null!=c)return new b.LineSeriesLoadingAnimationBuilder(this.$z()).vQb(c)},e.prototype.getAnimatableSeriesViews=function(b){if(b instanceof a.jbb)return b.Zgb()},e);function e(a,b){return c.call(this,a,b)||this}b.LineLoadingAnimationDefinition=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.UpdateAnimationDefinition,__extends(e,c),e.prototype.GQb=function(){return"Line"},e.prototype.wQb=function(){return c.prototype.wQb.call(this)},e.prototype.createUpdateAnimation=function(b,c){return a.LineUpdateAnimationBuilder.build(b,c)},e.prototype.getUpdateAnimationInfos=function(b){return a.UpdateAnimationsBuilder.buildAnimationInfos(b,this.createUpdateAnimation,this.$z())},e.prototype.getAnimatableViews=function(a){return a.oi},e.prototype.getCachedViews=function(b){var c=this;return b.oi.map(function(b){return b instanceof a.Z1a?c.clonePoint(b):b instanceof a.tMa?c.cloneSeries(b):b})},e.prototype.cloneSeries=function(b){var c=new a.tMa(b.bRa(),b.aT());return null!=b.Tpb()&&c.Tpb(b.Tpb().map(function(a){return a.clone()})),a.CartesianPointViewClone.cloneBaseInfo(c,b),a.CartesianPointViewClone.cloneId(c,b),c},e.prototype.clonePoint=function(b){var c,d;return b instanceof a.P1a?(d=new a.P1a(b.YOb(),b.aT()),d.APa(b.APa().clone()),c=d):c=new a.Z1a(b.YOb(),b.aT()),a.CartesianPointViewClone.cloneVertex(c,b),a.CartesianPointViewClone.cloneBaseInfo(c,b),a.CartesianPointViewClone.cloneId(c,b),c},e);function e(a,b){return c.call(this,a,b)||this}b.LineUpdateAnimationDefinition=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"chartType",{get:function(){return"Line"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b){var c=b.option.config.hoverAnimation;return b instanceof a.models.WTb?new a.models.LineHoverAnimationDefinition(b,c):null},d);function d(){}b.LineHoverAnimationPlugin=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"chartType",{get:function(){return"Line"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b){var c=b.option.config.loadAnimation;return b instanceof a.models.WTb?new a.models.LineLoadingAnimationDefinition(b,c):null},d);function d(){}b.LineLoadingAnimationPlugin=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"chartType",{get:function(){return"Line"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b){var c=b.option.config.updateAnimation;return b instanceof a.models.WTb?new a.models.LineUpdateAnimationDefinition(b,c):null},d);function d(){}b.LineUpdateAnimationPlugin=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.HoverAnimationDefinition,__extends(e,c),e.prototype.GQb=function(){return"Scatter"},e.prototype.wQb=function(){return c.prototype.wQb.call(this)},e.prototype.getHoverAnimation=function(b){return a.ScatterHoverAnimationBuilder.build(b,this.$z())},e.prototype.getReversedHoverAnimation=function(b,c){return null==c&&(c=this.getHoverAnimation(b)),a.ScatterHoverAnimationBuilder.buildReverse(c)},e);function e(a,b){return c.call(this,a,b)||this}b.ScatterHoverAnimationDefinition=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.LoadingAnimationDefinition,__extends(e,c),e.prototype.GQb=function(){return"Scatter"},e.prototype.wQb=function(){return c.prototype.wQb.call(this)},e.prototype.getLoadingAnimationInfos=function(a){var c=this.getAnimatableViews(a);if(null!=c)return new b.ScatterLoadingAnimationBuilder(this.$z()).vQb(c)},e.prototype.getAnimatableViews=function(b){var c,d,e,f;if(b instanceof a.pbb){for(c=[],d=0,e=b.oi;d<e.length;d++)f=e[d],f instanceof a.Z1a&&c.push(f);return c.sort(this.compare),c}return null},e.prototype.compare=function(a,b){var c=a.bRa();return c._La(a.aT().Q5a())-c._La(b.aT().Q5a())},e);function e(a,b){return c.call(this,a,b)||this}b.ScatterLoadingAnimationDefinition=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.UpdateAnimationDefinition,__extends(e,c),e.prototype.GQb=function(){return"Scatter"},e.prototype.wQb=function(){return c.prototype.wQb.call(this)},e.prototype.createUpdateAnimation=function(b,c){return a.ScatterUpdateAnimationBuilder.build(b,c)},e.prototype.getUpdateAnimationInfos=function(b){return a.UpdateAnimationsBuilder.buildAnimationInfos(b,this.createUpdateAnimation,this.$z())},e.prototype.getAnimatableViews=function(a){return a.oi},e.prototype.getCachedViews=function(b){var c=this;return b.oi.map(function(b){return b instanceof a.Z1a?c.clonePoint(b):b})},e.prototype.clonePoint=function(b){var c,d;return b instanceof a.P1a?(d=new a.P1a(b.YOb(),b.aT()),d.APa(b.APa().clone()),c=d):c=new a.Z1a(b.YOb(),b.aT()),a.CartesianPointViewClone.cloneVertex(c,b),a.CartesianPointViewClone.cloneBaseInfo(c,b),a.CartesianPointViewClone.cloneId(c,b),c},e);function e(a,b){return c.call(this,a,b)||this}b.ScatterUpdateAnimationDefinition=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"chartType",{get:function(){return"Scatter"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b){var c=b.option.config.hoverAnimation;return b instanceof a.models.ZTb?new a.models.ScatterHoverAnimationDefinition(b,c):null},d);function d(){}b.ScatterHoverAnimationPlugin=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"chartType",{get:function(){return"Scatter"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b){var c=b.option.config.loadAnimation;return b instanceof a.models.ZTb?new a.models.ScatterLoadingAnimationDefinition(b,c):null},d);function d(){}b.ScatterLoadingAnimationPlugin=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"chartType",{get:function(){return"Scatter"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b){var c=b.option.config.updateAnimation;return b instanceof a.models.ZTb?new a.models.ScatterUpdateAnimationDefinition(b,c):null},d);function d(){}b.ScatterUpdateAnimationPlugin=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.HoverAnimationDefinition,__extends(e,c),e.prototype.GQb=function(){return"Sunburst"},e.prototype.wQb=function(){return c.prototype.wQb.call(this)},e.prototype.getHoverAnimation=function(b){return a.SunburstHoverAnimationBuilder.build(b,this.$z())},e.prototype.getReversedHoverAnimation=function(b,c){return null==c&&(c=this.getHoverAnimation(b)),a.SunburstHoverAnimationBuilder.buildReverse(c)},e);function e(a,b){return c.call(this,a,b)||this}b.SunburstHoverAnimationDefinition=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.LoadingAnimationDefinition,__extends(e,c),e.prototype.GQb=function(){return"Sunburst"},e.prototype.wQb=function(){return c.prototype.wQb.call(this)},e.prototype.getLoadingAnimationInfos=function(c){var d,e,f,g,h,i,j=this.getAnimatableViews(c);if(null!=j){for(d=[],e=new b.SunburstLoadingAnimationBuilder(j.length,this.$z()),f=0,g=j;f<g.length;f++)h=g[f],i=void 0,h instanceof a.yMa&&(i=e.build(h)),null!=i&&d.push({view:h,Animation:i});return d}},e.prototype.getAnimatableViews=function(a){return a.ngb(this.$z())},e);function e(a,b){return c.call(this,a,b)||this}b.SunburstLoadingAnimationDefinition=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.UpdateAnimationDefinition,__extends(e,c),e.prototype.GQb=function(){return"Sunburst"},e.prototype.wQb=function(){return c.prototype.wQb.call(this)},e.prototype.createUpdateAnimation=function(b,c){return c instanceof a.yMa?a.SunburstUpdateAnimationBuilder.build(b,c):null},e.prototype.getUpdateAnimationInfos=function(b){return a.UpdateAnimationsBuilder.buildAnimationInfos(b,this.createUpdateAnimation,this.$z())},e.prototype.getAnimatableViews=function(b){if(b instanceof a.rbb)return b.oi},e.prototype.getCachedViews=function(b){if(b instanceof a.rbb)return b.oi.map(function(a){return a.Uo()})},e);function e(a,b){return c.call(this,a,b)||this}b.SunburstUpdateAnimationDefinition=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"chartType",{get:function(){return"Sunburst"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b){var c=b.option.config.hoverAnimation;return b instanceof a.models.aUb?new a.models.SunburstHoverAnimationDefinition(b,c):null},d);function d(){}b.SunburstHoverAnimationPlugin=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"chartType",{get:function(){return"Sunburst"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b){var c=b.option.config.loadAnimation;return b instanceof a.models.aUb?new a.models.SunburstLoadingAnimationDefinition(b,c):null},d);function d(){}b.SunburstLoadingAnimationPlugin=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"chartType",{get:function(){return"Sunburst"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b){var c=b.option.config.updateAnimation;return b instanceof a.models.aUb?new a.models.SunburstUpdateAnimationDefinition(b,c):null},d);function d(){}b.SunburstUpdateAnimationPlugin=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.HoverAnimationDefinition,__extends(e,c),e.prototype.GQb=function(){return"TreeMap"},e.prototype.wQb=function(){return c.prototype.wQb.call(this)},e.prototype.getHoverAnimation=function(b){return a.TreeMapHoverAnimationBuilder.build(b,this.$z())},e.prototype.getReversedHoverAnimation=function(b,c){return null==c&&(c=this.getHoverAnimation(b)),a.TreeMapHoverAnimationBuilder.buildReverse(c)},e);function e(a,b){return c.call(this,a,b)||this}b.TreeMapHoverAnimationDefinition=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.LoadingAnimationDefinition,__extends(e,c),e.prototype.GQb=function(){return"TreeMap"},e.prototype.wQb=function(){return c.prototype.wQb.call(this)},e.prototype.getLoadingAnimationInfos=function(a){var c=this.getRoot(a);if(null!=c)return new b.TreeMapLoadingAnimationBuilder(this.$z()).build(c)},e.prototype.getRoot=function(b){return b instanceof a.vbb?b.CWb():null},e);function e(a,b){return c.call(this,a,b)||this}b.TreeMapLoadingAnimationDefinition=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.UpdateAnimationDefinition,__extends(e,c),e.prototype.GQb=function(){return"TreeMap"},e.prototype.wQb=function(){return c.prototype.wQb.call(this)},e.prototype.createUpdateAnimation=function(b,c){return a.TreeMapUpdateAnimationBuilder.build(b,c)},e.prototype.getUpdateAnimationInfos=function(b){return a.UpdateAnimationsBuilder.buildAnimationInfos(b,this.createUpdateAnimation,this.$z())},e.prototype.getAnimatableViews=function(b){if(b instanceof a.vbb)return b.oi},e.prototype.getCachedViews=function(b){if(b instanceof a.vbb)return b.oi.map(function(a){return a.Uo()})},e);function e(a,b){return c.call(this,a,b)||this}b.TreeMapUpdateAnimationDefinition=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"chartType",{get:function(){return"TreeMap"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b){var c=b.option.config.hoverAnimation;return b instanceof a.models.cUb?new a.models.TreeMapHoverAnimationDefinition(b,c):null},d);function d(){}b.TreeMapHoverAnimationPlugin=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"chartType",{get:function(){return"TreeMap"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b){var c=b.option.config.loadAnimation;return b instanceof a.models.cUb?new a.models.TreeMapLoadingAnimationDefinition(b,c):null},d);function d(){}b.TreeMapLoadingAnimationPlugin=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"chartType",{get:function(){return"TreeMap"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b){var c=b.option.config.updateAnimation;return b instanceof a.models.cUb?new a.models.TreeMapUpdateAnimationDefinition(b,c):null},d);function d(){}b.TreeMapUpdateAnimationPlugin=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(b){return this.D1b()?new a.models.E1b(b):null},d.prototype.D1b=function(){if(null==this.F1b){var a=window.GC;if(null==a)return!1;if(null==(a=a.Spread))return!1;if(null==(a=a.CalcEngine))return!1;this.F1b=!0}return this.F1b},d);function d(){this.F1b=null}b.G1b=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=GC.Spread.CalcEngine.CalcSource,__extends(e,c),e.prototype.evaluate=function(a,b){this.HCa=a.toUpperCase(),this.getCalcSourceModel().setFormulaByName(a,b)},e.prototype.getParserContext=function(a,b,c){var d=this,e=new GC.Spread.CalcEngine.ParserContext(this,a,b||{},c),f=new GC.Spread.CalcEngine.TokenResolver(7e3);return f.resolveToken=function(a,b,c,e){var f,g=c[e],h=g.stringValue();if(0===g.type()&&0===g.subType()&&d.hQa.isIdentityExpression(h))return f=new GC.Spread.CalcEngine.Expression(25),f.value=h,f},e.addResolver(f),e},
- e.prototype.getEvaluatorContext=function(a,b,c){var d=new GC.Spread.CalcEngine.EvaluateContext(this,a,b,c),e=this;return d.evaluate=function(a,b,c){return this.getValue(e,a.value)},d},e.prototype.getValueByName=function(a){return""},e.prototype.setValueByName=function(b,c){b==this.HCa?this.hQa.resultCallback(c):a.ePb.dPb(!1)},e.prototype.getValue=function(a){return this.hQa.getIdentityValue(a)},e);function e(b){var d=c.call(this,new GC.Spread.CalcEngine.CalcService)||this;return a.ePb.dPb(null!=b),d.hQa=b,d.getCalcService().getSourceModel(d),d}b.E1b=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.registerCalculationEngine=function(b,d){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);if(null==d)throw a.PluginErrors.EmptyPluginError();if(null!=c.H1b[b])throw a.PluginErrors.TypeExistsError(b);c.H1b[b]=d},c.unregisterCalculationEngine=function(b){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);null!=c.H1b[b]&&delete c.H1b[b]},c.hasRegisteredCalculationEngine=function(b){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);return null!=c.H1b[b]},c.nUb=function(a){return"string"==typeof a&&null!=c.H1b[a]?c.H1b[a]:null},c.H1b={},c);function c(){}a.CalculationEnginePlugin=b}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){a.plugins||(a.plugins={})}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(){return new a.models.Gqb},d);function d(){}b._qb=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.onClick=function(b,c){var d,e,f,g;return null==c||c.type!=a.ElementType.AxisLabel?0:(d=c,e=this.pta(d),null==e?0:(f=this.ZJa(e),null==f?0:(g=f.option,null!=g&&g.selectionMode==a.SelectionMode.Category?(this.$b(e),this.N4(d),1):0)))},d.prototype.pta=function(b){return null==b?null:b.type==a.ElementType.PlotArea?b:this.pta(b.parent)},d.prototype.ZJa=function(b){return null==b?null:b.type==a.ElementType.Control?b:this.ZJa(b.parent)},d.prototype.$b=function(a){var b,c,d,e,f,g;for(b=0,c=a.plotsPanes;b<c.length;b++)for(d=0,e=c[b].plots;d<e.length;d++)for(f=0,g=e[d].points;f<g.length;f++)g[f].selected=!1},d.prototype.N4=function(a){for(var b=0,c=a.relatedModels();b<c.length;b++)c[b].selected=!0},d);function d(){}b.Gqb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(){return new a.models.I7a},d);function d(){}b.Lab=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.onClick=function(b,c){var d,e,f,g,h,i,j,k;if(null==c||c.type!=a.ElementType.PlotArea)return 0;for(d=!1,e=0,f=c.plotsPanes;e<f.length;e++)for(g=0,h=f[e].plots;g<h.length;g++)for(i=0,j=h[g].points;i<j.length;i++)k=j[i],k.selected&&(d=!(k.selected=!1));return d?1:0},d.prototype.pta=function(b){var c=b.parent;return null==c?null:c.type==a.ElementType.PlotArea?c:this.pta(c)},d);function d(){}b.I7a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(){return new a.models.J7a},d);function d(){}b.Mab=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.onClick=function(b,c){return null==c||c.type!=a.ElementType.AxisLabel||c.category,0},d.prototype.pta=function(b){var c=b.parent;return null==c?null:c.type==a.ElementType.PlotArea?c:this.pta(c)},d.prototype.N4=function(a){},d);function d(){}b.J7a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.registerClickInteraction=function(b,d){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);if(null==d)throw a.PluginErrors.EmptyPluginError();if(null!=c.I1b[b])throw a.PluginErrors.TypeExistsError(b);c.I1b[b]=d},c.unregisterClickInteraction=function(b){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);null!=c.I1b[b]&&delete c.I1b[b]},c.hasRegisteredClickInteraction=function(b){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);return null!=c.I1b[b]},c.xbb=function(a){return"string"==typeof a&&null!=c.I1b[a]?c.I1b[a]:null},c.qab=function(){var a,b,d,e;for(a=[],b=0,d=Object.keys(c.I1b);b<d.length;b++)e=d[b],a.push(c.I1b[e]);return a},c.I1b={},c);function c(){}a.ClickInteractionPlugin=b}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){a.plugins||(a.plugins={})}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(){return new a.models.K7a},d);function d(){}b.LegendFilterInteractionPlugin=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.onClick=function(b,c){var d,e,f,g,h;if(null==c||c.type!=a.ElementType.LegendItem)return 0;for(d=c,d.filtered=!d.filtered,e=d.filtered,f=0,g=d.relatedModels();f<g.length;f++)h=g[f],h.type==a.ElementType.DataPoint&&(h.filtered=e),h.type==a.ElementType.Series&&(h.filtered=e);return 2},d);function d(){}b.K7a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(){return new a.models.M7a},d);function d(){}b.Pab=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.onClick=function(b,c){var d,e,f,g,h,i,j,k,l,m;if(null==c||c.type!=a.ElementType.LegendItem)return 0;if(d=c,e=this.pta(d),null==e)return 0;if(f=this.ZJa(e),null==f)return 0;if(g=f.option,null!=g){if(g.selectionMode==a.SelectionMode.LegendMultiple)return d.selected=!d.selected,this.N4(e),1;if(g.selectionMode==a.SelectionMode.LegendSingle){for(h=0,i=e.legends;h<i.length;h++)if(j=i[h].items,Array.isArray(j))for(k=0,l=j;k<l.length;k++)m=l[k],m.type==a.ElementType.LegendItem&&m!=d&&(m.selected=!1);return d.selected=!d.selected,this.N4(e),1}}return 0},d.prototype.pta=function(b){return null==b?null:b.type==a.ElementType.PlotArea?b:this.pta(b.parent)},d.prototype.ZJa=function(b){return null==b?null:b.type==a.ElementType.Control?b:this.ZJa(b.parent)},d.prototype.N4=function(b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;for(c=0,d=b.legends;c<d.length;c++){if(e=d[c].items,Array.isArray(e))for(f=0,g=e;f<g.length;f++)if((p=g[f]).type==a.ElementType.LegendItem&&!(q=p).selected)for(h=0,i=q.relatedModels();h<i.length;h++)j=i[h],(j.type==a.ElementType.DataPoint||j.type==a.ElementType.Series)&&(j.selected=!1);for(k=0,l=b.legends;k<l.length;k++)if(m=l[k].items,Array.isArray(m))for(n=0,o=m;n<o.length;n++)if((p=o[n]).type==a.ElementType.LegendItem&&(q=p).selected)for(r=0,s=q.relatedModels();r<s.length;r++)t=s[r],(t.type==a.ElementType.DataPoint||t.type==a.ElementType.Series)&&(t.selected=!0)}},d);function d(){}b.M7a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(){return new a.models.Q7a},d);function d(){}b.Rab=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.onClick=function(b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S;if(null==c||c.type!=a.ElementType.DataPoint)return 0;if(d=c,e=this.pta(d),null==e)return 0;if(f=this.ZJa(e),null==f)return 0;if(g=f.option,null!=g){if(g.selectionMode==a.SelectionMode.Points&&b.originalEvent instanceof MouseEvent&&(b.originalEvent.metaKey||b.originalEvent.ctrlKey))return d.selected?0:(d.selected=!0,1);if(g.selectionMode==a.SelectionMode.Points||g.selectionMode==a.SelectionMode.Point){for(h=!1,i=0,j=e.plotsPanes;i<j.length;i++)for(k=0,l=j[i].plots;k<l.length;k++)for(m=0,n=l[k].points;m<n.length;m++)(S=n[m])!=d&&S.selected?h=!(S.selected=!1):S!=d||S.selected||(h=S.selected=!0);return h?1:0}if(g.selectionMode==a.SelectionMode.Group){for(h=!1,o=0,p=e.plotsPanes;o<p.length;o++)for(q=0,r=p[o].plots;q<r.length;q++)for(s=0,t=r[q].points;s<t.length;s++)(S=t[s]).parent!=d.parent&&S.selected?h=!(S.selected=!1):S.parent!=d.parent||S.selected||(h=S.selected=!0);return h?1:0}if(g.selectionMode==a.SelectionMode.Color){for(h=!1,u=0,v=e.plotsPanes;u<v.length;u++)for(w=0,x=v[u].plots;w<x.length;w++)for(y=0,z=x[w].points;y<z.length;y++)(S=z[y]).color!=d.color&&S.selected?h=!(S.selected=!1):S.color!=d.color||S.selected||(h=S.selected=!0);return h?1:0}if(g.selectionMode==a.SelectionMode.Shape){for(h=!1,A=0,B=e.plotsPanes;A<B.length;A++)for(C=0,D=B[A].plots;C<D.length;C++)for(E=0,F=D[C].points;E<F.length;E++)(S=F[E]).shape!=d.shape&&S.selected?h=!(S.selected=!1):S.shape!=d.shape||S.selected||(h=S.selected=!0);return h?1:0}if(g.selectionMode==a.SelectionMode.Size){for(h=!1,G=0,H=e.plotsPanes;G<H.length;G++)for(I=0,J=H[G].plots;I<J.length;I++)for(K=0,L=J[I].points;K<L.length;K++)(S=L[K]).size!=d.size&&S.selected?h=!(S.selected=!1):S.size!=d.size||S.selected||(h=S.selected=!0);return h?1:0}if(g.selectionMode==a.SelectionMode.Category){for(h=!1,M=0,N=e.plotsPanes;M<N.length;M++)for(O=0,P=N[M].plots;O<P.length;O++)for(Q=0,R=P[O].points;Q<R.length;Q++)(S=R[Q])instanceof a.Z1a&&d instanceof a.Z1a&&(h=S.dimension==d.dimension?S.selected=!0:!(S.selected=!1));return h?1:0}}return 0},d.prototype.pta=function(b){return null==b?null:b.type==a.ElementType.PlotArea?b:this.pta(b.parent)},d.prototype.ZJa=function(b){return null==b?null:b.type==a.ElementType.Control?b:this.ZJa(b.parent)},d);function d(){}b.Q7a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(){return new a.models.V7a},d);function d(){}b.Tab=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.onClick=function(b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S;if(null==c||c.type!=a.ElementType.Series)return 0;if(d=c,e=this.pta(d),null==e)return 0;if(f=this.ZJa(e),null==f)return 0;if(g=f.option,null!=g){if(g.selectionMode==a.SelectionMode.Points&&b.originalEvent instanceof MouseEvent&&(b.originalEvent.metaKey||b.originalEvent.ctrlKey)){for(h=!1,i=0,j=d.points;i<j.length;i++)k=j[i],k.selected||(h=!0,k.selected=!0);return h?1:0}if(g.selectionMode==a.SelectionMode.Points){for(h=!1,l=0,m=e.plotsPanes;l<m.length;l++)for(n=0,o=m[l].plots;n<o.length;n++)for(p=0,q=o[n].points;p<q.length;p++)(S=q[p]).parent!=d&&S.selected?h=!(S.selected=!1):S.parent!=d||S.selected||(h=S.selected=!0);return h?1:0}if(g.selectionMode==a.SelectionMode.Group){for(h=!1,r=0,s=e.plotsPanes;r<s.length;r++)for(t=0,u=s[r].plots;t<u.length;t++)for(v=0,w=u[t].points;v<w.length;v++)(S=w[v]).parent!=d&&S.selected?h=!(S.selected=!1):S.parent!=d||S.selected||(h=S.selected=!0);return h?1:0}if(g.selectionMode==a.SelectionMode.Color){for(h=!1,x=this.S7a(d),y=0,z=e.plotsPanes;y<z.length;y++)for(A=0,B=z[y].plots;A<B.length;A++)for(C=0,D=B[A].points;C<D.length;C++)(S=D[C]).parent==d&&x||!S.selected?S.parent==d&&x&&!S.selected&&(h=S.selected=!0):h=!(S.selected=!1);return h?1:0}if(g.selectionMode==a.SelectionMode.Shape){for(h=!1,E=this.T7a(d),F=0,G=e.plotsPanes;F<G.length;F++)for(H=0,I=G[F].plots;H<I.length;H++)for(J=0,K=I[H].points;J<K.length;J++)(S=K[J]).parent==d&&E||!S.selected?S.parent==d&&E&&!S.selected&&(h=S.selected=!0):h=!(S.selected=!1);return h?1:0}if(g.selectionMode==a.SelectionMode.Size){for(h=!1,L=this.U7a(d),M=0,N=e.plotsPanes;M<N.length;M++)for(O=0,P=N[M].plots;O<P.length;O++)for(Q=0,R=P[O].points;Q<R.length;Q++)(S=R[Q]).parent==d&&L||!S.selected?S.parent==d&&L&&!S.selected&&(h=S.selected=!0):h=!(S.selected=!1);return h?1:0}}return 0},d.prototype.S7a=function(a){var b,c,d,e;for(b=null,c=0,d=a.points;c<d.length;c++)if(e=d[c],null==b)b=e.color;else if(b!=e.color)return!1;return!0},d.prototype.T7a=function(a){var b,c,d,e;for(b=null,c=0,d=a.points;c<d.length;c++)if(e=d[c],null==b)b=e.shape;else if(b!=e.shape)return!1;return!0},d.prototype.U7a=function(a){var b,c,d,e;for(b=null,c=0,d=a.points;c<d.length;c++)if(e=d[c],null==b)b=e.size;else if(b!=e.size)return!1;return!0},d.prototype.pta=function(b){return null==b?null:b.type==a.ElementType.PlotArea?b:this.pta(b.parent)},d.prototype.ZJa=function(b){return null==b?null:b.type==a.ElementType.Control?b:this.ZJa(b.parent)},d);function d(){}b.V7a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.$z=function(){return this.eAa},d.prototype.Ok=function(){return this.iQa},d.prototype.evaluate=function(a){null!=this.hQa&&(this.iQa=a,this.hQa.evaluate("CONDITION",this.$z().condition))},d.prototype.isIdentityExpression=function(a){return"current"==a||8<a.length&&"current."==a.substring(0,8)||"parent"==a||5<a.length&&"parent."==a.substring(0,5)},d.prototype.getIdentityValue=function(b){return("parent"==b||7<b.length&&"parent."==b.substring(0,7))&&(b="current."+b),"current"==b?this.Ok():8<b.length&&"current."==b.substring(0,8)&&null!=this.Ok()?new a.core.n1a(b.substring(8)).getValue(this.Ok()):null},d.prototype.resultCallback=function(a){1==a&&this.TDa()},d.prototype.TDa=function(){var a,b,c,d;for(a=0,b=this.$z().actions;a<b.length;a++)c=b[a],d=this.jQa(c),null!=d&&this.Wpb(c).NGa(d)},d.prototype.jQa=function(a){return this.Ok()},d.prototype.Wpb=function(a){return new b.LGa(a)},d);function d(b){if((this.hQa=null)!=(this.eAa=b).condition&&0<b.condition.length&&null!=b.actions&&0<b.actions.length){var c=a.plugins.CalculationEnginePlugin.nUb("Default");null!=c&&(this.hQa=c.create(this))}else this.hQa=null}b.IGa=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.IGa,__extends(d,b),d.prototype.jQa=function(a){return"DataPoint"==a.targetElement?this.Ok():null},d.prototype.Wpb=function(b){return new a.Zpb(b)},d);function d(a){return b.call(this,a)||this}a.J2a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.$z=function(){return this.eAa},d.prototype.NGa=function(a){var b,c,d;for(b=0,c=this.$z().properties;b<c.length;b++)d=c[b],this.qPa(a,d.name,d.value)},d.prototype.qPa=function(b,c,d){new a.core.n1a(c).setValue(b,d)},d.prototype.Xpb=function(b){if(null==b)return null;var c=a.options.IOb.mXb(b);return null!=c?a.NQb.Ypb(c):null},d);function d(a){this.eAa=a}b.LGa=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.LGa,__extends(e,c),e.prototype.qPa=function(b,d,e){"color"==d?new a.core.n1a(d).setValue(b,this.Xpb(e)):c.prototype.qPa.call(this,b,d,e)},e);function e(a){return c.call(this,a)||this}b.Zpb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.IGa,__extends(d,b),d.prototype.jQa=function(a){return"Group"==a.targetElement?this.Ok():null},d.prototype.Wpb=function(b){return new a.$pb(b)},d);function d(a){return b.call(this,a)||this}a.K2a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.LGa,__extends(e,c),e.prototype.qPa=function(b,d,e){"color"==d?new a.core.n1a(d).setValue(b,this.Xpb(e)):c.prototype.qPa.call(this,b,d,e)},e);function e(a){return c.call(this,a)||this}b.$pb=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(b){var c=null;switch(b.type){case"Label":c=new a.models.J1b(b)}return c},d);function d(){}b.K1b=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.IGa,__extends(d,b),d.prototype.jQa=function(a){return"Label"==a.targetElement?this.Ok():null},d.prototype.Wpb=function(b){return new a.L1b(b)},d);function d(a){return b.call(this,a)||this}a.J1b=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.LGa,__extends(d,b),d.prototype.qPa=function(a,c,d){b.prototype.qPa.call(this,a,c,d)},d);function d(a){return b.call(this,a)||this}a.L1b=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(b){return"DataPoint"==b.type?new a.models.U6a(b):"Group"==b.type?new a.models.V6a(b):null},d);function d(){}b.Aab=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.J2a,__extends(e,c),e.prototype.isIdentityExpression=function(a){return"index"==a||"previous"==a||9<a.length&&"previous."==a.substring(0,9)||"next"==a||5<a.length&&"next."==a.substring(0,5)||"parent"==a||5<a.length&&"parent."==a.substring(0,5)||c.prototype.isIdentityExpression.call(this,a)},e.prototype.getIdentityValue=function(b){var d=this.Ok();if(d instanceof a.Z1a){if("index"==b)return this.mi(d);if("previous"==b)return this.JGa(d);if(9<b.length&&"previous."==b.substring(0,9)&&null!=this.JGa(d))return new a.core.n1a(b.substring(9)).getValue(this.JGa(d));if("next"==b)return this.KGa(d);if(5<b.length&&"next."==b.substring(0,5)&&null!=this.KGa(d))return new a.core.n1a(b.substring(5)).getValue(this.KGa(d))}return c.prototype.getIdentityValue.call(this,b)},e.prototype.JGa=function(a){var b=a.aT().Ata(),c=this.mi(a);return 0<c?b.points()[c-1].jxa():null},e.prototype.KGa=function(a){var b=a.aT().Ata(),c=this.mi(a);return c<b.points().length-1?b.points()[c+1].jxa():null},e.prototype.mi=function(a){return a.aT().Ata().points().indexOf(a.aT())},e);function e(a){return c.call(this,a)||this}b.U6a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.K2a,__extends(e,c),e.prototype.isIdentityExpression=function(a){return"index"==a||"previous"==a||9<a.length&&"previous."==a.substring(0,9)||"next"==a||5<a.length&&"next."==a.substring(0,5)||"parent"==a||5<a.length&&"parent."==a.substring(0,5)||c.prototype.isIdentityExpression.call(this,a)},e.prototype.getIdentityValue=function(b){var d=this.Ok();if(d instanceof a.X1a){if("index"==b)return this.mi(d);if("previous"==b)return this.JGa(d);if(9<b.length&&"previous."==b.substring(0,9)&&null!=this.JGa(d))return new a.core.n1a(b.substring(9)).getValue(this.JGa(d));if("next"==b)return this.KGa(d);if(5<b.length&&"next."==b.substring(0,5)&&null!=this.KGa(d))return new a.core.n1a(b.substring(5)).getValue(this.KGa(d))}return c.prototype.getIdentityValue.call(this,b)},e.prototype.JGa=function(a){var b=a.data().plot(),c=this.mi(a);return 0<c?b.J5a()[c-1].dhb():null},e.prototype.KGa=function(a){var b=a.data().plot(),c=this.mi(a);return c<b.J5a().length-1?b.J5a()[c+1].dhb():null},e.prototype.mi=function(a){return a.data().plot().J5a().indexOf(a.data())},e);function e(a){return c.call(this,a)||this}b.V6a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.registerConditionalFormattingRule=function(b,d){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);if(null==d)throw a.PluginErrors.EmptyPluginError();if(null!=c.M1b[b])throw a.PluginErrors.TypeExistsError(b);c.M1b[b]=d},c.unregisterConditionalFormattingRule=function(b){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);null!=c.M1b[b]&&delete c.M1b[b]},c.hasRegisteredConditionalFormattingRule=function(b){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);return null!=c.M1b[b]},c.hCa=function(a){return"string"==typeof a&&null!=c.M1b[a]?c.M1b[a]:null},c.M1b={},c);function c(){}a.ConditionalFormattingRulePlugin=b}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(b){return"DataPoint"==b.type?new a.models.g7a(b):null},d);function d(){}b.Bab=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.J2a,__extends(e,c),e.prototype.isIdentityExpression=function(a){return"index"==a||"previous"==a||9<a.length&&"previous."==a.substring(0,9)||"next"==a||5<a.length&&"next."==a.substring(0,5)||"parent"==a||5<a.length&&"parent."==a.substring(0,5)||c.prototype.isIdentityExpression.call(this,a)},e.prototype.getIdentityValue=function(d){var e=this.Ok();if(e instanceof b._Ca){if("index"==d)return this.mi(e);if("previous"==d)return this.JGa(e);if(9<d.length&&"previous."==d.substring(0,9)&&null!=this.JGa(e))return new a.core.n1a(d.substring(9)).getValue(this.JGa(e));if("next"==d)return this.KGa(e);if(5<d.length&&"next."==d.substring(0,5)&&null!=this.KGa(e))return new a.core.n1a(d.substring(5)).getValue(this.KGa(e))}return c.prototype.getIdentityValue.call(this,d)},e.prototype.JGa=function(c){if(c instanceof b.bDa){var d=c.hqa(),e=this.mi(c);return 0<e?d.oi()[e-1]:null}return c instanceof b.aDa||a.ePb.dPb(!1),null},e.prototype.KGa=function(c){if(c instanceof b.bDa){var d=c.hqa(),e=this.mi(c);return e<d.oi().length-1?d.oi()[e+1]:null}return c instanceof b.aDa||a.ePb.dPb(!1),null},e.prototype.mi=function(c){return c instanceof b.bDa?c.hqa().oi().indexOf(c):c instanceof b.aDa?0:(a.ePb.dPb(!1),-1)},e);function e(a){return c.call(this,a)||this}b.g7a=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){a.plugins||(a.plugins={})}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(b){return null!=b&&"OverlayItem"===b.type?new a.models.N1b(b):null},d);function d(){}b.O1b=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.LGa,__extends(e,c),e.prototype.isColorName=function(a){return/\.color$|\.fill$|\.stroke$/.test(a)},e.prototype.qPa=function(b,d,e){var f=e;this.isColorName(d)?f=this.Xpb(e):"string"==typeof e&&(f=a.AnnotationLib.P1b(b,e)),c.prototype.qPa.call(this,b,d,f)},e);function e(a){return c.call(this,a)||this}b.K_b=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.LGa,__extends(e,c),e.prototype.isColorName=function(a){return/\.color$|\.fill$|\.stroke$/.test(a)},e.prototype.qPa=function(b,d,e){this.isColorName(d)?e=this.Xpb(e):"string"==typeof e&&(e=a.AnnotationLib.P1b(b,e)),"coordinateValue.x"==d?b.queryInterface("ICoordinateValues").x=parseFloat(e):"coordinateValue.y"==d?b.queryInterface("ICoordinateValues").y=parseFloat(e):c.prototype.qPa.call(this,b,d,e)},e);function e(a){return c.call(this,a)||this}b.M_b=d}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.IGa,__extends(d,b),d.prototype.proxy=function(b){return a.A_b.build(b)},d.prototype.isIdentityExpression=function(a){var c=this.proxy(this.Ok());return null!=c?c.isIdentityExpression(a):b.prototype.isIdentityExpression.call(this,a)},d.prototype.getIdentityValue=function(a){var c=this.proxy(this.Ok());return null!=c?c.getIdentityValue(a):b.prototype.getIdentityValue.call(this,a)},d.prototype.Wpb=function(b){var c,d=this.proxy(this.Ok());return null!=d&&(c=d.kI(b),null!=c)?c:new a.LGa(b)},d);function d(a){return b.call(this,a)||this}a.N1b=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(b,c,d){return new a.models.JSb(b,c,d)},d);function d(){}b.Dab=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(b,c,d){return new a.models.LSb(b,c,d)},d);function d(){}b.Fab=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(b,c,d){return new a.models.NSb(b,c,d)},d);function d(){}b.Hab=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(b,c,d){return new a.models.PSb(b,c,d)},d);function d(){}b.Jab=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(){return new a.Q1b},d);function d(){}b.R1b=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.registerCoordinateSystemLayout=function(b,d){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);if(null==d)throw a.PluginErrors.EmptyPluginError();if(null!=c.S1b[b])throw a.PluginErrors.TypeExistsError(b);c.S1b[b]=d},c.unregisterCoordinateSystemLayout=function(b){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);null!=c.S1b[b]&&delete c.S1b[b]},c.hasRegisteredCoordinateSystemLayout=function(b){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);return null!=c.S1b[b]},c.T1b=function(a){return"string"==typeof a&&null!=c.S1b[a]?c.S1b[a]:null},c.S1b={},c);function c(){}a.RadialCoordinateSystemLayoutPlugin=b}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(){return new a.models.FAa},d);function d(){}b.FGa=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.U1b=function(){this.html+='<div style="'+c.LineLayoutCss+'">'},c.prototype.V1b=function(){this.html+="</div>"},c.prototype.W1b=function(a){"text"==a.type?this.html+="<div>"+a.value+"</div>":"color"==a.type&&(this.html+=this.getColorDivByCssColor(a.value))},c.prototype.getColorDivByCssColor=function(a){return'<div class="'+c.ColorSymbolClassName+'"style="background:'+a+";border-color:"+a+";"+c.ColorSymbolLayoutCss+'"></div>'},c.prototype.Mxa=function(){return this.html},c.ColorSymbolClassName="gcdv-tooltip-color-symbol",c.ColorSymbolLayoutCss="flex-shrink: 0; align-self: center;",c.LineLayoutCss="display: flex;",c);function c(){this.html=""}a.X1b=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.toHtml=function(a){var c,d,e,f,g,h,i,j,k=this.kOa(a);if(null==k)return"";for(c=k.split("\n"),d=new b.X1b,e=0,f=c;e<f.length;e++){for(g=f[e],d.U1b(),h=0,i=b.StringObject.T0(g);h<i.length;h++)j=i[h],d.W1b(j);d.V1b()}return d.Mxa()},d.prototype.toLines=function(a){var c,d,e,f,g,h=this.kOa(a);if(null==h)return[];for(c=h.split("\n"),d=0;d<c.length;d++){for(e="",f=0,g=b.StringObject.T0(c[d]);f<g.length;f++)e+=g[f].value;c[d]=e}return c},d.prototype.kOa=function(b){var c,d,e,f,g,h,i,j,k,l,m,n;if(null==b)return null;if(c=b.template,null==c)return null;if(d=/\{\s*(([^\.\\\":\[\]\{\}]+\s+)*(?:\\.|[^\.\\\":\[\]\{\}])+)(\[(\d+)\])?(\.[^\.\\\":\[\]\{\}]*)*\s*(\:\s*.+?)*\s*\}/g,e=c.match(d),null!=e&&0<e.length)for(f=0,g=e;f<g.length;f++)h=g[f],i=(d=/\{\s*(([^\.\\\":\[\]\{\}]+\s+)*(?:\\.|[^\.\\\":\[\]\{\}])+)(\[(\d+)\])?((\.[^\.\\\":\[\]\{\}]*)*)\s*(\:\s*(.+))*\s*\}/g).exec(h),null!=i&&(j=a.TOb.sRb(i[1]),k=i[4]?parseInt(i[4]):null,l=i[5],m=i[8],m=m&&a.TOb.sRb(m),n=this.EAa(b,j,k,l,m),c=c.replace(h,n||""));return c},d.prototype.EAa=function(c,d,e,f,g){var h,i,j,k;return f=f?f.substring(1):c.defaultProperty(d),h=c.fromToken(d,e),i=new a.core.n1a(f).getValue(h),g=g||c.defaultFormat(d),i instanceof b.oPb?i.bc(g):null!=i&&a.x7.hasMethod(i,"queryInterface")?(j=i.queryInterface("IStringifyable"),null!=j?b.StringObject.LWb(j.AWb()):null):(k=a.plugins.w1a.lPa("Default"),null!=k?(null==g&&(a.core.UOb.isNumber(i)?g=k.defaultFormat(a.core.DataType.Number,!1):a.core.UOb.isDate(i)&&(g=k.defaultFormat(a.core.DataType.Date,!1))),k.format(g,i)):null!=i?""+i:"")},d);function d(){}b.FAa=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.registerDataContentProvider=function(b,d){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);if(null==d)throw a.PluginErrors.EmptyPluginError();if(null!=c.Y1b[b])throw a.PluginErrors.TypeExistsError(b);c.Y1b[b]=d,a.w1a.mab(b)},c.unregisterDataContentProvider=function(b){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);null!=c.Y1b[b]&&(delete c.Y1b[b],a.w1a.mab(b))},c.hasRegisteredDataContentProvider=function(b){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);return null!=c.Y1b[b]},c.bAa=function(a){return"string"==typeof a&&null!=c.Y1b[a]?c.Y1b[a]:null},c.Y1b={},c);function c(){}a.DataContentProviderPlugin=b}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){a.plugins||(a.plugins={})}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(){return new a.models.dAa},d);function d(){}b.zRa=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.parse=function(b,c){return a.core.Globalize.parseDate(b,c)},d);function d(){}b.dAa=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.registerDateParser=function(b,d){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);if(null==d)throw a.PluginErrors.EmptyPluginError();if(null!=c.Z1b[b])throw a.PluginErrors.TypeExistsError(b);c.Z1b[b]=d,a.w1a.oab(b)},c.unregisterDateParser=function(b){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);null!=c.Z1b[b]&&(delete c.Z1b[b],a.w1a.oab(b))},c.hasRegisteredDateParser=function(b){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);return null!=c.Z1b[b]},c.ORa=function(a){return"string"==typeof a&&null!=c.Z1b[a]?c.Z1b[a]:null},c.Z1b={},c);function c(){}a.DateParserPlugin=b}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){a.plugins||(a.plugins={})}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(){return new a.models.zwb},d);function d(){}b.Awb=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.filter=function(b,c){return null!=a.x7.getPropertyValue(b,c)},d);function d(){}b.zwb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.registerFilter=function(b,d){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);if(null==d)throw a.PluginErrors.EmptyPluginError();if(null!=c.$1b[b])throw a.PluginErrors.TypeExistsError(b);c.$1b[b]=d},c.unregisterFilter=function(b){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);null!=c.$1b[b]&&delete c.$1b[b]},c.hasRegisteredFilter=function(b){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);return null!=c.$1b[b]},c.Tvb=function(a){return"string"==typeof a&&null!=c.$1b[a]?c.$1b[a]:null},c.$1b={},c);function c(){}a.FilterPlugin=b}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){a.plugins||(a.plugins={})}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(){return new a.models.Uvb},d);function d(){}b.Vvb=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.filter=function(b,c){return null!=a.x7.getPropertyValue(b,c)},d);function d(){}b.Uvb=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(){return new a.models.H7a},d);function d(){}b.Kab=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"name",{get:function(){return"AxisLabelHover"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"model",{get:function(){return this.FLa},enumerable:!0,configurable:!0}),d.prototype.dispose=function(){},d.prototype.hover=function(b,c){return c.type==a.ElementType.AxisLabel&&(this.FLa=c,!0)},d.prototype.isModel=function(a,b){return this.FLa==b},d.prototype.onEnter=function(a){return this.model.hover=!0,1},d.prototype.onLeave=function(a){return this.model.hover=!1,1},d.prototype.onMove=function(a){return 0},d);function d(){}b.H7a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.registerHoverInteraction=function(b,d){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);if(null==d)throw a.PluginErrors.EmptyPluginError();if(null!=c._1b[b])throw a.PluginErrors.TypeExistsError(b);c._1b[b]=d},c.unregisterHoverInteraction=function(b){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);null!=c._1b[b]&&delete c._1b[b]},c.hasRegisteredHoverInteraction=function(b){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);return null!=c._1b[b]},c.ybb=function(a){return"string"==typeof a&&null!=c._1b[a]?c._1b[a]:null},c.rab=function(){var a,b,d,e;for(a=[],b=0,d=Object.keys(c._1b);b<d.length;b++)e=d[b],a.push(c._1b[e]);return a},c._1b={},c);function c(){}a.HoverInteractionPlugin=b}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){a.plugins||(a.plugins={})}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(){return new a.models.L7a},d);function d(){}b.Oab=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"name",{get:function(){return"LegendHover"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"model",{get:function(){return this.FLa},enumerable:!0,configurable:!0}),d.prototype.dispose=function(){},d.prototype.hover=function(b,c){
- return c.type==a.ElementType.LegendItem&&(this.FLa=c,!0)},d.prototype.isModel=function(a,b){return this.FLa==b},d.prototype.onEnter=function(a){return this.model.hover=!0,1},d.prototype.onLeave=function(a){return this.model.hover=!1,1},d.prototype.onMove=function(a){return 0},d);function d(){}b.L7a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(){return new a.models.a2b},d);function d(){}b.b2b=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"name",{get:function(){return"OverlayItemHover"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"model",{get:function(){return this.FLa},enumerable:!0,configurable:!0}),d.prototype.hover=function(b,c){return c instanceof a.Jsb&&(this.FLa=c,!0)},d.prototype.isModel=function(a,b){return this.FLa==b},d.prototype.onEnter=function(a){return this.model.hover=!0,1},d.prototype.onLeave=function(a){return this.model.hover=!1,1},d.prototype.onMove=function(a){return 0},d.prototype.dispose=function(){},d);function d(){}b.a2b=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(){return new a.models.N7a},d);function d(){}b.Qab=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"name",{get:function(){return"PointHover"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"model",{get:function(){return this.FLa},enumerable:!0,configurable:!0}),d.prototype.dispose=function(){},d.prototype.hover=function(b,c){return c.type==a.ElementType.DataPoint?(this.FLa=c,!0):(this.FLa=this.A1b(b,c),null!=this.FLa)},d.prototype.isModel=function(b,c){return c.type==a.ElementType.DataPoint?this.FLa==c:null!=this.FLa&&this.FLa==this.A1b(b,c)},d.prototype.onEnter=function(a){return this.model.hover=!0,1},d.prototype.onLeave=function(a){return this.model.hover=!1,1},d.prototype.onMove=function(a){return 0},d.prototype.pta=function(b){var c=b.parent;return null==c?null:c.type==a.ElementType.PlotArea?c:this.pta(c)},d.prototype.A1b=function(c,d){var e,f,g;return d.type==a.ElementType.DataPointLabel&&(e=this.pta(d),null!=e&&(f=new a.core.Point(c.x,c.y),g=e.mr(f,new b.ExcludingModelPrediction(["DataPointLabel"])),null!=g&&g.model.type==a.ElementType.DataPoint))?g.model:null},d);function d(){}b.N7a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(){return new a.models.R7a},d);function d(){}b.Sab=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"name",{get:function(){return"SeriesHover"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"model",{get:function(){return this.FLa},enumerable:!0,configurable:!0}),d.prototype.dispose=function(){},d.prototype.hover=function(b,c){return c.type==a.ElementType.Series&&(this.FLa=c,!0)},d.prototype.isModel=function(a,b){return this.FLa==b},d.prototype.onEnter=function(a){return this.model.hover=!0,1},d.prototype.onLeave=function(a){return this.model.hover=!1,1},d.prototype.onMove=function(a){return 0},d);function d(){}b.R7a=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(){return new a.models.c2b},d);function d(){}b.d2b=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"name",{get:function(){return"TooltipHover"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"model",{get:function(){return this.FLa},enumerable:!0,configurable:!0}),d.prototype.dispose=function(){this._Na()},d.prototype.hover=function(b,c){return c.type==a.ElementType.DataPoint?(this.FLa=c,!0):(this.FLa=this.A1b(b,c),null!=this.FLa)},d.prototype.isModel=function(b,c){return c.type==a.ElementType.DataPoint?this.FLa==c:null!=this.FLa&&this.FLa==this.A1b(b,c)},d.prototype.onEnter=function(b){var c,d,e=this.model;return null!=e&&null!=e.aT()&&null!=e.aT().E5a()&&(c=a.plugins.w1a.QOa("Default"),null!=c&&(d=c.toHtml(e.aT().E5a()),d&&0<d.length&&this.uw(d,new a.core.Rect(b.originalEvent.clientX,b.originalEvent.clientY,5,5),e.bRa().mPa()))),0},d.prototype.onLeave=function(a){return this._Na(),0},d.prototype.onMove=function(a){return 0},d.prototype.pta=function(b){return null==b?null:b.type==a.ElementType.PlotArea?b:this.pta(b.parent)},d.prototype.ZJa=function(b){return null==b?null:b.type==a.ElementType.Control?b:this.ZJa(b.parent)},d.prototype.A1b=function(c,d){var e,f,g;return d.type==a.ElementType.DataPointLabel&&(e=this.pta(d),null!=e&&(f=new a.core.Point(c.x,c.y),g=e.mr(f,new b.ExcludingModelPrediction(["DataPointLabel"])),null!=g&&g.model.type==a.ElementType.DataPoint))?g.model:null},d.prototype.vw=function(){return null==this.Oza&&(this.Oza=new a.core.Tooltip,this.Oza.showDelay=200),this.Oza},d.prototype.uw=function(b,c,d){var e,f=this;null!=this.ZNa&&(clearTimeout(this.ZNa),this.ZNa=null),0<this.vw().showDelay?this.ZNa=window.setTimeout(function(){f.ZNa=null;var e=a.MRb.oSb(f.ZJa(f.model));f.vw().show(e.hostElement,b,d,c),0<f.vw().hideDelay&&(f.ZNa=window.setTimeout(function(){f.ZNa=null,f.vw().hide()},f.vw().hideDelay))},this.vw().showDelay):(e=a.MRb.oSb(this.ZJa(this.model)),this.vw().show(e.hostElement,b,d,c),0<this.vw().hideDelay&&(this.ZNa=window.setTimeout(function(){f.ZNa=null,f.vw().hide()},this.vw().hideDelay)))},d.prototype._Na=function(){null!=this.ZNa&&(clearTimeout(this.ZNa),this.ZNa=null),this.vw().hide()},d);function d(){}b.c2b=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){a.plugins||(a.plugins={})}(dv=dv||{}),function(a){a.plugins||(a.plugins={})}(dv=dv||{}),function(a){a.plugins||(a.plugins={})}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(b,c,d){return d&&0<d.length?new a.models.kTb(c,d):null},d);function d(){}b.$ab=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"chartType",{get:function(){return"Area"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b,c){return null!=c?new a.models.OTb(c,b.q4a().s4a().Ou()):null},d);function d(){}b.gbb=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"chartType",{get:function(){return"Bar"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b,c){return null!=c?new a.models.RTb(c,b.q4a().s4a().Ou()):null},d);function d(){}b.ibb=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"chartType",{get:function(){return"Line"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b,c){return null!=c?new a.models.WTb(c,b.q4a().s4a().Ou()):null},d);function d(){}b.kbb=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"chartType",{get:function(){return"Area"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 2},enumerable:!0,configurable:!0}),d.prototype.create=function(b,c){if(null!=c){var d=new a.models.k7a(b.q4a().s4a().Ou().HL()).vQb(c.encodings);if(null!=d.valueDefinitions&&0<d.valueDefinitions.length&&d.valueDefinitions[0]instanceof a.models.q7a)return new a.models.gUb(c,b.q4a().s4a().Ou())}return null},d);function d(){}b.mbb=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"chartType",{get:function(){return"Line"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 2},enumerable:!0,configurable:!0}),d.prototype.create=function(b,c){if(null!=c){var d=new a.models.k7a(b.q4a().s4a().Ou().HL()).vQb(c.encodings);if(null!=d.valueDefinitions&&0<d.valueDefinitions.length&&d.valueDefinitions[0]instanceof a.models.q7a)return new a.models.jUb(c,b.q4a().s4a().Ou())}return null},d);function d(){}b.obb=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"chartType",{get:function(){return"Scatter"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b,c){return null!=c?new a.models.ZTb(c,b.q4a().s4a().Ou()):null},d);function d(){}b.qbb=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"chartType",{get:function(){return"Bar"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 1},enumerable:!0,configurable:!0}),d.prototype.create=function(b,c){var d,e;return null!=c&&(c.config.axisMode==a.AxisMode.Polygonal||c.config.axisMode==a.AxisMode.Radial)&&(d=new a.models.e7a(b.q4a().s4a().Ou().HL()).vQb(c.encodings),null!=d.detailDefinitions&&0<d.detailDefinitions.length&&(e=d.detailDefinitions[0],e instanceof a.models.Z2a&&null!=e.Y2a()&&1<e.Y2a().length))?new a.models.aUb(c,b.q4a().s4a().Ou()):null},d);function d(){}b.sbb=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"chartType",{get:function(){return"Text"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b,c){return null!=c?new a.models.mUb(c,b.q4a().s4a().Ou()):null},d);function d(){}b.ubb=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"chartType",{get:function(){return"TreeMap"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.create=function(b,c){return null!=c?new a.models.cUb(c,b.q4a().s4a().Ou()):null},d);function d(){}b.wbb=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.register=function(b){if(null==b)throw a.PluginErrors.EmptyPluginError();if(null==b.type)throw a.PluginErrors.EmptyPluginTypeError();if(null==b.name)throw a.PluginErrors.EmptyPluginNameError();this.DSb.indexOf(b)<0&&this.DSb.push(b)},c.prototype.unregister=function(b){if(null==b)throw a.PluginErrors.EmptyPluginError();var c=this.DSb.indexOf(b);0<=c&&this.DSb.splice(c,1)},c.prototype.plugin=function(a,b){var d,e,f,g;for(void 0===b&&(b=null),null==b&&(b=c.defaultPluginName),d=[],e=0,f=this.DSb;e<f.length;e++)g=f[e],g.type==a&&g.name==b&&d.push(g);return d},c.defaultPluginName="Default",c.defaultPluginCollection=new c,c);function c(){this.DSb=[]}a.PluginCollection=b}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=Error,__extends(e,c),e.InvalidTypeError=function(a){return null==a?Error("Unexpected null type."):Error("Unexpected plugin type: "+a)},e.EmptyPluginError=function(){return Error("Unexpected null plugin.")},e.EmptyPluginNameError=function(){return Error("Unexpected null plugin name.")},e.EmptyPluginTypeError=function(){return Error("Unexpected null plugin type.")},e.TypeExistsError=function(b){return a.ePb.dPb(null!=b),Error("The plugin type "+b+" Exists.")},e);function e(){return null!==c&&c.apply(this,arguments)||this}b.PluginErrors=d}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(b){return new a.models.pAa(b,this.createMeasurer(b))},d.prototype.createMeasurer=function(b){return new a.models.WRb},d);function d(){}b._Ra=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(b){return new a.models.oAa(b,this.createMeasurer(b))},d.prototype.createMeasurer=function(b){return new a.models.XRb},d);function d(){}b.aSa=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(b){return new a.models.QRa(b,this.createMeasurer(b))},d.prototype.createMeasurer=function(b){return new a.models.WRb},d);function d(){}b.PureCanvasRenderEnginePlugin=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(){"use strict";(a.plugins||(a.plugins={})).Ija=function(b,c,d,e){var f,g,h,i=c?c.match(/([a-z])(\d*)(,*)(.*)/i):null,j=a.core.culture.Globalize.numberFormat,k=i?i[1].toLowerCase():"n",l=i&&i[2]?parseInt(i[2]):"c"==k?j.currency.decimals:b==Math.round(b)?0:2,m=i&&i[3]?3*i[3].length:0,n=i&&i[4]?i[4]:j.currency.symbol,o=j["."],p=j[","];if(m&&(b/=Math.pow(10,m)),"d"==k||"x"==k){for(f=Math.round(Math.abs(b)).toString("d"==k?10:16);f.length<l;)f="0"+f;return b<0&&(f="-"+f),c&&"X"==c[0]&&(f=f.toUpperCase()),f}return"p"==k&&(b=a.core.Globalize.dwa(b)),e&&(b=a.TOb.toFixed(b,l,!0)),f="c"==k||"p"==k?Math.abs(b).toFixed(l):b.toFixed(l),(d||"g"==k)&&-1<f.indexOf(".")&&(f=(f=f.replace(/(\.[0-9]*?)0+$/g,"$1")).replace(/\.$/,"")),"."!=o&&(f=f.replace(".",o)),!p||"n"!=k&&"c"!=k&&"p"!=k||(g=f.indexOf(o),h=/\B(?=(\d\d\d)+(?!\d))/g,f=-1<g?f.substr(0,g).replace(h,p)+f.substr(g):f.replace(h,p)),"c"==k&&(f=j.currency.pattern[b<0?0:1].replace("n",f).replace("$",n)),"p"==k&&(f=j.percent.pattern[b<0?0:1].replace("n",f)),f}}()}(dv=dv||{}),function(a){a.plugins||(a.plugins={})}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(){return new a.models.RRa},d);function d(){}b.ARa=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(e.format=function(a,b,c){if(null==b||""==b.trim())return""+a;b=b.trim();var d=e.e2b,f=d[b];return null==f&&(f=d[b]=new e(b)),null!=f?f.getFormatString(a,c):""+a},e.prototype.getFormatString=function(a,b){return this.f2b?this.getStandardFormatString(a,b):this.getCustomFormatString(a)},e.prototype.getCustomFormatString=function(a){var b,c,d,f,g,h;if(isNaN(a))return"NaN";if(!isFinite(a))return 0<a?"Infinity":"-Infinity";if(0==a&&null!=this.g2b)return this.g2b;if(this.h2b=!1,b=a<0?null==(c=this.i2b[1])?(c=this.i2b[0],e.getNegativeSign(this.ASb)+c.prefix):c.prefix:(c=this.i2b[0]).prefix,c.allInLiteral||c.noFormatPattern)return b;if(this.j2b=c,d=this.k2b=[],f=c.scaleCount,0<f&&(a/=Math.pow(10,3*f)),g=c.multiplier,1<g&&(a*=g),d.push(b),this.Ija(Math.abs(a)),h=d.join(""),d.length=0,this.h2b){if(null!=this.g2b)return this.g2b;a<0&&(null!=this.i2b[1]&&(c=this.j2b=this.i2b[0]),b=c.prefix,d.push(b),this.Ija(0),h=d.join(""),d.length=0)}return h},e.prototype.Ija=function(a){this.j2b.useExponentialNotation?this.l2b(a):this.m2b(a)},e.prototype.l2b=function(a){var b=a.toExponential(),c=b.indexOf("e"),d=b.substr(0,c),e=d.length,f=parseInt(b.substr(c+1)),g=this.j2b.digitLeftCount,h=d[0],i="";1<e&&"."==d[1]&&(e--,d=h+(i=d.substr(2))),1<g&&(f-=g-1,h=d.substr(0,g),i=e<g?(h+="0".repeat(g-e),""):d.substr(g)),this.n2b(h,i,f)},e.prototype.o2b=function(a){var b,c,d=[],f=this.j2b;return d.push(f.exponentSymbol),0<a&&f.useSignForPositiveExponent?d.push(e.getPositiveSign(this.ASb)):a<0&&(d.push(e.getNegativeSign(this.ASb)),a*=-1),b=""+a,c=f.minimumExponentDigits-b.length,0<c&&(b="0".repeat(c)+b),d.push(b),d.join("")},e.prototype.m2b=function(a){var b,c,d,e,f,g,h=0,i=""+a;if(-1==(d=i.indexOf("e"))){if(f=this.j2b.digitRightCount,i=a.toFixed(f),0==parseFloat(i))return void(this.h2b=!0);c=-1==(d=i.indexOf("."))?(b=i,""):(b=i.substr(0,d),i.substr(d+1))}else h=parseInt(i.substr(d+1)),g=i.substr(0,d),e=d,"."==g[1]&&(g=g[0]+g.substr(2),e--),c=e<h+1?(b=g+"0".repeat(h+1-e),""):0<h?(b=g.substr(0,h+1),g.substr(h+1)):(b="","0".repeat(-h-1)+g);this.n2b(b,c)},e.prototype.n2b=function(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q=2==arguments.length,r=this.j2b,s=r.needGroup,t=r.formatInfo[0],u=t.length,v=a.length,w=r.leftZeros;if(v<w?(a="0".repeat(w-v)+a,v=w):0==w&&1==v&&"0"==a[0]&&(a="",v=0),d=[],e="",f=[],g=0,0<u&&0<v){for(h=v-1,i=u-1,j=0,k=r.digitLeftCount;0<=i;)if(0==(p=(o=t[i--]).type)?0<=h&&(f.push(a[h--]),g++,j++):1==p?f.push(o.char):2==p&&f.push(this.o2b(c)),3==g&&(d.push(f.reverse().join("")),f=[],g=0),k<=j)for(;0<=h;)f.push(a[h--]),3==++g&&(d.push(f.reverse().join("")),f=[],g=0);for(;0<=h;)f.push(a[h--]),3==++g&&(d.push(f.reverse().join("")),f=[],g=0);0<g&&d.push(f.reverse().join("")),e=d.reverse().join(s?this.ASb[","]:"")}else if(s){for(w=0,l=v%3;w<v;)d.push(a.substr(w,l)),w+=l,l=3;e=d.join(this.ASb[","])}else e=a;if(m=r.rightZeros,v=b.length,n=r.digitRightCount,n<v?(b=parseFloat("0."+b).toFixed(n).substr(2),v=n):v<m&&(b+="0".repeat(m-v),v=m),q)for(;m<v&&"0"==b[v-1];)v--;if(f=[],0<(u=(t=r.formatInfo[1]).length)){for(h=i=0;i<u;)0==(p=(o=t[i++]).type)?h<v&&f.push(b[h++]):1==p?f.push(o.char):2==p&&f.push(this.o2b(c));h<v&&f.push(b.substr(h)),b=f.join("")}0<b.length?this.k2b.push([e,b].join(0<v?this.ASb["."]:"")):this.k2b.push(e)},e.prototype.getStandardFormatString=function(a,b){switch(this.p2b.toUpperCase()){case"C":return this.getCurrencyString(a);case"D":return this.getDecimalString(a);case"E":return this.getExponentialString(a,this.q2b,this.p2b);case"F":return this.getFixedPointString(a);case"G":return this.getGeneralString(a);case"N":return this.getNumberString(a,b);case"P":return this.getPercentString(a,b);case"R":return this.getRoundTripString(a);case"X":return this.getHexadecimalString(a);default:throw Error("Invalid format")}},e.prototype.getHexadecimalString=function(a){var b,c,d,e;return a<0&&(a+=Math.pow(2,32)),b=a.toString(16),c=b.indexOf("."),-1!=c&&(b=b.substr(0,c)),d=this.q2b,e=b.length,e<d&&(b="0".repeat(d-e)+b),"X"==this.p2b&&(b=b.toUpperCase()),b},e.prototype.getRoundTripString=function(a){return""+a},e.prototype.getPercentString=function(a,b){var c,d,f=this.q2b,g=this.ASb;return-1==f&&(f=b?a%1==0?0:2:g.percent.decimals),c=g.percent.pattern[0<=a?1:0],d=e.getNumberString(Math.abs(100*a),f,g,e.getGroupSizesByKey(g,"currency")),c.replace("n",d)},e.prototype.getNumberString=function(a,b){var c,d,f=this.q2b,g=this.ASb;return-1==f&&(f=b?a%1==0?0:2:g.number.decimals),c=a<0,d=e.getNumberString(Math.abs(a),f,g,e.getGroupSizesByKey(g,"number")),c?g.number.negativePattern[1].replace("n",d):d},e.prototype.getGeneralString=function(a){var b,c,d,f,g,h,i,j=this.q2b;return-1==j&&(j=15),0==a?"0":(b=Math.abs(a),c=Math.log10(b),-5<c&&c<j?(d=""+b,f=d.length,g=0,h=d.indexOf("."),-1!=h&&(b<1&&g++,j<f-++g&&(d=b.toFixed(j-h))),i=this.ASb,d=d.replace(".",i["."]),a<0&&(d=e.getNegativeSign(i)+d),d):this.getExponentialString(a,j-1,"G"==this.p2b?"E":"e",2,!0))},e.prototype.getFixedPointString=function(a){var b=this.q2b;return-1==b&&(b=2),e.getNumberString(a,b,this.ASb,[0])},e.prototype.getExponentialString=function(a,b,c,d,f){var g,h,i,j,k,l,m,n,o;if(void 0===d&&(d=3),void 0===f&&(f=!1),-1==b&&(b=6),g=a<0,h=0,(a=Math.abs(a))<1){for(;h++,(a*=10)<1;);h*=-1}else for(;10<=a;)a/=10,h++;return i=[],j=this.ASb,k=e.getNegativeSign(j),l=e.getPositiveSign(j),g&&i.push(k),m=a.toFixed(b),-1!=m.indexOf(".")&&(f&&(m=m.replace(/(0)+$/,"")),m=m.replace(".",j["."])),i.push(m),i.push(c),i.push(h<0?k:l),h<0&&(h*=-1),n=""+h,o=n.length,o<d&&(n="0".repeat(d-o)+n),i.push(n),i.join("")},e.prototype.getDecimalString=function(a){var b=a<0,c=""+Math.floor(Math.abs(a)),d=this.q2b,f=c.length;return f<d&&(c="0".repeat(d-f)+c),b&&(c=e.getNegativeSign(this.ASb)+c),c},e.getNegativeSign=function(a){var b=a.negativeSign;return null==b&&(b="-"),b},e.getPositiveSign=function(a){var b=a.positiveSign;return null==b&&(b="+"),b},e.getGroupSizesByKey=function(a,b){var c,d=a[b];return null!=d&&(c=d.groupSizes),null==c&&(c=[3]),c},e.getNumberString=function(a,b,c,d){var f,g,h,i,j,k,l,m,n,o,p,q,r,s=a<0;if(s&&(a*=-1),f=a.toFixed(b),g=f.indexOf("."),h="",i=f,-1!=g&&0<b&&(h=f.substr(g+1),i=f.substr(0,g),j=""+a,k=j.indexOf("."),-1!=k&&(l=j.length-k-1,l<b&&(h=j.substr(k+1)+"0".repeat(b-l))),h=c["."]+h),null!=d&&0<d.length){for(m=[],n=i.length,o=void 0,p=g=0,q=d.length;0<n+g;p++)if(p<q&&(o=d[p]),0<o)r=g-o,m.push(i.substr(r,Math.min(o,n+g))),g=r;else if(0==o){m.push(i.substr(0,n+g));break}i=m.reverse().join(c[","])}return f=i+h,s&&(f=e.getNegativeSign(c)+f),f},e.prototype.getCurrencyString=function(a){var b,c,d=this.q2b,f=this.ASb;return-1==d&&(d=f.currency.decimals),b=f.currency.pattern[0<=a?1:0],c=e.getNumberString(Math.abs(a),d,f,e.getGroupSizesByKey(f,"currency")),b.replace("n",c)},e.prototype.parse=function(){var a,b,d,f,g,h,i=this.r2b();if(this.j2b=this.i2b[0]=i,b=this.s2b(),d=[],f=null,i.allInLiteral||this.parseTrunk(),i.allInLiteral?(d=this.t2b(this.qEa,e.u2b),i.prefix=d[0],0<(a=d[1]).length&&(f=new c(a)).moveNext()):(i.prefix=b,f=this.v2b),f&&f.current==e.u2b&&(g=f.remainder,f.moveNext())){if(f.current!=e.u2b&&(i=this.r2b(),this.j2b=this.i2b[1]=i,b=this.s2b(),i.allInLiteral||(i.prefix=b,this.parseTrunk()),i.allInLiteral&&(d=this.t2b(g,e.u2b),i.prefix=d[0],0<(g=d[1]).length)))return d=this.t2b(g),void(this.g2b=d[0]);f.current==e.u2b&&(h=f.remainder,d=this.t2b(h),this.g2b=d[0])}},e.prototype.t2b=function(a,b){var c,d,f,g,h;for(c=[],d=1<arguments.length,f=0,g=a.length;f<g&&(h=a[f],!d||h!=b);f++){if("\\"==h||h==e.w2b){if(g<=++f)break;h=a[f]}c.push(h)}return[c.join(""),f<length?a.substr(f):""]},e.prototype.s2b=function(){var a=[];for(this.x2b=!1;this.y2b(a)&&this.v2b.moveNext(););return a.join("")},e.prototype.y2b=function(a){var b=this.v2b,c=this.j2b,d=b.current;if(null==d)return!1;if("\\"==d)return b.moveNext(),a.push(b.current),!0;if(d==e.w2b)return this.x2b=!this.x2b,!0;if(this.x2b)a.push(d);else switch(d.toUpperCase()){case e.z2b:return!0;case e.A2b:case e.B2b:case e.C2b:return!1;case e.u2b:return!0;case e.D2b:if(1!=c.multiplier&&c.multiplier!=e.E2b)throw Error("Too many percent/permill");c.multiplier=e.E2b,a.push(this.ASb.percent.symbol);break;case e.F2b:if(1!=c.multiplier&&c.multiplier!=e.G2b)throw Error("Too many percent/permill");c.multiplier=e.G2b,a.push(this.ASb.permillSymbol);break;case e.H2b:if(/^[+-]?0+/.test(b.remainder))return!(c.allInLiteral=!0);a.push(d);break;default:a.push(d)}return!0},e.prototype.r2b=function(){return{formatInfo:[[],[]],decimalFound:!1,leftZeros:0,rightZeros:0,needGroup:!1,scaleCount:0,digitLeftCount:0,digitRightCount:0,minimumExponentDigits:0,multiplier:1,allInLiteral:!1,exponentSymbol:null,useExponentialNotation:!1,useSignForPositiveExponent:!1,prefix:"",noFormatPattern:!1}},e.prototype.parseTrunk=function(){if(null==this.v2b.current)this.j2b.noFormatPattern=!0;else for(;this.parseTrunkCharacter(););},e.prototype.parseTrunkCharacter=function(){var a,b,c,d=this.v2b,f=d.current,g=this.j2b;if(null==f)return!1;if("\\"==f)return d.moveNext(),f=d.current,this.addLiteralItem(f),d.moveNext();if(f==e.w2b)return this.x2b=!this.x2b,d.moveNext();if(this.x2b)return this.addLiteralItem(f),d.moveNext();switch(f.toUpperCase()){case e.u2b:return!1;case e.A2b:g.decimalFound?g.digitRightCount++:(g.digitLeftCount++,0<g.leftZeros&&g.leftZeros++),this.addPlaceHolder();break;case e.B2b:g.decimalFound?(g.digitRightCount++,g.rightZeros=g.digitRightCount):(g.digitLeftCount++,g.leftZeros++),this.addPlaceHolder();break;case e.z2b:g.decimalFound?g.scaleCount++:(b=d.previous,a=d.peek,b!=e.A2b&&b!=e.B2b||a!=e.A2b&&a!=e.B2b?g.scaleCount++:(g.needGroup=!0,g.scaleCount=0));break;case e.C2b:g.decimalFound||(g.decimalFound=!0,0<g.scaleCount&&(g.needGroup=!0),g.scaleCount=0);break;case e.H2b:if(g.useExponentialNotation)this.addLiteralItem(f);else{if(/^[+-]?0+/.test(d.remainder)){if(0==g.digitLeftCount&&0==g.digitRightCount)return!(g.allInLiteral=!0);for(c=0,d.moveNext(),(a=d.current)!=e.I2b&&a!=e.J2b||(d.moveNext(),g.useSignForPositiveExponent=a==e.I2b);d.current==e.B2b;)d.moveNext(),c++;return g.minimumExponentDigits=c,g.useExponentialNotation=!0,g.exponentSymbol=f,this.addExponentItem(),!0}this.addLiteralItem(f)}break;case e.D2b:if(1!=g.multiplier&&g.multiplier!=e.E2b)throw Error("Too many percent/permill");g.multiplier=e.E2b,this.addLiteralItem(this.ASb.percent.symbol);break;case e.F2b:if(1!=g.multiplier&&g.multiplier!=e.G2b)throw Error("Too many percent/permill");g.multiplier=e.G2b,this.addLiteralItem(this.ASb.permillSymbol);break;default:this.addLiteralItem(f)}return d.moveNext()},e.prototype.addLiteralItem=function(a){var b=this.j2b,c=b.decimalFound?1:0;b.formatInfo[c].push({type:1,char:a})},e.prototype.addPlaceHolder=function(){var a=this.j2b,b=a.decimalFound?1:0;a.formatInfo[b].push({type:0})},e.prototype.addExponentItem=function(){var a=this.j2b,b=a.decimalFound?1:0;a.formatInfo[b].push({type:2})},e.e2b={},e.K2b=/^([a-zA-Z])(\d{0,2})$/,e.L2b=a.core.culture.Globalize.numberFormat,e.u2b=";",e.w2b="'",e.A2b="#",e.B2b="0",e.z2b=",",e.C2b=".",e.F2b="\u2030",e.G2b=1e3,e.D2b="%",e.E2b=100,e.H2b="E",e.I2b="+",e.J2b="-",e);function e(a,b){var d,f;this.x2b=!1,this.k2b=[],this.i2b=[],this.qEa=a,this.ASb=null==b?e.L2b:b,d=a.match(e.K2b),null!=d?(this.f2b=!0,this.p2b=d[1],f=d[2],this.q2b=0==f.length?-1:parseInt(f)):(this.v2b=new c(a),this.v2b.moveNext(),this.parse())}b.M2b=d,Object.defineProperty(f.prototype,"current",{get:function(){return this.Ok},enumerable:!0,configurable:!0}),f.prototype.moveNext=function(){return this.nextIndex>=this.yoa?(this.Ok=null,!1):(this.Ok=this.source[this.nextIndex++],!0)},Object.defineProperty(f.prototype,"peek",{get:function(){return this.nextIndex>=this.yoa?null:this.source[this.nextIndex]},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"previous",{get:function(){return 1<this.nextIndex?this.source[this.nextIndex-2]:null},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"remainder",{get:function(){return this.source.substr(this.nextIndex)},enumerable:!0,configurable:!0}),c=f;function f(a){this.Ok=null,this.nextIndex=0,this.source=a,this.yoa=a.length}}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.format=function(c,d){return null==d?"":"string"==typeof d?d:"number"==typeof d?isNaN(d)?"":(c=c||(d==Math.round(d)?"n0":"n2"),b.M2b.format(d,c,!0)):d instanceof Date?isNaN(d.getTime())?"":(c=c||this.defaultFormat(a.core.DataType.Date),a.core.Globalize.formatDate(d,c)):""+d},d.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 null}},d.prototype.Ija=function(b,c,d,e){var f,g,h,i=c?c.match(/([a-z])(\d*)(,*)(.*)/i):null,j=a.core.culture.Globalize.numberFormat,k=i?i[1].toLowerCase():"n",l=i&&i[2]?parseInt(i[2]):"c"==k?j.currency.decimals:b==Math.round(b)?0:2,m=i&&i[3]?3*i[3].length:0,n=i&&i[4]?i[4]:j.currency.symbol,o=j["."],p=j[","];if(m&&(b/=Math.pow(10,m)),"d"==k||"x"==k){for(f=Math.round(Math.abs(b)).toString("d"==k?10:16);f.length<l;)f="0"+f;return b<0&&(f="-"+f),c&&"X"==c[0]&&(f=f.toUpperCase()),f}return"p"==k&&(b=a.core.Globalize.dwa(b)),e&&(b=a.TOb.toFixed(b,l,!0)),f="c"==k||"p"==k?Math.abs(b).toFixed(l):b.toFixed(l),(d||"g"==k)&&-1<f.indexOf(".")&&(f=(f=f.replace(/(\.[0-9]*?)0+$/g,"$1")).replace(/\.$/,"")),"."!=o&&(f=f.replace(".",o)),!p||"n"!=k&&"c"!=k&&"p"!=k||(g=f.indexOf(o),h=/\B(?=(\d\d\d)+(?!\d))/g,f=-1<g?f.substr(0,g).replace(h,p)+f.substr(g):f.replace(h,p)),"c"==k&&(f=j.currency.pattern[b<0?0:1].replace("n",f).replace("$",n)),"p"==k&&(f=j.percent.pattern[b<0?0:1].replace("n",f)),f},d);function d(){}b.RRa=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.registerStringFormatting=function(b,d){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);if(null==d)throw a.PluginErrors.EmptyPluginError();if(null!=c.N2b[b])throw a.PluginErrors.TypeExistsError(b);c.N2b[b]=d,a.w1a.xab(b)},c.unregisterStringFormatting=function(b){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);null!=c.N2b[b]&&(delete c.N2b[b],a.w1a.xab(b))},c.hasRegisteredStringFormatting=function(b){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);return null!=c.N2b[b]},c._za=function(a){return"string"==typeof a&&null!=c.N2b[a]?c.N2b[a]:null},c.N2b={},c);function c(){}a.StringFormattingPlugin=b}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(){return new a.models.SRa},d);function d(){}b.bSa=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.render=function(b,c,d){var e=c.width<c.height?c.width:c.height;a.NQb.iqb(b,this.color),a.NQb.jqb(b,this.color),a.NQb.MQb(b,1),a.NQb.Jqb(b,d),b.drawRect((c.right+c.left)/2-e/2,c.top,e,e)},d);function d(){}b.SRa=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(){return new a.models.TRa},d);function d(){}b.cSa=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.render=function(b,c,d){var e=c.width<c.height?c.width:c.height,f={x:.5*(c.left+c.right),y:.5*(c.top+c.bottom)};a.NQb.jqb(b,this.color),a.NQb.$Qb(b,new a.options.AFa({strokeWidth:new a.options.hVb({top:2,right:2,bottom:2,left:2}),strokeDasharray:"2,2"})),a.NQb.Jqb(b,d),b.drawLine(f.x-.5*e,f.y,f.x+.5*e,f.y)},d);function d(){}b.TRa=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(){return new a.models.URa},d);function d(){}b.dSa=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.render=function(b,c,d){var 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];a.NQb.iqb(b,this.color),a.NQb.jqb(b,this.color),a.NQb.MQb(b,1),a.NQb.Jqb(b,d),b.drawPolygon(g,h)},d);function d(){}b.URa=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(){return new a.models.VRa},d);function d(){}b.eSa=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.render=function(b,c,d){var e=c.width<c.height?c.width/2:c.height/2;a.NQb.iqb(b,this.color),a.NQb.jqb(b,this.color),a.NQb.MQb(b,1),a.NQb.Jqb(b,d),b.drawEllipse((c.right+c.left)/2,(c.top+c.bottom)/2,e,e)},d);function d(){}b.VRa=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){a.plugins||(a.plugins={})}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(){return new a.models.WRa},d);function d(){}b.fSa=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.render=function(b,c,d){var e=c.width<c.height?c.width:c.height,f={x:.5*(c.left+c.right),y:.5*(c.top+c.bottom)};a.NQb.jqb(b,this.color),a.NQb.MQb(b,2),a.NQb.Jqb(b,d),b.drawLine(f.x,f.y-.5*e,f.x,f.y+.5*e),b.drawLine(f.x-.5*e,f.y,f.x+.5*e,f.y)},d);function d(){}b.WRa=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.registerSymbol=function(b,d){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);if(null==d)throw a.PluginErrors.EmptyPluginError();if(null!=c.O2b[b])throw a.PluginErrors.TypeExistsError(b);c.O2b[b]=d,c.zab.push(b),a.w1a.wab(b)},c.unregisterSymbol=function(b){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);if(null!=c.O2b[b]){delete c.O2b[b];for(var d=0;d<c.zab.length;d++)if(c.zab[d]==b){c.zab.splice(d,1);break}a.w1a.wab(b)}},c.hasRegisteredSymbol=function(b){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);return null!=c.O2b[b]},c.jSa=function(a){return"string"==typeof a&&null!=c.O2b[a]?c.O2b[a]:null},c.$Ra=function(){return c.zab},c.O2b={},c.zab=[],c);function c(){}a.SymbolPlugin=b}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(){return new a.models.XRa},d);function d(){}b.gSa=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.render=function(b,c,d){
- var e,f,g,h,i,j=c.width<c.height?c.width:c.height,k=c.clone();c.width>c.height&&(k.left=k.left+(c.width-j)/2,k.width=j),c.height>c.width&&(k.top=k.top+(c.height-j)/2,k.height=j),e=new a.core.Point(k.left+k.width/2,k.top),f=new a.core.Point(k.left,k.width/2/.5773502691896257+k.top),g=new a.core.Point(k.right,f.y),h=[],i=[],h.push(e.x),h.push(f.x),h.push(g.x),i.push(e.y),i.push(f.y),i.push(g.y),a.NQb.iqb(b,this.color),a.NQb.jqb(b,this.color),a.NQb.MQb(b,1),a.NQb.Jqb(b,d),b.drawPolygon(h,i)},d);function d(){}b.XRa=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(){return new a.models.YRa},d);function d(){}b.hSa=c}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.render=function(b,c,d){var e=c.width<c.height?c.width:c.height,f=.5*(c.left+c.right),g=.5*(c.top+c.bottom);a.NQb.jqb(b,this.color),a.NQb.MQb(b,2),a.NQb.Jqb(b,d),b.drawLine(f-.5*e,g-.5*e,f+.5*e,g+.5*e),b.drawLine(f+.5*e,g-.5*e,f-.5*e,g+.5*e)},d);function d(){}b.YRa=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.registerCoordinateSystem=function(b,d){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);if(null==d)throw a.PluginErrors.EmptyPluginError();if(null!=c.P2b[b])throw a.PluginErrors.TypeExistsError(b);c.P2b[b]=d},c.unregisterCoordinateSystem=function(b){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);null!=c.P2b[b]&&delete c.P2b[b]},c.hasRegisteredCoordinateSystem=function(b){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);return null!=c.P2b[b]},c.kab=function(a){return"string"==typeof a&&null!=c.P2b[a]?c.P2b[a]:null},c.P2b={},c);function c(){}a.CoordinateSystemPlugin=b}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.registerLayout=function(b,d){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);if(null==d)throw a.PluginErrors.EmptyPluginError();if(null!=c.Q2b[b])throw a.PluginErrors.TypeExistsError(b);c.Q2b[b]=d},c.unregisterLayout=function(b){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);null!=c.Q2b[b]&&delete c.Q2b[b]},c.hasRegisteredLayout=function(b){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);return null!=c.Q2b[b]},c.sab=function(a){return"string"==typeof a&&null!=c.Q2b[a]?c.Q2b[a]:null},c.Q2b={},c);function c(){}a.LayoutPlugin=b}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.registerOverlay=function(b,d){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);if(null==d)throw a.PluginErrors.EmptyPluginError();if(null!=c.R2b[b])throw a.PluginErrors.TypeExistsError(b);c.R2b[b]=d,c.S2b.push(b)},c.unregisterOverlay=function(b){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);if(null!=c.R2b[b]){delete c.R2b[b];for(var d=0;d<c.S2b.length;d++)if(c.S2b[d]==b){c.S2b.splice(d,1);break}}},c.hasRegisteredOverlay=function(b){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);return null!=c.R2b[b]},c.zbb=function(a){return"string"==typeof a&&null!=c.R2b[a]?c.R2b[a]:null},c.Abb=function(){return c.S2b},c.R2b={},c.S2b=[],c);function c(){}a.OverlayPlugin=b}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.registerPlot=function(b,d){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);if(null==d)throw a.PluginErrors.EmptyPluginError();if(null!=c.T2b[b])throw a.PluginErrors.TypeExistsError(b);c.T2b[b]=d,c.U2b.push(b)},c.unregisterPlot=function(b){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);if(null!=c.T2b[b]){delete c.T2b[b];for(var d=0;d<c.U2b.length;d++)if(c.U2b[d]==b){c.U2b.splice(d,1);break}}},c.hasRegisteredPlot=function(b){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);return null!=c.T2b[b]},c.uab=function(a){return"string"==typeof a&&null!=c.T2b[a]?c.T2b[a]:null},c.tab=function(){return c.U2b},c.T2b={},c.U2b=[],c);function c(){}a.PlotPlugin=b}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.registerRenderEngine=function(b,d){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);if(null==d)throw a.PluginErrors.EmptyPluginError();if(null!=c.V2b[b])throw a.PluginErrors.TypeExistsError(b);c.V2b[b]=d},c.unregisterRenderEngine=function(b){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);null!=c.V2b[b]&&delete c.V2b[b]},c.hasRegisteredRenderEngine=function(b){if("string"!=typeof b)throw a.PluginErrors.InvalidTypeError(b);return null!=c.V2b[b]},c.iSa=function(a){return"string"==typeof a&&null!=c.V2b[a]?c.V2b[a]:null},c.V2b={},c);function c(){}a.RenderEnginePlugin=b}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){"use strict";var b=(Object.defineProperty(c.prototype,"renderEngine",{get:function(){return this.Qza},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"fillOpacity",{get:function(){return this.Bbb},set:function(b){if(this.Bbb=b,null!=this.Qza&&null!=this.fillOpacity&&"string"==typeof this.fill&&"none"!=this.fill&&"transparent"!=this.fill&&""!=this.fill){var c=a.core.ica.fromCss(this.fill);c.alpha=c.alpha*this.fillOpacity,this.Qza.fill=c.toCss()}},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"strokeOpacity",{get:function(){return this.c9a},set:function(b){if(this.c9a=b,null!=this.Qza&&null!=this.strokeOpacity&&"string"==typeof this.stroke&&"none"!=this.stroke&&"transparent"!=this.stroke&&""!=this.stroke){var c=a.core.ica.fromCss(this.stroke);c.alpha=c.alpha*this.strokeOpacity,this.Qza.stroke=c.toCss()}},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"textOpacity",{get:function(){return this.W2b},set:function(b){if(this.W2b=b,null!=this.Qza&&null!=this.textOpacity&&"string"==typeof this.textFill&&"none"!=this.textFill&&"transparent"!=this.textFill&&""!=this.textFill){var c=a.core.ica.fromCss(this.textFill);c.alpha=c.alpha*this.textOpacity,this.Qza.textFill=c.toCss()}},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"fill",{get:function(){return this.rFa},set:function(b){if(this.rFa=b,null!=this.Qza)if(null!=this.fillOpacity&&"string"==typeof this.fill&&"none"!=this.fill&&"transparent"!=this.fill&&""!=this.fill){var c=a.core.ica.fromCss(this.fill);c.alpha=c.alpha*this.fillOpacity,this.Qza.fill=c.toCss()}else this.Qza.fill=this.fill},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"stroke",{get:function(){return this.sFa},set:function(b){if(this.sFa=b,null!=this.Qza)if(null!=this.strokeOpacity&&"string"==typeof this.stroke&&"none"!=this.stroke&&"transparent"!=this.stroke&&""!=this.stroke){var c=a.core.ica.fromCss(this.stroke);c.alpha=c.alpha*this.strokeOpacity,this.Qza.stroke=c.toCss()}else this.Qza.stroke=this.stroke},enumerable:!0,configurable:!0}),Object.defineProperty(c.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(c.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(c.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(c.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(c.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(c.prototype,"fontWeight",{get:function(){return null!=this.Qza?this.Qza.fontWeight:null},set:function(a){null!=this.Qza&&(this.Qza.fontWeight=a)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"fontStyle",{get:function(){return null!=this.Qza?this.Qza.fontStyle:null},set:function(a){null!=this.Qza&&(this.Qza.fontStyle=a)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"textDecoration",{get:function(){return null!=this.Qza?this.Qza.textDecoration:null},set:function(b){null!=this.Qza&&null!=b&&(null==this.Qza.textDecoration&&(this.Qza.textDecoration=new a.options.J9a(null),this.Qza.textDecoration.lineThrough=!1,this.Qza.textDecoration.overline=!1,this.Qza.textDecoration.underline=!1),null!=b.lineThrough&&(this.Qza.textDecoration.lineThrough=b.lineThrough),null!=b.overline&&(this.Qza.textDecoration.overline=b.overline),null!=b.underline&&(this.Qza.textDecoration.underline=b.underline))},enumerable:!0,configurable:!0}),Object.defineProperty(c.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}),c.prototype.beginRender=function(){null!=this.Qza&&this.Qza.beginRender()},c.prototype.endRender=function(){null!=this.Qza&&this.Qza.endRender()},c.prototype.setViewportSize=function(a,b){null!=this.Qza&&this.Qza.setViewportSize(a,b)},c.prototype.startGroup=function(a,b){if(null!=this.Qza)return this.Qza.startGroup(a,b)},c.prototype.endGroup=function(){null!=this.Qza&&this.Qza.endGroup()},c.prototype.measureMultipleStrings=function(b,c,d,e){return void 0===d&&(d=a.TextOverflow.Clip),void 0===e&&(e=null),this.MQa.SIa(b,c,d,e)},c.prototype.drawMultipleStrings=function(b,c,d,e,f,g,h){void 0===d&&(d=a.HAlign.Left),void 0===e&&(e=a.TextOverflow.Clip),void 0===f&&(f=null),void 0===g&&(g=0),void 0===h&&(h=null),this.MQa.PQa(b,c,d,e,f,g,h)},c.prototype.drawMultipleRotateStrings=function(b,c,d,e,f,g){void 0===d&&(d=a.TextOverflow.Clip),void 0===e&&(e=null),void 0===g&&(g=null),this.MQa.X2b(b,c,d,e,f,g)},c.prototype.measureString=function(b,c,d){return null!=this.Qza?b?this.Qza.measureString(b,c,d):new a.core.Size(0,0):null},c.prototype.drawString=function(a,b,c){a&&null!=this.Qza&&this.Qza.drawString(a,b,c)},c.prototype.drawStringRotated=function(a,b,c,d,e){null!=this.Qza&&this.Qza.drawStringRotated(a,b,c,d,e)},c.prototype.beginTransform=function(){this.kSa.begin()},c.prototype.restoreTransform=function(){this.kSa.restore()},c.prototype.startTransform=function(a){if(null!=this.Qza)return this.Qza.startTransform(a)},c.prototype.endTransform=function(){if(null!=this.Qza)return this.Qza.endTransform()},c.prototype.drawPath=function(b,c,d,e,f,g){if(void 0===c&&(c=a.PathFillType.Nonzero),void 0===d&&(d=a.LineCap.Butt),void 0===e&&(e=a.LineJoin.Miter),null!=this.Qza)return this.Qza.drawPath(b,c,d,e,f,g)},c.prototype.drawEllipse=function(a,b,c,d,e,f){null!=this.Qza&&this.Qza.drawEllipse(a,b,c,d,e,f)},c.prototype.drawRect=function(a,b,c,d,e,f,g){null!=this.Qza&&0<c&&0<d&&this.Qza.drawRect(a,b,c,d,e,f,g)},c.prototype.drawLine=function(a,b,c,d,e){if(null!=this.Qza){if(a==c&&b==d)return null;this.Qza.drawLine(a,b,c,d,e)}},c.prototype.drawLines=function(a,b,c,d,e){null!=this.Qza&&this.Qza.drawLines(a,b,c,d,e)},c.prototype.drawSplines=function(a,b,c,d,e){null!=this.Qza&&this.Qza.drawSplines(a,b,c,d,e)},c.prototype.drawPolygon=function(a,b,c,d,e){null!=this.Qza&&this.Qza.drawPolygon(a,b,c,d,e)},c.prototype.drawPieSegment=function(a,b,c,d,e,f,g,h){c<=0||null!=this.Qza&&this.Qza.drawPieSegment(a,b,c,d,e,f,g,h)},c.prototype.drawDonutSegment=function(a,b,c,d,e,f,g,h,i){c<=0&&d<=0||0!=f&&null!=this.Qza&&this.Qza.drawDonutSegment(a,b,c,d,e,f,g,h,i)},c.prototype.drawImage=function(a,b,c,d,e,f){null!=this.Qza&&this.Qza.drawImage(a,b,c,d,e,f)},c.prototype.addClipRect=function(a,b){null!=this.Qza&&this.Qza.addClipRect(a,b)},c);function c(b,c){this.Bbb=1,this.c9a=1,this.W2b=1,a.ePb.dPb(null!=b),this.PHa=b,this.Qza=c,this.MQa=new a.NQa(this),this.kSa=new a.lSa(this)}a.NRa=b}(dv=dv||{}),function(a){"use strict";var b=(c.n0b=function(b,c){null!=c&&(null!=c.color&&(b.textFill=c.color),a.core.UOb.isNullNumber(c.opacity)||(b.textOpacity=c.opacity),null!=c.fontSize&&(b.fontSize=c.fontSize),null!=c.fontFamily&&(b.fontFamily=c.fontFamily),null!=c.fontWeight&&(b.fontWeight=c.fontWeight),a.core.UOb.isNullEnum(c.fontStyle)||(b.fontStyle=c.fontStyle),null!=c.textDecoration&&(b.textDecoration=c.textDecoration))},c.Y2b=function(a,b){c.n0b(a,b)},c.Z2b=function(b,d){null!=d&&(a.core.UOb.isNullNumber(d.opacity)||(b.strokeOpacity=d.opacity),null!=d.stroke&&(b.stroke=c.Ypb(d.stroke)),a.core.UOb.isNullNumber(d.strokeWidth)||(b.strokeWidth=d.strokeWidth),null!=d.strokeDasharray&&(b.strokeDasharray=d.strokeDasharray))},c.$2b=function(b,d){null!=d&&(null!=d.stroke&&(b.stroke=c.Ypb(d.stroke)),a.core.UOb.isNullNumber(d.strokeWidth)||(b.strokeWidth=d.strokeWidth),null!=d.strokeDasharray&&(b.strokeDasharray=d.strokeDasharray))},c._2b=function(b,d){null!=d&&(null!=d.innerStroke&&(b.stroke=c.Ypb(d.innerStroke)),a.core.UOb.isNullNumber(d.innerStrokeWidth)||(b.strokeWidth=d.innerStrokeWidth),null!=d.innerStrokeDasharray&&(b.strokeDasharray=d.innerStrokeDasharray))},c.a3b=function(b,d){null!=d&&(null!=d.fill&&(b.fill=c.Ypb(d.fill)),null!=d.stroke&&(b.stroke=c.Ypb(d.stroke)),a.core.UOb.isNullNumber(d.strokeWidth)||(b.strokeWidth=d.strokeWidth),null!=d.strokeDasharray&&(b.strokeDasharray=d.strokeDasharray))},c.$Qb=function(b,d){null!=d&&(null!=d.fill&&(b.fill=c.Ypb(d.fill)),a.core.UOb.isNullNumber(d.opacity)||(b.fillOpacity=d.opacity),null!=d.stroke&&(b.stroke=c.Ypb(d.stroke)),a.core.UOb.isNullNumber(d.strokeOpacity)||(b.strokeOpacity=d.strokeOpacity),null==d.strokeWidth||a.core.UOb.isNullNumber(d.strokeWidth.top)||(b.strokeWidth=d.strokeWidth.top),null!=d.strokeDasharray&&(b.strokeDasharray=d.strokeDasharray))},c.b3b=function(b,d){null!=d&&(null!=d.symbolFill&&(b.fill=c.Ypb(d.symbolFill)),a.core.UOb.isNullNumber(d.symbolOpacity)||(b.fillOpacity=d.symbolOpacity),null!=d.symbolStroke&&(b.stroke=c.Ypb(d.symbolStroke)),a.core.UOb.isNullNumber(d.symbolStrokeOpacity)||(b.strokeOpacity=d.symbolStrokeOpacity),a.core.UOb.isNullNumber(d.symbolStrokeWidth)||(b.strokeWidth=d.symbolStrokeWidth),null!=d.symbolStrokeDasharray&&(b.strokeDasharray=d.symbolStrokeDasharray))},c.c3b=function(a,b){null!=b&&(a.fill=c.Ypb(b))},c.Jqb=function(a,b){null!=b&&(null!=b.fill&&(a.fill=b.fill),null!=b.fillOpacity&&(a.fillOpacity=b.fillOpacity),null!=b.stroke&&(a.stroke=b.stroke),null!=b.strokeOpacity&&(a.strokeOpacity=b.strokeOpacity),null!=b.strokeWidth&&(a.strokeWidth=b.strokeWidth),null!=b.strokeDasharray&&(a.strokeDasharray=b.strokeDasharray))},c.d3b=function(b,c){null!=c&&(null!=c.fill&&(b.fill=c.fill),null!=c.fillOpacity&&(b.fillOpacity=c.fillOpacity),null!=c.stroke&&(b.stroke=c.stroke),null!=c.strokeOpacity&&(b.strokeOpacity=c.strokeOpacity),null!=c.strokeWidth&&(b.strokeWidth=c.strokeWidth),null!=c.strokeDasharray&&(b.strokeDasharray=c.strokeDasharray),null!=c.textFill&&(b.textFill=c.textFill),null!=c.fontSize&&(b.fontSize=c.fontSize),null!=c.fontFamily&&(b.fontFamily=c.fontFamily),null!=c.fontWeight&&(b.fontWeight=c.fontWeight),a.core.UOb.isNullEnum(c.fontStyle)||(b.fontStyle=c.fontStyle),null!=c.textDecoration&&(b.textDecoration=c.textDecoration))},c.jqb=function(a,b){null!=b&&(a.stroke=b)},c.MQb=function(a,b){null!=b&&(a.strokeWidth=b)},c.iqb=function(a,b){null!=b&&(a.fill=b)},c.Ypb=function(b){return null==b?null:b.type==a.ColorOptionType.Linear?a.models.bSb.wSb(b):b.type==a.ColorOptionType.Radial?a.models.cSb.wSb(b):b.type==a.ColorOptionType.CssColor?b.color:null},c);function c(){}a.NQb=b}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.calculatePoint=function(b){var c,d,e,f=Math.floor(b);return f<0&&(f=0),f>this.ZHa-2&&(f=this.ZHa-2),c=b-f,d=((this._xa[f].x*c+this.$xa[f].x)*c+this.Sk[f].x)*c+this.WHa[f].x,e=((this._xa[f].y*c+this.$xa[f].y)*c+this.Sk[f].y)*c+this.WHa[f].y,new a.core.Point(d,e)},c.prototype.calculate=function(a,b){var c,d,e,f,g,h,i,j,k;if(void 0===a&&(a=1),void 0===b&&(b=1),this.ZHa<=2)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=null,j=0;j<this.ZHa-1;++j){for(k=f;k<1;k+=f)i=this.calculatePoint(k+j),(Math.abs(e.x-i.x)>=g||Math.abs(e.y-i.y)>=h)&&(c.push(i.x),d.push(i.y),e=i);c.push(this.XHa[j+1]),d.push(this.YHa[j+1])}return c[c.length-1]==i.x&&d[d.length-1]==i.y||(c.push(i.x),d.push(i.y)),{xs:c,ys:d}},c);function c(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),3<=d)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(0,0),k=new a.core.Point(0,0),l=new a.core.Point(0,0),m=new a.core.Point(0,0),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)}a.THa=b}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.PQa=function(b,c,d,e,f,g,h){var i,j,k,l,m,n,o,p,q,r,s;if(void 0===d&&(d=a.HAlign.Left),void 0===e&&(e=a.TextOverflow.Clip),void 0===f&&(f=null),void 0===g&&(g=0),void 0===h&&(h=null),null==h&&(h=new a.core.Point(c.left+.5*c.width,c.top+.5*c.height)),e==a.TextOverflow.Clip)d==a.HAlign.Left?0==g?this.e3b(b,new a.core.Point(c.left,c.bottom),f):this.V3a.drawStringRotated(b,new a.core.Point(c.left,c.bottom),h,g,f):d==a.HAlign.Center?(i=this.ZRb(b,f),0==g?this.e3b(b,new a.core.Point(c.left+(c.width-i.width)/2,c.bottom),f):this.V3a.drawStringRotated(b,new a.core.Point(c.left+(c.width-i.width)/2,c.bottom),h,g,f)):d==a.HAlign.Right&&(i=this.ZRb(b,f),0==g?this.e3b(b,new a.core.Point(c.left+c.width-i.width,c.bottom),f):this.V3a.drawStringRotated(b,new a.core.Point(c.left+c.width-i.width,c.bottom),h,g,f));else if(e==a.TextOverflow.Wrap)for(j=this.SQa(b,c.width,f),k=c.top,l=0,m=j;l<m.length;l++)n=m[l],d==a.HAlign.Left?0==g?this.e3b(n.text,new a.core.Point(c.left,k+n.size.height),f):this.V3a.drawStringRotated(n.text,new a.core.Point(c.left,k+n.size.height),h,g,f):d==a.HAlign.Center?0==g?this.e3b(n.text,new a.core.Point(c.left+(c.width-n.size.width)/2,k+n.size.height),f):this.V3a.drawStringRotated(n.text,new a.core.Point(c.left+(c.width-n.size.width)/2,k+n.size.height),h,g,f):d==a.HAlign.Right&&(i=this.ZRb(b,f),0==g?this.e3b(n.text,new a.core.Point(c.left+c.width-n.size.width,k+n.size.height),f):this.V3a.drawStringRotated(n.text,new a.core.Point(c.left+c.width-n.size.width,k+n.size.height),h,g,f)),k+=n.size.height;else if(e==a.TextOverflow.Ellipsis){if(n=b,o=this.TQa(n,c.width,f,!0),o.position<n.length){for(p=this.ZRb(".",f),q=1,r=0;r<3&&!(c.width-q*p.width<0);r++)q=3<q+1?q:q+1;s=c.width-p.width*q,n=0<s?(0<(o=this.TQa(n,s,f,!0)).position?b.substring(0,o.position):"")+Array(q+1).join("."):Array(q+1).join(".")}d==a.HAlign.Left?0==g?this.e3b(n,new a.core.Point(c.left,c.bottom),f):this.V3a.drawStringRotated(n,new a.core.Point(c.left,c.bottom),h,g,f):d==a.HAlign.Center?(i=this.ZRb(n,f),0==g?this.e3b(n,new a.core.Point(c.left+(c.width-i.width)/2,c.bottom),f):this.V3a.drawStringRotated(n,new a.core.Point(c.left+(c.width-i.width)/2,c.bottom),h,g,f)):d==a.HAlign.Right&&(i=this.ZRb(n,f),0==g?this.e3b(n,new a.core.Point(c.left+c.width-i.width,c.bottom),f):this.V3a.drawStringRotated(n,new a.core.Point(c.left+c.width-i.width,c.bottom),h,g,f))}},c.prototype.X2b=function(b,c,d,e,f,g){var h,i,j,k,l,m,n,o,p,q;if(void 0===d&&(d=a.TextOverflow.Clip),void 0===e&&(e=null),void 0===f&&(f=0),void 0===g&&(g=null),null==g&&(g=new a.core.Point(c.center.x-c.size.width/2,c.center.y-c.size.height/2)),null==f&&(f=c.angle),d==a.TextOverflow.Clip)this.V3a.drawStringRotated(b,g,c.center,f,e);else if(d==a.TextOverflow.Wrap)for(h=this.SQa(b,c.size.width,e),i=g.y-c.size.height,j=0,k=h;j<k.length;j++)l=k[j],this.V3a.drawStringRotated(l.text,new a.core.Point(g.x,i+l.size.height),c.center,f,e),i+=l.size.height;else if(d==a.TextOverflow.Ellipsis){if(l=b,m=this.TQa(l,c.size.width,e,!0),m.position<l.length){for(n=this.ZRb(".",e),o=1,p=0;p<3&&!(c.size.width-o*n.width<0);p++)o=3<o+1?o:o+1;q=c.size.width-n.width*o,l=0<q?(0<(m=this.TQa(l,q,e,!0)).position?b.substring(0,m.position):"")+Array(o+1).join("."):Array(o+1).join(".")}this.V3a.drawStringRotated(l,g,c.center,f,e)}},c.prototype.SIa=function(b,c,d,e){var f,g,h,i,j,k,l,m,n;if(void 0===d&&(d=a.TextOverflow.Clip),void 0===e&&(e=null),d==a.TextOverflow.Clip)return this.ZRb(b,e);if(d==a.TextOverflow.Wrap){for(f=this.SQa(b,c,e),g=new a.core.Size(0,0),h=0,i=f;h<i.length;h++)j=i[h],g.height+=j.size.height,g.width=Math.max(g.width,j.size.width);return g}if(d==a.TextOverflow.Ellipsis){if(k=this.TQa(b,c,e,!0),k.position<b.length){for(l=this.ZRb(".",e),m=1,n=0;n<3&&!(c-m*l.width<0);n++)m=3<m+1?m:m+1;0<(c-=l.width*m)?((k=this.TQa(b,c,e,!0)).size.height=l.height,k.size.width+=l.width*m):(k.size.height=l.height,k.size.width=l.width*m)}return k.size}},c.prototype.SQa=function(a,b,c){var d,e,f,g,h;if(void 0===c&&(c=null),a.length<=0)return[];for(d=[],e=0,f=a.split("\n");e<f.length;e++)for(g=f[e];0<g.length;)h=this.TQa(g,b,c),d.push({text:g.substring(0,h.position),size:h.size}),g=g.substring(h.position);return d},c.prototype.TQa=function(b,c,d,e){var f,g,h,i;void 0===d&&(d=null),void 0===e&&(e=!1),f={position:0,size:new a.core.Size(0,0)},g=b.length;do if(h=b.substring(0,f.position+g),i=this.ZRb(h,d),i.width<=c)f.position=f.position+g,f.size=i,g=b.length-f.position;else{if(1==g)break;0<g&&(g=Math.floor(g/2))<1&&(g=1)}while(0<g);return f.position<=0&&!e&&(f.position=1,f.size=this.ZRb(b.substring(0,f.position),d)),f},c.prototype.ZRb=function(b,c,d,e){return null!=this.V3a.renderEngine?b?this.V3a.renderEngine.measureString(b,c,d,e):new a.core.Size(0,0):null},c.prototype.e3b=function(a,b,c,d){if(null!=this.V3a.renderEngine&&a)return this.V3a.renderEngine.drawString(a,b,c,d)},c);function c(a){this.V3a=a}a.NQa=b}(dv=dv||{}),function(a){"use strict";var b=(Object.defineProperty(c.prototype,"fillOpacity",{get:function(){return this.Bbb},set:function(a){this.Bbb=a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"strokeOpacity",{get:function(){return this.c9a},set:function(a){this.c9a=a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"strokeWidth",{get:function(){return this.tFa},set:function(a){this.tFa=a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"strokeDasharray",{get:function(){return this.uFa},set:function(a){this.uFa=a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"textOpacity",{get:function(){return this.W2b},set:function(a){this.W2b=a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"textFill",{get:function(){return this.SHa},set:function(a){this.SHa=a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"fontSize",{get:function(){return this.yGa},set:function(a){this.yGa=a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"fontFamily",{get:function(){return this.zGa},set:function(a){this.zGa=a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"fontWeight",{get:function(){return this.a8a},set:function(a){this.a8a=a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"fontStyle",{get:function(){return this.b8a},set:function(a){this.b8a=a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"textDecoration",{get:function(){return this.d8a},set:function(a){this.d8a=a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"fill",{get:function(){return null!=this.mrb&&(this.rFa=a.NQb.Ypb(this.mrb),this.mrb=null),this.rFa},set:function(a){this.rFa=a,this.mrb=null},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"stroke",{get:function(){return null!=this.nrb&&(this.sFa=a.NQb.Ypb(this.nrb),this.nrb=null),this.sFa},set:function(a){this.sFa=a,this.nrb=null},enumerable:!0,configurable:!0}),c.prototype.orb=function(b){null!=b&&(null!=b.fill&&this.prb(b.fill),a.core.UOb.isNullNumber(b.opacity)||(this.Bbb=b.opacity),null!=b.stroke&&this.qrb(b.stroke),a.core.UOb.isNullNumber(b.strokeOpacity)||(this.c9a=b.strokeOpacity),null==b.strokeWidth||a.core.UOb.isNullNumber(b.strokeWidth.top)||(this.tFa=b.strokeWidth.top),null!=b.strokeDasharray&&(this.uFa=b.strokeDasharray))},c.prototype.rrb=function(b){null!=b&&(null!=b.color&&(this.SHa=b.color),a.core.UOb.isNullNumber(b.opacity)||(this.W2b=b.opacity),null!=b.fontSize&&(this.yGa=b.fontSize),null!=b.fontFamily&&(this.zGa=b.fontFamily),null!=b.fontWeight&&(this.a8a=b.fontWeight),a.core.UOb.isNullEnum(b.fontStyle)||(this.b8a=b.fontStyle),null!=b.textDecoration&&(this.d8a=b.textDecoration))},c.prototype.srb=function(a){this.rrb(a)},c.prototype.trb=function(b){null!=b&&(a.core.UOb.isNullNumber(b.opacity)||(this.c9a=b.opacity),null!=b.stroke&&this.qrb(b.stroke),a.core.UOb.isNullNumber(b.strokeWidth)||(this.tFa=b.strokeWidth),null!=b.strokeDasharray&&(this.uFa=b.strokeDasharray))},c.prototype.urb=function(b){null!=b&&(null!=b.stroke&&this.qrb(b.stroke),a.core.UOb.isNullNumber(b.strokeWidth)||(this.tFa=b.strokeWidth),null!=b.strokeDasharray&&(this.uFa=b.strokeDasharray))},c.prototype.f3b=function(b){null!=b&&(null!=b.fill&&this.prb(b.fill),a.core.UOb.isNullNumber(b.opacity)||(this.Bbb=b.opacity),null!=b.stroke&&this.qrb(b.stroke),a.core.UOb.isNullNumber(b.strokeOpacity)||(this.c9a=b.strokeOpacity),a.core.UOb.isNullNumber(b.strokeWidth)||(this.tFa=b.strokeWidth),null!=b.strokeDasharray&&(this.uFa=b.strokeDasharray))},c.prototype.vrb=function(b){null!=b&&(null!=b.symbolFill&&this.prb(b.symbolFill),a.core.UOb.isNullNumber(b.symbolOpacity)||(this.Bbb=b.symbolOpacity),null!=b.symbolStroke&&this.qrb(b.symbolStroke),a.core.UOb.isNullNumber(b.symbolStrokeOpacity)||(this.c9a=b.symbolStrokeOpacity),a.core.UOb.isNullNumber(b.symbolStrokeWidth)||(this.tFa=b.symbolStrokeWidth),null!=b.symbolStrokeDasharray&&(this.uFa=b.symbolStrokeDasharray))},c.prototype.wrb=function(a){null!=a&&this.prb(a)},c.prototype.xrb=function(a){null!=a&&(this.stroke=a)},c.prototype.yrb=function(a){null!=a&&(this.fill=a)},c.prototype.zrb=function(b){null!=b&&(null!=b.fill&&this.prb(b.fill),null!=b.stroke&&this.qrb(b.stroke),a.core.UOb.isNullNumber(b.strokeWidth)||(this.tFa=b.strokeWidth),null!=b.strokeDasharray&&(this.uFa=b.strokeDasharray))},c.prototype.g3b=function(b){null!=b&&(null!=b.fillOpacity&&(this.Bbb=b.fillOpacity),null!=b.strokeOpacity&&(this.c9a=b.strokeOpacity),null!=b.fill&&(this.fill=b.fill),null!=b.stroke&&(this.stroke=b.stroke),null!=b.strokeWidth&&(this.tFa=b.strokeWidth),null!=b.strokeDasharray&&(this.uFa=b.strokeDasharray),null!=b.textFill&&(this.SHa=b.textFill),null!=b.fontSize&&(this.yGa=b.fontSize),null!=b.fontFamily&&(this.zGa=b.fontFamily),null!=b.fontWeight&&(this.a8a=b.fontWeight),a.core.UOb.isNullEnum(b.fontStyle)||(this.b8a=b.fontStyle),null!=b.textDecoration&&(this.d8a=b.textDecoration))},c.prototype.applyRender=function(b){null!=this.Bbb&&(b.fillOpacity=this.Bbb),null!=this.c9a&&(b.strokeOpacity=this.c9a),null!=this.fill&&(b.fill=this.fill),null!=this.stroke&&(b.stroke=this.stroke),null!=this.tFa&&(b.strokeWidth=this.tFa),null!=this.uFa&&(b.strokeDasharray=this.uFa),null!=this.SHa&&(b.textFill=this.SHa),null!=this.yGa&&(b.fontSize=this.yGa),null!=this.zGa&&(b.fontFamily=this.zGa),null!=this.a8a&&(b.fontWeight=this.a8a),a.core.UOb.isNullEnum(this.b8a)||(b.fontStyle=this.b8a),null!=this.d8a&&(b.textDecoration=this.d8a)},c.prototype.prb=function(b){null!=b&&b.type==a.ColorOptionType.CssColor?(this.rFa=b.color,this.mrb=null):(this.mrb=b,this.rFa=null)},c.prototype.qrb=function(b){null!=b&&b.type==a.ColorOptionType.CssColor?(this.sFa=b.color,this.nrb=null):(this.nrb=b,this.sFa=null)},c.prototype.clone=function(){var a=new c;return a.fillOpacity=this.fillOpacity,a.fill=this.fill,a.stroke=this.stroke,a.strokeOpacity=this.strokeOpacity,a.strokeWidth=this.strokeWidth,a.strokeDasharray=this.strokeDasharray,a.textFill=this.textFill,a.fontFamily=this.fontFamily,a.fontSize=this.fontSize,a.fontWeight=this.fontWeight,a.fontStyle=this.fontStyle,a.textDecoration=this.textDecoration,a},c);function c(){}a.Arb=b}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.n0b=function(b,c){a.ePb.dPb(null!=b),null!=c.color&&(b.textFill=c.color),a.core.UOb.isNullNumber(c.opacity)||(b.textOpacity=c.opacity),null!=c.fontSize&&(b.fontSize=c.fontSize),null!=c.fontFamily&&(b.fontFamily=c.fontFamily),null!=c.fontWeight&&(b.fontWeight=c.fontWeight),a.core.UOb.isNullEnum(c.fontStyle)||(b.fontStyle=c.fontStyle),null!=c.textDecoration&&(b.textDecoration=c.textDecoration)},d.Z2b=function(b,c){a.ePb.dPb(null!=b),a.core.UOb.isNullNumber(c.opacity)||(b.strokeOpacity=c.opacity),null!=c.stroke&&(b.stroke=d.h3b(c.stroke)),a.core.UOb.isNullNumber(c.strokeWidth)||(b.strokeWidth=c.strokeWidth),null!=c.strokeDasharray&&(b.strokeDasharray=c.strokeDasharray)},d.i3b=function(b,c){a.ePb.dPb(null!=b),null!=c.stroke&&(b.stroke=d.h3b(c.stroke)),a.core.UOb.isNullNumber(c.strokeWidth)||(b.strokeWidth=c.strokeWidth),null!=c.strokeDasharray&&(b.strokeDasharray=c.strokeDasharray)},d.j3b=function(b,c){a.ePb.dPb(null!=b),null!=c&&(b.stroke=d.h3b(c))},d.k3b=function(b,c){a.ePb.dPb(null!=b),null!=c&&(b.fill=d.h3b(c))},d.h3b=function(c){return null==c?null:c.type==a.ColorOptionType.Linear?b.bSb.wSb(c):c.type==a.ColorOptionType.Radial?b.cSb.wSb(c):c.type==a.ColorOptionType.CssColor?c.color:null},d);function d(){}b.l3b=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.begin=function(){this.IHa.push({fillOpacity:this.V3a.fillOpacity,strokeOpacity:this.V3a.strokeOpacity,fill:this.V3a.fill,stroke:this.V3a.stroke,strokeWidth:this.V3a.strokeWidth,strokeDasharray:this.V3a.strokeDasharray,textFill:this.V3a.textFill,fontSize:this.V3a.fontSize,fontFamily:this.V3a.fontFamily,fontWeight:this.V3a.fontWeight,fontStyle:this.V3a.fontStyle,textDecoration:a.core.cloneDeep(this.V3a.textDecoration)})},c.prototype.restore=function(){if(a.ePb.dPb(0<this.IHa.length),0<this.IHa.length){var b=this.IHa.pop();this.V3a.fillOpacity=b.fillOpacity,this.V3a.strokeOpacity=b.strokeOpacity,this.V3a.fill=b.fill,this.V3a.stroke=b.stroke,this.V3a.strokeWidth=b.strokeWidth,this.V3a.strokeDasharray=b.strokeDasharray,this.V3a.textFill=b.textFill,this.V3a.fontSize=b.fontSize,this.V3a.fontFamily=b.fontFamily,this.V3a.fontWeight=b.fontWeight,this.V3a.fontStyle=b.fontStyle,this.V3a.textDecoration=b.textDecoration}},c);function c(a){this.IHa=[],this.V3a=a}a.lSa=b}(dv=dv||{}),dv=dv||{},function(a){a.models||(a.models={})}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.contains=function(a){return!1},c.prototype.intersectsWith=function(b,c){var d,e,f;for(null==c&&(c=new a.Vector2d(0,1)),d=[],d.push(this.support(c).substract(b.support(c.reverse()))),c=c.reverse();;){if(e=this.support(c).substract(b.support(c.reverse())),d.push(e),e.dot(c)<=0)return!1;if(f=this.containOrigin(d,c),f.rs)return!0;c=f.d}},c.prototype.support=function(b){return new a.Vector2d(0,0)},c.prototype.containOrigin=function(a,b){var c,d,e,f,g,h,i=a[a.length-1],j=i.reverse(),k=!1;return 3===a.length?(c=a[1],d=a[0],e=c.substract(i),f=d.substract(i),g=this.getPerp(f,e,e),h=this.getPerp(e,f,f),0<g.dot(j)?(a.shift(),b=g):0<h.dot(j)?(a.splice(1,1),b=h):k=!0):(e=(c=a[0]).substract(i),b=this.getPerp(e,j,e)),{d:b,rs:k}},c.prototype.getPerp=function(a,b,c){return b.scalar(c.dot(a)).substract(a.scalar(c.dot(b)));
- },c.prototype.queryInterface=function(a){return"IShape"===a?this:null},c);function c(){}a.Brb=b}(a.shapes||(a.shapes={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"x",{get:function(){return this.z1a},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"y",{get:function(){return this.A1a},enumerable:!0,configurable:!0}),d.prototype.moudule=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},d.prototype.reverse=function(){return new d((-this.x),(-this.y))},d.prototype.dot=function(a){return this.x*a.x+this.y*a.y},d.prototype.cross=function(a){return this.x*a.y-this.y*a.x},d.prototype.scalar=function(a){return new d(this.x*a,this.y*a)},d.prototype.normal=function(){var a=this.moudule();return new d(this.x/a,this.y/a)},d.prototype.substract=function(a){return new d(this.x-a.x,this.y-a.y)},d.pointSub=function(a,b){return new d(b.x-a.x,b.y-a.y)},d.horizon=function(){return new d(1,0)},d.prototype.point=function(){return new a.core.Point(this.x,this.y)},d);function d(a,b){this.z1a=a,this.A1a=b}b.Vector2d=c}(a.shapes||(a.shapes={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.Brb,__extends(d,b),Object.defineProperty(d.prototype,"center",{get:function(){return this.KMa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"radius",{get:function(){return this.LMa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"width",{get:function(){return this.REa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"startAngle",{get:function(){return this.$Fa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"sweepAngle",{get:function(){return this.m3b},enumerable:!0,configurable:!0}),d.prototype.contains=function(a){return!1},d.prototype.intersectsWith=function(a){return!1},Object.defineProperty(d.prototype,"type",{get:function(){return"Arc"},enumerable:!0,configurable:!0}),d.prototype.clone=function(){return new d(this.center,this.radius,this.width,this.startAngle,this.sweepAngle)},d.prototype.equals=function(a){return this===a||null!=a&&a instanceof d&&a.center.equals(this.center)&&a.radius==this.radius&&a.width==this.width&&a.startAngle==this.startAngle&&a.sweepAngle==this.sweepAngle},d.prototype.queryInterface=function(a){return"IShape"===a||"IArcShape"===a?this:b.prototype.queryInterface.call(this,a)},d);function d(a,c,d,e,f){var g=b.call(this)||this;return g.KMa=a,g.LMa=c,g.REa=d,g.$Fa=e,g.m3b=f,g}a.n3b=c}(a.shapes||(a.shapes={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.Brb,__extends(e,c),Object.defineProperty(e.prototype,"center",{get:function(){return this.KMa},enumerable:!0,configurable:!0}),e.prototype.QVb=function(b,c){this.$Fa+=b;var d=new a.models.aSb;d.QVb(b,c),this.KMa=d.TVb(this.KMa)},Object.defineProperty(e.prototype,"radius",{get:function(){return this.LMa},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.YFa},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.$Fa},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sweepAngle",{get:function(){return this.m3b},enumerable:!0,configurable:!0}),e.prototype.contains=function(a){return this.containPoint(a)},e.prototype.intersectsWith=function(c){var d,e,f,g,h,i,j,k,l,m,n,o=[];if(c instanceof b.o3b&&(o=c.points),0===o.length)return!1;for(d=new a.core.Point(this.center.x+Math.cos(this.startAngle)*this.radius,this.center.y+Math.sin(this.startAngle)*this.radius),e=new a.core.Point(this.center.x+Math.cos(this.startAngle+this.sweepAngle)*this.radius,this.center.y+Math.sin(this.startAngle+this.sweepAngle)*this.radius),f=new a.core.Point(this.center.x+Math.cos(this.startAngle)*this.innerRadius,this.center.y+Math.sin(this.startAngle)*this.innerRadius),g=new a.core.Point(this.center.x+Math.cos(this.startAngle+this.sweepAngle)*this.innerRadius,this.center.y+Math.sin(this.startAngle+this.sweepAngle)*this.innerRadius),h=2<o.length,i=0,j=0;j<o.length;++j){if(k=o[j],l=o[(j+1)%o.length],this.containPoint(k)||this.containPoint(l)||this.arcIntersectWithLine(this.radius,k,l)||this.arcIntersectWithLine(this.innerRadius,k,l)||b.p3b.segmentsIntersect(d,f,l,k)||b.p3b.segmentsIntersect(e,g,l,k))return!0;(h=h&&!(b.p3b.segmentsIntersect(this.center,d,k,l)||b.p3b.segmentsIntersect(this.center,e,k,l)))&&(m=b.Vector2d.pointSub(this.center,k),n=b.Vector2d.pointSub(this.center,l),i+=Math.acos(m.dot(n)/(m.moudule()*n.moudule())))}return 2*Math.PI-i>b.p3b.PRECISION&&(h=!1),!!h},e.prototype.containPoint=function(a){var c,d=b.p3b.sweep(this.center,a);return!!this.angleContain(this.startAngle,this.sweepAngle,d)&&(c=b.p3b.DisPointToPoint(this.center,a),c<this.radius&&c>this.innerRadius)},e.prototype.arcIntersectWithLine=function(c,d,e){var f,g,h,i,j=this.startAngle,k=this.sweepAngle,l=this.center,m=new b.Vector2d(l.x-d.x,l.y-d.y),n=new b.Vector2d(e.x-d.x,e.y-d.y).normal(),o=n.scalar(m.dot(n)),p=new a.core.Point(o.x+d.x,o.y+d.y),q=b.p3b.DisPointToPoint(p,l);return!(c<q)&&(f=Math.sqrt(c*c-q*q),g=b.p3b.endPoint(p,n,f),h=b.p3b.endPoint(p,n,-f),!!(g.x>=Math.min(d.x,e.x)&&g.x<=Math.max(d.x,e.x)&&g.y>=Math.min(d.y,e.y)&&g.y<=Math.max(d.y,e.y)&&(i=b.p3b.sweep(l,g),this.angleContain(j,k,i)))||!!(h.x>=Math.min(d.x,e.x)&&h.x<=Math.max(d.x,e.x)&&h.y>=Math.min(d.y,e.y)&&h.y<=Math.max(d.y,e.y)&&(i=b.p3b.sweep(l,h),this.angleContain(j,k,i))))},e.prototype.angleContain=function(a,b,c){a%=2*Math.PI,c%=2*Math.PI;var d=a+b;return b>=2*Math.PI||(d>2*Math.PI?a<=c||c<=d-2*Math.PI:a<=c&&c<=d)},Object.defineProperty(e.prototype,"type",{get:function(){return"Donut"},enumerable:!0,configurable:!0}),e.prototype.clone=function(){return new e(this.center,this.radius,this.innerRadius,this.startAngle,this.sweepAngle)},e.prototype.equals=function(a){return this===a||null!=a&&a instanceof e&&a.center.equals(this.center)&&a.radius==this.radius&&a.innerRadius==this.innerRadius&&a.startAngle==this.startAngle&&a.sweepAngle==this.sweepAngle},e.prototype.queryInterface=function(a){return"IShape"===a||"IDonutShape"===a?this:c.prototype.queryInterface.call(this,a)},e);function e(a,b,d,e,f){var g=c.call(this)||this;return g.KMa=a,g.LMa=b,g.YFa=d,g.$Fa=e,g.m3b=f,g}b.q3b=d}(a.shapes||(a.shapes={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.Brb,__extends(e,c),Object.defineProperty(e.prototype,"xs",{get:function(){return this.GMa},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ys",{get:function(){return this.HMa},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"top",{get:function(){if(null!=this.ys)return Math.min.apply(Math,this.ys)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"left",{get:function(){if(null!=this.xs)return Math.min.apply(Math,this.xs)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){if(null!=this.xs)return Math.max.apply(Math,this.xs)-Math.min.apply(Math,this.xs)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){if(null!=this.ys)return Math.max.apply(Math,this.ys)-Math.min.apply(Math,this.ys)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"center",{get:function(){return new a.core.Point(this.left+this.width/2,this.top+this.height/2)},enumerable:!0,configurable:!0}),e.prototype.contains=function(b){return!!a.x7.IsPointInPolygon2(b,this.xs,this.ys)},Object.defineProperty(e.prototype,"type",{get:function(){return"Funnel"},enumerable:!0,configurable:!0}),e.prototype.clone=function(){return new e(this.xs.slice(),this.ys.slice())},e.prototype.equals=function(a){if(this===a)return!0;if(null==a)return!1;if(a instanceof e){if(this.xs.length!=a.xs.length)return!1;for(var b=0;b<this.xs.length;b++)if(this.xs[b]!=a.xs[b])return!1;if(this.ys.length!=a.ys.length)return!1;for(b=0;b<this.ys.length;b++)if(this.ys[b]!=a.ys[b])return!1;return!0}return!1},e);function e(a,b){var d=c.call(this)||this;return null!=a&&null!=b&&(d.GMa=a.slice(),d.HMa=b.slice()),d}b.r3b=d}(a.shapes||(a.shapes={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.Brb,__extends(e,c),Object.defineProperty(e.prototype,"points",{get:function(){return this.J6a.map(function(a){return a.clone()})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.REa},set:function(a){this.REa=a&&0<a?a:1},enumerable:!0,configurable:!0}),e.prototype.fua=function(){return this.J6a},e.prototype.WPa=function(){return this.J6a.map(function(a){return a.x})},e.prototype.XPa=function(){return this.J6a.map(function(a){return a.y})},e.prototype.contains=function(a){var b,c,d,e;for(b=0;b<this.J6a.length-1;b++)if(c=this.J6a[b],d=this.J6a[b+1],a.x>=Math.min(c.x,d.x)&&a.x<=Math.max(c.x,d.x)&&a.y>=Math.min(c.y,d.y)&&a.y<=Math.max(c.y,d.y)&&(e=(c.y-a.y)/(c.x-a.x)-(d.y-a.y)/(d.x-a.x),e<.1&&-.1<e))return!0;return!1},e.prototype.intersectsWith=function(a){var b,c,d,e,f,g;for(b=0;b<this.J6a.length-1;b++)for(c=this.J6a[b],d=this.J6a[b+1],e=0;e<a.J6a.length-1;e++)if(f=a.J6a[b],g=a.J6a[b+1],this.s3b(c,d,f,g))return!0;return!1},e.prototype.s3b=function(a,b,c,d){var e,f,g=this.subtractPoints(b,a),h=this.subtractPoints(d,c),i=this.crossProduct(g,h),j=this.crossProduct(this.subtractPoints(c,a),g);return 0==j&&0==i?!!(a.equals(c)||a.equals(d)||b.equals(c)||b.equals(d))||!this.allEqual(c.x-a.x<0,c.x-b.x<0,d.x-a.x<0,d.x-b.x<0)||!this.allEqual(c.y-a.y<0,c.y-b.y<0,d.y-a.y<0,d.y-b.y<0):0!=i&&(e=j/i,f=this.crossProduct(this.subtractPoints(c,a),h)/i,0<=f&&f<=1&&0<=e&&e<=1)},e.prototype.crossProduct=function(a,b){return a.x*b.y-a.y*b.x},e.prototype.subtractPoints=function(b,c){return new a.core.Point(b.x-c.x,b.y-c.y)},e.prototype.addPoints=function(b,c){return new a.core.Point(b.x+c.x,b.y+c.y)},e.prototype.dot=function(a,b){return a.x*b.x+a.y+b.y},e.prototype.allEqual=function(){var a,b,c,d;for(a=[],b=0;b<arguments.length;b++)a[b]=arguments[b];for(d=a[0],c=1;c<a.length;c+=1)if(a[c]!=d)return!1;return!0},e.t3b=function(a){return null==a&&(a=1),a<10?5:a/2},Object.defineProperty(e.prototype,"type",{get:function(){return"Line"},enumerable:!0,configurable:!0}),e.prototype.clone=function(){return new e(this.J6a.map(function(a){return a.clone()}),this.width)},e.prototype.equals=function(a){var b=this;return this===a||null!=a&&a instanceof e&&a.width==this.width&&a.fua().length==this.J6a.length&&a.fua().every(function(a,c){return a.equals(b.J6a[c])})},e.prototype.queryInterface=function(a){return"IShape"===a||"ILineShape"===a?this:c.prototype.queryInterface.call(this,a)},e);function e(a,b){void 0===b&&(b=1);var d=c.call(this)||this;return d.J6a=[],d.J6a=a.slice(),d.REa=b,d}b.Ztb=d}(a.shapes||(a.shapes={}))}(dv=dv||{}),function(a){"use strict";var b=(Object.defineProperty(c.prototype,"points",{get:function(){return this.J6a},enumerable:!0,configurable:!0}),c.prototype.clone=function(){var a,b,d,e;for(a=[],b=0,d=this.points;b<d.length;b++)e=d[b],a.push(e.clone());return new c(a)},c.prototype.contains=function(a){var b,c,d,e,f,g,h,i,j,k,l;for(b=this.points,c=NaN,d=NaN,e=NaN,f=NaN,g=0,h=this.points;g<h.length;g++)i=h[g],c=i.x<c?i.x:c,d=i.x>d?i.x:d,e=i.y<e?i.y:e,f=i.y>f?i.y:f;if(a.x<c||a.x>d||a.y<e||a.y>f)return!1;for(j=!1,k=0,l=b.length-1;k<b.length;l=k++)b[k].y>a.y!=b[l].y>a.y&&a.x<(b[l].x-b[k].x)*(a.y-b[k].y)/(b[l].y-b[k].y)+b[k].x&&(j=!j);return j},c.prototype.intersectsWith=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o;for(b=0,c=[this,a];b<c.length;b++)for(d=c[b].points,e=0;e<d.length;e++){for(f=d[e],g=d[(e+1)%d.length],h=g.y-f.y,i=f.x-g.x,j=void 0,k=void 0,l=0;l<this.points.length;l++)m=h*this.points[l].x+i*this.points[l].y,(void 0===j||m<j)&&(j=m),(void 0===k||k<m)&&(k=m);for(n=void 0,o=void 0,l=0;l<a.points.length;l++)m=h*a.points[l].x+i*a.points[l].y,(void 0===n||m<n)&&(n=m),(void 0===o||o<m)&&(o=m);if(k<n||o<j)return!1}return!0},c.prototype.equals=function(a){if(this==a)return!0;if(a instanceof c&&this.points.length==a.points.length){for(var b=0;b<this.points.length;b++)if(!this.points[b].equals(a.points[b]))return!1;return!0}return!1},c);function c(a){this.J6a=a}a.Ibb=b}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.Brb,__extends(d,b),Object.defineProperty(d.prototype,"center",{get:function(){return this.KMa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"radius",{get:function(){return this.LMa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"angles",{get:function(){return this.teb},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"width",{get:function(){return this.REa},enumerable:!0,configurable:!0}),d.prototype.contains=function(a){return!1},d.prototype.intersectsWith=function(a){return!1},Object.defineProperty(d.prototype,"type",{get:function(){return"PolygonalLine"},enumerable:!0,configurable:!0}),d.prototype.clone=function(){return new d(this.center,this.radius,this.angles,this.width)},d.prototype.equals=function(a){return this===a||null!=a&&a instanceof d&&a.center.equals(this.center)&&a.radius==this.radius&&a.angles==this.angles&&a.width==this.width},d.prototype.queryInterface=function(a){return"IShape"===a||"IPolygonalLineShape"===a?this:b.prototype.queryInterface.call(this,a)},d);function d(a,c,d,e){var f=b.call(this)||this;return f.KMa=a,f.LMa=c,f.teb=d,f.REa=e,f}a.u3b=c}(a.shapes||(a.shapes={}))}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.Brb,__extends(d,b),Object.defineProperty(d.prototype,"points",{get:function(){return this.J6a},enumerable:!0,configurable:!0}),d.prototype.contains=function(a){var b,c,d,e,f,g,h,i,j,k,l;for(b=this.points,c=NaN,d=NaN,e=NaN,f=NaN,g=0,h=this.points;g<h.length;g++)i=h[g],c=i.x<c?i.x:c,d=i.x>d?i.x:d,e=i.y<e?i.y:e,f=i.y>f?i.y:f;if(a.x<c||a.x>d||a.y<e||a.y>f)return!1;for(j=!1,k=0,l=b.length-1;k<b.length;l=k++)b[k].y>a.y!=b[l].y>a.y&&a.x<(b[l].x-b[k].x)*(a.y-b[k].y)/(b[l].y-b[k].y)+b[k].x&&(j=!j);return j},d.prototype.intersectsWith=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o;for(b=0,c=[this,a];b<c.length;b++)for(d=c[b].points,e=0;e<d.length;e++){for(f=d[e],g=d[(e+1)%d.length],h=g.y-f.y,i=f.x-g.x,j=void 0,k=void 0,l=0;l<this.points.length;l++)m=h*this.points[l].x+i*this.points[l].y,(void 0===j||m<j)&&(j=m),(void 0===k||k<m)&&(k=m);for(n=void 0,o=void 0,l=0;l<a.points.length;l++)m=h*a.points[l].x+i*a.points[l].y,(void 0===n||m<n)&&(n=m),(void 0===o||o<m)&&(o=m);if(k<n||o<j)return!1}return!0},Object.defineProperty(d.prototype,"type",{get:function(){return"Polygon"},enumerable:!0,configurable:!0}),d.prototype.clone=function(){return new d(this.points.map(function(a){return a.clone()}))},d.prototype.equals=function(a){if(this===a)return!0;if(null==a)return!1;if(a instanceof d&&this.points.length==a.points.length){for(var b=0;b<this.points.length;b++)if(!this.points[b].equals(a.points[b]))return!1;return!0}return!1},d.prototype.queryInterface=function(a){return"IShape"===a||"IPolygonShape"===a?this:b.prototype.queryInterface.call(this,a)},d);function d(a){var c=b.call(this)||this;return c.J6a=a,c}a.o3b=c}(a.shapes||(a.shapes={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(c=b.Brb,__extends(e,c),e.Rwb=function(b,c,d){var f,g,h,i=Math.sin(d);return Math.abs(i)<a.nRb.Precision?new e(b.x+c.width/2,b.y,c.width,c.height,0):(g=Math.cos(d),Math.abs(g)<a.nRb.Precision?new e(b.x+c.height/2,b.y,c.width,c.height,0<i?.5*Math.PI:1.5*Math.PI):0<i?(h=new a.core.Point(b.x+.5*c.width*g,b.y+.5*c.width*i),new e((f=new a.core.Point(h.x+.5*c.height*i,h.y-.5*c.height*g)).x,f.y,c.width,c.height,d)):(h=new a.core.Point(b.x+.5*c.width*g,b.y+.5*c.width*i),new e((f=new a.core.Point(h.x-.5*c.height*i,h.y+.5*c.height*g)).x,f.y,c.width,c.height,d)))},e.Swb=function(b,c,d){var f,g,h,i=Math.sin(d);return Math.abs(i)<a.nRb.Precision?new e(b.x-c.width/2,b.y,c.width,c.height,0):(g=Math.cos(d),Math.abs(g)<a.nRb.Precision?new e(b.x-c.height/2,b.y,c.width,c.height,0<i?.5*Math.PI:1.5*Math.PI):0<i?(h=new a.core.Point(b.x-.5*c.width*g,b.y-.5*c.width*i),new e((f=new a.core.Point(h.x-.5*c.height*i,h.y+.5*c.height*g)).x,f.y,c.width,c.height,d)):(h=new a.core.Point(b.x-.5*c.width*g,b.y-.5*c.width*i),new e((f=new a.core.Point(h.x+.5*c.height*i,h.y-.5*c.height*g)).x,f.y,c.width,c.height,d)))},e.Twb=function(b,c,d){var f,g,h,i=Math.sin(d);return Math.abs(i)<a.nRb.Precision?new e(b.x,b.y+c.height/2,c.width,c.height,0):(g=Math.cos(d),Math.abs(g)<a.nRb.Precision?new e(b.x,b.y+c.width/2,c.width,c.height,0<i?.5*Math.PI:1.5*Math.PI):0<i?(h=new a.core.Point(b.x+.5*c.width*g,b.y+.5*c.width*i),new e((f=new a.core.Point(h.x-.5*c.height*i,h.y+.5*c.height*g)).x,f.y,c.width,c.height,d)):(h=new a.core.Point(b.x-.5*c.width*g,b.y-.5*c.width*i),new e((f=new a.core.Point(h.x-.5*c.height*i,h.y+.5*c.height*g)).x,f.y,c.width,c.height,d)))},e.Uwb=function(b,c,d){var f,g,h,i=Math.sin(d);return Math.abs(i)<a.nRb.Precision?new e(b.x,b.y-c.height/2,c.width,c.height,0):(g=Math.cos(d),Math.abs(g)<a.nRb.Precision?new e(b.x,b.y-c.width/2,c.width,c.height,0<i?.5*Math.PI:1.5*Math.PI):0<i?(h=new a.core.Point(b.x-.5*c.width*g,b.y-.5*c.width*i),new e((f=new a.core.Point(h.x+.5*c.height*i,h.y-.5*c.height*g)).x,f.y,c.width,c.height,d)):(h=new a.core.Point(b.x+.5*c.width*g,b.y+.5*c.width*i),new e((f=new a.core.Point(h.x+.5*c.height*i,h.y-.5*c.height*g)).x,f.y,c.width,c.height,d)))},Object.defineProperty(e.prototype,"center",{get:function(){return this.KMa.clone()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this.qCa.clone()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"angle",{get:function(){return this.P9a},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"leftTop",{get:function(){return this.u8a&&this.rwb(),this.swb.clone()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rightTop",{get:function(){return this.u8a&&this.rwb(),this.twb.clone()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"leftBottom",{get:function(){return this.u8a&&this.rwb(),this.uwb.clone()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rightBottom",{get:function(){return this.u8a&&this.rwb(),this.vwb.clone()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"points",{get:function(){return[this.leftTop,this.rightTop,this.rightBottom,this.leftBottom]},enumerable:!0,configurable:!0}),e.prototype.getBoundRectangle=function(){var b,c,d=[],e=[];return this.points.forEach(function(a){d.push(a.x),e.push(a.y)}),b=Math.min.apply(Math,d),c=Math.min.apply(Math,e),new a.core.Rect(b,c,Math.max.apply(Math,d)-b,Math.max.apply(Math,e)-c)},e.prototype.contains=function(b){return new a.Ibb([this.leftTop,this.rightTop,this.rightBottom,this.leftBottom]).contains(b)},e.prototype.intersectsWith=function(b){var c,d,e,f;return Math.abs(this.angle)<a.nRb.Precision&&Math.abs(b.angle)<a.nRb.Precision?(c=new a.core.Rect(this.center.x-this.size.width/2,this.center.y-this.size.height/2,this.size.width,this.size.height),d=new a.core.Rect(b.center.x-b.size.width/2,b.center.y-b.size.height/2,b.size.width,b.size.height),c.intersectsWith(d)):(e=new a.Ibb([this.leftTop,this.rightTop,this.rightBottom,this.leftBottom]),f=new a.Ibb([b.leftTop,b.rightTop,b.rightBottom,b.leftBottom]),e.intersectsWith(f))},e.prototype.rwb=function(){var b,c;this.u8a&&(this.u8a=!1,b=new a.models.aSb,b.QVb(this.angle),c=b.TVb(new a.core.Point(this.size.width/2,this.size.height/2)),b.Dn(this.center.x-c.x,this.center.y-c.y),this.twb=b.TVb(new a.core.Point(this.size.width,0)),this.swb=b.TVb(new a.core.Point(0,0)),this.uwb=b.TVb(new a.core.Point(0,this.size.height)),this.vwb=b.TVb(new a.core.Point(this.size.width,this.size.height)))},Object.defineProperty(e.prototype,"type",{get:function(){return"Rectangle"},enumerable:!0,configurable:!0}),e.prototype.clone=function(){return new e(this.center.x,this.center.y,this.size.width,this.size.height,this.angle)},e.prototype.equals=function(a){return this===a||null!=a&&a instanceof e&&a.center.equals(this.center)&&a.size.equals(this.size)&&a.angle!=this.angle},e.prototype.queryInterface=function(a){return"IShape"===a||"IRectangleShape"===a?this:c.prototype.queryInterface.call(this,a)},e);function e(b,d,e,f,g){var h=c.call(this)||this;return h.KMa=new a.core.Point(0,0),h.qCa=new a.core.Size(0,0),h.P9a=0,h.u8a=!0,h.KMa=new a.core.Point(b,d),h.qCa=new a.core.Size(e,f),h.P9a=g,h}b.qwb=d}(a.shapes||(a.shapes={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.segmentsIntersect=function(a,b,c,d){if(Math.min(a.x,b.x)>Math.max(c.x,d.x)||Math.min(a.y,b.y)>Math.max(c.y,d.y)||Math.min(c.x,d.x)>Math.max(a.x,b.x)||Math.min(c.y,d.y)>Math.max(a.y,b.y))return!1;var e=(c.x-a.x)*(b.y-a.y)-(b.x-a.x)*(c.y-a.y),f=(d.x-a.x)*(b.y-a.y)-(b.x-a.x)*(d.y-a.y),g=(a.x-c.x)*(d.y-c.y)-(d.x-c.x)*(a.y-c.y),h=(b.x-c.x)*(d.y-c.y)-(d.x-c.x)*(b.y-c.y);return e*f<=1e-8&&g*h<=1e-8},d.sweep=function(a,c){var d=b.Vector2d.pointSub(a,c),e=b.Vector2d.horizon(),f=Math.acos(d.dot(e)/d.moudule());return 0<d.cross(e)&&(f=2*Math.PI-f),f},d.DisPointToLine=function(a,c,d){var e=new b.Vector2d(d.x-c.x,d.y-c.y),f=new b.Vector2d(a.x-c.x,a.y-c.y);return Math.abs(e.cross(f))/e.moudule()},d.DisPointToPoint=function(a,b){return Math.sqrt(Math.pow(b.x-a.x,2)+Math.pow(b.y-a.y,2))},d.endPoint=function(b,c,d){var e=c.scalar(d/c.moudule());return new a.core.Point(e.x+b.x,e.y+b.y)},d.PRECISION=1e-8,d);function d(){}b.p3b=c}(a.shapes||(a.shapes={}))}(dv=dv||{}),function(a){a.shapes||(a.shapes={})}(dv=dv||{}),function(a){a.shapes||(a.shapes={})}(dv=dv||{}),function(a){a.shapes||(a.shapes={})}(dv=dv||{}),function(a){a.shapes||(a.shapes={})}(dv=dv||{}),function(a){a.shapes||(a.shapes={})}(dv=dv||{}),function(a){a.shapes||(a.shapes={})}(dv=dv||{}),function(a){a.shapes||(a.shapes={})}(dv=dv||{}),function(a){a.shapes||(a.shapes={})}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.x=function(){return isNaN(this.z1a)&&(this.z1a=this.cx+this.radius*Math.sin(this.angle)),this.z1a},d.prototype.y=function(){return isNaN(this.A1a)&&(this.A1a=this.cy+this.radius*Math.cos(this.angle)),this.A1a},d.prototype.clone=function(){return new d(this.cx,this.cy,this.radius,this.angle)},d.prototype.equals=function(a){return a instanceof d?this.cx==a.cx&&this.cy==a.cy&&this.radius==a.radius&&this.angle==a.angle:this.x==a.x&&this.y==a.y},d);function d(b,c,d,e){this.z1a=Number.NaN,this.A1a=Number.NaN,a.ePb.dPb(!isNaN(b)),this.cx=b,a.ePb.dPb(!isNaN(c)),this.cy=c,a.ePb.dPb(!isNaN(d)&&0<=d),this.radius=d,a.ePb.dPb(!isNaN(e)),this.angle=e}b.v3b=c}(a.shapes||(a.shapes={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.fromPoint=function(a){return new d(a.x,a.y)},d.prototype.x=function(){return this.z1a},d.prototype.y=function(){return this.A1a},d.prototype.clone=function(){return new d(this.x(),this.y())},d.prototype.equals=function(a){return this.x==a.x&&this.y==a.y},d);function d(b,c){a.ePb.dPb(!isNaN(b)),this.z1a=b,a.ePb.dPb(!isNaN(c)),this.A1a=c}b.w3b=c}(a.shapes||(a.shapes={}))}(dv=dv||{}),dv=dv||{},dv=dv||{},function(a){"use strict";var b=(c.prototype.convert=function(b){var c,d,e,f;if(1<b.length){if(this.yIa&&this.zIa==a.LineAspect.StepLeft||!this.yIa&&this.zIa==a.LineAspect.StepRight){for((e=[]).push(b[0]),c=1;c<b.length;c++)e.push(new a.core.Point(b[c].x,b[c-1].y)),e.push(new a.core.Point(b[c].x,b[c].y));return e}if(this.yIa&&this.zIa==a.LineAspect.StepRight||!this.yIa&&this.zIa==a.LineAspect.StepLeft){for((e=[]).push(b[0]),c=1;c<b.length;c++)e.push(new a.core.Point(b[c-1].x,b[c].y)),e.push(new a.core.Point(b[c].x,b[c].y));return e}if(this.yIa&&this.zIa==a.LineAspect.StepCenter){for((e=[]).push(b[0]),c=1;c<b.length;c++)d=b[c-1].y+(b[c].y-b[c-1].y)/2,e.push(new a.core.Point(b[c-1].x,d)),e.push(new a.core.Point(b[c].x,d)),e.push(new a.core.Point(b[c].x,b[c].y));return e}if(this.yIa||this.zIa!=a.LineAspect.StepCenter)return b;for((e=[]).push(b[0]),c=1;c<b.length;c++)f=b[c-1].x+(b[c].x-b[c-1].x)/2,e.push(new a.core.Point(f,b[c-1].y)),e.push(new a.core.Point(f,b[c].y)),e.push(new a.core.Point(b[c].x,b[c].y));return e}return b},c);function c(a,b){this.yIa=a,this.zIa=b}a.AIa=b}(dv=dv||{}),function(a){"use strict";var b=(c.getRect=function(b,c){return new a.core.Rect(b.x,b.y,b.x+c.width,b.y+c.height)},c.binarySearch=function(a,b,d,e,f){if(void 0===f&&(f=!0),0<a.length&&e)if(2<=d-b){var g,h=b,i=Math.floor((d+b)/2),j=d;f&&(e(a[h],h,NaN,NaN),e(a[j],j,NaN,NaN)),(g=e(a[i],i,h,j)).left&&c.binarySearch(a,h,i,e,!1),g.right&&c.binarySearch(a,i,j,e,!1)}else d-b==1?(e(a[b],b,NaN,NaN),e(a[d],d,NaN,NaN)):b==d&&e(a[b],0,NaN,NaN)},c.mergeRect=function(){var b,c,d;for(b=[],c=0;c<arguments.length;c++)b[c]=arguments[c];return d=new a.core.Rect(0,0,0,0),d.left=Math.min.apply(this,b.map(function(a){return a.left})),d.top=Math.min.apply(this,b.map(function(a){return a.top})),d.width=Math.max.apply(this,b.map(function(a){return a.right}))-d.left,d.height=Math.max.apply(this,b.map(function(a){return a.bottom}))-d.top,d},c.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},c.parseMargin=function(b){var c,d,e,f,g,h={};return a.core.UOb.isNumber(b)&&!isNaN(b)?h.top=h.bottom=h.left=h.right=a.core.UOb.asNumber(b):a.core.UOb.isString(b)&&(c=a.core.UOb.asString(b,!0).split(" ",4),d=NaN,e=NaN,f=NaN,g=NaN,c&&(4==c.length?(d=parseFloat(c[0]),g=parseFloat(c[1]),e=parseFloat(c[2]),f=parseFloat(c[3])):2==c.length?(d=e=parseFloat(c[0]),f=g=parseFloat(c[1])):1==c.length&&(d=e=f=g=parseFloat(c[1])),isNaN(d)||(h.top=d),isNaN(e)||(h.bottom=e),isNaN(f)||(h.left=f),isNaN(g)||(h.right=g))),h},c.resetRect=function(a,b,c,d,e){a.left=b,a.top=c,a.width=d,a.height=e},c.translateRect=function(a,b,c){a.left+=b,a.top+=c},c.translateRectX=function(a,b){c.translateRect(a,b,0)},c.translateRectY=function(a,b){c.translateRect(a,0,b)},c.isNil=function(a){return a.right-a.left<=0||a.bottom-a.top<=0},c.IsPointInPolygon=function(a,b){var c,d,e,f,g,h,i,j;for(c=b[0].x,d=b[0].x,e=b[0].y,f=b[0].y,g=1;g<b.length;g++)h=b[g],c=Math.min(h.x,c),d=Math.max(h.x,d),e=Math.min(h.y,e),f=Math.max(h.y,f);if(a.x<c||a.x>d||a.y<e||a.y>f)return!1;for(i=!1,g=0,j=b.length-1;g<b.length;j=g++)b[g].y>a.y!=b[j].y>a.y&&a.x<(b[j].x-b[g].x)*(a.y-b[g].y)/(b[j].y-b[g].y)+b[g].x&&(i=!i);return i},c.IsPointInPolygon2=function(a,b,c){var d,e,f,g,h,i,j;for(d=b[0],e=b[0],f=c[0],g=c[0],h=1;h<b.length;h++)d=Math.min(b[h],d),e=Math.max(b[h],e),f=Math.min(c[h],f),g=Math.max(c[h],g);if(a.x<d||a.x>e||a.y<f||a.y>g)return!1;for(i=!1,h=0,j=b.length-1;h<b.length;j=h++)c[h]>a.y!=c[j]>a.y&&a.x<(b[j]-b[h])*(a.y-c[h])/(c[j]-c[h])+b[h]&&(i=!i);return i},c.Area=function(a,b){for(var c=0,d=0;d<a.length;d++)c+=d<a.length-1?a[d]*b[d+1]-a[d+1]*b[d]:a[d]*b[0]-a[0]*b[d];return c/=2},c.CenterOfPolygon=function(b,c){var d,e,f,g,h,i,j,k,l;for(d=0,e=0,f=0,g=1;g<=b.length;g++)h=b[g%b.length],i=c[g%c.length],j=b[(g-1)%b.length],k=c[(g-1)%c.length],l=(h*k-i*j)/2,d+=l,e+=l*(h+j)/3,f+=l*(i+k)/3;return e/=d,f/=d,new a.core.Point(e,f)},c.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)},c.scale=function(a,b){if(0<b){var 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}return a},c.pointToLine=function(a,b,d,e,f,g){var h,i,j,k;return h=c.DQa(a,b,d,e),i=c.DQa(a,b,f,g),(j=c.DQa(d,e,f,g))+i==h?0:h<=1e-6?i:h*h+i*i<=j*j?i:h*h+j*j<=i*i?j:(k=(h+i+j)/2,2*Math.sqrt(k*(k-h)*(k-i)*(k-j))/h)},c.DQa=function(a,b,c,d){return Math.sqrt((a-c)*(a-c)+(b-d)*(b-d))},c.HashCode=function(a){var b,d,e,f;if(null==a)return"";if(a instanceof Object){for(b="",d=0,e=c.properties(a);d<e.length;d++)f=e[d],b=b+c.HashCode(f)+c.HashCode(a[f]);return c.HashCodeString(b)}return"string"==typeof a?c.HashCodeString(a):"number"==typeof a?c.HashCodeString("number"+a):"boolean"==typeof a?c.HashCodeString("boolean"+a):null},c.HashCodeString=function(a){var b,c=0;if(null==a||0===a.length)return c+"";for(b=0;b<a.length;++b)c=(c<<5)-c+a.charCodeAt(b),c|=0;return c+""},c.SecondaryIdentityHash=function(a){return a+=a<<15^4294954365,a^=a>>>10,a+=a<<3,a^=a>>>6,(a+=(a<<2)+(a<<14))^a>>>16},c.isChildOf=function(a,b,d){var e,f;function g(a,b,e){if(b.length<e.length)return null;for(var f=!1,g=0;g<e.length;g++){if(null==d||!d(b[a+g],e[g])||c.equals(b[a+g],e[g])){f=!1;break}f=!0}return f?{start:a,end:a+e.length-1}:null}if(a.length<b.length)return null;if(a.length==b.length)return g(0,a,b);for(e=0;e<a.length;e++)if(f=g(e,a,b),null!=f)return f;return null},c.findMaxSameArrayOf=function(b,d,e){var f,g,h,i,j,k,l,m,n,o,p,q;for(f=b.length>=d.length,g=f?b:d,h=f?d:b,i=0,j=0,k=0,l=0,m=0,n=0;n<h.length;n++)for(o=n;o<h.length;o++)p=c.isChildOf(g,h.slice(n,o+1),e),null!=p&&(q=o+1-n,i<q&&(a.ePb.dPb(o-n==p.end-p.start),i=q,j=f?n:p.start,k=f?o:p.end,l=f?p.start:n,m=f?p.end:o));return 0!=i?{arrayStart:l,arrayEnd:m,otherStart:j,otherEnd:k}:null},c.equals=function(a,b){return null!=a.equals&&a.equals instanceof Function?a.equals(b):a===b},c.createPtsFromRect=function(b,c){var d,e,f,g,h,i,j;for(d=[],e=[],f=[new a.core.Point(b.left,b.top),new a.core.Point(b.right,b.top),new a.core.Point(b.right,b.bottom),new a.core.Point(b.left,b.bottom),new a.core.Point(b.left,b.top)],g=0;g<f.length-1;++g)for(h=f[g],i=f[g+1],j=0;j<c/4;++j)d.push(h.x+(i.x-h.x)/(c/4)*j),e.push(h.y+(i.y-h.y)/(c/4)*j);return{xs:d,ys:e}},c.createPtsFromCircle=function(a,b,c){var d,e,f,g,h,i,j;for(d=[],e=[],f=Math.PI,g=0;g<c;++g)h=360/c*g/f,i=Math.sin(h)*a+b.x,j=Math.cos(h)*a+b.y,d.push(i),e.push(j);return{xs:d,ys:e}},c.createPtsFromRadialBar=function(a,b,c,d,e,f){var g,h,i,j,k,l,m,n,o,p;for(g=[],h=[],i=[],j=[],Math.PI,k=(b-a)/((f-2)/2),l=a;l<b;l+=k)m=Math.cos(l)*c+e.x,n=Math.sin(l)*c+e.y,o=Math.cos(l)*d+e.x,p=Math.sin(l)*d+e.y,g.push(m),h.push(n),i.push(o),j.push(p);return g.unshift(i[0]),h.unshift(j[0]),i.push(g[g.length-1]),j.push(h[h.length-1]),{xs:g=g.concat(i.reverse()),ys:h=h.concat(j.reverse())}},c.createPtsFromPyologon=function(a,b){return null},c.V1a=function(b){var c,d=null;return"number"==typeof b&&(c=a.AnimationEasing[b],"string"==typeof c&&(d=a.D1a[c])),d},c.sameValue=function(a,b){return a==b||a instanceof Date&&b instanceof Date&&a.getTime()==b.getTime()},c.properties=function(a,b){var c,d;if(void 0===b&&(b=!0),!b)return Object.getOwnPropertyNames(a);c=[];for(d in a)c.push(d);return c},c.hasProperty=function(a,b,c){return void 0===c&&(c=!0),c?b in a:a.hasOwnProperty(b)},c.hasMethod=function(a,b){return"function"==typeof a[b]},c.getPropertyValue=function(a,b){return a[b]},c.setPropertyValue=function(a,b,c){a[b]=c},c.hasKey=function(a,b){return!!a[b]},c.isIE=function(){return 0<window.navigator.userAgent.indexOf("MSIE ")||0<window.navigator.userAgent.indexOf("Trident/")||"Microsoft Internet Explorer"==navigator.appName},c.isEdge=function(){return"Netscape"==navigator.appName&&-1<navigator.appVersion.indexOf("Edge")},c.find=function(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},c.findIndex=function(a,b){if(null!=a)for(var c=0;c<a.length;c++)if(b(a[c]))return c;return-1},c);function c(){}a.x7=b}(dv=dv||{}),function(a){"use strict";var b=(c.PercentileINC=function(a,b){var c,d,e,f;return b<0||1<b?NaN:(b*=100,a.sort(function(a,b){return a-b}),d=b/100*(a.length-1),Math.floor(d)==d?c=a[d]:(e=Math.floor(d),f=d-e,c=a[e]+(a[e+1]-a[e])*f),c)},c.PercentileEXC=function(a,b){var c=a.sort(function(a,b){return a-b}),d=b*(a.length+1)-1,e=Math.floor(d);return c[e]+(c[e+1]-c[e])*(d-e)},c.Sum=function(a){return 0===a.length?0:a.filter(function(a){return null!=a&&!isNaN(a)}).reduce(function(a,b){return a+b})},c.Average=function(a){var b=a.filter(function(a){return null!=a&&!isNaN(a)});return 0==b.length?0:c.Sum(b)/b.length},c.Max=function(a){var b=a.filter(function(a){return null!=a&&!isNaN(a)});return Math.max.apply(Math,b)},c.Min=function(a){var b=a.filter(function(a){return null!=a&&!isNaN(a)});return Math.min.apply(Math,b)},c.Median=function(a){var b,c;return a&&0<a.length?(b=[],(b=b.concat(a)).sort(function(a,b){
- return b-a}),c=b.length-1,(b[Math.floor(c/2)]+b[Math.round(c/2)])/2):NaN},c.Count=function(a){return a.length},c);function c(){}a.Statics=b}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.x3b=function(){return this.Rgb},c.prototype.yn=function(){return null},c.prototype.APa=function(a){return arguments.length<=0?this.NIa:void(this.NIa=a)},c.prototype.bz=function(a){return arguments.length<=0?this.p4a:void(this.p4a!=a&&(this.p4a=a))},c.prototype.B5a=function(a){return arguments.length<=0?this.Lbb:void(this.Lbb!=a&&(this.Lbb=a))},c.prototype.Mbb=function(){return null},c.prototype._R=function(a,b,c){this.TQb(a,b,c)},c.prototype.yl=function(a,b){if(this.bz()){var c=this.Mbb();null!=c?(a.startGroup(c,null),this.Nbb(a,b),a.endGroup()):this.Nbb(a,b)}},c.prototype.mr=function(a,b){return null},c.prototype.Nbb=function(a,b){},c.prototype.TQb=function(a,b,c){},c.prototype.queryInterface=function(a){return null},c);function c(b){this.p4a=!0,this.Lbb=!1,this.opacity=null,this.Rgb=b,this.NIa=new a.core.Rect(0,0,0,0)}a.MIa=b}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.MIa,__extends(d,b),d.prototype.flipping=function(){return!0},d.prototype.zPa=function(){var b=new a.options.bOa(null);return b.left=b.right=b.top=b.bottom=a.nRb.LabelPadding,b},d.prototype.Klb=function(){return a.TextOverflow.Clip},d.prototype.Xvb=function(a){return arguments.length<=0?this.Wvb:void(this.Wvb.equals(a)||(this.Wvb=a))},d.prototype.Jta=function(){return this.Deb},d.prototype.Mbb=function(){return a.nRb.LabelClassName},d.prototype.Nbb=function(b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;for(b.beginTransform(),this.OIa(b),this.QIa(b),d=this.Xvb(),(null!=b.fill&&("string"!=typeof b.fill||"transparent"!=b.fill&&"none"!=b.fill)||null!=b.strokeWidth&&0<b.strokeWidth)&&(Math.abs(d.angle)<a.nRb.Precision?b.drawRect(d.center.x-d.size.width/2+b.strokeWidth/2,d.center.y-d.size.height/2+b.strokeWidth/2,d.size.width-b.strokeWidth,d.size.height-b.strokeWidth):(e=[d.leftTop.x,d.rightTop.x,d.rightBottom.x,d.leftBottom.x],f=[d.leftTop.y,d.rightTop.y,d.rightBottom.y,d.leftBottom.y],b.drawPolygon(e,f)),d=new a.shapes.qwb(d.center.x,d.center.y,d.size.width-2*b.strokeWidth,d.size.height-2*b.strokeWidth,d.angle)),g=this.zPa(),d=new a.shapes.qwb(d.center.x+(g.left-g.right)/2,d.center.y+(g.top-g.bottom)/2,d.size.width-g.left-g.right,d.size.height-g.top-g.bottom,d.angle),this.Cbb(b),h=this.Klb(),i=new a.core.Size(0,0),j=0,k=this.Jta();j<k.length;j++)null!=(t=k[j])&&0<t.length&&(l=b.measureMultipleStrings(t,d.size.width,h),i.height+=l.height);if(Math.abs(d.angle)<a.nRb.Precision)for(m=new a.core.Rect(d.center.x-d.size.width/2,d.center.y-d.size.height/2,d.size.width-2*b.strokeWidth,i.height),n=0,o=this.Jta();n<o.length;n++)null!=(t=o[n])&&0<t.length&&(l=b.measureMultipleStrings(t,d.size.width,h),m=new a.core.Rect(m.left,m.top,m.width,l.height),b.drawMultipleStrings(t,m,a.HAlign.Left,h),m.top+=l.height);else for(p=!1,this.flipping()&&Math.cos(d.angle)<0&&(p=!0),d=new a.shapes.qwb(d.center.x,d.center.y,d.size.width,i.height,d.angle),q=new a.core.Point(d.center.x-d.size.width/2,d.center.y-d.size.height/2),r=0,s=this.Jta();r<s.length;r++)null!=(t=s[r])&&0<t.length&&(l=b.measureMultipleStrings(t,d.size.width,h),q.y+=l.height,p?b.drawMultipleRotateStrings(t,d,h,null,180*(d.angle-Math.PI)/Math.PI,q):b.drawMultipleRotateStrings(t,d,h,null,180*d.angle/Math.PI,q));b.restoreTransform()},d.prototype.SIa=function(b,c){var d,e,f;return null==c&&(c=new a.core.Size(Number.MAX_VALUE,Number.MAX_VALUE)),c=c.clone(),d=new a.core.Size(0,0),b.beginTransform(),this.OIa(b),null!=b.strokeWidth&&0<b.strokeWidth&&(d.width+=2*b.strokeWidth,d.height+=2*b.strokeWidth,c.width-=2*b.strokeWidth,c.height-=2*b.strokeWidth),e=this.zPa(),d.width+=e.left+e.right,d.height+=e.top+e.bottom,c.width-=e.left+e.right,c.height-=e.top+e.bottom,b.restoreTransform(),f=this.TIa(b,c),d.width+=f.width,d.height+=f.height,d},d.prototype.TIa=function(b,c){var d,e,f,g,h,i;for(b.beginTransform(),this.Cbb(b),d=this.Klb(),e=new a.core.Size(0,0),f=0,g=this.Jta();f<g.length;f++)h=g[f],null!=h&&0<h.length&&(i=b.measureMultipleStrings(h,c.width,d),e.height+=i.height,e.width<i.width&&(e.width=i.width));return b.restoreTransform(),e},d.prototype.OIa=function(b){a.NQb.Jqb(b,a.y3b.fPa())},d.prototype.QIa=function(b){a.NQb.iqb(b,"none")},d.prototype.Cbb=function(a){},d);function d(c,d){var e=b.call(this,c)||this;return e.Deb=d,e.Wvb=new a.shapes.qwb(0,0,0,0,0),e}a.Yvb=c}(dv=dv||{}),function(a){"use strict";var b,c,d=(b=a.MIa,__extends(e,b),e.prototype.zPa=function(){return new a.options.bOa(null)},e.prototype.TQb=function(a,b,c){this.APa(b),a.beginTransform(),this.OIa(a);var d=this.Crb(a,this.APa());a.restoreTransform(),this.PIa(a,d,c)},e.prototype.yl=function(a,c){var d=this.APa();d.width<=0||d.height<=0||b.prototype.yl.call(this,a,c)},e.prototype.SIa=function(b,d){var e,f,g;return null==d&&(d=new a.core.Size(Number.MAX_VALUE,Number.MAX_VALUE)),d=d.clone(),e=new a.core.Size(0,0),b.beginTransform(),this.OIa(b),null!=b.strokeWidth&&0<b.strokeWidth&&(e.width+=2*b.strokeWidth,e.height+=2*b.strokeWidth,d.width-=2*b.strokeWidth,d.height-=2*b.strokeWidth),f=this.zPa(),e.width+=f.left+f.right,e.height+=f.top+f.bottom,d.width-=f.left+f.right,d.height-=f.top+f.bottom,b.restoreTransform(),g=this.TIa(b,d),e.width+=g.size.width,e.height+=g.size.height,new c(e)},e.prototype.Nbb=function(b,c){var d,e;b.beginTransform(),this.OIa(b),this.QIa(b),d=this.APa(),(null!=b.fill&&("string"!=typeof b.fill||"transparent"!=b.fill&&"none"!=b.fill)||null!=b.strokeWidth&&0<b.strokeWidth)&&(b.drawRect(d.left+b.strokeWidth/2,d.top+b.strokeWidth/2,d.width-b.strokeWidth,d.height-b.strokeWidth),d=d.inflate(-b.strokeWidth,-b.strokeWidth)),b.restoreTransform(),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),this.RIa(b,d,c)},e.prototype.PIa=function(a,b,c){},e.prototype.RIa=function(a,b,c){},e.prototype.TIa=function(b,d){return new c(new a.core.Size(0,0))},e.prototype.OIa=function(b){a.NQb.Jqb(b,a.y3b.fPa())},e.prototype.QIa=function(b){a.NQb.iqb(b,"none")},e.prototype.Crb=function(b,c){var d,e=c.clone();return null!=b.strokeWidth&&0<b.strokeWidth&&(e=e.inflate(-b.strokeWidth,-b.strokeWidth)),d=this.zPa(),e=new a.core.Rect(e.left+d.left,e.top+d.top,e.width-d.left-d.right,e.height-d.top-d.bottom)},e);function e(a){return b.call(this,a)||this}a.UIa=d,c=function(a){this.size=a.clone()},a.ViewMetricsResult=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.UIa,__extends(d,b),d.prototype._ib=function(){return a.HAlign.Center},d.prototype.ajb=function(){return a.VAlign.Middle},d.prototype.Klb=function(){return a.TextOverflow.Clip},d.prototype.Jta=function(){return this.Deb},d.prototype.RIa=function(b,c,d){var e,f,g,h,i,j,k,l;for(b.beginTransform(),this.GHa(b),e=this.Klb(),f=new a.core.Size(0,0),g=0,h=this.Jta();g<h.length;g++)null!=(l=h[g])&&0<l.length&&(i=b.measureMultipleStrings(l,c.width,e),f.height+=i.height);switch(c=c.clone(),this.ajb()){case a.VAlign.Top:break;case a.VAlign.Bottom:c.top=c.bottom-f.height;break;default:c.top=c.top+(c.height-f.height)/2}for(j=0,k=this.Jta();j<k.length;j++)if(null!=(l=k[j])&&0<l.length){switch(i=b.measureMultipleStrings(l,c.width,e),c.height=i.height,this._ib()){case a.HAlign.Left:b.drawMultipleStrings(l,c,a.HAlign.Left,e);break;case a.HAlign.Right:b.drawMultipleStrings(l,c,a.HAlign.Right,e);break;default:b.drawMultipleStrings(l,c,a.HAlign.Center,e)}c.top+=i.height}b.restoreTransform()},d.prototype.TIa=function(b,c){var d,e,f,g,h,i;for(b.beginTransform(),this.GHa(b),d=this.Klb(),e=new a.core.Size(0,0),f=0,g=this.Jta();f<g.length;f++)h=g[f],null!=h&&0<h.length&&(i=b.measureMultipleStrings(h,c.width,d),e.height+=i.height,e.width<i.width&&(e.width=i.width));return b.restoreTransform(),new a.ViewMetricsResult(e)},d.prototype.GHa=function(a){},d);function d(a,c){var d=b.call(this,a)||this;return d.Deb=c,d}a.DKa=c}(dv=dv||{}),dv=dv||{},function(a){"use strict";var b,c=(b=a.Yvb,__extends(d,b),Object.defineProperty(d.prototype,"parent",{get:function(){return this.Ceb()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"type",{get:function(){return a.ElementType.DataPointLabel},enumerable:!0,configurable:!0}),d.prototype.Ceb=function(){return this.x3b()},d.prototype._ib=function(){return a.HAlign.Left},d.prototype.SH=function(){var b=a.TextPosition.Outside,c=this.Ceb();return null==c||a.core.UOb.isNullEnum(c.text.position)||(b=c.text.position),b},d.prototype.nSa=function(){return new a.shapes.qwb(this.Xvb().center.x,this.Xvb().center.y,this.Xvb().size.width,this.Xvb().size.height,this.Xvb().angle)},d.prototype.queryInterface=function(c){return"IShapeElement"==c?new a.z3b(this):b.prototype.queryInterface.call(this,c)},d.prototype.yl=function(a,c){b.prototype.yl.call(this,a,c)},d.prototype.Nbb=function(c,d){var e,f;c.beginTransform(),e=this.Jta(),e&&0<e.length&&(f=this.Ceb().bRa().$z().config.text.overlappingLabels,f!=a.OverlappingLabels.Show&&this.wsb(d,this.Xvb(),f)?this.dva(!0):(this.Eeb(c,d),b.prototype.Nbb.call(this,c,d),d.labels.push(this.Xvb()),this.dva(!1))),c.restoreTransform()},d.prototype.Eeb=function(b,c){if(null!=this.getConnectingLineOption()){var d=this.ssb(),e=this.usb();null!=d&&null!=e&&(b.beginTransform(),this._Ja(b),b.startGroup(a.nRb.ConnectingLineClassName,null),b.drawLine(d.x,d.y,e.x,e.y),b.endGroup(),b.restoreTransform())}},d.prototype.defaultStrokeColor=function(){return this.Ceb().aT().tE()},d.prototype.getConnectingLineOption=function(){return this.Ceb().bRa().f3a().option.config.text.connectingLine},d.prototype._Ja=function(b){var c,d=this.getConnectingLineOption();null!=d&&(c=new a.Arb,c.trb(d),null==c.stroke&&(c.stroke=this.defaultStrokeColor()),a.NQb.Jqb(b,c))},d.prototype.OIa=function(b){a.NQb.Jqb(b,a.y3b.fPa()),a.NQb.jqb(b,this.defaultStrokeColor()),a.NQb.$2b(b,this.Ceb().bRa().q4a().s4a().$z().style),a.NQb.$2b(b,this.Ceb().bRa().q4a().$z().style),a.NQb.$2b(b,this.Ceb().bRa().$z().config.text.style),a.NQb.Z2b(b,this.Ceb().bRa().$z().config.text.borderStyle)},d.prototype.QIa=function(b){a.NQb.iqb(b,"none"),a.NQb.c3b(b,this.Ceb().bRa().q4a().s4a().$z().style.backgroundColor),a.NQb.c3b(b,this.Ceb().bRa().q4a().$z().style.backgroundColor),a.NQb.c3b(b,this.Ceb().bRa().$z().config.text.style.backgroundColor)},d.prototype.Cbb=function(b){a.NQb.a3b(b,this.Ceb().bRa().q4a().s4a().$z().style),a.NQb.n0b(b,this.Ceb().bRa().q4a().s4a().$z().textStyle),a.NQb.a3b(b,this.Ceb().bRa().q4a().$z().style),a.NQb.n0b(b,this.Ceb().bRa().q4a().$z().textStyle),a.NQb.n0b(b,this.Ceb().bRa().$z().config.textStyle),a.NQb.a3b(b,this.Ceb().bRa().$z().config.text.style),a.NQb.n0b(b,this.Ceb().bRa().$z().config.text.textStyle)},d.prototype.dva=function(a){return arguments.length<=0?this.Oib:void(this.Oib!=a&&(this.Oib=a))},d.prototype.wsb=function(b,c,d){switch(d){case a.OverlappingLabels.Auto:case a.OverlappingLabels.Hide:return this.check(b.labels,c);case a.OverlappingLabels.HideAll:return this.check(b.labels,c)||this.check(b.axisLabels,c)||this.check(b.legendsLabels,c)||this.check(b.headerLabels,c)||this.check(b.footerLabels,c)}return!1},d.prototype.check=function(b,c){var d,e,f;for(d=0,e=b;d<e.length;d++)if(f=e[d],f instanceof a.core.Rect){if(c.intersectsWith(new a.shapes.qwb((f.left+f.right)/2,(f.top+f.bottom)/2,f.width,f.height,0)))return!0}else if(f instanceof a.shapes.qwb){if(f.intersectsWith(c))return!0}else a.ePb.dPb(!1);return!1},d.prototype.mr=function(c,d){if(null==this.Xvb()||!this.Xvb().contains(c)||this.dva())return b.prototype.mr.call(this,c,d);var e=new a.HitTestResult(c,this,this,a.ElementType.DataPointLabel);return null==d||null!=d&&d.predicate(e)?e:null},d);function d(a,c){return b.call(this,a,c)||this}a.Geb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.UIa,__extends(d,b),Object.defineProperty(d.prototype,"type",{get:function(){return a.ElementType.Control},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"parent",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"option",{get:function(){return this.$z()},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.E2a=function(){return this.fKa},d.prototype.$z=function(){return this.eAa.config},d.prototype.Ou=function(){return null==this.y5a&&(this.y5a=new a.models.qRa(this.eAa.data.values,this.eAa.data,this.eAa.transform)),this.y5a},d.prototype.OOa=function(){return null==this.Uza&&(this.Uza=new a.models.Wza(this.$z().palette)),this.Uza},d.prototype.POa=function(){return null==this.Yza&&(this.Yza=new a.models.Zza),this.Yza},d.prototype.Sbb=function(){return this.Tbb||(this.Tbb=new a.Ubb),this.Tbb},d.prototype.Vbb=function(){return this.bKa},d.prototype.Wbb=function(){return this.dKa},d.prototype.yy=function(){if(null==this.A3b){var b=this.A3b=new a.Arb;b.fill="none",b.stroke=a.nRb.StyleStroke,b.strokeWidth=0,b.textFill=a.nRb.StyleColor,b.fontSize="14",b.fontFamily="Helvetica"}return this.A3b},d.prototype.zPa=function(){return this.$z().padding},d.prototype.Rbb=function(b){this.y5a=new a.models.qRa(b,this.eAa.data,this.eAa.transform);for(var c=0,d=this.E2a();c<d.length;c++)d[c].Rbb(this.Ou())},d.prototype.Vpb=function(a){var b,c,d,e,f,g;for(b=[],c=0,d=this.E2a();c<d.length;c++)for(e=0,f=d[c].nPa();e<f.length;e++)g=f[e],b=b.concat(g.Vpb(a));return b},d.prototype.N4=function(a,b){var c,d,e,f,g,h,i,j,k;for(void 0===b&&(b=null),c=0,d=this.plotAreas;c<d.length;c++)for(e=0,f=d[c].plotsPanes;e<f.length;e++)for(g=0,h=f[e].plots;g<h.length;g++)for(i=0,j=h[g].points;i<j.length;i++)k=j[i],k.selected=0<=a.indexOf(k),k.additionalKind=b},d.prototype.PIa=function(b,c,d){var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v;for(d.headerLabels=[],d.footerLabels=[],b.beginTransform(),this.GHa(b),(c=c.clone()).width<0&&(c.width=0),c.height<0&&(c.height=0),e=c.clone(),f=this.Vbb(),null!=f&&(g=e.clone(),h=f.SIa(b,new a.core.Size(c.width,c.height)).size,i=this.$z().header.width,j=g.width,null!=i&&(i.type==a.ValueOptionType.Enum?i.value==a.HeaderFooterWidthOptionType.Auto&&(j=h.width):i.type==a.ValueOptionType.Pixel?j=i.value:i.type==a.ValueOptionType.Percentage&&(j=i.value*g.width)),j<g.width&&(g.left+=(g.width-j)/2,g.width=j),k=this.$z().header.height,l=this.$z().header.maxHeight,null!=l?(m=Number.MAX_VALUE,l.type==a.ValueOptionType.Percentage?m=l.value*c.height:l.type===a.ValueOptionType.Pixel&&(m=l.value),h.height>m&&(h.height=m)):null!=k&&(k.type==a.ValueOptionType.Percentage?h.height=k.value*c.height:k.type===a.ValueOptionType.Pixel&&(h.height=k.value)),f._R(b,new a.core.Rect(g.left,e.top,g.width,h.height),d),e.top+=h.height,e.height-=h.height),n=this.Wbb(),null!=n&&(o=e.clone(),p=n.SIa(b,new a.core.Size(c.width,c.height)).size,i=this.$z().footer.width,j=o.width,null!=i&&(i.type==a.ValueOptionType.Enum?i.value==a.HeaderFooterWidthOptionType.Auto&&(j=p.width):i.type==a.ValueOptionType.Pixel?j=i.value:i.type==a.ValueOptionType.Percentage&&(j=i.value*o.width)),j<o.width&&(o.left+=(o.width-j)/2,o.width=j),q=this.$z().footer.height,r=this.$z().footer.maxHeight,null!=r?(m=Number.MAX_VALUE,r.type==a.ValueOptionType.Percentage?m=r.value*c.height:r.type===a.ValueOptionType.Pixel&&(m=r.value),p.height>m&&(p.height=m)):null!=q&&(q.type==a.ValueOptionType.Percentage?p.height=q.value*c.height:q.type===a.ValueOptionType.Pixel&&(p.height=q.value)),p.height>e.height&&(p.height=e.height),n._R(b,new a.core.Rect(o.left,e.bottom-p.height,o.width,p.height),d),e.height-=p.height),s=this.E2a(),new a.Erb(this.$z().plotAreaLayout).b3a(s,e),t=0,u=s;t<u.length;t++)v=u[t],v._R(b,v.APa(),d);b.restoreTransform(),delete d.footerLabels,delete d.headerLabels},d.prototype.RIa=function(a,b,c){var d,e,f,g,h,i;for(c.headerLabels=[],c.footerLabels=[],a.beginTransform(),this.GHa(a),d=this.Sbb().Frb(),e=0;e<d.length;e++)d[e].Grb();for(f=this.Vbb(),null!=f&&f.yl(a,c),g=this.Wbb(),null!=g&&g.yl(a,c),h=0,i=this.E2a();h<i.length;h++)i[h].yl(a,c);for(d.sort(function(a,b){return a.PR()-b.PR()}),e=0;e<d.length;e++)d[e].Hrb();a.restoreTransform(),delete c.footerLabels,delete c.headerLabels},d.prototype.GHa=function(b){a.NQb.d3b(b,this.yy()),a.NQb.a3b(b,this.$z().style),a.NQb.n0b(b,this.$z().textStyle)},d.prototype.OIa=function(c){b.prototype.OIa.call(this,c),a.NQb.$2b(c,this.$z().style),a.NQb.Z2b(c,this.$z().borderStyle)},d.prototype.QIa=function(c){b.prototype.QIa.call(this,c),a.NQb.c3b(c,this.$z().style.backgroundColor),a.NQb.c3b(c,this.$z().backgroundColor)},d.prototype.Obb=function(b){return null!=b.header&&null!=b.header.title&&0<b.header.title.length?new a.hKa(this):null},d.prototype.Pbb=function(b){return null!=b.footer&&null!=b.footer.title&&0<b.footer.title.length?new a.iKa(this):null},d.prototype.Qbb=function(b,c){var d,e,f,g,h,i=[];if(null!=b&&0<b.length)for(d=0,e=b;d<e.length;d++)f=e[d],null!=(h=this.Xbb(f,c))&&i.push(h);else for(g=0;g<c.length;g++)(f=new a.options.dFa(null)).row=g,f.column=0,null!=(h=this.Xbb(f,[c[g]]))&&i.push(h);return i},d.prototype.Xbb=function(b,c){return new a.kKa(this,b,c)},d.prototype.mr=function(c,d){var e,f,g,h,i,j;if(void 0===d&&(d=null),e=null,f=this.APa(),null!=f&&f.contains(c)){for(g=0,h=this.E2a().concat().reverse();g<h.length;g++)if(null!=(e=h[g].mr(c,d)))return e;return i=this.Wbb(),null!=i&&null!=(e=i.mr(c,d))?e:(j=this.Vbb(),null!=j&&null!=(e=j.mr(c,d))?e:(e=new a.HitTestResult(c,this,this,a.ElementType.Control),null==d||null!=d&&d.predicate(e)?e:null))}return b.prototype.mr.call(this,c,d)},d.prototype.dispose=function(){for(var a=0,b=this.E2a();a<b.length;a++)b[a].dispose()},d);function d(c){var d=b.call(this,null)||this;return d.fKa=[],d.A3b=null,a.ePb.dPb(null!=c),d.eAa=c,d.bKa=d.Obb(d.eAa.config),d.dKa=d.Pbb(d.eAa.config),d.fKa=d.Qbb(d.eAa.config.plotAreas,d.eAa.plots),d.Rbb(d.eAa.data.values),d}a.kAa=c}(dv=dv||{}),function(a){"use strict";var b=(c.oSb=function(a){var b=a.queryInterface("IControlAsOwnerModel");return null!=b?b.control:null},c.LRb=function(a){var b=a.queryInterface("IControlAsOwnerModel");return null!=b?b.domManager:null},c);function c(){}a.MRb=b}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.kAa,__extends(d,b),d.prototype.queryInterface=function(a){return"IControlAsOwnerModel"==a?this:b.prototype.queryInterface.call(this,a)},d.prototype.dispose=function(){b.prototype.dispose.call(this),null!=this.domManager&&this.domManager.dispose()},d);function d(c,d){var e=b.call(this,d)||this;return e.control=c,e.domManager=new a.HRb(e),e}a.TRb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.UIa,__extends(d,b),d.prototype.zcb=function(){return!0},d.prototype.PR=function(a){return arguments.length<=0?this.vcb:void(this.vcb=a)},d.prototype.Ccb=function(a){this.zcb()&&(a&&this.Dcb(a),this.Ecb(),this.Zz(this.xcb,this.ycb))},d.prototype.JX=function(a,b){this.zcb()&&(this.xcb=a,this.ycb=b,this.Ccb())},d.prototype.Zz=function(a,b){var c,d,e,f,g,h,i,j,k,l,m,n=this.Fcb();n?(c=this.APa(),d=this.B3b(),e=d.t2a(),f=(a+c.left)*e,g=(b+c.top)*e,h=c.width*e,i=c.height*e,j=c.left,k=c.top,l=c.width,m=c.height,n.copyTo(d,f,g,h,i,j,k,l,m)):this.Irb&&this.Irb.setAttribute("transform","translate("+-a+","+-b+")")},d.prototype.TQb=function(a,c,d){this.Gcb=null,this.Hcb=null,b.prototype.TQb.call(this,a,c,d)},d.prototype.Grb=function(){this.PR(-1)},d.prototype.Hrb=function(){this.zcb()&&(this.Dcb(this.APa()),this.Zz(this.xcb,this.ycb))},d.prototype.Nbb=function(a,c){var d,e,f,g,h,i,j,k,l,m;-1===this.PR()?(d=c.scrollableViewZIndex+1,c.scrollableViewZIndex=d,this.PR(d),this.zcb()?(e=this.APa(),f="scrollingClip"+(1e5*Math.random()).toFixed(),a.addClipRect(e,f),a.startGroup("scroll-viewport",f),(j=this.Fcb())?((k=j.yl()).beginRender(),g=this.Icb(),h=e.left+g.width+1,i=e.top+g.height+1,k.setViewportSize(h,i),b.prototype.Nbb.call(this,k,c),k.endRender()):(this.Irb=a.startGroup("scroll-content",null),b.prototype.Nbb.call(this,a,c),a.endGroup()),a.endGroup()):b.prototype.Nbb.call(this,a,c)):this.zcb()?(j=this.Fcb())?((k=j.yl()).beginRender(),b.prototype.Nbb.call(this,k,c),k.endRender()):(l=a.renderEngine,m=l.cb,l.cb=this.Irb,b.prototype.Nbb.call(this,a,c),l.cb=m):b.prototype.Nbb.call(this,a,c)},d.prototype.Icb=function(){return new a.core.Size(0,0)},d.prototype.Fcb=function(){var b=this.B3b();return b.v2a()===a.RenderMethod.Canvas?this.Gcb?a.JRb.aqb(b,this.Gcb):this.Gcb=b.clone():this.Gcb=null,this.Gcb},d.prototype.C3b=function(){var a=this.B3b().IRb();return a instanceof HTMLCanvasElement?a:null},d.prototype.Jcb=function(){var b,c,d,e,f=this.B3b();return f.v2a()===a.RenderMethod.NotSet||f.v2a()===a.RenderMethod.SVG?this.Hcb=null:this.Hcb||(b=this.APa(),c=document.createElement("canvas"),d=b.width+1,e=b.height+1,c.width=d,c.height=e,c.style.width=d+"px",c.style.height=e+"px",this.Hcb=c),this.Hcb},d.prototype.Dcb=function(b){var c,d,e,f,g,h,i,j,k,l,m,n=this.B3b(),o=this.Jcb(),p=this.C3b();null!=o&&null!=p&&(c=this.APa(),b=a.core.Rect.intersection(b,c),d=n.t2a(),e=b.left*d,f=b.top*d,g=b.width*d,h=b.height*d,i=b.left-c.left,j=b.top-c.top,k=b.width,l=b.height,0<g&&0<h&&(m=o.getContext("2d"),m.clearRect(i,j,g,h),g=Math.min(p.width,g),h=Math.min(p.height,h),m.drawImage(p,e,f,g,h,i,j,k,l)))},d.prototype.Ecb=function(){var a,b,c,d,e,f,g,h,i,j=this.C3b();null!=j&&(a=this.APa(),b=this.Jcb(),c=a.width,d=a.height,e=a.left,f=a.top,g=a.width,h=a.height,0<g&&0<h&&(i=j.getContext("2d"),i.clearRect(e,f,g,h),i.drawImage(b,0,0,c,d,e,f,g,h)))},d.prototype.mr=function(c,d){var e=this.APa();return null!=e&&e.contains(c)?this.Jrb(new a.core.Point(this.xcb+c.x,this.ycb+c.y),d):b.prototype.mr.call(this,c,d)},d.prototype.Jrb=function(a,c){return b.prototype.mr.call(this,a,c)},d);function d(a){var c=b.call(this,a)||this;return c.vcb=-1,c.xcb=0,c.ycb=0,c}a.Kcb=c}(dv=dv||{}),function(a){"use strict";var b=(c.yy=function(){return null==c.A3b&&((c.A3b=new a.Arb).fill=a.nRb.StyleStroke,c.A3b.stroke=a.nRb.StyleStroke,c.A3b.strokeWidth=1),c.A3b},c.D3b=function(){return null==c.E3b&&((c.E3b=new a.Arb).textFill=a.nRb.StyleColor),c.E3b},c.F3b=function(){return null==c.G3b&&((c.G3b=new a.Arb).strokeWidth=1),c.G3b},c.VOa=function(){return null==c.H3b&&((c.H3b=new a.Arb).stroke=a.nRb.StyleStroke,c.H3b.strokeWidth=1),c.H3b},c.fPa=function(){return null==c.I3b&&((c.I3b=new a.Arb).stroke=a.nRb.StyleStroke,c.I3b.strokeWidth=0),c.I3b},c.A3b=null,c.E3b=null,c.G3b=null,c.H3b=null,c.I3b=null,c);function c(){}a.y3b=b}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.jxa=function(){return this.C5a},c.prototype.yn=function(){return""},c);function c(a){this.C5a=a}a.J3b=b}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.MIa,__extends(d,b),Object.defineProperty(d.prototype,"type",{get:function(){return"None"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"definition",{get:function(){return this.I4a},enumerable:!0,configurable:!0}),d.prototype.z5a=function(){return this.x3b()},d.prototype.q4a=function(){return this.z5a().q4a()},d.prototype.Qcb=function(){return this.Ocb},d.prototype.nPa=function(){return this.Ocb.nPa()},d.prototype.K3b=function(a){if(arguments.length<=0){var b=this.L3b;return null!=b&&0!=b?b:1}null!=a&&(this.L3b=a)},d.prototype.M3b=function(a){if(arguments.length<=0){var b=this.N3b;return null!=b&&0!=b?b:1}null!=a&&(this.N3b=a)},d.prototype.O3b=function(a){return arguments.length<=0?!1!==this.P3b:void(null!=a&&(this.P3b=a))},d.prototype.Q3b=function(a){return arguments.length<=0?!1!==this.R3b:void(null!=a&&(this.R3b=a))},d.prototype.Rbb=function(a){},d.prototype.Mbb=function(){return a.nRb.CoordinateSystemClassName},d.prototype.TQb=function(a,b,c){this.Rcb(a,b,c),this.S3b()?this.ldb():this.GRb()},d.prototype.Nbb=function(a,b){this.Ocb.yl(a,b)},d.prototype.dispose=function(){this.GRb()},d.prototype.Rcb=function(a,b,c){this.Ocb._R(a,b,c)},d.prototype.T3b=function(){return new a.Pcb(this)},d.prototype.S3b=function(){var a=this.O3b(),b=this.Q3b();return!(!a&&!b||!this.Qcb().zcb())},d.prototype.ldb=function(){var b=this.q4a().s4a(),c=this.Qcb(),d=[c],e={containerRect:c.APa(),contentSize:c.Icb(),xscroll:this.O3b(),yscroll:this.Q3b()};this.ndb?this.ndb.VF(e):this.ndb=new a.NRb(b,{option:e,xyScrollViews:d})},d.prototype.GRb=function(){this.ndb&&this.ndb.KRb(),this.ndb=null},d.prototype.mr=function(a,c){var d=this.Qcb().mr(a,c);return null!=d?d:b.prototype.mr.call(this,a,c)},d.Tcb=new a.options.QEa({type:a.AxisType.X}),d.Ucb=new a.options.QEa({type:a.AxisType.Y}),d);function d(a,c){var d=b.call(this,a)||this;return d.kMa=null,d.I4a=c,d.Ocb=d.T3b(),d}a.lab=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.lab,__extends(d,b),d.prototype.WQb=function(){return this.U3b()[0]},d.prototype.XQb=function(){return this.V3b()[0]},d.prototype.U3b=function(){return this.W3b},d.prototype.V3b=function(){return this.X3b},d.prototype.nPa=function(){return b.prototype.nPa.call(this)},d.prototype.yIa=function(a){var b,c,d,e,f,g,h;for(b=0,c=a.plots;b<c.length;b++)for(d=c[b],e=0,f=this.definition.plotDefinitions;e<f.length;e++)if(g=f[e],g.name==d&&(h=g.option.config.swapAxes,null!=h))return h;return!1},d.prototype.Y3b=function(){return this.Z3b||(this.Z3b=this.$3b(a.Orientation.Horizontal)),this.Z3b},d.prototype._3b=function(){return this.a4b||(this.a4b=this.$3b(a.Orientation.Vertical)),this.a4b},d.prototype.Rbb=function(a){this.jhb()},d.prototype.jhb=function(){var b,c,d,e,f,g,h,i=this.z5a().q4a().$z().axes,j=[];for(this.definition.plotDefinitions.forEach(function(a){a.axisDefinitions.forEach(function(a){j.push(a.option)})}),b=0,c=i;b<c.length;b++)d=c[b],-1<j.indexOf(d)&&(e=a.Orientation.NotSet,d.type==a.AxisType.X?e=this.yIa(d)?a.Orientation.Vertical:a.Orientation.Horizontal:d.type==a.AxisType.Y&&(e=this.yIa(d)?a.Orientation.Horizontal:a.Orientation.Vertical),null!=(g=this.Vcb(e,d))&&(e==a.Orientation.Horizontal?(this.W3b.push(g),this.K3b(d.viewSize),this.O3b(d.scrollbarVisible)):e==a.Orientation.Vertical&&(this.X3b.push(g),this.M3b(d.viewSize),this.Q3b(d.scrollbarVisible))));this.W3b.length<=0&&(f=i.filter(function(b){return b.plots.length<=0&&b.type==a.AxisType.X}),g=this.Vcb(a.Orientation.Horizontal,f.length<=0?a.lab.Tcb:f[0]),this.W3b.push(g)),this.X3b.length<=0&&(h=i.filter(function(b){return b.plots.length<=0&&b.type==a.AxisType.Y}),g=this.Vcb(a.Orientation.Vertical,h.length<=0?a.lab.Ucb:h[0]),this.X3b.push(g))},d.prototype.QIa=function(b){a.NQb.c3b(b,this.q4a().$z().style.fill)},d.prototype.Bwb=function(b){var c=this.q4a().$z().style;a.NQb.jqb(b,a.nRb.StyleStroke),a.NQb._2b(b,c)},d.prototype.Vcb=function(a,b){return null},d.prototype.$3b=function(b){return new a.adb(this,b)},d.prototype.nsb=function(b,c,d){var e,f,g,h=a.b4b.kMa(this);for(null!=h&&h.jMa(),e=0,f=this.nPa();e<f.length;e++)g=f[e],g.Udb(),g.Vdb(),g.Wdb(b,c)},d.prototype.c4b=function(){var a,b,c,d,e,f,g,h;for(this.V3b().slice().concat(this.U3b()).forEach(function(a){a.d4b()&&a.Srb()}),a=this.WQb(),b=this.XQb(),c=0,d=this.U3b();c<d.length;c++)e=d[c],e.d4b()&&null!=b&&(e.e4b(b.$z(),b),b.f4b([e.uJa()]));for(f=0,g=this.V3b();f<g.length;f++)h=g[f],h.d4b()&&null!=a&&(h.e4b(a.$z(),a),a.f4b([h.uJa()]))},d.prototype.S3b=function(){if(!b.prototype.S3b.call(this))return!1;var a=this.Y3b(),c=this._3b();return!(!a.zcb()&&!c.zcb())},d.prototype.ldb=function(){var b=this.O3b(),c=this.Q3b(),d=this.q4a().s4a(),e=this.Qcb(),f=this.Y3b(),g=this._3b(),h=e.APa(),i=e.Icb(),j=0,k=0,l=[],m=[],n=[];"Cartesian"===this.type?(l=[e],m=[f],n=[g],j=f.APa().bottom-h.bottom,k=g.APa().right-h.right):l=[e,f,g],this.ndb?this.ndb.VF({containerRect:h,contentSize:i,xscroll:b,yscroll:c,trackXOffset:j,trackYOffset:k}):this.ndb=new a.NRb(d,{option:{containerRect:h,contentSize:i,xscroll:b,yscroll:c,trackXOffset:j,trackYOffset:k},xyScrollViews:l,xScrollViews:m,yScrollViews:n})},d.prototype.mr=function(a,c){var d=b.prototype.mr.call(this,a,c);return d||((d=this._3b().mr(a,c))?d:(d=this.Y3b().mr(a,c))||null)},d);function d(a,c){var d=b.call(this,a,c)||this;return d.W3b=[],d.X3b=[],d}a.pdb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.MIa,__extends(d,b),Object.defineProperty(d.prototype,"type",{get:function(){return a.ElementType.Axis},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"parent",{get:function(){return this.zdb().z5a()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"min",{get:function(){var a=this.eb();return a?a.min():null},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"max",{get:function(){var a=this.eb();return a?a.max():null},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"majorUnit",{get:function(){var a=this.eb();return a?a.Jsa():null},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"minorUnit",{get:function(){var a=this.eb();return a?a.Ksa():null},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"position",{get:function(){return this.SH()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"axisType",{get:function(){return this.$z().type},enumerable:!0,configurable:!0}),d.prototype.queryInterface=function(c){return"IShapeElement"==c?new a.g4b(this):"IAxisTitle"==c?new a.models.mWb(this.kfb()):"IGridLine"==c?new a.models.tWb(this.h4b().concat(this.i4b())):"IAxisLabel"==c?new a.models.kWb(this.Rrb()):b.prototype.queryInterface.call(this,c)},d.prototype.j4b=function(a){this.rEa=a},d.prototype.eb=function(a){return arguments.length<=0?this.rEa:void(this.rEa=a)},d.prototype.nSa=function(){return new a.shapes.qwb(this.APa().center.x,this.APa().center.y,this.APa().width,this.APa().height,0)},d.prototype.KPa=function(){var a=this.eb();return a?a.min():null},d.prototype.LPa=function(){var a=this.eb();return a?a.max():null},d.prototype.oI=function(){var a=this.eb();return a?a.oI():null},d.prototype.Vma=function(){var a=this.eb();return a?a.Vma():null},d.prototype.Qb=function(a){var b=this.eb();return b?b.value(a):null},d.prototype.pW=function(a){var b=this.eb();return b?b.pW(a):null},d.prototype.gXb=function(){var b=this.eb();return b instanceof a.H8a?b.gXb():null},d.prototype.my=function(a){return arguments.length<=0?this.eb().my():void this.eb().my(a)},d.prototype.RWb=function(a){return arguments.length<=0?this.eb().RWb():void this.eb().RWb(a)},d.prototype.TWb=function(a){return arguments.length<=0?this.eb().TWb():void this.eb().TWb(a)},d.prototype.d5a=function(a){return arguments.length<=0?this.eb().d5a():(this.$z().useActualMin&&0<a.length&&(a[0]=this.eb().d5a()[0]),this.$z().useActualMax&&1<a.length&&(a[1]=this.eb().d5a()[1]),this.eb().d5a(a),void 0)},d.prototype.WDa=function(a){return arguments.length<=0?this.eb().WDa():void this.eb().WDa(a)},d.prototype.XDa=function(a){return arguments.length<=0?this.eb().tickNumber():void this.eb().tickNumber(a)},d.prototype.ZDa=function(){return this.eb().ticks()},d.prototype.zdb=function(){return this.x3b()},d.prototype.kfb=function(){return this.ifb},d.prototype.k4b=function(){return this.l4b},d.prototype.Rrb=function(){return this.Orb},d.prototype.h4b=function(){return this.m4b},d.prototype.i4b=function(){return this.n4b},d.prototype.o4b=function(){return this.p4b},d.prototype.q4b=function(){return this.r4b},d.prototype.Qrb=function(){return new a.Trb(this)},d.prototype.s4b=function(){return new a.t4b(this,this.$z().unitLabel)},d.prototype.Urb=function(b,c,d){return new a.udb(this,b,c,d)},d.prototype.u4b=function(){return new a.vdb(this)},d.prototype.SIa=function(b,c){return new a.core.Size(0,0)},d.prototype._R=function(c,d,e){b.prototype._R.call(this,c,d,e),(new a.models.iWb).NGa(this)},d.prototype.Nbb=function(b,c){if(null!=this.APa()&&!a.x7.isNil(this.APa())&&this.$z().position!=a.AxisPosition.None){b.beginTransform(),a.NQb.a3b(b,this.Wqa()),a.NQb.n0b(b,this.uIa());var d=null,e=this.gsb();c.renderLabel&&null!=e&&(d="axisClip"+(1e5*Math.random()).toFixed(),b.addClipRect(e,d)),b.startGroup(this.HPa(),d),c.renderLabel?(this.v4b(b,c),this.w4b(b,c),this.x4b(b,c)):(this.y4b(b,c),
- this.z4b(b,c),this.A4b(b,c),this.qsb(b,c)),b.endGroup(),b.restoreTransform()}},d.prototype.gsb=function(){return null},d.prototype.y4b=function(a,b){this.h4b().forEach(function(c){null!=c&&c.bz()&&c.yl(a,b)}),this.i4b().forEach(function(c){null!=c&&c.bz()&&c.yl(a,b)})},d.prototype.z4b=function(b,c){var d,e,f,g,h,i;if(this.Adb()!=a.TickMark.None){for(b.beginTransform(),a.NQb.Jqb(b,this.hPa()),a.NQb.Z2b(b,this.NJa()),d=0,e=this.o4b();d<e.length;d++)f=e[d],b.startGroup(a.nRb.TickMajorClassName,null),f.yl(b,c),b.endGroup();b.restoreTransform()}if(this.Bdb()!=a.TickMark.None){for(b.beginTransform(),a.NQb.Jqb(b,this.iPa()),a.NQb.Z2b(b,this.OJa()),g=0,h=this.q4b();g<h.length;g++)i=h[g],b.startGroup(a.nRb.TickMinorClassName,null),i.yl(b,c),b.endGroup();b.restoreTransform()}},d.prototype.A4b=function(a,b){},d.prototype.qsb=function(a,b){},d.prototype.v4b=function(a,b){var c=this;this.Rrb().forEach(function(d,e){null!=d&&c.Gua()&&d.yl(a,b)})},d.prototype.w4b=function(a,b){this.k4b().yl(a,b)},d.prototype.x4b=function(a,b){this.kfb().yl(a,b)},d.prototype.Jsa=function(){return this.$z().majorUnit.value},d.prototype.Ksa=function(){return this.$z().minorUnit.value},d.prototype.j8a=function(){return this.$z().dateMode},d.prototype.bXb=function(){return this.$z().majorUnit.dateMode},d.prototype.dXb=function(){return this.$z().minorUnit.dateMode},d.prototype.wJa=function(){return this.$z().majorTickSize},d.prototype.xJa=function(){return this.$z().minorTickSize},d.prototype.Adb=function(){return this.$z().majorTicks},d.prototype.Bdb=function(){return this.$z().minorTicks},d.prototype.NJa=function(){return this.$z().majorTickStyle},d.prototype.OJa=function(){return this.$z().minorTickStyle},d.prototype.B4b=function(){return this.$z().groupGrid},d.prototype.C4b=function(){return this.$z().groupGridStyle},d.prototype.qJa=function(){return this.$z().majorGrid},d.prototype._Ia=function(){return this.$z().minorGrid},d.prototype.uIa=function(){return this.$z().textStyle},d.prototype.sJa=function(){return this.$z().labelStyle},d.prototype.cJa=function(){return this.$z().titleStyle},d.prototype.PJa=function(){return this.$z().lineStyle},d.prototype.Wqa=function(){return this.$z().style},d.prototype.aJa=function(){return this.$z().axisLine},d.prototype.Gua=function(){return this.$z().labels},d.prototype.SH=function(){return this.$z().position},d.prototype.uJa=function(){return this.$z().origin},d.prototype.Xwb=function(){return this.$z().overlappingLabels},d.prototype._orientation=function(){return this.CFa},d.prototype.$z=function(){return this.eAa},d.prototype.zsa=function(){var a=this.$z();return null!=a.title?a.title:null!=this.EJa()?this.EJa().name:null},d.prototype.tJa=function(){var b=this.EJa(),c=this.$z().labelAngle,d=c.length;return null!=b&&b instanceof a.models.LCa?b.groupLevels>=d?c[d-1]:c[b.groupLevels]:0<d?c[0]:null},d.prototype.D4b=function(){var b,c,d=this.EJa();if(null!=d&&d instanceof a.models.LCa){for(b=this.$z().labelAngle.slice(0,d.groupLevels),c=b.length;c<d.groupLevels;c++)b.push(b[b.length-1]);return b}return[]},d.prototype.HPa=function(){var b=this.$z().type;return b==a.AxisType.X?a.nRb.AxisXClassName:b==a.AxisType.Y?a.nRb.AxisYClassName:null},d.prototype.VOa=function(){return a.y3b.VOa()},d.prototype.hPa=function(){return a.y3b.VOa()},d.prototype.iPa=function(){return a.y3b.VOa()},d.prototype.IPa=function(){return a.y3b.VOa()},d.prototype.JPa=function(){return a.y3b.VOa()},d.prototype.E4b=function(){return a.y3b.VOa()},d.prototype.Srb=function(){var b,c=this.eb().d5a()[0],d=this.eb().d5a()[1],e=null;e=null!=this.$z().min&&(this.EJa().dataType==a.core.DataType.Date&&this.$z().min.type==a.ValueOptionType.Date||this.$z().min.type==a.ValueOptionType.Number)?d<(e=this.$z().min.value)?d:e:c,b=null,b=null!=this.$z().max&&(this.EJa().dataType==a.core.DataType.Date&&this.$z().max.type==a.ValueOptionType.Date||this.$z().max.type==a.ValueOptionType.Number)?(b=this.$z().max.value)<e?e:b:d,this.eb().d5a([e,b]),null==this.Jsa()||isNaN(this.Jsa())||this.eb().Jsa(this.Jsa()),this.eb().format(this.FJa())},d.prototype.e4b=function(b,c){var d=this.uJa();a.core.UOb.isNumber(d)&&null!=c&&(d<c.KPa()&&null!=b.min?this.Xrb=c.KPa():d>c.LPa()&&null!=b.max&&(this.Xrb=c.LPa()))},d.prototype.f4b=function(b){var c=this.eb(),d=this.$z();b.forEach(function(b){if(a.core.UOb.isNumber(b)&&null!=c){var e=c.d5a();b<e[0]&&null==d.min?c.d5a([b,e[1]]):b>e[1]&&null==d.max&&c.d5a([e[0],b])}})},d.prototype.d4b=function(){return null!=this.eb()},d.prototype.F4b=function(){return this.eb()instanceof a.f5a},d.prototype.s0b=function(){return this.eb()instanceof a.E8a},d.prototype.G4b=function(){return this.eb()instanceof a.H8a},d.prototype.H4b=function(){return this.eb()instanceof a.F8a},d.prototype.mr=function(a,c){var d,e,f,g,h,i,j;for(d=null,e=0,f=this.h4b();e<f.length;e++)if(null!=(d=f[e].mr(a,c)))return d;for(g=0,h=this.i4b();g<h.length;g++)if(null!=(d=h[g].mr(a,c)))return d;for(i=0,j=this.Rrb();i<j.length;i++)if(null!=(d=j[i].mr(a,c)))return d;return null!=(d=this.k4b().mr(a,c))||null!=(d=this.kfb().mr(a,c))?d:b.prototype.mr.call(this,a,c)},d.prototype.EJa=function(){return this.Vrb},d.prototype.Kb=function(a){if(arguments.length<=0){var b=this.$z().format;return null!=b&&""!=b?b:this.qEa}this.qEa!=a&&(this.qEa=a)},Object.defineProperty(d.prototype,"logBase",{get:function(){return a.core.UOb.isNullNumber(this.$z().logBase)?10:this.$z().logBase},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"scale",{get:function(){return this.$z().scale},enumerable:!0,configurable:!0}),d.prototype.AJa=function(b,c){var d=0,e=c,f=this.YIa,g=b;return a.core.UOb.isNullEnum(g)&&(g=a.TickMark.Outside),g==a.TickMark.Outside?f=1:g==a.TickMark.Inside?f=-1:g==a.TickMark.Cross&&(f=0),g!=a.TickMark.None&&(d+=.5*(1+f)*e),d},d.prototype.IKa=function(){var a=this.tJa();return null==a&&(a=null!=this.FKa?this.FKa:0),a},d.prototype.Wrb=function(){var a=this.Xrb;return null==a&&(a=this.uJa()),a},d.prototype.FJa=function(b){return null==this.Kb()?this.EJa().dataType==a.core.DataType.Date?null:Math.round(b)?"n0":"n":this.Kb()},d.prototype.Yrb=function(a){if(a<=0||isNaN(a))return 0;if(0==(a-=Math.floor(a)))return 0;var b=Math.log(a)/Math.LN10,c=Math.floor(b);return(c=-c)<=2&&(c=0),c},d.prototype.convert=function(a,b,c){return this.eb().value(a)},d.prototype.GJa=function(a){this.Vrb=a},Object.defineProperty(d.prototype,"offset",{get:function(){return this.UP},set:function(a){this.UP=a},enumerable:!0,configurable:!0}),d.Cdb=2,d.FRa=2,d.MAX_MAJOR=1e3,d.MAX_MINOR=2e3,d);function d(a,c,d){var e=b.call(this,a)||this;return e.Orb=[],e.m4b=[],e.n4b=[],e.p4b=[],e.r4b=[],e.YIa=1,e.UP={left:0,top:0,right:0,bottom:0},e.I4b=0,e.CFa=c,e.eAa=d,e.ifb=e.Qrb(),e.l4b=e.s4b(),e}a.Ddb=c}(dv=dv||{}),function(a){"use strict";var b=(Object.defineProperty(c.prototype,"cx",{get:function(){return this.wPa},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"cy",{get:function(){return this.xPa},enumerable:!0,configurable:!0}),c);function c(b,c,d,e,f){this.wPa=b,this.xPa=c,this.angle=f,this.endPoint=new a.core.Point(0,0),this.endPoint.x=b+Math.sin(this.angle)*e,this.endPoint.y=c-Math.cos(this.angle)*e,this.startPoint=new a.core.Point(0,0),this.startPoint.x=b-Math.sin(this.angle)*d,this.startPoint.y=c+Math.cos(this.angle)*d}a.Jbb=b}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Yvb,__extends(d,b),Object.defineProperty(d.prototype,"type",{get:function(){return a.ElementType.AxisLabel},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"parent",{get:function(){return this.rdb()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"hover",{get:function(){return this.B5a()},set:function(a){this.B5a(a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"value",{get:function(){return this.Qb()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"textStyle",{get:function(){return this.uIa()},set:function(a){this.uIa(a)},enumerable:!0,configurable:!0}),d.prototype.relatedModels=function(){var b,c,d,e,f,g,h,i,j,k;for(b=[],c=this.rdb().Rrb().indexOf(this)+a.models.h3a.SSb,d=this.Qb(),e=0,f=this.rdb().zdb().nPa();e<f.length;e++)for(g=0,h=f[e].ggb();g<h.length;g++)i=h[g],j=i.aT(),j instanceof a.models.I6a&&(k=j.Q5a(),a.x7.sameValue(k.Qb(),d)&&k.mi()==c&&b.push(i));return b},d.prototype.queryInterface=function(c){return"IShapeElement"==c?new a.J4b(this):b.prototype.queryInterface.call(this,c)},d.prototype.flipping=function(){return!1},d.prototype.zPa=function(){return new a.options.bOa(null)},d.prototype.Klb=function(){return a.core.UOb.isNullEnum(this.uIa().overflow)?b.prototype.Klb.call(this):this.uIa().overflow},d.prototype.nSa=function(){return this.Xvb().clone()},d.prototype.Qb=function(){return this.mCa},d.prototype.p6=function(){return this.Hdb},d.prototype.rdb=function(){return this.x3b()},d.prototype.uIa=function(a){return arguments.length<=0?this.vEa:void(this.vEa!=a&&(this.vEa=a))},d.prototype.Raa=function(){var b=new a.options.wEa(this.rdb().uIa());b.pXb(this.rdb().sJa()),this.uIa(b)},d.prototype.check=function(b,c){var d,e,f;for(d=0,e=b;d<e.length;d++)if(f=e[d],f instanceof a.core.Rect){if(c.intersectsWith(new a.shapes.qwb((f.left+f.right)/2,(f.top+f.bottom)/2,f.width,f.height,0)))return!0}else if(f instanceof a.shapes.qwb){if(f.intersectsWith(c))return!0}else a.ePb.dPb(!1);return!1},d.prototype.K4b=function(a){var b=this.rdb().zdb().q4a().s4a().APa();return b.contains(a.leftTop)&&b.contains(a.leftBottom)&&b.contains(a.rightTop)&&b.contains(a.rightBottom)},d.prototype.L4b=function(a){var b,c,d;for(b=0,c=this.rdb().zdb().q4a()._bb();b<c.length;b++)if(d=c[b].Bsb(),d&&d.M4b(a))return!0;return!1},d.prototype.wsb=function(b,c,d){if(d==a.OverlappingLabels.Auto)return!1;if(!this.K4b(c)||this.L4b(c))return!0;switch(d){case a.OverlappingLabels.HideAll:return this.check(b.labels,c)||this.check(b.legendsLabels,c)||this.check(b.headerLabels,c)||this.check(b.footerLabels,c)}return!1},d.prototype.Cbb=function(b){a.NQb.n0b(b,this.uIa())},d);function d(a,c,d,e){var f=b.call(this,a,[c])||this;return f.Hdb=d,f.mCa=e,f.Raa(),f}a.udb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.MIa,__extends(d,b),d.prototype.N4b=function(a){return arguments.length<=0?this.O4b:void(this.O4b!=a&&(this.O4b=a))},d.prototype.Nbb=function(a,b){a.drawLine(this.N4b().startPoint.x,this.N4b().startPoint.y,this.N4b().endPoint.x,this.N4b().endPoint.y)},d);function d(a){return b.call(this,a)||this}a.vdb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.DKa,__extends(d,b),Object.defineProperty(d.prototype,"type",{get:function(){return a.ElementType.AxisTitle},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"parent",{get:function(){return this.rdb()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"hover",{get:function(){return this.B5a()},set:function(a){this.B5a(a)},enumerable:!0,configurable:!0}),d.prototype.queryInterface=function(c){return"IShapeElement"==c?new a.P4b(this):b.prototype.queryInterface.call(this,c)},d.prototype.nSa=function(){return new a.shapes.qwb(this.APa().center.x,this.APa().center.y,this.APa().width,this.APa().height,0)},d.prototype.$z=function(){return this.rdb().$z()},d.prototype.HPa=function(){return this.$z().type===a.AxisType.X?a.nRb.AxisXClassName:a.nRb.AxisYClassName},d.prototype.rdb=function(){return this.x3b()},d.prototype.Klb=function(){return a.core.UOb.isNullEnum(this.rdb().$z().titleStyle.overflow)?a.core.UOb.isNullEnum(this.rdb().$z().textStyle.overflow)?a.core.UOb.isNullEnum(this.rdb().zdb().q4a().$z().textStyle.overflow)?a.core.UOb.isNullEnum(this.rdb().zdb().q4a().s4a().$z().textStyle.overflow)?b.prototype.Klb.call(this):this.rdb().zdb().q4a().s4a().$z().textStyle.overflow:this.rdb().zdb().q4a().$z().textStyle.overflow:this.rdb().$z().textStyle.overflow:this.rdb().$z().titleStyle.overflow},d.prototype.Jta=function(){return[this.rdb().zsa()]},d.prototype.GHa=function(b){a.NQb.n0b(b,this.$z().textStyle),a.NQb.Y2b(b,this.$z().titleStyle)},d.prototype.TIa=function(c,d){if(this.Klb()!=a.TextOverflow.Clip)return b.prototype.TIa.call(this,c,d);var e=b.prototype.TIa.call(this,c,d);return e.size.width>d.width&&(e.size.width=d.width),e},d.prototype.TQb=function(b,c,d){var e,f,g,h,i,j,k,l;c.height<=0||c.width<=0?this.APa(c):(f=this.rdb()._orientation()==a.Orientation.Vertical,g=this.rdb().SH()==a.AxisPosition.Near,h=this.$z().titleStyle.padding,i=this.SIa(b,f?new a.core.Size(c.height,c.width):new a.core.Size(c.width,c.height)).size,f?(j=c.top+(c.height-i.width)/2,k=c.left,k=g?c.width>i.height?c.left+(h.isEmpty()?0:h.left):c.right-i.height-(h.isEmpty()?0:h.right):c.width>i.height?c.right-i.height-(h.isEmpty()?0:h.right):c.left+(h.isEmpty()?0:h.left),e=new a.core.Rect(k,j,i.height,i.width)):(k=c.left+(c.width-i.width)/2,l=c.top,l=g?c.height<i.height?c.top+(h.isEmpty()?0:h.top):c.bottom-i.height-(h.isEmpty()?0:h.bottom):c.height<i.height?c.bottom-i.height-(h.isEmpty()?0:h.bottom):c.top+(h.isEmpty()?0:h.top),e=new a.core.Rect(k,l,i.width,i.height)),this.APa(e))},d.prototype.BJa=function(b,c,d){if(null==c)return null==d&&(d=new a.core.Size(this.APa().width,this.APa().height)),this.SIa(b,d).size.height;if(c.length<=0)return 0;b.beginTransform(),this.GHa(b);var e=b.measureString(c,a.nRb.TitleClassName,this.HPa());return b.restoreTransform(),e.height},d.prototype.RIa=function(b,c,d){var e,f,g,h,i,j,k,l,m;for(b.beginTransform(),this.GHa(b),e=this.Klb(),c=c.clone(),f=new a.core.Size(0,0),g=0,h=this.Jta();g<h.length;g++)null!=(l=h[g])&&0<l.length&&(i=b.measureMultipleStrings(l,c.width,e),f.height+=i.height);switch(this.ajb()){case a.VAlign.Top:break;case a.VAlign.Bottom:c.top=c.bottom-f.height;break;default:c.top=c.top+(c.height-f.height)/2}for(j=0,k=this.Jta();j<k.length;j++)if(null!=(l=k[j])&&0<l.length){switch(i=b.measureMultipleStrings(l,c.width,e),c.height=i.height,this._ib()){case a.HAlign.Left:b.startGroup(a.nRb.TitleClassName,null),b.drawMultipleStrings(l,c,a.HAlign.Left,e),b.endGroup();break;case a.HAlign.Right:b.startGroup(a.nRb.TitleClassName,null),b.drawMultipleStrings(l,c,a.HAlign.Right,e),b.endGroup();break;default:i.width<=c.width?(b.startGroup(a.nRb.TitleClassName,null),b.drawMultipleStrings(l,c,a.HAlign.Center,e),b.endGroup()):(m="axisTitleClip"+(1e5*Math.random()).toFixed(),b.addClipRect(c,m),b.startGroup(a.nRb.TitleClassName,m),b.drawMultipleStrings(l,c,a.HAlign.Left,e),b.endGroup())}c.top+=i.height}b.restoreTransform()},d.prototype.mr=function(c,d){var e,f=this.APa();return null!=f&&f.contains(c)?(e=new a.HitTestResult(c,this,this,a.ElementType.AxisTitle),null==d||null!=d&&d.predicate(e)?e:null):b.prototype.mr.call(this,c,d)},d);function d(a){return b.call(this,a,null)||this}a.Trb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Yvb,__extends(d,b),Object.defineProperty(d.prototype,"type",{get:function(){return a.ElementType.AxisUnitLabel},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"parent",{get:function(){return this.rdb()},enumerable:!0,configurable:!0}),d.prototype.$z=function(){return this.eAa},d.prototype.zPa=function(){return this.$z().textStyle.padding},d.prototype.Klb=function(){return this.$z().textStyle.isEmpty()||a.core.UOb.isNullEnum(this.$z().textStyle.overflow)?b.prototype.Klb.call(this):this.$z().textStyle.overflow},d.prototype.Mbb=function(){return null},d.prototype.rdb=function(){return this.x3b()},d.prototype.Cbb=function(b){a.NQb.Y2b(b,this.$z().textStyle)},d.prototype.TQb=function(b,c,d){var e,f,g,h,i;c.height<=0||c.width<=0||this.rdb().SH()==a.AxisPosition.None||!this.rdb().Gua()||(f=this.rdb()._orientation()==a.Orientation.Vertical,g=this.SIa(b,f?new a.core.Size(c.height,c.width):new a.core.Size(c.width,c.height)).clone(),g.width-=this.zPa().left+this.zPa().right,g.height-=this.zPa().top+this.zPa().bottom,f?(h=c.left+this.zPa().top+.5*g.height,i=c.top+this.zPa().right+.5*g.width,e=new a.shapes.qwb(h,i,g.width,g.height,-Math.PI/2)):(h=c.right-this.zPa().right-.5*g.width,i=c.top+this.zPa().top+.5*g.height,e=new a.shapes.qwb(h,i,g.width,g.height,0)),this.Xvb(e))},d.prototype.Nbb=function(b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s;if(!(this.Jta().length<=0)){for(b.beginTransform(),this.OIa(b),this.QIa(b),d=this.Xvb(),(null!=b.fill&&("string"!=typeof b.fill||"transparent"!=b.fill&&"none"!=b.fill)||null!=b.strokeWidth&&0<b.strokeWidth)&&(Math.abs(d.angle)<a.nRb.Precision?b.drawRect(d.center.x-d.size.width/2+b.strokeWidth/2,d.center.y-d.size.height/2+b.strokeWidth/2,d.size.width-b.strokeWidth,d.size.height-b.strokeWidth):(e=[d.leftTop.x,d.rightTop.x,d.rightBottom.x,d.leftBottom.x],f=[d.leftTop.y,d.rightTop.y,d.rightBottom.y,d.leftBottom.y],b.drawPolygon(e,f)),d=new a.shapes.qwb(d.center.x,d.center.y,d.size.width-2*b.strokeWidth,d.size.height-2*b.strokeWidth,d.angle)),this.rdb()._orientation(),a.Orientation.Vertical,this.Cbb(b),g=this.Klb(),h=new a.core.Size(0,0),i=0,j=this.Jta();i<j.length;i++)null!=(s=j[i])&&0<s.length&&(k=b.measureMultipleStrings(s,d.size.width,g),h.height+=k.height);if(Math.abs(d.angle)<a.nRb.Precision)for(l=new a.core.Rect(d.center.x-d.size.width/2,d.center.y-d.size.height/2,d.size.width-2*b.strokeWidth,h.height),m=0,n=this.Jta();m<n.length;m++)null!=(s=n[m])&&0<s.length&&(k=b.measureMultipleStrings(s,d.size.width,g),l=new a.core.Rect(l.left,l.top,l.width,k.height),b.drawMultipleStrings(s,l,a.HAlign.Left,g),l.top+=k.height);else for(o=!1,this.flipping()&&Math.cos(d.angle)<0&&(o=!0),d=new a.shapes.qwb(d.center.x,d.center.y,d.size.width,h.height,d.angle),p=new a.core.Point(d.center.x-d.size.width/2,d.center.y-d.size.height/2),q=0,r=this.Jta();q<r.length;q++)null!=(s=r[q])&&0<s.length&&(k=b.measureMultipleStrings(s,d.size.width,g),p.y+=k.height,o?b.drawMultipleRotateStrings(s,d,g,null,180*(d.angle-Math.PI)/Math.PI,p):b.drawMultipleRotateStrings(s,d,g,null,180*d.angle/Math.PI,p));b.restoreTransform()}},d.prototype.mr=function(c,d){var e,f=this.Xvb();return null!=f&&f.contains(c)?(e=new a.HitTestResult(c,this,this,a.ElementType.AxisUnitLabel),null==d||null!=d&&d.predicate(e)?e:null):b.prototype.mr.call(this,c,d)},d);function d(a,c){var d=b.call(this,a,null!=c.text&&""!=c.text?[c.text]:[])||this;return d.eAa=c,d}a.t4b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Kcb,__extends(d,b),d.prototype.YS=function(){return this.Q4b},d.prototype.zdb=function(){return this.x3b()},d.prototype.ihb=function(){return this.hhb},d.prototype.Fdb=function(b){var c,d,e,f;for(c=null,d=this.ihb(),e=0;e<d.length;e++)f=d[e],f.SH()===b&&(c=c?a.core.Rect.union(f.APa(),c):f.APa().clone());return c},d.prototype.GKa=function(){for(var b=new a.core.Size(0,0),c=this.ihb(),d=0;d<c.length;d++)b.width=Math.max(b.width,c[d].GKa.width),b.height=Math.max(b.height,c[d].GKa.height);return b},d.prototype.B3b=function(){var b=a.MRb.oSb(this.zdb().q4a().s4a());return null!=b?b.u2a():null},d.prototype.zcb=function(){var b=this.zdb(),c=b.type,d=b.K3b(),e=b.M3b();return"Radial"===c?1!==d||1!==e:this.YS()===a.Orientation.Horizontal?1!==d:1!==e},d.prototype.Sb=function(a){this.hhb.push(a)},d.prototype.$b=function(){this.hhb.splice(0)},d.prototype.RIa=function(a,b,c){for(var d=this.ihb(),e=0;e<d.length;e++)d[e].yl(a,c)},d.prototype.Icb=function(){var b=this.APa(),c=this.zdb(),d=c.K3b(),e=c.M3b();return"Cartesian"===c.type?this.YS()===a.Orientation.Horizontal?new a.core.Size(b.width/d,b.height):new a.core.Size(b.width,b.height/e):new a.core.Size(b.width/d,b.height/e)},d.prototype.Jrb=function(a,c){var d,e,f,g=this.ihb();if(0<g.length)for(d=0,e=g.concat().reverse();d<e.length;d++)if(f=e[d].mr(a,c),null!=f)return f;return b.prototype.Jrb.call(this,a,c)},d);function d(a,c){var d=b.call(this,a)||this;return d.Q4b=c,d.hhb=[],d}a.adb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.MIa,__extends(d,b),Object.defineProperty(d.prototype,"type",{get:function(){return a.ElementType.GridLine},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"parent",{get:function(){return this.rdb()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"orientation",{get:function(){return this._orientation()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"isMajor",{get:function(){return this.R4b()},enumerable:!0,configurable:!0}),d.prototype.queryInterface=function(c){return"IShapeElement"==c?new a.S4b(this):b.prototype.queryInterface.call(this,c)},d.prototype.ssb=function(a){return arguments.length<=0?this.tsb:void(this.tsb=a)},d.prototype.usb=function(a){return arguments.length<=0?this.vsb:void(this.vsb=a)},d.prototype.Vo=function(a){return arguments.length<=0?this.REa:void(this.REa=a)},d.prototype.rdb=function(){return this.x3b()},d.prototype.R4b=function(a){return arguments.length<=0?this.T4b:void(this.T4b=a)},d.prototype._orientation=function(){return this.rdb()._orientation()==a.Orientation.Horizontal?a.Orientation.Horizontal:a.Orientation.Vertical},d.prototype.MJa=function(){return this.rdb().$z().minorGridStyle},d.prototype.JPa=function(){return a.y3b.VOa()},d.prototype.LJa=function(){return this.rdb().$z().majorGridStyle},d.prototype.IPa=function(){return a.y3b.VOa()},d.prototype.nSa=function(){return new a.shapes.Ztb([this.ssb(),this.usb()],this.Vo())},d.prototype.U4b=function(){return null},d.prototype.mr=function(c,d){var e,f=this.U4b();return null!=f&&f.contains(c)?(e=new a.HitTestResult(c,this,this,a.ElementType.GridLine),null==d||null!=d&&d.predicate(e)?e:null):b.prototype.mr.call(this,c,d)},d.V4b=5,d);function d(a){var c=b.call(this,a)||this;return c.T4b=!0,c}a.W4b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Ddb,__extends(d,b),d.prototype.Zrb=function(){var a,b,c,d,e,f,g,h,i;for(a=[],b=this.eb(),c=this.EJa(),d=0,e=b.ticks();d<e.length;d++)f=e[d],g=c.labelFromValue(f,b.format()),h=c.itemValue(f),i=this.Urb(g,f,h),null!=i&&a.push(i);return a},d.prototype.Urb=function(b,c,d){return new a.$rb(this,b,c,d)},d.prototype.Qrb=function(){return new a._rb(this)},d.prototype.X4b=function(b){var c,d=b,e=this.$z().maxHeight;return null!=e&&(e.type==a.ValueOptionType.Percentage?d=e.value*b:e.type===a.ValueOptionType.Pixel&&(d=e.value)),c=this.Y4b(b),null!=c&&(d=c),d},d.prototype.Y4b=function(b){var c=null,d=this.$z().height;return null!=d&&(d.type==a.ValueOptionType.Percentage?c=d.value*b:d.type===a.ValueOptionType.Pixel&&(c=d.value)),c},d.prototype.Z4b=function(b){var c,d=b,e=this.$z().maxWidth;return null!=e&&(e.type==a.ValueOptionType.Percentage?d=e.value*b:e.type===a.ValueOptionType.Pixel&&(d=e.value)),c=this.$4b(b),null!=c&&(d=c),d},d.prototype.$4b=function(b){var c=null,d=this.$z().width;return null!=d&&(d.type==a.ValueOptionType.Percentage?c=d.value*b:d.type===a.ValueOptionType.Pixel&&(c=d.value)),c},d.prototype.Srb=function(){var c,d;b.prototype.Srb.call(this),c=this.eb(),c instanceof a.f5a&&(d=(c.max()-c.min())/c.tickNumber(),isNaN(c.Jsa())||(d=c.Jsa()),c.format(this.FJa(d))),c.WDa(this.$z().reversed)},d.prototype._4b=function(){if(this.$z().axisLine){var a=this.$z().lineStyle.strokeWidth;if(!isNaN(a)&&1<a)return a}return 0},d.prototype.SIa=function(b,c){var d,e,f;return b.beginTransform(),a.NQb.a3b(b,this.Wqa()),a.NQb.n0b(b,this.uIa()),d=this._orientation()==a.Orientation.Horizontal?new a.core.Size(c.width,0):new a.core.Size(c.height,0),c=this._orientation()==a.Orientation.Horizontal?c:new a.core.Size(c.height,c.width),d.height+=this.a5b(b,c),e=this.b5b(b,c),f=this.c5b(b,c),d.height+=this.d5b(b,c),d.height+=this.e5b(b,c),d.height+=this.f5b(b,c),d.height+=e,d.height+=f,b.restoreTransform(),this.I4b=f,this.I4b+=e,this.SH()==a.AxisPosition.None?new a.core.Size(0,0):d},d.prototype.a5b=function(a,b){var c=this._4b();return b.height-=c,c},d.prototype.b5b=function(a,b){var c=this.AJa(this.Adb(),this.wJa()),d=this.AJa(this.Bdb(),this.xJa()),e=Math.max(c,d);return b.height-=e,e},d.prototype.c5b=function(b,c){var d,e,f,g,h,i,j,k,l,m,n,o;return b.beginTransform(),a.NQb.Y2b(b,this.sJa()),d=0,e=0,f=this.sJa().padding,this._orientation()==a.Orientation.Vertical?e=f.isEmpty()?2*a.Ddb.Cdb:f.left+f.right:this._orientation()==a.Orientation.Horizontal&&(e=f.isEmpty()?2*a.Ddb.Cdb:f.top+f.bottom),g=this.Zrb(),h=this.IKa(),i=0,j=0,this.sJa().overflow!=a.TextOverflow.Clip?(k=c.clone(),j=this._orientation()==a.Orientation.Vertical?(i=0==h?c.height:c.height/Math.abs(Math.sin(h*Math.PI/180)),c.width/g.length):(i=0==h?c.width/g.length:c.height/Math.abs(Math.sin(h*Math.PI/180)),c.height),k=new a.core.Size(i,j),l=this.bsb(b,g,k),this.Gua()&&(m=l.width,n=l.height,0!=h&&(o=h*Math.PI/180,n=l.width*Math.abs(Math.sin(o))+l.height*Math.abs(Math.cos(o)),m=l.width*Math.abs(Math.cos(o))+l.height*Math.abs(Math.sin(o))),d+=this._orientation()==a.Orientation.Horizontal?n:m,d+=e)):(l=this.bsb(b,g,c),this.Gua()&&(m=l.width,n=l.height,0!=h&&(o=h*Math.PI/180,n=l.width*Math.abs(Math.sin(o))+l.height*Math.abs(Math.cos(o)),m=l.width*Math.abs(Math.cos(o))+l.height*Math.abs(Math.sin(o))),d+=this._orientation()==a.Orientation.Horizontal?n:m,d+=e)),b.restoreTransform(),c.height-=d,d},d.prototype.d5b=function(b,c){var d,e;return b.beginTransform(),a.NQb.Y2b(b,this.sJa()),d=0,this.eb()instanceof a.F8a&&(e=this.g5b(b,this.D4b()),d+=this.Gua()||this.B4b()!=a.TickMark.None&&this.B4b()!=a.TickMark.Inside?e:0),b.restoreTransform(),c.height-=d,d},d.prototype.e5b=function(a,b){if(this.Gua()&&null!=this.k4b().$z().text&&""!=this.k4b().$z().text){var c=this.k4b().SIa(a,b);return b.height-=c.height,c.height}return 0},d.prototype.f5b=function(b,c){var d,e,f;return b.beginTransform(),a.NQb.Y2b(b,this.cJa()),d=this.kfb().SIa(b,c).size,b.restoreTransform(),e=0,f=this.cJa().padding,this._orientation()==a.Orientation.Vertical?e=f.isEmpty()?2*a.Ddb.FRa:f.left+f.right:this._orientation()==a.Orientation.Horizontal&&(e=f.isEmpty()?2*a.Ddb.FRa:f.top+f.bottom),d.height+e},d.prototype.h5b=function(b,c){b.beginTransform(),a.NQb.a3b(b,this.Wqa()),a.NQb.n0b(b,this.uIa()),a.NQb.Y2b(b,this.sJa()),this.a5b(b,c),this.b5b(b,c);var d=this.bsb(b,this.Zrb(),c);return b.restoreTransform(),d},d.prototype.bsb=function(b,c,d){var e,f,g,h;for(e=new a.core.Size(0,0),f=0,g=c;f<g.length;f++)h=g[f].SIa(b,d),e.width<h.width&&(e.width=h.width),e.height<h.height&&(e.height=h.height);return e},d.prototype.g5b=function(b,c){var d,e,f,g=this.EJa();if(g instanceof a.models.LCa&&0<g.groupLevels){for(a.NQb.a3b(b,this.Wqa()),d=g.groups,this.zJa(b,d,c,0),e=0,f=0;f<this.Prb.length;++f)e+=this.Prb[f];return e}return 0},d.prototype.zJa=function(b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p;for(f=0,g=e+1,h=2*a.Ddb.Cdb,i=0;i<c.length;++i)c[i]&&c[i].oi&&0<c[i].oi.length&&this.zJa(b,c[i].oi,d,g),j=""+c[i].Qb,k=b.measureString(j,a.nRb.LabelClassName,this.HPa()),l=k.height,m=k.width,null!=d[e]&&"number"==typeof d[e]&&(n=d[e]*Math.PI/180,o=k.width,p=k.height,m=o*Math.abs(Math.cos(n))+p*Math.abs(Math.sin(n)),l=o*Math.abs(Math.sin(n))+p*Math.abs(Math.cos(n))),this._orientation()==a.Orientation.Horizontal?f<l+h&&(f=l+h):f<m+h&&(f=m+h);for(;this.Prb.length<e+1;)this.Prb.push(0);this.Prb[e]<f&&(this.Prb[e]=f)},d.prototype.getPosition=function(){return this.SH()==a.AxisPosition.None?a.Position.None:this._orientation()==a.Orientation.Horizontal?this.SH()==a.AxisPosition.Near?a.Position.Bottom:a.Position.Top:this._orientation()==a.Orientation.Vertical?this.SH()==a.AxisPosition.Near?a.Position.Left:a.Position.Right:a.Position.None},d.prototype.yJa=function(a){var b,c,d,e,f,g;for(b=this.Rrb(),c=0;c<b.length;++c)if(d=b[c],d&&d.bz()&&null!=d.Xvb())for(e=c+1;e<b.length&&(f=b[e],f&&null!=f.Xvb()&&d.Xvb().intersectsWith(f.Xvb()));++e)f.bz(!1);for(c=0;c<b.length;++c)g=b[c],g&&g.bz()&&null!=g.Xvb()&&g.wsb(a,g.Xvb(),this.Xwb())&&g.bz(!1)},d.prototype.EKa=function(b,c){var d,e,f,g,h,i,j,k,l,m,n,o;if(b.beginTransform(),a.NQb.n0b(b,this.uIa()),a.NQb.Y2b(b,this.sJa()),d=!1,e=this.eb().ticks(),null!=e&&0<e.length)for(f=e.length,g=0;g<f-1;g++)if(h=e[g],i=e[g+1],h>=this.EJa().min&&h<=this.EJa().max&&(j=this.eb().value(h),k=this.eb().value(i),l=this.EJa().labelFromValue(h,this.eb().format()),m=this.EJa().labelFromValue(i,this.eb().format()),n=b.measureString(l,a.nRb.LabelClassName,this.HPa()),o=b.measureString(m,a.nRb.LabelClassName,this.HPa()),0<g&&Math.abs(j-k)<(n.width+o.width)/2)){d=!0;break}return b.restoreTransform(),d},d.prototype.i5b=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;if(this.$z().position!=a.AxisPosition.None){for(b.beginTransform(),a.NQb.n0b(b,this.uIa()),a.NQb.Y2b(b,this.sJa()),e=this.Zrb(),f=this.IKa(),g=this.SH()==a.AxisPosition.Near,h=this.AJa(this.Adb(),this.wJa()),i=this.AJa(this.Bdb(),this.xJa()),j=Math.max(h,i),k=this.sJa().padding,l=this._4b(),m=this._orientation()==a.Orientation.Horizontal,n=null,this.sJa().overflow!=a.TextOverflow.Clip&&(this._orientation()==a.Orientation.Vertical?0==f?(o=c.width,p=c.height/e.length,n=new a.core.Size(o,p)):(o=c.width/Math.abs(Math.sin(f*Math.PI/180)),p=c.height/e.length,n=new a.core.Size(o,p)):(o=0==f?c.width/e.length:c.height/Math.abs(Math.sin(f*Math.PI/180)),p=c.height,n=new a.core.Size(o,p))),q=0,r=e;q<r.length;q++)s=r[q],t=s.SIa(b,n),this.Gua()||(t.width=0,t.height=0),u=s.p6(),m?(v=this.eb().value(u),g?(w=k.isEmpty()?a.Ddb.Cdb:k.top,x=this.APa().top+j+w+l,s.Xvb(a.shapes.qwb.Twb(new a.core.Point(v,x),t,f*Math.PI/180))):(w=k.isEmpty()?a.Ddb.Cdb:k.bottom,x=this.APa().bottom-j-w-l,s.Xvb(a.shapes.qwb.Uwb(new a.core.Point(v,x),t,f*Math.PI/180)))):(x=this.eb().value(u),g?(w=k.isEmpty()?a.Ddb.Cdb:k.right,v=this.APa().right-j-w-l,s.Xvb(a.shapes.qwb.Swb(new a.core.Point(v,x),t,f*Math.PI/180))):(w=k.isEmpty()?a.Ddb.Cdb:k.left,v=this.APa().left+j+w+l,s.Xvb(a.shapes.qwb.Rwb(new a.core.Point(v,x),t,f*Math.PI/180)))),this.Rrb().push(s);b.restoreTransform()}},d.prototype.j5b=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;if(this.$z().position!=a.AxisPosition.None)for(e=this.SH()==a.AxisPosition.Near,f=this._orientation()==a.Orientation.Horizontal,g=this.AJa(this.Adb(),this.wJa()),h=this.AJa(this.Bdb(),this.xJa()),i=this.wJa(),j=this.xJa(),k=this._4b(),l=this.eb().min(),m=this.EJa().dataType==a.core.DataType.Date&&this.eb()instanceof a.H8a?1e3*a.hEa.fromDays(this.Ksa()).TotalSeconds:this.Ksa(),Math.abs(m)<Math.abs(this.eb().max()-this.eb().min())/100&&(m=null),this.eb().Ksa(m),n=this.eb().ticks(),o=0;n&&o<n.length;++o)if(p=n[o],q=o>=n.length-1?NaN:n[o+1],r=this.u4b(),this.o4b().push(r),s=m,null!=s&&!isNaN(s)||null==(s=(q-(v=p))/2)||isNaN(s)||this.eb().Ksa(s),f){if(t=this.eb().value(p),u=e?this.APa().top+k:this.APa().bottom-k,r.N4b(new a.Jbb(t,u,g,i-g,e?0:Math.PI)),null!=s&&!isNaN(s)){if(l<p){for(v=p;l<=v;)w=this.eb().value(v),x=u,v-=s,Math.abs(w-t)<a.nRb.Precision||(y=this.u4b(),this.q4b().push(y),y.N4b(new a.Jbb(w,x,h,j-h,e?0:Math.PI)));l=p}for(z=o==n.length-1?this.eb().max():q,A=this.eb().value(z);l<z;)w=this.eb().value(l),x=u,l+=s,Math.abs(w-t)<a.nRb.Precision||Math.abs(w-A)<a.nRb.Precision||(y=this.u4b(),this.q4b().push(y),y.N4b(new a.Jbb(w,x,h,j-h,e?0:Math.PI)))}}else if(B=this.eb().value(p),C=e?this.APa().right-k:this.APa().left+k,r.N4b(new a.Jbb(C,B,g,i-g,Math.PI/2*(e?1:-1))),null!=s&&!isNaN(s)){if(l<p){for(v=p;l<=v;)x=this.eb().value(v),w=C,v-=s,Math.abs(x-B)<a.nRb.Precision||(y=this.u4b(),this.q4b().push(y),y.N4b(new a.Jbb(w,x,h,j-h,Math.PI/2*(e?1:-1))));l=p}for(z=o==n.length-1?this.eb().max():q,A=this.eb().value(z);l<z;)x=this.eb().value(l),w=C,l+=s,Math.abs(x-B)<a.nRb.Precision||Math.abs(x-A)<a.nRb.Precision||(y=this.u4b(),this.q4b().push(y),y.N4b(new a.Jbb(w,x,h,j-h,Math.PI/2*(e?1:-1))))}},d.prototype.k5b=function(b,c,d){var e,f,g,h,i,j,k,l,m,n,o,p;if(this.$z().position!=a.AxisPosition.None){if(e=this._orientation()==a.Orientation.Horizontal,this.qJa())for(f=0,g=this.o4b();f<g.length;f++)h=g[f],i=e?new a.l5b(this):new a.m5b(this),j=i.LJa().strokeWidth|i.IPa().strokeWidth,k=e?new a.core.Point(h.N4b().startPoint.x,this.n5b.top):new a.core.Point(this.n5b.left,h.N4b().startPoint.y),l=e?new a.core.Point(h.N4b().startPoint.x,this.n5b.bottom):new a.core.Point(this.n5b.right,h.N4b().startPoint.y),i.ssb(k),i.usb(l),i.Vo(j),i.R4b(!0),this.h4b().push(i);if(this._Ia())for(m=0,n=this.q4b();m<n.length;m++)o=n[m],p=e?new a.l5b(this):new a.m5b(this),j=p.MJa().strokeWidth|p.JPa().strokeWidth,
- k=e?new a.core.Point(o.N4b().startPoint.x,this.n5b.top):new a.core.Point(this.n5b.left,o.N4b().startPoint.y),l=e?new a.core.Point(o.N4b().startPoint.x,this.n5b.bottom):new a.core.Point(this.n5b.right,o.N4b().startPoint.y),p.ssb(k),p.usb(l),p.Vo(j),p.R4b(!1),this.i4b().push(p)}},d.prototype.o5b=function(a,b,c){},d.prototype.p5b=function(a,b,c){this.kfb()._R(a,this.APa(),c)},d.prototype.q5b=function(b,c,d){var e,f,g,h;this.$z().position!=a.AxisPosition.None&&(b.beginTransform(),a.NQb.Y2b(b,this.sJa()),e=this.SH()!=a.AxisPosition.Far,f=this.EJa(),null!=f&&f instanceof a.models.LCa&&null!=f.groups&&0<f.groups.length&&(this._orientation()==a.Orientation.Horizontal?(g=e?this.APa().top+this.I4b:this.APa().bottom-this.I4b,this.dsb(b,0,f.groups,f,g)):this._orientation()==a.Orientation.Vertical&&(h=e?this.APa().right-this.I4b:this.APa().left+this.I4b,this.esb(b,0,f.groups,f,h))),b.restoreTransform())},d.prototype.esb=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;if(!(c<0))for(g=this.SH()!=a.AxisPosition.Far,h=this.D4b()[c],null==h&&(h=0),i=this.Prb.slice(c+1),j=0,0<i.length&&(j=i.reduce(function(a,b){return a+b})),k=f+(g?-j:j),l=0;l<d.length;++l)m=d[l],this.esb(b,c+1,m.oi,e,f),n=(m.oI+m.Vma)/2,c<e.groupLevels&&(o=""+m.Qb,p=new a.r5b(this,o,m),q=b.measureString(o,a.nRb.LabelClassName,this.HPa()),r=k+(g?-a.Ddb.Cdb:a.Ddb.Cdb),s=this.convert(n),t=new a.core.Point(r,s),g?p.Xvb(a.shapes.qwb.Swb(t,q,h*Math.PI/180)):p.Xvb(a.shapes.qwb.Rwb(t,q,h*Math.PI/180)),u=0<=l-1?d[l-1]:null,null==u&&m.oI==e.jPb()&&null==m.hqa?(v=this.convert(this.eb().min()),p.groupGridLine=this.s5b(v,g,c,k)):null!=u&&(v=this.convert((m.oI+u.Vma)/2),p.groupGridLine=this.s5b(v,g,c,k)),this.Rrb().push(p),0==c&&l==d.length-1&&(w=new a.r5b(this,null,null),x=this.convert(this.eb().max()),w.groupGridLine=this.s5b(x,g,c,k),this.Rrb().push(w)))},d.prototype.dsb=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;if(!(d.length<=0))for(g=this.SH()!=a.AxisPosition.Far,h=this.D4b()[c],null==h&&(h=0),i=this.Prb.slice(c+1),j=0,0<i.length&&(j+=i.reduce(function(a,b){return a+b})),k=f+(g?j:-j),l=0;l<d.length;++l)m=d[l],this.dsb(b,c+1,m.oi,e,f),n=(m.oI+m.Vma)/2,c<e.groupLevels&&(o=""+m.Qb,p=new a.r5b(this,o,m),q=b.measureString(o,a.nRb.LabelClassName,this.HPa()),r=this.convert(n),s=k+(g?a.Ddb.Cdb:-a.Ddb.Cdb),t=new a.core.Point(r,s),g?p.Xvb(a.shapes.qwb.Twb(t,q,h*Math.PI/180)):p.Xvb(a.shapes.qwb.Uwb(t,q,h*Math.PI/180)),u=0<=l-1?d[l-1]:null,null==u&&m.oI==e.jPb()&&null==m.hqa?(v=this.convert(this.eb().min()),p.groupGridLine=this.t5b(v,g,c,k)):null!=u&&(v=this.convert((m.oI+u.Vma)/2),p.groupGridLine=this.t5b(v,g,c,k)),this.Rrb().push(p),0==c&&l==d.length-1&&(w=new a.r5b(this,null,null),x=this.convert(this.eb().max()),w.groupGridLine=this.t5b(x,g,c,k),this.Rrb().push(w)))},d.prototype.s5b=function(b,c,d,e){if(this.B4b()==a.TickMark.None)return null;var f=c?this.APa().right-e+this.Prb[d]:e-this.APa().left+this.Prb[d],g=c?this.n5b.right-this.APa().right:this.APa().left-this.n5b.left,h=null;return this.B4b()==a.TickMark.Outside?h=c?new a.Jbb(this.APa().right,b,f,0,Math.PI/2):new a.Jbb(this.APa().left,b,0,f,Math.PI/2):this.B4b()==a.TickMark.Inside?h=c?new a.Jbb(this.APa().right,b,0,g,Math.PI/2):new a.Jbb(this.APa().left,b,g,0,Math.PI/2):this.B4b()==a.TickMark.Cross&&(h=c?new a.Jbb(this.APa().right,b,f,g,Math.PI/2):new a.Jbb(this.APa().left,b,g,f,Math.PI/2)),h},d.prototype.t5b=function(b,c,d,e){if(this.B4b()==a.TickMark.None)return null;var f=c?e-this.APa().top+this.Prb[d]:this.APa().bottom-e+this.Prb[d],g=c?this.APa().top-this.n5b.top:this.n5b.bottom-this.APa().bottom,h=null;return this.B4b()==a.TickMark.Outside?h=c?new a.Jbb(b,this.APa().top,f,0,0):new a.Jbb(b,this.APa().bottom,0,f,0):this.B4b()==a.TickMark.Inside?h=c?new a.Jbb(b,this.APa().top,0,g,0):new a.Jbb(b,this.APa().bottom,g,0,0):this.B4b()==a.TickMark.Cross&&(h=c?new a.Jbb(b,this.APa().top,f,g,0):new a.Jbb(b,this.APa().bottom,g,f,0)),h},d.prototype.FJa=function(b){if(null!=this.Kb())return this.Kb();if(this.EJa().dataType==a.core.DataType.Date)return null;if(null==b)return Math.round(b)?"n0":"n";var c=b,d=this.Yrb(c);return 0<d?"n"+d:"n"},d.prototype.TQb=function(b,c,d){var e,f,g,h,i=d.LineCartesianCoordinateSystemContent;this._orientation()==a.Orientation.Vertical?this.APa(new a.core.Rect(c.left,c.top,c.height,c.width)):this.APa(c),null!=i&&(i.width<0&&(i.width=0),i.height<0&&(i.height=0),e=this.APa().left+this.offset.left,f=this.APa().width-(this.offset.left+this.offset.right),g=this.APa().top+this.offset.top,h=this.APa().height-(this.offset.top+this.offset.bottom),this.Rrb().length=0,this.h4b().length=0,this.i4b().length=0,this.o4b().length=0,this.q4b().length=0,this.n5b=i,this._orientation()==a.Orientation.Horizontal?this.eb().my([e,e+f]):this._orientation()==a.Orientation.Vertical&&this.eb().my([g+h,g]),c=this.APa().clone(),this.i5b(b,c,d),this.q5b(b,c,d),this.j5b(b,c,d),this.k5b(b,c,d),this.o5b(b,c,d),this.p5b(b,c,d),this.Xwb()!=a.OverlappingLabels.Show&&this.yJa(d))},d.prototype.u5b=function(b){var c,d,e=null;return b.beginTransform(),a.NQb.Jqb(b,this.VOa()),a.NQb.Z2b(b,this.PJa()),c=this.SH()==a.AxisPosition.Near,d=this._orientation()==a.Orientation.Vertical,0<b.strokeWidth&&"transparent"!=b.stroke&&"#00000000"!=b.stroke&&"rgba(0,0,0,0)"!=b.stroke&&(e=d?c?this.APa().right:this.APa().left:c?this.APa().top:this.APa().bottom),b.restoreTransform(),e},d.prototype.gsb=function(){return this.APa()},d.prototype.qsb=function(b,c){var d,e,f,g,h;this.aJa()&&(d=this._orientation()==a.Orientation.Vertical,e=this.SH()==a.AxisPosition.Near,b.beginTransform(),a.NQb.Jqb(b,this.VOa()),a.NQb.Z2b(b,this.PJa()),f=this._4b(),d?(g=e?this.APa().right-f/2:this.APa().left+f/2,b.drawLine(g,this.APa().top,g,this.APa().bottom)):(h=e?this.APa().top+f/2:this.APa().bottom-f/2,b.drawLine(this.APa().left,h,this.APa().right,h)),b.restoreTransform())},d.prototype.A4b=function(b,c){var d=this;b.beginTransform(),a.NQb.Jqb(b,this.E4b()),a.NQb.Z2b(b,this.C4b()),this.Rrb().forEach(function(c){c instanceof a.r5b&&d.v5b(b,c)}),b.restoreTransform()},d.prototype.v5b=function(b,c){this.B4b()!=a.TickMark.None&&c.groupGridLine&&(b.startGroup(a.nRb.TickGroupClassName,null),b.drawLine(c.groupGridLine.startPoint.x,c.groupGridLine.startPoint.y,c.groupGridLine.endPoint.x,c.groupGridLine.endPoint.y),b.endGroup())},d.prototype.w5b=function(b){this.x5b=this.y5b=this._orientation()==a.Orientation.Horizontal?.5*b.width:.5*b.height,this.z5b=this.A5b=this._orientation()==a.Orientation.Horizontal?.5*b.width:.5*b.height},d.prototype.B5b=function(){return this.y5b},d.prototype.C5b=function(){return this.A5b},d.prototype.D5b=function(){return this.x5b},d.prototype.E5b=function(){return this.z5b},d.prototype.$Ka=function(){return this.n5b},d);function d(a,c,d){var e=b.call(this,a,c,d)||this;return e.y5b=0,e.A5b=0,e.x5b=0,e.z5b=0,e.Prb=[],e}a.G8a=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.G8a,__extends(d,b),d.prototype.nSa=function(){var b=this.SH()==a.AxisPosition.Near,c=this.F5b(),d=this.APa().clone();return b||(d.top=d.bottom-c),d.height=d.height<c?d.height:c,new a.shapes.qwb(d.center.x,d.center.y,d.width,d.height,0)},d.prototype.F5b=function(){return this.I4b+this.Prb.reduce(function(a,b){return a+b},0)},d.prototype.o5b=function(b,c,d){var e=this.I4b+this.Prb.reduce(function(a,b){return a+b},0),f=this.SH()==a.AxisPosition.Near,g=this.APa().clone(),h=this.k4b().SIa(b,g.size);g.height-=e,c.height-=e+h.height,f?(g.top+=e,c.top+=e+h.height):g.top=this.APa().bottom-e-h.height,this.k4b()._R(b,g,d)},d.prototype.p5b=function(a,b,c){var d=b.clone();this.kfb()._R(a,d,c)},d.prototype.w5b=function(b){var c,d,e,f,g,h;if(this.Gua()){if(c=this.eb().RWb(),d=this.IKa(),null!=d)if(e=d*Math.PI/180,f=b.width,g=b.height,h=f*Math.abs(Math.cos(e))+g*Math.abs(Math.sin(e)),this.SH()==a.AxisPosition.Far){if(0<d)return this.y5b=.5*h,void(this.A5b=0==c?g:0);if(d<0)return this.y5b=0==c?g:0,void(this.A5b=.5*h)}else{if(0<d)return this.y5b=0==c?g:0,void(this.A5b=.5*h);if(d<0)return this.y5b=.5*h,void(this.A5b=0==c?g:0)}if(.5==c||-.5==c)return this.y5b=0,void(this.A5b=0);this.y5b=.5*b.width,this.A5b=.5*b.width}},d.prototype.gsb=function(){var a,b,c,d=this.APa().clone(),e=this.IKa(),f=this.GKa.width/2;return null!=e&&(a=e*Math.PI/180,b=this.GKa.width,c=this.GKa.height,f=b*Math.abs(Math.cos(a))+c*Math.abs(Math.sin(a))),d.left-=f,d.width+=2*f,d},d);function d(a,c,d){return b.call(this,a,c,d)||this}a.lsb=c}(dv=dv||{}),function(a){"use strict";var b=(c.prototype._R=function(b,c,d,e,f,g,h){var i,j=this,k=c.width,l=c.height,m=0,n=0,o=k,p=l,q=0,r=0,s=k,t=l,u=0,v=f[0],w=e[0],x=[],y=[],z=[],A=[];return f=f.filter(function(a){return a.d4b()}),e=e.filter(function(a){return a.d4b()}),f.forEach(function(c,d){var e,f,g,i,j,m,o,r=l/h,t=c.Z4b(k),v=new a.core.Size(t,r),w=c.h5b(b,v);c.my([w.height/2,r-w.height/2]),w=c.h5b(b,v),isNaN(c.Jsa())&&(0<r?(e=r/(w.height+6),c.XDa(e<1?1:e)):c.XDa(1)),f=c.SIa(b,v),g=c.IKa(),i=w.width,j=w.height,0!=g&&(m=g*Math.PI/180,j=w.width*Math.abs(Math.sin(m))+w.height*Math.abs(Math.cos(m)),i=w.width*Math.abs(Math.cos(m))+w.height*Math.abs(Math.sin(m))),c.GKa=new a.core.Size(i,j),c.w5b(w),null!=c.$4b(k)?f.height=c.$4b(k):f.height>t&&(f.height=t),u+=f.height,z[d]=new a.core.Size(l,f.height),o=c.getPosition(),o==a.Position.Left?(n=Math.max(n,c.D5b()),p=Math.min(p,l-c.E5b()),q+=f.height):o==a.Position.Right&&(n=Math.max(n,c.D5b()),p=Math.min(p,l-c.E5b()),s-=f.height)}),e.forEach(function(c,d){var e,f,h,i,j,n,p,q=k/g-u,s=c.X4b(l),v=new a.core.Size(q,s),w=c.h5b(b,v);c.my([w.width/2,q-w.width/2]),w=c.h5b(b,v),isNaN(c.Jsa())&&(0<q?(e=q/(w.width+6),c.XDa(e<1?1:e)):c.XDa(1)),f=c.SIa(b,v),c.EKa(b,q)&&(c.FKa=-45,f=c.SIa(b,v)),h=c.IKa(),i=w.width,j=w.height,0!=h&&(n=h*Math.PI/180,j=w.width*Math.abs(Math.sin(n))+w.height*Math.abs(Math.cos(n)),i=w.width*Math.abs(Math.cos(n))+w.height*Math.abs(Math.sin(n))),c.GKa=new a.core.Size(i,j),c.w5b(w),null!=c.Y4b(l)?f.height=c.Y4b(l):f.height>s&&(f.height=s),A[d]=new a.core.Size(k,f.height),p=c.getPosition(),p==a.Position.Bottom?(m=Math.max(m,c.B5b()),o=Math.min(o,k-c.C5b()),t-=f.height):p==a.Position.Top&&(m=Math.max(m,c.B5b()),o=Math.min(o,k-c.C5b()),r+=f.height)}),m=Math.max(m,q)+c.left,o=Math.min(o,s)+c.left,n=Math.max(n,r)+c.top,p=Math.min(p,t)+c.top,f.forEach(function(c,d){var e,f,g,h,i,j=p-n,k=z[d].height,l=new a.core.Size(k,j),m=c.h5b(b,l);c.my([m.height/2,j-m.height/2]),m=c.h5b(b,l),isNaN(c.Jsa())&&(0<j?(e=j/(m.height+6),c.XDa(e<1?1:e)):c.XDa(1)),c.SIa(b,l),f=c.IKa(),g=m.width,h=m.height,0!=f&&(i=f*Math.PI/180,h=m.width*Math.abs(Math.sin(i))+m.height*Math.abs(Math.cos(i)),g=m.width*Math.abs(Math.cos(i))+m.height*Math.abs(Math.sin(i))),c.GKa=new a.core.Size(g,h),c.w5b(m)}),k=Math.max(1,o-m),l=Math.max(1,p-n),f.forEach(function(a){var b=n+a.offset.top,c=b+l-(a.offset.top+a.offset.bottom);c=b+(c-b)/h,a.my([c,b])}),e.forEach(function(a){var b=m+a.offset.left,c=b+k-(a.offset.left+a.offset.right);c=b+(c-b)/g,a.my([b,c])}),f.forEach(function(b,c){var d,e,f=b.Wrb(),g=b.getPosition();x[c]=a.core.UOb.isNumber(f)&&w&&w.d4b()&&f>=w.KPa()&&f<=w.LPa(),x[c]&&(d=w.my(),e=j.G5b(w,f,g,z[c].height),g==a.Position.Left?(m-=e,d[0]-=e):g==a.Position.Right&&(o+=e,d[1]+=e),k+=e,w.my([d[0],d[1]]))}),e.forEach(function(b,c){var d,e,f=b.Wrb(),g=b.getPosition();y[c]=a.core.UOb.isNumber(f)&&v&&v.d4b()&&f>=v.KPa()&&f<=v.LPa(),y[c]&&(d=v.my(),e=j.G5b(v,f,g,A[c].height),g==a.Position.Top?(n-=e,d[1]-=e):g==a.Position.Bottom&&(p+=e,d[0]+=e),l+=e,v.my([d[0],d[1]]))}),i=new a.core.Rect(m,n,k,l),f.forEach(function(c,e){var f,g,j=c.Wrb(),k=c.getPosition(),n=z[e].height,p=i.left;x[e]?(g=w.Qb(j),k==a.Position.Left?(p=g-n,m+=Math.max(0,p-i.left)):k==a.Position.Right?(p=g,o+=Math.max(0,p+n-i.right)):n=1):k==a.Position.Left?p=m-=n:k==a.Position.Right?(p=o,o+=n):n=1,f=new a.core.Rect(p,i.top,l/h,n),d.LineCartesianCoordinateSystemContent=new a.core.Rect(i.left,i.top,i.width,i.height/h),c._R(b,f,d),delete d.LineCartesianCoordinateSystemContent}),e.forEach(function(c,e){var f,h,j=c.Wrb(),l=c.getPosition(),m=A[e].height,o=n;y[e]?(h=v.Qb(j),l==a.Position.Bottom?(o=h,p+=Math.max(0,o+m-i.bottom)):l==a.Position.Top?(o=h-m,n-=Math.max(0,i.top-o)):m=1):l==a.Position.Bottom?(o=p,p+=m):l==a.Position.Top?o=n-=m:m=1,f=new a.core.Rect(i.left,o,k/g,m),d.LineCartesianCoordinateSystemContent=new a.core.Rect(i.left,i.top,i.width/g,i.height),c._R(b,f,d),delete d.LineCartesianCoordinateSystemContent}),i},c.prototype.G5b=function(b,c,d,e){var f,g=b.Qb(c),h=b.my(),i=b._orientation()==a.Orientation.Horizontal?h[0]:h[1],j=b._orientation()==a.Orientation.Horizontal?h[1]:h[0],k=j-i,l=1,m=0;return d==a.Position.Left?(l=1-(g-i)/k,m=e-b.B5b()):d==a.Position.Right?(l=1-(j-g)/k,m=e-b.C5b()):d==a.Position.Top?(l=1-(g-i)/k,m=e-b.D5b()):d==a.Position.Bottom&&(l=1-(j-g)/k,m=e-b.E5b()),f=k*(Math.abs(l)<a.nRb.Precision?1:(1-l)/l),m<f&&(f=m),f},c);function c(){}a.H5b=b}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.pdb,__extends(d,b),Object.defineProperty(d.prototype,"type",{get:function(){return"Cartesian"},enumerable:!0,configurable:!0}),d.prototype.TQb=function(c,d,e){this.nsb(c,d,e),this.c4b();var f=this.Y3b(),g=this._3b(),h=f.zcb()?this.K3b():1,i=g.zcb()?this.M3b():1,j=new a.H5b,k=this.U3b(),l=this.V3b(),m=j._R(c,d,e,k,l,h,i);this.$Ka=new a.core.Rect(m.left,m.top,m.width/h,m.height/i),f.$b(),g.$b(),k.filter(function(a){return a.d4b()}).forEach(function(a){return f.Sb(a)}),l.filter(function(a){return a.d4b()}).forEach(function(a){return g.Sb(a)}),g._R(c,a.core.Rect.intersection(this.I5b(m),d),e),f._R(c,a.core.Rect.intersection(this.J5b(m),d),e),this.K5b(c),b.prototype.TQb.call(this,c,m,e)},d.prototype.K5b=function(a){var b=[],c=[],d=this.U3b(),e=this.V3b();e.forEach(function(b){c.push(b.u5b(a))}),d.forEach(function(c){b.push(c.u5b(a))}),e.forEach(function(a){a.h4b().forEach(function(a){var c=a.ssb().y;null!=c&&-1!=b.indexOf(c)&&a.bz(!1)}),a.i4b().forEach(function(a){var c=a.ssb().y;null!=c&&-1!=b.indexOf(c)&&a.bz(!1)})}),d.forEach(function(a){a.h4b().forEach(function(a){var b=a.ssb().x;null!=b&&-1!=c.indexOf(b)&&a.bz(!1)}),a.i4b().forEach(function(a){var b=a.ssb().x;null!=b&&-1!=c.indexOf(b)&&a.bz(!1)})})},d.prototype.Nbb=function(c,d){d.renderLabel||(c.beginTransform(),null!=this.plotRect&&(c.strokeWidth=0,this.QIa(c),null!=c.fill&&("string"!=typeof c.fill||"transparent"!=c.fill&&"none"!=c.fill)&&c.drawRect(this.plotRect.left,this.plotRect.top,this.plotRect.width,this.plotRect.height),a.NQb.iqb(c,"none"),this.Bwb(c),null!=c.strokeWidth&&0<c.strokeWidth&&c.drawRect(this.plotRect.left,this.plotRect.top,this.plotRect.width,this.plotRect.height)),c.restoreTransform()),this.osb(c,d),b.prototype.Nbb.call(this,c,d)},d.prototype.Vcb=function(b,c){return b==a.Orientation.Vertical?new a.msb(this,b,c):b==a.Orientation.Horizontal?new a.lsb(this,b,c):(a.ePb.dPb(!1),null)},d.prototype.I5b=function(b){var c,d,e=this._3b(),f=b.clone(),g=.5*e.GKa().height;return f.top-=g,f.height+=g,c=e.Fdb(a.AxisPosition.Near),c&&(f.left-=c.width,f.width+=c.width),d=e.Fdb(a.AxisPosition.Far),d&&(f.width+=d.width),f},d.prototype.J5b=function(b){var c,d=this.Y3b(),e=b.clone(),f=d.Fdb(a.AxisPosition.Near);return f&&(e.height+=f.height),c=d.Fdb(a.AxisPosition.Far),c&&(e.top-=c.height,e.height+=c.height),e},d.prototype.osb=function(a,b){this.Y3b().yl(a,b),this._3b().yl(a,b)},Object.defineProperty(d.prototype,"plotRect",{get:function(){return this.$Ka},enumerable:!0,configurable:!0}),d);function d(a,c){return b.call(this,a,c)||this}a.Cab=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.G8a,__extends(d,b),d.prototype.nSa=function(){var b=this.SH()==a.AxisPosition.Near,c=this.F5b(),d=this.APa().clone();return b&&(d.left=d.right-c),d.width=d.width<c?d.width:c,new a.shapes.qwb(d.center.x,d.center.y,d.width,d.height,0)},d.prototype.F5b=function(){return this.I4b+this.Prb.reduce(function(a,b){return a+b},0)},d.prototype.o5b=function(b,c,d){var e=this.I4b+this.Prb.reduce(function(a,b){return a+b},0),f=this.SH()==a.AxisPosition.Near,g=this.APa().clone(),h=this.k4b().SIa(b,new a.core.Size(g.height,g.width));g.width-=e,c.width-=e+h.height,f?g.left=g.right-h.height:(g.left+=e,c.left+=e+h.height),this.k4b()._R(b,g,d)},d.prototype.p5b=function(a,b,c){var d=b.clone();this.kfb()._R(a,d,c)},d.prototype.w5b=function(a){this.x5b=this.z5b=.5*a.height},d.prototype.gsb=function(){var a,b,c,d=this.APa().clone(),e=this.IKa(),f=this.GKa.height/2,g=0;return null!=e&&(a=e*Math.PI/180,b=this.GKa.width,c=this.GKa.height,f=b*Math.abs(Math.sin(a))+c*Math.abs(Math.cos(a)),g=b*Math.abs(Math.cos(a))+c*Math.abs(Math.sin(a))),d.top-=f,d.height+=2*f,d.width+=g/2,d},d);function d(a,c,d){return b.call(this,a,c,d)||this}a.msb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.W4b,__extends(d,b),d.prototype.U4b=function(){var b=this.Vo()<a.W4b.V4b?a.W4b.V4b:this.Vo();return new a.shapes.qwb((this.ssb().x+this.usb().x)/2,(this.ssb().y+this.usb().y)/2,Math.abs(this.ssb().x-this.usb().x),b,0)},d.prototype.yl=function(b,c){var d;b.beginTransform(),d=this.R4b()?(a.NQb.Jqb(b,this.IPa()),a.NQb.Z2b(b,this.LJa()),a.nRb.GridLineMajorClassName):(a.NQb.Jqb(b,this.JPa()),a.NQb.Z2b(b,this.MJa()),a.nRb.GridLineMinorClassName),b.startGroup(d,null),b.drawLine(this.ssb().x,this.ssb().y,this.usb().x,this.usb().y),b.endGroup(),b.restoreTransform()},d);function d(a){return b.call(this,a)||this}a.m5b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.W4b,__extends(d,b),d.prototype.U4b=function(){var b=this.Vo()<a.W4b.V4b?a.W4b.V4b:this.Vo();return new a.shapes.qwb((this.ssb().x+this.usb().x)/2,(this.ssb().y+this.usb().y)/2,b,Math.abs(this.ssb().y-this.usb().y),0)},d.prototype.yl=function(b,c){var d;b.beginTransform(),d=this.R4b()?(a.NQb.Jqb(b,this.IPa()),a.NQb.Z2b(b,this.LJa()),a.nRb.GridLineMajorClassName):(a.NQb.Jqb(b,this.JPa()),a.NQb.Z2b(b,this.MJa()),a.nRb.GridLineMinorClassName),b.startGroup(d,null),b.drawLine(this.ssb().x,this.ssb().y,this.usb().x,this.usb().y),b.endGroup(),b.restoreTransform()},d);function d(a){return b.call(this,a)||this}a.l5b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.udb,__extends(d,b),d.prototype.Nbb=function(c,d){var e=this.Xvb(),f=this.rdb().$z().overlappingLabels;f!=a.OverlappingLabels.Show&&this.wsb(d,e,f)||(this.Mdb(c,d),b.prototype.Nbb.call(this,c,d),d.axisLabels.push(e))},d.prototype.Mdb=function(b,c){b.beginTransform(),a.NQb.a3b(b,this.rdb().Wqa()),a.NQb.iqb(b,"none"),a.NQb.c3b(b,this.rdb().Wqa().backgroundColor);var d=this.Xvb(),e=[d.leftTop.x,d.rightTop.x,d.rightBottom.x,d.leftBottom.x],f=[d.leftTop.y,d.rightTop.y,d.rightBottom.y,d.leftBottom.y];b.drawPolygon(e,f),b.restoreTransform()},d.prototype.mr=function(c,d){var e,f=this.Xvb();return null!=f&&f.contains(c)?(e=new a.HitTestResult(c,this,this,a.ElementType.AxisLabel),null==d||null!=d&&d.predicate(e)?e:null):b.prototype.mr.call(this,c,d)},d);function d(a,c,d,e){return b.call(this,a,c,d,e)||this}a.$rb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.$rb,__extends(d,b),d.prototype.cb=function(){return this.BGa},d.prototype.relatedModels=function(){var a,b,c,d,e,f,g;for(a=[],b=this.cb()._items,c=0,d=this.rdb().zdb().nPa();c<d.length;c++)for(e=0,f=d[c].ggb();e<f.length;e++)g=f[e],0===g.aT().items.filter(function(a){return-1===b.indexOf(a)}).length&&a.push(g);return a},d.prototype.mr=function(c,d){if(null!=this.Xvb()&&this.Xvb().contains(c)){var e=new a.HitTestResult(c,this,this,a.ElementType.AxisLabel);return null==d||null!=d&&d.predicate(e)?e:null}return b.prototype.mr.call(this,c,d)},d);function d(a,c,d){var e=b.call(this,a,c,null,null==d?null:d.Qb)||this;return e.BGa=d,e}a.r5b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.vdb,__extends(d,b),d);function d(a){return b.call(this,a)||this}a.L5b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Trb,__extends(d,b),d.prototype.RIa=function(c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q;if(c.beginTransform(),this.GHa(c),this.rdb()._orientation()==a.Orientation.Vertical){for(f=this.Klb(),g=this.rdb().SH()==a.AxisPosition.Near?-90:90,h=new a.core.Point(d.left+.5*d.width,d.top+.5*d.height),d=new a.core.Rect(h.x-d.height/2,h.y-d.width/2,d.height,d.width),i=new a.core.Size(0,0),j=0,k=this.Jta();j<k.length;j++)null!=(o=k[j])&&0<o.length&&(l=c.measureMultipleStrings(o,d.width,f),i.height+=l.height);switch(this.ajb()){case a.VAlign.Top:break;case a.VAlign.Bottom:d.top=d.bottom-i.height;break;default:d.top=d.top+(d.height-i.height)/2}for(m=0,n=this.Jta();m<n.length;m++)if(null!=(o=n[m])&&0<o.length){switch(l=c.measureMultipleStrings(o,d.width,f),d.height=l.height,this._ib()){case a.HAlign.Left:c.startGroup(a.nRb.TitleClassName,null),c.drawMultipleStrings(o,d,a.HAlign.Left,f,null,g),c.endGroup();break;case a.HAlign.Right:c.startGroup(a.nRb.TitleClassName,null),c.drawMultipleStrings(o,d,a.HAlign.Right,f,null,g),c.endGroup();break;default:l.width<=d.width?(c.startGroup(a.nRb.TitleClassName,null),c.drawMultipleStrings(o,d,a.HAlign.Center,f,null,g),c.endGroup()):(p="axisTitleClip"+(1e5*Math.random()).toFixed(),q=new a.core.Rect(d.left+d.width/2-d.height/2,d.top+d.height/2-d.width/2,d.height,d.width),c.addClipRect(q,p),c.startGroup(a.nRb.TitleClassName,p),c.drawMultipleStrings(o,d,a.HAlign.Left,f,null,g),c.endGroup())}d.top+=l.height}}else b.prototype.RIa.call(this,c,d,e);c.restoreTransform()},d);function d(a){return b.call(this,a)||this}a._rb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.MIa,__extends(d,b),d.prototype.eb=function(){return this.rEa},d.prototype.$z=function(){return this.eAa},d.prototype.Kb=function(){return this.$z().format},d.prototype.beb=function(){return this.aeb},d.prototype.HPa=function(){return null},d.prototype.VOa=function(){return a.y3b.VOa()},d.prototype.hPa=function(){return a.y3b.VOa()},d.prototype.iPa=function(){return a.y3b.VOa()},d.prototype.wJa=function(){var b=this.$z();return a.core.UOb.isNullNumber(b.majorTickSize)?4:b.majorTickSize},d.prototype.xJa=function(){var b=this.$z();return a.core.UOb.isNullNumber(b.minorTickSize)?2:b.minorTickSize},d.prototype.TQb=function(c,d,e){var f,g,h,i,j,k,l,m,n;for(b.prototype.TQb.call(this,c,d,e),f=a.plugins.w1a.lPa("Default"),g=this.Kb(),h=this.$z(),c.beginTransform(),a.NQb.Jqb(c,this.hPa()),a.NQb.Z2b(c,h.majorTickStyle),i=this.eb(),j=0,k=i.ticks();j<k.length;j++)l=k[j],i.value(l),m=f.format(g,l),n=this.ceb(m,l),null!=n&&this.beb().push(n);c.restoreTransform()},d.prototype.Nbb=function(a,b){a.beginTransform();var c=this.HPa();null!=c&&0<c.length?(a.startGroup(this.HPa(),null),this.psb(a,b),a.endGroup()):this.psb(a,b),a.restoreTransform()},d.prototype.psb=function(a,b){},d.prototype.ceb=function(b,c){return new a.Ldb(this,b,c)},d);function d(a,c,d){var e=b.call(this,a)||this;return e.aeb=[],e.eAa=c,e.rEa=d,e}a.deb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.deb,__extends(d,b),d.prototype.o7a=function(){return this.u7a},d.prototype.bRa=function(){return this.x3b()},d.prototype.Kb=function(){var a=this.$z().format;return null!=a?a:this.o7a().N2a().format},d.prototype.HPa=function(){return a.nRb.AxisYClassName},d.prototype.eeb=function(a){return null},d.prototype.feb=function(){var b,c=this.eb(),e=this.o7a(),f=e.bw(),g=e.cw(),h=this.$z().min;null!=h&&h.type==a.ValueOptionType.Number&&(f=h.value),b=this.$z().max,null!=b&&b.type==a.ValueOptionType.Number&&(g=b.value),0<(f-=(g-f)*d.g5a)?c.d5a([f,g]):c.d5a([0,g])},d.g5a=.25,d);function d(c,d,e){var f=b.call(this,c,d,new a.f5a)||this;return f.u7a=e,f}a.geb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.MIa,__extends(d,b),d.prototype.zsa=function(){return this.mEa},d.prototype.p6=function(){return this.Hdb},d.prototype.Idb=function(a){return arguments.length<=0?this.Jdb:void(this.Jdb=a)},d.prototype.BPa=function(a){return arguments.length<=0?this.KMa:void(this.KMa=a)},d.prototype.Kdb=function(a){return arguments.length<=0?this.e8a:void(this.e8a=a)},d.prototype.rdb=function(){return this.x3b()},d.prototype.Nbb=function(b,c){var d=this.rdb().$z();d.labels&&(b.beginTransform(),a.NQb.Y2b(b,d.labelStyle),b.drawStringRotated(this.zsa(),this.Idb(),this.BPa(),this.Kdb()),b.restoreTransform())},d);function d(a,c,d){var e=b.call(this,a)||this;return e.e8a=0,e.mEa=c,e.Hdb=d,e}a.Ldb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.geb,__extends(d,b),d.prototype.SIa=function(b,c){return new a.core.Size(0,0)},d);function d(a,c,d){return b.call(this,a,c,d)||this}a.heb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.geb,__extends(d,b),d.prototype.eeb=function(b){var c,d,e=this.eb().value(b);return null==e||isNaN(e)?null:(c=this.ieb()*Math.PI/180,d=new a.core.Size(Math.cos(c),Math.sin(c)),new a.core.Point(this.center.x+e*d.width,this.center.y+e*d.height))},d.prototype.TQb=function(c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q,r;for(b.prototype.TQb.call(this,c,d,e),f=this.$z(),g=this.eb(),h=this.ieb()*Math.PI/180,i=new a.core.Size(Math.cos(h),Math.sin(h)),j=this.wJa(),k=j*i.height,l=j*i.width,c.beginTransform(),a.NQb.Jqb(c,this.hPa()),a.NQb.Z2b(c,f.majorTickStyle),m=0,n=this.beb();m<n.length;m++)o=n[m],p=g.value(o.p6()),q=c.measureString(o.zsa()),r=this.jeb(f,i,k,l,p,q),o.Idb(r.location),o.BPa(r.center),o.Kdb(r.degree);c.restoreTransform()},d.prototype.ieb=function(){var a=this.bRa().$z().config.startAngle+this.degree-180;return a<0?a=a%360+360:a%=360,a},d.prototype.feb=function(){b.prototype.feb.call(this),this.eb().my([0,this.radius])},d.prototype.psb=function(b,c){var d,e,f,g,h,i,j,k,l,m,n,o;for(this.$z(),d=this.ieb()*Math.PI/180,e=new a.core.Size(Math.cos(d),Math.sin(d)),this.qsb(b,e),f=this.wJa(),g=f*e.height,h=f*e.width,i=this.eb(),j=0,k=i.ticks();j<k.length;j++)l=k[j],m=i.value(l),this.leb(b,m,g,h,e);for(n=0,o=this.beb();n<o.length;n++)o[n].yl(b,c)},d.prototype.qsb=function(b,c){var d=this.$z();d.axisLine&&(b.beginTransform(),a.NQb.Jqb(b,this.VOa()),a.NQb.Z2b(b,d.lineStyle),b.drawLine(this.center.x,this.center.y,this.center.x+this.radius*c.width,this.center.y+this.radius*c.height),b.restoreTransform())},d.prototype.leb=function(b,c,d,e,f){var g,h=this.$z();h.majorTicks!=a.TickMark.None&&(b.beginTransform(),a.NQb.Jqb(b,this.hPa()),a.NQb.Z2b(b,h.majorTickStyle),g=this.meb(h,f,d,e,c),b.drawLine(g.start.x,g.start.y,g.end.x,g.end.y),b.restoreTransform())},d.prototype.neb=function(b,c,d){var e,f,g,h,i,j,k,l,m;d.option.labels&&(b.beginTransform(),a.NQb.Y2b(b,d.option.labelStyle),e=d.stringFormatting.format(this.Kb(),c),f=b.measureString(e),g=d.option.labelAngle,h=null!=g&&0<g.length?Math.round(g[0]):0,i=d.degree,0==h?(j=void 0,j=270<=i?(i-=270,new a.core.Point(d.location.x+f.width/2*d.labelSlope.height,d.location.y-f.width/2*d.labelSlope.width)):180<=i?(i-=180,new a.core.Point(d.location.x+f.height/2*d.labelSlope.height,d.location.y-f.height/2*d.labelSlope.width)):90<=i?(i-=90,new a.core.Point(d.location.x+f.width/2*d.labelSlope.height,d.location.y-f.width/2*d.labelSlope.width)):new a.core.Point(d.location.x+f.height/2*d.labelSlope.height,d.location.y-f.height/2*d.labelSlope.width),b.drawStringRotated(e,new a.core.Point(j.x-f.width/2,j.y+f.height/2),j,i)):(0<h?i+=h:i=i+180+h,k=d.angle-Math.PI/2,l=f.height*Math.cos(h*Math.PI/180)/2*Math.cos(k),m=f.height*Math.cos(h*Math.PI/180)/2*Math.sin(k),j=new a.core.Point(d.location.x+l,d.location.y+m),i-=180,Math.cos(i*Math.PI/180),b.drawStringRotated(e,new a.core.Point(j.x,j.y+f.height/2),j,i)),b.restoreTransform())},d.prototype.meb=function(b,c,d,e,f){var g=new a.core.Point(this.center.x+f*c.width,this.center.y+f*c.height);return b.majorTicks==a.TickMark.Cross?{start:new a.core.Point(g.x+d/2,g.y-e/2),end:new a.core.Point(g.x-d/2,g.y+e/2)}:b.majorTicks==a.TickMark.Outside?{start:new a.core.Point(g.x+d,g.y-e),end:g}:b.majorTicks==a.TickMark.Inside?{start:g,end:new a.core.Point(g.x-d,g.y+e)}:{start:g,end:g}},d.prototype.jeb=function(b,c,d,e,f,g){var h,i,j,k=this.meb(b,c,d,e,f).start,l=b.labelAngle,m=null!=l&&0<l.length?Math.round(l[0]):0,n=this.ieb();return 0==m?(h=void 0,h=270<=n?(n-=270,new a.core.Point(k.x+g.width/2*c.height,k.y-g.width/2*c.width)):180<=n?(n-=180,new a.core.Point(k.x+g.height/2*c.height,k.y-g.height/2*c.width)):90<=n?(n-=90,new a.core.Point(k.x+g.width/2*c.height,k.y-g.width/2*c.width)):new a.core.Point(k.x+g.height/2*c.height,k.y-g.height/2*c.width),{location:new a.core.Point(h.x-g.width/2,h.y+g.height/2),center:h,degree:n}):(0<m?n+=m:n=n+180+m,i=g.height*Math.cos(m*Math.PI/180)/2*Math.cos(n*Math.PI/180-Math.PI/2),j=g.height*Math.cos(m*Math.PI/180)/2*Math.sin(n*Math.PI/180-Math.PI/2),h=new a.core.Point(k.x+i,k.y+j),n<0?n=n%360+360:n%=360,270<n||!(180<n||90<n)?{location:new a.core.Point(h.x,h.y+g.height/2),center:h,degree:n}:{location:new a.core.Point(h.x,h.y+g.height/2),center:h,degree:n-180})},d);function d(a,c,d){return b.call(this,a,c,d)||this}a.oeb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Ddb,__extends(d,b),d.prototype.hsb=function(a){return arguments.length<=0?180*this.$Fa/Math.PI:void(this.$Fa=a*Math.PI/180)},d.prototype.MPa=function(){return this.$Fa+3*Math.PI/2},d.prototype.RMa=function(a){return arguments.length<=0?this.Meb:void(this.Meb!=a&&(this.Meb=a))},d.prototype.M5b=function(a){return arguments.length<=0?this.N5b:void(this.N5b!=a&&(this.N5b=a))},d.prototype.nSa=function(){var b=this.MPa(),c=(1-this.innerRadius)*this.radius,d=this.F5b(),e=this.cx+Math.cos(b)*(this.radius-c/2)+Math.sin(b)*d/2,f=this.cy+Math.sin(b)*(this.radius-c/2)-Math.cos(b)*d/2;return new a.shapes.qwb(e,f,c,d,b)},d.prototype.F5b=function(){var b=this.IKa(),c=Math.PI+(isNaN(b)?0:b*Math.PI/180),d=this.AJa(this.Adb(),this.wJa()),e=this.AJa(this.Bdb(),this.xJa()),f=this.sJa().padding,g=f.isEmpty()?a.Ddb.Cdb:f.top;return this.GKa.width*Math.abs(Math.sin(c))+this.GKa.height*Math.abs(Math.cos(c))+(Math.max(d,e)+g)},Object.defineProperty(d.prototype,"cx",{get:function(){return this.wPa},set:function(a){this.wPa=a},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"cy",{get:function(){return this.xPa},set:function(a){this.xPa=a},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"innerRadius",{get:function(){return this.NPa},set:function(a){this.NPa=a},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"radius",{get:function(){return this.CPa},set:function(a){this.CPa=a},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"sweep",{get:function(){return this.DPa},set:function(a){this.DPa=a},enumerable:!0,configurable:!0}),d.prototype.Zrb=function(){var a,b,c,d,e,f,g,h,i;for(a=[],b=this.eb(),c=this.EJa(),d=0,e=b.ticks();d<e.length;d++)f=e[d],g=c.labelFromValue(f,b.format()),h=c.itemValue(f),i=this.Urb(g,f,h),null!=i&&a.push(i);return a},d.prototype.Qrb=function(){return new a.isb(this)},d.prototype.Urb=function(b,c,d){return new a.jsb(this,b,c,d)},d.prototype.OPa=function(a){return arguments.length<=0?this.O5b:void(this.O5b=a)},d.prototype.FJa=function(b){if(null!=this.Kb())return this.Kb();if(this.EJa().dataType==a.core.DataType.Date)return null;if(null==b)return Math.round(b)?"n0":"n";var c=b,d=this.Yrb(c);return 0<d?"n"+d:"n"},d.prototype.getPosition=function(){return this.SH()==a.AxisPosition.None?a.Position.None:this._orientation()==a.Orientation.Horizontal?this.SH()==a.AxisPosition.Near?a.Position.Bottom:a.Position.Top:this._orientation()==a.Orientation.Vertical?this.SH()==a.AxisPosition.Near?a.Position.Left:a.Position.Right:a.Position.None},d.prototype.yJa=function(a){var b,c,d,e,f,g,h;for(b=this.Rrb(),c=b.length,d=0;d<c;++d)if(e=b[d],e&&e.bz())for(f=d+1;f<c&&(g=b[f],g&&e.Xvb().intersectsWith(g.Xvb()));++f)g.bz(!1);for(2<=c&&b[0].Xvb().intersectsWith(b[c-1].Xvb())&&b[c-1].bz(!1),d=0;d<b.length;++d)h=b[d],h&&h.bz()&&null!=h.Xvb()&&h.wsb(a,h.Xvb(),this.Xwb())&&h.bz(!1)},d.prototype.Srb=function(){b.prototype.Srb.call(this);var a=(this.eb().max()-this.eb().min())/this.eb().tickNumber();isNaN(this.eb().Jsa())||(a=this.eb().Jsa()),this.eb().format(this.FJa(a)),this.eb().WDa(this.$z().reversed)},d.prototype._4b=function(){if(this.$z().axisLine){var a=this.$z().lineStyle.strokeWidth;if(!isNaN(a)&&1<a)return a}return 0},d.prototype.SIa=function(b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p;return b.beginTransform(),a.NQb.a3b(b,this.Wqa()),a.NQb.n0b(b,this.uIa()),b.beginTransform(),a.NQb.Y2b(b,this.sJa()),d=this.IKa(),e=new a.core.Size(0,0),f=this.bsb(b),
- this.Gua()?(f.width,g=f.height,d&&(h=d*Math.PI/180,i=f.width,j=f.height,g=i*Math.abs(Math.sin(h))+j*Math.abs(Math.cos(h)),Math.abs(Math.cos(h)),Math.abs(Math.sin(h))),e.height+=g,this.I4b=g):this.I4b=0,e.height+=this._4b(),k=Math.max(this.AJa(this.Adb(),this.wJa()),this.AJa(this.Bdb(),this.xJa())),e.height+=k,this.I4b+=k,b.restoreTransform(),b.beginTransform(),a.NQb.Y2b(b,this.cJa()),l=this.kfb().SIa(b,c).size,e.height+=l.height,b.restoreTransform(),m=this.cJa().padding,n=this.sJa().padding,o=m.isEmpty()?2*a.Ddb.Cdb:m.top+m.bottom,p=n.isEmpty()?2*a.Ddb.Cdb:n.top+n.bottom,0!=l.height&&(e.height+=o),this.Gua()&&0!=this.I4b&&(e.height+=p,this.I4b+=p),b.restoreTransform(),this.GKa=f,this.SH()==a.AxisPosition.None?new a.core.Size(0,0):e},d.prototype.h5b=function(b){b.beginTransform(),a.NQb.a3b(b,this.$z().style),a.NQb.n0b(b,this.uIa()),a.NQb.Y2b(b,this.sJa());var c=this.bsb(b);return b.restoreTransform(),c},d.prototype.TQb=function(b,c,d){this.APa(c),this.Rrb().length=0,this.h4b().length=0,this.i4b().length=0,this.o4b().length=0,this.q4b().length=0,this.i5b(b,c,d),this.j5b(b,c,d),this.k5b(b,c,d),this.p5b(b,c,d),this.Xwb()!=a.OverlappingLabels.Show&&this.yJa(d)},d.prototype.i5b=function(b,c,d){var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u=this;if(this.$z().position!=a.AxisPosition.None){for(b.beginTransform(),a.NQb.n0b(b,this.uIa()),a.NQb.Y2b(b,this.sJa()),e=this.Zrb(),f=this.MPa(),null!=this.RMa()&&(f=this.RMa()),g=this.IKa(),h=this.SH()==a.AxisPosition.Near,i=this.AJa(this.Adb(),this.wJa()),j=this.AJa(this.Bdb(),this.xJa()),k=Math.max(i,j),l=this.sJa().padding,m=this._4b(),n=this._orientation()==a.Orientation.Horizontal,o=h?this.radius:this.innerRadius*this.radius,null!=this.M5b()&&(o=this.M5b()),p=h?o+m:o-m,p<0&&(p=0),q=function(c){var d,e,i,j,o,q,s,t,v,w,x,y,z,A,B,C,D=c.SIa(b,null);r.Gua()||(D.width=0,D.height=0),d=c.p6(),n?(e=r.eb().value(d+r.OPa()),i=Math.cos(f)*e+r.cx,j=Math.sin(f)*e+r.cy,o=l.isEmpty()?a.Ddb.Cdb:l.top,q=Math.PI+(isNaN(g)?0:g*Math.PI/180),s=D.width/2*Math.abs(Math.sin(q))+D.height/2*Math.abs(Math.cos(q)),t=i+Math.sin(f)*(k+o+s+m),v=j-Math.cos(f)*(k+o+s+m),c.Xvb(new a.shapes.qwb(t,v,D.width,D.height,f-Math.PI+(isNaN(g)?0:g*Math.PI/180)+(isNaN(g)?Math.PI/2:0)))):(w=r.eb().value(d),o=l.isEmpty()?a.Ddb.Cdb:l.bottom,t=r.cx+Math.cos(w)*(p+k+o),v=r.cy+Math.sin(w)*(p+k+o),h||(t=r.cx+Math.cos(w)*(p-k-o),v=r.cy+Math.sin(w)*(p-k-o)),x=new a.shapes.qwb(t,v,D.width,D.height,g*Math.PI/180),y=[x.leftTop,x.rightTop,x.rightBottom,x.leftBottom],z=y.map(function(b){return u.getProjectivePoint(b,a.TOb.toFixed(Math.tan(w%(2*Math.PI)),2,!1),u.cx,u.cy)}).map(function(a){return u.getDistance(a,u.cx,u.cy)}),A=Math.min.apply(Math,z),B=z.indexOf(A),C=z.lastIndexOf(A),h?(t+=t-(B==C?y[B].x:(y[B].x+y[C].x)/2),v+=v-(B==C?y[B].y:(y[B].y+y[C].y)/2)):(t-=t-(B==C?y[B].x:(y[B].x+y[C].x)/2),v-=v-(B==C?y[B].y:(y[B].y+y[C].y)/2)),c.Xvb(new a.shapes.qwb(t,v,D.width,D.height,g*Math.PI/180))),r.Rrb().push(c)},r=this,s=0,t=e;s<t.length;s++)q(t[s]);b.restoreTransform()}},d.prototype.j5b=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,F,G,H,I,J,K,L;if(this.$z().position!=a.AxisPosition.None)for(e=this.MPa(),null!=this.RMa()&&(e=this.RMa()),f=this.SH()==a.AxisPosition.Near,g=this._orientation()==a.Orientation.Horizontal,h=this.AJa(this.Adb(),this.wJa()),i=this.AJa(this.Bdb(),this.xJa()),j=this.wJa(),k=this.xJa(),l=this._4b(),m=f?this.radius:this.innerRadius*this.radius,null!=this.M5b()&&(m=this.M5b()),n=f?m+l:m-l,n<0&&(n=0),o=NaN,p=this.EJa().dataType==a.core.DataType.Date&&this.eb()instanceof a.H8a?1e3*a.hEa.fromDays(this.Ksa()).TotalSeconds:this.Ksa(),this.eb().Ksa(p),q=this.eb().ticks(),r=0;q&&r<q.length;++r)if(s=q[r],t=r>=q.length-1?NaN:q[r+1],u=this.u4b(),this.o4b().push(u),v=p,(null==v||isNaN(v))&&(null==(v=(t-s)/2)||isNaN(v))||this.eb().Ksa(v),isNaN(o)&&(o=s+v),g)for(w=this.eb().value(s+this.OPa()),x=Math.cos(e)*w+this.cx,y=Math.sin(e)*w+this.cy,z=Math.cos(e)*w+this.cx+Math.sin(e)*l,A=Math.sin(e)*w+this.cy-Math.cos(e)*l,u.N4b(new a.Jbb(z,A,j-h,h,e));o<t;)B=this.eb().value(o+this.OPa()),C=Math.cos(e)*B+this.cx,D=Math.sin(e)*B+this.cy,o+=v,(C!=x||D!=y)&&(E=this.u4b(),F=Math.cos(e)*B+this.cx+Math.sin(e)*l,G=Math.sin(e)*B+this.cy-Math.cos(e)*l,E.N4b(new a.Jbb(F,G,k-i,i,e)),this.q4b().push(E));else{for(H=this.eb().value(s),x=this.cx+Math.cos(H)*n,y=this.cy+Math.sin(H)*n,f?u.N4b(new a.Jbb(x,y,h,j-h,H-Math.PI/2)):u.N4b(new a.Jbb(x,y,j-h,h,H-Math.PI/2)),I=this.P5b(o,s,t,v,i,x,y,n),J=0,K=I.minorLines;J<K.length;J++)L=K[J],(E=this.u4b()).N4b(L),this.q4b().push(E);o=I.minorValue}},d.prototype.P5b=function(b,c,d,e,f,g,h,i){var j,k,l,m,n,o,p;for(j=[],k=this.xJa(),l=this.SH()==a.AxisPosition.Far;b<d;)m=this.eb().value(b),n=this.cx+Math.cos(m)*i,o=this.cy+Math.sin(m)*i,b+=e,(n!=g||o!=h)&&(p=l?new a.Jbb(n,o,k-f,f,m-Math.PI/2):new a.Jbb(n,o,f,k-f,m-Math.PI/2),j.push(p));return{minorValue:b,minorLines:j}},d.prototype.k5b=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,F,G,H,I,J,K,L;if(this.$z().position!=a.AxisPosition.None)for(e=this.MPa(),null!=this.RMa()&&(e=this.RMa()),f=this.SH()==a.AxisPosition.Near,g=this._orientation()==a.Orientation.Horizontal,h=this.AJa(this.Bdb(),this.xJa()),i=f?this.radius:this.innerRadius*this.radius,null!=this.M5b()&&(i=this.M5b()),j=NaN,k=this.EJa().dataType==a.core.DataType.Date&&this.eb()instanceof a.H8a?1e3*a.hEa.fromDays(this.Ksa()).TotalSeconds:this.Ksa(),this.eb().Ksa(k),l=this.eb().ticks(),m=0;l&&m<l.length;++m)if(n=l[m],o=m>=l.length-1?NaN:l[m+1],p=k,(null==p||isNaN(p))&&(null==(p=(o-n)/2)||isNaN(p))||this.eb().Ksa(p),isNaN(j)&&(j=n+p),g)for(q=this.eb().value(n+this.OPa()),r=Math.cos(e)*q+this.cx,s=Math.sin(e)*q+this.cy,this.qJa()&&((C=new a.Q5b(this)).R4b(!0),this.h4b().push(C),t=C.LJa().strokeWidth|C.IPa().strokeWidth,u=Math.sqrt(Math.pow(r-this.cx,2)+Math.pow(s-this.cy,2)),v=isNaN(this.sweep)?2*Math.PI:this.sweep,C.BPa(new a.core.Point(this.cx,this.cy)),C.CPa(u),C.Vo(t),C.MPa(e),C.R5b(v));j<o;)w=this.eb().value(j+this.OPa()),x=Math.cos(e)*w+this.cx,y=Math.sin(e)*w+this.cy,j+=p,x==r&&y==s||!this._Ia()||(z=(K=new a.Q5b(this)).MJa().strokeWidth|K.JPa().strokeWidth,A=Math.sqrt(Math.pow(x-this.cx,2)+Math.pow(y-this.cy,2)),v=isNaN(this.sweep)?2*Math.PI:this.sweep,K.BPa(new a.core.Point(this.cx,this.cy)),K.CPa(A),K.Vo(z),K.MPa(e),K.R5b(v),K.R4b(!1),this.i4b().push(K));else if(B=this.eb().value(n),r=this.cx+Math.cos(B)*i,s=this.cy+Math.sin(B)*i,this.qJa()&&((C=new a.S5b(this)).R4b(!0),this.h4b().push(C),t=C.LJa().strokeWidth|C.IPa().strokeWidth,D=this.cx-Math.sin(B-Math.PI/2)*this.radius,E=this.cy+Math.cos(B-Math.PI/2)*this.radius,F=this.cx-Math.sin(B-Math.PI/2)*this.innerRadius*this.radius,G=this.cy+Math.cos(B-Math.PI/2)*this.innerRadius*this.radius,C.ssb(new a.core.Point(F,G)),C.usb(new a.core.Point(D,E)),C.Vo(t),C.FIa(B-Math.PI/2)),H=this.P5b(j,n,o,p,h,r,s,i),this._Ia()){for(I=0,J=H.minorLines;I<J.length;I++)L=J[I],z=(K=new a.S5b(this)).MJa().strokeWidth|K.JPa().strokeWidth,D=this.cx-Math.sin(L.angle)*this.radius,E=this.cy+Math.cos(L.angle)*this.radius,F=this.cx-Math.sin(L.angle)*this.innerRadius*this.radius,G=this.cy+Math.cos(L.angle)*this.innerRadius*this.radius,K.ssb(new a.core.Point(F,G)),K.usb(new a.core.Point(D,E)),K.Vo(z),K.FIa(L.angle),K.R4b(!1),this.i4b().push(K);j=H.minorValue}},d.prototype.p5b=function(a,b,c){this.kfb()._R(a,this.APa(),c)},d.prototype.T5b=function(b){this.Rrb().forEach(function(a){a.bz()&&b.layoutShapes.push(a.Xvb())}),this._orientation()==a.Orientation.Horizontal&&b.layoutShapes.push(this.kfb().nSa())},d.prototype.bsb=function(b){var c,d,e,f,g;for(b.beginTransform(),a.NQb.n0b(b,this.uIa()),a.NQb.Y2b(b,this.sJa()),c=new a.core.Size(0,0),d=0;d<this.eb().ticks().length;++d)e=this.eb().ticks()[d],f=this.EJa().labelFromValue(e,this.eb().format()),g=b.measureString(f,a.nRb.LabelClassName,this.HPa()),c.width<g.width&&(c.width=g.width),c.height<g.height&&(c.height=g.height);return b.restoreTransform(),c},d.prototype.getProjectivePoint=function(b,c,d,e){var f=new a.core.Point(0,0);return 0==c?(f.x=b.x,f.y=b.y):(f.x=(c*d+b.x/c+b.y-e)/(1/c+c),f.y=-1/c*(f.x-b.x)+b.y),f.x=a.TOb.toFixed(f.x,4,!1),f.y=a.TOb.toFixed(f.y,4,!1),f},d.prototype.getDistance=function(b,c,d){return a.TOb.toFixed(Math.sqrt((b.x-c)*(b.x-c)+(b.y-d)*(b.y-d)),2,!1)},d.prototype.qsb=function(b,c){var d,e,f,g,h,i,j;this.aJa()&&(d=this.MPa(),b.beginTransform(),a.NQb.Y2b(b,this.cJa()),e=this._4b(),this._orientation()==a.Orientation.Horizontal?(null!=this.RMa()&&(d=this.RMa()),f=this.cx+Math.sin(d)*e/2+Math.cos(d)*this.radius,g=this.cy-Math.cos(d)*e/2+Math.sin(d)*this.radius,h=this.cx+Math.sin(d)*e/2+Math.cos(d)*this.innerRadius*this.radius,i=this.cy-Math.cos(d)*e/2+Math.sin(d)*this.innerRadius*this.radius,b.beginTransform(),a.NQb.Jqb(b,this.VOa()),a.NQb.Z2b(b,this.PJa()),b.drawLine(h,i,f,g),b.restoreTransform()):(j=this.SH()===a.AxisPosition.Far?this.radius*this.innerRadius-e/2:this.radius+e/2,j<0&&(j=0),null!=this.M5b()&&(j=this.M5b()+e/2),b.beginTransform(),a.NQb.Jqb(b,this.VOa()),a.NQb.Z2b(b,this.PJa()),b.drawDonutSegment(this.cx,this.cy,j,j,d,this.sweep,null,{fill:"none"}),b.restoreTransform()),b.restoreTransform())},d.prototype.LKa=function(a,b,c){var d,e,f,g,h=a?c.height:c.width,i=b,j=this.IKa();return j&&(d=j*Math.PI/180,e=c.width,f=c.height,h=a?e*Math.abs(Math.sin(d))+f*Math.abs(Math.cos(d)):e*Math.abs(Math.cos(d))+f*Math.abs(Math.sin(d))),0<h&&0<i?(g=Math.floor(i/(h+6)),g<=0&&(g=1),g):10},d);function d(a,c,d){var e=b.call(this,a,c,d)||this;return e.fLa=0,e.O5b=0,e.$Fa=0,e.DPa=2*Math.PI,e.NPa=0,e}a.qeb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.qeb,__extends(d,b),d);function d(a,c,d){return b.call(this,a,c,d)||this}a.U5b=c}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.V5b=function(b,c,d){var e,f,g,h,i=[];return b.forEach(function(b){var e,f,g,h,j,k,l,m,n,o,p;for(e=b.MPa(),f=a.TOb.toFixed(e+b.sweep,16,!0),g=[],h=Math.ceil(e/(Math.PI/2))*(Math.PI/2);h<f;h+=Math.PI/2)g.push(a.TOb.toFixed(h,16,!0));for(g.indexOf(e)<0&&g.push(e),g.indexOf(f)<0&&g.push(f),j=b.innerRadius*d,k=0,l=g;k<l.length;k++)h=l[k],m=Math.cos(h),n=Math.sin(h),o=c.clone(),o.x+=d*m,o.y+=d*n,i.push(o),p=c.clone(),p.x+=j*m,p.y+=j*n,i.push(p)}),e=NaN,f=NaN,g=NaN,h=NaN,i.forEach(function(a){e=isNaN(e)?a.x:Math.min(a.x,e),g=isNaN(g)?a.x:Math.max(a.x,g),f=isNaN(f)?a.y:Math.min(a.y,f),h=isNaN(h)?a.y:Math.max(a.y,h)}),new a.core.Rect(e,f,g-e,h-f)},c.prototype.W5b=function(b,c,d,e,f,g,h,i,j){var k,l,m,n=h[0],o=g[0];return h.forEach(function(a){var b=a.MPa(),c=b+a.sweep;a.my([b,c])}),g.forEach(function(a){a.my([a.innerRadius*f,f])}),h.forEach(function(b,c){var d,e=b.Wrb();a.core.UOb.isNumber(e)&&e>=o.KPa()&&e<=o.LPa()&&(d=o.Qb(e+(null!=o?o.OPa():0)),b.M5b(d))}),g.forEach(function(b,c){var d,e=b.Wrb();a.core.UOb.isNumber(e)&&e>=n.KPa()&&e<=n.LPa()&&(d=n.Qb(e),b.RMa(d))}),k=0,h.forEach(function(d,e){var f,g=new a.core.Size(c.width,c.height);d.H4b()||(f=d.h5b(b),d.XDa(d.LKa(!0,g.height,f))),d.SH()!=a.AxisPosition.None&&(d.SIa(b,g),k=d.I4b)}),g.forEach(function(d){var e,g,h;d.SH()!=a.AxisPosition.None&&(e=new a.core.Size(c.width,c.height-k),d.SIa(b,e)),d.H4b()||(g=d.h5b(b),h=2*(k+f),d.XDa(d.LKa(!1,h,g)))}),d.layoutShapes=[],l=this.V5b(h,e,f),h.forEach(function(a,c){a.radius=f,a.cx=e.x,a.cy=e.y,a._R(b,l,d),a.T5b(d)}),g.forEach(function(a){a.radius=f,a.cx=e.x,a.cy=e.y,a._R(b,l,d),d.ignoreWrap=!0,a.kfb()._R(b,l,d),delete d.ignoreWrap,a.T5b(d)}),i.forEach(function(a){a.BPa(e.clone())}),j._R(b,c,d),i.forEach(function(a){a.T5b(d)}),m=l.clone(),d.layoutShapes.forEach(function(b){var c=Math.min(b.leftTop.x,b.rightBottom.x,b.rightBottom.x,b.leftBottom.x),d=Math.max(b.leftTop.x,b.rightBottom.x,b.rightBottom.x,b.leftBottom.x),e=Math.min(b.leftTop.y,b.rightBottom.y,b.rightBottom.y,b.leftBottom.y),f=Math.max(b.leftTop.y,b.rightBottom.y,b.rightBottom.y,b.leftBottom.y);m=a.core.Rect.union(m,new a.core.Rect(c,e,d-c,f-e))}),delete d.layoutShapes,m},c.prototype.X5b=function(a,b,c,d,e,f,g,h,i,j){for(var k=e,l=null,m=e,n=f;m<=n;)if(k=(n-m)/2+m,(l=this.W5b(a,b,c,d,k,g,h,i,j)).width>b.width||l.height>b.height)n=k-.1;else{if(!(l.width<b.width&&l.height<b.height))break;m=k+.1}return{radius:k,shape:l}},c.prototype.Y5b=function(a,b,c,d,e){var f,g=Math.abs(b+c);return b>Math.abs(c)?a.x-=.5*g:a.x+=.5*g,f=Math.abs(d+e),d>Math.abs(e)?a.y-=.5*f:a.y+=.5*f,a},c.prototype.layout=function(b,c,d,e,f,g,h,i,j){var k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A=new a.core.Rect(c.left,c.top,c.width/g,c.height/h);return f=f.filter(function(a){return a.d4b()}),e=e.filter(function(a){return a.d4b()}),k=0,l=[],m=[],f.forEach(function(c,d){if(l[d]=0,m[d]=0,c.SH()!=a.AxisPosition.None){var e=new a.core.Size(A.width,A.height),f=c.SIa(b,e);m[d]+=f.height,l[d]+=f.height-c.I4b-c._4b(),k+=l[d]}}),n=A.clone(),n.height-=k,o=new a.core.Point(c.left+c.width/2,c.top+c.height/2),p=1e3,q=this.V5b(f,o,p),r=Math.min(n.width/q.width,n.height/q.height)*p,s=this.X5b(b,n,d,o,0,r,e,f,i,j),p=s.radius,null!=s.shape&&(o=new a.core.Point(o.x-s.shape.left,o.y-s.shape.top),t=this.W5b(b,n,d,o,p,e,f,i,j),null!=t&&(u=t.left-n.left,v=t.right-n.right,w=t.top-n.top,x=t.bottom-n.bottom,o=this.Y5b(o,u,v,w,x))),y=A.clone(),z=0,f.forEach(function(a,c){p-=z,a.radius=p,a.cx=o.x,a.cy=o.y,a._R(b,y,d),a.kfb()._R(b,y,d),z+=m[c],y.height-=l[c]}),e.forEach(function(a,c){a.my([a.innerRadius*p,p]),a.radius=p,a.cx=o.x,a.cy=o.y,a._R(b,y,d),a.kfb()._R(b,y,d)}),o},c);function c(){}a.Q1b=b}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.pdb,__extends(d,b),Object.defineProperty(d.prototype,"type",{get:function(){return"Radial"},enumerable:!0,configurable:!0}),d.prototype.Z5b=function(){var a,b,c,d,e,f,g=this.q4a().$z().queryInterface("IPlotAreaCustomOption");if(null!=g)for(a=0,b=this.nPa();a<b.length;a++)for(c=b[a],d=0,e=g.coordinateSystems;d<e.length;d++)if(f=e[d],0<=f.plots.indexOf(c.name))return f.layoutMode;return"Radial"},d.prototype.TQb=function(c,d,e){var f,g,h,i,j,k,l,m,n;this.nsb(c,d,e),this.c4b(),f=this.Y3b(),g=this._3b(),h=f.zcb()?this.K3b():1,i=g.zcb()?this.M3b():1,j=this.Z5b(),k=a.plugins.RadialCoordinateSystemLayoutPlugin.T1b(j),null!=(k=null!=k?k:a.plugins.RadialCoordinateSystemLayoutPlugin.T1b("Radial"))&&(l=k.create(),m=this.U3b(),n=this.V3b(),this.BPa=l.layout(c,d,e,m,n,h,i,this.nPa(),this.Qcb())),f.$b(),g.$b(),this.U3b().filter(function(a){return a.d4b()}).forEach(function(a){return f.Sb(a)}),this.V3b().filter(function(a){return a.d4b()}).forEach(function(a){return g.Sb(a)}),g._R(c,d,e),f._R(c,d,e),b.prototype.TQb.call(this,c,d,e)},d.prototype.Rcb=function(a,c,d){var e=this;this.nPa().forEach(function(a){a.BPa(e.BPa)}),b.prototype.Rcb.call(this,a,c,d)},d.prototype.Nbb=function(a,c){this.$5b(a,c),this.Y3b().yl(a,c),this._3b().yl(a,c),b.prototype.Nbb.call(this,a,c)},d.prototype.$5b=function(b,c){var d,e,f,g,h;if(!c.renderLabel){if(b.beginTransform(),b.strokeWidth=0,this.QIa(b),null!=b.fill&&("string"!=typeof b.fill||"transparent"!=b.fill&&"none"!=b.fill))for(d=0,e=this.V3b();d<e.length;d++)f=e[d],this._5b(b,f);if(a.NQb.iqb(b,"none"),this.Bwb(b),null!=b.strokeWidth&&0<b.strokeWidth)for(g=0,h=this.V3b();g<h.length;g++)f=h[g],this._5b(b,f);b.restoreTransform()}},d.prototype._5b=function(a,b){var c=b.innerRadius*b.radius,d=b.radius,e=b.MPa(),f=b.sweep,g=b.cx,h=b.cy;a.drawDonutSegment(g,h,d,c,e,f)},d.prototype.Vcb=function(b,c){return b==a.Orientation.Vertical?new a.u0b(this,b,c):b==a.Orientation.Horizontal?new a.U5b(this,b,c):(a.ePb.dPb(!1),null)},d);function d(a,c){var d=b.call(this,a,c)||this;return d.BPa=null,d}a.Gab=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.qeb,__extends(d,b),d.prototype.nSa=function(){var b,c,d,e=1;return this.Gua()&&(e=Math.max(this.GKa.width,this.GKa.height)),b=this.radius,c=this.radius+e,this.SH()==a.AxisPosition.Far&&(b=(c=this.innerRadius*this.radius)-e)<0&&(b=0),d=this.sweep,new a.shapes.q3b(new a.core.Point(this.cx,this.cy),c,b,this.MPa(),d)},d);function d(a,c,d){return b.call(this,a,c,d)||this}a.u0b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.W4b,__extends(d,b),d.prototype.BPa=function(a){return arguments.length<=0?this.KMa:void(this.KMa=a)},d.prototype.CPa=function(a){return arguments.length<=0?this.LMa:void(this.LMa=a)},d.prototype.MPa=function(a){return arguments.length<=0?this.$Fa:void(this.$Fa=a)},d.prototype.R5b=function(a){return arguments.length<=0?this.m3b:void(this.m3b=a)},d.prototype.nSa=function(){return new a.shapes.n3b(this.BPa(),this.CPa(),this.Vo(),this.MPa(),this.R5b())},d.prototype.U4b=function(){var b=this.Vo()<a.W4b.V4b?a.W4b.V4b:this.Vo();return new a.shapes.q3b(this.BPa(),this.CPa()+b/2,this.CPa()-b/2,this.MPa(),this.R5b())},d.prototype.yl=function(b,c){var d;b.beginTransform(),d=this.R4b()?(a.NQb.Jqb(b,this.IPa()),a.NQb.Z2b(b,this.LJa()),a.nRb.GridLineMajorClassName):(a.NQb.Jqb(b,this.JPa()),a.NQb.Z2b(b,this.MJa()),a.nRb.GridLineMinorClassName),b.startGroup(d,null),b.drawDonutSegment(this.BPa().x,this.BPa().y,this.CPa(),this.CPa(),this.MPa(),this.R5b(),null,{fill:"none"}),b.endGroup(),b.restoreTransform()},d);function d(a){var c=b.call(this,a)||this;return c.LMa=0,c.$Fa=0,c.m3b=0,c}a.Q5b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Q5b,__extends(d,b),d.prototype.rdb=function(){return b.prototype.rdb.call(this)},d.prototype.a6b=function(a){return arguments.length<=0?this.teb:void(this.teb=a)},d.prototype.fua=function(){var b,c,d,e,f,g,h;for(b=this.a6b(),c=[],d=this.CPa(),e=0;b&&e<b.length;++e)f=b[e],g=Math.cos(f)*d+this.BPa().x,h=Math.sin(f)*d+this.BPa().y,c.push(new a.core.Point(g,h));return c},d.prototype.nSa=function(){return new a.shapes.u3b(this.BPa(),this.CPa(),this.a6b(),this.Vo())},d.prototype.U4b=function(){var b,c,d,e,f=this.a6b(),g=[],h=this.Vo()<a.W4b.V4b?a.W4b.V4b:this.Vo(),i=this.CPa()-h/2,j=this.CPa()+h/2;if(2<f.length){for(b=0;f&&b<f.length;++b)c=f[b],d=Math.cos(c)*j+this.BPa().x,e=Math.sin(c)*j+this.BPa().y,g.push(new a.core.Point(d,e));for(b=f.length-1;f&&0<=b;--b)c=f[b],d=Math.cos(c)*i+this.BPa().x,e=Math.sin(c)*i+this.BPa().y,g.push(new a.core.Point(d,e))}return new a.shapes.o3b(g)},d.prototype.yl=function(b,c){var d,e;b.beginTransform(),d=this.R4b()?(a.NQb.Jqb(b,this.IPa()),a.NQb.Z2b(b,this.LJa()),a.nRb.GridLineMajorClassName):(a.NQb.Jqb(b,this.JPa()),a.NQb.Z2b(b,this.MJa()),a.nRb.GridLineMinorClassName),e=this.fua(),b.startGroup(d,null),b.drawLines(e.map(function(a){return a.x}),e.map(function(a){return a.y}),null,{fill:"none"}),b.endGroup(),b.restoreTransform()},d);function d(a){return b.call(this,a)||this}a.b6b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.W4b,__extends(d,b),d.prototype.FIa=function(a){return arguments.length<=0?this.P9a:void(this.P9a=a)},d.prototype.nSa=function(){return new a.shapes.Ztb([this.ssb(),this.usb()],this.Vo())},d.prototype.U4b=function(){var b=(this.ssb().x+this.usb().x)/2,c=(this.ssb().y+this.usb().y)/2,d=this.FIa()-3*Math.PI/2,e=Math.sqrt(Math.pow(Math.abs(this.ssb().x-this.usb().x),2)+Math.pow(Math.abs(this.ssb().y-this.usb().y),2)),f=this.Vo()<a.W4b.V4b?a.W4b.V4b:this.Vo();return new a.shapes.qwb(b,c,e,f,d)},d.prototype.yl=function(b,c){var d;b.beginTransform(),d=this.R4b()?(a.NQb.Jqb(b,this.IPa()),a.NQb.Z2b(b,this.LJa()),a.nRb.GridLineMajorClassName):(a.NQb.Jqb(b,this.JPa()),a.NQb.Z2b(b,this.MJa()),a.nRb.GridLineMinorClassName),b.startGroup(d,null),b.drawLine(this.ssb().x,this.ssb().y,this.usb().x,this.usb().y),b.endGroup(),b.restoreTransform()},d);function d(a){return b.call(this,a)||this}a.S5b=c}(dv=dv||{}),dv=dv||{},function(a){"use strict";var b,c=(b=a.udb,__extends(d,b),d.prototype.rdb=function(){return b.prototype.rdb.call(this)},d.prototype.Nbb=function(c,d){var e=this.Xvb(),f=this.rdb().$z().overlappingLabels;f!=a.OverlappingLabels.Show&&this.wsb(d,e,f)||(this.Mdb(c,d),b.prototype.Nbb.call(this,c,d),d.axisLabels.push(e))},d.prototype.Mdb=function(b,c){b.beginTransform(),a.NQb.a3b(b,this.rdb().Wqa()),a.NQb.iqb(b,"none"),a.NQb.c3b(b,this.rdb().Wqa().backgroundColor);var d=this.Xvb();b.drawPolygon([d.leftTop.x,d.rightTop.x,d.rightBottom.x,d.leftBottom.x],[d.leftTop.y,d.rightTop.y,d.rightBottom.y,d.leftBottom.y]),b.restoreTransform()},d.prototype.mr=function(c,d){var e,f=this.Xvb();return null!=f&&f.contains(c)?(e=new a.HitTestResult(c,this,this,a.ElementType.AxisLabel),null==d||null!=d&&d.predicate(e)?e:null):b.prototype.mr.call(this,c,d)},d);function d(a,c,d,e){return b.call(this,a,c,d,e)||this}a.jsb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.qeb,__extends(d,b),d.prototype.c6b=function(a){this.d6b=a},d.prototype.e6b=function(){return this.teb(this.d6b)},d.prototype.nSa=function(){var b,c,d,e,f,g,h,i,j,k,l,m,n,o;if(this._orientation()==a.Orientation.Horizontal)return b=this.MPa(),c=(1-this.innerRadius)*this.radius,d=this.F5b(),e=this.cx+Math.cos(b)*(this.radius-c/2)+Math.sin(b)*d/2,f=this.cy+Math.sin(b)*(this.radius-c/2)-Math.cos(b)*d/2,new a.shapes.qwb(e,f,c,d,b);if(g=1,this.Gua()&&(g=Math.max(this.GKa.width,this.GKa.height)),h=this.radius,i=this.radius+g,this.SH()==a.AxisPosition.Far&&(h=(i=this.innerRadius*this.radius)-g)<0&&(h=0),j=[],k=this.teb(this),2<k.length){for(l=0;k&&l<k.length;++l)m=k[l],n=Math.cos(m)*i+this.cx,o=Math.sin(m)*i+this.cy,j.push(new a.core.Point(n,o));for(l=k.length-1;k&&0<=l;--l)m=k[l],n=Math.cos(m)*h+this.cx,o=Math.sin(m)*h+this.cy,j.push(new a.core.Point(n,o))}return new a.shapes.o3b(j)},d.prototype.teb=function(a){var b,c,d,e=a.ZDa();if(e.length<=0)return[];for(b=[],a.KPa()!=e[0]&&(c=a.Qb(a.KPa()),b.push(c)),d=0;e&&d<e.length;++d)c=a.Qb(e[d]),isNaN(c)||null==c||b.push(c);return a.LPa()!=e[e.length-1]&&(c=a.Qb(a.LPa()),b.push(c)),b},d.prototype.f6b=function(b,c,d,e){var f,g,h=(c.y-b.y)*(e.x-d.x)-(b.x-c.x)*(d.y-e.y);return 0==h?null:(f=((c.x-b.x)*(e.x-d.x)*(d.y-b.y)+(c.y-b.y)*(e.x-d.x)*b.x-(e.y-d.y)*(c.x-b.x)*d.x)/h,g=-((c.y-b.y)*(e.y-d.y)*(d.x-b.x)+(c.x-b.x)*(e.y-d.y)*b.y-(e.x-d.x)*(c.y-b.y)*d.y)/h,new a.core.Point(f,g))},d.prototype.P5b=function(b,c,d,e,f,g,h,i){var j,k,l,m,n,o,p,q,r,s,t,u;for(j=[],k=this.xJa(),l=this.SH()==a.AxisPosition.Far,m=this.eb().value(c),n=this.eb().value(d),o=new a.core.Point(this.cx+Math.cos(m)*i,this.cy+Math.sin(m)*i),p=new a.core.Point(this.cx+Math.cos(n)*i,this.cy+Math.sin(n)*i);b<d;)q=this.eb().value(b),r=this.cx+Math.cos(q)*i,s=this.cy+Math.sin(q)*i,b+=e,(r!=g||s!=h)&&(t=o.equals(p)?o:this.f6b(o,p,new a.core.Point(r,s),new a.core.Point(this.cx,this.cy)),null!=t&&(u=l?new a.g6b(t.x,t.y,k-f,f,q-Math.PI/2,m,n):new a.g6b(t.x,t.y,f,k-f,q-Math.PI/2,m,n),j.push(u)));return{minorValue:b,minorLines:j}},d.prototype.k5b=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,F,G,H,I,J,K,L,M,N,O,P,Q;if(this.$z().position!=a.AxisPosition.None)for(e=this.MPa(),null!=this.RMa()&&(e=this.RMa()),f=this.SH()==a.AxisPosition.Near,g=this._orientation()==a.Orientation.Horizontal,h=this.AJa(this.Bdb(),this.xJa()),i=f?this.radius:this.innerRadius*this.radius,null!=this.M5b()&&(i=this.M5b()),j=NaN,k=this.EJa().dataType==a.core.DataType.Date&&this.eb()instanceof a.H8a?1e3*a.hEa.fromDays(this.Ksa()).TotalSeconds:this.Ksa(),Math.abs(k)<Math.abs(this.eb().max()-this.eb().min())/100&&(k=null),this.eb().Ksa(k),l=this.eb().ticks(),m=0;l&&m<l.length;++m)if(n=l[m],o=m>=l.length-1?NaN:l[m+1],p=k,(null==p||isNaN(p))&&(null==(p=(o-n)/2)||isNaN(p))||this.eb().Ksa(p),isNaN(j)&&(j=n+p),g)for(q=this.eb().value(n+this.OPa()),r=Math.cos(e)*q+this.cx,s=Math.sin(e)*q+this.cy,this.qJa()&&((C=new a.b6b(this)).R4b(!0),this.h4b().push(C),t=C.LJa().strokeWidth|C.IPa().strokeWidth,u=Math.sqrt(Math.pow(r-this.cx,2)+Math.pow(s-this.cy,2)),v=isNaN(this.sweep)?2*Math.PI:this.sweep,C.BPa(new a.core.Point(this.cx,this.cy)),C.CPa(u),C.Vo(t),C.MPa(e),C.R5b(v),C.a6b(this.e6b()));j<o;)w=this.eb().value(j+this.OPa()),x=Math.cos(e)*w+this.cx,y=Math.sin(e)*w+this.cy,j+=p,x==r&&y==s||!this._Ia()||(z=(K=new a.b6b(this)).MJa().strokeWidth|K.JPa().strokeWidth,A=Math.sqrt(Math.pow(x-this.cx,2)+Math.pow(y-this.cy,2)),v=isNaN(this.sweep)?2*Math.PI:this.sweep,K.BPa(new a.core.Point(this.cx,this.cy)),K.CPa(A),K.Vo(z),K.MPa(e),K.R5b(v),K.a6b(this.e6b()),K.R4b(!1),this.i4b().push(K));else if(B=this.eb().value(n),r=this.cx+Math.cos(B)*i,s=this.cy+Math.sin(B)*i,this.qJa()&&((C=new a.S5b(this)).R4b(!0),this.h4b().push(C),t=C.LJa().strokeWidth|C.IPa().strokeWidth,D=this.cx-Math.sin(B)*(f?this.innerRadius:1)*this.radius,E=this.cy+Math.cos(B)*(f?this.innerRadius:1)*this.radius,F=r,G=s,C.ssb(new a.core.Point(F,G)),C.usb(new a.core.Point(D,E)),C.Vo(t),C.FIa(B-Math.PI/2)),H=this.P5b(j,n,o,p,h,r,s,i),this._Ia()){for(I=0,J=H.minorLines;I<J.length;I++)L=J[I],z=(K=new a.S5b(this)).MJa().strokeWidth|K.JPa().strokeWidth,M=L,N=new a.core.Point(this.cx+Math.cos(M.nearbyAngle)*(f?this.innerRadius:1)*this.radius,this.cy+Math.sin(M.nearbyAngle)*(f?this.innerRadius:1)*this.radius),O=new a.core.Point(this.cx+Math.cos(M.nearbyNextAngle)*(f?this.innerRadius:1)*this.radius,this.cy+Math.sin(M.nearbyNextAngle)*(f?this.innerRadius:1)*this.radius),P=f?new a.core.Point(L.cx,L.cy):new a.core.Point(this.cx+Math.cos(L.angle+Math.PI/2)*this.radius,this.cy+Math.sin(L.angle+Math.PI/2)*this.radius),Q=N.equals(O)?N:this.f6b(N,O,P,new a.core.Point(this.cx,this.cy)),null!=Q&&(F=L.cx,G=L.cy,K.ssb(new a.core.Point(F,G)),K.usb(Q),K.Vo(z),K.FIa(L.angle)),K.R4b(!1),this.i4b().push(K);j=H.minorValue}},d.prototype.qsb=function(b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p;if(this.aJa()){if(d=this.MPa(),b.beginTransform(),a.NQb.Y2b(b,this.$z().titleStyle),e=this._4b(),this._orientation()==a.Orientation.Horizontal)null!=this.RMa()&&(d=this.RMa()),f=this.cx+Math.sin(d)*e/2+Math.cos(d)*this.radius,g=this.cy-Math.cos(d)*e/2+Math.sin(d)*this.radius,h=this.cx+Math.sin(d)*e/2+Math.cos(d)*this.innerRadius*this.radius,i=this.cy-Math.cos(d)*e/2+Math.sin(d)*this.innerRadius*this.radius,b.beginTransform(),a.NQb.Jqb(b,this.VOa()),a.NQb.Z2b(b,this.PJa()),b.drawLine(h,i,f,g),b.restoreTransform();else{for(b.beginTransform(),a.NQb.Jqb(b,this.VOa()),a.NQb.Z2b(b,this.PJa()),j=this.SH()===a.AxisPosition.Far?this.radius*this.innerRadius-e/2:this.radius+e/2,j<0&&(j=0),null!=this.M5b()&&(j=this.M5b()+e/2),k=this.teb(this),l={xs:[],ys:[]},m=0;k&&m<k.length;++m)n=k[m],k[m+1],o=Math.cos(n)*j+this.cx,p=Math.sin(n)*j+this.cy,l.xs.push(o),l.ys.push(p);b.drawLines(l.xs,l.ys,null,{fill:"none"}),b.restoreTransform()}b.restoreTransform()}},d);function d(a,c,d){return b.call(this,a,c,d)||this}a.veb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.veb,__extends(d,b),d);function d(a,c,d){return b.call(this,a,c,d)||this}a.h6b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Gab,__extends(d,b),Object.defineProperty(d.prototype,"type",{get:function(){return"Polygonal"},enumerable:!0,configurable:!0}),d.prototype.Vcb=function(b,c){return b==a.Orientation.Vertical?new a.i6b(this,b,c):b==a.Orientation.Horizontal?new a.h6b(this,b,c):(a.ePb.dPb(!1),null)},d.prototype.$5b=function(b,c){var d,e,f,g,h,i;if(!c.renderLabel){if(b.beginTransform(),b.strokeWidth=0,this.QIa(b),d=this.V3b(),null!=b.fill&&("string"!=typeof b.fill||"transparent"!=b.fill&&"none"!=b.fill))for(e=0,f=d;e<f.length;e++)g=f[e],this.Cwb(b,g);if(a.NQb.iqb(b,"none"),this.Bwb(b),null!=b.strokeWidth&&0<b.strokeWidth)for(h=0,i=d;h<i.length;h++)g=i[h],this.Cwb(b,g);b.restoreTransform()}},d.prototype.Cwb=function(b,c){var d,e,f,g,h=c.innerRadius*c.radius,i=c.radius,j=[],k=c.teb(c);if(2<k.length){for(d=0;k&&d<k.length;++d)e=k[d],f=Math.cos(e)*i+c.cx,g=Math.sin(e)*i+c.cy,j.push(new a.core.Point(f,g));for(d=k.length-1;k&&0<=d;--d)e=k[d],f=Math.cos(e)*h+c.cx,g=Math.sin(e)*h+c.cy,j.push(new a.core.Point(f,g))}b.drawPolygon(j.map(function(a){return a.x}),j.map(function(a){return a.y}))},d);function d(a,c){return b.call(this,a,c)||this}a.Eab=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Jbb,__extends(d,b),d);function d(a,c,d,e,f,g,h){var i=b.call(this,a,c,d,e,f)||this;return i.nearbyAngle=g,i.nearbyNextAngle=h,i}a.g6b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.veb,__extends(d,b),d);function d(a,c,d){return b.call(this,a,c,d)||this}a.i6b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Trb,__extends(d,b),d.prototype.nSa=function(){var b=this.rdb()._orientation()==a.Orientation.Horizontal,c=this.APa().clone(),d=this.rdb().MPa();return new a.shapes.qwb(c.center.x,c.center.y,c.width,c.height,b?d:0)},d.prototype.rdb=function(){return b.prototype.rdb.call(this)},d.prototype.TQb=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=this.rdb()._orientation()==a.Orientation.Vertical,C=this.$z().titleStyle.padding,D=this.rdb()._4b();B?(f=this.SIa(b,c.size).size,g=C.isEmpty()?a.Ddb.Cdb:C.bottom,h=c.left+c.width/2-f.width/2,i=c.bottom-g-f.height,e=new a.core.Rect(h,i,f.width,f.height)):(j=this.rdb().AJa(this.rdb().Adb(),this.rdb().wJa()),k=this.rdb().AJa(this.rdb().Bdb(),this.rdb().xJa()),l=Math.max(j,k),m=this.rdb().sJa().padding,n=m.isEmpty()?a.Ddb.Cdb:m.top,g=C.isEmpty()?0:C.top,o=(this.rdb().radius-this.rdb().innerRadius*this.rdb().radius)/2,p=this.rdb().fLa+l+n+g,q=2*this.rdb().radius-o,r=this.rdb().radius-p,s=null!=d.ignoreWrap?null:new a.core.Size(q,r),f=this.SIa(b,s).size,null==s&&(f.width=Math.min(f.width,q)),t=this.rdb().MPa(),null!=this.rdb().RMa()&&(t=this.rdb().RMa()),u=Math.cos(t)*(this.rdb().radius+this.rdb().innerRadius*this.rdb().radius)/2+this.rdb().cx+Math.sin(t)*D,v=Math.sin(t)*(this.rdb().radius+this.rdb().innerRadius*this.rdb().radius)/2+this.rdb().cy-Math.cos(t)*D,w=this.rdb().I4b,x=u+Math.sin(t)*(w+g),y=v-Math.cos(t)*(w+g),z=x+Math.sin(t)*f.height/2-Math.cos(t)*f.width/2,A=y-Math.cos(t)*f.height/2-Math.sin(t)*f.width/2,e=new a.core.Rect(z-f.width/2,A-f.height/2,f.width,f.height)),this.APa(e)},d.prototype.RIa=function(c,d,e){var f,g,h,i,j,k,l,m,n,o;if(c.beginTransform(),this.GHa(c),f=this.Klb(),g=this.rdb()._orientation()==a.Orientation.Vertical,this.rdb().SH(),a.AxisPosition.Near,h=this.rdb().MPa(),null!=this.rdb().RMa()&&(h=this.rdb().RMa()),h=180*h/Math.PI-180,g)b.prototype.RIa.call(this,c,d,e);else{for(i=new a.core.Size(0,0),j=0,k=this.Jta();j<k.length;j++)null!=(o=k[j])&&0<o.length&&(l=c.measureMultipleStrings(o,d.width,f),i.height+=l.height);switch(this.ajb()){case a.VAlign.Top:break;case a.VAlign.Bottom:d.top=d.bottom-i.height;break;default:d.top=d.top+(d.height-i.height)/2}for(m=0,n=this.Jta();m<n.length;m++)if(null!=(o=n[m])&&0<o.length){switch(l=c.measureMultipleStrings(o,d.width,f),d.height=l.height,new a.core.Point(d.left,d.bottom),this._ib()){case a.HAlign.Left:c.startGroup(a.nRb.TitleClassName,null),c.drawMultipleStrings(o,d,a.HAlign.Left,f,null,h),c.endGroup();break;case a.HAlign.Right:c.startGroup(a.nRb.TitleClassName,null),c.drawMultipleStrings(o,d,a.HAlign.Right,f,null,h),c.endGroup();break;default:c.startGroup(a.nRb.TitleClassName,null),c.drawMultipleStrings(o,d,a.HAlign.Center,f,null,h),c.endGroup()}d.top+=l.height}}c.restoreTransform()},d.prototype.mr=function(b,c){var d,e=this.nSa();return null!=e&&e.contains(b)?(d=new a.HitTestResult(b,this,this,a.ElementType.AxisTitle),null==c||null!=c&&c.predicate(d)?d:null):null},d);function d(a){return b.call(this,a)||this}a.isb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Trb,__extends(d,b),d);function d(a){return b.call(this,a)||this}a.rsb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.lab,__extends(d,b),Object.defineProperty(d.prototype,"type",{get:function(){return"TextCategories"},enumerable:!0,configurable:!0}),d.prototype.U3b=function(){return this.W3b},d.prototype.Y3b=function(){return this.Z3b||(this.Z3b=this.$3b(a.Orientation.Horizontal)),this.Z3b},d.prototype.j6b=function(){var b,c,d,e,f,g;for(b=null,c=0,d=this.nPa();c<d.length;c++)for(e=function(c){if(c instanceof a.ehb){var d=c.APa();null!=d&&(b=null!=b?a.core.Rect.union(b,d):d),c.A$b().forEach(function(c){var e=c.queryInterface("IBoxBounded");null!=e&&null!=(d=e.box())&&(b=null!=b?a.core.Rect.union(b,d):d)})}},f=0,g=d[c].ggb();f<g.length;f++)e(g[f]);return b},d.prototype.k6b=function(){var b,c,d,e=this.j6b();if(null!=e){switch(b=0,c=0,this.definition.hAlign){case a.HAlign.Left:b=this.APa().left-e.left;break;case a.HAlign.Right:b=this.APa().right-e.right;break;case a.HAlign.Center:b=this.APa().center.x-e.center.x}switch(this.definition.vAlign){case a.VAlign.Top:c=this.APa().top-e.top;break;
- case a.VAlign.Bottom:c=this.APa().bottom-e.bottom;break;case a.VAlign.Middle:c=this.APa().center.y-e.center.y}if(0!=b||0!=c)return d=new a.models.aSb,d.Dn(b,c),d}return null},d.prototype.TQb=function(c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q,r;for(this.APa(d),f=this.Y3b(),g=f.zcb()?this.K3b():1,h=0,i=this.U3b();h<i.length;h++)(p=i[h]).my([d.left,d.left+d.width/g]);for(b.prototype.TQb.call(this,c,d,e),j=null,k=0,l=this.nPa();k<l.length;k++)for(m=l[k].APa().clone(),j=null==j?m:a.core.Rect.union(j,m),n=0,o=this.U3b();n<o.length;n++)q=(p=o[n]).SIa(c,new a.core.Size(m.width,d.height)),r=j.clone(),r.height=q.height,p.$z().position==a.AxisPosition.Far?(r.top=j.top-r.height,e.LineCartesianCoordinateSystemContent=j.clone(),p._R(c,r,e),delete e.LineCartesianCoordinateSystemContent):p.$z().position==a.AxisPosition.Near&&(r.top=j.bottom,e.LineCartesianCoordinateSystemContent=j.clone(),p._R(c,r,e),delete e.LineCartesianCoordinateSystemContent);f.$b(),this.U3b().filter(function(b){return b.$z().position!=a.AxisPosition.None}).forEach(function(a){return f.Sb(a)}),f._R(c,d,e)},d.prototype.mr=function(a,c){var d=b.prototype.mr.call(this,a,c);return(d=d||this.Y3b().mr(a,c))||null},d.prototype.Nbb=function(a,b){var c=this.k6b();null!=c&&a.startTransform(c.An()),this.Y3b().yl(a,b),this.Qcb().yl(a,b),null!=c&&a.endTransform()},d.prototype.Vcb=function(b,c){return b==a.Orientation.Horizontal?new a.Aeb(this,b,c):(a.ePb.dPb(!1),null)},d.prototype.$3b=function(b){return new a.adb(this,b)},d.prototype.S3b=function(){return!!b.prototype.S3b.call(this)&&!!this.Y3b().zcb()},d.prototype.ldb=function(){var b=this.q4a().s4a(),c=this.Qcb(),d=[c,this.Y3b()],e={containerRect:c.APa(),contentSize:c.Icb(),xscroll:this.O3b(),yscroll:this.Q3b()};this.ndb?this.ndb.VF(e):this.ndb=new a.NRb(b,{option:e,xyScrollViews:d})},d);function d(a,c){var d=b.call(this,a,c)||this;return d.W3b=[],d}a.Iab=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.G8a,__extends(d,b),d.prototype.Adb=function(){return a.TickMark.None},d.prototype.aJa=function(){return!1},d.prototype.zsa=function(){var a=this.$z();return null!=a.title?a.title:null},d.prototype.Qrb=function(){return new a.rsb(this)},d);function d(a,c,d){return b.call(this,a,c,d)||this}a.Aeb=c}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.push=function(a){null!=a&&this.list.push(a)},c.prototype.unshift=function(a){null!=a&&this.list.unshift(a)},c.prototype.shift=function(){return 0<this.list.length?this.list.shift():null},c.prototype.pop=function(){return 0<this.list.length?this.list.pop():null},c.prototype.delete=function(a){for(var b=0;b<this.list.length;++b)if(this.list[b]==a){this.list.splice(b,1);break}},c.prototype.indexOf=function(a){return this.list.indexOf(a)},c.prototype.flush=function(a,b){var c,d,e,f;for(c=0,d=this.list;c<d.length&&(e=d[c],f=e.cutOff(),e.draw(a,b),!f);c++);},c.prototype.contains=function(a){var b,c,d,e,f;for(b=0,c=this.list;b<c.length;b++){if(d=c[b],e=d.cutOff(),f=d.contains(a),e)return f;if(f)return!0}return!1},c.prototype.queryInterface=function(a){return null},c);function c(){var a,b,c,d,e;for(a=[],b=0;b<arguments.length;b++)a[b]=arguments[b];if(this.list=[],null!=a)for(c=0,d=a;c<d.length;c++)e=d[c],this.push(e)}a.DisplayablePipeLine=b}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.DKa,__extends(d,b),d.prototype.LLa=function(){return this.hfb},Object.defineProperty(d.prototype,"type",{get:function(){return a.ElementType.Footter},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"parent",{get:function(){return this.s4a()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"title",{get:function(){return this.Jta()[0]},enumerable:!0,configurable:!0}),d.prototype.nSa=function(){return new a.shapes.qwb(this.APa().center.x,this.APa().center.y,this.APa().width,this.APa().height,0)},d.prototype.queryInterface=function(c){return"IShapeElement"==c?new a.l6b(this):b.prototype.queryInterface.call(this,c)},d.prototype.s4a=function(){return this.x3b()},d.prototype.Mbb=function(){return a.nRb.FooterClassName},d.prototype._ib=function(){var b=this.s4a().$z().footer.hAlign;return a.core.UOb.isNullEnum(b)&&(b=a.HAlign.Center),b},d.prototype.ajb=function(){var b=this.s4a().$z().footer.vAlign;return a.core.UOb.isNullEnum(b)&&(b=a.VAlign.Middle),b},d.prototype.Klb=function(){return a.core.UOb.isNullEnum(this.s4a().$z().footer.textStyle.overflow)?a.core.UOb.isNullEnum(this.s4a().$z().textStyle.overflow)?a.TextOverflow.Wrap:this.s4a().$z().textStyle.overflow:this.s4a().$z().footer.textStyle.overflow},d.prototype.Jta=function(){return[this.s4a().$z().footer.title]},d.prototype.zPa=function(){return this.s4a().$z().footer.padding},d.prototype.GHa=function(b){var c=this.s4a().$z();a.NQb.a3b(b,c.footer.style),a.NQb.n0b(b,c.footer.textStyle)},d.prototype.OIa=function(c){b.prototype.OIa.call(this,c);var d=this.s4a().$z();a.NQb.$2b(c,d.style),a.NQb.$2b(c,d.footer.style),a.NQb.Z2b(c,d.footer.borderStyle)},d.prototype.QIa=function(c){b.prototype.QIa.call(this,c);var d=this.s4a().$z();a.NQb.c3b(c,d.style.backgroundColor),a.NQb.c3b(c,d.footer.style.backgroundColor)},d.prototype.PIa=function(a,c,d){b.prototype.PIa.call(this,a,c,d),d.footerLabels.push(this.APa())},d.prototype.RIa=function(a,c,d){a.addClipRect(this.APa().clone(),this.LLa()),a.startGroup(null,this.LLa()),b.prototype.RIa.call(this,a,c,d),d.footerLabels.push(c),a.endGroup()},d.prototype.mr=function(c,d){var e,f=this.APa();return null!=f&&f.contains(c)?(e=new a.HitTestResult(c,this,this,a.ElementType.Footter),null==d||null!=d&&d.predicate(e)?e:null):b.prototype.mr.call(this,c,d)},d);function d(a){var c=b.call(this,a,null)||this;return c.hfb="footerClip"+(1e5*Math.random()).toFixed(),c}a.iKa=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.DKa,__extends(d,b),d.prototype.LLa=function(){return this.hfb},Object.defineProperty(d.prototype,"type",{get:function(){return a.ElementType.Header},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"parent",{get:function(){return this.s4a()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"title",{get:function(){return this.Jta()[0]},enumerable:!0,configurable:!0}),d.prototype.nSa=function(){return new a.shapes.qwb(this.APa().center.x,this.APa().center.y,this.APa().width,this.APa().height,0)},d.prototype.queryInterface=function(c){return"IShapeElement"==c?new a.m6b(this):b.prototype.queryInterface.call(this,c)},d.prototype.s4a=function(){return this.x3b()},d.prototype.Mbb=function(){return a.nRb.HeaderClassName},d.prototype._ib=function(){var b=this.s4a().$z().header.hAlign;return a.core.UOb.isNullEnum(b)&&(b=a.HAlign.Center),b},d.prototype.ajb=function(){var b=this.s4a().$z().header.vAlign;return a.core.UOb.isNullEnum(b)&&(b=a.VAlign.Middle),b},d.prototype.Klb=function(){return a.core.UOb.isNullEnum(this.s4a().$z().header.textStyle.overflow)?a.core.UOb.isNullEnum(this.s4a().$z().textStyle.overflow)?a.TextOverflow.Wrap:this.s4a().$z().textStyle.overflow:this.s4a().$z().header.textStyle.overflow},d.prototype.Jta=function(){return[this.s4a().$z().header.title]},d.prototype.zPa=function(){return this.s4a().$z().header.padding},d.prototype.GHa=function(b){var c=this.s4a().$z();a.NQb.a3b(b,c.header.style),a.NQb.n0b(b,c.header.textStyle)},d.prototype.OIa=function(c){b.prototype.OIa.call(this,c);var d=this.s4a().$z();a.NQb.$2b(c,d.style),a.NQb.$2b(c,d.header.style),a.NQb.Z2b(c,d.header.borderStyle)},d.prototype.QIa=function(c){b.prototype.QIa.call(this,c);var d=this.s4a().$z();a.NQb.c3b(c,d.style.backgroundColor),a.NQb.c3b(c,d.header.style.backgroundColor)},d.prototype.PIa=function(a,c,d){b.prototype.PIa.call(this,a,c,d),d.headerLabels.push(this.APa())},d.prototype.RIa=function(a,c,d){a.addClipRect(this.APa().clone(),this.LLa()),a.startGroup(null,this.LLa()),b.prototype.RIa.call(this,a,c,d),d.headerLabels.push(c),a.endGroup()},d.prototype.mr=function(c,d){var e,f=this.APa();return null!=f&&f.contains(c)?(e=new a.HitTestResult(c,this,this,a.ElementType.Header),null==d||null!=d&&d.predicate(e)?e:null):b.prototype.mr.call(this,c,d)},d);function d(a){var c=b.call(this,a,null)||this;return c.hfb="headerClip"+(1e5*Math.random()).toFixed(),c}a.hKa=c}(dv=dv||{}),dv=dv||{},function(a){"use strict";var b,c=(b=a.MIa,__extends(d,b),d.prototype.f3a=function(){return this.I4a},d.prototype.n6b=function(){return this.o6b},d.prototype.Ueb=function(){return this.I4a.plotOptions},d.prototype.gcb=function(){var a,b,c,d;for(a=0,b=this.nPa();a<b.length;a++)for(c=0,d=b[a].aT().fua();c<d.length;c++)if(d[c].KQa())return!0;return!1},d.prototype.$z=function(){return this.I4a.option},d.prototype.Rbb=function(a){this.p6b()},d.prototype.p6b=function(){var b,c,d,e,f,g,h,i,j,k;for(b=this,c=this.Web(this.Ueb(),this.q4a().$z().axes),d=this.n6b(),e=function(a){var c,e,g,h=a.plotOption,i=f.q6b(h);null!=i&&(c=i.coordinateSystemType,e=d.filter(function(a){return c==a.coordinateSystemType&&h.config.hAlign==a.hAlign&&h.config.vAlign==a.vAlign}),g=0<e.length?e[0]:null,null==g&&(g=f.r6b(c,a.plotOption),d.push(g)),i.coordinateSystemDefinition=g,a.axisOptions.forEach(function(a){i.axisDefinitions.push(b.s6b(a))}),g.plotDefinitions.push(i))},f=this,g=0,h=c;g<h.length;g++)e(h[g]);0===d.length&&(i=new a.options.qAa(null),j=new a.models.TTb(i,this.q4a().s4a().Ou()),k=this.r6b(j.coordinateSystemType,i),d.push(k),k.plotDefinitions.push(j),j.coordinateSystemDefinition=k)},d.prototype.q6b=function(b){return null!=b.type?a.plugins.w1a.uPa(b.type,this,b):null},d.prototype.r6b=function(b,c){if(null!=b){var d=a.plugins.w1a.jab(b,c.config.hAlign,c.config.vAlign);if(null!=d)return d}return new a.models.GSb(b,c.config.hAlign,c.config.vAlign)},d.prototype.s6b=function(b){return new a.models.QSb(b)},d.prototype.TQb=function(a,b,c){this.APa(b)},d.prototype.Web=function(b,c){var d,e,f,g,h,i,j,k,l,m,n=[];if(0<c.length){for(d={},e=0,f=c;e<f.length;e++)if(g=f[e],null!=g.plots)for(h=function(c){if(!a.x7.hasKey(d,c)){var e=a.x7.find(b,function(a){return a.name==c});null!=e&&(d[c]={plotOption:e,axisOptions:[]},n.push(d[c]))}a.x7.hasKey(d,c)&&-1==d[c].axisOptions.indexOf(g)&&d[c].axisOptions.push(g)},i=0,j=g.plots;i<j.length;i++)h(j[i])}else for(k=0,l=b;k<l.length;k++)m=l[k],n.push({plotOption:m,axisOptions:[]});return n},d);function d(a,c){var d=b.call(this,a)||this;return d.o6b=[],d.I4a=c,d}a.Xeb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Xeb,__extends(d,b),Object.defineProperty(d.prototype,"type",{get:function(){return a.ElementType.PlotsPane},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"parent",{get:function(){return this.q4a()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"plots",{get:function(){return this.nPa()},enumerable:!0,configurable:!0}),d.prototype.q4a=function(){return this.x3b()},d.prototype.nPa=function(){var a,b,c,d;for(a=[],b=0,c=this.Veb();b<c.length;b++)d=c[b],a.push.apply(a,d.nPa());return a},d.prototype.Veb=function(){return this.Seb},d.prototype.bcb=function(){return[this]},d.prototype.xsb=function(){return this.q4a().APa()},d.prototype.dispose=function(){for(var a=0,b=this.Veb();a<b.length;a++)b[a].dispose()},d.prototype.Rbb=function(a){var c,d,e,f,g;for(b.prototype.Rbb.call(this,a),this.Veb().length=0,this.t6b(),c=0,d=this.Veb();c<d.length;c++)for(e=d[c],e.Rbb(a),f=0,g=e.nPa();f<g.length;f++)g[f].Rbb(a)},d.prototype.zdb=function(a){var b,c,d;for(b=0,c=this.Veb();b<c.length;b++)if(d=c[b],null!=d.definition&&d.definition.coordinateSystemType==a.coordinateSystemType&&d.definition.hAlign==a.hAlign&&d.definition.vAlign==a.vAlign)return d;return null},d.prototype.TQb=function(a,c,d){b.prototype.TQb.call(this,a,c,d);for(var e=0,f=this.Veb();e<f.length;e++)f[e]._R(a,c,d)},d.prototype.Nbb=function(a,b){var c,d,e;for(c=0,d=this.Veb();c<d.length;c++)e=d[c],b.renderLabel=!1,e.yl(a,b),b.renderLabel=!0,e.yl(a,b),delete b.renderLabel},d.prototype.PIa=function(b,c,d){var e,f,g;for(b.beginTransform(),this.GHa(b),(c=c.clone()).width<0&&(c.width=0),c.height<0&&(c.height=0),e=0,f=this.Veb();e<f.length;e++)g=f[e],g instanceof a.lab&&g._R(b,c,d);b.restoreTransform()},d.prototype.RIa=function(b,c,d){var e,f,g;for(b.beginTransform(),this.GHa(b),e=0,f=this.Veb();e<f.length;e++)g=f[e],g instanceof a.lab&&g.yl(b,d);b.restoreTransform()},d.prototype.GHa=function(b){a.NQb.a3b(b,this.q4a().$z().style),a.NQb.n0b(b,this.q4a().$z().textStyle)},d.prototype.t6b=function(){var b,c,d,e,f,g,h,i;for(b=0,c=this.n6b();b<c.length;b++)if(d=c[b],e=this.zdb(d),null==e&&null!=(e=null!=(h=d.queryInterface("ICoordinateSystemViewBuilder"))?h.build(this):new a.lab(this,d))&&this.Veb().push(e),null!=e)for(f=0,g=d.plotDefinitions;f<g.length;f++)null!=(h=g[f].queryInterface("IPlotViewBuilder"))&&(i=h.build(this),null!=i&&e.nPa().push(i))},d.prototype.mr=function(a,c){var d,e,f;for(d=0,e=this.Veb().concat().reverse();d<e.length;d++)if(f=e[d].mr(a,c),null!=f)return f;return b.prototype.mr.call(this,a,c)},d);function d(a,c){var d=b.call(this,a,c)||this;return d.Seb=[],d}a.Zab=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Kcb,__extends(d,b),d.prototype.q4a=function(){return this.x3b()},d.prototype._bb=function(){return this.oKa},d.prototype.Mbb=function(){return a.nRb.LegendsClassName},d.prototype.bfb=function(){var a=this.q4a().$z().legend.wrapping;return null==a&&null==(a=this.q4a().s4a().$z().legend.wrapping)||a},d.prototype.zcb=function(){return!this.bfb()&&1<this._bb().length},d.prototype.B3b=function(){var b=a.MRb.oSb(this.q4a().s4a());return null!=b?b.u2a():null},d.prototype.dispose=function(){this.mdb();for(var a=0,b=this._bb();a<b.length;a++)b[a].dispose()},d.prototype.TQb=function(a,c,d){b.prototype.TQb.call(this,a,c,d),this.ldb()||this.mdb()},d.prototype.PIa=function(b,c,d){var e,f,g,h,i,j,k,l,m;for((c=c.clone()).width<0&&(c.width=0),c.height<0&&(c.height=0),e=this._bb(),f=this.calcAllSpace(e,this.isVertical()),new a.u6b(this.getVisibleSize(c.size),this.isVertical(),f).adjust(b,e),g=this.calcLogicLegendsSize(e,b),this.layoutRectangle(g.originalSizes,g.sizes,e,c,f),h=this.getLegendsViewAlignLayouter(this.APa()),i=g.sizes.map(function(b){return new a.core.Rect(0,0,b.width,b.height)}),j=g.originalSizes.map(function(b){return new a.core.Rect(0,0,b.width,b.height)}),k=e.length,l=0;l<k;++l)h.push(e[l],i[l]);for(h.layout(),d.LegendsRect=c,l=0;l<k;l++)m=i[l],j[l].left=m.left,j[l].top=m.top,d.OriginalLegendRect=j[l],e[l]._R(b,m,d),delete d.OriginalLegendRect;delete d.LegendsRect},d.prototype.getVisibleSize=function(a){return a.clone()},d.prototype.getLegendsViewAlignLayouter=function(b){return this.isVertical()?new a.v6b(b):new a.w6b(b)},d.prototype.inflateLegendSize=function(b,c){var d,e,f=b.clone(),g=c.width,h=c.maxWidth,i=c.height,j=c.maxHeight;return this.isVertical()?null!=h?(d=Number.MAX_VALUE,h.type==a.ValueOptionType.Percentage?d=h.value*this.q4a().APa().width:h.type==a.ValueOptionType.Pixel&&(d=h.value),b.width>d&&(f.width=d)):null!=g&&(g.type==a.ValueOptionType.Percentage?f.width=g.value*this.q4a().APa().width:g.type==a.ValueOptionType.Pixel&&(f.width=g.value)):null!=j?(e=Number.MAX_VALUE,j.type==a.ValueOptionType.Percentage?e=j.value*this.q4a().APa().height:j.type==a.ValueOptionType.Pixel&&(e=j.value),b.height>e&&(f.height=e)):null!=i&&(i.type==a.ValueOptionType.Percentage?f.height=i.value*this.q4a().APa().height:i.type===a.ValueOptionType.Pixel&&(f.height=i.value)),f},d.prototype.calcLogicLegendsSize=function(b,c){var d,e,f,g,h,i;for(d=[],e=[],f=0,g=b.length;f<g;f++)h=b[f],i=h.SIa(c,new a.core.Size(Number.MAX_VALUE,Number.MAX_VALUE)).size,d.push(i),i=this.inflateLegendSize(i,h.$z()),e.push(i);return{originalSizes:d,sizes:e}},d.prototype.sortOrder=function(b){return this.isVertical()?a.v6b.x6b(b.$z().vAlign):a.w6b.x6b(b.$z().hAlign)},d.prototype.calcAllSpace=function(b,c){var d,e,f,g,h,i,j,k;for(d=[[],[],[]],e=0,f=b;e<f.length;e++)g=f[e],d[this.sortOrder(g)].push(g);for(d[2].reverse(),h=[],i=0,j=d;i<j.length;i++)k=j[i],h.push.apply(h,k);return new a.z6b(h.map(function(a){return a._margin()}),c).y6b()},d.prototype.RIa=function(b,c,d){var e,f,g;for(e=0,f=this.oKa;e<f.length;e++)g=f[e],g.SH()!=a.LegendPosition.None&&g.yl(b,d)},d.prototype.Icb=function(){var b,c,d,e,f,g,h,i,j,k=this.APa(),l=this._bb();if(0==l.length)return new a.core.Size(0,0);for(b=Number.MIN_VALUE,c=Number.MIN_VALUE,d=k.left,e=k.top,f=0,g=l;f<g.length;f++)h=g[f],i=h.APa(),j=h._margin(),b=Math.max(b,i.right+j.right-d),c=Math.max(c,i.bottom+j.bottom-e);return new a.core.Size(b,c)},d.prototype.ldb=function(){if(!this.zcb())return!1;var b=this.q4a().s4a();return this.ndb?this.ndb.VF({containerRect:this.getScrollContainerRect(),contentSize:this.Icb()}):this.ndb=new a.NRb(b,{option:{containerRect:this.getScrollContainerRect(),contentSize:this.Icb()},xyScrollViews:[this]}),!0},d.prototype.mdb=function(){this.ndb&&this.ndb.KRb(),this.ndb=null},d.prototype.Jrb=function(c,d){var e,f,g,h;for(e=0,f=this.oKa.concat().reverse();e<f.length;e++)if(g=f[e],g.SH()!=a.LegendPosition.None&&(h=g.mr(c,d),null!=h))return h;return b.prototype.Jrb.call(this,c,d)},d);function d(a){var c=b.call(this,a)||this;return c.oKa=[],c}a.A6b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.A6b,__extends(d,b),d.prototype.Tka=function(){return this.B6b},d.prototype.C6b=function(a){this.D6b(a)&&this._bb().push(a)},d.prototype.D6b=function(b){return 0==this._bb().length||b.position===a.LegendPosition.Floating&&this.optionsEquals(this.legends_Option(),b.E6b())},d.prototype.optionsEquals=function(b,c){return!!this.valueEquals(b.left,c.left)&&(!a.core.UOb.isNullNumber(b.left)||b.groupHAlign===c.groupHAlign)&&!!this.valueEquals(b.top,c.top)&&(!a.core.UOb.isNullNumber(b.top)||b.groupVAlign===c.groupVAlign)&&b.groupOrientation===c.groupOrientation&&this.paddingEquals(b.groupPadding,c.groupPadding)},d.prototype.paddingEquals=function(a,b){return a.left==b.left&&a.top==b.top&&a.right==b.right&&a.bottom==b.bottom},d.prototype.valueEquals=function(a,b){return null!=a&&null!=b?a===b:null==a&&null==b},d.prototype.isVertical=function(){return 0<this._bb().length&&this._bb()[0].F6b()},d.prototype.legends_Option=function(){return this._bb()[0].E6b()},d.prototype.getVisibleSize=function(b){var c=b.clone(),d=this.legends_Option();return a.core.UOb.isNullNumber(d.left)||(c.width=b.width*(1-d.left)),a.core.UOb.isNullNumber(d.top)||(c.height=b.height*(1-d.top)),c.width-=d.groupPadding.right+d.groupPadding.left,c.height-=d.groupPadding.top+d.groupPadding.bottom,c},d.prototype.layoutRectangle=function(b,c,d,e,f){var g,h,i,j,k,l,m,n,o,p;for(this.B6b=e.clone(),h=f,i=0,j=d.length,k=0;k<j;k++)l=d[k],m=c[k],n=l._margin(),this.isVertical()?(h+=m.height,o=m.width+n.left+n.right,i=Math.max(o,i)):(h+=m.width,p=m.height+n.top+n.bottom,i=Math.max(p,i));g=this.isVertical()?new a.core.Size(i,h):new a.core.Size(h,i),this.APa(new a.core.Rect(0,0,g.width,g.height)),this.bfb()?this.layoutForWrapping(e):this.layoutForScroll(e)},d.prototype.layoutForWrapping=function(b){var c=this.APa(),d=this.legends_Option(),e=c.clone();if(e.width+=d.groupPadding.left+d.groupPadding.right,e.height+=d.groupPadding.top+d.groupPadding.bottom,a.core.UOb.isNullNumber(d.left))switch(d.groupHAlign){case a.HAlign.Left:e.left=b.left;break;case a.HAlign.Center:e.left=b.left+b.width/2-e.width/2;break;case a.HAlign.Right:e.left=b.right-e.width}else e.left=b.left+b.width*d.left;if(a.core.UOb.isNullNumber(d.top))switch(d.groupVAlign){case a.VAlign.Top:e.top=b.top;break;case a.VAlign.Middle:e.top=b.top+b.height/2-e.height/2;break;case a.VAlign.Bottom:e.top=b.bottom-e.height}else e.top=b.top+b.height*d.top;c.left=e.left+d.groupPadding.left,c.top=e.top+d.groupPadding.top,this.outterRect=e},d.prototype.layoutForScroll=function(b){var c,d,e,f,g,h,i,j;this.layoutForWrapping(b),c=this.APa(),d=c.clone(),e=this.legends_Option(),f=this.getVisibleSize(b.size),f.height<=c.height&&(g=b.top,h=b.bottom,a.core.UOb.isNullNumber(e.top)||(g=b.top+b.height*e.top),this.outterRect.top=g,this.outterRect.height=h-g,d.top=c.top=g+e.groupPadding.top,c.height=h-e.groupPadding.bottom-c.top),f.width<=c.width&&(i=b.left,j=b.right,a.core.UOb.isNullNumber(e.left)||(i=b.left+b.width*e.left),this.outterRect.left=i,this.outterRect.width=j-i,d.left=c.left=i+e.groupPadding.left,c.width=j-e.groupPadding.right-c.left)},d.prototype.getScrollContainerRect=function(){return this.APa()},d);function d(a){return b.call(this,a)||this}a.G6b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Kcb,__extends(d,b),d.prototype.BLa=function(){return this.x3b()},d.prototype.Mbb=function(){return this.zcb()?a.nRb.ContentClassName:null},d.prototype.B3b=function(){var b=a.MRb.oSb(this.BLa().q4a().s4a());return null!=b?b.u2a():null},d.prototype._orientation=function(){return a.core.UOb.isNullEnum(this.BLa().$z().orientation)?a.core.UOb.isNullEnum(this.BLa().q4a().$z().legend.orientation)?this.BLa().q4a().s4a().$z().legend.orientation:this.BLa().q4a().$z().legend.orientation:this.BLa().$z().orientation},d.prototype.zcb=function(){return this.BLa().ysb()},d.prototype.M4b=function(a){return!1},d.prototype.Icb=function(){return this.BLa().zsb()},d.prototype.Jrb=function(a,b){return null},d);function d(a){return b.call(this,a)||this}a.Asb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.A6b,__extends(d,b),d.prototype.SH=function(){return this.nEa},d.prototype.isVertical=function(){var b=this.SH();return b===a.LegendPosition.Left||b===a.LegendPosition.Right},d.prototype.D6b=function(a){return this.SH()===a.position},d.prototype.layoutRectangle=function(b,c,d,e,f){var g,h,i,j,k,l,m,n,o,p,q;for(h=f,i=0,j=d.length,k=0;k<j;k++)l=d[k],m=c[k],n=l._margin(),this.isVertical()?(h+=m.height,o=m.width+n.left+n.right,i=Math.max(o,i)):(h+=m.width,p=m.height+n.top+n.bottom,i=Math.max(p,i));switch(g=this.isVertical()?new a.core.Size(i,Math.min(h,e.height)):new a.core.Size(Math.min(h,e.width),i),q=e.clone(),this.SH()){case a.LegendPosition.Left:q.width=g.width;break;case a.LegendPosition.Right:q.left=e.right-g.width,q.width=g.width;break;case a.LegendPosition.Top:q.height=g.height;break;case a.LegendPosition.Bottom:q.height=g.height,q.top=e.bottom-g.height}this.APa(q)},d.prototype.getScrollContainerRect=function(){return this.APa()},d);function d(a,c,d){var e,f,g,h=b.call(this,a)||this;for((e=h._bb()).push.apply(e,c),f=0,g=c;f<g.length;f++)g[f].H6b(h);return h.nEa=d,h}a.lcb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.DKa,__extends(d,b),Object.defineProperty(d.prototype,"type",{get:function(){return a.ElementType.LegendTitle},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"parent",{get:function(){return this.BLa()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"title",{get:function(){return this.BLa().title},enumerable:!0,configurable:!0}),d.prototype.BLa=function(){return this.x3b()},d.prototype.Mbb=function(){return a.nRb.TitleClassName},d.prototype.Klb=function(){return a.core.UOb.isNullEnum(this.BLa().$z().titleStyle.overflow)?a.core.UOb.isNullEnum(this.BLa().q4a().$z().legend.titleStyle.overflow)?a.core.UOb.isNullEnum(this.BLa().q4a().s4a().$z().legend.titleStyle.overflow)?a.core.UOb.isNullEnum(this.BLa().$z().textStyle.overflow)?a.core.UOb.isNullEnum(this.BLa().q4a().$z().legend.textStyle.overflow)?a.core.UOb.isNullEnum(this.BLa().q4a().s4a().$z().legend.textStyle.overflow)?a.core.UOb.isNullEnum(this.BLa().q4a().$z().textStyle.overflow)?a.core.UOb.isNullEnum(this.BLa().q4a().s4a().$z().textStyle.overflow)?b.prototype.Klb.call(this):this.BLa().q4a().s4a().$z().textStyle.overflow:this.BLa().q4a().$z().textStyle.overflow:this.BLa().q4a().s4a().$z().legend.textStyle.overflow:this.BLa().q4a().$z().legend.textStyle.overflow:this.BLa().$z().textStyle.overflow:this.BLa().q4a().s4a().$z().legend.titleStyle.overflow:this.BLa().q4a().$z().legend.titleStyle.overflow:this.BLa().$z().titleStyle.overflow},d.prototype.Jta=function(){return[this.title]},d.prototype.TQb=function(b,c,d){var e,f,g;if(this.BLa().ffb()==a.Position.None)return this.APa(new a.core.Rect(0,0,0,0)),void this.bz(!1);switch(this.bz(!0),b.beginTransform(),this.GHa(b),e=this.BLa().title,f=new a.core.Size(0,0),null!=e&&0<e.length&&(f=this.SIa(b,c.size).size),b.restoreTransform(),g=null,this.BLa().ffb()){case a.Position.Left:g=new a.core.Rect(c.left,c.top+(c.height-f.height)/2,f.width,f.height);break;case a.Position.Right:g=new a.core.Rect(c.left+(c.width-f.width),c.top+(c.height-f.height)/2,f.width,f.height);break;case a.Position.Top:g=new a.core.Rect(c.left+(c.width-f.width)/2,c.top,f.width,f.height);break;case a.Position.Bottom:g=new a.core.Rect(c.left+(c.width-f.width)/2,c.top+(c.height-f.height),f.width,f.height)}this.APa(g),e&&d.legendsLabels.push(this.APa())},d.prototype.Nbb=function(a,c){var d=this.APa();this.BLa().title&&c.legendsLabels.push(d),b.prototype.Nbb.call(this,a,c)},d.prototype.GHa=function(b){a.NQb.n0b(b,this.BLa().q4a().s4a().$z().legend.titleStyle),a.NQb.n0b(b,this.BLa().q4a().$z().legend.titleStyle),a.NQb.n0b(b,this.BLa().$z().titleStyle)},d.prototype.mr=function(c,d){var e,f=this.APa();return null!=f&&f.contains(c)?(e=new a.HitTestResult(c,this,this,a.ElementType.LegendTitle),null==d||null!=d&&d.predicate(e)?e:null):b.prototype.mr.call(this,c,d)},d);function d(a){return b.call(this,a,null)||this}a.gfb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.UIa,__extends(d,b),d.prototype.E6b=function(){return this.optionsMerge(this.q4a().s4a().$z().legend,this.q4a().$z().legend,this.$z())},d.prototype.F6b=function(){return this.position===a.LegendPosition.Floating?!(this.E6b().groupOrientation===a.Orientation.Horizontal):this.position===a.LegendPosition.Left||this.position===a.LegendPosition.Right},d.prototype.optionsMerge=function(){var b,c,d,e,f,g;for(b=[],c=0;c<arguments.length;c++)b[c]=arguments[c];for(d=new a.options.wDa({groupPadding:new a.options.bOa({top:0,right:0,bottom:0,left:0}),groupHAlign:a.HAlign.Left,groupVAlign:a.VAlign.Top,groupOrientation:a.Orientation.Vertical}),e=0,f=b;e<f.length;e++)g=f[e],a.core.UOb.isNullNumber(g.left)||(d.left=g.left),a.core.UOb.isNullNumber(g.top)||(d.top=g.top),g.groupHAlign!==a.HAlign.NotSet&&(d.groupHAlign=g.groupHAlign),g.groupVAlign!==a.VAlign.NotSet&&(d.groupVAlign=g.groupVAlign),g.groupOrientation!==a.Orientation.NotSet&&(d.groupOrientation=g.groupOrientation),null!=g.groupPadding&&(d.groupPadding=g.groupPadding);return d},d.prototype._margin=function(){var b;return b=this.F6b()?new a.options.gYb({top:20,right:0,bottom:20,left:0}):new a.options.gYb({top:0,right:20,bottom:0,left:20}),null!=this.q4a().s4a().$z().legend.margin&&(b=this.q4a().s4a().$z().legend.margin),null!=this.q4a().$z().legend.margin&&(b=this.q4a().$z().legend.margin),null!=this.$z().margin&&(b=this.$z().margin),b},Object.defineProperty(d.prototype,"type",{get:function(){return a.ElementType.Legend},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"parent",{get:function(){return this.q4a()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"position",{get:function(){return this.SH()},enumerable:!0,configurable:!0}),d.prototype.q4a=function(){return this.x3b()},d.prototype.jfb=function(){return null},d.prototype.queryInterface=function(c){return"IShapeElement"==c?new a.I6b(this):b.prototype.queryInterface.call(this,c)},d.prototype.nSa=function(){return new a.shapes.qwb(this.APa().center.x,this.APa().center.y,this.APa().width,this.APa().height,0)},d.prototype.ffb=function(){return a.core.UOb.isNullEnum(this.$z().titlePosition)?a.core.UOb.isNullEnum(this.q4a().$z().legend.titlePosition)?a.core.UOb.isNullEnum(this.q4a().s4a().$z().legend.titlePosition)?a.Position.Top:this.q4a().s4a().$z().legend.titlePosition:this.q4a().$z().legend.titlePosition:this.$z().titlePosition},d.prototype.SH=function(){return a.core.UOb.isNullEnum(this.$z().position)?a.core.UOb.isNullEnum(this.q4a().$z().legend.position)?a.core.UOb.isNullEnum(this.q4a().s4a().$z().legend.position)?a.LegendPosition.Right:this.q4a().s4a().$z().legend.position:this.q4a().$z().legend.position:this.$z().position},d.prototype.kfb=function(){return this.ifb},d.prototype.Bsb=function(){return this.Csb||(this.Csb=this.Dsb()),this.Csb},d.prototype.LLa=function(){return this.hfb},d.prototype.lfb=function(){return d.mfb},d.prototype.zPa=function(){var b,c=this.$z().padding;return c.isEmpty()&&(c=this.q4a().$z().legend.padding).isEmpty()&&(c=this.q4a().s4a().$z().legend.padding).isEmpty()?(this.F6b()?(b=new a.options.bOa(null)).left=b.right=20:(b=new a.options.bOa(null)).top=b.bottom=20,b):c},Object.defineProperty(d.prototype,"title",{get:function(){return this.zsa()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"kind",{get:function(){return this.g3()},enumerable:!0,configurable:!0}),d.prototype.zsa=function(){return""},d.prototype.g3=function(){return 0},d.prototype.$z=function(){return this.eAa},d.prototype.TIa=function(b,c){var d,e;if(this.SH()==a.LegendPosition.None)return new a.ViewMetricsResult(new a.core.Size(0,0));switch(b.beginTransform(),this.Cbb(b),d=this.nfb(b,c),this.titleSize=d.clone(),c=c.clone(),this.ffb()){case a.Position.Left:case a.Position.Right:0<d.width&&(c.width-=d.width+this.lfb());break;case a.Position.Top:case a.Position.Bottom:0<d.height&&(c.height-=d.height+this.lfb())}switch(e=this.Bsb().SIa(b,c),this.ffb()){case a.Position.Left:case a.Position.Right:0<d.width&&(e.size.width+=d.width+this.lfb()),e.size.height<d.height&&(e.size.height=d.height);break;case a.Position.Top:case a.Position.Bottom:0<d.height&&(e.size.height+=d.height+this.lfb()),e.size.width<d.width&&(e.size.width=d.width)}return b.restoreTransform(),e},d.prototype.nfb=function(b,c){var d,e,f,g=c.clone();return this.F6b()&&(d=null,e=this.$z().width,f=this.$z().maxWidth,null!=f&&(f.type==a.ValueOptionType.Percentage?d=f.value*this.q4a().APa().width:f.type==a.ValueOptionType.Pixel&&(d=f.value)),null!=e&&(e.type==a.ValueOptionType.Percentage?d=e.value*this.q4a().APa().width:e.type==a.ValueOptionType.Pixel&&(d=e.value)),this.kfb().Klb()!=a.TextOverflow.Clip&&(g.width=null!=d?d:this.q4a().APa().width,g=this.Esb(b,g,this.kfb().Klb()))),this.kfb().SIa(b,g).size},d.prototype.Crb=function(b,c){var d,e=c.clone();return null!=b.strokeWidth&&0<b.strokeWidth&&(e=e.inflate(-b.strokeWidth,-b.strokeWidth)),d=this.zPa(),e=this.F6b()&&null!=this.$z().width?new a.core.Rect(e.left+d.left,e.top+d.top,e.width-d.left,e.height-d.top-d.bottom):this.F6b()||null==this.$z().height?new a.core.Rect(e.left+d.left,e.top+d.top,e.width-d.left-d.right,e.height-d.top-d.bottom):new a.core.Rect(e.left+d.left,e.top+d.top,e.width-d.left-d.right,e.height-d.top)},d.prototype.Esb=function(b,c,d){var e,f=c.clone();return null!=b.strokeWidth&&0<b.strokeWidth&&(f.width-=2*b.strokeWidth,f.height-=2*b.strokeWidth),e=this.zPa(),this.SH(),this.F6b()&&null!=this.$z().width?f.width-=e.left+(d!=a.TextOverflow.Clip?e.right:0):this.F6b()||null==this.$z().height?(f.width-=e.left+e.right,f.height-=e.top+e.bottom):f.height-=e.top+(d!=a.TextOverflow.Clip?e.bottom:0),f},d.prototype.TQb=function(c,d,e){this.APa(d),c.beginTransform(),this.OIa(c);var f=null;f=this.kfb().Klb()==a.TextOverflow.Clip?this.Crb(c,this.APa()):b.prototype.Crb.call(this,c,this.APa()),c.restoreTransform(),this.PIa(c,f,e)},d.prototype.PIa=function(c,d,e){var f,g,h,i;if(this.SH()!=a.LegendPosition.None){switch(c.beginTransform(),this.Cbb(c),(d=d.clone()).width<0&&(d.width=0),d.height<0&&(d.height=0),this.Fsb=e.OriginalLegendRect,f=d,null!=this.Fsb&&this.kfb().Klb()==a.TextOverflow.Clip&&(c.beginTransform(),this.OIa(c),f=b.prototype.Crb.call(this,c,this.Fsb),c.restoreTransform()),this.ysb()&&(f=a.core.Rect.intersection(f,this.Crb(c,this.Gsb().APa()))),this.pfb(c,f,e),g=d.clone(),h=new a.core.Size(this.kfb().APa().width,this.kfb().APa().height),i=this.lfb(),this.ffb()){case a.Position.Left:g.left+=h.width,0<h.width&&(g.left+=i,g.width-=h.width+i);break;case a.Position.Right:g.width-=h.width,0<h.width&&(g.width-=i);break;case a.Position.Top:g.top+=h.height,0<h.height&&(g.top+=i,g.height-=h.height+i);break;case a.Position.Bottom:g.height-=h.height,0<h.height&&(g.height-=i)}this.Bsb()._R(c,g,e),c.restoreTransform(),this.ldb()||this.mdb()}},d.prototype.pfb=function(a,b,c){
- this.kfb()._R(a,b,c)},d.prototype.Nbb=function(b,c){var d,e;b.beginTransform(),this.OIa(b),this.QIa(b),d=this.APa(),this.ysb()&&(d=this.J6b),(null!=b.fill&&("string"!=typeof b.fill||"transparent"!=b.fill&&"none"!=b.fill)||null!=b.strokeWidth&&0<b.strokeWidth)&&b.drawRect(d.left+b.strokeWidth/2,d.top+b.strokeWidth/2,d.width-b.strokeWidth,d.height-b.strokeWidth),b.addClipRect(d,this.LLa()),b.startGroup(a.nRb.LegendClassName,this.LLa()),e=this.Crb(b,this.APa()),b.restoreTransform(),this.RIa(b,e,c),b.endGroup()},d.prototype.RIa=function(b,c,d){this.SH()!=a.LegendPosition.None&&(c.width<=0||c.height<=0||(b.beginTransform(),this.Cbb(b),this.kfb().yl(b,d),this.Bsb().yl(b,d),b.restoreTransform()))},d.prototype.Cbb=function(b){a.NQb.n0b(b,this.q4a().s4a().$z().legend.textStyle),a.NQb.n0b(b,this.q4a().$z().legend.textStyle),a.NQb.n0b(b,this.$z().textStyle)},d.prototype.OIa=function(c){b.prototype.OIa.call(this,c),a.NQb.$2b(c,this.q4a().s4a().$z().style),a.NQb.$2b(c,this.q4a().$z().style),a.NQb.$2b(c,this.q4a().s4a().$z().legend.style),a.NQb.$2b(c,this.q4a().$z().legend.style),a.NQb.$2b(c,this.$z().style),a.NQb.Z2b(c,this.q4a().s4a().$z().legend.borderStyle),a.NQb.Z2b(c,this.q4a().$z().legend.borderStyle),a.NQb.Z2b(c,this.$z().borderStyle)},d.prototype.QIa=function(c){b.prototype.QIa.call(this,c),a.NQb.c3b(c,this.q4a().s4a().$z().legend.style.backgroundColor),a.NQb.c3b(c,this.q4a().$z().legend.style.backgroundColor),a.NQb.c3b(c,this.$z().style.backgroundColor)},d.prototype.Dsb=function(){return new a.Asb(this)},d.prototype.ysb=function(){return 1===this.Gsb()._bb().length},d.prototype.H6b=function(a){this.K6b=a},d.prototype.zsb=function(){var b=new a.core.Size(this.Fsb.width,this.Fsb.height),c=this.kfb().APa(),d=this.lfb(),e=this.zPa(),f=b.width,g=b.height,h=0<c.width?c.width+d:0,i=0<c.height?c.height+d:0;switch(this.ffb()){case a.Position.Left:f=b.width-e.left-h;break;case a.Position.Right:f=b.width-e.right-h;break;case a.Position.Top:g=b.height-e.top-i;break;case a.Position.Bottom:g=b.height-e.bottom-i}return new a.core.Size(f,g)},d.prototype.Hsb=function(){var b,c,d,e,f,g,h,i,j,k,l=a.core.Rect.intersection(this.Gsb().APa(),this.APa());switch(this.J6b=l.clone(),b=this.kfb().APa(),c=this.lfb(),d=this.zPa(),e=l.clone(),f=0<b.width?b.width+c:0,g=0<b.height?b.height+c:0,this.ffb()){case a.Position.Left:h=d.left+f,e.left=l.left+h,e.width=l.width-h;break;case a.Position.Right:i=d.right+f,e.width=l.width-i;break;case a.Position.Top:j=d.top+g,e.top=l.top+j,e.height=l.height-j;break;case a.Position.Bottom:k=d.bottom+g,e.height=l.height-k}return e},d.prototype.Gsb=function(){return this.K6b},d.prototype.ldb=function(){if(!this.ysb())return!1;var b=this.q4a().s4a();return this.ndb?this.ndb.VF({containerRect:this.Hsb(),contentSize:this.zsb()}):this.ndb=new a.NRb(b,{option:{containerRect:this.Hsb(),contentSize:this.zsb()},xyScrollViews:[this.Bsb()]}),!0},d.prototype.mdb=function(){this.ndb&&this.ndb.KRb(),this.ndb=null},d.prototype.dispose=function(){this.mdb()},d.prototype.mr=function(c,d){var e,f=this.APa();return null!=f&&f.contains(c)?(e=this.kfb().mr(c,d),null!=e?e:(e=new a.HitTestResult(c,this,this,a.ElementType.Legend),null==d||null!=d&&d.predicate(e)?e:null)):b.prototype.mr.call(this,c,d)},d.mfb=10,d);function d(c,d){var e=b.call(this,c)||this;return e.eAa=d,e.hfb="legendClip"+(1e5*Math.random()).toFixed(),e.ifb=new a.gfb(e),e}a.uKa=c}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.build=function(a,c){var d,e,f,g,h,i,j;if(1==(c=c.filter(function(a){return!(a instanceof b.yDa)||a.HUb()})).length&&(d=c[0],d instanceof b.C4a))return e=d,this.createGradientLegendView(a,e);for(f=[],g=0,h=c;g<h.length;g++){if(i=h[g],!(i instanceof b.D4a))return null;j=i,0!=j._items().length&&f.push(j)}return 0<f.length?this.createItemizedLegendView(a,f):null},d.prototype.createItemizedLegendView=function(b,c){return new a.mcb(b,c)},d.prototype.createGradientLegendView=function(b,c){return new a.ncb(b,c)},d);function d(){}b.L6b=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.build=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n;for(b=[],c=0,d=a.nPa();c<d.length;c++)e=d[c],-1==b.indexOf(e.f3a())&&b.push(e.f3a());for(f=[],g=this.getLegendGroups(a,b,a.$z().legends),h=0,i=g;h<i.length;h++)i[h].NGa();for(j=0,k=g;j<k.length;j++)k[j].GUb();for(l=0,m=g;l<m.length;l++)n=m[l].M6b(a),null!=n&&f.push.apply(f,n);return f},d.prototype.getLegendGroups=function(a,c,d){var e,f,g,h,i,j,k,l,m,n,o,p,q,r;for(e=new b.LegendOptionDispatcher(d),f=this.getGroupsDetailedByPlot(a,c,e),g=null,h=0,i=f;h<i.length;h++)if(null!=(o=i[h]))for(j=0,k=o;j<k.length;j++)(r=k[j]).merged||r.group[0]instanceof b.ATb&&(null==g?g=r:g.Ga(r));for(null!=g&&(g.merged=!0),l=[],m=0,n=f;m<n.length;m++)if(null!=(o=n[m]))for(p=0,q=o;p<q.length;p++)(r=q[p]).dispose||l.push(r);return l},d.prototype.getGroupsDetailedByPlot=function(c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;for(f=this,g=d.map(function(d){var g=new b.N6b(d).vQb(c,e);return null!=g?g.map(function(b){return new a.O6b(b,f.P6b)}):null}),h=d.map(function(a){return a.name}),i=0,j=e.mergeOptions;i<j.length;i++)if(k=j[i].merge.map(function(a){return{index:h.indexOf(a.plotName),type:a.type}}).filter(function(a){return 0<=a.index}),0<k.length){for(l=null,m=0,n=k;m<n.length;m++)if(o=n[m],null!=g[o.index])for(p=0,q=g[o.index];p<q.length;p++)!(x=q[p]).merged&&x.group[0].Ma(o.type)&&(null!=l?l.Ga(x):l=x);null!=l&&(l.merged=!0)}for(r=0,s=g;r<s.length;r++)if(t=s[r],null!=t)for(u=null,v=0,w=t;v<w.length;v++)x=w[v],null==u&&!x.merged&&x.group[0].Ma(a.LegendType.Color)?u=x:null!=u&&!x.merged&&x.group[0].Ma(a.LegendType.Shape)&&u.Q6b(x);return g},d);function d(a){void 0===a&&(a=null),this.P6b=null==a?new b.L6b:a}b.R6b=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Asb,__extends(d,b),d.prototype.S6b=function(){return this.x3b()},d.prototype.T6b=function(){return this.U6b},d.prototype.M4b=function(a){var b=this.T6b().APa();return!!(b.contains(a.leftTop)||b.contains(a.leftBottom)||b.contains(a.rightTop)||b.contains(a.rightBottom))},d.prototype.TIa=function(b,c){var d=this.T6b().SIa(b,c),e=b.measureString("A").height;return d.width+=e,new a.ViewMetricsResult(d)},d.prototype.TQb=function(a,c,d){b.prototype.TQb.call(this,a,this.S6b().ysb()?this.S6b().Hsb():c,d),this.T6b()._R(a,c,d)},d.prototype.RIa=function(a,c,d){b.prototype.RIa.call(this,a,c,d),this.T6b().yl(a,d)},d.prototype.Jrb=function(a,c){var d=this.U6b.mr(a,c);return null!=d?d:b.prototype.Jrb.call(this,a,c)},d.prototype.ydb=function(b,c){var d=new a.f5a,e=(c-b)/1.5;return 0<b?(b-=e)<0&&(b=0):c<0&&0<(c+=e)&&(c=0),d.d5a([b,c]),d.my([0]),d},d);function d(c,d){var e=b.call(this,c)||this;return e.U6b=new a.tfb(e,d,d.linearColor,e.ydb(d.bw(),d.cw())),e}a.V6b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.uKa,__extends(d,b),d.prototype.zsa=function(){var b=null!=this.$z()?a.core.UOb.asString(this.$z().title,!0):null;return null==b?this.aT().vUb().vQb():b},d.prototype.g3=function(){return this.aT().g3()},d.prototype.aT=function(){return this.Tza},d.prototype.W6b=function(){return this.Bsb()},d.prototype.Dsb=function(){return new a.V6b(this,this.aT())},d);function d(c,d){var e=b.call(this,c,d.$z())||this;return a.ePb.dPb(d.HUb()),e.Tza=d,e}a.ncb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.deb,__extends(d,b),d.prototype.dqa=function(){return this.ufb},d.prototype.vfb=function(a){return a.measureString("A")},d.prototype.$z=function(){return new a.options.QEa(null)},d.prototype.labelFromValue=function(b,c){var d=a.plugins.w1a.lPa("Default");return null!=d?(null==c&&(a.core.UOb.isNumber(b)?c=d.defaultFormat(a.core.DataType.Number,!1):a.core.UOb.isDate(b)&&(c=d.defaultFormat(a.core.DataType.Date,!1))),d.format(c,b)):null},d.prototype.SIa=function(b,c){var d=new a.core.Size(0,0),e=0,f=a.plugins.w1a.lPa("Default"),g=f.defaultFormat(a.core.DataType.Number,!1);return d.height+=5*this.vfb(b).height,this.eb().ticks().forEach(function(a){var c=b.measureString(f.format(g,a));c.width>d.width&&(d.width=c.width),e+=c.height}),d.height<e&&(d.height=e),d.height+=this.vfb(b).height,d.width+=10,d},d.prototype.TQb=function(c,d,e){var f,g,h,i,j,k,l,m,n;for(b.prototype.TQb.call(this,c,d,e),f=this.SIa(c),g=this.wfb=(f.height-this.vfb(c).height)/(this.eb().ticks().length-1),h=this.$z(),i=this.eb(),this.Vma=new a.core.Point(d.left,d.top),this.oI=new a.core.Point(this.Vma.x,this.Vma.y+f.height),c.beginTransform(),a.NQb.Jqb(c,this.hPa()),a.NQb.Z2b(c,this.$z().majorTickStyle),j=this.beb(),k=0;k<j.length;k++)l=j[k],i.value(l.p6()),m=c.measureString(l.zsa()),n=this.jeb(h,g*k,10+this.vfb(c).height,m),l.Idb(n.location),l.BPa(n.center);c.restoreTransform()},d.prototype.jeb=function(b,c,d,e){var f=this.meb(b,c,d).start;return{location:new a.core.Point(f.x,f.y),center:new a.core.Point(f.x+e.width/2,f.y)}},d.prototype.meb=function(b,c,d){var e=new a.core.Point(this.oI.x,this.oI.y-c);return{start:new a.core.Point(e.x+d,e.y),end:e}},d.prototype.psb=function(b,c){var d,e,f,g,h,i=this.$z(),j=(null!=i.labelAngle&&0<i.labelAngle.length&&Math.round(i.labelAngle[0]),new a.core.Size(0,1));for(this.qsb(b,c),d=this.wfb*j.height,e=this.eb(),f=0;f<e.ticks().length;f++)e.value(e.ticks()[f]),this.leb(b,d*f,5);for(g=0,h=this.beb();g<h.length;g++)h[g].yl(b,c)},d.prototype.qsb=function(b,c){var d,e=this.$z();e.axisLine&&(b.beginTransform(),a.NQb.Jqb(b,this.VOa()),a.NQb.Z2b(b,e.lineStyle),d=this.vfb(b).height/2,b.fill=this.linearColor,b.drawRect(this.Vma.x,this.Vma.y+this.vfb(b).height/2,this.vfb(b).height,this.oI.y-this.Vma.y-this.vfb(b).height),b.drawLine(this.oI.x+this.vfb(b).height,this.oI.y-d,this.Vma.x+this.vfb(b).height,this.Vma.y+d),b.restoreTransform())},d.prototype.leb=function(b,c,d){var e,f=this.$z();f.majorTicks!=a.TickMark.None&&(b.beginTransform(),a.NQb.Jqb(b,this.hPa()),a.NQb.Z2b(b,f.majorTickStyle),e=this.meb(f,c,d),b.drawLine(e.start.x+this.vfb(b).height,e.start.y-this.vfb(b).height/2,e.end.x+this.vfb(b).height,e.end.y-this.vfb(b).height/2),b.restoreTransform())},d);function d(c,d,e,f){var g,h,i=b.call(this,c,null,f)||this;return i.linearColor=e,i.ufb=d.e5a(),g=d.$z().gradient,h=i.eb().ticks(),g.enabled&&(!a.core.UOb.isNullNumber(g.max)&&g.max>d.cw()?i.cw=g.max:i.cw=d.cw(),!a.core.UOb.isNullNumber(g.min)&&g.min<d.bw()?i.bw=g.min:i.bw=d.bw(),a.core.UOb.isNullNumber(g.unit)?i.UDa=h[1]-h[0]:i.UDa=g.unit),i.ufb.my(h[0],h[h.length-1]),i}a.tfb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Asb,__extends(d,b),d.prototype.X6b=function(){return this.x3b()},d.prototype.Y6b=function(){return this.Z6b},d.prototype.M4b=function(a){var b,c,d;for(b=0,c=this.Y6b();b<c.length;b++)if(d=c[b].APa(),d.contains(a.leftTop)||d.contains(a.leftBottom)||d.contains(a.rightTop)||d.contains(a.rightBottom))return!0;return!1},d.prototype.RIa=function(a,c,d){b.prototype.RIa.call(this,a,c,d);for(var e=0,f=this.Y6b();e<f.length;e++)f[e].yl(a,d)},d.prototype.Jrb=function(a,c){var d,e,f;for(d=0,e=this.Z6b;d<e.length;d++)if(f=e[d].mr(a,c),null!=f)return f;return b.prototype.Jrb.call(this,a,c)},d.prototype.yfb=function(a){var b,c,d,e,f,g,h;for(b=[],c=0,d=a;c<d.length;c++)for(e=0,f=d[c]._items();e<f.length;e++)g=f[e],h=null,null==h&&(h=this.Bfb(g)),null!=h&&b.push(h);return b},d.prototype.Bfb=function(b){return new a.kRa(this,b)},d);function d(a,c){var d=b.call(this,a)||this;return d.Z6b=d.yfb(c),d}a.$6b=c}(dv=dv||{}),function(a){"use strict";var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p=(b=a.$6b,__extends(q,b),q.prototype.TIa=function(b,c){var d,e,f,g,h,i,j,k=null;for(this.X6b().F6b()&&(d=this.X6b().$z().width,e=this.X6b().$z().maxWidth,null!=e&&(e.type==a.ValueOptionType.Percentage?k=e.value*this.X6b().q4a().APa().width:e.type==a.ValueOptionType.Pixel&&(k=e.value)),null!=d&&(d.type==a.ValueOptionType.Percentage?k=d.value*this.X6b().q4a().APa().width:d.type==a.ValueOptionType.Pixel&&(k=d.value))),f=new a.core.Size(0,0),g=0,h=this.Y6b();g<h.length;g++)i=h[g],j=new a.core.Size(Number.MAX_VALUE,Number.MAX_VALUE),i.Klb()!=a.TextOverflow.Clip&&((j=c.clone()).width=null!=k?k:this.X6b().q4a().APa().width,j=this.X6b().Esb(b,j,i.Klb())),i.SIa(b,j);switch(this._orientation()){case a.Orientation.Horizontal:return null==this._6b&&(this._6b=this.Aba()),f.width=this._6b.width,f.height=this._6b.height,new o(f,this._6b);default:return null==this.a7b&&(this.a7b=this.Gwb()),f.width=this.a7b.width,f.height=this.a7b.height,new m(f,this.a7b)}},q.prototype.TQb=function(c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v;switch(b.prototype.TQb.call(this,c,this.X6b().ysb()?this.X6b().Hsb():d,e),this._orientation()){case a.Orientation.Horizontal:if(this._6b)for(f=this._6b,g=d.top,h=0,i=f.list;h<i.length;h++){for(j=i[h],k=d.left,e.legendSymbolSize=new a.core.Size(0,j.maxSymbolHeight),l=0,m=j.items;l<m.length;l++)n=m[l],o=j.margin(n),n.view._R(c,new a.core.Rect(k+o.left,g+o.top,n.width,j._v()-o.top-o.bottom),e),k+=n.width+o.left+o.right;g+=j._v()}break;default:if(this.a7b)for(p=this.a7b,k=d.left,q=0,r=p.list;q<r.length;q++){for(s=r[q],t=d.top,e.legendSymbolSize=new a.core.Size(s.maxSymbolWidth,0),u=0,v=s.items;u<v.length;u++)n=v[u],o=s.margin(n),n.view._R(c,new a.core.Rect(k+o.left,t+o.top,s.Vo()-o.left-o.right,n.height),e),t+=n.height+o.top+o.bottom;k+=s.Vo()}}delete e.legendSymbolSize},q.prototype.ad=function(a){this.a7b=null,this._6b=null;var b=this.Dwb;b.rows=null,b.cols=null},q.prototype.Gwb=function(){var b,d,e,f,g,h,k,l,m=this.X6b().ffb();for(this.X6b().b7b()||(m=a.Position.None),b=this._orientation()!==a.Orientation.Horizontal&&(this.X6b().Afb()===a.Position.Top||this.X6b().Afb()===a.Position.Bottom),d=new j(b,m),e=new i(d),d.push(e),f=0,g=this.Y6b();f<g.length;f++)h=g[f],k=h.itemSize,b||(k=new a.core.Size(h.itemSize.width-h.symbolSize.width,h.itemSize.height)),l=new c(k,h),e.push(l);return d},q.prototype.Aba=function(){var b,d,e,h,i,j,k,l,m=this.X6b().ffb();for(this.X6b().b7b()||(m=a.Position.None),b=this._orientation()===a.Orientation.Horizontal&&(this.X6b().Afb()===a.Position.Right||this.X6b().Afb()===a.Position.Left),d=new g(b,m),e=new f(d),d.push(e),h=0,i=this.Y6b();h<i.length;h++)j=i[h],k=j.itemSize,b||(k=new a.core.Size(j.itemSize.width,j.itemSize.height-j.symbolSize.height)),l=new c(k,j),e.push(l);return d},q.prototype.Ywb=function(){var b,c,d;return this.X6b().bfb()?this.X6b().F6b()?this._orientation()===a.Orientation.Horizontal?null:(b=this.a7b.height,c=this.a7b.width,this.Dwb.cols=this.a7b.copy(this.a7b.list),this.a7b.enlarge(),d=b-this.a7b.height,this.a7b.height<this.X6b().titleSize.height&&(this.X6b().ffb()===a.Position.Right||this.X6b().ffb()===a.Position.Left)&&(d=b-this.X6b().titleSize.height),this.X6b().size.width+=this.a7b.width-c,d<=0?null:new a.core.Size(this.X6b().size.width,d)):this._orientation()!==a.Orientation.Horizontal?null:(b=this._6b.height,c=this._6b.width,this.Dwb.rows=this._6b.copy(this._6b.list),this._6b.enlarge(),d=c-this._6b.width,this._6b.width<this.X6b().titleSize.width&&(this.X6b().ffb()===a.Position.Top||this.X6b().ffb()===a.Position.Bottom)&&(d=c-this.X6b().titleSize.width),this.X6b().size.height+=this._6b.height-b,d<=0?null:new a.core.Size(d,this.X6b().size.height)):null},q.prototype.RUa=function(){var b,c;this.X6b().F6b()?this._orientation()!==a.Orientation.Horizontal&&null!=this.Dwb.cols&&(b=this.a7b.width,this.a7b.list=this.Dwb.cols,this.a7b.onColumChange(),this.X6b().size.width+=this.a7b.width-b):this._orientation()===a.Orientation.Horizontal&&null!=this.Dwb.rows&&(c=this._6b.height,this._6b.list=this.Dwb.rows,this._6b.onRowChange(),this.X6b().size.height+=this._6b.height-c)},q);function q(a,c){var d=b.call(this,a,c)||this;return d.Dwb=new k,d}a.c7b=p,c=function(a,b){this.width=a.width,this.height=a.height,a.width<0&&(this.width=0),a.height<0&&(this.height=0),this.view=b},a.d7b=c,r.prototype.margin=function(a){return a.view.e7b()},d=r;function r(){this.items=[],this.width=0,this.height=0}a.LegendItemLayoutBar=d,__extends(s,e=d),s.prototype.margin=function(b){var c,d,f=e.prototype.margin.call(this,b);return null==f&&(f=new a.options.bOa({top:10,right:0,bottom:0,left:10}),c=this.parent.titlePosition,d=this.parent.list,c==a.Position.Right&&this.items[this.items.length-1]==b&&(f.right=10),c==a.Position.Bottom&&d[d.length-1]==this&&(f.bottom=10),c==a.Position.Left&&this.items[0]==b&&(f.left=10),c==a.Position.Top&&d[0]==this&&(f.top=10),c!=a.Position.Top&&d[0]==this&&(f.top=0),c!=a.Position.Left&&this.items[0]==b&&(f.left=0)),f},s.prototype.h=function(){var a,b,c,d,e,f;for(a=0,b=0,c=this.items;b<c.length;b++)d=c[b],e=this.margin(d),f=d.height+e.top+e.bottom,a<f&&(a=f);return a},s.prototype.w=function(){var a,b,c,d,e;for(a=0,b=0,c=this.items;b<c.length;b++)d=c[b],e=this.margin(d),a+=d.width+e.left+e.right;return a},s.prototype.symbolHeight=function(){var a,b,c,d;for(a=0,b=0,c=this.items;b<c.length;b++)d=c[b].view.symbolSize.height,a<d&&(a=d);return a},s.prototype.clone=function(){var a=new s(this.parent);return a.items=this.items.slice(0),a.width=this.width,a.height=this.height,a.maxSymbolHeight=this.maxSymbolHeight,a},s.prototype.react=function(){this.width=this.w(),this.height=this.h(),this.maxSymbolHeight=this.symbolHeight()},s.prototype.insert=function(a){this.items.splice(0,0,a),this.react(),this.parent.onRowChange()},s.prototype.push=function(a){this.items.push(a),this.react(),this.parent.onRowChange()},s.prototype.pop=function(){if(this&&0<this.items.length){var a=this.items.pop();return this.react(),this.parent.onRowChange(),a}return null},s.prototype._v=function(){return this.parent.symbolContained?this.height:this.height+this.maxSymbolHeight},f=s;function s(a){var b=e.call(this)||this;return b.maxSymbolHeight=0,b.parent=a,b}a.LegendItemLayoutRow=f,t.prototype.push=function(a){this.height=a._v(),a.width>this.width&&(this.width=a.width,this.index=this.list.length),this.list.push(a)},t.prototype.onRowChange=function(){var a,b;for(this.width=this.height=0,a=0;a<this.list.length;++a)b=this.list[a],b.width>this.width&&(this.width=b.width,this.index=a),this.height+=b._v()},t.prototype.copy=function(a){var b,c,d,e;for(b=[],c=0,d=a;c<d.length;c++)e=d[c],b.push(e.clone());return b},t.prototype.enlarge=function(){var a,b,c,d,e,f;if(null!=this.index){for(a=this.width,b=this.list.length,c=this.list,d=this.copy(c),e=!1;;){for(this.width<a&&(d=this.copy(c)),f=0;f<c.length;++f)if(1===c[f].items.length&&c[f].width===this.width)return void(this.list=d);if(a=this.width,this.adjust(this.index,this.width),e&&this.list.length>b+1)break;!e&&this.list.length>b&&this.width<a&&(e=!0)}this.list=d,this.onRowChange()}},t.prototype.adjust=function(a,b){var c,d,e,g=this.list;g[a].width<b||(null==g[a+1]&&(g[a+1]=new f(this)),c=g[a],d=g[a+1],e=c.pop(),d.insert(e),this.adjust(a+1,b))},g=t;function t(a,b){this.list=[],this.width=0,this.height=0,this.symbolContained=!1,this.symbolContained=a,this.titlePosition=b}a.LegendItemLayoutRows=g,__extends(u,h=d),u.prototype.margin=function(b){var c,d,e=h.prototype.margin.call(this,b);return null==e&&(e=new a.options.bOa({top:10,right:0,bottom:0,left:10}),c=this.parent.titlePosition,d=this.parent.list,c==a.Position.Right&&d[d.length-1]==this&&(e.right=10),c==a.Position.Bottom&&this.items[this.items.length-1]==b&&(e.bottom=10),c==a.Position.Left&&d[0]==this&&(e.left=10),c==a.Position.Top&&this.items[0]==b&&(e.top=10),c!=a.Position.Left&&d[0]==this&&(e.left=0),c!=a.Position.Top&&this.items[0]==b&&(e.top=0)),e},u.prototype.h=function(){var a,b,c,d,e;for(a=0,b=0,c=this.items;b<c.length;b++)d=c[b],e=this.margin(d),a+=d.height+e.top+e.bottom;return a},u.prototype.w=function(){var a,b,c,d,e,f;for(a=0,b=0,c=this.items;b<c.length;b++)d=c[b],e=this.margin(d),f=d.width+e.left+e.right,a<f&&(a=f);return a},u.prototype.symbolWidth=function(){var a,b,c,d;for(a=0,b=0,c=this.items;b<c.length;b++)d=c[b].view.symbolSize.width,a<d&&(a=d);return a},u.prototype.react=function(){this.width=this.w(),this.height=this.h(),this.maxSymbolWidth=this.symbolWidth()},u.prototype.clone=function(){var a=new u(this.parent);return a.items=this.items.slice(0),a.width=this.width,a.height=this.height,a.maxSymbolWidth=this.maxSymbolWidth,a},u.prototype.insert=function(a){this.items.splice(0,0,a),this.react(),this.parent.onColumChange()},u.prototype.push=function(a){this.items.push(a),this.react(),this.parent.onColumChange()},u.prototype.pop=function(){if(this&&0<this.items.length){var a=this.items.pop();return this.react(),this.parent.onColumChange(),a}return null},u.prototype.Vo=function(){return this.parent.symbolContained?this.width:this.width+this.maxSymbolWidth},i=u;function u(a){var b=h.call(this)||this;return b.maxSymbolWidth=0,b.parent=a,b}a.LegendItemLayoutColumn=i,v.prototype.push=function(a){0===this.list.length?this.width=a.Vo():this.width+=a.Vo(),a.height>this.height&&(this.height=a.height,this.index=this.list.length),this.list.push(a)},v.prototype.onColumChange=function(){var a,b;for(this.width=this.height=0,a=0;a<this.list.length;++a)b=this.list[a],b.height>this.height&&(this.height=b.height,this.index=a),this.width+=b.Vo()},v.prototype.copy=function(a){var b,c,d,e;for(b=[],c=0,d=a;c<d.length;c++)e=d[c],b.push(e.clone());return b},v.prototype.enlarge=function(){var a,b,c,d,e,f;if(null!=this.index){for(a=this.height,b=this.list.length,c=this.list,d=this.copy(c),e=!1;;){for(this.height<a&&(d=this.copy(c)),f=0;f<c.length;++f)if(1===c[f].items.length&&c[f].height===this.height)return void(this.list=d);if(a=this.height,this.adjust(this.index,this.height),e&&this.list.length>b+1)break;!e&&this.list.length>b&&this.height<a&&(e=!0)}this.list=d,this.onColumChange()}},v.prototype.adjust=function(a,b){var c,d,e,f=this.list;f[a].height<b||(null==f[a+1]&&(f[a+1]=new i(this)),c=f[a],d=f[a+1],e=c.pop(),d.insert(e),this.adjust(a+1,b))},j=v;function v(a,b){this.list=[],this.width=0,this.height=0,this.symbolContained=!1,this.symbolContained=a,this.titlePosition=b}a.LegendItemLayoutColumns=j,k=function(){},a.LegendItemLayoutContext=k,l=a.ViewMetricsResult,__extends(w,l),m=w;function w(a,b){var c=l.call(this,a)||this;return c.columns=b,c}a.VerticalItemizedLegendViewMetricsResult=m,n=a.ViewMetricsResult,__extends(x,n),o=x;function x(a,b){var c=n.call(this,a)||this;return c.rows=b,c}a.HorizontalItemizedLegendViewMetricsResult=o}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.uKa,__extends(d,b),Object.defineProperty(d.prototype,"items",{get:function(){return this.f7b().Y6b()},enumerable:!0,configurable:!0}),d.prototype.g7b=function(){return this.h7b},d.prototype.f7b=function(){return this.Bsb()},d.prototype.i7b=function(){return this.Bsb()},d.prototype.j7b=function(){return null!=this.q4a().s4a().$z().legend.itemSpace?this.q4a().s4a().$z().legend.itemSpace.value:null!=this.q4a().$z().legend.itemSpace?this.q4a().$z().legend.itemSpace.value:null!=this.$z().itemSpace?this.$z().itemSpace.value:2},d.prototype.lfb=function(){return 0},d.prototype.Afb=function(){var b=this.$z().labelPosition;return a.core.UOb.isNullEnum(b)&&(b=this.q4a().$z().legend.labelPosition),a.core.UOb.isNullEnum(b)&&(b=a.Position.Right),b},d.prototype.Isb=function(){var b=this.$z().style.iconColor;return null!=b||null!=(b=this.q4a().$z().legend.style.iconColor)||null!=(b=this.q4a().s4a().$z().legend.style.iconColor)?a.models.l3b.h3b(b):a.nRb.StyleFill},d.prototype.bfb=function(){var a=this.q4a().$z().legend.wrapping;return null==a&&null==(a=this.q4a().s4a().$z().legend.wrapping)||a},d.prototype.zsa=function(){var b,c,d,e,f=null!=this.$z()?a.core.UOb.asString(this.$z().title,!0):null;if(null!=f)return f;for(b=null,c=0,d=this.g7b();c<d.length;c++)e=d[c],null==b?b=e.vUb():b.LUb(e.vUb());return b.vQb()},d.prototype.g3=function(){for(var a=0,b=0,c=this.g7b();b<c.length;b++)a|=c[b].g3();return a},d.prototype.b7b=function(){return null!=this.title&&0<this.title.length},d.prototype.SIa=function(a,c){var d=b.prototype.SIa.call(this,a,c);return this.size=d.size,d},d.prototype.Dsb=function(){return new a.c7b(this,this.g7b())},d.prototype.ysb=function(){return!this.bfb()&&b.prototype.ysb.call(this)},d.prototype.mr=function(a,c){var d,e=this.APa();if(null!=e&&e.contains(a)){if(d=this.kfb().mr(a,c),null!=d)return d;if(null!=(d=this.Bsb().mr(a,c)))return d}return b.prototype.mr.call(this,a,c)},d);function d(a,c){var d=b.call(this,a,c[0].$z())||this;return d.h7b=c,d}a.mcb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.MIa,__extends(d,b),d.prototype.Zwb=function(){return null!=this.Tza.$z()?this.Tza.$z().textStyle:null},Object.defineProperty(d.prototype,"type",{get:function(){return a.ElementType.LegendItem},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"parent",{get:function(){return this.BLa()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"title",{get:function(){return this.aT().zsa()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"size",{get:function(){return this.aT().Oz()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"color",{get:function(){return this.aT().tE()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"shape",{get:function(){return this.aT().nSa()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"filtered",{get:function(){return this.A5a},set:function(a){this.A5a!=a&&(this.A5a=a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"selected",{get:function(){return this.F5a},set:function(a){this.F5a!=a&&(this.F5a=a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"hover",{get:function(){return this.B5a()},set:function(a){this.B5a(a)},enumerable:!0,configurable:!0}),d.prototype.Mbb=function(){return a.nRb.LabelClassName},d.prototype.aT=function(){return this.Tza},d.prototype.f7b=function(){return this.x3b()},d.prototype.BLa=function(){return this.f7b().X6b()},d.prototype._labelView=function(){return this.Ffb},d.prototype.Ifb=function(){return this.Jfb},d.prototype.zPa=function(){return new a.options.bOa({top:0,right:0,bottom:0,left:0})},d.prototype.e7b=function(){var a=this.BLa().$z().itemPadding;return a.isEmpty()&&(a=this.BLa().q4a().$z().legend.itemPadding).isEmpty()&&(a=this.BLa().q4a().s4a().$z().legend.itemPadding).isEmpty()?null:a},d.prototype.Klb=function(){return this._labelView().Klb()},d.prototype.relatedModels=function(){return this.aT().WUb(this)},d.prototype.mr=function(c,d){var e,f=this.APa();return null!=f&&f.contains(c)?(e=new a.HitTestResult(c,this,this,a.ElementType.LegendItem),null==d||null!=d&&d.predicate(e)?e:null):b.prototype.mr.call(this,c,d)},d.prototype.SIa=function(b,c){var d,e,f,g,h,i;switch(b.beginTransform(),this.GHa(b),d=this.zPa(),(c=c.clone()).width-=d.left+d.right,c.height-=d.top+d.bottom,e=new a.core.Size(0,0),f=new a.core.Size(0,0),g=b.measureString("A"),h=new a.core.Size(0,0),this.aT().Za().gVb(this),this.Klb()==a.TextOverflow.Clip?(f=this._labelView().SIa(b,c).size,h=this.Kfb(b,0==f.height?g:f)):(h=this.Kfb(b,g),i=c.clone(),this.BLa().Afb()!=a.Position.Left&&this.BLa().Afb()!=a.Position.Right||(i.width-=h.width+this.BLa().j7b()),f=this._labelView().SIa(b,i).size),0==f.width&&0==f.height&&(f.height=g.height),this.BLa().Afb()){case a.Position.Left:case a.Position.Right:e.width+=f.width+h.width+this.BLa().j7b(),e.height+=h.height>f.height?h.height:f.height;break;case a.Position.Top:case a.Position.Bottom:e.width+=f.width>h.width?f.width:h.width,e.height+=h.height+f.height+this.BLa().j7b()}return e.width+=d.left+d.right,e.height+=d.top+d.bottom,e.width>c.width&&(e.width=c.width),e.height>c.height&&(e.height=c.height),b.restoreTransform(),this.itemSize=e.clone(),this.symbolSize=h.clone(),e},d.prototype.TQb=function(b,c,d){var e,f,g,h,i,j,k,l,m;switch(b.beginTransform(),this.GHa(b),e=this.zPa(),f=new a.core.Rect(c.left+e.left,c.top+e.top,c.width-e.left-e.right,c.height-e.top-e.bottom),new a.core.Size(0,0),g=new a.core.Size(0,0),h=b.measureString("A"),i=new a.core.Size(0,0),this.Klb()==a.TextOverflow.Clip?(g=this._labelView().SIa(b,f.size).size,i=this.Kfb(b,0==g.height?h:g)):(i=this.Kfb(b,h),j=f.clone(),this.BLa().Afb()!=a.Position.Left&&this.BLa().Afb()!=a.Position.Right||(j.width-=i.width+this.BLa().j7b()),g=this._labelView().SIa(b,j.size).size),0==g.width&&0==g.height&&(g.height=h.height),k=d.legendSymbolSize,this.BLa().Afb()){case a.Position.Left:l=Math.max(g.height,i.height),this.f7b()._orientation()==a.Orientation.Horizontal?l=f.height:null!=k&&(i.width=k.width),this.Jfb=new a.core.Rect(f.right-i.width,f.top+(l-i.height)/2,i.width,i.height),this._labelView()._R(b,new a.core.Rect(f.left,f.top+(l-g.height)/2,g.width,g.height),d),this.APa(new a.core.Rect(c.left,c.top,c.width,l+e.top+e.bottom));break;case a.Position.Right:l=Math.max(g.height,i.height),this.f7b()._orientation()==a.Orientation.Horizontal?l=f.height:null!=k&&(i.width=k.width),this.Jfb=new a.core.Rect(f.left,f.top+(l-i.height)/2,i.width,i.height),this._labelView()._R(b,new a.core.Rect(f.left+i.width+this.BLa().j7b(),f.top+(l-g.height)/2,g.width,g.height),d),this.APa(new a.core.Rect(c.left,c.top,c.width,l+e.top+e.bottom));break;case a.Position.Top:m=Math.max(g.width,i.width),this.f7b()._orientation()==a.Orientation.Horizontal?null!=k&&(i.height=k.height):m=f.width,this.Jfb=new a.core.Rect(f.left+(m-i.width)/2,f.top+g.height+this.BLa().j7b(),i.width,i.height),this._labelView()._R(b,new a.core.Rect(f.left+(m-g.width)/2,f.top,g.width,g.height),d),this.APa(new a.core.Rect(c.left,c.top,m+e.left+e.right,i.height+g.height+this.BLa().j7b()+e.top+e.bottom));break;case a.Position.Bottom:m=Math.max(g.width,i.width),this.f7b()._orientation()==a.Orientation.Horizontal?null!=k&&(i.height=k.height):m=f.width,this.Jfb=new a.core.Rect(f.left+(m-i.width)/2,f.top,i.width,i.height),this._labelView()._R(b,new a.core.Rect(f.left+(m-g.width)/2,f.top+i.height+this.BLa().j7b(),g.width,g.height),d),this.APa(new a.core.Rect(c.left,c.top,m+e.left+e.right,i.height+g.height+this.BLa().j7b()+e.top+e.bottom))}b.restoreTransform()},d.prototype.Nbb=function(a,b){a.beginTransform(),this.GHa(a),this._labelView().yl(a,b);var c=this.aT().Za();null!=c&&c.render(a,this.Ifb(),b),a.restoreTransform()},d.prototype.GHa=function(b){var c,d,e,f;this.filtered&&(c=!0,d=this.BLa().q4a().s4a().$z().legend.filteredOutStyle,d.isEmpty()||(c=!1,a.NQb.n0b(b,d)),(d=this.BLa().q4a().$z().legend.filteredOutStyle).isEmpty()||(c=!1,a.NQb.n0b(b,d)),(d=this.BLa().$z().filteredOutStyle).isEmpty()||(c=!1,a.NQb.n0b(b,d)),c&&(e=a.core.ica.fromCss(b.textFill),e.alpha=.5*e.alpha,a.NQb.n0b(b,new a.options.wEa({color:e.toCss()})))),this.B5a()&&(f=this.BLa().q4a().s4a().$z().legend.hoverStyle,f.isEmpty()||a.NQb.n0b(b,f),(f=this.BLa().q4a().$z().legend.hoverStyle).isEmpty()||a.NQb.n0b(b,f),(f=this.BLa().$z().hoverStyle).isEmpty()||a.NQb.n0b(b,f))},d.prototype.Kfb=function(b,c){var d=16;return null!=this.aT().Oz()&&this.aT().Za().F4a()?this.aT().Za().Efb(b,this.aT().Oz()):0<c.height?(d=.7*c.height,new a.core.Size(Math.max(2*d,16),d)):new a.core.Size(d,d)},d.Lfb=2,d);function d(c,d){var e=b.call(this,c)||this;return e.A5a=!1,e.F5a=!1,e.Tza=d,e.Ffb=new a.Gfb(e),e}a.kRa=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.DKa,__extends(d,b),d.prototype.Ofb=function(){return this.x3b()},d.prototype.zsa=function(){return this.mEa},d.prototype.wLa=function(){return this.Ofb().aT().zsa()},d.prototype._padding=function(){return d.Pfb},d.prototype.GHa=function(b){var c=this.Ofb().Zwb();null!=c&&a.NQb.n0b(b,c)},d.prototype.Nfb=function(a){var b=a.zsa(),c=this.Ofb().BLa().jfb();return 0<c&&c<b.length?b.substr(0,c)+d.Qfb:b},d.prototype.Klb=function(){return a.core.UOb.isNullEnum(this.Ofb().BLa().$z().textStyle.overflow)?a.core.UOb.isNullEnum(this.Ofb().BLa().q4a().$z().legend.textStyle.overflow)?a.core.UOb.isNullEnum(this.Ofb().BLa().q4a().s4a().$z().legend.textStyle.overflow)?a.core.UOb.isNullEnum(this.Ofb().BLa().q4a().$z().textStyle.overflow)?a.core.UOb.isNullEnum(this.Ofb().BLa().q4a().s4a().$z().textStyle.overflow)?b.prototype.Klb.call(this):this.Ofb().BLa().q4a().s4a().$z().textStyle.overflow:this.Ofb().BLa().q4a().$z().textStyle.overflow:this.Ofb().BLa().q4a().s4a().$z().legend.textStyle.overflow:this.Ofb().BLa().q4a().$z().legend.textStyle.overflow:this.Ofb().BLa().$z().textStyle.overflow;
- },d.prototype.Jta=function(){return[this.zsa()]},d.prototype.TQb=function(b,c,d){var e=null,f=this.zsa();switch(e=null==f||f.length<=0?new a.core.Size(0,b.measureString("A").height):this.SIa(b,c.size).size,this.Ofb().BLa().Afb()){case a.Position.Left:case a.Position.Right:this.APa(new a.core.Rect(c.left,c.top,e.width,e.height));break;case a.Position.Top:case a.Position.Bottom:this.APa(new a.core.Rect(c.left,c.top,e.width,e.height))}d.legendsLabels.push(c)},d.prototype.Nbb=function(a,c){var d=this.APa();c.legendsLabels.push(d),b.prototype.Nbb.call(this,a,c)},d.Pfb=10,d.Qfb="...",d);function d(a){var c=b.call(this,a,null)||this;return c.mEa=c.Nfb(a.aT()),c}a.Gfb=c}(dv=dv||{}),function(){"use strict";(dv||(dv={})).k7b=function(){}}(),function(a){"use strict";var b=(c.prototype.adjust=function(b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u=this.rectSize;if(this.isVertical){for(d=u.height,e=0,f=0,g=c;f<g.length;f++)(t=(r=g[f]).Bsb())instanceof a.c7b&&t.ad(u),e+=r.SIa(b,new a.core.Size(u.width,u.height)).size.height;if(h=c.length,d<(e+=this.space))for(i=e-d,j=0;;){for(k=Number.MAX_VALUE,l=0,m=0,n=0;n<h;n++)(t=c[n].Bsb())instanceof a.c7b&&(s=t.Ywb())&&s.width<k&&(k=s.width,l=n,m=s.height);if(0===m)break;for(n=0;n<h;n++)n!==l&&(t=c[n].Bsb())instanceof a.c7b&&t.RUa();if(i<=(j+=m))break}}else{for(o=u.width,p=e=0,q=c;p<q.length;p++)(t=(r=q[p]).Bsb())instanceof a.c7b&&t.ad(u),e+=r.SIa(b,new a.core.Size(u.width,u.height)).size.width;if(h=c.length,o<(e+=this.space))for(i=e-o,j=0;;){for(k=Number.MAX_VALUE,n=m=l=0;n<h;n++)(t=c[n].Bsb())instanceof a.c7b&&(s=t.Ywb())&&s.height<k&&(k=s.height,l=n,m=s.width);if(0===m)break;for(n=0;n<h;n++)n!==l&&(t=c[n].Bsb())instanceof a.c7b&&t.RUa();if(i<=(j+=m))break}}},c);function c(a,b,c){this.space=0,this.rectSize=a.clone(),this.isVertical=b,this.space=c}a.u6b=b}(dv=dv||{}),function(a){"use strict";var b=(c.x6b=function(b){switch(b){case a.HAlign.Left:return 0;case a.HAlign.Right:return 2;default:return 1}},c.prototype.push=function(b,d){var e=b.$z(),f=new a.k7b;f.view=b,f.rect=d,f.margin=b._margin(),this.hBlocks[c.x6b(e.hAlign)].push(f)},c.prototype.sum=function(a,b){return a.reduce(function(a,c){return a+c.rect.width+b.l7b()},0)},c.prototype.layout=function(){var b,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r=this.rectangle,s=this.hBlocks[c.x6b(a.HAlign.Left)],t=this.hBlocks[c.x6b(a.HAlign.Right)],u=this.hBlocks[c.x6b(a.HAlign.Center)];for(t.reverse(),b=new a.m7b(r),d=new a.z6b(s.concat(u,t).map(function(a){return a.margin}),(!1)),e=d.l7b(),f=0,g=s;f<g.length;f++)(q=g[f]).rect.left=r.left+e,e+=q.rect.width+d.l7b(),b.layoutVertical(q.rect,q.margin,q.view.$z().vAlign);for(d.T2(),h=this.sum(u,d),i=this.sum(t,d),j=r.width,j<e+h+i&&(j=e+h+i),k=r.left+j,l=d.n7b(),m=l,n=t.length-1;0<=n;--n)(q=t[n]).rect.left=k-q.rect.width-m,l=d.n7b(),m+=q.rect.width+l,b.layoutVertical(q.rect,q.margin,q.view.$z().vAlign);for(e+=(j-e-m-h+l)/2,d.RUa(),o=0,p=u;o<p.length;o++)(q=p[o]).rect.left=r.left+e,e+=q.rect.width+d.l7b(),b.layoutVertical(q.rect,q.margin,q.view.$z().vAlign)},c);function c(a){this.rectangle=a,this.hBlocks=[[],[],[]]}a.w6b=b}(dv=dv||{}),function(a){"use strict";var b=(c.x6b=function(b){switch(b){case a.VAlign.Top:return 0;case a.VAlign.Bottom:return 2;default:return 1}},c.prototype.push=function(b,d){var e=b.$z(),f=new a.k7b;f.view=b,f.rect=d,f.margin=b._margin(),this.vBlocks[c.x6b(e.vAlign)].push(f)},c.prototype.sum=function(a,b){return a.reduce(function(a,c){return a+c.rect.height+b.l7b()},0)},c.prototype.layout=function(){var b,d,e,f,g,h,i,j,k,l,m,n,o,p,q=this.rectangle,r=this.vBlocks[c.x6b(a.VAlign.Top)],s=this.vBlocks[c.x6b(a.VAlign.Bottom)],t=this.vBlocks[c.x6b(a.VAlign.Middle)],u=new a.m7b(q);for(s.reverse(),b=new a.z6b(r.concat(t,s).map(function(a){return a.margin}),(!0)),d=b.l7b(),e=0,f=r;e<f.length;e++)(p=f[e]).rect.top=q.top+d,d+=p.rect.height+b.l7b(),u.layoutHorizontal(p.rect,p.margin,p.view.$z().hAlign);for(b.T2(),g=this.sum(t,b),h=this.sum(s,b),i=q.height,i<d+g+h&&(i=d+g+h),j=q.top+i,k=b.n7b(),l=k,m=s.length-1;0<=m;--m)(p=s[m]).rect.top=j-p.rect.height-l,k=b.n7b(),l+=p.rect.height+k,u.layoutHorizontal(p.rect,p.margin,p.view.$z().hAlign);for(d+=(i-d-l-g+k)/2,b.RUa(),n=0,o=t;n<o.length;n++)(p=o[n]).rect.top=q.top+d,d+=p.rect.height+b.l7b(),u.layoutHorizontal(p.rect,p.margin,p.view.$z().hAlign)},c);function c(a){this.rectangle=a,this.vBlocks=[[],[],[]]}a.v6b=b}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.layoutHorizontal=function(b,c,d){var e=this.rectangle,f=e.width,g=0;switch(d){case a.HAlign.Center:g=(f-b.width-c.left-c.right)/2;break;case a.HAlign.Right:g=f-b.width-c.right;break;default:g=c.left}b.left=g+e.left},c.prototype.layoutVertical=function(b,c,d){var e=this.rectangle,f=e.height,g=0;switch(d){case a.VAlign.Middle:g=(f-b.height-c.top-c.bottom)/2;break;case a.VAlign.Bottom:g=f-b.height-c.bottom;break;default:g=c.top}b.top=g+e.top},c);function c(a){this.rectangle=a}a.m7b=b}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.T2=function(){this.save=this.index},c.prototype.RUa=function(){this.index=this.save},c.prototype.hZ=function(){this.index=0},c.prototype.l7b=function(){var a=this.index;return a>this.options.length?null:(this.index++,this.getSpace(a))},c.prototype.n7b=function(){var a=this.index;return 0===a?null:(this.index--,this.getSpace(a-1))},c.prototype.y6b=function(){this.T2(),this.hZ();for(var a,b=0;null!=(a=this.l7b());)b+=a;return this.RUa(),b},c.prototype.getSpace=function(a){return 0==a?this.getPre(a):a==this.options.length?this.getBack(a-1):Math.max(this.getBack(a-1),this.getPre(a))},c.prototype.getPre=function(a){return this.isVertical?this.options[a].top:this.options[a].left},c.prototype.getBack=function(a){return this.isVertical?this.options[a].bottom:this.options[a].right},c);function c(a,b){this.index=0,this.save=0,this.isVertical=b,this.options=a}a.z6b=b}(dv=dv||{}),dv=dv||{},function(a){!function(a){"use strict";var b=(c.prototype.getLegendViewBuilder=function(){return null},c.prototype.buildBackLegendManager=function(b){return(new a.FixedLegendViewManagerBuilder).build(this.nOa,b)},c.prototype.buildFrontLegendManager=function(b){return(new a.FloatLegendViewManagerBuilder).build(this.nOa,b)},c.prototype.queryInterface=function(a){return"ILegendViewManagerDefinition"===a?this:null},c.prototype.equals=function(a){return a instanceof c&&this.nOa===a.nOa},c);function c(a){this.nOa=a}a.o7b=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(e.prototype.dispose=function(){null!=this.ccb&&this.ccb.dispose(),null!=this.dcb&&this.dcb.dispose(),null!=this.ecb&&this.ecb.dispose(),null!=this.fcb&&this.fcb.dispose()},e.prototype.legendViews=function(){var a=[];return null!=this.ccb&&a.push.apply(a,this.ccb._bb()),null!=this.dcb&&a.push.apply(a,this.dcb._bb()),null!=this.ecb&&a.push.apply(a,this.ecb._bb()),null!=this.fcb&&a.push.apply(a,this.fcb._bb()),a},e.prototype.layout=function(a,b,c){var d,e,f,g=b.clone(),h=this.ccb;return null!=h&&(h._R(a,g,c),g.left+=h.APa().width,g.width-=h.APa().width),d=this.dcb,null!=d&&(d._R(a,g,c),g.width-=d.APa().width),e=this.ecb,null!=e&&(e._R(a,g,c),g.top+=e.APa().height,g.height-=e.APa().height),f=this.fcb,null!=f&&(f._R(a,g,c),g.height-=f.APa().height),g},e.prototype.render=function(a,b,c){null!=this.ccb&&this.ccb.yl(a,c),null!=this.dcb&&this.dcb.yl(a,c),null!=this.ecb&&this.ecb.yl(a,c),null!=this.fcb&&this.fcb.yl(a,c)},e.prototype.hitTest=function(a,b){var c=null;return null!=this.fcb&&null!=(c=this.fcb.mr(a,b))||null!=this.ecb&&null!=(c=this.ecb.mr(a,b))||null!=this.dcb&&null!=(c=this.dcb.mr(a,b))||null!=this.ccb&&null!=(c=this.ccb.mr(a,b))?c:null},e.prototype.queryInterface=function(a){return"ILegendViewManagerModel"==a?this:null},e.prototype.q4a=function(){return this.nOa},e);function e(a,b,c,d,e){this.nOa=a,this.ccb=b,this.dcb=c,this.ecb=d,this.fcb=e}b.p7b=d,f.prototype.build=function(b,c){var d,e,f,g,h,i,j,k,l,m,n;for(d=[],e=[],f=[],g=[],h=0,i=c;h<i.length;h++)if(j=i[h],null!=j)switch(j.SH()){case a.LegendPosition.Left:d.push(j);break;case a.LegendPosition.Top:e.push(j);break;case a.LegendPosition.Right:f.push(j);break;case a.LegendPosition.Bottom:g.push(j)}return k=null,l=null,m=null,n=null,0<d.length&&(k=this.createLegendsView(b,d,a.LegendPosition.Left)),0<f.length&&(l=this.createLegendsView(b,f,a.LegendPosition.Right)),0<e.length&&(m=this.createLegendsView(b,e,a.LegendPosition.Top)),0<g.length&&(n=this.createLegendsView(b,g,a.LegendPosition.Bottom)),this.createLegendViewManager(b,k,l,m,n)},f.prototype.createLegendsView=function(b,c,d){return new a.lcb(b,c,d)},f.prototype.createLegendViewManager=function(a,b,c,e,f){return new d(a,b,c,e,f)},c=f;function f(){}b.FixedLegendViewManagerBuilder=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(e.prototype.dispose=function(){var a,b,c;for(a=0,b=this.q7b;a<b.length;a++)c=b[a],c&&c.dispose()},e.prototype.legendViews=function(){var a,b,c,d;for(a=[],b=0,c=this.q7b;b<c.length;b++)d=c[b],a.push.apply(a,d._bb());return a},e.prototype.layout=function(a,b,c){var d,e,f,g;for(d=b.clone(),e=0,f=this.q7b;e<f.length;e++)g=f[e],null!=g&&g._R(a,d,c);return d},e.prototype.render=function(a,b,c){var d,e,f,g;if(0<this.q7b.length&&(d=this.q7b[0].Tka(),0<d.width&&0<d.height)){for(e=this.getFloatLegendsViewsClipId(),a.addClipRect(d,e),a.startGroup(null,e),f=0,g=this.q7b;f<g.length;f++)g[f].yl(a,c);a.endGroup()}},e.prototype.hitTest=function(a,b){var c,d,e,f;for(c=null,d=0,e=this.q7b.slice().reverse();d<e.length;d++)if(f=e[d],null!=(c=f?f.mr(a,b):null))return c;return null},e.prototype.queryInterface=function(a){return"ILegendViewManagerModel"==a?this:null},e.prototype.q4a=function(){return this.nOa},e.prototype.getFloatLegendsViewsClipId=function(){return"floatLegendsViewsClip"+(1e5*Math.random()).toFixed()},e);function e(a,b){this.q7b=[],this.nOa=a,this.q7b=b}b.r7b=d,f.prototype.build=function(b,c){var d,e,f,g,h,i,j,k;for(d=[],e=0,f=c;e<f.length;e++)if(g=f[e],g.position===a.LegendPosition.Floating){for(h=null,i=0,j=d;i<j.length;i++)if(k=j[i],k.D6b(g)){h=k;break}null==h&&(h=new a.G6b(b),d.push(h)),h.C6b(g),g.H6b(h)}return this.createLegendViewManager(b,d)},f.prototype.createLegendViewManager=function(a,b){return new d(a,b)},c=f;function f(){}b.FloatLegendViewManagerBuilder=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.MIa,__extends(d,b),Object.defineProperty(d.prototype,"parent",{get:function(){return this.s7b},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"type",{get:function(){return a.ElementType.OverlayItem},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"style",{get:function(){return null==this.tEa&&(this.tEa=new a.Arb),this.tEa},enumerable:!0,configurable:!0}),d.prototype.TQb=function(a,b,c){},d.prototype.fta=function(){return!1},d.prototype.MPb=function(){return this.t7b()},d.prototype.t7b=function(){return this.x3b()},d.prototype.queryInterface=function(a){return"IOverlayItemModel"===a?this:null},d.prototype.mr=function(a,b){return null},Object.defineProperty(d.prototype,"hover",{get:function(){return this.B5a()},set:function(a){this.B5a(a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"overlay",{get:function(){return this.MPb()},enumerable:!0,configurable:!0}),d);function d(a){var c=b.call(this,a)||this;return c.s7b=a.bRa(),c}a.Jsb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.MIa,__extends(d,b),Object.defineProperty(d.prototype,"type",{get:function(){return a.ElementType.Overlay},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"parent",{get:function(){return this.bRa()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"option",{get:function(){return this.$z()},enumerable:!0,configurable:!0}),d.prototype.u7b=function(){},d.prototype.yn=function(){if(null==this.igb){var a=this.v7b();this.igb=a.yn()}return this.igb},d.prototype.v7b=function(){return new a.w7b(this)},d.prototype.f3a=function(){return this.I4a},d.prototype.bindData=function(){},d.prototype.x7b=function(){return this.$z().display},d.prototype.bRa=function(){return this.x3b()},d.prototype.$z=function(){return this.I4a.option},d.prototype.bVb=function(){},d.prototype.Om=function(){return this.getColorIterator().KGa(!0)},d.prototype.getColorIterator=function(){var b=this.bRa().q4a(),c=this.bRa().f3a().queryInterface("IColorIterator");return null==c&&(c=new a.models.GlobalColorIterator(b)),c},d.prototype.mr=function(a,b){return null},d.prototype.queryInterface=function(a){return"IOverlayModel"===a?this:null},d);function d(a,c){var d=b.call(this,a)||this;return d.I4a=c,d}a.Ksb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Jsb,__extends(d,b),Object.defineProperty(d.prototype,"baseColor",{get:function(){return null==this.y7b?a.nRb.StyleColor:this.y7b},enumerable:!0,configurable:!0}),d.prototype.z7b=function(){this.y7b=this.MPb().Om()},d);function d(a){return b.call(this,a)||this}a.A7b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.J3b,__extends(d,b),d.prototype.jxa=function(){return b.prototype.jxa.call(this)},d.prototype.yn=function(){var b,c,d,e,f=this.jxa(),g=f.f3a().option,h=null;return g instanceof a.options.S8a&&(h=g.option()),b=f.bRa(),c=b.f3a().option.config.overlays.map(function(a){return a.option()}).indexOf(h),d=g.type,e=a.x7.HashCode("ovl"+c+d),b.yn()+a.x7.HashCode(e)},d);function d(a){return b.call(this,a)||this}a.w7b=c}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.B7b=function(a){return!1},c.prototype.C7b=function(a){return!1},c.prototype.Fu=function(a){return null},c.prototype.D7b=function(){return this.E7b},c.prototype.F7b=function(a){this.E7b=a},c.prototype.G7b=function(){this.E7b=null},c.prototype.beforeLayout=function(a,b){},c.prototype._R=function(b,c){null!=this.E7b&&(this.beforeLayout(b,c),b.beginTransform(),a.NQb.d3b(b,this.H7b()),this.applyStyle(b),this.layout(b,this.E7b,c),b.restoreTransform())},c.prototype.beforeRender=function(a,b){},c.prototype.yl=function(b,c){null!=this.E7b&&1!=c.renderLabel&&(this.beforeRender(b,c),b.beginTransform(),a.NQb.d3b(b,this.H7b()),this.applyStyle(b),this.render(b,c),b.restoreTransform(),this.afterRender(b,c))},c.prototype.afterRender=function(a,b){},Object.defineProperty(c.prototype,"xOffset",{get:function(){return this.I7b},set:function(a){null!=a&&(this.I7b=a)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"yOffset",{get:function(){return this.J7b},set:function(a){null!=a&&(this.J7b=a)},enumerable:!0,configurable:!0}),c.prototype.calcPos=function(b,c,d){return null==b||isNaN(b.x)||isNaN(b.y)?null:(c=null!=c?c:a.Vector.horizon(),d=null!=d?d:a.Vector.vertical(),a.Vector.endPoint(a.Vector.endPoint(b,c,this.xOffset),d,this.yOffset))},c.prototype.yy=function(){return null},c.prototype.K7b=function(){return this.L7b},c.prototype.M7b=function(a){this.L7b=a,this.N7b=null},c.prototype.H7b=function(){if(null==this.N7b){var b=this.yy()?this.yy():new a.Arb;b.g3b(this.K7b()),this.N7b=b}return this.N7b},c.prototype.applyStyle=function(a){},c.prototype.queryInterface=function(a){return null},c);function c(){this.I7b=0,this.J7b=0}a.Annotation=b}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Annotation,__extends(d,b),d.prototype.O7b=function(){return this.transformInfo},d.prototype.Zsb=function(){return null!=this.rotate?this.rotate:null},Object.defineProperty(d.prototype,"rotate",{get:function(){return this.P7b},set:function(a){null==a?this.P7b=null:isNaN(a)||(this.P7b=a*Math.PI/180)},enumerable:!0,configurable:!0}),d.prototype.beforeLayout=function(a,c){b.prototype.beforeLayout.call(this,a,c),null!=this.transformInfo?this.transformInfo.init():this.transformInfo=this.createTransformInfo()},d.prototype.createTransformInfo=function(){return new a.Q7b},d);function d(a){var c=b.call(this)||this;return c.rotate=a,c}a.R7b=c}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.init=function(){this.rotation=0,this.scale[0]=this.scale[1]=1,this.skew[0]=this.skew[1]=0},c.prototype.clone=function(){var a=new c;return a.assign(this),a},c.prototype.assign=function(a){this.rotation=a.rotation,this.scale[0]=a.scale[0],this.scale[1]=a.scale[1],this.skew[0]=a.skew[0],this.skew[1]=a.skew[1]},c.prototype.lerp=function(a,b,c,d){this.rotation=d(a.rotation,b.rotation,c),this.scale[0]=d(a.scale[0],b.scale[0],c),this.scale[1]=d(a.scale[1],b.scale[1],c),this.skew[0]=d(a.skew[0],b.skew[0],c),this.skew[1]=d(a.skew[1],b.skew[1],c)},c);function c(){this.rotation=0,this.scale=[1,1],this.skew=[0,0]}a.Q7b=b}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.standard=function(){return this.scalar(1/this.moudule())},c.prototype.moudule=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},c.prototype.mouduleSquare=function(){return this.x*this.x+this.y*this.y},c.subtract=function(a,b,d){return(d=null!=d?d:new c).x=a.x-b.x,d.y=a.y-b.y,d},c.prototype.scalar=function(a){return new c(this.x*a,this.y*a)},c.prototype.reverse=function(){return new c((-this.x),(-this.y))},c.prototype.point=function(){return new a.core.Point(this.x,this.y)},c.prototype.dot=function(a){return this.x*a.x+this.y*a.y},c.prototype.cross=function(a){return this.x*a.y-this.y*a.x},c.endPoint=function(b,c,d){var e=c.scalar(d/c.moudule());return new a.core.Point(e.x+b.x,e.y+b.y)},c.pointSub=function(a,b){return new c(b.x-a.x,b.y-a.y)},c.getPerp=function(a,b){var d,e=new c(0,0);return a.x||a.y?(0===a.x?(e.y=0,e.x=1):(e.y=1,e.x=-a.y/a.x),d=a.cross(e),(0<d&&b||d<0&&!b)&&(e=e.reverse()),e):e},c.horizon=function(){return new c(1,0)},c.vertical=function(){return new c(0,(-1))},c.angle=function(a,b){var c,d=a.dot(b)/a.moudule()/b.moudule();return Math.abs(d-1)<1e-6?0:Math.abs(1+d)<1e-6?Math.PI:(c=Math.acos(d),0<a.cross(b)&&(c=2*Math.PI-c),c)},c.farthestPoint=function(a,b){var d,e,f,g,h,i;for(d=-Number.MAX_VALUE,e=new c,f=0,g=a;f<g.length;f++)h=g[f],i=b.dot(h),d<i&&(d=i,e.x=h.x,e.y=h.y);return e},c.nearestPoint=function(a,b){var d,e,f,g,h,i;for(d=Number.MAX_VALUE,e=new c,f=0,g=a;f<g.length;f++)h=g[f],i=b.dot(h),i<d&&(d=i,e.x=h.x,e.y=h.y);return e},c);function c(a,b){void 0===a&&(a=0),void 0===b&&(b=0),this.x=a,this.y=b}a.Vector=b}(dv=dv||{}),function(a){"use strict";var b,c,d,e=(b=a.R7b,__extends(f,b),Object.defineProperty(f.prototype,"width",{get:function(){return this.REa},set:function(a){!isNaN(a)&&0<a&&(this.REa=a)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"height",{get:function(){return this.Z8a},set:function(a){!isNaN(a)&&0<a&&(this.Z8a=a)},enumerable:!0,configurable:!0}),f);function f(a,c,d){var e=b.call(this,d)||this;return e.REa=0,e.Z8a=0,e.width=a,e.height=c,e}a.RectangleAnnotation=e,__extends(g,c=e),g.prototype.strokeWidth=function(){var a=this.H7b().strokeWidth;return null!=a?a:0},g.prototype.S7b=function(){var b=this.width+this.strokeWidth(),c=this.height+this.strokeWidth();return[new a.core.Point(b/2,0),new a.core.Point(0,c/2),new a.core.Point(b,c/2),new a.core.Point(b/2,c)]},g.prototype.T7b=function(b){return a.Vector.farthestPoint(this.matrix.UVb(this.S7b()),b).point()},g.prototype.Fu=function(a){if(null!=a){var b=a.w$b("point",this);if(null!=b)return this.F7b(b),b}return null},g.prototype.layout=function(b,c,d){if(c instanceof a.H$b){var e=c.pointAttachmentInfo(this);null!=e&&this.layoutWithPointAttachInfo(e)}},g.prototype.U7b=function(){},g.prototype.V7b=function(){return this.W7b&&(0!=this.xOffset||0!=this.yOffset)},g.prototype.createTransformInfo=function(){return new a.X7b},g.prototype.layoutWithPointAttachInfo=function(b){var c,d,e;null!=b&&(c=this.O7b(),c.connectionPoint=this.calcPos(b.point,b.xOffsetDir,b.yOffsetDir),this.U7b(),d=!1,e=a.Vector.angle(b.xDir,a.Vector.horizon()),e=null!=this.Zsb()?this.Zsb():e,b.yDir.cross(b.xDir)<0&&(d=!0,e-=Math.PI),c.rotation=e,d&&(c.scale[0]*=-1),this.start=b.point.clone(),this.matrix=new a.models.aSb,this.matrix.eb(c.scale[0],c.scale[1]),this.matrix.QVb(c.rotation),c.junctionPoint=this.T7b(b.yDir),this.matrix.Dn(c.connectionPoint.x-c.junctionPoint.x,c.connectionPoint.y-c.junctionPoint.y))},g.prototype.layoutWithTransfromInfo=function(a){var b,c=this.O7b(),d=c.connectionPoint;null!=d&&(this.matrix.hZ(),this.matrix.eb(a.scale[0],a.scale[1]),this.matrix.QVb(a.rotation),b=c.junctionPoint,this.matrix.Dn(d.x-b.x,d.y-b.y))},g.prototype.beforeRender=function(a,b){c.prototype.beforeRender.call(this,a,b),this.layoutWithTransfromInfo(this.O7b()),this.renderConntectLine(a,b)},g.prototype.renderConntectLine=function(b,c){var d,e,f,g,h,i,j;if(null!=this.O7b().connectionPoint&&this.V7b()){for(d=this.matrix.UVb(this.S7b()),e=Number.MAX_VALUE,f=null,g=0,h=d;g<h.length;g++)i=h[g],j=Math.pow(this.start.x-i.x,2)+Math.pow(this.start.y-i.y,2),j<e&&(f=i,e=j);this.end=f,b.beginTransform(),a.NQb.Jqb(b,this.Y7b()),b.drawLine(this.start.x,this.start.y,this.end.x,this.end.y),b.restoreTransform()}},g.prototype.render=function(a,b){null!=this.O7b().connectionPoint&&(a.startTransform(this.matrix.An()),a.drawRect(this.strokeWidth()/2,this.strokeWidth()/2,this.width,this.height),a.endTransform())},g.prototype.Y7b=function(){var b=new a.Arb;return b.strokeWidth=5,b.stroke="black",b},g.prototype.box=function(){if(null==this.matrix)return null;this.layoutWithTransfromInfo(this.O7b());var b=this.width+this.strokeWidth(),c=this.height+this.strokeWidth(),d=this.matrix.VVb([0,b,0,b],[0,0,c,c]),e=Math.min.apply(Math,d.xs),f=Math.min.apply(Math,d.ys),g=Math.max.apply(Math,d.xs)-e,h=Math.max.apply(Math,d.ys)-f;return new a.core.Rect(e,f,g,h)},g.prototype.ORb=function(){if(null==this.matrix)return null;this.layoutWithTransfromInfo(this.O7b());var b=this.width+this.strokeWidth(),c=this.height+this.strokeWidth(),d=this.matrix.TVb(new a.core.Point(b/2,c/2));return new a.shapes.qwb(d.x,d.y,b,c,this.O7b().rotation)},g.prototype.queryInterface=function(b){return"IBoxBounded"===b?a.BoxBounded.J_b(this):c.prototype.queryInterface.call(this,b)},d=g;function g(){return c.call(this)||this}a.SinglePointRectangleAnnotation=d}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.SinglePointRectangleAnnotation,__extends(d,b),d.Z7b=function(a){var b=new d;return b.position=a.position,b.placement=a.placement,b.F7b(a.D7b()),b.width=a.width+a.strokeWidth(),b.height=a.height+a.strokeWidth(),b.rotate=null==a.rotate?null:180*a.rotate/Math.PI,b.xOffset=a.xOffset,b.yOffset=a.yOffset,b},Object.defineProperty(d.prototype,"placement",{get:function(){return a.core.UOb.isNullEnum(this.DYb)&&(this.DYb=a.Placement.Auto),this.DYb},set:function(a){this.DYb!=a&&(this.DYb=a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"position",{get:function(){return a.core.UOb.isNullEnum(this.nEa)&&(this.nEa=a.AnnotationPosition.Outside),this.nEa},set:function(a){this.nEa!=a&&(this.nEa=a)},enumerable:!0,configurable:!0}),d.prototype.queryInterface=function(a){return"IAnnotationPosition"===a?this:b.prototype.queryInterface.call(this,a)},d.prototype.T7b=function(c){var d=this.width+this.strokeWidth(),e=this.height+this.strokeWidth(),f=this.nEa;return f===a.AnnotationPosition.Center?this.matrix.TVb(new a.core.Point(d/2,e/2)):f===a.AnnotationPosition.Inside?b.prototype.T7b.call(this,c):b.prototype.T7b.call(this,c.reverse())},d.prototype.Fu=function(a){if(null!=a){var c=a.w$b("donut",this);if(null!=c)return this.F7b(c),c;if(null!=(c=a.w$b("rectangle",this)))return this.F7b(c),c}return b.prototype.Fu.call(this,a)},d.prototype.layout=function(c,d,e){if(d instanceof a.z$b)null!=(f=d.donutAttachmentInfo(this))&&this.layoutWithDonutAttachInfo(f);else if(d instanceof a.R$b){var f;null!=(f=d.rectAttachmentInfo(this))&&this.layoutWithRectAttachInfo(f)}else b.prototype.layout.call(this,c,d,e)},d.prototype.layoutWithDonutAttachInfo=function(c){var d,e,f,g,h,i,j=this.nEa,k=c.startAngle+c.sweep/2,l=c.radius;j===a.AnnotationPosition.Center&&(l-=(l-c.innerRadius)/2),d=new a.core.Point(c.center.x+l*Math.cos(k),c.center.y+l*Math.sin(k)),e=new a.Vector(Math.cos(k),Math.sin(k)),f=new a.Vector(Math.cos(k+Math.PI/2),Math.sin(k+Math.PI/2)),g=f,h=e,c.swapAxes&&(i=e,e=f,f=i),e=c.xReversed?e.reverse():e,f=c.yReversed?f.reverse():f,b.prototype.layoutWithPointAttachInfo.call(this,new a.PointAttachInfo(d,g,h,e,f))},d.prototype.layoutWithRectAttachInfo=function(c){var d=this.nEa,e=this.DYb,f=new a.Vector(c.rightBottom.x-c.leftBottom.x,c.rightBottom.y-c.leftBottom.y),g=new a.Vector(c.leftTop.x-c.leftBottom.x,c.leftTop.y-c.leftBottom.y),h=null,i=null,j=a.AnnotationLib.getRectangleAttachmentPoints(c),k=new a.core.Point(0,0);if(d!==a.AnnotationPosition.Center){switch(e){case a.Placement.Auto:h=null!=c.AutoXDir?c.AutoXDir:f,i=null!=c.AutoYDir?c.AutoYDir:g;break;case a.Placement.Top:i=a.Vector.vertical(),h=a.Vector.horizon();break;case a.Placement.Left:i=new a.Vector((-1),0),h=a.Vector.vertical();break;case a.Placement.Right:i=a.Vector.horizon(),h=new a.Vector(0,1);break;case a.Placement.Bottom:i=new a.Vector(0,1),h=new a.Vector((-1),0)}k=a.Vector.farthestPoint(j,i).point()}else h=null!=c.AutoXDir?c.AutoXDir:f,i=null!=c.AutoYDir?c.AutoYDir:g,k.x=(c.leftTop.x+c.rightBottom.x)/2,k.y=(c.leftTop.y+c.rightBottom.y)/2;b.prototype.layoutWithPointAttachInfo.call(this,new a.PointAttachInfo(k,h,i,f,g))},d);function d(){var c=b.call(this)||this;return c.nEa=a.AnnotationPosition.Outside,c.DYb=a.Placement.Auto,c}a.PositionRectangleAnnotation=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.RectangleAnnotation,__extends(d,b),Object.defineProperty(d.prototype,"vAlign",{get:function(){return this.f9a},set:function(a){this.f9a=a},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"hAlign",{get:function(){return this.xGa},set:function(a){this.xGa=a},enumerable:!0,configurable:!0}),d.prototype.marginTop=function(){return null!=this.margin?this.margin.top:0},d.prototype.marginLeft=function(){return null!=this.margin?this.margin.left:0},d.prototype.marginRight=function(){return null!=this.margin?this.margin.right:0},d.prototype.marginBottom=function(){return null!=this.margin?this.margin.bottom:0},d.prototype.paddingTop=function(){return null!=this.padding?this.padding.top:0},d.prototype.paddingRight=function(){return null!=this.padding?this.padding.right:0},d.prototype.paddingBottom=function(){return null!=this.padding?this.padding.bottom:0},d.prototype.paddingLeft=function(){return null!=this.padding?this.padding.top:0},d.prototype.Vo=function(){return this.width+this.paddingLeft()+this.paddingRight()},d.prototype._v=function(){return this.height+this.paddingTop()+this.paddingBottom()},d.prototype.queryInterface=function(c){return"IBoxBounded"===c?a.BoxBounded.J_b(this):"IVertexes"===c?this.vertexes():b.prototype.queryInterface.call(this,c)},d.prototype.vertexes=function(){var b,c,d,e;return null==this.matrix?null:(b=this.strokeWidth(),this.layoutWithTransfromInfo(this.$7b()),c=this.Vo()+b+this.marginLeft()+this.marginRight(),d=this._v()+b+this.marginTop()+this.marginBottom(),e=this.matrix.VVb([0,c,0,c],[0,0,d,d]),a.Vertexes.J_b(e.xs,e.ys))},d.prototype.box=function(){return null==this.matrix?null:(this.layoutWithTransfromInfo(this.$7b()),this.getBoxBound())},d.prototype.getBoxBound=function(){var b=this.strokeWidth(),c=this.Vo()+b+this.marginLeft()+this.marginRight(),d=this._v()+b+this.marginTop()+this.marginBottom(),e=this.matrix.VVb([0,c,0,c],[0,0,d,d]),f=Math.min.apply(Math,e.xs),g=Math.min.apply(Math,e.ys),h=Math.max.apply(Math,e.xs)-f,i=Math.max.apply(Math,e.ys)-g;return new a.core.Rect(f,g,h,i)},d.prototype.strokeWidth=function(){var a=this.H7b().strokeWidth;return a||0},d.prototype.T7b=function(){var b=this.getBoxBound(),c=b.width,d=b.height,e=c/2,f=d/2;if(this.position===a.AnnotationPosition.Center)return new a.core.Point(e+b.left,f+b.top);switch(this.placement){case a.Placement.Bottom:case a.Placement.Top:switch(f=this.placement===a.Placement.Bottom?this.position===a.AnnotationPosition.Inside?d:0:this.position===a.AnnotationPosition.Inside?0:d,this.hAlign){case a.AnnotationAlign.Left:e=0;break;case a.AnnotationAlign.Right:e=c;break;default:e=c/2}break;case a.Placement.Left:case a.Placement.Right:switch(this.vAlign){case a.AnnotationAlign.Top:f=0;break;case a.AnnotationAlign.Bottom:f=d;break;default:f=d/2}e=this.placement===a.Placement.Left?this.position===a.AnnotationPosition.Inside?0:c:this.position===a.AnnotationPosition.Inside?c:0}return new a.core.Point(e+b.left,f+b.top)},Object.defineProperty(d.prototype,"top",{get:function(){return this.strokeWidth()/2+this.marginTop()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"left",{get:function(){return this.strokeWidth()/2+this.marginLeft()},enumerable:!0,configurable:!0}),d.prototype.Fu=function(a){if(null==a)return null;var c=a.w$b("rectangle",this);return null!=c?(this.F7b(c),c):b.prototype.Fu.call(this,a)},d.prototype.layout=function(b,c,d){if(c instanceof a.R$b){var e=c.rectAttachmentInfo(this);e&&this.layoutWithRectAttachInfo(e)}},d.prototype.layoutWithRectAttachInfo=function(b){var c=new a.Vector(b.rightBottom.x-b.leftBottom.x,b.rightBottom.y-b.leftBottom.y),d=new a.Vector(b.leftTop.x-b.leftBottom.x,b.leftTop.y-b.leftBottom.y),e=new a.core.Point(0,0);if(this.position===a.AnnotationPosition.Center)e.x=(b.leftTop.x+b.rightBottom.x)/2,e.y=(b.leftTop.y+b.rightBottom.y)/2;else switch(this.placement===a.Placement.Auto&&(this.position===a.AnnotationPosition.Inside?this.placement=a.Placement.Bottom:this.placement=a.Placement.Top,this.position=a.AnnotationPosition.Outside),this.placement){case a.Placement.Bottom:switch(this.hAlign){case a.AnnotationAlign.Left:e=b.leftBottom.clone();break;case a.AnnotationAlign.Right:e=b.rightBottom.clone();break;case a.AnnotationAlign.Center:e.x=(b.leftBottom.x+b.rightBottom.x)/2,e.y=(b.leftBottom.y+b.rightBottom.y)/2}break;case a.Placement.Top:switch(this.hAlign){case a.AnnotationAlign.Left:e=b.leftTop.clone();break;case a.AnnotationAlign.Right:e=b.rightTop.clone();break;case a.AnnotationAlign.Center:e.x=(b.leftTop.x+b.rightTop.x)/2,e.y=(b.leftTop.y+b.rightTop.y)/2}break;case a.Placement.Left:switch(this.vAlign){case a.AnnotationAlign.Top:e=b.leftTop.clone();break;case a.AnnotationAlign.Bottom:e=b.leftBottom.clone();break;case a.AnnotationAlign.Middle:e.x=(b.leftTop.x+b.leftBottom.x)/2,e.y=(b.leftTop.y+b.leftBottom.y)/2}break;case a.Placement.Right:switch(this.vAlign){case a.AnnotationAlign.Top:e=b.rightTop.clone();break;case a.AnnotationAlign.Bottom:e=b.rightBottom.clone();break;case a.AnnotationAlign.Middle:e.x=(b.rightTop.x+b.rightBottom.x)/2,e.y=(b.rightTop.y+b.rightBottom.y)/2}}this.layoutWithPointAttachInfo(new a.PointAttachInfo(e,c,d,c,d))},d.prototype.createTransformInfo=function(){return new a.X7b},d.prototype.$7b=function(){return b.prototype.O7b.call(this)},d.prototype.layoutWithPointAttachInfo=function(b){var c,d,e;null!=b&&(c=this.$7b(),c.connectionPoint=this.calcPos(b.point,b.xOffsetDir,b.yOffsetDir),d=!1,e=a.Vector.angle(b.xDir,a.Vector.horizon()),b.yDir.cross(b.xDir)<0&&(d=!0,e-=Math.PI),d&&(c.scale[0]*=-1),this.parentRotate=e,c.rotation=null==this.Zsb()?this.parentRotate:this.Zsb(),this.matrix=new a.models.aSb,this.layoutWithTransfromInfo(c))},d.prototype.layoutWithTransfromInfo=function(b){var c,d,e,f=b.connectionPoint,g=b.junctionPoint;null!=f&&(this.matrix.hZ(),this.matrix.eb(b.scale[0],b.scale[1]),c=b.rotation-this.parentRotate,this.matrix.QVb(c),null==g&&(d=this.T7b(),e=new a.models.aSb,e.QVb(this.parentRotate),b.junctionPoint=g=e.TVb(d)),this.matrix.QVb(this.parentRotate),this.matrix.Dn(f.x-g.x,f.y-g.y))},d.prototype.beforeRender=function(a,c){b.prototype.beforeRender.call(this,a,c),this.layoutWithTransfromInfo(this.$7b())},d.prototype.render=function(a,b){this.$7b().connectionPoint&&(a.startTransform(this.matrix.An()),a.drawRect(this.left,this.top,this.Vo(),this._v()),a.endTransform())},d);function d(c,d,e,f,g,h){void 0===e&&(e=a.AnnotationPosition.Outside),void 0===f&&(f=a.Placement.Auto),void 0===g&&(g=a.AnnotationAlign.Middle),void 0===h&&(h=a.AnnotationAlign.Center);var i=b.call(this)||this;return i.margin=null==c?new a.options.bOa(null):c,i.padding=null==d?new a.options.bOa(null):c,i.vAlign=g,i.hAlign=h,i.position=e,i.placement=f,i}a.RectangleBoxRectangleAnnotation=c}(dv=dv||{}),
- function(a){"use strict";var b,c=(b=a.Q7b,__extends(d,b),d.prototype.translate=function(a,b){null!=this.connectionPoint&&(this.connectionPoint.x+=a,this.connectionPoint.y+=b)},d.prototype.init=function(){b.prototype.init.call(this),this.connectionPoint=null,this.junctionPoint=null},d.prototype.clone=function(){var a=new d;return a.assign(this),a},d.prototype.assign=function(a){b.prototype.assign.call(this,a),null!=a.connectionPoint&&(this.connectionPoint=a.connectionPoint.clone()),null!=a.junctionPoint&&(this.junctionPoint=a.junctionPoint.clone())},d.prototype.lerp=function(a,c,d,e){b.prototype.lerp.call(this,a,c,d,e),this.connectionPoint=this.lerpPoint(a.connectionPoint,c.connectionPoint,d,e),this.junctionPoint=this.lerpPoint(a.junctionPoint,c.junctionPoint,d,e)},d.prototype.lerpPoint=function(b,c,d,e){return new a.core.Point(e(b.x,c.x,d),e(b.y,c.y,d))},d);function d(){var a=b.call(this)||this;return a.connectionPoint=null,a.junctionPoint=null,a}a.X7b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.BaseAnimation,__extends(d,b),d.prototype.onEndAnimation=function(a){this.toInfo.assign(this.endInfo)},d.prototype.applyTransformation=function(a,b){this.toInfo.lerp(this.fromInfo,this.endInfo,a,this.lerp)},d.prototype.lerp=function(a,b,c){return(a=a||0)+((b=b||0)-a)*c},d);function d(a,c){var d=b.call(this)||this;return d.fromInfo=a.O7b(),d.toInfo=c.O7b(),d.endInfo=c.O7b().clone(),d}a._7b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.BaseAnimation,__extends(d,b),d.prototype.onEndAnimation=function(a){this.toMatrix.An(this.toAffine)},d.prototype.applyTransformation=function(a,b){this.toMatrix.An(this.lerpMatrix(a))},d.prototype.lerp=function(a,b,c){return(a=a||0)+((b=b||0)-a)*c},d.prototype.lerpMatrix=function(b){var c=new a.models.aSb;return c.QVb(this.lerp(this.fromInfo.rotation,this.toInfo.rotation,b)),c.eb(this.lerp(this.fromInfo.scale[0],this.toInfo.scale[0],b),this.lerp(this.fromInfo.scale[1],this.toInfo.scale[1],b)),c.Dn(this.lerp(this.fromInfo.translation[0],this.toInfo.translation[0],b),this.lerp(this.fromInfo.translation[1],this.toInfo.translation[1],b)),c.An()},d.prototype.decompose_matrix=function(a){var b,c,d=a[0],e=a[1],f=a[2],g=a[3],h=d*g-e*f,i={translation:[a[4],a[5]],rotation:0,scale:[0,0],skew:[0,0]};return 0!=d||0!=e?(b=Math.sqrt(d*d+e*e),i.rotation=0<e?Math.acos(d/b):-Math.acos(d/b),i.scale=[b,h/b],i.skew=[Math.atan((d*f+e*g)/(b*b)),0]):0==f&&0==g||(c=Math.sqrt(f*f+g*g),i.rotation=Math.PI/2-(0<g?Math.acos(-f/c):-Math.acos(f/c)),i.scale=[h/c,c],i.skew=[0,Math.atan((d*f+e*g)/(c*c))]),i},d);function d(a,c,d){return void 0===d&&(d=0),b.call(this)||this}a.a8b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.BaseAnimation,__extends(d,b),d.prototype.b8b=function(b,c,d){var e,f,g,h,i=this.dis2(b.start,b.end);this.equals(i,this.dis2(c.start,c.end),1)&&(this.isStartCenter=this.equals(b.start.x,c.start.x,.5)&&this.equals(b.start.y,c.start.y,.5),this.isEndCenter=this.equals(b.end.x,c.end.x,.5)&&this.equals(b.end.y,c.end.y,.5),this.xor(this.isStartCenter,this.isEndCenter))&&(this.isRotate=!0,this.radius=Math.sqrt(i),e=void 0,f=void 0,f=this.isStartCenter?(e=a.Vector.pointSub(b.start,b.end),a.Vector.pointSub(c.start,c.end)):(e=a.Vector.pointSub(b.end,b.start),a.Vector.pointSub(c.end,c.start)),g=new a.Vector(Math.cos(d),Math.sin(d)),this.startAngle=a.Vector.angle(e,g)+d,h=a.Vector.angle(f,g)+d,this.sweep=h-this.startAngle)},d.prototype.xor=function(a,b){return(!a||!b)&&(a||b)},d.prototype.regualrAngle=function(a){return(a%=2*Math.PI)<0&&(a=2*Math.PI+a),a},d.prototype.equals=function(a,b,c){return Math.abs(a-b)<c},d.prototype.dis2=function(a,b){return(b.x-a.x)*(b.x-a.x)+(b.y-a.y)*(b.y-a.y)},d.prototype.onEndAnimation=function(a){this.toInfo.assign(this.endInfo)},d.prototype.applyTransformation=function(a,b){this.isRotate?this.isStartCenter?this.toInfo.end=this.radLerp(this.fromInfo.start,this.radius,this.startAngle,this.sweep,a):this.isEndCenter&&(this.toInfo.start=this.radLerp(this.fromInfo.end,this.radius,this.startAngle,this.sweep,a)):this.toInfo.lerp(this.fromInfo,this.endInfo,a,this.lerp)},d.prototype.lerp=function(a,b,c){return(a=a||0)+((b=b||0)-a)*c},d.prototype.radLerp=function(b,c,d,e,f){var g=d+e*f;return new a.core.Point(b.x+c*Math.cos(g),b.y+c*Math.sin(g))},d);function d(a,c,d){void 0===d&&(d=0);var e=b.call(this)||this;return e.fromInfo=a.O7b(),e.toInfo=c.O7b(),e.endInfo=c.O7b().clone(),e.b8b(e.fromInfo,e.endInfo,e.regualrAngle(d)),e}a.c8b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a._7b,__extends(d,b),d.prototype.onEndAnimation=function(c){if(b.prototype.onEndAnimation.call(this,c),c instanceof a.d8b){var d=c.e8b();d.width=this.endWidth,d.height=this.endHeight}},d.prototype.applyTransformation=function(c,d){if(b.prototype.applyTransformation.call(this,c,d),d instanceof a.d8b){var e=d.e8b();e.width=this.lerp(this.fromWidth,this.endWidth,c),e.height=this.lerp(this.fromHeight,this.endHeight,c)}},d);function d(a,c){var d=b.call(this,a,c)||this;return d.fromWidth=a.width,d.fromHeight=a.height,d.endWidth=c.width,d.endHeight=c.height,d}a.f8b=c}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.distSquare=function(a,b){return(a.x-b.x)*(a.x-b.x)+(a.y-b.y)*(a.y-b.y)},c.prototype.isAroundZero=function(a){return a>-this.EPSILON&&a<this.EPSILON},c.prototype.isNotAroundZero=function(a){return a>this.EPSILON||a<-this.EPSILON},c.prototype.cubicAt=function(a,b,c,d,e){var f=1-e;return f*f*(f*a+3*e*b)+e*e*(e*d+3*f*c)},c.prototype.cubicDerivativeAt=function(a,b,c,d,e){var f=1-e;return 3*(((b-a)*f+2*(c-b)*e)*f+(d-c)*e*e)},c.prototype.cubicRootAt=function(a,b,c,d,e,f){var g,h,i,j,k,l,m,n,o,p,q,r,s=d+3*(b-c)-a,t=3*(c-2*b+a),u=3*(b-a),v=a-e,w=t*t-3*s*u,x=t*u-9*s*v,y=u*u-3*t*v,z=0;return this.isAroundZero(w)&&this.isAroundZero(x)?this.isAroundZero(t)?f[0]=0:0<=(q=-u/t)&&q<=1&&(f[z++]=q):(g=x*x-4*w*y,this.isAroundZero(g)?(h=x/w,i=-h/2,0<=(q=-t/s+h)&&q<=1&&(f[z++]=q),0<=i&&i<=1&&(f[z++]=i)):0<g?(j=this.mathSqrt(g),k=w*t+1.5*s*(-x+j),l=w*t+1.5*s*(-x-j),0<=(q=(-t-((k=k<0?-this.mathPow(-k,this.ONE_THIRD):this.mathPow(k,this.ONE_THIRD))+(l=l<0?-this.mathPow(-l,this.ONE_THIRD):this.mathPow(l,this.ONE_THIRD))))/(3*s))&&q<=1&&(f[z++]=q)):(m=(2*w*t-3*s*x)/(2*this.mathSqrt(w*w*w)),n=Math.acos(m)/3,o=this.mathSqrt(w),p=Math.cos(n),q=(-t-2*o*p)/(3*s),i=(-t+o*(p+this.THREE_SQRT*Math.sin(n)))/(3*s),r=(-t+o*(p-this.THREE_SQRT*Math.sin(n)))/(3*s),0<=q&&q<=1&&(f[z++]=q),0<=i&&i<=1&&(f[z++]=i),0<=r&&r<=1&&(f[z++]=r))),z},c.prototype.cubicExtrema=function(a,b,c,d,e){var f,g,h,i,j=6*c-12*b+6*a,k=9*b+3*d-3*a-9*c,l=3*b-3*a,m=0;return this.isAroundZero(k)?this.isNotAroundZero(j)&&0<=(g=-l/j)&&g<=1&&(e[m++]=g):(f=j*j-4*k*l,this.isAroundZero(f)?e[0]=-j/(2*k):0<f&&(h=this.mathSqrt(f),i=(-j-h)/(2*k),0<=(g=(-j+h)/(2*k))&&g<=1&&(e[m++]=g),0<=i&&i<=1&&(e[m++]=i))),m},c.prototype.cubicSubdivide=function(a,b,c,d,e,f){var g=(b-a)*e+a,h=(c-b)*e+b,i=(d-c)*e+c,j=(h-g)*e+g,k=(i-h)*e+h,l=(k-j)*e+j;f[0]=a,f[1]=g,f[2]=j,f[3]=l,f[4]=l,f[5]=k,f[6]=i,f[7]=d},c.prototype.cubicProjectPoint=function(a,b,c,d,e,f,g,h,i,j,k){var l,m,n,o,p,q,r=null,s=.005,t=1/0;for(this.g8b.x=i,this.g8b.y=j,p=0;p<1;p+=.05)this.h8b.x=this.cubicAt(a,c,e,g,p),this.h8b.y=this.cubicAt(b,d,f,h,p),(n=this.distSquare(this.g8b,this.h8b))<t&&(r=p,t=n);for(t=1/0,q=0;q<32&&!(s<this.EPSILON_NUMERIC);q++)l=r-s,m=r+s,this.h8b.x=this.cubicAt(a,c,e,g,l),this.h8b.y=this.cubicAt(b,d,f,h,l),n=this.distSquare(this.h8b,this.g8b),0<=l&&n<t?(r=l,t=n):(this.i8b.x=this.cubicAt(a,c,e,g,m),this.i8b.y=this.cubicAt(b,d,f,h,m),o=this.distSquare(this.i8b,this.g8b),m<=1&&o<t?(r=m,t=o):s*=.5);return k&&(k[0]=this.cubicAt(a,c,e,g,r),k[1]=this.cubicAt(b,d,f,h,r)),this.mathSqrt(t)},c.prototype.quadraticAt=function(a,b,c,d){var e=1-d;return e*(e*a+2*d*b)+d*d*c},c.prototype.quadraticDerivativeAt=function(a,b,c,d){return 2*((1-d)*(b-a)+d*(c-b))},c.prototype.quadraticRootAt=function(a,b,c,d,e){var f,g,h,i,j=a-2*b+c,k=2*(b-a),l=a-d,m=0;return this.isAroundZero(j)?this.isNotAroundZero(k)&&0<=(g=-l/k)&&g<=1&&(e[m++]=g):(f=k*k-4*j*l,this.isAroundZero(f)?0<=(g=-k/(2*j))&&g<=1&&(e[m++]=g):0<f&&(h=this.mathSqrt(f),i=(-k-h)/(2*j),0<=(g=(-k+h)/(2*j))&&g<=1&&(e[m++]=g),0<=i&&i<=1&&(e[m++]=i))),m},c.prototype.quadraticExtremum=function(a,b,c){var d=a+c-2*b;return 0==d?.5:(a-b)/d},c.prototype.quadraticSubdivide=function(a,b,c,d,e){var f=(b-a)*d+a,g=(c-b)*d+b,h=(g-f)*d+f;e[0]=a,e[1]=f,e[2]=h,e[3]=h,e[4]=g,e[5]=c},c.prototype.quadraticProjectPoint=function(a,b,c,d,e,f,g,h,i){var j,k,l,m,n,o,p=null,q=.005,r=1/0;for(this.g8b.x=g,this.g8b.y=h,j=0;j<1;j+=.05)this.h8b.x=this.quadraticAt(a,c,e,j),this.h8b.y=this.quadraticAt(b,d,f,j),(n=this.distSquare(this.g8b,this.h8b))<r&&(p=j,r=n);for(r=1/0,k=0;k<32&&!(q<this.EPSILON_NUMERIC);k++)l=p-q,m=p+q,this.h8b.x=this.quadraticAt(a,c,e,l),this.h8b.y=this.quadraticAt(b,d,f,l),n=this.distSquare(this.h8b,this.g8b),0<=l&&n<r?(p=l,r=n):(this.i8b.x=this.quadraticAt(a,c,e,m),this.i8b.y=this.quadraticAt(b,d,f,m),o=this.distSquare(this.i8b,this.g8b),m<=1&&o<r?(p=m,r=o):q*=.5);return i&&(i[0]=this.quadraticAt(a,c,e,p),i[1]=this.quadraticAt(b,d,f,p)),this.mathSqrt(r)},c);function c(){this.mathPow=Math.pow,this.mathSqrt=Math.sqrt,this.EPSILON=1e-8,this.EPSILON_NUMERIC=1e-4,this.THREE_SQRT=Math.sqrt(3),this.ONE_THIRD=1/3,this.g8b=new a.Vector,this.h8b=new a.Vector,this.i8b=new a.Vector}a.Curve=b}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.PositionRectangleAnnotation,__extends(d,b),d.prototype.render=function(a,b){null!=this.O7b().connectionPoint&&(a.beginTransform(),a.startTransform(this.matrix.An()),a.drawEllipse(this.width/2+this.strokeWidth()/2,this.height/2+this.strokeWidth()/2,this.width/2,this.height/2,void 0,void 0),a.endTransform(),a.restoreTransform())},d);function d(){return b.call(this)||this}a.PositionEllipseAnnotation=c}(dv=dv||{}),dv=dv||{},dv=dv||{},function(a){"use strict";var b,c=(b=a.PositionRectangleAnnotation,__extends(d,b),Object.defineProperty(d.prototype,"source",{get:function(){return this.LZb},set:function(a){null!=a&&(this.LZb=a)},enumerable:!0,configurable:!0}),d.prototype.strokeWidth=function(){return 0},d.prototype.render=function(a,b){this.LZb&&(a.beginTransform(),a.startTransform(this.matrix.An()),a.drawImage(this.LZb,0,0,this.width,this.height,this.matrix.An()),a.endTransform(),a.restoreTransform())},d);function d(){return b.call(this)||this}a.PositionImageAnnotation=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Annotation,__extends(d,b),d.prototype.O7b=function(){return this.transformInfo},d.prototype.Fu=function(a){if(null!=a){var b=a.w$b("line",this);if(null!=b)return this.F7b(b),b}return null},d.prototype.beforeLayout=function(b,c){this.transformInfo=new a.j8b},d.prototype.layout=function(b,c,d){var e,f,g,h;if(c instanceof a.E$b){if(e=c.lineAttachmentInfo(this),null==e)return;if(e.start.equals(e.end))return;f=this.O7b(),g=new a.Vector(e.end.x-e.start.x,e.end.y-e.start.y),h=g.reverse(),f.start=this.calcPos(e.start,g,h),f.end=this.calcPos(e.end,g,h)}},d.prototype.render=function(a,b){var c=this.transformInfo.start,d=this.transformInfo.end;c&&d&&a.drawLine(c.x,c.y,d.x,d.y)},d.prototype.box=function(){if(this.transformInfo&&this.transformInfo.start&&this.transformInfo.end){var b=Math.min(this.transformInfo.start.x,this.transformInfo.end.x),c=Math.min(this.transformInfo.start.y,this.transformInfo.end.y),d=Math.max(this.transformInfo.start.x,this.transformInfo.end.x)-b,e=Math.max(this.transformInfo.start.y,this.transformInfo.end.y)-c;return new a.core.Rect(b,c,d,e)}return null},d.prototype.queryInterface=function(c){return"IBoxBounded"===c?a.BoxBounded.J_b(this):b.prototype.queryInterface.call(this,c)},d);function d(){return null!==b&&b.apply(this,arguments)||this}a.k8b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.k8b,__extends(d,b),Object.defineProperty(d.prototype,"width",{get:function(){return null==this.REa?10:this.REa},set:function(a){!isNaN(a)&&0<a&&(this.REa=a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"endOffset",{get:function(){return this.ZZb},set:function(a){this.ZZb=a},enumerable:!0,configurable:!0}),d.prototype.Gauge1=function(b,c,d){var e,f,g,h,i,j,k,l,m;return void 0===d&&(d=null),e=new a.Vector(c.x-b.x,c.y-b.y),d=d||10,b.equals(c)?null:(f=new a.Vector(e.y,(-e.x)),g=this.width,h="",i=a.Vector.endPoint(c,e.reverse(),d),h="M"+i.x+","+i.y,j=a.Vector.endPoint(b,f,g),h+="L"+j.x+","+j.y,k=a.Vector.endPoint(j,e.reverse(),g),l=a.Vector.endPoint(b,e.reverse(),g),h+="Q"+k.x+","+k.y+" "+l.x+","+l.y,m=a.Vector.endPoint(b,f.reverse(),g),h+="T"+m.x+","+m.y+"Z")},d.prototype.render=function(b,c){var d,e=this.transformInfo.start,f=this.transformInfo.end;e&&f&&(d=this.Gauge1(e,f,this.endOffset),d&&b.drawPath(d,a.PathFillType.Nonzero,a.LineCap.Butt,a.LineJoin.Miter))},d.prototype.box=function(){var b,c,d,e,f,g,h,i,j,k,l,m,n;return this.transformInfo&&this.transformInfo.start&&this.transformInfo.end?(b=this.transformInfo.start,c=this.transformInfo.end,d=this.endOffset,e=new a.Vector(c.x-b.x,c.y-b.y),d=d||10,b.equals(c)?null:(f=new a.Vector(e.y,(-e.x)),g=this.width,h=[a.Vector.endPoint(c,e.reverse(),d),a.Vector.endPoint(b,f,g),a.Vector.endPoint(b,e.reverse(),g),a.Vector.endPoint(b,f.reverse(),g)],i=h.map(function(a){return a.x}),j=h.map(function(a){return a.y}),k=Math.min.apply(Math,i),l=Math.min.apply(Math,j),m=Math.max.apply(Math,i)-k,n=Math.max.apply(Math,j)-l,new a.core.Rect(k,l,m,n))):null},d);function d(a,c){var d=b.call(this)||this;return d.endOffset=c,d}a.l8b=c}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.init=function(){this.start=null,this.end=null},c.prototype.clone=function(){var a=new c;return a.assign(this),a},c.prototype.assign=function(a){null!=a.start&&(this.start=a.start.clone()),null!=a.end&&(this.end=a.end.clone())},c.prototype.lerp=function(a,b,c,d){this.start=this.lerpPoint(a.start,b.start,c,d),this.end=this.lerpPoint(a.end,b.end,c,d)},c.prototype.lerpPoint=function(b,c,d,e){return new a.core.Point(e(b.x,c.x,d),e(b.y,c.y,d))},c);function c(){this.start=null,this.end=null}a.j8b=b}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.PositionRectangleAnnotation,__extends(d,b),d.prototype.B7b=function(b){var c,d,e,f,g,h;if(null==this.matrix)return!1;for(b=this.matrix.NVb().TVb(b),c=new a.m8b,d=this.H7b().strokeWidth,e=0,f=this.n8b;e<f.length;e++)if(g=f[e],h=a.models.Path.parseToAbs(g).reduce(function(a,b){return a.push.apply(a,b),a},[]),d&&c.containStroke(h,d,b.x,b.y))return!0;return!1},Object.defineProperty(d.prototype,"paths",{set:function(a){Array.isArray(a)&&(this.n8b=a.slice())},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"join",{get:function(){return this.EZb},set:function(b){null!=b&&(this.EZb=new a.core.Point(b.x,b.y))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"lineCap",{get:function(){return a.core.UOb.isNullEnum(this.CZb)&&(this.CZb=a.LineCap.Butt),this.CZb},set:function(b){this.CZb!=b&&(this.CZb=a.core.UOb.asEnum(b,a.LineCap,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"lineJoin",{get:function(){return a.core.UOb.isNullEnum(this.DZb)&&(this.DZb=a.LineJoin.Miter),this.DZb},set:function(b){this.DZb!=b&&(this.DZb=a.core.UOb.asEnum(b,a.LineJoin,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"fillType",{get:function(){return a.core.UOb.isNullEnum(this.o8b)&&(this.o8b=a.PathFillType.Nonzero),this.o8b},set:function(b){this.o8b!=b&&(this.o8b=a.core.UOb.asEnum(b,a.PathFillType,!0))},enumerable:!0,configurable:!0}),d.prototype.U7b=function(){this.O7b().scale[0]*=this.width/100,this.O7b().scale[1]*=this.height/100},d.prototype.T7b=function(){return null!=this.join?this.matrix.TVb(this.join.clone()):this.matrix.TVb(new a.core.Point(50,50))},d.prototype.strokeWidth=function(){return 0},d.prototype.render=function(a,b){var c,d,e;if(this.n8b&&this.width&&this.height){for(a.beginTransform(),a.startTransform(this.matrix.An()),c=0,d=this.n8b;c<d.length;c++)e=d[c],a.drawPath(e,this.fillType,this.lineCap,this.lineJoin);a.endTransform(),a.restoreTransform()}},d);function d(){var c=b.call(this)||this;return c.o8b=a.PathFillType.Nonzero,c.CZb=a.LineCap.Butt,c.DZb=a.LineJoin.Miter,c}a.PathsAnnotation=c}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.windingLine=function(a,b,c,d,e,f){var g,h,i;return b<f&&d<f||f<b&&f<d?0:d===b?0:(g=d<b?1:-1,h=(f-b)/(d-b),1!=h&&0!=h||(g=d<b?.5:-.5),i=h*(c-a)+a,i===e?1/0:e<i?g:0)},c.prototype.normalizeRadian=function(a){var b=2*Math.PI;return(a%=b)<0&&(a+=b),a},c.prototype.arc=function(a,b,c,d,e,f,g,h,i){var j,k,l,m;return 0!==g&&(j=g,h-=a,i-=b,k=Math.sqrt(h*h+i*i),!(c<k-j||k+j<c)&&(Math.abs(d-e)%this.PI2<1e-4||(f?(l=d,d=this.normalizeRadian(e),e=this.normalizeRadian(l)):(d=this.normalizeRadian(d),e=this.normalizeRadian(e)),e<d&&(e+=this.PI2),m=Math.atan2(i,h),m<0&&(m+=this.PI2),d<=m&&m<=e||m+this.PI2>=d&&m+this.PI2<=e)))},c.prototype.quadratic=function(a,b,c,d,e,f,g,h,i){if(0===g)return!1;var j=g;return!(b+j<i&&d+j<i&&f+j<i||i<b-j&&i<d-j&&i<f-j||a+j<h&&c+j<h&&e+j<h||h<a-j&&h<c-j&&h<e-j)&&this.Curve.quadraticProjectPoint(a,b,c,d,e,f,h,i,null)<=j/2},c.prototype.cubic=function(a,b,c,d,e,f,g,h,i,j,k){if(0===i)return!1;var l=i;return!(b+l<k&&d+l<k&&f+l<k&&h+l<k||k<b-l&&k<d-l&&k<f-l&&k<h-l||a+l<j&&c+l<j&&e+l<j&&g+l<j||j<a-l&&j<c-l&&j<e-l&&j<g-l)&&this.Curve.cubicProjectPoint(a,b,c,d,e,f,g,h,j,k,null)<=l/2},c.prototype.line=function(a,b,c,d,e,f,g){var h,i,j;return 0!==e&&(h=e,i=0,!(b+h<g&&d+h<g||g<b-h&&g<d-h||a+h<f&&c+h<f||f<a-h&&f<c-h)&&(a===c?Math.abs(f-a)<=h/2:(j=(i=(b-d)/(a-c))*f-g+(a*d-c*b)/(a-c),j*j/(i*i+1)<=h/2*h/2)))},c.prototype.isAroundEqual=function(a,b){return Math.abs(a-b)<this.EPSILON},c.prototype.swapExtrema=function(){var a=this.extrema[0];this.extrema[0]=this.extrema[1],this.extrema[1]=a},c.prototype.windingCubic=function(a,b,c,d,e,f,g,h,i,j){var k,l,m,n,o,p,q,r;if(b<j&&d<j&&f<j&&h<j||j<b&&j<d&&j<f&&j<h)return 0;if(k=this.Curve.cubicRootAt(b,d,f,h,j,this.roots),0===k)return 0;for(l=0,m=-1,n=null,o=null,p=0;p<k;p++)q=this.roots[p],r=0===q||1===q?.5:1,this.Curve.cubicAt(a,c,e,g,q)<i||(m<0&&(m=this.Curve.cubicExtrema(b,d,f,h,this.extrema),this.extrema[1]<this.extrema[0]&&1<m&&this.swapExtrema(),n=this.Curve.cubicAt(b,d,f,h,this.extrema[0]),1<m&&(o=this.Curve.cubicAt(b,d,f,h,this.extrema[1]))),l+=2===m?q<this.extrema[0]?n<b?r:-r:q<this.extrema[1]?o<n?r:-r:h<o?r:-r:q<this.extrema[0]?n<b?r:-r:h<n?r:-r);return l},c.prototype.windingQuadratic=function(a,b,c,d,e,f,g,h){var i,j,k,l,m,n;if(b<h&&d<h&&f<h||h<b&&h<d&&h<f)return 0;if(i=this.Curve.quadraticRootAt(b,d,f,h,this.roots),0===i)return 0;if(j=this.Curve.quadraticExtremum(b,d,f),0<=j&&j<=1){for(k=0,l=this.Curve.quadraticAt(b,d,f,j),m=0;m<i;m++)n=0===this.roots[m]||1===this.roots[m]?.5:1,this.Curve.quadraticAt(a,c,e,this.roots[m])<g||(k+=this.roots[m]<j?l<b?n:-n:f<l?n:-n);return k}return n=0===this.roots[0]||1===this.roots[0]?.5:1,this.Curve.quadraticAt(a,c,e,this.roots[0])<g?0:f<b?n:-n},c.prototype.windingArc=function(a,b,c,d,e,f,g,h){var i,j,k,l,m,n,o;if(c<(h-=b)||h<-c)return 0;if(i=Math.sqrt(c*c-h*h),this.roots[0]=-i,this.roots[1]=i,j=Math.abs(d-e),j<1e-4)return 0;if(j%this.PI2<1e-4)return d=0,e=this.PI2,k=f?1:-1,g>=this.roots[0]+a&&g<=this.roots[1]+a?k:0;for((e=f?(d=this.normalizeRadian(e),this.normalizeRadian(d)):(d=this.normalizeRadian(d),this.normalizeRadian(e)))<d&&(e+=this.PI2),l=0,m=0;m<2;m++)n=this.roots[m],g<n+a&&(o=Math.atan2(h,n),k=f?1:-1,o<0&&(o=this.PI2+o),(d<=o&&o<=e||o+this.PI2>=d&&o+this.PI2<=e)&&(o>Math.PI/2&&o<1.5*Math.PI&&(k=-k),l+=k));return l},c.prototype.vMag=function(a){return Math.sqrt(a[0]*a[0]+a[1]*a[1])},c.prototype.vRatio=function(a,b){return(a[0]*b[0]+a[1]*b[1])/(this.vMag(a)*this.vMag(b))},c.prototype.vAngle=function(a,b){return(a[0]*b[1]<a[1]*b[0]?-1:1)*Math.acos(this.vRatio(a,b))},c.prototype.processArc=function(a,b,c,d,e,f,g,h,i){var j,k,l,m,n,o,p,q,r,s=Math.PI,t=e*(s/180),u=Math.cos(t)*(a-h)/2+Math.sin(t)*(b-i)/2,v=-1*Math.sin(t)*(a-h)/2+Math.cos(t)*(b-i)/2,w=u*u/(c*c)+v*v/(d*d);return 1<w&&(c*=Math.sqrt(w),d*=Math.sqrt(w)),j=(f===g?-1:1)*Math.sqrt((c*c*(d*d)-c*c*(v*v)-d*d*(u*u))/(c*c*(v*v)+d*d*(u*u))),k=(j=j||0)*c*v/d,l=j*-d*u/c,m=(a+h)/2+Math.cos(t)*k-Math.sin(t)*l,n=(b+i)/2+Math.sin(t)*k+Math.cos(t)*l,o=this.vAngle([1,0],[(u-k)/c,(v-l)/d]),p=[(u-k)/c,(v-l)/d],q=[(-1*u-k)/c,(-1*v-l)/d],r=this.vAngle(p,q),this.vRatio(p,q)<=-1&&(r=s),1<=this.vRatio(p,q)&&(r=0),0===g&&0<r&&(r-=2*s),1===g&&r<0&&(r+=2*s),[m,n,c,d,o,r,t,g]},c.prototype.containPath=function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;for(f=0,g=0,h=0,i=0,j=0,k=0;k<a.length;)switch(l=a[k++],"M"===l&&1<k&&(c||(f+=this.windingLine(g,h,i,j,d,e))),1===k&&(i=g=a[k],j=h=a[k+1]),l){case"M":g=i=a[k++],h=j=a[k++];break;case"L":if(c){if(this.line(g,h,a[k],a[k+1],b,d,e))return!0}else f+=this.windingLine(g,h,a[k],a[k+1],d,e)||0;g=a[k++],h=a[k++];break;case"C":if(c){if(this.cubic(g,h,a[k++],a[k++],a[k++],a[k++],a[k],a[k+1],b,d,e))return!0}else f+=this.windingCubic(g,h,a[k++],a[k++],a[k++],a[k++],a[k],a[k+1],d,e)||0;g=a[k++],h=a[k++];break;case"Q":if(c){if(this.quadratic(g,h,a[k++],a[k++],a[k],a[k+1],b,d,e))return!0}else f+=this.windingQuadratic(g,h,a[k++],a[k++],a[k],a[k+1],d,e)||0;g=a[k++],h=a[k++];break;case"A":if(m=this.processArc(g,h,a[k++],a[k++],a[k++],a[k++],a[k++],a[k++],a[k++]),n=m[0],o=m[1],p=m[2],q=m[3],r=m[4],s=m[5],k+=1,t=1-m[7],u=Math.cos(r)*p+n,v=Math.sin(r)*q+o,1<k?f+=this.windingLine(g,h,u,v,d,e):(i=u,j=v),w=(d-n)*q/p+n,c){if(this.arc(n,o,q,r,r+s,1==t,b,w,e))return!0}else f+=this.windingArc(n,o,q,r,r+s,1==t,w,e);g=Math.cos(r+s)*p+n,h=Math.sin(r+s)*q+o;break;case"R":if(i=g=a[k++],j=h=a[k++],x=i+a[k++],y=j+a[k++],c){if(this.line(i,j,x,j,b,d,e)||this.line(x,j,x,y,b,d,e)||this.line(x,y,i,y,b,d,e)||this.line(i,y,i,j,b,d,e))return!0}else f+=this.windingLine(x,j,x,y,d,e),f+=this.windingLine(i,y,i,j,d,e);break;case"Z":if(c){if(this.line(g,h,i,j,b,d,e))return!0}else f+=this.windingLine(g,h,i,j,d,e);g=i,h=j}return c||this.isAroundEqual(h,j)||(z=this.windingLine(g,h,i,j,d,e),f+=z||0),0!==f},c.prototype.contain=function(a,b,c){return this.containPath(a,0,!1,b,c)},c.prototype.containStroke=function(a,b,c,d){return this.containPath(a,b,!0,c,d)},c.p8b=function(b,c,d,e,f){var g,h,i,j,k,l=!1;return(f>=2*Math.PI||Math.abs(f-2*Math.PI)<=.001)&&(l=!0,f=2*Math.PI-.001),g=" 0 0,1 ",Math.abs(f)>Math.PI&&(g=" 0 1,1 "),h=e+f,i="",j=new a.core.Point(b,c),j.x+=d*Math.cos(e),j.y+=d*Math.sin(e),k=new a.core.Point(b,c),k.x+=d*Math.cos(h),k.y+=d*Math.sin(h),i+="M "+j.x.toFixed(3)+","+j.y.toFixed(3),i+=" A "+d.toFixed(3)+","+d.toFixed(3)+g,i+=k.x.toFixed(3)+","+k.y.toFixed(3),l&&(i+=" z"),i},c);function c(){this.PI2=2*Math.PI,this.EPSILON=1e-4,this.Curve=new a.Curve,this.roots=[-1,-1,-1],this.extrema=[-1,-1]}a.m8b=b}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.PositionRectangleAnnotation,__extends(d,b),Object.defineProperty(d.prototype,"fixedWidth",{get:function(){return this.q8b},set:function(a){!isNaN(a)&&0<a?this.q8b=a:this.q8b=null},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"maxWidth",{get:function(){return this.Pqb},set:function(a){!isNaN(a)&&0<a&&(this.Pqb=a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"text",{get:function(){return this.dGa},set:function(a){null!=a&&(this.dGa=a)},enumerable:!0,configurable:!0}),d.prototype.Klb=function(){var b=a.TextOverflow.Wrap;return a.core.UOb.isNullEnum(this.Xqb)||(b=this.Xqb),b},d.prototype.layout=function(a,c,d){if(this.dGa){var e=this.dGa,f=void 0;null==this.fixedWidth?(f=a.measureMultipleStrings(e,this.maxWidth,this.Klb()),this.width=Math.min(f.width,this.maxWidth)):(f=a.measureMultipleStrings(e,this.fixedWidth,this.Klb()),this.width=this.fixedWidth),this.height=f.height,b.prototype.layout.call(this,a,c,d)}},d.prototype.render=function(c,d){var e,f,g=this.O7b();this.dGa&&g.connectionPoint&&((null!=c.fill&&"transparent"!=c.fill&&"none"!=c.fill||null!=c.strokeWidth&&0<c.strokeWidth)&&b.prototype.render.call(this,c,d),c.startTransform(this.matrix.An()),e=new a.core.Rect(this.strokeWidth()/2,this.strokeWidth()/2,this.width,this.height),this.Klb()===a.TextOverflow.Clip?(f="TextOverlayClipId"+(1e5*Math.random()).toFixed(),c.addClipRect(e,f),c.startGroup(null,f),c.drawMultipleStrings(this.dGa,e,a.HAlign.Left,this.Klb()),c.endGroup()):c.drawMultipleStrings(this.dGa,e,a.HAlign.Center,this.Klb()),c.endTransform())},d);function d(c){var d=b.call(this)||this;return d.Xqb=a.TextOverflow.Wrap,d.Pqb=Number.MAX_VALUE,d.Xqb=c,d}a.PositionTextAnnotation=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.RectangleBoxRectangleAnnotation,__extends(d,b),d.prototype.Klb=function(){var b=a.TextOverflow.Wrap;return null!=this.Xqb&&(b=this.Xqb),b},d.prototype.layout=function(a,c,d){if(this.dGa){var e=this.dGa,f=void 0,g=this.strokeWidth();null!=this.q8b?(f=a.measureMultipleStrings(e,this.q8b-g,this.Klb()),this.height=f.height+g,this.width=this.q8b):(f=a.measureMultipleStrings(e,Number.MAX_VALUE,this.Klb()),this.height=f.height+g,this.width=f.width+g),b.prototype.layout.call(this,a,c,d)}},d.prototype.render=function(c,d){if(this.dGa&&this.$7b().connectionPoint){b.prototype.render.call(this,c,d),c.startTransform(this.matrix.An());var e=this.top+this.strokeWidth()/2+this.paddingTop(),f=this.left+this.strokeWidth()/2+this.paddingLeft(),g=new a.core.Rect(f,e,this.width-this.strokeWidth(),this.height-this.strokeWidth());c.drawMultipleStrings(this.dGa,g,a.HAlign.Center,this.Klb()),c.endTransform()}},d);function d(a,c,d,e,f,g,h){var i=b.call(this,a,c,d,e)||this;return i.dGa=f,i.Xqb=g,i.q8b=h,i}a.RectangleBoxTextAnnotation=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.RectangleBoxRectangleAnnotation,__extends(d,b),Object.defineProperty(d.prototype,"fixedWidth",{get:function(){return this.q8b},set:function(a){!isNaN(a)&&0<a?this.q8b=a:this.q8b=null},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"maxWidth",{get:function(){return this.Pqb},set:function(a){!isNaN(a)&&0<a&&(this.Pqb=a)},enumerable:!0,configurable:!0}),d.prototype._text=function(a){return null!=a&&(this.dGa=a),this.dGa},d.prototype.paddingLeft=function(){var a=0;return null!=this.padding&&(a=this.padding.left),this.iRa.HUb()&&(a+=this.iRa.size.width+this.SPACE),a},Object.defineProperty(d.prototype,"symbol",{get:function(){return this.iRa.symbol},set:function(a){this.iRa.symbol=a},enumerable:!0,configurable:!0}),d.prototype.Klb=function(){var b=a.TextOverflow.Wrap;return a.core.UOb.isNullEnum(this.Xqb)||(b=this.Xqb),b},d.prototype.layout=function(a,c,d){var e,f,g,h;this.dGa&&(e=this.dGa,f=void 0,g=0,this.iRa.HUb()&&(g=this.iRa.size.height),null!=this.fixedWidth?(h=(f=a.measureMultipleStrings(e,this.fixedWidth-this.strokeWidth(),this.Klb())).height>g?f.height:g,this.height=h+this.strokeWidth(),this.width=this.fixedWidth):(h=(f=a.measureMultipleStrings(e,this.maxWidth,this.Klb())).height>g?f.height:g,this.height=h+this.strokeWidth(),this.width=Math.min(f.width+this.strokeWidth(),this.maxWidth)),this.textSize=f,b.prototype.layout.call(this,a,c,d))},d.prototype.afterRender=function(b,c){var d,e;null!=this.$7b().connectionPoint&&(d=c.textAnnotationSymbolRect,this.iRa.HUb()&&null!=d&&(e=new a.Arb,e.zrb(new a.options.uEa({strokeWidth:1,fill:new a.options.ZYb({color:a.nRb.StyleFill}),stroke:new a.options.ZYb({color:a.nRb.StyleStroke})})),e.f3b(this.symbol.style),b.startTransform(this.matrix.An()),this.iRa.yl(b,d,e),b.endTransform()),d&&delete c.textAnnotationSymbolRect)},d.prototype.render=function(c,d){var e,f,g,h,i,j,k,l;this.dGa&&this.$7b().connectionPoint&&(b.prototype.render.call(this,c,d),c.startTransform(this.matrix.An()),e=this.top+this.strokeWidth()/2+this.paddingTop(),f=this.left+this.strokeWidth()/2+this.paddingLeft(),g=this.height-this.strokeWidth(),h=e+(g-this.textSize.height)/2,i=new a.core.Rect(f,h,this.width-this.strokeWidth(),g),this.Klb()===a.TextOverflow.Clip?(j="TextOverlayClipId"+(1e5*Math.random()).toFixed(),c.addClipRect(i,j),c.startGroup(null,j),c.drawMultipleStrings(this.dGa,i,a.HAlign.Left,this.Klb()),c.endGroup()):c.drawMultipleStrings(this.dGa,i,a.HAlign.Center,this.Klb()),this.iRa.HUb()&&(k=e+(g-this.iRa.size.height)/2,l=new a.core.Rect(this.left+this.strokeWidth()/2+this.padding.left,k,this.iRa.size.width,this.iRa.size.height),d.textAnnotationSymbolRect=l),c.endTransform())},d);function d(c,d,e,f,g){var h=b.call(this,c,d,e,f)||this;return h.SPACE=5,h.Pqb=Number.MAX_VALUE,h.Xqb=g,h.iRa=new a.TextAnnotationSymbol,h}a.RectangleBoxTextSymbolAnnotation=c}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.HUb=function(){return 0<=this.symbolList.indexOf(this.iRa.shape)},Object.defineProperty(c.prototype,"size",{get:function(){return this.symbolSize},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"symbol",{get:function(){return this.iRa},set:function(b){this.iRa=a.options.q$b.Uo(b);var c=this.iRa.width,d=this.iRa.height;this.symbolSize.width=this.validateNumber(c)?c:15,this.symbolSize.height=this.validateNumber(d)?d:15},enumerable:!0,configurable:!0}),c.prototype.validateNumber=function(a){return"number"==typeof a&&0<=a},c.prototype.yl=function(b,c,d){if(this.HUb())if("Inverted Triangle"===this.symbol.shape){var e=new a.models.aSb;e.QVb(Math.PI,c.center),b.startTransform(e.An()),this.renderSymbol(b,c,d),b.endTransform()}else"Triangle"===this.symbol.shape&&this.renderSymbol(b,c,d)},c.prototype.renderSymbol=function(b,c,d){var e=[c.center.x,c.left,c.right],f=[c.top,c.bottom,c.bottom];b.beginTransform(),a.NQb.Jqb(b,d),b.drawPolygon(e,f),b.restoreTransform()},c);function c(b){void 0===b&&(b=null),this.symbolList=["Triangle","Inverted Triangle"],this.symbolSize=new a.core.Size(15,15),this.symbol=b}a.TextAnnotationSymbol=b}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Ksb,__extends(d,b),d.prototype.r8b=function(){return null==this.y7b?a.nRb.StyleColor:this.y7b},d.prototype.shouldApplyColorFromPalette=function(){return new a.t8b(this).s8b()},d.prototype.f3a=function(){return b.prototype.f3a.call(this)},d.prototype.bVb=function(){this.shouldApplyColorFromPalette()&&(this.y7b=this.Om())},d.prototype.Nc=function(){return this.$z().type},d.prototype.$z=function(){return b.prototype.$z.call(this)},d.prototype.yy=function(){var b=new a.options.uEa;return b.fill=a.options.IOb.mXb(this.r8b()),b.strokeWidth=1,b.stroke=a.options.IOb.mXb(this.r8b()),b},d.prototype.H7b=function(){if(null==this.N7b){var b=new a.Arb;b.zrb(this.yy()),b.f3b(this.$z().style),this.N7b=b}return this.N7b},d.prototype.getLegendGenerator=function(){return null==this.$z().label?null:(new a.u8b).GPb(this)},d.prototype.wZb=function(a){var b=this.getLegendGenerator();return null!=b?b.w5a(a):null},d.prototype.runConditionalFormatRules=function(a){a.v8b()},d.prototype._R=function(a,b,c){this.TQb(a,b,c)},d);function d(a,c){return b.call(this,a,c)||this}a.vZb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Jsb,__extends(d,b),Object.defineProperty(d.prototype,"bindStateType",{get:function(){return this.w8b},enumerable:!0,configurable:!0}),d.prototype.e8b=function(a){return null!=a&&(this.x8b=a),this.x8b},d.prototype.$z=function(){return this.y8b().$z()},d.prototype.y8b=function(){return b.prototype.MPb.call(this)},d.prototype.G7b=function(){null!=this.x8b&&this.x8b.G7b()},d.prototype.z8b=function(b,c){var d,e=!1;return null!=this.e8b()&&null!=b&&(d=this.e8b().Fu(new a.ProxyAttachmentAgentManager(b,this)),null!=d&&(d.Ls(this),e=!0,this.w8b=c)),e},d.prototype.v8b=function(){(new a.models.A8b).NGa(this),this.v8a()},d.prototype.isLayoutContextReady=function(){return null!=this.e8b()},d.prototype.customizeAnnotation=function(a){},d.prototype.customizeAnnotationStyle=function(b){var c=new a.Arb;c.g3b(this.y8b().H7b()),c.g3b(this.tEa),this.B5a()&&(c.fill="red",c.stroke="red"),b.M7b(c)},d.prototype.v8a=function(){this.customizeAnnotation(this.x8b),this.customizeAnnotationStyle(this.x8b)},d.prototype.beforeAnnotationLayout=function(){},d.prototype.TQb=function(a,b,c){this.isLayoutContextReady()&&(this.beforeAnnotationLayout(),this.e8b()._R(a,c))},d.prototype.isRenderContextReady=function(){return null!=this.e8b()},d.prototype.Nbb=function(a,b){this.isRenderContextReady()&&this.e8b().yl(a,b);
- },d.prototype.queryInterface=function(a){if("IBoxBounded"===a&&null!=this.e8b()){var c=this.e8b().queryInterface(a);if(null!=c)return c}return b.prototype.queryInterface.call(this,a)},d.prototype.mr=function(b,c){var d,e=this.e8b();return null!=e&&e.B7b(b)?(d=new a.HitTestResult(b,this,this,a.ElementType.OverlayItem),null==c||null!=c&&c.predicate(d)?d:null):null},d);function d(a){return b.call(this,a)||this}a.d8b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Ksb,__extends(d,b),d.prototype.nqb=function(){return this.Lsb},d.prototype.Sfb=function(){return this.Tfb},d.prototype.Ufb=function(){return this.Vfb},d.prototype.Wfb=function(){return this.Xfb},d.prototype.Yfb=function(){return this.Zfb},d.prototype.YOb=function(){return this.bRa()},d.prototype.B8b=function(){},d.prototype.queryInterface=function(a){return"IAxialView"===a?this:null},d.prototype.mr=function(a,b){var c,d,e;for(c=this.nqb(),d=this.nqb().length-1;0<=d;--d)if(e=c[d].mr(a,b),null!=e)return e;return null},d);function d(a,c){var d=b.call(this,a,c)||this;return d.Lsb=[],d}a.mqb=c}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.PY=function(a){return this.seriesFilter(a.Ata())},c.C8b=function(a){return null!=a.tVb()?a.tVb()+"":""},c.prototype.seriesFilter=function(a){return null!=a&&(null==this.valuefield||a.HOa().name==this.valuefield)&&(null==this.groupKey||null!=a.tVb()&&this.groupKey==c.C8b(a))},c);function c(a,b){this.valuefield=a,this.groupKey=b}a.D8b=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){!function(b){"use strict";var c,d=(e.prototype.Ata=function(){return this.isGroup&&0<this.points.length?this.points[0].Ata():null},e);function e(a,b,c){this.points=a.slice(),this.valuefield=b,this.isGroup=c}b.xPb=d,f.prototype.Qoa=function(a){var b,c,e,f,g,h,i,j,k,l,m,n,o=[],p=a.aT();if(this.isGroup())for(b=0,c=p.J5a();b<c.length;b++)e=c[b],o.push(new d(e.points(),e.HOa(),(!0)));else for(f=0,g=a.XOb().i6a();f<g.length;f++){for(h=g[f],i=[],j=0,k=p.J5a();j<k.length;j++)for(l=0,m=(e=k[j]).points();l<m.length;l++)n=m[l],n.HOa()===h.name&&i.push(n);0<i.length&&o.push(new d(i,h,(!1)))}return o},f.prototype.isGroup=function(){return this.detailLevel==a.DetailLevel.Group},f.C8b=function(a){return null!=a.tVb()?a.tVb()+"":""},c=f;function f(a){this.detailLevel=a}b.E8b=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.vZb,__extends(d,b),d.prototype.F$b=function(){return a.AnnotationLib.F$b(this.YOb())},d.prototype.GQb=function(){return"Cartesian"},d.prototype.YOb=function(){return this.bRa()},d);function d(a,c){return b.call(this,a,c)||this}a.F8b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.F8b,__extends(d,b),d.prototype.Sfb=function(){return this.Tfb},d.prototype.Ufb=function(){return this.Vfb},d.prototype.Wfb=function(){return this.Xfb},d.prototype.Yfb=function(){return this.Zfb},d.prototype.queryInterface=function(c){return"IAxialView"===c?this:"IBoxBounded"===c?a.BoxBounded.J_b(this):b.prototype.queryInterface.call(this,c)},d.prototype.oi=function(){return this.$Ca},d.prototype.u7b=function(){var a,b,c;for(a=0,b=this.oi();a<b.length;a++)c=b[a],this.runConditionalFormatRules(c)},d.prototype.B8b=function(){var a,b,c,d,e,f,g,h,i;for(a=0,b=this.oi();a<b.length;a++)if(c=b[a],null!=c.WPa()&&null!=c.XPa()){for(d=0,e=c.WPa();d<e.length;d++)f=e[d],isNaN(f)||(null==this.Zfb?this.Vfb=this.Zfb=f:f>this.Vfb?this.Vfb=f:f<this.Zfb&&(this.Zfb=f));for(g=0,h=c.XPa();g<h.length;g++)i=h[g],isNaN(i)||(null==this.Xfb?this.Tfb=this.Xfb=i:i>this.Tfb?this.Tfb=i:i<this.Xfb&&(this.Xfb=i))}},d.prototype.initChildId=function(){this.yn();for(var a=0;a<this.oi().length;++a)this.oi()[a]},d.prototype.TQb=function(a,b,c){a.beginTransform();for(var d=0,e=this.oi();d<e.length;d++)e[d]._R(a,b,c);a.restoreTransform()},d.prototype.yl=function(a,b){a.beginTransform();for(var c=0,d=this.oi();c<d.length;c++)d[c].yl(a,b);a.restoreTransform()},d.prototype.box=function(){var b,c,d,e;for(b=[],c=0,d=this.oi();c<d.length;c++)e=d[c].queryInterface("IBoxBounded"),null!=e&&b.push(e.box());return 0<b.length?a.x7.mergeRect.apply(a.x7,b):null},d);function d(a,c){var d=b.call(this,a,c)||this;return d.$Ca=[],d}a.G8b=c}(dv=dv||{}),function(a){"use strict";var b=(c.F$b=function(b){return b.$z().config.axisMode==a.AxisMode.Polygonal||b.$z().config.axisMode==a.AxisMode.Radial},c.H8b=function(b,c){var d=a.PointPathExpression.ucb(c);return null==d?null:new a.PointViewPointPathBuilder(d).vQb(b)},c.I8b=function(b){var c=a.xZb.ucb(b);return null==c?null:new a.C_b(c).vQb()},c.P1b=function(b,c){var d,e=a.x_b.ucb(c);return null==e?c:(d=(new a.B_b).vQb(b,e),"string"==typeof d?d:"")},c.B$b=function(a){return a.J8b().WDa()},c.C$b=function(a){return a.K8b().WDa()},c.J$b=function(b,d){var e,f=a.Vector.horizon(),g=a.Vector.vertical();return c.F$b(b)&&(null==d&&(d=0),f=new a.Vector(Math.cos(d),Math.sin(d)),g=new a.Vector(Math.cos(d+Math.PI/2),Math.sin(d+Math.PI/2))),b.yIa()&&(e=f,f=g,g=e),{xDir:f=c.B$b(b)?f.reverse():f,yDir:g=c.C$b(b)?g.reverse():g}},c.M$b=function(a){return a.M$b()},c.L8b=function(b){var d,e,f=null,g=null,h=b.bRa();return c.F$b(h)?b instanceof a.mMa&&(d=b.MPa()+b.DPa()/2,g=new a.Vector(Math.cos(d),Math.sin(d)),f=new a.Vector(Math.cos(d+Math.PI/2),Math.sin(d+Math.PI/2))):(e=c.J$b(h),f=e.xDir,g=e.yDir,c.M$b(b)||(g=g.reverse()),g.cross(f)<0&&(f=f.reverse())),{xDir:f,yDir:g}},c.S$b=function(b){var d,e=b.bRa(),f=c.J$b(e),g=f.xDir,h=f.yDir,i=b.APa();return b instanceof a.P1a?b.bz()||(i=new a.core.Rect(i.center.x,i.center.y,1e-5,1e-5)):0===i.height?(i=i.clone()).height=1e-5:0===i.width&&((i=i.clone()).width=1e-5),d=c.M8b(g,h,i),f=c.L8b(b),d.AutoXDir=f.xDir,d.AutoYDir=f.yDir,d},c.M8b=function(b,c,d){if(null==d)return null;var e=new a.Q$b,f=[new a.Vector(d.left,d.top),new a.Vector(d.right,d.top),new a.Vector(d.left,d.bottom),new a.Vector(d.right,d.bottom)];return f.sort(function(a,b){return b.dot(c)-a.dot(c)}),f[0].dot(b)>f[1].dot(b)?(e.rightTop=new a.core.Point(f[0].x,f[0].y),e.leftTop=new a.core.Point(f[1].x,f[1].y)):(e.rightTop=new a.core.Point(f[1].x,f[1].y),e.leftTop=new a.core.Point(f[0].x,f[0].y)),f[2].dot(b)>f[3].dot(b)?(e.rightBottom=new a.core.Point(f[2].x,f[2].y),e.leftBottom=new a.core.Point(f[3].x,f[3].y)):(e.rightBottom=new a.core.Point(f[3].x,f[3].y),e.leftBottom=new a.core.Point(f[2].x,f[2].y)),e},c.getRectangleAttachmentPoints=function(b){return[new a.core.Point((b.leftBottom.x+b.rightBottom.x)/2,(b.leftBottom.y+b.rightBottom.y)/2),new a.core.Point((b.leftBottom.x+b.leftTop.x)/2,(b.leftBottom.y+b.leftTop.y)/2),new a.core.Point((b.leftTop.x+b.rightTop.x)/2,(b.leftTop.y+b.rightTop.y)/2),new a.core.Point((b.rightTop.x+b.rightBottom.x)/2,(b.rightTop.y+ +b.rightBottom.y)/2)]},c);function c(){}a.AnnotationLib=b}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.G8b,__extends(d,b),d.prototype.N8b=function(){return"Point"},d.prototype.createOverlayItemView=function(b){return new a.CartesianPointCoordinateAnnotationOverlayItemViewBuilder(this).GPb(b)},d.prototype.bindData=function(){var b,c=a.AnnotationLib.I8b(this.$z().pointPath);null!=c&&(b=this.createOverlayItemView(c),this.oi().push(b))},d);function d(a,c){return b.call(this,a,c)||this}a.yZb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.F8b,__extends(d,b),d.prototype.createOverlayItemView=function(b){return new a.CartesianViewAttachedAnnotationOverlayItemViewBuilder(this).GPb(b)},d.prototype.O8b=function(){var b,c,d;for(b=0,c=this.ggb();b<c.length;b++)d=c[b],d instanceof a.Z1a&&null!=d&&this.createOverlayItemView(d)},d.prototype.u7b=function(){var a,b,c;for(a=0,b=this.oi();a<b.length;a++)c=b[a],this.runConditionalFormatRules(c)},d.prototype.isChild=function(a){return a.MPb()===this?a:null},d.prototype.oi=function(){var b,c,d,e,f,g,h,i;for(b=[],c=0,d=this.ggb();c<d.length;c++)if(e=d[c],e instanceof a.Z1a)for(f=0,g=e.A$b();f<g.length;f++)h=g[f],i=this.isChild(h),null!=i&&b.push(i);return b},d.prototype.ggb=function(){var b=a.AnnotationLib.H8b(this.bRa().ggb(),this.$z().pointPath);return null==b&&(b=[]),b},d.prototype.TQb=function(a,b,c){a.beginTransform();for(var d=0,e=this.oi();d<e.length;d++)e[d]._R(a,null,c);a.restoreTransform()},d.prototype.yl=function(a,b){a.beginTransform();for(var c=0,d=this.oi();c<d.length;c++)d[c].yl(a,b);a.restoreTransform()},d.prototype.box=function(){var b,c,d,e;for(b=[],c=0,d=this.oi();c<d.length;c++)e=d[c].queryInterface("IBoxBounded"),null!=e&&b.push(e.box());return 0<b.length?a.x7.mergeRect.apply(a.x7,b):null},d.prototype.queryInterface=function(c){return"IBoxBounded"===c?a.BoxBounded.J_b(this):b.prototype.queryInterface.call(this,c)},d);function d(a,c){return b.call(this,a,c)||this}a.zZb=c}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.s8b=function(){if(null==this.C5a)return!1;var a=this.C5a.$z();switch(a.type){case"Line":return null==a.style||null==a.style.stroke;case"Text":case"Image":return!1;default:return null==a.style||null==a.style.fill||null==a.style.stroke}},c);function c(a){this.C5a=a}a.t8b=b}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.d8b,__extends(d,b),d.prototype.WPa=function(){return null},d.prototype.XPa=function(){return null},d.prototype.O8b=function(a){if(a){var b=a.P8b();this.z8b(b,"View")&&(this.s7b=a)}},d.prototype.Q8b=function(){return b.prototype.y8b.call(this)},d);function d(c){var d,e=b.call(this,c)||this;return e.e8b(e.createAnnotation()),d=a.AnnotationLib.I8b(e.$z().offset),e.e8b()&&null!=d&&(e.e8b().xOffset=d.x,e.e8b().yOffset=d.y),e}a.CartesianMultiPointAnnotationOverlayItemView=c}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.GPb=function(){if(null==this.C5a)return null;var b=this.C5a,c=this.createItemViewBy(b);return null!=c&&(c.start=a.AnnotationLib.P1b(c,this.C5a.$z().start),c.end=a.AnnotationLib.P1b(c,this.C5a.$z().end)),c},c.prototype.createItemViewBy=function(b){switch(b.Nc()){case"Line":return new a.R8b(b);case"Needle":return new a.S8b(b);default:return null}},c);function c(a){this.C5a=a}a.CartesianLineCoordinateAnnotationOverlayItemViewBuilder=b}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.GPb=function(a){if(null==this.T8b||null==a)return null;var b=this.T8b,c=this.createItemViewBy(b,a);return null!=c&&c.U8b(a),c},c.prototype.createItemViewBy=function(b,c){switch(b.Nc()){case"Rectangle":return new a.V8b(b);case"Ellipse":return new a.W8b(b);case"Image":return new a.X8b(b);case"Path":return new a.Y8b(b);default:return null}},c);function c(a){this.T8b=a}a.CartesianPointCoordinateAnnotationOverlayItemViewBuilder=b}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.GPb=function(a){if(null==this.T8b||null==a)return null;var b=this.T8b,c=this.createItemViewBy(b,a);return null!=c&&c.O8b(a),c},c.prototype.createItemViewBy=function(b,c){switch(b.Nc()){case"Rectangle":return new a.V8b(b);case"Ellipse":return new a.W8b(b);case"Image":return new a.X8b(b);case"Path":return new a.Y8b(b);default:return null}},c);function c(a){this.T8b=a}a.CartesianViewAttachedAnnotationOverlayItemViewBuilder=b}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.CartesianMultiPointAnnotationOverlayItemView,__extends(d,b),d.prototype.oI=function(){return this.IMa},d.prototype.Vma=function(){return this.JMa},Object.defineProperty(d.prototype,"start",{get:function(){return null!=this.IMa?this.IMa.bc():null},set:function(b){var c=a.AnnotationLib.I8b(b);null!=c&&(this.IMa=c)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"end",{get:function(){return null!=this.JMa?this.JMa.bc():null},set:function(b){var c=a.AnnotationLib.I8b(b);null!=c&&(this.JMa=c)},enumerable:!0,configurable:!0}),d.prototype.Z8b=function(){return new a.AttachmentAgentManager(new a.G$b(this.Q8b().bRa()))},d.prototype.WPa=function(){return null!=this.IMa&&null!=this.JMa?[this.IMa.x,this.JMa.x]:null},d.prototype.XPa=function(){return null!=this.IMa&&null!=this.JMa?[this.IMa.y,this.JMa.y]:null},d.prototype.queryInterface=function(a){return"ILineCoordinateValues"===a&&"Line.Coordinate"===this.bindStateType&&null!=this.IMa&&null!=this.JMa?this:b.prototype.queryInterface.call(this,a)},d);function d(a){var c=b.call(this,a)||this,d=c.Z8b();return c.z8b(d,"Line.Coordinate"),c}a.CartesianLineAnnotationOverlayItemView=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.CartesianMultiPointAnnotationOverlayItemView,__extends(d,b),d.prototype.$8b=function(){return this._8b},d.prototype.WPa=function(){return null!=this._8b?[this._8b.x]:null},d.prototype.XPa=function(){return null!=this._8b?[this._8b.y]:null},d.prototype.Z8b=function(){return new a.AttachmentAgentManager(new a.K$b(this.Q8b().bRa()))},d.prototype.U8b=function(a){if(null!=a){this._8b=a;var b=this.Z8b();this.z8b(b,"Point.Coordinate")}},d.prototype.Q8b=function(){return b.prototype.y8b.call(this)},d.prototype.queryInterface=function(a){return"ICoordinateValues"===a&&"Point.Coordinate"===this.bindStateType?this._8b:b.prototype.queryInterface.call(this,a)},d);function d(a){return b.call(this,a)||this}a.CartesianPointAnnotationOverlayItemView=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.CartesianPointAnnotationOverlayItemView,__extends(d,b),Object.defineProperty(d.prototype,"height",{get:function(){return this.Z8a},set:function(a){this.Z8a!=a&&(this.Z8a=a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"width",{get:function(){return this.REa},set:function(a){this.REa!=a&&(this.REa=a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"angle",{get:function(){return this.P9a},set:function(a){this.P9a!=a&&(this.P9a=a)},enumerable:!0,configurable:!0}),d.prototype.$z=function(){return b.prototype.Q8b.call(this).$z()},d.prototype.e8b=function(a){return b.prototype.e8b.call(this,a)},d.prototype.createAnnotation=function(){var b=new a.PositionRectangleAnnotation;return b.position=this.$z().position,b.placement=this.$z().placement,b},d.prototype.customizeAnnotation=function(a){var b=a;b.width=this.width,b.height=this.height,b.rotate=this.angle},d);function d(a){var c=b.call(this,a)||this;return c.angle=c.$z().angle,c.width=c.$z().width,c.height=c.$z().height,c}a.V8b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.G8b,__extends(d,b),d.prototype.N8b=function(){return"Line"},d.prototype.$z=function(){return b.prototype.$z.call(this)},d.prototype.createOverlayItemView=function(){return new a.CartesianLineCoordinateAnnotationOverlayItemViewBuilder(this).GPb()},d.prototype.bindData=function(){if(null!=this.$z().start&&null!=this.$z().end){var a=this.createOverlayItemView();this.oi().push(a)}},d);function d(a,c){return b.call(this,a,c)||this}a.SZb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.CartesianPointAnnotationOverlayItemView,__extends(d,b),Object.defineProperty(d.prototype,"height",{get:function(){return this.Z8a},set:function(a){this.Z8a!=a&&(this.Z8a=a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"width",{get:function(){return this.REa},set:function(a){this.REa!=a&&(this.REa=a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"angle",{get:function(){return this.P9a},set:function(a){this.P9a!=a&&(this.P9a=a)},enumerable:!0,configurable:!0}),d.prototype.$z=function(){return b.prototype.Q8b.call(this).$z()},d.prototype.e8b=function(a){return b.prototype.e8b.call(this,a)},d.prototype.createAnnotation=function(){var b=new a.PositionEllipseAnnotation;return b.position=this.$z().position,b.placement=this.$z().placement,b},d.prototype.customizeAnnotation=function(a){var b=a;b.width=this.width,b.height=this.height,b.rotate=this.angle},d);function d(a){var c=b.call(this,a)||this;return c.angle=c.$z().angle,c.width=c.$z().width,c.height=c.$z().height,c}a.W8b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.CartesianLineAnnotationOverlayItemView,__extends(d,b),d.prototype.createAnnotation=function(){var b=new a.l8b,c=this.$z();return b.width=c.width,b.endOffset=c.endOffset,b},d);function d(a){return b.call(this,a)||this}a.S8b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.CartesianPointAnnotationOverlayItemView,__extends(d,b),Object.defineProperty(d.prototype,"source",{get:function(){return this.LZb},set:function(b){this.LZb!=b&&(this.LZb=a.core.UOb.asString(b,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"height",{get:function(){return this.Z8a},set:function(a){this.Z8a!=a&&(this.Z8a=a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"width",{get:function(){return this.REa},set:function(a){this.REa!=a&&(this.REa=a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"angle",{get:function(){return this.P9a},set:function(a){this.P9a!=a&&(this.P9a=a)},enumerable:!0,configurable:!0}),d.prototype.$z=function(){return b.prototype.Q8b.call(this).$z()},d.prototype.e8b=function(a){return b.prototype.e8b.call(this,a)},d.prototype.createAnnotation=function(){var b=new a.PositionImageAnnotation;return b.position=this.$z().position,b.placement=this.$z().placement,b},d.prototype.customizeAnnotation=function(a){var b=a;b.width=this.width,b.height=this.height,b.rotate=this.angle,b.source=this.source},d);function d(a){var c=b.call(this,a)||this;return c.angle=c.$z().angle,c.width=c.$z().width,c.height=c.$z().height,c.source=c.$z().source,c}a.X8b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.CartesianLineAnnotationOverlayItemView,__extends(d,b),d.prototype.createAnnotation=function(){return new a.k8b},d.prototype.e8b=function(a){return b.prototype.e8b.call(this,a)},d);function d(a){return b.call(this,a)||this}a.R8b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.CartesianPointAnnotationOverlayItemView,__extends(d,b),Object.defineProperty(d.prototype,"height",{get:function(){return this.Z8a},set:function(a){this.Z8a!=a&&(this.Z8a=a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"width",{get:function(){return this.REa},set:function(a){this.REa!=a&&(this.REa=a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"angle",{get:function(){return this.P9a},set:function(a){this.P9a!=a&&(this.P9a=a)},enumerable:!0,configurable:!0}),d.prototype.nwa=function(){return this.k1a},d.prototype.yb=function(){return this.EZb},d.prototype.$z=function(){return b.prototype.Q8b.call(this).$z()},d.prototype.e8b=function(a){return b.prototype.e8b.call(this,a)},d.prototype.createAnnotation=function(){var b=new a.PathsAnnotation;return b.position=this.$z().position,b.placement=this.$z().placement,b},d.prototype.initAnnotation=function(){var a=this.e8b();a.join=this.yb(),a.paths=this.nwa(),a.fillType=this.$z().fillType,a.lineCap=this.$z().lineCap,a.lineJoin=this.$z().lineJoin},d.prototype.parseOption=function(){var b,c,d,e,f,g,h,i=this.$z().path;if(null!=i){for(b=this.baseShape,c=this.$z().join,null!=c&&""!=c&&(d=a.AnnotationLib.I8b(c),null!=d&&(this.EZb=new a.core.Point(d.x,d.y))),e=0,f=i;e<f.length;e++)g=f[e],a.x7.hasKey(b,g)?(h=b[g],this.k1a.push(h.path),null==this.EZb&&(this.EZb=h.join.clone())):this.k1a.push(g);null==this.EZb&&(this.EZb=new a.core.Point(50,50))}},d.prototype.customizeAnnotation=function(a){var b=a;b.rotate=this.angle,b.width=this.width,b.height=this.height},d);function d(c){var d=b.call(this,c)||this;return d.k1a=[],d.baseShape={Balloon:{path:a.oRb.PathBalloon,join:new a.core.Point(50,100)},Triangle:{path:a.oRb.PathTriangle,join:new a.core.Point(50,100)},Needle:{path:a.oRb.PathGauge,join:new a.core.Point(50,0)}},d.angle=d.$z().angle,d.width=d.$z().width,d.height=d.$z().height,d.parseOption(),d.initAnnotation(),d}a.Y8b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.yZb,__extends(d,b),d.prototype.createOverlayItemView=function(b){var c=a.a9b.vQb(this,b);return null!=c?(c.U8b(b),c):null},d.prototype.f3a=function(){return b.prototype.f3a.call(this)},d.prototype.$z=function(){return this.f3a().$z()},d.prototype.TQb=function(b,c,d){var e,f,g;for(b.beginTransform(),e=0,f=this.oi();e<f.length;e++)g=f[e],g instanceof a.b9b&&g._R(b,c,d);b.restoreTransform()},d);function d(a,c){return b.call(this,a,c)||this}a.g$b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.zZb,__extends(d,b),d.prototype.createOverlayItemView=function(b){var c=a.c9b.vQb(b,this);return null!=c?(c.O8b(b),c):null},d.prototype.f3a=function(){return b.prototype.f3a.call(this)},d.prototype.$z=function(){return this.f3a().$z()},d.prototype.TQb=function(b,c,d){var e,f,g,h,i,j,k;for(b.beginTransform(),e=0,f=this.ggb();e<f.length;e++)if(g=f[e],g instanceof a.Z1a)for(h=0,i=g.A$b();h<i.length;h++)j=i[h],k=this.isChild(j),k instanceof a.b9b&&k._R(b,null,d);b.restoreTransform()},d);function d(a,c){return b.call(this,a,c)||this}a.i$b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.CartesianPointAnnotationOverlayItemView,__extends(d,b),Object.defineProperty(d.prototype,"text",{get:function(){return this.annotation().text},set:function(a){null!=a&&(this.dGa=a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"textStyle",{get:function(){return null==this.vEa&&(this.vEa=new a.options.wEa),this.vEa},enumerable:!0,configurable:!0}),d.prototype.$8b=function(){return this._8b},d.prototype.cb=function(){return this.BGa},d.prototype.d9b=function(){return this.k$b},d.prototype.EQ=function(a){a&&-1==this.BGa.indexOf(a)&&this.BGa.push(a)},d.prototype.e9b=function(){return new a.AttachmentAgentManager(new a.f9b(this))},d.prototype.option=function(){return b.prototype.$z.call(this)},d.prototype.annotation=function(a){return b.prototype.e8b.call(this,a)},d.prototype.createAnnotation=function(){var b=this.option().placement,c=new a.PositionTextAnnotation(this.option().textStyle.overflow);return c.position=this.option().position,c.placement=b,c.rotate=this.option().angle,c.fixedWidth=this.option().width,c},d.prototype.H7b=function(){var b=new a.Arb;return b.zrb(this.yy()),b.f3b(this.$z().style),b},d.prototype.yy=function(){return new a.options.uEa({fill:new a.options.ZYb({color:"none"}),strokeWidth:0,stroke:new a.options.ZYb({color:a.nRb.StyleStroke})})},d.prototype.customizeAnnotationStyle=function(b){var c=new a.Arb;c.g3b(this.H7b()),c.rrb(new a.options.wEa({color:"black"})),c.rrb(this.option().textStyle),c.g3b(this.tEa),c.rrb(this.vEa),b.M7b(c)},d.prototype.customizeAnnotation=function(b){b.text=a.AnnotationLib.P1b(this,this.dGa)},d.prototype.beforeAnnotationLayout=function(){a.core.UOb.isNullNumber(this.option().width)&&(this.annotation().maxWidth=this.Q8b().bRa().APa().width)},d.prototype.TQb=function(a,c,d){b.prototype.TQb.call(this,a,null,d),this.layoutGroup(a,d)},d.prototype.layoutGroup=function(b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q;for(d=0,e=this.BGa;d<e.length;d++)e[d]._R(b,null,c);if(f=this.annotation().ORb(),null!=f&&(g=a.f9b.g9b(f,this.BGa),h=g.center,i=a.PositionRectangleAnnotation.Z7b(this.annotation()),i.width=g.size.width,i.height=g.size.height,i._R(b,c),l=i.ORb(),m=new a.Vector(Math.cos(f.angle),Math.sin(f.angle)),n=a.Vector.pointSub(h,l.center),o=a.Vector.endPoint(h,m,n.dot(m)),j=o.x-h.x,k=o.y-h.y,0!=j||0!=k))for(this.annotation().O7b().translate(j,k),p=0,q=this.BGa;p<q.length;p++)q[p].e8b().$7b().translate(j,k)},d);function d(a,c){var d=b.call(this,a)||this;return d.BGa=[],d.text=d.option().text,d.k$b=c,d}a.b9b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.R$b,__extends(d,b),d.prototype.Nc=function(){return"rectangle"},d.prototype.outter=function(){return d.g9b(this.inner(),this.BGa)},d.prototype.inner=function(){return this.Ghb.annotation().ORb()},d.prototype.rectAttachmentInfo=function(b){var c,d,e;return null!=b&&(c=this.s$b(b,"IInnerAndOutterRotateRectLayouter"),null!=c)?(d=c.layoutWithInnerAndOutterRotateRect(this.inner(),this.outter()),e=new a.Q$b,e.leftTop=d.leftTop,e.leftBottom=d.leftBottom,e.rightTop=d.rightTop,e.rightBottom=d.rightBottom,e):null},d.prototype.Ls=function(b){b instanceof a.h9b&&this.Ghb.EQ(b)},d.g9b=function(b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p;if(0==c.length)return b;for(d=-b.angle,e=new a.models.aSb,e.QVb(d),f=[b.leftTop.x,b.rightTop.x,b.leftBottom.x,b.rightBottom.x],g=[b.leftTop.y,b.rightTop.y,b.leftBottom.y,b.rightBottom.y],h=0,i=c;h<i.length;h++)j=i[h].queryInterface("IVertexes"),null!=j&&(f.push.apply(f,j.WPa()),g.push.apply(g,j.XPa()));return k=e.VVb(f,g),f=k.xs,g=k.ys,l=Math.min.apply(Math,f),m=Math.min.apply(Math,g),n=Math.max.apply(Math,f)-l,o=Math.max.apply(Math,g)-m,p=new a.core.Point(l+n/2,m+o/2),e.hZ(),e.QVb(-d),p=e.TVb(p),new a.shapes.qwb(p.x,p.y,n,o,b.angle)},d);function d(a){var c=b.call(this)||this;return c.Ghb=a,c.BGa=a.cb().slice(),c}a.f9b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.CartesianPointAnnotationOverlayItemView,__extends(d,b),Object.defineProperty(d.prototype,"symbol",{get:function(){return this.e8b().symbol},set:function(a){this.e8b().symbol=a},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"text",{get:function(){return this.e8b()._text()},set:function(a){null!=a&&(this.dGa=a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"textStyle",{get:function(){return null==this.vEa&&(this.vEa=new a.options.wEa),this.vEa},enumerable:!0,configurable:!0}),d.prototype.e8b=function(a){return b.prototype.e8b.call(this,a)},d.prototype.$z=function(){return b.prototype.$z.call(this)},d.prototype.i9b=function(){if(this.host){var a=this.host.e9b(),b=this.z8b(a,"Host");return b&&(this.s7b=this.host.parent),b}return null},d.prototype.U8b=function(a){this.i9b()},d.prototype.O8b=function(a){this.i9b()&&a.A$b().push(this)},d.prototype.createAnnotation=function(){var b=new a.RectangleBoxTextSymbolAnnotation(null,null,this.$z().position,this.$z().placement,this.$z().textStyle.overflow);return b.rotate=this.$z().angle,b.symbol=this.$z().symbol,b.fixedWidth=this.$z().width,b},d.prototype.customizeAnnotation=function(b){b._text(a.AnnotationLib.P1b(this,this.dGa))},d.prototype.beforeAnnotationLayout=function(){a.core.UOb.isNullNumber(this.$z().width)&&(this.e8b().maxWidth=this.MPb().bRa().APa().width)},d.prototype.yy=function(){return new a.options.uEa({fill:new a.options.ZYb({color:"none"}),strokeWidth:0,stroke:new a.options.ZYb({color:a.nRb.StyleStroke})})},d.prototype.H7b=function(){var b=new a.Arb;return b.zrb(this.yy()),b.f3b(this.$z().style),b},d.prototype.customizeAnnotationStyle=function(b){var c=new a.Arb;c.g3b(this.H7b()),c.rrb(new a.options.wEa({color:"black"})),c.g3b(this.tEa),c.rrb(this.$z().textStyle),c.rrb(this.vEa),b.M7b(c)},d.prototype.layoutWithInnerAndOutterRotateRect=function(a,b){var c=this.$z();return this.layoutLogic(c.hAlign,c.vAlign,c.groupAlign,c.placement,a,b)},d.prototype.layoutLogic=function(b,c,d,e,f,g){var h,i,j,k,l,m,n,o=this.e8b();if(a.core.UOb.isNullEnum(d)){switch(h=f.center,i=g.center,j=f.size,k=g.size,l=a.Vector.pointSub(h,i),o.hAlign=b,o.vAlign=c,e){case a.Placement.Top:case a.Placement.Auto:case a.Placement.Bottom:j.height=k.height,m=a.Vector.pointSub(f.leftTop,f.leftBottom).standard(),h=a.Vector.endPoint(h,m,l.dot(m));break;case a.Placement.Left:case a.Placement.Right:j.width=k.width,n=a.Vector.pointSub(f.leftTop,f.rightTop).standard(),h=a.Vector.endPoint(h,n,l.dot(n))}return new a.shapes.qwb(h.x,h.y,j.width,j.height,f.angle)}return o.hAlign=d,g.clone()},d.prototype.queryInterface=function(a){if("IInnerAndOutterRotateRectLayouter"===a)return this;var c=this.e8b().queryInterface(a);return null!=c?c:b.prototype.queryInterface.call(this,a)},d);function d(a,c){var d=b.call(this,a)||this;return d.text=d.$z().text,d.host=c,d}a.h9b=c}(dv=dv||{}),function(a){"use strict";var b=(c.findHostBy=function(b,c,d){var e,f,g,h,i,j;for(e=0,f=b.atb();e<f.length;e++)if(g=f[e],g instanceof a.g$b&&g.f3a().$z().groupName===d)for(h=0,i=g.oi();h<i.length;h++)if(j=i[h],j instanceof a.b9b&&c.zAa(j.$8b()))return j;return null},c.vQb=function(b,c){var d,e;return null==b||null==c?null:(d=b.f3a().$z().groupName,null!=d&&(e=this.findHostBy(b.bRa(),c,d),null!=e)?new a.h9b(b,e):new a.b9b(b,d))},c);function c(){}a.a9b=b}(dv=dv||{}),function(a){"use strict";var b=(c.findHostBy=function(b,c){var d,e,f;for(d=0,e=b.A$b();d<e.length;d++)if(f=e[d],f instanceof a.b9b&&f.d9b()===c)return f;return null},c.vQb=function(b,c){var d,e;return null==b||null==c?null:(d=c.f3a().$z().groupName,null!=d&&(e=this.findHostBy(b,d),null!=e)?new a.h9b(c,e):new a.b9b(c,d))},c);function c(){}a.c9b=b}(dv=dv||{}),function(a){"use strict";var b=(c.J_b=function(a,b){return null!=a&&null!=b?new c(a,b):null},c.prototype.WPa=function(){return this.xs.slice()},c.prototype.XPa=function(){return this.ys.slice()},c.prototype.queryInterface=function(a){return null},c);function c(a,b){this.xs=a.slice(),this.ys=b.slice()}a.Vertexes=b}(dv=dv||{}),dv=dv||{},function(a){"use strict";var b,c=(b=a.mqb,__extends(d,b),d.prototype.$z=function(){return b.prototype.$z.call(this)},d.prototype.pna=function(){return this.j9b},d.prototype.bVb=function(){var b=this.$z();null!=b.style&&null!=b.style.fill?this.j9b=a.NQb.Ypb(b.style.fill):this.j9b=this.Om()},d.prototype.B8b=function(){this.Vfb=NaN,this.Zfb=NaN,this.Tfb=NaN,this.Xfb=NaN;var a=this.$z(),b=Math.min(a.start,a.end),c=Math.max(a.start,a.end);this.IMa=b,this.JMa=c},d.prototype.isPolygonAxes=function(){return this.bRa().$z().config.axisMode==a.AxisMode.Polygonal},d.prototype.getPolygon=function(a,b,c,d,e){var 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={xs:null,ys:null};if(this.isPolygonAxes()){if(e){if(c<d)return H;f=c,c=d,d=f}else if(d<c)return H;for(a<b&&(f=a,a=b,b=f),g={xs:[],ys:[]},h=this.bRa(),i=h.XQb(),j=[],k=i.ZDa().slice(),l=h.WQb(),m=l.MPa(),n=m+l.sweep,o=0,p=null,q=null,r=k.length-1,e&&k.reverse(),s=0;s<k.length;++s)if(t=k[s],c<(E=i.Qb(t))){if(null==p&&(p=s),d<=E){null==q&&(q=s-1),r=s;break}q=s,j.push(E)}else o=s;if(null==p||q<0)return H;for(v=h.wPa(),w=h.xPa(),b=0<b?b:0,a=Math.max(a,b),m<=c&&(x=i.Qb(k[o]),y=(u=i.Qb(k[p]))-x,z=Math.cos(y/2)/Math.cos(Math.abs(u-c-y/2)),A=Math.cos(c)*z*a+v,B=Math.sin(c)*z*a+w,C=Math.cos(c)*z*b+v,D=Math.sin(c)*z*b+w,g.xs.push(A),g.ys.push(B),g.xs.unshift(C),g.ys.unshift(D)),s=0;s<j.length;++s)E=j[s],F=a,A=Math.cos(E)*F+v,B=Math.sin(E)*F+w,G=b,C=Math.cos(E)*G+v,D=Math.sin(E)*G+w,g.xs.push(A),g.ys.push(B),g.xs.unshift(C),g.ys.unshift(D);return d<=n&&(x=i.Qb(k[q]),y=(u=i.Qb(k[r]))-x,z=Math.cos(y/2)/Math.cos(Math.abs(u-d-y/2)),A=Math.cos(d)*z*a+v,B=Math.sin(d)*z*a+w,C=Math.cos(d)*z*b+v,D=Math.sin(d)*z*b+w,g.xs.push(A),g.ys.push(B),g.xs.unshift(C),g.ys.unshift(D)),g}return H},d.prototype.TQb=function(b,c,d){var e,f,g,h,i,j,k,l,m;isNaN(this.IMa)||isNaN(this.JMa)||(this.agb={xs:[],ys:[]},this.bgb={startangle:0,endangle:0,radius:0,innerradius:0},this.nqb().length=0,e=this.bRa(),f=this.$z(),g=e.WQb(),h=e.XQb(),f.axis==a.AxisType.X?e.yIa()?e.$z().config.axisMode==a.AxisMode.Radial?(this.bgb.startangle=h.Qb(this.IMa),this.bgb.endangle=h.Qb(this.JMa),this.bgb.radius=g.Qb(g.LPa()),this.bgb.innerradius=g.Qb(g.KPa())):e.$z().config.axisMode==a.AxisMode.Polygonal?(i=h.Qb(this.IMa),j=h.Qb(this.JMa),k=g.Qb(g.LPa()),l=g.Qb(g.KPa()),this.agb=this.getPolygon(k,l,i,j,h.WDa())):(this.agb.xs[0]=g.Qb(g.KPa()),this.agb.ys[0]=h.Qb(this.IMa),this.agb.xs[1]=g.Qb(g.LPa()),this.agb.ys[1]=h.Qb(this.IMa),this.agb.xs[2]=g.Qb(g.LPa()),this.agb.ys[2]=h.Qb(this.JMa),this.agb.xs[3]=g.Qb(g.KPa()),this.agb.ys[3]=h.Qb(this.JMa)):e.$z().config.axisMode==a.AxisMode.Radial?(this.bgb.innerradius=g.Qb(this.JMa),this.bgb.radius=g.Qb(this.IMa),this.bgb.startangle=h.Qb(h.KPa()),this.bgb.endangle=h.Qb(h.LPa())):e.$z().config.axisMode==a.AxisMode.Polygonal?(i=h.Qb(h.KPa()),j=h.Qb(h.LPa()),k=g.Qb(this.JMa),l=g.Qb(this.IMa),this.agb=this.getPolygon(k,l,i,j,h.WDa())):(this.agb.xs[0]=g.Qb(this.IMa),this.agb.ys[0]=h.Qb(h.KPa()),this.agb.xs[1]=g.Qb(this.IMa),this.agb.ys[1]=h.Qb(h.LPa()),this.agb.xs[2]=g.Qb(this.JMa),this.agb.ys[2]=h.Qb(h.LPa()),this.agb.xs[3]=g.Qb(this.JMa),this.agb.ys[3]=h.Qb(h.KPa())):e.yIa()?e.$z().config.axisMode==a.AxisMode.Radial?(this.bgb.startangle=0,this.bgb.endangle=2*Math.PI,this.bgb.radius=g.Qb(this.JMa),this.bgb.innerradius=g.Qb(this.IMa)):e.$z().config.axisMode==a.AxisMode.Polygonal?(i=h.Qb(h.KPa()),j=h.Qb(h.LPa()),k=g.Qb(this.JMa),l=g.Qb(this.IMa),this.agb=this.getPolygon(k,l,i,j,h.WDa())):(this.agb.xs[0]=g.Qb(this.IMa),this.agb.ys[0]=h.Qb(h.KPa()),this.agb.xs[1]=g.Qb(this.IMa),this.agb.ys[1]=h.Qb(h.LPa()),this.agb.xs[2]=g.Qb(this.JMa),
- this.agb.ys[2]=h.Qb(h.LPa()),this.agb.xs[3]=g.Qb(this.JMa),this.agb.ys[3]=h.Qb(h.KPa())):e.$z().config.axisMode==a.AxisMode.Polygonal?(i=h.Qb(this.IMa),j=h.Qb(this.JMa),k=g.Qb(g.LPa()),l=g.Qb(g.KPa()),this.agb=this.getPolygon(k,l,i,j,h.WDa())):e.$z().config.axisMode==a.AxisMode.Radial?(this.bgb.innerradius=g.Qb(g.LPa()),this.bgb.radius=g.Qb(g.KPa()),this.bgb.startangle=h.Qb(this.IMa),this.bgb.endangle=h.Qb(this.JMa)):(this.agb.xs[0]=g.Qb(g.KPa()),this.agb.ys[0]=h.Qb(this.IMa),this.agb.xs[1]=g.Qb(g.LPa()),this.agb.ys[1]=h.Qb(this.IMa),this.agb.xs[2]=g.Qb(g.LPa()),this.agb.ys[2]=h.Qb(this.JMa),this.agb.xs[3]=g.Qb(g.KPa()),this.agb.ys[3]=h.Qb(this.JMa)),null!=this.agb.xs&&null!=this.agb.ys&&this.nqb().push(new a.Nsb(this,this.agb.xs,this.agb.ys)),m=this.bgb,this.nqb().push(new a.Osb(this,m.startangle,m.endangle,m.radius,m.innerradius)))},d.prototype.yl=function(a,b){a.beginTransform();for(var c=0,d=this.nqb();c<d.length;c++)d[c].yl(a,b);a.restoreTransform()},d);function d(a,c){return b.call(this,a,c)||this}a.arb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Jsb,__extends(d,b),d.prototype.yl=function(a,b){b.renderLabel||this.render(a,b)},d.prototype.k9b=function(){return b.prototype.MPb.call(this)},d.prototype.getStrokeColor=function(){var a=this.k9b().$z().style;return null!=a&&null!=a.stroke?a.stroke:this.l9b().stroke},d.prototype.getFillColor=function(){return this.k9b().pna()},d.prototype.getStrokeWidth=function(){var a=this.k9b().$z().style;return null!=a&&null!=a.strokeWidth?a.strokeWidth.top:this.l9b().strokeWidth.top},d.prototype.getStrokeDash=function(){var a=this.k9b().$z().style;return null!=a&&null!=a.strokeDasharray&&""!=a.strokeDasharray?a.strokeDasharray:this.l9b().strokeDasharray},d.prototype.getOpacity=function(){var b=this.k9b().$z().style;return null==b||a.core.UOb.isNullNumber(b.opacity)?this.l9b().opacity:b.opacity},d.prototype.l9b=function(){return new a.options.AFa({stroke:new a.options.ZYb({color:a.nRb.StyleStroke}),strokeWidth:new a.options.hVb({top:0,right:0,bottom:0,left:0})})},d);function d(a){return b.call(this,a)||this}a.Tsb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Tsb,__extends(d,b),d.prototype.render=function(b,c){b.beginTransform();var d=this.getStrokeWidth();a.NQb.$Qb(b,new a.options.AFa({strokeWidth:new a.options.hVb({top:d,right:d,bottom:d,left:d}),strokeDasharray:this.getStrokeDash(),stroke:this.getStrokeColor(),opacity:this.getOpacity()})),a.NQb.iqb(b,this.getFillColor()),b.drawPolygon(this.xs,this.ys),b.restoreTransform()},d);function d(a,c,d){var e=b.call(this,a)||this;return e.xs=c,e.ys=d,e}a.Nsb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Tsb,__extends(d,b),d.prototype.render=function(b,c){var d,e,f,g,h;b.beginTransform(),d=this.getStrokeWidth(),a.NQb.$Qb(b,new a.options.AFa({strokeWidth:new a.options.hVb({top:d,right:d,bottom:d,left:d}),strokeDasharray:this.getStrokeDash(),stroke:this.getStrokeColor(),opacity:this.getOpacity()})),a.NQb.iqb(b,this.getFillColor()),e=this.k9b().bRa(),f=e.wPa(),g=e.xPa(),h=this.endAngle-this.startAngle,h<0&&(h=-h),0!=h&&(this.radius<this.innerRadius?b.drawDonutSegment(f,g,this.innerRadius,this.radius,this.startAngle,h):b.drawDonutSegment(f,g,this.radius,this.innerRadius,this.startAngle,h)),b.restoreTransform()},d);function d(a,c,d,e,f){var g=b.call(this,a)||this;return g.startAngle=c,g.endAngle=d,g.radius=e,g.innerRadius=f,g}a.Osb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Ksb,__extends(d,b),d.prototype.x7b=function(){return a.OverlayDisplay.Front},d.prototype.defaultLineStyle=function(){return null==d.H3b&&((d.H3b=new a.Arb).stroke=a.nRb.BarLineStroke,d.H3b.strokeWidth=1),d.H3b},d.prototype.isNegative=function(b){var c=b.aT();return c instanceof a.models.XCa?c.y6a()<0:c instanceof a.models.SCa&&(null!=c.A6a()||null!=c.B6a())&&(c.A6a()<0&&c.B6a()<0?c.A6a()-c.B6a():c.B6a()-c.A6a())<0},d.prototype.xor=function(a,b){return a!==b&&(a||b)},d.prototype.drawLine=function(b,c,d){var e,f,g,h,i,j,k,l,m=null,n=null,o=this.bRa(),p=o.WQb().WDa(),q=o.XQb().WDa();(c instanceof a.nMa||c instanceof a.oMa)&&(d instanceof a.nMa||d instanceof a.oMa)?o.yIa()?(e=this.xor(p,this.isNegative(c))?c.APa().left:c.APa().right,m=new a.core.Point(e,q?c.APa().bottom:c.APa().top),e=this.xor(p,this.isNegative(d))?d.APa().left:d.APa().right,n=new a.core.Point(e,q?d.APa().top:d.APa().bottom)):(f=this.xor(q,this.isNegative(c))?c.APa().bottom:c.APa().top,m=new a.core.Point(p?c.APa().left:c.APa().right,f),f=this.xor(q,this.isNegative(d))?d.APa().bottom:d.APa().top,n=new a.core.Point(p?d.APa().right:d.APa().left,f)):c instanceof a.mMa&&d instanceof a.mMa&&(o.yIa()?(g=this.xor(p,this.isNegative(c))?c.MPa():c.MPa()+c.DPa(),h=q?c.NPa():c.CPa(),i=Math.cos(g)*h+c.BPa().x,j=Math.sin(g)*h+c.BPa().y,g=this.xor(p,this.isNegative(d))?d.MPa():d.MPa()+d.DPa(),h=q?d.CPa():d.NPa(),k=Math.cos(g)*h+d.BPa().x,l=Math.sin(g)*h+d.BPa().y,m=new a.core.Point(i,j),n=new a.core.Point(k,l)):(g=this.xor(q,this.isNegative(c))?c.MPa():c.MPa()+c.DPa(),h=p?c.NPa():c.CPa(),i=Math.cos(g)*h+c.BPa().x,j=Math.sin(g)*h+c.BPa().y,g=this.xor(q,this.isNegative(d))?d.MPa():d.MPa()+d.DPa(),h=p?d.CPa():d.NPa(),k=Math.cos(g)*h+d.BPa().x,l=Math.sin(g)*h+d.BPa().y,m=new a.core.Point(i,j),n=new a.core.Point(k,l))),null!=m&&null!=n&&b.drawLine(m.x,m.y,n.x,n.y)},d.prototype.yl=function(b,c){var d,e,f,g,h,i,j,k,l,m=this.bRa();if(m.SPa()&&!c.renderLabel){for(b.beginTransform(),a.NQb.Jqb(b,this.defaultLineStyle()),d=m.$z().config.showNulls,e=0,f=m.Zgb();e<f.length;e++)for(g=f[e],h=d==a.ShowNulls.Connected?g.ggb().filter(function(a){return a.bz()}):g.ggb(),i=h.length,j=0;j<i;j++)k=h[j],l=j+1===h.length?null:h[j+1],null!=k&&k.bz()&&null!=l&&l.bz()&&this.drawLine(b,k,l);b.restoreTransform()}},d.H3b=null,d);function d(a,c){return b.call(this,a,c)||this}a.CartesianBarLineOverlayView=c}(dv=dv||{}),function(a){"use strict";var b;(b=a.DetailLevel||(a.DetailLevel={}))[b.Group=0]="Group",b[b.Total=1]="Total",b[b.Trellis=2]="Trellis"}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Jsb,__extends(d,b),Object.defineProperty(d.prototype,"type",{get:function(){return a.ElementType.ErrorBarOverlayItem},enumerable:!0,configurable:!0}),d.prototype.m9b=function(){return this.n9b},d.prototype.o9b=function(){return this.t7b()},Object.defineProperty(d.prototype,"positive",{get:function(){return this.o9b().b_b().direction===a.ErrorBarDirection.Minus?null:this.m9b().plus},set:function(a){this.m9b().plus=a},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"negative",{get:function(){return this.o9b().b_b().direction===a.ErrorBarDirection.Plus?null:this.m9b().minus},set:function(a){this.m9b().minus=a},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"orientation",{get:function(){return this.o9b().F6b()?a.ErrorBarOrientation.Vertical:a.ErrorBarOrientation.Horizontal},set:function(a){},enumerable:!0,configurable:!0}),d.prototype.O8b=function(){var b,c,d,e;null!=this.tCa&&(b=this.tCa.jxa(),b instanceof a.Z1a&&(this.plusAnnotation=new a.TemplateAnnotation,this.minusAnnotation=new a.TemplateAnnotation,c=this.getAttachmentAgentManagerByView(b),d=this.plusAnnotation.Fu(new a.ProxyAttachmentAgentManager(c,this)),e=this.minusAnnotation.Fu(new a.ProxyAttachmentAgentManager(c,this)),null!=d&&d==e&&(d.Ls(this),this.s7b=b)))},d.prototype.TQb=function(b,c,d){if(this.isContextReady())switch(this.plusAnnotation.ad(),this.minusAnnotation.ad(),this.createContent(),this.o9b().b_b().direction){case a.ErrorBarDirection.Plus:this.layoutAnnotation(this.plusAnnotation,b,d);break;case a.ErrorBarDirection.Minus:this.layoutAnnotation(this.minusAnnotation,b,d);break;case a.ErrorBarDirection.Both:this.layoutAnnotation(this.plusAnnotation,b,d),this.layoutAnnotation(this.minusAnnotation,b,d)}},d.prototype.layoutAnnotation=function(a,b,c){this.customizeAnnotationStyle(a),a._R(b,c)},d.prototype.customizeAnnotationStyle=function(b){var c=new a.Arb;c.g3b(this.o9b().H7b()),c.g3b(this.tEa),b.M7b(c)},d.prototype.isContextReady=function(){return null!=this.plusAnnotation&&null!=this.minusAnnotation},d.prototype.Nbb=function(b,c){if(this.isContextReady())switch(this.o9b().b_b().direction){case a.ErrorBarDirection.Plus:this.renderAnnotation(this.plusAnnotation,b,c);break;case a.ErrorBarDirection.Minus:this.renderAnnotation(this.minusAnnotation,b,c);break;case a.ErrorBarDirection.Both:this.renderAnnotation(this.plusAnnotation,b,c),this.renderAnnotation(this.minusAnnotation,b,c)}},d.prototype.renderAnnotation=function(a,b,c){a.yl(b,c)},d.prototype.mr=function(b,c){var d,e,f;if(this.isContextReady()){if(e=this.o9b().b_b().direction,(e==a.ErrorBarDirection.Both||e==a.ErrorBarDirection.Plus)&&null!=(d=this.plusAnnotation)&&d.B7b(b))return f=new a.HitTestResult(b,this,this,a.ElementType.OverlayItem),null==c||null!=c&&c.predicate(f)?f:null;if((e==a.ErrorBarDirection.Both||e==a.ErrorBarDirection.Minus)&&null!=(d=this.minusAnnotation)&&d.B7b(b))return f=new a.HitTestResult(b,this,this,a.ElementType.OverlayItem),null==c||null!=c&&c.predicate(f)?f:null}return null},d.prototype.queryInterface=function(a){return"IErrorBarOverlayItemModel"===a?this:b.prototype.queryInterface.call(this,a)},d);function d(a,c,d){var e=b.call(this,a)||this;return e.tCa=d,e.n9b=c,e}a.p9b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.mqb,__extends(d,b),d.prototype.q9b=function(){return this.r9b},d.prototype.f_b=function(){return b.prototype.f3a.call(this)},d.prototype.YOb=function(){return b.prototype.bRa.call(this)},d.prototype.F6b=function(){return this.b_b().orientation==a.ErrorBarOrientation.Auto?!this.YOb().yIa():this.b_b().orientation===a.ErrorBarOrientation.Vertical},d.prototype.s9b=function(){return!this.YOb().yIa()===this.F6b()},d.prototype.b_b=function(){return this.f_b().b_b()},d.prototype.t9b=function(){var b=this.b_b();return new a.models.D8b(b.field,b.detailKey)},d.prototype.getDataSlices=function(){var b=this.b_b();return new a.models.E8b(b.detailLevel).Qoa(this.YOb())},d.prototype.bindData=function(){},d.prototype.u7b=function(){},d.prototype.B8b=function(){var b,c,d,e,f,g,h,i,j=this;if(0==this.j4a.length){for(c=0,d=this.getDataSlices();c<d.length;c++)e=d[c],(h=new a.CartesianErrorBarGroup(e,this)).L4a(),0<h._items().length&&(this.j4a.push(h),(b=this.nqb()).push.apply(b,h._items()));for(f=0,g=this.j4a;f<g.length;f++)(h=g[f]).O8b(),h.v8b()}i=this.s9b(),this.j4a.forEach(function(a,b){var c=a.my();0===b?i?(j.Xfb=c[0],j.Tfb=c[1]):(j.Vfb=c[1],j.Zfb=c[0]):i?(j.Tfb=Math.max(j.Tfb,c[1]),j.Xfb=Math.min(j.Xfb,c[0])):(j.Vfb=Math.max(j.Vfb,c[1]),j.Zfb=Math.min(j.Zfb,c[0]))})},d.prototype.yy=function(){return new a.options.uEa({strokeWidth:1,stroke:new a.options.ZYb({color:"black"})})},d.prototype.H7b=function(){if(null==this.N7b){var b=new a.Arb;b.zrb(this.yy()),b.f3b(this.b_b().style),b.fill="none",this.N7b=b}return this.N7b},d.prototype.TQb=function(a,b,c){for(var d=0,e=this.nqb();d<e.length;d++)e[d]._R(a,b,c)},d.prototype.Nbb=function(a,b){for(var c=0,d=this.nqb();c<d.length;c++)d[c].yl(a,b)},d);function d(a,c,d){var e=b.call(this,a,d)||this;return e.j4a=[],e.r9b=c,e}a.g_b=c}(dv=dv||{}),function(a){"use strict";var b=(c.u9b=function(a,b){var c,d,e,f,g;for(c=b._La(a.Q5a()),d=0,e=0,f=b.aT().fua();e<f.length;e++)g=f[e],b._La(g.Q5a())===c&&null!=g.Qb()&&(d+=Math.abs(g.Qb()));return 0==d?1:d},c);function c(){}a.v9b=b}(dv=dv||{}),function(a){"use strict";var b=(Object.defineProperty(c.prototype,"strokeWidth",{get:function(){return this.tFa},set:function(a){this.tFa=a||0},enumerable:!0,configurable:!0}),c.prototype.v8a=function(){},c.prototype.PQa=function(a){},c.prototype.C7b=function(b){var c,d,e,f,g,h;for(c=new a.m8b,d=this.strokeWidth,e=0,f=this.paths();e<f.length;e++){if(g=f[e],h=a.models.Path.parseToAbs(g).reduce(function(a,b){return a.push.apply(a,b),a},[]),c.contain(h,b.x,b.y))return!0;if(d&&c.containStroke(h,d,b.x,b.y))return!0}return!1},c.prototype.B7b=function(b){var c,d,e,f,g=new a.m8b,h=this.strokeWidth;if(h)for(c=0,d=this.paths();c<d.length;c++)if(e=d[c],f=a.models.Path.parseToAbs(e).reduce(function(a,b){return a.push.apply(a,b),a},[]),g.containStroke(f,a.shapes.Ztb.t3b(h),b.x,b.y))return!0;return!1},c);function c(){this.tFa=0}a.w9b=b}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.my=function(){var b,c,d,e,f,g;if(null!=this.variabilitys&&0<this.variabilitys.length){for(b=this.overlay.b_b().direction,c=this.variabilitys[0].join,d=this.variabilitys[0].join,e=0,f=this.variabilitys;e<f.length;e++)g=f[e],b!==a.ErrorBarDirection.Minus&&(isNaN(g.plus)||(c=Math.min(g.join+g.plus,g.join,c),d=Math.max(g.join+g.plus,g.join,d))),b!==a.ErrorBarDirection.Plus&&(isNaN(g.minus)||(c=Math.min(g.join-g.minus,g.join,c),d=Math.max(g.join-g.minus,g.join,d)));return[c,d]}return null},c.prototype.getXyPointSet=function(b){return a.Y_b.extract(this.overlay.YOb(),this.slice.points,b)},c.prototype.isExtractOriginValue=function(b){return b instanceof a.PercentageVariability},c.prototype.isCustomValueType=function(b){return b instanceof a.$$b||b instanceof a.FixedVariability},c.prototype.x9b=function(){return null!=this.slice&&null!=this.slice.Ata()&&null!=this.slice.Ata().tVb()?this.slice.Ata().tVb()+"":null},c.prototype._items=function(){return this.GAa},c.prototype.L4a=function(){var b,c,d,e,f,g,h,i=this.overlay.q9b(),j=this.getXyPointSet(this.isExtractOriginValue(i));if(null!=j&&(i instanceof a.$$b?this.overlay.s9b()?this.variabilitys=i.Z$b(j.ys,j.points,this.overlay.YOb()):this.variabilitys=i.Z$b(j.xs,j.points,this.overlay.YOb()):this.overlay.s9b()?this.variabilitys=i.w8a(j.ys):this.variabilitys=i.w8a(j.xs),b=this.isCustomValueType(i),null!=this.variabilitys)){for(c=j.points,d=this.overlay.t9b(),e=[],f=0;f<c.length;++f)g=this.variabilitys[f],h=c[f],d.PY(h)&&(b&&this.scaleForPercentage(g,h),i.Y$b()||(this.overlay.s9b()?g.join=a.Y_b.getAxisYValue(this.overlay.YOb(),h,!1):g.join=a.Y_b.getAxisXValue(this.overlay.YOb(),h)),e.push(g),this.GAa.push(this.createItem(g,h)));this.variabilitys=e}},c.prototype.scaleForPercentage=function(b,c){var d,e=this.overlay.YOb();e.y9b()&&this.overlay.s9b()&&(d=a.v9b.u9b(c,e),b.plus=b.plus/d,b.minus=b.minus/d)},c.prototype.createItem=function(b,c){return a.AnnotationLib.F$b(this.overlay.YOb())?new a.z9b(this.overlay,b,c):new a.A9b(this.overlay,b,c)},c.prototype.O8b=function(){for(var a=0,b=this.GAa;a<b.length;a++)b[a].O8b()},c.prototype.v8b=function(){var a,b,c;for(a=0,b=this.GAa;a<b.length;a++)c=b[a],this.runConditionalFormatRules(c)},c.prototype.runConditionalFormatRules=function(b){(new a.models.A8b).NGa(b)},c);function c(a,b){this.GAa=[],this.slice=a,this.overlay=b}a.CartesianErrorBarGroup=b}(dv=dv||{}),dv=dv||{},function(a){"use strict";var b,c=(b=a.H$b,__extends(d,b),d.prototype.PY=function(b){var c=this.overlayItem.o9b().YOb();return!c.yIa()&&a.AnnotationLib.F$b(c)},d.prototype.pointAttachmentInfo=function(b){var c=this.getConnectionPoint(),d=new a.PointAttachInfo(c,a.Vector.horizon(),a.Vector.vertical(),a.Vector.horizon(),a.Vector.vertical());return this.completePrototype(d),d},d.prototype.completePrototype=function(b){var c,d,e=this.overlayItem.$_b(),f=this.overlayItem.B9b(),g=this.overlayItem.o9b().YOb().WQb(),h=a.Vector.angle(new a.Vector(b.point.x-g.cx,b.point.y-g.cy),a.Vector.horizon()),i=Math.sqrt((b.point.x-g.cx)*(b.point.x-g.cx)+(b.point.y-g.cy)*(b.point.y-g.cy));this.overlayItem.o9b().q9b().Y$b()&&(this.overlayItem.o9b().s9b()?(c=this.overlayItem.o9b().YOb().K8b(),h=c.Qb(this.overlayItem.m9b().join),b.point=new a.core.Point(Math.cos(h)*i+c.cx,Math.sin(h)*i+c.cy)):(d=g.Qb(this.overlayItem.m9b().join),b.point=new a.core.Point(Math.cos(h)*d+g.cx,Math.sin(h)*d+g.cy))),null==f?e instanceof a.RadErrorBarPrototype?(e.radius=i,e.start=h):e instanceof a.RadialLineErrorBarPrototype&&(g.WDa()&&(b.xDir=b.xDir.reverse(),b.yDir=b.yDir.reverse()),e.angle=h):null==e?f instanceof a.RadErrorBarPrototype?(f.radius=i,f.start=h):f instanceof a.RadialLineErrorBarPrototype&&(g.WDa()&&(b.xDir=b.xDir.reverse(),b.yDir=b.yDir.reverse()),f.angle=h):e instanceof a.RadErrorBarPrototype&&f instanceof a.RadErrorBarPrototype?(f.radius=e.radius=i,f.start=e.start=h):e instanceof a.RadialLineErrorBarPrototype&&f instanceof a.RadialLineErrorBarPrototype&&(g.WDa()&&(b.xDir=b.xDir.reverse(),b.yDir=b.yDir.reverse()),e.angle=f.angle=h)},d.prototype.getConnectionPointInSymbolPointView=function(a){return a.APa().center},d.prototype.getConnectionPoint=function(){var b=this.view;return b instanceof a.P1a?this.getConnectionPointInSymbolPointView(b):this.getConnectionPointInBarPointView(b)},d.prototype.getConnectionPointInBarPointView=function(b){var c,d,e,f;return b instanceof a.mMa?(c=void 0,d=this.overlayItem.o9b().YOb().XQb(),c=d.WDa()===!b.M$b()?b.MPa()+b.DPa():b.MPa(),e=new a.core.Point(Math.cos(c)*b.NPa(),Math.sin(c)*b.NPa()),f=new a.core.Point(Math.cos(c)*b.CPa(),Math.sin(c)*b.CPa()),new a.core.Point(d.cx+(e.x+f.x)/2,d.cy+(e.y+f.y)/2)):null},d.prototype.Ls=function(b){b instanceof a.Jsb&&this.view.A$b().push(b)},d);function d(a,c){var d=b.call(this)||this;return d.view=a,d.overlayItem=c,d}a.C9b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.H$b,__extends(d,b),d.prototype.PY=function(b){var c=this.overlayItem.o9b().YOb();return c.yIa()&&a.AnnotationLib.F$b(c)},d.prototype.pointAttachmentInfo=function(b){var c=this.getConnectionPoint(),d=new a.PointAttachInfo(c,a.Vector.horizon(),a.Vector.vertical(),a.Vector.horizon(),a.Vector.vertical());return this.completePrototype(d),d},d.prototype.completePrototype=function(b){var c,d,e=this.overlayItem.$_b(),f=this.overlayItem.B9b(),g=this.overlayItem.o9b().YOb().WQb(),h=a.Vector.angle(new a.Vector(b.point.x-g.cx,b.point.y-g.cy),a.Vector.horizon()),i=Math.sqrt((b.point.x-g.cx)*(b.point.x-g.cx)+(b.point.y-g.cy)*(b.point.y-g.cy));this.overlayItem.o9b().q9b().Y$b()&&(this.overlayItem.o9b().s9b()?(c=g.Qb(this.overlayItem.m9b().join),b.point=new a.core.Point(Math.cos(h)*c+g.cx,Math.sin(h)*c+g.cy)):(d=this.overlayItem.o9b().YOb().J8b(),h=d.Qb(this.overlayItem.m9b().join),b.point=new a.core.Point(Math.cos(h)*i+d.cx,Math.sin(h)*i+d.cy))),null==f?e instanceof a.RadErrorBarPrototype?(e.radius=i,e.start=h):e instanceof a.RadialLineErrorBarPrototype&&(g.WDa()&&(b.xDir=b.xDir.reverse(),b.yDir=b.yDir.reverse()),e.angle=h):null==e?f instanceof a.RadErrorBarPrototype?(f.radius=i,f.start=h):f instanceof a.RadialLineErrorBarPrototype&&(g.WDa()&&(b.xDir=b.xDir.reverse(),b.yDir=b.yDir.reverse()),f.angle=h):e instanceof a.RadErrorBarPrototype&&f instanceof a.RadErrorBarPrototype?(f.radius=e.radius=i,f.start=e.start=h):e instanceof a.RadialLineErrorBarPrototype&&f instanceof a.RadialLineErrorBarPrototype&&(g.WDa()&&(b.xDir=b.xDir.reverse(),b.yDir=b.yDir.reverse()),e.angle=f.angle=h)},d.prototype.getConnectionPointInSymbolPointView=function(a){return a.APa().center},d.prototype.getConnectionPoint=function(){var b=this.view;return b instanceof a.P1a?this.getConnectionPointInSymbolPointView(b):this.getConnectionPointInBarPointView(b)},d.prototype.getConnectionPointInBarPointView=function(b){if(b instanceof a.mMa){var c=b.MPa()+b.DPa()/2,d=this.overlayItem.o9b().YOb().WQb(),e=void 0;return e=d.WDa()===!b.M$b()?b.CPa():b.NPa(),new a.core.Point(d.cx+Math.cos(c)*e,d.cy+Math.sin(c)*e)}return null},d.prototype.Ls=function(b){b instanceof a.Jsb&&this.view.A$b().push(b)},d);function d(a,c){var d=b.call(this)||this;return d.view=a,d.overlayItem=c,d}a.D9b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.w9b,__extends(d,b),d.prototype.E9b=function(){return 6},Object.defineProperty(d.prototype,"start",{get:function(){return this.IMa},set:function(a){isNaN(a)||(this.IMa=a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"sweep",{get:function(){return this.ZFa},set:function(a){isNaN(a)||(this.ZFa=a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"radius",{get:function(){return this.LMa},set:function(a){!isNaN(a)&&0<=a&&(this.LMa=a)},enumerable:!0,configurable:!0}),d.prototype.F9b=function(){return new a.core.Rect((-this.radius),(-this.radius),2*this.radius,2*this.radius)},d.prototype.T7b=function(b){return new a.core.Point(Math.cos(this.start)*this.radius,Math.sin(this.start)*this.radius)},d.prototype.paths=function(){var a=[];return null!=this.G9b&&a.push(this.G9b),null!=this.H9b&&a.push(this.H9b),a},d.prototype.v8a=function(){this.G9b=this.linePath(),this.H9b=this.capPath()},d.prototype.linePath=function(){return this.isPlus?this.sweep<0?a.m8b.p8b(0,0,this.radius,this.start+this.sweep,-this.sweep):a.m8b.p8b(0,0,this.radius,this.start,this.sweep):this.sweep<0?a.m8b.p8b(0,0,this.radius,this.start,-this.sweep):a.m8b.p8b(0,0,this.radius,this.start-this.sweep,this.sweep)},d.prototype.capPath=function(){var b,c,d,e;return this.hasCap?(b=this.isPlus?this.start+this.sweep:this.start-this.sweep,c=this.radius-this.E9b()/2,d=new a.core.Point(Math.cos(b)*c,Math.sin(b)*c),c+=this.E9b(),e=new a.core.Point(Math.cos(b)*c,Math.sin(b)*c),"M "+d.x+" "+d.y+", L "+e.x+" "+e.y):null},d.prototype.PQa=function(b){this.G9b&&b.drawPath(this.G9b,a.PathFillType.Nonzero,a.LineCap.Butt,a.LineJoin.Miter),this.hasCap&&b.drawPath(this.H9b,a.PathFillType.Nonzero,a.LineCap.Butt,a.LineJoin.Miter)},d.prototype.C7b=function(a){return b.prototype.B7b.call(this,a)},d);function d(a,c){var d=b.call(this)||this;return d.LMa=0,d.IMa=0,d.ZFa=0,d.isPlus=a,d.hasCap=c,d}a.RadErrorBarPrototype=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.p9b,__extends(d,b),d.prototype.$_b=function(){return null!=this.plusAnnotation?this.plusAnnotation.Uc():null},d.prototype.B9b=function(){return null!=this.minusAnnotation?this.minusAnnotation.Uc():null},d.prototype.getAttachmentAgentManagerByView=function(b){return new a.AttachmentAgentManager(new a.C9b(b,this),new a.D9b(b,this))},d.prototype.getVerticalAxis=function(){return this.o9b().YOb().XQb()},d.prototype.getHorizontalAxis=function(){return this.o9b().YOb().WQb()},d.prototype.createContent=function(){isNaN(this.m9b().plus)||this.plusAnnotation.Uc(this.createContentBy(this.m9b().plus)),isNaN(this.m9b().minus)||this.minusAnnotation.Uc(this.createContentBy(-this.m9b().minus))},d.prototype.createContentBy=function(b){var c,d,e,f=this.o9b().YOb(),g=this.o9b().s9b(),h=f.yIa(),i=this.o9b().b_b().endCap,j=this.m9b().join;return!h===g?(c=this.getVerticalAxis(),d=null,0<=b?(d=new a.RadErrorBarPrototype((!0),i)).sweep=c.Qb(j+b)-c.Qb(j):(d=new a.RadErrorBarPrototype((!1),i)).sweep=c.Qb(j)-c.Qb(j+b),d):(e=this.getHorizontalAxis(),(d=new a.RadialLineErrorBarPrototype(0<=b,i)).len=Math.abs(e.Qb(b+j)-e.Qb(j)),d)},d);function d(a,c,d){return b.call(this,a,c,d)||this}a.z9b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.w9b,__extends(d,b),d.prototype.capLen=function(){return 6},Object.defineProperty(d.prototype,"len",{get:function(){return this.I9b},set:function(a){!isNaN(a)&&0<=a&&(this.I9b=a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"angle",{get:function(){return this.P9a},set:function(a){isNaN(a)||(this.P9a=a)},enumerable:!0,configurable:!0}),d.prototype.F9b=function(){var b=this.endPoint(),c=Math.min(b.x,0),d=Math.min(b.y,0);return new a.core.Rect(c,d,Math.max(b.x,0)-c,Math.max(b.y,0)-d)},d.prototype.T7b=function(b){return new a.core.Point(0,0)},d.prototype.paths=function(){var a=[];return null!=this.G9b&&a.push(this.G9b),null!=this.H9b&&a.push(this.H9b),a},d.prototype.v8a=function(){this.G9b=this.linePath(),this.H9b=this.capPath()},d.prototype.linePath=function(){var a=this.endPoint();return"M 0 0, L "+a.x+" "+a.y},d.prototype.capPath=function(){var b,c,d,e,f=this.len,g=new a.Vector(Math.cos(this.angle),Math.sin(this.angle));return this.isPlus||(g=g.reverse()),b=new a.core.Point(g.x*f,g.y*f),c=a.Vector.getPerp(g),d=a.Vector.endPoint(b,c,this.capLen()/2),e=a.Vector.endPoint(b,c.reverse(),this.capLen()/2),"M "+d.x+" "+d.y+", L "+e.x+" "+e.y},d.prototype.endPoint=function(){return this.isPlus?new a.core.Point(Math.cos(this.angle)*this.len,Math.sin(this.angle)*this.len):new a.core.Point(-Math.cos(this.angle)*this.len,-Math.sin(this.angle)*this.len)},d.prototype.PQa=function(b){this.G9b&&b.drawPath(this.G9b,a.PathFillType.Nonzero,a.LineCap.Butt,a.LineJoin.Miter),this.hasCap&&b.drawPath(this.H9b,a.PathFillType.Nonzero,a.LineCap.Butt,a.LineJoin.Miter)},d.prototype.C7b=function(a){return b.prototype.B7b.call(this,a)},d);function d(a,c){var d=b.call(this)||this;return d.P9a=0,d.I9b=0,d.isPlus=a,d.hasCap=c,d}a.RadialLineErrorBarPrototype=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.p9b,__extends(d,b),d.prototype.getAttachmentAgentManagerByView=function(b){return new a.AttachmentAgentManager(new a.J9b(b,this),new a.K9b(b,this))},d.prototype.L9b=function(a){return a?this.o9b().YOb().K8b():this.o9b().YOb().J8b()},d.prototype.createContent=function(){isNaN(this.m9b().plus)||this.plusAnnotation.Uc(this.createContentBy(this.m9b().plus)),isNaN(this.m9b().minus)||this.minusAnnotation.Uc(this.createContentBy(-this.m9b().minus))},d.prototype.createContentBy=function(b){var c=this.o9b().b_b().endCap,d=this.o9b().s9b(),e=this.L9b(d),f=this.m9b().join,g=new a.RectangularErrorBarPrototype(d,0<=b,c);return g.barLen=Math.abs(e.Qb(b+f)-e.Qb(f)),g},d);function d(a,c,d){return b.call(this,a,c,d)||this}a.A9b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.H$b,__extends(d,b),d.prototype.jxa=function(){return this.view},d.prototype.PY=function(b){return!a.AnnotationLib.F$b(this.overlayItem.o9b().YOb())},d.prototype.pointAttachmentInfo=function(b){this.view;var c=a.AnnotationLib.J$b(this.overlayItem.o9b().YOb());return new a.PointAttachInfo(this.getConnectionPoint(),c.xDir,c.yDir,c.xDir,c.yDir)},d.prototype.getConnectionPointInSymbolPointView=function(a){return a.APa().center},d.prototype.getConnectionPoint=function(){var b=this.view;return b instanceof a.P1a?this.getConnectionPointInSymbolPointView(b):this.getConnectionPointInBarPointView(b)},d.prototype.getConnectionPointInBarPointView=function(b){var c=b.APa(),d=this.overlayItem.o9b().YOb();return d.yIa()?d.WDa()===!b.M$b()?new a.core.Point(c.right,c.top+c.height/2):new a.core.Point(c.left,c.top+c.height/2):d.WDa()===!b.M$b()?new a.core.Point(c.left+c.width/2,c.top):new a.core.Point(c.left+c.width/2,c.bottom)},d.prototype.Ls=function(b){b instanceof a.Jsb&&this.view.A$b().push(b)},d);function d(a,c){var d=b.call(this)||this;return d.view=a,d.overlayItem=c,d}a.K9b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.w9b,__extends(d,b),d.prototype.E9b=function(){return 6},Object.defineProperty(d.prototype,"barLen",{get:function(){return this.M9b},set:function(a){!isNaN(a)&&0<=a&&(this.M9b=a)},enumerable:!0,configurable:!0}),d.prototype.F9b=function(){return this.N9b?new a.core.Rect(0,0,this.E9b(),this.barLen):new a.core.Rect(0,0,this.barLen,this.E9b())},d.prototype.T7b=function(b){return this.O9b?this.N9b?new a.core.Point(0,this.barLen):new a.core.Point(0,0):this.N9b?new a.core.Point(0,0):new a.core.Point(this.barLen,0)},d.prototype.paths=function(){var a=[];return null!=this.G9b&&a.push(this.G9b),null!=this.H9b&&a.push(this.H9b),a},d.prototype.v8a=function(){var a,b,c,d=this.O9b?this.N9b?(b=a=0,"M 0 "+this.barLen+", L 0 0"):"M 0 0, L "+(a=this.barLen)+" "+(b=0):this.N9b?"M 0 0, L "+(a=0)+" "+(b=this.barLen):(b=a=0,"M "+this.barLen+" 0, L 0 0");this.G9b=d,c=this.E9b(),this.N9b?(a-=c/2,this.H9b="M "+a+" "+b+", L "+(a+c)+" "+b):(b-=c/2,this.H9b="M "+a+" "+b+", L "+a+" "+(b+c))},d.prototype.PQa=function(b){this.G9b&&b.drawPath(this.G9b,a.PathFillType.Nonzero,a.LineCap.Butt,a.LineJoin.Miter),this.hasCap&&b.drawPath(this.H9b,a.PathFillType.Nonzero,a.LineCap.Butt,a.LineJoin.Miter)},d.prototype.C7b=function(a){return b.prototype.B7b.call(this,a)},d);function d(a,c,d){var e=b.call(this)||this;return e.M9b=0,e.N9b=a,e.O9b=c,e.hasCap=d,e}a.RectangularErrorBarPrototype=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.K9b,__extends(d,b),d.prototype.PY=function(a){return this.overlayItem.o9b().q9b().Y$b()&&b.prototype.PY.call(this,a)},d.prototype.getConnectionPoint=function(){var a=b.prototype.getConnectionPoint.call(this),c=this.overlayItem.o9b().s9b(),d=this.overlayItem.L9b(c);return this.overlayItem.o9b().F6b()?a.y=d.Qb(this.overlayItem.m9b().join):a.x=d.Qb(this.overlayItem.m9b().join),a},d);function d(a,c){return b.call(this,a,c)||this}a.J9b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.SinglePointRectangleAnnotation,__extends(d,b),d.prototype.Uc=function(a){if(null!=a){var b=(this.content=a).F9b();this.width=b.width,this.height=b.height}return this.content},d.prototype.ad=function(){this.content=null,this.matrix=null},d.prototype.strokeWidth=function(){return 0},d.prototype.T7b=function(a){return this.matrix.TVb(this.content.T7b(a))},d.prototype.layout=function(a,c,d){null!=this.Uc()&&b.prototype.layout.call(this,a,c,d)},d.prototype.render=function(b,c){null!=this.O7b().connectionPoint&&(this.content instanceof a.w9b&&(this.content.strokeWidth=b.strokeWidth),this.content.v8a(),b.startTransform(this.matrix.An()),this.content.PQa(b),b.endTransform())},d.prototype.box=function(){if(null==this.matrix)return null;this.layoutWithTransfromInfo(this.O7b());var b=this.content.F9b(),c=this.matrix.VVb([b.left,b.right,b.left,b.right],[b.top,b.top,b.bottom,b.bottom]),d=Math.min.apply(Math,c.xs),e=Math.min.apply(Math,c.ys),f=Math.max.apply(Math,c.xs)-d,g=Math.max.apply(Math,c.ys)-e;return new a.core.Rect(d,e,f,g)},d.prototype.C7b=function(a){if(null==this.matrix)return!1;var b=this.matrix.NVb();return this.content.C7b(b.TVb(a))},d.prototype.B7b=function(a){if(null==this.matrix)return!1;var b=this.matrix.NVb();return this.content.B7b(b.TVb(a))},d);function d(){var a=b.call(this)||this;return a.W7b=!1,a}a.TemplateAnnotation=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.mqb,__extends(d,b),d.prototype.Psb=function(){var a=this.$z();return null!=a.label?a.label.text:null},d.prototype.sxb=function(){var b=this.$z(),c=this.bRa(),d=c.htb(),e=c.yIa();return d!=a.AxisMode.Polygonal&&d!=a.AxisMode.Radial||(b.axis==a.AxisType.X?e:!e)},d.prototype.$z=function(){return b.prototype.$z.call(this)},d.prototype.P9b=function(){return b.prototype.$z.call(this)},d.prototype.nqb=function(){return b.prototype.nqb.call(this)},d.prototype.shouldApplyColorFromPalette=function(){var a=this.$z();return!(null!=a.style&&null!=a.style.stroke||this.isGroup()&&null==this.Psb())},d.prototype.bVb=function(){if(this.shouldApplyColorFromPalette())for(var a=0,b=this.nqb();a<b.length;a++)b[a].z7b()},d.prototype.bindData=function(){this.createItemViews()},d.prototype.isGroup=function(){var b=this.$z();return null==b.value&&b.detailLevel==a.DetailLevel.Group},d.prototype.valueFieldFilter=function(a){if(null==a)return!1;var b=this.P9b();return null==b.field||b.field==a.name},d.C8b=function(a){return null!=a.tVb()?a.tVb()+"":""},d.prototype.seriesFilter=function(b){if(null==b)return!1;var c=this.P9b();return(null==c.field||b.HOa().name==c.field)&&(null==c.detailKey||null!=b.tVb()&&c.detailKey==a.HQb.C8b(b))},d.prototype.getDataSlices=function(){var b=this.isGroup()?a.DetailLevel.Group:a.DetailLevel.Total;return new a.models.E8b(b).Qoa(this.YOb())},d.prototype.createItemViews=function(){var a,b,c;for(a=0,b=this.getDataSlices();a<b.length;a++)c=b[a],this.createOverlayItemView(c)},d.prototype.JQb=function(b){var c,e,f,g,h,i=null;return null!=b.Ata()&&(i=d.C8b(b.Ata())),c=b.valuefield.name,e=this.Psb(),null==e?null:(f=new a.models.Q9b(e,i,c),g=a.plugins.w1a.QOa("Default"),null!=g&&(h=g.toLines(f),null!=h)?h.join(""):e)},d.prototype.createOverlayItemView=function(b){var c,d=b.Ata();(null==d||this.seriesFilter(d))&&this.valueFieldFilter(b.valuefield)&&0<b.points.length&&(c=null,c=this.sxb()?new a.Rsb(this,this.JQb(b),b):new a.Ssb(this,this.JQb(b),b),this.nqb().push(c))},d.prototype.B8b=function(){var b,c,d,e,f,g,h,i,j,k=null,l=null,m=this.$z();if(null==m.value)for(b=this.bRa(),c=0,d=this.nqb();c<d.length;c++)e=(j=d[c]).Qoa(),f=null,(f=m.axis==a.AxisType.X?e.points.map(function(a){return b._La(a.Q5a())}):e.points.map(function(a){return a.Qb()}))&&(f=f.filter(function(a){return null!=a}),g=a.R9b.aggregate(f,m),null==k?k=l=g:(k=Math.max(k,g),l=Math.min(l,g)),j.lAa(g));else for(k=l=g=this.S9b(m.value,m.axis),
- h=0,i=this.nqb();h<i.length;h++)(j=i[h]).lAa(g);m.axis==a.AxisType.X?(this.Vfb=k,this.Zfb=l):(this.Tfb=k,this.Xfb=l)},d.prototype.S9b=function(b,c){var d=this.bRa();return a.T9b.invert(d,b,c)},d.prototype.TQb=function(a,b,c){for(var d=0,e=this.nqb();d<e.length;d++)e[d]._R(a,b,c)},d.prototype.yl=function(a,b){a.beginTransform();for(var c=0,d=this.nqb();c<d.length;c++)d[c].yl(a,b);a.restoreTransform()},d);function d(a,c){return b.call(this,a,c)||this}a.crb=c}(dv=dv||{}),function(a){"use strict";var b=(c.invert=function(b,c,d){var e,f,g,h,i,j,k,l,m,n=null;if(d==a.AxisType.X?n=b.xSite:d==a.AxisType.Y&&(n=b.ySite),e=c,n instanceof a.models.LCa){for(f=0,g=n.Ey;f<g.length;f++)if(h=g[f],n.dataType===a.core.DataType.Date){if(i=h.value,j=null,j="string"==typeof c?Date.parse(c):e,i.valueOf()==j){e=h.index;break}}else if(h.value==e){e=h.index;break}}else n instanceof a.models.vWb?(k=n.qWb().jPb(),l=n.rOa()?n.rOa().field:null,l instanceof a.models.hBa?-1!=(m="string"==typeof c?l.Ey().indexOf(c):-1)&&(e=k+m):l instanceof a.models.jBa?-1!=(m="boolean"==typeof c?l.Ey().indexOf(c):-1)&&(e=k+m):l instanceof a.models.fBa?-1!=(m="number"==typeof c?l.Ey().indexOf(c):-1)&&(e=k+m):l instanceof a.models.iBa&&(j=e,"string"==typeof c&&(j=Date.parse(c)),-1!=(m=l.Ey().map(function(a){return a.valueOf()}).indexOf(j))&&(e=k+m))):n.dataType===a.core.DataType.Date&&"string"==typeof e&&(e=Date.parse(c));return"number"!=typeof e?+e:e},c);function c(){}a.T9b=b}(dv=dv||{}),function(a){"use strict";var b,c,d,e=(b=a.A7b,__extends(f,b),f.prototype.Qoa=function(){return this.U9b},f.prototype.wLa=function(){return this.hRa},f.prototype.lAa=function(a){this.mCa=a},f.prototype.yl=function(b,c){null==this.mCa||isNaN(this.mCa)||(c.renderLabel?this.Vsb&&this.Vsb.yl(b,c):(b.beginTransform(),a.NQb.Jqb(b,this.allStyle()),this.render(b,c),b.restoreTransform()))},f.prototype.TQb=function(a,b,c){null==this.mCa||isNaN(this.mCa)||(this.layout(a,c),this.hasDataLabel()&&(null==this.Vsb&&(this.Vsb=this.createDataLabelView()),this.layoutDataLabelView(a,this.Usb)))},f.prototype.createDataLabelView=function(){return new a.Wsb(this,this.wLa(),this.Usb.textStyle)},f.prototype.fta=function(){return null!=this.wLa()&&(null==this.Usb||this.Usb.display===a.OverlayLabelDisplay.Both||this.Usb.display===a.OverlayLabelDisplay.Legend)},f.prototype.hasDataLabel=function(){return null!=this.Usb&&null!=this.wLa()&&(this.Usb.display===a.OverlayLabelDisplay.Both||this.Usb.display===a.OverlayLabelDisplay.Plot)},f.prototype.V9b=function(){return b.prototype.MPb.call(this)},f.prototype.getStrokeColor=function(){return null!=this.U9b.Ata()&&null==this.wLa()?this.U9b.Ata().tE():this.baseColor},f.prototype.getStrokeWidth=function(){return this.allStyle().strokeWidth},f.prototype.getSymbol=function(){var a=this.allStyle();return new d(a.strokeWidth,a.strokeDasharray,a.stroke)},f.prototype.yy=function(){return new a.options.uEa({strokeWidth:1})},f.prototype.allStyle=function(){var b=new a.Arb;return b.zrb(this.yy()),b.orb(this.V9b().$z().style),null==b.stroke&&(b.stroke=this.getStrokeColor()),b.g3b(this.tEa),b},f);function f(a,c,d){var e=b.call(this,a)||this;return e.hRa=c,e.U9b=d,e.Usb=e.V9b().$z().label,e}a.Qsb=e,c=a.models.oSa,__extends(g,c),g.prototype.render=function(b,c,d){b.beginTransform(),a.NQb.$Qb(b,new a.options.AFa({strokeWidth:new a.options.hVb({top:this.tFa,right:this.tFa,bottom:this.tFa,left:this.tFa}),strokeDasharray:this.uFa})),a.NQb.jqb(b,this.sFa),a.NQb.iqb(b,this.sFa),b.drawLine(c.left,c.top+c.height/2,c.right,c.top+c.height/2),b.restoreTransform()},d=g;function g(a,b,d){var e=c.call(this)||this;return e.tFa=1,null!=a&&(e.tFa=a),e.uFa=b,e.sFa=d,e}a.Xsb=d}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.DKa,__extends(d,b),d.prototype.Zsb=function(a){return null!=a&&(this.Ysb=a),this.Ysb},d.prototype.FXa=function(){return!1},d.prototype.zPa=function(){return new a.options.bOa(null)},d.prototype.W9b=function(){return this.x3b()},d.prototype.yl=function(a,c){b.prototype.yl.call(this,a,c)},d.prototype.GHa=function(b){a.NQb.n0b(b,this.W9b().MPb().bRa().q4a().s4a().$z().textStyle),a.NQb.n0b(b,this.W9b().MPb().bRa().$z().config.textStyle),a.NQb.n0b(b,this.vEa)},d.prototype.RIa=function(b,c,d){b.beginTransform(),this.GHa(b),c=this.APa(),b.drawStringRotated(this.hRa,new a.core.Point(c.left,c.bottom),c.center,this.Ysb),b.restoreTransform()},d);function d(a,c,d){var e=b.call(this,a,[c])||this;return e.vEa=d,e.hRa=c,e.Ysb=0,e}a.Wsb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Qsb,__extends(d,b),d.prototype.layoutDataLabelView=function(b,c){var d=c.position,e=this.getStrokeWidth(),f=this.Vsb.SIa(b,null).size,g=new a.core.Rect(0,0,f.width,f.height),h=this.V9b().bRa(),i=h.wPa(),j=h.xPa(),k=this.radius;switch(d){case a.OverlayLabelPosition.TopCenter:g.left=i-g.width/2,g.top=j-k-g.height-e/2;break;case a.OverlayLabelPosition.BottomCenter:g.left=i-g.width/2,g.top=j-k+e;break;case a.OverlayLabelPosition.TopLeft:g.left=i-k-e/2-g.width+(g.width-g.height)/2,g.top=j-g.height/2,this.Vsb.Zsb(270);break;case a.OverlayLabelPosition.BottomLeft:g.left=i-k+e-(g.width-g.height)/2,g.top=j-g.height/2,this.Vsb.Zsb(270);break;case a.OverlayLabelPosition.TopRight:g.left=i+k+e/2-(g.width-g.height)/2,g.top=j-g.height/2,this.Vsb.Zsb(90);break;case a.OverlayLabelPosition.BottomRight:g.left=i+k-g.width-e+(g.width-g.height)/2,g.top=j-g.height/2,this.Vsb.Zsb(90)}this.Vsb.APa(g)},d.prototype.render=function(a,b){if(this.isPolygonAxes())this.xs&&this.ys&&a.drawLines(this.xs,this.ys);else{var c=this.V9b().bRa(),d=c.wPa(),e=c.xPa();0!=this.sweep&&a.drawDonutSegment(d,e,this.radius,this.radius,this.startAngle,this.sweep,null,{fill:"none"})}},d.prototype.layout=function(a,b){var c,d,e=this.V9b().bRa(),f=e.WQb(),g=this.mCa;this.radius=f.Qb(g),this.isPolygonAxes()?(c=this.getPolygon(e.XQb(),this.radius),null!=c.xs&&null!=c.ys&&(this.xs=c.xs,this.ys=c.ys)):(d=e.XQb(),this.startAngle=d.Qb(d.KPa()),this.sweep=d.Qb(d.LPa())-this.startAngle)},d.prototype.isPolygonAxes=function(){return this.V9b().bRa().$z().config.axisMode==a.AxisMode.Polygonal},d.prototype.getPolygon=function(a,b){var c,d,e,f,g,h,i={xs:null,ys:null};if(this.isPolygonAxes()){if(b<0||b>a.radius)return i;for(c=a.ZDa(),d=[],e=[],f=0;f<c.length;++f)g=c[f],h=a.Qb(g),d.push(Math.cos(h)*b+a.cx),e.push(Math.sin(h)*b+a.cy);return{xs:d,ys:e}}return i},d);function d(a,c,d){return b.call(this,a,c,d)||this}a.Ssb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Qsb,__extends(d,b),d.prototype.quda=function(a,b,c){return c.y-b<0&&0<c.x-a?1:c.y-b<0&&c.x-a<0?2:0<c.y-b&&c.x-a<0?3:0<c.y-b&&0<c.x-a?4:0},d.prototype.calcTopAndLeftByPosition=function(a,b,c,d,e,f){var g=this.getStrokeWidth()/2;switch(c){case"TopLeft":d.left=a-d.width-f*g,d.top=b-d.height-e*g;break;case"BottomRight":d.left=a+f*g,d.top=b+e*g;break;case"TopRight":d.left=a+f*g,d.top=b-d.height-e*g;break;case"BottomLeft":d.left=a-d.width-f*g,d.top=b+e*g;break;case"Top":d.left=a-d.width/2,d.top=b-d.height-g;break;case"Bottom":d.left=a-d.width/2,d.top=b+g;break;case"CenterVertical":d.left=a-d.width/2,d.top=b-d.height/2}},d.prototype.layoutDataLabelView=function(b,c){var d,e,f,g,h,i,j,k,l,m=this.V9b().$z().axis,n=c.position,o=this.getStrokeWidth(),p=this.Vsb.SIa(b,null).size,q=new a.core.Rect(0,0,p.width,p.height),r=this.V9b().bRa();if(m===a.AxisType.Y&&r.$z().config.axisMode==a.AxisMode.Polygonal||r.$z().config.axisMode==a.AxisMode.Radial){switch(d=r.WQb(),e=r.wPa(),f=r.xPa(),g=d.Qb(d.LPa()),h=new a.core.Point(0,0),i=new a.core.Point(0,0),Math.pow(Math.abs(this.ys[0]-f),2)+Math.pow(Math.abs(this.xs[0]-e),2)>Math.pow(Math.abs(this.ys[1]-f),2)+Math.pow(Math.abs(this.xs[1]-e),2)?(h.x=this.xs[1],h.y=this.ys[1],i.x=this.xs[0],i.y=this.ys[0]):(h.x=this.xs[0],h.y=this.ys[0],i.x=this.xs[1],i.y=this.ys[1]),j=Math.abs((i.x-e)/g),k=Math.abs((i.y-f)/g),l="",this.quda(e,f,i)){case 1:case 3:l=c.position==a.OverlayLabelPosition.TopLeft||c.position==a.OverlayLabelPosition.TopCenter||c.position==a.OverlayLabelPosition.TopRight?"TopLeft":"BottomRight";break;case 2:case 4:l=c.position==a.OverlayLabelPosition.TopLeft||c.position==a.OverlayLabelPosition.TopCenter||c.position==a.OverlayLabelPosition.TopRight?"TopRight":"BottomLeft"}switch((g*j<.5*p.width||g*k<p.height)&&(l=(c.position===a.OverlayLabelPosition.TopRight||c.position===a.OverlayLabelPosition.BottomCenter)&&g*j<p.width?"CenterVertical":c.position==a.OverlayLabelPosition.TopLeft||c.position==a.OverlayLabelPosition.TopCenter||c.position==a.OverlayLabelPosition.TopRight?"Top":"Bottom"),n){case a.OverlayLabelPosition.TopCenter:case a.OverlayLabelPosition.BottomCenter:this.calcTopAndLeftByPosition((h.x+i.x)/2,(h.y+i.y)/2,l,q,j,k);break;case a.OverlayLabelPosition.TopLeft:case a.OverlayLabelPosition.BottomLeft:this.calcTopAndLeftByPosition(h.x,h.y,l,q,j,k);break;case a.OverlayLabelPosition.TopRight:case a.OverlayLabelPosition.BottomRight:this.calcTopAndLeftByPosition(i.x,i.y,l,q,j,k)}}else if(m===a.AxisType.Y)switch(n){case a.OverlayLabelPosition.TopCenter:q.left=(this.xs[0]+this.xs[1])/2-q.width/2,q.top=this.ys[1]-o/2-q.height;break;case a.OverlayLabelPosition.BottomCenter:q.left=(this.xs[0]+this.xs[1])/2-q.width/2,q.top=this.ys[1]+o/2;break;case a.OverlayLabelPosition.TopLeft:q.left=this.xs[1],q.top=this.ys[1]-o/2-q.height;break;case a.OverlayLabelPosition.BottomLeft:q.left=this.xs[1],q.top=this.ys[1]+o/2;break;case a.OverlayLabelPosition.TopRight:q.left=this.xs[0]-q.width,q.top=this.ys[1]-o/2-q.height;break;case a.OverlayLabelPosition.BottomRight:q.left=this.xs[0]-q.width,q.top=this.ys[1]+o/2}else if(m===a.AxisType.X)switch(n){case a.OverlayLabelPosition.TopCenter:q.left=this.xs[0]-q.width/2,q.top=this.ys[0];break;case a.OverlayLabelPosition.BottomCenter:q.left=this.xs[0]-q.width/2,q.top=this.ys[1]-q.height;break;case a.OverlayLabelPosition.TopLeft:q.left=this.xs[0]-q.width-o/2,q.top=this.ys[0];break;case a.OverlayLabelPosition.BottomLeft:q.left=this.xs[0]-q.width-o/2,q.top=this.ys[1]-q.height;break;case a.OverlayLabelPosition.TopRight:q.left=this.xs[0]+o/2,q.top=this.ys[0];break;case a.OverlayLabelPosition.BottomRight:q.left=this.xs[0]+o/2,q.top=this.ys[1]-q.height}this.Vsb.APa(q)},d.prototype.render=function(a,b){a.drawLine(this.xs[0],this.ys[0],this.xs[1],this.ys[1])},d.prototype.layout=function(b,c){var d,e,f,g,h,i,j,k,l,m;this.xs=[],this.ys=[],d=this.V9b().bRa(),e=this.V9b().$z(),f=d.WQb(),g=d.XQb(),h=this.mCa,i=d.htb(),j=d.yIa(),i==a.AxisMode.Polygonal?(k=this.getLineInPolygonAxes(g.Qb(h),d.XQb(),g.WDa()),null!=k.xs&&null!=k.ys&&(this.xs=k.xs,this.ys=k.ys)):i==a.AxisMode.Radial?(l=d.wPa(),m=d.xPa(),this.xs[0]=f.Qb(f.LPa()),this.ys[0]=Math.sin(g.Qb(h))*this.xs[0]+m,this.xs[1]=f.Qb(f.KPa()),this.ys[1]=Math.sin(g.Qb(h))*this.xs[1]+m,this.xs[0]=Math.cos(g.Qb(h))*this.xs[0]+l,this.xs[1]=Math.cos(g.Qb(h))*this.xs[1]+l):this.xor(j,e.axis===a.AxisType.X)?(this.ys[0]=g.Qb(g.LPa()),this.ys[1]=g.Qb(g.KPa()),this.xs[0]=this.xs[1]=f.Qb(h)):(this.xs[0]=f.Qb(f.LPa()),this.xs[1]=f.Qb(f.KPa()),this.ys[0]=this.ys[1]=g.Qb(h))},d.prototype.xor=function(a,b){return a!==b&&(a||b)},d.prototype.isPolygonAxes=function(){return this.V9b().bRa().$z().config.axisMode==a.AxisMode.Polygonal},d.prototype.getLineInPolygonAxes=function(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s={xs:null,ys:null};if(this.isPolygonAxes()){if(d=b.MPa(),e=d+b.sweep,a<d||e<a)return s;for(f=b.ZDa().slice(),g=0,h=f.length-1,c&&f.reverse(),i=0;i<f.length;++i){if(j=f[i],a<b.Qb(j)){h=i;break}g=i}return k=[],l=[],m=b.radius,n=b.innerRadius*m,o=b.Qb(f[g]),p=b.Qb(f[h]),q=p-o,r=Math.cos(q/2)/Math.cos(Math.abs(p-a-q/2)),k.push(Math.cos(a)*r*m+b.cx),l.push(Math.sin(a)*r*m+b.cy),k.push(Math.cos(a)*r*n+b.cx),l.push(Math.sin(a)*r*n+b.cy),{xs:k,ys:l}}return s},d);function d(a,c,d){return b.call(this,a,c,d)||this}a.Rsb=c}(dv=dv||{}),function(a){"use strict";var b=(c.aggregate=function(b,c){if(b&&0<b.length)switch(c.aggregate){case a.ReferenceLineAggregate.Sum:return a.Statics.Sum(b);case a.ReferenceLineAggregate.Max:return a.Statics.Max(b);case a.ReferenceLineAggregate.Min:return a.Statics.Min(b);case a.ReferenceLineAggregate.Average:return a.Statics.Average(b);case a.ReferenceLineAggregate.Median:return a.Statics.Median(b);case a.ReferenceLineAggregate.Count:return a.Statics.Count(b);case a.ReferenceLineAggregate.Percentile:return c.arguments.percentileType===a.PercentileType.Inclusive?a.Statics.PercentileINC(b,c.arguments.k):a.Statics.PercentileEXC(b,c.arguments.k)}return null},c);function c(){}a.R9b=b}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.GPb=function(b,c){var d=b.bRa();return!(d instanceof a.tbb)&&d instanceof a.u4a?this.createItemViewBy(b,c,b.$z()):null},c.prototype.createItemViewBy=function(b,c,d){switch(d.type){case"LinearTrendline":return new a.OPb(b,c,this.createLinearTrendline(d),d.forecast);case"PolynomialTrendline":return new a.OPb(b,c,this.createPolynomialTrendline(d),d.forecast);case"ExponentialTrendline":return new a.OPb(b,c,this.createExponentialTrendline(d),d.forecast);case"LogarithmicTrendline":return new a.OPb(b,c,this.createLogarithmicTrendline(d),d.forecast);case"PowerTrendline":return new a.OPb(b,c,this.createPowerTrendline(d),d.forecast);case"FourierTrendline":return new a.OPb(b,c,this.createFourierTrendline(d),d.forecast);case"MovingAverageTrendline":return new a.KPb(b,c,this.createSimpleMovingAverageTrendline(d));case"CumulativeMovingAverageTrendline":return new a.KPb(b,c,this.createCumulativeMovingAverageTrendline(d));case"ExponentialMovingAverageTrendline":return new a.KPb(b,c,this.createExponentialMovingAverageTrendline(d));case"WeightedMovingAverageTrendline":return new a.KPb(b,c,this.createWeightedMovingAverageTrendline(d));case"MovingAnnualTotalTrendline":return new a.KPb(b,c,this.createMovingAnnualTotalTrendline(d))}return null},c.prototype.createMovingAnnualTotalTrendline=function(b){return new a.MovingAnnualTotalTrendline(b.period)},c.prototype.createCumulativeMovingAverageTrendline=function(b){return new a.CumulativeMovingAverageTrendline(b.period)},c.prototype.createSimpleMovingAverageTrendline=function(b){return new a.SimpleMovingAverageTrendline(b.period)},c.prototype.createWeightedMovingAverageTrendline=function(b){return new a.WeightedMovingAverageTrendline(b.period)},c.prototype.createExponentialMovingAverageTrendline=function(b){return new a.ExponentialMovingAverageTrendline},c.prototype.createPowerTrendline=function(b){return new a.PowerTrendline},c.prototype.createExponentialTrendline=function(b){return new a.ExponentialTrendline(b.intercept)},c.prototype.createLinearTrendline=function(b){return new a.LinearTrendLine(b.intercept)},c.prototype.createFourierTrendline=function(b){return new a.FourierTrendline(b.order)},c.prototype.createPolynomialTrendline=function(b){return new a.PolynomialTrendline(b.order,b.intercept)},c.prototype.createLogarithmicTrendline=function(b){return new a.LogarithmicTrendline},c);function c(){}a.X9b=b}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.mqb,__extends(d,b),d.prototype.$z=function(){return b.prototype.$z.call(this)},d.prototype.IQb=function(){return b.prototype.$z.call(this)},d.prototype.isGroup=function(){return this.IQb().detailLevel==a.DetailLevel.Group},d.prototype.shouldApplyColorFromPalette=function(){var a=this.IQb();return!(null!=a.style&&null!=a.style.stroke||this.isGroup()&&null==a.label)},d.prototype.bVb=function(){if(this.shouldApplyColorFromPalette())for(var a=0,b=this.nqb();a<b.length;a++)b[a].z7b()},d.prototype.nqb=function(){return b.prototype.nqb.call(this)},d.prototype.valueFieldFilter=function(a){if(null==a)return!1;var b=this.IQb();return null==b.field||b.field==a.name},d.C8b=function(a){return null!=a.tVb()?a.tVb()+"":""},d.prototype.seriesFilter=function(a){if(null==a)return!1;var b=this.IQb();return(null==b.field||a.HOa().name==b.field)&&(null==b.detailKey||null!=a.tVb()&&b.detailKey==d.C8b(a))},d.prototype.getDataSlices=function(){var b=this.IQb();return new a.models.E8b(b.detailLevel).Qoa(this.YOb())},d.prototype.createItemViews=function(){var a,b,c;for(a=0,b=this.getDataSlices();a<b.length;a++)c=b[a],this.createOverlayItemView(c)},d.prototype.JQb=function(b){var c,e,f,g,h,i=null;return null!=b.Ata()&&(i=d.C8b(b.Ata())),c=b.valuefield.name,e=this.IQb().label,null==e?null:(f=new a.models.Q9b(e,i,c),g=a.plugins.w1a.QOa("Default"),null!=g&&(h=g.toLines(f),null!=h)?h.join(""):e)},d.prototype.createOverlayItemView=function(b){var c,d=b.Ata();(null==d||this.seriesFilter(d))&&this.valueFieldFilter(b.valuefield)&&0<b.points.length&&(c=(new a.X9b).GPb(this,b),c.wLa(this.JQb(c.Qoa())),this.nqb().push(c))},d.prototype.bindData=function(){this.createItemViews()},d.prototype.B8b=function(){var a,b,c,d,e;for(a=!0,b=0;b<this.nqb().length;++b)c=this.nqb()[b],c.Y9b(),d=c.Z9b(),e=c.$9b(),null!=d&&null!=e&&(a?(this.Vfb=d[1],this.Zfb=d[0],this.Xfb=e[0],this.Tfb=e[1],a=!1):(this.Vfb=Math.max(this.Vfb,d[1]),this.Zfb=Math.min(this.Zfb,d[0]),this.Tfb=Math.max(this.Tfb,e[1]),this.Xfb=Math.min(this.Xfb,e[0])))},d.prototype.TQb=function(a,b,c){for(var d=0,e=this.nqb();d<e.length;d++)e[d]._R(a,b,c)},d.prototype.yl=function(a,b){a.beginTransform();for(var c=0,d=this.nqb();c<d.length;c++)d[c].yl(a,b);a.restoreTransform()},d);function d(a,c){return b.call(this,a,c)||this}a.HQb=c}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.defaultProperty=function(a){return"value"},d.prototype.defaultFormat=function(b){return a.plugins.w1a.lPa("Default").defaultFormat(a.core.DataType.String,!1)},d.prototype.fromToken=function(a,c){var d=new b.Token;return"Field"==a?d.value=new b.$Ob(this.valueFieldName):"Group"==a&&(d.value=new b.$Ob(this.groupKey)),d},d);function d(a,b,c){this.groupKey=null==b?"":b,this.valueFieldName=null==c?"":c,this.template=a}b.Q9b=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.A7b,__extends(d,b),Object.defineProperty(d.prototype,"seriesName",{get:function(){return null!=this.U9b&&null!=this.U9b.Ata()&&null!=this.U9b.Ata().tVb()?this.U9b.Ata().tVb()+"":null},set:function(a){},enumerable:!0,configurable:!0}),d.prototype.Z9b=function(){return this.getRange(this.GMa)},d.prototype.$9b=function(){return this.getRange(this.HMa)},d.prototype.getRange=function(a){var b,c,d,e,f;if(null!=a&&0<a.length){for(b=a[0],c=a[0],d=0,e=a;d<e.length;d++)f=e[d],b<f&&(b=f),f<c&&(c=f);return[c,b]}return null},Object.defineProperty(d.prototype,"type",{get:function(){return a.ElementType.TrendLineOverlayItem},enumerable:!0,configurable:!0}),d.prototype.wLa=function(a){return null!=a&&(this.hRa=a),this.hRa},d.prototype.fta=function(){return null!=this.hRa},d.prototype.Qoa=function(){return this.U9b},d.prototype._9b=function(){return this.t7b()},d.prototype.extractData=function(b){return null==b?null:a.Y_b.extract(this._9b().YOb(),b.points)},d.prototype.Nbb=function(b,c){c.renderLabel||(b.beginTransform(),a.NQb.Jqb(b,this.allStyle()),this.render(b,c),b.restoreTransform(),this.afterRender(b,c))},d.prototype.afterRender=function(a,b){},d.prototype.yy=function(){return new a.options.uEa({strokeWidth:1})},d.prototype.allStyle=function(){var b=new a.Arb;return b.zrb(this.yy()),b.orb(this._9b().$z().style),null==b.stroke&&(b.stroke=this.getStrokeColor()),b.g3b(this.tEa),b},d.prototype.getStrokeColor=function(){return null==this.Qoa().Ata()||this.fta()?this.baseColor:this.Qoa().Ata().tE()},d.prototype.getSymbol=function(){var b=this.allStyle();return new a.Xsb(b.strokeWidth,b.strokeDasharray,b.stroke)},d.prototype.queryInterface=function(a){return"ITrendlineOverlayItemModel"===a?this:b.prototype.queryInterface.call(this,a)},d);function d(a,c){var d=b.call(this,a)||this;return null!=(d.U9b=c).Ata()&&(d.s7b=c.Ata().dhb()),d}a.aac=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.aac,__extends(d,b),d.prototype.extractData=function(b){return null==b?null:a.Y_b.extract(this._9b().YOb(),b.points,!1,!0)},d.prototype.Y9b=function(){var a,b,c=this.bac;null!=c&&(a=this.extractData(this.Qoa()),null!=a&&(b=c.h_a(a.xs,a.ys),null!=b.xs&&null!=b.ys&&(this.GMa=b.xs,this.HMa=b.ys)))},d.prototype.TQb=function(b,c,d){null!=this.GMa&&null!=this.HMa&&(this.Y9b(),this.pCa=a.F0b.E0b(this._9b().bRa(),this.GMa,this.HMa,!0))},d.prototype.render=function(a,b){this.isRenderContextReady()&&(this.pCa.width=a.strokeWidth,a.drawLines(this.pCa.WPa(),this.pCa.XPa()))},d.prototype.isRenderContextReady=function(){return null!=this.pCa},d.prototype.mr=function(b,c){var d,e,f;if(this.isRenderContextReady())for(d=this.pCa.fua(),e=0;e<d.length-1;++e)if(a.x7.pointToLine(d[e].x,d[e].y,d[e+1].x,d[e+1].y,b.x,b.y)<a.shapes.Ztb.t3b(this.pCa.width))return f=new a.HitTestResult(b,this,this,a.ElementType.Series),null==c||null!=c&&c.predicate(f)?f:null;return null},d);function d(a,c,d){var e=b.call(this,a,c)||this;return e.bac=d,e}a.KPb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.aac,__extends(d,b),d.prototype.Y9b=function(){var b,c,d,e,f=this.bac;null!=f&&(b=this.extractData(this.Qoa()),null!=b&&(f.x0b(b.xs,b.ys),this.bac&&this.bac.FTb())&&(c=this.bac.w0b(),this.calcRSquare(c,b.xs,b.ys),b.xs.sort(function(a,b){return a-b}),d=b.xs.map(function(a){return c.y(a)}),this.autoForecastWithXDimension(c,b.xs,d),this.forecasting(c,b.xs,d),e=new a.FunctionalSimpleInterpolator(c,50,this.getLogBase()).interpolate(b.xs,d),this.GMa=e.xs,this.HMa=e.ys))},d.prototype.trendlineOption=function(){return this._9b().IQb()},d.prototype.calcRSquare=function(b,c,d){var e=c.map(function(a){return b.y(a)});null!=e&&(this.rSquare=a.LeastSquareMathLib.correlSquare(d,e))},d.prototype.autoForecastWithXDimension=function(a,b,c){var d,e=this._9b().YOb().xSite,f=e.min,g=e.max;f<b[0]&&null!=(d=this.getApporiateBoundary(a,f))&&(b.unshift(d.x),c.unshift(d.y)),g>b[b.length-1]&&null!=(d=this.getApporiateBoundary(a,g))&&(b.push(d.x),c.push(d.y))},d.prototype.forecasting=function(a,b,c){var d=b[0]-this.forecast.backwardPeriod,e=b[b.length-1]+this.forecast.forwardPeriod,f=this.getApporiateBoundary(a,d);null!=f&&(b.unshift(f.x),c.unshift(f.y)),null!=(f=this.getApporiateBoundary(a,e))&&(b.push(f.x),c.push(f.y))},d.prototype.getApporiateBoundary=function(b,c){b instanceof a.Logarithmic?c=Math.max(c,.01):b instanceof a.Power&&(c=Math.max(c,Number.MIN_VALUE));var d=b.y(c);return null==d?null:new a.core.Point(c,d)},d.prototype.rSquareExpression=function(){var b=a.Expression.f0b("R").raise(a.Expression.d0b(2,0));return b.append(a.Expression.a0b()).append(a.Expression.d0b(this.rSquare,4,!1)),b},d.prototype.TQb=function(b,c,d){if(this.bac&&this.bac.FTb()){var e=this._9b().bRa(),f=new a.CartesianFunctionalPointInterpolator(this.bac.w0b(),e,this.trendlineOption().density).interpolate(this.GMa,this.HMa);this.GMa=f.xs,this.HMa=f.ys,this.pCa=a.F0b.E0b(e,f.xs,f.ys)}},d.prototype.render=function(a,b){this.isRenderContextReady()&&(this.pCa.width=a.strokeWidth,a.drawLines(this.pCa.WPa(),this.pCa.XPa()))},d.prototype.Z8b=function(){return new a.AttachmentAgentManager(new a.K$b(this._9b().YOb()))},d.prototype.afterRender=function(b,c){var d,e;this.isRenderContextReady()&&this.bac&&this.bac.FTb()&&(d=[],this.trendlineOption().text.equation&&d.push(this.bac.expression()),this.trendlineOption().text.rSquaredValue&&d.push(this.rSquareExpression()),e=new a.cac(d),e.uIa(this.expressionStyle()),e.ad(b),this.positionExpression(e,this.pCa.fua()),e.PQa(b))},d.prototype.positionExpression=function(b,c){var d,e,f,g,h,i=b.F9b(),j=this.trendlineOption().text,k=this._9b().YOb(),l=k.J8b(),m=i.center;e=j.placement==a.LinePlacement.Start?(d=c[0],this.HMa[0]):j.placement==a.LinePlacement.Center?(d=c[Math.floor(c.length/2)],this.HMa[Math.floor(c.length/2)]):(d=c[c.length-1],this.HMa[c.length-1]),a.AnnotationLib.F$b(k)?(f=l,b.Dn(d.x-m.x,d.y-m.y),m=this.getJoinPointInRadial(b.F9b(),new a.core.Point(f.cx,f.cy),j.position)):k.yIa()?(j.placement!=a.LinePlacement.Center&&(j.placement==a.LinePlacement.Start==!k.J8b().WDa()?m.y=i.bottom:m.y=i.top),g=0,j.position==a.AnnotationPosition.Center||(g=j.position==a.AnnotationPosition.Outside==!k.K8b().WDa()?-i.width/2:i.width/2),e<(null==l.Wrb()?0:l.Wrb())&&(g=-g),m.x+=g):(j.placement!=a.LinePlacement.Center&&(j.placement==a.LinePlacement.Start==!k.J8b().WDa()?m.x=i.left:m.x=i.right),h=0,j.position==a.AnnotationPosition.Center||(h=j.position==a.AnnotationPosition.Outside==!k.K8b().WDa()?i.height/2:-i.height/2),e<(null==l.Wrb()?0:l.Wrb())&&(h=-h),m.y+=h),b.Dn(d.x-m.x,d.y-m.y)},d.prototype.getJoinPointInRadial=function(b,c,d){var e,f,g=b.center;return d===a.AnnotationPosition.Center?g:(e=[new a.core.Point(g.x-1,g.y-1),new a.core.Point(g.x-1,g.y),new a.core.Point(g.x-1,g.y+1),new a.core.Point(g.x,g.y+1),new a.core.Point(g.x+1,g.y+1),new a.core.Point(g.x+1,g.y),new a.core.Point(g.x+1,g.y-1),new a.core.Point(g.x,g.y-1)],f=[new a.core.Point(b.left,b.top),new a.core.Point(b.left,g.y),new a.core.Point(b.left,b.bottom),new a.core.Point(g.x,b.bottom),new a.core.Point(b.right,b.bottom),new a.core.Point(b.right,g.y),new a.core.Point(b.right,b.top),new a.core.Point(g.x,b.top)],d===a.AnnotationPosition.Inside?f[(this.nearestPointIndex(e,c)+4)%8]:f[this.nearestPointIndex(e,c)])},d.prototype.nearestPointIndex=function(a,b){var c,d,e,f,g;for(c=Number.MAX_VALUE,d=0,e=0;e<a.length;++e)f=a[e],g=(b.x-f.x)*(b.x-f.x)+(b.y-f.y)*(b.y-f.y),g<c&&(c=g,d=e);return d},d.prototype.expressionStyle=function(){var b=new a.options.wEa({fontFamily:"MathJax_Main",color:"black",fontStyle:a.FontStyle.Italic,fontSize:"14px"}),c=this.trendlineOption().text.textStyle;return null!=c.fontFamily&&(b.fontFamily=c.fontFamily),null!=c.color&&(b.color=c.color),a.core.UOb.isNullNumber(c.opacity)||(b.opacity=c.opacity),a.core.UOb.isNullEnum(c.fontStyle)||(b.fontStyle=c.fontStyle),null!=c.fontSize&&(b.fontSize=c.fontSize),null!=c.textDecoration&&(b.textDecoration=c.textDecoration),null!=c.fontWeight&&(b.fontWeight=c.fontWeight),b},d.prototype.getLogBase=function(){var a=this._9b().bRa(),b=a.yIa()?a.XQb():a.WQb();return b.s0b()?b.logBase:null},d.prototype.isRenderContextReady=function(){return null!=this.pCa&&1<this.pCa.fua().length},d.prototype.mr=function(b,c){var d,e,f;if(this.isRenderContextReady())for(d=this.pCa.fua(),e=0;e<d.length-1;++e)if(a.x7.pointToLine(d[e].x,d[e].y,d[e+1].x,d[e+1].y,b.x,b.y)<a.shapes.Ztb.t3b(this.pCa.width))return f=new a.HitTestResult(b,this,this,a.ElementType.Series),null==c||null!=c&&c.predicate(f)?f:null;return null},d);function d(a,c,d,e){var f=b.call(this,a,c)||this;return f.rSquare=0,f.bac=d,f.forecast=e,f}a.OPb=c}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.uIa=function(a){return null!=a&&(this.vEa=a),this.vEa},c.prototype.ad=function(b){var c,d,e,f,g,h,i,j;for(c=new a.core.Size(0,0),d=0,e=this.expressions;d<e.length;d++)null!=(j=e[d])&&(j.preview(b,this.vEa),f=j.box(),j.translate(0,c.height+f.height),c.width=Math.max(c.width,f.width),c.height+=f.height);for(g=c.width,h=0,i=this.expressions;h<i.length;h++)null!=(j=i[h])&&(f=j.box(),j.translate((g-f.width)/2,0));this.rect=new a.core.Rect(0,0,c.width,c.height)},c.prototype.F9b=function(){return null!=this.rect?this.rect.clone():null},c.prototype.Dn=function(a,b){var c,d,e;if(null!=this.rect)for(this.rect.left+=a,this.rect.top+=b,c=0,d=this.expressions;c<d.length;c++)e=d[c],null!=e&&e.translate(a,b)},c.prototype.PQa=function(a){var b,c,d;if(null!=this.rect)for(b=0,c=this.expressions;b<c.length;b++)d=c[b],null!=d&&d.render(a)},c);function c(a){this.expressions=a}a.cac=b}(dv=dv||{}),function(a){!function(b){"use strict";var c=(d.prototype.NGa=function(a){null!=a&&this.dac(a,this.eac(a.MPb().$z().rules))},d.prototype.dac=function(a,b){for(var c=0,d=b;c<d.length;c++)d[c].evaluate(a)},d.prototype.eac=function(b){var c=[];return b.forEach(function(b){if(null!=b){var d=a.plugins.w1a.M5a("OverlayItem",b);null!=d&&c.push(d)}}),c},d);function d(){}b.A8b=c}(a.models||(a.models={}))}(dv=dv||{}),dv=dv||{},function(a){"use strict";var b,c,d,e,f=(g.prototype.w5a=function(b){var c=this.N7b,d=new a.fac(c.strokeWidth,c.strokeDasharray,c.stroke,c.fill);return[new a.models.gac(b,d,this.hRa)]},g);function g(a,b){this.hRa=a,this.N7b=b}a.RectLegendItemsGenerater=f,h.prototype.w5a=function(b){var c=this.N7b,d=new a.hac(c.strokeWidth,c.strokeDasharray,c.stroke,c.fill);return[new a.models.gac(b,d,this.hRa)]},b=h;function h(a,b){this.hRa=a,this.N7b=b}a.EllipseLegendItemsGenerator=b,i.prototype.w5a=function(b){var c=new a.iac;return[new a.models.gac(b,c,this.hRa)]},c=i;function i(a){this.hRa=a}a.ImageLegendItemsGenerator=c,j.prototype.w5a=function(b){if(this.hRa){var c=this.N7b,d=new a.Xsb(c.strokeWidth,c.strokeDasharray,c.stroke);return[new a.models.gac(b,d,this.hRa)]}return[]},d=j;function j(a){this.hRa=a.$z().label,this.N7b=a.H7b()}a.LineLegendItemsGenerater=d,k.prototype.w5a=function(b){if(this.hRa){var c=new a.jac(this.oCa);return[new a.models.gac(b,c,this.hRa)]}return[]},e=k;function k(a){this.oCa="black",this.hRa=a.label,null!=a.textStyle&&null!=a.textStyle.color&&""!=a.textStyle.color&&(this.oCa=a.textStyle.color)}a.TextLegendItemsGenerater=e}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.GPb=function(a){return this.createItemViewGeneratorBy(a)},c.prototype.createItemViewGeneratorBy=function(b){switch(b.Nc()){case"Text":return new a.TextLegendItemsGenerater(b.$z());case"Line":return new a.LineLegendItemsGenerater(b);case"Ellipse":return new a.EllipseLegendItemsGenerator(b.$z().label,b.H7b());case"Image":return new a.ImageLegendItemsGenerator(b.$z().label);case"Needle":case"Rectangle":case"Path":return new a.RectLegendItemsGenerater(b.$z().label,b.H7b());default:return null}},c);function c(){}a.u8b=b}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.zDa,__extends(d,b),d);function d(a,c,d){var e=b.call(this,a,d)||this;return e.Za(c),e}a.gac=c}(a.models||(a.models={}))}(dv=dv||{}),function(a){"use strict";var b,c,d,e,f,g,h,i=(b=a.models.oSa,__extends(j,b),j.prototype.render=function(b,c,d){b.beginTransform(),a.NQb.n0b(b,new a.options.wEa({color:this.kac,fontSize:"14"}));var e=b.measureString("A"),f=new a.core.Rect((c.width-e.width)/2+c.left,(c.height-e.height)/2+c.top,e.width,e.height);b.drawMultipleStrings("A",f,a.HAlign.Left,a.TextOverflow.Clip),b.restoreTransform()},j);function j(a){var c=b.call(this)||this;return c.kac=a,c}a.jac=i,c=a.models.oSa,__extends(k,c),k.prototype.render=function(b,c,d){b.beginTransform(),a.NQb.Jqb(b,this.getStyle(d,!1)),this.tFa=Math.min(.2*c.height,this.tFa),a.NQb.$Qb(b,new a.options.AFa({strokeWidth:new a.options.hVb({top:this.tFa,right:this.tFa,bottom:this.tFa,left:this.tFa}),strokeDasharray:this.uFa})),a.NQb.jqb(b,this.sFa),a.NQb.iqb(b,this.rFa),b.drawRect(c.left+.1*c.width,c.top+.05*c.height,.8*c.width,.9*c.height),b.restoreTransform()},d=k;function k(a,b,d,e){var f=c.call(this)||this;return f.tFa=1,null!=a&&(f.tFa=a),f.uFa=b,f.sFa=d,f.rFa=e,f}a.fac=d,e=a.models.oSa,__extends(l,e),l.prototype.render=function(b,c,d){b.beginTransform();var e=Math.min(c.width/2,c.height/2);this.tFa=Math.min(.4*e,this.tFa),e-=.05*e,a.NQb.Jqb(b,this.getStyle(d,!1)),a.NQb.$Qb(b,new a.options.AFa({strokeWidth:new a.options.hVb({top:this.tFa,right:this.tFa,bottom:this.tFa,left:this.tFa}),strokeDasharray:this.uFa})),a.NQb.jqb(b,this.sFa),a.NQb.iqb(b,this.rFa),b.drawEllipse(c.center.x,c.center.y,e,e),b.restoreTransform()},f=l;function l(a,b,c,d){var f=e.call(this)||this;return f.tFa=1,null!=a&&(f.tFa=a),f.uFa=b,f.sFa=c,f.rFa=d,f}a.hac=f,g=a.models.oSa,__extends(m,g),m.prototype.render=function(b,c,d){var e,f,g,h;b.beginTransform(),e=new a.PathsAnnotation,e.position=a.AnnotationPosition.Center,f=Math.min(c.width,c.height),e.paths=["m373.410156 0h-234.816406c-76.421875 0-138.59375 62.171875-138.59375 138.59375v234.8125c0 76.421875 62.171875 138.59375 138.59375 138.59375h234.816406c76.417969 0 138.589844-62.171875 138.589844-138.59375v-234.8125c0-76.421875-62.171875-138.59375-138.589844-138.59375zm108.574219 373.40625c0 59.871094-48.707031 108.578125-108.578125 108.578125h-234.8125c-59.871094 0-108.578125-48.707031-108.578125-108.578125v-1.316406l86.089844-79.25c2.4375-2.242188 6.257812-2.242188 8.695312-.003906l65.875 60.476562c7.640625 7.015625 17.941407 10.441406 28.269531 9.414062 10.324219-1.03125 19.742188-6.4375 25.847657-14.828124l116.25-159.847657c1.542969-2.117187 3.65625-2.558593 4.777343-2.632812 1.121094-.066407 3.273438.085937 5.078126 1.988281l111.082031 117.050781v68.949219zm0-112.550781-89.3125-94.109375c-7.472656-7.875-17.960937-11.984375-28.808594-11.277344-10.832031.707031-20.707031 6.148438-27.09375 14.929688l-116.253906 159.847656c-1.472656 2.023437-3.488281 2.507812-4.558594 2.613281-1.066406.105469-3.136719.035156-4.980469-1.660156l-65.875-60.472657c-13.839843-12.710937-35.503906-12.691406-49.324218.03125l-65.761719 60.535157v-192.699219c0-59.871094 48.707031-108.578125 108.578125-108.578125h234.816406c59.867188 0 108.574219 48.707031 108.574219 108.578125zm0 0","m142.910156 86.734375c-29.082031 0-52.746094 23.664063-52.746094 52.75 0 29.082031 23.664063 52.746094 52.746094 52.746094 29.085938 0 52.746094-23.664063 52.746094-52.746094.003906-29.085937-23.660156-52.75-52.746094-52.75zm0 75.476563c-12.53125 0-22.730468-10.195313-22.730468-22.730469 0-12.53125 10.199218-22.730469 22.730468-22.730469 12.535156 0 22.730469 10.195312 22.730469 22.730469 0 12.535156-10.195313 22.730469-22.730469 22.730469zm0 0"],
- g=f/512,e.width=100*g,e.height=100*g,e.join=new a.core.Point(256,256),h=new a.Arb,h.stroke=a.nRb.StyleStroke,h.strokeWidth=40,e.M7b(h),e.F7b(new a.I$b(c.center)),e._R(b,{}),e.yl(b,{}),b.restoreTransform()},h=m;function m(){return null!==g&&g.apply(this,arguments)||this}a.iac=h}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.vZb,__extends(d,b),d.prototype.GQb=function(){return"Text"},d);function d(a,c){return b.call(this,a,c)||this}a.lac=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.lac,__extends(d,b),d.prototype.ggb=function(){var b=a.AnnotationLib.H8b(this.bRa().ggb(),this.$z().pointPath);return b||[]},d.prototype.createOverlayItemView=function(b){return new a.mac(this).GPb(b)},d.prototype.O8b=function(){var b,c,d;for(b=0,c=this.ggb();b<c.length;b++)d=c[b],d instanceof a.ehb&&null!=d&&this.createOverlayItemView(d)},d.prototype.oi=function(){var b,c,d,e,f,g,h,i;for(b=[],c=0,d=this.ggb();c<d.length;c++)if(e=d[c],e instanceof a.ehb)for(f=0,g=e.A$b();f<g.length;f++)h=g[f],i=this.isChild(h),null!=i&&b.push(i);return b},d.prototype.u7b=function(){var a,b,c;for(a=0,b=this.oi();a<b.length;a++)c=b[a],this.runConditionalFormatRules(c)},d.prototype.TQb=function(a,b,c){a.beginTransform();for(var d=0,e=this.oi();d<e.length;d++)e[d]._R(a,null,c);a.restoreTransform()},d.prototype.isChild=function(a){return a.MPb()===this?a:null},d.prototype.yl=function(a,b){a.beginTransform();for(var c=0,d=this.oi();c<d.length;c++)d[c].yl(a,b);a.restoreTransform()},d.prototype.box=function(){var b,c,d,e;for(b=[],c=0,d=this.oi();c<d.length;c++)e=d[c].queryInterface("IBoxBounded"),null!=e&&b.push(e.box());return 0<b.length?a.x7.mergeRect.apply(a.x7,b):null},d.prototype.queryInterface=function(c){return"IBoxBounded"===c?a.BoxBounded.J_b(this):b.prototype.queryInterface.call(this,c)},d);function d(a,c){return b.call(this,a,c)||this}a.h$b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.d8b,__extends(d,b),d.prototype.jxa=function(){return this.C5a},d.prototype.nac=function(){return b.prototype.t7b.call(this)},d.prototype.G7b=function(){this.C5a=null,b.prototype.G7b.call(this)},d.prototype.O8b=function(a){if(a){var b=a.P8b();this.z8b(b,"View")&&(this.C5a=a,this.s7b=a)}},d.prototype.isLayoutContextReady=function(){return"View"===this.bindStateType&&b.prototype.isLayoutContextReady.call(this)},d.prototype.isRenderContextReady=function(){return"View"===this.bindStateType&&b.prototype.isRenderContextReady.call(this)},d);function d(c){var d,e=b.call(this,c)||this;return e.e8b(e.createAnnotation()),d=a.AnnotationLib.I8b(e.$z().offset),null!=d&&(e.e8b().xOffset=d.x,e.e8b().yOffset=d.y),e}a.oac=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.oac,__extends(d,b),Object.defineProperty(d.prototype,"symbol",{get:function(){return this.e8b().symbol},set:function(a){this.e8b().symbol=a},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"text",{get:function(){return this.e8b()._text()},set:function(a){null!=a&&(this.dGa=a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"textStyle",{get:function(){return null==this.vEa&&(this.vEa=new a.options.wEa),this.vEa},enumerable:!0,configurable:!0}),d.prototype.e8b=function(a){return b.prototype.e8b.call(this,a)},d.prototype.$z=function(){return b.prototype.$z.call(this)},d.prototype.createAnnotation=function(){var b=new a.RectangleBoxTextSymbolAnnotation(null,null,this.$z().position,this.$z().placement,this.$z().textStyle.overflow);return b.rotate=this.$z().angle,b.symbol=this.$z().symbol,b.fixedWidth=this.$z().width,b},d.prototype.customizeAnnotation=function(b){b._text(a.AnnotationLib.P1b(this,this.dGa))},d.prototype.beforeAnnotationLayout=function(){a.core.UOb.isNullNumber(this.$z().width)&&(this.e8b().maxWidth=this.MPb().bRa().APa().width)},d.prototype.yy=function(){return new a.options.uEa({fill:new a.options.ZYb({color:"none"}),strokeWidth:0,stroke:new a.options.ZYb({color:a.nRb.StyleStroke})})},d.prototype.H7b=function(){var b=new a.Arb;return b.zrb(this.yy()),b.f3b(this.$z().style),b},d.prototype.customizeAnnotationStyle=function(b){var c=new a.Arb;c.g3b(this.H7b()),c.rrb(new a.options.wEa({color:"black"})),c.rrb(this.$z().textStyle),c.g3b(this.tEa),c.rrb(this.vEa),b.M7b(c)},d.prototype.layoutWithInnerAndOutterRotateRect=function(a,b){var c=this.$z();return this.layoutLogic(c.hAlign,c.vAlign,c.groupAlign,c.placement,a,b)},d.prototype.layoutLogic=function(b,c,d,e,f,g){var h,i,j,k,l,m,n,o=this.e8b();if(a.core.UOb.isNullEnum(d)){switch(h=f.center,i=g.center,j=f.size,k=g.size,l=a.Vector.pointSub(h,i),o.hAlign=b,o.vAlign=c,e){case a.Placement.Top:case a.Placement.Auto:case a.Placement.Bottom:j.height=k.height,m=a.Vector.pointSub(f.leftTop,f.leftBottom).standard(),h=a.Vector.endPoint(h,m,l.dot(m));break;case a.Placement.Left:case a.Placement.Right:j.width=k.width,n=a.Vector.pointSub(f.leftTop,f.rightTop).standard(),h=a.Vector.endPoint(h,n,l.dot(n))}return new a.shapes.qwb(h.x,h.y,j.width,j.height,f.angle)}return o.hAlign=d,g.clone()},d.prototype.queryInterface=function(a){if("IInnerAndOutterRotateRectLayouter"===a)return this;var c=this.e8b().queryInterface(a);return null!=c?c:b.prototype.queryInterface.call(this,a)},d);function d(a){var c=b.call(this,a)||this;return c.text=c.$z().text,c}a.pac=c}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.GPb=function(a){if(null==this.T8b)return null;var b=this.T8b,c=this.createItemViewBy(b,a);return null!=c&&c.O8b(a),c},c.prototype.createItemViewBy=function(b,c){switch(b.Nc()){case"Rectangle":case"Ellipse":case"Image":case"Path":return null;case"Text":return new a.pac(b);default:return null}},c);function c(a){this.T8b=a}a.mac=b}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.$z=function(){return this.eAa},c.prototype.b3a=function(b,c){var d,e,f,g,h,i,j,k,l,m;for(d=NaN,e=NaN,f=0,g=b;f<g.length;f++)h=g[f].$z(),e=isNaN(e)?h.column:Math.max(e,h.column),d=isNaN(d)?h.row:Math.max(d,h.row);if(!isNaN(d)&&!isNaN(e))for(d++,e++,i=this.lKa(c.width,e,this.eAa.columnWidths),j=this.lKa(c.height,d,this.eAa.rowHeights),k=function(b){var d,e=b.$z(),f=0;i.forEach(function(a,b){return f+=b<e.column?a:0}),d=0,j.forEach(function(a,b){return d+=b<e.row?a:0}),b.APa(new a.core.Rect(c.left+f,c.top+d,i[e.column],j[e.row]))},l=0,m=b;l<m.length;l++)k(m[l])},c.prototype.lKa=function(b,c,d){var e,f,g,h,i,j;for(e=[],f=0,g=0,h=0;h<c;h++)i=null,0<h&&h<d.length&&(i=d[h]),null==i?(e.push(NaN),g+=1):i.type==a.ValueOptionType.Pixel?(e.push(i.value),f+=i.value):i.type==a.ValueOptionType.Available&&(e.push(NaN),g+=i.value);for(j=(b-f)/g,h=0;h<c;h++)i=null,0<h&&h<d.length&&(i=d[h]),null==i?e[h]=j:i.type==a.ValueOptionType.Pixel?e[h]=i.value:e[h]=j*i.value;return e},c);function c(a){this.eAa=a}a.Erb=b}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.UIa,__extends(d,b),Object.defineProperty(d.prototype,"type",{get:function(){return a.ElementType.PlotArea},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"parent",{get:function(){return this.s4a()},enumerable:!0,configurable:!0}),d.prototype.injectBackLegendViewManager=function(a){this.qac=a},d.prototype.injectFrontLegendViewManager=function(a){this.rac=a},Object.defineProperty(d.prototype,"row",{get:function(){return this.$z().row},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"column",{get:function(){return this.$z().column},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"legends",{get:function(){var a,b,c,d;for(a=[],b=0,c=this._bb();b<c.length;b++)d=c[b],null!=d&&a.push(d);return a},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"plotsPanes",{get:function(){var a,b,c,d;for(a=[],b=0,c=this.acb();b<c.length;b++)d=c[b],a.push.apply(a,d.bcb());return a},enumerable:!0,configurable:!0}),d.prototype.queryInterface=function(c){return"IPlotAreaModel"==c||"IModel"==c||"IInjectableLegendViewManagers"==c?this:"IShapeElement"==c?new a.sac(this):b.prototype.queryInterface.call(this,c)},d.prototype.nSa=function(){return new a.shapes.qwb(this.APa().center.x,this.APa().center.y,this.APa().width,this.APa().height,0)},d.prototype.s4a=function(){return this.x3b()},d.prototype.$z=function(){return this.eAa},d.prototype.sPa=function(a){return arguments.length<=0?this.BDa:void(null!=a&&(this.BDa=a))},d.prototype.nPa=function(){var a,b,c,d;for(a=[],b=0,c=this.acb();b<c.length;b++)d=c[b],a.push.apply(a,d.nPa());return a},d.prototype.plugins=function(){return null==this.DSb&&(this.DSb=new a.models.ConfigPluginCollection(this.eAa.plugins)),this.DSb},d.prototype.acb=function(){return this.Ybb},d.prototype.Mbb=function(){return a.nRb.PlotAreaClassName},d.prototype.zPa=function(){return this.$z().padding},d.prototype.gcb=function(){var a,b,c,d,e,f;for(a=0,b=this.acb();a<b.length;a++)for(c=0,d=b[a].nPa();c<d.length;c++)for(e=0,f=d[c].aT().fua();e<f.length;e++)if(f[e].KQa())return!0;return!1},d.prototype.dispose=function(){for(var a=0,b=this.acb();a<b.length;a++)b[a].dispose();null!=this.qac&&this.qac.dispose(),null!=this.rac&&this.rac.dispose()},d.prototype._bb=function(){var a=[];return a.push.apply(a,this.qac.legendViews()),a.push.apply(a,this.rac.legendViews()),a},d.prototype.Rbb=function(a){for(var b=0,c=this.acb();b<c.length;b++)c[b].Rbb(a);this.prepareOverlays(),this.prepareLegend(),this.actionConditionalFormat()},d.prototype.prepareOverlays=function(){for(var a=0,b=this.nPa();a<b.length;a++)b[a].tac()},d.prototype.actionConditionalFormat=function(){var a,b,c,d;for(a=0,b=this.nPa();a<b.length;a++)b[a].u7b();for(c=0,d=this.nPa();c<d.length;c++)d[c].uac()},d.prototype.prepareLegend=function(){var b,c=null;null==(c=this.plugins().build(this,"LegendViewManagerModel",null))&&(c=new a.models.o7b(this)),b=new a.models.R6b(c.getLegendViewBuilder()).build(this),this.injectBackLegendViewManager(c.buildBackLegendManager(b)),this.injectFrontLegendViewManager(c.buildFrontLegendManager(b))},d.prototype.PIa=function(b,c,d){var e,f,g,h;for(b.beginTransform(),this.GHa(b),d.labels=[],d.axisLabels=[],d.legendsLabels=[],(c=c.clone()).width<0&&(c.width=0),c.height<0&&(c.height=0),e=c,null!=this.qac&&(e=this.qac.layout(b,c,d)),f=c,null!=this.rac&&(f=this.rac.layout(b,c,d)),c=a.core.Rect.intersection(e,f),g=0,h=this.acb();g<h.length;g++)h[g]._R(b,c,d);delete d.legendsLabels,delete d.axisLabels,delete d.labels,b.restoreTransform()},d.prototype.Nbb=function(b,c){var d,e,f;b.beginTransform(),this.OIa(b),this.QIa(b),d=this.APa(),(null!=b.fill&&("string"!=typeof b.fill||"transparent"!=b.fill&&"none"!=b.fill)||null!=b.strokeWidth&&0<b.strokeWidth)&&(b.drawRect(d.left+b.strokeWidth/2,d.top+b.strokeWidth/2,d.width-b.strokeWidth,d.height-b.strokeWidth),d=d.inflate(-b.strokeWidth,-b.strokeWidth)),b.restoreTransform(),e="plotAreaViewClip"+(1e5*Math.random()).toFixed(),b.addClipRect(d.clone(),e),b.startGroup(null,e),f=this.zPa(),d=new a.core.Rect(d.left+f.left,d.top+f.top,d.width-f.left-f.right,d.height-f.top-f.bottom),this.RIa(b,d,c),b.endGroup()},d.prototype.RIa=function(a,b,c){c.hasSelectionInPlotArea=this.gcb(),c.labels=[],c.axisLabels=[],c.legendsLabels=[],a.beginTransform(),this.GHa(a),null!=this.qac&&this.qac.render(a,b,c);for(var d=0,e=this.acb();d<e.length;d++)e[d].yl(a,c);null!=this.rac&&this.rac.render(a,b,c),a.restoreTransform(),delete c.legendsLabels,delete c.axisLabels,delete c.labels,delete c.hasSelectionInPlotArea},d.prototype.GHa=function(b){a.NQb.a3b(b,this.$z().style),a.NQb.n0b(b,this.$z().textStyle)},d.prototype.QIa=function(c){b.prototype.QIa.call(this,c),a.NQb.c3b(c,this.s4a().$z().style.backgroundColor),a.NQb.c3b(c,this.$z().style.backgroundColor),a.NQb.c3b(c,this.$z().backgroundColor)},d.prototype.OIa=function(c){b.prototype.OIa.call(this,c),a.NQb.$2b(c,this.s4a().$z().style),a.NQb.$2b(c,this.$z().style),a.NQb.Z2b(c,this.$z().borderStyle)},d.prototype.vac=function(b,c){var d,e,f,g,h,i,j,k,l,m,n,o;for(d=[],e={layoutOption:null,plotOptions:[]},f=0,g=c;f<g.length;f++)h=g[f],i=h.encodings.layout,i.isEmpty()?(null==e.layoutOption&&(e.layoutOption=new a.options.z9a(null)),e.plotOptions.push(h)):null==e.layoutOption?(e.layoutOption=i,e.plotOptions.push(h)):e.layoutOption.type==i.type?e.plotOptions.push(h):(d.push(e),(e={layoutOption:i,plotOptions:[]}).plotOptions.push(h));for(null!=e.layoutOption&&d.push(e),j=[],k=0,l=d;k<l.length;k++)m=l[k],null==(o=a.plugins.w1a._R(m.layoutOption.type,b,m.layoutOption,m.plotOptions))&&(o=a.plugins.w1a._R("Default",b,m.layoutOption,m.plotOptions)),null!=o&&j.push(o);return 0==j.length&&(n=[new a.options.qAa(null)],o=a.plugins.w1a._R("Default",b,new a.options.z9a(null),n),j.push(o)),j},d.prototype.Zbb=function(b){var c,d,e,f,g,h;for(c=[],d=0,e=b;d<e.length;d++)null!=(h=e[d].queryInterface("ILayoutViewBuilder"))&&(f=h.build(this),null!=f&&c.push(f));return 0==c.length&&(g=[new a.options.qAa(null)],h=a.plugins.w1a._R("Default",null,new a.options.z9a(null),g).queryInterface("ILayoutViewBuilder"),c.push(h.build(this))),c},d.prototype.mr=function(c,d){var e,f,g,h=null,i=this.APa();if(null!=i&&i.contains(c)){if(null!=this.rac&&null!=(h=this.rac.hitTest(c,d)))return h;for(e=0,f=this.acb().slice().reverse();e<f.length;e++)if(g=f[e],null!=(h=g?g.mr(c,d):null))return h;return null!=this.qac&&null!=(h=this.qac.hitTest(c,d))?h:(h=new a.HitTestResult(c,this,this,a.ElementType.PlotArea),null==d||null!=d&&d.predicate(h)?h:null)}return b.prototype.mr.call(this,c,d)},d);function d(a,c,d){var e,f=b.call(this,a)||this;return f.Ybb=[],f.BDa=0,f.eAa=c,e=f.vac(a.Ou(),d),f.Ybb=f.Zbb(e),f}a.kKa=c}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.Uo=function(){var a=new c(null,this.P6b);return a.dispose=this.dispose,a.merged=this.merged,a.group=this.group.slice(),a},c.prototype.Ga=function(a){var b;a==this||a.merged||((b=this.group).push.apply(b,a.group),a.merged=!0,a.dispose=!0)},c.prototype.Q6b=function(a){var b=this.merge(this.group.concat(a.group));a.merged||1!==b.length||(this.group=b,a.dispose=!0,a.merged=!0)},c.prototype.merge=function(a){var b,c,d,e,f,g,h,i,j;if(1<a.length){for(b=a.map(function(a){return!1}),c=[],d={},e=0;e<a.length;++e)f=a[e].AUb()[0].name,null==d[f]&&(d[f]=[],c.push(d[f])),d[f].push(e);for(g=0,h=c;g<h.length;g++)i=h[g],this.mergeInCollection(a,b,i);for(this.mergeInCollection(a,b,a.map(function(a,b){return b})),j=[],e=0;e<b.length;++e)b[e]||j.push(a[e]);return j}return a},c.prototype.mergeInCollection=function(a,b,c){var d,e,f,g;for(d=0;d<c.length;++d)if(!b[c[d]])for(e=a[c[d]],f=d+1;f<c.length;++f)b[c[f]]||(g=e.Ga(a[c[f]]),null!=g&&(b[c[f]]=!0,e=g))},c.prototype.NGa=function(){var a,b,c,d,e;if(!this.dispose){for(a=this.merge(this.group),b=0,c=a;b<c.length;b++)c[b].EUb();for(d=0,e=a;d<e.length;d++)e[d].NGa();this.individuals=a}},c.prototype.GUb=function(){if(null!=this.individuals)for(var a=0,b=this.individuals;a<b.length;a++)b[a].GUb()},c.prototype.M6b=function(b){var c,d,e,f,g,h,i,j,k,l=this;if(null==this.individuals)return null;for(c=[],d=[],e=!0,f=0,g=0,h=this.individuals;g<h.length;g++)i=h[g],i instanceof a.models.D4a?(e&&(f=d.length,e=!1),c.push(i)):d.push(i);return j=d.map(function(a){return l.P6b.build(b,[a])}),0<c.length&&(1<c.length?(k=this.P6b.build(b,c),null!=k&&j.splice(f,0,k)):j.splice(f,0,this.P6b.build(b,[c[0]]))),j.filter(function(a){return null!=a})},c);function c(a,b){this.dispose=!1,this.merged=!1,null!=a&&(this.group=[a],this.merged=!a.yUb()),this.P6b=b}a.O6b=b}(dv=dv||{}),function(a){!function(a){"use strict";var b=(c.prototype.f3a=function(){return this.I4a},c.prototype.vQb=function(b,c){var d,e,f,g,h,i=this.I4a.queryInterface("ILegendGenerators");if(null==i)return null;for(d=[],e=0,f=i.generators;e<f.length;e++)g=f[e],d.push.apply(d,g.w5a(b,c));return h=new a.JUb,d.sort(h.compare),d},c.prototype.queryInterface=function(a){return this.f3a().queryInterface(a)},c);function c(a){this.I4a=a}a.N6b=b}(a.models||(a.models={}))}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.MIa,__extends(d,b),Object.defineProperty(d.prototype,"type",{get:function(){return a.ElementType.Plot},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"parent",{get:function(){return this.z5a()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"items",{get:function(){return this.aT()._items()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"points",{get:function(){return this.ggb()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"name",{get:function(){return this.$z().name},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"option",{get:function(){return this.f3a().option},enumerable:!0,configurable:!0}),d.prototype.yn=function(){if(!this.igb){var a=this.v7b();this.igb=a.yn()}return this.igb},d.prototype.z5a=function(){return this.x3b()},d.prototype.q4a=function(){return this.z5a().q4a()},d.prototype.atb=function(){return null==this.lqb&&(this.lqb=this.btb()),this.lqb},d.prototype.ggb=function(){return this.xgb},d.prototype.f3a=function(){return this.I4a},d.prototype.plugins=function(){return null==this.DSb&&(this.DSb=new a.models.ConfigPluginCollection(this.$z().config.plugins)),this.DSb},d.prototype.$z=function(){return this.f3a().option},d.prototype.aT=function(){return this.Tza},d.prototype.egb=function(){var b,c,d,e;for(b=[],c=0,d=this.oi;c<d.length;c++)e=d[c],e instanceof a.jgb&&e.KQa()&&b.push(e.kgb());return b},d.prototype.Mbb=function(){return a.nRb.PlotClassName},d.prototype.Zeb=function(a){},d.prototype.Rbb=function(a){this.Tza=this.mgb(a);var b=this.f3a().axisDefinitions.map(function(a){return a.option});this.Zeb(b)},d.prototype.u7b=function(){},d.prototype.uac=function(){for(var a=0,b=this.atb();a<b.length;a++)b[a].u7b()},d.prototype.tac=function(){this.lqb=this.btb();for(var a=0,b=this.atb();a<b.length;a++)b[a].bindData()},d.prototype.TQb=function(a,b,c){this.APa(b)},d.prototype.dgb=function(a,b){var c,d,e;for(c=0,d=this.ggb();c<d.length;c++)e=d[c],this.wac(a,b,e)},d.prototype.wac=function(a,b,c){if(0!=c.aT()._items().length){var d=c.fgb();null!=d&&d.yl(a,b)}},d.prototype.xac=function(b,c){new a.yac(this)._R(b)},d.prototype.ngb=function(a){return this.oi},d.prototype.x4a=function(a){return[]},d.prototype.t4a=function(a){return[]},d.prototype.mPa=function(){var b,c=a.y3b.D3b().clone(),d=this.z5a().q4a().s4a().$z();return a.models.l3b.k3b(c,d.style.backgroundColor),a.models.l3b.i3b(c,d.style),a.models.l3b.n0b(c,d.textStyle),b=this.aT(),a.models.l3b.k3b(c,b.$z().config.tooltip.style.backgroundColor),a.models.l3b.i3b(c,b.$z().config.tooltip.style),a.models.l3b.n0b(c,b.$z().config.textStyle),a.models.l3b.n0b(c,b.$z().config.tooltip.textStyle),c},d.prototype.mgb=function(a){return null},d.prototype.mr=function(a,c){var d,e,f,g=this.APa();if(null!=g&&g.contains(a)){for(d=0,e=this.oi;d<e.length;d++)if(f=e[d].mr(a,c),null!=f)return f;return b.prototype.mr.call(this,a,c)}return b.prototype.mr.call(this,a,c)},d.prototype.Vpb=function(b){var c,d,e,f,g;for(c=[],d=new a.models.Nqb(b),e=0,f=this.ggb();e<f.length;e++)g=f[e],d.evaluate(g)&&c.push(g);return c},d.prototype.btb=function(){var a,b,c,d;for(a=[],b=this.f3a().option.config.overlays,c=0;c<b.length;++c)d=this.ctb(b[c]),null!=d&&(a.push(d),b[c]=d.$z());return a},d.prototype.ctb=function(b){var c,d=a.plugins.w1a.AWa(b.type,this,b);return null!=d&&(c=d.queryInterface("IOverlayViewBuilder"),null!=c)?c.build(this):null},d.prototype.v7b=function(){return new a.zac(this)},d.prototype.queryInterface=function(a){return"IDataModel"==a?this:b.prototype.queryInterface.call(this,a)},d);function d(a,c){var d=b.call(this,a)||this;return d.xgb=[],d.I4a=c,d.oi=[],d}a.qgb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.MIa,__extends(d,b),Object.defineProperty(d.prototype,"type",{get:function(){return a.ElementType.DataPoint},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"items",{get:function(){return this.aT()._items()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"item",{get:function(){return this.aT().TJa()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"style",{get:function(){return null==this.tEa&&(this.tEa=this.creatStyleModel()),this.tEa},enumerable:!0,configurable:!0}),d.prototype.creatStyleModel=function(){return new a.models.sXb(this.bRa().$z().config.style)},Object.defineProperty(d.prototype,"selectedStyle",{get:function(){if(null==this.lFa){var b=new a.models.tXb(this.bRa().q4a().s4a().$z().selectedStyle);b.pXb(this.bRa().$z().config.selectedStyle),this.lFa=b}return this.lFa},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"unselectedStyle",{get:function(){if(null==this.Aac){var b=new a.models.tXb(this.bRa().q4a().s4a().$z().unselectedStyle);b.pXb(this.bRa().$z().config.unselectedStyle),this.Aac=b}return this.Aac},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"text",{get:function(){return this.aT()._text()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"tooltip",{get:function(){return this.aT().vw()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"color",{get:function(){return this.aT().tE()},set:function(a){this.aT().tE(a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"shape",{get:function(){return this.aT().nSa()},set:function(a){this.aT().nSa(a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"size",{get:function(){return this.aT().Oz()},set:function(a){this.aT().Oz(a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"additionalKind",{get:function(){return this.aT().YQb()},set:function(a){this.aT().YQb(a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"selected",{get:function(){return this.KQa()},set:function(a){this.KQa(a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"filtered",{get:function(){return this.aT().Cgb()},set:function(a){this.aT().Cgb(a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"hover",{get:function(){return this.B5a()},set:function(a){this.B5a(a)},enumerable:!0,configurable:!0}),d.prototype.queryInterface=function(c){return"IShapeElement"==c?new a.Bac(this):"IDataModel"==c?this:b.prototype.queryInterface.call(this,c)},d.prototype.P8b=function(){return null},d.prototype.bRa=function(){return this.x3b()},d.prototype.fgb=function(){return void 0===this.tgb&&(this.tgb=this.ftb()),this.tgb},d.prototype.aT=function(){return this.Tza},d.prototype.scale=function(a){return arguments.length<=0?this.rEa:void(this.rEa!=a&&(this.rEa=a))},d.prototype.KQa=function(a){return arguments.length<=0?this.aT().KQa():void this.aT().KQa(a)},d.prototype.bz=function(a){return arguments.length<=0?!this.aT().Cgb()&&b.prototype.bz.call(this):void b.prototype.bz.call(this,a)},d.prototype.kgb=function(){return new a.rgb(this)},d.prototype.WPa=function(a){return arguments.length<=0?this.GMa:void(this.GMa=a)},d.prototype.XPa=function(a){return arguments.length<=0?this.HMa:void(this.HMa=a)},d.prototype.yy=function(){return a.y3b.F3b()},d.prototype.Cac=function(a){return arguments.length<=0?this.Dac:void(this.Dac=a)},d.prototype.ZQb=function(){return null!=this.tEa&&this.tEa.rXb()?this.tEa:null},d.prototype._Qb=function(){return null!=this.lFa&&this.lFa.rXb()?this.lFa:null},d.prototype.aRb=function(){return null!=this.Aac&&this.Aac.rXb()?this.Aac:null},d.prototype.Eac=function(){},d.prototype.mr=function(c,d){var e,f=this.APa();return null!=f&&f.contains(c)?(e=new a.HitTestResult(c,this,this,a.ElementType.DataPoint),null==d||null!=d&&d.predicate(e)?e:null):b.prototype.mr.call(this,c,d)},d.prototype.nSa=function(){return new a.shapes.qwb(this.APa().center.x,this.APa().center.y,this.APa().width,this.APa().height,0)},d.prototype.ftb=function(){return null},d);function d(c,d){var e=b.call(this,c)||this;return e.KIa=new a.sgb,e.rEa=1,e.Tza=d,e.Tza.jxa(e),e}a.jgb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.MIa,__extends(d,b),Object.defineProperty(d.prototype,"type",{get:function(){return a.ElementType.Series},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"parent",{get:function(){return this.bRa()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"items",{get:function(){return this.aT()._items()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"style",{get:function(){return this.Wqa()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"points",{get:function(){return this.ggb()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"color",{get:function(){return this.aT().tE()},set:function(a){this.aT().tE(a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"selected",{get:function(){return this.KQa()},set:function(a){this.KQa(a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"filtered",{get:function(){return this.Cgb()},set:function(a){this.Cgb(a)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"hover",{get:function(){return this.B5a()},set:function(a){this.B5a(a)},enumerable:!0,configurable:!0}),d.prototype.KQa=function(a){var b,c,d,e;if(arguments.length<=0){for(b=0,c=this.aT().fua();b<c.length;b++)if(!c[b].KQa())return!1;return!0}for(d=0,e=this.aT().fua();d<e.length;d++)e[d].KQa(a)},d.prototype.Cgb=function(a){var b,c,d,e;if(arguments.length<=0){for(b=0,c=this.aT().fua();b<c.length;b++)if(!c[b].Cgb())return!1;return!0}for(d=0,e=this.aT().fua();d<e.length;d++)e[d].Cgb(a)},d.prototype.Wqa=function(a){return arguments.length<=0?this.tEa:void(this.tEa!=a&&(this.tEa=a))},d.prototype.dVb=function(a){return arguments.length<=0?this.lFa:void(this.lFa!=a&&(this.lFa=a))},d.prototype.Fac=function(a){return arguments.length<=0?this.Aac:void(this.Aac!=a&&(this.Aac=a))},d.prototype.bRa=function(){return this.x3b()},d.prototype.ggb=function(){return this.xgb},d.prototype.aT=function(){return this.Tza},d.prototype.Raa=function(){var b,c,d=new a.models.sXb(this.bRa().$z().config.style);this.Wqa(d),b=new a.options.vAa(this.bRa().q4a().s4a().$z().selectedStyle),b.pXb(this.bRa().$z().config.selectedStyle),this.dVb(b),c=new a.options.vAa(this.bRa().q4a().s4a().$z().unselectedStyle),c.pXb(this.bRa().$z().config.unselectedStyle),this.Fac(c)},d.prototype.Eac=function(){},d);function d(a,c){var d=b.call(this,a)||this;return d.xgb=[],d.Tza=c,d.Raa(),d}a.Gac=c}(dv=dv||{}),function(a){"use strict";var b,c,d,e,f=(b=a.data.GroupingsBuilder,__extends(g,b),g.prototype.GWb=function(b,c,f,g,h){var i,j,k,l,m,n,o,p,q,r,s,t,u,v=[],w=f.Y2a(),x=f.Q2a(),y=new a.iPb,z=c;for(null!=x&&(z=f.V2a(c)),i=0,j=w.length;i<j;i++)if(k=w[i],l=new d(g,h,k),m=new e(k),n=new a.data.GroupingDescription(l,m,y),0==i)o=this.build(z,n),p=this.Hac(b,o,x,k,!0),v.push(p);else{for(p=[],q=0,r=v[i-1];q<r.length;q++)s=r[q],t=this.build(s.items,n),u=this.Hac(s,t,x,k,!1),p.push.apply(p,u);v.push(p)}},g.prototype.Hac=function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o;for(g=a.aT(),h=[],i=0,j=b;i<j.length;i++)k=j[i],!e&&null==k.key||((o=(n=k).aT()).SFb(),h.push(n));for(null==c&&h.sort(function(a,b){var c=a.aT();return b.aT().Qb()-c.Qb()}),l=0,m=h;l<m.length;l++)o=(n=m[l]).aT(),n.hqa(a),a.oi().push(n),o.hqa(g),g.oi().push(o),e||(f=o.path).unshift.apply(f,g.path);return h},g);function g(){return null!==b&&b.apply(this,arguments)||this}a.HWb=f,c=a.data.GroupingBuilder,__extends(h,c),h.prototype.createGrouping=function(b){var c,d,e=null,f=a.plugins.w1a.lPa("Default");return null!=f?(c=this.L2a.format,e=f.format(c,b)):e=null==b?"null":""+b,d=this.WVb.eDa(null,e,this.LAa.DWb().HOa()),d.path.push(null==b?"null":""+b),this.LAa.ghb(d,b,[])},d=h;function h(a,b,d){var e=c.call(this)||this;return e.LAa=a,e.WVb=b,e.L2a=d,e}a.Iac=d,i.prototype.build=function(a){return this.I4a.field.lCa(a)},e=i;function i(a){this.I4a=a}a.Jac=e}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.qgb,__extends(d,b),d.prototype.DWb=function(){return this.f3a()},Object.defineProperty(d.prototype,"root",{get:function(){return this.CWb()},enumerable:!0,configurable:!0}),d.prototype.CWb=function(a){return arguments.length<=0?this.mub:void(this.mub!=a&&(this.mub=a))},d.prototype.u7b=function(){(new a.models.b7a).NGa(this)},d);function d(a,c){return b.call(this,a,c)||this}a.yvb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.jgb,__extends(d,b),Object.defineProperty(d.prototype,"key",{get:function(){return this.m1a},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"parent",{get:function(){return null==this.hqa()&&this.aT()instanceof a.models.aDa?this.bRa():this.hqa()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"valueDefinition",{get:function(){return this.aT().HOa()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"name",{get:function(){return this.aT().Cj()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"depth",{get:function(){return this.aT().ora()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"value",{get:function(){return this.Qb()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"children",{get:function(){return this.oi()},enumerable:!0,configurable:!0}),d.prototype.EWb=function(){return this.bRa()},d.prototype.Kac=function(){return this.aT()},d.prototype.yn=function(){if(null==this.igb){var a=this.createIdentityBuilder();this.igb=a.yn()}return this.igb},d.prototype.createIdentityBuilder=function(){return new a.Lac(this)},d.prototype.hqa=function(a){return arguments.length<=0?this.jCa:void(this.jCa!=a&&(this.jCa=a))},d.prototype.oi=function(a){return arguments.length<=0?this.$Ca:void(this.$Ca!=a&&(this.$Ca=a))},d.prototype.Qb=function(){return this.aT().Qb()},d.prototype.tE=function(a){return this.aT().tE(a)},d);function d(a,c,d){var e=b.call(this,a,c)||this;return e.$Ca=[],e.m1a=d,e}a.zvb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.J3b,__extends(d,b),d.prototype.Mac=function(){return b.prototype.jxa.call(this)},d.prototype.prefix=function(){return this.Mac().EWb().DWb().c7a().Y2a().slice(0,this.Mac().depth).map(function(a){return a.Cj()}).join(">")},d.prototype.yn=function(){var b=this.Mac().Kac(),c=a.x7.HashCode(this.prefix()+" "+b.path.join("/"));return a.x7.HashCode(c)},d);function d(a){return b.call(this,a)||this}a.Lac=c}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.bRa=function(){return this.LAa},c.prototype._R=function(a){var b,c,d;for(b=0,c=this.bRa().ggb();b<c.length;b++)d=c[b],this.Nac(a,d)},c.prototype.Nac=function(a,b){if(0!=b.aT()._items().length){var c=b.fgb();null!=c&&c._R(a,null,{})}},c);function c(a){this.LAa=a}a.yac=b}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Kcb,__extends(d,b),d.prototype.nPa=function(){return this.nKa},d.prototype.zcb=function(){var a=this.zdb();return 1!==a.K3b()||1!==a.M3b()},d.prototype.zdb=function(){return this.x3b()},d.prototype.B3b=function(){var b=a.MRb.oSb(this.zdb().q4a().s4a());return null!=b?b.u2a():null},d.prototype.PIa=function(b,c,d){var e,f,g,h,i,j,k,l;for((c=c.clone()).width<0&&(c.width=0),c.height<0&&(c.height=0),e=c,"None"!==this.zdb().type&&this.zcb()&&(f=this.Icb(),(e=c.clone()).width=f.width,e.height=f.height),this.$sb.length=0,g=this._sb.length=0,h=this.nPa();g<h.length;g++)for(i=h[g],i._R(b,e,d),j=0,k=i.atb();j<k.length;j++)l=k[j],l.x7b()===a.OverlayDisplay.Back?this._sb.push(l):l.x7b()===a.OverlayDisplay.Front&&this.$sb.push(l),l._R(b,c,d)},d.prototype.RIa=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,F,G;if(d.renderLabel){for(e=0,f=this._sb;e<f.length;e++)(G=f[e]).yl(b,d);for(g=0,h=this.nPa();g<h.length;g++){for(s=[],i=0,j=(A=h[g]).atb();i<j.length;i++)(G=j[i]).x7b()===a.OverlayDisplay.FrontOfPlot?s.push(G):G.x7b()===a.OverlayDisplay.BackOfPlot&&G.yl(b,d);for(A.xac(b,d),A.dgb(b,d),k=0,l=s;k<l.length;k++)(G=l[k]).yl(b,d)}for(m=0,n=this.$sb;m<n.length;m++)(G=n[m]).yl(b,d)}else{for(o=0,p=this._sb;o<p.length;o++)(G=p[o]).yl(b,d);for(q=0,r=this.nPa();q<r.length;q++){for(s=[],t=0,u=(A=r[q]).atb();t<u.length;t++)(G=u[t]).x7b()===a.OverlayDisplay.FrontOfPlot?s.push(G):G.x7b()===a.OverlayDisplay.BackOfPlot&&G.yl(b,d);for(A.yl(b,d),v=0,w=s;v<w.length;v++)(G=w[v]).yl(b,d)}if(this.zdb().z5a().q4a().s4a().$z().selectedStyle.adorners&&(x=a.plugins.w1a.iab("dot"),null!=x))for(y=0,z=this.nPa();y<z.length;y++)for(B=0,
- C=(A=z[y]).egb();B<C.length;B++)D=C[B],x.render(b,D.points);for(E=0,F=this.$sb;E<F.length;E++)(G=F[E]).yl(b,d)}},d.prototype.Icb=function(){var b=this.APa(),c=this.zdb(),d=c.K3b(),e=c.M3b();return new a.core.Size(b.width/d,b.height/e)},d.prototype.mr=function(c,d){var e=this.APa();return!this.zcb()||this.zcb()&&null!=e&&e.contains(c)?this.Jrb(new a.core.Point(this.xcb+c.x,this.ycb+c.y),d):b.prototype.mr.call(this,c,d)},d.prototype.Jrb=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;for(e=0,f=this.nPa().concat().reverse();e<f.length;e++)for(g=0,h=f[e].ggb().concat().reverse();g<h.length;g++)if(i=h[g].fgb(),null!=i&&null!=(y=i.mr(c,d)))return y;for(j=0,k=this.$sb.slice().reverse();j<k.length;j++)if(null!=(y=(x=k[j]).mr(c,d)))return y;for(l=0,m=this.nPa().slice().reverse();l<m.length;l++)for(n=0,o=m[l].atb().slice().reverse();n<o.length;n++)if((x=o[n]).x7b()===a.OverlayDisplay.FrontOfPlot&&null!=(y=x.mr(c,d)))return y;for(p=0,q=this.nPa().concat().reverse();p<q.length;p++)if(null!=(y=q[p].mr(c,d)))return y;for(r=0,s=this.nPa().slice().reverse();r<s.length;r++)for(t=0,u=s[r].atb().slice().reverse();t<u.length;t++)if((x=u[t]).x7b()===a.OverlayDisplay.BackOfPlot&&null!=(y=x.mr(c,d)))return y;for(v=0,w=this._sb.slice().reverse();v<w.length;v++)if(null!=(y=(x=w[v]).mr(c,d)))return y;return b.prototype.Jrb.call(this,c,d)},d);function d(a){var c=b.call(this,a)||this;return c.$sb=[],c._sb=[],c.nKa=[],c}a.Pcb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.J3b,__extends(d,b),d.prototype.jxa=function(){return b.prototype.jxa.call(this)},d.prototype.yn=function(){var b=a.x7.HashCode(""+this.jxa().name);return a.x7.HashCode(b)},d);function d(a){return b.call(this,a)||this}a.zac=c}(dv=dv||{}),function(a){"use strict";var b=(Object.defineProperty(c.prototype,"points",{get:function(){return this.fua()},enumerable:!0,configurable:!0}),c.prototype.fua=function(){return this.J6a},c.prototype.M6a=function(b){var c=[],d=b.APa();return d&&((c=[]).push(new a.core.Point(d.left,d.top)),c.push(new a.core.Point(d.right,d.top)),c.push(new a.core.Point(d.right,d.bottom)),c.push(new a.core.Point(d.left,d.bottom))),c},c);function c(a){this.J6a=[],this.J6a=this.M6a(a)}a.rgb=b}(dv=dv||{}),function(a){"use strict";var b=(Object.defineProperty(c.prototype,"points",{get:function(){return this.fua()},enumerable:!0,configurable:!0}),c.prototype.fua=function(){return this.J6a},c);function c(){this.J6a=[]}a.sgb=b}(dv=dv||{}),function(a){"use strict";var b,c,d,e=(b=a.qgb,__extends(f,b),Object.defineProperty(f.prototype,"seriesList",{get:function(){return this.Zgb()},enumerable:!0,configurable:!0}),f.prototype.htb=function(){return this.$z().config.axisMode},f.prototype.Zgb=function(){return this.Ygb},f.prototype.UP=function(){var a=this.$z().config.offset;return null!=a&&(1<a?a=1:a<-1&&(a=-1)),a},f.prototype.OQb=function(){return this.PQb()},f.prototype.QQb=function(){return this.PQb()},f.prototype.PQb=function(){return 0},f.prototype.Oac=function(){var b,c,d=this.WQb();return null!=d.scale&&d.scale.type==a.ValueScaleType.Ordinal||(null!=this.XOb().e6a()||(b=this.XOb().ZOb(),null!=b&&(c=b.N2a().field,null!=c.queryInterface("IStringDataField")||null!=c.queryInterface("IBooleanDataField"))))},Object.defineProperty(f.prototype,"xSite",{get:function(){return null==this.HBa&&(this.HBa=this.IBa(this.aT()._items())),this.HBa},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"ySite",{get:function(){if(null==this.JBa){var a=this.aT();this.JBa=this.KBa(a.J5a(),this.$z().config.showNulls)}return this.JBa},enumerable:!0,configurable:!0}),f.prototype.R=function(a){return null==a?this.$z().config.symbols:a.aT().Ata().R()},f.prototype.yIa=function(){var a=this.$z().config.swapAxes;return null!=a&&a},f.prototype.WDa=function(){var a=this.K8b().WDa();return null!=a&&a},f.prototype.itb=function(){return null==this.jtb&&(this.jtb=this.ktb()),this.jtb},f.prototype.XOb=function(){return this.f3a()},f.prototype.uJa=function(){var a=this.yIa()?this.XQb():this.WQb(),b=this.yIa()?this.WQb():this.XQb(),c=a.uJa(),d=0,e=b.KPa(),f=b.LPa();return null!=c&&e<=c&&c<=f?d=c:f<0?d=f:0<e&&(d=e),d},f.prototype.Zeb=function(b){var c,d,e,f,g=this.z5a().zdb(this.f3a().coordinateSystemDefinition);g instanceof a.pdb&&(c=a.x7.find(b,function(b){return b.type==a.AxisType.X}),d=a.x7.find(b,function(b){return b.type==a.AxisType.Y}),e=this.yIa()?d:c,f=this.yIa()?c:d,this.Pac=null==e?g.WQb():a.x7.find(g.U3b(),function(a){return a.$z()==e}),this.Qac=null==f?g.XQb():a.x7.find(g.V3b(),function(a){return a.$z()==f}))},f.prototype.jvb=function(){var b,c,d,e,f,g,h,i,j,k,l=this.aT();if(null!=this.XOb().e6a()&&(b=l.J5a(),!(b.length<=0)))for(c=b[0].V4a().Q6a(),d=0;d<c.length;++d)for(e=0,f=b;e<f.length;e++)g=f[e],h=null==g.W4a()?null:g.W4a().f3a().N2a().Cj(),i=null==g.V4a()?null:g.V4a().f3a().Cj(),j=g.points(),j[d]&&j[d].Q5a()===c[d]||(k=null,g instanceof a.models.YCa?k=new a.models.XCa(g,[],c[d]):g instanceof a.models.TCa&&(k=new a.models.SCa(g,[],c[d])),null!=k&&(k.hvb(this.Rac(this.aT().fields,h,i,g,c[d])),j.splice(d,0,k)))},f.prototype.Rac=function(b,c,d,e,f){var g,h,i,j;for(g={},h=0,i=a.x7.properties(b);h<i.length;h++)j=i[h],g[j]=j==c?e.tVb():j==d?f.Qb():null;return g},f.prototype.Rbb=function(a){b.prototype.Rbb.call(this,a),this.jvb(),this.jtb=null,this._gb(),this.fhb()},f.prototype._gb=function(){var a,b,c,d;for(a=0,b=this.aT().J5a();a<b.length;a++)c=b[a],d=this.ahb(c),null!=d&&this.Zgb().push(d)},f.prototype.fhb=function(){var a,b,c,d,e,f,g;for(a=0,b=this.Zgb();a<b.length;a++)for(c=b[a],d=0,e=c.data().points();d<e.length;d++)f=e[d],g=this.ghb(f),null!=g&&(this.ggb().push(g),c.ggb().push(g))},f.prototype.u7b=function(){(new a.models.N5a).NGa(this),this.Eac()},f.prototype.tac=function(){var c,d,e;for(b.prototype.tac.call(this),c=0,d=this.atb();c<d.length;c++)e=d[c],e instanceof a.zZb&&e.O8b()},f.prototype.Eac=function(){var a,b,c,d,e;for(a=0,b=this.Zgb();a<b.length;a++)for(c=b[a],c.Eac(),d=0,e=c.ggb();d<e.length;d++)e[d].Eac()},f.prototype.ahb=function(b){return new a.X1a(this,b)},f.prototype.ghb=function(b){var c=this._La(b.Q5a()),d=NaN;return b instanceof a.models.XCa?d=b.y6a():b instanceof a.models.SCa&&(d=Math.max(b.A6a(),b.B6a())),this.$z().config.showNulls==a.ShowNulls.Zeros&&(this.yIa()?c=null==c?0:c:d=null==d?0:d),this.$z().config.showNaNs==a.ShowNulls.Zeros&&(this.yIa()?c=isNaN(c)?0:c:d=isNaN(d)?0:d),null==c||isNaN(c)||null==d||isNaN(d)?null:this.Sac(b)},f.prototype.Sac=function(b){return new a.P1a(this,b)},f.prototype.TQb=function(c,d,e){var f,g,h;for(b.prototype.TQb.call(this,c,d,e),this.pEa.length=0,this.oi.length=0,this.UQb(c,d,e),this.Tac(c,d,e),f=0,g=this.pEa;f<g.length;f++)g[f]._R(c,d,e);h=this.APa().width<this.APa().height?this.APa().width/2:this.APa().height/2,this.pEa=a.Bgb.arountCircle(this.pEa,h,this.wPa(),this.xPa())},f.prototype.T5b=function(a){this.atb().forEach(function(b){var c,d=b.queryInterface("IBoxBounded");null!=d&&(c=d.box(),a.layoutShapes.push(c.ORb()))})},f.prototype.Uac=function(){return!0},f.prototype.IBa=function(b){var c,d,e=this.XOb().e6a(),f=this.XOb().i6a();return null!=e?this.htb()!=a.AxisMode.Polygonal&&this.htb()!=a.AxisMode.Radial||!this.yIa()?new a.models.LCa(e,f,b):new a.models.Mvb(e,f,b,this.Uac()):(c=this.XOb().ZOb(),null==c?new a.models.SOa:(d=this.Oac(),this.htb()!=a.AxisMode.Polygonal&&this.htb()!=a.AxisMode.Radial||!this.yIa()?d?new a.models.vWb(c):new a.models.qBa(c):d?new a.models.xWb(c,this.Uac()):new a.models.owb(c)))},f.prototype.KBa=function(b,c){return null==b||b.length<=0?new a.models.SOa:this.htb()!=a.AxisMode.Polygonal&&this.htb()!=a.AxisMode.Radial||this.yIa()?new a.models.eCa(b,c):new a.models.yWb(b,c)},f.prototype.x4a=function(a){var b,c,d,e,f,g;for(b=[],c=0,d=this.Zgb();c<d.length;c++)for(e=0,f=d[c].ggb();e<f.length;e++)g=f[e],null!=a.color&&g.aT().tE()!=a.color||null!=a.shape&&g.aT().nSa()!=a.shape||null!=a.size&&g.aT().Oz()!=a.size||b.push(g);return b},f.prototype.t4a=function(a){var b,c,d,e;for(b=[],c=0,d=this.Zgb();c<d.length;c++)e=d[c],null!=a.color&&e.data().tE()!=a.color||b.push(e);return b},f.prototype.Vdb=function(){var b,c,d,e,f,g,h,i,j,k=this.yIa(),l=this.Oac(),m=!1,n=!1;this.aT(),this.XOb().i6a().forEach(function(b){var c,d=!1;b instanceof a.models.G3a&&!d&&b.sOa==a.Aggregate.List&&(c=b.N2a(),d=c instanceof a.models.j3a||c instanceof a.models.m3a),!m&&d&&(n=!0),d||(n=!(m=!0))}),b=this.xSite.min,c=this.xSite.max,d=this.ySite.min,e=this.ySite.max,f=this.WQb(),f.d4b()||(g=null,(g=null!=f.scale&&f.scale.type==a.ValueScaleType.Ordinal?new a.F8a:null!=f.scale&&f.scale.type==a.ValueScaleType.Logarithmic?null!=f.$z().min||null!=f.$z().max?new a.YWb(f.logBase,null!=f.$z().min,null!=f.$z().max):new a.E8a(f.logBase):(k?n:l)?new a.F8a:this.xSite.dataType!=a.core.DataType.Date||k?null!=f.$z().min||null!=f.$z().max||f.$z().useActualMin||f.$z().useActualMax?new a.Lwb(null!=f.$z().min,null!=f.$z().max,f.$z().useActualMin,f.$z().useActualMax):new a.f5a:((j=new a.H8a).ZWb(f.j8a()),j.bXb(f.bXb()),j.dXb(f.dXb()),j)).d5a(k?[d,e]:[b,c]),f.j4b(g),f.RWb(f.$z().axisPadding),f.TWb(f.$z().axisPadding)),h=this.XQb(),h.d4b()||(i=null,null!=h.scale&&h.scale.type==a.ValueScaleType.Logarithmic?i=null!=h.$z().min||null!=h.$z().max?new a.YWb(h.logBase,null!=h.$z().min,null!=h.$z().max):new a.E8a(h.logBase):(k?l:n)?i=new a.F8a:this.xSite.dataType==a.core.DataType.Date&&k?((j=new a.H8a).ZWb(h.j8a()),j.bXb(h.bXb()),j.dXb(h.dXb()),i=j):i=null!=h.$z().min||null!=h.$z().max||h.$z().useActualMin||h.$z().useActualMax?new a.Lwb(null!=h.$z().min,null!=h.$z().max,h.$z().useActualMin,h.$z().useActualMax):new a.f5a,i instanceof a.E8a&&this.ySite instanceof a.models.eCa&&(d=this.ySite.$6a),i.d5a(k?[b,c]:[d,e]),h.j4b(i),h.RWb(h.$z().axisPadding),h.TWb(h.$z().axisPadding)),f instanceof a.veb&&f.c6b(h)},f.prototype.Udb=function(){var b,c,d=!1,e=this.yIa()?this.WQb():this.XQb();null!=e.scale&&e.scale.type==a.ValueScaleType.Percentage&&(d=!0),b=this.plugins().build(this,"PlotLayout",this.$z()),null==b&&(b=new a.models.C6a),c=this.aT(),b._R(c,d,!1)},f.prototype.mgb=function(a){return new d(this,a,this.$z())},f.prototype.Tac=function(b,c,d){var e=this,f=this.WQb(),g=this.XQb(),h=this.itb();h=null!=h?h:1,this.ggb().forEach(function(b){var c,d,i,j,k,l,m,n,o,p,q;e.htb()==a.AxisMode.Cartesian?(d=b.aT(),i=e._La(d.Q5a()),j=void 0,k=void 0,l=void 0,l=e.yIa()?(j=f.convert(f.min),k=f.convert(f.max),c=g.convert(Math.max(i-.5*h,g.min)),g.convert(Math.min(i+.5*h,g.max))):(j=f.convert(Math.max(i-.5*h,f.min)),k=f.convert(Math.min(i+.5*h,f.max)),c=g.convert(g.min),g.convert(g.max)),b.Cac(new a.shapes.qwb((j+k)/2,(c+l)/2,Math.abs(k-j),Math.abs(l-c),0))):(e.htb()==a.AxisMode.Radial||e.htb()==a.AxisMode.Polygonal)&&(d=b.aT(),i=e._La(d.Q5a()),f instanceof a.qeb&&g instanceof a.qeb)&&(m=new a.core.Point(g.cx,g.cy),n=f.convert(Math.min(i+f.OPa()+.5*h,f.max)),o=f.convert(Math.max(i+f.OPa()-.5*h,f.min)),p=g.MPa(),q=g.sweep,b.Cac(new a.shapes.q3b(m,n,o,p,q)))})},f.prototype.UQb=function(a,b,c){var d,e,f,g,h,i;for(d=0,e=this.Zgb();d<e.length;d++)for(f=e[d],this.oi.indexOf(f)<0&&this.oi.push(f),g=0,h=f.ggb();g<h.length;g++)i=h[g],this.Vac(a,i)},f.prototype.getSymbolSize=function(a){var b,c=a.ZQb();return null!=c?null==c.symbolSize?10:c.symbolSize:(b=null,null!=(c=this.$z().config.style)&&null!=c.symbolSize&&(b=c.symbolSize),null!=(c=a.aT().Ata().dhb().Wqa())&&null!=c.symbolSize&&(b=c.symbolSize),null==b?10:b)},f.prototype.Vac=function(b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v=this.WQb(),w=this.XQb(),x=this.$z().config.text,y=c.aT(),z=this._La(y.Q5a()),A=y.Oz(),B=this.getSymbolSize(c);A=null==A?B:B*A,d=NaN,e=NaN,f=this.$z().config.showNulls,g=this.$z().config.showNaNs,this.yIa()?(e=w.convert(z),y instanceof a.models.XCa?null==y.y6a()&&f==a.ShowNulls.Zeros?d=v.convert(0):isNaN(y.y6a())&&g==a.ShowNulls.Zeros||(d=v.convert(y.y6a())):y instanceof a.models.SCa&&(null==y.B6a()&&null==y.A6a()&&f==a.ShowNulls.Zeros?d=v.convert(0):isNaN(y.B6a())&&isNaN(y.A6a())&&g==a.ShowNulls.Zeros||(d=v.convert(Math.max(y.A6a(),y.B6a()))))):(d=v.convert(z),y instanceof a.models.XCa?null==y.y6a()&&f==a.ShowNulls.Zeros?e=w.convert(0):isNaN(y.y6a())&&g==a.ShowNulls.Zeros||(e=w.convert(y.y6a())):y instanceof a.models.SCa&&(null==y.B6a()&&null==y.A6a()&&f==a.ShowNulls.Zeros?e=w.convert(0):isNaN(y.B6a())&&isNaN(y.A6a())&&g==a.ShowNulls.Zeros||(e=w.convert(Math.max(y.A6a(),y.B6a()))))),null==d||isNaN(d)||null==e||isNaN(e)?c.bz(!1):(this.$z().config.axisMode==a.AxisMode.Radial||this.$z().config.axisMode==a.AxisMode.Polygonal?(h=Math.cos(e)*d+this.wPa(),i=Math.sin(e)*d+this.xPa(),c.APa(new a.core.Rect(h-A/2,i-A/2,A,A)),x.position===a.TextPosition.Smart&&(j=null,k=a.plugins.w1a.QOa("Default"),null!=k&&(j=k.toLines(y.D5a())),null!=j&&0<j.length&&(l=null==this.UP()?0:this.UP(),l=null==c.offset?l:c.offset,m=this.wPa()+l*Math.cos(e)*d,n=this.xPa()+l*Math.sin(e)*d,o=e,p=this.z5a().APa(),q=(p.width<p.height?p.width/2:p.height/2)+(isNaN(x.offset)?0:x.offset),r=m+Math.cos(o)*d,s=n+Math.sin(o)*d,t=y.tE(),null==t&&(t=y.Ata().tE()),u=new a.Agb(c,this.wPa(),this.xPa(),o,q,r,s,j,this,t),this.pEa.push(u)))):c.APa(new a.core.Rect(d-A/2,e-A/2,A,A)),c.bz(this.R(c)),c.v8a(),this.oi.push(c))},Object.defineProperty(f.prototype,"clippingMode",{get:function(){return this.$z().config.clippingMode},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"showNulls",{get:function(){return this.$z().config.showNulls},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}),f.prototype.ktb=function(){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o=this.J8b();if(null!=o&&(a=o.gXb(),null!=a))return a;for(b=null,c=[],d=0,e=this.aT().J5a();d<e.length;d++)for(f=0,g=e[d].points();f<g.length;f++)if(h=g[f],i=this._La(h.Q5a()),null!=i){for(j=!1,k=0,l=c;k<l.length;k++){if(m=l[k],m==i){j=!0;break}n=Math.abs(m-i),(null==b||n<b)&&(b=n)}j||c.push(i)}return b},f.prototype._La=function(b){var c,d=this.J8b();return d.$z().scale.type==a.ValueScaleType.Ordinal||null!=this.XOb().e6a()?b.mi():(c=b.Qb(),"string"==typeof c||"boolean"==typeof c?b.mi():"number"==typeof c?c:null!=c&&c instanceof Date?null!=d&&d.G4b()?d.pW(c.valueOf()):c.valueOf():null)},f.prototype.WQb=function(){return this.Pac},f.prototype.XQb=function(){return this.Qac},f.prototype.J8b=function(){return this.yIa()?this.XQb():this.WQb()},f.prototype.K8b=function(){return this.yIa()?this.WQb():this.XQb()},f.prototype.LLa=function(){return this.ZLa},f.prototype.BPa=function(a){return arguments.length<=0?this.KMa:void(this.KMa!=a&&(this.KMa=a))},f.prototype.wPa=function(){return this.htb()!=a.AxisMode.Polygonal&&this.htb()!=a.AxisMode.Radial||null==this.BPa()?this.APa().left+this.APa().width/2:this.BPa().x},f.prototype.xPa=function(){return this.htb()!=a.AxisMode.Polygonal&&this.htb()!=a.AxisMode.Radial||null==this.BPa()?this.APa().top+this.APa().height/2:this.BPa().y},f.prototype.mr=function(c,d){var e,f,g=this.APa(),h=this.$z().config.clippingMode;if(h!=a.ClippingMode.Clip||h==a.ClippingMode.Clip&&null!=g&&g.contains(c))for(e=this.oi.length-1;0<=e;--e)if(f=this.oi[e].mr(c,d),null!=f)return f;return b.prototype.mr.call(this,c,d)},f.prototype.ygb=function(){var a,b,c,d,e,f,g;for(a=void 0,b=void 0,c=void 0,d=void 0,e=0,f=this.atb();e<f.length;e++)g=f[e].queryInterface("IAxialView"),null!=g&&(g.B8b(),null==g.Ufb()||isNaN(g.Ufb())||(null==a&&(a=g.Ufb()),g.Ufb()>a&&(a=g.Ufb())),null==g.Sfb()||isNaN(g.Sfb())||(null==b&&(b=g.Sfb()),g.Sfb()>b&&(b=g.Sfb())),null==g.Yfb()||isNaN(g.Yfb())||(null==c&&(c=g.Yfb()),g.Yfb()<c&&(c=g.Yfb())),null==g.Wfb()||isNaN(g.Wfb())||(null==d&&(d=g.Wfb()),g.Wfb()<d&&(d=g.Wfb())));return{maxx:a,minx:c,maxy:b,miny:d}},f.prototype.Wdb=function(b,c){var d,e,f,g,h,i,j,k,l,m,n=this.WQb(),o=this.XQb(),p=this.ygb();this.yIa()?(d=this.xSite.max,e=this.xSite.min,f=this.ySite.min,g=this.ySite.max,this.OQb()>o.RWb()&&o.RWb(this.OQb()),this.QQb()>o.TWb()&&o.TWb(this.QQb()),null!=p.maxx&&p.maxx>d&&(d=p.maxx),null!=p.maxy&&p.maxy>g&&(g=p.maxy),null!=p.minx&&p.minx<e&&(e=p.minx),null!=p.miny&&p.miny<f&&(f=p.miny),2<=(l=o.d5a()).length&&(null!=l[0]&&(l[0]<e||null==e)&&(e=l[0]),null!=l[1]&&(l[1]>d||null==d)&&(d=l[1])),2<=(m=n.d5a()).length&&(null!=m[0]&&(m[0]<f||null==f)&&(f=m[0]),null!=m[1]&&(m[1]>g||null==g)&&(g=m[1])),this.$z().config.axisMode==a.AxisMode.Polygonal||this.$z().config.axisMode==a.AxisMode.Radial?(h=this.innerRadius,i=c.width<c.height?c.width/2:c.height/2,j=this.startAngle*Math.PI*2/360,k=(this.sweep+this.startAngle)*Math.PI*2/360,null!=f&&null!=g&&n.d5a([f,g]),n.my([j,k]),null!=e&&null!=d&&o.d5a([e,d]),o.my([h,i]),n.hsb(this.startAngle),n.sweep=this.sweep*Math.PI/180,n.innerRadius=this.innerRadius,o.hsb(this.startAngle),o.sweep=this.sweep*Math.PI/180,o.innerRadius=this.innerRadius):(null!=f&&null!=g&&n.d5a([f,g]),n.my([c.left,c.right]),null!=e&&null!=d&&o.d5a([e,d]),o.my([c.bottom,c.top])),null!=this.XOb().e6a()&&0<this.XOb().e6a().a3a().length&&null!=this.XOb().e6a().a3a()[0].format?o.Kb(this.XOb().e6a().a3a()[0].format):null!=this.XOb().ZOb()&&null!=this.XOb().ZOb().N2a()&&null!=this.XOb().ZOb().N2a().format&&o.Kb(this.XOb().ZOb().N2a().format)):(d=this.xSite.max,e=this.xSite.min,f=this.ySite.min,g=this.ySite.max,this.OQb()>n.RWb()&&n.RWb(this.OQb()),this.QQb()>n.TWb()&&n.TWb(this.QQb()),o.s0b()&&this.ySite instanceof a.models.eCa&&(f=this.ySite.$6a),null!=p.maxx&&p.maxx>d&&(d=p.maxx),null!=p.maxy&&p.maxy>g&&(g=p.maxy),null!=p.minx&&p.minx<e&&(e=p.minx),null!=p.miny&&p.miny<f&&(f=p.miny),2<=(l=n.d5a()).length&&(null!=l[0]&&(l[0]<e||null==e)&&(e=l[0]),null!=l[1]&&(l[1]>d||null==d)&&(d=l[1])),2<=(m=o.d5a()).length&&(null!=m[0]&&(m[0]<f||null==f)&&(f=m[0]),null!=m[1]&&(m[1]>g||null==g)&&(g=m[1])),this.$z().config.axisMode==a.AxisMode.Polygonal||this.$z().config.axisMode==a.AxisMode.Radial?(h=this.innerRadius,i=c.width<c.height?c.width/2:c.height/2,j=this.startAngle*Math.PI*2/360,k=(this.sweep+this.startAngle)*Math.PI*2/360,null!=e&&null!=d&&n.d5a([e,d]),n.my([h,i]),null!=f&&null!=g&&o.d5a([f,g]),o.my([j,k]),n.hsb(this.startAngle),n.sweep=this.sweep*Math.PI/180,n.innerRadius=this.innerRadius,o.hsb(this.startAngle),o.sweep=this.sweep*Math.PI/180,o.innerRadius=this.innerRadius):(null!=e&&null!=d&&n.d5a([e,d]),n.my([c.left,c.right]),o.s0b()&&(this.ySite,a.models.eCa),null!=f&&null!=g&&o.d5a([f,g]),o.my([c.bottom,c.top])),null!=this.XOb().e6a()&&0<this.XOb().e6a().a3a().length&&null!=this.XOb().e6a().a3a()[0].format?n.Kb(this.XOb().e6a().a3a()[0].format):null!=this.XOb().ZOb()&&null!=this.XOb().ZOb().N2a()&&null!=this.XOb().ZOb().N2a().format&&n.Kb(this.XOb().ZOb().N2a().format)),n.GJa(this.yIa()?this.ySite:this.xSite),o.GJa(this.yIa()?this.xSite:this.ySite),this.clippingMode!==a.ClippingMode.Fit||(this instanceof a.pbb||this instanceof a.jbb&&this.R())&&this.zgb(b,c)},f.prototype.ngb=function(c){var d=this,e=b.prototype.ngb.call(this,c).filter(function(b){return b instanceof a.jgb||b instanceof a.X1a});return null!=c&&c.mode==a.AnimationMode.Point&&e.sort(function(a,b){return d.yIa()?d.WDa()?a.APa().bottom<b.APa().bottom||!(a.APa().bottom>b.APa().bottom)&&a.APa().left<b.APa().left?1:-1:a.APa().top>b.APa().top||!(a.APa().top<b.APa().top)&&a.APa().left>b.APa().left?1:-1:a.APa().left>b.APa().left?1:a.APa().left<b.APa().left?-1:d.WDa()?a.APa().bottom>b.APa().bottom?1:-1:a.APa().bottom<b.APa().bottom?1:-1}),e},f.prototype.Wac=function(){return!1},f.prototype.Xac=function(){return this.htb()!=a.AxisMode.Polygonal&&this.htb()!=a.AxisMode.Radial&&(this.clippingMode===a.ClippingMode.Clip?(this.Wac(),!0):this.Wac())},f.prototype.gsb=function(){var b=this.WQb(),c=this.XQb();return new a.core.Rect(b.APa().left,c.APa().top,b.APa().width,c.APa().height)},f.prototype.Nbb=function(b,c){var d,e,f,g,h,i,j,k,l,m=this.Xac();for(m&&(d="cartesianClip"+(1e5*Math.random()).toFixed(),this.ZLa=this.clippingMode==a.ClippingMode.Clip?d:null,e=this.gsb(),b.addClipRect(e,d),b.startGroup(null,d)),f=this.oi,g=this.q4a().s4a().$z().selectionMode,(!a.core.UOb.isNullEnum(g)&&g!=a.SelectionMode.None||this.Yac())&&f.sort(function(b,c){if(b==c)return 0;if(b instanceof a.X1a&&c instanceof a.Z1a)return-1;if(b instanceof a.Z1a&&c instanceof a.X1a)return 1;if(b instanceof a.X1a&&c instanceof a.X1a)return b.KQa()&&!c.KQa()?1:!b.KQa()&&c.KQa()?-1:b.data().mi()-c.data().mi();if(b instanceof a.Z1a&&c instanceof a.Z1a){var d=b.aT(),e=c.aT();return b.KQa()&&!c.KQa()?1:!b.KQa()&&c.KQa()?-1:d.Ata().mi()==e.Ata().mi()?d.mi()-e.mi():d.Ata().mi()-e.Ata().mi()}return 0}),this.Zgb().forEach(function(a){a.ueb(b,c)}),this.ggb().forEach(function(a){a.ueb(b,c)}),h=[],i=0;i<f.length;++i)j=f[i],j.B5a()?h.push(j):j.yl(b,c);for(h.forEach(function(a){a.yl(b,c)}),m&&b.endGroup(),k=0,l=this.pEa;k<l.length;k++)l[k].yl(b,c)},f.prototype.dgb=function(c,d){var e,f,g=null;this.htb()==a.AxisMode.Cartesian&&(e=this.WQb(),f=this.XQb(),null!=e&&null!=f&&(g=new a.core.Rect(e.APa().left,f.APa().top,e.APa().width,f.APa().height))),d.DataLabelClipRectangle=g,b.prototype.dgb.call(this,c,d),delete d.DataLabelClipRectangle},f.prototype.zgb=function(b,c){var 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;for(d=this.J8b(),e=this.K8b(),f=d.Qb(this.xSite.min),g=d.Qb(this.xSite.max),h=e.Qb(this.ySite.min),i=e.Qb(this.ySite.max),j=Math.min(f,g),k=Math.max(f,g),l=Math.min(h,i),m=Math.max(h,i),n=j,o=k,p=l,q=m,r=0,s=this.ggb();r<s.length;r++)t=s[r],u=t.aT(),v=u.Oz(),w=this.getSymbolSize(t),x=.5*(v=null==v?w:w*v),y=d.Qb(this._La(u.Q5a()))-x,z=y+2*x,A=NaN,u instanceof a.models.XCa?A=e.Qb(u.y6a())-x:u instanceof a.models.SCa&&(A=e.Qb(Math.max(u.A6a(),u.B6a()))-x),B=A+2*x,y<n&&(n=y),o<z&&(o=z),A<p&&(p=A),q<B&&(q=B);this.$La={left:0<j-n?j-n:0,top:0<l-p?l-p:0,right:0<o-k?o-k:0,bottom:0<q-m?q-m:0},d.offset=this.$La,e.offset=this.$La},f.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)},f.prototype.y9b=function(){var b=this.yIa()?this.WQb():this.XQb();return null!=b&&null!=b.scale&&b.scale.type==a.ValueScaleType.Percentage},f.prototype.Yac=function(){var b=this.XOb().j6a();return!(null==b||b.length<=0)&&b[0].cb()==a.Group.Stack},f);function f(a,c){var d=b.call(this,a,c)||this;return d.Ygb=[],d.pEa=[],d.$La={left:0,top:0,right:0,bottom:0},d}a.u4a=e,c=a.models.w6a,__extends(g,c),g.prototype.t6a=function(a,b,c,d){return null},d=g;function g(a,b,d){return c.call(this,a,b,d)||this}}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Geb,__extends(d,b),d.prototype.defaultStrokeColor=function(){var a=this.Ceb().aT().tE();return null==a&&(a=this.Ceb().aT().Ata().tE()),a},d.prototype.isPositive=function(){return this.Ceb().M$b()},d.prototype.getPosition=function(b,c){var d,e=this.Ceb(),f=e.bRa();if(b==a.TextPosition.Center)return a.Position.None;if(d=this.isPositive(),c===a.Placement.Auto)return a.Position.None,f.yIa()?d?e.WDa()?a.Position.Left:a.Position.Right:e.WDa()?a.Position.Right:a.Position.Left:d?e.WDa()?a.Position.Bottom:a.Position.Top:e.WDa()?a.Position.Top:a.Position.Bottom;switch(c){case a.Placement.Top:return a.Position.Top;case a.Placement.Left:return a.Position.Left;case a.Placement.Right:return a.Position.Right;case a.Placement.Bottom:return a.Position.Bottom}return a.Position.None},d);function d(a,c){return b.call(this,a,c)||this}a.Zac=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.jgb,__extends(d,b),Object.defineProperty(d.prototype,"parent",{get:function(){return this.aT().Ata().dhb()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"valueDefinition",{get:function(){return this.aT().Ata().HOa().name},enumerable:!0,configurable:!0}),d.prototype.creatStyleModel=function(){var b=new a.models.sXb(this.bRa().$z().config.style),c=this.aT().Ata();return b.pXb(c.pSa()),b},Object.defineProperty(d.prototype,"detail",{get:function(){var a=this.aT().Ata().W4a();return null==a?null:a.pwa()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"dimension",{get:function(){return this.aT().Q5a().Qb()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"value",{get:function(){return this.aT().Qb()},enumerable:!0,configurable:!0}),d.prototype.queryInterface=function(c){return"IDataLabel"!=c||null==this||null==this.fgb()||this.fgb().dva()?b.prototype.queryInterface.call(this,c):new a.models.oWb(this.fgb())},d.prototype.X_b=function(a){return null!=a&&(this.$ac=a),null==this.$ac?this.YOb()._La(this.aT().Q5a()):this.$ac},d.prototype.A$b=function(){return this.V$b},d.prototype.P8b=function(){return new a.AttachmentAgentManager(new a.T$b(this))},d.prototype.WDa=function(){var a=this.bRa().WDa();return null!=a&&a},d.prototype.v8a=function(){},d.prototype.YOb=function(){return this.bRa()},d.prototype.nSa=function(){return new a.shapes.qwb(this.APa().center.x,this.APa().center.y,this.APa().width,this.APa().height,0)},d.prototype.Dgb=function(){var a=this.aT(),b=a.tE();return null==b&&(b=a.Ata().tE()),null==b&&(b=this.bRa().aT().OOa().getColor(0)),b},d.prototype.yn=function(){if(null==this.igb){var a=this.v7b();this.igb=a.yn()}return this.igb},d.prototype.backgroundColor=function(a){var b=this.ZQb(),c=null;return null!=b?null!=b.backgroundColor&&(c=b.backgroundColor):(null!=(b=this.bRa().$z().config.style)&&null!=b.backgroundColor&&(c=b.backgroundColor),null!=(b=this.aT().Ata().dhb().Wqa())&&null!=b.backgroundColor&&(c=b.backgroundColor)),a.hasSelectionInPlotArea&&(this.KQa()?(null!=(b=this._Qb())?null!=b.backgroundColor&&(c=b.backgroundColor):(null!=(b=this.bRa().q4a().s4a().$z().selectedStyle)&&null!=b.backgroundColor&&(c=b.backgroundColor),null!=(b=this.bRa().$z().config.selectedStyle)&&null!=b.backgroundColor&&(c=b.backgroundColor)),a.apiSelectedStyle&&null!=(b=a.apiSelectedStyle).backgroundColor&&(c=b.backgroundColor)):null!=(b=this.aRb())?null!=b.backgroundColor&&(c=b.backgroundColor):(null!=(b=this.bRa().q4a().s4a().$z().unselectedStyle)&&null!=b.backgroundColor&&(c=b.backgroundColor),null!=(b=this.bRa().$z().config.unselectedStyle)&&null!=b.backgroundColor&&(c=b.backgroundColor))),c},d.prototype.borderRadius=function(){var a=this.ZQb(),b=null;return null!=a?null!=a.borderRadius&&(b=a.borderRadius):(null!=(a=this.bRa().$z().config.style)&&null!=a.borderRadius&&(b=a.borderRadius),null!=(a=this.aT().Ata().dhb().Wqa())&&null!=a.borderRadius&&(b=a.borderRadius)),b},d.prototype.ueb=function(b,c){var d,e,f,g=this.Cac();null!=g&&(d=this.backgroundColor(c),null!=d&&(b.beginTransform(),a.NQb.c3b(b,d),e=this.borderRadius(),g instanceof a.shapes.qwb?null!=(f=a.options.YYb.QYb(g.center.x-g.size.width/2,g.center.y-g.size.height/2,g.size.width,g.size.height,e))?b.drawPath(f,a.PathFillType.Nonzero,a.LineCap.Butt,a.LineJoin.Miter):b.drawRect(g.center.x-g.size.width/2,g.center.y-g.size.height/2,g.size.width,g.size.height,null,null,null):g instanceof a.shapes.q3b&&(null!=(f=a.options.YYb.XYb(g.center.x,g.center.y,g.radius,g.innerRadius,g.startAngle,g.sweepAngle,e))?b.drawPath(f,a.PathFillType.Nonzero,a.LineCap.Butt,a.LineJoin.Miter):b.drawDonutSegment(g.center.x,g.center.y,g.radius,g.innerRadius,g.startAngle,g.sweepAngle,null,null,null)),b.restoreTransform()))},d.prototype.v7b=function(){return new a._ac(this)},d.prototype.M$b=function(){var b,c,d,e,f=this.aT(),g=this.bRa(),h=!0;return f instanceof a.models.XCa?(b=g.WQb(),c=g.XQb(),d=g.yIa()?c:b,e=g.y9b()||g.Yac()||null==d.uJa()?0:d.uJa(),f.y6a()<e&&(h=!1)):f instanceof a.models.SCa&&f.B6a()<0&&(h=!1),h},d);function d(a,c){var d=b.call(this,a,c)||this;return d.V$b=[],d}a.Z1a=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.J3b,__extends(d,b),d.prototype.jxa=function(){return b.prototype.jxa.call(this)},d.prototype.yn=function(){var b,c,d=this.jxa().aT(),e="",f=d.Q5a();if(f instanceof a.models.g3a)for(b=f.cb();null!=b;)e=""+b.Qb+e,b=b.hqa;return c=a.x7.HashCode(e+d.Q5a().Qb()+d.Ata().tVb()+d.Ata().HOa().name),a.x7.HashCode(c)},d);function d(a){return b.call(this,a)||this}a._ac=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Gac,__extends(d,b),Object.defineProperty(d.prototype,"axisX",{get:function(){return this.bRa().WQb()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"axisY",{get:function(){return this.bRa().XQb()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"valueDefinition",{get:function(){return this.data().HOa().name},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"detail",{get:function(){var a=this.data().W4a();return null==a?null:a.pwa()},enumerable:!0,configurable:!0}),d.prototype.KQa=function(a){var b,c,d,e;if(arguments.length<=0){for(b=0,c=this.ggb();b<c.length;b++)if(!c[b].KQa())return!1;return!0}for(d=0,e=this.ggb();d<e.length;d++)e[d].KQa(a)},d.prototype.Cgb=function(a){var b,c,d,e;if(arguments.length<=0){for(b=0,c=this.data().points();b<c.length;b++)if(!c[b].Cgb())return!1;return!0}for(d=0,e=this.data().points();d<e.length;d++)e[d].Cgb(a)},d.prototype.bz=function(a){return arguments.length<=0?!this.Cgb()&&b.prototype.bz.call(this):void b.prototype.bz.call(this,a)},d.prototype.data=function(){return b.prototype.aT.call(this)},d.prototype.Cac=function(a){return arguments.length<=0?this.Dac:void(this.Dac=a)},d.prototype.Raa=function(){var b,c,d=this,e=new a.models.sXb(this.bRa().$z().config.style);e.pXb(this.data().pSa()),e.propertyChanged=function(b,c){var f,g,h;if(null!=c&&null!=c.propertyName)for(f=0,g=d.ggb();f<g.length;f++)h=g[f].ZQb(),null!=h&&a.x7.setPropertyValue(h,c.propertyName,a.x7.getPropertyValue(e,c.propertyName))},this.Wqa(e),b=new a.options.vAa(this.bRa().q4a().s4a().$z().selectedStyle),b.pXb(this.bRa().$z().config.selectedStyle),this.dVb(b),c=new a.options.vAa(this.bRa().q4a().s4a().$z().unselectedStyle),c.pXb(this.bRa().$z().config.unselectedStyle),this.Fac(c)},d.prototype.yn=function(){if(null==this.igb){var a=this.v7b();this.igb=a.yn()}return this.igb},d.prototype.v7b=function(){return new a.abc(this)},d.prototype.ueb=function(b,c){if(null!=this.Cac()&&null!=this.Wqa().backgroundColor){b.beginTransform(),a.NQb.c3b(b,this.Wqa().backgroundColor);var d=this.Cac();d instanceof a.shapes.qwb?b.drawRect(d.center.x-d.size.width/2,d.center.y-d.size.height/2,d.size.width,d.size.height):d instanceof a.shapes.q3b&&b.drawDonutSegment(d.center.x,d.center.y,d.radius,d.innerRadius,d.startAngle,d.sweepAngle),b.restoreTransform()}},d);function d(a,c){var d=b.call(this,a,c)||this;return c.dhb(d),d}a.X1a=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.J3b,__extends(d,b),d.prototype.jxa=function(){return b.prototype.jxa.call(this)},d.prototype.yn=function(){var b=this.jxa().data(),c=a.x7.HashCode(""+b.tVb()+b.HOa().name);return a.x7.HashCode(c)},d);function d(a){return b.call(this,a)||this}a.abc=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Zac,__extends(d,b),d.prototype.ssb=function(){return this.tsb},d.prototype.usb=function(){return this.vsb},d.prototype.calcTextAutoPositionBy=function(b,c,d,e,f){var g,h,i;if(b!=a.TextPosition.Auto)return b;if(null==f&&(f=0),g=this.Ceb().APa(),c==a.Position.Top){if(h=g.top,null!=f&&(h-=f),h-d.height<e.top)return a.TextPosition.Inside}else if(c==a.Position.Bottom){if(h=g.bottom,null!=f&&(h+=f),h+d.height>e.bottom)return a.TextPosition.Inside}else if(c==a.Position.Left){if(i=g.left,null!=f&&(i-=f),i-d.width<e.left)return a.TextPosition.Inside}else if(c==a.Position.Right&&(i=g.right,null!=f&&(i+=f),i+d.width>e.right))return a.TextPosition.Inside;return a.TextPosition.Outside},d.prototype.TQb=function(b,c,d){var e,f,g,h,i,j=this.Ceb(),k=j.bRa(),l=k.$z().config.text.placement,m=this.SH(),n=this.getPosition(m,l);
- c=j.APa(),e=k.z5a().xsb(),f=this.SIa(b,new a.core.Size(Number.MAX_VALUE,Number.MAX_VALUE)),g=k.$z().config.text.offset,h=c.center.clone(),i=null,m==a.TextPosition.Auto&&(m=this.calcTextAutoPositionBy(m,n,f,k.APa(),g)),l===a.Placement.Auto?n==a.Position.Top?m==a.TextPosition.Inside?(h.y=c.bottom,i=h.clone(),null!=g&&(i.y+=g),i.y+f.height>e.bottom&&(i.y=e.bottom-f.height),this.Xvb(new a.shapes.qwb(i.x,i.y+f.height/2,f.width,f.height,0))):(h.y=c.top,i=h.clone(),null!=g&&(i.y-=g),i.y-f.height<e.top&&(i.y=e.top+f.height),this.Xvb(new a.shapes.qwb(i.x,i.y-f.height/2,f.width,f.height,0))):n==a.Position.Bottom?m==a.TextPosition.Inside?(h.y=c.top,i=h.clone(),null!=g&&(i.y-=g),i.y-f.height<e.top&&(i.y=e.top+f.height),this.Xvb(new a.shapes.qwb(i.x,i.y-f.height/2,f.width,f.height,0))):(h.y=c.bottom,i=h.clone(),null!=g&&(i.y+=g),i.y+f.height>e.bottom&&(i.y=e.bottom-f.height),this.Xvb(new a.shapes.qwb(i.x,i.y+f.height/2,f.width,f.height,0))):n==a.Position.Left?m==a.TextPosition.Inside?(h.x=c.right,i=h.clone(),null!=g&&(i.x+=g),i.x+f.width>e.right&&(i.x=e.right-f.width),this.Xvb(new a.shapes.qwb(i.x+f.width/2,i.y,f.width,f.height,0))):(h.x=c.left,i=h.clone(),null!=g&&(i.x-=g),i.x-f.width<e.left&&(i.x=e.left+f.width),this.Xvb(new a.shapes.qwb(i.x-f.width/2,i.y,f.width,f.height,0))):n==a.Position.Right?m==a.TextPosition.Inside?(h.x=c.left,i=h.clone(),null!=g&&(i.x-=g),i.x-f.width<e.left&&(i.x=e.left+f.width),this.Xvb(new a.shapes.qwb(i.x-f.width/2,i.y,f.width,f.height,0))):(h.x=c.right,i=h.clone(),null!=g&&(i.x+=g),i.x+f.width>e.right&&(i.x=e.right-f.width),this.Xvb(new a.shapes.qwb(i.x+f.width/2,i.y,f.width,f.height,0))):(i=h.clone(),this.Xvb(new a.shapes.qwb(i.x,i.y,f.width,f.height,0)),i.x+f.width/2>e.right&&this.Xvb(new a.shapes.qwb(e.right-f.width/2,i.y,f.width,f.height,0)),i.x-f.width/2<e.left&&this.Xvb(new a.shapes.qwb(e.left+f.width/2,i.y,f.width,f.height,0))):n==a.Position.Top?(h.y=c.top,i=h.clone(),m==a.TextPosition.Inside?(null!=g&&(i.y+=g),i.y+f.height>e.bottom&&(i.y=e.bottom-f.height),this.Xvb(new a.shapes.qwb(i.x,i.y+f.height/2,f.width,f.height,0))):(null!=g&&(i.y-=g),i.y-f.height<e.top&&(i.y=e.top+f.height),this.Xvb(new a.shapes.qwb(i.x,i.y-f.height/2,f.width,f.height,0)))):n==a.Position.Bottom?(h.y=c.bottom,i=h.clone(),m==a.TextPosition.Inside?(null!=g&&(i.y-=g),i.y-f.height<e.top&&(i.y=e.top+f.height),this.Xvb(new a.shapes.qwb(i.x,i.y-f.height/2,f.width,f.height,0))):(null!=g&&(i.y+=g),i.y+f.height>e.bottom&&(i.y=e.bottom-f.height),this.Xvb(new a.shapes.qwb(i.x,i.y+f.height/2,f.width,f.height,0)))):n==a.Position.Left?(h.x=c.left,i=h.clone(),m==a.TextPosition.Inside?(null!=g&&(i.x+=g),i.x+f.width>e.right&&(i.x=e.right-f.width),this.Xvb(new a.shapes.qwb(i.x+f.width/2,i.y,f.width,f.height,0))):(null!=g&&(i.x-=g),i.x-f.width<e.left&&(i.x=e.left+f.width),this.Xvb(new a.shapes.qwb(i.x-f.width/2,i.y,f.width,f.height,0)))):n==a.Position.Right?(h.x=c.right,i=h.clone(),m==a.TextPosition.Inside?(null!=g&&(i.x-=g),i.x-f.width<e.left&&(i.x=e.left+f.width),this.Xvb(new a.shapes.qwb(i.x-f.width/2,i.y,f.width,f.height,0))):(null!=g&&(i.x+=g),i.x+f.width>e.right&&(i.x=e.right-f.width),this.Xvb(new a.shapes.qwb(i.x+f.width/2,i.y,f.width,f.height,0)))):(i=h.clone(),this.Xvb(new a.shapes.qwb(i.x,i.y,f.width,f.height,0)),i.x+f.width/2>e.right&&this.Xvb(new a.shapes.qwb(e.right-f.width/2,i.y,f.width,f.height,0)),i.x-f.width/2<e.left&&this.Xvb(new a.shapes.qwb(e.left+f.width/2,i.y,f.width,f.height,0))),this.tsb=h,this.vsb=i},d.prototype.yl=function(a,c){this._R(a,null,{}),null!=c.DataLabelClipRectangle&&!this.bz()||b.prototype.yl.call(this,a,c)},d);function d(a,c){return b.call(this,a,c)||this}a.mtb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Z1a,__extends(d,b),d.prototype.queryInterface=function(a){return"IDisplayablePipeLine"===a?this.drawablePipeline:b.prototype.queryInterface.call(this,a)},d.prototype.P8b=function(){return a.AnnotationLib.F$b(this.bRa())?new a.AttachmentAgentManager(new a.L$b(this)):new a.AttachmentAgentManager(new a.N$b(this),new a.U$b(this))},d.prototype.fgb=function(){return b.prototype.fgb.call(this)},d.prototype.Eac=function(){this.iRa=this.bbc()},d.prototype.getSymbolShape=function(){var a=this.ZQb(),b=null;return null!=a?null!=a.symbolShape&&""!=a.symbolShape&&(b=a.symbolShape):(null!=(a=this.bRa().$z().config.style)&&null!=a.symbolShape&&""!=a.symbolShape&&(b=a.symbolShape),null!=(a=this.aT().Ata().dhb().Wqa())&&null!=a.symbolShape&&""!=a.symbolShape&&(b=a.symbolShape)),b},d.prototype.bbc=function(){var b,c=this.getSymbolShape(),d=this.aT();return null==c&&null!=d.Ata().dhb().Wqa()&&null!=d.Ata().dhb().Wqa().symbolShape&&""!=d.Ata().dhb().Wqa().symbolShape&&(c=d.Ata().dhb().Wqa().symbolShape),null==c&&(c=this.aT().nSa()),b=a.plugins.w1a.Za(c),null==b&&(b=a.plugins.w1a.Za("Dot")),b},d.prototype.v8a=function(){b.prototype.APa.call(this);var c=a.x7.createPtsFromRect(this.APa(),20);this.WPa(c.xs),this.XPa(c.ys)},d.prototype.draw=function(a,b){this.vLa(a,b.CartesianSymbolRectangle,b)},d.prototype.vLa=function(a,b,c){var d=this.Dgb(),e=this.Ggb(c);this.iRa.color=d,this.iRa.render(a,b,e)},d.prototype.contains=function(a){var b=this.APa();return null!=b&&b.contains(a)},d.prototype.cutOff=function(){return!1},d.prototype.mr=function(c,d){if(this.drawablePipeline.contains(c)){var e=new a.HitTestResult(c,this,this,a.ElementType.DataPoint);return null==d||null!=d&&d.predicate(e)?e:null}return b.prototype.mr.call(this,c,d)},d.prototype.yl=function(a,b){if(this.bRa().R()&&this.bz()){var c=this.Mbb();null!=c?(a.startGroup(c,null),this.Nbb(a,b),a.endGroup()):this.Nbb(a,b)}},d.prototype.Nbb=function(b,c){b.beginTransform();var d=this.APa();this.B5a()&&a.NQb.$Qb(b,this.bRa().$z().config.hoverStyle),d=a.x7.scale(this.APa().clone(),this.scale()),c.CartesianSymbolRectangle=d,this.drawablePipeline.flush(b,c),delete c.CartesianSymbolRectangle,b.restoreTransform()},d.prototype.ftb=function(){var b,c=[],d=a.plugins.w1a.QOa("Default");return null!=d&&(c=d.toLines(this.aT().D5a())),null!=c&&0<c.length?(this.APa(),b=this.bRa().$z().config.axisMode,b==a.AxisMode.Radial||b==a.AxisMode.Polygonal?new a.ptb(this,c):new a.mtb(this,c)):null},d.prototype.Ggb=function(b){var c,d=this.aT(),e=new a.Arb;return e.g3b(this.F3b()),e.zrb(this.bRa().q4a().s4a().$z().style),c=this.ZQb(),null!=c?e.vrb(c):(e.vrb(this.bRa().$z().config.style),e.vrb(this.aT().Ata().dhb().Wqa())),b.hasSelectionInPlotArea&&(d.KQa()?(null!=(c=this._Qb())?e.vrb(c):(e.vrb(this.bRa().q4a().s4a().$z().selectedStyle),e.vrb(this.bRa().$z().config.selectedStyle)),b.apiSelectedStyle&&e.vrb(b.apiSelectedStyle)):null!=(c=this.aRb())?e.vrb(c):(e.vrb(this.bRa().q4a().s4a().$z().unselectedStyle),e.vrb(this.bRa().$z().config.unselectedStyle))),this.B5a()&&e.vrb(this.bRa().$z().config.hoverStyle),e},d.prototype.F3b=function(){return a.y3b.F3b()},d);function d(c,d){var e=b.call(this,c,d)||this;return e.drawablePipeline=new a.DisplayablePipeLine(e),e}a.P1a=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Geb,__extends(d,b),d.prototype.defaultStrokeColor=function(){var a=this.Ceb().aT().tE();return null==a&&(a=this.Ceb().aT().Ata().tE()),a},d.prototype.isPolygonAxes=function(){return this.Ceb().bRa().$z().config.axisMode==a.AxisMode.Polygonal},d.prototype.calculateRadius=function(b,c){var d,e,f,g,h,i,j,k,l,m;if(!(b instanceof a.qeb))return null;if(this.isPolygonAxes()){if(d=b.MPa(),e=d+b.sweep,c<d||e<c)return null;for(f=b.ZDa(),g=0,h=f.length-1,i=0;i<f.length;++i){if(j=f[i],c<b.Qb(j)){h=i;break}g=i}return k=b.Qb(f[g]),l=b.Qb(f[h]),m=l-k,Math.cos(m/2)/Math.cos(Math.abs(l-c-m/2))*b.radius}return b.radius},d.prototype.calculateTextAutoPositionBy=function(b,c,d,e,f,g){var h=new a.core.Point(d.x+Math.cos(f)*e,d.y+Math.sin(f)*e);return h.x>d.x?b+=g.width:h.x<d.x&&(b-=g.width),h.y>d.y?c+=g.height:h.y<d.y&&(c-=g.height),(b-d.x)*(b-d.x)+(c-d.y)*(c-d.y)>e*e?a.TextPosition.Inside:a.TextPosition.Outside},d);function d(a,c){return b.call(this,a,c)||this}a.cbc=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.yac,__extends(d,b),d.prototype.YOb=function(){return b.prototype.bRa.call(this)},d.prototype._R=function(b){var c,d,e,f,g=this.YOb();if(g.$z().config.axisMode==a.AxisMode.Polygonal||g.$z().config.axisMode==a.AxisMode.Radial)for(c=g.ggb().slice(),c.sort(function(a,b){return null!=a.fgb()&&null!=b.fgb()?a.DPa()-b.DPa():0}),d=0,e=c;d<e.length;d++)f=e[d],this.Nac(b,f);else a.ePb.dPb(!1)},d.prototype.Nac=function(a,c){c.bz()&&b.prototype.Nac.call(this,a,c)},d);function d(a){return b.call(this,a)||this}a.dbc=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.cbc,__extends(d,b),d.prototype.ssb=function(){return this.tsb},d.prototype.usb=function(){return this.vsb},d.prototype.calcTextAutoPositionBy=function(b,c,d,e,f,g){if(b!=a.TextPosition.Auto)return b;null==g&&(g=0);var h=this.Ceb().APa().center,i=h.x+Math.cos(d)*g,j=h.y+Math.sin(d)*g;return this.calculateTextAutoPositionBy(i,j,c,e,d,f)},d.prototype.TQb=function(b,c,d){var e,f,g,h,i,j,k,l,m,n=this.Ceb(),o=n.bRa();c=n.APa(),e=o.z5a().xsb(),f=this.SIa(b,new a.core.Size(Number.MAX_VALUE,Number.MAX_VALUE)),g=o.$z().config.text.offset,h=c.center.clone(),i=null,j=this.SH(),j==a.TextPosition.Center?(i=h.clone(),this.Xvb(new a.shapes.qwb(i.x,i.y,f.width,f.height,0))):(k=this.Zvb(),l=this.$vb(),m=this.calculateRadius(o.XQb(),l),j==a.TextPosition.Auto&&(j=this.calcTextAutoPositionBy(j,k,l,m,f,g)),j==a.TextPosition.Inside?(i=new a.core.Point(h.x-Math.cos(l)*g,h.y-Math.sin(l)*g)).x>k.x?i.y>k.y?this.Xvb(new a.shapes.qwb(i.x-f.width/2,i.y-f.height/2,f.width,f.height,0)):i.y<k.y?this.Xvb(new a.shapes.qwb(i.x-f.width/2,i.y+f.height/2,f.width,f.height,0)):this.Xvb(new a.shapes.qwb(i.x-f.width/2,i.y,f.width,f.height,0)):i.x<k.x?i.y>k.y?this.Xvb(new a.shapes.qwb(i.x+f.width/2,i.y-f.height/2,f.width,f.height,0)):i.y<k.y?this.Xvb(new a.shapes.qwb(i.x+f.width/2,i.y+f.height/2,f.width,f.height,0)):this.Xvb(new a.shapes.qwb(i.x+f.width/2,i.y,f.width,f.height,0)):i.y>k.y?this.Xvb(new a.shapes.qwb(i.x,i.y-f.height/2,f.width,f.height,0)):i.y<k.y?this.Xvb(new a.shapes.qwb(i.x,i.y+f.height/2,f.width,f.height,0)):this.Xvb(new a.shapes.qwb(i.x,i.y,f.width,f.height,0)):(i=new a.core.Point(h.x+Math.cos(l)*g,h.y+Math.sin(l)*g)).x>k.x?(i.x+f.width>e.right&&(i.x=e.right-f.width),i.y>k.y?(i.y+f.height>e.bottom&&(i.y=e.bottom-f.height),this.Xvb(new a.shapes.qwb(i.x+f.width/2,i.y+f.height/2,f.width,f.height,0))):i.y<k.y?(i.y-f.height<e.top&&(i.y=e.top+f.height),this.Xvb(new a.shapes.qwb(i.x+f.width/2,i.y-f.height/2,f.width,f.height,0))):this.Xvb(new a.shapes.qwb(i.x+f.width/2,i.y,f.width,f.height,0))):i.x<k.x?(i.x-f.width<e.left&&(i.x=e.left+f.width),i.y>k.y?(i.y+f.height>e.bottom&&(i.y=e.bottom-f.height),this.Xvb(new a.shapes.qwb(i.x-f.width/2,i.y+f.height/2,f.width,f.height,0))):i.y<k.y?(i.y-f.height<e.top&&(i.y=e.top+f.height),this.Xvb(new a.shapes.qwb(i.x-f.width/2,i.y-f.height/2,f.width,f.height,0))):this.Xvb(new a.shapes.qwb(i.x-f.width/2,i.y,f.width,f.height,0))):i.y>k.y?(i.y+f.height>e.bottom&&(i.y=e.bottom-f.height),this.Xvb(new a.shapes.qwb(i.x,i.y+f.height/2,f.width,f.height,0))):i.y<k.y?(i.y-f.height<e.top&&(i.y=e.top+f.height),this.Xvb(new a.shapes.qwb(i.x,i.y-f.height/2,f.width,f.height,0))):this.Xvb(new a.shapes.qwb(i.x,i.y,f.width,f.height,0))),this.tsb=h,this.vsb=i},d.prototype.$vb=function(){var b=this.Ceb().bRa(),c=this.Ceb().aT();if(b.yIa()){if(c instanceof a.models.XCa)return b.XQb().Qb(c.Q5a().mi());if(c instanceof a.models.SCa)return b.XQb().Qb(c.Q5a().mi())}else{if(c instanceof a.models.XCa)return b.XQb().Qb(c.y6a());if(c instanceof a.models.SCa)return b.XQb().Qb(c.B6a())}return null},d.prototype.Zvb=function(){var b=this.Ceb().bRa();return new a.core.Point(b.wPa(),b.xPa())},d);function d(a,c){return b.call(this,a,c)||this}a.ptb=c}(dv=dv||{}),function(a){"use strict";var b,c,d,e=(b=a.u4a,__extends(f,b),f.prototype.Udb=function(){var b,c,d=!1,e=this.yIa()?this.WQb():this.XQb(),f=this.aT();null!=e.scale&&e.scale.type==a.ValueScaleType.Percentage&&(d=!0),b=!1,null!=this.XOb().e6a()&&(b=!0),c=this.plugins().build(this,"PlotLayout",this.$z()),null==c&&(c=new a.models.C6a),c._R(f,d,b)},Object.defineProperty(f.prototype,"lineAspect",{get:function(){return this.$z().config.lineAspect},enumerable:!0,configurable:!0}),f.prototype.mgb=function(a){return new d(this,a,this.$z())},f.prototype.ahb=function(b){return new a.fMa(this,b)},f.prototype.UQb=function(c,d,e){var f,g,h;for(b.prototype.UQb.call(this,c,d,e),f=this.yIa()?Math.max(this.WQb().KPa(),this.uJa()):Math.max(this.XQb().KPa(),this.uJa()),this.htb()!=a.AxisMode.Cartesian&&(f=this.yIa()?this.WQb().KPa():this.XQb().KPa()),e.areaBaseLine=new a.vtb(f),g=0,h=this.Zgb();g<h.length;g++)h[g]._R(c,d,e);delete e.areaBaseLine},f.prototype.OQb=function(){return this.PQb()},f.prototype.QQb=function(){return this.PQb()},f.prototype.PQb=function(){return b.prototype.PQb.call(this)},f.prototype.Wac=function(){var b,c,d,e,f,g,h,i,j;if(this.Yac()||this.y9b())return!1;for(b=!1,c=this.J8b(),d=this.K8b(),e=0,f=this.ggb();e<f.length;e++)g=f[e],h=g.aT(),h instanceof a.models.XCa&&(i=this._La(h.Q5a()),i=null!=i?i:NaN,j=h.Qb(),(null!=d&&(j>d.LPa()||j<d.KPa())||null!=c&&(i>c.LPa()||i<c.KPa()))&&(g.bz(!1),null!=g.fgb()&&g.fgb().bz(!1),b=!0));return b},f);function f(a,c){return b.call(this,a,c)||this}a.fbb=e,c=a.models.w6a,__extends(g,c),g.prototype.t6a=function(b,c,d,e){return c instanceof a.models.G3a?new a.models.YCa(this,c,d,e,b):c instanceof a.models.K3a||c instanceof a.models.J3a?new a.models.TCa(this,c,d,e,b):null},d=g;function g(a,b,d){return c.call(this,a,b,d)||this}a.wtb=d}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.X1a,__extends(d,b),d.prototype.yIa=function(){return this.bRa().yIa()},d.prototype.yy=function(){return a.y3b.yy()},d.prototype.Tpb=function(b){return arguments.length<=0?this.Atb:void(this.Atb=b.map(function(b){return b instanceof a.shapes.Btb?b:null}))},d.prototype.TQb=function(a,b,c){this.APa(b.clone()),this.Atb=this.Ctb(this.data());var d=c.areaBaseLine;this.Dtb(this.data(),d)},d.prototype.Nbb=function(b,c){var d,e,f,g,h,i,j=this,k=this.data(),l=this.bRa();b.beginTransform(),a.NQb.Jqb(b,this.yy()),d=this.bRa().aT().OOa().getColor(0),null!=d&&(b.fill=d,b.stroke=d),e=k.tE(),null!=e&&(b.fill=e,b.stroke=e),null!=k.X5a()&&(f=Number.MIN_VALUE,g=Number.MAX_VALUE,h=l.$z().config.showNulls,i=l.$z().config.showNaNs,k.points().forEach(function(b){null==b.Qb()&&h!=a.ShowNulls.Zeros||isNaN(b.Qb())&&i!=a.ShowNulls.Zeros||(b.Qb()>f&&(f=b.Qb()),b.Qb()<g&&(g=b.Qb()))}),b.fill=new a.models.bSb(180,k.X5a().K8a(l.XQb().KPa(),f))),a.NQb.a3b(b,l.q4a().s4a().$z().style),a.NQb.$Qb(b,this.Wqa()),c.hasSelectionInPlotArea&&(this.KQa()?(a.NQb.$Qb(b,this.dVb()),c.apiSelectedStyle&&a.NQb.$Qb(b,c.apiSelectedStyle)):a.NQb.$Qb(b,this.Fac())),this.B5a()&&a.NQb.$Qb(b,l.$z().config.hoverStyle),this.Atb.forEach(function(a){b.beginTransform(),b.strokeWidth=0,b.drawPolygon(a.WPa(),a.XPa()),b.restoreTransform(),j.ebc(b,a)}),b.restoreTransform()},d.prototype.ebc=function(b,c){var d,e,f,g=this.bRa();g.$z().config.axisMode==a.AxisMode.Cartesian&&(d=g.yIa()?c.lowerYs():c.lowerXs(),d.every(function(a,b){return 0==b||a==d[b-1]}))||(null==this.Wqa().strokeWidth||null!=this.Wqa().strokeWidth&&this.Wqa().strokeWidth.top==this.Wqa().strokeWidth.right&&this.Wqa().strokeWidth.top==this.Wqa().strokeWidth.bottom&&this.Wqa().strokeWidth.top==this.Wqa().strokeWidth.left?0!=b.strokeWidth&&(b.beginTransform(),b.fill="none",b.drawPolygon(c.WPa(),c.XPa()),b.restoreTransform()):(null!=this.Wqa().strokeWidth&&0<this.Wqa().strokeWidth.top&&(b.strokeWidth=this.Wqa().strokeWidth.top,b.drawLines(c.upperXs(),c.upperYs())),null!=this.Wqa().strokeWidth&&0<this.Wqa().strokeWidth.bottom&&(b.strokeWidth=this.Wqa().strokeWidth.bottom,b.drawLines(c.lowerXs(),c.lowerYs())),null!=this.Wqa().strokeWidth&&0<this.Wqa().strokeWidth.left&&(b.strokeWidth=this.Wqa().strokeWidth.left,e=0<c.lowerXs().length&&0<c.upperXs().length?[c.lowerXs()[0],c.upperXs()[0]]:[],f=0<c.lowerYs().length&&0<c.upperYs().length?[c.lowerYs()[0],c.upperYs()[0]]:[],0<e.length&&0<f.length&&b.drawLines(e,f)),null!=this.Wqa().strokeWidth&&0<this.Wqa().strokeWidth.right&&(b.strokeWidth=this.Wqa().strokeWidth.right,e=0<c.lowerXs().length&&0<c.upperXs().length?[c.lowerXs()[c.lowerXs().length-1],c.upperXs()[c.upperXs().length-1]]:[],f=0<c.lowerYs().length&&0<c.upperYs().length?[c.lowerYs()[c.lowerYs().length-1],c.upperYs()[c.upperYs().length-1]]:[],0<e.length&&0<f.length&&b.drawLines(e,f))))},d.prototype.mr=function(c,d){var e,f,g,h,i=this.APa();if(null!=i&&i.contains(c))for(e=0,f=this.Atb;e<f.length;e++)if(g=f[e],a.x7.IsPointInPolygon2(c,g.WPa(),g.XPa()))return h=new a.HitTestResult(c,this,this,a.ElementType.Series),null==d||null!=d&&d.predicate(h)?h:null;return b.prototype.mr.call(this,c,d)},d.prototype.Ctb=function(b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p=this;return null==b.points()||b.points().length<=0?[]:(c=b.points(),c.sort(function(b,c){var d=b.Q5a().mi(),e=c.Q5a().mi();return d!=e?d-e:b instanceof a.models.XCa&&c instanceof a.models.XCa?b.y6a()-c.y6a():b.Qb()-c.Qb()}),d=this.bRa(),e=d.$z().config.axisMode,f=d.$z().config.showNulls,g=d.$z().config.showNaNs,h=b.V4a()instanceof a.models.bWb,i=[],j=[],k=[],l=null,m=null,c.forEach(function(c,n){var o,q,r=d._La(c.Q5a());null!=r&&(c instanceof a.models.XCa?(null==c.y6a()?f==a.ShowNulls.Gaps?(o=p.gMa(j),i.push(new a.shapes.Btb([],o)),j=[]):f==a.ShowNulls.Zeros&&j.push(new a.core.Point(r,0)):isNaN(c.y6a())?g==a.ShowNulls.Gaps?(o=p.gMa(j),i.push(new a.shapes.Btb([],o)),j=[]):g==a.ShowNulls.Zeros&&j.push(new a.core.Point(r,0)):j.push(new a.core.Point(r,c.y6a())),0==n&&(m=!(null==c.y6a()&&f==a.ShowNulls.Gaps||isNaN(c.y6a())&&g==a.ShowNulls.Gaps)&&0<j.length?j[0]:null)):c instanceof a.models.SCa&&(null==c.B6a()&&null==c.A6a()?f==a.ShowNulls.Gaps?(q=p.gMa(k),o=p.gMa(j),i.push(new a.shapes.Btb(q,o)),j=[],k=[]):f==a.ShowNulls.Zeros&&(j.push(new a.core.Point(r,0)),k.push(new a.core.Point(r,0))):isNaN(c.B6a())&&isNaN(c.A6a())?g==a.ShowNulls.Gaps?(q=p.gMa(k),o=p.gMa(j),i.push(new a.shapes.Btb(q,o)),j=[],k=[]):g==a.ShowNulls.Zeros&&(j.push(new a.core.Point(r,0)),k.push(new a.core.Point(r,0))):null!=c.B6a()&&null!=c.A6a()?(j.push(new a.core.Point(r,c.B6a())),k.push(new a.core.Point(r,c.A6a()))):f!=a.ShowNulls.Gaps&&f!=a.ShowNulls.Zeros&&g!=a.ShowNulls.Gaps&&g!=a.ShowNulls.Zeros||(j.push(new a.core.Point(r,null==c.B6a()||isNaN(c.B6a())?0:c.B6a())),k.push(new a.core.Point(r,null==c.A6a()||isNaN(c.B6a())?0:c.A6a()))),0==n&&(m=!(null==c.B6a()&&f==a.ShowNulls.Gaps||isNaN(c.B6a())&&g==a.ShowNulls.Gaps)&&0<j.length?j[0]:null,l=!(null==c.A6a()&&f==a.ShowNulls.Gaps||isNaN(c.A6a())&&g==a.ShowNulls.Gaps)&&0<k.length?k[0]:null)),n==b.points().length-1&&e!=a.AxisMode.Cartesian&&h&&(0<k.length&&null!=l&&k.push(l.clone()),0<j.length&&null!=m&&j.push(m.clone())))}),e!=a.AxisMode.Cartesian&&h&&f==a.ShowNulls.Connected&&(0<k.length&&null==l&&k.push(k[0].clone()),0<j.length&&null==m&&j.push(j[0].clone())),n=this.gMa(k),o=this.gMa(j),i.push(new a.shapes.Btb(n,o)),i)},d.prototype.Dtb=function(b,c){var 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;for(this.Atb,d=this.bRa(),e=d.$z().config.axisMode,f=b.V4a()instanceof a.models.bWb,g=d.J8b(),h=d.K8b(),i=d.$z().config.lineAspect,j=0,k=this.Atb;j<k.length;j++){if(l=k[j],0<l.ttb().length&&0==l.utb().length){if(e==a.AxisMode.Cartesian)for(m=0,n=c.Htb(l.upperXs()[0],l.upperXs()[l.upperXs().length-1]);m<n.length;m++)o=n[m],l.utb().push(o);e!=a.AxisMode.Cartesian&&f&&0<l.utb().length&&l.utb().push(l.utb()[0].clone()),p=b.W4a(),null!=p&&p.f3a().cb()==a.Group.Stack&&c.Itb(l.ttb().map(function(a){return a.clone()}))}for(q=0,r=l.ttb();q<r.length;q++)s=r[q],this.fbc(d,e,g,h,s);for(t=0,u=l.utb();t<u.length;t++)s=u[t],this.fbc(d,e,g,h,s);if(i==a.LineAspect.Spline){for(v=l.utb(),w=this.hMa(v),x=v.length=0,y=w;x<y.length;x++)z=y[x],v.push(z);for(A=l.ttb(),B=this.hMa(A),C=A.length=0,D=B;C<D.length;C++)z=D[C],A.push(z)}}},d.prototype.fbc=function(b,c,d,e,f){var g,h=d.Qb(f.x),i=e.Qb(f.y);this.yIa()&&(g=h,h=i,i=g),c==a.AxisMode.Polygonal||c==a.AxisMode.Radial?(f.x=Math.cos(i)*h+b.wPa(),f.y=Math.sin(i)*h+b.xPa()):(f.x=h,f.y=i)},d.prototype.gMa=function(b){var c=this.bRa().$z().config.lineAspect;return new a.AIa((!1),c).convert(b)},d.prototype.hMa=function(b){var c,d=new a.THa(b.map(function(a){return a.x}),b.map(function(a){return a.y})).calculate();for(b=[],c=0;c<Math.min(d.xs.length,d.ys.length);c++)b.push(new a.core.Point(d.xs[c],d.ys[c]));return b},d);function d(a,c){var d=b.call(this,a,c)||this;return d.Atb=[],d}a.fMa=c}(dv=dv||{}),function(a){!function(a){"use strict";var b,c=(b=a.Brb,__extends(d,b),d.prototype.WPa=function(){return this.Ktb.map(function(a){return a.x}).concat(this.Jtb.map(function(a){return a.x}).reverse())},d.prototype.XPa=function(){return this.Ktb.map(function(a){return a.y}).concat(this.Jtb.map(function(a){return a.y}).reverse())},d.prototype.upperXs=function(){return this.Ktb.map(function(a){return a.x})},d.prototype.upperYs=function(){return this.Ktb.map(function(a){return a.y})},d.prototype.lowerXs=function(){return this.Jtb.map(function(a){return a.x})},d.prototype.lowerYs=function(){return this.Jtb.map(function(a){return a.y})},d.prototype.utb=function(){return this.Jtb},d.prototype.ttb=function(){return this.Ktb},d.prototype.zAa=function(a){if(this==a)return!0;if(a instanceof d){if(this.utb().length==a.utb().length)for(var b=0;b<this.utb().length;b++)if(!this.utb()[b].equals(a.utb()[b]))return!1;if(this.ttb().length==a.ttb().length)for(b=0;b<this.ttb().length;b++)if(!this.ttb()[b].equals(a.ttb()[b]))return!1;return!0}return!1},Object.defineProperty(d.prototype,"type",{get:function(){return"Area"},enumerable:!0,configurable:!0}),d.prototype.clone=function(){var a,b,c,e,f,g,h;for(a=[],b=0,c=this.utb();b<c.length;b++)e=c[b],a.push(e.clone());for(f=[],g=0,h=this.ttb();g<h.length;g++)e=h[g],f.push(e.clone());return new d(a,f)},d.prototype.equals=function(a){if(this===a)return!0;if(null==a)return!1;if(a instanceof d){if(this.Jtb.length!=a.Jtb.length)return!1;for(var b=0;b<this.Jtb.length;b++)if(!this.Jtb[b].equals(a.Jtb[b]))return!1;if(this.Ktb.length!=a.Ktb.length)return!1;for(b=0;b<this.Ktb.length;b++)if(!this.Ktb[b].equals(a.Ktb[b]))return!1;return!0}return!1},d);function d(a,c){var d=b.call(this)||this;return d.Jtb=a,d.Ktb=c,d}a.Btb=c}(a.shapes||(a.shapes={}))}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.fua=function(){return this.J6a},c.prototype.Htb=function(b,c){var d=this.fua(),e=[],f=!1;return d.forEach(function(g,h){var i,j,k;f||g.x<b||(g.x==b?(i=null,h<d.length-1&&(i=d[h+1]),(null==i||i.x>b)&&e.push(g.clone())):b<g.x&&g.x<c?(e.length<=0&&(j=null,0<h&&(j=d[h-1]),null!=j&&j.x<b?e.push(new a.core.Point(b,(g.y-j.y)/(g.x-j.x)*(b-j.x)+j.y)):a.ePb.dPb(0<d.length)),e.push(g.clone())):g.x==c?(e.length<=0&&(j=null,0<h&&(j=d[h-1]),null!=j&&j.x<b?e.push(new a.core.Point(b,(g.y-j.y)/(g.x-j.x)*(b-j.x)+j.y)):a.ePb.dPb(0<d.length)),k=null,0<h&&(k=d[h-1]),(null==k||k.x<c)&&(e.push(g.clone()),f=!0)):c<g.x&&(e.length<=0&&(j=null,0<h&&(j=d[h-1]),null!=j&&j.x<b?e.push(new a.core.Point(b,(g.y-j.y)/(g.x-j.x)*(b-j.x)+j.y)):a.ePb.dPb(0<d.length)),k=null,0<h&&(k=d[h-1]),null!=k&&k.x<c?(e.push(new a.core.Point(c,(g.y-k.y)/(g.x-k.x)*(c-k.x)+k.y)),f=!0):a.ePb.dPb(0<d.length)))}),e},c.prototype.Itb=function(b){if(!(b.length<=0)){var c=[],d=this.fua(),e=!1,f=!0,g=b[0],h=b[b.length-1];d.forEach(function(i,j){var k,l;i.x<g.x?c.push(i.clone()):i.x==g.x?e||(i.y!=g.y&&c.push(i.clone()),c.push.apply(c,b),e=!0):!e&&g.x<i.x&&(k=null,0<j&&(k=d[j-1]),null!=k&&k.x<g.x&&c.push(new a.core.Point(g.x,(i.y-k.y)/(i.x-k.x)*(g.x-k.x)+k.y)),c.push.apply(c,b),e=!0),e&&i.x==h.x?f&&(l=null,j<d.length-1&&(l=d[j+1]),null!=l&&l.x!=h.x&&(i.y!=h.y&&c.push(i.clone()),f=!1)):e&&h.x<i.x&&(f&&(k=null,0<j&&(k=d[j-1]),null!=k&&k.x<h.x&&c.push(new a.core.Point(h.x,(i.y-k.y)/(i.x-k.x)*(h.x-k.x)+k.y)),f=!1),c.push(i.clone()))}),this.J6a=c}},c);function c(b){this.J6a=[new a.core.Point((-Number.MAX_VALUE),b),new a.core.Point(Number.MAX_VALUE,b)]}a.vtb=b}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.models.C6a,__extends(d,b),d.prototype.w5=function(b){var c,d,e,f,g,h,i,j,k,l,m;for(c={},d={},e=0,f=b;e<f.length;e++)for(g=0,h=f[e].points();g<h.length;g++)if(i=h[g],!i.Cgb())if(j=i.Q5a().mi(),i instanceof a.models.XCa)i.x6a(),k=i.y6a(),null==k||isNaN(k)||(0<=k?(null!=(l=c[j])&&i.z6a(l),null==c[j]?c[j]=k:c[j]+=k,i.y6a(c[j])):(null!=(l=d[j])&&i.z6a(l),null==d[j]?d[j]=k:d[j]+=k,i.y6a(d[j])));else if(i instanceof a.models.SCa){if(i.x6a(),m=null,null==i.A6a()&&null==i.B6a())continue;0<=(m=i.A6a()<0&&i.B6a()<0?i.A6a()-i.B6a():i.B6a()-i.A6a())?(null!=(l=c[j])&&i.A6a(l),null==c[j]?c[j]=i.A6a()+m:c[j]+=m,i.B6a(c[j])):(null!=(l=d[j])&&i.B6a(l),null==d[j]?d[j]=i.B6a()+m:d[j]+=m,i.A6a(c[j]))}},d.prototype.NBa=function(b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p;for(c={},d={},e=0,f=b;e<f.length;e++)for(g=0,h=f[e].points();g<h.length;g++)(n=h[g]).Cgb()||(i=n.Q5a().mi(),n instanceof a.models.XCa?(null!=(p=n.z6a())&&!isNaN(p)||(p=0),(null==c[i]||c[i]<p)&&(c[i]=p),(null==d[i]||d[i]>p)&&(d[i]=p),null!=(p=n.y6a())&&!isNaN(p)||(p=0),(null==c[i]||c[i]<p)&&(c[i]=p),(null==d[i]||d[i]>p)&&(d[i]=p)):n instanceof a.models.SCa&&(null!=(p=n.A6a())&&!isNaN(p)||(p=0),(null==c[i]||c[i]<p)&&(c[i]=p),(null==d[i]||d[i]>p)&&(d[i]=p),null!=(p=n.B6a())&&!isNaN(p)||(p=0),(null==c[i]||c[i]<p)&&(c[i]=p),(null==d[i]||d[i]>p)&&(d[i]=p)));for(j=0,k=b;j<k.length;j++)for(l=0,m=k[j].points();l<m.length;l++)(n=m[l]).Cgb()||(o=c[i=n.Q5a().mi()]-d[i],0!=o&&(n instanceof a.models.XCa?(null==(p=n.z6a())||isNaN(p)||n.z6a(p/o),null==(p=n.y6a())||isNaN(p)||n.y6a(p/o)):n instanceof a.models.SCa&&(null==(p=n.A6a())||isNaN(p)||n.A6a(p/o),null==(p=n.B6a())||isNaN(p)||n.B6a(p/o))))},d);function d(){return null!==b&&b.apply(this,arguments)||this}a.Ptb=c}(dv=dv||{}),function(a){"use strict";var b,c,d,e,f=(b=a.u4a,__extends(g,b),g.prototype.R=function(a){return!1},g.prototype.SPa=function(){return this.$z().config.barLines},g.prototype.TPa=function(){var a=Math.max(this.Qtb(),this.Rtb());return isNaN(this.$z().config.bar.width)?isNaN(this.z5a().q4a().s4a().$z().bar.width)||(a=Math.max(this.z5a().q4a().s4a().$z().bar.width,a)):a=Math.max(this.$z().config.bar.width,a),null==a||isNaN(a)?.7:(1<a&&(a=1),a<0&&(a=0),a)},g.prototype.Qtb=function(){var a=NaN;return isNaN(this.z5a().q4a().s4a().$z().bar.bottomWidth)?isNaN(this.$z().config.bar.width)?isNaN(this.z5a().q4a().s4a().$z().bar.width)||(a=this.z5a().q4a().s4a().$z().bar.width):a=this.$z().config.bar.width:a=this.z5a().q4a().s4a().$z().bar.bottomWidth,null==a||isNaN(a)?.7:(1<a&&(a=1),a<0&&(a=0),a)},g.prototype.Rtb=function(){var a=NaN;return isNaN(this.z5a().q4a().s4a().$z().bar.topWidth)?isNaN(this.$z().config.bar.width)?isNaN(this.z5a().q4a().s4a().$z().bar.width)||(a=this.z5a().q4a().s4a().$z().bar.width):a=this.$z().config.bar.width:a=this.z5a().q4a().s4a().$z().bar.topWidth,null==a||isNaN(a)?.7:(1<a&&(a=1),a<0&&(a=0),a)},g.prototype.UPa=function(){var a=NaN;return isNaN(this.$z().config.bar.overlap)?isNaN(this.z5a().q4a().s4a().$z().bar.overlap)||(a=this.z5a().q4a().s4a().$z().bar.overlap):a=this.$z().config.bar.overlap,null==a||isNaN(a)?0:(1<a&&(a=1),a<-1&&(a=-1),a)},g.prototype.gbc=function(){return b.prototype.aT.call(this)},g.prototype.jMa=function(a){this.VPa(a)},g.prototype.VPa=function(b){for(var c=[],d=this.Zgb(),e=!1,f="",g=function(d){var g=d.aT();return g.HOa().HSa()&&g.v6a()?"continue":(f=h.hbc(g),null==b[f]&&(b[f]=0),d.ibc(f),c.some(function(a){return g.HOa().zAa(a)})?null!=g.W4a()&&g.W4a().f3a().cb()==a.Group.Cluster?d.jbc(b[f]++):null!=g.W4a()&&g.W4a().f3a().cb()==a.Group.Stack&&d.jbc(b[f]):(c.push(g.HOa()),e&&(e=!1,b[f]++),null==g.W4a()||g.W4a().f3a().cb()==a.Group.Cluster?d.jbc(b[f]++):null!=g.W4a()&&g.W4a().f3a().cb()==a.Group.Stack&&(d.jbc(b[f]),e=e||!0)),void 0)},h=this,i=0,j=d;i<j.length;i++)g(j[i]);e&&b[f]++},g.prototype.hbc=function(a){var b,c,d,e=null,f=this.$z().config.bar.groups;if(null!=f&&0<f.length)for(b=0,c=f;b<c.length;b++){if(d=c[b],null!=a.HOa()&&a.HOa().name==d.valueField&&null!=a.W4a()&&a.W4a().pwa()==d.key){e=d.cluster;break}if(null!=a.HOa()&&a.HOa().name==d.valueField&&null==a.W4a()&&null==d.key){e=d.cluster;break}}return null==e?"":e},g.prototype.kbc=function(a){var b,c,d,e=this.$z().config.bar.groups;if(null==e)return null;for(b=0,c=e;b<c.length;b++){if(d=c[b],null!=a.HOa()&&a.HOa().name==d.valueField&&null!=a.W4a()&&a.W4a().pwa()==d.key)return d.width;if(null!=a.HOa()&&a.HOa().name==d.valueField&&null==a.W4a()&&null==d.key)return d.width}return null},g.prototype.Rbb=function(a){b.prototype.Rbb.call(this,a)},g.prototype.Uac=function(){return(null==this.XOb().e6a()||this.htb()!=a.AxisMode.Radial||!this.yIa())&&(null==this.XOb().ZOb()||this.htb()!=a.AxisMode.Radial||!this.yIa())&&b.prototype.Uac.call(this)},g.prototype.OQb=function(){return null!=this.XOb().e6a()&&this.htb()==a.AxisMode.Radial&&this.yIa()||null!=this.XOb().ZOb()&&this.htb()==a.AxisMode.Radial&&this.yIa()?.5:this.PQb()},g.prototype.QQb=function(){return null!=this.XOb().e6a()&&this.htb()==a.AxisMode.Radial&&this.yIa()||null!=this.XOb().ZOb()&&this.htb()==a.AxisMode.Radial&&this.yIa()?.5:this.PQb()},g.prototype.PQb=function(){var c,d,e;return null!=this.XOb().e6a()?this.htb()==a.AxisMode.Polygonal&&this.yIa()||this.htb()==a.AxisMode.Radial&&this.yIa()?b.prototype.PQb.call(this):.5:(c=this.XOb().ZOb(),null==c?this.htb()==a.AxisMode.Cartesian?.5:b.prototype.PQb.call(this):(d=c.N2a().field,this.htb()==a.AxisMode.Polygonal&&this.yIa()?b.prototype.PQb.call(this):this.htb()==a.AxisMode.Radial&&this.yIa()?b.prototype.PQb.call(this):d instanceof a.models.fBa||d instanceof a.models.iBa?(e=this.itb(),null==e?.5:.5*e):this.Oac()?.5:b.prototype.PQb.call(this)))},g.prototype.TQb=function(c,d,e){var f,g,h;for(b.prototype.TQb.call(this,c,d,e),f=0,g=this.pEa;f<g.length;f++)g[f]._R(c,d,e);h=(d=this.APa()).width<d.height?d.width/2:d.height/2,this.pEa=a.Bgb.arountCircle(this.pEa,h,this.wPa(),this.xPa())},g.prototype.Udb=function(){var b,c,d,e=!1,f=this.yIa()?this.WQb():this.XQb();null!=f.scale&&f.scale.type==a.ValueScaleType.Percentage&&(e=!0),b=this.plugins().build(this,"PlotLayout",this.$z()),null==b&&(b=new a.Ptb),c=this.aT(),b._R(c,e,!1),e&&(d=this.ySite,null!=d&&d instanceof a.models.eCa&&(0<d.min&&(d.FCa=0),d.max<0&&(d.GCa=0)))},g.prototype.btb=function(){if(this.SPa()){var c=[new a.CartesianBarLineOverlayView(this,new a.models.X$b(null))];return c.push.apply(c,b.prototype.btb.call(this)),c}return b.prototype.btb.call(this)},g.prototype.mgb=function(a){return new e(this,a,this.$z())},g.prototype.ahb=function(b){return new a.Tgb(this,b)},g.prototype.ghb=function(b){if(0==b._items().length)return null;if(this.$z().config.axisMode==a.AxisMode.Polygonal||this.$z().config.axisMode==a.AxisMode.Radial)return this.lbc(b);var c=this.z5a().q4a().s4a().$z().bar;return isNaN(c.topWidth)&&isNaN(c.bottomWidth)||this.Qtb()==this.Rtb()?this.mbc(b):this.nbc(b)},g.prototype.mbc=function(b){return new a.nMa(this,b)},g.prototype.lbc=function(b){return new a.mMa(this,b)},g.prototype.nbc=function(b){return new a.oMa(this,b)},g.prototype.UQb=function(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p;for(d={},e=0,f=this.Zgb();e<f.length;e++)(k=(j=f[e]).data()).HOa().HSa()&&k.v6a()||(g=j.jbc(),null!=k&&0<k.points().length&&this.obc(k.points(),g,d));for(h=0,i=this.Zgb();h<i.length;h++)if(!(k=(j=i[h]).data()).HOa().HSa()||!k.v6a())for(g=j.jbc(),l=0,m=j.ggb();l<m.length;l++)n=m[l],o=n.aT(),p=o.Q5a().mi(),0!=o._items().length&&(o.Cgb()||this.pbc(n,g,d[p][g]))},g.prototype.obc=function(b,c,d){var e,f,g;for(e=0;e<b.length;e++)f=b[e],g=f.Q5a().mi(),null==d[g]&&(d[g]={}),null==d[g][c]&&(d[g][c]=[]),f instanceof a.models.XCa?d[g][c].push(f.y6a()):f instanceof a.models.SCa&&d[g][c].push(f.B6a()-f.A6a())},g.prototype.qbc=function(){var b,d,e=this.$z().config.axisMode==a.AxisMode.Polygonal||this.$z().config.axisMode==a.AxisMode.Radial;return!!e&&(b=0,b=this.xSite instanceof a.models.SOa?1:this.xSite.valueCount,d=c.kMa(this.z5a().zdb(this.f3a().coordinateSystemDefinition)),e&&1==d.ibc()&&1==b)},g.prototype.pbc=function(b,d,e){var f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U=b.aT(),V=U.Ata().dhb().ibc(),W=this.$z().config.text,X=c.kMa(this.z5a().zdb(this.f3a().coordinateSystemDefinition)),Y=this.kbc(U.Ata()),Z=this.LRa(X.VPa(V),Y);
- if(null!=Z.width||null!=Z.radialwidth)if(!isNaN(Y)&&null!=Y||(Y=this.TPa()),f=Z.width,g=Z.radialwidth,h=this.z5a().q4a().s4a().$z().bar,i=this.itb(),j=0,k=X.VPa(V),1<k&&(j=null==i?.5*(f-Y)+(f+(Y-f*k)/(k-1))*d:.5*(f-i*Y)+(f+(i*Y-f*k)/(k-1))*d),l=this._La(U.Q5a()),m=isNaN(this.UP())?0:this.UP(),m=null==b.offset?m:b.offset,n=h.neckHeight,o=NaN,p=NaN,q=this.$z().config.axisMode==a.AxisMode.Polygonal||this.$z().config.axisMode==a.AxisMode.Radial,p=this.$z().config.axisMode==a.AxisMode.Radial&&this.yIa()?(o=l-.5*(1-Y)+j-.5*f,l-.5*(1-Y)+j+.5*f):this.$z().config.axisMode==a.AxisMode.Radial||this.$z().config.axisMode==a.AxisMode.Polygonal&&!this.yIa()?(o=l+j-.5*g,l+j+.5*(f-(g-f))):(o=l+j-.5*f,l+j+.5*f),r=this.Qtb()!=this.Rtb(),s=this.M6a(b,o,p,n,Y,q||!r?1:this.Qtb()/Y,q||!r?1:this.Rtb()/Y,e),null!=s){for(t=[],u=[],v=0,w=s;v<w.length;v++)x=w[v],t.push(x.x),u.push(x.y);y=Math.min(Math.min(s[0].x,s[1].x),Math.min(s[2].x,s[3].x)),z=Math.max(Math.max(s[0].x,s[1].x),Math.max(s[2].x,s[3].x)),A=Math.min(Math.min(s[0].y,s[1].y),Math.min(s[2].y,s[3].y)),B=Math.max(Math.max(s[0].y,s[1].y),Math.max(s[2].y,s[3].y)),C=z-y,D=B-A,this.yIa()&&!q?D<1&&(D=1):C<1&&(C=1),null==y||null==z||null==A||null==B||isNaN(y)||isNaN(z)||isNaN(A)||isNaN(B)?b.bz(!1):(q?(E=this.wPa()+m*Math.cos(A+D/2)*C,F=this.xPa()+m*Math.sin(A+D/2)*C,G=C,H=this.qbc(),!isNaN(this.UP())&&0<this.UP()&&H&&(G*=1-this.UP()),I=b,I.BPa(new a.core.Point(E,F)),I.CPa(y+G),I.NPa(y),I.MPa(A),I.DPa(D),W.position==a.TextPosition.Smart&&(J=null,K=a.plugins.w1a.QOa("Default"),null!=K&&(J=K.toLines(U.D5a())),null!=J&&0<J.length&&(L=I.MPa()+I.DPa()/2,M=this.z5a().APa(),N=(M.width<M.height?M.width/2:M.height/2)+(isNaN(W.offset)?0:W.offset),O=E+Math.cos(L)*I.CPa(),P=F+Math.sin(L)*I.CPa(),Q=U.tE(),null==Q&&(Q=U.Ata().tE()),R=new a.Agb(I,this.wPa(),this.xPa(),L,N,O,P,J,this,Q),this.pEa.push(R)))):isNaN(h.topWidth)&&isNaN(h.bottomWidth)||this.Qtb()==this.Rtb()?(S=b,S.APa(new a.core.Rect(y,A,C,D)),a.x7.translateRect(S.APa(),m*(this.yIa()?0:S.APa().width),m*(this.yIa()?S.APa().height:0))):(T=b,T.WPa(t),T.XPa(u)),b.v8a(),this.oi.push(b))}else b.bz(!1);else b.bz(!1)},g.prototype.LRa=function(a,b){var c,d,e,f=this.aT();return null==f.J5a()||f.J5a().length<=0?{width:null,radialwidth:null}:(!isNaN(b)&&null!=b||(b=this.TPa()),c=this.itb(),null!=c?(d=c*b/a,e=c/a,0<this.UPa()?(d+=d*(a-1)*this.UPa(),e+=e*(a-1)*this.UPa()):this.UPa()<0&&(d+=d*this.UPa()*.5,e+=e*this.UPa()*.5),{width:d,radialwidth:e}):(d=b/a,e=1/a,0<this.UPa()?(d+=d*(a-1)*this.UPa(),e+=e*(a-1)*this.UPa()):this.UPa()<0&&(d+=d*this.UPa()*.5,e+=e*this.UPa()*.5),{width:d,radialwidth:e}))},g.prototype.Wdb=function(d,e){var f,g,h,i,j,k,l,m,n;if(b.prototype.Wdb.call(this,d,e),(this.$z().config.axisMode==a.AxisMode.Polygonal||this.$z().config.axisMode==a.AxisMode.Radial)&&!this.yIa()){for(f=NaN,g=c.kMa(this.z5a().zdb(this.f3a().coordinateSystemDefinition)),h=0,i=this.Zgb();h<i.length;h++)j=i[h],k=j.ibc(),l=this.LRa(g.VPa(k),this.kbc(j.aT())),null!=l.width&&null!=l.radialwidth&&(m=(l.width-l.radialwidth)/2,(isNaN(f)||f<m)&&(f=m));isNaN(f)||(n=this.WQb(),f<n.OPa()&&n.OPa(f))}},g.prototype.Wac=function(){var b,c,d,e,f,g,h;if(this.Yac()||this.y9b())return!1;for(b=this.J8b(),c=this.K8b(),d=0,e=this.ggb();d<e.length;d++)if(f=e[d].aT(),f instanceof a.models.XCa&&(g=this._La(f.Q5a()),g=null!=g?g:NaN,h=f.Qb(),null!=c&&(h>c.LPa()||h<c.KPa())||null!=b&&(g>b.LPa()||g<b.KPa())))return!0;return!1},g.prototype.Nbb=function(a,c){b.prototype.Nbb.call(this,a,c);for(var d=0,e=this.pEa;d<e.length;d++)e[d].yl(a,c)},g.prototype.dgb=function(c,d){var e,f,g,h;if(this.pEa.length<=0)if(this.$z().config.axisMode==a.AxisMode.Polygonal||this.$z().config.axisMode==a.AxisMode.Radial)for(e=this.ggb().slice(),e.sort(function(a,b){return null!=a.fgb()&&null!=b.fgb()?a.DPa()-b.DPa():0}),f=0,g=e;f<g.length;f++)h=g[f],this.wac(c,d,h);else b.prototype.dgb.call(this,c,d)},g.prototype.xac=function(c,d){this.pEa.length<=0&&(this.$z().config.axisMode==a.AxisMode.Polygonal||this.$z().config.axisMode==a.AxisMode.Radial?(this.qbc()&&this.$z().config.text.overlappingLabels==a.OverlappingLabels.Smart?new a.rbc(this):new a.dbc(this))._R(c):b.prototype.xac.call(this,c,d))},g.prototype.wac=function(a,c,d){d.bz()&&b.prototype.wac.call(this,a,c,d)},g.prototype._La=function(b){var c,d=this.WQb();return d.$z().scale.type==a.ValueScaleType.Ordinal||null!=this.XOb().e6a()?b.mi():(c=b.Qb(),"string"==typeof c||"boolean"==typeof c?b.mi():"number"==typeof c?c:null!=c&&c instanceof Date?null!=d&&d.G4b()?d.pW(c.valueOf()):c.valueOf():null)},g.prototype.M6a=function(b,c,d,e,f,g,h,i){var j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E=b.aT(),F=this.$z().config.showNulls,G=this.$z().config.showNaNs,H=this.J8b(),I=this.K8b(),J=this.Iz(E,I);return F==a.ShowNulls.Zeros&&(null==J.y2&&(J.y2=0),null==J.y1&&(J.y1=0)),G==a.ShowNulls.Zeros&&(isNaN(J.y2)&&(J.y2=0),isNaN(J.y1)&&(J.y1=0)),j=this.sbc(E,I,J.y2>=J.y1?Math.max.apply(Math,i):Math.min.apply(Math,i)),null==j.bottom||null==j.top||isNaN(j.bottom)||isNaN(j.top)?null:(b.X_b(c+(d-c)/2),k=H.Qb(c),l=H.Qb(d),m=k+(l-k)/2,n=l-k,o=isNaN(g)?n:n*g,p=isNaN(h)?n:n*h,q=(j.top-j.bottom)*e+j.bottom,r=I.Qb(q),s=J.y2,t=J.y1,u=this.tbc(j.bottom,q,j.top,t,o,p),v=this.tbc(j.bottom,q,j.top,s,o,p),w=I.Qb(t),x=I.Qb(s),null==w||null==x||isNaN(w)||isNaN(x)?null:(y=m+u[0],z=m+u[1],A=m+v[0],B=m+v[1],C=q>Math.min(J.y1,J.y2)&&q<Math.max(J.y1,J.y2),D=[],this.yIa()?(D.push(new a.core.Point(x,A)),D.push(new a.core.Point(x,B)),C&&D.push(new a.core.Point(r,z)),D.push(new a.core.Point(w,z)),D.push(new a.core.Point(w,y)),C&&D.push(new a.core.Point(r,y))):(D.push(new a.core.Point(A,x)),D.push(new a.core.Point(B,x)),C&&D.push(new a.core.Point(z,r)),D.push(new a.core.Point(z,w)),D.push(new a.core.Point(y,w)),C&&D.push(new a.core.Point(y,r))),D))},g.prototype.tbc=function(a,b,c,d,e,f){var g=[],h=NaN;return h=d>Math.min(b,c)&&d<Math.max(b,c)?(f-e)/(c-b)*(d-b)+e:Math.abs(d-b)<=Math.abs(d-c)?e:f,g.push(0-h/2),g.push(h/2),g},g.prototype.sbc=function(b,c,d){var e={top:NaN,bottom:NaN};return b instanceof a.models.XCa?(isNaN(d)?e.top=b.y6a():e.top=d,this.y9b()||this.Yac()?c.LPa()<0?e.bottom=c.LPa():0<c.KPa()?e.bottom=c.KPa():e.bottom=0:e.bottom=this.uJa()):b instanceof a.models.SCa&&(e.top=c.WDa()?b.A6a():b.B6a(),e.bottom=c.WDa()?b.B6a():b.A6a()),e},g.prototype.Iz=function(b,c){var d={y1:NaN,y2:NaN};return b instanceof a.models.XCa?(null==b.z6a()||isNaN(b.z6a())?this.y9b()||this.Yac()?c.LPa()<0?d.y1=c.LPa():0<c.KPa()?d.y1=c.KPa():d.y1=0:d.y1=this.uJa():d.y1=b.z6a(),d.y2=b.y6a()):b instanceof a.models.SCa&&(d.y1=b.A6a(),d.y2=b.B6a()),d},g);function g(a,c){return b.call(this,a,c)||this}a.hbb=f,h.kMa=function(a){if(null==a)return null;var b=a.kMa;return null==b&&(a.kMa=b=new h(a)),b},h.prototype.VPa=function(a){return this.qMa[a]},h.prototype.ibc=function(){var b=this,c=0,d=a.x7.properties(this.qMa);return 0<d.length&&d.forEach(function(a){c+=b.qMa[a]}),c},h.prototype.jMa=function(){var a,b,c;for(this.qMa={},a=0,b=this.Rgb.nPa();a<b.length;a++)c=b[a],c instanceof f&&c.jMa(this.qMa)},c=h;function h(a){this.qMa={},this.Rgb=a}a.b4b=c,d=a.models.w6a,__extends(i,d),i.prototype.t6a=function(b,c,d,e){return c instanceof a.models.G3a?new a.models.YCa(this,c,d,e,b):c instanceof a.models.K3a||c instanceof a.models.J3a?new a.models.TCa(this,c,d,e,b):null},e=i;function i(a,b,c){return d.call(this,a,b,c)||this}a.Sgb=e}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Z1a,__extends(d,b),d.prototype.queryInterface=function(a){return"IDisplayablePipeLine"===a?this.drawablePipeline:b.prototype.queryInterface.call(this,a)},d.prototype.v8a=function(){var b,c=this.bRa().q4a().s4a().$z().bar.borderRadius;b=null!=a.options.YYb.QYb(this.APa().left,this.APa().top,this.APa().width,this.APa().height,c)?a.options.YYb.RYb(this.APa().left,this.APa().top,this.APa().width,this.APa().height,c,200):a.x7.createPtsFromRect(this.APa(),200),this.WPa(b.xs),this.XPa(b.ys)},d.prototype.getStrokeWidth=function(a){var b=null,c=this.ZQb();return null!=c?b=c.strokeWidth:(null!=(c=this.bRa().$z().config.style)&&null!=c.strokeWidth&&(b=c.strokeWidth),null!=(c=this.aT().Ata().dhb().Wqa())&&null!=c.strokeWidth&&(b=c.strokeWidth)),a.hasSelectionInPlotArea&&(this.KQa()?(null!=(c=this._Qb())?null!=c.strokeWidth&&(b=c.strokeWidth):(null!=(c=this.bRa().q4a().s4a().$z().selectedStyle)&&null!=c.strokeWidth&&(b=c.strokeWidth),null!=(c=this.bRa().$z().config.selectedStyle)&&null!=c.strokeWidth&&(b=c.strokeWidth)),a.apiSelectedStyle&&null!=(c=a.apiSelectedStyle).strokeWidth&&(b=c.strokeWidth)):null!=(c=this.aRb())?null!=c.strokeWidth&&(b=c.strokeWidth):(null!=(c=this.bRa().q4a().s4a().$z().unselectedStyle)&&null!=c.strokeWidth&&(b=c.strokeWidth),null!=(c=this.bRa().$z().config.unselectedStyle)&&null!=c.strokeWidth&&(b=c.strokeWidth))),b},d.prototype.draw=function(b,c){var d,e=this.bRa().q4a().s4a().$z().bar.borderRadius,f=a.options.YYb.QYb(this.APa().left,this.APa().top,this.APa().width,this.APa().height,e);null!=f?b.drawPath(f,a.PathFillType.Nonzero,a.LineCap.Butt,a.LineJoin.Miter):(d=this.getStrokeWidth(c),this.B5a()&&null!=this.bRa().$z().config.hoverStyle.strokeWidth&&(d=this.bRa().$z().config.hoverStyle.strokeWidth),null==d||null!=d&&d.top==d.right&&d.top==d.bottom&&d.top==d.left?b.drawRect(this.APa().left,this.APa().top,this.APa().width,this.APa().height,null,null,null):(b.beginTransform(),b.strokeWidth=0,b.drawRect(this.APa().left,this.APa().top,this.APa().width,this.APa().height,null,null,null),b.restoreTransform(),this.ubc(b,this.APa(),d)))},d.prototype.ubc=function(a,b,c){var d=this.bRa();null!=c&&0<c.top&&(a.strokeWidth=c.top,d.yIa()?this.WDa()==this.M$b()?a.drawLine(b.left,b.top,b.left,b.bottom):a.drawLine(b.right,b.top,b.right,b.bottom):this.WDa()==this.M$b()?a.drawLine(b.left,b.bottom,b.right,b.bottom):a.drawLine(b.left,b.top,b.right,b.top)),null!=c&&0<c.bottom&&(a.strokeWidth=c.bottom,d.yIa()?this.WDa()==this.M$b()?a.drawLine(b.right,b.top,b.right,b.bottom):a.drawLine(b.left,b.top,b.left,b.bottom):this.WDa()==this.M$b()?a.drawLine(b.left,b.top,b.right,b.top):a.drawLine(b.left,b.bottom,b.right,b.bottom)),null!=c&&0<c.left&&(a.strokeWidth=c.left,d.yIa()?this.WDa()==this.M$b()?a.drawLine(b.left,b.bottom,b.right,b.bottom):a.drawLine(b.left,b.top,b.right,b.top):this.WDa()==this.M$b()?a.drawLine(b.right,b.top,b.right,b.bottom):a.drawLine(b.left,b.top,b.left,b.bottom)),null!=c&&0<c.right&&(a.strokeWidth=c.right,d.yIa()?this.WDa()==this.M$b()?a.drawLine(b.left,b.top,b.right,b.top):a.drawLine(b.left,b.bottom,b.right,b.bottom):this.WDa()==this.M$b()?a.drawLine(b.left,b.top,b.left,b.bottom):a.drawLine(b.right,b.top,b.right,b.bottom))},d.prototype.contains=function(a){var b=this.APa();return null!=b&&b.contains(a)},d.prototype.mr=function(c,d){if(this.drawablePipeline.contains(c)){var e=new a.HitTestResult(c,this,this,a.ElementType.DataPoint);return null==d||null!=d&&d.predicate(e)?e:null}return b.prototype.mr.call(this,c,d)},d.prototype.cutOff=function(){return!1},d.prototype.Nbb=function(b,c){var d,e=this.Dgb(),f=this.aT();b.beginTransform(),a.NQb.Jqb(b,this.yy()),b.fill=e,b.stroke=e,null!=f.Ata().X5a()&&f instanceof a.models.SCa&&(b.fill=new a.models.bSb(180,f.Ata().X5a().K8a(f.A6a(),f.B6a()))),a.NQb.a3b(b,this.bRa().q4a().s4a().$z().style),d=this.ZQb(),null!=d?a.NQb.$Qb(b,d):(a.NQb.$Qb(b,this.bRa().$z().config.style),a.NQb.$Qb(b,this.aT().Ata().dhb().Wqa())),c.hasSelectionInPlotArea&&(this.KQa()?(null!=(d=this._Qb())?a.NQb.$Qb(b,d):(a.NQb.$Qb(b,this.bRa().q4a().s4a().$z().selectedStyle),a.NQb.$Qb(b,this.bRa().$z().config.selectedStyle)),c.apiSelectedStyle&&a.NQb.$Qb(b,c.apiSelectedStyle)):null!=(d=this.aRb())?a.NQb.$Qb(b,d):(a.NQb.$Qb(b,this.bRa().q4a().s4a().$z().unselectedStyle),a.NQb.$Qb(b,this.bRa().$z().config.unselectedStyle))),this.B5a()&&a.NQb.$Qb(b,this.bRa().$z().config.hoverStyle),this.drawablePipeline.flush(b,c),b.restoreTransform()},d.prototype.ftb=function(){var b=[],c=a.plugins.w1a.QOa("Default");return null!=c&&(b=c.toLines(this.aT().D5a())),null!=b&&0<b.length?new a.Stb(this,b):null},d);function d(c,d){var e=b.call(this,c,d)||this;return e.drawablePipeline=new a.DisplayablePipeLine(e),e}a.nMa=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.X1a,__extends(d,b),d.prototype.TQb=function(a,c,d){b.prototype.TQb.call(this,a,c,d)},d.prototype.jbc=function(a){return arguments.length<=0?this.iMa:void(this.iMa=a)},d.prototype.ibc=function(a){return arguments.length<=0?this.pZb:void(this.pZb=a)},d);function d(a,c){var d=b.call(this,a,c)||this;return d.iMa=0,d.pZb="",d}a.Tgb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Zac,__extends(d,b),d.prototype.ssb=function(){return this.tsb},d.prototype.usb=function(){return this.vsb},d.prototype.isPositive=function(){return this.Ceb().M$b()},d.prototype.calcTextAutoPositionBy=function(b,c,d,e,f){if(b!=a.TextPosition.Auto)return b;null==f&&(f=0);var g=this.Ceb().APa();if(c==a.Position.Top){if(g.top-f-d.height<e.top)return a.TextPosition.Inside}else if(c==a.Position.Bottom){if(g.bottom+f+d.height>e.bottom)return a.TextPosition.Inside}else if(c==a.Position.Left){if(g.left-f-d.width<e.left)return a.TextPosition.Inside}else if(c==a.Position.Right&&g.right+f+d.width>e.right)return a.TextPosition.Inside;return a.TextPosition.Outside},d.prototype.TQb=function(b,c,d){var e,f,g,h,i,j=this.Ceb(),k=j.bRa(),l=this.SH(),m=this.getPosition(l,k.$z().config.text.placement);c=j.APa(),e=k.z5a().xsb(),f=this.SIa(b,new a.core.Size(Number.MAX_VALUE,Number.MAX_VALUE)),g=k.$z().config.text.offset,h=c.center.clone(),i=null,l==a.TextPosition.Auto&&(l=this.calcTextAutoPositionBy(l,m,f,k.APa(),g)),m==a.Position.Top?(h.y=c.top,i=h.clone(),l==a.TextPosition.Inside?(a.core.UOb.isNullNumber(g)||(i.y+=g),i.y+f.height>e.bottom&&(i.y=e.bottom-f.height),this.Xvb(new a.shapes.qwb(i.x,i.y+f.height/2,f.width,f.height,0))):(a.core.UOb.isNullNumber(g)||(i.y-=g),i.y-f.height<e.top&&(i.y=e.top+f.height),this.Xvb(new a.shapes.qwb(i.x,i.y-f.height/2,f.width,f.height,0)))):m==a.Position.Bottom?(h.y=c.bottom,i=h.clone(),l==a.TextPosition.Inside?(a.core.UOb.isNullNumber(g)||(i.y-=g),i.y-f.height<e.top&&(i.y=e.top+f.height),this.Xvb(new a.shapes.qwb(i.x,i.y-f.height/2,f.width,f.height,0))):(a.core.UOb.isNullNumber(g)||(i.y+=g),i.y+f.height>e.bottom&&(i.y=e.bottom-f.height),this.Xvb(new a.shapes.qwb(i.x,i.y+f.height/2,f.width,f.height,0)))):m==a.Position.Left?(h.x=c.left,i=h.clone(),l==a.TextPosition.Inside?(a.core.UOb.isNullNumber(g)||(i.x+=g),i.x+f.width>e.right&&(i.x=e.right-f.width),this.Xvb(new a.shapes.qwb(i.x+f.width/2,i.y,f.width,f.height,0))):(a.core.UOb.isNullNumber(g)||(i.x-=g),i.x-f.width<e.left&&(i.x=e.left+f.width),this.Xvb(new a.shapes.qwb(i.x-f.width/2,i.y,f.width,f.height,0)))):m==a.Position.Right?(h.x=c.right,i=h.clone(),l==a.TextPosition.Inside?(a.core.UOb.isNullNumber(g)||(i.x-=g),i.x-f.width<e.left&&(i.x=e.left+f.width),this.Xvb(new a.shapes.qwb(i.x-f.width/2,i.y,f.width,f.height,0))):(a.core.UOb.isNullNumber(g)||(i.x+=g),i.x+f.width>e.right&&(i.x=e.right-f.width),this.Xvb(new a.shapes.qwb(i.x+f.width/2,i.y,f.width,f.height,0)))):(i=h.clone(),this.Xvb(new a.shapes.qwb(i.x,i.y,f.width,f.height,0)),i.x+f.width/2>e.right&&this.Xvb(new a.shapes.qwb(e.right-f.width/2,i.y,f.width,f.height,0)),i.x-f.width/2<e.left&&this.Xvb(new a.shapes.qwb(e.left+f.width/2,i.y,f.width,f.height,0))),this.tsb=h,this.vsb=i},d.prototype.wsb=function(c,d,e){return e!==a.OverlappingLabels.Auto&&b.prototype.wsb.call(this,c,d,e)},d.prototype.yl=function(c,d){var e,f,g,h,i,j;this._R(c,null,{}),e=this.Ceb(),f=e.bRa().K8b(),g=e.aT(),h=!0,g instanceof a.models.XCa&&null!=g&&(g.y6a()>f.LPa()||g.y6a()<f.KPa())&&(h=!1),i=d.DataLabelClipRectangle,j=this.Xvb(),(null==i||h||i.contains(j.leftTop)||i.contains(j.leftBottom)||i.contains(j.rightTop)||i.contains(j.rightBottom))&&b.prototype.yl.call(this,c,d)},d);function d(a,c){return b.call(this,a,c)||this}a.Stb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Zac,__extends(d,b),d.prototype.ssb=function(){return this.tsb},d.prototype.usb=function(){return this.vsb},d.prototype.calcTextAutoPositionBy=function(b,c,d,e,f){if(b!=a.TextPosition.Auto)return b;null==f&&(f=0);var g=this.Ceb().APa();if(c==a.Position.Top){if(g.top-f-d.height<e.top)return a.TextPosition.Inside}else if(c==a.Position.Bottom){if(g.bottom+f+d.height>e.bottom)return a.TextPosition.Inside}else if(c==a.Position.Left){if(g.left-f-d.width<e.left)return a.TextPosition.Inside}else if(c==a.Position.Right&&g.right+f+d.width>e.right)return a.TextPosition.Inside;return a.TextPosition.Outside},d.prototype.isPositive=function(){return this.Ceb().M$b()},d.prototype.TQb=function(b,c,d){var e,f,g,h,i,j=this.Ceb(),k=j.bRa(),l=this.SH(),m=this.getPosition(l,k.$z().config.text.placement);c=j.APa(),e=k.z5a().xsb(),f=this.SIa(b,new a.core.Size(Number.MAX_VALUE,Number.MAX_VALUE)),g=k.$z().config.text.offset,h=c.center.clone(),i=null,l==a.TextPosition.Auto&&(l=this.calcTextAutoPositionBy(l,m,f,k.APa(),g)),m==a.Position.Top?(h.y=c.top,i=h.clone(),l==a.TextPosition.Inside?(null!=g&&(i.y+=g),i.y+f.height>e.bottom&&(i.y=e.bottom-f.height),this.Xvb(new a.shapes.qwb(i.x,i.y+f.height/2,f.width,f.height,0))):(null!=g&&(i.y-=g),i.y-f.height<e.top&&(i.y=e.top+f.height),this.Xvb(new a.shapes.qwb(i.x,i.y-f.height/2,f.width,f.height,0)))):m==a.Position.Bottom?(h.y=c.bottom,i=h.clone(),l==a.TextPosition.Inside?(null!=g&&(i.y-=g),i.y-f.height<e.top&&(i.y=e.top+f.height),this.Xvb(new a.shapes.qwb(i.x,i.y-f.height/2,f.width,f.height,0))):(null!=g&&(i.y+=g),i.y+f.height>e.bottom&&(i.y=e.bottom-f.height),this.Xvb(new a.shapes.qwb(i.x,i.y+f.height/2,f.width,f.height,0)))):m==a.Position.Left?(h.x=c.left,i=h.clone(),l==a.TextPosition.Inside?(null!=g&&(i.x+=g),i.x+f.width>e.right&&(i.x=e.right-f.width),this.Xvb(new a.shapes.qwb(i.x+f.width/2,i.y,f.width,f.height,0))):(null!=g&&(i.x-=g),i.x-f.width<e.left&&(i.x=e.left+f.width),this.Xvb(new a.shapes.qwb(i.x-f.width/2,i.y,f.width,f.height,0)))):m==a.Position.Right?(h.x=c.right,i=h.clone(),l==a.TextPosition.Inside?(null!=g&&(i.x-=g),i.x-f.width<e.left&&(i.x=e.left+f.width),this.Xvb(new a.shapes.qwb(i.x-f.width/2,i.y,f.width,f.height,0))):(null!=g&&(i.x+=g),i.x+f.width>e.right&&(i.x=e.right-f.width),this.Xvb(new a.shapes.qwb(i.x+f.width/2,i.y,f.width,f.height,0)))):(i=h.clone(),this.Xvb(new a.shapes.qwb(i.x,i.y,f.width,f.height,0)),i.x+f.width/2>e.right&&this.Xvb(new a.shapes.qwb(e.right-f.width/2,i.y,f.width,f.height,0)),i.x-f.width/2<e.left&&this.Xvb(new a.shapes.qwb(e.left+f.width/2,i.y,f.width,f.height,0))),this.tsb=h,this.vsb=i},d);function d(a,c){return b.call(this,a,c)||this}a.Ttb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.rgb,__extends(d,b),d.prototype.M6a=function(b){for(var c=[],d=b.WPa(),e=b.XPa(),f=Math.min(d.length,e.length),g=function(b){var f=new a.core.Point(d[b],e[b]);c.some(function(a){return a.x==f.x&&a.y==f.y})||c.push(f)},h=0;h<f;h++)g(h);return c},d);function d(a){return b.call(this,a)||this}a.Ugb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Z1a,__extends(d,b),d.prototype.queryInterface=function(a){return"IDisplayablePipeLine"===a?this.drawablePipeline:b.prototype.queryInterface.call(this,a)},d.prototype.kgb=function(){return new a.Ugb(this)},d.prototype.v8a=function(){var b=this.WPa(),c=this.XPa();this.APa(new a.core.Rect(Math.min.apply(Math,b),Math.min.apply(Math,c),Math.max.apply(Math,b)-Math.min.apply(Math,b),Math.max.apply(Math,c)-Math.min.apply(Math,c)))},d.prototype.draw=function(a,b){a.drawPolygon(this.WPa(),this.XPa())},d.prototype.contains=function(b){return a.x7.IsPointInPolygon2(b,this.WPa(),this.XPa())},d.prototype.cutOff=function(){return!1},d.prototype.Nbb=function(b,c){var d,e=this.Dgb(),f=this.aT();b.beginTransform(),a.NQb.Jqb(b,this.yy()),b.fill=e,b.stroke=e,null!=f.Ata().X5a()&&f instanceof a.models.SCa&&(b.fill=new a.models.bSb(180,f.Ata().X5a().K8a(f.A6a(),f.B6a()))),a.NQb.a3b(b,this.bRa().q4a().s4a().$z().style),d=this.ZQb(),null!=d?a.NQb.$Qb(b,d):(a.NQb.$Qb(b,this.bRa().$z().config.style),a.NQb.$Qb(b,this.aT().Ata().dhb().Wqa())),c.hasSelectionInPlotArea&&(this.KQa()?(null!=(d=this._Qb())?a.NQb.$Qb(b,d):(a.NQb.$Qb(b,this.bRa().q4a().s4a().$z().selectedStyle),a.NQb.$Qb(b,this.bRa().$z().config.selectedStyle)),c.apiSelectedStyle&&a.NQb.$Qb(b,c.apiSelectedStyle)):null!=(d=this.aRb())?a.NQb.$Qb(b,d):(a.NQb.$Qb(b,this.bRa().q4a().s4a().$z().unselectedStyle),a.NQb.$Qb(b,this.bRa().$z().config.unselectedStyle))),this.B5a()&&a.NQb.$Qb(b,this.bRa().$z().config.hoverStyle),this.drawablePipeline.flush(b,c),b.restoreTransform()},d.prototype.ftb=function(){var b,c,d=[],e=a.plugins.w1a.QOa("Default");return null!=e&&(d=e.toLines(this.aT().D5a())),null!=d&&0<d.length?(b=this.WPa(),c=this.XPa(),Math.min.apply(Math,b),Math.min.apply(Math,c),Math.max.apply(Math,b),Math.min.apply(Math,b),Math.max.apply(Math,c),Math.min.apply(Math,c),new a.Ttb(this,d)):null},d.prototype.mr=function(b,c){if(a.x7.IsPointInPolygon2(b,this.WPa(),this.XPa())){var d=new a.HitTestResult(b,this,this,a.ElementType.DataPoint);return null==c||null!=c&&c.predicate(d)?d:null}return null},d);function d(c,d){var e=b.call(this,c,d)||this;return e.drawablePipeline=new a.DisplayablePipeLine(e),e}a.oMa=c}(dv=dv||{}),function(a){"use strict";var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y=function(){};a.vbc=y,b=function(){},a.wbc=b,c=function(){},a.xbc=c,d=function(){},a.ybc=d,g=function(){},a.zbc=g,(f=e=a.PositionLabelResultCode||(a.PositionLabelResultCode={}))[f.Success=0]="Success",f[f.NoSpace=1]="NoSpace",f[f.Overlap=2]="Overlap",j=function(){},a.Abc=j,(i=h=a.LabelPosition||(a.LabelPosition={}))[i.NotSet=0]="NotSet",i[i.Center=1]="Center",i[i.Inside=2]="Inside",i[i.Outside=3]="Outside",z.rotatePoint=function(b,c,d,e,f){var g=z.rotateVector(b-d,c-e,f);return new a.core.Point(g.x+d,g.y+e)},z.rotateVector=function(b,c,d){var e=Math.sin(d),f=Math.cos(d);return new a.core.Point(b*f-c*e,b*e+c*f)},z.isBetween=function(a,b,c){return b<=a&&a<=c||c<=a&&a<=b},z.Bbc=function(a,b){var c=Math.atan2(a.y-b.y,a.x-b.x);return c<0&&(c+=x.Cbc),c},z.Dbc=function(a,b,c){return z.isBetween(a,b,c)||z.isBetween(a+x.Cbc,b,c)||z.isBetween(a-x.Cbc,b,c)},z.getLineInfo=function(b,c){var d=b.x,e=b.y,f=c.x,g=c.y;return{length:z.DQa(b,c),angle:Math.atan2(g-e,f-d),center:new a.core.Point((d+f)/2,(e+g)/2)}},z.Ebc=function(b,c,d){var e=z.getLineInfo(b,c);return new a.shapes.qwb(e.center.x,e.center.y,e.length,d,e.angle)},z.Fbc=function(a,b,c){var d,e,f;if(null!=b&&1<b.length){if(!(1<c))return this.Gbc(a,b);for(d=b.length-1,e=0;e<d;e++)if(f=z.Ebc(b[e],b[e+1],c),a.intersectsWith(f))return!0}return!1},z.Gbc=function(b,c){if(null!=c&&1<c.length)for(var d=b.center,e=b.size,f=d.x,g=d.y,h=new a.core.Rect(f-e.width/2,g-e.height/2,e.width,e.height),i=b.angle,j=c.map(function(a){return z.rotatePoint(a.x,a.y,f,g,-i)}),k=0,l=j.length-1;k<l;k++)if(z.isRectIntersectWithLineByPoints(h,j[k],j[k+1]))return!0;return!1},z.isRectIntersectWithLineByPoints=function(a,b,c){var d,e,f,g,h,i=b.x,j=b.y,k=c.x,l=c.y,m=a.left,n=a.right,o=a.top,p=a.bottom,q=k-i,r=z.isBetween(o,j,l),s=z.isBetween(p,j,l);if(0==q)return z.isBetween(i,m,n)&&(r||s);if(d=l-j,e=z.isBetween(m,i,k),f=z.isBetween(n,i,k),0==d)return z.isBetween(j,o,p)&&(e||s);if(e||f){if(g=d*((e?m:n)-i)/(k-i),z.isBetween(j+g,o,p))return!0;if(e&&f&&z.isBetween(j+(g=d*(n-i)/(k-i)),o,p))return!0}if(r||s){if(h=((r?o:p)-j)*q/d,z.isBetween(h+i,m,n))return!0;if(r&&s&&z.isBetween((h=(p-j)*q/d)+i,m,n))return!0}return!1},z.Hbc=function(a,b,c,d){var e,f,g,h,i,j,k,l;if(null!=a&&null!=c&&(e=a.length,f=c.length,0<e&&0<f))for(e--,f--,g=0;g<e;g++)for(h=a[g],i=a[g+1],j=0;j<f;j++)if(k=c[j],l=c[j+1],z.Ibc(h,i,b,k,l,d))return!0;return!1},z.isPointOnLineSegment=function(a,b,c){return z.isBetween(b.x,a.x,c.x)&&z.isBetween(b.y,a.y,c.y)},z.getOrientationByPoints=function(a,b,c){var d=(b.y-a.y)*(c.x-b.x)-(b.x-a.x)*(c.y-b.y);return 0==d?0:0<d?1:2},z.isTwoLineIntersect=function(a,b,c,d){var e=this.getOrientationByPoints(a,b,c),f=this.getOrientationByPoints(a,b,d),g=this.getOrientationByPoints(c,d,a),h=this.getOrientationByPoints(c,d,b);return e!=f&&g!=h||!(0!=e||!this.isPointOnLineSegment(a,c,b))||!(0!=f||!this.isPointOnLineSegment(a,d,b))||!(0!=g||!this.isPointOnLineSegment(c,a,d))||!(0!=h||!this.isPointOnLineSegment(c,b,d))},z.Ibc=function(a,b,c,d,e,f){if(c<=1&&f<=1)return z.isTwoLineIntersect(a,b,d,e);var g=void 0;return 1<c?(g=z.Ebc(a,b,c),z.Fbc(g,[d,e],f)):(g=z.Ebc(d,e,f),z.Fbc(g,[a,b],c))},z.DQa=function(a,b){var c=a.x,d=a.y,e=b.x,f=b.y;return Math.sqrt((c-e)*(c-e)+(d-f)*(d-f))},z.Jbc=function(a,b){void 0===b&&(b=!0);var c=new j;return c.success=a==e.Success,c.resultCode=a,c.canRetry=b,c},k=z;function z(){}A.prototype.getPrevious=function(a){var b=a.indexOf(this);return-1==b?null:0==b?a[a.length-1]:a[b-1]},A.prototype.getNext=function(a){var b=a.indexOf(this);return-1==b?null:b==a.length-1?a[0]:a[b+1]},A.prototype.Afb=function(a){return 0==arguments.length?this.lYb:void(this.lYb=a)},A.prototype.ssb=function(a){return 0==arguments.length?this.tsb:void(this.tsb=a)},A.prototype.wsb=function(a,b){for(var c=0,d=a;c<d.length;c++)if(d[c].intersectsWith(b))return!0;return!1},A.prototype.Kbc=function(b,c,d){var e=this.ssb(),f=b*Math.cos(c),g=b*Math.sin(c);return f=A.Lbc(e.x+f,d),g=A.Lbc(e.y+g,d),new a.core.Point(f,g)},A.prototype.Mbc=function(b,c){var d,e,f,g=this.fgb(),i=g.Ceb(),j=i.bRa(),k=g.SIa(b,new a.core.Size(Number.MAX_VALUE,Number.MAX_VALUE)),l=j.$z().config.text.offset,m=g.SH(),n=i.CPa(),o=n,p=i.BPa(),q=p.x,r=p.y,s=i.DPa(),t=i.MPa(),u=t+s/2,v=Math.sin(u),w=Math.cos(u),y=c.map(function(a){return a.Xvb()}),z=new a.core.Point(q+w*o,r+v*o);if(this.tsb=z,g.Nbc=null,m==a.TextPosition.Center||m==a.TextPosition.Auto){if(d=g.getDefaultLabelRectangle(m,p,u,o,k),!this.wsb(y,d))return g.Xvb(d),void this.Afb(h.Center);m=a.TextPosition.Inside}if(m==a.TextPosition.Inside){if(null!=l&&(o=n-l),d=g.getDefaultLabelRectangle(m,p,u,o,k),!this.wsb(y,d))return g.Xvb(d),void this.Afb(h.Inside);m=a.TextPosition.Outside}null!=l&&(o=n+l),d=g.getDefaultLabelRectangle(m,p,u,o,k),e=u%x.Cbc,f=z.clone(),0<l&&(f=new a.core.Point(p.x+Math.cos(u)*o,p.y+Math.sin(u)*o)),this.Obc(d,l,e,null,f),this.Afb(h.Outside),this.Pbc(n,t,s,u,k,l)},A.prototype.Pbc=function(a,c,d,e,f,g){var h,i=x.Cbc,j=e%i;j<0&&(j+=i),h=new b,h.startAngle=c%i,h.sweep=d,h.angle=j,h.radius=a,h.size=f.clone(),h.offset=g,this.Qbc=h,this.Rbc=g,this.PEa=j},A.Sbc=function(b,c,d,e,f,g){var h,i,j,l,m,n=e-Math.PI/2,o=e+Math.PI/2;for(e<0&&(c-=Math.PI);!k.isBetween(c,n,o);)c+=Math.PI;return h=f.x,i=f.y,j=g.horizontalLineWidth,l=b/2+j,m=new a.core.Point(h+l*Math.cos(c),i+l*Math.sin(c)),l=j,{center:m,linePoints:[d,f,new a.core.Point(h+l*Math.cos(c),i+l*Math.sin(c))]}},A.prototype.needConnectingLines=function(){return 0<this.Tbc},A.prototype.connectingLineWidth=function(){return this.Tbc},A.prototype.fgb=function(){return this.tgb},A.prototype.angle=function(){return this.Qbc.angle},A.prototype.startAngle=function(){return this.Qbc.startAngle},A.prototype.endAngle=function(){return this.Qbc.startAngle+this.Qbc.sweep},A.prototype.offset=function(){return this.Qbc.offset},A.prototype.pieRadius=function(){return this.Qbc.radius},A.prototype.Ubc=function(a){var b=this.fgb();return a.intersectsWith(b.Xvb())||k.Fbc(a,b.Nbc,this.connectingLineWidth())},A.prototype.Vbc=function(a,b,c){var d=this.fgb(),e=d.Xvb(),f=d.Nbc,g=this.connectingLineWidth();return e.intersectsWith(a)||k.Fbc(e,b,c)||k.Fbc(a,f,g)||k.Hbc(b,c,f,g)},A.prototype.Wbc=function(a,b){return a.points.some(function(a){return!b.contains(a)})},A.prototype.Xbc=function(a,b,c){void 0===c&&(c=0);var d=this.pieRadius()+c,e=d*d,f=a.x,g=a.y;return b.points.some(function(a){var b,c=a.x-f;return!(Math.abs(c)>=d)&&(b=a.y-g,!(Math.abs(b)>=d)&&c*c+b*b<e)})},A.prototype.Ybc=function(a,b,c){var d,e,f,g,h,i,j,l,m,n,o,p,q;if(this.needConnectingLines()){for(d=this.angle(),e=this.Qbc.size,f=e.width,g=e.height,h=this.ssb(),i=Math.max(a.width,a.height),j=d-Math.PI/4,l=d+Math.PI/4,m=Math.min(f,g),n=null,o=null,p=m;p<i;p++)if(n=(q=this.Zbc(this.Kbc(p,d,c.pointNormalizeUnit),p,d,b,a,c)).rotatedRectangle,!this.Xbc(b,n)&&!this.Wbc(n,a)){if(k.Dbc(k.Bbc(q.rotatedRectangle.center,h),j,l))return void this.Obc(q.rotatedRectangle,p,d,q.linePoints,q.connectionPoint);o=q}if(null==o)for(p=1;p<m;p++)if(n=(q=this.Zbc(this.Kbc(p,d,c.pointNormalizeUnit),p,d,b,a,c)).rotatedRectangle,!this.Xbc(b,n)&&!this.Wbc(n,a)){if(k.Dbc(k.Bbc(q.rotatedRectangle.center,h),j,l))return void this.Obc(q.rotatedRectangle,p,d,q.linePoints,q.connectionPoint);o=q}null!=o&&this.$bc(o)}},A.Lbc=function(a,b){return Math.round(a/b)*b},A.prototype._bc=function(b,c,d,e,f){var h,i,j,k,l,m=c.radius,n=c.angle,o=this.angle(),p=b.angleRange/2,q=b.radiusStep,r=b.angleStep,s=o-p,t=o+p,u=Math.max(this.offset(),q);0==m&&(n=e?s:t),j=!1;do{if(d&&(m+=q),!d||j){if(n+=(e?1:-1)*r,e&&t<n){if(j)return null;n=s,d||(m+=q)}else if(!e&&n<s){if(j)return null;n=t,d||(m+=q)}j=!1}k=this.Kbc(m,n,b.pointNormalizeUnit),h=k.x,i=k.y,f.contains(k)||(d&&(m=u),j=!0)}while(j||h==c.point.x&&i==c.point.y);return l=new g,l.angle=n,l.radius=m,l.point=new a.core.Point(h,i),l},A.prototype.Zbc=function(b,d,e,f,g,h){var i,j,k=this.fgb(),l=this.Qbc,m=k.Zsb(),n=this.ssb(),o=this.needConnectingLines(),p=l.size.width,q=l.size.height,r=null,s=null;return o?(i=A.Sbc(p,m,n,e,b,h),s=new a.shapes.qwb(i.center.x,i.center.y,p,q,m),r=i.linePoints):s=k.getOutsideLabelRectangleByPoint(b,f,l.size,!1),j=new c,j.rotatedRectangle=s,j.linePoints=r,j.connectionPoint=b,j.radius=d,j.angle=e,j},A.prototype.Obc=function(a,b,c,d,e){var f=this.tgb;f.Xvb(a),f.Nbc=d,this.Rbc=b,this.PEa=c,this.acc=e},A.prototype.bcc=function(){this.ccc=this.dcc()},A.prototype.dcc=function(){var a=this.tgb,b=new c;return b.rotatedRectangle=a.Xvb(),b.linePoints=a.Nbc,b.radius=this.Rbc,b.angle=this.PEa,b.connectionPoint=this.acc,b},A.prototype.$bc=function(a){this.Obc(a.rotatedRectangle,a.radius,a.angle,a.linePoints,a.connectionPoint)},A.prototype.ecc=function(a){if(!a&&null!=this.ccc){var b=this.ccc;this.Obc(b.rotatedRectangle,b.radius,b.angle,b.linePoints,b.connectionPoint)}this.ccc=null},A.prototype.validate=function(a,b){if(null!=a)for(var c=0,d=a;c<d.length;c++)if(!d[c].isValidPosition(this,b))return!1;return!0},A.prototype.intersectWith=function(a,b){for(var c=this.connectingLineWidth(),d=0,e=b;d<e.length;d++)if(e[d].Vbc(a.rotatedRectangle,a.linePoints,c))return!0;return!1},A.prototype.fcc=function(a){var b=this.needConnectingLines();return k.Bbc(b?this.acc:this.fgb().Xvb().center,a)},A.prototype.gcc=function(a,b,c,d){var e,f,g,h,i,j;for(e=this.needConnectingLines(),f=k.Bbc(e?a.connectionPoint:a.rotatedRectangle.center,c),g=0,h=b;g<h.length;g++)if(i=h[g],j=Math.sin(f-i.fcc(c)),0!=j&&d!=0<j)return!1;return!0},l=A;function A(a){this.lYb=h.NotSet,this.hcc={},this.icc=!1,this.tgb=a,this.Tbc=a.getConnectingLineWidth()}a.jcc=l,B.prototype.isValidPosition=function(a,b){return a.needConnectingLines()||k.Dbc(k.Bbc(b.posInfo.rotatedRectangle.center,b.pieCenter),a.startAngle(),a.endAngle())},m=B;function B(){}C.prototype.isValidPosition=function(a,b){return!a.Xbc(b.pieCenter,b.posInfo.rotatedRectangle,a.offset())},n=C;function C(){}D.prototype.isValidPosition=function(a,b){return!a.Wbc(b.posInfo.rotatedRectangle,b.viewRect)},o=D;function D(){}E.prototype.isValidPosition=function(a,b){return a.gcc(b.posInfo,this.pEa,b.pieCenter,!0)&&!a.intersectWith(b.posInfo,this.pEa)},p=E;function E(a){this.pEa=a}F.prototype.isValidPosition=function(a,b){return a.gcc(b.posInfo,this.pEa,b.pieCenter,b.clockwise)&&!a.intersectWith(b.posInfo,this.pEa)},q=F;function F(a){this.pEa=a}G.prototype.isValidPosition=function(a,b){var c,d,e,f,g=a.ssb(),h=this.kcc,i=b.clockwise;return h.x==g.x&&h.y==g.y?(d=a.angle(),e=b.layoutOption.angleRange/2,c=i?d-e:d+e):c=k.Bbc(this.kcc,g),i?c+=this.lcc:c-=this.lcc,f=Math.sin(b.posInfo.angle-c),0!=f&&i==0<f},r=G;function G(b,c){a.ePb.dPb(null!=b&&0<c),this.kcc=b,this.lcc=c}H.prototype.isValidPosition=function(a,b){return!a.intersectWith(b.posInfo,this.pEa)},s=H;function H(a){this.pEa=a.getItemsNeedConsiderCheck()}I.prototype.isValidPosition=function(a,b){var c=a.needConnectingLines(),d=k.Bbc(c?b.posInfo.connectionPoint:b.posInfo.rotatedRectangle.center,b.pieCenter);
- return 0<Math.sin(d-this.P9a)==0<Math.sin(a.angle()-this.P9a)},t=I;function I(a){this.P9a=a}J.prototype.isValidPosition=function(a,b){var c=a.needConnectingLines(),d=b.posInfo,e=b.pieCenter,f=k.Bbc(c?d.connectionPoint:d.rotatedRectangle.center,e),g=this.hRa.fcc(e);return 0<Math.sin(f-g)==0<Math.sin(a.angle()-this.hRa.angle())&&!this.hRa.Vbc(d.rotatedRectangle,d.linePoints,a.fgb().getConnectingLineWidth())},u=J;function J(a){this.hRa=a}K.prototype.sweep=function(){return this.ZFa},K.prototype.startAngle=function(){return this.$Fa},K.prototype.angle=function(){return(this.$Fa+this.ZFa/2)%x.Cbc},K.prototype.items=function(){return this.GAa},K.prototype.getItemsNeedConsiderCheck=function(){return this.GAa.filter(function(a){return!a.icc})},K.mcc=function(a,b){var c,d=a.length;return 1<d?(c=Math.floor((d+1)/2),b?a.slice(0,c):a.slice(c)):a.slice()},K.prototype.ncc=function(a,b){var c,d,e,f,g,h,i,j=this.getItemsNeedConsiderCheck().slice(),k=a.getItemsNeedConsiderCheck().slice();for(b||(e=j,j=k,k=e),(c=K.mcc(j,!1)).reverse(),d=K.mcc(k,!0),f=function(a){var b=a.fgb().Xvb(),c=a.fgb().Nbc;if(d.some(function(d){return d.Vbc(b,c,a.connectingLineWidth())}))return{value:!0}},g=0,h=c;g<h.length;g++)if(i=f(h[g]),"object"==typeof i)return i.value;return!1},K.prototype.getNext=function(a){var b=a.indexOf(this);return-1==b?null:b==a.length-1?a[0]:a[b+1]},K.prototype.getPrevious=function(a){var b=a.indexOf(this);return-1==b?null:0==b?a[a.length-1]:a[b-1]},K.occ=function(a){if(null!=a)for(var b=0,c=a;b<c.length;b++)c[b].bcc()},K.pcc=function(a){return null!=a?a.map(function(a){return a.dcc()}):[]},K.qcc=function(b,c){if(a.ePb.dPb(null!=b&&null!=c&&b.length==c.length),null!=b)for(var d=b.length,e=0;e<d;e++)b[e].$bc(c[e])},K.rcc=function(a,b){if(null!=a)for(var c=0,d=a;c<d.length;c++)d[c].ecc(b)},K.prototype.scc=function(a,b,c,d,e,f,g,h,i){var j,k,l,m,n,o,p;if(void 0===i&&(i=!1),e.length<=0)return!1;if(j=(e=e.slice()).pop(),k=i,K.occ(e),l=[j.acc.x,j.acc.y].join("_"),j.hcc[l])return!1;m=[j],K.occ(m);do{if(n=this.tcc(a,b,c,j,i?!d:d,e,f,g,h,k),n.success)return!0;if(0==e.length)return!1;if(!n.canRetry){K.rcc(m,!1);break}if(this.scc(a,b,c,d,e,f,g.concat(new q([j])),h))return!0;j.hcc[l]=!0,l=[j.acc.x,j.acc.y].join("_"),k=!0}while(0<e.length);for(j.hcc[l]=!0,o=0,p=e;o<p.length;o++)p[o].hcc={};return K.rcc(e,!1),!1},K.ucc=function(a,b,c,e,f){var g=new d;return g.posInfo=a,g.pieCenter=c,g.viewRect=b,g.layoutOption=f,g.clockwise=e,g},K.prototype.tcc=function(a,b,c,d,f,h,i,j,l,p){var q,r,s,t,u,v=[new m,new n,new o],w=new g;for(w.point=d.acc,w.radius=d.Rbc,w.angle=d.PEa,q=d._bc(c,w,l,f,a);null!=q;q=d._bc(c,q,l,f,a))if(r=q.radius,s=q.angle,t=d.Zbc(q.point,r,s,b,a,c),u=K.ucc(t,a,b,f,c),d.validate(v,u)&&d.validate(i,u)&&d.validate(j,u)){if(0<j.length)return d.Obc(t.rotatedRectangle,r,s,t.linePoints,t.connectionPoint),k.Jbc(d.intersectWith(t,h)?e.Overlap:e.Success);if(d.gcc(t,h,b,f)){if(!d.intersectWith(t,h))return d.Obc(t.rotatedRectangle,r,s,t.linePoints,t.connectionPoint),k.Jbc(e.Success);if(p)return d.Obc(t.rotatedRectangle,r,s,t.linePoints,t.connectionPoint),k.Jbc(e.Overlap)}}return k.Jbc(e.NoSpace,!1)},K.prototype.vcc=function(a,b,c,d,e,f,g){var h,i,j,k,l,m,n,o;for(d=d.slice(),e||d.reverse(),i=[],j=[],null!=f&&j.push(f),k=[],l=0,m=d;l<m.length;l++)n=m[l],0<j.length&&!n.intersectWith(n.dcc(),j)?(j.push(n),i.push(n)):(K.occ(i),o=[],o=o.concat(i).concat(n),(h=this.tcc(a,b,c,n,e,i,g,[],!1,!1).success)||(K.occ([n]),h=this.scc(a,b,c,!e,o,g,[],!1,!0),K.rcc([n],h)),h?(j.push(n),i.push(n)):(n.icc=!0,k.push(n)),K.rcc(i,h))},K.prototype.wcc=function(a,b,c){var d,e,f,g,h,i,j=this.items(),k=j.length;k<=1||(h=null,k%2==1?((h=j[g=(k-1)/2]).Ybc(a,b,c),d=new u(h),e=j.slice(0,g),f=j.slice(g+1)):(i=j[(g=k/2)-1],i.Ybc(a,b,c),(i=j[g]).Ybc(a,b,c),d=new t(j[g].startAngle()),e=j.slice(0,g),f=j.slice(g)),this.vcc(a,b,c,e,!1,h,[d]),this.vcc(a,b,c,f,!0,h,[d,new p(e)]))},K.prototype.C6b=function(a,b,c,d,e,f,g){var h,i=this.getItemsNeedConsiderCheck(),j=i.length,l=i[d?0:j-1],m=l.PEa+(d?e:-e),n=c.angleRange/2,o=l.angle(),p=o-n,q=o+n;return!!k.Dbc(m,p,q)&&(h=[new r(l.acc.clone(),e)],d||h.push(new s(g)),i=i.slice(),d&&i.reverse(),this.scc(a,b,c,d,i,[],h.concat(f),!0))},v=K;function K(b){var c,d=this;a.ePb.dPb(null!=b&&0<b.length),this.GAa=b,c=0,b.forEach(function(a){c+=a.fgb().Ceb().DPa(),a.group=d}),this.ZFa=c,this.$Fa=b[0].startAngle()}a.xcc=v,w=a.dbc,__extends(L,w),L.prototype.ycc=function(){var a=Math.PI/180,b=new y;return b.angleStep=2*a,b.pushAngleStep=5*a,b.angleRange=135*a,b.radiusStep=3,b.pointNormalizeUnit=1,b.horizontalLineWidth=5,b},L.prototype.zcc=function(){return this.Acc},L.prototype.Bcc=function(){return this.Acc.center},L.prototype._R=function(a){var b,c,d,e,f,g=this.YOb().ggb().slice();for(g.sort(function(a,b){return null!=a.fgb()&&null!=b.fgb()?b.DPa()-a.DPa():0}),b=[],c=0,d=g;c<d.length;c++)e=d[c],f=this.Ccc(e),null!=f&&(this.pEa.push(f),f.Mbc(a,b),b.push(f.fgb()));this.Dcc=this.Ecc(),this.i5b()},L.prototype.Ccc=function(a){if(!a.bz())return null;if(0==a.aT()._items().length)return null;var b=a.fgb();return new l(b)},L.prototype.Ecc=function(){return this.pEa.filter(function(a){return a.Afb()==h.Outside}).sort(function(a,b){return a.angle()-b.angle()})},L.prototype.Fcc=function(a,b,c){var d,e,f,g,h,i,j=a.items().length,k=b.items().length,l=j<k||j==k&&a.sweep()<b.sweep()?(d=a,e=b,!1):(d=b,e=a,!0),m=!0,n=!0,o=1,p=c.angleRange,r=null,s=null,t=!0,u=!0;do{if(p<(f=o*c.pushAngleStep))break;if(t)if(v.occ(d.items()),g=u?[]:[new q(e.items())],m=d.C6b(this.zcc(),this.Bcc(),c,l,f,g,d.getPrevious(this.Gcc))){if(!a.ncc(b,!0))break;r=v.pcc(d.items())}else t=!1,u&&null!=r&&v.qcc(d.items(),r);if(u)if(v.occ(e.items()),h=t?[]:[new q(d.items())],n=e.C6b(this.zcc(),this.Bcc(),c,!l,f,h,e.getPrevious(this.Gcc))){if(!a.ncc(b,!0))break;s=v.pcc(e.items())}else u=!1,t&&null!=s&&v.qcc(e.items(),s);t&&v.rcc(d.items(),!1),u&&v.rcc(e.items(),!1),o++}while(t||u);i=m||n,v.rcc(d.items(),i),v.rcc(e.items(),i)},L.prototype.i5b=function(){var a,b,c,d,e,f,g,h=this.Hcc(),i=this.zcc(),j=this.Bcc();for(this.Gcc=h.slice(),a=0,b=h;a<b.length;a++)(g=b[a]).wcc(i,j,this.Icc);if(1<h.length)for(c=null,d=[],e=0,f=d=d.concat(h).concat(h[0]);e<f.length;e++)g=f[e],null!=c&&c.ncc(g,!0)&&this.Fcc(c,g,this.Icc),c=g},L.Jcc=function(a,b){return a.fgb().Xvb().intersectsWith(b.fgb().Xvb())},L.prototype.Hcc=function(){var a,b,c,d=this.Dcc,e=d.length,f=[];if(1<e){for(a=void 0,b=[],c=0;c<e;c++)a=d[c],b.push(a),L.Jcc(a,a.getNext(d))||(f.push(new v(b)),b=[]);if(0<b.length){if(!(0<f.length))return[new v(d)];b=b.concat(f[0].items()),f[0]=new v(b)}}else 0<e&&f.push(new v(d));return f},L.Cbc=2*Math.PI,x=L;function L(a){var b=w.call(this,a)||this;return b.pEa=[],b.Dcc=[],b.Gcc=[],b.Acc=a.APa(),b.Icc=b.ycc(),b}a.rbc=x}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.cbc,__extends(d,b),d.prototype.getConnectingLineWidth=function(){var b=this.getConnectingLineOption();return null==b||a.core.UOb.isNullNumber(b.strokeWidth)?0:b.strokeWidth},d.prototype.ssb=function(){return this.tsb},d.prototype.usb=function(){return this.vsb},d.prototype.Zsb=function(a){return 0==arguments.length?this.Ysb:void(null!=a&&(this.Ysb=a))},d.prototype.calcTextAutoPositionBy=function(b,c,d,e,f,g){if(b!=a.TextPosition.Auto)return b;null==g&&(g=0);var h=this.Ceb().CPa(),i=c.x+Math.cos(d)*(h+g),j=c.y+Math.sin(d)*(h+g);return this.calculateTextAutoPositionBy(i,j,c,e,d,f)},d.prototype.getDefaultLabelRectangle=function(b,c,d,e,f){if(b!=a.TextPosition.Center&&b!=a.TextPosition.Auto)return b==a.TextPosition.Inside?this.getDefaultInsideLabelRectangle(c,d,e,f):b==a.TextPosition.Outside?this.getOutsideLabelRectangleByPoint(new a.core.Point(c.x+Math.cos(d)*e,c.y+Math.sin(d)*e),c,f,!0):(a.ePb.dPb(!1),null);var g=e/2;return new a.shapes.qwb(c.x+g*Math.cos(d),c.y+g*Math.sin(d),f.width,f.height,d)},d.prototype.getDefaultInsideLabelRectangle=function(b,c,d,e){var f=Math.sin(c),g=Math.cos(c),h=this.Zsb(),i=e.width,j=e.height,k=b.x,l=b.y,m=new a.shapes.qwb(0,0,i,j,h),n=m.getBoundRectangle().size,o=n.width/2,p=n.height/2,q=new a.core.Point(k+g*d,l+f*d),r=q.x,s=q.y;return m=k<r?l<s?new a.shapes.qwb(r-o,s-p,i,j,h):s<l?new a.shapes.qwb(r-o,s+p,i,j,h):new a.shapes.qwb(r-o,s,i,j,h):r<k?l<s?new a.shapes.qwb(r+o,s-p,i,j,h):s<l?new a.shapes.qwb(r+o,s+p,i,j,h):new a.shapes.qwb(r+o,s,i,j,h):l<s?new a.shapes.qwb(r,s-p,i,j,h):s<l?new a.shapes.qwb(r,s+p,i,j,h):new a.shapes.qwb(r,s,i,j,h)},d.prototype.getOutsideLabelRectangleByPoint=function(b,c,d,e){var f=this.Ceb().bRa().z5a().xsb(),g=this.Zsb(),h=d.width,i=d.height,j=c.x,k=c.y,l=new a.shapes.qwb(0,0,h,i,g),m=l.getBoundRectangle().size,n=m.width,o=m.height,p=n/2,q=o/2,r=b.x,s=b.y,t=f.right,u=f.left,v=f.top,w=f.bottom;return l=j<r?(e&&t<r+n&&(r=t-n),k<s?(e&&w<s+o&&(s=w-o),new a.shapes.qwb(r+p,s+q,h,i,g)):s<k?(e&&s-o<v&&(s=v+o),new a.shapes.qwb(r+p,s-q,h,i,g)):new a.shapes.qwb(r+p,s,h,i,g)):r<j?(e&&r-n<u&&(r=u+n),k<s?(e&&w<s+o&&(s=w-o),new a.shapes.qwb(r-p,s+q,h,i,g)):s<k?(e&&s-o<v&&(s=v+o),new a.shapes.qwb(r-p,s-q,h,i,g)):new a.shapes.qwb(r-p,s,h,i,g)):k<s?(e&&w<s+o&&(s=w-o),new a.shapes.qwb(r,s+q,h,i,g)):s<k?(e&&s-o<v&&(s=v+o),new a.shapes.qwb(r,s-q,h,i,g)):new a.shapes.qwb(r,s,h,i,g),e&&(b.x=r,b.y=s),l},d.prototype.Eeb=function(c,d){if(null!=this.getConnectingLineOption()){var e=this.Nbc;null!=e&&1<e.length?(c.beginTransform(),this._Ja(c),c.drawLines(e.map(function(a){return a.x}),e.map(function(a){return a.y}),a.nRb.LineClassName),c.restoreTransform()):b.prototype.Eeb.call(this,c,d)}},d.prototype.TQb=function(b,c,d){var e,f,g,h,i,j,k,l,m=this.Ceb(),n=m.bRa();m.APa(),e=this.SIa(b,new a.core.Size(Number.MAX_VALUE,Number.MAX_VALUE)),f=n.$z().config.text.offset,g=null,h=null,i=this.SH(),j=m.BPa(),k=m.MPa()+m.DPa()/2,i==a.TextPosition.Center?(l=m.NPa()+(m.CPa()-m.NPa())/2,h=(g=new a.core.Point(j.x+Math.cos(k)*l,j.y+Math.sin(k)*l)).clone(),this.Xvb(new a.shapes.qwb(h.x,h.y,e.width,e.height,k))):(l=m.CPa(),g=new a.core.Point(j.x+Math.cos(k)*l,j.y+Math.sin(k)*l),i==a.TextPosition.Auto&&(i=this.calcTextAutoPositionBy(i,j,k,this.calculateRadius(n.XQb(),k),e,f)),i==a.TextPosition.Inside?(null!=f&&(l-=f),h=new a.core.Point(j.x+Math.cos(k)*l,j.y+Math.sin(k)*l),this.Xvb(this.getDefaultInsideLabelRectangle(j,k,l,e))):(null!=f&&(l+=f),h=new a.core.Point(j.x+Math.cos(k)*l,j.y+Math.sin(k)*l),this.Xvb(this.getOutsideLabelRectangleByPoint(h,j,e,!0)))),this.tsb=g,this.vsb=h},d);function d(a,c){var d=b.call(this,a,c)||this;return d.Ysb=0,d}a.Vtb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.rgb,__extends(d,b),d.prototype.M6a=function(b){var c,d,e,f,g,h=[],i=b.MPa(),j=b.DPa();for(0==j&&(j=1),c=1,4<j?c=3:2<j&&(c=2),d=b.BPa(),e=b.CPa(),f=0;f<=c;f++)g=i+f/c*j,h.push(new a.core.Point(d.x+Math.cos(g)*e,d.y+Math.sin(g)*e));if(0===(e=b.NPa()))h.push(b.BPa().clone());else for(f=0;f<=c;f++)g=i+f/c*j,h.push(new a.core.Point(d.x+Math.cos(g)*e,d.y+Math.sin(g)*e));return h},d);function d(a){return b.call(this,a)||this}a.Wgb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Z1a,__extends(d,b),d.prototype.queryInterface=function(a){return"IDisplayablePipeLine"===a?this.drawablePipeline:b.prototype.queryInterface.call(this,a)},d.prototype.P8b=function(){return new a.AttachmentAgentManager(new a.D$b(this))},d.prototype.kgb=function(){return new a.Wgb(this)},d.prototype.BPa=function(a){return 0==arguments.length?this.KMa:void(null!=a&&(this.KMa=a.clone()))},d.prototype.CPa=function(a){return 0==arguments.length?this.LMa:void(null!=a&&(this.LMa=a))},d.prototype.NPa=function(a){return 0==arguments.length?this.YFa:void(null!=a&&(a<0&&(a=0),this.YFa=a))},d.prototype.MPa=function(a){return 0==arguments.length?this.$Fa:void(null!=a&&(this.$Fa=a))},d.prototype.DPa=function(a){return 0==arguments.length?this.ZFa:void(null!=a&&(this.ZFa=a))},d.prototype.v8a=function(){var b=a.x7.createPtsFromRadialBar(this.$Fa,this.ZFa+this.$Fa,this.LMa,this.YFa,this.KMa,200);this.WPa(b.xs),this.XPa(b.ys)},d.prototype.draw=function(b,c){var d=this.bRa().q4a().s4a().$z().bar.borderRadius,e=a.options.YYb.XYb(this.BPa().x,this.BPa().y,this.CPa()*((this.scale()-1)/2+1),this.NPa()*(1-(this.scale()-1)/2),this.MPa(),this.DPa(),d);null!=e?b.drawPath(e,a.PathFillType.Nonzero,a.LineCap.Butt,a.LineJoin.Miter):b.drawDonutSegment(this.BPa().x,this.BPa().y,this.CPa()*((this.scale()-1)/2+1),this.NPa()*(1-(this.scale()-1)/2),this.MPa(),this.DPa(),null,null,null)},d.prototype.contains=function(a){var b,c,d,e,f=a.x-this.BPa().x,g=a.y-this.BPa().y,h=f*f+g*g,i=this.NPa()*this.NPa(),j=this.CPa()*this.CPa();return i<=h&&h<=j&&(b=90*this.DPa()/Math.PI,c=this.Wtb(180*this.MPa()/Math.PI+b),d=180*Math.atan2(g,f)/Math.PI,e=this.Wtb(c-d),Math.abs(e)<=b)},d.prototype.cutOff=function(){return!1},d.prototype.Nbb=function(b,c){var d,e=this.Dgb(),f=this.aT();b.beginTransform(),a.NQb.Jqb(b,this.yy()),b.fill=e,b.stroke=e,null!=f.Ata().X5a()&&f instanceof a.models.SCa&&(b.fill=f.Ata().X5a().eb(f.Qb()).color),a.NQb.a3b(b,this.bRa().q4a().s4a().$z().style),d=this.ZQb(),null!=d?a.NQb.$Qb(b,d):(a.NQb.$Qb(b,this.bRa().$z().config.style),a.NQb.$Qb(b,this.aT().Ata().dhb().Wqa())),c.hasSelectionInPlotArea&&(this.KQa()?(null!=(d=this._Qb())?a.NQb.$Qb(b,d):(a.NQb.$Qb(b,this.bRa().q4a().s4a().$z().selectedStyle),a.NQb.$Qb(b,this.bRa().$z().config.selectedStyle)),c.apiSelectedStyle&&a.NQb.$Qb(b,c.apiSelectedStyle)):null!=(d=this.aRb())?a.NQb.$Qb(b,d):(a.NQb.$Qb(b,this.bRa().q4a().s4a().$z().unselectedStyle),a.NQb.$Qb(b,this.bRa().$z().config.unselectedStyle))),this.B5a()&&a.NQb.$Qb(b,this.bRa().$z().config.hoverStyle),this.drawablePipeline.flush(b,c),b.restoreTransform()},d.prototype.ftb=function(){var b=[],c=a.plugins.w1a.QOa("Default");return null!=c&&(b=c.toLines(this.aT().D5a())),null!=b&&0<b.length?new a.Vtb(this,b):null},d.prototype.mr=function(c,d){if(this.drawablePipeline.contains(c)){var e=new a.HitTestResult(c,this,this,a.ElementType.DataPoint);return null==d||null!=d&&d.predicate(e)?e:null}return b.prototype.mr.call(this,c,d)},d.prototype.Wtb=function(a){var b=(a+180)%360-180;return b<-180&&(b+=360),b},d);function d(c,d){var e=b.call(this,c,d)||this;return e.drawablePipeline=new a.DisplayablePipeLine(e),e}a.mMa=c}(dv=dv||{}),function(a){"use strict";var b,c,d,e=(b=a.u4a,__extends(f,b),f.prototype.Udb=function(){var b,c,d=this.aT(),e=!1,f=this.yIa()?this.WQb():this.XQb();null!=f.scale&&f.scale.type==a.ValueScaleType.Percentage&&(e=!0),b=!1,null!=this.XOb().e6a()&&(b=!0),c=this.plugins().build(this,"PlotLayout",this.$z()),null==c&&(c=new a.models.C6a),c._R(d,e,b)},Object.defineProperty(f.prototype,"lineAspect",{get:function(){return this.$z().config.lineAspect},enumerable:!0,configurable:!0}),f.prototype.mgb=function(a){return new d(this,a,this.$z())},f.prototype.ahb=function(b){return new a.tMa(this,b)},f.prototype.UQb=function(a,c,d){var e,f,g;for(e=0,f=this.Zgb();e<f.length;e++)g=f[e],g.APa(c.clone()),g._R(a,c,d),this.oi.push(g);b.prototype.UQb.call(this,a,c,d)},f.prototype.OQb=function(){return this.PQb()},f.prototype.QQb=function(){return this.PQb()},f.prototype.PQb=function(){var c=this.XOb().e6a(),d=this.XOb().ZOb();if(null==c&&null!=d)return 0;if(this.Oac()){if(this.htb()==a.AxisMode.Cartesian)return.5;if(!this.yIa())return.5}return b.prototype.PQb.call(this)},f.prototype.Wac=function(){var b,c,d,e,f,g,h,i,j;if(this.Yac()||this.y9b())return!1;for(b=!1,c=this.J8b(),d=this.K8b(),e=0,f=this.ggb();e<f.length;e++)g=f[e],h=g.aT(),h instanceof a.models.XCa&&(i=this._La(h.Q5a()),i=null!=i?i:NaN,j=h.Qb(),(null!=d&&(j>d.LPa()||j<d.KPa())||null!=c&&(i>c.LPa()||i<c.KPa()))&&(g.bz(!1),null!=g.fgb()&&g.fgb().bz(!1),b=!0));return b},f);function f(a,c){return b.call(this,a,c)||this}a.jbb=e,c=a.models.w6a,__extends(g,c),g.prototype.t6a=function(b,c,d,e){return c instanceof a.models.G3a?new a.models.YCa(this,c,d,e,b):null},d=g;function g(a,b,d){return c.call(this,a,b,d)||this}a.Xtb=d}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.X1a,__extends(d,b),d.prototype.yIa=function(){return this.bRa().yIa()},d.prototype.yy=function(){return a.y3b.VOa()},d.prototype.Tpb=function(b){return arguments.length<=0?this.Atb:void(this.Atb=b.map(function(b){return b instanceof a.shapes.Ztb?b:null}))},d.prototype.TQb=function(a,c,d){b.prototype.TQb.call(this,a,c,d),this.Atb=this.$tb(this.data()),this._tb()},d.prototype.Nbb=function(b,c){var d,e,f,g,h,i,j=this.data();b.beginTransform(),a.NQb.Jqb(b,this.yy()),d=this.bRa().aT().OOa().getColor(0),null!=d&&(b.stroke=d),e=j.tE(),null!=e&&(b.stroke=e),null!=j.X5a()&&(f=Number.MIN_VALUE,g=Number.MAX_VALUE,h=this.bRa().$z().config.showNulls,i=this.bRa().$z().config.showNaNs,j.points().forEach(function(b){null==b.Qb()&&h!=a.ShowNulls.Zeros||isNaN(b.Qb())&&i!=a.ShowNulls.Zeros||(b.Qb()>f&&(f=b.Qb()),b.Qb()<g&&(g=b.Qb()))}),b.stroke=new a.models.bSb(180,this.data().X5a().J8a(g,f))),a.NQb.a3b(b,this.bRa().q4a().s4a().$z().style),a.NQb.$Qb(b,this.Wqa()),c.hasSelectionInPlotArea&&(this.KQa()?(a.NQb.$Qb(b,this.dVb()),c.apiSelectedStyle&&a.NQb.$Qb(b,c.apiSelectedStyle)):a.NQb.$Qb(b,this.Fac())),this.B5a()&&a.NQb.$Qb(b,this.data().plot().$z().config.hoverStyle),b.fill="none",this.Atb.forEach(function(a){a.width=b.strokeWidth,1<a.fua().length&&(a.fua()[0].equals(a.fua()[a.fua().length-1])?b.drawPolygon(a.WPa(),a.XPa()):b.drawLines(a.WPa(),a.XPa()))}),b.restoreTransform()},d.prototype.mr=function(c,d){var e,f,g,h,i,j,k=this.APa();if(null!=k&&k.contains(c)&&null!=this.Atb)for(e=0,f=this.Atb;e<f.length;e++)for(g=f[e],h=g.fua(),i=0;i<h.length-1;++i)if(a.x7.pointToLine(h[i].x,h[i].y,h[i+1].x,h[i+1].y,c.x,c.y)<a.shapes.Ztb.t3b(g.width))return j=new a.HitTestResult(c,this,this,a.ElementType.Series),null==d||null!=d&&d.predicate(j)?j:null;return b.prototype.mr.call(this,c,d)},d.prototype.$tb=function(b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;if(null==b.points()||b.points().length<=0)return null;for(c=this.bRa(),d=c.$z().config.axisMode,e=c.$z().config.showNulls,f=c.$z().config.showNaNs,g=b.V4a()instanceof a.models.bWb,h=c.WQb(),i=c.XQb(),j=(h.LPa()-h.KPa())/(h.Vma()-h.oI()),k=(i.LPa()-i.KPa())/(i.Vma()-i.oI()),isNaN(j)&&(j=1),isNaN(k)&&(k=1),l=[],m=[],n=0,o=b.points();n<o.length;n++)p=o[n],q=c._La(p.Q5a()),null!=q&&p instanceof a.models.XCa&&(null==p.y6a()?e==a.ShowNulls.Gaps?(r=this.gMa(m),l.push(new a.shapes.Ztb(r)),m=[]):e==a.ShowNulls.Zeros&&m.push(new a.core.Point(q,0)):isNaN(p.y6a())?f==a.ShowNulls.Gaps?(r=this.gMa(m),l.push(new a.shapes.Ztb(r)),m=[]):f==a.ShowNulls.Zeros&&m.push(new a.core.Point(q,0)):m.push(new a.core.Point(q,p.y6a())));return d!=a.AxisMode.Cartesian&&g&&(0<l.length&&0<l[0].fua().length?m.push(l[0].fua()[0].clone()):0==l.length&&0<m.length&&m.push(m[0].clone())),0<m.length&&(r=this.gMa(m),l.push(new a.shapes.Ztb(r))),l},d.prototype._tb=function(){var b,c,d,e,f,g,h=this;null!=this.Atb&&(b=this.Atb,c=this.bRa(),d=c.$z().config.axisMode,e=c.J8b(),f=c.K8b(),g=c.$z().config.lineAspect,b.forEach(function(b){var i,j,k,l,m;if(b.fua().forEach(function(b){var g,i=e.Qb(b.x),j=f.Qb(b.y);h.yIa()&&(g=i,i=j,j=g),d==a.AxisMode.Polygonal||d==a.AxisMode.Radial?(b.x=Math.cos(j)*i+c.wPa(),b.y=Math.sin(j)*i+c.xPa()):(b.x=i,b.y=j)}),g==a.LineAspect.Spline)for(i=b.fua(),j=h.hMa(i),k=i.length=0,l=j;k<l.length;k++)m=l[k],i.push(m)}))},d.prototype.gMa=function(b){var c=this.bRa().$z().config.lineAspect;return new a.AIa((!1),c).convert(b)},d.prototype.hMa=function(b){var c,d=new a.THa(b.map(function(a){return a.x}),b.map(function(a){return a.y})).calculate();for(b=[],c=0;c<Math.min(d.xs.length,d.ys.length);c++)b.push(new a.core.Point(d.xs[c],d.ys[c]));return b},d.Pfb=10,d);function d(a,c){var d=b.call(this,a,c)||this;return d.Atb=[],d}a.tMa=c}(dv=dv||{}),function(a){"use strict";var b,c,d,e=(b=a.u4a,__extends(f,b),f.prototype.R=function(a){return!0},f.prototype.mgb=function(a){return new d(this,a,this.$z())},f.prototype.OQb=function(){return this.PQb()},f.prototype.QQb=function(){return this.PQb()},f.prototype.PQb=function(){if(null!=this.XOb().e6a()){if(this.htb()==a.AxisMode.Cartesian)return.5;if(!this.yIa())return.5}return b.prototype.PQb.call(this)},f.prototype.Wac=function(){var b,c,d,e,f,g,h,i,j;if(this.Yac()||this.y9b())return!1;for(b=!1,c=this.J8b(),d=this.K8b(),e=0,f=this.ggb();e<f.length;e++)g=f[e],g.bz()&&(h=g.aT(),h instanceof a.models.XCa&&(i=this._La(h.Q5a()),i=null!=i?i:NaN,j=h.Qb(),(null!=d&&(j>d.LPa()||j<d.KPa())||null!=c&&(i>c.LPa()||i<c.KPa()))&&(g.bz(!1),null!=g.fgb()&&g.fgb().bz(!1),b=!0)));return b},f.prototype.gsb=function(){var b,c,d,e,f,g,h,i;for(b=this.WQb(),c=this.XQb(),d=new a.core.Rect(b.APa().left,c.APa().top,b.APa().width,c.APa().height),e=this.K8b(),f=0,g=this.ggb();f<g.length;f++)h=g[f],h.bz()&&(i=h.aT(),null==i||i.Qb()!=e.LPa()&&i.Qb()!=e.KPa()||(d=a.core.Rect.union(d,h.APa())));return d},f);function f(a,c){return b.call(this,a,c)||this}a.pbb=e,c=a.models.w6a,__extends(g,c),g.prototype.t6a=function(b,c,d,e){return c instanceof a.models.G3a?new a.models.YCa(this,c,d,e,b):null},d=g;function g(a,b,d){return c.call(this,a,b,d)||this}a.gub=d}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.u4a,__extends(d,b),d.prototype.Kcc=function(){return this.f3a()},d.prototype.mSa=function(){return new a.yVb},d.prototype.R=function(){return this.$z().config.symbols},d.prototype.UP=function(){return this.$z().config.offset},d.prototype.ggb=function(){var a,b,c,d;for(a=[],b=0,c=this.Zgb();b<c.length;b++)d=c[b],a.push.apply(a,d.ggb());return a},d.prototype.Oac=function(){var b,c,d,e=this.WQb();return null!=e.scale&&e.scale.type==a.ValueScaleType.Ordinal||(b=this.Kcc(),null!=b.e6a()||(c=b.ZOb(),null!=c&&(d=c.N2a().field,null!=d.queryInterface("IStringDataField")||null!=d.queryInterface("IBooleanDataField"))))},d.prototype.IBa=function(b){var c,d=this.XOb().e6a(),e=this.XOb().i6a();return null!=d?new a.models.LCa(d,e,b):(c=this.XOb().ZOb(),null!=c?this.Oac()?new a.models.vWb(c):new a.models.qBa(c):new a.models.SOa)},d.prototype.Zeb=function(b){var c,d,e=this.z5a().zdb(this.f3a().coordinateSystemDefinition);e instanceof a.Iab&&(c=a.x7.find(b,function(b){return b.type==a.AxisType.X}),c=null==c?a.lab.Tcb:c,d=a.x7.find(e.U3b(),function(a){return a.$z()==c}),null!=d?this.Pac=d:(this.Pac=e.Vcb(a.Orientation.Horizontal,c),e.U3b().push(this.Pac),e.K3b(c.viewSize),e.O3b(c.scrollbarVisible),this.Vdb(),this.Wdb()))},d.prototype.Vdb=function(){var b,c,d,e,f=this.XOb().e6a(),g=null;null!=f&&(g=f.a3a()[0]),b=this.XOb().ZOb(),null!=b&&(g=b.N2a()),c=this.WQb(),d=c.$z(),e=null,e=null!=g?d.scale.type==a.ValueScaleType.Ordinal?new a.F8a:d.scale.type==a.ValueScaleType.Logarithmic&&g instanceof a.models.k3a?new a.E8a(d.logBase):d.scale.type==a.ValueScaleType.Linear&&g instanceof a.models.k3a||d.scale.type==a.ValueScaleType.Percentage&&g instanceof a.models.k3a?new a.f5a:g instanceof a.models.j3a||g instanceof a.models.m3a?new a.F8a:g instanceof a.models.l3a?new a.H8a:new a.f5a:new a.f5a,c.j4b(e)},d.prototype.Wdb=function(){var a,b,c=this.WQb();(null==c.d5a()||c.d5a().length<=0)&&(a=this.xSite.min,b=this.xSite.max,c.GJa(this.xSite),c.RWb(.5),c.TWb(.5),c.d5a([a,b]))},d.prototype.Rbb=function(a){b.prototype.Rbb.call(this,a)},d.prototype.tac=function(){var c,d,e;for(b.prototype.tac.call(this),c=0,d=this.atb();c<d.length;c++)e=d[c],e instanceof a.h$b&&e.O8b()},d.prototype.u7b=function(){b.prototype.u7b.call(this),(new a.models.PWb).NGa(this)},d.prototype.TQb=function(c,e,f){var g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;if(this.z5a().zdb(this.f3a().coordinateSystemDefinition)instanceof a.Iab){for(g=this.WQb(),h=[],i=function(b){var c,d,e,f,g,i=a.Group.Cluster,k=b.data().W4a();for(null!=k&&(i=k.f3a().cb()),c=void 0,d=a.x7.findIndex(h,function(a){return a.group==i}),-1==d?(c={minWidthInValues:j.RPa(),group:i,dimensionValueWithPoints:[]},h.push(c)):c=h[d],e=function(b){var d=b,e=b.aT().Q5a(),f=void 0,g=a.x7.findIndex(c.dimensionValueWithPoints,function(a){return a.dimensionValue==e});-1==g?(f={dimensionValue:e,pointViews:[d],pointSizes:[]},c.dimensionValueWithPoints.push(f)):(f=c.dimensionValueWithPoints[g]).pointViews.push(d)},f=0,g=b.ggb();f<g.length;f++)e(g[f])},j=this,k=0,l=this.Zgb();k<l.length;k++)i(l[k]);for(m=0,n=function(b){for(var d=function(d){var e=0;d.pointViews.forEach(function(f){var g=f.SIa(c,new a.core.Size(Number.MAX_VALUE,Number.MAX_VALUE));b.group==a.Group.Stack?e+=g.height:e=Math.max(e,g.height),d.pointSizes.push(g)}),m=Math.max(m,e)},e=0,f=b.dimensionValueWithPoints;e<f.length;e++)d(f[e])},o=0,p=h;o<p.length;o++)n(u=p[o]);for(q=e.clone(),q.top+=(q.height-m)/2,q.height=m,r=null==this.UP()?0:this.UP(),s=0,t=h;s<t.length;s++)for(v=function(b){var e,h,i,j=new a.core.Point(g.Qb(b.pointViews[0]._La()),q.bottom);u.group==a.Group.Stack?b.pointViews.forEach(function(d,e){var g=null==d.offset?r:d.offset,h=b.pointSizes[e];d._R(c,new a.core.Rect(j.x-h.width/2,j.y-h.height-g,h.width,h.height),f),j.y-=h.height}):(e=0,h=0,b.pointViews.forEach(function(a,c){var d=b.pointSizes[c];e+=d.width,d.height,h=Math.max(h,d.height)}),e+=(b.pointViews.length-1)*d.Lcc,i=j.x-e/2,b.pointViews.forEach(function(e,g){var k=null==e.offset?r:e.offset,l=b.pointSizes[g];e._R(c,new a.core.Rect(i,j.y-h+(h-l.height)/2-k,l.width,l.height),f),i+=l.width+d.Lcc}))},w=0,x=(u=t[s]).dimensionValueWithPoints;w<x.length;w++)v(x[w]);b.prototype.TQb.call(this,c,q,f),this.Tac(c,e,f)}},d.prototype.Tac=function(b,c,d){var e=this;this.Zgb().forEach(function(b){var d=e.WQb();b.ggb().forEach(function(b){var e=b._La(),f=d.convert(Math.max(e-.5,d.min)),g=d.convert(Math.min(e+.5,d.max)),h=c.top,i=c.bottom;b.Cac(new a.shapes.qwb((f+g)/2,(h+i)/2,Math.abs(g-f),Math.abs(i-h),0))})})},d.prototype.UQb=function(a,b,c){},d.prototype.Nbb=function(b,c){var d,e,f,g;for(b.beginTransform(),this.ggb().forEach(function(a){a.ueb(b,c)}),a.NQb.n0b(b,this.$z().config.text.textStyle),d=0,e=this.Zgb();d<e.length;d++)for(f=0,g=e[d].ggb();f<g.length;f++)g[f].yl(b,c);b.restoreTransform()},d.prototype.RPa=function(){var a,b,c,d,e,f,g,h,i;for(a=NaN,b=null,c=0,d=this.Zgb();c<d.length;c++)for(e=0,f=d[c].ggb();e<f.length;e++)g=f[e],h=NaN,null==b?(i=g._La(),i>this.WQb().KPa()&&(h=2*(i-this.WQb().KPa()))):h=Math.abs(g._La()-b._La()),!isNaN(h)&&(isNaN(a)||h<a)&&(a=h),b=g;return a},d.prototype.mgb=function(b){return new a.models.A7a(this,b,this.$z())},d.prototype.ahb=function(b){return new a.bhb(b,this)},d.prototype.ghb=function(a){return null},d.prototype.jvb=function(){},d.Lcc=5,d);function d(a,c){return b.call(this,a,c)||this}a.tbb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Z1a,__extends(d,b),Object.defineProperty(d.prototype,"parent",{get:function(){return this.dhb()},enumerable:!0,configurable:!0}),d.prototype.P8b=function(){return new a.AttachmentAgentManager(new a.W$b(this,this.A$b()))},d.prototype.HOa=function(){return this.aT().Ata().HOa()},d.prototype.Eac=function(){this.iRa=this.bbc()},d.prototype.getSymbolShape=function(){var a=this.ZQb(),b=null;return null!=a?null!=a.symbolShape&&""!=a.symbolShape&&(b=a.symbolShape):(null!=(a=this.bRa().$z().config.style)&&null!=a.symbolShape&&""!=a.symbolShape&&(b=a.symbolShape),null!=(a=this.aT().Ata().dhb().Wqa())&&null!=a.symbolShape&&""!=a.symbolShape&&(b=a.symbolShape)),b},d.prototype.bbc=function(){var b,c;return this.bRa().R()?(b=this.getSymbolShape(),null==b&&null!=this.dhb().Wqa()&&null!=this.dhb().Wqa().symbolShape&&""!=this.dhb().Wqa().symbolShape&&(b=this.dhb().Wqa().symbolShape),null==b&&(b=this.aT().nSa()),c=a.plugins.w1a.Za(b),null==c&&(c=a.plugins.w1a.Za("Box")),c):null},d.prototype._La=function(){var a,b=this.bRa().WQb(),c=this.aT();if(b.H4b())return c.Q5a().mi();if(b.s0b()||b.F4b()){if("number"==typeof(a=c.Q5a().Qb()))return a}else if(b.G4b()&&null!=(a=c.Q5a().Qb())&&a instanceof Date)return a.valueOf();return null},d.prototype.dhb=function(){return this.chb},d.prototype.Kb=function(){var a,b=this.HOa();return null!=b&&(a=b.N2a(),null!=a&&null!=a.format)?a.format:null},d.prototype.zsa=function(){var b=this.aT().Qb(),c=a.plugins.w1a.lPa("Default");return null!=c?c.format(this.Kb(),b):""+b},d.prototype.SIa=function(b,c){b.beginTransform(),this.GHa(b);var e=b.measureString(this.zsa()),f=null!=this.iRa?this.Kfb(e):new a.core.Size(0,0);return b.restoreTransform(),new a.core.Size(f.width+e.width+(0<f.width?d.Mcc:0),e.height)},d.prototype.TQb=function(a,b,c){this.APa(b)},d.prototype.ueb=function(b,c){var d,e=this.Cac();null!=e&&(d=this.backgroundColor(c),null!=d&&(b.beginTransform(),a.NQb.c3b(b,d),e instanceof a.shapes.qwb&&b.drawRect(e.center.x-e.size.width/2,e.center.y-e.size.height/2,e.size.width,e.size.height),b.restoreTransform()))},d.prototype.Nbb=function(b,c){var e,f,g,h=this.Dgb(),i=this.bRa();b.beginTransform(),i.R()||("string"==typeof h?b.textFill=h:h instanceof a.models.bSb?0<h.colorStops.length&&(b.textFill=h.colorStops[0].color):h instanceof a.models.cSb&&0<h.colorStops.length&&(b.textFill=h.colorStops[0].color)),b.stroke=h,this.GHa(b),e=this.APa().clone(),null!=this.iRa&&(f=b.measureString(this.zsa()),g=this.Kfb(f),this.iRa.color=h,this.iRa.render(b,new a.core.Rect(e.left,e.top+(f.height-g.height)/2,e.width-f.width,g.height),null),e.left+=g.width+d.Mcc,e.width-=g.width),c.hasSelectionInPlotArea&&(this.aT().KQa()?(a.NQb.n0b(b,this.bRa().q4a().s4a().$z().selectedTextStyle),a.NQb.n0b(b,this.bRa().$z().config.selectedTextStyle)):(a.NQb.n0b(b,this.bRa().q4a().s4a().$z().unselectedTextStyle),a.NQb.n0b(b,this.bRa().$z().config.unselectedTextStyle))),this.B5a()&&(e=a.x7.scale(this.APa().clone(),this.scale())),b.drawMultipleStrings(this.zsa(),e,a.HAlign.Center,a.TextOverflow.Clip),b.restoreTransform()},d.prototype.Dgb=function(){var b=this.aT(),c=b.tE();return null==c&&(c=b.Ata().tE()),null==c&&(c=a.nRb.StyleColor),c},d.prototype.Kfb=function(b){var c=16;return 0<b.height&&(c=.7*b.height),new a.core.Size(c,c)},d.prototype.GHa=function(b){a.NQb.n0b(b,this.bRa().$z().config.text.textStyle);var c=this.aT().Oz();null!=c&&(b.fontSize=a.yVb.wVb(c))},d.Mcc=5,d);function d(a,c){var d=b.call(this,a.bRa(),c)||this;return d.chb=a,d}a.ehb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.X1a,__extends(d,b),d.prototype.fhb=function(){var a,b,c,d;for(a=0,b=this.data().points();a<b.length;a++)c=b[a],d=this.ghb(c),null!=d&&this.ggb().push(d)},d.prototype.ghb=function(b){return new a.ehb(this,b)},d.prototype.Eac=function(){for(var a=0,b=this.ggb();a<b.length;a++)b[a].Eac()},d);function d(a,c){var d=b.call(this,c,a)||this;return d.fhb(),d}a.bhb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.qgb,__extends(d,b),d.prototype.ihb=function(){return this.hhb},d.prototype.Zgb=function(){return this.Ygb},d.prototype.ggb=function(){var a,b,c,d;for(a=[],b=0,c=this.Zgb();b<c.length;b++)d=c[b],a.push.apply(a,d.ggb());return a},d.prototype.NWb=function(){return this.f3a()},d.prototype.Zeb=function(b){var c=this.aT();this.hhb=this.jhb(c.p7a(),b.filter(function(b){return b.type==a.AxisType.Y}))},d.prototype.Rbb=function(a){b.prototype.Rbb.call(this,a),this._gb()},d.prototype.TQb=function(a,c,d){b.prototype.TQb.call(this,a,c,d);for(var e=0,f=this.Zgb();e<f.length;e++)f[e]._R(a,c,d)},d.prototype.Nbb=function(a,c){var d,e,f,g;for(b.prototype.Nbb.call(this,a,c),d=0,e=this.ihb();d<e.length;d++)e[d].yl(a,c);for(f=0,g=this.Zgb();f<g.length;f++)g[f].yl(a,c)},d.prototype.mgb=function(b){return new a.models.t7a(this,b,this.$z())},d.prototype.jhb=function(b,c){var d=this,e=[];return b.forEach(function(b,f){var g=f<c.length?c[f]:new a.options.QEa(null),h=d.Vcb(b,g);null!=h&&e.push(h)}),e},d.prototype.Vcb=function(b,c){return new a.geb(this,c,b)},d.prototype._gb=function(){var a,b,c,d;for(a=0,b=this.aT().J5a();a<b.length;a++)c=b[a],d=this.ahb(c),null!=d&&this.Zgb().push(d)},d.prototype.ahb=function(b){return new a.khb(this,b)},d);function d(a,c){var d=b.call(this,a,c)||this;return d.hhb=[],d.Ygb=[],d}a.lhb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.lhb,__extends(d,b),d.prototype.ihb=function(){return b.prototype.ihb.call(this)},d.prototype.TQb=function(c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q,r=this.ihb();if(1<r.length){for(f=0,g=[],h=0,i=r;h<i.length;h++)j=(q=i[h]).SIa(c,new a.core.Size(d.width,d.height)).width,g.push({axisView:q,size:j}),f+=j;for(d.width>f&&(d.width,r.length),k=d.left,l=0,m=g;l<m.length;l++)n=m[l],n.axisView._R(c,new a.core.Rect(k,d.top,n.size,d.height),n);
- }else for(o=0,p=r;o<p.length;o++)j=(q=p[o]).SIa(c,new a.core.Size(d.width,d.height)).width,q._R(c,new a.core.Rect(d.left,d.top,j,d.height),e);b.prototype.TQb.call(this,c,d,e)},d.prototype.Vcb=function(b,c){return new a.heb(this,c,b)},d);function d(a,c){return b.call(this,a,c)||this}a.mhb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.jgb,__extends(d,b),Object.defineProperty(d.prototype,"parent",{get:function(){return null},enumerable:!0,configurable:!0}),d.prototype.dhb=function(){return this.chb},d.prototype.Idb=function(){return this.Jdb},d.prototype.TQb=function(a,b,c){var d,e,f,g,h;for(d=this.aT(),e=d.o7a(),f=0,g=this.dhb().bRa().ihb();f<g.length;f++)if(h=g[f],h.o7a()==e){this.Jdb=h.eeb(d.OWb());break}},d);function d(a,c){var d=b.call(this,a.bRa(),c)||this;return d.chb=a,d}a.nhb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.MIa,__extends(d,b),d.prototype.bRa=function(){return this.x3b()},d.prototype.ggb=function(){return this.xgb},d.prototype.aT=function(){return this.Tza},d.prototype.Wqa=function(){return null==this.tEa&&(this.tEa=this.bRa().$z().config.style.clone()),this.tEa},d.prototype.TQb=function(a,c,d){b.prototype.TQb.call(this,a,c,d);for(var e=0,f=this.ggb();e<f.length;e++)f[e]._R(a,c,d)},d.prototype.fhb=function(a){var b,c,d,e,f;for(b=[],c=0,d=a;c<d.length;c++)e=d[c],f=this.ghb(e),null!=f&&b.push(f);return b},d.prototype.ghb=function(b){return null!=b.OWb()?new a.nhb(this,b):null},d);function d(a,c){var d=b.call(this,a)||this;return d.Tza=c,d.xgb=d.fhb(c.fua()),d}a.khb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.lhb,__extends(d,b),d.prototype.TQb=function(c,d,e){var f,g,h,i,j,k=this.ihb(),l=new a.core.Point((d.left+d.right)/2,(d.top+d.bottom)/2),m=Math.min(d.width/2,d.height/2),n=new a.core.Rect(l.x-m,l.y-m,2*m,2*m);if(0<k.length)for(f=360/k.length,g=0,h=0,i=k;h<i.length;h++)j=i[h],j.center=l,j.radius=m,j.degree=g,j.feb(),j._R(c,n,e),g+=f;b.prototype.TQb.call(this,c,d,e)},d.prototype.Vcb=function(b,c){return new a.oeb(this,c,b)},d);function d(a,c){return b.call(this,a,c)||this}a.ohb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.mhb,__extends(d,b),d.prototype.mSa=function(){return new a.Igb},d.prototype.Zgb=function(){return b.prototype.Zgb.call(this)},d.prototype.ahb=function(b){return new a.phb(this,b)},d);function d(a,c){return b.call(this,a,c)||this}a.qhb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.khb,__extends(d,b),d.prototype.TQb=function(a,c,d){var e,f,g;if(b.prototype.TQb.call(this,a,c,d),this.GMa=[],this.HMa=[],0<this.ggb().length){for(e=0,f=this.ggb();e<f.length;e++)g=f[e].Idb(),null!=g&&(this.GMa.push(g.x),this.HMa.push(g.y));this.GMa.push(this.GMa[0]),this.HMa.push(this.HMa[0])}},d.prototype.Nbb=function(b,c){var d,e;b.beginTransform(),d=this.bRa().aT().OOa(),a.NQb.iqb(b,d.getColor(0)),e=this.aT().color,null!=e&&(b.fill=e),this.GHa(b,this.Wqa()),c.hasSelectionInPlotArea&&(this.aT().KQa()?(this.GHa(b,this.bRa().q4a().s4a().$z().selectedStyle),this.GHa(b,this.bRa().$z().config.selectedStyle),c.apiSelectedStyle&&a.NQb.$Qb(b,c.apiSelectedStyle)):(this.GHa(b,this.bRa().q4a().s4a().$z().unselectedStyle),this.GHa(b,this.bRa().$z().config.unselectedStyle))),this.B5a()&&this.GHa(b,this.bRa().$z().config.hoverStyle),0<this.GMa.length&&0<this.HMa.length&&b.drawPolygon(this.GMa,this.HMa),b.restoreTransform()},d.prototype.GHa=function(b,c){var d;null!=c&&(null!=c.fill&&(b.fill=a.NQb.Ypb(c.fill)),a.core.UOb.isNullNumber(c.opacity)||"string"!=typeof b.fill||"none"==b.fill||"transparent"==b.fill||((d=a.core.ica.fromCss(b.fill)).alpha=d.alpha*c.opacity,b.fill=d.toCss()),null!=c.stroke&&(b.stroke=a.NQb.Ypb(c.stroke)),a.core.UOb.isNullNumber(c.strokeOpacity)||"string"!=typeof b.stroke||"none"==b.stroke||"transparent"==b.stroke||((d=a.core.ica.fromCss(b.stroke)).alpha=d.alpha*c.strokeOpacity,b.stroke=d.toCss()),null==c.strokeWidth||a.core.UOb.isNullNumber(c.strokeWidth.top)||(b.strokeWidth=c.strokeWidth.top),null!=c.strokeDasharray&&(b.strokeDasharray=c.strokeDasharray))},d);function d(a,c){return b.call(this,a,c)||this}a.phb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.ohb,__extends(d,b),d.prototype.mSa=function(){return new a.Igb},d.prototype.ahb=function(b){return new a.phb(this,b)},d);function d(a,c){return b.call(this,a,c)||this}a.lbb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.mhb,__extends(d,b),d.prototype.mSa=function(){return new a.Xgb((!1))},d.prototype.Zgb=function(){return b.prototype.Zgb.call(this)},d.prototype.ahb=function(b){return new a.rhb(this,b)},d);function d(a,c){return b.call(this,a,c)||this}a.shb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.khb,__extends(d,b),d.prototype.yy=function(){return a.y3b.VOa()},d.prototype.TQb=function(a,c,d){var e,f,g;if(b.prototype.TQb.call(this,a,c,d),this.GMa=[],this.HMa=[],0<this.ggb().length){for(e=0,f=this.ggb();e<f.length;e++)g=f[e].Idb(),null!=g&&(this.GMa.push(g.x),this.HMa.push(g.y));this.GMa.push(this.GMa[0]),this.HMa.push(this.HMa[0])}},d.prototype.Nbb=function(b,c){var d,e;b.beginTransform(),a.NQb.Jqb(b,this.yy()),d=this.bRa().aT().OOa().getColor(0),null!=d&&(b.stroke=d),e=this.aT().color,null!=e&&(b.stroke=e),this.GHa(b,this.Wqa()),c.hasSelectionInPlotArea&&(this.aT().KQa()?(this.GHa(b,this.bRa().q4a().s4a().$z().selectedStyle),this.GHa(b,this.bRa().$z().config.selectedStyle),c.apiSelectedStyle&&a.NQb.$Qb(b,c.apiSelectedStyle)):(this.GHa(b,this.bRa().q4a().s4a().$z().unselectedStyle),this.GHa(b,this.bRa().$z().config.unselectedStyle))),this.B5a()&&this.GHa(b,this.bRa().$z().config.hoverStyle),0<this.GMa.length&&0<this.HMa.length&&b.drawLines(this.GMa,this.HMa),b.restoreTransform()},d.prototype.GHa=function(b,c){var d;null!=c&&(null!=c.fill&&(b.fill=a.NQb.Ypb(c.fill)),a.core.UOb.isNullNumber(c.opacity)||"string"!=typeof b.fill||"none"==b.fill||"transparent"==b.fill||((d=a.core.ica.fromCss(b.fill)).alpha=d.alpha*c.opacity,b.fill=d.toCss()),null!=c.stroke&&(b.stroke=a.NQb.Ypb(c.stroke)),a.core.UOb.isNullNumber(c.strokeOpacity)||"string"!=typeof b.stroke||"none"==b.stroke||"transparent"==b.stroke||((d=a.core.ica.fromCss(b.stroke)).alpha=d.alpha*c.strokeOpacity,b.stroke=d.toCss()),null==c.strokeWidth||a.core.UOb.isNullNumber(c.strokeWidth.top)||(b.strokeWidth=c.strokeWidth.top),null!=c.strokeDasharray&&(b.strokeDasharray=c.strokeDasharray))},d);function d(a,c){return b.call(this,a,c)||this}a.rhb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.ohb,__extends(d,b),d.prototype.ahb=function(b){return new a.rhb(this,b)},d);function d(a,c){return b.call(this,a,c)||this}a.nbb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.Geb,__extends(d,b),d.prototype.ssb=function(){return this.tsb},d.prototype.usb=function(){return this.vsb},d.prototype.isViewHidden=function(a){return a.aT().Qb()<=0},d.prototype.calcTextAutoPositionBy=function(b,c,d,e,f,g,h){if(b!=a.TextPosition.Auto)return b;null==g&&(g=0);var i=c.x+Math.cos(d)*(g+e),j=c.y+Math.sin(d)*(g+e);return i>c.x?i+=f.width:i<c.x&&(i-=f.width),j>c.y?j+=f.height:j<c.y&&(j-=f.height),i<h.left||i>h.right||j<h.top||j>h.bottom?a.TextPosition.Inside:a.TextPosition.Outside},d.prototype.TQb=function(b,c,d){var e,f,g,h,i,j,k,l,m,n,o=this.Ceb();this.isViewHidden(o)?this.bz(!1):(e=o.bRa(),o.APa(),f=e.z5a().xsb(),g=this.SIa(b,new a.core.Size(Number.MAX_VALUE,Number.MAX_VALUE)),h=e.$z().config.text.offset,i=null,j=null,k=this.SH(),l=o.BPa(),m=o.MPa()+o.DPa()/2,k==a.TextPosition.Center?(n=o.NPa()+(o.CPa()-o.NPa())/2,j=(i=new a.core.Point(l.x+Math.cos(m)*n,l.y+Math.sin(m)*n)).clone(),this.Xvb(new a.shapes.qwb(j.x,j.y,g.width,g.height,m))):(n=o.CPa(),k==a.TextPosition.Auto&&(k=this.calcTextAutoPositionBy(k,l,m,n,g,h,f)),i=new a.core.Point(l.x+Math.cos(m)*n,l.y+Math.sin(m)*n),k==a.TextPosition.Inside?(null!=h&&(n-=h),(j=new a.core.Point(l.x+Math.cos(m)*n,l.y+Math.sin(m)*n)).x>l.x?j.y>l.y?this.Xvb(new a.shapes.qwb(j.x-g.width/2,j.y-g.height/2,g.width,g.height,0)):j.y<l.y?this.Xvb(new a.shapes.qwb(j.x-g.width/2,j.y+g.height/2,g.width,g.height,0)):this.Xvb(new a.shapes.qwb(j.x-g.width/2,j.y,g.width,g.height,0)):j.x<l.x?j.y>l.y?this.Xvb(new a.shapes.qwb(j.x+g.width/2,j.y-g.height/2,g.width,g.height,0)):j.y<l.y?this.Xvb(new a.shapes.qwb(j.x+g.width/2,j.y+g.height/2,g.width,g.height,0)):this.Xvb(new a.shapes.qwb(j.x+g.width/2,j.y,g.width,g.height,0)):j.y>l.y?this.Xvb(new a.shapes.qwb(j.x,j.y-g.height/2,g.width,g.height,0)):j.y<l.y?this.Xvb(new a.shapes.qwb(j.x,j.y+g.height/2,g.width,g.height,0)):this.Xvb(new a.shapes.qwb(j.x,j.y,g.width,g.height,0))):(null!=h&&(n+=h),(j=new a.core.Point(l.x+Math.cos(m)*n,l.y+Math.sin(m)*n)).x>l.x?(j.x+g.width>f.right&&(j.x=f.right-g.width),j.y>l.y?(j.y+g.height>f.bottom&&(j.y=f.bottom-g.height),this.Xvb(new a.shapes.qwb(j.x+g.width/2,j.y+g.height/2,g.width,g.height,0))):j.y<l.y?(j.y-g.height<f.top&&(j.y=f.top+g.height),this.Xvb(new a.shapes.qwb(j.x+g.width/2,j.y-g.height/2,g.width,g.height,0))):this.Xvb(new a.shapes.qwb(j.x+g.width/2,j.y,g.width,g.height,0))):j.x<l.x?(j.x-g.width<f.left&&(j.x=f.left+g.width),j.y>l.y?(j.y+g.height>f.bottom&&(j.y=f.bottom-g.height),this.Xvb(new a.shapes.qwb(j.x-g.width/2,j.y+g.height/2,g.width,g.height,0))):j.y<l.y?(j.y-g.height<f.top&&(j.y=f.top+g.height),this.Xvb(new a.shapes.qwb(j.x-g.width/2,j.y-g.height/2,g.width,g.height,0))):this.Xvb(new a.shapes.qwb(j.x-g.width/2,j.y,g.width,g.height,0))):j.y>l.y?(j.y+g.height>f.bottom&&(j.y=f.bottom-g.height),this.Xvb(new a.shapes.qwb(j.x,j.y+g.height/2,g.width,g.height,0))):j.y<l.y?(j.y-g.height<f.top&&(j.y=f.top+g.height),this.Xvb(new a.shapes.qwb(j.x,j.y-g.height/2,g.width,g.height,0))):this.Xvb(new a.shapes.qwb(j.x,j.y,g.width,g.height,0)))),this.tsb=i,this.vsb=j)},d);function d(a,c){return b.call(this,a,c)||this}a.hub=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.yvb,__extends(d,b),d.prototype.pvb=function(a){var b,c;this.oi.length=0,(b=this.oi).push.apply(b,a),(c=this.ggb()).push.apply(c,a)},d.prototype.ghb=function(b,c,d){return new a.yMa(this,b,c)},d.prototype.x4a=function(a){return null==a.color?[]:this.traverseBy(this.CWb(),a)},d.prototype.traverseBy=function(a,b){var c,d,e,f,g,h;if(!a)return null;if(c=a.aT(),c.tE()==b.color&&c.Cj()==b.title)return d=[],this.traverse(a,function(a){d.push(a)}),d;for(e=void 0,f=0,g=a.oi();f<g.length;f++)if(h=g[f],null!=(e=this.traverseBy(h,b)))return e;return null},d.prototype.traverse=function(a,b){var c,d,e;if(a)for(b(a),c=0,d=a.oi();c<d.length;c++)e=d[c],this.traverse(e,b)},d.prototype.UP=function(){var a=this.$z().config.offset;return null!=a&&(1<a?a=1:a<-1&&(a=-1)),a},d.prototype.NPa=function(){return this.$z().config.innerRadius},d.prototype.DPa=function(){return this.$z().config.sweep*Math.PI/180},d.prototype.MPa=function(){return this.$z().config.startAngle*Math.PI/180+3*Math.PI/2},Object.defineProperty(d.prototype,"name",{get:function(){return"Sunburst"},enumerable:!0,configurable:!0}),d.prototype.mr=function(a,c){var d,e,f,g=this.APa();if(null!=g&&g.contains(a))for(d=0,e=this.oi;d<e.length;d++)if(f=e[d].mr(a,c),null!=f)return f;return b.prototype.mr.call(this,a,c)},d.prototype.TQb=function(c,d,e){null!=this.CWb()&&(c.beginTransform(),a.NQb.$Qb(c,this.$z().config.style),a.NQb.n0b(c,this.$z().config.textStyle),null!=this.CWb()&&new a.Ncc(this.CWb(),this.MPa(),this.DPa(),this.NPa(),this.UP())._R(c,d,e),c.restoreTransform(),b.prototype.TQb.call(this,c,d,e))},d.prototype.wac=function(a,b,c){if(0!=c.aT()._items().length){var d=c.fgb(),e=c.queryInterface("IDisplayablePipeLine");null!=d&&0==e.indexOf(c)&&d.yl(a,b)}},d.prototype.Nbb=function(b,c){if(b.beginTransform(),a.NQb.$Qb(b,this.$z().config.style),a.NQb.n0b(b,this.$z().config.textStyle),this.q4a()){a.x7.sort(this.oi,function(a,b){return a!=b&&a.B5a()});for(var d=0;d<this.oi.length;++d)this.oi[d].yl(b,c)}b.restoreTransform()},d.prototype.mgb=function(b){return new a.models.qvb(this,b,this.$z())},d.prototype.Rbb=function(a){b.prototype.Rbb.call(this,a)},d);function d(a,c){return b.call(this,a,c)||this}a.rbb=c}(dv=dv||{}),function(a){"use strict";var b,c,d=(e.prototype.V5b=function(b,c,d,e,f){var g,h,i,j,k,l,m,n,o,p,q,r,s,t;for(g=[],h=a.TOb.toFixed(d+e,16,!0),i=[],j=d;j<h;j+=Math.PI/180)i.push(a.TOb.toFixed(j,16,!0));for(i.push(h),k=0,l=i;k<l.length;k++)j=l[k],m=Math.cos(j),n=Math.sin(j),o=b.clone(),o.x+=c*m,o.y+=c*n,g.push(o),p=b.clone(),p.x+=f*m,p.y+=f*n,g.push(p);return q=NaN,r=NaN,s=NaN,t=NaN,g.forEach(function(a){q=isNaN(q)?a.x:Math.min(a.x,q),s=isNaN(s)?a.x:Math.max(a.x,s),r=isNaN(r)?a.y:Math.min(a.y,r),t=isNaN(t)?a.y:Math.max(a.y,t)}),new a.core.Rect(q,r,s-q,t-r)},e.prototype.fmb=function(a,b){var c,d,e,f,g;if(null!=a&&null!=a.oi())for(c=0,d=a.oi();c<d.length;c++)e=d[c],f=e,g=this.V5b(f.BPa(),f.CPa(),f.MPa(),f.DPa(),f.NPa()),b.push(g),this.fmb(e,b)},e.prototype.W5b=function(b,d,e,f,g){var h,i;return(new c).covert(this.cDa,f.x,f.y,this.$Fa,this.ZFa,this.YFa*g,g,this.rCa,b),h=[],this.fmb(this.cDa,h),i=null,h.forEach(function(b){i=null!=i?a.core.Rect.union(i,b.clone()):b.clone()}),i},e.prototype.X5b=function(a,b,c,d,e,f){for(var g=e,h=null,i=e,j=f;i<=j;)if(g=(j-i)/2+i,(h=this.W5b(a,b,c,d,g)).width>b.width||h.height>b.height)j=g-.1;else{if(!(h.width<b.width&&h.height<b.height))break;i=g+.1}return{radius:g,shape:h}},e.prototype.Y5b=function(a,b,c,d,e){var f,g=Math.abs(b+c);return b>Math.abs(c)?a.x-=.5*g:a.x+=.5*g,f=Math.abs(d+e),d>Math.abs(e)?a.y-=.5*f:a.y+=.5*f,a},e.prototype._R=function(b,d,e){var f,g,h,i,j,k=new a.core.Point(d.left+d.width/2,d.top+d.height/2),l=1e3,m=d.clone(),n=this.V5b(k,l,this.$Fa,this.ZFa,this.YFa*l),o=Math.min(m.width/n.width,m.height/n.height)*l,p=this.X5b(b,m,e,k,0,o);l=p.radius,null!=p.shape&&(k=new a.core.Point(k.x-p.shape.left,k.y-p.shape.top),f=this.W5b(b,m,e,k,l),null!=f&&(g=f.left-m.left,h=f.right-m.right,i=f.top-m.top,j=f.bottom-m.bottom,k=this.Y5b(k,g,h,i,j))),(new c).covert(this.cDa,k.x,k.y,this.$Fa,this.ZFa,this.YFa*l,l,this.rCa,b)},e);function e(a,b,c,d,e){this.cDa=a,this.$Fa=b,this.ZFa=c,this.YFa=d,this.rCa=e}a.Ncc=d,Object.defineProperty(f.prototype,"sweep",{get:function(){return this.endAngle-this.startAngle},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"h",{get:function(){return this.radius-this.innerRadius},enumerable:!0,configurable:!0}),b=f;function f(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}g.prototype.covert=function(a,c,d,e,f,g,h,i,j){this.calcDeep(a.oi()),this.offset=i*(h-g),this.vMa=(h-g-this.offset)/(this.ora-1),this.wPa=c,this.xPa=d;var k=new b(a.oi(),this.wPa,this.xPa,e,e+f,g,g+this.vMa,Math.abs(a.Qb()),0);this.calcSum(k),this.wMa=0!=k.sum?k.sweep/k.sum:0,this.layoutItems(k,j)},g.prototype.calcDeep=function(a){this.ora=0,this.ora=this.xMa(a)+1},g.prototype.xMa=function(a){var b,c,d;if(a&&0<a.length){for(b=0,c=0;c<a.length;c++)d=this.xMa(a[c].oi()),b<d&&(b=d);return++b}return 0},g.prototype.layoutItems=function(c,d){var e,f,g,h,i,j,k;for(e=c.startAngle,f=0;f<c.vs.length;++f)g=c.vs[f],h=g.Qb()*this.wMa,i=c.cx,j=c.cy,0==c.depth&&(i=c.cx+this.offset*Math.cos(e+h/2),j=c.cy+this.offset*Math.sin(e+h/2)),g.layout(new a.core.Point(i,j),c.radius,c.innerRadius,e,h),g.children&&0<g.children.length&&(k=new b(g.oi(),i,j,e,e+h,c.radius,c.radius+this.vMa,0,c.depth+1),this.calcSum(k),this.layoutItems(k,d)),e+=h},g.prototype.calcSum=function(a){for(var b=0,c=0;c<a.vs.length;++c)b+=a.vs[c].Qb();a.sum=b},c=g;function g(){this.showtitle=!0,this.ora=0,this.offset=.1,this.wPa=0,this.xPa=0,this.vMa=0}}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.rgb,__extends(d,b),d.prototype.M6a=function(b){var c,d,e,f,g=[],h=b.MPa(),i=b.DPa();for(0==i&&(i=1),c=i,4<i?c=i/3:2<i&&(c=i/2),d=b.BPa(),e=b.CPa(),f=h;f<=h+i;f+=c)g.push(new a.core.Point(d.x+Math.cos(f)*e,d.y+Math.sin(f)*e));if(0===(e=b.NPa()))g.push(b.BPa().clone());else for(f=h;f<=h+i;f+=c)g.push(new a.core.Point(d.x+Math.cos(f)*e,d.y+Math.sin(f)*e));return g},d);function d(a){return b.call(this,a)||this}a.uhb=c}(dv=dv||{}),function(a){"use strict";var b,c,d=(e.clampAngle=function(a){var b=(a+180)%360-180;return b<-180&&(b+=360),b},e.isRectOverlap=function(a,b){return!(!a||!b||a.left>b.right||a.top>b.bottom||b.left>a.right||b.top>a.bottom)},e);function e(){}b=a.zvb,__extends(f,b),f.prototype.queryInterface=function(a){return"IDisplayablePipeLine"===a?this.drawablePipeline:b.prototype.queryInterface.call(this,a)},f.prototype.Uo=function(){var a=new f(this.bRa(),this.Kac(),this.key);return a.WPa(this.WPa().slice()),a.XPa(this.XPa().slice()),a.bz(this.bz()),a},f.prototype.BPa=function(a){return arguments.length<=0?this.KMa:void(this.KMa=a)},f.prototype.CPa=function(a){return arguments.length<=0?this.LMa:void(this.LMa=a)},f.prototype.NPa=function(a){return arguments.length<=0?this.YFa:void(this.YFa=a)},f.prototype.MPa=function(a){return arguments.length<=0?this.$Fa:void(this.$Fa=a)},f.prototype.DPa=function(a){return arguments.length<=0?this.ZFa:void(this.ZFa=a)},f.prototype.v8a=function(){var b=a.x7.createPtsFromRadialBar(this.$Fa,this.ZFa+this.$Fa,this.LMa,this.YFa,this.KMa,200);this.WPa(b.xs),this.XPa(b.ys)},f.prototype.kgb=function(){return new a.uhb(this)},f.prototype.layout=function(a,b,c,d,e){this.KMa=a,this.LMa=b,this.YFa=c,this.$Fa=d,this.ZFa=e,this.v8a()},f.prototype.Dgb=function(){var a=this.aT().tE();return null==a&&(a=this.bRa().aT().OOa().getColor(0)),a},f.prototype.Nbb=function(b,c){var d,e=this.Dgb();this.aT(),b.beginTransform(),a.NQb.Jqb(b,this.yy()),b.fill=e,b.stroke=e,a.NQb.a3b(b,this.bRa().q4a().s4a().$z().style),d=this.ZQb(),null!=d?a.NQb.$Qb(b,d):a.NQb.$Qb(b,this.bRa().$z().config.style),c.hasSelectionInPlotArea&&(this.KQa()?(null!=(d=this._Qb())?a.NQb.$Qb(b,d):(a.NQb.$Qb(b,this.bRa().q4a().s4a().$z().selectedStyle),a.NQb.$Qb(b,this.bRa().$z().config.selectedStyle)),c.apiSelectedStyle&&a.NQb.$Qb(b,c.apiSelectedStyle)):null!=(d=this.aRb())?a.NQb.$Qb(b,d):(a.NQb.$Qb(b,this.bRa().q4a().s4a().$z().unselectedStyle),a.NQb.$Qb(b,this.bRa().$z().config.unselectedStyle))),this.B5a()&&a.NQb.$Qb(b,this.bRa().$z().config.hoverStyle),this.drawablePipeline.flush(b,c),b.restoreTransform()},f.prototype.draw=function(a,b){a.drawDonutSegment(this.BPa().x,this.BPa().y,this.CPa(),this.NPa()*(1-(this.scale()-1)/2),this.MPa(),this.DPa())},f.prototype.contains=function(a){var b,c,e,f,g=a.x-this.BPa().x,h=a.y-this.BPa().y,i=g*g+h*h,j=this.NPa()*this.NPa(),k=this.CPa()*this.CPa();return j<=i&&i<=k&&(b=90*this.DPa()/Math.PI,c=d.clampAngle(180*this.MPa()/Math.PI+b),e=180*Math.atan2(h,g)/Math.PI,f=d.clampAngle(c-e),Math.abs(f)<=b)},f.prototype.cutOff=function(){return!1},f.prototype.ftb=function(){var b=[],c=a.plugins.w1a.QOa("Default");return null!=c&&(b=c.toLines(this.aT().D5a())),null!=b&&0<b.length?new a.hub(this,b):null},f.prototype.mr=function(c,d){if(this.drawablePipeline.contains(c)){var e=new a.HitTestResult(c,this,this,a.ElementType.DataPoint);return null==d||null!=d&&d.predicate(e)?e:null}return b.prototype.mr.call(this,c,d)},c=f;function f(c,d,e){var f=b.call(this,c,d,e)||this;return f.drawablePipeline=new a.DisplayablePipeLine(f),f}a.yMa=c}(dv=dv||{}),function(a){"use strict";var b,c=function(){},d=(b=a.MIa,__extends(e,b),e.prototype.Occ=function(){return this.x3b()},e.prototype.Rdb=function(a,b){var c,d=this.hRa;return a.beginTransform(),this.applyTextStyle(a),c=a.measureString(d),c.width>b&&(d=this.Pcc(a,d,b-15),c=a.measureString(d)),a.restoreTransform(),c},e.prototype.applyTextStyle=function(b){if(this.Occ()){var c=this.Occ().bRa();a.NQb.n0b(b,c.$z().config.textStyle),a.NQb.n0b(b,this.Occ().text.textStyle)}},e.prototype.wLa=function(a){return arguments.length<=0?this.hRa:void(this.hRa!=a&&(this.hRa=a))},e.prototype.renderByPointRect=function(b,c){if(this.bz()){b.beginTransform(),this.applyTextStyle(b);var d=this.calcLabelDrawInfoByRect(b,c,!0);d&&(this.APa(d.rect),b.startGroup(a.nRb.LabelClassName,null),b.drawString(d.label,new a.core.Point(this.APa().left+a.nRb.LabelPadding,this.APa().top-a.nRb.LabelPadding)),b.endGroup()),b.restoreTransform()}},e.prototype.calcLabelDrawInfoByRect=function(b,d,e){var f,g,h=new c;return e?(g=this.wLa(),(f=b.measureString(g)).width>d.width&&(g=this.Pcc(b,g,d.width-15),f=b.measureString(g)),h.rect=new a.core.Rect(d.left,d.bottom,f.width,f.height),h.label=g):(g=this.wLa(),(f=b.measureString(g)).width>d.width&&(g=this.Pcc(b,g,d.width-15),f=b.measureString(g)),h.rect=new a.core.Rect(d.left+(d.width-f.width)/2,d.top+(d.height-f.height)/2,f.width,f.height),h.label=g),h},e.prototype.renderByHeaderRect=function(b,c){if(this.bz()){b.beginTransform(),this.applyTextStyle(b);var d=this.calcLabelDrawInfoByRect(b,c,!1);d&&(this.APa(d.rect),b.startGroup(a.nRb.LabelClassName,null),b.drawString(d.label,new a.core.Point(this.APa().left,this.APa().top+this.APa().height)),b.endGroup()),b.restoreTransform()}},e.prototype.Pcc=function(a,b,c){for(var d=a.measureString(b);d.width>c&&0<b.length;)b=b.substr(0,b.length-1),d=a.measureString(b);return b},e);function e(a,c){var d=b.call(this,a)||this;return d.hRa=null,d.hRa=c,d}a.Avb=d}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.yvb,__extends(d,b),d.prototype.Qcc=function(){return this.lub},d.prototype.Vpb=function(b){var c=[],d=new a.models.Nqb(b);return this.traverse(this.CWb(),function(a){d.evaluate(a)&&c.push(a)}),c},d.prototype.x4a=function(a){return null==a.color?[]:this.traverseBy(this.CWb(),a)},d.prototype.traverseBy=function(a,b){var c,d,e,f,g,h;if(!a)return null;if(c=a.aT(),c.tE()==b.color&&c.Cj()==b.title)return d=[],this.traverse(a,function(a){d.push(a)}),d;for(e=void 0,f=0,g=a.oi();f<g.length;f++)if(h=g[f],null!=(e=this.traverseBy(h,b)))return e;return null},d.prototype.traverse=function(a,b){var c,d,e;if(a)for(b(a),c=0,d=a.oi();c<d.length;c++)e=d[c],this.traverse(e,b)},d.prototype.ghb=function(b,c,d){var e=new a.AMa(this,b,c);return e.oi(d),e},Object.defineProperty(d.prototype,"name",{get:function(){return"TreeMap"},enumerable:!0,configurable:!0}),d.prototype.mr=function(a,c){var d,e=this.APa();if(null!=e&&e.contains(a)){if(this.lub&&null!=(d=this.lub.mr(a,c)))return d;if(null!=this.CWb()&&null!=(d=this.CWb().mr(a,c)))return d}return b.prototype.mr.call(this,a,c)},d.prototype.Rbb=function(a){b.prototype.Rbb.call(this,a)},d.prototype.TQb=function(c,d,e){this.CWb()&&(c.beginTransform(),a.NQb.$Qb(c,this.$z().config.style),a.NQb.n0b(c,this.$z().config.textStyle),e.children=[],this.CWb().layout(c,d,e),this.oi=e.children.slice(),c.restoreTransform(),b.prototype.TQb.call(this,c,d,e))},d.prototype.Nbb=function(b,c){if(this.CWb()){b.beginTransform(),a.NQb.$Qb(b,this.$z().config.style),a.NQb.n0b(b,this.$z().config.textStyle),this.CWb().yl(b,c);var d=c.hoveredPointView;d&&(this.lub=d).yl(b,c),delete c.hoveredPointView,b.restoreTransform()}},d.prototype.mgb=function(b){return new a.models.svb(this,b,this.$z())},d);function d(a,c){return b.call(this,a,c)||this}a.vbb=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.zvb,__extends(d,b),d.prototype.queryInterface=function(a){return"IDisplayablePipeLine"===a?this.drawablePipeline:b.prototype.queryInterface.call(this,a)},d.prototype.Uo=function(){var a=new d(this.EWb(),this.Kac(),this.key);return a.p1b=this.p1b.clone(),a.bz(this.bz()),a},d.prototype.r1b=function(){return this.Rcc},d.prototype._labelView=function(){if(null==this.Ffb){var b=this.wLa();b&&(this.Ffb=new a.Avb(this,b))}return this.Ffb},d.prototype.APa=function(){return new a.core.Rect(this.p1b.center.x-.5*this.p1b.size.width,this.p1b.center.y-.5*this.p1b.size.height,this.p1b.size.width,this.p1b.size.height)},d.prototype.slice=function(b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q;for(f=[],g=0,h=0,i=d;i<e.length;++i)if(j=e[i].aT(),k=0,l=0,b.height<b.width){if(k=(g+=Math.abs(j.Qb()))*c/b.height,l=Math.abs(e[d].aT().Qb())*c/k,0!=h){if(m=k<l?l/k:k/l,!(Math.abs(m-1)<Math.abs(h-1)))break;h=m,f.length=0}else h=k<l?l/k:k/l;for(f.length=0,n=d;n<=i;n++)o=Math.abs(e[n].aT().Qb())*c/k,p=n===d?new a.core.Rect(b.left,b.top,k,l):new a.core.Rect(f[n-d-1].left,f[n-d-1].bottom,k,o),f.push(p)}else{if(l=(g+=Math.abs(j.Qb()))*c/b.width,k=Math.abs(e[d].aT().Qb())*c/l,0!=h){if(m=k<l?l/k:k/l,!(Math.abs(m-1)<Math.abs(h-1)))break;h=m,f.length=0}else h=k<l?l/k:k/l;for(f.length=0,n=d;n<=i;n++)q=Math.abs(e[n].aT().Qb())*c/l,p=n===d?new a.core.Rect(b.left,b.top,k,l):new a.core.Rect(f[n-d-1].right,f[n-d-1].top,q,l),f.push(p)}return f},d.prototype.haveChild=function(){return this.oi()&&0<this.oi().length},d.prototype.q1b=function(){return!!this.wLa()&&this.haveChild()},d.prototype.calcHeaderInfo=function(a){this.w1b=1.5*a.height},d.prototype.t1b=function(a){var b=a.clone();return b.height=this.w1b*b.height/this.v1b.height,b},d.prototype.layout=function(b,c,d){var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v;if(this.v1b=c.clone(),this.p1b=c.ORb(),e=this.aT().Qb(),!this.hidden){if(d.children.push(this),this.Rcc=!1,this.haveChild()){if(this.oi().sort(function(a,b){return b.aT().Qb()-a.aT().Qb()}),this.q1b()&&(f=this.wLa(),this._labelView().wLa(f),g=this._labelView().Rdb(b,c.width),this.calcHeaderInfo(g),this.w1b>c.height?(this.s1b=!0,this.Rcc=!0):(this.s1b=!1,c=new a.core.Rect(c.left,c.top+1.5*g.height,c.width,c.height-1.5*g.height))),!this.Rcc){for(h=e=0,i=this.oi();h<i.length;h++)e+=(m=i[h]).aT().Qb();for(j=c.height*c.width/e,k=0,l=this.oi();k<l.length;k++)(m=l[k]).hidden=!1,n=m.aT(),n.Qb()*j<3&&(m.hidden=!0,e-=n.Qb(),j=c.height*c.width/e);e<=0&&(this.Rcc=!0,this.q1b()&&(this.s1b=!0))}}else this.Rcc=!0;if(!this.Rcc)for(o=c.width*c.height/e,p=this.oi().filter(function(a){return!a.hidden}),q=0;q<p.length&&!a.x7.isNil(c);){for(r=this.slice(c,o,q,p),s=0,t=r;s<t.length;s++)u=t[s],p[q].layout(b,u,d),q++;v=a.x7.mergeRect.apply(a.x7,r),c=this.clipRect(v,c)}}},d.prototype.clipRect=function(b,c){return 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)},d.prototype.wLa=function(b){if(arguments.length<=0){if(null==this.mEa){var c=a.plugins.w1a.QOa("Default");null!=c&&(this.mEa=c.toLines(this.aT().D5a()).join())}return this.mEa}this.mEa!=b&&(this.mEa=b)},d.prototype.Scc=function(b,c){var d=this._Qb();null!=d?a.NQb.$Qb(b,d):(a.NQb.$Qb(b,this.bRa().q4a().s4a().$z().selectedStyle),a.NQb.$Qb(b,this.bRa().$z().config.selectedStyle)),c.apiSelectedStyle&&a.NQb.$Qb(b,c.apiSelectedStyle)},d.prototype.Tcc=function(b){var c=this.aRb();null!=c?a.NQb.$Qb(b,c):(a.NQb.$Qb(b,this.bRa().q4a().s4a().$z().unselectedStyle),a.NQb.$Qb(b,this.bRa().$z().config.unselectedStyle))},d.prototype.Ucc=function(b){var c=this.aT();a.NQb.$Qb(b,c.al().uPa().$z().config.hoverStyle)},d.prototype.applyStyle=function(b,c){var d,e=this.aT(),f=this.bRa();a.NQb.Jqb(b,this.yy()),b.fill=e.tE(),b.stroke=e.tE(),a.NQb.a3b(b,f.q4a().s4a().$z().style),d=this.ZQb(),null!=d?a.NQb.$Qb(b,d):a.NQb.$Qb(b,this.bRa().$z().config.style),this.B5a()&&this.Ucc(b),c.hasSelectionInPlotArea&&(this.KQa()||c.selected?(this.Scc(b,c),c.selected=!0):this.Tcc(b))},d.prototype.deleteContext=function(a){this.q1b()&&this.B5a()&&delete a.hovered,this.aT().KQa()&&delete a.selected},d.prototype.draw=function(a,b){var c,d,e,f=this.bRa();if(this.B5a()?(b.hoveredPointView=this).q1b()&&(b.hovered=!0):null!=f.CWb()&&this!=f.CWb()&&this.x1b(),c=this.APa(),this.r1b())a.drawRect(c.left,c.top,c.width,c.height),this._labelView()&&this._labelView().renderByPointRect(a,c);else for(this.q1b()&&!this.s1b&&(a.drawRect(c.left,c.top,c.width,c.height),this._labelView()&&this._labelView().renderByHeaderRect(a,this.t1b(c))),d=0,e=this.oi();d<e.length;d++)e[d].yl(a,b);this.deleteContext(b)},d.prototype.contains=function(a){return null!=this.p1b&&this.p1b.contains(a)},d.prototype.cutOff=function(){return!1},d.prototype.Nbb=function(a,b){null==this.aT().al()||this.hidden||(a.beginTransform(),this.applyStyle(a,b),this.drawablePipeline.flush(a,b),a.restoreTransform())},d.prototype.B5a=function(a){return null!=a&&a!=b.prototype.B5a.call(this)&&b.prototype.B5a.call(this,a),b.prototype.B5a.call(this)},d.prototype.mr=function(b,c){if(!this.drawablePipeline.contains(b))return null;for(var d,e,f=0,g=this.oi();f<g.length;f++)if(null!=(d=g[f].mr(b,c)))return d;return e=new a.HitTestResult(b,this,this,a.ElementType.DataPoint),null==c||null!=c&&c.predicate(e)?e:null},d.prototype.x1b=function(){var b=this.hqa(),c=b.v1b,d=b.APa(),e=this.v1b.width*d.width/c.width,f=this.v1b.height*d.height/c.height,g=(this.v1b.top-c.top)*d.height/c.height+d.top,h=(this.v1b.left-c.left)*d.width/c.width+d.left+.5*e,i=g+.5*f;return this.p1b=new a.shapes.qwb(h,i,e,f,0),this.p1b},d);function d(c,d,e){var f=b.call(this,c,d,e)||this;return f.mEa=null,f.Rcc=!1,f.w1b=0,f.s1b=!1,f.sJa=new a.options.uEa(null),f.drawablePipeline=new a.DisplayablePipeLine(f),f}a.AMa=c}(dv=dv||{}),function(a){"use strict";var b=(c.prototype.Frb=function(){return this.Fhb.slice(0)},c.prototype.yhb=function(a){for(var b=0;b<a.length;b++)-1===this.Fhb.indexOf(a[b])&&this.Fhb.push(a[b])},c.prototype.Ehb=function(a){var b,c;for(b=0;b<a.length;b++)c=this.Fhb.indexOf(a[b]),0<=c&&this.Fhb.splice(c,1)},c.prototype.zhb=function(a){return this.Fhb.filter(function(b){return b.PR()>a.PR()&&b.APa().intersectsWith(a.APa())}).sort(function(a,b){return a.PR()-b.PR()})},c);function c(){this.Fhb=[]}a.Ubb=b}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.models.QWb,__extends(d,b),d.prototype.shape=function(){return null!=this.Vcc?this.Vcc.nSa():null},d);function d(a){var c=b.call(this)||this;return c.Vcc=a,c}a.J4b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.models.QWb,__extends(d,b),d.prototype.shape=function(){return null!=this.Wcc?this.Wcc.nSa():null},d);function d(a){var c=b.call(this)||this;return c.Wcc=a,c}a.g4b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.models.QWb,__extends(d,b),d.prototype.shape=function(){return null!=this.Xcc?this.Xcc.nSa():null},d);function d(a){var c=b.call(this)||this;return c.Xcc=a,c}a.P4b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.models.QWb,__extends(d,b),d.prototype.shape=function(){return null!=this.tgb?this.tgb.nSa():null},d);function d(a){var c=b.call(this)||this;return c.tgb=a,c}a.z3b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.models.QWb,__extends(d,b),d.prototype.shape=function(){return null!=this.dKa?this.dKa.nSa():null},d);function d(a){var c=b.call(this)||this;return c.dKa=a,c}a.l6b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.models.QWb,__extends(d,b),d.prototype.shape=function(){return null!=this.Ycc?this.Ycc.nSa():null},d);function d(a){var c=b.call(this)||this;return c.Ycc=a,c}a.S4b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.models.QWb,__extends(d,b),d.prototype.shape=function(){return null!=this.bKa?this.bKa.nSa():null},d);function d(a){var c=b.call(this)||this;return c.bKa=a,c}a.m6b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.models.QWb,__extends(d,b),d.prototype.shape=function(){return null!=this.efb?this.efb.nSa():null},d);function d(a){var c=b.call(this)||this;return c.efb=a,c}a.I6b=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.models.QWb,__extends(d,b),d.prototype.shape=function(){return null!=this.nOa?this.nOa.nSa():null},d);function d(a){var c=b.call(this)||this;return c.nOa=a,c}a.sac=c}(dv=dv||{}),function(a){"use strict";var b,c=(b=a.models.QWb,__extends(d,b),d.prototype.shape=function(){return null!=this.Beb?this.Beb.nSa():null},d);function d(a){var c=b.call(this)||this;return c.Beb=a,c}a.Bac=c}(dv=dv||{}),function(a){"use strict";var b,c,d=(e.arountRect=function(a,b){},e.arountCircle=function(b,d,f,g){var h,i,j,k,l,m,n,o,p,q,r,s;for(h=new a.core.Size(0,0),i=[],j=[],k=[],l=[],m=0,n=b;m<n.length;m++)o=n[m],p=o.FIa(),0<p&&p<.5*Math.PI?(o.SH(c.Gib),l.push(o)):p>=.5*Math.PI&&p<Math.PI?(o.SH(c.Hib),k.push(o)):p>=Math.PI&&p<1.5*Math.PI?(o.SH(c.Iib),i.push(o)):p>=1.5*Math.PI&&p<2*Math.PI&&(o.SH(c.Jib),j.push(o)),q=o.APa().size,q.width>h.width&&(h.width=q.width),q.height>h.height&&(h.height=q.height);return r=Math.sqrt(h.width*h.width-h.height*h.height),e.Kib(i,r),e.Lib(k,r),e.Mib(j,r),e.Nib(l,r),s=i.concat(k).concat(j).concat(l),e.Oib(s),s},e.Oib=function(b){var c,d,e,f,g;for(c=b.length,d=0;d<c;++d)if(e=b[d],e&&e.bz())for(f=d;f<c&&(g=b[f],g&&a.x7.isMixed(g.APa(),e.APa()));++f)g.bz(!1)},e.Pib=function(b,c){
- var d,e,f,g;for(d=0,e=b;d<e.length;d++)if(f=e[d],a.x7.isMixed(f.APa(),c.APa())&&(g=f.APa().top-c.APa().bottom,!c.Qib(g)))return!1;return!0},e.Rib=function(b,c){var d,e,f,g;for(d=0,e=b;d<e.length;d++)if(f=e[d],a.x7.isMixed(f.APa(),c.APa())&&(g=f.APa().bottom-c.APa().top,!c.Qib(g)))return!1;return!0},e.Kib=function(a,b){var c,d,f;for(a.sort(function(a,b){return a.FIa()-b.FIa()}),c=a.length,d=0;d<c;d++)f=a[d],e.Pib(a.slice(0,d),f)||(f.UP(f.UP()+b*Math.abs(Math.sin(f.FIa()))),e.Rib(a.slice(0,d),f))},e.Lib=function(a,b){var c,d,f;for(a.sort(function(a,b){return b.FIa()-a.FIa()}),c=a.length,d=0;d<c;d++)f=a[d],e.Rib(a.slice(0,d),f)||(f.UP(f.UP()+b*Math.abs(Math.sin(f.FIa()))),e.Pib(a.slice(0,d),f))},e.Nib=function(a,b){var c,d,f;for(a.sort(function(a,b){return a.FIa()-b.FIa()}),c=a.length,d=0;d<c;d++)f=a[d],e.Rib(a.slice(0,d),f)||(f.UP(f.UP()+b*Math.abs(Math.sin(f.FIa()))),e.Pib(a.slice(0,d),f))},e.Mib=function(a,b){var c,d,f;for(a.sort(function(a,b){return b.FIa()-a.FIa()}),c=a.length,d=0;d<c;d++)f=a[d],e.Pib(a.slice(0,d),f)||(f.UP(f.UP()+b*Math.abs(Math.sin(f.FIa()))),e.Rib(a.slice(0,d),f))},e);function e(){}a.Bgb=d,b=a.MIa,__extends(f,b),Object.defineProperty(f.prototype,"defaultStroke",{set:function(a){null!=a&&(this.Zcc=a)},enumerable:!0,configurable:!0}),f.prototype.SH=function(a){var b,c;return arguments.length<=0?this.nEa:(this.nEa=a,b=this.APa(),void(a==f.Hib||a==f.Iib?null!=b&&b.right>this.Sib&&(c=this.Sib-b.right,this.Vib(c)):null!=b&&b.left<this.Sib&&(c=this.Sib-b.left,this.Vib(c))))},f.prototype.Vib=function(a,b){var c,d,e,f;return void 0===b&&(b=!0),c=this.APa(),c.left+=a,this.Wib.x+=a,this.Xib.left+=a,b&&Math.abs(this.Wib.x-this.Sib)<this.rCa?(this.P9a=Math.acos((this.Wib.x-this.Sib)/this.rCa),d=this.Wib.y,this.Wib.y=Math.sin(this.P9a)*this.rCa+this.Tib,c.top+=this.Wib.y-d,this.APa(c),this.Xib.top+=this.Wib.y-d,!0):b?(c.left-=a,this.APa(c),this.Wib.x-=a,this.Xib.left-=a,!1):(e=this.Wib.x-this.Sib,f=this.Wib.y-this.Tib,this.rCa=Math.sqrt(e*e+f*f),!0)},f.prototype.Qib=function(a,b){var c,d,e,f,g;return void 0===b&&(b=!0),c=this.APa(),c.top+=a,this.Wib.y+=a,this.Xib.top+=a,b&&Math.abs(this.Wib.y-this.Tib)<this.rCa?(d=Math.asin((this.Wib.y-this.Tib)/this.rCa),this.P9a>=Math.PI/2&&this.P9a<Math.PI||this.P9a>=Math.PI&&this.P9a<1.5*Math.PI?d=Math.PI-d:this.P9a>1.5*Math.PI&&this.P9a<2*Math.PI&&(d=2*Math.PI+d),this.P9a=d,e=this.Wib.x,this.Wib.x=Math.cos(this.P9a)*this.rCa+this.Sib,c.left+=this.Wib.x-e,this.APa(c),this.Xib.left+=this.Wib.x-e,!0):b?(c.top-=a,this.APa(c),this.Wib.y-=a,this.Xib.top-=a,!1):(f=this.Wib.x-this.Sib,g=this.Wib.y-this.Tib,this.rCa=Math.sqrt(f*f+g*g),!0)},f.prototype.FIa=function(a){return arguments.length<=0?this.P9a:(this.P9a=a,void this.Yib())},f.prototype.Yib=function(){var b,c,d,e;null==this.P9a||isNaN(this.P9a)||null==this.rCa||isNaN(this.rCa)||(b=new a.core.Point(Math.cos(this.P9a)*this.rCa+this.Sib,Math.sin(this.P9a)*this.rCa+this.Tib),null!=this.Wib&&(c=b.x-this.Wib.x,d=b.y-this.Wib.y,e=this.APa(),e.left+=c,e.top+=d,this.APa(e),this.Xib.left+=c,this.Xib.top+=d),this.Wib=b)},f.prototype.UP=function(a){return arguments.length<=0?this.rCa:(this.rCa=a,void this.Yib())},f.prototype.Zib=function(){return this.Wib},f.prototype.TQb=function(b,c,d){var e,g,h,i,j;for(this.Xib=new a.core.Rect(0,0,0,0),e=new a.core.Size(0,0),b.beginTransform(),this.GHa(b,this.LAa),g=0,h=this.Deb;g<h.length;g++)i=h[g],j=b.measureString(i),j.width>e.width&&(e.width=j.width),e.height+=j.height;this.Xib.width=f.$ib,this.Xib.height=e.height,b.restoreTransform(),c=new a.core.Rect(this.Zib().x,this.Zib().y-e.height/2,e.width+this.Xib.width,e.height),this.P9a>Math.PI/2&&this.P9a<1.5*Math.PI?(c.left-=c.width,this.Xib.left=this.Wib.x-this.Xib.width):this.Xib.left=this.Wib.x,this.Xib.top=c.top,this.APa(c)},f.prototype.yl=function(b,c){var d,e,g,h,i,j=this.APa();for(b.beginTransform(),this.GHa(b,this.LAa),null!=this.getConnectingLineOption(this.LAa)&&(b.beginTransform(),this._Ja(b,this.LAa),b.drawLine(this.Wib.x,this.Wib.y,this.Uib.x,this.Uib.y),b.drawLine(this.Xib.left,this.Xib.top+this.Xib.height/2,this.Xib.right,this.Xib.top+this.Xib.height/2),b.restoreTransform()),b.beginTransform(),this.OIa(b,this.LAa),this.QIa(b,this.LAa),d=new a.core.Rect(j.left,j.top,j.width-this.Xib.width,j.height),this.nEa!==f.Gib&&this.nEa!==f.Jib||(d=new a.core.Rect(this.Xib.right,j.top,j.width-this.Xib.width,j.height)),(null!=b.fill&&("string"!=typeof b.fill||"transparent"!=b.fill&&"none"!=b.fill)||null!=b.strokeWidth&&0<b.strokeWidth)&&b.drawRect(d.left,d.top,d.width,d.height),b.restoreTransform(),e=j.top,g=0,h=this.Deb;g<h.length;g++)i=h[g],e+=b.measureString(i).height,this.nEa===f.Hib||this.nEa==f.Iib?b.drawString(i,new a.core.Point(j.left,e)):b.drawString(i,new a.core.Point(j.left+this.Xib.width,e));b.restoreTransform()},f.prototype.GHa=function(b,c){a.NQb.n0b(b,c.$z().config.textStyle),a.NQb.a3b(b,c.$z().config.text.style),a.NQb.n0b(b,c.$z().config.text.textStyle)},f.prototype.OIa=function(b,c){a.NQb.Jqb(b,a.y3b.fPa()),a.NQb.jqb(b,this.Zcc),a.NQb.$2b(b,c.q4a().s4a().$z().style),a.NQb.$2b(b,c.q4a().$z().style),a.NQb.$2b(b,c.$z().config.text.style),a.NQb.Z2b(b,c.$z().config.text.borderStyle)},f.prototype.QIa=function(b,c){a.NQb.iqb(b,"none"),a.NQb.c3b(b,c.q4a().s4a().$z().style.backgroundColor),a.NQb.c3b(b,c.q4a().$z().style.backgroundColor),a.NQb.c3b(b,c.$z().config.text.style.backgroundColor)},f.prototype.getConnectingLineOption=function(a){return a.f3a().option.config.text.connectingLine},f.prototype._Ja=function(b,c){var d,e=this.getConnectingLineOption(c);null!=e&&(d=new a.Arb,d.trb(e),null==d.stroke&&(d.stroke=this.Zcc),a.NQb.Jqb(b,d))},f.Iib=1,f.Jib=2,f.Hib=3,f.Gib=4,f.$ib=20,c=f;function f(c,d,e,f,g,h,i,j,k,l){var m=b.call(this,c)||this;return m.Zcc=a.nRb.StyleColor,m.Sib=d,m.Tib=e,m.LAa=k,m.Deb=j,m.Uib=new a.core.Point(h,i),m.FIa(f%(2*Math.PI)),m.UP(g),m.defaultStroke=l,m}a.Agb=c}(dv=dv||{}),function(a){"use strict";var b,c,d,e;(c=b=a.tmInc||(a.tmInc={}))[c.tickf7=-7]="tickf7",c[c.tickf6=-6]="tickf6",c[c.tickf5=-5]="tickf5",c[c.tickf4=-4]="tickf4",c[c.tickf3=-3]="tickf3",c[c.tickf2=-2]="tickf2",c[c.tickf1=-1]="tickf1",c[c.second=1]="second",c[c.minute=60]="minute",c[c.hour=3600]="hour",c[c.day=86400]="day",c[c.week=604800]="week",c[c.month=2678400]="month",c[c.year=31536e3]="year",c[c.maxtime=Number.MAX_VALUE]="maxtime",Object.defineProperty(f.prototype,"Ticks",{get:function(){return this.ticks},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"TotalSeconds",{get:function(){return this.ticks/1e7},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"TotalDays",{get:function(){return this.ticks/1e7/86400},enumerable:!0,configurable:!0}),f.fromSeconds=function(a){return new f(1e7*a)},f.fromDays=function(a){return new f(1e7*a*24*60*60)},f.TicksPerSecond=1e7,d=f;function f(a){this.ticks=a}a.hEa=d,g.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()},g.prototype.getTimeAsDateTime=function(){return 24<=this.hour&&(this.hour-=24,this.day+=1),this.month<0?(this.day,this.month=1):11<this.month&&(this.month,this.month=12),this.day<1?(this.day,this.day=1):28<this.day&&2==this.month?(this.day,this.day=28):30<this.day&&(4==this.month||4==this.month||6==this.month||9==this.month||11==this.month)?(this.day,this.day=30):31<this.day&&(this.day,this.day=31),59<this.second&&(this.second,this.second=59),59<this.minute&&(this.minute,this.minute=59),new Date(this.year,this.month,this.day,this.hour,this.minute,this.second)},g.prototype.getTimeAsDouble=function(){return this.getTimeAsDateTime().valueOf()},g.tround=function(a,b,c){var d=a/b*b;return d-=d%1,c&&d!=a&&(d+=b-=b%1),d},g.RoundTime=function(a,c,d){var e,f,h,i,j=24*c*60*60;return 0<j?(e=new g(a),j<b.minute?e.second=this.tround(e.second,j,d):(e.second=0,j<b.hour?(j/=b.minute,e.minute=this.tround(e.minute,j,d)):(e.minute=0,j<b.day?(j/=b.hour,e.hour=this.tround(e.hour,j,d)):(e.hour=0,j<b.month?(j/=b.day,e.day=this.tround(e.day,j,d)):(e.day=1,j<b.year?(j/=b.month,1!=e.month&&(e.month=this.tround(e.month,j,d))):(e.month=1,j/=b.year,e.year=this.tround(e.year,j,d)))))),e.getTimeAsDouble()):(f=a,h=f-j,i=h/c*c,d&&i!=h&&(i+=c),f=j+i)},g.TimeSpanFromTmInc=function(a){var c,e,f=d.fromSeconds(1);if(a!=b.maxtime)if(b.tickf1<a)f=d.fromSeconds(a);else{for(c=a,e=1,c+=7;0<c;)e*=10,c--;f=new d(e)}return f},g.manualTimeInc=function(a){var c,d,e,f=b.second;if(null==a||0==a.length)return f;if(c=a.indexOf("f"),0<=c){if(d=-1,0<c&&"%"==a.substr(c-1,1))d=-1;else for(e=1;e<6&&!(c+e>=a.length)&&"f"==a.substr(c+e,1);e++)d--;f=d}else 0<=a.indexOf("s")?f=b.second:0<=a.indexOf("m")?f=b.minute:0<=a.indexOf("h")||a.indexOf("H")?f=b.hour:0<=a.indexOf("d")?f=b.day:0<=a.indexOf("M")?f=b.month:0<=a.indexOf("y")&&(f=b.year);return f},g.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},g.NiceTimeSpan=function(a,c){var e,f,h,i=b.second;if(null!=c&&0<c.length&&(i=g.manualTimeInc(c)),e=0,f=0,i<b.second&&a.TotalSeconds<10){for(e=a.Ticks,f=g.TimeSpanFromTmInc(i).Ticks;10*f<e;)f*=10;return h=f,h<e&&(h*=2),h<e&&(h=5*f),h<e&&(h=10*f),new d(h)}if(0==(e=Math.ceil(a.TotalSeconds)))return g.TimeSpanFromTmInc(i);if(f=1,i<b.minute){if(e<b.minute&&0!=(f=g.getNiceInc([1,2,5,10,15,30],e,i)))return d.fromSeconds(f);i=b.minute}if(i<b.hour){if(e<b.hour&&0!=(f=g.getNiceInc([1,2,5,10,15,30],e,i)))return d.fromSeconds(f);i=b.hour}if(i<b.day){if(e<b.day&&0!=(f=g.getNiceInc([1,3,6,12],e,i)))return d.fromSeconds(f);i=b.day}if(i<b.month){if(e<b.month&&0!=(f=g.getNiceInc([1,2,7,14],e,i)))return d.fromSeconds(f);i=b.month}if(i<b.year){if(e<b.year&&0!=(f=g.getNiceInc([1,2,3,4,6],e,i)))return d.fromSeconds(f);i=b.year}return e<(f=100*b.year)&&0==(f=g.getNiceInc([1,2,5,10,20,50],e,i))&&(f=100*b.year),d.fromSeconds(f)},g.NiceTimeUnit=function(a,b){var c=d.fromDays(a);return(c=g.NiceTimeSpan(c,b)).TotalDays},g.GetTimeDefaultFormat=function(a,c){var e,f,g,h;if(isNaN(a)||isNaN(c))return"";if(e="s",f=d.fromSeconds(.001*(a-c)),g=f.TotalSeconds,b.year<=g)e="yyyy";else if(b.month<=g)e="MMM yyyy";else if(b.day<=g)e="MMM d";else if(b.hour<=g)e="ddd H:mm";else if(.5*b.hour<=g)e="H:mm";else if(1<=g)e="H:mm:ss";else if(0<g)for(h=f.Ticks,e="s.";h<d.TicksPerSecond;)h*=10,e+="f";return e},g.secInYear=86400,e=g;function g(b){a.core.UOb.isDate(b)?this.init(b):a.core.UOb.isNumber(b)&&this.init(new Date(b))}a.iEa=e}(dv=dv||{}),function(a){!function(a){"use strict";a.LoadingAnimationDefinitionPlugin.register("Bar",new a.BarLoadingAnimationPlugin),a.UpdateAnimationDefinitionPlugin.register("Bar",new a.BarUpdateAnimationPlugin),a.HoverAnimationDefinitionPlugin.register("Bar",new a.BarHoverAnimationPlugin),a.LoadingAnimationDefinitionPlugin.register("Scatter",new a.ScatterLoadingAnimationPlugin),a.UpdateAnimationDefinitionPlugin.register("Scatter",new a.ScatterUpdateAnimationPlugin),a.HoverAnimationDefinitionPlugin.register("Scatter",new a.ScatterHoverAnimationPlugin),a.LoadingAnimationDefinitionPlugin.register("Area",new a.AreaLoadingAnimationPlugin),a.UpdateAnimationDefinitionPlugin.register("Area",new a.AreaUpdateAnimationPlugin),a.HoverAnimationDefinitionPlugin.register("Area",new a.AreaHoverAnimationPlugin),a.LoadingAnimationDefinitionPlugin.register("Line",new a.LineLoadingAnimationPlugin),a.UpdateAnimationDefinitionPlugin.register("Line",new a.LineUpdateAnimationPlugin),a.HoverAnimationDefinitionPlugin.register("Line",new a.LineHoverAnimationPlugin),a.LoadingAnimationDefinitionPlugin.register("Sunburst",new a.SunburstLoadingAnimationPlugin),a.UpdateAnimationDefinitionPlugin.register("Sunburst",new a.SunburstUpdateAnimationPlugin),a.HoverAnimationDefinitionPlugin.register("Sunburst",new a.SunburstHoverAnimationPlugin),a.LoadingAnimationDefinitionPlugin.register("TreeMap",new a.TreeMapLoadingAnimationPlugin),a.UpdateAnimationDefinitionPlugin.register("TreeMap",new a.TreeMapUpdateAnimationPlugin),a.HoverAnimationDefinitionPlugin.register("TreeMap",new a.TreeMapHoverAnimationPlugin),a.HoverInteractionPlugin.registerHoverInteraction("AnimationHover",new a.z1b)}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(a){"use strict";a.AdornerRenderPlugin.registerAdornerRender("dot",new a.NSa),a.CalculationEnginePlugin.registerCalculationEngine("Default",new a.G1b),a.ConditionalFormattingRulePlugin.registerConditionalFormattingRule("Cartesian",new a.Aab),a.ConditionalFormattingRulePlugin.registerConditionalFormattingRule("Hierarchical",new a.Bab),a.ConditionalFormattingRulePlugin.registerConditionalFormattingRule("Axis",new a.K1b),a.CoordinateSystemPlugin.registerCoordinateSystem("Cartesian",new a.Dab),a.CoordinateSystemPlugin.registerCoordinateSystem("Radial",new a.Hab),a.CoordinateSystemPlugin.registerCoordinateSystem("Polygonal",new a.Fab),a.CoordinateSystemPlugin.registerCoordinateSystem("TextCategories",new a.Jab),a.RadialCoordinateSystemLayoutPlugin.registerCoordinateSystemLayout("Radial",new a.R1b),a.ClickInteractionPlugin.registerClickInteraction("PointSelection",new a.Rab),a.ClickInteractionPlugin.registerClickInteraction("SeriesSelection",new a.Tab),a.ClickInteractionPlugin.registerClickInteraction("LegendSelection",new a.Pab),a.ClickInteractionPlugin.registerClickInteraction("CategorySelection",new a.Mab),a.ClickInteractionPlugin.registerClickInteraction("CancelSelection",new a.Lab),a.ClickInteractionPlugin.registerClickInteraction("AxisLabelSelection",new a._qb),a.DataContentProviderPlugin.registerDataContentProvider("Default",new a.FGa),a.DateParserPlugin.registerDateParser("Default",new a.zRa),a.HoverInteractionPlugin.registerHoverInteraction("TooltipHover",new a.d2b),a.HoverInteractionPlugin.registerHoverInteraction("PointHover",new a.Qab),a.HoverInteractionPlugin.registerHoverInteraction("SeriesHover",new a.Sab),a.HoverInteractionPlugin.registerHoverInteraction("LegendHover",new a.Oab),a.HoverInteractionPlugin.registerHoverInteraction("AxisLabelHover",new a.Kab),a.LayoutPlugin.registerLayout("Default",new a.$ab),a.PlotPlugin.registerPlot("CartesianBar",new a.ibb),a.PlotPlugin.registerPlot("CartesianLine",new a.kbb),a.PlotPlugin.registerPlot("CartesianArea",new a.gbb),a.PlotPlugin.registerPlot("CartesianScatter",new a.qbb),a.PlotPlugin.registerPlot("CartesianText",new a.ubb),a.PlotPlugin.registerPlot("TreeMap",new a.wbb),a.PlotPlugin.registerPlot("Sunburst",new a.sbb),a.PlotPlugin.registerPlot("ParallelLine",new a.obb),a.PlotPlugin.registerPlot("ParallelArea",new a.mbb),a.RenderEnginePlugin.registerRenderEngine("SVG",new a.aSa),a.RenderEnginePlugin.registerRenderEngine("Canvas",new a._Ra),a.StringFormattingPlugin.registerStringFormatting("Default",new a.ARa),a.SymbolPlugin.registerSymbol("Dot",new a.eSa),a.SymbolPlugin.registerSymbol("Box",new a.bSa),a.SymbolPlugin.registerSymbol("Diamond",new a.dSa),a.SymbolPlugin.registerSymbol("Triangle",new a.gSa),a.SymbolPlugin.registerSymbol("X",new a.hSa),a.SymbolPlugin.registerSymbol("Dash",new a.cSa),a.SymbolPlugin.registerSymbol("Plus",new a.fSa),a.OverlayPlugin.registerOverlay("CartesianReferenceLine",new a.CartesianReferenceLineOverlayPlugin),a.OverlayPlugin.registerOverlay("CartesianReferenceBand",new a.CartesianReferenceBandOverlayPlugin),a.FilterPlugin.registerFilter("ValueEncodingExcludeNulls",new a.Vvb),a.FilterPlugin.registerFilter("CategoryEncodingExcludeNulls",new a.Awb),a.OverlayPlugin.registerOverlay("Ellipse",new a.KZb),a.OverlayPlugin.registerOverlay("Image",new a.OZb),a.OverlayPlugin.registerOverlay("Line",new a.VZb),a.OverlayPlugin.registerOverlay("Rectangle",new a.c$b),a.OverlayPlugin.registerOverlay("Text",new a.r$b),a.OverlayPlugin.registerOverlay("Path",new a.PathOverlayPlugin),a.OverlayPlugin.registerOverlay("Needle",new a.NeedleOverlayPlugin),a.OverlayPlugin.registerOverlay("PolynomialTrendline",new a.X0b),a.OverlayPlugin.registerOverlay("LinearTrendLine",new a.U0b),a.OverlayPlugin.registerOverlay("LogarithmicTrendline",new a.V0b),a.OverlayPlugin.registerOverlay("ExponentialTrendline",new a.S0b),a.OverlayPlugin.registerOverlay("PowerTrendline",new a.Y0b),a.OverlayPlugin.registerOverlay("FourierTrendline",new a.T0b),a.OverlayPlugin.registerOverlay("MovingAverageTrendline",new a.Z0b),a.OverlayPlugin.registerOverlay("CumulativeMovingAverageTrendline",new a.Q0b),a.OverlayPlugin.registerOverlay("WeightedMovingAverageTrendline",new a.$0b),a.OverlayPlugin.registerOverlay("ExponentialMovingAverageTrendline",new a.R0b),a.OverlayPlugin.registerOverlay("MovingAnnualTotalTrendline",new a.W0b),a.HoverInteractionPlugin.registerHoverInteraction("OverlayItemHover",new a.b2b),a.OverlayPlugin.registerOverlay("ErrorBar",new a.t_b)}(a.plugins||(a.plugins={}))}(dv=dv||{}),function(a){!function(a){"use strict";a.ConditionalFormattingRulePlugin.registerConditionalFormattingRule("OverlayItem",new a.O1b)}(a.plugins||(a.plugins={}))}(dv=dv||{});module.exports=dv},"./dist/plugins/chart/dv/dv.plugins.js":function(a,b,c){var d=c("./dist/plugins/chart/dv/dv.financial.js"),e=this&&this.__extends||function(){var a=function(b,c){return(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])})(b,c)};return function(b,c){function d(){this.constructor=b}a(b,c),b.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}();!function(a){a.plugins||(a.plugins={})}(d=d||{}),function(a){!function(b){"use strict";var c=(d.prototype.layout=function(b,c,d,e,f,g,h,i,j){var k,l,m,n=c.width/g,o=c.height/h,p=c.left+n/2,q=c.top+o/2,r=Math.min(n/2,o/2),s=f[0],t=e[0],u=[],v=[];return f=f.filter(function(a){return a.d4b()}),e=e.filter(function(a){return a.d4b()}),k=0,f.forEach(function(c,d){var e,f,g=new a.core.Size(n,o);c.H4b()||(e=c.h5b(b),c.XDa(c.LKa(!0,g.height,e))),f=c.SIa(b,g),k=f.height,c.SH()!=a.AxisPosition.Far&&(r-=k),c.radius=r,c.fLa=k}),e.forEach(function(c,d){var e,f,g=new a.core.Size(n,o-k);c.H4b()||(e=c.h5b(b),f=2*(k+r),c.XDa(c.LKa(!1,f,e))),c.SIa(b,g),c.radius=r,c.fLa=k}),f.forEach(function(a,b){var c=a.MPa(),d=c+a.sweep;a.my([c,d])}),e.forEach(function(a,b){a.my([a.innerRadius*a.radius,a.radius])}),f.forEach(function(b,c){var d=b.Wrb();u[c]=a.core.UOb.isNumber(d)&&d>=s.KPa()&&d<=s.LPa()}),e.forEach(function(b,c){var d=b.Wrb();v[c]=a.core.UOb.isNumber(d)&&d>=t.KPa()&&d<=t.LPa()}),l=new a.core.Rect(p-r,q-r,2*r,2*r),m=0,f.forEach(function(c,e){var f,g,h;c.cx=p,c.cy=q,f=c.Wrb(),u[e]&&(g=t.Qb(f+(null!=t?t.OPa():0)),c.radius=g),h=new a.core.Rect(p-(c.fLa+c.radius),q-(c.fLa+c.radius),2*(c.fLa+c.radius),2*(c.fLa+c.radius)),d.LineCartesianCoordinateSystemContent=l.clone(),c._R(b,h,d),h.height-=m,c.kfb()._R(b,h,d),m+=c.kfb().APa().height,delete d.LineCartesianCoordinateSystemContent}),e.forEach(function(c,e){var f,g,h;c.cx=p,c.cy=q,f=c.Wrb(),v[e]&&(g=180*(s.Qb(f)-3*Math.PI/2)/Math.PI,c.hsb(g)),h=new a.core.Rect(p-(c.fLa+c.radius),q-(c.fLa+c.radius),2*(c.fLa+c.radius),2*(c.fLa+c.radius)),d.LineCartesianCoordinateSystemContent=l.clone(),c._R(b,h,d),c.kfb()._R(b,h,d),delete d.LineCartesianCoordinateSystemContent}),new a.core.Point(p,q)},d);function d(){}b.$cc=c}(a.models||(a.models={}))}(d=d||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(){return new a.models.$cc},d);function d(){}b._cc=c}(a.plugins||(a.plugins={}))}(d=d||{}),function(a){!function(b){"use strict";var c=(d.prototype.V5b=function(b,c,d){var e,f,g,h,i=[];return b.forEach(function(b){var e,f,g,h,j,k,l,m,n,o,p;for(e=b.MPa(),f=a.TOb.toFixed(e+b.sweep,16,!0),g=[],h=Math.ceil(e/(Math.PI/2))*(Math.PI/2);h<f;h+=Math.PI/2)g.push(a.TOb.toFixed(h,16,!0));for(g.indexOf(e)<0&&g.push(e),g.indexOf(f)<0&&g.push(f),j=b.innerRadius*d,k=0,l=g;k<l.length;k++)h=l[k],m=Math.cos(h),n=Math.sin(h),o=c.clone(),o.x+=d*m,o.y+=d*n,i.push(o),p=c.clone(),p.x+=j*m,p.y+=j*n,i.push(p)}),e=NaN,f=NaN,g=NaN,h=NaN,i.forEach(function(a){e=isNaN(e)?a.x:Math.min(a.x,e),g=isNaN(g)?a.x:Math.max(a.x,g),f=isNaN(f)?a.y:Math.min(a.y,f),h=isNaN(h)?a.y:Math.max(a.y,h)}),new a.core.Rect(e,f,g-e,h-f)},d.prototype.W5b=function(b,c,d,e,f,g,h,i,j){var k,l,m,n=h[0],o=g[0];return h.forEach(function(a){var b=a.MPa(),c=b+a.sweep;a.my([b,c])}),g.forEach(function(a){a.my([a.innerRadius*f,f])}),h.forEach(function(b,c){var d,e=b.Wrb();a.core.UOb.isNumber(e)&&e>=o.KPa()&&e<=o.LPa()&&(d=o.Qb(e+(null!=o?o.OPa():0)),b.M5b(d))}),g.forEach(function(b,c){var d,e=b.Wrb();a.core.UOb.isNumber(e)&&e>=n.KPa()&&e<=n.LPa()&&(d=n.Qb(e),b.RMa(d))}),null!=d.F_AxisLabel&&(k=0,h.forEach(function(d,e){var f,g=new a.core.Size(c.width,c.height);d.H4b()||(f=d.h5b(b),d.XDa(d.LKa(!0,g.height,f))),d.SH()!=a.AxisPosition.None&&(d.SIa(b,g),k=d.I4b)}),g.forEach(function(d){var e,g,h;d.SH()!=a.AxisPosition.None&&(e=new a.core.Size(c.width,c.height-k),d.SIa(b,e)),d.H4b()||(g=d.h5b(b),h=2*(k+f),d.XDa(d.LKa(!1,h,g)))})),d.layoutShapes=[],l=this.V5b(h,e,f),h.forEach(function(a){a.radius=f,a.cx=e.x,a.cy=e.y,null!=d.F_AxisLabel&&(a._R(b,l,d),a.T5b(d))}),g.forEach(function(a){a.radius=f,a.cx=e.x,a.cy=e.y,null!=d.F_AxisLabel&&(a._R(b,l,d),d.ignoreWrap=!0,a.kfb()._R(b,l,d),delete d.ignoreWrap,a.T5b(d))}),i.forEach(function(a){a.BPa(e.clone())}),j._R(b,c,d),i.forEach(function(a){a.T5b(d)}),m=l.clone(),d.layoutShapes.forEach(function(b){var c=Math.min(b.leftTop.x,b.rightBottom.x,b.rightBottom.x,b.leftBottom.x),d=Math.max(b.leftTop.x,b.rightBottom.x,b.rightBottom.x,b.leftBottom.x),e=Math.min(b.leftTop.y,b.rightBottom.y,b.rightBottom.y,b.leftBottom.y),f=Math.max(b.leftTop.y,b.rightBottom.y,b.rightBottom.y,b.leftBottom.y);m=a.core.Rect.union(m,new a.core.Rect(c,e,d-c,f-e))}),delete d.layoutShapes,m},d.prototype.adc=function(a,b,c,d,e,f,g,h,i){var j=e,k=this.W5b(a,b,c,d,j,f,g,h,i);return(k.width>b.width||k.height>b.height)&&(j/=Math.max(k.width/b.width,k.height/b.height),k=this.W5b(a,b,c,d,j,f,g,h,i)),{radius:j,shape:k}},d.prototype.Y5b=function(a,b,c,d,e){if(0<=b&&c<=0){var f=Math.abs(b)>Math.abs(c)?-Math.abs(b+c):Math.abs(b+c);a.x+=.5*f}else b<=0&&0<=c?(f=Math.abs(b)>Math.abs(c)?Math.abs(b+c):-Math.abs(b+c),a.x+=.5*f):0<=b&&0<=c?(f=Math.abs(b+c),a.x-=.5*f):b<=0&&c<=0&&(f=Math.abs(b+c),a.x+=.5*f);return 0<=d&&e<=0?(f=Math.abs(d)>Math.abs(e)?-Math.abs(d+e):Math.abs(d+e),a.y+=.5*f):d<=0&&0<=e?(f=Math.abs(d)>Math.abs(e)?Math.abs(d+e):-Math.abs(d+e),a.y+=.5*f):0<=d&&0<=e?(f=Math.abs(d+e),a.y-=.5*f):d<=0&&e<=0&&(f=Math.abs(d+e),a.y+=.5*f),a},d.prototype.layout=function(b,c,d,e,f,g,h,i,j){var k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A=new a.core.Rect(c.left,c.top,c.width/g,c.height/h);return f=f.filter(function(a){return a.d4b()}),e=e.filter(function(a){return a.d4b()}),k=0,l=[],m=[],null!=d.F_AxisTitle&&f.forEach(function(c,d){if(l[d]=0,m[d]=0,c.SH()!=a.AxisPosition.None){var e=new a.core.Size(A.width,A.height),f=c.SIa(b,e);m[d]+=f.height,l[d]+=f.height-c.I4b-c._4b(),k+=l[d]}}),n=A.clone(),n.height-=k,o=new a.core.Point(c.left+c.width/2,c.top+c.height/2),p=1e3,q=this.V5b(f,o,p),r=Math.min(n.width/q.width,n.height/q.height)*p,s=this.adc(b,n,d,o,r,e,f,i,j),p=s.radius,null!=s.shape&&(t=s.shape,null!=t&&(u=t.left-n.left,v=t.right-n.right,w=t.top-n.top,x=t.bottom-n.bottom,o=this.Y5b(o,u,v,w,x))),y=A.clone(),z=0,f.forEach(function(a,c){p-=z,a.radius=p,a.cx=o.x,a.cy=o.y,a._R(b,y,d),null!=d.F_AxisTitle&&(a.kfb()._R(b,y,d),z+=m[c],y.height-=l[c])}),e.forEach(function(a,c){a.my([a.innerRadius*p,p]),a.radius=p,a.cx=o.x,a.cy=o.y,a._R(b,y,d),null!=d.F_AxisTitle&&a.kfb()._R(b,y,d)}),o},d);function d(){}b.bdc=c}(a.models||(a.models={}))}(d=d||{}),function(a){!function(b){"use strict";var c=(d.prototype.create=function(){return new a.models.bdc},d);function d(){}b.TrellisRadialCartesianCoordinateSystemLayoutPlugin=c}(a.plugins||(a.plugins={}))}(d=d||{}),function(a){"use strict";var b,c=(b=a.Ptb,e(d,b),d.prototype.w5=function(b){var c,d,e,f,g,h,i,j,k,l;for(c={},d=0,e=b;d<e.length;d++)for(f=0,g=e[d].points();f<g.length;f++)if(h=g[f],!h.Cgb())if(i=h.Q5a().mi(),h instanceof a.models.XCa)h.x6a(),j=h.y6a(),null==j||isNaN(j)||(null!=(k=c[i])&&h.z6a(k),null==c[i]?c[i]=Math.abs(j):c[i]+=Math.abs(j),h.y6a(c[i]));else if(h instanceof a.models.SCa){if(h.x6a(),l=null,null==h.A6a()&&null==h.B6a())continue;l=h.A6a()<0&&h.B6a()<0?h.A6a()-h.B6a():h.B6a()-h.A6a(),null!=(k=c[i])&&h.A6a(k),null==c[i]?c[i]=h.A6a()+Math.abs(l):c[i]+=Math.abs(l),h.B6a(c[i])}},d);function d(){return null!==b&&b.apply(this,arguments)||this}a.cdc=c}(d=d||{}),function(a){"use strict";var b,c=(b=a.Ptb,e(d,b),d.prototype._R=function(a,c,d){void 0===d&&(d=!1),this.PY(a),b.prototype._R.call(this,a,c,d)},d.prototype.PY=function(a){var b,c,d,e,f;for(b=0,c=a.J5a();b<c.length;b++)for(d=0,e=c[b].points();d<e.length;d++)f=e[d],f.Qb()<0&&f.Cgb(!0)},d);function d(){return null!==b&&b.apply(this,arguments)||this}a.ddc=c}(d=d||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"name",{get:function(){return"ExcelPie"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"type",{get:function(){return"PlotLayout"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.build=function(b,c){return b instanceof a.hbb&&b.qbc()?new a.cdc:null},d.prototype.queryInterface=function(a){return"IDefinitionPlugin"===a?this:null},d);function d(){}b.PieExcelPlotLayoutPlugin=c}(a.plugins||(a.plugins={}))}(d=d||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"name",{get:function(){return"Pie"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"type",{get:function(){return"PlotLayout"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.build=function(b,c){return b instanceof a.hbb&&b.qbc()?new a.ddc:null},d.prototype.queryInterface=function(a){return"IDefinitionPlugin"===a?this:null},d);function d(){}b.PiePlotLayoutPlugin=c}(a.plugins||(a.plugins={}))}(d=d||{}),function(a){"use strict";var b=(c.prototype.getLegendViewBuilder=function(){return new a.models.SjsLegendViewBuilder(this.eAa)},c.prototype.buildBackLegendManager=function(a){return null},c.prototype.buildFrontLegendManager=function(b){return new a.models.SjsFixedLegendViewManagerBuilder(this.eAa).build(this.nOa,b)},c.prototype.queryInterface=function(a){return"ILegendViewManagerDefinition"===a?this:null},c.prototype.equals=function(a){return this===a},c);function c(b){this.nOa=b,this.eAa=new a.options.SjsLegendViewManagerOption(b.$z().legend.option())}a.edc=b}(d=d||{}),function(a){!function(b){"use strict";var c,d=(c=b.L6b,e(f,c),f.prototype.createItemizedLegendView=function(b,c){return 0==c.filter(function(b){return!b.Ma(a.LegendType.Size)}).length?null:new a.SjsItemizedLegendView(b,c,this.eAa)},f);function f(a){var b=c.call(this)||this;return b.eAa=a,b}b.SjsLegendViewBuilder=d}(a.models||(a.models={}))}(d=d||{}),function(a){!function(b){"use strict";var c,d,f=(c=b.p7b,e(g,c),g.prototype.$z=function(){return this.eAa},g.prototype.dispose=function(){c.prototype.dispose.call(this),null!=this.fdc&&this.fdc.dispose()},g.prototype.legendViews=function(){var a=c.prototype.legendViews.call(this);return null!=this.fdc&&a.push.apply(a,this.fdc._bb()),a},g.prototype.render=function(a,b,d){c.prototype.render.call(this,a,b,d),null!=this.fdc&&this.fdc.yl(a,d)},g.prototype.hitTest=function(a,b){var d=null;return null!=this.fdc&&null!=(d=this.fdc.mr(a,b))?d:c.prototype.hitTest.call(this,a,b)},g.prototype.layout=function(a,b,d){var e=c.prototype.layout.call(this,a,b,d),f=this.fdc;return null!=f&&(f._R(a,e,d),f.APa().height/b.height<.3&&(e.top+=f.APa().height,e.height-=f.APa().height),e.width-=f.APa().width),this.$z().showLegendWithoutOverlappingChart?e:b},g);function g(a,b,d,e,f,g,h){var i=c.call(this,a,d,e,f,g)||this;return i.eAa=b,i.fdc=h,i}b.gdc=f,h.prototype.SH=function(){return a.core.UOb.isNullEnum(this.option.excelPosition)?a.SjsLegendPosition.Right:this.option.excelPosition},h.prototype.build=function(b,c){var d,e,f,g,h,i=[],j=[],k=[],l=[],m=[];switch(this.SH()){case a.SjsLegendPosition.Left:i.push.apply(i,c);break;case a.SjsLegendPosition.Top:j.push.apply(j,c);break;case a.SjsLegendPosition.Right:k.push.apply(k,c);break;case a.SjsLegendPosition.Bottom:l.push.apply(l,c);break;case a.SjsLegendPosition.TopRight:m.push.apply(m,c)}return d=null,e=null,f=null,g=null,h=null,0<i.length&&(d=this.createLegendsView(b,i,a.SjsLegendPosition.Left)),0<k.length&&(e=this.createLegendsView(b,k,a.SjsLegendPosition.Right)),0<j.length&&(f=this.createLegendsView(b,j,a.SjsLegendPosition.Top)),0<l.length&&(g=this.createLegendsView(b,l,a.SjsLegendPosition.Bottom)),0<m.length&&(h=this.createLegendsView(b,m,a.SjsLegendPosition.TopRight)),this.createLegendViewManager(b,d,e,f,g,h)},h.prototype.createLegendsView=function(b,c,d){return new a.SjsLegendsView(b,c,d)},h.prototype.createLegendViewManager=function(a,b,c,d,e,g){return new f(a,this.option,b,c,d,e,g)},d=h;function h(a){this.option=a}b.SjsFixedLegendViewManagerBuilder=d}(a.models||(a.models={}))}(d=d||{}),function(a){a.options||(a.options={})}(d=d||{}),function(a){"use strict";var b;(b=a.SjsLegendPosition||(a.SjsLegendPosition={}))[b.Left=0]="Left",b[b.Top=1]="Top",b[b.Right=2]="Right",b[b.Bottom=3]="Bottom",b[b.None=4]="None",b[b.TopRight=5]="TopRight"}(d=d||{}),function(a){!function(b){"use strict";var c,d=(c=b.S8a,e(f,c),Object.defineProperty(f.prototype,"excelPosition",{get:function(){return this.hdc},set:function(b){null!=this.hdc&&this.hdc==b||(this.hdc=a.core.UOb.asEnum(b,a.SjsLegendPosition,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"showLegendWithoutOverlappingChart",{get:function(){return this.idc},set:function(a){null!=this.idc&&this.idc==a||(this.idc=b.qPb.PBa(a,!0))},enumerable:!0,configurable:!0}),f);function f(a){var b=c.call(this,a)||this;return b.showLegendWithoutOverlappingChart=b.$z().showLegendWithoutOverlappingChart,b.excelPosition=b.$z().excelPosition,b}b.SjsLegendViewManagerOption=d}(a.options||(a.options={}))}(d=d||{}),function(a){!function(b){"use strict";var c=(Object.defineProperty(d.prototype,"name",{get:function(){return"SjsLegendViewManagerPlugin"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"type",{get:function(){return"LegendViewManagerModel"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"priority",{get:function(){return 0},enumerable:!0,configurable:!0}),d.prototype.build=function(b,c){return b instanceof a.kKa?new a.edc(b):null},d.prototype.queryInterface=function(a){return"IDefinitionPlugin"==a?this:null},d);function d(){}b.SjsLegendViewManagerPlugin=c}(a.plugins||(a.plugins={}))}(d=d||{}),function(a){"use strict";var b,c=(b=a.$6b,e(d,b),d.prototype.Bfb=function(b){return new a.SjsLegendItemView(this,b)},d.prototype._orientation=function(){return a.core.UOb.isNullEnum(this.BLa().$z().orientation)?a.core.UOb.isNullEnum(this.BLa().q4a().$z().legend.orientation)?a.core.UOb.isNullEnum(this.BLa().q4a().s4a().$z().legend.orientation)?this.BLa().Gsb().jdc():this.BLa().q4a().s4a().$z().legend.orientation:this.BLa().q4a().$z().legend.orientation:this.BLa().$z().orientation},d.prototype.ad=function(a){this.visibleItemRects=null,this.contentSize=null},d.prototype.calcInnerContentSize=function(){return this.contentSize},d.prototype.defaultItemSpace=function(){return 10},d.prototype.SIa=function(b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;if(c.width<=0||c.height<=0)return this.contentSize=new a.core.Size(0,0),this.visibleItemRects=[],new a.ViewMetricsResult(new a.core.Size(0,0));for(d=[],e=0,f=this.Y6b();e<f.length;e++)g=f[e],h=new a.core.Size(Number.MAX_VALUE,Number.MAX_VALUE),i=g.SIa(b,h),d.push(i);for(j=0,k=0,l=0,m=0,n=d;m<n.length;m++)i=n[m],j=Math.max(j,i.width),k=Math.max(k,i.height),l+=i.width;return c.width<j||c.height<k?(this.contentSize=new a.core.Size(0,0),this.visibleItemRects=[],new a.ViewMetricsResult(new a.core.Size(0,0))):(isFinite(c.width)&&isFinite(c.height)||(this._orientation()==a.Orientation.Horizontal?(o=c.width,l<=o?c=new a.core.Size(Math.min(l+d.length*this.defaultItemSpace(),o),k+this.defaultItemSpace()):(p=Math.min(Math.floor(o/j),d.length),
- q=Math.ceil(d.length/p),p=Math.ceil(d.length/q),c=new a.core.Size(p*j,k*q))):(r=c.height,q=Math.min(Math.floor(r/k),d.length),p=Math.ceil(d.length/q),q=Math.ceil(d.length/p),c=new a.core.Size(p*j,k*q),1==p&&q==d.length&&(c.height=Math.min(c.height+d.length*this.defaultItemSpace(),r),c.width+=this.defaultItemSpace()))),this.contentSize=c.clone(),this.visibleItemRects=this.preLayout(this.Y6b(),d,c),new a.ViewMetricsResult(c))},d.prototype.preLayoutSingleRow=function(a,b,c){var d,e,f,g,h;for(d=b.height,e=(b.width-c)/a.length,f=e/2,g=0;g<a.length;++g)h=a[g],this.layoutItemRect(h,f,0,h.width,d),f+=h.width+e;return a},d.prototype.preLayout=function(b,c,d){var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;for(e=c.map(function(b){return new a.core.Rect(0,0,b.width,b.height)}),f=0,g=0,h=0,i=0,j=c;i<j.length;i++)k=j[i],f=Math.max(f,k.width),g=Math.max(g,k.height),h+=k.width;if(d.width>=h)return this.preLayoutSingleRow(e,d,h);for(l=Math.min(Math.floor(d.width/f),b.length),m=Math.min(Math.floor(d.height/g),Math.ceil(b.length/l)),l=Math.min(Math.ceil(b.length/m),l),n=(d.width-l*f)/l,o=(d.height-m*g)/m,p=o/2,q=0;q<m;++q){for(r=n/2,s=0;s<l&&!(q*l+s>=b.length);++s)t=e[q*l+s],this.layoutItemRect(t,r,p,f,g),r+=f+n;p+=g+o}return e.length=Math.min(m*l,b.length),e},d.prototype.layoutItemRect=function(a,b,c,d,e){a.left=b,a.top=c+(e-a.height)/2},d.prototype.PIa=function(a,b,c){var d,e,f,g,h,i;for(d=b.left,e=b.top,f=this.Y6b(),g=0;g<f.length;++g)h=f[g],g<this.visibleItemRects.length?(i=this.visibleItemRects[g],i.left+=d,i.top+=e,h.bz(!0),h._R(a,i,c)):h.bz(!1)},d.prototype.RIa=function(a,b,c){if(null!=this.visibleItemRects)for(var d=this.Y6b(),e=0;e<this.visibleItemRects.length;++e)d[e].yl(a,c)},d.prototype.Jrb=function(a,b){var c,d,e,f;for(c=0,d=this.Y6b();c<d.length;c++)if(e=d[c],e.bz()&&(f=e.mr(a,b),null!=f))return f;return null},d);function d(a,c){return b.call(this,a,c)||this}a.SjsItemizedLegendContendView=c}(d=d||{}),function(a){"use strict";var b,c=(b=a.mcb,e(d,b),d.prototype.ysb=function(){return!1},d.prototype.Dsb=function(){return new a.SjsItemizedLegendContendView(this,this.g7b())},d.prototype.lfb=function(){return 10},d.prototype.j7b=function(){return.2*this.kdc()},d.prototype.kdc=function(){var b=new a.Arb;return b.rrb(this.q4a().s4a().$z().legend.textStyle),b.rrb(this.q4a().$z().legend.textStyle),b.rrb(this.$z().textStyle),null==b.fontSize?12:parseFloat(b.fontSize)},d.prototype._margin=function(){if(this.sjsOption.showLegendWithoutOverlappingChart){var b=this.sjsOption.excelPosition;return b==a.SjsLegendPosition.Top||b==a.SjsLegendPosition.Bottom?new a.options.gYb({top:10,right:0,bottom:10,left:0}):new a.options.gYb({top:0,right:10,bottom:0,left:10})}return new a.options.gYb({top:0,right:0,bottom:0,left:0})},d.prototype.zPa=function(){var b=this.$z().padding;return b.isEmpty()&&(b=this.q4a().$z().legend.padding).isEmpty()&&(b=this.q4a().s4a().$z().legend.padding).isEmpty()?new a.options.bOa(0):b},d.prototype.SIa=function(c,d){var e,f,g=new a.core.Size(1/0,1/0);return this.Bsb()._orientation()==a.Orientation.Horizontal?g.width=this.q4a().APa().width:g.height=this.q4a().APa().height,e=b.prototype.SIa.call(this,c,g),this.legendSize=e.size.clone(),f=this.getLegendFixedSize(this.q4a().APa().size),null!=f&&(this.legendSize=b.prototype.SIa.call(this,c,f).size),e},d.prototype._R=function(c,d,e){if(null!=this.legendSize){var f=this.q4a().APa(),g=this.q4a().s4a().APa(),h=this.E6b(),i=new a.core.Rect(d.left,d.top,this.legendSize.width,this.legendSize.height);null!=h.left&&(i.left=Math.max(g.left+g.width*h.left,f.left)),null!=h.top&&(i.top=Math.max(g.top+g.height*h.top,f.top)),i.right>f.right&&(i.left-=i.right-f.right),i.bottom>f.bottom&&(i.top-=i.bottom-f.bottom),e.OriginalLegendSize=i.clone(),b.prototype._R.call(this,c,i,e)}},d.prototype.getLegendFixedSize=function(b){var c,d=this.$z();return null==d.width||null==d.height?null:(c=new a.core.Size(0,0),d.width.type===a.ValueOptionType.Percentage?c.width=b.width*d.width.value:c.width=d.width.value,d.height.type===a.ValueOptionType.Percentage?c.height=b.height*d.height.value:c.height=d.height.value,c)},d);function d(a,c,d){var e=b.call(this,a,c)||this;return e.sjsOption=d,e}a.SjsItemizedLegendView=c}(d=d||{}),function(a){"use strict";var b,c=(b=a.kRa,e(d,b),d.prototype.Kfb=function(b,c){var d,e=parseFloat(b.fontSize);return isNaN(e)&&(e=12),d=this.aT().Za(),null!=this.aT().Oz()&&d.F4a()?d.Efb(b,this.aT().Oz()):d instanceof a.vVb||d instanceof a.Xgb||d instanceof a.Xsb?new a.core.Size(28,.5*e):new a.core.Size(.5*e,.5*e)},d);function d(a,c){return b.call(this,a,c)||this}a.SjsLegendItemView=c}(d=d||{}),function(a){"use strict";var b,c=(b=a.A6b,e(d,b),d.prototype.isVertical=function(){var b=this.position;return b===a.SjsLegendPosition.Left||b===a.SjsLegendPosition.Right||b===a.SjsLegendPosition.TopRight},d.prototype.jdc=function(){return this.isVertical()?a.Orientation.Vertical:a.Orientation.Horizontal},d.prototype.D6b=function(a){return!0},d.prototype.getScrollContainerRect=function(){return this.APa()},d.prototype.layoutRectangle=function(b,c,d,e,f){var g,h,i,j,k,l,m,n,o,p,q,r;for(h=f,i=0,j=d.length,k=0;k<j;k++)l=d[k],m=c[k],n=l._margin(),this.isVertical()?(h+=m.height,o=m.width+n.left+n.right,i=Math.max(o,i)):(h+=m.width,p=m.height+n.top+n.bottom,i=Math.max(p,i));switch(g=this.isVertical()?new a.core.Size(i,Math.min(h,e.height)):new a.core.Size(Math.min(h,e.width),i),q=this.position,r=e.clone(),q){case a.SjsLegendPosition.Left:r.width=g.width;break;case a.SjsLegendPosition.Right:r.left=e.right-g.width,r.width=g.width;break;case a.SjsLegendPosition.Top:r.height=g.height;break;case a.SjsLegendPosition.Bottom:r.height=g.height,r.top=e.bottom-g.height;break;case a.SjsLegendPosition.TopRight:r.left=e.right-g.width,r.width=g.width,r.height=g.height}this.APa(r)},d.prototype.inflateLegendSize=function(a,b){return a.clone()},d);function d(a,c,d){var e,f,g,h=b.call(this,a)||this;for((e=h._bb()).push.apply(e,c),f=0,g=c;f<g.length;f++)g[f].H6b(h);return h.position=d,h}a.SjsLegendsView=c}(d=d||{})},"./dist/plugins/chart/hoverStyle.js":function(a,b,c){"use strict";var d,e,f,g,h,i,j,k,l,m,n,o,p=this&&this.__extends||function(){var a=function(b,c){return(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])})(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)}}();Object.defineProperty(b,"__esModule",{value:!0}),d=c("FloatingObject"),e=c("./dist/plugins/chart/chartFormat.js"),f=void 0,g=d.Drawing.ChartUtility,h=d.Drawing.ChartElementBase,i=g.getTransparencyFromColorFormat,j=d.Drawing.UnitHelper,k=j.isNullOrUndefined,l=g.colorFormatToString,m=function(a){p(b,a);function b(b){var c=a.call(this)||this,d=c;return d.Spa=b,d}return Object.defineProperty(b.prototype,"Format",{get:function(){return this.ChartFormat},enumerable:!0,configurable:!0}),b.prototype.CreateFormat=function(){var a=new e.ChartFormat(this.Spa);return a.Fill.Color.ColorType=0,a.Fill.Color.Transparency=1,a.Line.Color.ColorType=0,a.Line.Color.Transparency=1,a},b.prototype.GetFillColor=function(a,b,c){return 0===this.Format.Fill.Color.ColorType?f:l(this.Format.Fill,a,b,c)},b.prototype.SetFillColor=function(a,b){null===b||""===b?this.Format.Fill.Color.ColorType=0:this.Format.Fill.Color.setColor(a,b)},b.prototype.GetFillColorTransparency=function(){return i(this.Format.Fill,!0)},b.prototype.SetFillColorTransparency=function(a){this.Format.Fill.Color.Transparency=a},b.prototype.GetLineColor=function(a,b,c){return 0===this.Format.Line.Color.ColorType?f:l(this.ChartFormat.Line,a,b,c)},b.prototype.SetLineColor=function(a,b){null===b||""===b?this.Format.Line.Color.ColorType=0:this.Format.Line.Color.setColor(a,b)},b.prototype.GetLineColorTransparency=function(){return i(this.Format.Line,!0)},b.prototype.SetLineColorTransparency=function(a){this.Format.Line.Color.Transparency=a},b.prototype.GetLineWidth=function(){var a=this.Format.Line&&this.Format.Line.Weight;return!k(a)&&a>0?a:f},b.prototype.SetLineWidth=function(a){k(a)||(this.Format.Line.Weight=a)},b.prototype.GetLineType=function(){return this.Format.Line&&this.Format.Line.DashStyle},b.prototype.SetLineType=function(a){!k(a)&&this.Format.Line&&(this.Format.Line.DashStyle=a)},b}(h),n=function(a){p(b,a);function b(b){var c=a.call(this,b)||this;return c}return b}(m),o=function(a){p(b,a);function b(b){var c=a.call(this,b)||this,d=c;return d.Za=new n(b),d}return b}(m),b.HoverStyle=o},"./dist/plugins/chart/legend.js":function(a,b,c){"use strict";var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r=this&&this.__extends||function(){var a=function(b,c){return(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])})(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)}}();Object.defineProperty(b,"__esModule",{value:!0}),d=c("./dist/plugins/chart/chartFormat.js"),e=c("FloatingObject"),f=e.Drawing.ChartElementBase,g=e.Drawing.ChartUtility,h=e.Drawing.UnitHelper,i=e.Drawing.DrawingText,j=e.Drawing.LegendPosition,k=h.isNullOrUndefined,l=null,m=void 0,n=function(a){r(b,a);function b(b,c,d){var e,f=a.call(this)||this;return d===m&&(d=-1),e=f,e.hva=b,e.iva=c,e.zoa=d,f}return b.prototype.Equals=function(a){return a&&this.iva===a.iva&&this.zoa===a.zoa||!1},Object.defineProperty(b.prototype,"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:l},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Parent",{get:function(){return this.hva},enumerable:!0,configurable:!0}),b.prototype.ClearFormats=function(){},b.prototype.Delete=function(){},Object.defineProperty(b.prototype,"Series",{get:function(){return this.iva},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Point",{get:function(){return this.zoa},enumerable:!0,configurable:!0}),b.prototype.CreateFormat=function(){return new d.ChartFormat(this.hva.Parent.Parent,this.hva.Parent.Format)},b}(f),b.LegendKey=n,o=function(){function a(a,b,c){c===m&&(c=-1);var d=this;d.Ysa=l,d.jva=l,d.kva=l,d.lva=l,d.mva=a,d.jva=new n(d,b,c)}return Object.defineProperty(a.prototype,"Font",{get:function(){var a=this;return a.kva||(a.kva=new i(a.mva.Parent.Parent,a.mva.Font)),a.kva.Font},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"Format",{get:function(){return this.jva.Format},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"Parent",{get:function(){return this.mva},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"Deleted",{get:function(){return this.Ysa||!1},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"SourceIndex",{get:function(){return this.mva.LegendEntries.IndexOfSource(this)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"LegendKey",{get:function(){return this.jva},enumerable:!0,configurable:!0}),a.prototype.Delete=function(){this.Ysa=!0},a.prototype.FromOOModel=function(a){if(k(a))return this.Ysa=!1,void(this.kva=l);if(k(a.delete)||(this.Ysa=a.delete),!this.Deleted)if(k(a.txPr))this.kva=l;else{this.kva=new i(this.mva.Parent.Parent,this.mva.Font);var b={};b.rich=a.txPr,this.kva.FromOOModel(b)}},a.prototype.ToOOModel=function(){var a=this.lva;return(k(a)&&!k(this.kva)&&this.kva.Font.IsDirtyIncludingParent(!1)||!k(this.Ysa))&&(a={}),k(a)?l:(k(this.Ysa)||(a.delete=this.Ysa),a.idx=this.SourceIndex,this.Deleted||k(this.kva)||(a.txPr=this.kva.ToOOModel().rich),a)},a}(),b.LegendEntry=o,p=function(){function a(a){this.nva=[],this.mva=a,this.ova=a.Parent.SeriesCollection}return a.prototype.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,!k(f)&&this.ova.IndexOf(f)!==-1&&b===g)return e;return l},a.prototype.UpdateEntries=function(a){var b,c,d,e,f,h=[],i=this,j=i.ova,k=i.mva;if(j.Count>0)if(c=j.Get(0),g.IsAnyPieChart(c.InnerChartType))for(d=c.PointsCount,b=0;b<d;b++)a?h.push(new o(k,c,b)):h.push(i.GetEntry(c,b));else for(b=0,e=j.Count;b<e;b++)f=j.Get(b),a?h.push(new o(k,f)):h.push(i.GetEntry(f,-1));i.nva=h},a.prototype.GetEntry=function(a,b){return this.FindEntryByKey(a,b)||new o(this.mva,a,b)},Object.defineProperty(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},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"Parent",{get:function(){return this.mva},enumerable:!0,configurable:!0}),a.prototype.Get=function(a){return this.GetItem(a)},a.prototype.GetAllExistingEntries=function(){return this.nva},a.prototype.IndexOfSource=function(a){return this.nva.indexOf(a)},a.prototype.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 l},a.prototype.RestorEntries=function(a){var b,c,d,e,f,g,h;if(k(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],k(f.idx)||(g=f.idx,h=void 0,g<c&&(h=b[g],k(h)||h.FromOOModel(f)))},a}(),b.LegendEntries=p,q=function(a){r(b,a);function b(b){var c=a.call(this)||this,d=c;return d.DefaultFontSize=h.pointToPixel(9),d.SH=j.right,d.Lqa=l,d.Spa=b,d.Qpa=new i(b.Parent,b.ChartArea.Font),d.Qpa.Font.Size=h.pointToPixel(9),d.nva=new p(d),d.Position=j.bottom,c}return Object.defineProperty(b.prototype,"Font",{get:function(){var a=this;return a.Qpa||(a.Qpa=new i(a.Spa.Parent,a.Spa.ChartArea.Font)),a.Qpa.Font},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Format",{get:function(){return this.ChartFormat},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"LegendEntries",{get:function(){return this.nva},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Parent",{get:function(){return this.Spa},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Position",{get:function(){return this.SH},set:function(a){this.SH=a,this._R&&0!==a&&(this._R=l)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Layout",{get:function(){return this._R},set:function(a){this._R=a},enumerable:!0,configurable:!0}),b.prototype.Delete=function(){this.Spa.HasLegend=!1},b.prototype.From2016ChartOOModel=function(b){var c,d=this;d.Lqa=b,k(b.align)||(d.Slb=b.align),k(b.legendPos)||(d.SH=b.legendPos),k(b.overlay)||(d.IncludeInLayout=b.overlay),a.prototype.FromShapeProperties.call(this,b.spPr),k(b.txPr)||(c={rich:b.txPr},d.Qpa.FromOOModel(c))},b.prototype.FromOOModel=function(b){var c,d=this;d.Lqa=b,k(b.legendPos)||(d.SH=b.legendPos),k(b.overlay)||(d.IncludeInLayout=b.overlay),k(b.layout)||k(b.layout.manualLayout)||(d.Layout=b.layout.manualLayout),a.prototype.FromShapeProperties.call(this,b.spPr),k(b.txPr)||(c={rich:b.txPr},d.Qpa.FromOOModel(c)),d.nva.RestorEntries(b.legendEntry)},b.prototype.ToOOModel=function(b){var c,d,e,f,g,h,i=this,j=i.Lqa||{};for(i.Slb&&(j.align=i.Slb),i.Position&&(j.legendPos=i.Position),i.Layout&&(j.layout={manualLayout:i.Layout}),j.overlay=i.IncludeInLayout,j.spPr=a.prototype.ToShapeProperties.call(this),j.spPr&&j.spPr.ln&&k(j.spPr.ln.w)&&(j.spPr.ln={noFill:!0}),k(i.Qpa)||(c=i.Qpa.ToOOModel(b),k(c)?j.txPr=l:j.txPr=c.rich),d=[],e=0,f=i.nva.GetAllExistingEntries();e<f.length;e++)g=f[e],h=g.ToOOModel(),k(h)||d.push(h);return d.length>0&&(j.legendEntry=d),j},b.prototype.CreateFormat=function(){var a=new d.ChartFormat(this.Spa);return a.Fill.Color.ColorType=0,a},b}(f),b.Legend=q},"./dist/plugins/chart/plotArea.js":function(a,b,c){"use strict";var d,e,f,g,h,i,j,k,l,m,n,o=this&&this.__extends||function(){var a=function(b,c){return(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])})(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)}}();Object.defineProperty(b,"__esModule",{value:!0}),d=c("./dist/plugins/chart/chartFormat.js"),e=c("FloatingObject"),f=e.Drawing.ColorSchemeIndex,g=e.Drawing.ChartElementBase,h=e.Drawing.ChartUtility,i=e.Drawing.CT_AxisType,j=e.Drawing.UnitHelper,k=j.isNullOrUndefined,l=null,m=void 0;function p(a){var b,c,d,e;if(a.chartGroups&&a.chartGroups.length>0)for(b=a.chartGroups,c=0;c<b.length;c++)if(b[c]&&b[c].ser&&b[c].ser.length>0)for(d=b[c].ser,e=0;e<d.length;e++)if(!k(d[e]&&d[e].trendline))return!0}function q(a,b){var c,d,e=function(c){var d=a.filter(function(a){return a.axId===b[c]&&a.axisType!==i.CT_ValAx})[0];if(d&&d.length>0)return{value:d}};for(c=0;c<b.length;c++)if(d=e(c),"object"==typeof d)return d.value}function r(a,b,c,d){return 0===b?a:1===b?30*a:2===b?365*a:a}function s(a,b,c,d){return 0===b?a:1===b?a/30:2===b?a/365:a}n=function(a){o(b,a);function b(b){var c=a.call(this)||this,d=c;return d.pva=l,d.Spa=b,d.Kb=d.GetDefaultFormat(),d}return b.prototype.GetDefaultFormat=function(){var b=a.prototype.GetDefaultFormat.call(this);return b.Fill.Color.ColorType=0,b.Line.Color.ColorType=0,b},b.prototype.CreateFormat=function(){return new d.ChartFormat(this.Spa)},Object.defineProperty(b.prototype,"Format",{get:function(){return this.ChartFormat},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Parent",{get:function(){return this.Spa},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"PrimaryCatAxis",{get:function(){return this.Spa.Axes.Item(0,0)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"PrimaryValAxis",{get:function(){return this.Spa.Axes.Item(1,0)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"SecondaryCatAxis",{get:function(){return this.Spa.Axes.Item(0,1)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"SecondaryValAxis",{get:function(){return this.Spa.Axes.Item(1,1)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"SerAxis",{get:function(){return this.Spa.Axes.Item(2,0)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"SeriesCollection",{get:function(){return this.Spa.SeriesCollection},enumerable:!0,configurable:!0}),b.prototype.FromOOModel=function(a){var b,c,d,e,f,g,i,j,l,m,n,o=this;if(o.pva=a,a.axes||(a.axes=[]),o.FromShapeProperties(a.spPr),o.Spa.SeriesCollection.RestoreSeries(a),b=h.GetIs2016ChartByPlotArea(a))o.Spa.Axes.Restore2016ChartAxes(a);else if(o.Spa.Axes.RestoreAxes(a),p(a))for(c=a.chartGroups,d=0;d<c.length;d++)if(c[d]&&c[d].ser&&c[d].ser.length>0)for(e=c[d].ser,f=0;f<e.length;f++)if(g=o.SeriesCollection.AllSers,!k(e[f]&&e[f].trendline)&&(i=q(a.axes,c[d].axId),i&&!k(i.baseTimeUnit))){for(j=e[f],l=0;l<g.length;l++)g[l].Sta===j.idx&&(j=g[l]);for(m=j.Trendlines.Jta,l=0;l<m.length;l++)n=m[l],n.Forward&&(n.Forward=r(n.Forward,i.baseTimeUnit)),n.Backward&&(n.Backward=r(n.Backward,i.baseTimeUnit))}},b.prototype.ToOOModel=function(){var a,b,c,d,e,f,g,i,j,l=this,m=l.Spa.ChartType,n=h.GetIs2016ChartByChartType(m);if(n)a={plotAreaRegion:{}},a.spPr=l.ToShapeProperties(),a.plotAreaRegion.series=l.ToCT_Series(),a.axes=l.Update2016ChartAxes(l.PrimaryCatAxis,l.PrimaryValAxis,this.SecondaryCatAxis,this.SecondaryValAxis);else if(a=l.pva||{},b=l.ToCT_ChartPlotArea(m),k(b)||(l.SyncPlotAreaCharts(b,a),a.spPr=l.ToShapeProperties()),p(a))for(c=a.chartGroups,d=0;d<c.length;d++)if(c[d]&&c[d].ser&&c[d].ser.length>0)for(e=c[d].ser,f=0;f<e.length;f++)if(!k(e[f]&&e[f].trendline)&&(g=q(a.axes,c[d].axId),g&&!k(g.baseTimeUnit)))for(i=0;i<e[f].trendline.length;i++)j=e[f].trendline[d],j.forward&&(j.forward=s(j.forward,g.baseTimeUnit)),j.backward&&(j.backward=s(j.backward,g.baseTimeUnit));return a},b.prototype.Update2016ChartAxes=function(a,b,c,d){var e=[];return k(a)||k(a.yn)||e.push(a.To2016ChartOOModel()),k(b)||k(b.yn)||e.push(b.To2016ChartOOModel()),k(c)||k(c.yn)||e.push(c.To2016ChartOOModel()),k(d)||k(d.yn)||e.push(d.To2016ChartOOModel()),e},b.prototype.ToCT_Series=function(){var a,b,c=[],d=this.SeriesCollection.AllSers;if(!k(d)&&d.length>0)for(a=0;a<d.length;a++)b=d[a],c.push(b.ToOOModel());return c},b.prototype.ToCT_ChartPlotArea=function(a,b,c){var d,e,f,g,i,j,n,o,p,q,r;switch(b===m&&(b=l),c===m&&(c=!0),d={chartGroups:[],axes:[]},e=k(b)||0===b,f=!0,f=h.IsStockChart(a)?this.HasSecondarySeries(9):(k(b)||1===b)&&this.HasSecondarySeries(a)&&!h.Is3DChart(a)&&!h.IsSurfaceChart(a),h.IsAnyPieChart(a)&&(c=!1),g=l,i=l,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&&(i=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&&(i=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&&(i=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&&(i=this.ToCT_AreaChart(a,1));break;case 2:case 42:case 43:e&&(g=this.ToCT_RadarChart(a,0)),f&&(i=this.ToCT_RadarChart(a,1));break;case 1:case 33:case 34:case 35:case 36:e&&(g=this.ToCT_ScatterChart(a,0)),f&&(i=this.ToCT_ScatterChart(a,1));break;case 11:case 48:e&&(g=this.ToCT_BubbleChart(a,0)),f&&(i=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&&(i=this.ToCT_StockChart(a,1));break;case 51:case 52:e&&(j=this.SeriesCollection.GetSers(!1,0),j.length>0&&(n=j[0].InnerChartType,g=this.ToCT_ChartBase(n,0))),f&&(i=this.ToCT_StockChart(a,1))}return o=!k(g)&&g.ser&&g.ser.length>0,p=!k(i)&&i.ser&&i.ser.length>0,q=!o&&!p,(o||q&&!k(g))&&(d.chartGroups.push(g),c&&(r=this.SetPlotAreaAxies(d,this.PrimaryCatAxis,this.PrimaryValAxis,this.SerAxis),g.axId=g.axId.concat(r))),p&&(d.chartGroups.push(i),c&&(r=this.SetPlotAreaAxies(d,this.SecondaryCatAxis,this.SecondaryValAxis,this.SerAxis),i.axId=i.axId.concat(r))),d},b.prototype.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)}},b.prototype.SyncPlotAreaCharts=function(a,b){var c,d,e,f;b.axes=a.axes,b.chartGroups=a.chartGroups,c=l,d=h.GetSurface3DChart(b),k(d)||k(d.bandFmts)||(c=d.bandFmts),e=l,f=h.GetSurfaceChart(b),k(f)||k(f.bandFmts)||(e=f.bandFmts),k(d)||k(c)||(d.bandFmts=c),k(f)||k(e)||(f.bandFmts=e)},b.prototype.ToComboChartPlotArea=function(){var a=this.ConvertAxisGroupToComboChartPlotArea(0),b=this.ConvertAxisGroupToComboChartPlotArea(1);return k(a)||k(b)?k(a)?k(b)?null:b:a:this.MergePrimeSecondPlotArea(a,b)},b.prototype.ConvertAxisGroupToComboChartPlotArea=function(a){var b,c,d,e,f,g,i,j,m=[],n=this.SeriesCollection.GetSers(!1,a);for(b=0,c=n;b<c.length;b++)d=c[b],m.indexOf(d.InnerChartType)<0&&m.push(d.InnerChartType);for(e=[],f=l,g=0,i=m;g<i.length;g++)j=i[g],k(f)&&!h.IsAnyPieChart(j)?(f=this.ToCT_ChartPlotArea(j,a),e.push(f)):e.push(this.ToCT_ChartPlotArea(j,a,!1));return e.length>0?this.ProcessComboPlotAreas(e):null},b.prototype.ProcessComboPlotAreas=function(a){var b,c,d,e,f,g,i,j,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,$,_,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=l;for(b=0,c=a;b<c.length;b++)if(d=c[b],e=h.GetChartType(d),!h.IsAnyPieChart(e)){Fa=d;break}if(k(Fa)&&a.length>0?(Fa=a[0],a.splice(0,1)):a.splice(a.indexOf(Fa),1),!k(Fa)&&a.length>0){if(f=[],!k(Fa.axes))for(g=0,i=Fa.axes;g<i.length;g++)j=i[g],f.push(j.axId);for(m=0;m<a.length;m++){if(n=a[m],o=h.GetArea3DChart(n),!k(o)&&k(o)&&(o.axId=f,Fa.chartGroups.push(o)),p=h.GetAreaChart(n),!k(p))for(q=0,r=p;q<r.length;q++)if(s=r[q],s.axId=f,t=h.GetAreaChart(Fa),0===t.length||h.GetChartTypeByAreaChart(t[0])!==h.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=h.GetBar3DChart(n),y=h.GetBar3DChart(Fa),!k(x)&&k(y)&&(x.axId=f,Fa.chartGroups.push(o)),z=h.GetBarChart(n),!k(z))for(A=0,B=z;A<B.length;A++)if(C=B[A],C.axId=f,D=h.GetBarChart(Fa),0===D.length||h.GetChartTypeByBarChart(D[0])!==h.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=h.GetBubbleChart(n),!k(G))for(H=0,I=G;H<I.length;H++)if(J=I[H],J.axId=f,K=h.GetBubbleChart(Fa),0===K.length||h.GetChartTypeByBubbleChart(K[0])!==h.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=h.GetDoughnutChart(n),!k(N))for(O=0,P=N;O<P.length;O++)if(Q=P[O],R=h.GetDoughnutChart(Fa),0===R.length||h.GetChartTypeByPieChart(R[0])!==h.GetChartTypeByPieChart(Q))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=h.GetLine3DChart(n),V=h.GetLine3DChart(Fa),!k(U)&&k(V)&&(U.axId=f,Fa.chartGroups.push(U)),W=h.GetLineChart(n),!k(W))for(X=0,Y=W;X<Y.length;X++)if(Z=Y[X],Z.axId=f,$=h.GetLineChart(Fa),0===$.length||h.GetChartTypeByLineChart($[0],null)!==h.GetChartTypeByLineChart(Z,null))Fa.chartGroups.push(Z);else for(_=0,aa=Z.ser;_<aa.length;_++)w=aa[_],$[0].ser.push(w);if(ba=h.GetOfPieChart(n),!k(ba))for(ca=0,da=ba;ca<da.length;ca++)if(ea=da[ca],fa=h.GetOfPieChart(Fa),0===fa.length||h.GetChartTypeByPieChart(fa[0])!==h.GetChartTypeByPieChart(ea))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=h.GetPie3DChart(n),ja=h.GetPie3DChart(Fa),!k(ia)&&k(ja)&&Fa.chartGroups.push(ia),ka=h.GetPieChart(n),!k(ka))for(la=0,ma=ka;la<ma.length;la++)if(na=ma[la],oa=h.GetPieChart(Fa),0===oa.length||h.GetChartTypeByPieChart(oa[0])!==h.GetChartTypeByPieChart(na))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=h.GetRadarChart(n),!k(ra))for(sa=0,ta=ra;sa<ta.length;sa++)if(ua=ta[sa],ua.axId=f,va=h.GetRadarChart(Fa),0===va.length||h.GetChartTypeByRadarChart(va[0],null)!==h.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=h.GetScatterChart(n),!k(ya))for(za=0,Aa=ya;za<Aa.length;za++)if(Ba=Aa[za],Ba.axId=f,Ca=h.GetScatterChart(Fa),0===Ca.length||h.GetChartTypeByScatterChart(Ca[0])!==h.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},b.prototype.MergePrimeSecondPlotArea=function(a,b){var c,d,e,f,g,i,j,l,m,n,o,p,q,r,s,t,u;return k(b.axes)||(a.axes=a.axes.concat(b.axes)),c=h.GetArea3DChart(b),d=h.GetArea3DChart(a),!k(c)&&k(d)&&a.chartGroups.push(c),e=h.GetAreaChart(b),a.chartGroups=a.chartGroups.concat(e),f=h.GetBar3DChart(b),g=h.GetBar3DChart(a),!k(f)&&k(g)&&a.chartGroups.push(f),i=h.GetBarChart(b),a.chartGroups=a.chartGroups.concat(i),j=h.GetBubbleChart(b),a.chartGroups=a.chartGroups.concat(j),l=h.GetDoughnutChart(b),a.chartGroups=a.chartGroups.concat(l),m=h.GetLine3DChart(a),n=h.GetLine3DChart(b),!k(n)&&k(m)&&a.chartGroups.push(n),o=h.GetLineChart(b),a.chartGroups=a.chartGroups.concat(o),p=h.GetOfPieChart(b),a.chartGroups=a.chartGroups.concat(p),q=h.GetPie3DChart(a),r=h.GetPie3DChart(b),!k(r)&&k(q)&&a.chartGroups.push(r),s=h.GetPieChart(b),a.chartGroups=a.chartGroups.concat(s),t=h.GetRadarChart(b),a.chartGroups=a.chartGroups.concat(t),u=h.GetScatterChart(b),a.chartGroups=a.chartGroups.concat(u),a},b.prototype.SetPlotAreaAxies=function(a,b,c,d){var e,f,g,i;return d===m&&(d=l),e=l,f=l,i=[],k(b)||(e=b.ToOOModel(),k(e)||(i.push(e.axId),a.axes.push(e))),k(c)||k(b)||(f=c.ToOOModel(),i.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&&(h.IsBarChart(this.Spa.ChartType)?f.axPos=0:f.axPos=2),f.crossBetween=b.AxisBetweenCategories?0:1),k(e)||k(f)||(e.crossAx=f.axId,f.crossAx=e.axId),k(d)?h.Is3DChart(this.Spa.ChartType)&&i.push(0):(g=d.ToOOModel(),a.axes.push(g),i.push(g.axId),k(f)||(g.crossAx=f.axId),g.crosses=1),i},b.prototype.ToCT_BarChart=function(a,b){var c,d,e;return h.Is3DChart(a)?(c=this.ToCT_BarChartBase(a,b),k(c)||(c.gapDepth=this.Spa.GapDepth),c):(d=this.ToCT_BarChartBase(a,b),k(d)||(e=this.Spa.FindChartGroup(a,b),k(e)||(d.overlap=e.Overlap,e.HasSeriesLines&&(d.serLines=[],d.serLines.push(e.SeriesLines.ToOOModel())))),d)},b.prototype.ToCT_BarChartBase=function(a,b){var c,d,e,f,g,i,j,l=h.IsBarChart(a);for(c=h.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],g.InnerChartType===a&&(i=g.ToOOModel(),k(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),k(j)||(c.gapWidth=j.GapWidth,c.varyColors=j.VaryByCategories),c},b.prototype.ToCT_LineChart=function(a,b){var c,d,e,f=this;return h.Is3DChart(a)?(c=f.ToCT_LineChartBase(a,b),k(c)||(c.gapDepth=f.Spa.GapDepth),c):(d=f.ToCT_LineChartBase(a,b),k(d)||(d.smooth=h.IsSmoothLine(a),e=f.Spa.FindChartGroup(a,b),k(e)||(e.HasHiLoLines&&(d.hiLowLines=e.HiLoLines.ToOOModel()),e.HasUpDownBars&&(d.upDownBars=f.ToCT_UpDownBars(e)),d.marker=e.Marker)),d)},b.prototype.ToCT_LineChartBase=function(a,b){var c,d,e,f,g,i,j;for(c=h.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],g.InnerChartType===a&&(i=g.ToOOModel(),k(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),k(j)||(c.varyColors=j.VaryByCategories,j.HasDropLines&&(c.dropLines=j.DropLines.ToOOModel())),c},b.prototype.ToCT_PieChart=function(a,b){var c,d,e,f,g,i,j=this,l=j.Spa.FindChartGroup(a,b);if(h.Is3DChart(a))return j.ToCT_PieChartBase(a,b);if(h.IsOfPieChart(a)){if(c=j.ToCT_PieChartBase(a,b),!k(c)&&(c.ofPieType=32===a?1:0,!k(l)))if(l.HasSeriesLines&&c.serLines.push(l.SeriesLines.ToOOModel()),c.secondPieSize=l.SecondPlotSize,c.gapWidth=l.GapWidth,c.splitType=l.SplitType,3===l.SplitType){if(c.custSplit={secondPiePt:[]},d=l.SeriesCollection[0]){e=d.Points.GetPoints();for(f in e)g=e[f],g.SecondaryPlot&&c.custSplit.secondPiePt.push(g.Index)}}else c.splitPos=l.SplitValue;return c}return h.IsDoughnutChart(a)?(i=j.ToCT_PieChartBase(a,b),k(i)||k(l)||(i.holeSize=l.DoughnutHoleSize),i):j.ToCT_PieChartBase(a,b)},b.prototype.ToCT_PieChartBase=function(a,b){var c,d,e,f,g,i,j;for(c=h.Is3DChart(a)?{chartType:11,ser:[],axId:[]}:h.IsOfPieChart(a)?{chartType:13,ser:[],serLines:[],axId:[]}:h.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],g.InnerChartType===a&&(i=g.ToOOModel(),k(i)||c.ser.push(i));return j=this.Spa.FindChartGroup(a,b),k(j)||(c.varyColors=j.VaryByCategories,c.firstSliceAng=j.FirstSliceAngle),c},b.prototype.ToCT_AreaChart=function(a,b){if(h.Is3DChart(a)){var c=this.ToCT_AreaChartBase(a,b);return k(c)||(c.gapDepth=this.Spa.GapDepth),
- c}return this.ToCT_AreaChartBase(a,b)},b.prototype.ToCT_AreaChartBase=function(a,b){var c,d,e,f,g,i,j;for(c=h.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],g.InnerChartType===a&&(i=g.ToOOModel(),k(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),k(j)||(c.varyColors=j.VaryByCategories,j.HasDropLines&&(c.dropLines=j.DropLines.ToOOModel())),c},b.prototype.ToCT_RadarChart=function(a,b){var c,d,e,f,g,h={chartType:2,ser:[],axId:[]},i=this.SeriesCollection.GetSers(!1,b);for(c=0,d=i;c<d.length;c++)e=d[c],e.InnerChartType===a&&(f=e.ToOOModel(),k(f)||h.ser.push(f));return 2===a?h.radarStyle=1:43===a?h.radarStyle=2:42===a&&(h.radarStyle=1),g=this.Spa.FindChartGroup(a,b),k(g)||(h.varyColors=g.VaryByCategories),h},b.prototype.ToCT_ScatterChart=function(a,b){var c,d,e,f,g,h,i={chartType:1,ser:[],axId:[]};switch(a){case 1:case 35:i.scatterStyle=2;break;case 36:i.scatterStyle=1;break;case 33:i.scatterStyle=5;break;case 34:i.scatterStyle=4;break;default:i.scatterStyle=2}for(c=this.SeriesCollection.GetSers(!1,b),d=0,e=c;d<e.length;d++)f=e[d],f.InnerChartType===a&&(g=f.ToOOModel(),k(g)||i.ser.push(g));return h=this.Spa.FindChartGroup(a,b),k(h)||(i.varyColors=h.VaryByCategories),i},b.prototype.ToCT_BubbleChart=function(a,b){var c,d,e,f,g,h={chartType:3,ser:[],axId:[]},i=this.SeriesCollection.GetSers(!1,b);for(c=0,d=i;c<d.length;c++)e=d[c],e.InnerChartType===a&&(f=e.ToOOModel(),k(f)||h.ser.push(f));return g=this.Spa.FindChartGroup(a,b),k(g)||(h.varyColors=g.VaryByCategories,h.bubbleScale=g.BubbleScale,h.showNegBubbles=g.ShowNegativeBubbles,h.sizeRepresents=g.SizeRepresents),h},b.prototype.ToCT_StockChart=function(a,b){var c,d,e,f,g,h={chartType:0,ser:[],axId:[]},i=this.SeriesCollection.GetSers(!1,b);for(c=0,d=i;c<d.length;c++)e=d[c],9===e.InnerChartType&&(f=e.ToOOModel(),k(f)||h.ser.push(f));return g=this.Spa.FindChartGroup(a,b),k(g)||(g.HasHiLoLines&&(h.hiLowLines=g.HiLoLines.ToOOModel()),g.HasDropLines&&(h.dropLines=g.DropLines.ToOOModel()),g.HasUpDownBars&&(h.upDownBars=this.ToCT_UpDownBars(g))),h},b.prototype.ToCT_UpDownBars=function(a){var b={};return b.upBars=a.UpBars.ToOOModel(),b.downBars=a.DownBars.ToOOModel(),b.gapWidth=a.GapWidth,b},b.prototype.ToCT_SurfaceChartBase=function(a,b){var c,d,e,f,g,i,j={chartType:14,ser:[],axId:[]};for(h.IsSurface3DChart(a)&&(j={chartType:15,ser:[],axId:[]}),c=this.SeriesCollection.GetSers(!1,b),d=0,e=c;d<e.length;d++)f=e[d],f.InnerChartType===a&&(g=f.ToOOModel(),k(g)||j.ser.push(g));return i=47===a||45===a,j.wireframe=i,j.bandFmts={bandFmt:this.GenerateBands(i)},j},b.prototype.GenerateBands=function(a){var b,c,d,e,g=[];for(c=0;c<6;c++)d={},d.idx=c,d.spPr={},e={},b=e.schemeClr={},b.val=f["Accent"+(c%6+1)],a?d.spPr.ln={solidFill:e,cap:0,w:1}:d.spPr.solidFill=e,g.push(d);for(c=6;c<12;c++)d={},d.idx=c,d.spPr={},d.spPr.solidFill={},b=d.spPr.solidFill.schemeClr={},b.val=f["Accent"+(c%6+1)],b.lumMod=[6e4],g.push(d);for(c=12;c<15;c++)d={},d.idx=c,d.spPr={},d.spPr.solidFill={},b=d.spPr.solidFill.schemeClr={},b.val=f["Accent"+(c%6+1)],b.lumMod=[8e4],b.lumOff=[2e4],g.push(d);return g},b.prototype.HasSecondarySeries=function(a){return this.Spa.SeriesCollection.AllSers.some(function(b){return 1===b.AxisGroup&&b.InnerChartType===a})},b}(g),b.PlotArea=n},"./dist/plugins/chart/series.js":function(a,b,c){"use strict";var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,$,_,aa,ba,ca,da,ea,fa,ga,ha,ia,ja=this&&this.__extends||function(){var a=function(b,c){return(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])})(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)}}();Object.defineProperty(b,"__esModule",{value:!0}),d=c("Common"),e=c("CalcEngine"),f=c("SheetsCalc"),g=c("./dist/plugins/chart/dataPoint.js"),h=c("./dist/plugins/chart/chartFormat.js"),i=c("./dist/plugins/chart/chart-dv.js"),j=c("SheetsCalc"),k=c("./dist/plugins/chart/chartInterface.js"),l=c("FloatingObject"),m=c("./dist/plugins/chart/chart.ns.js"),n=l.Drawing.DrawingText,o=l.Drawing.DateTimeExtension,p=l.Drawing.ColorSchemeIndex,q=l.Drawing.Reference,r=l.Drawing.AxisUtility,s=l.Drawing.NumberExtension,t=l.Drawing.ChartUtility,u=l.Drawing.ShapeConstants,v=l.Drawing.ChartConstants,w=l.Drawing.StatefulChartElementBase,x=l.Drawing.CellRect,y=l.Drawing.UnitHelper,z=l.Drawing.ColorFormat,A=l.Drawing.ARGBColor,B=l.Drawing.ChartType,C=l.Drawing.TrendlineType,D=l.Drawing.ErrorBarValueType,E=l.Drawing.AxisGroup,F=l.Drawing.DrawingPictureType,G=l.Drawing.MarkerStyle,H=l.Drawing.RowCol,I=l.Drawing.SeriesType,J=d.Common.j,K=d.Formatter.GeneralFormatter,L=J.za,M=s.INT32_MAX_VALUE,N=u.PositionConver,O=t.TryToDouble,P=t.colorFormatToString,Q=t.getTransparencyFromColorFormat,R=t.IsStockChart,S=t.IsSunburstOrTreemapChart,T=y.isNullOrUndefined,U=y.IsNullOrEmpty,V=t.getRangeInfoByFormula,W=t.isContinuousRange,X=new d.Common.ResourceManager(m.SR),Y=X.getResource.bind(X),Z=null,$=void 0,_=[2,7,9,10,8,0,6,3,1];function ka(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 la(a){return[B.xyScatter,B.xyScatterSmooth,B.xyScatterLines,B.lineMarkers,B.lineMarkersStacked,B.lineMarkersStacked100,B.radarMarkers].indexOf(a)>=0}function ma(a,b,c){var d,e,f,g,h,j,k,l,m,n,o,p,q,r,s,u,v,w,x,y,z,A,B,C,D,E,F;if(a&&b){if(T(b.chartType)||(a.ChartType=b.chartType),T(b.axisGroup)||(a.AxisGroup=b.axisGroup),d=a.getMarkerFillColor(!0,!1,!0),e=a.getMarkerColorTransparency(),f=t.IsPieOrDoughnutChart(a.ChartType),o=i.getSeriesProperties(a,!1,!1,!0),p=c.Wu.useR1C1,b.backColor||null===b.backColor||""===b.backColor)if(f)for(g=a.Points,h=g.Count,q=ka(b.backColor,","),k=0;k<h;k++)j=g.Get(k),n=q[k],n?j.Format.Fill.Color.setColor(c,n):null!==n&&""!==n||(j.Format.Fill.Color.ColorType=0);else if(n=b.backColor,n?(a.SetFillColor(c,n),la(a.ChartType)&&d!==n&&a.SetMarkerFillColor(c,n)):null!==n&&""!==n||(a.Format.Fill.Color.ColorType=0,la(a.ChartType)&&(a.MarkerFormat.Fill.Color.ColorType=0)),S(a.ChartType)&&o.backColor!==b.backColor)for(l=a.dataPoints(),m=a.getFillColorTransparency(),k=0;k<l.yoa();k++)l.set(k,{fillColor:n,transparency:m});if(!T(b.backColorTransparency))if(f)for(g=a.Points,h=g.Count,r=ka(b.backColorTransparency,","),k=0;k<h;k++)j=g.Get(k),m=parseFloat(r[k]),T(m)||isNaN(m)||(j.Format.Fill.Color.Transparency=m);else if(a.SetFillColorTransparency(b.backColorTransparency),la(a.ChartType)&&b.backColorTransparency!==e&&a.SetMarkerFillColorTransparency(b.backColorTransparency),S(a.ChartType)&&o.backColorTransparency!==b.backColorTransparency)for(l=a.dataPoints(),n=a.getFillColor(),k=0;k<l.yoa();k++)l.set(k,{fillColor:n,transparency:b.backColorTransparency});if(s=b.border)if(f)for(u=a.Points,v=u.Count,w=0;w<v;w++)x=u.Get(w).Format.Line,s.color?x.Color.setColor(c,s.color):null!==s.color&&""!==s.color||(x.Color.ColorType=0),T(s.width)||(x.Weight=s.width),s.transparency&&(x.Color.Transparency=s.transparency),s.lineType&&(x.DashStyle=s.lineType);else s.color?1!==a.ChartType&&a.SetLineColor(c,s.color):null!==s.color&&""!==s.color||(a.Format.Line.Color.ColorType=0),T(s.width)||(a.LineWidth=s.width),T(s.transparency)||a.SetLineColorTransparency(s.transparency),T(s.lineType)||a.SetLineDashStyle(s.lineType);T(b.startAngle)||(a.Parent.FirstSliceAngle=b.startAngle),T(b.name)||a.UpdateNameFormula(b.name,p),T(b.plotVisibleOnly)||(a.PlotVisibleOnly=b.plotVisibleOnly),T(b.xValues)||a.UpdateXValuesFormula(b.xValues,p),T(b.yValues)||a.UpdateValuesFormula(b.yValues,p),T(b.bubbleSizes)||a.UpdateBubbleFormula(b.bubbleSizes,p),y=b.symbol,la(a.ChartType)&&y&&(y.fill&&d!==y.fill?a.setMarkerFillColor(c,y.fill):null!==y.fill&&""!==y.fill||(a.MarkerFormat.Fill.Color.ColorType=0),T(y.fillColorTransparency)||y.fillColorTransparency===e||a.setMarkerColorTransparency(y.fillColorTransparency),T(y.size)||(a.MarkerSize=y.size),T(y.shape)||(a.MarkerStyle=y.shape),z=y.border,z&&(z.color?a.setMarkerBorderColor(c,z.color):null!==z.color&&""!==z.color||(a.MarkerFormat.Line.Color.ColorType=0),T(z.colorTransparency)||a.setMarkerBorderColorTransparency(z.colorTransparency),T(z.width)||a.setMarkerBorderLineWidth(z.width),T(z.lineType)||a.setMarkerBorderLineDashStyle(z.lineType))),A=b.errorBars,B=b.trendlines,C=b.chartType,!T(A)&&t.IsErrorBarSeries(C)?(D=A.vertical,E=A.horizontal,t.IsScatterChart(C)||t.IsBubbleChart(C)?(T(D)?a.removeErrorBar(1):a.setErrorBar(D,1),T(E)?a.removeErrorBar(0):a.setErrorBar(E,0)):(F=va(C),1===F?T(D)?a.removeErrorBar(1):a.setErrorBar(D,1):0===F&&(T(E)?a.removeErrorBar(0):a.setErrorBar(E,0)))):null===A&&a.removeErrorBar(),void 0!==B&&t.IsTrendlineSeries(C)&&a.setTrendlines(B)}}function na(a){var b={};return a.ToCT_Cat2016ChartValSerBase(b),b}aa=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(Z,a)},a.getMaxValue=function(a){return Math.max.apply(Z,a)},a.getMinMaxValues=function(b,c,d){var e,f,g;return c===$&&(c=0),d===$&&(d=1),g=b&&b.filter(function(a){return!isNaN(a)}),b&&b.length&&(e=a.getMinValue(g),f=a.getMaxValue(g)),{Min:a.getValueForMinMax(e,c),Max:a.getValueForMinMax(f,d)}},a}();function oa(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}ba=function(){function a(){this.Label=Z,this.Categories=[],this.Data=[]}return a}(),b.SeriesStructure=ba,ca=function(a){ja(b,a);function b(b){var c=a.call(this,Z)||this,d=c;return d.Ata=b,d.Nc=C.linear,d.Bta=2,d.Cta=2,d.Qpa=new n(d.Ata.Chart),d.Fta=!1,d.Eta=!1,d.ldc=!1,c}return Object.defineProperty(b.prototype,"Index",{get:function(){return this.Ata.Trendlines.IndexOf(this)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Backward",{get:function(){return this.Dta},set:function(a){this.Dta=a,this.SetState(1,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"DisplayEquation",{get:function(){return this.Eta},set:function(a){this.Eta=a,this.SetState(2,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"DisplayRSquared",{get:function(){return this.Fta},set:function(a){this.Fta=a,this.SetState(4,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Format",{get:function(){return this.ChartFormat},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Font",{get:function(){return this.Qpa.Font},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Forward",{get:function(){return this.Gta},set:function(a){this.Gta=a,this.SetState(8,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Intercept",{get:function(){return this.Hta},set:function(a){this.Nc===C.exponential&&0===a||(this.Hta=a,this.SetState(16,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Order",{get:function(){return this.Cta},set:function(a){a<=2&&(a=2),a>=6&&(a=6),this.Cta=a,this.SetState(256,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Parent",{get:function(){return this.Ata},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Period",{get:function(){return this.Bta},set:function(a){a<=2&&(a=2),a>=6&&(a=6),this.Bta=a,this.SetState(512,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Type",{get:function(){return this.Nc},set:function(a){this.Nc=a,this.SetState(1024,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"ColorTransparency",{get:function(){return Q(this.ChartFormat.Line)},set:function(a){this.ChartFormat.Line.Color.Transparency=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Width",{get:function(){return wa(this.ChartFormat)},set:function(a){xa(this.ChartFormat,a)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"LineType",{get:function(){return this.ChartFormat.Line&&this.ChartFormat.Line.DashStyle},set:function(a){!T(a)&&this.ChartFormat.Line&&(this.ChartFormat.Line.DashStyle=a)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Name",{get:function(){var a=this,b=a.Ita&&a.Ita.name,c=a.Ata.Name;return T(c)&&(c="Series"+(a.Ata.Index+1)),T(a.Cj)?T(b)?3===a.Type?a.Period+Y().period+" "+Y().movingAverage+"("+c+")":Y()[C[a.Type]]+"("+c+")":b:a.Cj},set:function(a){this.Cj=a,a===Z?this.ldc=!1:this.ldc=!0,this.SetState(64,!0)},enumerable:!0,configurable:!0}),b.prototype.getLineColor=function(a,b,c){return P(this.ChartFormat.Line,a,b,c)},b.prototype.setLineColor=function(a,b){this.ChartFormat.Line.Color.setColor(a,b)},b.prototype.getFontColor=function(a,b,c){return P(this.Font,a,b,c)},b.prototype.setFontColor=function(a,b){null===b||""===b?this.Font.Color.ColorType=0:this.Font.Color.setColor(a,b)},b.prototype.ClearFormats=function(){this.ChartFormat=this.GetDefaultFormat()},b.prototype.Delete=function(){this.Ata.Trendlines.Delete(this)},b.prototype.CreateFormat=function(){return new h.ChartFormat(this.Ata.Chart,Z,Z,this.AutoLineColor.bind(this))},b.prototype.GetDefaultFormat=function(){var b=a.prototype.GetDefaultFormat.call(this);return b.Line.Weight=2,b.Line.DashStyle=8,b},b.prototype.AutoLineColor=function(){var a=new z(this.Ata.Parent.Parent);return a.ObjectThemeColor=p["Accent"+(this.Ata.AutoColorIndex%6+1)],a},b.prototype.getTrendlineStringForDV=function(){var a=this.Type;switch(a){case C.exponential:return"ExponentialTrendline";case C.linear:return"LinearTrendline";case C.logarithmic:return"LogarithmicTrendline";case C.movingAverage:return"MovingAverageTrendline";case C.polynomial:return"PolynomialTrendline";case C.power:return"PowerTrendline";default:return"LinearTrendline"}},b.prototype.FromOOModel=function(a){var b,c=this;c.Ita=a,T(a.backward)||(c.Backward=a.backward),T(a.forward)||(c.Forward=a.forward),T(a.intercept)||(c.Intercept=a.intercept),T(a.order)||(c.Order=a.order),T(a.trendlineType)||(c.Type=a.trendlineType),3!==c.Type||T(a.period)||(c.Period=a.period),T(a.dispEq)||(c.DisplayEquation=a.dispEq),T(a.dispRSqr)||(c.DisplayRSquared=a.dispRSqr),T(a.name)||(c.Name=a.name),T(a.spPr)?c.Kb=Z:(T(c.Kb)&&(c.Kb=new h.ChartFormat(c.Ata.Chart)),c.Kb.FromOOModel(a.spPr)),T(a.trendlineLbl)||(b={},b.rich=a.trendlineLbl.txPr,c.Qpa.FromOOModel(b))},b.prototype.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,T(a.Name)||(b.name=a.Name),T(a.Kb)||(b.spPr=a.Kb.ToOOModel()),T(a.Qpa)||(b.trendlineLbl={txPr:a.Qpa.ToOOModel().rich}),b},b}(w),b.Trendline=ca,da=function(){function a(a){this.Jta=[],this.Ata=a}return Object.defineProperty(a.prototype,"Count",{get:function(){return this.Jta.length},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"Parent",{get:function(){return this.Ata},enumerable:!0,configurable:!0}),a.prototype.Add=function(){var a=new ca(this.Ata);return this.Jta.push(a),a},a.prototype.Get=function(a){return this.Jta[a]},a.prototype.GetLines=function(){return this.Jta},a.prototype.Delete=function(a){var b=a;a instanceof ca&&(b=this.IndexOf(a)),b>=0&&this.Jta.splice(b,1)},a.prototype.IndexOf=function(a){return this.Jta.indexOf(a)},a.prototype.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}(),b.Trendlines=da,ea=function(a){ja(b,a);function b(b,c){var d=a.call(this,null)||this,e=d;return e.Sta=c||0===c?c:-1,e._kb=null,e.alb=[],e.Spa=b,d}return b.prototype.CreateFormat=function(){return new h.ChartFormat(this.Spa)},b.prototype.getFillColor=function(a,b,c){return P(this.ChartFormat.Fill,a,b,c)},b.prototype.getTransparency=function(){return Q(this.ChartFormat.Fill)},b.prototype.setFillColor=function(a,b){this.ChartFormat.Fill.Color.setColor(a,b)},b.prototype.setTransparency=function(a){this.ChartFormat.Fill.Color.Transparency=a},b.prototype.ToOOModel=function(){var a=this,b={};return T(a.Sta)||(b.idx=a.Sta),T(a.Kb)||(b.spPr=a.ToShapeProperties()),!T(a.alb)&&a.alb.length>0&&(b.extLst={ext:a.alb}),b},b.prototype.FromOOModel=function(a){var b=this;T(a.idx)||(b.Sta=a.idx),T(a.spPr)||b.FromShapeProperties(a.spPr),!T(a.extLst)&&!T(a.extLst.ext)&&a.extLst.ext.length>0&&(b.alb=a.extLst.ext)},b.prototype.getDataPointProperties=function(a){var b=this;return{fillColor:b.getFillColor(!0,!1,a),transparency:b.getTransparency()}},b.prototype.setDataPointProperties=function(a){a.fillColor?this.setFillColor(this.Spa.kta.sheet(),a.fillColor):null!==a.fillColor&&""!==a.fillColor||(this.ChartFormat.Fill.Color.ColorType=0),T(a.idx)||(this.Sta=a.idx),T(a.transparency)||this.setTransparency(a.transparency)},b}(w),b.DataPt=ea,fa=function(){function a(a){var b=this;b.Ata=a,b.Spa=a.Chart,b.blb=[],b.clb=this.Ata.GetSunburstSeriesColor(),b.dlb=a.elb.dlb,b.flb=b.dlb.length}return a.prototype.get=function(a){var b,c,d,e=this;if(0===arguments.length){for(c=[],d=0;d<e.flb;d++)b=e.blb[d],c.push(b?b.getDataPointProperties(!0):b);return c}if(b=e.NR(a))return b.getDataPointProperties(!0)},a.prototype.set=function(a,b){var c,d=this;d.spb(a),c=d.NR(a),c&&b&&(d.RVa({index:a,dataPoint:d.get(a)}),c.setDataPointProperties(b),d.ChartView.sua(!1))},a.prototype.spb=function(a){var b=this,c=b.NR(a);T(c)&&a<b.flb&&(c=new ea(b.Spa,b.dlb[a].idx),b.tpb(a,c))},a.prototype.tpb=function(a,b){var c=this,d=c.clb[a];T(d)||b.setDataPointProperties({fillColor:d}),c.blb[a]=b},a.prototype.$b=function(){this.blb.length=0},a.prototype.NR=function(a){return this.blb[a]},a.prototype.RVa=function(a){this.ChartView.RVa("dataPoint",a)},a.prototype.RUa=function(a){a&&this.set(a.index,a.dataPoint)},a.prototype.yoa=function(){return this.flb},a.prototype.glb=function(){var a=this.ChartView;a&&a.sua(!0)},a.prototype.SetDataPointByIdx=function(a,b){var c,d=this,e=d.blb;if(e)for(c=0;c<d.flb;c++)d.dlb[c].idx===a&&(d.blb[c]=b)},a.prototype.FromOOModel=function(a){var b=this;a.forEach(function(a){var c=new ea(b.Spa);c.FromOOModel(a),b.SetDataPointByIdx(c.Sta,c)})},a.prototype.ToOOModel=function(){var a,b,c=this,d=c.blb,e=d.length,f=[];for(a=0;a<e;a++)b=d[a],b&&f.push(d[a].ToOOModel());if(f.length>0)return f},Object.defineProperty(a.prototype,"Parent",{get:function(){return this.Ata},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"ChartView",{get:function(){return this.Spa.Parent},enumerable:!0,configurable:!0}),a}(),b.DataPoints=fa;function pa(a){var b="STDEV",c="SQRT",d=a.length;return"="+b+"("+a.join()+")/"+c+"("+d+")"}function qa(a){var b="STDEV";return"="+b+"("+a.join()+")"}function ra(a){var b,c,d,e;if(T(a))throw Error("Must provide at least one range or values!");for(b=Z,c=0,d=a;c<d.length;c++){if(e=d[c],T(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!")}}function sa(a){var b;return!T(a)&&a.length>0&&(b="={"+a.join(",")+"}"),b}function ta(a,b){var c,d=f.formulaToExpression(a,b).type;return 1===d||10===d?c="range":6===d&&(c="array"),c}function ua(a){var b,c,d,f,g,h=Z,i=Z;if(!T(a.numRef)||!T(a.numLit))if(T(a.numRef)||U(a.numRef.f)){if(b=a.numLit,!T(b)&&!T(b.pt))for(i=[],c=0,d=b.pt;c<d.length;c++)f=d[c],g={value:Z},O(f,g,!0)?i.push(g.value):e.CalcError.parse(f)instanceof e.CalcError?i.push(null):i.push(0)}else h=a.numRef.f;return{formula:h,values:i}}function va(a){var b;return t.IsErrorBarSeries(a)&&(b=t.IsBarChart(a)?0:1),b}function wa(a){var b=a.Line&&a.Line.Weight;return T(b)?0:b>=0?b:1}function xa(a,b){T(b)||(a.Line.Weight=b)}ga=function(a){ja(b,a);function b(b){var c,d=a.call(this,Z)||this;return d.Ey=[],c=d,c.Ata=b,c.Spa=b.Chart,c.sOb=0,c.tOb=4,c.uOb=!1,d}return b.prototype.getLineColor=function(a,b,c){return P(this.ChartFormat.Line,a,b,c)},b.prototype.setLineColor=function(a,b){this.ChartFormat.Line.Color.setColor(a,b)},b.prototype.getLineTransparency=function(){return Q(this.ChartFormat.Line)},b.prototype.setLineTransparency=function(a){this.ChartFormat.Line.Color.Transparency=a},b.prototype.getLineWidth=function(){return wa(this.ChartFormat)},b.prototype.setLineWidth=function(a){xa(this.ChartFormat,a)},b.prototype.getLineDashStyle=function(){return this.ChartFormat.Line&&this.ChartFormat.Line.DashStyle},b.prototype.setLineDashStyle=function(a){T(a)||(this.ChartFormat.Line.DashStyle=a)},b.prototype.getDirection=function(){var a=this,b=a.mdc;return T(b)&&(b=va(this.ChartType)),b},b.prototype.getStandardError=function(){var a=this,b=pa(a.DataValues),c=f.evaluateFormula(a.Worksheet,b);return T(c)?0:c},b.prototype.getStandardDeviation=function(){var a=this,b=qa(a.DataValues),c=f.evaluateFormula(a.Worksheet,b);return T(c)?0:c},b.prototype.getValuesMinMax=function(){var a,b,c,d,e,f,g,h,i,j,k,l=this;for(c=0;c<l.Ey.length;c++)d=l.Ey[c],e=d.positive,f=void 0===e?0:e,g=d.negative,h=void 0===g?0:g,i=d.beginning,j=i+f,k=i-h,T(a)&&(a=j),T(b)&&(b=k),a=Math.max(j,a),b=Math.min(k,b);return{Min:b,Max:a}},b.prototype.updateInternalValues=function(){var a,b,c,d,e,f,g,h,i,j=this,k=j.DataValues.length;if(j.Ey=[],1===j.tOb)for(a=T(j.vOb)?0:j.vOb,b=0;b<k;b++)j.Ey[b]={positive:a,negative:a,beginning:j.DataValues[b]};else if(2===j.tOb)for(c=T(j.vOb)?0:j.vOb/100,b=0;b<k;b++)a=j.DataValues[b]*c,j.Ey[b]={positive:a,negative:a,beginning:j.DataValues[b]};else if(3===j.tOb)for(d=T(j.vOb)?1:j.vOb,a=j.getStandardDeviation()*d,e=j.DataAverage,b=0;b<k;b++)j.Ey[b]={positive:a,negative:a,beginning:e};else if(4===j.tOb)for(a=j.getStandardError(),b=0;b<k;b++)j.Ey[b]={positive:a,negative:a,beginning:j.DataValues[b]};else if(0===j.tOb)for(f="range"===ta(j.Worksheet,j.ndc)?j.getValuesFromRefers(j.odc):j.pdc,g="range"===ta(j.Worksheet,j.qdc)?j.getValuesFromRefers(j.rdc):j.sdc,b=0;b<k;b++)h=j.getValueFromCustomValues(f,b),i=j.getValueFromCustomValues(g,b),a={positive:h,negative:i,beginning:j.DataValues[b]},j.Ey[b]=a},b.prototype.getValueFromCustomValues=function(a,b){if(a){if(1===a.length)return a[0];if(a.length>1)return a[b]}return null},b.prototype.getValuesFromRefers=function(a){var b,c=[];return!T(a)&&a.length>0&&(b=this.Ata.GetValuesFromRefers(a),t.TryAllToNumbers(b,c)),c},b.prototype.setCustomValues=function(a,b){var c=this;c.updateCustomValues(a,b),c.updateCustomRefers(Z,b)},b.prototype.setCustomRefers=function(a,b){var c=this;ra(a),c.updateCustomRefers(a,b),c.updateCustomValues(Z,b)},b.prototype.setCustomFormula=function(a,b){var c=this,d=c.Worksheet.Kpa(a,0,0,!1),e=d.values,f=d.references;!T(e)&&e.length>0?c.setCustomValues(e,b):!T(f)&&f.length>0&&c.setCustomRefers(f,b),c.updateCustomFormula(a,b)},b.prototype.updateCustomValues=function(a,b){var c=this;b?c.sdc=a:c.pdc=a},b.prototype.updateCustomRefers=function(a,b){var c=this;b?c.rdc=a:c.odc=a},b.prototype.updateCustomFormula=function(a,b){var c=this;b?c.qdc=a:c.ndc=a},b.prototype.FromCT_NumDataSource=function(a,b){var c,d,e,f=this;return T(a)?(f.updateCustomFormula(Z,b),f.updateCustomRefers(Z,b),void f.updateCustomValues(Z,b)):(c=ua(a),d=c.formula,e=c.values,U(d)?T(e)||(f.setCustomValues(e,b),d=sa(e)):f.setCustomFormula(d,b),void f.updateCustomFormula(d,b))},b.prototype.ToCT_NumDataSource=function(a){var b,c=this,d={},e=a?c.qdc:c.ndc,f=a?c.sdc:c.pdc,g=a?c.rdc:c.odc;return U(e)&&(T(f)||0===f.length)?Z:(b=c.Ata.ToCT_NumberData(e,g,f),U(e)?d.numLit=b:d.numRef={f:e,numCache:{formatCode:b.formatCode}},d)},b.prototype.ToOOModel=function(){var a=this,b={};return T(a.mdc)||(b.errDir=a.mdc),T(a.sOb)||(b.errBarType=a.sOb),T(a.tOb)||(b.errValType=a.tOb),T(a.uOb)||(b.noEndCap=a.uOb),T(a.ChartFormat)||(b.spPr=a.ToShapeProperties()),!T(a.vOb)&&a.HasValueType?b.val=a.vOb:(!T(a.qdc)&&a.HasCustomFormulaType&&(b.minus=a.ToCT_NumDataSource(!0)),!T(a.ndc)&&a.HasCustomFormulaType&&(b.plus=a.ToCT_NumDataSource(!1))),b},b.prototype.FromOOModel=function(a){var b=this;T(a.errDir)||(b.mdc=a.errDir),T(a.errBarType)||(b.sOb=a.errBarType),T(a.errValType)||(b.tOb=a.errValType),T(a.noEndCap)||(b.uOb=a.noEndCap),T(a.spPr)||b.FromShapeProperties(a.spPr),T(a.val)||(b.vOb=a.val),T(a.minus)||b.FromCT_NumDataSource(a.minus,!0),T(a.plus)||b.FromCT_NumDataSource(a.plus,!1),b.updateInternalValues()},b.prototype.CreateFormat=function(){return new h.ChartFormat(this.Spa)},Object.defineProperty(b.prototype,"HasValueType",{get:function(){var a=this;return 1===a.tOb||2===a.tOb||3===a.tOb},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"HasCustomFormulaType",{get:function(){return 0===this.tOb},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"DataAverage",{get:function(){return this.DataValues.reduce(function(a,b){return a+b})/this.DataValues.length},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"DataValues",{get:function(){var a,b=this;return a=0===b.getDirection()?t.IsBarChart(b.ChartType)?b.Ata.Values:b.Ata.XValues:b.Ata.Values,a.map(function(a){return a instanceof Date?o.ToOADate(a):a})},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Worksheet",{get:function(){return this.Ata.Worksheet},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"ChartType",{get:function(){return this.Ata.Xta},enumerable:!0,configurable:!0}),b.DefaultFormula="={1}",b}(w),b.ErrorBar=ga,ha=function(a){ja(b,a);function b(b,c,d){var e,f=a.call(this,Z)||this,h=f;return h.Lta=Z,h.Mta=[],h.Nta=[],h.Ota=[],h.Pta=Z,h.ic=Z,h.eta=!0,h.Rta=!1,h.Sta=-1,h.Tta=-1,h.Uta={Min:0,Max:1},h.Vta={Min:0,Max:1},h.Wta=Z,h.Kta=b,h.Xta=T(c)?h.Kta.Parent.ChartType:c,h.fsa=T(d)?E.primary:d,h.sQa=Z,h.hlb=Z,h.ilb=Z,h._hidden=!1,h.jlb=Z,h.Csa=[],h.defaultColors={attribute:{meth:"cycle"},schemeClr:[{val:4},{val:5},{val:6},{val:7},{val:8},{val:9}],variation:[{},{lumMod:6e4},{lumMod:8e4,lumOff:2e4},{lumMod:8e4},{lumMod:6e4,lumOdd:4e4},{lumMod:5e4},{lumMod:7e4,lumOdd:3e4},{lumMod:7e4},{lumMod:5e4,lumOdd:5e4}]},h.Init(),c&&S(c)?(e=new g.DataLabels(f),e.xua=!0,h.Qta=e,h.$ta=!0):h.Qta=Z,f}return b.prototype.dataPoints=function(){return this.blb},b.prototype.getFillColor=function(a,b,c){return P(this.Format.Fill,a,b,c)},b.prototype.getFillColorTransparency=function(){return Q(this.Format.Fill)},b.prototype.getLineColor=function(a,b,c){return P(this.Format.Line,a,b,c)},b.prototype.getLineColorTransparency=function(){return Q(this.Format.Line)},b.prototype.getLineDashStyle=function(){return this.Format.Line&&this.Format.Line.DashStyle},b.prototype.getMarkerFillColor=function(a,b,c){var d=this.MarkerStyle,e=this.MarkerFormat,f=6===d||8===d||10===d,g=e.Fill&&e.Fill.Color,h=g&&1===g.ColorType,i=1===this.ChartType;return f&&h&&!i?null:P(e.Fill,a,b,c)},b.prototype.getMarkerColorTransparency=function(){return Q(this.MarkerFormat.Fill)},b.prototype.getMarkerBorderColor=function(a,b,c){return P(this.MarkerFormat.Line,a,b,c)},b.prototype.getMarkerBorderColorTransparency=function(){return Q(this.MarkerFormat.Line)},b.prototype.getMarkerBorderLineWidth=function(){var a=this.MarkerFormat.Line&&this.MarkerFormat.Line.Weight;return T(a)?0:a>=0?a:1},b.prototype.getMarkerBorderLineDashStyle=function(){return this.MarkerFormat.Line&&this.MarkerFormat.Line.DashStyle},b.prototype.Init=function(){var a=this;a.Pta=a.CreateMarkerFormat(),a.gta=Z,a.ic=new z(a.Chart),a.ic.AutoColorFormat=a.AutoInvertColorFormat,a.gua=new da(a),a.fua=new g.Points(a),a.cua=F.Stretch,a.dua=1,a.bua=G.MarkerStyleNone,a.aua=v.DefaultMarkerSize,a.hua=!1,a.klb=!1,a.llb=!1,a.UpdateSettingsByChartType()},b.prototype.Update2016ChartDataHelper=function(){var a=this,b=a.Xta;S(b)&&(a.elb=new i.ChartData2016ModelCalHelper(a))},b.prototype.UpdateDataPoints=function(){var a,b,c,d,e,f=this,g=f.Xta;if(S(g)){if(a=new fa(f),b=f.blb,!T(b))for(c=b.get(),d=a.get(),e=0;e<d.length;e++)a.set(e,c[e]);f.blb=a}},b.prototype.iua=function(){return this.ChartType+(this.AxisGroup?"F":"")},b.prototype.fQa=function(){var a=this;a.Wta&&a.Wta.dLbls&&delete a.Wta.dLbls},b.prototype.SetFillColor=function(a,b){this.Format.Fill.Color.setColor(a,b)},b.prototype.SetFillColorTransparency=function(a){this.Format.Fill.Color.Transparency=a},b.prototype.SetLineColor=function(a,b){this.Format.Line.Color.setColor(a,b)},b.prototype.SetLineColorTransparency=function(a){this.Format.Line.Color.Transparency=a},b.prototype.SetLineDashStyle=function(a){this.Format.Line.DashStyle=a},b.prototype.setMarkerFillColor=function(a,b){this.MarkerFormat.Fill.Color.setColor(a,b)},b.prototype.setMarkerColorTransparency=function(a){this.MarkerFormat.Fill.Color.Transparency=a},b.prototype.setMarkerBorderColor=function(a,b){this.MarkerFormat.Line.Color.setColor(a,b)},b.prototype.setMarkerBorderColorTransparency=function(a){this.MarkerFormat.Line.Color.Transparency=a},b.prototype.setMarkerBorderLineWidth=function(a){T(a)||(this.MarkerFormat.Line.Weight=a)},b.prototype.setMarkerBorderLineDashStyle=function(a){T(a)||(this.MarkerFormat.Line.DashStyle=a)},b.prototype.GetSunburstSeriesColor=function(){var a=this,b=a.defaultColors,c=a.elb.dlb.length;if(S(a.ChartType)&&b)return a.GetSeriesColorsWithColorsAndCatCount(b,c)},b.prototype.GetSeriesColorsWithColorsAndCatCount=function(a,b){var c=this,d=a.schemeClr,e=a.variation,f=a.attribute&&a.attribute.meth||"cycle",g=b;switch(f){case"withinLinear":return c.GetWithinLinearColors(d,e,g);case"withinLinearReversed":return c.GetWithinLinearReversedColors(d,e,g);case"cycle":default:return c.GetCycleColors(d,e,g)}},b.prototype.GetCycleColors=function(a,b,c){var d,e,f,g,h,i=this,j=a.length,k=[];for(d=0;d<c;d++)e=new z(i.Chart.Parent,null),e.ObjectThemeColor=a[d%j].val,b&&b.length>0&&(f=b.length,g=b[d%f],g&&(e.Brightness=e.CalcBrightness(g.lumMod,g.lumOff),T(g.shade)||e.FromShade(g.shade),T(g.tint)||e.FromTint(g.tint))),h=e.RGB,k.push("rgba("+h.R+","+h.G+","+h.B+","+h.A/255+")");return k},b.prototype.GetWithinLinearColors=function(a,b,c){var d,e,f,g,h,i=this,j=[],k=N/c,l=a.length;for(d=0;d<c;d++)e=new z(i.Chart.Parent,null),e.ObjectThemeColor=a[d%l].val,b&&b.length>0?(f=b.length,g=b[d%f],g&&(e.Brightness=e.CalcBrightness(g.lumMod,g.lumOff),T(g.shade)||e.FromShade(g.shade),T(g.tint)||e.FromTint(g.tint))):d<c/2?e.FromShade(k*(d+1)+N/2):e.FromTint(k*(c-d-1)+N/2),h=e.RGB,j.push("rgba("+h.R+","+h.G+","+h.B+","+h.A/255+")");return j},b.prototype.GetWithinLinearReversedColors=function(a,b,c){return this.GetWithinLinearColors(a,b,c).reverse()},b.prototype.SetMarkerFillColor=function(a,b){this.MarkerFormat.Fill.Color.setColor(a,b)},b.prototype.SetMarkerFillColorTransparency=function(a){this.MarkerFormat.Fill.Color.Transparency=a},b.prototype.UpdateFormula=function(a,b){var c,d,e;b===$&&(b=!1),a&&(c=this,d=a.split(","),e=t.IsBubbleChart(this.ChartType),d.length>5&&e?d.length=4:d.length>4&&!e&&(d=this.yBb(a)),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)}}))},b.prototype.yBb=function(a){var b=this.Worksheet,c=j.formulaToExpression(b,a);return c.arguments.map(function(a){return j.expressionToFormula(b,a)})},b.prototype.GetDataLabels=function(){return this.Qta},b.prototype.mBb=function(){var a,b,c,d=this.GetDataLabels();return d?(a={showValue:d.ShowValue,showSeriesName:d.ShowSeriesName,showCategoryName:d.ShowCategoryName,showPercentage:d.ShowPercentage,position:d.Position,format:d.NumberFormat},b=P(d.Font,!0,!1,!0),(b||""===b)&&(a.color=b),c=Q(d.Font),T(c)||(a.transparency=c),a):null},b.prototype.ClearFormats=function(){this.ChartFormat=this.GetDefaultFormat()},b.prototype.Delete=function(){this.Kta.DeleteSeries(this),this.Kta=Z},b.prototype.RefreshValuesIfNeed=function(a,b){var c,d,e,f,g,h,i=this;T(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),i.Update2016ChartDataHelper(),i.UpdateDataPoints()},b.prototype.ClearBarShapeInternal=function(){this.gta=Z},b.prototype.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=void 0,g=b?new x(e,0,f,M):new x(0,e,M,f),h.push(g);return h},b.prototype.InterectWith=function(a,b){return!T(a)&&!T(b)&&a.some(function(a){return b.some(function(b){return b.IntersectsWith(a.GetSourceRange(0,0))})})},b.prototype.GetNameFormula=function(a){return a===$&&(a=!1),T(this.Lta)?"":this.GetFormulaString2([this.Lta],a)},b.prototype.GetXValuesFormula=function(a){return a===$&&(a=!1),T(this.Mta)?"":this.GetFormulaString2(this.Mta,a)},b.prototype.GetValuesFormula=function(a){return a===$&&(a=!1),T(this.Nta)?"":this.GetFormulaString2(this.Nta,a)},b.prototype.GetBubbleSizesFormula=function(a){return a===$&&(a=!1),T(this.Ota)?"":this.GetFormulaString2(this.Ota,a)},b.prototype.GetFormulaString2=function(a,b){var c,d,e,f,g,h;for(b===$&&(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(",")},b.prototype.HasRefers=function(a){var b=this,c=!1;switch(a){case k.ReferType.Name:c=!T(b.Lta);break;case k.ReferType.Values:c=!T(b.Nta)&&b.Nta.length>0;break;case k.ReferType.XValues:c=!T(b.Mta)&&b.Mta.length>0;break;case k.ReferType.BubbleSzies:c=!T(b.Ota)&&b.Ota.length>0}return c},b.prototype.UpdateOrder=function(a){this.Tta>a&&this.Tta--},b.prototype.SetNameInternal=function(a){this.Cj=a,this.ClearNameFormulaInternal()},b.prototype.SetXValuesInternal=function(a){this.UpdateXValues(a),this.ClearXValuesFormulaInternal()},b.prototype.SetValuesInternal=function(a){this.UpdateNumberValues(a),this.ClearValuesFormulaInternal()},b.prototype.SetBubbleSizesInternal=function(a){this.kua=a,this.ClearBubbleFormulaInternal()},b.prototype.SetPlotOrderInternal=function(a){this.Tta=a},b.prototype.ResetOnOwnerChartTypeChanged=function(a,b){var c=this;a===$&&(a=Z),b===$&&(b=Z),c.Xta=T(a)?c.Kta.Parent.ChartType:a,c.Wta=Z,c.fsa=T(b)?E.primary:b,c.sQa=Z,c.UpdateSettingsByChartType()},b.prototype.UpdateSecondPlotPoints=function(){var a,b,c,d,e,f,g,h,i,j,k,l,m=this,n=m.Parent;if(T(n)||3!==n.SplitType){for(b=m.Points.Count,a=0;a<b;a++)m.Points.Get(a).SetSecondaryPlotInteral(!1);if(!T(n))switch(c=void 0,d=void 0,e=void 0,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:Z},O(m.Ey[c],e),d=e.value,!T(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:Z},O(k,e),d=e.value,T(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:}}},b.prototype.UpdateSettingsByChartType=function(){var a=this,b=a.Xta;switch(a.Kb=a.GetDefaultFormat(),a.gua.Count>0&&!t.IsTrendlineSeries(b)&&a.setTrendlines([]),a.HasErrorBars&&!t.IsErrorBarSeries(b)&&a.removeErrorBar(),!a.HasErrorBars||t.IsScatterChart(b)||t.IsBubbleChart(b)||(t.IsBarChart(b)?a.tdc(0):a.tdc(1)),a.eua=t.IsSmoothLine(b),a.aua=v.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:a.InvertIfNegative=!1;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=0;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;break;case 57:case 58:a.Update2016ChartDataHelper(),a.UpdateDataPoints()}a.HasDataLabels&&a.Qta.ResetByChartType(),a.cPa()},b.prototype.GetFormulaString=function(a){var b,c,d,e,f,g,h,i,j,k,l,m=this;return a===$&&(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=T(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,t.IsBubbleChart(m.Xta)?(l=void 0,l=e?m.Ota.length>1?"("+e+")":e:m.ToFormulaArray(m.BubbleSizes,!1),"SERIES("+g+","+i+","+j+","+k+","+l+")"):"SERIES("+g+","+i+","+j+","+k+")"},b.prototype.ToFormulaArray=function(a,b){var c,d,e,f;if(T(a)||0===a.length)return"";if(c=b&&a.some(function(a){return"string"==typeof a}),d=[],d.push("{"),!T(a)&&a.length>0)for(e=0;e<a.length;e++)e>0&&d.push(","),f=a[e],T(f)?d.push("#N/A"):"string"==typeof f?(d.push('"'),d.push(f),d.push('"')):c?(d.push('"'),d.push(""+f),d.push('"')):d.push(f);return d.push("}"),d.join("")},b.prototype.UpdateFormulas=function(a,b){var c,d,e=this;b===$&&(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]]))},b.prototype.ClearNameFormula=function(){this.ClearNameFormulaInternal(),this.Cj=Z},b.prototype.ClearNameFormulaInternal=function(){this.UpdateNameReferCore(Z)},b.prototype.ClearXValuesFormula=function(){this.ClearXValuesFormulaInternal(),this.UpdateXValues(Z)},b.prototype.ClearXValuesFormulaInternal=function(){this.UpdateXValuesRefersCore(Z)},b.prototype.ClearValuesFormula=function(){this.ClearValuesFormulaInternal(),this.UpdateValues(Z)},b.prototype.ClearValuesFormulaInternal=function(){this.UpdateValuesRefersCore(Z)},b.prototype.ClearBubbleFormula=function(){this.ClearBubbleFormulaInternal(),this.UpdateBubbleSizes(Z)},b.prototype.ClearBubbleFormulaInternal=function(){this.UpdateBubbleSizesRefersCore(Z)},b.prototype.UpdateNameFormula=function(a,b){var c,d,e;b===$&&(b=!1),c=this.Worksheet.Kpa(a,0,0,b),d=c.references,e=d?d[0]:Z,this.SetNameRefer(e)},b.prototype.UpdateXValuesFormula=function(a,b){var c,d,e=this;b===$&&(b=!1),c=e.Worksheet.Kpa(a,0,0,b),d=c.references,d.length>0?e.SetXValuesRefers(d):e.SetXValuesInternal(c.values),e.Update2016ChartDataHelper(),e.UpdateDataPoints()},b.prototype.UpdateValuesFormula=function(a,b){var c,d,e=this;b===$&&(b=!1),c=e.Worksheet.Kpa(a,0,0,b),d=c.references,d.length>0?e.SetValuesRefers(d):e.SetValuesInternal(c.values),e.Update2016ChartDataHelper(),e.UpdateDataPoints()},b.prototype.UpdateBubbleFormula=function(a,b){var c,d;b===$&&(b=!1),c=this.Worksheet.Kpa(a,0,0,b),d=c.references,d.length>0?this.SetBubbleSizesRefers(d):this.SetBubbleSizesInternal(c.values)},b.prototype.RemoveEquals=function(a){return a&&"="===a[0]&&(a=a.substr(1)),a},b.prototype.SetNameRefer=function(a){this.UpdateNameRefer(a)},b.prototype.SetXValuesRefers=function(a){this.IsMultiLevelXValues=!T(a)&&a.length>0&&a[0].RowCount>1&&a[0].ColumnCount>1,this.UpdateXValuesRefers(a)},b.prototype.SetValuesRefers=function(a){ra(a),this.UpdateValuesRefers(a)},b.prototype.SetBubbleSizesRefers=function(a){ra(a),this.UpdateBubbleSizesRefers(a)},b.prototype.UpdateNameRefer=function(a){this.UpdateNameReferCore(a),this.UpdateNameByRefer(a)},b.prototype.UpdateXValuesRefers=function(a){this.UpdateXValuesRefersCore(a),this.UpdateXValuesByRefers(a)},b.prototype.UpdateValuesRefers=function(a){this.UpdateValuesRefersCore(a),this.UpdateValuesByRefers(a)},b.prototype.UpdateBubbleSizesRefers=function(a){this.UpdateBubbleSizesRefersCore(a),this.UpdateSizessByRefers(a)},b.prototype.UpdateNameReferCore=function(a){this.Lta=a},b.prototype.UpdateXValuesRefersCore=function(a){T(a)||0===a.length?this.Mta=[]:this.Mta=a},b.prototype.UpdateValuesRefersCore=function(a){T(a)||0===a.length?this.Nta=[]:this.Nta=a},b.prototype.UpdateBubbleSizesRefersCore=function(a){T(a)||0===a.length?this.Ota=[]:this.Ota=a},b.prototype.GetValuesFromRefers=function(a){var b,c,d,e,f,g,h,i,j,k=this,l=[],m=k.PlotVisibleOnly,n=t.GetValuesFromCellRefers(k.Worksheet,a,m);for(b=0,c=n;b<c.length;b++)if(d=c[b],!T(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},b.prototype.GetMultiLevelValuesFromRefers=function(a){var b,c,d,e=this,f=[],g=t.GetValuesFromCellRefer(e.Worksheet,a[0],e.PlotVisibleOnly),h=g.length,i=g[0].length,j=58===e.ChartType||57===e.ChartType;if(1===e.Kta.RowCol)for(b=0;b<h;b++){for(c=[],d=0;d<i;d++)c.push(g[b][d]);j?[].push.apply(f,c):f.push(c)}else for(d=0;d<i;d++){for(c=[],b=0;b<h;b++)c.push(g[b][d]);j?[].push.apply(f,c):f.push(c)}return f},b.prototype.GetStylesFromRefers=function(a){var b,c,d,e,f,g,h,i,j,k=[],l=t.GetStylesFromCellRefers(this.Worksheet,a,this.PlotVisibleOnly);for(b=0,c=l;b<c.length;b++)if(d=c[b],!T(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},b.prototype.UpdateNameByRefer=function(a){var b,c,d,e,f,g=this;if(T(a)||a.IsError)g.Cj=Z;else if(b=g.Worksheet.Apa(a.WorksheetName),T(b))g.Cj=Z;else{for(c=a,g.Cj="",d=c.Row;d<=c.LastRow;d++)for(e=c.Column;e<=c.LastColumn;e++)g.Cj=g.Cj+" "+b.Jpa(d,e).Text;" "===g.Cj.charAt(0)&&(f=g.Cj.substring(1,g.Cj.length),g.Cj=f)}},b.prototype.UpdateXValuesByRefers=function(a){var b,c=this;!T(a)&&a.length>0?(b=void 0,b=c.IsMultiLevelXValues?c.GetMultiLevelValuesFromRefers(a):c.GetValuesFromRefers(a),c.UpdateXValues(b)):c.UpdateXValues(Z)},b.prototype.UpdateValuesByRefers=function(a){if(!T(a)&&a.length>0){var b=this.GetValuesFromRefers(a);this.UpdateValues(b)}else this.UpdateValues([])},b.prototype.UpdateSizessByRefers=function(a){if(!T(a)&&a.length>0){var b=this.GetValuesFromRefers(a);this.UpdateBubbleSizes(b)}else this.UpdateBubbleSizes([])},b.prototype.UpdateValues=function(a){var b=[];t.TryAllToNumbers(a,b),this.UpdateNumberValues(b)},b.prototype.cPa=function(){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o=this,p=o.Ey,q=aa.getMinMaxValues(p),s=o.Xta;if(!T(p)&&p.length>0&&t.IsStackedChart(s)){for(a=o.Kta.GetValidSers(o.AxisGroup).filter(function(a){return a.Xta===s}).map(function(a){return a.Ey}),b=0,c=0,d=[],e=0;e<p.length;e++){for(f=0,g=0,h=0,i=0;i<a.length;i++)j=a[i]&&a[i][e],T(j)||(j>=0?g+=j:f+=j,h+=j);d.push(h),b<g&&(b=g),c>f&&(c=f)}0===b&&(b=Math.max.apply(null,d)),0===c&&(c=Math.min.apply(null,d)),a.length>0&&(k=a[0],k&&k.length>0&&(l=Math.min.apply(null,k),m=Math.max.apply(null,k),n=r.calcMinMax(c,b,!1,this.Chart),n.Max<m&&(b=0),n.Min>l&&(c=0))),q.Max=b,q.Min=c}o.ValuesMinMax=q},b.prototype.UpdateNumberValues=function(a){var b=this;b.Ey=a,b.HasErrorBars&&b.UpdateErrorBarsValues(),b.cPa(),t.IsOfPieChart(b.InnerChartType)&&b.UpdateSecondPlotPoints(),a&&this.wWa(a.length)},b.prototype.wWa=function(a){var b=this,c=b.xWa;T(c)||(delete b.xWa,a!==c&&(b.XValuesMinMax={Min:1,Max:a}))},b.prototype.tdc=function(a){var b=this.getErrorBars(),c=b.horizontal,d=b.vertical,e=1===a?0:1;c&&d?this.removeErrorBar(e):this.getErrorBarByDirection(a)||(this.setErrorBar(c||d,a),this.removeErrorBar(e))},b.prototype.UpdateBubbleSizes=function(a){var b,c,d,e,f=[];for(b=0,c=a;b<c.length;b++)d=c[b],e={value:Z},O(d,e)?f.push(e.value):f.push(1);this.kua=f},b.prototype.UpdateXValues=function(a){var b=[],c=!1,d=this;T(a)||0===a.length?d.lua=Z:(d.lua=a,c=t.TryAllToNumbers(a,b,!0)),c&&0!==b.length||(b=d.GetXValues()),d.HasErrorBars&&d.UpdateErrorBarsValues(),d.XValuesMinMax=aa.getMinMaxValues(b),d.AreAllXValuesDateTime=t.AreValuesDateTime(d.Worksheet,d.XValuesRefers,d.PlotVisibleOnly)},b.prototype.GetXValues=function(){var a=t.GetDimensioin(this.Xta),b=[];return 1===a?[].push.apply(b,this.GetOneDimensionXValues()):[].push.apply(b,this.GetMultiDimensionXValues()),b},b.prototype.XValuesIsAuto=function(){var a,b=this.lua,c=t.GetDimensioin(this.Xta);return a=1===c?T(b)||0===b.length:58!==this.Xta&&57!==this.Xta&&(T(b)||0===b.length||!t.AreAllNumbers(b,2===c))},b.prototype.GetOneDimensionXValues=function(){var a,b,c,d,e,f,g,h=this.PointsCount;if(h>0&&this.Ey&&this.Rta&&0===this.Chart.Parent.zOb(this)&&this.lua[0].length===this.Ey.length){for(a=this.lua,b=[],c=0;c<a[0].length;c++){for(d=[],e=0;e<a.length;e++)d.push(a[e][c]);b.push(d)}this.lua=b}return f=this.GetAdjustedOneDimensionXValues(h),g=function(a){return a.some(function(a){return a instanceof Array?g(a):"string"==typeof a})},g(f)&&(f=this.GetXValuesText(h)),f},b.prototype.GetAdjustedOneDimensionXValues=function(a){var b=this.lua,c=[];return c=T(b)||0===b.length?this.AutoGenerateXValues():b.length!==a?this.AdjustList(b,a):b},b.prototype.GetMultiDimensionXValues=function(){var a,b=this,c=b.lua,d=[],e=t.GetDimensioin(this.Xta);return T(c)||0===c.length?d=b.AutoGenerateXValues():t.AreAllNumbers(c,2===e)?(d=c,a=b.PointsCount,d.length>a&&(d=b.AdjustList(d,a))):d=b.AutoGenerateXValues(),d},b.prototype.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(Z);return d},b.prototype.AutoGenerateXValues=function(){var a,b=this.PointsCount,c=[];for(a=0;a<b;a++)c.push(a+1);return this.xWa=b,c},b.prototype.GetCatCount=function(){var a,b,c,d=this.PointsCount,e=this.lua;if(e&&e.length>1){for(a=[],b=0;b<e.length;b++)a=a.concat(e[b]);e=a}return 0===d||T(e)?0:(c=e.length/d,parseInt(c,10))},b.prototype.GetBubbleSizes=function(){var a,b,c,d,e=this,f=e.kua;if(T(f)||0===f.length){if(a=e.Ey,T(a)||0===a.length)return Z;for(b=[],c=0,d=a.length;c<d;c++)e.Ey[c]!==Z?b.push(1):b.push(Z);return b}return this.kua},b.prototype.ProcessOfPieValues=function(){var a,b,c,d,e=this,f=e.Ey;if(T(f)||0===f.length)return f;for(a=0,b=0;b<f.length;b++)c={value:Z},e.Points.Get(b).SecondaryPlot&&O(f[b],c)&&!T(c.value)&&(a+=Math.abs(c.value));return d=f.slice(0),d.push(a),d},b.prototype.CreateFormat=function(){var a=this;return new h.ChartFormat(a.Chart,Z,a.AutoFillColorFormat.bind(a),a.AutoLineColorFormat.bind(a))},b.prototype.GetDefaultFormat=function(){var b=this,c=a.prototype.GetDefaultFormat.call(this);return 43===b.Xta?(c.Line.Weight=0,c.Line.Color.ColorType=1):t.IsRadarChart(b.Xta)?(c.Line.Weight=2,c.Line.Color.ColorType=1):t.IsLineSeries(b.Xta)?(c.Line.Weight=2,c.Line.Color.ColorType=R(b.SeriesCollection.Parent.ChartType)?0:1):t.IsScatterChart(b.Xta)?(c.Line.Weight=2,c.Line.Color.ColorType=0):t.IsOfPieChart(b.Xta)?(c.Line.Weight=2,c.Line.Color.ObjectThemeColor=0):(t.IsPieOrDoughnutChart(this.Xta)||t.IsSunburstOrTreemapChart(this.Xta))&&(c.Line.Weight=2,c.Line.Color.RGB=A.FromArgbs(255,255,255,255)),c},b.prototype.AutoFillColorFormat=function(){return t.IsFillSeries(this.Xta)?this.GenerateAutoColor(this.AutoColorIndex):Z},b.prototype.AutoLineColorFormat=function(){return t.IsLineSeries(this.Xta)?this.GenerateAutoColor(this.AutoColorIndex):Z},b.prototype.AutoMarkerColorFormat=function(){var a=1===this.Xta,b=6===this.MarkerStyle||8===this.MarkerStyle||10===this.MarkerStyle;return!t.IsMarkerSeries(this.Xta)||b&&!a?Z:this.GenerateAutoColor(this.AutoColorIndex)},b.prototype.AutoMarkerLineColorFormat=function(){return t.IsMarkerSeries(this.Xta)?this.GenerateAutoColor(this.AutoColorIndex):Z},b.prototype.AutoInvertColorFormat=function(){var a=new z(this.Chart);return a.RGB=A.FromArgbs(255,255,255,255),a},b.prototype.GenerateAutoColor=function(a){if(t.IsAnyPieChart(this.InnerChartType)&&this.Parent.VaryByCategories)return Z;var b=new z(this.Chart);return b.ObjectThemeColor=p["Accent"+(a%6+1)],b.Jqa=this.createAutoBrightness(a),b},b.prototype.createAutoBrightness=function(a){var b,c,d,e=this.SeriesCollection.zBb,f=e[a%6];return f.num<2?0:(b=(f.max-f.min)/6,c=(115/b+115/43)/2,d=Math.floor(a/6),(d*c-40)/100)},b.prototype.CreateMarkerFormat=function(){var a=this;return new h.ChartFormat(a.Chart,Z,a.AutoMarkerColorFormat.bind(a),a.AutoMarkerLineColorFormat.bind(a))},b.prototype.IsPictureFill=function(){if(!T(this.Kb)){var a=this.Kb.Fill.Type;return 5===a||3===a}return!1},b.prototype.IsDirtyIncludingParent=function(b){var c=this;return b===$&&(b=!1),!(T(c.Kb)||!c.Kb.IsDirtyIncludingParent(b))||(!(T(c.Pta)||!c.Pta.IsDirtyIncludingParent(b))||a.prototype.IsDirtyIncludingParent.call(this,b))},b.prototype.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),!T(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},b.prototype.HasHiddenValues=function(){return this.HasHiddenCells(this.Mta)},b.prototype.HasHiddenCells=function(a){var b,c,d,e,f,g;if(T(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},b.prototype.GetRowColIndex=function(a,b,c){var d,e,f,g,h,i,j;for(c.sheet=Z,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),!T(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++}},b.prototype.GetXValueText=function(a){var b=this.GetXValuesText(this.PointsCount,Z);return a>b.length?"":b[a]},b.prototype.GetCatText=function(a){var b=this.PointsCount;return t.IsOfPieChart(this.Xta)&&a===b-1?"":this.GetXValueText(a)},b.prototype.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],T(d)||(f+=Math.abs(d));return T(e)?0:e/f},b.prototype.GetXValuesText=function(a,b){return b===$&&(b=Z),this.IsMultiLevelXValues?this.GetMultiXValuesText(a,b):this.GetSingleXValuesText(a,b)},b.prototype.GetSingleXValuesText=function(a,b){var c,d,e,f,g,h,i=this;for(b===$&&(b=Z),c=[],d=Z,!T(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]===Z?c.push(""):"string"==typeof e[f]?c.push(e[f]):(!g&&!T(d)&&d.length>0&&f<d.length&&d[f]!==Z&&(g=d[f].FormatCode),g?(h=new K(g).format(e[f]),c.push(h)):c.push(""+e[f]));return c},b.prototype.GetMultiXValuesText=function(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p=this;for(b===$&&(b=Z),c===$&&(c=Z),d=[],e=t.GetStylesFromCellRefer(p.Worksheet,p.XValuesRefers[0],p.PlotVisibleOnly),f=p.GetAdjustedOneDimensionXValues(a),h=0;h<f.length;h++)if(i=void 0,j=void 0,k=void 0,l=void 0,f[h]instanceof Array)if(m=f[h],1===p.Kta.RowCol)for(n=0;n<m.length;n++)g="",(T(c)||c===n)&&(l=m[n],"string"==typeof l?g=""+l:(j=b,k=e.GetValue&&e.GetValue(h,n),T(k)||j||(j=k.FormatCode),j?(i=new K(j).format(l),g=i):T(l)||(g=""+l)),d.push(g));else for(o=0;o<m.length;o++)g="",(T(c)||c===o)&&(l=m[o],"string"==typeof l?g=""+l:(j=b,k=e.GetValue(o,h),T(k)||j||(j=k.FormatCode),j?(i=new K(j).format(l),g=i):T(l)||(g=""+l)),d.push(g));return d},b.prototype.GetPointValueText=function(a,b){var c,d,e,f,g,h,i=this;return b===$&&(b=Z),c=i.PointsCount,t.IsOfPieChart(i.InnerChartType)&&a===c-1?b?new K(b).format(this.Values[a]):""+i.Values[a]:i.HasRefers(1)?(d={sheet:Z,row:-1,col:-1},i.GetRowColIndex(i.ValuesRefers,a,d),e=d.sheet,f=d.row,g=d.col,T(e)||f===-1||g===-1?Z:b?(h=e.mua(f,g),new K(b).format(h)):e.vpa(f,g)):b?new K(b).format(this.Values[a]):""+this.Values[a]},b.prototype.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):16===a.layoutId?b.FromCT_BoxWhisker(a):17===a.layoutId?b.FromCT_Funnel(a):18===a.layoutId?b.FromCT_ParetoLine(a):19===a.layoutId?b.FromCT_RegionMap(a):20===a.layoutId?b.FromCT_Sunburst(a):21===a.layoutId?b.FromCT_Treemap(a):22===a.layoutId?b.FromCT_Waterfall(a):23===a.layoutId&&b.FromCT_ClusteredColumn(a)},b.prototype.ToOOModel=function(){var a=this,b=Z;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:break;case 53:b=a.ToCT_BoxWhisker();break;case 54:b=a.ToCT_Funnel();break;case 55:b=a.ToCT_ParetoLine();break;case 56:b=a.ToCT_RegionMap();break;case 57:b=a.ToCT_Sunburst();break;case 58:b=a.ToCT_Treemap();break;case 59:b=a.ToCT_Waterfall();break;case 60:b=a.ToCT_ClusteredColumn()}return b&&t.removeEmptyArrayProperties(b),b},b.prototype.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},b.prototype.FromCT_BarSer=function(a){var b=this;b.FromCT_CatValSerBase(a),T(a.shape)||(b.BarShape=a.shape),T(a.invertIfNegative)||(b.InvertIfNegative=a.invertIfNegative),b.fua.RestorePoints(a.dPt),b.FromCT_PictureOptions(a.pictureOptions)},b.prototype.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},b.prototype.FromCT_LineSer=function(a){var b=this;b.FromCT_CatValSerBase(a),T(a.smooth)||(b.Smooth=a.smooth),b.FromCT_Marker(a.marker),b.fua.RestorePoints(a.dPt),4!==b.MarkerStyle&&(9===b.Xta?b.Xta=26:24===b.Xta?b.Xta=27:25===b.Xta&&(b.Xta=28))},b.prototype.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},b.prototype.FromCT_PieSer=function(a){this.FromCT_CatValSerBase(a),T(a.explosion)||(this.Explosion=a.explosion),this.fua.RestorePoints(a.dPt)},b.prototype.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=Z,b},b.prototype.FromCT_AreaSer=function(a){this.FromCT_CatValSerBase(a),this.FromCT_Marker(a.marker),this.FromCT_PictureOptions(a.pictureOptions)},b.prototype.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},b.prototype.FromCT_RadarSer=function(a){this.FromCT_CatValSerBase(a),this.FromCT_Marker(a.marker),this.fua.RestorePoints(a.dPt)},b.prototype.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},b.prototype.FromCT_ScatterSer=function(a){var b=this;b.FromCT_XYSerBase(a),T(a.smooth)||(b.Smooth=a.smooth),b.FromCT_Marker(a.marker),b.fua.RestorePoints(a.dPt)},b.prototype.ToCT_BubbleSer=function(){var a=this,b=a.Wta&&5===this.Wta.seriesType?a.Wta:{seriesType:I.BubbleSer,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},b.prototype.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)},b.prototype.ToCT_BoxWhisker=function(){return na(this)},b.prototype.FromCT_BoxWhisker=function(a){this.FromCT_Cat2016ChartValSerBase(a)},b.prototype.ToCT_Funnel=function(){return na(this)},b.prototype.FromCT_Funnel=function(a){this.FromCT_Cat2016ChartValSerBase(a)},b.prototype.ToCT_ParetoLine=function(){return na(this)},b.prototype.FromCT_ParetoLine=function(a){this.FromCT_Cat2016ChartValSerBase(a)},b.prototype.ToCT_RegionMap=function(){return na(this)},b.prototype.FromCT_RegionMap=function(a){this.FromCT_Cat2016ChartValSerBase(a)},b.prototype.ToCT_Sunburst=function(){return na(this)},b.prototype.FromCT_Sunburst=function(a){this.FromCT_Cat2016ChartValSerBase(a)},b.prototype.ToCT_Treemap=function(){return na(this)},b.prototype.FromCT_Treemap=function(a){this.FromCT_Cat2016ChartValSerBase(a)},b.prototype.ToCT_Waterfall=function(){return na(this)},b.prototype.FromCT_Waterfall=function(a){this.FromCT_Cat2016ChartValSerBase(a)},b.prototype.ToCT_ClusteredColumn=function(){return na(this)},b.prototype.FromCT_ClusteredColumn=function(a){this.FromCT_Cat2016ChartValSerBase(a)},b.prototype.ToCT_Cat2016ChartValSerBase=function(a){var b=this;b.Sta!==-1&&(a.dataId={val:b.Sta}),a.uniqueId=b.ilb,a.formatIdx=b.hlb,a.layoutId=t.Get2016InnerChartTypeByChartType(b.ChartType),T(b._hidden)||(a.hidden=b._hidden),T(b.jlb)||(a.ownerIdx=b.jlb),a.tx=b.ToCT_Text(),a.formulaObj=b.ToCT_2016ChartFormulaObj(),a.axisId=b.ToST_AxisId(),a.valueColors=b.ToCT_ValueColors(),a.valueColorPositions=b.ToCT_ValueColorPositions(),a.dataPt=b.blb?b.blb.ToOOModel():Z,a.layoutPr=b.ToCT_SeriesLayoutProperties(),a.spPr=b.ToShapeProperties(),a.dataLabels=b.ToCT_DLbls(),a.trendline=b.ToCT_Trendlines(),!T(b.Xkb)&&b.Xkb.length>0&&(a.extLst={ext:b.Xkb}),T(b.mlb)||(a.layoutId=b.mlb)},b.prototype.FromCT_Cat2016ChartValSerBase=function(a){var b,c,d,e,f,g=this;if(T(a.dataId)?g.Sta=-1:g.Sta=a.dataId.val,g.Tta=-1,g.ilb=a.uniqueId,g.hlb=a.formatIdx,T(a.hidden)||(g._hidden=a.hidden),T(a.ownerIdx)||(g.jlb=a.ownerIdx),g.FromCT_Text(a.tx),g.FromCT_2016ChartFormulaObj(a.formulaObj),g.FromST_AxisId(a.axisId),T(a.valueColors)||g.FromCT_ValueColors(a.valueColors),T(a.valueColorPositions)||g.FromCT_ValueColorPositions(a.valueColorPositions),T(a.defaultColors)||(g.defaultColors=a.defaultColors),!T(a.dataPt)&&!T(g.blb)){for(b=this.GetSunburstSeriesColor(),g.blb.clb=b,c=this.elb.dlb.length,d=0;d<c;d++)e=g.blb,f=e.NR(d),T(f)&&(e.spb(d),f=e.NR(d)),e.tpb(d,f);g.blb.FromOOModel(a.dataPt)}T(a.layoutPr)||g.FromCT_SeriesLayoutProperties(a.layoutPr),g.FromShapeProperties(a.spPr),g.FromCT_DLbls(a.dataLabels),g.FromCT_Trendlines(a.trendline),!T(a.extLst)&&!T(a.extLst.ext)&&a.extLst.ext.length>0&&(g.Xkb=a.extLst.ext),T(a.layoutId)||(g.mlb=a.layoutId)},b.prototype.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(),a.errBars=b.ToCT_ErrorBars()},b.prototype.FromCT_CatValSerBase=function(a){var b=this;T(a.idx)?b.Sta=-1:b.Sta=a.idx,T(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),b.FromCT_ErrorBars(a.errBars)},b.prototype.ToST_AxisId=function(){var a,b,c=this,d=c.Csa,e=[];if(!T(d)&&d.length>0)for(a=0;a<d.length;a++)b=d[a],e.push({val:b});return e},b.prototype.FromST_AxisId=function(a){var b,c,d=this;if(d.Csa=[],!T(a)&&a.length>0)for(b=0;b<a.length;b++)c=a[b],d.Csa.push(c.val)},b.prototype.ToCT_2016ChartFormulaObj=function(){var a,b=this,c={},d=b.GetXValuesFormula();return d&&(c.strDim=d),a=b.GetValuesFormula(),a&&(c.numDim=a),c},b.prototype.FromCT_2016ChartFormulaObj=function(a){var b=this,c=a&&a.strDim,d=a&&a.numDim;U(c)?b.SetXValuesInternal(Z):b.UpdateXValuesFormula(c),U(d)?b.SetValuesInternal(Z):b.UpdateValuesFormula(d)},b.prototype.ToCT_ValueColors=function(){var a,b,c=this;if(!T(c.nlb))return a=c.nlb,b={},T(a.olb)||(b.minColor=a.olb),T(a.plb)||(b.midColor=a.plb),T(a.qlb)||(b.maxColor=a.qlb),b},b.prototype.FromCT_ValueColors=function(a){if(!T(a)){var b={},c=this;T(a.minColor)||(b.olb=a.minColor),T(a.midColor)||(b.plb=a.midColor),T(a.maxColor)||(b.qlb=a.maxColor),c.nlb=b}},b.prototype.ToCT_ValueColorPositions=function(){var a,b,c=this;if(!T(c.rlb))return a=c.rlb,b={},T(a.KPa)||(b.min=a.KPa),T(a.slb)||(b.mid=a.slb),T(a.LPa)||(b.max=a.LPa),b},b.prototype.FromCT_ValueColorPositions=function(a){if(!T(a)){var b={},c=this;T(a.min)||(b.KPa=a.min),T(a.mid)||(b.slb=a.mid),T(a.max)||(b.LPa=a.max),c.rlb=b}},b.prototype.ToCT_SeriesLayoutProperties=function(){var a,b,c=this,d=c.tlb;T(d)||(a={},T(d.ulb)||(a.parentLabelLayout={val:d.ulb}),T(d.vlb)||(a.regionLabelLayout={val:d.vlb}),T(d._visibility)||(b=d._visibility,T(b.wlb)||(a.connectorLines=b.wlb),T(b.xlb)||(a.meanLine=b.xlb),T(b.ylb)||(a.meanMarker=b.ylb),T(b.zlb)||(a.nonoutliers=b.zlb),T(b.Alb)||(a.outliers=b.Alb)),T(d.Blb)?T(d.Clb)||(a.binning=c.ToCT_Binning(d.Clb)):a.aggregation=d.Blb,T(d.Dlb)||(a.geography=c.ToCT_Geography(d.Dlb)),T(d.Elb)||(a.statistics={quartileMethod:d.Elb}),!T(d.Flb)&&d.Flb.length>0&&(a.subtotals={idx:d.Flb}),!T(d.Xkb)&&d.Xkb.length>0&&(a.extLst={ext:d.Xkb}))},b.prototype.FromCT_SeriesLayoutProperties=function(a){var b,c,d;T(a)||(b=this,c={},T(a.parentLabelLayout)||T(a.parentLabelLayout.val)||(c.ulb=a.parentLabelLayout.val),T(a.regionLabelLayout)||T(a.regionLabelLayout.val)||(c.vlb=a.regionLabelLayout.val),T(a.visibility)||(d=a.visibility,T(d.connectorLines)||(c.wlb=d.connectorLines),T(d.meanLine)||(c.xlb=d.meanLine),T(d.meanMarker)||(c.ylb=d.meanMarker),T(d.nonoutliers)||(c.zlb=d.nonoutliers),T(d.outliers)||(c.Alb=d.outliers)),T(a.aggregation)?T(a.binning)||(c.Clb=b.FromCT_Binning(a.binning)):c.Blb=a.aggregation,T(a.geography)||(c.Dlb=b.FromCT_Geography(a.geography)),T(a.statistics)||T(a.statistics.quartileMethod)||(c.Elb=a.statistics.quartileMethod),!T(a.subtotals)&&!T(a.subtotals.idx)&&a.subtotals.idx.length>0&&(c.Flb=a.subtotals.idx),!T(a.extLst)&&!T(a.extLst.ext)&&a.extLst.ext.length>0&&(c.Xkb=a.extLst.ext),b.tlb=c)},b.prototype.ToCT_Binning=function(a){var b=a||{},c={};return T(b.Glb)?T(b.Hlb)||(c.binCount=b.Hlb):c.binSize=b.Glb,T(b.Ilb)||(c.intervalClosed=b.Ilb),T(b.Jlb)||(c.underflow=b.Jlb),T(b.Klb)||(c.overflow=b.Klb),c},b.prototype.FromCT_Binning=function(a){var b={};return T(a.binSize)?T(a.binCount)||(b.Hlb=a.binCount):b.Glb=a.binSize,T(a.intervalClosed)||(b.Ilb=a.intervalClosed),T(a.underflow)||(b.Jlb=a.underflow),T(a.overflow)||(b.Klb=a.overflow),b},b.prototype.ToCT_Geography=function(a){var b=a||{},c={};return T(b.Llb)||(c.geoCache=b.Llb),T(b.Mlb)||(c.projectionType=b.Mlb),T(b.Nlb)||(c.viewedRegionType=b.Nlb),T(b.Olb)||(c.cultureLanguage=b.Olb),T(b.Plb)||(c.cultureRegion=b.Plb),T(b.Qlb)||(c.attribution=b.Qlb),c},b.prototype.FromCT_Geography=function(a){var b={};return T(a.geoCache)||(b.Llb=a.geoCache),T(a.projectionType)||(b.Mlb=a.projectionType),T(a.viewedRegionType)||(b.Nlb=a.viewedRegionType),T(a.cultureLanguage)||(b.Olb=a.cultureLanguage),T(a.cultureRegion)||(b.Plb=a.cultureRegion),T(a.attribution)||(b.Qlb=a.attribution),b},b.prototype.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(),a.errBars=c.ToCT_ErrorBars()},b.prototype.FromCT_XYSerBase=function(a){var b=this;T(a.idx)?b.Sta=-1:b.Sta=a.idx,T(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),b.FromCT_ErrorBars(a.errBars)},b.prototype.ToCT_DLbls=function(){var a=this;return!a.HasDataLabels&&!a.fua.HasDataLabel||T(a.Qta)?Z:a.Qta.ToOOModel()},b.prototype.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},b.prototype.FromCT_DLbls=function(a){T(a)?this.HasDataLabels=!1:(this.HasDataLabels=!0,this.Qta.FromOOModel(a))},b.prototype.FromCT_Trendlines=function(a){T(a)?this.gua=new da(this):this.gua.RestoreTrendlines(a)},b.prototype.FromCT_ErrorBars=function(a){var b,c,d;if(!T(a)){for(b=[],c=0;c<a.length;c++)d=new ga(this),d.FromOOModel(a[c]),b.push(d);this.qOb=b}},b.prototype.ToCT_ErrorBars=function(){var a,b,c,d=this;if(d.HasErrorBars){for(a=[],b=0;b<d.qOb.length;b++)c=d.qOb[b].ToOOModel(),a.push(c);return a}},b.prototype.FromCT_AxDataSource=function(a){var b,c,d,e=this;return T(a)?void e.SetXValuesInternal(Z):(b=e.GetAxDataSourceFormulaOrValues(a),c=b.formula,d=b.values,void(U(c)?T(d)?e.SetXValuesInternal(Z):e.SetXValuesInternal(d):e.UpdateXValuesFormula(c)))},b.prototype.FromCT_NumDataSource=function(a){var b,c,d,e=this;return T(a)?void e.SetValuesInternal(Z):(b=ua(a),c=b.formula,d=b.values,void(U(c)?T(d)?e.SetValuesInternal(Z):e.SetValuesInternal(d):e.UpdateValuesFormula(c)))},b.prototype.BubbleFromCT_NumDataSource=function(a){var b,c,d,e=this;return T(a)?void e.SetBubbleSizesInternal(Z):(b=ua(a),c=b.formula,d=b.values,void(U(c)?T(d)?e.SetBubbleSizesInternal(Z):e.SetBubbleSizesInternal(d):e.UpdateBubbleFormula(c)))},b.prototype.ToCT_SurfaceSer=function(){var a={seriesType:7};return this.ToCT_CatValSerBase(a),a},b.prototype.FromCT_SurfaceSer=function(a){this.FromCT_CatValSerBase(a)},b.prototype.ToCT_PictureOptions=function(){var a={};return a.pictureFormat=this.PictureType,2===this.PictureType&&(a.pictureStackUnit=this.PictureUnit),a},b.prototype.FromCT_PictureOptions=function(a){var b=this;return T(a)?(b.cua=0,b.UnDirty(128),b.dua=1,void b.UnDirty(256)):(T(a.pictureFormat)||(b.PictureType=a.pictureFormat),void(T(a.pictureStackUnit)||(b.PictureUnit=a.pictureStackUnit)))},b.prototype.ToCT_Text=function(){var a,b=this;return U(b.Cj)&&T(b.Lta)?Z:b.llb?(a={},T(b.Lta)?T(b.Cj)||(a.v={value:b.Name}):a.f={formula:b.GetNameFormula()},{txData:a}):b.klb?b.Qpa.ToOOModel():void 0},b.prototype.FromCT_Text=function(a){var b,c,d,e;return T(a)?void this.SetNameInternal(Z):(b=this,c=Z,d=Z,void(a.txData?(e=a.txData,T(e.f)||U(e.f.formula)?T(e.v)||U(e.v.value)||(d=e.v.value):c=e.f.formula,U(c)?T(d)||this.SetNameInternal(d):this.UpdateNameFormula(c),b.llb=!0):a.rich&&(b.Qpa=new n,b.Qpa.FromOOModel(a),this.SetNameInternal(b.Qpa.Text),b.klb=!0)))},b.prototype.ToCT_SerTx=function(){var a,b=this;return U(b.Cj)&&T(b.Lta)?Z:(a={},T(b.Lta)?a.v=b.Name:a.strRef={f:b.GetNameFormula()},a)},b.prototype.FromCT_SerTx=function(a){var b,c;return T(a)?void this.SetNameInternal(Z):(b=Z,c=Z,T(a.strRef)||U(a.strRef.f)?U(a.v)||(c=a.v):b=a.strRef.f,void(U(b)?T(c)||this.SetNameInternal(c):this.UpdateNameFormula(b)))},b.prototype.ToCT_Marker=function(){var a=this,b={},c=!1;return 11!==a.MarkerStyle&&null!==a.MarkerStyle&&(b.symbol=a.MarkerStyle,c=!0),11!==a.MarkerStyle&&4!==a.MarkerStyle&&null!==a.MarkerStyle&&(b.size=a.MarkerSize,c=!0),T(a.Pta)||(b.spPr=a.Pta.ToOOModel(),c=!0),c?b:Z},b.prototype.FromCT_Marker=function(a){var b=this;return T(a)?(b.MarkerStyle=null,void b.ClearMarkerFormat()):(T(a.spPr)?b.ClearMarkerFormat():(T(b.Pta)&&(b.Pta=b.CreateMarkerFormat()),b.Pta.FromOOModel(a.spPr)),T(a.size)||(b.MarkerSize=a.size),void(T(a.symbol)?b.MarkerStyle=11:b.MarkerStyle=a.symbol))},b.prototype.ClearMarkerFormat=function(){var a=this;T(a.Pta)||(a.Pta.SetParentForChildren(Z),a.Pta.ParentStateful=Z,a.Pta=Z)},b.prototype.XValuesToCT_AxDataSource=function(){return this.IsMultiLevelXValues?this.ToMultipleCT_AxDataSource():this.ToSingleCT_AxDataSource()},b.prototype.ToSingleCT_AxDataSource=function(){var a,b,c,d,e,f=this,g={},h=f.GetXValuesFormula();return T(f.lua)||0===f.lua.length?U(h)?Z:(a={},a.f=h,g.strRef=a,g):(b=[],c=f.XValues,t.TryAllToNumbers(c,b)?(d=f.ToCT_NumberData(h,f.XValuesRefers,b),U(h)?g.numLit=d:g.numRef={f:h,numCache:{formatCode:d.formatCode}}):(e=f.ToCT_StrData(c),U(h)?g.strLit=e:g.strRef={f:h}),g)},b.prototype.ToMultipleCT_AxDataSource=function(){var a,b,c,d,e=this;return T(e.lua)||0===e.lua.length?Z:(a={},b=e.GetXValuesFormula(),c=e.ToCT_MultiLvlStrData(),d={},d.multiLvlStrCache=c,d.f=b,a.multiLvlStrRef=d,a)},b.prototype.GetAxDataSourceFormulaOrValues=function(a){var b,c,d,e,f,g,h=Z,i=Z;if(T(a.numRef)&&T(a.numLit))T(a.strRef)&&T(a.strLit)?T(a.multiLvlStrRef)||(h=a.multiLvlStrRef.f):T(a.strRef)||U(a.strRef.f)?(g=a.strLit,T(g)||T(g.pt)||(i=g.pt.slice())):h=a.strRef.f;else if(T(a.numRef)||U(a.numRef.f)){if(b=a.numLit,!T(b)&&!T(b.pt))for(i=[],c=0,d=b.pt;c<d.length;c++)e=d[c],f={value:Z},O(e,f,!0),i.push(f.value)}else h=a.numRef.f;return{formula:h,values:i}},b.prototype.ValuesToCT_NumDataSource=function(){var a,b=this,c={},d=b.GetValuesFormula();return U(d)&&(T(b.Ey)||0===b.Ey.length)?Z:(a=b.ToCT_NumberData(d,b.ValuesRefers,b.Values),U(d)?c.numLit=a:c.numRef={f:d,numCache:{formatCode:a.formatCode}},c)},b.prototype.BubbleSizesToCT_NumDataSource=function(){var a=this,b={},c=a.GetBubbleSizesFormula(),d=a.ToCT_NumberData(c,a.BubbleSizesRefers,a.BubbleSizes);return U(c)?b.numLit=d:b.numRef={f:c,numCache:{formatCode:d.formatCode}},b},b.prototype.ToCT_NumberData=function(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;if(T(c)||0===c.length)return U(a)?Z:(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++)k=void 0,c[j]===Z||isNaN(c[j])?k="#N/A":(l=c[j],k=y.IsNegativeInfinity(l)?Number.MIN_VALUE.toLocaleString():y.IsPositiveInfinity(l)?Number.MAX_VALUE.toLocaleString():l.toLocaleString()),g.push(k);if(!T(b)&&b.length>0)for(m=0,n=this.GetStylesFromRefers(b),o=0,p=n;o<p.length&&m<i;o++)q=p[o],T(q)||(r=q.FormatCode,r&&r!==f&&(h[m]=r)),m++;return g.length>0&&(e.pt=g,h.length>0&&(oa(h)?e.formatCode=h[0]:e.formatCodes=h)),e},b.prototype.ToCT_StrData=function(a){var b=a.map(function(a){return!T(a)&&a.toLocaleString?a.toLocaleString():a});return{ptCount:a.length,pt:b}},b.prototype.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,Z,b),e.lvl.push({pt:c});return e},b.prototype.ToCT_ExtensionList=function(){var a,b,c=this,d={ext:[]};return!T(c.ic)&&c.ic.IsDirtyIncludingParent()&&d.ext.push(c.ToCT_InvertSolidFillFmt()),c.HasDataLabels&&!T(c.Qta.ChartText.TextRefer)&&(a={uri:"{6F2FDCE9-48DA-4B69-8628-5D25D57E5C99}"},b={extDataType:1},b.f=c.Qta.ChartText.Formula,a.dataObject=b,d.ext.push(a)),d},b.prototype.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},b.prototype.FromCT_ExtensionList=function(a){var b,c,d,e,f,g,h=this;if(h.HasDataLabels&&(h.Qta.ShowDataLabelsRange=!1),!T(a)&&!T(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,T(f.spPr)||h.ic.FromOOModel(f.spPr.solidFill)):1===e&&(g=d.dataObject,h.Qta.ChartText.Formula=g.f,h.Qta.ShowDataLabelsRange=!0))},b.prototype.ToDataPoints=function(a){var b,c,d,e;a===$&&(a=!1),b=[],c=this.Points.GetPoints();for(d in c)e=c[d],(a||this.NeedRenderPoint(e))&&b.push(e.ToOOModel());return b},b.prototype.NeedRenderPoint=function(a){return a.IsDirtyIncludingParent()},b.prototype.GetParentGroup=function(){var a=this.sQa;return a||(a=this.sQa=this.Chart.FindChartGroup(this.Xta,this.fsa)),a},b.prototype.UpdateErrorBarsValues=function(){var a,b,c=this;if(c.HasErrorBars)for(a=0;a<c.qOb.length;a++)b=c.qOb[a],b.updateInternalValues()},b.prototype.getErrorBarByDirection=function(a){var b,c,d=this;if(d.HasErrorBars)for(b=0;b<d.qOb.length;b++)if(c=d.qOb[b],c.getDirection()===a)return c},b.prototype.getErrorBars=function(){var a,b,c,d,e,f,g,h,i,j,k,l=this;if(l.HasErrorBars)for(a={},b=0;b<l.qOb.length;b++)c=void 0,d=l.qOb[b],e=d.getDirection(),f=d.sOb,g=d.tOb,h=d.uOb,i=d.vOb,0===e?c=a.horizontal={}:1===e&&(c=a.vertical={}),c.type=f,c.valueType=g,c.noEndCap=h,c.style={color:d.getLineColor(!0,!1),transparency:d.getLineTransparency(),width:d.getLineWidth(),dashStyle:d.getLineDashStyle()},!T(i)&&d.HasValueType?c.value=i:d.HasCustomFormulaType&&(j=d.ndc,k=d.qdc,c.custom={positive:j,negative:k});return a},b.prototype.setErrorBar=function(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o=this,p=a.type,q=a.valueType,r=a.noEndCap,s=a.value,t=a.style,u=o.getErrorBarByDirection(b);T(o.qOb)&&(o.qOb=[]),T(u)&&(u=new ga(this),u.mdc=b,o.qOb.push(u)),T(p)||(u.sOb=p),T(q)||(u.tOb=q),T(r)||(u.uOb=r),!T(s)&&u.HasValueType&&(u.vOb=s),T(t)||(c=t.color,d=t.transparency,e=t.width,f=t.dashStyle,c?u.setLineColor(o.Worksheet,c):null!==c&&""!==c||(u.ChartFormat.Line.Color.ColorType=0),T(d)||u.setLineTransparency(d),T(e)||u.setLineWidth(e),T(f)||u.setLineDashStyle(f)),0===q&&(g=a.custom,h=void 0===g?{}:g,i=h.positive,j=void 0===i?ga.DefaultFormula:i,k=h.negative,l=void 0===k?ga.DefaultFormula:k,m=u.ndc,n=u.qdc,T(j)||j===m||u.setCustomFormula(j,!1),T(l)||l===n||u.setCustomFormula(l,!0))},b.prototype.GetErrorBarsValuesMinMax=function(a){if(this.HasErrorBars&&!T(a)){var b=this.getErrorBarByDirection(a);return b?b.getValuesMinMax():void 0}},b.prototype.removeErrorBar=function(a){var b,c,d,e=this;if(!T(e.qOb)){if(T(a))return void(e.qOb=Z);for(b=0;b<e.qOb.length;b++)if(c=e.qOb[b],d=c.getDirection(),a===d){e.qOb.splice(b,1);break}}},b.prototype.setTrendlines=function(a){var b,c,d,e,f=this;for(f.Trendlines.Jta.length=0,a=a||[],b=0;b<a.length;b++)c=a[b],d=f.Trendlines.Add(),T(c.type)||(d.Type=c.type),T(c.order)||(d.Order=c.order),T(c.period)||(d.Period=c.period),T(c.intercept)||(d.Intercept=c.intercept),T(c.forward)||(d.Forward=c.forward),T(c.backward)||(d.Backward=c.backward),T(c.displayEquation)||(d.DisplayEquation=c.displayEquation),T(c.displayRSquared)||(d.DisplayRSquared=c.displayRSquared),T(c.name)||(d.Name=c.name),T(c.style)||(c.style.color?d.setLineColor(this.Worksheet,c.style.color):null!==c.style.color&&""!==c.style.color||(d.ChartFormat.Line.Color.ColorType=0),T(c.style.transparency)||(d.ColorTransparency=c.style.transparency),T(c.style.width)||(d.Width=c.style.width),T(c.style.dashStyle)||(d.LineType=c.style.dashStyle)),e=d.Font,T(c.fontFamily)||(e.Name=c.fontFamily),T(c.fontSize)||(e.Size=c.fontSize),T(c.fontColor)||d.setFontColor(this.Worksheet,c.fontColor)},b.prototype.getTrendlines=function(){var a,b,c,d,e=this.Trendlines.GetLines(),f=[];for(a=0;a<e.length;a++)b={},c=e[a],b.type=c.Type,b.order=c.Order,b.period=c.Period,b.intercept=c.Intercept,b.forward=c.Forward,b.backward=c.Backward,b.displayEquation=c.DisplayEquation,b.displayRSquared=c.DisplayRSquared,b.name=c.Name,b.style={},b.style.color=c.getLineColor(!1,!1,!1),b.style.transparency=c.ColorTransparency,b.style.width=c.Width,b.style.dashStyle=c.LineType,d=c.Font,b.fontFamily=d.Name,b.fontSize=d.Size,b.fontColor=c.getFontColor(!1,!1,!1),f.push(b);return f.length>0?f:$},Object.defineProperty(b.prototype,"SeriesCollection",{get:function(){return this.Kta},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Index",{get:function(){return T(this.Kta)?-1:this.Kta.IndexOf(this)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"AxisGroup",{get:function(){return this.fsa},set:function(a){var b=this;a!==b.fsa&&(b.fsa=a,b.sQa=Z,b.Chart.HandleElementChanged(3,b,v.AxisGroup))},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"BarShape",{get:function(){var a=this;return T(a.gta)?a.Chart.BarShape:a.gta},set:function(a){this.gta=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"ChartType",{get:function(){return this.Xta},set:function(a){var b=this;if(a!==b.Xta){if(0===a||t.IsSurfaceChart(a)||t.IsStockChart(a))throw Error("Invalid chart type!");if(t.Is3DChart(b.Xta)!==t.Is3DChart(a))throw Error("Can not change 3D of series!");b.Xta=a,b.sQa=Z,b.Wta=Z,b.UpdateSettingsByChartType(),b.Chart.HandleElementChanged(3,b,v.ChartType)}},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"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))},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Format",{get:function(){return this.ChartFormat},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"LineWidth",{get:function(){var a=this.Format.Line.Weight;return a>0?a:0},set:function(a){T(a)||(this.Format.Line.Weight=a)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Formula",{get:function(){return"="+this.GetFormulaString()},set:function(a){"="===a[0]&&(a=a.substr(1)),a!==this.GetFormulaString()&&this.UpdateFormulas(a)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"FormulaR1C1",{get:function(){return"="+this.GetFormulaString(!0)},set:function(a){"="===a[0]&&(a=a.substr(1)),a!==this.GetFormulaString(!0)&&this.UpdateFormulas(a,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Has3DEffect",{get:function(){return this.Zta},set:function(a){this.Zta=a,this.Dirty(4)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"HasDataLabels",{get:function(){return this.$ta},set:function(a){var b=this;b.$ta=a,a&&(b.DataLabels.ShowValue=!0,b.DataLabels.ShowLeaderLines=!0),T(b.Qta)||b.Qta.UpdateDeleted(!a)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"InvertColor",{get:function(){var a=this;return T(a.ic)&&(a.ic=new z(a.Chart)),this.ic},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"InvertIfNegative",{get:function(){return this._ta},set:function(a){this._ta=a,this.Dirty(8)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"MarkerFormat",{get:function(){var a=this;return T(a.Pta)&&(a.Pta=a.CreateMarkerFormat()),a.Pta},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"MarkerSize",{get:function(){return this.aua},set:function(a){this.aua=a,this.Dirty(32)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"MarkerStyle",{get:function(){var a,b=this.bua;return T(b)&&(a=this.Sta%_.length,b=_[a]),b},set:function(a){this.bua=a,this.Dirty(64)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Name",{get:function(){return this.Cj},set:function(a){this.SetNameInternal(a)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Parent",{get:function(){return this.GetParentGroup()},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"PictureType",{get:function(){return this.cua},set:function(a){this.cua=a,this.Dirty(128)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"PictureUnit",{get:function(){return this.dua},set:function(a){this.dua=a,this.Dirty(256)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Smooth",{get:function(){return this.eua},set:function(a){this.eua=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Values",{get:function(){return t.IsOfPieChart(this.Xta)?this.ProcessOfPieValues():this.Ey},set:function(a){this.SetValuesInternal(a)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"XValues",{get:function(){return this.GetXValues()},set:function(a){this.SetXValuesInternal(a),this.Chart.HandleElementChanged(3,this,v.XValues,a)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"BubbleSizes",{get:function(){return this.GetBubbleSizes()},set:function(a){this.SetBubbleSizesInternal(a)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"DataLabels",{get:function(){var a=this;return T(a.Qta)&&(a.Qta=new g.DataLabels(a)),a.Qta},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Points",{get:function(){return this.fua},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Trendlines",{get:function(){return this.gua},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"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,v.PlotOrder,a,b))},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"FormatInternal",{get:function(){var a=this;return T(a.Kb)&&(a.Kb=a.CreateFormat()),this.Kb},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"AutoColorIndex",{get:function(){return this.Sta!==-1?this.Sta:this.SourceIndex},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"OwnerChartType",{get:function(){return this.Kta.Parent.ChartType},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"PointsCount",{get:function(){var a=this;return t.IsOfPieChart(a.InnerChartType)?a.ValuesCount+1:a.ValuesCount},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"ValuesCount",{get:function(){return T(this.Ey)?0:this.Ey.length},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"PlotVisibleOnly",{get:function(){return this.eta},set:function(a){var b=this;a!==b.eta&&(b.eta=a,b.RefreshValuesIfNeed())},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"IsHidden",{get:function(){var a=this;return!T(a.Nta)&&a.Nta.length>0&&a.AreAllCellsHidden(a.Nta)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"SourceIndex",{get:function(){return this.Kta.IndexOfSource(this)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Worksheet",{get:function(){return this.Kta.Parent.Parent.sheet()},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"IsMultiLevelXValues",{get:function(){return this.Rta},set:function(a){var b=this;a!==b.Rta&&(b.Rta=a,b.Chart.HandleElementChanged(3,b,v.IsMultiLevelXValues))},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"NameRefer",{get:function(){return this.Lta},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"XValuesRefers",{get:function(){return this.Mta},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"ValuesRefers",{get:function(){return this.Nta},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"BubbleSizesRefers",{get:function(){return this.Ota},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"ValuesMinMax",{get:function(){return this.Uta},set:function(a){var b=this;a!==b.Uta&&(b.Uta=a,b.Chart.lBb||b.Chart.HandleElementChanged(3,b,v.ValuesMinMax))},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"XValuesMinMax",{get:function(){return this.Vta},set:function(a){var b=this;a!==b.Vta&&(b.Vta=a,b.Chart.lBb||b.Chart.HandleElementChanged(3,b,v.XValuesMinMax))},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"HasErrorBars",{get:function(){return this.qOb&&this.qOb.length>0},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"AreAllXValuesDateTime",{get:function(){return this.hua},set:function(a){var b=this;a!==b.hua&&(b.hua=a,b.Chart.HandleElementChanged(3,b,v.AreAllXValuesDateTime))},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"InnerChartType",{get:function(){return this.Xta},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"Chart",{get:function(){return this.Kta.Parent},enumerable:!0,configurable:!0}),b}(w),b.Series=ha;function ya(a,b,c){a.UpdateValuesFormula(t.ReferencesToFormula(b,c),c)}function za(a,b,c){a.UpdateNameFormula(t.ReferencesToFormula(b,c),c)}function Aa(a,b,c){a.UpdateXValuesFormula(t.ReferencesToFormula(b,c),c)}function Ba(a,b,c){a.UpdateBubbleFormula(t.ReferencesToFormula(b,c),c)}function Ca(a,b,c){var d,e,f,g,h,i,j,k,l,m,n;b&&(d=b.showValue,e=b.showSeriesName,f=b.showCategoryName,g=b.showPercentage,h=b.position,i=b.format,j=b.color,k=b.transparency,l=a.DataLabels,d!==$&&(l.ShowValue=d),e!==$&&(l.ShowSeriesName=e),f!==$&&(l.ShowCategoryName=f),g!==$&&(l.ShowPercentage=g),m=l.ShowValue||l.ShowSeriesName||l.ShowCategoryName||l.ShowPercentage,!a.HasDataLabels&&m?(n=l.ShowValue,a.HasDataLabels=!0,n===!1&&(a.DataLabels.ShowValue=!1)):a.HasDataLabels&&!m&&(a.HasDataLabels=!1),T(h)||(l.Position=h),i&&(l.NumberFormat=i),j?l.Font.Color.setColor(c,j):null!==j&&""!==j||(l.Font.Color.ColorType=0),T(k)||(l.Font.Color.Transparency=k))}ia=function(){function a(a){var b=this;b._S=Z,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,b.zBb=[{max:null,min:null,num:0},{max:null,min:null,num:0},{max:null,min:null,num:0},{max:null,min:null,num:0},{max:null,min:null,num:0},{max:null,min:null,num:0}]}return a.ABb=function(a,b,c){(b||c)&&(a.HasDataLabels=!0,b&&a.DataLabels.mRa(b))},a.prototype.get=function(a){var b,c;return 0===arguments.length?(b=this.ChartView.ignoreHidden(),this.GetSers(b).map(function(a,b){return i.getSeriesProperties(a,0===b,!1,!0)})):(c=this.Get(a),c?i.getSeriesProperties(c,0===a,!1,!0):Z)},a.prototype.set=function(){var a,b,c,d=[];for(a=0;a<arguments.length;a++)d[a]=arguments[a];d&&(1===d.length?(b=d[0],this.BBb(Z,b)):(c=d[0],b=d[1],this.BBb(c,b)))},a.prototype.BBb=function(a,b){var c,d,e,f,g,h,j,k,l;if(b)if(c=this,d=c.Spa,e=c.ChartView,f=e.sheet(),T(a)){for(g=b,h=g.length,j=0;j<h;j++)k=c.Get(j),l=i.getSeriesProperties(k,0===j),c.RVa({type:"set",index:j,series:l}),ma(k,g[j],f);d.HandleElementChanged(4,c,v.Collection),f.rua(e),e.sua()}else k=c.Get(a),l=i.getSeriesProperties(k,0===a),c.RVa({type:"set",index:a,series:l}),ma(k,b,f),d.HandleElementChanged(4,c,v.Collection),f.rua(e),e.sua()},a.prototype.add=function(a){this.Cz(Z,a)},a.prototype.dataPoints=function(){var a=this.Get(0);if(a&&a.dataPoints())return a.dataPoints()},a.prototype.Cz=function(a,b,c){var d,e,f,g,h,i,j,k,l,m;if(b){if(d=this,!c&&R(d.Spa.ChartType))throw Error("Stock chart not support add / remove series.");if(e=this.ChartView,f=e.sheet(),g=b,h=g.length&&g[0]?b:[b],i=h.length,i>0){for(j=d.Ata.length,d.RVa({type:"add",index:j,count:i}),k=j,T(a)||(k=a),l=0;l<i;l++)m=new ha(d),d.Ata.splice(k,0,m),ma(m,h[l],f),Ca(m,h[l].datalabels,f),k++;d.Spa.HandleElementChanged(4,d,v.Collection)}f.rua(e),e.sua()}},a.prototype.remove=function(a){var b,c,d,e,f=this;if(R(f.Spa.ChartType))throw Error("Stock chart not support add / remove series.");b=f.Get(a),b&&(c=i.getSeriesProperties(b,0===a,!0),f.RVa({type:"remove",index:a,series:c}),d=f.ChartView,e=d.sheet(),e.rua(d),b.Delete(),d.sua())},a.prototype.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()}},a.prototype.TVa=function(a){this.RVa({type:"updateSeriesInCalc",series:a})},a.prototype.RVa=function(a){this.ChartView.RVa("series",a)},a.prototype.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))},a.prototype.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)))},a.prototype.Extend=function(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o=this.Splits(a,b);if(0!==o.length)for(d=this.Parent.Parent.sheet().Wu.useR1C1,e=c?1:0,f=o[0],h=0,i=this.Ata,j=i.length;h<j;h++)k=i[h],!T(k.ValuesRefers)&&k.ValuesRefers.length>0&&e<o.length&&(l=k.ValuesRefers.slice(0),g=o[e],e++,l.push(t.CreateReference(a.Worksheet.name(),g.Row,g.Column,g.RowCount,g.ColumnCount)),ya(k,l,d)),t.IsBubbleChart(k.InnerChartType)&&!T(k.BubbleSizesRefers)&&k.BubbleSizesRefers.length>0&&e<o.length&&(m=k.BubbleSizesRefers.slice(0),g=o[e],e++,m.push(t.CreateReference(a.Worksheet.name(),g.Row,g.Column,g.RowCount,g.ColumnCount)),Ba(k,m,d)),c&&!T(k.XValuesRefers)&&k.XValuesRefers.length>0&&(n=k.XValuesRefers.slice(0),n.push(t.CreateReference(a.Worksheet.name(),f.Row,f.Column,f.RowCount,f.ColumnCount)),Aa(k,n,d))},a.prototype.Get=function(a){return this.Item(a,Z)},a.prototype.NewSeries=function(){var a=this,b=new ha(a);return a.Ata.push(b),b},a.prototype.IndexOf=function(a){var b=a;return b.PlotVisibleOnly&&b.IsHidden?-1:this.GetValidSers().indexOf(a)},a.prototype.IndexOfSource=function(a){return this.Ata.indexOf(a)},a.prototype.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)},a.prototype.GetSers=function(a,b){return a===$&&(a=!0),a?this.Ata.filter(function(a){return!a.IsHidden&&(T(b)||a.AxisGroup===b)}):T(b)?this.Ata:this.Ata.filter(function(a){return a.AxisGroup===b})},a.prototype.GetValidSers=function(a){return this.GetSers(this.Spa.PlotVisibleOnly,a)},a.prototype.DetectRanges2=function(a,b,c,d,e,f){var g,h,i=this.DetectRanges(a,b,c,d,e,f);return t.GetDimensioin(this.Spa.ChartType)>1&&T(f.category)&&!T(f.data)&&(h=f.data,i?h.ColumnCount>1&&(f.category=new x(h.Row,h.Column,h.RowCount,1),f.data=new x(h.Row,h.Column+1,h.RowCount,h.ColumnCount-1),T(f.seriesName)||(g=f.seriesName,f.seriesName=new x(g.Row,g.Column+1,g.RowCount,g.ColumnCount-1))):f.data.RowCount>1&&(f.category=new x(h.Row,h.Column,1,h.ColumnCount),f.data=new x(h.Row+1,h.Column,h.RowCount-1,h.ColumnCount),T(f.seriesName)||(g=f.seriesName,f.seriesName=new x(g.Row+1,g.Column,h.RowCount-1,g.ColumnCount)))),i},a.prototype.GenerateSeriesStructures=function(a,b,c,d){var e,f,g,h,i=this,j=i.Spa.Parent.sheet().Apa(a[0].WorksheetName),k=new x(a[0].Row,a[0].Column,a[0].RowCount,a[0].ColumnCount),l=Z,m=Z,n=Z;return T(b)?(e={seriesName:Z,category:Z,data:Z},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,T(c)&&T(d)&&(e={seriesName:Z,category:Z,data:Z},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))),T(c)&&T(d)||(i._S===H.columns?c&&d?(l=new x(k.Row,k.Column+1,1,k.ColumnCount-1),m=new x(k.Row+1,k.Column,k.RowCount-1,1),n=new x(k.Row+1,k.Column+1,k.RowCount-1,k.ColumnCount-1)):c?(l=new x(k.Row,k.Column,1,k.ColumnCount),m=Z,n=new x(k.Row+1,k.Column,k.RowCount-1,k.ColumnCount)):d?(l=Z,m=new x(k.Row,k.Column,k.RowCount,1),n=new x(k.Row,k.Column+1,k.RowCount,k.ColumnCount-1)):(l=Z,m=Z,n=new x(k.Row,k.Column,k.RowCount,k.ColumnCount)):c&&d?(l=new x(k.Row+1,k.Column,k.RowCount-1,1),m=new x(k.Row,k.Column+1,1,k.ColumnCount-1),n=new x(k.Row+1,k.Column+1,k.RowCount-1,k.ColumnCount-1)):c?(l=new x(k.Row,k.Column,k.RowCount,1),m=Z,n=new x(k.Row,k.Column+1,k.RowCount,k.ColumnCount-1)):d?(l=Z,m=new x(k.Row,k.Column,1,k.ColumnCount),n=new x(k.Row+1,k.Column,k.RowCount-1,k.ColumnCount)):(l=Z,m=Z,n=new x(k.Row,k.Column,k.RowCount,k.ColumnCount))),i.GenerateSeriesStructures2(a,i._S,l,m,n)},a.prototype.GenerateSeriesStructures2=function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q,r,s,u,v,w,x=[];if(T(a)||0===a.length)return x;if(f=a[0].WorksheetName,g=a[0],h=T(b)?1:b,!T(e)){if(1===h)for(n=g.Column;n<g.Column+g.ColumnCount;n++)(T(d)||n<d.Column||n>=d.Column+d.ColumnCount)&&(k=new ba,T(c)||(k.Label=t.CreateReference(f,c.Row,n,c.RowCount,1)),k.Data.push(t.CreateReference(f,e.Row,n,e.RowCount,1)),T(d)||k.Categories.push(t.CreateReference(f,d.Row,d.Column,d.RowCount,d.ColumnCount)),x.push(k));else for(m=g.Row;m<g.Row+g.RowCount;m++)(T(d)||m<d.Row||m>=d.Row+d.RowCount)&&(k=new ba,T(c)||(k.Label=t.CreateReference(f,m,c.Column,1,c.ColumnCount)),k.Data.push(t.CreateReference(f,m,e.Column,1,e.ColumnCount)),T(d)||k.Categories.push(t.CreateReference(f,d.Row,d.Column,d.RowCount,d.ColumnCount)),x.push(k));if(a.length>1)if(o=this.InSameColumnRowStrip(a)){if(1===this._S){for(p=e.Column,q=e.ColumnCount,n=p;n<p+q;n++)if(T(d)||n!==d.Column){for(k=x[n-p],i=1;i<a.length;i++)for(j=a[i],m=j.Row;m<j.Row+j.RowCount;m++)k.Data.push(t.CreateReference(f,m,n,j.RowCount,1)),T(d)||k.Categories.push(t.CreateReference(f,m,d.Column,j.RowCount,1));x.push(k)}}else for(r=e.Row,s=e.RowCount,m=r;m<r+s;m++)if(T(d)||m!==d.Row){for(k=x[m-r],i=1;i<a.length;i++)for(j=a[i],n=j.Column;n<j.Column+j.ColumnCount;n++)k.Data.push(t.CreateReference(f,m,n,1,j.ColumnCount)),T(d)||k.Categories.push(t.CreateReference(f,m,d.Column,1,j.ColumnCount));x.push(k)}}else if(1===h)for(i=1;i<a.length;i++)for(j=a[i],n=j.Column;n<j.Column+j.ColumnCount;n++)k=new ba,l=c.RowCount,T(c)||(k.Label=t.CreateReference(f,j.Row,n,l,1)),k.Data.push(t.CreateReference(f,j.Row+l,n,j.RowCount-l,1)),x.push(k);else for(i=1;i<a.length;i++)for(j=a[i],m=j.Row;m<j.Row+j.RowCount;m++)k=new ba,l=c.ColumnCount,T(c)||(k.Label=t.CreateReference(f,m,j.Column,1,l)),k.Data.push(t.CreateReference(f,m,j.Column+l,1,j.ColumnCount-l)),x.push(k)}for(u=0,v=x;u<v.length;u++)w=v[u],w.RowCol=h;return x},a.prototype.InSameColumnRowStrip=function(a){var b,c,d=-1,e=-1;if(this._S===H.columns)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},a.prototype.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=Z,f.seriesName=Z,f.data=Z,d<=0||e<=0)return!1;if(h=new x(b,c,d,e),i=new x(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 x(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(m=j,l=c+e-m,0===l){for(;k<b+d&&t.IsEmptyCell(a,k,c);)k++;k===b+d?d>1?e>1?(f.category=new x(b,c+1,1,e-1),f.seriesName=new x(b+1,c,d-1,1),f.data=new x(b+1,c+1,d-1,e-1)):(f.seriesName=new x(b,c,1,1),f.data=new x(b+1,c,d-1,1)):(f.seriesName=new x(b,c,1,1),f.data=new x(b,c+1,d,e-1)):e>1?(e>1&&k-b>=1&&(f.category=new x(b,c+1,k-b,e-1)),d>1&&b+d>k&&(f.seriesName=new x(k,c,b+d-k,1)),f.data=new x(k,c+1,b+d-k,e-1)):(f.seriesName=Z,d>1&&k>b&&k<b+d&&(f.category=new x(b,c,k-b,e)),k<b+d&&k>b?f.data=new x(k,c,b+d-k,e):f.data=new x(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 x(b,m,1,l)),d>1&&e>l&&(f.seriesName=new x(b+1,c,d-1,e-l)),f.data=new x(b+1,m,d-1,l)):(f.seriesName=new x(b,c,d,m-c),f.data=new x(b,m,d,l)):(e>1&&k-b>=1&&(f.category=new x(b,m,k-b,l)),d>1&&b+d>k&&e>l&&(f.seriesName=new x(k,c,b+d-k,e-l)),f.data=new x(k,m,b+d-k,l))}}else if(n=c+e-1,o=b+d-1,e>1&&d>1){for(j=n,l=0;j>=c&&t.IsNumericData(a.mua(o,j));)l++,j--;if(p=0===l,p&&(l=1,j--),q=void 0,e>1){if(m=j+1,j=o-1,q=1,!p)for(;j>=b&&t.IsNumericData(a.mua(j,n));)q++,j--;l>0&&m>=c&&j+1>b&&(f.category=new x(b,m,j+1-b,l)),q>0&&m>c&&(f.seriesName=new x(j+1,c,q,m-c)),f.data=new x(j+1,m,q,l)}}else if(d>1)if(t.IsNumericData(a.mua(b,c)))f.data=new x(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 x(j+1,c,o-j,e),j>=b&&(f.seriesName=new x(b,c,j-b+1,e))}else if(t.IsNumericData(a.mua(b,c)))f.data=new x(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 x(b,j+1,d,n-j),j>=c&&(f.seriesName=new x(b,c,d,j-c+1))}if(!T(f.data)&&f.data.RowCount>f.data.ColumnCount&&f.data.RowCount>1&&(f.data.ColumnCount>1||1===f.data.ColumnCount&&(!T(f.seriesName)||!T(f.category))))return r=!1,T(f.seriesName)?T(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(!T(f.data)){if(1===f.data.RowCount)return!1;if(1===f.data.ColumnCount)return!0}return!T(f.seriesName)&&f.seriesName.Column===f.data.Column||!T(f.category)&&f.category.Row===f.data.Row},a.prototype.TrimCellRect=function(a,b,c,d,e){var f,g,h,i,j,k,l=b,m=c,n=d,o=e,p=a.getRowCount(),q=a.getColumnCount();if(0!==p&&0!==q){if(b===-1||0===b&&d===p){k=c===-1,k&&(c=0,e=q),b=0,d=p,f=!0;do{for(i=c+e,h=c;h<i;h++)if(!this.IsEmptyCell(a,b,h)){f=!1;break}if(f&&(b++,d--,0===d))return new x(l,m,n,o)}while(f);g=b+d-1,f=!0;do{for(i=c+e,h=c;h<i;h++)if(!this.IsEmptyCell(a,g,h)){f=!1;break}if(f&&(d--,g--,0===d))return new x(l,m,n,o)}while(f);k&&(c=-1)}if(c===-1||0===c&&e===q){c=0,e=q,f=!0;do{for(j=b+d,g=b;g<j;g++)if(!this.IsEmptyCell(a,g,c)){f=!1;break}if(f&&(c++,e--,0===e))return new x(l,m,n,o)}while(f);h=c+e-1,f=!0;do{for(j=b+d,g=b;g<j;g++)if(!this.IsEmptyCell(a,g,h)){f=!1;break}if(f&&(e--,h--,0===e))return new x(l,m,n,o)}while(f)}return new x(b,c,d,e)}},a.prototype.IsNumericData=function(a){if(a instanceof Date)return!1;if(T(a))return!0;if("number"==typeof a)return!0;var b=""+a;return 0===b.length||!isNaN(a)&&isFinite(a)},a.prototype.IsEmptyCell=function(a,b,c){var d=a.mua(b,c);return!(!T(d)&&(""+d).length>0)},a.prototype.UpdateValuesMaxMin=function(a){a===E.primary?this.UpdatePrimaryValuesMaxMin():this.UpdateSecondaryValuesMaxMin()},a.prototype.UpdateXValuesMaxMin=function(a){a===E.primary?this.UpdatePrimaryXValuesMaxMin():this.UpdateSecondaryXValuesMaxMin()},a.prototype.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 Z},a.prototype.GetSerieValues=function(a,b){var c=this,d=c.GetValidSers(a),e=[];return d.forEach(function(a){var c=b(a);c&&(e.push(c.Min),e.push(c.Max))}),e},a.prototype.UpdatePrimaryValuesMaxMin=function(){var a=this.GetSerieValues(0,function(a){return a.ValuesMinMax}),b=this.GetSerieValues(0,function(a){return a.GetErrorBarsValuesMinMax(t.IsBarChart(a.ChartType)?0:1)});this.PrimaryValuesMinMax=aa.getMinMaxValues(a.concat(b))},a.prototype.UpdateSecondaryValuesMaxMin=function(){var a=this.GetSerieValues(1,function(a){return a.ValuesMinMax}),b=this.GetSerieValues(1,function(a){return a.GetErrorBarsValuesMinMax(t.IsBarChart(a.ChartType)?0:1)});this.SecondaryValuesMinMax=aa.getMinMaxValues(a.concat(b))},a.prototype.UpdatePrimaryXValuesMaxMin=function(){var a=this.GetSerieValues(0,function(a){return a.XValuesMinMax}),b=this.GetSerieValues(0,function(a){return a.GetErrorBarsValuesMinMax(0)});this.PrimaryXValuesMinMax=aa.getMinMaxValues(a.concat(b))},a.prototype.UpdateSecondaryXValuesMaxMin=function(){var a=this.GetSerieValues(1,function(a){return a.XValuesMinMax}),b=this.GetSerieValues(1,function(a){return a.GetErrorBarsValuesMinMax(0)});this.SecondaryXValuesMinMax=aa.getMinMaxValues(a.concat(b))},a.prototype.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,!T(e)&&e.length>f&&(f=e.length);return f},a.prototype.nRa=function(b){var c,d,e,f;if(b)for(c=this.Ata,d=c.length,e=b.count,f=0;f<d;f++)a.ABb(c[f],b[f],f>=e)},a.prototype.AddSers=function(a,b,c){var d,e=this,f=e.Parent.Parent.sheet().Wu.useR1C1;if(e.Spa.SuspendElementChanged(),d=e.Parent.ChartType,t.IsBubbleChart(d))e.AddSersForBubble(a,f);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,Z,f)}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,f)}else 57===d||58===d?e.AddSersForSunburstOrTreeMap(a,d,f):e.AddSersDefault(a,Z,Z,c,f);e.nRa(b),e.Spa.ResumeElementChanged(4,e,v.Collection)},a.prototype.AddSersDefault=function(a,b,c,d,e){var f,g,h,i=d&&d.length,j=i&&d.slice(-1)[0];for(f=0;f<a.length;f++)g=a[f],h=new ha(this,i?d[f]||j:b,c),this.Ata.push(h),T(g.Label)?h.UpdateNameFormula(Z,e):za(h,[g.Label],e),Aa(h,g.Categories,e),ya(h,g.Data,e)},a.prototype.AddSersForBubble=function(a,b){var c,d,e,f;for(c=0;c<a.length;c+=2)d=a[c],e=a[c+1],f=new ha(this),this.Ata.push(f),T(d.Label)?f.UpdateNameFormula(Z,b):za(f,[d.Label],b),Aa(f,d.Categories,b),ya(f,d.Data,b),T(e)||Ba(f,e.Data,b)},a.prototype.AddSersForStock=function(a,b,c){var d,e,f;for(b===$&&(b=Z),d=0;d<a.length;d++)e=a[d],f=new ha(this,9,b),this.Ata.push(f),T(e.Label)?f.UpdateNameFormula(Z,c):za(f,[e.Label],c),Aa(f,e.Categories,c),ya(f,e.Data,c)},a.prototype.AddSersForVolumeStock=function(a,b){var c,d=a.filter(function(a,b){return 0===b});this.AddSersDefault(d,12,Z,Z,b),c=a.filter(function(a,b){return b>0}),this.AddSersForStock(c,1,b)},a.prototype.AddSersForSunburstOrTreeMap=function(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o=this,p=a.length,r=o._S,s=o.ChartView,u=s.sheet();if(p>0){for(d=V(u,t.ReferencesToFormula(a[p-1].Categories,c)),e=[],f=!1,g=0;g<p;g++)h=V(u,t.ReferencesToFormula(a[g].Data,c)),f===!0||t.AreValuesAllNum(u,h.range)?(f=!0,e.push(a[g])):W(d,h,!!r)&&(1===r?d.range.colCount++:d.range.rowCount++);for(i=d.range,j=Z,L(i)||(j=new q(u.name(),i.row,i.col,i.row+i.rowCount-1,i.col+i.colCount-1),j=1===u.parent.options.referenceStyle?j.ToR1C1Text():j.ToA1Text(0,0)),k=0;k<e.length;k++)l=e[k],m=new ha(this,b),this.Ata.push(m),n=l.Label,n=n&&[n],za(m,n,c),m.UpdateXValuesFormula(j),ya(m,l.Data,c)}},a.prototype.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,v.Collection)},a.prototype.UpdatePlotOrders=function(a){var b,c,d;for(b=0,c=this.Ata;b<c.length;b++)d=c[b],d.UpdateOrder(a)},a.prototype.Splits=function(a,b){var c,d,e=[];if(1===b)for(c=0;c<a.ColumnCount;c++)e.push(t.CreateReference(a.Worksheet.name(),a.Row,c+a.Column,a.RowCount,1));else for(d=0;d<a.RowCount;d++)e.push(t.CreateReference(a.Worksheet.name(),d+a.Row,a.Column,1,a.ColumnCount));return e},a.prototype.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},a.prototype.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=t.GetDimensioin(e.InnerChartType),1===f&&e.SetXValuesInternal(b))},a.prototype.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=t.GetDimensioin(e.InnerChartType),1===f&&e.UpdateXValuesFormula(b))},a.prototype.RestoreSeries=function(a){var b,c,d,e,f,g,h,i,j,k,l=this;if(l.Spa.SuspendElementChanged(),l.Ata=[],b=t.GetPrimaryAxises(a),c=[],e=t.GetPieCharts(a),f=t.GetPrimaryPieChart(e),g=l.Spa.PlotVisibleOnly,a.chartGroups)for(h=0,i=a.chartGroups;h<i.length;h++)for(d=l.RestoreSeriesImp(i[h],f,g,b),j=0;j<d.length;j++)c.push(d[j]);else c=l.Restore2016ChartSeriesImp(a,g);for(k=0;k<c.length;k++)l.Ata.push(c[k]);l.Spa.ResumeElementChanged(4,l,v.Restore)},a.prototype.Restore2016ChartSeriesImp=function(a,b){var c,d,e,f,g,h,i=this,j=[],k=0;for(f=0,g=a.plotAreaRegion.series;f<g.length;f++)h=g[f],h.defaultColors=this.Spa.$kb,d=t.GetChartTypeBy2016InnerChartType(h.layoutId),k=55===d?1:0,c=new ha(i,d,k),c.PlotVisibleOnly=b,j.push(c),0===f?e=h:!h.cat&&e&&e.cat&&(h.cat=e.cat),c.FromOOModel(h);return j},a.prototype.RestoreSeriesImp=function(a,b,c,d){var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,u,v,w=a,x=w.chartType,y=this,z=[];if([10,11,12,13].indexOf(x)>=0)for(h=w,i=0,j=h.ser;i<j.length;i++)k=j[i],f=t.GetChartTypeByPieChart(h),e=new ha(y,f,h===b?0:1),e.PlotVisibleOnly=c,z.push(e),e.FromOOModel(k);else if(0===x)for(l=w,g=d.axisGroup?d.axisGroup:d.indexOf(l.axId[0])>=0?0:1,m=0,n=l.ser;m<n.length;m++)o=n[m],e=new ha(y,9,g),e.PlotVisibleOnly=c,z.push(e),e.FromOOModel(o);else if(g=d.axisGroup?d.axisGroup:d.indexOf(w.axId[0])>=0?0:1,p=void 0,w.ser)for(q=0,r=w.ser;q<r.length;q++)s=r[q],u=s.idx,f=t.GetChartTypeByChartBase(w,s),e=new ha(y,f,g),e.PlotVisibleOnly=c,z.push(e),0===q?p=s:!s.cat&&p&&p.cat&&(s.cat=p.cat),!T(u)&&this.zBb&&(v=this.zBb[u%6],T(v.max)?v.max=u:v.max=Math.max(v.max,u),T(v.min)?v.min=u:v.min=Math.min(v.min,u),v.num=v.num+1),e.FromOOModel(s);return z},a.prototype.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)},a.prototype.SetSourceData=function(a,b){this.Ata.length=0,this.AddInteral(a,b,Z,Z)},a.prototype.AddInteral=function(a,b,c,d,e,f){var g,h=t.RangeToReferences(a);if(h.length>0){if(g=this.GenerateSeriesStructures(h,b,c,d),t.IsStockChart(this.Parent.ChartType)&&!t.AreValuesDateTime(this.ChartView.sheet(),g[0].Categories))throw Error("The xValues of stock chart should be date.");this.AddSers(g,e,f)}},a.prototype.GetAllSeriesInternal=function(){return this.Ata},a.prototype.GetTrendlineNameIsCustomOrNotInternal=function(a,b){var c,d=this.Ata[a];return T(d)||(c=d.Trendlines.Jta[b],T(c))?Z:c.ldc},Object.defineProperty(a.prototype,"Parent",{get:function(){return this.Spa},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"ChartView",{get:function(){return this.Spa.Parent},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"Count",{get:function(){return this.GetValidSers().length},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"PrimaryValuesMinMax",{get:function(){return this.nua},set:function(a){var b=this;a!==b.nua&&(b.nua=a,b.Spa.HandleElementChanged(4,b,v.PrimaryValuesMinMax))},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"SecondaryValuesMinMax",{get:function(){return this.oua},set:function(a){var b=this;a!==b.oua&&(b.oua=a,b.Spa.HandleElementChanged(4,b,v.SecondaryValuesMinMax))},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"PrimaryXValuesMinMax",{get:function(){return this.pua},set:function(a){var b=this;a!==b.pua&&(b.pua=a,b.Spa.HandleElementChanged(4,b,v.PrimaryXValuesMinMax))},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"SecondaryXValuesMinMax",{get:function(){return this.qua},set:function(a){var b=this;a!==b.qua&&(b.qua=a,b.Spa.HandleElementChanged(4,b,v.SecondaryXValuesMinMax))},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"AllSers",{get:function(){return this.Ata},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"RowCol",{get:function(){return T(this._S)?1:this._S},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"HasErrorBars",{get:function(){var a,b=this;for(a=0;a<b.Ata.length;a++)if(b.Ata[a].HasErrorBars)return!0;return!1},enumerable:!0,configurable:!0}),a}(),b.SeriesCollection=ia},"./node_modules/process/browser.js":function(a,b){var c,d,e,f,g,h,i=a.exports={};function j(){throw Error("setTimeout has not been defined")}function k(){throw Error("clearTimeout has not been defined")}!function(){try{c="function"==typeof setTimeout?setTimeout:j}catch(a){c=j}try{d="function"==typeof clearTimeout?clearTimeout:k}catch(a){d=k}}();function l(a){if(c===setTimeout)return setTimeout(a,0);if((c===j||!c)&&setTimeout)return c=setTimeout,setTimeout(a,0);try{return c(a,0)}catch(b){try{return c.call(null,a,0)}catch(b){return c.call(this,a,0)}}}function m(a){if(d===clearTimeout)return clearTimeout(a);if((d===k||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(a);try{return d(a)}catch(b){try{return d.call(null,a)}catch(b){return d.call(this,a)}}}e=[],f=!1,h=-1;function n(){f&&g&&(f=!1,g.length?e=g.concat(e):h=-1,e.length&&o())}function o(){var a,b;if(!f){for(a=l(n),f=!0,b=e.length;b;){for(g=e,e=[];++h<b;)g&&g[h].run();h=-1,b=e.length}g=null,f=!1,m(a)}}i.nextTick=function(a){var b,c=Array(arguments.length-1);if(arguments.length>1)for(b=1;b<arguments.length;b++)c[b-1]=arguments[b];e.push(new p(a,c)),1!==e.length||f||l(o)};function p(a,b){this.fun=a,this.array=b}p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={};function q(){}i.on=q,i.addListener=q,i.once=q,i.off=q,i.removeListener=q,i.removeAllListeners=q,i.emit=q,i.prependListener=q,i.prependOnceListener=q,i.listeners=function(a){return[]},i.binding=function(a){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(a){throw Error("process.chdir is not supported")},i.umask=function(){return 0}},"./node_modules/util/node_modules/inherits/inherits_browser.js":function(a,b){"function"==typeof Object.create?a.exports=function a(b,c){b.super_=c,b.prototype=Object.create(c.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}})}:a.exports=function a(b,c){b.super_=c;var d=function(){};d.prototype=c.prototype,b.prototype=new d,b.prototype.constructor=b}},"./node_modules/util/support/isBufferBrowser.js":function(a,b){a.exports=function a(b){return b&&"object"==typeof b&&"function"==typeof b.copy&&"function"==typeof b.fill&&"function"==typeof b.readUInt8}},"./node_modules/util/util.js":function(a,b,c){(function(a){var d,e,f,g,h=Object.getOwnPropertyDescriptors||function a(b){var c,d=Object.keys(b),e={};for(c=0;c<d.length;c++)e[d[c]]=Object.getOwnPropertyDescriptor(b,d[c]);return e},i=/%[sdj%]/g;b.format=function(a){var b,c,d,e,f,g;if(!y(a)){for(b=[],c=0;c<arguments.length;c++)b.push(j(arguments[c]));return b.join(" ")}for(c=1,d=arguments,e=d.length,f=(a+"").replace(i,function(a){if("%%"===a)return"%";if(c>=e)return a;switch(a){case"%s":return d[c++]+"";case"%d":return+d[c++];case"%j":try{return JSON.stringify(d[c++])}catch(a){return"[Circular]"}default:return a}}),g=d[c];c<e;g=d[++c])f+=v(g)||!C(g)?" "+g:" "+j(g);return f},b.deprecate=function(c,d){if(void 0!==a&&a.noDeprecation===!0)return c;if(void 0===a)return function(){return b.deprecate(c,d).apply(this,arguments)};var e=!1;function f(){if(!e){if(a.throwDeprecation)throw Error(d);a.traceDeprecation?console.trace(d):console.error(d),e=!0}return c.apply(this,arguments)}return f},d={},b.debuglog=function(c){if(A(e)&&(e=a.env.NODE_DEBUG||""),c=c.toUpperCase(),!d[c])if(RegExp("\\b"+c+"\\b","i").test(e)){var f=a.pid;d[c]=function(){var a=b.format.apply(b,arguments);console.error("%s %d: %s",c,f,a)}}else d[c]=function(){};return d[c]};function j(a,c){var d={seen:[],stylize:l};return arguments.length>=3&&(d.depth=arguments[2]),arguments.length>=4&&(d.colors=arguments[3]),u(c)?d.showHidden=c:c&&b.Ia(d,c),A(d.showHidden)&&(d.showHidden=!1),A(d.depth)&&(d.depth=2),A(d.colors)&&(d.colors=!1),A(d.customInspect)&&(d.customInspect=!0),d.colors&&(d.stylize=k),n(d,a,d.depth)}b.inspect=j,j.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},j.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function k(a,b){var c=j.styles[b];return c?"\x1b["+j.colors[c][0]+"m"+a+"\x1b["+j.colors[c][1]+"m":a}function l(a,b){return a}function m(a){var b={};return a.forEach(function(a,c){b[a]=!0}),b}function n(a,c,d){var e,f,g,h,i,j,k,l,u,v;if(a.customInspect&&c&&F(c.inspect)&&c.inspect!==b.inspect&&(!c.constructor||c.constructor.prototype!==c))return e=c.inspect(d,a),y(e)||(e=n(a,e,d)),e;if(f=o(a,c))return f;if(g=Object.keys(c),h=m(g),a.showHidden&&(g=Object.getOwnPropertyNames(c)),E(c)&&(g.indexOf("message")>=0||g.indexOf("description")>=0))return p(c);if(0===g.length){if(F(c))return i=c.name?": "+c.name:"",a.stylize("[Function"+i+"]","special");if(B(c))return a.stylize(RegExp.prototype.toString.call(c),"regexp");if(D(c))return a.stylize(Date.prototype.toString.call(c),"date");if(E(c))return p(c)}return j="",k=!1,l=["{","}"],t(c)&&(k=!0,l=["[","]"]),F(c)&&(u=c.name?": "+c.name:"",j=" [Function"+u+"]"),B(c)&&(j=" "+RegExp.prototype.toString.call(c)),D(c)&&(j=" "+Date.prototype.toUTCString.call(c)),E(c)&&(j=" "+p(c)),0!==g.length||k&&0!=c.length?d<0?B(c)?a.stylize(RegExp.prototype.toString.call(c),"regexp"):a.stylize("[Object]","special"):(a.seen.push(c),v=k?q(a,c,d,h,g):g.map(function(b){return r(a,c,d,h,b,k)}),a.seen.pop(),s(v,j,l)):l[0]+j+l[1]}function o(a,b){if(A(b))return a.stylize("undefined","undefined");if(y(b)){var c="'"+JSON.stringify(b).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return a.stylize(c,"string")}return x(b)?a.stylize(""+b,"number"):u(b)?a.stylize(""+b,"boolean"):v(b)?a.stylize("null","null"):void 0}function p(a){return"["+Error.prototype.toString.call(a)+"]"}function q(a,b,c,d,e){var f,g,h=[];for(f=0,g=b.length;f<g;++f)K(b,f+"")?h.push(r(a,b,c,d,f+"",!0)):h.push("");return e.forEach(function(e){e.match(/^\d+$/)||h.push(r(a,b,c,d,e,!0))}),h}function r(a,b,c,d,e,f){var g,h,i;if(i=Object.getOwnPropertyDescriptor(b,e)||{value:b[e]},i.get?h=i.set?a.stylize("[Getter/Setter]","special"):a.stylize("[Getter]","special"):i.set&&(h=a.stylize("[Setter]","special")),K(d,e)||(g="["+e+"]"),h||(a.seen.indexOf(i.value)<0?(h=v(c)?n(a,i.value,null):n(a,i.value,c-1),h.indexOf("\n")>-1&&(h=f?h.split("\n").map(function(a){return" "+a}).join("\n").substr(2):"\n"+h.split("\n").map(function(a){return" "+a}).join("\n"))):h=a.stylize("[Circular]","special")),A(g)){if(f&&e.match(/^\d+$/))return h;g=JSON.stringify(""+e),g.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(g=g.substr(1,g.length-2),g=a.stylize(g,"name")):(g=g.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),g=a.stylize(g,"string"))}return g+": "+h}function s(a,b,c){var d=0,e=a.reduce(function(a,b){return d++,b.indexOf("\n")>=0&&d++,a+b.replace(/\u001b\[\d\d?m/g,"").length+1},0);return e>60?c[0]+(""===b?"":b+"\n ")+" "+a.join(",\n ")+" "+c[1]:c[0]+b+" "+a.join(", ")+" "+c[1]}function t(a){return Array.isArray(a)}b.isArray=t;function u(a){return"boolean"==typeof a}b.isBoolean=u;function v(a){return null===a}b.isNull=v;function w(a){return null==a}b.isNullOrUndefined=w;function x(a){return"number"==typeof a}b.isNumber=x;function y(a){return"string"==typeof a}b.isString=y;function z(a){return"symbol"==typeof a}b.isSymbol=z;function A(a){return void 0===a}b.isUndefined=A;function B(a){return C(a)&&"[object RegExp]"===H(a)}b.isRegExp=B;function C(a){return"object"==typeof a&&null!==a}b.isObject=C;function D(a){return C(a)&&"[object Date]"===H(a)}b.isDate=D;function E(a){return C(a)&&("[object Error]"===H(a)||a instanceof Error)}b.isError=E;function F(a){return"function"==typeof a}b.isFunction=F;function G(a){return null===a||"boolean"==typeof a||"number"==typeof a||"string"==typeof a||"symbol"==typeof a||void 0===a}b.isPrimitive=G,b.isBuffer=c("./node_modules/util/support/isBufferBrowser.js");function H(a){return Object.prototype.toString.call(a)}function I(a){return a<10?"0"+a.toString(10):a.toString(10)}f=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function J(){var a=new Date,b=[I(a.getHours()),I(a.getMinutes()),I(a.getSeconds())].join(":");return[a.getDate(),f[a.getMonth()],b].join(" ")}b.log=function(){console.log("%s - %s",J(),b.format.apply(b,arguments))},b.inherits=c("./node_modules/util/node_modules/inherits/inherits_browser.js"),b.Ia=function(a,b){var c,d;if(!b||!C(b))return a;for(c=Object.keys(b),d=c.length;d--;)a[c[d]]=b[c[d]];return a};function K(a,b){return Object.prototype.hasOwnProperty.call(a,b)}g="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0,b.promisify=function a(b){if("function"!=typeof b)throw new TypeError('The "original" argument must be of type Function');if(g&&b[g]){var c=b[g];if("function"!=typeof c)throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(c,g,{value:c,enumerable:!1,writable:!1,configurable:!0}),c}function c(){var a,c,d,e=new Promise(function(b,d){a=b,c=d}),f=[];for(d=0;d<arguments.length;d++)f.push(arguments[d]);f.push(function(b,d){b?c(b):a(d)});try{b.apply(this,f)}catch(a){c(a)}return e}return Object.setPrototypeOf(c,Object.getPrototypeOf(b)),g&&Object.defineProperty(c,g,{value:c,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(c,h(b))},b.promisify.custom=g;function L(a,b){if(!a){var c=Error("Promise was rejected with a falsy value");c.reason=a,a=c}return b(a)}function M(b){if("function"!=typeof b)throw new TypeError('The "original" argument must be of type Function');function c(){var c,d,e,f,g=[];for(c=0;c<arguments.length;c++)g.push(arguments[c]);if(d=g.pop(),"function"!=typeof d)throw new TypeError("The last argument must be of type Function");e=this,f=function(){return d.apply(e,arguments)},b.apply(this,g).then(function(b){a.nextTick(f,null,b)},function(b){a.nextTick(L,b,f)})}return Object.setPrototypeOf(c,Object.getPrototypeOf(b)),Object.defineProperties(c,h(b)),c}b.callbackify=M}).call(this,c("./node_modules/process/browser.js"))},CalcEngine:function(a,b){a.exports=GC.Spread.CalcEngine},Common:function(a,b){a.exports=GC.Spread},Core:function(a,b){a.exports=GC.Spread.Sheets},FloatingObject:function(a,b){a.exports=GC.Spread.Sheets.FloatingObjects},FormulaTextBox:function(a,b){a.exports=GC.Spread.Sheets.FormulaTextBox},SheetsCalc:function(a,b){a.exports=GC.Spread.Sheets.CalcEngine}})});
|