igniteui-webcomponents-spreadsheet-chart-adapter 7.1.0-alpha.0 → 7.1.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -927,21 +927,21 @@
927
927
  }
928
928
  var h = igniteuiWebcomponentsCore.Enumerable.af(igniteuiWebcomponentsCharts.NumericAxisBase.$, igniteuiWebcomponentsCore.Enumerable.l(igniteuiWebcomponentsCharts.NumericAxisBase.$, igniteuiWebcomponentsCore.Enumerable.u(igniteuiWebcomponentsCharts.Axis.$, g.axes, function (i) { return igniteuiWebcomponentsCore.stringContains(i.name, "Primary"); })));
929
929
  var i = igniteuiWebcomponentsCore.Enumerable.af(igniteuiWebcomponentsCharts.NumericAxisBase.$, igniteuiWebcomponentsCore.Enumerable.l(igniteuiWebcomponentsCharts.NumericAxisBase.$, igniteuiWebcomponentsCore.Enumerable.u(igniteuiWebcomponentsCharts.Axis.$, g.axes, function (j) { return igniteuiWebcomponentsCore.stringContains(j.name, "Secondary"); })));
930
- if (h != null && i != null && h.qu != 0 && i.qu != 0) {
931
- var j = h.qw;
932
- var k = h.qv;
933
- var l = h.qu;
930
+ if (h != null && i != null && h.qw != 0 && i.qw != 0) {
931
+ var j = h.qy;
932
+ var k = h.qx;
933
+ var l = h.qw;
934
934
  var m = l / (k - j);
935
- var n = i.qw;
936
- var o = i.qv;
937
- var p = i.qu;
935
+ var n = i.qy;
936
+ var o = i.qx;
937
+ var p = i.qw;
938
938
  p = m * (o - n);
939
939
  var q = d(p, false);
940
940
  var r = (o - n) * q / p;
941
941
  o = n + r;
942
- i.q9 = n;
943
- i.q5 = p;
944
- i.q8 = o;
942
+ i.rb = n;
943
+ i.q7 = p;
944
+ i.ra = o;
945
945
  }
946
946
  }));
947
947
  };
@@ -4,4 +4,4 @@
4
4
  https://www.infragistics.com/legal/license/igultimate-eula
5
5
  GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
6
6
  */
7
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("igniteui-webcomponents-spreadsheet"),require("igniteui-webcomponents-core"),require("igniteui-webcomponents-charts"),require("tslib"),require("igniteui-webcomponents-excel")):"function"==typeof define&&define.amd?define(["exports","igniteui-webcomponents-spreadsheet","igniteui-webcomponents-core","igniteui-webcomponents-charts","tslib","igniteui-webcomponents-excel"],t):t((e=e||self)["igniteui-webcomponents-spreadsheet-chart-adapter"]={},e.igniteuiWebcomponentsSpreadsheet,e.igniteuiWebcomponentsCore,e.igniteuiWebcomponentsCharts,e.tslib,e.igniteuiWebcomponentsExcel)}(this,(function(e,t,r,i,a,n){"use strict";var s=function(){return function(){this.Error_CannotDetermineSeriesForChartType="Cannot determine Series for Chart type '{0}'.",this.Error_ChartTypeNotSupportedForRendering="Chart type '{0}' is not currently supported for rendering.",this.Error_ErrorSettingAxesForSeries="Exception while setting axes for Series type '{0}'.",this.Error_InvalidAxesCountOrTypeForChartType="Invalid Excel Axes Count/Types for chart type: '{0}'.",this.Error_UnsupportedSeriesType="Unsupported series type '{0}'."}}(),o=function(){function e(){}return e.register=function(){t.IgcSpreadsheetModule.register(),i.IgcDataChartCoreModule.register(),i.IgcPieChartModule.register(),i.IgcLineSeriesModule.register(),i.IgcAreaSeriesModule.register(),i.IgcColumnSeriesModule.register(),i.IgcBarSeriesModule.register(),i.IgcSplineSeriesModule.register(),i.IgcSplineAreaSeriesModule.register(),i.IgcStepLineSeriesModule.register(),i.IgcStepAreaSeriesModule.register(),i.IgcPointSeriesModule.register(),i.IgcWaterfallSeriesModule.register(),i.IgcCrosshairLayerModule.register(),i.IgcCalloutLayerModule.register(),i.IgcItemToolTipLayerModule.register(),i.IgcCategoryToolTipLayerModule.register(),i.IgcCategoryHighlightLayerModule.register(),i.IgcCategoryItemHighlightLayerModule.register(),i.IgcFinalValueLayerModule.register(),i.IgcNumberAbbreviatorModule.register(),i.IgcDataChartInteractivityModule.register(),i.IgcDataChartCategoryTrendLineModule.register(),i.IgcDataChartAnnotationModule.register(),i.IgcDoughnutChartModule.register(),i.IgcCategoryXAxisModule.register(),i.IgcNumericYAxisModule.register(),i.IgcCategoryDateTimeXAxisModule.register(),i.IgcTimeXAxisModule.register(),i.IgcOrdinalTimeXAxisModule.register(),i.IgcNumericRadiusAxisModule.register(),i.IgcNumericAngleAxisModule.register(),i.IgcCategoryAngleAxisModule.register(),i.IgcCategoryYAxisModule.register(),i.IgcNumericXAxisModule.register(),i.IgcRadialColumnSeriesModule.register(),i.IgcRadialPieSeriesModule.register(),i.IgcRadialLineSeriesModule.register(),i.IgcRadialAreaSeriesModule.register(),i.IgcPolarLineSeriesModule.register(),i.IgcPolarSplineSeriesModule.register(),i.IgcPolarAreaSeriesModule.register(),i.IgcPolarSplineAreaSeriesModule.register(),i.IgcPolarScatterSeriesModule.register(),i.IgcRangeAreaSeriesModule.register(),i.IgcRangeColumnSeriesModule.register(),i.IgcPercentChangeYAxisModule.register(),i.IgcFinancialPriceSeriesModule.register(),i.IgcIndicatorsModule.register(),i.IgcOverlaysModule.register(),i.IgcZoomSliderModule.register(),i.IgcFinancialLegendModule.register(),i.IgcLegendModule.register(),i.IgcItemLegendModule.register(),i.IgcScatterSeriesModule.register(),i.IgcScatterLineSeriesModule.register(),i.IgcScatterSplineSeriesModule.register(),i.IgcBubbleSeriesModule.register(),i.IgcStackedAreaSeriesModule.register(),i.IgcStackedBarSeriesModule.register(),i.IgcStackedColumnSeriesModule.register(),i.IgcStackedLineSeriesModule.register(),i.IgcStacked100AreaSeriesModule.register(),i.IgcStacked100BarSeriesModule.register(),i.IgcStacked100ColumnSeriesModule.register(),i.IgcStacked100LineSeriesModule.register(),i.IgcStackedFragmentSeriesModule.register(),i.IgcAreaFragmentModule.register(),i.IgcRingSeriesModule.register(),i.IgcColumnFragmentModule.register(),i.IgcLineFragmentModule.register(),i.IgcSplineFragmentModule.register(),i.IgcSplineAreaFragmentModule.register(),i.IgcBarFragmentModule.register(),r.Localization.register("spreadsheetchartadapter",new s)},e}(),l=function(){return function(){this.Error_CannotDetermineSeriesForChartType="Не могат да бъдат определени Series за Chart типа '{0}'.",this.Error_ChartTypeNotSupportedForRendering="Не се поддържа рендериране за Chart типа '{0}'.",this.Error_ErrorSettingAxesForSeries="Грешка при задаването на осите на типа Series '{0}'.",this.Error_InvalidAxesCountOrTypeForChartType="Невалиден брой оси/типове за тип диаграма: '{0}'.",this.Error_UnsupportedSeriesType="Неподдържан тип на сериите: '{0}'.",this.LIT_DefaultChartTitle="Име на диаграмата"}}(),u=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-bg",new l)},e}(),c=function(){return function(){this.Error_CannotDetermineSeriesForChartType="Pro typ grafu '{0}' nelze určit řadu.",this.Error_ChartTypeNotSupportedForRendering="Typ grafu '{0}' není momentálně pro vykreslování podporován.",this.Error_ErrorSettingAxesForSeries="Výjimka při nastavování os pro typ série '{0}'.",this.Error_InvalidAxesCountOrTypeForChartType="Neplatný počet / typy os Excel pro typ grafu: '{0}'.",this.Error_UnsupportedSeriesType="Nepodporovaný typ série '{0}'."}}(),h=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-cs",new c)},e}(),p=function(){return function(){this.Error_CannotDetermineSeriesForChartType="Kan ikke bestemme serien for diagramtypen '{0}'.",this.Error_ChartTypeNotSupportedForRendering="Diagramtypen '{0}' understøttes i øjeblikket ikke til gengivelse.",this.Error_ErrorSettingAxesForSeries="Undtagelse ved indstilling af akser til serietype '{0}'.",this.Error_InvalidAxesCountOrTypeForChartType="Ugyldigt antal/type af Excel-akser for diagramtype: '{0}'.",this.Error_UnsupportedSeriesType="Ikke-understøttet serietype '{0}'."}}(),d=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-da",new p)},e}(),f=function(){return function(){this.Error_CannotDetermineSeriesForChartType="Serie für Diagrammtyp '{0}‘ kann nicht bestimmt werden.",this.Error_ChartTypeNotSupportedForRendering="Diagrammtyp '{0}' wird derzeit nicht für das Rendern unterstützt.",this.Error_ErrorSettingAxesForSeries="Ausnahme beim Einstellen der Achsen für Reihentyp '{0}'.",this.Error_InvalidAxesCountOrTypeForChartType="Ungültige Excel-Achsenanzahl/Typen für Diagrammtyp: '{0}'.",this.Error_UnsupportedSeriesType="Nicht unterstützter Reihentyp '{0}'."}}(),g=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-de",new f)},e}(),y=function(){return function(){this.Error_CannotDetermineSeriesForChartType="No se puede determinar la serie para el tipo de gráfico '{0}'.",this.Error_ChartTypeNotSupportedForRendering="El tipo de gráfico '{0}' no es compatible actualmente para la representación.",this.Error_ErrorSettingAxesForSeries="Excepción al establecer los ejes para el tipo de serie '{0}'.",this.Error_InvalidAxesCountOrTypeForChartType="Recuento/tipos de ejes de Excel no válidos para el tipo de gráfico: '{0}'.",this.Error_UnsupportedSeriesType="Tipo de serie '{0}' no compatible."}}(),m=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-es",new y)},e}(),b=function(){return function(){this.Error_CannotDetermineSeriesForChartType="Impossible de déterminer une série pour le type de graphique '{0}'.",this.Error_ChartTypeNotSupportedForRendering="Le type de graphique '{0}’ n’est actuellement pas pris en charge pour l’affichage.",this.Error_ErrorSettingAxesForSeries="Exception lors du réglage des axes pour le type de série '{0}'.",this.Error_InvalidAxesCountOrTypeForChartType="Nombre/types d’axes Excel non valides pour le type de graphique : '{0}'.",this.Error_UnsupportedSeriesType="Type de série non pris en charge '{0}'."}}(),S=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-fr",new b)},e}(),v=function(){return function(){this.Error_CannotDetermineSeriesForChartType="Nem lehet meghatározni a(z) '{0}' diagramtípus adatsorát.",this.Error_ChartTypeNotSupportedForRendering="A(z) '{0}' diagramtípus megjelenítése jelenleg nem támogatott.",this.Error_ErrorSettingAxesForSeries="Kivétel a(z) '{0}' adatsortípushoz tartozó tengelyek beállítása során.",this.Error_InvalidAxesCountOrTypeForChartType="Érvénytelen Excel tengelyszám/tengelytípus a(z) {0} diagramtípushoz.",this.Error_UnsupportedSeriesType="Nem támogatott adatsortípus: {0}."}}(),C=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-hu",new v)},e}(),_=function(){return function(){this.Error_CannotDetermineSeriesForChartType="Impossibile determinare la serie per il tipo di grafico '{0}'.",this.Error_ChartTypeNotSupportedForRendering="Il tipo di grafico '{0}' non è attualmente supportato per il rendering.",this.Error_ErrorSettingAxesForSeries="Eccezione durante l'impostazione degli assi per il tipo di serie '{0}'.",this.Error_InvalidAxesCountOrTypeForChartType="Conteggio / tipi di assi Excel non validi per il tipo di grafico: '{0}'.",this.Error_UnsupportedSeriesType="Tipo di serie non supportato '{0}'."}}(),x=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-it",new _)},e}(),k=function(){return function(){this.Error_CannotDetermineSeriesForChartType="チャートタイプ '{0}' の系列を決定できません。",this.Error_ChartTypeNotSupportedForRendering="レンダリングでチャートタイプ '{0}' は現在サポートされていません。",this.Error_ErrorSettingAxesForSeries="シリーズタイプ '{0}' の軸を設定中に例外が発生しました。",this.Error_InvalidAxesCountOrTypeForChartType="チャートタイプ '{0}' の Excel 軸数/タイプが無効です。",this.Error_UnsupportedSeriesType="サポートされないされるシリーズ タイプ '{0}'。",this.LIT_DefaultChartTitle="チャートのタイトル"}}(),E=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-ja",new k)},e}(),w=function(){return function(){this.Error_CannotDetermineSeriesForChartType="Kan ikke bestemme serien for diagramtype '{0}'.",this.Error_ChartTypeNotSupportedForRendering="Diagramtype '{0}' støttes foreløpig ikke for gjengivelse.",this.Error_ErrorSettingAxesForSeries="Unntak under innstilling av akser for serietype {0}.",this.Error_InvalidAxesCountOrTypeForChartType="Ugyldig antall Excel -akser/typer for diagramtype: '{0}'.",this.Error_UnsupportedSeriesType="Serietype '{0}' støttes ikke."}}(),A=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-nb",new w)},e}(),$=function(){return function(){this.Error_CannotDetermineSeriesForChartType="Kan reeks niet bepalen voor diagramtype '{0}'.",this.Error_ChartTypeNotSupportedForRendering="Diagramtype '{0}' wordt momenteel niet ondersteund voor weergave.",this.Error_ErrorSettingAxesForSeries="Uitzondering bij het instellen van assen voor serietype '{0}'.",this.Error_InvalidAxesCountOrTypeForChartType="Ongeldige telling / typen Excel-assen voor diagramtype: '{0}'.",this.Error_UnsupportedSeriesType="Niet-ondersteund serietype '{0}'."}}(),T=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-nl",new $)},e}(),D=function(){return function(){this.Error_CannotDetermineSeriesForChartType="Nie można określić serii dla typu wykresu '{0}'.",this.Error_ChartTypeNotSupportedForRendering="Renderowanie typu wykresu '{0}' nie jest obecnie obsługiwane.",this.Error_ErrorSettingAxesForSeries="Wyjątek podczas ustawiania osi dla typu serii '{0}'.",this.Error_InvalidAxesCountOrTypeForChartType="Nieprawidłowa liczba / typy osi programu Excel dla typu wykresu: '{0}'.",this.Error_UnsupportedSeriesType="Nieobsługiwany typ serii '{0}'."}}(),I=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-pl",new D)},e}(),L=function(){return function(){this.Error_CannotDetermineSeriesForChartType="Não é possível determinar a série para o tipo de gráfico '{0}'.",this.Error_ChartTypeNotSupportedForRendering="Neste momento, o tipo de gráfico '{0}' não é suportado para composição.",this.Error_ErrorSettingAxesForSeries="Exceção ao definir eixos para o tipo de série '{0}'.",this.Error_InvalidAxesCountOrTypeForChartType="Contagem de eixos do Excel inválida/Tipos para o tipo de gráfico: '{0}'.",this.Error_UnsupportedSeriesType="Tipo de série não suportado '{0}'."}}(),N=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-pt",new L)},e}(),M=function(){return function(){this.Error_CannotDetermineSeriesForChartType="Nu se poate determina Seria pentru tipul de diagramă '{0}'.",this.Error_ChartTypeNotSupportedForRendering="Tipul de diagramă '{0}' nu este acceptat în prezent pentru redare.",this.Error_ErrorSettingAxesForSeries="Excepție la setarea axelor pentru tipul de serie '{0}'.",this.Error_InvalidAxesCountOrTypeForChartType="Numărul / tipurile de axe Excel nevalide pentru tipul de diagramă: '{0}'.",this.Error_UnsupportedSeriesType="Tipul de serie neacceptat '{0}'."}}(),R=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-ro",new M)},e}(),F=function(){return function(){this.Error_CannotDetermineSeriesForChartType="Не удается определить ряд для типа диаграммы '{0}'.",this.Error_ChartTypeNotSupportedForRendering="В настоящее время визуализация типа диаграммы '{0}' не поддерживается.",this.Error_ErrorSettingAxesForSeries="Исключение при настройке осей для типа ряда '{0}'.",this.Error_InvalidAxesCountOrTypeForChartType="Недопустимый подсчет/типы осей Excel для типа диаграммы: '{0}'.",this.Error_UnsupportedSeriesType="Неподдерживаемый тип ряда '{0}'.",this.LIT_DefaultChartTitle="Заголовок диаграммы"}}(),P=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-ru",new F)},e}(),O=function(){return function(){this.Error_CannotDetermineSeriesForChartType="Det går inte att bestämma serie för diagramtyp '{0}'.",this.Error_ChartTypeNotSupportedForRendering="Diagramtypen '{0}' stöds för närvarande inte för rendering.",this.Error_ErrorSettingAxesForSeries="Undantag vid inställning av axlar för serietypen '{0}'.",this.Error_InvalidAxesCountOrTypeForChartType="Ogiltiga Excel-axelantal / -typer för diagramtyp: '{0}'.",this.Error_UnsupportedSeriesType="Serietypen '{0}' stöds inte."}}(),j=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-sv",new O)},e}(),z=function(){return function(){this.Error_CannotDetermineSeriesForChartType="Grafik türü '{0}' için Seri belirlenemiyor.",this.Error_ChartTypeNotSupportedForRendering="Grafik türü '{0}' şu anda oluşturma için desteklenmiyor.",this.Error_ErrorSettingAxesForSeries="Seri türü '{0}' için eksenleri ayarlarken istisna.",this.Error_InvalidAxesCountOrTypeForChartType="Grafik türü için Geçersiz Excel Eksen Sayısı / Türleri: '{0}'.",this.Error_UnsupportedSeriesType="Desteklenmeyen dizi türü '{0}'."}}(),V=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-tr",new z)},e}(),B=function(){return function(){this.Error_CannotDetermineSeriesForChartType="无法确定图表类型 '{0}' 系列。",this.Error_ChartTypeNotSupportedForRendering="图表类型 '{0}' 当前不支持渲染。",this.Error_ErrorSettingAxesForSeries="设置系列类型 '{0}' 的轴时出现例外。",this.Error_InvalidAxesCountOrTypeForChartType="图表类型 '{0}' 的无效 Excel 轴计数/类型。",this.Error_UnsupportedSeriesType="不支持的系列类型为 '{0}'。"}}(),U=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-zh-Hans",new B)},e}(),q=function(){return function(){this.Error_CannotDetermineSeriesForChartType="無法確定圖表類型 '{0}' 的系列。",this.Error_ChartTypeNotSupportedForRendering="目前不支援圖表類型 '{0}' 的轉譯。",this.Error_ErrorSettingAxesForSeries="設定系列類型 '{0}' 的軸時出現例外。",this.Error_InvalidAxesCountOrTypeForChartType="圖表類型 '{0}' 的無效 Excel 軸計數/類型。",this.Error_UnsupportedSeriesType="不支援的系列類型 '{0}'。"}}(),G=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-zh-Hant",new q)},e}(),H=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-en",new s)},e}(),X=function(e){function t(t,r,i,a,n){var s=e.call(this)||this;return s.d=0,s.f=null,s.g=null,s.a=null,s.c=null,s.b=null,s.c=t,s.f=r,s.g=i,s.a=a,s.b=n,s}return a.__extends(t,e),t.prototype.e=function(){return this.d++,this.d},t.$t=r.markType(t,"SpreadsheetChartAdapterState"),t}(r.Base),Y=function(e){function n(i,a){var n=e.call(this)||this;return n.a=null,n.l=null,n.b=null,n.a=i,n.l=new r.List$1(t.RendererContainer.$,0),n.b=a,n}return a.__extends(n,e),n.prototype.c=function(e,t,r,i,a,n){return void 0===i&&(i=!1),void 0===a&&(a=3),void 0===n&&(n=3),null!=this.m(e,t)},n.prototype.s=function(e,r,i,a,n,s,o,l,u,c,h){if(void 0===a&&(a=!1),void 0===n&&(n=0),void 0===s&&(s=0),void 0===o&&(o=1),void 0===l&&(l=1),void 0===u&&(u=3),void 0===c&&(c=3),void 0===h&&(h=0),!this.f(e)||"div"==e.tagName.toLowerCase()){var p=this.m(r,e);if(null!=p){var d=this.q(p);switch(u){case 0:d+=" justify-self: start;";break;case 2:d+=" justify-self: end;";break;case 3:d+=" justify-self: stretch;";break;case 1:d+=" justify-self: center;"}switch(c){case 0:d+=" align-self: start;";break;case 2:d+=" align-self: end;";break;case 3:d+=" align-self: stretch;";break;case 1:d+=" align-self: center;"}var f=t.SpreadsheetDialogUtilities.j(n+1,o,s+1,l,d+" display: block;");p.setAttribute("style",f)}}},n.prototype.d=function(e,i){var a=r.typeCast(t.RendererContainer.$,i);return null!=a&&(e.clearRefValues(a.container),!0)},n.prototype.t=function(e){if(0!=this.f(e)&&"div"==e.tagName.toLowerCase())for(var t=e,r=t.children.length;r>0;r--)t.removeChild(t.children.item(r-1))},n.prototype.u=function(e){},n.prototype.n=function(){return null},n.prototype.e=function(e){return r.typeCast(t.RendererContainer.$,e).isReady},n.prototype.o=function(e){var t=this.a.createRendererContainer();return this.l.add(t),e=t.isReady,t.onReady=this.b,{ret:t,p0:e}},n.prototype.p=function(){return document.createElement("div")},n.prototype.v=function(e,t,r,i){this.g(e,t,r,(function(e){return i(null,e)}))},n.prototype.w=function(e,t,a,n){this.g(e,t,a,(function(e,t){var a=e.b5;if(null!=a){var s=r.Enumerable.af(i.NumericAxisBase.$,r.Enumerable.l(i.NumericAxisBase.$,r.Enumerable.u(i.Axis.$,a.axes,(function(e){return r.stringContains(e.name,"Primary")})))),o=r.Enumerable.af(i.NumericAxisBase.$,r.Enumerable.l(i.NumericAxisBase.$,r.Enumerable.u(i.Axis.$,a.axes,(function(e){return r.stringContains(e.name,"Secondary")}))));if(null!=s&&null!=o&&0!=s.qu&&0!=o.qu){var l=s.qw,u=s.qv,c=s.qu/(u-l),h=o.qw,p=o.qv,d=o.qu;p=h+(p-h)*n(d=c*(p-h),!1)/d,o.q9=h,o.q5=d,o.q8=p}}}))},n.prototype.g=function(e,i,a,n){var s=r.typeCast(t.RendererContainer.$,i);return null!=s&&(e.provideRefValue(s.container,a,n),!0)},n.prototype.h=function(e,i){var a=null;if(!this.f(i))return!1;a=i;var n=null;return this.f(e)?n=e:null!==r.typeCast(t.RendererContainer.$,e)&&(n=e.containerElement),null!=n&&(a.removeChild(n),!0)},n.prototype.i=function(e,i,a){var n=r.typeCast(t.RendererContainer.$,i);return null!=n&&(e.removeRefValue(n.container,a),!0)},n.prototype.x=function(e,i,a){var n=r.typeCast(t.RendererContainer.$,a);null!=n&&e.render(i,n.container)},n.prototype.j=function(e,t,r,i,a){return!1},n.prototype.k=function(e,i,a){if(0==(this.f(e)&&"div"==e.tagName.toLowerCase()))return!1;var n=function(e){for(var t=r.stringEmpty(),i=0;i<e.length;i++){var a=e[i];a.e?t+=a.i.toString()+"px ":a.g?t+="minmax(0,"+a.i.toString()+"fr) ":a.f&&(t+="auto ")}return r.trimEnd(t)},s=e,o=t.SpreadsheetDialogUtilities.k(n(i),n(a),"0px","height: 100%; box-sizing: border-box; ");return s.setAttribute("style",o),!1},n.prototype.m=function(e,i){var a=null;if(this.f(i))a=i;else{if(null===r.typeCast(t.RendererContainer.$,i))return null;a=i.containerElement}var n=null;return this.f(e)?n=e:null!==r.typeCast(t.RendererContainer.$,e)&&(n=e.containerElement),null==n?null:(a.appendChild(n),n)},n.prototype.q=function(e){var t=e.getAttribute("style");return null==t?r.stringEmpty():t},n.prototype.f=function(e){var t=e.toString().toLowerCase();return r.stringContains(t,"element")||r.stringContains(t,"html")},n.$t=r.markType(n,"ChartElementPlatformHelper"),n}(r.Base),K=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.a=null,t.c=null,t.d=null,t.b=0,t}return a.__extends(t,e),t.$t=r.markType(t,"ChartSeriesInfo"),t}(r.Base),W=function(e){function t(t,r,i,a){var n=e.call(this)||this;return n._Radius=0,n._X=0,n._Y=0,n._SeriesName=null,n.X=t,n.Y=r,n.Radius=i,n.SeriesName=a,n}return a.__extends(t,e),Object.defineProperty(t.prototype,"Radius",{get:function(){return this._Radius},set:function(e){this._Radius=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"X",{get:function(){return this._X},set:function(e){this._X=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Y",{get:function(){return this._Y},set:function(e){this._Y=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"SeriesName",{get:function(){return this._SeriesName},set:function(e){this._SeriesName=e},enumerable:!1,configurable:!0}),t.$t=r.markType(t,"SpreadsheetChartAdapter_ScatterSeriesDataItem"),t}(r.Base),Z=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._Col=null,t._Row=null,t._Value=0,t}return a.__extends(t,e),Object.defineProperty(t.prototype,"Col",{get:function(){return this._Col},set:function(e){this._Col=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Row",{get:function(){return this._Row},set:function(e){this._Row=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Value",{get:function(){return this._Value},set:function(e){this._Value=e},enumerable:!1,configurable:!0}),t.$t=r.markType(t,"SpreadsheetChartAdapter_SeriesDataItem"),t}(r.Base),J=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.b=null,t.a=null,t.d=!1,t.i=!1,t.j=!1,t.k=!1,t.g=!1,t.h=!1,t.c=!1,t.f=!1,t.e=!1,t}return a.__extends(t,e),t.$t=r.markType(t,"AxisInfo"),t}(r.Base),Q=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._CategoryName=null,t._SeriesNames=null,t._SeriesValues=null,t}return a.__extends(t,e),Object.defineProperty(t.prototype,"CategoryName",{get:function(){return this._CategoryName},set:function(e){this._CategoryName=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"SeriesNames",{get:function(){return this._SeriesNames},set:function(e){this._SeriesNames=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"SeriesValues",{get:function(){return this._SeriesValues},set:function(e){this._SeriesValues=e},enumerable:!1,configurable:!0}),t.$t=r.markType(t,"SpreadsheetChartAdapter_StackedSeriesDataItem"),t}(r.Base),ee=function(e){function s(){return null!==e&&e.apply(this,arguments)||this}return a.__extends(s,e),s.p=function(e){for(var t=new r.StringBuilder(0),i=0;i<e.length;i++){var a=e[i],n=null==a?"<null>":a.toString();t.l(n+", ")}return t.toString()},s.n=function(e,t,r){return s.o(n.Workbook._et(e),t,r)},s.o=function(e,t,r){return n.Workbook._eu(t,e,r)},s.e=function(e,t){switch(e){case 0:return 7;case 1:return 1;case 2:return 6;case 3:return 9;case 4:switch(t){case 6:case 5:return 5;case 4:return 4;case 3:return 3;case 2:default:return 2}case 5:return 8;default:return 1}},s.q=function(e,t,i,a){var n=e/255;return r.stringFormat1("rgba({0},{1},{2},{3})",t,i,a,n.toString())},s.r=function(e,t){if(null!=e){if(null!==r.typeCast(n.ChartSolidFill.$,e))return s.t(r.typeCast(n.ChartSolidFill.$,e),t);if(null!==r.typeCast(n.ChartGradientFill.$,e))return s.s(r.typeCast(n.ChartGradientFill.$,e),t)}return r.stringEmpty()},s.s=function(e,t){var i,n,o="linear-gradient(",l=r.truncate(e.angle);switch((l+=90)>=360&&(l-=360),o+=l.toString()+"deg, ",e.gradientType){case 0:case 1:case 3:case 2:try{for(var u=a.__values(r.fromEnum(e.getStops())),c=u.next();!c.done;c=u.next()){var h=c.value;o+=s.u(h.color,t),o+=" "+r.truncate(100*h.position).toString()+"%, "}}catch(e){i={error:e}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(i)throw i.error}}o=r.stringRemove(o,o.length-2,2)}return o+=")"},s.t=function(e,t){return s.u(e.color,t)},s.u=function(e,t){return n.WorkbookColorInfo.l_op_Equality(null,e)||null==t?r.stringEmpty():s.q(e._getResolvedColor1(t).l,e._getResolvedColor1(t).o,e._getResolvedColor1(t).n,e._getResolvedColor1(t).m)},s.c=function(e){switch(e){case 0:case 1:return 1;case 2:return 2;case 3:return 3;case 4:return 0;default:return 1}},s.d=function(e){var t=!0;switch(e.position){case 0:1==e.type&&(t=!1);break;case 1:case 4:t=!1}switch(e.tickLabelPosition){case 4:return t?6:4;case-4127:return t?3:0;case-4134:return t?2:1;default:switch(e.position){case 0:case 2:return 2;case 4:return 0;case 3:return 3;case 1:default:return 1}}},s.g=function(e,i){var a,n=s.m(e,i),o=3==e.categoryType,l=null;if((l=n?new r.CategoryXAxisDescription:new r.CategoryYAxisDescription).name=n?1==e.axisGroup?"XAxisPrimary":"XAxisSecondary":1==e.axisGroup?"YAxisPrimary":"YAxisSecondary",s.x(l,e,i),l.label="Row",l.dataSourceRef=r.stringFormat("groupedseriesdata{0}","0"),o||(l.interval=e.tickLabelSpacing),l.useClusteringMode=!0,e.visible){var u=e._y(),c="formatlabelcategoryaxis_"+l.name;i.b.v(i.a,i.f,c,(function(a,n){var s=r.stringEmpty();null!==r.typeCast(Z.$,n)?s=n.Row:null!==r.typeCast(Q.$,n)&&(s=n.CategoryName);var o,l,c=0;if(2==e.categoryType)return s;if(3==e.categoryType){if(l=r.tryParseNumber(s,c),c=l.p1,l.ret)return t.SpreadsheetUtilities.dx(r.fromOADate(c),i.c.worksheet)}else if(null!=u&&function(){var e=r.tryParseNumber(s,c);return c=e.p1,e.ret}()){var h=r.stringEmpty();if(o=u.v(c,e.tickLabels.numberFormat,h),h=o.p2,o.ret&&0==r.stringIsNullOrEmpty(h))return h}return s})),l.formatLabelRef=c}else l.formatLabelRef=r.stringEmpty();return(a=new J).b=e,a.a=l,a.g=1==e.axisGroup,a.h=2==e.axisGroup,a.j=n,a.k=!n,a.d=!0,a.i=!1,a.c=!1,a.e=!1,a.f=!1,a},s.f=function(e,t){var i,a=new r.CategoryAngleAxisDescription;return a.name="CategoryAngleAxis",s.x(a,e,t),a.label="Row",a.dataSourceRef=r.stringFormat("groupedseriesdata{0}","0"),a.interval=1,a.gap=.35,a.useClusteringMode=!0,(i=new J).b=e,i.a=a,i.g=1==e.axisGroup,i.h=2==e.axisGroup,i.j=!1,i.k=!1,i.d=!0,i.i=!1,i.c=!0,i.e=!1,i.f=!1,i},s.h=function(e,t){var i,a=new r.NumericRadiusAxisDescription;return a.name="NumericRadiusAxis",s.x(a,e,t),a.interval=1,a.isLogarithmic=-4133==e.scaleType,0==e.minimumScaleIsAuto&&(a.minimumValue=e.minimumScale),0==e.maximumScaleIsAuto&&(a.maximumValue=e.maximumScale),(i=new J).b=e,i.a=a,i.g=1==e.axisGroup,i.h=2==e.axisGroup,i.j=!1,i.k=!1,i.d=!1,i.i=!0,i.c=!1,i.e=!1,i.f=!0,i},s.i=function(e,t){var i,a=s.m(e,t),n=null;if((n=a?new r.NumericXAxisDescription:new r.NumericYAxisDescription).name=a?1==e.axisGroup?"XAxisPrimary":"XAxisSecondary":1==e.axisGroup?"YAxisPrimary":"YAxisSecondary",s.x(n,e,t),n.isLogarithmic=-4133==e.scaleType,0==e.minimumScaleIsAuto&&(n.minimumValue=e.minimumScale),0==e.maximumScaleIsAuto&&(n.maximumValue=e.maximumScale),0==e.majorUnitIsAuto&&(n.interval=e.majorUnit),0==e.minorUnitIsAuto&&(n.minorInterval=e.minorUnit),e.visible){var o=e._y(),l="formatlabelvalueaxis_"+n.name;t.b.v(t.a,t.f,l,(function(t,i){if(null!=i&&"number"==typeof i){var a=i;if(null!=o){var n=r.stringEmpty();if(s=o.v(a,e.tickLabels.numberFormat,n),n=s.p2,s.ret)return n}}var s;return null!=i?i.toString():r.stringEmpty()})),n.formatLabelRef=l}else n.formatLabelRef=r.stringEmpty();return 10!=e.logBase&&(n.isLogarithmic=!0,n.logarithmBase=r.truncate(e.logBase)),(i=new J).b=e,i.a=n,i.g=1==e.axisGroup,i.h=2==e.axisGroup,i.j=a,i.k=!a,i.d=!1,i.i=!0,i.c=!1,i.e=!1,i.f=!1,i},s.j=function(e,t,i){var n,o;try{for(var l=a.__values(r.fromEnum(t)),u=l.next();!u.done;u=l.next()){var c=u.value;if(s.l(c,e,i))return c}}catch(e){n={error:e}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}return null},s.a=function(e,t,i){i=0;for(var a=new r.List$1(r.Number_$type,0),n=e._dataPointCollection$i,s=0;s<n.count;s++){var o=n.item(s);o._a3>0&&(a.add(s),i=Math.max(i,o._a3))}return{ret:a.toArray(),p2:i}},s.b=function(e,t){for(var i=new r.List$1(r.String_$type,0),a=e._dataPointCollection$i.count,n=0;n<a;n++){var o=e._dataPointCollection$i.item(n);i.add(s.r(o._aj(n),e.workbook))}return i.toArray()},s.k=function(e){return r.stringContains(r.EnumUtil.getName(n.ChartType_$type,e.chartType),"Scatter")||r.stringContains(r.EnumUtil.getName(n.ChartType_$type,e.chartType),"Bubble")},s.l=function(e,t,r){switch(t){case 0:return 1==e.axisGroup&&s.m(e,r);case 1:return 1==e.axisGroup&&0==s.m(e,r);case 2:return 2==e.axisGroup&&s.m(e,r);case 3:return 2==e.axisGroup&&0==s.m(e,r);default:return!1}},s.m=function(e,t){var r=t.c._ei(e);return 4==r||1==r},s.v=function(e,t,i){void 0===i&&(i=!0);var a=e.name,s=r.EnumUtil.getName(n.SeriesType_$type,e.type),o="Series_"+t.toString()+"_"+s;return null==a||r.stringIsNullOrEmpty(a.toString().trim())?o:a.toString()+"_"+s},s.w=function(e,t){var i=e.name,a=r.stringEmpty();return null==i||r.stringIsNullOrEmpty(a=i.toString().trim())?"Series "+t.toString():a},s.x=function(e,t,a){if(1==t.axisGroup&&(e.crossingValue=t.crossesAt),null!=t.tickLines){var n=s.n(t.tickLines.widthInPoints,t.workbook,!1),o=s.r(t.tickLines.fill,t.workbook);0==r.stringIsNullOrEmpty(o)&&(e.tickStroke=o,e.stroke=o),e.tickStrokeThickness=n,e.tickLength=10,e.strokeThickness=n}if(null!=t.axisTitle){null!=t.axisTitle.text&&(e.title=t.axisTitle.text.toString()),e.titleAngle=t.axisTitle.rotation;var l=s.u(t.axisTitle._a7,t.workbook);0==r.stringIsNullOrEmpty(l)&&(e.titleTextColor=l);var u=t.axisTitle._a3();null!=u&&(e.titleFontStyle=r.nullableEquals(u._italic$i,!0)?"Italic":"Normal",e.titleFontWeight=r.nullableEquals(u._bold$i,!0)?"Bold":"Normal",e.titleFontSize=s.o(u.height,t.workbook,!0),0==r.stringIsNullOrEmpty(u.name)&&0==r.stringContains(u.name,"+mn-lt")?e.titleFontFamily=u.name+", Calibri":e.titleFontFamily="Calibri")}if(null!=t.tickLabels){var c=t.tickLabels._an;null!=c&&(e.labelFontStyle=r.nullableEquals(c._italic$i,!0)?"Italic":"Normal",e.labelFontWeight=r.nullableEquals(c._bold$i,!0)?"Bold":"Normal",e.labelFontSize=s.o(c.height,t.workbook,!0),0==r.stringIsNullOrEmpty(c.name)&&0==r.stringContains(c.name,"+mn-lt")?e.labelFontFamily=c.name+", Calibri":e.labelFontFamily="Calibri");var h=s.u(t.tickLabels._ao,t.workbook);0==r.stringIsNullOrEmpty(h)&&(e.labelTextColor=h),e.labelAngle=t.tickLabels.rotation,-4142!=t.tickLabelPosition?e.labelLocation=r.EnumUtil.getName(i.AxisLabelsLocation_$type,s.c(t.position)):e.labelTextColor="rgba(0, 0, 0, 0)"}if(null!=t.majorGridLines){var p=s.r(t.majorGridLines.fill,t.workbook);0==r.stringIsNullOrEmpty(p)&&(e.majorStroke=p),e.majorStrokeThickness=s.n(t.majorGridLines.widthInPoints,a.c.worksheet.workbook,!1)}if(null!=t.minorGridLines){var d=s.r(t.minorGridLines.fill,t.workbook);0==r.stringIsNullOrEmpty(d)&&(e.minorStroke=d),e.minorStrokeThickness=s.n(t.minorGridLines.widthInPoints,a.c.worksheet.workbook,!1)}e.labelVisibility=0==t.visible?"Collapsed":"Visible",t.reversePlotOrder&&(e.isInverted=!0)},s.$t=r.markType(s,"SpreadsheetChartAdapterHelpers"),s}(r.Base),te=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._CategoryName=null,t._SeriesName=null,t._Value=0,t}return a.__extends(t,e),Object.defineProperty(t.prototype,"CategoryName",{get:function(){return this._CategoryName},set:function(e){this._CategoryName=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"SeriesName",{get:function(){return this._SeriesName},set:function(e){this._SeriesName=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Value",{get:function(){return this._Value},set:function(e){this._Value=e},enumerable:!1,configurable:!0}),t.$t=r.markType(t,"SpreadsheetChartAdapter_PieDataItem"),t}(r.Base),re=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._Open=0,t._High=0,t._Low=0,t._Close=0,t._Volume=0,t._CategoryName=null,t}return a.__extends(t,e),Object.defineProperty(t.prototype,"Open",{get:function(){return this._Open},set:function(e){this._Open=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"High",{get:function(){return this._High},set:function(e){this._High=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Low",{get:function(){return this._Low},set:function(e){this._Low=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Close",{get:function(){return this._Close},set:function(e){this._Close=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Volume",{get:function(){return this._Volume},set:function(e){this._Volume=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CategoryName",{get:function(){return this._CategoryName},set:function(e){this._CategoryName=e},enumerable:!1,configurable:!0}),t.prototype.g=function(e,t,r){switch(e){case 88:switch(t){case 0:this.High=r;break;case 1:this.Low=r;break;case 2:this.Close=r}break;case 89:switch(t){case 0:this.Open=r;break;case 1:this.High=r;break;case 2:this.Low=r;break;case 3:this.Close=r}break;case 90:switch(t){case 0:this.Volume=r;break;case 1:this.High=r;break;case 2:this.Low=r;break;case 3:this.Close=r}break;case 91:switch(t){case 0:this.Volume=r;break;case 1:this.Open=r;break;case 2:this.High=r;break;case 3:this.Low=r;break;case 4:this.Close=r}}},t.$t=r.markType(t,"SpreadsheetChartAdapter_StockDataItem"),t}(r.Base),ie=function(e){function t(){var t=e.call(this)||this;return t.e=null,t.c=null,t.d=null,t.i=0,t.h=0,t.k=0,t.j=0,t.e=new r.List$1(J.$,0),t.c=new r.List$1(J.$,0),t.d=new r.List$1(J.$,0),t}return a.__extends(t,e),Object.defineProperty(t.prototype,"f",{get:function(){return this.c},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"g",{get:function(){return this.d},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"b",{get:function(){return this.e},enumerable:!1,configurable:!0}),t.prototype.l=function(e){this.e.add(e),e.g?e.d?this.h++:this.i++:e.d?this.j++:this.k++,null!==r.typeCast(r.StraightNumericAxisBaseDescription.$,e.a)&&e.b.minimumScaleIsAuto&&e.b.maximumScaleIsAuto&&(e.j?this.f.add(e):e.k&&this.g.add(e))},t.prototype.m=function(e,t){for(var r=0;r<this.e.count;r++){var i=this.e._inner[r];(e&&i.g||0==e&&i.h)&&(i.d?0==i.c&&(this.e._inner[r]=ee.f(i.b,t),this.e._inner[r].a.isDisabled=!1):i.i&&0==i.f&&(this.e._inner[r]=ee.h(i.b,t),this.e._inner[r].a.isDisabled=!1))}},t.prototype.n=function(e,t){if(e){if(this.i>1)return;for(var a=0;a<this.e.count;a++){var n=this.e._inner[a];if(n.g&&n.d){this.e._inner[a]=ee.i(n.b,t),this.e._inner[a].a.labelLocation=r.EnumUtil.getName(i.AxisLabelsLocation_$type,0),this.e._inner[a].a.isDisabled=!1;break}}}else{if(this.k>1)return;for(var s=0;s<this.e.count;s++){var o=this.e._inner[s];if(o.h&&o.d){this.e._inner[s]=ee.i(o.b,t),this.e._inner[s].a.labelLocation=r.EnumUtil.getName(i.AxisLabelsLocation_$type,0),this.e._inner[s].a.isDisabled=!1;break}}}},t.prototype.a=function(){var e,t,i=new r.List$1(r.AxisDescription.$,0);try{for(var n=a.__values(r.fromEnum(this.e)),s=n.next();!s.done;s=n.next()){var o=s.value;i.add(o.a)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r.Enumerable.a(r.AxisDescription.$,i)},t.$t=r.markType(t,"AxisInfos"),t}(r.Base),ae=function(e){function t(r){for(var i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];var n=e.call(this)||this;switch(n.h=0,n.c=0,r=null==r?0:r){case 0:break;case 1:var s=i[0];t.j(s,1),n.h=s,n.c=1;break;case 2:s=i[0];var o=i[1];t.j(s,o),n.h=0==o?0:s,n.c=o}return n}return a.__extends(t,e),Object.defineProperty(t.prototype,"e",{get:function(){return 1==this.c},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"f",{get:function(){return 0==this.c},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"g",{get:function(){return 2==this.c},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"d",{get:function(){return this.c},enumerable:!1,configurable:!0}),Object.defineProperty(t,"a",{get:function(){return t.b},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"i",{get:function(){return 0!=this.c?this.h:1},enumerable:!1,configurable:!0}),t.j=function(e,t){if(r.isNaN_(e))throw new r.ArgumentException(0);if(r.isInfinity(e))throw new r.ArgumentException(0);if(0!=t&&1!=t&&2!=t)throw new r.ArgumentException(0)},t.$t=r.markStruct(t,"RowColLength"),t.b=new t(2,1,0),t}(r.ValueType),ne=function(e){function i(){var t=e.call(this)||this;return t._d=null,t._e=null,t._c=null,t._e=new r.List$1(n.ChartType_$type,1,[1,76,77,57,58,59,15,87,51,52,53,113,-4120,80,4,63,64,65,66,67,5,-4102,70,69,-4151,82,81,88,89,90,91,-4169,74,75,72,73]),t}return a.__extends(i,e),i.prototype._a=function(e,t){this._c=t;return this._d=new se(this,e,(function(e,r){return t._v.createChartTitleElement(e.chartTitle,r)}))},i.prototype._b=function(e){return this._e.contains(e.chartType)},i.prototype._s=function(e){for(var t,i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];return t=r.Localization.getString.apply(r.Localization,a.__spreadArray(["spreadsheetchartadapter",e],a.__read(i),!1)),!r.stringIsNullOrEmpty(t)&&null!=i&&i.length>0&&(t=r.stringFormat1.apply(void 0,a.__spreadArray([t],a.__read(i),!1))),t},i.$t=r.markType(i,"SpreadsheetChartAdapter",t.SpreadsheetChartAdapterBase.$),i._x="datachart",i._z="piechart",i._y="doughnutchart",i._u="groupedseriesdata{0}",i._t="groupedscatterseriesdata{0}",i._ab="stackedseriesdata",i._w="piedata",i._ac="stockdata",i._v="piecharttooltip",i._q="doughnutcharttooltip",i._g="legend",i._aa="seriestooltip{0}",i._r="fragmentseriestitle{0}",i._f="axiscrossingvalue-{0}",i._ak="XAxis",i._ai="Prices",i._aj="Volume",i._ae="High",i._af="Low",i._ad="Close",i._ag="Open",i._ah="Volume",i._m="XAxisPrimary",i._n="XAxisSecondary",i._o="YAxisPrimary",i._p="YAxisSecondary",i._j="CategoryAngleAxis",i._l="NumericRadiusAxis",i._k="NumericAngleAxis",i._h="rgba(0, 0, 0, 0)",i._i="rgba(255, 255, 255, 0)",i}(t.SpreadsheetChartAdapterBase),se=function(e){function s(t,i,a){var n=e.call(this)||this;return n.ae=null,n.a8=null,n.ai=!1,n.bb=null,n.am=!1,n.k=null,n.l=null,n.m=null,n.aj=!1,n.ak=!1,n.a1=null,n.ay=null,n.a0=null,n.ax=null,n.a2=null,n.az=null,n.a3=null,n.bd=null,n.bc=null,n.af=null,n.al=!1,n.aw=null,n.a7=-1,n.ad=null,n.a9=null,n.ba=null,n.an=!1,n.ac=null,n.ah=null,n.ac=new Y(t._c,r.runOn(n,n.bs)),n.ae=t,n.c=i,n.ad=a,n.f=n.ac.p(),n.ad=a,n.k=new r.ComponentRenderer,n.aj=!0,n.ak=!0,n.ah=n.c.worksheet.workbook,n.bh(),n}return a.__extends(s,e),s.prototype.h=function(){null!=this.a8&&null!==r.typeCast(r.IDisposable_$type,this.a8)&&this.a8.dispose(),null!=this.bb&&null!==r.typeCast(r.IDisposable_$type,this.bb)&&this.bb.dispose()},s.prototype.i=function(){},s.prototype.e=function(e,t,r){if(e!=this.c)t=!0,r=!0,this.c=e;else if(0==t&&0==r)return!0;return this.al=!0,(t||r)&&this.bv(),r&&this.bu(),this.bh(),this.aj=!1,this.ak=!1,this.al=!1,!0},Object.defineProperty(s.prototype,"ag",{get:function(){return null==this.af&&(this.af=new X(this.c,this.a8,this.bb,this.k,this.ac)),this.af},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"a4",{get:function(){return this.aw},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"aq",{get:function(){return null!=this.c.legend&&null!=this.m&&null!=this.bb},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"ar",{get:function(){return 113==this.c.chartType},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"at",{get:function(){switch(this.c.chartType){case 88:case 89:case 90:case 91:return!0;default:return!1}},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"as",{get:function(){return r.stringContains(r.EnumUtil.getName(n.ChartType_$type,this.c.chartType),"Stacked")},enumerable:!1,configurable:!0}),s.prototype.be=function(){var e,t=this;null==this.a8&&(this.a8=(e=t.ac.o(t.ai),t.ai=e.p0,e.ret))},s.prototype.bg=function(){var e,t=this;null!=this.c.legend?null==this.bb&&(this.bb=(e=t.ac.o(t.am),t.am=e.p0,e.ret)):null!=this.bb&&(this.ac.h(this.bb,this.f),null!=this.a8&&this.ac.h(this.bb,this.a8),this.bb=null)},s.prototype.bf=function(e,t,i,a,s,o,l,u,c){void 0===c&&(c=null),null!=e&&0==(null!==r.typeCast(n.ChartEmptyFill.$,e.line.fill))&&o.add(this.v(e,"High",l,u)),null!=t&&0==(null!==r.typeCast(n.ChartEmptyFill.$,t.line.fill))&&o.add(this.v(t,"Low",l,u)),null!=i&&0==(null!==r.typeCast(n.ChartEmptyFill.$,i.line.fill))&&o.add(this.v(i,"Close",l,u)),null!=a&&0==(null!==r.typeCast(n.ChartEmptyFill.$,a.line.fill))&&o.add(this.v(a,"Open",l,u)),null!=s&&null!=s.line&&0==(null!==r.typeCast(n.ChartEmptyFill.$,s.line.fill))&&o.add(this.v(s,"Volume",l,c))},s.prototype.bh=function(){this.an=!0,this.be(),this.bg(),0!=this.ai&&(this.bi(),this.ao(),null!=this.l&&(this.bl(),this.aq&&0==this.am||(this.an=!1,this.by(),this.bt(),this.bw(),this.bx(),this.a7=this.aw.count)))},s.prototype.ao=function(e){if(void 0===e&&(e=!0),null!=this.l&&!this.aj)return!0;switch(e&&(this.l=null),this.c.chartType){case 1:case 76:case 77:if(!e)return!0;this.b6(),this.l=this.n();break;case-4098:case 78:case 79:case 60:case 61:case 62:break;case 57:case 58:case 59:if(!e)return!0;this.b6(),this.l=this.n();break;case 71:break;case 15:case 87:if(!e)return!0;this.b6(),this.l=this.n();break;case-4100:case 54:case 55:case 56:break;case 51:case 52:case 53:case 113:if(!e)return!0;this.b6(),this.l=this.n();break;case 102:case 103:case 104:case 105:case 99:case 100:case 101:case 95:case 96:case 97:case 98:case 92:case 93:case 94:break;case-4120:case 80:if(!e)return!0;this.b6(),this.l=this.o();break;case 4:case 63:case 64:case 65:case 66:case 67:if(!e)return!0;this.b6(),this.l=this.n();break;case-4101:break;case 5:case-4102:case 70:case 69:if(!e)return!0;this.b6(),this.l=this.p();break;case 68:case 109:case 110:case 111:case 112:case 106:case 107:case 108:break;case-4151:case 82:case 81:if(!e)return!0;this.b6(),this.l=this.n();break;case 88:case 89:case 90:case 91:if(!e)return!0;this.b6(),this.l=this.r();break;case 83:case 84:break;case 85:case 86:break;case-4169:case 74:case 75:case 72:case 73:if(!e)return!0;this.b6(),this.l=this.n()}if(null==this.l)throw new r.NotSupportedException(1,this.ae._s("Error_ChartTypeNotSupportedForRendering",r.EnumUtil.getName(n.ChartType_$type,this.c.chartType)));return!0},s.prototype.bj=function(){var e,t;if(0!=this.aj){this.a0=this.a5();var i=new r.Dictionary$2(r.String_$type,r.List$1.$.specialize(W.$),0);try{for(var n=a.__values(r.fromEnum(this.a0)),s=n.next();!s.done;s=n.next()){var o=s.value,l=o.SeriesName;i.containsKey(l)||i.item(l,new r.List$1(W.$,0)),i.item(l).add(o)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}for(var u=0;u<i.values.count;u++){var c=r.stringFormat("groupedscatterseriesdata{0}",u.toString());this.ac.g(this.k,this.a8,c,r.Enumerable.z(r.List$1.$.specialize(W.$),i.values)._inner[u].toArray())}this.ax=r.Enumerable.z(r.List$1.$.specialize(W.$),i.values)}},s.prototype.bk=function(e){var t,i;if(void 0===e&&(e=0),0!=this.aj){this.a1=this.a6();var n=new r.Dictionary$2(r.String_$type,r.List$1.$.specialize(Z.$),0);try{for(var s=a.__values(r.fromEnum(this.a1)),o=s.next();!o.done;o=s.next()){var l=o.value,u=0==e?l.Row:l.Col;n.containsKey(u)||n.item(u,new r.List$1(Z.$,0)),n.item(u).add(l)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(i=s.return)&&i.call(s)}finally{if(t)throw t.error}}for(var c=0;c<n.values.count;c++){var h=r.stringFormat("groupedseriesdata{0}",c.toString());this.ac.g(this.k,this.a8,h,r.Enumerable.z(r.List$1.$.specialize(Z.$),n.values)._inner[c].toArray())}this.ay=r.Enumerable.z(r.List$1.$.specialize(Z.$),n.values)}},s.prototype.bi=function(){var e,t;this.aw=new r.List$1(K.$,0);var i=new r.HashSet$1(r.String_$type,0),n=0,s=function(e){if(0==o.au(e)){for(var t=ee.v(e,n+1),r=t;i.contains(r);)r=t+o.ag.e().toString();i.add_1(r);var a=ee.w(e,n+1);o.aw.add(((s=new K).a=e,s.c=r,s.d=a,s.b=n,s)),n++}var s},o=this;try{for(var l=a.__values(r.fromEnum(this.c._seriesCollection$i)),u=l.next();!u.done;u=l.next()){s(u.value)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(t=l.return)&&t.call(l)}finally{if(e)throw e.error}}},s.prototype.bm=function(){var e,t,i,n;if(0!=this.aj){this.a1=this.a6();var s=new r.Dictionary$2(r.String_$type,r.List$1.$.specialize(Z.$),0);try{for(var o=a.__values(r.fromEnum(this.a1)),l=o.next();!l.done;l=o.next()){var u=l.value,c=u.Row;s.containsKey(c)||s.item(c,new r.List$1(Z.$,0)),s.item(c).add(u)}}catch(t){e={error:t}}finally{try{l&&!l.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}var h=r.Enumerable.z(r.List$1.$.specialize(Z.$),s.values);this.az=new r.List$1(te.$,0);var p=function(e){var t,r=((t=new te).CategoryName=e._inner[0].Row,t.Value=e._inner[0].Value,t.SeriesName=e._inner[0].Col,t);d.az.add(r)},d=this;try{for(var f=a.__values(r.fromEnum(h)),g=f.next();!g.done;g=f.next()){p(g.value)}}catch(e){i={error:e}}finally{try{g&&!g.done&&(n=f.return)&&n.call(f)}finally{if(i)throw i.error}}this.ac.g(this.k,this.a8,"piedata",this.az.toArray())}},s.prototype.bl=function(){if(null!=this.c.legend){if(null!=this.m)return}else if(null!=this.m)return void(this.m=null);this.bp()},s.prototype.bn=function(){if(0!=this.aj){var e,t;this.a2=new r.List$1(Q.$,0);var i=this.bq(this.a4._inner[0].a,t,e);t=i.p1,e=i.p2;var n=new r.List$1(r.Array_$type,0);n.add(t);for(var s=1;s<this.a4.count;s++){var o=void 0,l=void 0,u=this.bq(this.a4._inner[s].a,l,o);l=u.p1,o=u.p2,n.add(l)}for(var c=e.length,h=(t.length,0),p=this.a4.count,d=function(){for(var e,t=new Array(e=c),r=t,i=0;i<e;i++)r[i]=new Array(p);return t}(),f=0;f<c;f++){for(var g=0;g<n.count;g++){var y=n._inner[g];d[h][g]=r.Convert.toDouble3(y[h])}h++}h=0;for(var m=function(t){var i,n,s=new Array(p),o=new Array(p),l=0;try{for(var u=(i=void 0,a.__values(r.fromEnum(b.a4))),c=u.next();!c.done;c=u.next()){var f=c.value;s[l]=r.Convert.toDouble3(d[h][l]),o[l]=f.c,l++}}catch(e){i={error:e}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(i)throw i.error}}var g,y=((g=new Q).CategoryName=e[t].toString(),g.SeriesValues=s,g.SeriesNames=o,g);b.a2.add(y),h++},b=this,S=0;S<c;S++)m(S);this.ac.g(this.k,this.a8,"stackedseriesdata",this.a2.toArray())}},s.prototype.bo=function(){var e,t,i,n;if(0!=this.aj){this.a3=new r.List$1(re.$,0),this.a1=this.a6();var s=this.c.chartType,o=r.stringEmpty(),l=null,u=-1,c=new r.Dictionary$2(r.String_$type,re.$,0),h=function(e){var t;0==c.containsKey(e.Row)?((t=new re).CategoryName=e.Row,l=t,c.addItem(e.Row,l)):l=c.item(e.Row),e.Col!=o&&(u++,o=e.Col),l.g(s,u,e.Value)};try{for(var p=a.__values(r.fromEnum(this.a1)),d=p.next();!d.done;d=p.next()){h(d.value)}}catch(t){e={error:t}}finally{try{d&&!d.done&&(t=p.return)&&t.call(p)}finally{if(e)throw e.error}}try{for(var f=a.__values(r.fromEnum(c.values)),g=f.next();!g.done;g=f.next()){var y=g.value;this.a3.add(y)}}catch(e){i={error:e}}finally{try{g&&!g.done&&(n=f.return)&&n.call(f)}finally{if(i)throw i.error}}this.ac.g(this.k,this.a8,"stockdata",this.a3.toArray())}},s.prototype.n=function(){var e,t,i,s,o,l,u,c;this.ac.u("datachart"),r.DataChartCategoryCoreDescriptionModule.register(this.k.context),r.DataChartCategoryDescriptionModule.register(this.k.context),r.DataChartVerticalCategoryDescriptionModule.register(this.k.context);var h=new r.DataChartDescription,p=new ie;try{for(var d=a.__values(r.fromEnum(this.c._axisCollection$i)),f=d.next();!f.done;f=d.next()){var g=f.value;switch(g.type){case 1:this.bk(),-4151==this.c.chartType||81==this.c.chartType||82==this.c.chartType?p.l(ee.f(g,this.ag)):p.l(ee.g(g,this.ag));break;case 2:-4151==this.c.chartType||81==this.c.chartType||82==this.c.chartType?p.l(ee.h(g,this.ag)):p.l(ee.i(g,this.ag))}}}catch(t){e={error:t}}finally{try{f&&!f.done&&(t=d.return)&&t.call(d)}finally{if(e)throw e.error}}var y=new r.List$1(r.SeriesDescription.$,0),m=0,b=!1,S=0,v=new r.Dictionary$2(n.Series.$,r.SeriesDescription.$,0),C=new r.Dictionary$2(r.SeriesDescription.$,n.Series.$,0);try{for(var _=a.__values(r.fromEnum(this.a4)),x=_.next();!x.done;x=_.next()){var k=x.value.a;if(r.stringContains(r.EnumUtil.getName(n.ChartType_$type,k.chartType),"Stacked")&&++S>1)m++;else{this.ar&&ee.k(k)&&(b=!0);var E=r.typeCast(r.SeriesDescription.$,this.q(k,m,p));if(null==E)throw new r.NotSupportedException(1,this.ae._s("Error_UnsupportedSeriesType",r.EnumUtil.getName(n.SeriesType_$type,k.type)));if(y.add(E),v.addItem(k,E),C.addItem(E,k),r.stringContains(r.EnumUtil.getName(n.ChartType_$type,k.chartType),"Stacked"))try{for(var w=(o=void 0,a.__values(r.fromEnum(p.b))),A=w.next();!A.done;A=w.next()){var $=A.value;$.d&&($.a.label="CategoryName",$.a.dataSourceRef="stackedseriesdata")}}catch(e){o={error:e}}finally{try{A&&!A.done&&(l=w.return)&&l.call(w)}finally{if(o)throw o.error}}m++}}}catch(e){i={error:e}}finally{try{x&&!x.done&&(s=_.return)&&s.call(_)}finally{if(i)throw i.error}}if(this.ar&&b)try{for(var T=a.__values(r.fromEnum(v.keys)),D=T.next();!D.done;D=T.next()){var I=D.value;if(0==ee.k(I)){var L=v.item(I);null!==r.typeCast(r.HorizontalAnchoredCategorySeriesDescription.$,L)&&"XAxisSecondary"==L.xAxisRef&&(L.xAxisRef="XAxisPrimary",L.yAxisRef="YAxisPrimary")}}}catch(e){u={error:e}}finally{try{D&&!D.done&&(c=T.return)&&c.call(T)}finally{if(u)throw u.error}}this.al&&-1!=this.a7&&this.a7!=this.a4.count&&(h.axes=new Array(0),h.series=new Array(0),this.bw(h)),this.b4(p),this.b7(y),h.axes=p.a(),h.series=r.Enumerable.a(r.SeriesDescription.$,y),h.shouldAutoExpandMarginForInitialLabels=!0,h.shouldConsiderAutoRotationForInitialLabels=!0,h.autoMarginAndAngleUpdateMode="SizeChanging",this.bz(h);return h},s.prototype.o=function(){var e,t;this.ac.u("doughnutchart"),r.DoughnutChartDescriptionMetadata.d(this.k.context);var i=new r.DoughnutChartDescription;this.bc="Series '{Col}' Point '{Row}' Value: {Value}",this.ac.g(this.k,this.a8,"doughnutcharttooltip",this.bc);var s=0,o=new r.List$1(r.RingSeriesDescription.$,0);try{for(var l=a.__values(r.fromEnum(this.a4)),u=l.next();!u.done;u=l.next()){var c=u.value.a;if(null==c.values||c.values.getValues().length<1)s++;else{var h=r.typeCast(r.RingSeriesDescription.$,this.q(c,s,null));if(null==h)throw new r.NotSupportedException(1,this.ae._s("Error_UnsupportedSeriesType",r.EnumUtil.getName(n.SeriesType_$type,c.type)));h.startAngle=Math.max(-360,this.c.firstSliceAngle-90),o.add(h),h.tooltipTemplateRef="doughnutcharttooltip",h.brushes=ee.b(c,s),s++}}}catch(t){e={error:t}}finally{try{u&&!u.done&&(t=l.return)&&t.call(l)}finally{if(e)throw e.error}}i.innerExtent=this.c.doughnutHoleSize,i.series=r.Enumerable.a(r.RingSeriesDescription.$,o);var p=ee.r(this.c.plotArea._ap,this.ah);return 0==r.stringIsNullOrEmpty(p)?i.background=p:i.background="rgba(0, 0, 0, 0)",i},s.prototype.bp=function(){if(null!=this.c.legend){switch(r.LegendDescriptionModule.register(this.k.context),r.ItemLegendDescriptionModule.register(this.k.context),this.c.chartType){case 5:case 71:case-4102:case 70:case 69:case 68:case-4120:case 80:this.m=new r.ItemLegendDescription;break;default:this.m=new r.LegendDescription}this.m.name="legend";var e=ee.r(this.c.legend._af,this.ah);0==r.stringIsNullOrEmpty(e)?this.m.background=e:this.m.background="rgba(0, 0, 0, 0)"}},s.prototype.p=function(){this.ac.u("piechart"),r.PieChartDescriptionModule.register(this.k.context),this.bm();var e=new r.PieChartDescription;if(e.dataSourceRef="piedata",e.valueMemberPath="Value",e.labelMemberPath="CategoryName",e.legendRef="legend",e.startAngle=Math.max(-360,this.c.firstSliceAngle-90),this.bd="Series '{SeriesName}' Point '{CategoryName}' Value: {Value}",this.ac.g(this.k,this.a8,"piecharttooltip",this.bd),e.tooltipTemplateRef="piecharttooltip",this.a4.count>0){var t=this.a4._inner[0].a;e.brushes=ee.b(t,0);var i=0;e.explodedSlices=function(){var e=ee.a(t,0,i);return i=e.p2,e.ret}(),e.explodedRadius=Math.max(i,t.explosion)/100,e.othersCategoryThreshold=-17976931348623157e292}var a=ee.r(this.c.plotArea._ap,this.ah);return 0==r.stringIsNullOrEmpty(a)?e.background=a:e.background="rgba(0, 0, 0, 0)",e},s.prototype.q=function(e,t,r){switch(e.type){case 0:case 2:case 1:return this.z(e,t);case 3:return this.u(e,t);case 4:return this.aa(e,t,r);case 6:case 7:return this.ab(e,t,r)}return null},s.prototype.r=function(){if(!this.at)return null;this.ac.u("datachart"),r.DataChartFinancialDescriptionModule.register(this.k.context),r.DataChartCategoryDescriptionModule.register(this.k.context);var e=null;switch(this.bo(),this.c.chartType){case 88:if(0==this.av(1,1,0))throw new r.NotSupportedException(1,this.ae._s("Error_InvalidAxesCountOrTypeForChartType",r.EnumUtil.getName(n.ChartType_$type,this.c.chartType)));e=new r.DataChartDescription;var t=this.j(ee.j(0,this.c._axisCollection$i,this.ag)),i=this.s(ee.j(1,this.c._axisCollection$i,this.ag));e.axes=[t,i];var a=new r.List$1(r.SeriesDescription.$,0);a.add(this.w(t.name,i.name));var s=this.a4.count>0?this.a4._inner[0].a:null,o=this.a4.count>1?this.a4._inner[1].a:null,l=this.a4.count>2?this.a4._inner[2].a:null;this.bf(s,o,l,null,null,a,t.name,i.name),e.series=r.Enumerable.a(r.SeriesDescription.$,a);break;case 89:if(0==this.av(1,1,0))throw new r.NotSupportedException(1,this.ae._s("Error_InvalidAxesCountOrTypeForChartType",r.EnumUtil.getName(n.ChartType_$type,this.c.chartType)));e=new r.DataChartDescription;var u=this.j(ee.j(0,this.c._axisCollection$i,this.ag)),c=this.s(ee.j(1,this.c._axisCollection$i,this.ag));e.axes=[u,c];var h=new r.List$1(r.SeriesDescription.$,0);h.add(this.x(u.name,c.name));var p=this.a4.count>0?this.a4._inner[0].a:null,d=this.a4.count>1?this.a4._inner[1].a:null,f=this.a4.count>2?this.a4._inner[2].a:null,g=this.a4.count>3?this.a4._inner[3].a:null;this.bf(d,f,g,p,null,h,u.name,c.name),e.series=r.Enumerable.a(r.SeriesDescription.$,h);break;case 90:if(0==this.av(1,1,1))throw new r.NotSupportedException(1,this.ae._s("Error_InvalidAxesCountOrTypeForChartType",r.EnumUtil.getName(n.ChartType_$type,this.c.chartType)));e=new r.DataChartDescription;var y=this.j(ee.j(0,this.c._axisCollection$i,this.ag)),m=this.s(ee.j(1,this.c._axisCollection$i,this.ag)),b=this.t(ee.j(3,this.c._axisCollection$i,this.ag));e.axes=[y,m,b];var S=this.a4.count>0?this.a4._inner[0].a:null,v=this.a4.count>1?this.a4._inner[1].a:null,C=this.a4.count>2?this.a4._inner[2].a:null,_=this.a4.count>3?this.a4._inner[3].a:null,x=new r.List$1(r.SeriesDescription.$,0);x.add(this.y(S,y.name,b.name)),x.add(this.w(y.name,m.name)),this.bf(v,C,_,null,S,x,y.name,m.name,b.name),e.series=r.Enumerable.a(r.SeriesDescription.$,x);break;case 91:if(0==this.av(1,1,1))throw new r.NotSupportedException(1,this.ae._s("Error_InvalidAxesCountOrTypeForChartType",r.EnumUtil.getName(n.ChartType_$type,this.c.chartType)));e=new r.DataChartDescription;var k=this.j(ee.j(0,this.c._axisCollection$i,this.ag)),E=this.s(ee.j(1,this.c._axisCollection$i,this.ag)),w=this.t(ee.j(3,this.c._axisCollection$i,this.ag));e.axes=[k,E,w];var A=this.a4.count>0?this.a4._inner[0].a:null,$=this.a4.count>1?this.a4._inner[1].a:null,T=this.a4.count>2?this.a4._inner[2].a:null,D=this.a4.count>3?this.a4._inner[3].a:null,I=this.a4.count>4?this.a4._inner[4].a:null,L=new r.List$1(r.SeriesDescription.$,0);L.add(this.y(A,k.name,w.name)),L.add(this.x(k.name,E.name)),this.bf(T,D,I,$,A,L,k.name,E.name,w.name),e.series=r.Enumerable.a(r.SeriesDescription.$,L)}return null!=e&&this.bz(e),e},s.prototype.j=function(e){var t=new r.CategoryXAxisDescription;return t.name="XAxis",t.label="CategoryName",t.dataSourceRef="stockdata",t.tickLength=10,t.gap=.35,ee.x(t,e,this.ag),t.useClusteringMode=!0,t},s.prototype.s=function(e){var t=new r.NumericYAxisDescription;if(t.name="Prices",t.minimumValue=0,t.abbreviateLargeNumbers=!0,ee.x(t,e,this.ag),e.visible){var i="formatlabelstockchartaxis_"+t.name;this.ac.v(this.ag.a,this.ag.f,i,(function(t,i){if("number"==typeof i){var a=i,n=e._y();if(null!=n){var s=r.stringEmpty();if(o=n.v(a,e.tickLabels.numberFormat,s),s=o.p2,o.ret)return s}}var o;return i.toString()})),t.formatLabelRef=i}else t.formatLabelRef=r.stringEmpty();return t},s.prototype.t=function(e){var t=new r.NumericYAxisDescription;return t.name="Volume",t.minimumValue=0,t.abbreviateLargeNumbers=!0,ee.x(t,e,this.ag),t},s.prototype.v=function(e,t,i,a){var n=new r.LineSeriesDescription;return n.showDefaultTooltip=!0,this.b1(n,e),n.title=t,n.thickness=1,n.xAxisRef=i,n.yAxisRef=a,n.dataSourceRef="stockdata",n.valueMemberPath=t,n},s.prototype.y=function(e,t,i){var a=new r.ColumnSeriesDescription;return a.showDefaultTooltip=!0,this.b1(a,e),a.title="Volume",a.thickness=1,a.xAxisRef=t,a.yAxisRef=i,a.dataSourceRef="stockdata",a.valueMemberPath="Volume",a},s.prototype.x=function(e,t){var a=new r.FinancialPriceSeriesDescription;return a.displayType=r.EnumUtil.getName(i.PriceDisplayType_$type,0),a.showDefaultTooltip=!0,this.b2(a),a.title="Open High Low Close",a.thickness=1,a.xAxisRef=e,a.yAxisRef=t,a.dataSourceRef="stockdata",a.highMemberPath="High",a.lowMemberPath="Low",a.openMemberPath="Open",a.closeMemberPath="Close",a},s.prototype.w=function(e,t){var a=new r.FinancialPriceSeriesDescription;return a.displayType=r.EnumUtil.getName(i.PriceDisplayType_$type,1),this.b2(a),a.title="High Low Close",a.xAxisRef=e,a.yAxisRef=t,a.dataSourceRef="stockdata",a.highMemberPath="High",a.lowMemberPath="Low",a.openMemberPath="Open",a.closeMemberPath="Close",a.showDefaultTooltip=!0,a},s.prototype.ap=function(e){if(null==e.bubbleSizes)return!1;for(var t=e.bubbleSizes.getValues(),r=0;r<t.length;r++){var i=t[r];if(null==i||0==("number"==typeof i||"number"==typeof i))return!1}return!0},s.prototype.a5=function(){var e,t;if(null!=this.a0)return this.a0;this.a0=new r.List$1(W.$,0);try{for(var i=a.__values(r.fromEnum(this.a4)),n=i.next();!n.done;n=i.next()){var s=n.value,o=s.a;this.br(o);var l=void 0,u=void 0,c=this.bq(o,u,l,!0);u=c.p1,l=c.p2;var h=this.ap(o),p=null;h&&(p=o.bubbleSizes.getValues());for(var d=s.c,f=0;f<u.length;f++){var g="number"==typeof u[f]?u[f]:r.typeGetValue(u[f]),y="number"==typeof l[f]?l[f]:r.typeGetValue(l[f]),m=0;h&&(m="number"==typeof p[f]?p[f]:r.typeGetValue(p[f])),this.a0.add(new W(y,g,m,d))}0}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return this.a0},s.prototype.a6=function(){var e,t;if(null!=this.a1)return this.a1;this.a1=new r.List$1(Z.$,0);try{for(var i=a.__values(r.fromEnum(this.a4)),n=i.next();!n.done;n=i.next()){var s=n.value,o=s.a;this.br(o);var l=void 0,u=void 0,c=this.bq(o,u,l);u=c.p1,l=c.p2;for(var h=function(e){var t,i=s.c,a="number"==typeof u[e]?u[e]:r.typeGetValue(u[e]),n=e<l.length?l[e]:null,o=null==n?"":n.toString();p.a1.add(((t=new Z).Row=o,t.Col=i,t.Value=a,t))},p=this,d=0;d<u.length;d++)h(d);0}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return this.a1},s.prototype.bq=function(e,t,i,a){var n,s;void 0===a&&(a=!1);var o=e._dn(n,s);n=o.p0,s=o.p1;for(var l=n.length,u=0;u<l;u++){var c=n[u];n[u]="number"==typeof c||"number"==typeof c?c:0}l=s.length;for(var h=0;h<l;h++){var p=s[h];a?s[h]="number"==typeof p||"number"==typeof p?p:h+1:null==p||"string"==typeof p&&r.stringIsNullOrEmpty(p)?s[h]=h:s[h]=p}return{p1:n,p2:s}},s.prototype.br=function(e){},s.prototype.bs=function(){null!=this.a8&&0==this.ai&&(this.ai=this.ac.e(this.a8)),null!=this.bb&&0==this.am&&(this.am=this.ac.e(this.bb)),this.an&&this.bh()},s.prototype.bt=function(){var e=0,t=0,i=1,a=1,n=0,s=this.c.legend,o=null!=s?s.position:6;this.ac.t(this.f),null!=this.bb&&this.ac.h(this.bb,this.a8);var l=function(){return 1==o},u=function(){return 3==o},c=function(){return 0==o};u()?o=1:c()&&(o=2);var h=new r.List$1(ae.$,0),p=new r.List$1(ae.$,0);if(h.add(ae.a),n++,u()&&this.aq&&(h.add(ae.a),n++),h.add(new ae(2,1,2)),c()&&this.aq&&h.add(ae.a),l()&&this.aq&&p.add(ae.a),p.add(new ae(2,1,2)),2!=o&&4!=o||!this.aq||p.add(ae.a),this.ac.k(this.f,r.Enumerable.a(ae.$,h),r.Enumerable.a(ae.$,p)),this.aq)switch(o){case 3:e=n-1,i=1,t=0,a=1;break;case 0:case 5:case 6:e=2,i=1,t=0,a=1;break;case 1:e=n,i=1,t=0,a=1;break;case 2:case 4:e=n,i=1,t=1,a=1}if(0,1,0,2,this.ac.s(this.f,this.a8,5,!0,n,this.aq&&l()?1:0),this.aq){var d=1,f=0,g=1;switch(o){case 3:d=5;break;case 0:case 5:d=5;break;case 1:case 2:d=0,f=12;break;case 4:d=0,f=13,g=0}this.ac.s(this.f,this.bb,d,!0,e,t,i,a,3,g,f)}if(null!=this.c.chartTitle&&null!=this.ad){null==this.ba&&(this.ba=this.ac.n());var y=null!=this.ba;null==this.a9?(this.a9=this.ad(this.c,null),y&&this.ac.c(this.a9,this.ba,0)):this.a9=this.ad(this.c,this.a9),y?this.ac.s(this.f,this.ba,5,!0,0,0,1,2):this.ac.s(this.f,this.a9,5,!0,0,0,1,2,1,3)}},s.prototype.bu=function(){null!=this.ay&&(this.ay.clear(),this.ay=null),null!=this.ax&&(this.ax.clear(),this.ax=null),null!=this.a2&&(this.a2.clear(),this.a2=null),null!=this.az&&(this.az.clear(),this.az=null),null!=this.a1&&(this.a1.clear(),this.a1=null),null!=this.a0&&(this.a0.clear(),this.a0=null),null!=this.a3&&(this.a3.clear(),this.a3=null),null!=this.a8&&this.ac.d(this.k,this.a8),null!=this.bb&&this.ac.d(this.k,this.bb),this.aj=!0},s.prototype.bv=function(){this.l=null,this.m=null,this.ak=!0},s.prototype.bw=function(e){void 0===e&&(e=null);var t=null==e?this.l:e;null!=t&&null!=this.a8&&this.ac.x(this.k,t,this.a8)},s.prototype.bx=function(){null!=this.m&&this.ac.x(this.k,this.m,this.bb)},s.prototype.by=function(){0!=this.aq?null!==r.typeCast(r.SeriesViewerDescription.$,this.l)&&(this.l.legendRef="legend"):null!==r.typeCast(r.SeriesViewerDescription.$,this.l)&&(this.l.legendRef=null)},s.prototype.bz=function(e){e.background="rgba(0, 0, 0, 0)";var t=ee.r(this.c.plotArea._ap,this.ah);0==r.stringIsNullOrEmpty(t)?e.plotAreaBackground=t:(t=ee.r(this.c.chartArea._ap,this.ah),0==r.stringIsNullOrEmpty(t)&&(e.plotAreaBackground=t))},s.prototype.b0=function(e,t){if(null!==r.typeCast(r.MarkerSeriesDescription.$,e)||null!==r.typeCast(r.StackedFragmentSeriesDescription.$,e)){var a=1;if(null!==r.typeCast(r.BubbleSeriesDescription.$,e))a=3;else switch(t.markerStyle){case-4105:a=2;break;case 8:a=3;break;case-4115:a=6;break;case 2:a=7;break;case-4118:a=3;break;case-4142:a=1;break;case-4147:a=3;break;case 9:a=10;break;case 1:a=6;break;case 5:a=11;break;case 3:case-4168:a=4}if(2==a&&null!==r.typeCast(r.BubbleSeriesDescription.$,e)&&87==t.chartType)return e.markerBrush="rgba(0,162,232,1)",void(e.markerOutline="rgba(0, 0, 0, 0)");var n=r.Enumerable.af(K.$,r.Enumerable.u(K.$,this.a4,(function(e){return e.a==t}))).b;if(null!==r.typeCast(r.MarkerSeriesDescription.$,e)){e.markerType=r.EnumUtil.getName(i.MarkerType_$type,a);var s=ee.r(t._ar(n),this.ah);0==r.stringIsNullOrEmpty(s)&&(e.markerBrush=s),null!=t.markerBorder&&(s=ee.r(t.markerBorder._ap,this.ah),0==r.stringIsNullOrEmpty(s)&&(e.markerOutline=s))}else if(null!==r.typeCast(r.StackedFragmentSeriesDescription.$,e)){e.markerType=r.EnumUtil.getName(i.MarkerType_$type,a);var o=ee.r(t._ar(n),this.ah);0==r.stringIsNullOrEmpty(o)&&(e.markerBrush=o),null!=t.markerBorder&&(o=ee.r(t.markerBorder._ap,this.ah),0==r.stringIsNullOrEmpty(o)&&(e.markerOutline=o))}}},s.prototype.b1=function(e,t){var i=r.Enumerable.af(K.$,r.Enumerable.u(K.$,this.a4,(function(e){return e.a==t})));if(null!=i){var a=i.b,n=null!==r.typeCast(r.StackedSeriesBaseDescription.$,e);if(0==n)if(2==t.type){if(null!=t.line){var s=ee.r(t._aq(a),this.ah);0==r.stringIsNullOrEmpty(s)&&(e.brush=s)}}else{var o=ee.r(t._ao(a),this.ah);0==r.stringIsNullOrEmpty(o)&&(e.brush=o)}if(null!=t.border){var l=ee.r(t.border._ap,this.ah);0==r.stringIsNullOrEmpty(l)?e.outline=l:e.outline="rgba(0, 0, 0, 0)",e.thickness=ee.n(t.border.widthInPoints,this.ah,!1)}else e.outline="rgba(0, 0, 0, 0)";if(null!=t.line&&(e.thickness=ee.n(t.line.widthInPoints,this.c.worksheet.workbook,!1)),0==n&&this.b0(e,t),null!=t._trendlineCollection$i&&t._trendlineCollection$i.count>0){var u=t._trendlineCollection$i.item(0),c=r.EnumUtil.getName(r.TrendLineType_$type,ee.e(u.trendlineType,u.order)),h=u.period,p=ee.r(u.line._as(a),this.ah),d=ee.n(u.line.widthInPoints,this.ah,!1);(null!==r.typeCast(r.AnchoredCategorySeriesDescription.$,e)||null!==r.typeCast(r.ScatterBaseDescription.$,e)||null!==r.typeCast(r.PolarBaseDescription.$,e))&&(e.trendLineType=c,e.trendLinePeriod=h,e.trendLineBrush=p,e.trendLineThickness=d)}}},s.prototype.z=function(e,t){r.DataChartCategoryCoreDescriptionModule.register(this.k.context),r.DataChartCategoryDescriptionModule.register(this.k.context),r.DataChartVerticalCategoryDescriptionModule.register(this.k.context);var i=null;switch(e.chartType){case 52:i=new r.StackedColumnSeriesDescription;break;case 53:i=new r.Stacked100ColumnSeriesDescription;break;case 51:i=new r.ColumnSeriesDescription;break;case 58:i=new r.StackedBarSeriesDescription;break;case 59:i=new r.Stacked100BarSeriesDescription;break;case 57:i=new r.BarSeriesDescription;break;case 4:case 65:i=new r.LineSeriesDescription;break;case 63:case 66:i=new r.StackedLineSeriesDescription;break;case 64:case 67:i=new r.Stacked100LineSeriesDescription;break;case 1:i=new r.AreaSeriesDescription;break;case 76:i=new r.StackedAreaSeriesDescription;break;case 77:i=new r.Stacked100AreaSeriesDescription}null!==r.typeCast(r.StackedSeriesBaseDescription.$,i)?(this.b3(r.typeCast(r.StackedSeriesBaseDescription.$,i)),(null!==r.typeCast(r.HorizontalStackedSeriesBaseDescription.$,i)||null!==r.typeCast(r.VerticalStackedSeriesBaseDescription.$,i))&&(i.xAxisRef=1==e.axisGroup?"XAxisPrimary":"XAxisSecondary",i.yAxisRef=1==e.axisGroup?"YAxisPrimary":"YAxisSecondary")):(this.bk(1),i.dataSourceRef=r.stringFormat("groupedseriesdata{0}",t),this.b1(i,e),(null!==r.typeCast(r.VerticalAnchoredCategorySeriesDescription.$,i)||null!==r.typeCast(r.HorizontalAnchoredCategorySeriesDescription.$,i))&&(i.xAxisRef=1==e.axisGroup?"XAxisPrimary":"XAxisSecondary",i.yAxisRef=1==e.axisGroup?"YAxisPrimary":"YAxisSecondary"),i.valueMemberPath="Value");var a=r.Enumerable.af(K.$,r.Enumerable.u(K.$,this.a4,(function(t){return t.a==e})));return i.name=a.c,i.title=a.d,i.showDefaultTooltip=!0,i},s.prototype.b2=function(e){null!=this.c.upDownBars&&(e.brush=ee.r(this.c.upDownBars.upBar._ad,this.ah),e.outline=ee.r(this.c.upDownBars.upBar.border._ap,this.ah),e.negativeBrush=ee.r(this.c.upDownBars.downBar._ad,this.ah),e.negativeOutline=ee.r(this.c.upDownBars.downBar.border._ap,this.ah))},s.prototype.u=function(e,t){r.RingSeriesBaseDescriptionMetadata.d(this.k.context),r.RingSeriesDescriptionMetadata.d(this.k.context),r.HierarchicalRingSeriesDescriptionMetadata.d(this.k.context),this.bk(1);var i=new r.RingSeriesDescription;return i.valueMemberPath="Value",i.labelMemberPath="Row",i.dataSourceRef=r.stringFormat("groupedseriesdata{0}",t),i.tooltipTemplateRef="doughnutcharttooltip",i.brushes=ee.b(e,t),0==t&&(i.legendRef="legend"),i},s.prototype.aa=function(e,t,i){r.DataChartCategoryCoreDescriptionModule.register(this.k.context),r.DataChartCategoryDescriptionModule.register(this.k.context),r.DataChartVerticalCategoryDescriptionModule.register(this.k.context),r.DataChartRadialCoreDescriptionModule.register(this.k.context),r.DataChartRadialDescriptionModule.register(this.k.context);var a=null;switch(e.chartType){case-4151:case 81:a=new r.RadialLineSeriesDescription;break;case 82:a=new r.RadialAreaSeriesDescription}this.bk(1),a.dataSourceRef=r.stringFormat("groupedseriesdata{0}",t),this.b1(a,e),a.angleAxisRef="CategoryAngleAxis",a.valueAxisRef="NumericRadiusAxis",a.valueMemberPath="Value";var n=r.Enumerable.af(K.$,r.Enumerable.u(K.$,this.a4,(function(t){return t.a==e})));return a.name=n.c,a.title=n.d,a.showDefaultTooltip=!0,this.ar&&i.m(1==e.axisGroup,this.ag),a},s.prototype.ab=function(e,t,i){r.DataChartScatterDescriptionModule.register(this.k.context),this.bj();var a=null,n=e.chartType;if(7==e.type)a=new r.BubbleSeriesDescription;else switch(n){case-4169:a=new r.ScatterSeriesDescription;break;case 74:case 75:a=new r.ScatterLineSeriesDescription;break;case 72:case 73:a=new r.ScatterSplineSeriesDescription}(a.showDefaultTooltip=!0,this.b1(a,e),a.name=r.Enumerable.af(K.$,r.Enumerable.u(K.$,this.a4,(function(t){return t.a==e}))).c,a.title=r.Enumerable.af(K.$,r.Enumerable.u(K.$,this.a4,(function(t){return t.a==e}))).d,this.ar?(a.xAxisRef=1==e.axisGroup?"XAxisPrimary":"XAxisSecondary",a.yAxisRef=1==e.axisGroup?"YAxisPrimary":"YAxisSecondary"):(a.xAxisRef="XAxisPrimary",a.yAxisRef="YAxisSecondary"),a.dataSourceRef=r.stringFormat("groupedscatterseriesdata{0}",t),a.yMemberPath="Y",a.xMemberPath="X",7==e.type)&&(null!=e.bubbleSizes&&0!=e.bubbleSizes.getValues().length&&(a.radiusMemberPath="Radius"));this.ar&&i.n(1==e.axisGroup,this.ag);var s=ee.r(e._aq(t),this.ah);return 0==r.stringIsNullOrEmpty(s)&&(a.brush=s),s=ee.r(e._ar(t),this.ah),0==r.stringIsNullOrEmpty(s)&&(a.markerBrush=s),a},s.prototype.b3=function(e){r.DataChartStackedDescriptionModule.register(this.k.context),this.bn();for(var t=this.a4.count,i=new r.List$1(r.StackedFragmentSeriesDescription.$,0),a=0;a<t;a++){var s=this.a4._inner[a].a;if(0!=r.stringContains(r.EnumUtil.getName(n.ChartType_$type,s.chartType),"Stacked")){var o=new r.StackedFragmentSeriesDescription;if(o.valueMemberPath=r.stringFormat("SeriesValues[{0}]",a.toString()),2==s.type){if(null!=s.line){var l=ee.r(s._aq(a),this.ah);0==r.stringIsNullOrEmpty(l)&&(o.brush=l)}}else{var u=ee.r(s._ao(a),this.ah);0==r.stringIsNullOrEmpty(u)&&(o.brush=u)}if(null!=s.border){var c=ee.r(s.border._ap,this.ah);0==r.stringIsNullOrEmpty(c)?o.outline=c:o.outline="rgba(0, 0, 0, 0)",o.thickness=ee.n(s.border.widthInPoints,this.ah,!1)}else o.outline="rgba(0, 0, 0, 0)";this.b0(o,s),o.name=ee.v(s,a+1)+"_stacked",o.title=ee.w(s,a+1),i.add(o)}}e.dataSourceRef="stackedseriesdata",this.b8(i),e.series=r.Enumerable.a(r.StackedFragmentSeriesDescription.$,i)},s.prototype.au=function(e){var t,r,i=this.bq(e,r,t);if(r=i.p1,t=i.p2,null==r||r.length<1)return!0;if(null==e.values)return!0;var a=!0;r=e.values.getValues();for(var n=0;n<r.length;n++){if(null!=r[n]){a=!1;break}}return a},s.prototype.b4=function(e){var t,i;try{for(var n=a.__values(r.fromEnum(e.b)),s=n.next();!s.done;s=n.next()){s.value.a.rangeChangedRef=r.stringEmpty()}}catch(e){t={error:e}}finally{try{s&&!s.done&&(i=n.return)&&i.call(n)}finally{if(t)throw t.error}}if(!(e.f.count<1&&e.g.count<1))for(var o=function(e){var t,i;try{for(var n=a.__values(r.fromEnum(e)),s=n.next();!s.done;s=n.next()){if(null==s.value.b.majorGridLines)return!1}}catch(e){t={error:e}}finally{try{s&&!s.done&&(i=n.return)&&i.call(n)}finally{if(t)throw t.error}}return!0},l=0;l<2;l++){var u=null,c=r.stringEmpty();if(0==l){if(!((u=e.f).count>1&&o(u)))continue;c="syncrange_xaxis"}else{if(!((u=e.g).count>1&&o(u)))continue;c="syncrange_yaxis"}u._inner[0].a.rangeChangedRef=c,u._inner[1].a.rangeChangedRef=c;this.ac.w(this.k,this.a8,c,(function(e,t){var i=r.truncate(Math.floor(r.log10(e))),a=e/Math.pow(10,i);return t?(a<1.5?1:a<3?2:a<7?5:10)*Math.pow(10,i):(a<=1?1:a<=2?2:a<=5?5:10)*Math.pow(10,i)}))}},s.prototype.b5=function(e,t,i){var n,s,o,l,u,c,h=new r.Dictionary$2(r.String_$type,r.Number_$type,0),p=new r.Dictionary$2(r.String_$type,r.Number_$type,0);try{for(var d=a.__values(r.fromEnum(t)),f=d.next();!f.done;f=d.next()){var g=f.value,y=r.stringEmpty(),m=r.stringEmpty();null!==r.typeCast(r.StackedSeriesBaseDescription.$,g)?(null!==r.typeCast(r.HorizontalStackedSeriesBaseDescription.$,g)||null!==r.typeCast(r.VerticalStackedSeriesBaseDescription.$,g))&&(y=g.xAxisRef,m=g.yAxisRef):(null!==r.typeCast(r.ScatterBaseDescription.$,g)||null!==r.typeCast(r.VerticalAnchoredCategorySeriesDescription.$,g)||null!==r.typeCast(r.HorizontalAnchoredCategorySeriesDescription.$,g))&&(y=g.xAxisRef,m=g.yAxisRef),0==h.containsKey(y)&&h.addItem(y,17976931348623157e292),0==h.containsKey(m)&&h.addItem(m,17976931348623157e292),0==p.containsKey(y)&&p.addItem(y,-17976931348623157e292),0==p.containsKey(m)&&p.addItem(m,-17976931348623157e292);var b=i.item(g),S=17976931348623157e292,v=-17976931348623157e292,C=void 0,_=void 0,x=this.bq(b,_,C);_=x.p1,C=x.p2;for(var k=0;k<_.length;k++){var E=_[k];if("number"==typeof E){var w=r.Convert.toDouble3(E);S=Math.min(S,w),v=Math.max(v,w)}}var A=h.item(y);h.item(y,Math.min(S,A)),A=h.item(m),h.item(m,Math.min(S,A)),A=p.item(y),p.item(y,Math.max(v,A)),A=p.item(m),p.item(m,Math.max(v,A))}}catch(e){n={error:e}}finally{try{f&&!f.done&&(s=d.return)&&s.call(d)}finally{if(n)throw n.error}}var $=-17976931348623157e292,T=17976931348623157e292,D=-17976931348623157e292,I=17976931348623157e292,L=0,N=0;try{for(var M=a.__values(r.fromEnum(e.b)),R=M.next();!R.done;R=M.next()){var F=R.value;if(null!==r.typeCast(r.StraightNumericAxisBaseDescription.$,F.a)){if(F.b.minimumScaleIsAuto){var P=Math.floor(h.item(F.a.name));F.a.minimumValue=P,F.j?(N++,I=Math.min(I,P)):(L++,T=Math.min(T,P))}if(F.b.maximumScaleIsAuto){var O=Math.ceil(p.item(F.a.name));F.a.maximumValue=O,F.j?(N++,D=Math.max(D,O)):(L++,$=Math.max($,O))}}}}catch(e){o={error:e}}finally{try{R&&!R.done&&(l=M.return)&&l.call(M)}finally{if(o)throw o.error}}var j=function(e,t,r){return Math.abs(r-t)/(t-e)<=.1},z=function(e,t,r){return Math.abs(r-e)/(t-e)<=.1};try{for(var V=a.__values(r.fromEnum(e.b)),B=V.next();!B.done;B=V.next()){var U=B.value;if(null!==r.typeCast(r.StraightNumericAxisBaseDescription.$,U.a)){if(U.b.minimumScaleIsAuto)if(U.j){if(N>1){var q=U.a.minimumValue;q!=I&&z(I,D,q)&&(U.a.minimumValue=I)}}else if(L>1){var G=U.a.minimumValue;G!=T&&z(T,$,G)&&(U.a.minimumValue=T)}if(U.b.maximumScaleIsAuto)if(U.j){if(N>1){var H=U.a.maximumValue;H!=I&&j(I,D,H)&&(U.a.maximumValue=D)}}else if(L>1){var X=U.a.maximumValue;X!=T&&z(T,$,X)&&(U.a.maximumValue=$)}}}}catch(e){u={error:e}}finally{try{B&&!B.done&&(c=V.return)&&c.call(V)}finally{if(u)throw u.error}}},s.prototype.b6=function(){this.ae._e.contains(this.c.chartType)},s.prototype.av=function(e,t,i){var n,s,o=0,l=0,u=0;try{for(var c=a.__values(r.fromEnum(this.c._axisCollection$i)),h=c.next();!h.done;h=c.next()){var p=h.value;1==p.type&&p.visible?o++:1==p.axisGroup&&p.visible?l++:2==p.axisGroup&&p.visible&&u++}}catch(e){n={error:e}}finally{try{h&&!h.done&&(s=c.return)&&s.call(c)}finally{if(n)throw n.error}}return o==e&&l==t&&u==i},s.prototype.b7=function(e){var t,i,n=new r.HashSet$1(r.String_$type,0);try{for(var s=a.__values(r.fromEnum(e)),o=s.next();!o.done;o=s.next()){for(var l=o.value,u=l.name;n.contains(u);)u=l.name+this.ag.e().toString();n.add_1(u),l.name!=u&&(l.name=u)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(i=s.return)&&i.call(s)}finally{if(t)throw t.error}}},s.prototype.b8=function(e){var t,i,n=new r.HashSet$1(r.String_$type,0);try{for(var s=a.__values(r.fromEnum(e)),o=s.next();!o.done;o=s.next()){for(var l=o.value,u=l.name;n.contains(u);)u=l.name+this.ag.e().toString();n.add_1(u),l.name!=u&&(l.name=u)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(i=s.return)&&i.call(s)}finally{if(t)throw t.error}}},s.$t=r.markType(s,"SpreadsheetChartAdapter_SpreadsheetChartElementInfoPrivate",t.SpreadsheetChartElementInfo.$),s}(t.SpreadsheetChartElementInfo),oe=r.markEnum("AnchorStyle","None,0|Top,1|Bottom,2|Left,4|Right,8"),le=r.markEnum("AxisGroupType","PrimaryX,0|PrimaryY,1|SecondaryX,2|SecondaryY,3"),ue=r.markEnum("DockingStyle","None,0|Top,1|Bottom,2|Left,3|Right,4|Fill,5"),ce=r.markEnum("HAlign","Left,0|Center,1|Right,2|Stretch,3"),he=r.markEnum("RowColUnitType","Auto,0|Pixel,1|Star,2"),pe=r.markEnum("VAlign","Top,0|Center,1|Bottom,2|Stretch,3"),de=r.markEnum("SpreadsheetChartAdapter_GroupedSeriesOrderBy","Row,0|Col,1");e.AnchorStyle_$type=oe,e.AxisGroupType_$type=le,e.AxisInfo=J,e.AxisInfos=ie,e.ChartElementPlatformHelper=Y,e.ChartSeriesInfo=K,e.DockingStyle_$type=ue,e.HAlign_$type=ce,e.IgcSpreadsheetChartAdapterLocaleBgModule=u,e.IgcSpreadsheetChartAdapterLocaleCsModule=h,e.IgcSpreadsheetChartAdapterLocaleDaModule=d,e.IgcSpreadsheetChartAdapterLocaleDeModule=g,e.IgcSpreadsheetChartAdapterLocaleEnModule=H,e.IgcSpreadsheetChartAdapterLocaleEsModule=m,e.IgcSpreadsheetChartAdapterLocaleFrModule=S,e.IgcSpreadsheetChartAdapterLocaleHuModule=C,e.IgcSpreadsheetChartAdapterLocaleItModule=x,e.IgcSpreadsheetChartAdapterLocaleJaModule=E,e.IgcSpreadsheetChartAdapterLocaleNbModule=A,e.IgcSpreadsheetChartAdapterLocaleNlModule=T,e.IgcSpreadsheetChartAdapterLocalePlModule=I,e.IgcSpreadsheetChartAdapterLocalePtModule=N,e.IgcSpreadsheetChartAdapterLocaleRoModule=R,e.IgcSpreadsheetChartAdapterLocaleRuModule=P,e.IgcSpreadsheetChartAdapterLocaleSvModule=j,e.IgcSpreadsheetChartAdapterLocaleTrModule=V,e.IgcSpreadsheetChartAdapterLocaleZhHansModule=U,e.IgcSpreadsheetChartAdapterLocaleZhHantModule=G,e.IgcSpreadsheetChartAdapterModule=o,e.RowColLength=ae,e.RowColUnitType_$type=he,e.SpreadsheetChartAdapter=ne,e.SpreadsheetChartAdapterHelpers=ee,e.SpreadsheetChartAdapterLocaleBg=l,e.SpreadsheetChartAdapterLocaleCs=c,e.SpreadsheetChartAdapterLocaleDa=p,e.SpreadsheetChartAdapterLocaleDe=f,e.SpreadsheetChartAdapterLocaleEn=s,e.SpreadsheetChartAdapterLocaleEs=y,e.SpreadsheetChartAdapterLocaleFr=b,e.SpreadsheetChartAdapterLocaleHu=v,e.SpreadsheetChartAdapterLocaleIt=_,e.SpreadsheetChartAdapterLocaleJa=k,e.SpreadsheetChartAdapterLocaleNb=w,e.SpreadsheetChartAdapterLocaleNl=$,e.SpreadsheetChartAdapterLocalePl=D,e.SpreadsheetChartAdapterLocalePt=L,e.SpreadsheetChartAdapterLocaleRo=M,e.SpreadsheetChartAdapterLocaleRu=F,e.SpreadsheetChartAdapterLocaleSv=O,e.SpreadsheetChartAdapterLocaleTr=z,e.SpreadsheetChartAdapterLocaleZhHans=B,e.SpreadsheetChartAdapterLocaleZhHant=q,e.SpreadsheetChartAdapterState=X,e.SpreadsheetChartAdapter_GroupedSeriesOrderBy_$type=de,e.SpreadsheetChartAdapter_PieDataItem=te,e.SpreadsheetChartAdapter_ScatterSeriesDataItem=W,e.SpreadsheetChartAdapter_SeriesDataItem=Z,e.SpreadsheetChartAdapter_SpreadsheetChartElementInfoPrivate=se,e.SpreadsheetChartAdapter_StackedSeriesDataItem=Q,e.SpreadsheetChartAdapter_StockDataItem=re,e.VAlign_$type=pe,Object.defineProperty(e,"__esModule",{value:!0})}));
7
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("igniteui-webcomponents-spreadsheet"),require("igniteui-webcomponents-core"),require("igniteui-webcomponents-charts"),require("tslib"),require("igniteui-webcomponents-excel")):"function"==typeof define&&define.amd?define(["exports","igniteui-webcomponents-spreadsheet","igniteui-webcomponents-core","igniteui-webcomponents-charts","tslib","igniteui-webcomponents-excel"],t):t((e=e||self)["igniteui-webcomponents-spreadsheet-chart-adapter"]={},e.igniteuiWebcomponentsSpreadsheet,e.igniteuiWebcomponentsCore,e.igniteuiWebcomponentsCharts,e.tslib,e.igniteuiWebcomponentsExcel)}(this,(function(e,t,r,i,a,n){"use strict";var s=function(){return function(){this.Error_CannotDetermineSeriesForChartType="Cannot determine Series for Chart type '{0}'.",this.Error_ChartTypeNotSupportedForRendering="Chart type '{0}' is not currently supported for rendering.",this.Error_ErrorSettingAxesForSeries="Exception while setting axes for Series type '{0}'.",this.Error_InvalidAxesCountOrTypeForChartType="Invalid Excel Axes Count/Types for chart type: '{0}'.",this.Error_UnsupportedSeriesType="Unsupported series type '{0}'."}}(),o=function(){function e(){}return e.register=function(){t.IgcSpreadsheetModule.register(),i.IgcDataChartCoreModule.register(),i.IgcPieChartModule.register(),i.IgcLineSeriesModule.register(),i.IgcAreaSeriesModule.register(),i.IgcColumnSeriesModule.register(),i.IgcBarSeriesModule.register(),i.IgcSplineSeriesModule.register(),i.IgcSplineAreaSeriesModule.register(),i.IgcStepLineSeriesModule.register(),i.IgcStepAreaSeriesModule.register(),i.IgcPointSeriesModule.register(),i.IgcWaterfallSeriesModule.register(),i.IgcCrosshairLayerModule.register(),i.IgcCalloutLayerModule.register(),i.IgcItemToolTipLayerModule.register(),i.IgcCategoryToolTipLayerModule.register(),i.IgcCategoryHighlightLayerModule.register(),i.IgcCategoryItemHighlightLayerModule.register(),i.IgcFinalValueLayerModule.register(),i.IgcNumberAbbreviatorModule.register(),i.IgcDataChartInteractivityModule.register(),i.IgcDataChartCategoryTrendLineModule.register(),i.IgcDataChartAnnotationModule.register(),i.IgcDoughnutChartModule.register(),i.IgcCategoryXAxisModule.register(),i.IgcNumericYAxisModule.register(),i.IgcCategoryDateTimeXAxisModule.register(),i.IgcTimeXAxisModule.register(),i.IgcOrdinalTimeXAxisModule.register(),i.IgcNumericRadiusAxisModule.register(),i.IgcNumericAngleAxisModule.register(),i.IgcCategoryAngleAxisModule.register(),i.IgcCategoryYAxisModule.register(),i.IgcNumericXAxisModule.register(),i.IgcRadialColumnSeriesModule.register(),i.IgcRadialPieSeriesModule.register(),i.IgcRadialLineSeriesModule.register(),i.IgcRadialAreaSeriesModule.register(),i.IgcPolarLineSeriesModule.register(),i.IgcPolarSplineSeriesModule.register(),i.IgcPolarAreaSeriesModule.register(),i.IgcPolarSplineAreaSeriesModule.register(),i.IgcPolarScatterSeriesModule.register(),i.IgcRangeAreaSeriesModule.register(),i.IgcRangeColumnSeriesModule.register(),i.IgcPercentChangeYAxisModule.register(),i.IgcFinancialPriceSeriesModule.register(),i.IgcIndicatorsModule.register(),i.IgcOverlaysModule.register(),i.IgcZoomSliderModule.register(),i.IgcFinancialLegendModule.register(),i.IgcLegendModule.register(),i.IgcItemLegendModule.register(),i.IgcScatterSeriesModule.register(),i.IgcScatterLineSeriesModule.register(),i.IgcScatterSplineSeriesModule.register(),i.IgcBubbleSeriesModule.register(),i.IgcStackedAreaSeriesModule.register(),i.IgcStackedBarSeriesModule.register(),i.IgcStackedColumnSeriesModule.register(),i.IgcStackedLineSeriesModule.register(),i.IgcStacked100AreaSeriesModule.register(),i.IgcStacked100BarSeriesModule.register(),i.IgcStacked100ColumnSeriesModule.register(),i.IgcStacked100LineSeriesModule.register(),i.IgcStackedFragmentSeriesModule.register(),i.IgcAreaFragmentModule.register(),i.IgcRingSeriesModule.register(),i.IgcColumnFragmentModule.register(),i.IgcLineFragmentModule.register(),i.IgcSplineFragmentModule.register(),i.IgcSplineAreaFragmentModule.register(),i.IgcBarFragmentModule.register(),r.Localization.register("spreadsheetchartadapter",new s)},e}(),l=function(){return function(){this.Error_CannotDetermineSeriesForChartType="Не могат да бъдат определени Series за Chart типа '{0}'.",this.Error_ChartTypeNotSupportedForRendering="Не се поддържа рендериране за Chart типа '{0}'.",this.Error_ErrorSettingAxesForSeries="Грешка при задаването на осите на типа Series '{0}'.",this.Error_InvalidAxesCountOrTypeForChartType="Невалиден брой оси/типове за тип диаграма: '{0}'.",this.Error_UnsupportedSeriesType="Неподдържан тип на сериите: '{0}'.",this.LIT_DefaultChartTitle="Име на диаграмата"}}(),u=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-bg",new l)},e}(),c=function(){return function(){this.Error_CannotDetermineSeriesForChartType="Pro typ grafu '{0}' nelze určit řadu.",this.Error_ChartTypeNotSupportedForRendering="Typ grafu '{0}' není momentálně pro vykreslování podporován.",this.Error_ErrorSettingAxesForSeries="Výjimka při nastavování os pro typ série '{0}'.",this.Error_InvalidAxesCountOrTypeForChartType="Neplatný počet / typy os Excel pro typ grafu: '{0}'.",this.Error_UnsupportedSeriesType="Nepodporovaný typ série '{0}'."}}(),h=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-cs",new c)},e}(),p=function(){return function(){this.Error_CannotDetermineSeriesForChartType="Kan ikke bestemme serien for diagramtypen '{0}'.",this.Error_ChartTypeNotSupportedForRendering="Diagramtypen '{0}' understøttes i øjeblikket ikke til gengivelse.",this.Error_ErrorSettingAxesForSeries="Undtagelse ved indstilling af akser til serietype '{0}'.",this.Error_InvalidAxesCountOrTypeForChartType="Ugyldigt antal/type af Excel-akser for diagramtype: '{0}'.",this.Error_UnsupportedSeriesType="Ikke-understøttet serietype '{0}'."}}(),d=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-da",new p)},e}(),f=function(){return function(){this.Error_CannotDetermineSeriesForChartType="Serie für Diagrammtyp '{0}‘ kann nicht bestimmt werden.",this.Error_ChartTypeNotSupportedForRendering="Diagrammtyp '{0}' wird derzeit nicht für das Rendern unterstützt.",this.Error_ErrorSettingAxesForSeries="Ausnahme beim Einstellen der Achsen für Reihentyp '{0}'.",this.Error_InvalidAxesCountOrTypeForChartType="Ungültige Excel-Achsenanzahl/Typen für Diagrammtyp: '{0}'.",this.Error_UnsupportedSeriesType="Nicht unterstützter Reihentyp '{0}'."}}(),g=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-de",new f)},e}(),y=function(){return function(){this.Error_CannotDetermineSeriesForChartType="No se puede determinar la serie para el tipo de gráfico '{0}'.",this.Error_ChartTypeNotSupportedForRendering="El tipo de gráfico '{0}' no es compatible actualmente para la representación.",this.Error_ErrorSettingAxesForSeries="Excepción al establecer los ejes para el tipo de serie '{0}'.",this.Error_InvalidAxesCountOrTypeForChartType="Recuento/tipos de ejes de Excel no válidos para el tipo de gráfico: '{0}'.",this.Error_UnsupportedSeriesType="Tipo de serie '{0}' no compatible."}}(),m=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-es",new y)},e}(),b=function(){return function(){this.Error_CannotDetermineSeriesForChartType="Impossible de déterminer une série pour le type de graphique '{0}'.",this.Error_ChartTypeNotSupportedForRendering="Le type de graphique '{0}’ n’est actuellement pas pris en charge pour l’affichage.",this.Error_ErrorSettingAxesForSeries="Exception lors du réglage des axes pour le type de série '{0}'.",this.Error_InvalidAxesCountOrTypeForChartType="Nombre/types d’axes Excel non valides pour le type de graphique : '{0}'.",this.Error_UnsupportedSeriesType="Type de série non pris en charge '{0}'."}}(),S=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-fr",new b)},e}(),v=function(){return function(){this.Error_CannotDetermineSeriesForChartType="Nem lehet meghatározni a(z) '{0}' diagramtípus adatsorát.",this.Error_ChartTypeNotSupportedForRendering="A(z) '{0}' diagramtípus megjelenítése jelenleg nem támogatott.",this.Error_ErrorSettingAxesForSeries="Kivétel a(z) '{0}' adatsortípushoz tartozó tengelyek beállítása során.",this.Error_InvalidAxesCountOrTypeForChartType="Érvénytelen Excel tengelyszám/tengelytípus a(z) {0} diagramtípushoz.",this.Error_UnsupportedSeriesType="Nem támogatott adatsortípus: {0}."}}(),C=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-hu",new v)},e}(),_=function(){return function(){this.Error_CannotDetermineSeriesForChartType="Impossibile determinare la serie per il tipo di grafico '{0}'.",this.Error_ChartTypeNotSupportedForRendering="Il tipo di grafico '{0}' non è attualmente supportato per il rendering.",this.Error_ErrorSettingAxesForSeries="Eccezione durante l'impostazione degli assi per il tipo di serie '{0}'.",this.Error_InvalidAxesCountOrTypeForChartType="Conteggio / tipi di assi Excel non validi per il tipo di grafico: '{0}'.",this.Error_UnsupportedSeriesType="Tipo di serie non supportato '{0}'."}}(),x=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-it",new _)},e}(),k=function(){return function(){this.Error_CannotDetermineSeriesForChartType="チャートタイプ '{0}' の系列を決定できません。",this.Error_ChartTypeNotSupportedForRendering="レンダリングでチャートタイプ '{0}' は現在サポートされていません。",this.Error_ErrorSettingAxesForSeries="シリーズタイプ '{0}' の軸を設定中に例外が発生しました。",this.Error_InvalidAxesCountOrTypeForChartType="チャートタイプ '{0}' の Excel 軸数/タイプが無効です。",this.Error_UnsupportedSeriesType="サポートされないされるシリーズ タイプ '{0}'。",this.LIT_DefaultChartTitle="チャートのタイトル"}}(),w=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-ja",new k)},e}(),E=function(){return function(){this.Error_CannotDetermineSeriesForChartType="Kan ikke bestemme serien for diagramtype '{0}'.",this.Error_ChartTypeNotSupportedForRendering="Diagramtype '{0}' støttes foreløpig ikke for gjengivelse.",this.Error_ErrorSettingAxesForSeries="Unntak under innstilling av akser for serietype {0}.",this.Error_InvalidAxesCountOrTypeForChartType="Ugyldig antall Excel -akser/typer for diagramtype: '{0}'.",this.Error_UnsupportedSeriesType="Serietype '{0}' støttes ikke."}}(),A=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-nb",new E)},e}(),$=function(){return function(){this.Error_CannotDetermineSeriesForChartType="Kan reeks niet bepalen voor diagramtype '{0}'.",this.Error_ChartTypeNotSupportedForRendering="Diagramtype '{0}' wordt momenteel niet ondersteund voor weergave.",this.Error_ErrorSettingAxesForSeries="Uitzondering bij het instellen van assen voor serietype '{0}'.",this.Error_InvalidAxesCountOrTypeForChartType="Ongeldige telling / typen Excel-assen voor diagramtype: '{0}'.",this.Error_UnsupportedSeriesType="Niet-ondersteund serietype '{0}'."}}(),T=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-nl",new $)},e}(),D=function(){return function(){this.Error_CannotDetermineSeriesForChartType="Nie można określić serii dla typu wykresu '{0}'.",this.Error_ChartTypeNotSupportedForRendering="Renderowanie typu wykresu '{0}' nie jest obecnie obsługiwane.",this.Error_ErrorSettingAxesForSeries="Wyjątek podczas ustawiania osi dla typu serii '{0}'.",this.Error_InvalidAxesCountOrTypeForChartType="Nieprawidłowa liczba / typy osi programu Excel dla typu wykresu: '{0}'.",this.Error_UnsupportedSeriesType="Nieobsługiwany typ serii '{0}'."}}(),I=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-pl",new D)},e}(),L=function(){return function(){this.Error_CannotDetermineSeriesForChartType="Não é possível determinar a série para o tipo de gráfico '{0}'.",this.Error_ChartTypeNotSupportedForRendering="Neste momento, o tipo de gráfico '{0}' não é suportado para composição.",this.Error_ErrorSettingAxesForSeries="Exceção ao definir eixos para o tipo de série '{0}'.",this.Error_InvalidAxesCountOrTypeForChartType="Contagem de eixos do Excel inválida/Tipos para o tipo de gráfico: '{0}'.",this.Error_UnsupportedSeriesType="Tipo de série não suportado '{0}'."}}(),N=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-pt",new L)},e}(),M=function(){return function(){this.Error_CannotDetermineSeriesForChartType="Nu se poate determina Seria pentru tipul de diagramă '{0}'.",this.Error_ChartTypeNotSupportedForRendering="Tipul de diagramă '{0}' nu este acceptat în prezent pentru redare.",this.Error_ErrorSettingAxesForSeries="Excepție la setarea axelor pentru tipul de serie '{0}'.",this.Error_InvalidAxesCountOrTypeForChartType="Numărul / tipurile de axe Excel nevalide pentru tipul de diagramă: '{0}'.",this.Error_UnsupportedSeriesType="Tipul de serie neacceptat '{0}'."}}(),R=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-ro",new M)},e}(),F=function(){return function(){this.Error_CannotDetermineSeriesForChartType="Не удается определить ряд для типа диаграммы '{0}'.",this.Error_ChartTypeNotSupportedForRendering="В настоящее время визуализация типа диаграммы '{0}' не поддерживается.",this.Error_ErrorSettingAxesForSeries="Исключение при настройке осей для типа ряда '{0}'.",this.Error_InvalidAxesCountOrTypeForChartType="Недопустимый подсчет/типы осей Excel для типа диаграммы: '{0}'.",this.Error_UnsupportedSeriesType="Неподдерживаемый тип ряда '{0}'.",this.LIT_DefaultChartTitle="Заголовок диаграммы"}}(),P=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-ru",new F)},e}(),O=function(){return function(){this.Error_CannotDetermineSeriesForChartType="Det går inte att bestämma serie för diagramtyp '{0}'.",this.Error_ChartTypeNotSupportedForRendering="Diagramtypen '{0}' stöds för närvarande inte för rendering.",this.Error_ErrorSettingAxesForSeries="Undantag vid inställning av axlar för serietypen '{0}'.",this.Error_InvalidAxesCountOrTypeForChartType="Ogiltiga Excel-axelantal / -typer för diagramtyp: '{0}'.",this.Error_UnsupportedSeriesType="Serietypen '{0}' stöds inte."}}(),j=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-sv",new O)},e}(),z=function(){return function(){this.Error_CannotDetermineSeriesForChartType="Grafik türü '{0}' için Seri belirlenemiyor.",this.Error_ChartTypeNotSupportedForRendering="Grafik türü '{0}' şu anda oluşturma için desteklenmiyor.",this.Error_ErrorSettingAxesForSeries="Seri türü '{0}' için eksenleri ayarlarken istisna.",this.Error_InvalidAxesCountOrTypeForChartType="Grafik türü için Geçersiz Excel Eksen Sayısı / Türleri: '{0}'.",this.Error_UnsupportedSeriesType="Desteklenmeyen dizi türü '{0}'."}}(),V=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-tr",new z)},e}(),B=function(){return function(){this.Error_CannotDetermineSeriesForChartType="无法确定图表类型 '{0}' 系列。",this.Error_ChartTypeNotSupportedForRendering="图表类型 '{0}' 当前不支持渲染。",this.Error_ErrorSettingAxesForSeries="设置系列类型 '{0}' 的轴时出现例外。",this.Error_InvalidAxesCountOrTypeForChartType="图表类型 '{0}' 的无效 Excel 轴计数/类型。",this.Error_UnsupportedSeriesType="不支持的系列类型为 '{0}'。"}}(),U=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-zh-Hans",new B)},e}(),q=function(){return function(){this.Error_CannotDetermineSeriesForChartType="無法確定圖表類型 '{0}' 的系列。",this.Error_ChartTypeNotSupportedForRendering="目前不支援圖表類型 '{0}' 的轉譯。",this.Error_ErrorSettingAxesForSeries="設定系列類型 '{0}' 的軸時出現例外。",this.Error_InvalidAxesCountOrTypeForChartType="圖表類型 '{0}' 的無效 Excel 軸計數/類型。",this.Error_UnsupportedSeriesType="不支援的系列類型 '{0}'。"}}(),G=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-zh-Hant",new q)},e}(),H=function(){function e(){}return e.register=function(){r.Localization.register("SpreadsheetChartAdapter-en",new s)},e}(),X=function(e){function t(t,r,i,a,n){var s=e.call(this)||this;return s.d=0,s.f=null,s.g=null,s.a=null,s.c=null,s.b=null,s.c=t,s.f=r,s.g=i,s.a=a,s.b=n,s}return a.__extends(t,e),t.prototype.e=function(){return this.d++,this.d},t.$t=r.markType(t,"SpreadsheetChartAdapterState"),t}(r.Base),Y=function(e){function n(i,a){var n=e.call(this)||this;return n.a=null,n.l=null,n.b=null,n.a=i,n.l=new r.List$1(t.RendererContainer.$,0),n.b=a,n}return a.__extends(n,e),n.prototype.c=function(e,t,r,i,a,n){return void 0===i&&(i=!1),void 0===a&&(a=3),void 0===n&&(n=3),null!=this.m(e,t)},n.prototype.s=function(e,r,i,a,n,s,o,l,u,c,h){if(void 0===a&&(a=!1),void 0===n&&(n=0),void 0===s&&(s=0),void 0===o&&(o=1),void 0===l&&(l=1),void 0===u&&(u=3),void 0===c&&(c=3),void 0===h&&(h=0),!this.f(e)||"div"==e.tagName.toLowerCase()){var p=this.m(r,e);if(null!=p){var d=this.q(p);switch(u){case 0:d+=" justify-self: start;";break;case 2:d+=" justify-self: end;";break;case 3:d+=" justify-self: stretch;";break;case 1:d+=" justify-self: center;"}switch(c){case 0:d+=" align-self: start;";break;case 2:d+=" align-self: end;";break;case 3:d+=" align-self: stretch;";break;case 1:d+=" align-self: center;"}var f=t.SpreadsheetDialogUtilities.j(n+1,o,s+1,l,d+" display: block;");p.setAttribute("style",f)}}},n.prototype.d=function(e,i){var a=r.typeCast(t.RendererContainer.$,i);return null!=a&&(e.clearRefValues(a.container),!0)},n.prototype.t=function(e){if(0!=this.f(e)&&"div"==e.tagName.toLowerCase())for(var t=e,r=t.children.length;r>0;r--)t.removeChild(t.children.item(r-1))},n.prototype.u=function(e){},n.prototype.n=function(){return null},n.prototype.e=function(e){return r.typeCast(t.RendererContainer.$,e).isReady},n.prototype.o=function(e){var t=this.a.createRendererContainer();return this.l.add(t),e=t.isReady,t.onReady=this.b,{ret:t,p0:e}},n.prototype.p=function(){return document.createElement("div")},n.prototype.v=function(e,t,r,i){this.g(e,t,r,(function(e){return i(null,e)}))},n.prototype.w=function(e,t,a,n){this.g(e,t,a,(function(e,t){var a=e.b5;if(null!=a){var s=r.Enumerable.af(i.NumericAxisBase.$,r.Enumerable.l(i.NumericAxisBase.$,r.Enumerable.u(i.Axis.$,a.axes,(function(e){return r.stringContains(e.name,"Primary")})))),o=r.Enumerable.af(i.NumericAxisBase.$,r.Enumerable.l(i.NumericAxisBase.$,r.Enumerable.u(i.Axis.$,a.axes,(function(e){return r.stringContains(e.name,"Secondary")}))));if(null!=s&&null!=o&&0!=s.qw&&0!=o.qw){var l=s.qy,u=s.qx,c=s.qw/(u-l),h=o.qy,p=o.qx,d=o.qw;p=h+(p-h)*n(d=c*(p-h),!1)/d,o.rb=h,o.q7=d,o.ra=p}}}))},n.prototype.g=function(e,i,a,n){var s=r.typeCast(t.RendererContainer.$,i);return null!=s&&(e.provideRefValue(s.container,a,n),!0)},n.prototype.h=function(e,i){var a=null;if(!this.f(i))return!1;a=i;var n=null;return this.f(e)?n=e:null!==r.typeCast(t.RendererContainer.$,e)&&(n=e.containerElement),null!=n&&(a.removeChild(n),!0)},n.prototype.i=function(e,i,a){var n=r.typeCast(t.RendererContainer.$,i);return null!=n&&(e.removeRefValue(n.container,a),!0)},n.prototype.x=function(e,i,a){var n=r.typeCast(t.RendererContainer.$,a);null!=n&&e.render(i,n.container)},n.prototype.j=function(e,t,r,i,a){return!1},n.prototype.k=function(e,i,a){if(0==(this.f(e)&&"div"==e.tagName.toLowerCase()))return!1;var n=function(e){for(var t=r.stringEmpty(),i=0;i<e.length;i++){var a=e[i];a.e?t+=a.i.toString()+"px ":a.g?t+="minmax(0,"+a.i.toString()+"fr) ":a.f&&(t+="auto ")}return r.trimEnd(t)},s=e,o=t.SpreadsheetDialogUtilities.k(n(i),n(a),"0px","height: 100%; box-sizing: border-box; ");return s.setAttribute("style",o),!1},n.prototype.m=function(e,i){var a=null;if(this.f(i))a=i;else{if(null===r.typeCast(t.RendererContainer.$,i))return null;a=i.containerElement}var n=null;return this.f(e)?n=e:null!==r.typeCast(t.RendererContainer.$,e)&&(n=e.containerElement),null==n?null:(a.appendChild(n),n)},n.prototype.q=function(e){var t=e.getAttribute("style");return null==t?r.stringEmpty():t},n.prototype.f=function(e){var t=e.toString().toLowerCase();return r.stringContains(t,"element")||r.stringContains(t,"html")},n.$t=r.markType(n,"ChartElementPlatformHelper"),n}(r.Base),K=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.a=null,t.c=null,t.d=null,t.b=0,t}return a.__extends(t,e),t.$t=r.markType(t,"ChartSeriesInfo"),t}(r.Base),W=function(e){function t(t,r,i,a){var n=e.call(this)||this;return n._Radius=0,n._X=0,n._Y=0,n._SeriesName=null,n.X=t,n.Y=r,n.Radius=i,n.SeriesName=a,n}return a.__extends(t,e),Object.defineProperty(t.prototype,"Radius",{get:function(){return this._Radius},set:function(e){this._Radius=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"X",{get:function(){return this._X},set:function(e){this._X=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Y",{get:function(){return this._Y},set:function(e){this._Y=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"SeriesName",{get:function(){return this._SeriesName},set:function(e){this._SeriesName=e},enumerable:!1,configurable:!0}),t.$t=r.markType(t,"SpreadsheetChartAdapter_ScatterSeriesDataItem"),t}(r.Base),Z=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._Col=null,t._Row=null,t._Value=0,t}return a.__extends(t,e),Object.defineProperty(t.prototype,"Col",{get:function(){return this._Col},set:function(e){this._Col=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Row",{get:function(){return this._Row},set:function(e){this._Row=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Value",{get:function(){return this._Value},set:function(e){this._Value=e},enumerable:!1,configurable:!0}),t.$t=r.markType(t,"SpreadsheetChartAdapter_SeriesDataItem"),t}(r.Base),J=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.b=null,t.a=null,t.d=!1,t.i=!1,t.j=!1,t.k=!1,t.g=!1,t.h=!1,t.c=!1,t.f=!1,t.e=!1,t}return a.__extends(t,e),t.$t=r.markType(t,"AxisInfo"),t}(r.Base),Q=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._CategoryName=null,t._SeriesNames=null,t._SeriesValues=null,t}return a.__extends(t,e),Object.defineProperty(t.prototype,"CategoryName",{get:function(){return this._CategoryName},set:function(e){this._CategoryName=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"SeriesNames",{get:function(){return this._SeriesNames},set:function(e){this._SeriesNames=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"SeriesValues",{get:function(){return this._SeriesValues},set:function(e){this._SeriesValues=e},enumerable:!1,configurable:!0}),t.$t=r.markType(t,"SpreadsheetChartAdapter_StackedSeriesDataItem"),t}(r.Base),ee=function(e){function s(){return null!==e&&e.apply(this,arguments)||this}return a.__extends(s,e),s.p=function(e){for(var t=new r.StringBuilder(0),i=0;i<e.length;i++){var a=e[i],n=null==a?"<null>":a.toString();t.l(n+", ")}return t.toString()},s.n=function(e,t,r){return s.o(n.Workbook._et(e),t,r)},s.o=function(e,t,r){return n.Workbook._eu(t,e,r)},s.e=function(e,t){switch(e){case 0:return 7;case 1:return 1;case 2:return 6;case 3:return 9;case 4:switch(t){case 6:case 5:return 5;case 4:return 4;case 3:return 3;case 2:default:return 2}case 5:return 8;default:return 1}},s.q=function(e,t,i,a){var n=e/255;return r.stringFormat1("rgba({0},{1},{2},{3})",t,i,a,n.toString())},s.r=function(e,t){if(null!=e){if(null!==r.typeCast(n.ChartSolidFill.$,e))return s.t(r.typeCast(n.ChartSolidFill.$,e),t);if(null!==r.typeCast(n.ChartGradientFill.$,e))return s.s(r.typeCast(n.ChartGradientFill.$,e),t)}return r.stringEmpty()},s.s=function(e,t){var i,n,o="linear-gradient(",l=r.truncate(e.angle);switch((l+=90)>=360&&(l-=360),o+=l.toString()+"deg, ",e.gradientType){case 0:case 1:case 3:case 2:try{for(var u=a.__values(r.fromEnum(e.getStops())),c=u.next();!c.done;c=u.next()){var h=c.value;o+=s.u(h.color,t),o+=" "+r.truncate(100*h.position).toString()+"%, "}}catch(e){i={error:e}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(i)throw i.error}}o=r.stringRemove(o,o.length-2,2)}return o+=")"},s.t=function(e,t){return s.u(e.color,t)},s.u=function(e,t){return n.WorkbookColorInfo.l_op_Equality(null,e)||null==t?r.stringEmpty():s.q(e._getResolvedColor1(t).l,e._getResolvedColor1(t).o,e._getResolvedColor1(t).n,e._getResolvedColor1(t).m)},s.c=function(e){switch(e){case 0:case 1:return 1;case 2:return 2;case 3:return 3;case 4:return 0;default:return 1}},s.d=function(e){var t=!0;switch(e.position){case 0:1==e.type&&(t=!1);break;case 1:case 4:t=!1}switch(e.tickLabelPosition){case 4:return t?6:4;case-4127:return t?3:0;case-4134:return t?2:1;default:switch(e.position){case 0:case 2:return 2;case 4:return 0;case 3:return 3;case 1:default:return 1}}},s.g=function(e,i){var a,n=s.m(e,i),o=3==e.categoryType,l=null;if((l=n?new r.CategoryXAxisDescription:new r.CategoryYAxisDescription).name=n?1==e.axisGroup?"XAxisPrimary":"XAxisSecondary":1==e.axisGroup?"YAxisPrimary":"YAxisSecondary",s.x(l,e,i),l.label="Row",l.dataSourceRef=r.stringFormat("groupedseriesdata{0}","0"),o||(l.interval=e.tickLabelSpacing),l.useClusteringMode=!0,e.visible){var u=e._y(),c="formatlabelcategoryaxis_"+l.name;i.b.v(i.a,i.f,c,(function(a,n){var s=r.stringEmpty();null!==r.typeCast(Z.$,n)?s=n.Row:null!==r.typeCast(Q.$,n)&&(s=n.CategoryName);var o,l,c=0;if(2==e.categoryType)return s;if(3==e.categoryType){if(l=r.tryParseNumber(s,c),c=l.p1,l.ret)return t.SpreadsheetUtilities.dx(r.fromOADate(c),i.c.worksheet)}else if(null!=u&&function(){var e=r.tryParseNumber(s,c);return c=e.p1,e.ret}()){var h=r.stringEmpty();if(o=u.v(c,e.tickLabels.numberFormat,h),h=o.p2,o.ret&&0==r.stringIsNullOrEmpty(h))return h}return s})),l.formatLabelRef=c}else l.formatLabelRef=r.stringEmpty();return(a=new J).b=e,a.a=l,a.g=1==e.axisGroup,a.h=2==e.axisGroup,a.j=n,a.k=!n,a.d=!0,a.i=!1,a.c=!1,a.e=!1,a.f=!1,a},s.f=function(e,t){var i,a=new r.CategoryAngleAxisDescription;return a.name="CategoryAngleAxis",s.x(a,e,t),a.label="Row",a.dataSourceRef=r.stringFormat("groupedseriesdata{0}","0"),a.interval=1,a.gap=.35,a.useClusteringMode=!0,(i=new J).b=e,i.a=a,i.g=1==e.axisGroup,i.h=2==e.axisGroup,i.j=!1,i.k=!1,i.d=!0,i.i=!1,i.c=!0,i.e=!1,i.f=!1,i},s.h=function(e,t){var i,a=new r.NumericRadiusAxisDescription;return a.name="NumericRadiusAxis",s.x(a,e,t),a.interval=1,a.isLogarithmic=-4133==e.scaleType,0==e.minimumScaleIsAuto&&(a.minimumValue=e.minimumScale),0==e.maximumScaleIsAuto&&(a.maximumValue=e.maximumScale),(i=new J).b=e,i.a=a,i.g=1==e.axisGroup,i.h=2==e.axisGroup,i.j=!1,i.k=!1,i.d=!1,i.i=!0,i.c=!1,i.e=!1,i.f=!0,i},s.i=function(e,t){var i,a=s.m(e,t),n=null;if((n=a?new r.NumericXAxisDescription:new r.NumericYAxisDescription).name=a?1==e.axisGroup?"XAxisPrimary":"XAxisSecondary":1==e.axisGroup?"YAxisPrimary":"YAxisSecondary",s.x(n,e,t),n.isLogarithmic=-4133==e.scaleType,0==e.minimumScaleIsAuto&&(n.minimumValue=e.minimumScale),0==e.maximumScaleIsAuto&&(n.maximumValue=e.maximumScale),0==e.majorUnitIsAuto&&(n.interval=e.majorUnit),0==e.minorUnitIsAuto&&(n.minorInterval=e.minorUnit),e.visible){var o=e._y(),l="formatlabelvalueaxis_"+n.name;t.b.v(t.a,t.f,l,(function(t,i){if(null!=i&&"number"==typeof i){var a=i;if(null!=o){var n=r.stringEmpty();if(s=o.v(a,e.tickLabels.numberFormat,n),n=s.p2,s.ret)return n}}var s;return null!=i?i.toString():r.stringEmpty()})),n.formatLabelRef=l}else n.formatLabelRef=r.stringEmpty();return 10!=e.logBase&&(n.isLogarithmic=!0,n.logarithmBase=r.truncate(e.logBase)),(i=new J).b=e,i.a=n,i.g=1==e.axisGroup,i.h=2==e.axisGroup,i.j=a,i.k=!a,i.d=!1,i.i=!0,i.c=!1,i.e=!1,i.f=!1,i},s.j=function(e,t,i){var n,o;try{for(var l=a.__values(r.fromEnum(t)),u=l.next();!u.done;u=l.next()){var c=u.value;if(s.l(c,e,i))return c}}catch(e){n={error:e}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}return null},s.a=function(e,t,i){i=0;for(var a=new r.List$1(r.Number_$type,0),n=e._dataPointCollection$i,s=0;s<n.count;s++){var o=n.item(s);o._a3>0&&(a.add(s),i=Math.max(i,o._a3))}return{ret:a.toArray(),p2:i}},s.b=function(e,t){for(var i=new r.List$1(r.String_$type,0),a=e._dataPointCollection$i.count,n=0;n<a;n++){var o=e._dataPointCollection$i.item(n);i.add(s.r(o._aj(n),e.workbook))}return i.toArray()},s.k=function(e){return r.stringContains(r.EnumUtil.getName(n.ChartType_$type,e.chartType),"Scatter")||r.stringContains(r.EnumUtil.getName(n.ChartType_$type,e.chartType),"Bubble")},s.l=function(e,t,r){switch(t){case 0:return 1==e.axisGroup&&s.m(e,r);case 1:return 1==e.axisGroup&&0==s.m(e,r);case 2:return 2==e.axisGroup&&s.m(e,r);case 3:return 2==e.axisGroup&&0==s.m(e,r);default:return!1}},s.m=function(e,t){var r=t.c._ei(e);return 4==r||1==r},s.v=function(e,t,i){void 0===i&&(i=!0);var a=e.name,s=r.EnumUtil.getName(n.SeriesType_$type,e.type),o="Series_"+t.toString()+"_"+s;return null==a||r.stringIsNullOrEmpty(a.toString().trim())?o:a.toString()+"_"+s},s.w=function(e,t){var i=e.name,a=r.stringEmpty();return null==i||r.stringIsNullOrEmpty(a=i.toString().trim())?"Series "+t.toString():a},s.x=function(e,t,a){if(1==t.axisGroup&&(e.crossingValue=t.crossesAt),null!=t.tickLines){var n=s.n(t.tickLines.widthInPoints,t.workbook,!1),o=s.r(t.tickLines.fill,t.workbook);0==r.stringIsNullOrEmpty(o)&&(e.tickStroke=o,e.stroke=o),e.tickStrokeThickness=n,e.tickLength=10,e.strokeThickness=n}if(null!=t.axisTitle){null!=t.axisTitle.text&&(e.title=t.axisTitle.text.toString()),e.titleAngle=t.axisTitle.rotation;var l=s.u(t.axisTitle._a7,t.workbook);0==r.stringIsNullOrEmpty(l)&&(e.titleTextColor=l);var u=t.axisTitle._a3();null!=u&&(e.titleFontStyle=r.nullableEquals(u._italic$i,!0)?"Italic":"Normal",e.titleFontWeight=r.nullableEquals(u._bold$i,!0)?"Bold":"Normal",e.titleFontSize=s.o(u.height,t.workbook,!0),0==r.stringIsNullOrEmpty(u.name)&&0==r.stringContains(u.name,"+mn-lt")?e.titleFontFamily=u.name+", Calibri":e.titleFontFamily="Calibri")}if(null!=t.tickLabels){var c=t.tickLabels._an;null!=c&&(e.labelFontStyle=r.nullableEquals(c._italic$i,!0)?"Italic":"Normal",e.labelFontWeight=r.nullableEquals(c._bold$i,!0)?"Bold":"Normal",e.labelFontSize=s.o(c.height,t.workbook,!0),0==r.stringIsNullOrEmpty(c.name)&&0==r.stringContains(c.name,"+mn-lt")?e.labelFontFamily=c.name+", Calibri":e.labelFontFamily="Calibri");var h=s.u(t.tickLabels._ao,t.workbook);0==r.stringIsNullOrEmpty(h)&&(e.labelTextColor=h),e.labelAngle=t.tickLabels.rotation,-4142!=t.tickLabelPosition?e.labelLocation=r.EnumUtil.getName(i.AxisLabelsLocation_$type,s.c(t.position)):e.labelTextColor="rgba(0, 0, 0, 0)"}if(null!=t.majorGridLines){var p=s.r(t.majorGridLines.fill,t.workbook);0==r.stringIsNullOrEmpty(p)&&(e.majorStroke=p),e.majorStrokeThickness=s.n(t.majorGridLines.widthInPoints,a.c.worksheet.workbook,!1)}if(null!=t.minorGridLines){var d=s.r(t.minorGridLines.fill,t.workbook);0==r.stringIsNullOrEmpty(d)&&(e.minorStroke=d),e.minorStrokeThickness=s.n(t.minorGridLines.widthInPoints,a.c.worksheet.workbook,!1)}e.labelVisibility=0==t.visible?"Collapsed":"Visible",t.reversePlotOrder&&(e.isInverted=!0)},s.$t=r.markType(s,"SpreadsheetChartAdapterHelpers"),s}(r.Base),te=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._CategoryName=null,t._SeriesName=null,t._Value=0,t}return a.__extends(t,e),Object.defineProperty(t.prototype,"CategoryName",{get:function(){return this._CategoryName},set:function(e){this._CategoryName=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"SeriesName",{get:function(){return this._SeriesName},set:function(e){this._SeriesName=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Value",{get:function(){return this._Value},set:function(e){this._Value=e},enumerable:!1,configurable:!0}),t.$t=r.markType(t,"SpreadsheetChartAdapter_PieDataItem"),t}(r.Base),re=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._Open=0,t._High=0,t._Low=0,t._Close=0,t._Volume=0,t._CategoryName=null,t}return a.__extends(t,e),Object.defineProperty(t.prototype,"Open",{get:function(){return this._Open},set:function(e){this._Open=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"High",{get:function(){return this._High},set:function(e){this._High=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Low",{get:function(){return this._Low},set:function(e){this._Low=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Close",{get:function(){return this._Close},set:function(e){this._Close=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Volume",{get:function(){return this._Volume},set:function(e){this._Volume=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CategoryName",{get:function(){return this._CategoryName},set:function(e){this._CategoryName=e},enumerable:!1,configurable:!0}),t.prototype.g=function(e,t,r){switch(e){case 88:switch(t){case 0:this.High=r;break;case 1:this.Low=r;break;case 2:this.Close=r}break;case 89:switch(t){case 0:this.Open=r;break;case 1:this.High=r;break;case 2:this.Low=r;break;case 3:this.Close=r}break;case 90:switch(t){case 0:this.Volume=r;break;case 1:this.High=r;break;case 2:this.Low=r;break;case 3:this.Close=r}break;case 91:switch(t){case 0:this.Volume=r;break;case 1:this.Open=r;break;case 2:this.High=r;break;case 3:this.Low=r;break;case 4:this.Close=r}}},t.$t=r.markType(t,"SpreadsheetChartAdapter_StockDataItem"),t}(r.Base),ie=function(e){function t(){var t=e.call(this)||this;return t.e=null,t.c=null,t.d=null,t.i=0,t.h=0,t.k=0,t.j=0,t.e=new r.List$1(J.$,0),t.c=new r.List$1(J.$,0),t.d=new r.List$1(J.$,0),t}return a.__extends(t,e),Object.defineProperty(t.prototype,"f",{get:function(){return this.c},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"g",{get:function(){return this.d},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"b",{get:function(){return this.e},enumerable:!1,configurable:!0}),t.prototype.l=function(e){this.e.add(e),e.g?e.d?this.h++:this.i++:e.d?this.j++:this.k++,null!==r.typeCast(r.StraightNumericAxisBaseDescription.$,e.a)&&e.b.minimumScaleIsAuto&&e.b.maximumScaleIsAuto&&(e.j?this.f.add(e):e.k&&this.g.add(e))},t.prototype.m=function(e,t){for(var r=0;r<this.e.count;r++){var i=this.e._inner[r];(e&&i.g||0==e&&i.h)&&(i.d?0==i.c&&(this.e._inner[r]=ee.f(i.b,t),this.e._inner[r].a.isDisabled=!1):i.i&&0==i.f&&(this.e._inner[r]=ee.h(i.b,t),this.e._inner[r].a.isDisabled=!1))}},t.prototype.n=function(e,t){if(e){if(this.i>1)return;for(var a=0;a<this.e.count;a++){var n=this.e._inner[a];if(n.g&&n.d){this.e._inner[a]=ee.i(n.b,t),this.e._inner[a].a.labelLocation=r.EnumUtil.getName(i.AxisLabelsLocation_$type,0),this.e._inner[a].a.isDisabled=!1;break}}}else{if(this.k>1)return;for(var s=0;s<this.e.count;s++){var o=this.e._inner[s];if(o.h&&o.d){this.e._inner[s]=ee.i(o.b,t),this.e._inner[s].a.labelLocation=r.EnumUtil.getName(i.AxisLabelsLocation_$type,0),this.e._inner[s].a.isDisabled=!1;break}}}},t.prototype.a=function(){var e,t,i=new r.List$1(r.AxisDescription.$,0);try{for(var n=a.__values(r.fromEnum(this.e)),s=n.next();!s.done;s=n.next()){var o=s.value;i.add(o.a)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r.Enumerable.a(r.AxisDescription.$,i)},t.$t=r.markType(t,"AxisInfos"),t}(r.Base),ae=function(e){function t(r){for(var i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];var n=e.call(this)||this;switch(n.h=0,n.c=0,r=null==r?0:r){case 0:break;case 1:var s=i[0];t.j(s,1),n.h=s,n.c=1;break;case 2:s=i[0];var o=i[1];t.j(s,o),n.h=0==o?0:s,n.c=o}return n}return a.__extends(t,e),Object.defineProperty(t.prototype,"e",{get:function(){return 1==this.c},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"f",{get:function(){return 0==this.c},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"g",{get:function(){return 2==this.c},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"d",{get:function(){return this.c},enumerable:!1,configurable:!0}),Object.defineProperty(t,"a",{get:function(){return t.b},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"i",{get:function(){return 0!=this.c?this.h:1},enumerable:!1,configurable:!0}),t.j=function(e,t){if(r.isNaN_(e))throw new r.ArgumentException(0);if(r.isInfinity(e))throw new r.ArgumentException(0);if(0!=t&&1!=t&&2!=t)throw new r.ArgumentException(0)},t.$t=r.markStruct(t,"RowColLength"),t.b=new t(2,1,0),t}(r.ValueType),ne=function(e){function i(){var t=e.call(this)||this;return t._d=null,t._e=null,t._c=null,t._e=new r.List$1(n.ChartType_$type,1,[1,76,77,57,58,59,15,87,51,52,53,113,-4120,80,4,63,64,65,66,67,5,-4102,70,69,-4151,82,81,88,89,90,91,-4169,74,75,72,73]),t}return a.__extends(i,e),i.prototype._a=function(e,t){this._c=t;return this._d=new se(this,e,(function(e,r){return t._v.createChartTitleElement(e.chartTitle,r)}))},i.prototype._b=function(e){return this._e.contains(e.chartType)},i.prototype._s=function(e){for(var t,i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];return t=r.Localization.getString.apply(r.Localization,a.__spreadArray(["spreadsheetchartadapter",e],a.__read(i),!1)),!r.stringIsNullOrEmpty(t)&&null!=i&&i.length>0&&(t=r.stringFormat1.apply(void 0,a.__spreadArray([t],a.__read(i),!1))),t},i.$t=r.markType(i,"SpreadsheetChartAdapter",t.SpreadsheetChartAdapterBase.$),i._x="datachart",i._z="piechart",i._y="doughnutchart",i._u="groupedseriesdata{0}",i._t="groupedscatterseriesdata{0}",i._ab="stackedseriesdata",i._w="piedata",i._ac="stockdata",i._v="piecharttooltip",i._q="doughnutcharttooltip",i._g="legend",i._aa="seriestooltip{0}",i._r="fragmentseriestitle{0}",i._f="axiscrossingvalue-{0}",i._ak="XAxis",i._ai="Prices",i._aj="Volume",i._ae="High",i._af="Low",i._ad="Close",i._ag="Open",i._ah="Volume",i._m="XAxisPrimary",i._n="XAxisSecondary",i._o="YAxisPrimary",i._p="YAxisSecondary",i._j="CategoryAngleAxis",i._l="NumericRadiusAxis",i._k="NumericAngleAxis",i._h="rgba(0, 0, 0, 0)",i._i="rgba(255, 255, 255, 0)",i}(t.SpreadsheetChartAdapterBase),se=function(e){function s(t,i,a){var n=e.call(this)||this;return n.ae=null,n.a8=null,n.ai=!1,n.bb=null,n.am=!1,n.k=null,n.l=null,n.m=null,n.aj=!1,n.ak=!1,n.a1=null,n.ay=null,n.a0=null,n.ax=null,n.a2=null,n.az=null,n.a3=null,n.bd=null,n.bc=null,n.af=null,n.al=!1,n.aw=null,n.a7=-1,n.ad=null,n.a9=null,n.ba=null,n.an=!1,n.ac=null,n.ah=null,n.ac=new Y(t._c,r.runOn(n,n.bs)),n.ae=t,n.c=i,n.ad=a,n.f=n.ac.p(),n.ad=a,n.k=new r.ComponentRenderer,n.aj=!0,n.ak=!0,n.ah=n.c.worksheet.workbook,n.bh(),n}return a.__extends(s,e),s.prototype.h=function(){null!=this.a8&&null!==r.typeCast(r.IDisposable_$type,this.a8)&&this.a8.dispose(),null!=this.bb&&null!==r.typeCast(r.IDisposable_$type,this.bb)&&this.bb.dispose()},s.prototype.i=function(){},s.prototype.e=function(e,t,r){if(e!=this.c)t=!0,r=!0,this.c=e;else if(0==t&&0==r)return!0;return this.al=!0,(t||r)&&this.bv(),r&&this.bu(),this.bh(),this.aj=!1,this.ak=!1,this.al=!1,!0},Object.defineProperty(s.prototype,"ag",{get:function(){return null==this.af&&(this.af=new X(this.c,this.a8,this.bb,this.k,this.ac)),this.af},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"a4",{get:function(){return this.aw},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"aq",{get:function(){return null!=this.c.legend&&null!=this.m&&null!=this.bb},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"ar",{get:function(){return 113==this.c.chartType},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"at",{get:function(){switch(this.c.chartType){case 88:case 89:case 90:case 91:return!0;default:return!1}},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"as",{get:function(){return r.stringContains(r.EnumUtil.getName(n.ChartType_$type,this.c.chartType),"Stacked")},enumerable:!1,configurable:!0}),s.prototype.be=function(){var e,t=this;null==this.a8&&(this.a8=(e=t.ac.o(t.ai),t.ai=e.p0,e.ret))},s.prototype.bg=function(){var e,t=this;null!=this.c.legend?null==this.bb&&(this.bb=(e=t.ac.o(t.am),t.am=e.p0,e.ret)):null!=this.bb&&(this.ac.h(this.bb,this.f),null!=this.a8&&this.ac.h(this.bb,this.a8),this.bb=null)},s.prototype.bf=function(e,t,i,a,s,o,l,u,c){void 0===c&&(c=null),null!=e&&0==(null!==r.typeCast(n.ChartEmptyFill.$,e.line.fill))&&o.add(this.v(e,"High",l,u)),null!=t&&0==(null!==r.typeCast(n.ChartEmptyFill.$,t.line.fill))&&o.add(this.v(t,"Low",l,u)),null!=i&&0==(null!==r.typeCast(n.ChartEmptyFill.$,i.line.fill))&&o.add(this.v(i,"Close",l,u)),null!=a&&0==(null!==r.typeCast(n.ChartEmptyFill.$,a.line.fill))&&o.add(this.v(a,"Open",l,u)),null!=s&&null!=s.line&&0==(null!==r.typeCast(n.ChartEmptyFill.$,s.line.fill))&&o.add(this.v(s,"Volume",l,c))},s.prototype.bh=function(){this.an=!0,this.be(),this.bg(),0!=this.ai&&(this.bi(),this.ao(),null!=this.l&&(this.bl(),this.aq&&0==this.am||(this.an=!1,this.by(),this.bt(),this.bw(),this.bx(),this.a7=this.aw.count)))},s.prototype.ao=function(e){if(void 0===e&&(e=!0),null!=this.l&&!this.aj)return!0;switch(e&&(this.l=null),this.c.chartType){case 1:case 76:case 77:if(!e)return!0;this.b6(),this.l=this.n();break;case-4098:case 78:case 79:case 60:case 61:case 62:break;case 57:case 58:case 59:if(!e)return!0;this.b6(),this.l=this.n();break;case 71:break;case 15:case 87:if(!e)return!0;this.b6(),this.l=this.n();break;case-4100:case 54:case 55:case 56:break;case 51:case 52:case 53:case 113:if(!e)return!0;this.b6(),this.l=this.n();break;case 102:case 103:case 104:case 105:case 99:case 100:case 101:case 95:case 96:case 97:case 98:case 92:case 93:case 94:break;case-4120:case 80:if(!e)return!0;this.b6(),this.l=this.o();break;case 4:case 63:case 64:case 65:case 66:case 67:if(!e)return!0;this.b6(),this.l=this.n();break;case-4101:break;case 5:case-4102:case 70:case 69:if(!e)return!0;this.b6(),this.l=this.p();break;case 68:case 109:case 110:case 111:case 112:case 106:case 107:case 108:break;case-4151:case 82:case 81:if(!e)return!0;this.b6(),this.l=this.n();break;case 88:case 89:case 90:case 91:if(!e)return!0;this.b6(),this.l=this.r();break;case 83:case 84:break;case 85:case 86:break;case-4169:case 74:case 75:case 72:case 73:if(!e)return!0;this.b6(),this.l=this.n()}if(null==this.l)throw new r.NotSupportedException(1,this.ae._s("Error_ChartTypeNotSupportedForRendering",r.EnumUtil.getName(n.ChartType_$type,this.c.chartType)));return!0},s.prototype.bj=function(){var e,t;if(0!=this.aj){this.a0=this.a5();var i=new r.Dictionary$2(r.String_$type,r.List$1.$.specialize(W.$),0);try{for(var n=a.__values(r.fromEnum(this.a0)),s=n.next();!s.done;s=n.next()){var o=s.value,l=o.SeriesName;i.containsKey(l)||i.item(l,new r.List$1(W.$,0)),i.item(l).add(o)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}for(var u=0;u<i.values.count;u++){var c=r.stringFormat("groupedscatterseriesdata{0}",u.toString());this.ac.g(this.k,this.a8,c,r.Enumerable.z(r.List$1.$.specialize(W.$),i.values)._inner[u].toArray())}this.ax=r.Enumerable.z(r.List$1.$.specialize(W.$),i.values)}},s.prototype.bk=function(e){var t,i;if(void 0===e&&(e=0),0!=this.aj){this.a1=this.a6();var n=new r.Dictionary$2(r.String_$type,r.List$1.$.specialize(Z.$),0);try{for(var s=a.__values(r.fromEnum(this.a1)),o=s.next();!o.done;o=s.next()){var l=o.value,u=0==e?l.Row:l.Col;n.containsKey(u)||n.item(u,new r.List$1(Z.$,0)),n.item(u).add(l)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(i=s.return)&&i.call(s)}finally{if(t)throw t.error}}for(var c=0;c<n.values.count;c++){var h=r.stringFormat("groupedseriesdata{0}",c.toString());this.ac.g(this.k,this.a8,h,r.Enumerable.z(r.List$1.$.specialize(Z.$),n.values)._inner[c].toArray())}this.ay=r.Enumerable.z(r.List$1.$.specialize(Z.$),n.values)}},s.prototype.bi=function(){var e,t;this.aw=new r.List$1(K.$,0);var i=new r.HashSet$1(r.String_$type,0),n=0,s=function(e){if(0==o.au(e)){for(var t=ee.v(e,n+1),r=t;i.contains(r);)r=t+o.ag.e().toString();i.add_1(r);var a=ee.w(e,n+1);o.aw.add(((s=new K).a=e,s.c=r,s.d=a,s.b=n,s)),n++}var s},o=this;try{for(var l=a.__values(r.fromEnum(this.c._seriesCollection$i)),u=l.next();!u.done;u=l.next()){s(u.value)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(t=l.return)&&t.call(l)}finally{if(e)throw e.error}}},s.prototype.bm=function(){var e,t,i,n;if(0!=this.aj){this.a1=this.a6();var s=new r.Dictionary$2(r.String_$type,r.List$1.$.specialize(Z.$),0);try{for(var o=a.__values(r.fromEnum(this.a1)),l=o.next();!l.done;l=o.next()){var u=l.value,c=u.Row;s.containsKey(c)||s.item(c,new r.List$1(Z.$,0)),s.item(c).add(u)}}catch(t){e={error:t}}finally{try{l&&!l.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}var h=r.Enumerable.z(r.List$1.$.specialize(Z.$),s.values);this.az=new r.List$1(te.$,0);var p=function(e){var t,r=((t=new te).CategoryName=e._inner[0].Row,t.Value=e._inner[0].Value,t.SeriesName=e._inner[0].Col,t);d.az.add(r)},d=this;try{for(var f=a.__values(r.fromEnum(h)),g=f.next();!g.done;g=f.next()){p(g.value)}}catch(e){i={error:e}}finally{try{g&&!g.done&&(n=f.return)&&n.call(f)}finally{if(i)throw i.error}}this.ac.g(this.k,this.a8,"piedata",this.az.toArray())}},s.prototype.bl=function(){if(null!=this.c.legend){if(null!=this.m)return}else if(null!=this.m)return void(this.m=null);this.bp()},s.prototype.bn=function(){if(0!=this.aj){var e,t;this.a2=new r.List$1(Q.$,0);var i=this.bq(this.a4._inner[0].a,t,e);t=i.p1,e=i.p2;var n=new r.List$1(r.Array_$type,0);n.add(t);for(var s=1;s<this.a4.count;s++){var o=void 0,l=void 0,u=this.bq(this.a4._inner[s].a,l,o);l=u.p1,o=u.p2,n.add(l)}for(var c=e.length,h=(t.length,0),p=this.a4.count,d=function(){for(var e,t=new Array(e=c),r=t,i=0;i<e;i++)r[i]=new Array(p);return t}(),f=0;f<c;f++){for(var g=0;g<n.count;g++){var y=n._inner[g];d[h][g]=r.Convert.toDouble3(y[h])}h++}h=0;for(var m=function(t){var i,n,s=new Array(p),o=new Array(p),l=0;try{for(var u=(i=void 0,a.__values(r.fromEnum(b.a4))),c=u.next();!c.done;c=u.next()){var f=c.value;s[l]=r.Convert.toDouble3(d[h][l]),o[l]=f.c,l++}}catch(e){i={error:e}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(i)throw i.error}}var g,y=((g=new Q).CategoryName=e[t].toString(),g.SeriesValues=s,g.SeriesNames=o,g);b.a2.add(y),h++},b=this,S=0;S<c;S++)m(S);this.ac.g(this.k,this.a8,"stackedseriesdata",this.a2.toArray())}},s.prototype.bo=function(){var e,t,i,n;if(0!=this.aj){this.a3=new r.List$1(re.$,0),this.a1=this.a6();var s=this.c.chartType,o=r.stringEmpty(),l=null,u=-1,c=new r.Dictionary$2(r.String_$type,re.$,0),h=function(e){var t;0==c.containsKey(e.Row)?((t=new re).CategoryName=e.Row,l=t,c.addItem(e.Row,l)):l=c.item(e.Row),e.Col!=o&&(u++,o=e.Col),l.g(s,u,e.Value)};try{for(var p=a.__values(r.fromEnum(this.a1)),d=p.next();!d.done;d=p.next()){h(d.value)}}catch(t){e={error:t}}finally{try{d&&!d.done&&(t=p.return)&&t.call(p)}finally{if(e)throw e.error}}try{for(var f=a.__values(r.fromEnum(c.values)),g=f.next();!g.done;g=f.next()){var y=g.value;this.a3.add(y)}}catch(e){i={error:e}}finally{try{g&&!g.done&&(n=f.return)&&n.call(f)}finally{if(i)throw i.error}}this.ac.g(this.k,this.a8,"stockdata",this.a3.toArray())}},s.prototype.n=function(){var e,t,i,s,o,l,u,c;this.ac.u("datachart"),r.DataChartCategoryCoreDescriptionModule.register(this.k.context),r.DataChartCategoryDescriptionModule.register(this.k.context),r.DataChartVerticalCategoryDescriptionModule.register(this.k.context);var h=new r.DataChartDescription,p=new ie;try{for(var d=a.__values(r.fromEnum(this.c._axisCollection$i)),f=d.next();!f.done;f=d.next()){var g=f.value;switch(g.type){case 1:this.bk(),-4151==this.c.chartType||81==this.c.chartType||82==this.c.chartType?p.l(ee.f(g,this.ag)):p.l(ee.g(g,this.ag));break;case 2:-4151==this.c.chartType||81==this.c.chartType||82==this.c.chartType?p.l(ee.h(g,this.ag)):p.l(ee.i(g,this.ag))}}}catch(t){e={error:t}}finally{try{f&&!f.done&&(t=d.return)&&t.call(d)}finally{if(e)throw e.error}}var y=new r.List$1(r.SeriesDescription.$,0),m=0,b=!1,S=0,v=new r.Dictionary$2(n.Series.$,r.SeriesDescription.$,0),C=new r.Dictionary$2(r.SeriesDescription.$,n.Series.$,0);try{for(var _=a.__values(r.fromEnum(this.a4)),x=_.next();!x.done;x=_.next()){var k=x.value.a;if(r.stringContains(r.EnumUtil.getName(n.ChartType_$type,k.chartType),"Stacked")&&++S>1)m++;else{this.ar&&ee.k(k)&&(b=!0);var w=r.typeCast(r.SeriesDescription.$,this.q(k,m,p));if(null==w)throw new r.NotSupportedException(1,this.ae._s("Error_UnsupportedSeriesType",r.EnumUtil.getName(n.SeriesType_$type,k.type)));if(y.add(w),v.addItem(k,w),C.addItem(w,k),r.stringContains(r.EnumUtil.getName(n.ChartType_$type,k.chartType),"Stacked"))try{for(var E=(o=void 0,a.__values(r.fromEnum(p.b))),A=E.next();!A.done;A=E.next()){var $=A.value;$.d&&($.a.label="CategoryName",$.a.dataSourceRef="stackedseriesdata")}}catch(e){o={error:e}}finally{try{A&&!A.done&&(l=E.return)&&l.call(E)}finally{if(o)throw o.error}}m++}}}catch(e){i={error:e}}finally{try{x&&!x.done&&(s=_.return)&&s.call(_)}finally{if(i)throw i.error}}if(this.ar&&b)try{for(var T=a.__values(r.fromEnum(v.keys)),D=T.next();!D.done;D=T.next()){var I=D.value;if(0==ee.k(I)){var L=v.item(I);null!==r.typeCast(r.HorizontalAnchoredCategorySeriesDescription.$,L)&&"XAxisSecondary"==L.xAxisRef&&(L.xAxisRef="XAxisPrimary",L.yAxisRef="YAxisPrimary")}}}catch(e){u={error:e}}finally{try{D&&!D.done&&(c=T.return)&&c.call(T)}finally{if(u)throw u.error}}this.al&&-1!=this.a7&&this.a7!=this.a4.count&&(h.axes=new Array(0),h.series=new Array(0),this.bw(h)),this.b4(p),this.b7(y),h.axes=p.a(),h.series=r.Enumerable.a(r.SeriesDescription.$,y),h.shouldAutoExpandMarginForInitialLabels=!0,h.shouldConsiderAutoRotationForInitialLabels=!0,h.autoMarginAndAngleUpdateMode="SizeChanging",this.bz(h);return h},s.prototype.o=function(){var e,t;this.ac.u("doughnutchart"),r.DoughnutChartDescriptionMetadata.d(this.k.context);var i=new r.DoughnutChartDescription;this.bc="Series '{Col}' Point '{Row}' Value: {Value}",this.ac.g(this.k,this.a8,"doughnutcharttooltip",this.bc);var s=0,o=new r.List$1(r.RingSeriesDescription.$,0);try{for(var l=a.__values(r.fromEnum(this.a4)),u=l.next();!u.done;u=l.next()){var c=u.value.a;if(null==c.values||c.values.getValues().length<1)s++;else{var h=r.typeCast(r.RingSeriesDescription.$,this.q(c,s,null));if(null==h)throw new r.NotSupportedException(1,this.ae._s("Error_UnsupportedSeriesType",r.EnumUtil.getName(n.SeriesType_$type,c.type)));h.startAngle=Math.max(-360,this.c.firstSliceAngle-90),o.add(h),h.tooltipTemplateRef="doughnutcharttooltip",h.brushes=ee.b(c,s),s++}}}catch(t){e={error:t}}finally{try{u&&!u.done&&(t=l.return)&&t.call(l)}finally{if(e)throw e.error}}i.innerExtent=this.c.doughnutHoleSize,i.series=r.Enumerable.a(r.RingSeriesDescription.$,o);var p=ee.r(this.c.plotArea._ap,this.ah);return 0==r.stringIsNullOrEmpty(p)?i.background=p:i.background="rgba(0, 0, 0, 0)",i},s.prototype.bp=function(){if(null!=this.c.legend){switch(r.LegendDescriptionModule.register(this.k.context),r.ItemLegendDescriptionModule.register(this.k.context),this.c.chartType){case 5:case 71:case-4102:case 70:case 69:case 68:case-4120:case 80:this.m=new r.ItemLegendDescription;break;default:this.m=new r.LegendDescription}this.m.name="legend";var e=ee.r(this.c.legend._af,this.ah);0==r.stringIsNullOrEmpty(e)?this.m.background=e:this.m.background="rgba(0, 0, 0, 0)"}},s.prototype.p=function(){this.ac.u("piechart"),r.PieChartDescriptionModule.register(this.k.context),this.bm();var e=new r.PieChartDescription;if(e.dataSourceRef="piedata",e.valueMemberPath="Value",e.labelMemberPath="CategoryName",e.legendRef="legend",e.startAngle=Math.max(-360,this.c.firstSliceAngle-90),this.bd="Series '{SeriesName}' Point '{CategoryName}' Value: {Value}",this.ac.g(this.k,this.a8,"piecharttooltip",this.bd),e.tooltipTemplateRef="piecharttooltip",this.a4.count>0){var t=this.a4._inner[0].a;e.brushes=ee.b(t,0);var i=0;e.explodedSlices=function(){var e=ee.a(t,0,i);return i=e.p2,e.ret}(),e.explodedRadius=Math.max(i,t.explosion)/100,e.othersCategoryThreshold=-17976931348623157e292}var a=ee.r(this.c.plotArea._ap,this.ah);return 0==r.stringIsNullOrEmpty(a)?e.background=a:e.background="rgba(0, 0, 0, 0)",e},s.prototype.q=function(e,t,r){switch(e.type){case 0:case 2:case 1:return this.z(e,t);case 3:return this.u(e,t);case 4:return this.aa(e,t,r);case 6:case 7:return this.ab(e,t,r)}return null},s.prototype.r=function(){if(!this.at)return null;this.ac.u("datachart"),r.DataChartFinancialDescriptionModule.register(this.k.context),r.DataChartCategoryDescriptionModule.register(this.k.context);var e=null;switch(this.bo(),this.c.chartType){case 88:if(0==this.av(1,1,0))throw new r.NotSupportedException(1,this.ae._s("Error_InvalidAxesCountOrTypeForChartType",r.EnumUtil.getName(n.ChartType_$type,this.c.chartType)));e=new r.DataChartDescription;var t=this.j(ee.j(0,this.c._axisCollection$i,this.ag)),i=this.s(ee.j(1,this.c._axisCollection$i,this.ag));e.axes=[t,i];var a=new r.List$1(r.SeriesDescription.$,0);a.add(this.w(t.name,i.name));var s=this.a4.count>0?this.a4._inner[0].a:null,o=this.a4.count>1?this.a4._inner[1].a:null,l=this.a4.count>2?this.a4._inner[2].a:null;this.bf(s,o,l,null,null,a,t.name,i.name),e.series=r.Enumerable.a(r.SeriesDescription.$,a);break;case 89:if(0==this.av(1,1,0))throw new r.NotSupportedException(1,this.ae._s("Error_InvalidAxesCountOrTypeForChartType",r.EnumUtil.getName(n.ChartType_$type,this.c.chartType)));e=new r.DataChartDescription;var u=this.j(ee.j(0,this.c._axisCollection$i,this.ag)),c=this.s(ee.j(1,this.c._axisCollection$i,this.ag));e.axes=[u,c];var h=new r.List$1(r.SeriesDescription.$,0);h.add(this.x(u.name,c.name));var p=this.a4.count>0?this.a4._inner[0].a:null,d=this.a4.count>1?this.a4._inner[1].a:null,f=this.a4.count>2?this.a4._inner[2].a:null,g=this.a4.count>3?this.a4._inner[3].a:null;this.bf(d,f,g,p,null,h,u.name,c.name),e.series=r.Enumerable.a(r.SeriesDescription.$,h);break;case 90:if(0==this.av(1,1,1))throw new r.NotSupportedException(1,this.ae._s("Error_InvalidAxesCountOrTypeForChartType",r.EnumUtil.getName(n.ChartType_$type,this.c.chartType)));e=new r.DataChartDescription;var y=this.j(ee.j(0,this.c._axisCollection$i,this.ag)),m=this.s(ee.j(1,this.c._axisCollection$i,this.ag)),b=this.t(ee.j(3,this.c._axisCollection$i,this.ag));e.axes=[y,m,b];var S=this.a4.count>0?this.a4._inner[0].a:null,v=this.a4.count>1?this.a4._inner[1].a:null,C=this.a4.count>2?this.a4._inner[2].a:null,_=this.a4.count>3?this.a4._inner[3].a:null,x=new r.List$1(r.SeriesDescription.$,0);x.add(this.y(S,y.name,b.name)),x.add(this.w(y.name,m.name)),this.bf(v,C,_,null,S,x,y.name,m.name,b.name),e.series=r.Enumerable.a(r.SeriesDescription.$,x);break;case 91:if(0==this.av(1,1,1))throw new r.NotSupportedException(1,this.ae._s("Error_InvalidAxesCountOrTypeForChartType",r.EnumUtil.getName(n.ChartType_$type,this.c.chartType)));e=new r.DataChartDescription;var k=this.j(ee.j(0,this.c._axisCollection$i,this.ag)),w=this.s(ee.j(1,this.c._axisCollection$i,this.ag)),E=this.t(ee.j(3,this.c._axisCollection$i,this.ag));e.axes=[k,w,E];var A=this.a4.count>0?this.a4._inner[0].a:null,$=this.a4.count>1?this.a4._inner[1].a:null,T=this.a4.count>2?this.a4._inner[2].a:null,D=this.a4.count>3?this.a4._inner[3].a:null,I=this.a4.count>4?this.a4._inner[4].a:null,L=new r.List$1(r.SeriesDescription.$,0);L.add(this.y(A,k.name,E.name)),L.add(this.x(k.name,w.name)),this.bf(T,D,I,$,A,L,k.name,w.name,E.name),e.series=r.Enumerable.a(r.SeriesDescription.$,L)}return null!=e&&this.bz(e),e},s.prototype.j=function(e){var t=new r.CategoryXAxisDescription;return t.name="XAxis",t.label="CategoryName",t.dataSourceRef="stockdata",t.tickLength=10,t.gap=.35,ee.x(t,e,this.ag),t.useClusteringMode=!0,t},s.prototype.s=function(e){var t=new r.NumericYAxisDescription;if(t.name="Prices",t.minimumValue=0,t.abbreviateLargeNumbers=!0,ee.x(t,e,this.ag),e.visible){var i="formatlabelstockchartaxis_"+t.name;this.ac.v(this.ag.a,this.ag.f,i,(function(t,i){if("number"==typeof i){var a=i,n=e._y();if(null!=n){var s=r.stringEmpty();if(o=n.v(a,e.tickLabels.numberFormat,s),s=o.p2,o.ret)return s}}var o;return i.toString()})),t.formatLabelRef=i}else t.formatLabelRef=r.stringEmpty();return t},s.prototype.t=function(e){var t=new r.NumericYAxisDescription;return t.name="Volume",t.minimumValue=0,t.abbreviateLargeNumbers=!0,ee.x(t,e,this.ag),t},s.prototype.v=function(e,t,i,a){var n=new r.LineSeriesDescription;return n.showDefaultTooltip=!0,this.b1(n,e),n.title=t,n.thickness=1,n.xAxisRef=i,n.yAxisRef=a,n.dataSourceRef="stockdata",n.valueMemberPath=t,n},s.prototype.y=function(e,t,i){var a=new r.ColumnSeriesDescription;return a.showDefaultTooltip=!0,this.b1(a,e),a.title="Volume",a.thickness=1,a.xAxisRef=t,a.yAxisRef=i,a.dataSourceRef="stockdata",a.valueMemberPath="Volume",a},s.prototype.x=function(e,t){var a=new r.FinancialPriceSeriesDescription;return a.displayType=r.EnumUtil.getName(i.PriceDisplayType_$type,0),a.showDefaultTooltip=!0,this.b2(a),a.title="Open High Low Close",a.thickness=1,a.xAxisRef=e,a.yAxisRef=t,a.dataSourceRef="stockdata",a.highMemberPath="High",a.lowMemberPath="Low",a.openMemberPath="Open",a.closeMemberPath="Close",a},s.prototype.w=function(e,t){var a=new r.FinancialPriceSeriesDescription;return a.displayType=r.EnumUtil.getName(i.PriceDisplayType_$type,1),this.b2(a),a.title="High Low Close",a.xAxisRef=e,a.yAxisRef=t,a.dataSourceRef="stockdata",a.highMemberPath="High",a.lowMemberPath="Low",a.openMemberPath="Open",a.closeMemberPath="Close",a.showDefaultTooltip=!0,a},s.prototype.ap=function(e){if(null==e.bubbleSizes)return!1;for(var t=e.bubbleSizes.getValues(),r=0;r<t.length;r++){var i=t[r];if(null==i||0==("number"==typeof i||"number"==typeof i))return!1}return!0},s.prototype.a5=function(){var e,t;if(null!=this.a0)return this.a0;this.a0=new r.List$1(W.$,0);try{for(var i=a.__values(r.fromEnum(this.a4)),n=i.next();!n.done;n=i.next()){var s=n.value,o=s.a;this.br(o);var l=void 0,u=void 0,c=this.bq(o,u,l,!0);u=c.p1,l=c.p2;var h=this.ap(o),p=null;h&&(p=o.bubbleSizes.getValues());for(var d=s.c,f=0;f<u.length;f++){var g="number"==typeof u[f]?u[f]:r.typeGetValue(u[f]),y="number"==typeof l[f]?l[f]:r.typeGetValue(l[f]),m=0;h&&(m="number"==typeof p[f]?p[f]:r.typeGetValue(p[f])),this.a0.add(new W(y,g,m,d))}0}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return this.a0},s.prototype.a6=function(){var e,t;if(null!=this.a1)return this.a1;this.a1=new r.List$1(Z.$,0);try{for(var i=a.__values(r.fromEnum(this.a4)),n=i.next();!n.done;n=i.next()){var s=n.value,o=s.a;this.br(o);var l=void 0,u=void 0,c=this.bq(o,u,l);u=c.p1,l=c.p2;for(var h=function(e){var t,i=s.c,a="number"==typeof u[e]?u[e]:r.typeGetValue(u[e]),n=e<l.length?l[e]:null,o=null==n?"":n.toString();p.a1.add(((t=new Z).Row=o,t.Col=i,t.Value=a,t))},p=this,d=0;d<u.length;d++)h(d);0}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return this.a1},s.prototype.bq=function(e,t,i,a){var n,s;void 0===a&&(a=!1);var o=e._dn(n,s);n=o.p0,s=o.p1;for(var l=n.length,u=0;u<l;u++){var c=n[u];n[u]="number"==typeof c||"number"==typeof c?c:0}l=s.length;for(var h=0;h<l;h++){var p=s[h];a?s[h]="number"==typeof p||"number"==typeof p?p:h+1:null==p||"string"==typeof p&&r.stringIsNullOrEmpty(p)?s[h]=h:s[h]=p}return{p1:n,p2:s}},s.prototype.br=function(e){},s.prototype.bs=function(){null!=this.a8&&0==this.ai&&(this.ai=this.ac.e(this.a8)),null!=this.bb&&0==this.am&&(this.am=this.ac.e(this.bb)),this.an&&this.bh()},s.prototype.bt=function(){var e=0,t=0,i=1,a=1,n=0,s=this.c.legend,o=null!=s?s.position:6;this.ac.t(this.f),null!=this.bb&&this.ac.h(this.bb,this.a8);var l=function(){return 1==o},u=function(){return 3==o},c=function(){return 0==o};u()?o=1:c()&&(o=2);var h=new r.List$1(ae.$,0),p=new r.List$1(ae.$,0);if(h.add(ae.a),n++,u()&&this.aq&&(h.add(ae.a),n++),h.add(new ae(2,1,2)),c()&&this.aq&&h.add(ae.a),l()&&this.aq&&p.add(ae.a),p.add(new ae(2,1,2)),2!=o&&4!=o||!this.aq||p.add(ae.a),this.ac.k(this.f,r.Enumerable.a(ae.$,h),r.Enumerable.a(ae.$,p)),this.aq)switch(o){case 3:e=n-1,i=1,t=0,a=1;break;case 0:case 5:case 6:e=2,i=1,t=0,a=1;break;case 1:e=n,i=1,t=0,a=1;break;case 2:case 4:e=n,i=1,t=1,a=1}if(0,1,0,2,this.ac.s(this.f,this.a8,5,!0,n,this.aq&&l()?1:0),this.aq){var d=1,f=0,g=1;switch(o){case 3:d=5;break;case 0:case 5:d=5;break;case 1:case 2:d=0,f=12;break;case 4:d=0,f=13,g=0}this.ac.s(this.f,this.bb,d,!0,e,t,i,a,3,g,f)}if(null!=this.c.chartTitle&&null!=this.ad){null==this.ba&&(this.ba=this.ac.n());var y=null!=this.ba;null==this.a9?(this.a9=this.ad(this.c,null),y&&this.ac.c(this.a9,this.ba,0)):this.a9=this.ad(this.c,this.a9),y?this.ac.s(this.f,this.ba,5,!0,0,0,1,2):this.ac.s(this.f,this.a9,5,!0,0,0,1,2,1,3)}},s.prototype.bu=function(){null!=this.ay&&(this.ay.clear(),this.ay=null),null!=this.ax&&(this.ax.clear(),this.ax=null),null!=this.a2&&(this.a2.clear(),this.a2=null),null!=this.az&&(this.az.clear(),this.az=null),null!=this.a1&&(this.a1.clear(),this.a1=null),null!=this.a0&&(this.a0.clear(),this.a0=null),null!=this.a3&&(this.a3.clear(),this.a3=null),null!=this.a8&&this.ac.d(this.k,this.a8),null!=this.bb&&this.ac.d(this.k,this.bb),this.aj=!0},s.prototype.bv=function(){this.l=null,this.m=null,this.ak=!0},s.prototype.bw=function(e){void 0===e&&(e=null);var t=null==e?this.l:e;null!=t&&null!=this.a8&&this.ac.x(this.k,t,this.a8)},s.prototype.bx=function(){null!=this.m&&this.ac.x(this.k,this.m,this.bb)},s.prototype.by=function(){0!=this.aq?null!==r.typeCast(r.SeriesViewerDescription.$,this.l)&&(this.l.legendRef="legend"):null!==r.typeCast(r.SeriesViewerDescription.$,this.l)&&(this.l.legendRef=null)},s.prototype.bz=function(e){e.background="rgba(0, 0, 0, 0)";var t=ee.r(this.c.plotArea._ap,this.ah);0==r.stringIsNullOrEmpty(t)?e.plotAreaBackground=t:(t=ee.r(this.c.chartArea._ap,this.ah),0==r.stringIsNullOrEmpty(t)&&(e.plotAreaBackground=t))},s.prototype.b0=function(e,t){if(null!==r.typeCast(r.MarkerSeriesDescription.$,e)||null!==r.typeCast(r.StackedFragmentSeriesDescription.$,e)){var a=1;if(null!==r.typeCast(r.BubbleSeriesDescription.$,e))a=3;else switch(t.markerStyle){case-4105:a=2;break;case 8:a=3;break;case-4115:a=6;break;case 2:a=7;break;case-4118:a=3;break;case-4142:a=1;break;case-4147:a=3;break;case 9:a=10;break;case 1:a=6;break;case 5:a=11;break;case 3:case-4168:a=4}if(2==a&&null!==r.typeCast(r.BubbleSeriesDescription.$,e)&&87==t.chartType)return e.markerBrush="rgba(0,162,232,1)",void(e.markerOutline="rgba(0, 0, 0, 0)");var n=r.Enumerable.af(K.$,r.Enumerable.u(K.$,this.a4,(function(e){return e.a==t}))).b;if(null!==r.typeCast(r.MarkerSeriesDescription.$,e)){e.markerType=r.EnumUtil.getName(i.MarkerType_$type,a);var s=ee.r(t._ar(n),this.ah);0==r.stringIsNullOrEmpty(s)&&(e.markerBrush=s),null!=t.markerBorder&&(s=ee.r(t.markerBorder._ap,this.ah),0==r.stringIsNullOrEmpty(s)&&(e.markerOutline=s))}else if(null!==r.typeCast(r.StackedFragmentSeriesDescription.$,e)){e.markerType=r.EnumUtil.getName(i.MarkerType_$type,a);var o=ee.r(t._ar(n),this.ah);0==r.stringIsNullOrEmpty(o)&&(e.markerBrush=o),null!=t.markerBorder&&(o=ee.r(t.markerBorder._ap,this.ah),0==r.stringIsNullOrEmpty(o)&&(e.markerOutline=o))}}},s.prototype.b1=function(e,t){var i=r.Enumerable.af(K.$,r.Enumerable.u(K.$,this.a4,(function(e){return e.a==t})));if(null!=i){var a=i.b,n=null!==r.typeCast(r.StackedSeriesBaseDescription.$,e);if(0==n)if(2==t.type){if(null!=t.line){var s=ee.r(t._aq(a),this.ah);0==r.stringIsNullOrEmpty(s)&&(e.brush=s)}}else{var o=ee.r(t._ao(a),this.ah);0==r.stringIsNullOrEmpty(o)&&(e.brush=o)}if(null!=t.border){var l=ee.r(t.border._ap,this.ah);0==r.stringIsNullOrEmpty(l)?e.outline=l:e.outline="rgba(0, 0, 0, 0)",e.thickness=ee.n(t.border.widthInPoints,this.ah,!1)}else e.outline="rgba(0, 0, 0, 0)";if(null!=t.line&&(e.thickness=ee.n(t.line.widthInPoints,this.c.worksheet.workbook,!1)),0==n&&this.b0(e,t),null!=t._trendlineCollection$i&&t._trendlineCollection$i.count>0){var u=t._trendlineCollection$i.item(0),c=r.EnumUtil.getName(r.TrendLineType_$type,ee.e(u.trendlineType,u.order)),h=u.period,p=ee.r(u.line._as(a),this.ah),d=ee.n(u.line.widthInPoints,this.ah,!1);(null!==r.typeCast(r.AnchoredCategorySeriesDescription.$,e)||null!==r.typeCast(r.ScatterBaseDescription.$,e)||null!==r.typeCast(r.PolarBaseDescription.$,e))&&(e.trendLineType=c,e.trendLinePeriod=h,e.trendLineBrush=p,e.trendLineThickness=d)}}},s.prototype.z=function(e,t){r.DataChartCategoryCoreDescriptionModule.register(this.k.context),r.DataChartCategoryDescriptionModule.register(this.k.context),r.DataChartVerticalCategoryDescriptionModule.register(this.k.context);var i=null;switch(e.chartType){case 52:i=new r.StackedColumnSeriesDescription;break;case 53:i=new r.Stacked100ColumnSeriesDescription;break;case 51:i=new r.ColumnSeriesDescription;break;case 58:i=new r.StackedBarSeriesDescription;break;case 59:i=new r.Stacked100BarSeriesDescription;break;case 57:i=new r.BarSeriesDescription;break;case 4:case 65:i=new r.LineSeriesDescription;break;case 63:case 66:i=new r.StackedLineSeriesDescription;break;case 64:case 67:i=new r.Stacked100LineSeriesDescription;break;case 1:i=new r.AreaSeriesDescription;break;case 76:i=new r.StackedAreaSeriesDescription;break;case 77:i=new r.Stacked100AreaSeriesDescription}null!==r.typeCast(r.StackedSeriesBaseDescription.$,i)?(this.b3(r.typeCast(r.StackedSeriesBaseDescription.$,i)),(null!==r.typeCast(r.HorizontalStackedSeriesBaseDescription.$,i)||null!==r.typeCast(r.VerticalStackedSeriesBaseDescription.$,i))&&(i.xAxisRef=1==e.axisGroup?"XAxisPrimary":"XAxisSecondary",i.yAxisRef=1==e.axisGroup?"YAxisPrimary":"YAxisSecondary")):(this.bk(1),i.dataSourceRef=r.stringFormat("groupedseriesdata{0}",t),this.b1(i,e),(null!==r.typeCast(r.VerticalAnchoredCategorySeriesDescription.$,i)||null!==r.typeCast(r.HorizontalAnchoredCategorySeriesDescription.$,i))&&(i.xAxisRef=1==e.axisGroup?"XAxisPrimary":"XAxisSecondary",i.yAxisRef=1==e.axisGroup?"YAxisPrimary":"YAxisSecondary"),i.valueMemberPath="Value");var a=r.Enumerable.af(K.$,r.Enumerable.u(K.$,this.a4,(function(t){return t.a==e})));return i.name=a.c,i.title=a.d,i.showDefaultTooltip=!0,i},s.prototype.b2=function(e){null!=this.c.upDownBars&&(e.brush=ee.r(this.c.upDownBars.upBar._ad,this.ah),e.outline=ee.r(this.c.upDownBars.upBar.border._ap,this.ah),e.negativeBrush=ee.r(this.c.upDownBars.downBar._ad,this.ah),e.negativeOutline=ee.r(this.c.upDownBars.downBar.border._ap,this.ah))},s.prototype.u=function(e,t){r.RingSeriesBaseDescriptionMetadata.d(this.k.context),r.RingSeriesDescriptionMetadata.d(this.k.context),r.HierarchicalRingSeriesDescriptionMetadata.d(this.k.context),this.bk(1);var i=new r.RingSeriesDescription;return i.valueMemberPath="Value",i.labelMemberPath="Row",i.dataSourceRef=r.stringFormat("groupedseriesdata{0}",t),i.tooltipTemplateRef="doughnutcharttooltip",i.brushes=ee.b(e,t),0==t&&(i.legendRef="legend"),i},s.prototype.aa=function(e,t,i){r.DataChartCategoryCoreDescriptionModule.register(this.k.context),r.DataChartCategoryDescriptionModule.register(this.k.context),r.DataChartVerticalCategoryDescriptionModule.register(this.k.context),r.DataChartRadialCoreDescriptionModule.register(this.k.context),r.DataChartRadialDescriptionModule.register(this.k.context);var a=null;switch(e.chartType){case-4151:case 81:a=new r.RadialLineSeriesDescription;break;case 82:a=new r.RadialAreaSeriesDescription}this.bk(1),a.dataSourceRef=r.stringFormat("groupedseriesdata{0}",t),this.b1(a,e),a.angleAxisRef="CategoryAngleAxis",a.valueAxisRef="NumericRadiusAxis",a.valueMemberPath="Value";var n=r.Enumerable.af(K.$,r.Enumerable.u(K.$,this.a4,(function(t){return t.a==e})));return a.name=n.c,a.title=n.d,a.showDefaultTooltip=!0,this.ar&&i.m(1==e.axisGroup,this.ag),a},s.prototype.ab=function(e,t,i){r.DataChartScatterDescriptionModule.register(this.k.context),this.bj();var a=null,n=e.chartType;if(7==e.type)a=new r.BubbleSeriesDescription;else switch(n){case-4169:a=new r.ScatterSeriesDescription;break;case 74:case 75:a=new r.ScatterLineSeriesDescription;break;case 72:case 73:a=new r.ScatterSplineSeriesDescription}(a.showDefaultTooltip=!0,this.b1(a,e),a.name=r.Enumerable.af(K.$,r.Enumerable.u(K.$,this.a4,(function(t){return t.a==e}))).c,a.title=r.Enumerable.af(K.$,r.Enumerable.u(K.$,this.a4,(function(t){return t.a==e}))).d,this.ar?(a.xAxisRef=1==e.axisGroup?"XAxisPrimary":"XAxisSecondary",a.yAxisRef=1==e.axisGroup?"YAxisPrimary":"YAxisSecondary"):(a.xAxisRef="XAxisPrimary",a.yAxisRef="YAxisSecondary"),a.dataSourceRef=r.stringFormat("groupedscatterseriesdata{0}",t),a.yMemberPath="Y",a.xMemberPath="X",7==e.type)&&(null!=e.bubbleSizes&&0!=e.bubbleSizes.getValues().length&&(a.radiusMemberPath="Radius"));this.ar&&i.n(1==e.axisGroup,this.ag);var s=ee.r(e._aq(t),this.ah);return 0==r.stringIsNullOrEmpty(s)&&(a.brush=s),s=ee.r(e._ar(t),this.ah),0==r.stringIsNullOrEmpty(s)&&(a.markerBrush=s),a},s.prototype.b3=function(e){r.DataChartStackedDescriptionModule.register(this.k.context),this.bn();for(var t=this.a4.count,i=new r.List$1(r.StackedFragmentSeriesDescription.$,0),a=0;a<t;a++){var s=this.a4._inner[a].a;if(0!=r.stringContains(r.EnumUtil.getName(n.ChartType_$type,s.chartType),"Stacked")){var o=new r.StackedFragmentSeriesDescription;if(o.valueMemberPath=r.stringFormat("SeriesValues[{0}]",a.toString()),2==s.type){if(null!=s.line){var l=ee.r(s._aq(a),this.ah);0==r.stringIsNullOrEmpty(l)&&(o.brush=l)}}else{var u=ee.r(s._ao(a),this.ah);0==r.stringIsNullOrEmpty(u)&&(o.brush=u)}if(null!=s.border){var c=ee.r(s.border._ap,this.ah);0==r.stringIsNullOrEmpty(c)?o.outline=c:o.outline="rgba(0, 0, 0, 0)",o.thickness=ee.n(s.border.widthInPoints,this.ah,!1)}else o.outline="rgba(0, 0, 0, 0)";this.b0(o,s),o.name=ee.v(s,a+1)+"_stacked",o.title=ee.w(s,a+1),i.add(o)}}e.dataSourceRef="stackedseriesdata",this.b8(i),e.series=r.Enumerable.a(r.StackedFragmentSeriesDescription.$,i)},s.prototype.au=function(e){var t,r,i=this.bq(e,r,t);if(r=i.p1,t=i.p2,null==r||r.length<1)return!0;if(null==e.values)return!0;var a=!0;r=e.values.getValues();for(var n=0;n<r.length;n++){if(null!=r[n]){a=!1;break}}return a},s.prototype.b4=function(e){var t,i;try{for(var n=a.__values(r.fromEnum(e.b)),s=n.next();!s.done;s=n.next()){s.value.a.rangeChangedRef=r.stringEmpty()}}catch(e){t={error:e}}finally{try{s&&!s.done&&(i=n.return)&&i.call(n)}finally{if(t)throw t.error}}if(!(e.f.count<1&&e.g.count<1))for(var o=function(e){var t,i;try{for(var n=a.__values(r.fromEnum(e)),s=n.next();!s.done;s=n.next()){if(null==s.value.b.majorGridLines)return!1}}catch(e){t={error:e}}finally{try{s&&!s.done&&(i=n.return)&&i.call(n)}finally{if(t)throw t.error}}return!0},l=0;l<2;l++){var u=null,c=r.stringEmpty();if(0==l){if(!((u=e.f).count>1&&o(u)))continue;c="syncrange_xaxis"}else{if(!((u=e.g).count>1&&o(u)))continue;c="syncrange_yaxis"}u._inner[0].a.rangeChangedRef=c,u._inner[1].a.rangeChangedRef=c;this.ac.w(this.k,this.a8,c,(function(e,t){var i=r.truncate(Math.floor(r.log10(e))),a=e/Math.pow(10,i);return t?(a<1.5?1:a<3?2:a<7?5:10)*Math.pow(10,i):(a<=1?1:a<=2?2:a<=5?5:10)*Math.pow(10,i)}))}},s.prototype.b5=function(e,t,i){var n,s,o,l,u,c,h=new r.Dictionary$2(r.String_$type,r.Number_$type,0),p=new r.Dictionary$2(r.String_$type,r.Number_$type,0);try{for(var d=a.__values(r.fromEnum(t)),f=d.next();!f.done;f=d.next()){var g=f.value,y=r.stringEmpty(),m=r.stringEmpty();null!==r.typeCast(r.StackedSeriesBaseDescription.$,g)?(null!==r.typeCast(r.HorizontalStackedSeriesBaseDescription.$,g)||null!==r.typeCast(r.VerticalStackedSeriesBaseDescription.$,g))&&(y=g.xAxisRef,m=g.yAxisRef):(null!==r.typeCast(r.ScatterBaseDescription.$,g)||null!==r.typeCast(r.VerticalAnchoredCategorySeriesDescription.$,g)||null!==r.typeCast(r.HorizontalAnchoredCategorySeriesDescription.$,g))&&(y=g.xAxisRef,m=g.yAxisRef),0==h.containsKey(y)&&h.addItem(y,17976931348623157e292),0==h.containsKey(m)&&h.addItem(m,17976931348623157e292),0==p.containsKey(y)&&p.addItem(y,-17976931348623157e292),0==p.containsKey(m)&&p.addItem(m,-17976931348623157e292);var b=i.item(g),S=17976931348623157e292,v=-17976931348623157e292,C=void 0,_=void 0,x=this.bq(b,_,C);_=x.p1,C=x.p2;for(var k=0;k<_.length;k++){var w=_[k];if("number"==typeof w){var E=r.Convert.toDouble3(w);S=Math.min(S,E),v=Math.max(v,E)}}var A=h.item(y);h.item(y,Math.min(S,A)),A=h.item(m),h.item(m,Math.min(S,A)),A=p.item(y),p.item(y,Math.max(v,A)),A=p.item(m),p.item(m,Math.max(v,A))}}catch(e){n={error:e}}finally{try{f&&!f.done&&(s=d.return)&&s.call(d)}finally{if(n)throw n.error}}var $=-17976931348623157e292,T=17976931348623157e292,D=-17976931348623157e292,I=17976931348623157e292,L=0,N=0;try{for(var M=a.__values(r.fromEnum(e.b)),R=M.next();!R.done;R=M.next()){var F=R.value;if(null!==r.typeCast(r.StraightNumericAxisBaseDescription.$,F.a)){if(F.b.minimumScaleIsAuto){var P=Math.floor(h.item(F.a.name));F.a.minimumValue=P,F.j?(N++,I=Math.min(I,P)):(L++,T=Math.min(T,P))}if(F.b.maximumScaleIsAuto){var O=Math.ceil(p.item(F.a.name));F.a.maximumValue=O,F.j?(N++,D=Math.max(D,O)):(L++,$=Math.max($,O))}}}}catch(e){o={error:e}}finally{try{R&&!R.done&&(l=M.return)&&l.call(M)}finally{if(o)throw o.error}}var j=function(e,t,r){return Math.abs(r-t)/(t-e)<=.1},z=function(e,t,r){return Math.abs(r-e)/(t-e)<=.1};try{for(var V=a.__values(r.fromEnum(e.b)),B=V.next();!B.done;B=V.next()){var U=B.value;if(null!==r.typeCast(r.StraightNumericAxisBaseDescription.$,U.a)){if(U.b.minimumScaleIsAuto)if(U.j){if(N>1){var q=U.a.minimumValue;q!=I&&z(I,D,q)&&(U.a.minimumValue=I)}}else if(L>1){var G=U.a.minimumValue;G!=T&&z(T,$,G)&&(U.a.minimumValue=T)}if(U.b.maximumScaleIsAuto)if(U.j){if(N>1){var H=U.a.maximumValue;H!=I&&j(I,D,H)&&(U.a.maximumValue=D)}}else if(L>1){var X=U.a.maximumValue;X!=T&&z(T,$,X)&&(U.a.maximumValue=$)}}}}catch(e){u={error:e}}finally{try{B&&!B.done&&(c=V.return)&&c.call(V)}finally{if(u)throw u.error}}},s.prototype.b6=function(){this.ae._e.contains(this.c.chartType)},s.prototype.av=function(e,t,i){var n,s,o=0,l=0,u=0;try{for(var c=a.__values(r.fromEnum(this.c._axisCollection$i)),h=c.next();!h.done;h=c.next()){var p=h.value;1==p.type&&p.visible?o++:1==p.axisGroup&&p.visible?l++:2==p.axisGroup&&p.visible&&u++}}catch(e){n={error:e}}finally{try{h&&!h.done&&(s=c.return)&&s.call(c)}finally{if(n)throw n.error}}return o==e&&l==t&&u==i},s.prototype.b7=function(e){var t,i,n=new r.HashSet$1(r.String_$type,0);try{for(var s=a.__values(r.fromEnum(e)),o=s.next();!o.done;o=s.next()){for(var l=o.value,u=l.name;n.contains(u);)u=l.name+this.ag.e().toString();n.add_1(u),l.name!=u&&(l.name=u)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(i=s.return)&&i.call(s)}finally{if(t)throw t.error}}},s.prototype.b8=function(e){var t,i,n=new r.HashSet$1(r.String_$type,0);try{for(var s=a.__values(r.fromEnum(e)),o=s.next();!o.done;o=s.next()){for(var l=o.value,u=l.name;n.contains(u);)u=l.name+this.ag.e().toString();n.add_1(u),l.name!=u&&(l.name=u)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(i=s.return)&&i.call(s)}finally{if(t)throw t.error}}},s.$t=r.markType(s,"SpreadsheetChartAdapter_SpreadsheetChartElementInfoPrivate",t.SpreadsheetChartElementInfo.$),s}(t.SpreadsheetChartElementInfo),oe=r.markEnum("AnchorStyle","None,0|Top,1|Bottom,2|Left,4|Right,8"),le=r.markEnum("AxisGroupType","PrimaryX,0|PrimaryY,1|SecondaryX,2|SecondaryY,3"),ue=r.markEnum("DockingStyle","None,0|Top,1|Bottom,2|Left,3|Right,4|Fill,5"),ce=r.markEnum("HAlign","Left,0|Center,1|Right,2|Stretch,3"),he=r.markEnum("RowColUnitType","Auto,0|Pixel,1|Star,2"),pe=r.markEnum("VAlign","Top,0|Center,1|Bottom,2|Stretch,3"),de=r.markEnum("SpreadsheetChartAdapter_GroupedSeriesOrderBy","Row,0|Col,1");e.AnchorStyle_$type=oe,e.AxisGroupType_$type=le,e.AxisInfo=J,e.AxisInfos=ie,e.ChartElementPlatformHelper=Y,e.ChartSeriesInfo=K,e.DockingStyle_$type=ue,e.HAlign_$type=ce,e.IgcSpreadsheetChartAdapterLocaleBgModule=u,e.IgcSpreadsheetChartAdapterLocaleCsModule=h,e.IgcSpreadsheetChartAdapterLocaleDaModule=d,e.IgcSpreadsheetChartAdapterLocaleDeModule=g,e.IgcSpreadsheetChartAdapterLocaleEnModule=H,e.IgcSpreadsheetChartAdapterLocaleEsModule=m,e.IgcSpreadsheetChartAdapterLocaleFrModule=S,e.IgcSpreadsheetChartAdapterLocaleHuModule=C,e.IgcSpreadsheetChartAdapterLocaleItModule=x,e.IgcSpreadsheetChartAdapterLocaleJaModule=w,e.IgcSpreadsheetChartAdapterLocaleNbModule=A,e.IgcSpreadsheetChartAdapterLocaleNlModule=T,e.IgcSpreadsheetChartAdapterLocalePlModule=I,e.IgcSpreadsheetChartAdapterLocalePtModule=N,e.IgcSpreadsheetChartAdapterLocaleRoModule=R,e.IgcSpreadsheetChartAdapterLocaleRuModule=P,e.IgcSpreadsheetChartAdapterLocaleSvModule=j,e.IgcSpreadsheetChartAdapterLocaleTrModule=V,e.IgcSpreadsheetChartAdapterLocaleZhHansModule=U,e.IgcSpreadsheetChartAdapterLocaleZhHantModule=G,e.IgcSpreadsheetChartAdapterModule=o,e.RowColLength=ae,e.RowColUnitType_$type=he,e.SpreadsheetChartAdapter=ne,e.SpreadsheetChartAdapterHelpers=ee,e.SpreadsheetChartAdapterLocaleBg=l,e.SpreadsheetChartAdapterLocaleCs=c,e.SpreadsheetChartAdapterLocaleDa=p,e.SpreadsheetChartAdapterLocaleDe=f,e.SpreadsheetChartAdapterLocaleEn=s,e.SpreadsheetChartAdapterLocaleEs=y,e.SpreadsheetChartAdapterLocaleFr=b,e.SpreadsheetChartAdapterLocaleHu=v,e.SpreadsheetChartAdapterLocaleIt=_,e.SpreadsheetChartAdapterLocaleJa=k,e.SpreadsheetChartAdapterLocaleNb=E,e.SpreadsheetChartAdapterLocaleNl=$,e.SpreadsheetChartAdapterLocalePl=D,e.SpreadsheetChartAdapterLocalePt=L,e.SpreadsheetChartAdapterLocaleRo=M,e.SpreadsheetChartAdapterLocaleRu=F,e.SpreadsheetChartAdapterLocaleSv=O,e.SpreadsheetChartAdapterLocaleTr=z,e.SpreadsheetChartAdapterLocaleZhHans=B,e.SpreadsheetChartAdapterLocaleZhHant=q,e.SpreadsheetChartAdapterState=X,e.SpreadsheetChartAdapter_GroupedSeriesOrderBy_$type=de,e.SpreadsheetChartAdapter_PieDataItem=te,e.SpreadsheetChartAdapter_ScatterSeriesDataItem=W,e.SpreadsheetChartAdapter_SeriesDataItem=Z,e.SpreadsheetChartAdapter_SpreadsheetChartElementInfoPrivate=se,e.SpreadsheetChartAdapter_StackedSeriesDataItem=Q,e.SpreadsheetChartAdapter_StockDataItem=re,e.VAlign_$type=pe,Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -126,21 +126,21 @@ let ChartElementPlatformHelper = /*@__PURE__*/ (() => {
126
126
  }
127
127
  let h = Enumerable.af(NumericAxisBase.$, Enumerable.l(NumericAxisBase.$, Enumerable.u(Axis.$, g.axes, (i) => stringContains(i.name, "Primary"))));
128
128
  let i = Enumerable.af(NumericAxisBase.$, Enumerable.l(NumericAxisBase.$, Enumerable.u(Axis.$, g.axes, (j) => stringContains(j.name, "Secondary"))));
129
- if (h != null && i != null && h.qu != 0 && i.qu != 0) {
130
- let j = h.qw;
131
- let k = h.qv;
132
- let l = h.qu;
129
+ if (h != null && i != null && h.qw != 0 && i.qw != 0) {
130
+ let j = h.qy;
131
+ let k = h.qx;
132
+ let l = h.qw;
133
133
  let m = l / (k - j);
134
- let n = i.qw;
135
- let o = i.qv;
136
- let p = i.qu;
134
+ let n = i.qy;
135
+ let o = i.qx;
136
+ let p = i.qw;
137
137
  p = m * (o - n);
138
138
  let q = d(p, false);
139
139
  let r = (o - n) * q / p;
140
140
  o = n + r;
141
- i.q9 = n;
142
- i.q5 = p;
143
- i.q8 = o;
141
+ i.rb = n;
142
+ i.q7 = p;
143
+ i.ra = o;
144
144
  }
145
145
  }));
146
146
  }
@@ -164,21 +164,21 @@ export var ChartElementPlatformHelper = /** @class */ /*@__PURE__*/ (function (_
164
164
  }
165
165
  var h = Enumerable.af(NumericAxisBase.$, Enumerable.l(NumericAxisBase.$, Enumerable.u(Axis.$, g.axes, function (i) { return stringContains(i.name, "Primary"); })));
166
166
  var i = Enumerable.af(NumericAxisBase.$, Enumerable.l(NumericAxisBase.$, Enumerable.u(Axis.$, g.axes, function (j) { return stringContains(j.name, "Secondary"); })));
167
- if (h != null && i != null && h.qu != 0 && i.qu != 0) {
168
- var j = h.qw;
169
- var k = h.qv;
170
- var l = h.qu;
167
+ if (h != null && i != null && h.qw != 0 && i.qw != 0) {
168
+ var j = h.qy;
169
+ var k = h.qx;
170
+ var l = h.qw;
171
171
  var m = l / (k - j);
172
- var n = i.qw;
173
- var o = i.qv;
174
- var p = i.qu;
172
+ var n = i.qy;
173
+ var o = i.qx;
174
+ var p = i.qw;
175
175
  p = m * (o - n);
176
176
  var q = d(p, false);
177
177
  var r = (o - n) * q / p;
178
178
  o = n + r;
179
- i.q9 = n;
180
- i.q5 = p;
181
- i.q8 = o;
179
+ i.rb = n;
180
+ i.q7 = p;
181
+ i.ra = o;
182
182
  }
183
183
  }));
184
184
  };
@@ -803,21 +803,21 @@ let ChartElementPlatformHelper = /*@__PURE__*/ (() => {
803
803
  }
804
804
  let h = Enumerable.af(NumericAxisBase.$, Enumerable.l(NumericAxisBase.$, Enumerable.u(Axis.$, g.axes, (i) => stringContains(i.name, "Primary"))));
805
805
  let i = Enumerable.af(NumericAxisBase.$, Enumerable.l(NumericAxisBase.$, Enumerable.u(Axis.$, g.axes, (j) => stringContains(j.name, "Secondary"))));
806
- if (h != null && i != null && h.qu != 0 && i.qu != 0) {
807
- let j = h.qw;
808
- let k = h.qv;
809
- let l = h.qu;
806
+ if (h != null && i != null && h.qw != 0 && i.qw != 0) {
807
+ let j = h.qy;
808
+ let k = h.qx;
809
+ let l = h.qw;
810
810
  let m = l / (k - j);
811
- let n = i.qw;
812
- let o = i.qv;
813
- let p = i.qu;
811
+ let n = i.qy;
812
+ let o = i.qx;
813
+ let p = i.qw;
814
814
  p = m * (o - n);
815
815
  let q = d(p, false);
816
816
  let r = (o - n) * q / p;
817
817
  o = n + r;
818
- i.q9 = n;
819
- i.q5 = p;
820
- i.q8 = o;
818
+ i.rb = n;
819
+ i.q7 = p;
820
+ i.ra = o;
821
821
  }
822
822
  }));
823
823
  }
@@ -927,21 +927,21 @@ var ChartElementPlatformHelper = /** @class */ /*@__PURE__*/ (function (_super)
927
927
  }
928
928
  var h = Enumerable.af(NumericAxisBase.$, Enumerable.l(NumericAxisBase.$, Enumerable.u(Axis.$, g.axes, function (i) { return stringContains(i.name, "Primary"); })));
929
929
  var i = Enumerable.af(NumericAxisBase.$, Enumerable.l(NumericAxisBase.$, Enumerable.u(Axis.$, g.axes, function (j) { return stringContains(j.name, "Secondary"); })));
930
- if (h != null && i != null && h.qu != 0 && i.qu != 0) {
931
- var j = h.qw;
932
- var k = h.qv;
933
- var l = h.qu;
930
+ if (h != null && i != null && h.qw != 0 && i.qw != 0) {
931
+ var j = h.qy;
932
+ var k = h.qx;
933
+ var l = h.qw;
934
934
  var m = l / (k - j);
935
- var n = i.qw;
936
- var o = i.qv;
937
- var p = i.qu;
935
+ var n = i.qy;
936
+ var o = i.qx;
937
+ var p = i.qw;
938
938
  p = m * (o - n);
939
939
  var q = d(p, false);
940
940
  var r = (o - n) * q / p;
941
941
  o = n + r;
942
- i.q9 = n;
943
- i.q5 = p;
944
- i.q8 = o;
942
+ i.rb = n;
943
+ i.q7 = p;
944
+ i.ra = o;
945
945
  }
946
946
  }));
947
947
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-webcomponents-spreadsheet-chart-adapter",
3
- "version": "7.1.0-alpha.0",
3
+ "version": "7.1.0-alpha.1",
4
4
  "description": "Ignite UI Web Components component for displaying Microsoft Excel charts in a spreadsheet for modern web apps.",
5
5
  "homepage": "https://github.com/IgniteUI/igniteui-webcomponents-spreadsheet",
6
6
  "keywords": [
@@ -19,10 +19,10 @@
19
19
  "tslib": "^2.3.1"
20
20
  },
21
21
  "peerDependencies": {
22
- "igniteui-webcomponents-core": "7.1.0-alpha.0",
23
- "igniteui-webcomponents-excel": "7.1.0-alpha.0",
24
- "igniteui-webcomponents-spreadsheet": "7.1.0-alpha.0",
25
- "igniteui-webcomponents-charts": "7.1.0-alpha.0"
22
+ "igniteui-webcomponents-core": "7.1.0-alpha.1",
23
+ "igniteui-webcomponents-excel": "7.1.0-alpha.1",
24
+ "igniteui-webcomponents-spreadsheet": "7.1.0-alpha.1",
25
+ "igniteui-webcomponents-charts": "7.1.0-alpha.1"
26
26
  },
27
27
  "sideEffects": false,
28
28
  "typings": "igniteui-webcomponents-spreadsheet-chart-adapter.d.ts",