/*!@license
* Infragistics.Web.ClientUI infragistics.financialChart.js 21.2.20212.99
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
* Depends:
*     jquery-1.4.4.js
*     jquery.ui.core.js
*     jquery.ui.widget.js
*     infragistics.util.js
*     infragistics.ext_core.js
*     infragistics.ext_collections.js
*     infragistics.dv_core.js
*     infragistics.dv_dataseriesadapter.js
*     infragistics.dv_datasource.js
*     infragistics.dv_geometry.js
*     infragistics.datachart_categorycore.js
*     infragistics.datachart_domainChart.js
*     infragistics.datachart_core.js
*     infragistics.ext_ui.js
*/
(function(factory){if(typeof define==="function"&&define.amd){define(["./infragistics.util","./infragistics.ext_core","./infragistics.ext_collections","./infragistics.dv_core","./infragistics.dv_dataseriesadapter","./infragistics.dv_datasource","./infragistics.dv_geometry","./infragistics.datachart_categorycore","./infragistics.datachart_domainChart","./infragistics.datachart_core","./infragistics.ext_ui"],factory)}else{factory(igRoot)}})(function($){$.ig=$.ig||{};var $$t={};$.ig.globalDefs=$.ig.globalDefs||{};$.ig.globalDefs.$$fc=$$t;var $$0=$.ig.globalDefs.$$0;var $$4=$.ig.globalDefs.$$4;var $$1=$.ig.globalDefs.$$1;var $$w=$.ig.globalDefs.$$w;var $$x=$.ig.globalDefs.$$x;var $$y=$.ig.globalDefs.$$y;var $$r=$.ig.globalDefs.$$r;var $$g=$.ig.globalDefs.$$g;var $$dc=$.ig.globalDefs.$$dc;var $$j=$.ig.globalDefs.$$j;var $$6=$.ig.globalDefs.$$6;var $$a=$.ig.globalDefs.$$a;$.ig.$currDefinitions=$$t;$.ig.util.bulkDefine(["FinancialChart:a","FinancialChartToolbar:o","FinancialChartRangeSelector:r","ITimeXAxis:w","FinancialChartCustomIndicatorHandler:ac","FinancialChartRangeSelectorVisualData:aq","FinancialChartEnumPickerVisualData:ar","FinancialChartToolbarVisualData:at","FinancialChartVisualData:au"]);var $a=$.ig.intDivide,$b=$.ig.util.cast,$c=$.ig.util.defType,$d=$.ig.util.defEnum,$e=$.ig.util.getBoxIfEnum,$f=$.ig.util.getDefaultValue,$g=$.ig.util.getEnumValue,$h=$.ig.util.getValue,$i=$.ig.util.intSToU,$j=$.ig.util.nullableEquals,$k=$.ig.util.nullableIsNull,$l=$.ig.util.nullableNotEquals,$m=$.ig.util.toNullable,$n=$.ig.util.toString$1,$o=$.ig.util.u32BitwiseAnd,$p=$.ig.util.u32BitwiseOr,$q=$.ig.util.u32BitwiseXor,$r=$.ig.util.u32LS,$s=$.ig.util.unwrapNullable,$t=$.ig.util.wrapNullable,$u=String.fromCharCode,$v=$.ig.util.castObjTo$t,$w=$.ig.util.compare,$x=$.ig.util.replace,$y=$.ig.util.stringFormat,$z=$.ig.util.stringFormat1,$0=$.ig.util.stringFormat2,$1=$.ig.util.stringCompare1,$2=$.ig.util.stringCompare2,$3=$.ig.util.stringCompare3,$4=$.ig.util.compareSimple,$5=$.ig.util.tryParseNumber,$6=$.ig.util.tryParseNumber1,$7=$.ig.util.numberToString,$8=$.ig.util.numberToString1,$9=$.ig.util.parseNumber,$aa=$.ig.util.isDigit,$ab=$.ig.util.isDigit1,$ac=$.ig.util.isLetter,$ad=$.ig.util.isNumber,$ae=$.ig.util.isLetterOrDigit,$af=$.ig.util.isLower,$ag=$.ig.util.toLowerCase,$ah=$.ig.util.toUpperCase;$d("FinancialIndicatorType:al",false,false,{AbsoluteVolumeOscillator:0,AccumulationDistribution:1,AverageDirectionalIndex:2,AverageTrueRange:3,BollingerBandWidth:4,ChaikinOscillator:5,ChaikinVolatility:6,CommodityChannelIndex:7,DetrendedPriceOscillator:8,EaseOfMovement:9,FastStochasticOscillator:10,ForceIndex:11,FullStochasticOscillator:12,MarketFacilitationIndex:13,MassIndex:14,MedianPrice:15,MoneyFlowIndex:16,MovingAverageConvergenceDivergence:17,NegativeVolumeIndex:18,OnBalanceVolume:19,PercentagePriceOscillator:20,PercentageVolumeOscillator:21,PositiveVolumeIndex:22,PriceVolumeTrend:23,RateOfChangeAndMomentum:24,RelativeStrengthIndex:25,SlowStochasticOscillator:26,StandardDeviation:27,StochRSI:28,TRIX:29,TypicalPrice:30,UltimateOscillator:31,WeightedClose:32,WilliamsPercentR:33});$d("FinancialOverlayType:ak",false,false,{BollingerBands:0,PriceChannel:1});$d("FinancialChartZoomSliderType:ai",false,false,{None:0,Auto:1,Bar:2,Candle:3,Column:4,Line:5,Area:6});$d("FinancialChartYAxisMode:ah",false,false,{Numeric:0,PercentChange:1});$d("FinancialChartXAxisMode:ag",false,false,{Ordinal:0,Time:1});$d("FinancialChartType:af",false,false,{Auto:0,Bar:1,Candle:2,Column:3,Line:4});$d("FinancialChartVolumeType:ae",false,false,{None:0,Column:1,Line:2,Area:3});$d("FinancialChartRangeSelectorOption:ab",false,false,{OneMonth:0,ThreeMonths:1,SixMonths:2,YearToDate:3,OneYear:4,All:5});$c("FinancialChart:a","XYChart",{kc:function(a,b,c){$.ig.XYChart.prototype.kc.call(this,a,b,c);switch(a){case"ToolbarTemplate":case"RangeSelectorTemplate":this.ty(new $$t.o(this,this.toolbarTemplate()));break;case"Toolbar":var d=b;if(d!=null){d.chartTypeChanged=$.ig.Delegate.prototype.remove(d.chartTypeChanged,this.aao.runOn(this));d.trendLineTypeChanged=$.ig.Delegate.prototype.remove(d.trendLineTypeChanged,this.aar.runOn(this));d.volumeTypeChanged=$.ig.Delegate.prototype.remove(d.volumeTypeChanged,this.aas.runOn(this));d.l(null)}if(this.ty()!=null){this.ty().ac(this.volumeType());this.ty().ai(this.trendLineType());this.ty().y(this.chartType());this.ty().al(this.isToolbarVisible());if(this._w8!=null){this.ty().l(this._w8)}var e=this.ty();e.chartTypeChanged=$.ig.Delegate.prototype.combine(e.chartTypeChanged,this.aao.runOn(this));var f=this.ty();f.trendLineTypeChanged=$.ig.Delegate.prototype.combine(f.trendLineTypeChanged,this.aar.runOn(this));var g=this.ty();g.volumeTypeChanged=$.ig.Delegate.prototype.combine(g.volumeTypeChanged,this.aas.runOn(this))}break;case"ChartType":if(this.ty()!=null){this.ty().y(this.chartType())}break;case"VolumeType":if(this.ty()!=null){this.ty().ac(this.volumeType())}break;case"TrendLineType":if(this.ty()!=null){this.ty().ai(this.trendLineType())}break;case"IsToolbarVisible":if(this.ty()==null){break}this.ty().al(this.isToolbarVisible());this.setGridRows();break}},aas:function(a,b){this.volumeType(this.ty().ac())},aar:function(a,b){this.trendLineType(this.ty().ai())},aao:function(a,b){this.chartType(this.ty().y())},aa0:function(){this._ur=new $$t.v;this.financialChartLegend($.ig.FinancialLegend?new $.ig.FinancialLegend:null)},_ur:null,provideGrid:function(a){this._xb=a;this.abl();this.setGridRows();if(this.ty()!=null){this.ty().bg(a)}},onDocumentClick:function(a){if(this.ty()!=null){this.ty().bl(a)}},_xb:null,_w9:null,_w6:null,_w8:null,_xa:null,_w7:null,getContext:function(){var a=this.ty().v();var b=new $$t.b;b.vm(new $$t.c);b.vm().toolbar(a);b.container(this._ff);b.toolbarContainer(this._w8);b.legendContainer(this._w7);b.indicatorsContainer(this._w6);b.volumeContainer(this._w9);b.zoomContainer(this._xa);return b},provideContainer:function(a){var b=a;if(b!=null){var c="financialChartMainGrid";var d=$$t.$x.c($$t.$x.h(null,c,$$t.$a.x8));this._xb=d==null?null:b.getWrapper(d.querySelector("."+c));if(this._xb==null||this._xb.getNativeElement()==null){this._xb=b.getWrapper(d)}b.append(this._xb);var e=b.querySelector(".financialChartToolbar");if(this.ty()==null){this.ty(new $$t.o(this,this.toolbarTemplate()))}this.ty()._w.isIndicatorMenuVisible(this.vn()&&this.vo());this._w8=b.getSubRenderer(e);this.ty().l(this._w8);var f=b.querySelector(".financialChartPrice");var g=b.querySelector(".financialChartLegend");this._w7=b.getSubRenderer(g);var h=b.querySelector(".financialChartIndicators");this._w6=b.getSubRenderer(h);var i=b.querySelector(".financialChartVolume");this._w9=b.getSubRenderer(i);var j=b.querySelector(".financialChartZoomSlider");this._xa=b.getSubRenderer(j);a=b.getSubRenderer(f)}else{this._w8=null;if(this.ty()!=null){this.ty().l(null)}if(this.vg()!=null){this.vg().provideContainer(null);this.vg(null)}if(this.financialChartLegend()!=null){this.financialChartLegend().provideContainer(null)}}$.ig.XYChart.prototype.provideContainer.call(this,a);if(b!=null){if(this.volumeChart()!=null){this.volumeChart().provideContainer(this._w9)}if(this._ur!=null){this._ur.h(this._w6)}if(this.zoomSliderChart()!=null){this.zoomSliderChart().provideContainer(this._xa);if(a!=null){this.z8()}else{this.vg(null)}}if(this.financialChartLegend()!=null){this.financialChartLegend().provideContainer(this._w7)}this.setGridRows()}},abb:function(a,b,c){if(a!=null){a.provideContainer(null)}if(b!=null){b.provideContainer(c)}this.setGridRows()},abp:function(a,b){this.abb(a,b,this._xa);if(b==null){return}this.z8()},z8:function(){var $self=this;if(this._xa==null){return}if(this.vg()!=null){this.vg().provideContainer(null)}this.vg(new $.ig.ZoomSlider);this.vg().provideContainer(this._xa);var a=this.vg();a.windowRectChanged=$.ig.Delegate.prototype.combine(a.windowRectChanged,function(a,b){if($self.dataChart()!=null){$self.dataChart().windowRect(new $$a.ae(0,$self.vg().windowRect().left(),$self.dataChart().actualWindowRect().top(),$self.vg().windowRect().width(),$self.dataChart().actualWindowRect().height()))}});this.z9()},abn:function(a,b){this.abb(a,b,this._w9)},setGridRows:function(){if(this._xb==null){return}var a=new Array(6);a[0]=(this.isToolbarVisible()?this.toolbarHeight():0)+"px";a[1]=this.isLegendVisible()?"min-content":"0px";a[2]="auto";a[3]=this.indicatorCharts()==null||this.indicatorCharts().count()==0?"0px":this.indicatorCharts().count()*150+"px";a[4]=this.volumeChart()==null?"0px":"100px";a[5]=this.zoomSliderChart()==null?"0px":"100px";if(this.vg()!=null){if(a[5]=="0px"){this.vg().hide()}else{this.vg().show()}}this._xb.setStyleProperty("-ms-grid-rows",$x($.ig.util.stringJoin(" ",a),"auto","1fr"));this._xb.setStyleProperty("grid-template-rows",$.ig.util.stringJoin(" ",a));if(this._ff==null){return}if(this.dataChart()!=null){this.dataChart().notifyContainerResized()}if(this._ur!=null){this._ur.f()}if(this.volumeChart()!=null){this.volumeChart().notifyContainerResized()}if(this.zoomSliderChart()!=null){this.zoomSliderChart().notifyContainerResized()}if(this.vg()!=null){this.vg().notifySizeChanged()}},jp:function(){$.ig.XYChart.prototype.jp.call(this);this.yAxisLabelLocation(1);this.yAxisLabelHorizontalAlignment(0);this.yAxisTickLength(0);this.yAxisStroke(null);this.xAxisStroke($.ig.AxisDefaults.prototype.g);this.xAxisTickStrokeThickness($.ig.AxisDefaults.prototype.e);this.xAxisTickLength($.ig.AxisDefaults.prototype.f);this.xAxisTickStroke($.ig.AxisDefaults.prototype.j);this.xAxisMajorStroke(null);this.zoomSliderXAxisMajorStroke($.ig.AxisDefaults.prototype.h);this.zoomSliderXAxisMajorStrokeThickness($.ig.AxisDefaults.prototype.b);this.finalValueAnnotationsVisible(true);this.crosshairsAnnotationEnabled(true);this.crosshairsSnapToData(false);this.crosshairsDisplayMode(0);this.crosshairsLineThickness($.ig.Defaults.prototype.j);this.crosshairsLineVerticalStroke($.ig.Defaults.prototype.ae);this.crosshairsAnnotationXAxisBackground($.ig.Defaults.prototype.af);this.crosshairsAnnotationXAxisTextColor($.ig.Defaults.prototype.ag);this.resolution(NaN);this.leftMargin(30);this.isHorizontalZoomEnabled(true);this.isVerticalZoomEnabled(false);if(this.dataChart()!=null){var a=this.dataChart()._cm._j.e();this.negativeBrushes(a._d);this.negativeOutlines(a._e);this.indicatorNegativeBrushes(a._d);this.zoomSliderXAxisMajorStroke(this.dataChart().defaultAxisMajorStroke())}var b=new $.ig.BrushCollection;b.add(function(){var $ret=new $$a.at;$ret.fill("#8BDC5C");return $ret}());b.add(function(){var $ret=new $$a.at;$ret.fill("#8961A9");return $ret}());b.add(function(){var $ret=new $$a.at;$ret.fill("#6DB1FF");return $ret}());b.add(function(){var $ret=new $$a.at;$ret.fill("#82E9D9");return $ret}());b.add(function(){var $ret=new $$a.at;$ret.fill("#EA3C63");return $ret}());b.add(function(){var $ret=new $$a.at;$ret.fill("#735656");return $ret}());b.add(function(){var $ret=new $$a.at;$ret.fill("#F8CE4F");return $ret}());b.add(function(){var $ret=new $$a.at;$ret.fill("#A8A8B7");return $ret}());b.add(function(){var $ret=new $$a.at;$ret.fill("#E051A9");return $ret}());b.add(function(){var $ret=new $$a.at;$ret.fill("#FF903B");return $ret}());var c=new $.ig.BrushCollection;var e=b.getEnumerator();while(e.moveNext()){var d=e.current();c.add($.ig.BrushUtil.prototype.m(d,.3))}this.overlayBrushes(c);this.overlayOutlines(b)},aa7:function(){if(this._ur!=null){this._ur.b(null);this._ur.b(this.indicatorCharts())}this.setGridRows()},aa8:function(){this.setGridRows()},abh:function(){this.aa7()},z7:function(){if(this.vg()==null||this.zoomSliderChart()==null||this.dataChart()==null||this.dataChart().series().count()==0){return}var a=this._ff.rootWrapper().width();var b=this.dataChart().viewportRect().left()+this.dataChart().viewportRect().width();var c=this.dataChart().viewportRect().left();var d=a-b;this.vg().startInset(c-this.vg().trackStartInset());this.vg().endInset(d-this.vg().trackEndInset());if(this.vg().endInset()<0){var e=this.vg().endInset();this.vg().endInset(0);this.dataChart().rightMargin(this.dataChart().rightMargin()+e*-1)}if(this.vg().startInset()<0){var f=this.vg().startInset();this.vg().startInset(0);this.dataChart().leftMargin(this.dataChart().leftMargin()+f*-1)}this.zoomSliderChart().leftMargin(c);this.zoomSliderChart().rightMargin(d);this.zoomSliderChart().bottomMargin(this.vg().barExtent())},aay:function(){this.z7()},jm:function(a){$.ig.XYChart.prototype.jm.call(this,a);if(a!=null){a.autoMarginWidth(0)}},abs:function(a){return a.getContainerOffsets()},abv:function(){return this._w7==null?null:this.abu(this._w7.rootWrapper())},abt:function(a){if(a==null||a._d==null){return null}return this.abu(a._d.rootWrapper())},abu:function(a){if(a==null){return null}var b=a.getOffset();return new $$a.ae(0,b.left,b.top,a.width(),a.height())},ws:function(){if(this._xb==null){return NaN}var a=this._xb.getOffset();return this._xb.width()+(a==null?0:a.left)},notifyInsertItem:function(source_,a,b){$.ig.XYChart.prototype.notifyInsertItem.call(this,source_,a,b);if(this.zoomSliderChart()!=null){this.zoomSliderChart().notifyInsertItem(source_,a,b)}},notifyRemoveItem:function(source_,a,b){$.ig.XYChart.prototype.notifyRemoveItem.call(this,source_,a,b);if(this.zoomSliderChart()!=null){this.zoomSliderChart().notifyRemoveItem(source_,a,b)}},notifyClearItems:function(source_){$.ig.XYChart.prototype.notifyClearItems.call(this,source_);if(this.zoomSliderChart()!=null){this.zoomSliderChart().notifyClearItems(source_)}},notifySetItem:function(source_,a,b,c){$.ig.XYChart.prototype.notifySetItem.call(this,source_,a,b,c);if(this.zoomSliderChart()!=null){this.zoomSliderChart().notifySetItem(source_,a,b,c)}},js:function(a,b){$.ig.XYChart.prototype.js.call(this,a,b);if(this.vt(a)){a.toolTip(null)}},tx:null,ty:function(a){if(arguments.length===1){var b=this.ty();if(a!=b){this.tx=a;this.ka("Toolbar",b,this.ty())}return a}else{return this.tx}},xt:null,rangeSelectorTemplate:function(a){if(arguments.length===1){var b=this.rangeSelectorTemplate();if(a!=b){this.xt=a;this.ka("RangeSelectorTemplate",b,this.rangeSelectorTemplate())}return a}else{return this.xt}},xu:null,toolbarTemplate:function(a){if(arguments.length===1){var b=this.toolbarTemplate();if(a!=b){this.xu=a;this.ka("ToolbarTemplate",b,this.toolbarTemplate())}return a}else{return this.xu}},xq:null,chartTypePickerTemplate:function(a){if(arguments.length===1){var b=this.chartTypePickerTemplate();if(a!=b){this.xq=a;this.ka("ChartTypePickerTemplate",b,this.chartTypePickerTemplate())}return a}else{return this.xq}},xv:null,trendLineTypePickerTemplate:function(a){if(arguments.length===1){var b=this.trendLineTypePickerTemplate();if(a!=b){this.xv=a;this.ka("TrendLineTypePickerTemplate",b,this.trendLineTypePickerTemplate())}return a}else{return this.xv}},xw:null,volumeTypePickerTemplate:function(a){if(arguments.length===1){var b=this.volumeTypePickerTemplate();if(a!=b){this.xw=a;this.ka("VolumeTypePickerTemplate",b,this.volumeTypePickerTemplate())}return a}else{return this.xw}},xr:null,indicatorMenuTemplate:function(a){if(arguments.length===1){var b=this.indicatorMenuTemplate();if(a!=b){this.xr=a;this.ka("IndicatorMenuTemplate",b,this.indicatorMenuTemplate())}return a}else{return this.xr}},xs:null,overlayPickerTemplate:function(a){if(arguments.length===1){var b=this.overlayPickerTemplate();if(a!=b){this.xs=a;this.ka("OverlayPickerTemplate",b,this.overlayPickerTemplate())}return a}else{return this.xs}},vf:null,vg:function(a){if(arguments.length===1){var b=this.vg();if(a!=b){this.vf=a;this.ka("ZoomSlider",b,this.vg())}return a}else{return this.vf}},leftMargin:function(a){if(arguments.length===1){$.ig.XYChart.prototype.leftMargin.call(this,a);return a}else{return $.ig.XYChart.prototype.leftMargin.call(this)}},isHorizontalZoomEnabled:function(a){if(arguments.length===1){$.ig.XYChart.prototype.isHorizontalZoomEnabled.call(this,a);return a}else{return $.ig.XYChart.prototype.isHorizontalZoomEnabled.call(this)}},wl:0,toolbarHeight:function(a){if(arguments.length===1){var b=this.toolbarHeight();if(a!=b){this.wl=a;this.ka("ToolbarHeight",b,this.toolbarHeight())}return a}else{return this.wl}},init:function(){var $self=this;this.wl=40;this.ul=null;this.uj=null;this.un=null;this.us=null;this.xh=10;this.wn=NaN;this.wp=NaN;this.wo=NaN;this.vi=true;this.vk=true;this.ua=1;this.wm=1;this.wk=1;this.wj=2;this.wi=1;this.xd=-2147483648;this.wh=2;this.xg=3;this.xe=10;this.xc=30;this.xf=9;this.wr=1;this.vh=false;this.we=$$0.$s.minValue();this.wd=$$0.$s.maxValue();$.ig.XYChart.prototype.init.call(this);this.i7();this.wb=$.ig.TimeAxisBreakCollection?new $.ig.TimeAxisBreakCollection:null;if(this.xAxisBreaks()!=null){var a=this.xAxisBreaks();a.collectionChanged=$.ig.Delegate.prototype.combine(a.collectionChanged,function(a,b){$self.abf()})}this.aa0()},l2:function(){return this.xAxis()},l3:function(){return this.yAxis()},onAttachedToUI:function(){$.ig.XYChart.prototype.onAttachedToUI.call(this);if(this.vg()!=null){this.vg().onAttachedToUI()}},onDetachedFromUI:function(){$.ig.XYChart.prototype.onDetachedFromUI.call(this);if(this.vg()!=null){this.vg().onDetachedFromUI()}},ab:function(a){return 20},c7:function(){return function(){var $ret=new $$4.x($.ig.DataSeriesType.prototype.$type,0);$ret.add(20);return $ret}()},c6:function(){return function(){var $ret=new $$4.x($.ig.IDataSeriesAdapterRule.prototype.$type,0);$ret.add(new $.ig.SimpleFinancialPriceSeriesRule);$ret.add(new $.ig.SubCollectionsRule);return $ret}()},tk:function(a){return this.tl(a)},uy:function(a){return this.uz(a)},tj:function(a){var b=this.tk(0);b.name(a);return b},i4:function(){this.xAxis(this.tj("xAxis"));this.yAxis(this.uy(0));this.yAxis().name("yAxis");this.volumeAxis(this.uy(0));this.volumeAxis().name("volumeAxis");this.volumeXAxis(this.tj("volumeXAxis"));this.v8(new $$4.x($.ig.NumericYAxis.prototype.$type,0));this.wa(new $$4.x($.ig.CategoryAxisBase.prototype.$type,0));this.indicatorAxis(this.uy(0));this.indicatorAxis().name("indicatorAxis");this.indicatorXAxis(this.tj("indicatorXAxis_0"));this.v8().add(this.indicatorAxis());this.wa().add(this.indicatorXAxis());if(this.xAxis().labelSettings()==null){this.xAxis().labelSettings(new $.ig.AxisLabelSettings)}if(this.yAxis().labelSettings()==null){this.yAxis().labelSettings(new $.ig.AxisLabelSettings)}if(this.volumeAxis().labelSettings()==null){this.volumeAxis().labelSettings(new $.ig.AxisLabelSettings)}if(this.volumeXAxis().labelSettings()==null){this.volumeAxis().labelSettings(new $.ig.AxisLabelSettings)}if(this.indicatorAxis().labelSettings()==null){this.indicatorAxis().labelSettings(new $.ig.AxisLabelSettings)}if(this.indicatorXAxis().labelSettings()==null){this.indicatorXAxis().labelSettings(new $.ig.AxisLabelSettings)}this.zoomSliderAxis(this.uy(0));this.zoomSliderAxis().name("zoomSliderAxis");this.zoomSliderXAxis(this.tj("zoomSliderXAxis"));if(this.zoomSliderAxis().labelSettings()==null){this.zoomSliderAxis().labelSettings(new $.ig.AxisLabelSettings)}if(this.zoomSliderXAxis().labelSettings()==null){this.zoomSliderXAxis().labelSettings(new $.ig.AxisLabelSettings)}},i2:function(a,b){var c=$b($.ig.MarkerSeries.prototype.$type,a);if(c!=null){c.markerType(this.a3(a,b))}},a2:function(a){if(a!=null){return 1}return $.ig.XYChart.prototype.a2.call(this,a)},kr:function(a){if(a.suggestedSecondaryAxis()==2){this.yAxis().isLogarithmic(true);this.yAxis().logarithmBase(10)}},ku:function(){this.yAxis().isLogarithmic(this.yAxisIsLogarithmic());this.yAxis().logarithmBase(this.yAxisLogarithmBase())},t2:function(a){var b;if(this.chartType()==0){if(a==null||a.index()>0||String.isNullOrEmpty(a.getMemberPathFor(12))){b=4}else{b=2}}else{b=this.chartType()}b=this.t1(b);return b},t1:function(a){if(a==1||a==2){if($.ig.FinancialPriceSeries){return a}a=4}if(a==4){if($.ig.LineSeries){return a}a=3}if(a==3){if($.ig.ColumnSeries){return a}}return a},ub:function(a){if(a==2||a==3){if($.ig.FinancialPriceSeries){return a}a=5}if(a==5){if($.ig.LineSeries){return a}a=6}if(a==6){if($.ig.AreaSeries){return a}a=4}if(a==4){if($.ig.ColumnSeries){return a}}return a},t4:function(a){if(a==2){if($.ig.LineSeries){return a}a=3}if(a==3){if($.ig.AreaSeries){return a}a=1}if(a==1){if($.ig.ColumnSeries){return a}}return a},yc:function(a){var b=a.getMemberPathFor(14);if(String.isNullOrEmpty(b)){b=a.getMemberPathFor(11)}return b},tl:function(axisType_){var a;switch(axisType_){case 0:if($.ig.OrdinalTimeXAxis){a=new $.ig.OrdinalTimeXAxis}else if($.ig.TimeXAxis){a=new $.ig.TimeXAxis}else{throw new $$0.n(1,"no valid axes loaded")}return a;case 1:if($.ig.TimeXAxis){a=new $.ig.TimeXAxis}else if($.ig.OrdinalTimeXAxis){a=new $.ig.OrdinalTimeXAxis}else{throw new $$0.n(1,"no valid axes loaded")}return a}return null},uz:function(axisType_){var a;switch(axisType_){case 0:if($.ig.NumericYAxis){a=new $.ig.NumericYAxis}else if($.ig.PercentChangeYAxis){a=new $.ig.PercentChangeYAxis}else{throw new $$0.n(1,"no valid axes loaded")}return a;case 1:if($.ig.PercentChangeYAxis){a=new $.ig.PercentChangeYAxis}else if($.ig.NumericYAxis){a=new $.ig.NumericYAxis}else{throw new $$0.n(1,"no valid axes loaded")}return a}return null},u5:function(){return this.bc(1)},u6:function(){return this.bc(0)},u4:function(){return this.bc(2)},u7:function(){return this.bc(20)},vm:function(){return $.ig.HorizontalAnchoredCategorySeriesProxy},ul:null,um:function(){if($.ig.HorizontalAnchoredCategorySeriesProxy){return new $.ig.HorizontalAnchoredCategorySeriesProxy}else{throw new $$0.n(1,"horizontal series module is not loaded, but is required.")}},vp:function(){return $.ig.FinancialPriceSeriesProxy},uj:null,uk:function(){if($.ig.FinancialPriceSeriesProxy){return new $.ig.FinancialPriceSeriesProxy}else{throw new $$0.n(1,"financial series module is not loaded, but is required.")}},vn:function(){return $.ig.IndicatorProxy},un:null,uo:function(){if($.ig.IndicatorProxy){return new $.ig.IndicatorProxy}else{throw new $$0.n(1,"financial series module is not loaded, but is required.")}},vo:function(){return $.ig.OverlayProxy},us:null,ut:function(){if($.ig.OverlayProxy){return new $.ig.OverlayProxy}else{throw new $$0.n(1,"overlay series module is not loaded, but is required.")}},bb:function(a,b){var c=this.yc(a);switch(this.t2(a)){case 3:var d=this.u5();this.um().setValueMemberPath(d,c);this.um().setXAxis(d,this.xAxis());this.um().setYAxis(d,this.yAxis());this.um().setCategoryMode(d,1);return d;case 4:var e=this.u6();this.um().setValueMemberPath(e,c);this.um().setXAxis(e,this.xAxis());this.um().setYAxis(e,this.yAxis());this.um().setCategoryMode(e,1);return e;default:case 1:case 2:var f=this.u7();this.uk().setOpenMemberPath(f,a.getMemberPathFor(11));this.uk().setHighMemberPath(f,a.getMemberPathFor(12));this.uk().setLowMemberPath(f,a.getMemberPathFor(13));this.uk().setCloseMemberPath(f,a.getMemberPathFor(14));this.uk().setVolumeMemberPath(f,a.getMemberPathFor(15));this.uk().setXAxis(f,this.xAxis());this.uk().setYAxis(f,this.yAxis());this.uk().setDisplayType(f,this.chartType()==1?1:0);this.uk().setCategoryMode(f,1);return f}},kt:function(){$.ig.XYChart.prototype.kt.call(this);this.aaw(this.xAxis());this.abj(false);if(this.volumeType()!=0&&this.volumeChart()!=null){this.aa2()}this.aaw(this.volumeXAxis());this.aaw(this.indicatorXAxis());this.abg();this.abi();if(this.zoomSliderType()!=0){this.aa3();this.aaw(this.zoomSliderXAxis())}},re:function(a,b){$.ig.XYChart.prototype.re.call(this,a,b);a(this.volumeXAxis());if(this.wa()!=null){var d=this.wa().getEnumerator();while(d.moveNext()){var c=d.current();a(c)}}var e=true;switch(b){case"XAxisMajorStroke":case"XAxisMajorStrokeThickness":e=false;break}if(e){a(this.zoomSliderXAxis())}},rj:function(a,b){$.ig.XYChart.prototype.rj.call(this,a,b);if(b){a(this.volumeAxis());if(this.v8()!=null){var d=this.v8().getEnumerator();while(d.moveNext()){var c=d.current();a(c)}}a(this.zoomSliderAxis())}},rh:function(a){$.ig.XYChart.prototype.rh.call(this,a);this.q8(this.volumeXAxis(),a);this.q8(this.indicatorXAxis(),a);this.q8(this.zoomSliderXAxis(),a)},rm:function(a){$.ig.XYChart.prototype.rm.call(this,a);this.q8(this.volumeAxis(),a);this.q8(this.indicatorAxis(),a);this.q8(this.zoomSliderAxis(),a)},rk:function(a){$.ig.XYChart.prototype.rk.call(this,a);this.q7(this.volumeAxis(),a);this.q7(this.indicatorAxis(),a);this.q7(this.zoomSliderAxis(),a)},rf:function(a){$.ig.XYChart.prototype.rf.call(this,a);this.q7(this.volumeXAxis(),a);this.q7(this.indicatorXAxis(),a);this.q7(this.zoomSliderXAxis(),a)},jl:function(a){var $self=this;$.ig.XYChart.prototype.jl.call(this,a);if(a==null){return}if(a==this.zoomSliderChart()){a.isHorizontalZoomEnabled(a.isVerticalZoomEnabled(false));a.legend(null);if(this.dataChart()!=null){a.brushes(this.dataChart().brushes());a.outlines(this.dataChart().outlines())}}else{$.ig.SyncManager.prototype.d(a,function(){var $ret=new $.ig.SyncSettings;$ret.syncChannel($self.y7());$ret.synchronizeHorizontally(true);$ret.synchronizeVertically(false);return $ret}());$.ig.SyncManager.prototype.c(a)}a.defaultInteraction(2)},_xo:0,x4:null,y7:function(){if(this.x4==null){$$t.$a._xo++;this.x4=$$t.$a._xo.toString()}return this.x4},aai:function(a,b){this.z4();this.aay()},z4:function(){if(this.yAxis().b6()){return}var a=this.yAxis()._av.bd;if(this.volumeType()!=0){a=Math.max(a,this.volumeAxis()._av.bd)}var c=this.v8().getEnumerator();while(c.moveNext()){var b=c.current();a=Math.max(a,b._av.bd)}this.z5(a)},z5:function(a){if(this.yAxis().b6()){return}this.yAxis().eo(this.volumeAxis().eo(a));var c=this.v8().getEnumerator();while(c.moveNext()){var b=c.current();b.eo(a)}this.zoomSliderAxis().eo(this.yAxis().eo())},aaa:function(a){if(this.indicatorCharts()==null){return}for(var b=0;b<this.indicatorCharts().count();b++){var c=this.indicatorCharts().__inner[b];for(var d=0;d<c.series().count();d++){var e=c.series().__inner[d];if(!this.vr(e)){continue}a(c.series().__inner[d],b)}}},aad:function(a){if(this.volumeChart()==null){return}for(var b=0;b<this.volumeChart().series().count();b++){var c=this.volumeChart().series().__inner[b];if(c.isAnnotationLayer()){continue}a(this.volumeChart().series().__inner[b],b)}},aab:function(a){if(this.dataChart()==null){return}for(var b=0;b<this.dataChart().series().count();b++){var c=this.dataChart().series().__inner[b];if(!this.vt(c)){continue}a(c,b)}},aac:function(a,b){if(this.dataChart()==null){return}for(var c=0;c<this.dataChart().series().count();c++){var d=this.dataChart().series().__inner[c];if(this.vt(d)){continue}var e=this.xi(d,c);a(d,e)}if(b){this.aae(a)}},aae:function(a){if(this.zoomSliderChart()==null){return}for(var b=0;b<this.zoomSliderChart().series().count();b++){var c=this.zoomSliderChart().series().__inner[b];if(c.isAnnotationLayer()){continue}a(this.zoomSliderChart().series().__inner[b],b)}},xi:function(a,b){if(a.chart()!=this.dataChart()){return b}var c=this._ac==null||this._ac.dataSeries()==null?0:this._ac.dataSeries().count();var d=this.overlayTypes()==null?0:this.overlayTypes().count();return b-c*d},jb:function(a){$.ig.XYChart.prototype.jb.call(this,a);this.aad(a);this.aaa(a);this.aae(a)},vb:null,volumeChart:function(a){if(arguments.length===1){var b=this.volumeChart();if(a!=b){this.vb=a;this.ka("VolumeChart",b,this.volumeChart())}return a}else{return this.vb}},aa2:function(){if(this.dataChart()==null){return}this.volumeChart().series().clear();var a=new $$4.x($.ig.Series.prototype.$type,0);var b=-1;for(var c=0;c<this.dataChart().series().count();c++){var d=this.dataChart().series().__inner[c];if(this.vt(d)||d.isAnnotationLayer()){continue}b++;var e;var f=this.volumeType();f=this.t4(f);switch(f){case 2:e=this.u6();break;case 3:e=this.u4();break;default:case 1:e=this.u5();break}this.um().setCategoryMode(e,1);e.name("volumeSeries_"+b);e.itemsSource(d.itemsSource());this.um().setXAxis(e,this.volumeXAxis());this.um().setYAxis(e,this.volumeAxis());this.um().setValueMemberPath(e,this._ac!=null&&this._ac.dataSeries()!=null&&this._ac.dataSeries().count()>b?this._ac.dataSeries().__inner[b].getMemberPathFor(15):null);e.title(d.title()+" Volume");e.brush($.ig.ArrayUtil.prototype.a($$a.$at.$type,this.volumeBrushes(),b));e.outline($.ig.ArrayUtil.prototype.a($$a.$at.$type,this.volumeOutlines(),b));e.thickness(this.volumeThickness());a.add(e)}var g=this.c3("volume",false);if(g!=null){a.addRange(g)}for(var h=0;h<a.count();h++){var i=a.__inner[h];this.volumeChart().series().add(i);this.jq(i,h)}},vq:function(a){if(!this.vm()){return false}return this.um().matchesType(a)},vu:function(a){if(!this.vp()){return false}return this.uk().matchesType(a)},vr:function(a){if(!this.vn()){return false}return this.uo().matchesType(a)},vt:function(a){if(!this.vo()){return false}return this.ut().matchesType(a)},aa1:function(){if(this.dataChart()==null){return}var a=0;var b=this.indicatorTypes()==null?0:this.indicatorTypes().count();var c=this.customIndicatorNames()==null?0:this.customIndicatorNames().count();var d=b+c;for(var e=0;e<d;e++){var f=new $$4.x($.ig.Series.prototype.$type,0);var g=this.indicatorCharts().__inner[e];var h=e>=b;var i=h?this.customIndicatorNames().__inner[e-b]:$$t.$al.$getName(this.indicatorTypes().__inner[e]);var j=-1;for(var k=0;k<this.dataChart().series().count();k++){var l=this.dataChart().series().__inner[k];if(this.vt(l)||l.isAnnotationLayer()){continue}j++;var m;if(h){var n=this.u8("Custom");this.uo().handleCustomIndicatorEvent(n,this.aag.runOn(this));m=n}else{m=this.va(this.indicatorTypes().__inner[e])}if(m==null){continue}m.name("indicator_"+a++);this.uo().setXAxis(m,this.wa().__inner[e]);this.uo().setYAxis(m,this.v8().__inner[e]);m.itemsSource(l.itemsSource());this.uo().setOpenMemberPath(m,this._ac.dataSeries().__inner[j].getMemberPathFor(11));this.uo().setHighMemberPath(m,this._ac.dataSeries().__inner[j].getMemberPathFor(12));this.uo().setLowMemberPath(m,this._ac.dataSeries().__inner[j].getMemberPathFor(13));this.uo().setCloseMemberPath(m,this._ac.dataSeries().__inner[j].getMemberPathFor(14));this.uo().setVolumeMemberPath(m,this._ac.dataSeries().__inner[j].getMemberPathFor(15));m.title(l.title()+" "+i);m.brush($.ig.ArrayUtil.prototype.a($$a.$at.$type,this.indicatorBrushes(),e));m.thickness(this.indicatorThickness());if(this.vr(m)){this.uo().setNegativeBrush(m,$.ig.ArrayUtil.prototype.a($$a.$at.$type,this.indicatorNegativeBrushes(),e));this.uo().setDisplayType(m,$.ig.ArrayUtil.prototype.a($.ig.IndicatorDisplayType.prototype.$type,this.indicatorDisplayTypes(),e))}if(this.indicatorPeriod()!=-2147483648&&this.vr(m)){this.uo().setPeriodOverride(m,this.indicatorPeriod())}if(this.vr(m)){this.uo().setSmoothingPeriod(m,this.indicatorSmoothingPeriod())}if(this.vr(m)){this.uo().setSignalPeriod(m,this.indicatorSignalPeriod())}if(this.vr(m)){this.uo().setShortPeriod(m,this.indicatorShortPeriod());this.uo().setLongPeriod(m,this.indicatorLongPeriod())}this.jq(m,e);f.add(m)}var o=this.c3(i,false);for(var p=0;p<f.count();p++){var q=f.__inner[p];g.series().add(q)}if(o!=null){for(var r=0;r<o.count();r++){var s=o.__inner[r];g.series().add(s);this.jq(s,r)}}}},u8:function(indicatorName_){var seriesTypeString_=indicatorName_.toString()+"Indicator";if($.ig[seriesTypeString_]){return new $.ig[seriesTypeString_]}return null},va:function(a){return this.u8($$t.$al.$getName(a))},abj:function(a){if(this.ty()==null){return}var b=this.xAxis();if(b.actualMinimumValue()>b.actualMaximumValue()){return}this.ty().as(b.actualMinimumValue());this.ty().ar(b.actualMaximumValue());if(a){this.ty().au(b.visibleMinimum());this.ty().at(b.visibleMaximum())}this.ty().bn()},exportVisualData:function(){var $self=this;var a=function(){var $ret=new $$t.au;$ret.mainChart($.ig.XYChart.prototype.exportVisualData.call($self));$ret.volumeChart($self.volumeChart()==null?null:$self.volumeChart().exportVisualData());$ret.toolbar($self.ty()==null?null:$self.ty().aj());$ret.zoomChart($self.zoomSliderChart()==null?null:$self.zoomSliderChart().exportVisualData());return $ret}();if(this.indicatorCharts()!=null){a.indicatorCharts(new $$4.x($.ig.$op.$type,0));var c=this.indicatorCharts().getEnumerator();while(c.moveNext()){var b=c.current();a.indicatorCharts().add1(b.exportVisualData());
}}if(this.dataChart()!=null){a.mainChartLeft(this.abs(this.dataChart()).__x);a.mainChartTop(this.abs(this.dataChart()).__y)}if(this.volumeChart()!=null){a.volumeChartLeft(this.abs(this.volumeChart()).__x);a.volumeChartTop(this.abs(this.volumeChart()).__y)}if(this.zoomSliderChart()!=null){a.zoomChartLeft(this.abs(this.zoomSliderChart()).__x);a.zoomChartTop(this.abs(this.zoomSliderChart()).__y)}if(this.ty()!=null){var d=this.abt(this.ty());a.toolbarLeft(d.left());a.toolbarTop(d.top());a.toolbarWidth(d.width());a.toolbarHeight(d.height())}if(this.indicatorCharts()!=null){a.indicatorChartLefts(new $$4.x(Number,0));a.indicatorChartTops(new $$4.x(Number,0));var f=this.indicatorCharts().getEnumerator();while(f.moveNext()){var e=f.current();a.indicatorChartLefts().add(this.abs(e).__x);a.indicatorChartTops().add(this.abs(e).__y)}}var g=this.abv();a.legendLeft(g.left());a.legendTop(g.top());a.legendWidth(g.width());a.legendHeight(g.height());a.legend(this.financialChartLegend()==null?null:this.financialChartLegend().exportVisualData());return a},exportSerializedVisualData:function(){var a=this.exportVisualData();a.scaleByViewport();return a.serialize()},u9:function(overlayName_){var seriesTypeString_=overlayName_.toString()+"Overlay";if($.ig[seriesTypeString_]){return new $.ig[seriesTypeString_]}return null},abi:function(){if(this.dataChart()==null){return}var a=new $$4.x($.ig.Series.prototype.$type,0);var c=this.dataChart().series().getEnumerator();while(c.moveNext()){var b=c.current();if(this.vt(b)){a.add(b)}}var e=a.getEnumerator();while(e.moveNext()){var d=e.current();this.dataChart().series().remove(d)}if(this.overlayTypes()==null){return}var f=new $$4.x($.ig.Series.prototype.$type,0);var g=-1;for(var h=0;h<this.dataChart().series().count();h++){var i=this.dataChart().series().__inner[h];if(this.vt(i)||i.isAnnotationLayer()){continue}g++;for(var j=0;j<this.overlayTypes().count();j++){var k=this.overlayTypes().__inner[j];var l;switch(k){case 1:l=this.u9($$t.$ak.$getName(k));break;default:case 0:l=this.u9($$t.$ak.$getName(k));break}l.name(i.name()+"_"+$$t.$ak.$getName(k));this.ut().setXAxis(l,this.xAxis());this.ut().setYAxis(l,this.yAxis());l.itemsSource(i.itemsSource());var m=g*this.overlayTypes().count()+j;l.brush($.ig.ArrayUtil.prototype.a($$a.$at.$type,this.overlayBrushes(),m));l.outline($.ig.ArrayUtil.prototype.a($$a.$at.$type,this.overlayOutlines(),m));l.thickness(this.overlayThickness());l.title(i.title()+" "+$$t.$ak.$getName(k));var n=i;if(n==null){continue}var o=this._ac.dataSeries().__inner[g];this.ut().setOpenMemberPath(l,o.getMemberPathFor(11));this.ut().setHighMemberPath(l,o.getMemberPathFor(12));this.ut().setLowMemberPath(l,o.getMemberPathFor(13));this.ut().setCloseMemberPath(l,o.getMemberPathFor(14));this.ut().setVolumeMemberPath(l,o.getMemberPathFor(15));f.add(l)}}var p=new Array(this.dataChart().series().count());this.dataChart().series().copyTo(p,0);this.dataChart().skipDataCleanup(true);this.dataChart().series().clear();this.dataChart().skipDataCleanup(false);for(var q=0;q<p.length;q++){p[q].index(-1)}f.addRange(p);for(var r=0;r<f.count();r++){var s=f.__inner[r];this.dataChart().series().add(s);this.jq(s,r)}},_vz:false,abg:function(){if(this._vz){return}this._vz=true;if(this.indicatorCharts()!=null){var a=this.indicatorCharts();this.indicatorCharts(null);var c=a.getEnumerator();while(c.moveNext()){var b=c.current();this.aax(b)}}if((this.indicatorTypes()==null||this.indicatorTypes().count()==0)&&(this.customIndicatorNames()==null||this.customIndicatorNames().count()==0)){this.indicatorCharts(null);if(this.v8()!=null){this.v8().clear()}if(this.wa()!=null){this.wa().clear()}this.aa7();this.abh();this._vz=false;return}if(this.indicatorCharts()==null){this.indicatorCharts(new $$4.x($.ig.XamDataChart.prototype.$type,0))}this.indicatorCharts().clear();this.v8().clear();this.wa().clear();var d=this.indicatorTypes()==null?0:this.indicatorTypes().count();var e=this.customIndicatorNames()==null?0:this.customIndicatorNames().count();var f=d+e;for(var g=0;g<f;g++){var h=new $.ig.XamDataChart;this.indicatorCharts().add(h);this.aav(h);var i=g>=d;if(i){h.title(this.customIndicatorNames().__inner[g-d])}else{h.title(this.yb(this.indicatorTypes().__inner[g]))}if(this.indicatorAxis()!=null){var j;var k;if(g==0){j=this.indicatorAxis();k=this.indicatorXAxis()}else{j=new $.ig.NumericYAxis;if(!this.indicatorXAxis().isDateTime()){k=this.tk(0)}else{k=this.tk(1)}}k.name("indicatorXAxis_"+g);j.name("indicatorAxis_"+g);h.axes().add(j);h.axes().add(k);this.v8().add(j);this.wa().add(k);if(this.cc()){this.rb(j)}if(this.cc()){this.q9(k)}}}this.aa1();this.aa7();if(this.ty()!=null){this.ty().ae(this.indicatorTypes())}this.z6();this.abh();this._vz=false},ji:function(){$.ig.XYChart.prototype.ji.call(this);this.q9(this.xAxis());this.q9(this.volumeXAxis());if(this.wa()!=null){var b=this.wa().getEnumerator();while(b.moveNext()){var a=b.current();this.q9(a)}}this.rb(this.yAxis());this.rb(this.volumeAxis());if(this.v8()!=null){var d=this.v8().getEnumerator();while(d.moveNext()){var c=d.current();this.rb(c)}}this.q9(this.zoomSliderXAxis());this.rb(this.zoomSliderAxis())},ct:function(){return!this.isWindowSyncedToVisibleRange()},v3:function(){return $.ig.ZoomSlider},abo:function(a,b){this.aba(a,b);this.z6();if(this.zoomSliderChart()!=null){this.zoomSliderChart().axes().add(this.zoomSliderAxis());this.zoomSliderChart().axes().add(this.zoomSliderXAxis())}this.aa3();this.zoomSliderXAxis().itemsSource(this.xAxis().itemsSource());this.aa8();this.abp(a,b)},aa3:function(){if(this.dataChart()==null||this.zoomSliderChart()==null){return}this.zoomSliderChart().series().clear();var a=new $$4.x($.ig.Series.prototype.$type,0);for(var b=0;b<this.dataChart().series().count();b++){var c=this.dataChart().series().__inner[b];if(this.vt(c)||c.isAnnotationLayer()){continue}var d;var e=this.zoomSliderType();e=this.ub(e);var f=this.xi(c,b);if(e==1){switch(this.t2(this._ac!=null&&this._ac.dataSeries()!=null&&this._ac.dataSeries().count()>f?this._ac.dataSeries().__inner[f]:null)){case 1:e=2;break;case 2:e=3;break;case 3:e=4;break;case 4:e=5;break}}switch(e){case 2:d=this.u7();this.uk().setDisplayType(d,1);break;case 3:d=this.u7();this.uk().setDisplayType(d,0);break;case 5:d=this.u6();break;case 6:d=this.u4();break;default:case 4:d=this.u5();break}var g=this._ac!=null&&this._ac.dataSeries()!=null&&this._ac.dataSeries().count()>f?this._ac.dataSeries().__inner[f]:null;if(d.isCategory()&&!d.isFinancial()){this.um().setCategoryMode(d,1);this.um().setXAxis(d,this.zoomSliderXAxis());this.um().setYAxis(d,this.zoomSliderAxis());this.um().setValueMemberPath(d,g==null?null:this.yc(g))}else if(d.isFinancial()){this.uk().setCategoryMode(d,1);this.uk().setXAxis(d,this.zoomSliderXAxis());this.uk().setYAxis(d,this.zoomSliderAxis());if(g!=null){this.uk().setOpenMemberPath(d,g.getMemberPathFor(11));this.uk().setHighMemberPath(d,g.getMemberPathFor(12));this.uk().setLowMemberPath(d,g.getMemberPathFor(13));this.uk().setCloseMemberPath(d,g.getMemberPathFor(14));this.uk().setVolumeMemberPath(d,g.getMemberPathFor(15))}}d.name("zoomSliderSeries_"+f);d.itemsSource(c.itemsSource());d.title(c.title());d.thickness(this.thickness());a.add(d)}for(var h=0;h<a.count();h++){var i=a.__inner[h];this.zoomSliderChart().series().add(i);this.jq(i,h)}},j5:function(a,b,c){$.ig.XYChart.prototype.j5.call(this,a,b,c);if(a==null||!b){return}var d=true;var e=true;switch(c){case"Brushes":case"Outlines":d=e=false;break}if(this.indicatorCharts()!=null&&d){var g=this.indicatorCharts().getEnumerator();while(g.moveNext()){var f=g.current();a(f)}}if(this.volumeChart()!=null&&e){a(this.volumeChart())}if(this.zoomSliderChart()!=null){a(this.zoomSliderChart())}},aag:function(a,b){var c=b;var d=a;var e=-1;if(this.indicatorCharts()!=null){e=this.indicatorCharts().indexOf(d.chart())}e-=this.indicatorTypes()==null?0:this.indicatorTypes().count();if(this.applyCustomIndicators!=null){this.applyCustomIndicators(this,new $$t.ad(c,d,e))}},abc:function(a,b,c){if(a!=null){if(b!=null){a.axes().remove(b)}a.axes().add(c)}if(this.cc()){this.q9(c)}},v2:function(){return $.ig["ZoomSlider"]!==undefined},aah:function(a,b){this.abg()},vv:function(a,b){if(b<=0){return false}switch(a){case 5:return true;case 4:case 3:return b>=$.ig.util.timeSpanFromDays(365);case 2:return b>=$.ig.util.timeSpanFromDays(180);case 1:return b>=$.ig.util.timeSpanFromDays(90);case 0:return b>=$.ig.util.timeSpanFromDays(30)}return false},aa6:function(){var a=this.rangeSelectorOptions()!=null?this.rangeSelectorOptions():new $$t.am(1,[5,4,3,2,1,0]);var b=new $$t.am(0);var c=this.xAxis();var d=c.actualMaximumValue()-c.actualMinimumValue();var f=a.getEnumerator();while(f.moveNext()){var e=f.current();if(this.vv(e,d)){b.add(e)}}this.actualRangeSelectorOptions(b);if(this.ty()!=null){this.ty().u(this.actualRangeSelectorOptions())}},aal:function(a,b){this.aa6()},aaq:function(a,b){this.overlayTypes(this.ty().ag())},aap:function(a,b){this.indicatorTypes(this.ty().ae())},aaj:function(a,b){this.abg()},aak:function(a,b){this.abi()},aau:function(a,b){var c=a;if(c.chart()==null){return}if(this.isWindowSyncedToVisibleRange()){this.aa5(c.chart())}},aax:function(a){$.ig.SyncManager.prototype.e(a);a.axes().clear();a.series().clear();a.gridAreaRectChanged=$.ig.Delegate.prototype.remove(a.gridAreaRectChanged,this.aai.runOn(this));a.provideContainer(null);if(this.volumeChart()==null&&this.indicatorCharts()==null){this.yAxis().eo(this.volumeAxis().eo(this.indicatorAxis().eo(0)));this.xAxis().labelSettings().visibility(this.xAxisLabelVisibility())}},aav:function(a){var b=a!=this.zoomSliderChart();if(b){if(this.dataChart()!=null){a.windowRect(new $$a.ae(0,this.dataChart().actualWindowRect().x(),a.windowRect().y(),this.dataChart().actualWindowRect().width(),a.windowRect().height()))}var c=function(){var $ret=new $.ig.SyncSettings;$ret.syncChannel("one");$ret.synchronizeHorizontally(true);$ret.synchronizeVertically(false);return $ret}();$.ig.SyncManager.prototype.d(a,c);$.ig.SyncManager.prototype.c(a)}a.gridAreaRectChanged=$.ig.Delegate.prototype.combine(a.gridAreaRectChanged,this.aai.runOn(this));this.jk(a)},z6:function(){if(this.indicatorCharts()!=null||this.volumeChart()!=null){this.q7(this.xAxis(),function(a){a.visibility(1)})}for(var a=0;a<this.wa().count();a++){var b=this.wa().__inner[a];var c=a<this.wa().count()-1||this.volumeChart()!=null;this.q7(b,function(d){d.visibility(c?1:0)})}},aba:function(a,b){if(a!=null){this.aax(a)}if(b!=null){this.aav(b)}},abm:function(a,b){this.aba(a,b);this.z6();if(this.volumeChart()!=null){if(this.volumeAxis()!=null){this.volumeChart().axes().add(this.volumeAxis());this.volumeChart().axes().add(this.volumeXAxis())}this.aa2();this.volumeXAxis().itemsSource(this.xAxis().itemsSource())}this.abn(a,b)},aam:function(a,b){this.abk()},abk:function(){if(this.ty()==null||+this.ty().au()==+$$0.$s.maxValue()||+this.ty().at()==+$$0.$s.minValue()||this.dataChart()==null){return}var a=this.xAxis();var b=a.getWindowRectForSelection(this.ty().au(),this.ty().at());if(b.width()==0||$.ig.util.isNaN(b.width())||Number.isInfinity(b.width())){return}this._vy=true;this.dataChart().windowRect(new $$a.ae(0,b.left(),this.dataChart().windowRect().top(),b.width(),this.dataChart().windowRect().height()));if(this.vg()!=null){this.vg().windowRect(this.dataChart().actualWindowRect())}if(this.isWindowSyncedToVisibleRange()){this.aa5(this.dataChart())}this._vy=false},_vy:false,aat:function(a,b){this.aa6();this.abj(!this._vy)},aaf:function(a,b){var $self=this;if(!this._vy){if(this.isWindowSyncedToVisibleRange()){this.aa5(a)}var c=false;var d=this.kf(function(){$self.abj(true)},c);c=d.p1;if(this.vg()!=null){this.vg().windowRect(this.dataChart().actualWindowRect())}}},abe:function(a,b,c,d){if(a==null||b==null){return}if(c!=-1){this._vy=true;a.windowRect(new $$a.ae(0,d,a.actualWindowRect().top(),c,a.actualWindowRect().height()));this._vy=false}var e=1.7976931348623157e308;var f=-1.7976931348623157e308;var g=new $$a.ae(0,0,0,1,1);var h=new $.ig.ScalerParams(0,g,g,this.yAxis().isInverted(),a.effectiveViewport());var j=a.series().getEnumerator();while(j.moveNext()){var i=j.current();h._b=i.f4();var k=i.aq(a.actualWindowRect());var l=k==null||k.minimum()==1.7976931348623157e308||$.ig.util.isNaN(k.minimum());if(l){continue}var m=b.getScaledValue(k.minimum(),h);var n=b.getScaledValue(k.maximum(),h);f=Math.max(f,m);e=Math.min(e,n)}var o=a.actualWindowRect().width();if(c!=-1){o=c}var p=a.actualWindowRect().left();if(d!=-1){p=d}if(e==1.7976931348623157e308||f==-1.7976931348623157e308||$.ig.util.isNaN(e)||$.ig.util.isNaN(f)){return}this._vy=true;var q=new $$a.ae(0,p,e,o,f-e);a.windowRect(q);this._vy=false},abd:function(a){if(a==null){return}if(a==this.dataChart()){this.abe(this.dataChart(),this.yAxis(),-1,-1);if(this.volumeChart()!=null){this.abe(this.volumeChart(),this.volumeAxis(),this.dataChart().actualWindowRect().width(),this.dataChart().actualWindowRect().left())}}else if(a==this.volumeChart()){this.abe(this.volumeChart(),this.volumeAxis(),-1,-1);this.abe(this.dataChart(),this.yAxis(),this.volumeChart().actualWindowRect().width(),this.volumeChart().actualWindowRect().left())}},aa5:function(a){var $self=this;this.ke(function(){$self.abd(a)})},aan:function(a,b){if(this.isWindowSyncedToVisibleRange()){this.aa5(a)}},_v4:false,abl:function(){if(!this.v3()){return}this.z9();if(this.zoomSliderType()==0){this.zoomSliderChart(null)}else if(this.zoomSliderChart()==null){this.zoomSliderChart(function(){var $ret=new $.ig.XamDataChart;$ret.name("ZoomSliderChart");return $ret}())}else{this.aa3()}},z9:function(){},abf:function(){var $self=this;if(this.xAxisMode()!=1){return}this.rd(function(a){var b;b=a.breaks();b.clear();if($self.xAxisBreaks()==null){return}var d=$self.xAxisBreaks().getEnumerator();while(d.moveNext()){var c=d.current();b.add(c)}})},ky:function(a,b,c){$.ig.XYChart.prototype.ky.call(this,a,b,c);if(this._ac.dataSeries().count()>0){if(this.xAxisMode()==1&&String.isNullOrEmpty(this.calloutsXMemberPath())){this.ak().setXMemberPath(a,c.getMemberPathFor(17))}if(String.isNullOrEmpty(this.calloutsYMemberPath())){this.ak().setYMemberPath(a,this.yc(c))}if(String.isNullOrEmpty(this.calloutsLabelMemberPath())){this.ak().setLabelMemberPath(a,this.yc(c))}if(String.isNullOrEmpty(this.calloutsContentMemberPath())){this.ak().setContentMemberPath(a,this.yc(c))}}},yb:function(a){switch(a){case 0:return"Absolute Volume Oscillator";case 1:return"Accumulation/Distribution Indicator";case 2:return"Average Directional Index";case 3:return"Average True Range Indicator";case 4:return"Bollinger Bandwidth";case 5:return"Chaikin Oscillator";case 6:return"Chaikin Volatility Indicator";case 7:return"Commodity Channel Index";case 8:return"Detrended Price Oscillator";case 9:return"Ease of Movement Indicator";case 10:return"Fast Stochastic Oscillator";case 11:return"Force Index Indicator";case 12:return"Full Stochastic Oscillator";case 13:return"Market Facilitation Index";case 14:return"Mass Index Indicator";case 15:return"Median Price Indicator";case 16:return"Money Flow Index";case 17:return"MACD Indicator";case 18:return"Negative Volume Index";case 19:return"On Balance Volume Indicator";case 20:return"Percentage Price Oscillator";case 21:return"Percentage Volume Oscillator";case 22:return"Positive Volume Index";case 23:return"Price Volume Trend";case 24:return"ROC - Rate of Change Indicator";case 25:return"RSI - Relative Strength Index";case 26:return"Slow Stochastic Oscillator";case 27:return"Standard Deviation Indicator";case 28:return"Stoch RSI";case 29:return"TRIX Indicator";case 30:return"Typical Price Indicator";case 31:return"Ultimate Oscillator";case 32:return"Weighted Close Indicator";case 33:return"Williams %R Indicator";default:return"Unknown"}},q9:function(a){$.ig.XYChart.prototype.q9.call(this,a);var b=a;this.aaw(b);if(a.chart()!=null){var d=a.chart().series().getEnumerator();while(d.moveNext()){var c=d.current();if(this.vq(c)){this.um().setXAxis(c,b)}else if(this.vu(c)){this.uk().setXAxis(c,b)}else if(this.vr(c)){this.uo().setXAxis(c,b)}else if(this.vt(c)){this.ut().setXAxis(c,b)}}}var e=a==this.zoomSliderXAxis();if(e){a.majorStroke(this.zoomSliderXAxisMajorStroke());a.majorStrokeThickness(this.zoomSliderXAxisMajorStrokeThickness());this.q7(a,function(f){f.visibility(1)})}var f=a;f.minimumValue(this.xAxisMinimumValue());f.maximumValue(this.xAxisMaximumValue())},rb:function(a){$.ig.XYChart.prototype.rb.call(this,a);if(a.chart()!=null&&a==this.yAxis()){var c=a.chart().series().getEnumerator();while(c.moveNext()){var b=c.current();if(this.vq(b)){this.um().setYAxis(b,this.yAxis())}else if(this.vu(b)){this.uk().setYAxis(b,this.yAxis())}else if(this.vr(b)){this.uo().setYAxis(b,this.yAxis())}else if(this.vt(b)){this.ut().setYAxis(b,this.yAxis())}}}a.abbreviateLargeNumbers(this.yAxisAbbreviateLargeNumbers());a.minimumValue(this.yAxisMinimumValue());a.maximumValue(this.yAxisMaximumValue());if(a==this.yAxis()){a.interval(this.yAxisInterval())}var d=a==this.zoomSliderAxis();if(d){this.q7(a,function(e){e.visibility(1)})}},aaw:function(a){a.itemsSource(this.dataChart()!=null&&this.dataChart().series().count()>0?this.dataChart().series().__inner[0].itemsSource():null);a.label($.ig.XYChart.prototype.ow(a,this._ac.dataSeries()));if(this._ac.dataSeries().count()>0){var b=this._ac.dataSeries().__inner[0].getMemberPathFor(17);a.ht(b)}},jq:function(a,b){$.ig.XYChart.prototype.jq.call(this,a,b);if(a==null){return}var c=this.zoomSliderChart()==a.chart();var d=this.dataChart()!=null&&this.dataChart().series().contains(a);if((d||c)&&a.isNegativeColorSupported()){a.setNegativeColors(this.negativeBrushes()!=null?$.ig.ArrayUtil.prototype.a($$a.$at.$type,this.negativeBrushes(),b):null,this.negativeOutlines()!=null?$.ig.ArrayUtil.prototype.a($$a.$at.$type,this.negativeOutlines(),b):null)}var e=this.vr(a);if(this.vt(a)){a.brush(this.overlayBrushes()!=null?$.ig.ArrayUtil.prototype.a($$a.$at.$type,this.overlayBrushes(),b):null);a.outline(this.overlayOutlines()!=null?$.ig.ArrayUtil.prototype.a($$a.$at.$type,this.overlayOutlines(),b):null);a.thickness(this.overlayThickness())}else if(e){a.brush(this.indicatorBrushes()!=null?$.ig.ArrayUtil.prototype.a($$a.$at.$type,this.indicatorBrushes(),b):null);a.thickness(this.indicatorThickness())}else if(!a.isAnnotationLayer()&&(d||c)){a.brush(this.brushes()!=null?$.ig.ArrayUtil.prototype.a($$a.$at.$type,this.brushes(),b):null);a.outline(this.outlines()!=null?$.ig.ArrayUtil.prototype.a($$a.$at.$type,this.outlines(),b):null)}var f=this.volumeChart()!=null&&this.volumeChart()==a.chart();if(f){a.thickness(this.volumeThickness())}a.legend(c||f||e||!a.isUsableInLegend()?null:this.legend()!=null?this.legend():this.isLegendVisible()?this.financialChartLegend():null)},ka:function(a,b,c){var $self=this;$.ig.XYChart.prototype.ka.call(this,a,b,c);switch(a){case"YAxisIsLogarithmic":this.yAxis().isLogarithmic(this.yAxisIsLogarithmic());if(this.volumeAxis()!=null){this.volumeAxis().isLogarithmic(this.yAxisIsLogarithmic())}if(this.zoomSliderAxis()!=null){this.zoomSliderAxis().isLogarithmic(this.yAxisIsLogarithmic())}break;case"YAxisLogarithmBase":this.yAxis().logarithmBase(this.yAxisLogarithmBase());if(this.volumeAxis()!=null){this.volumeAxis().logarithmBase(this.yAxisLogarithmBase())}if(this.zoomSliderAxis()!=null){this.zoomSliderAxis().logarithmBase(this.yAxisLogarithmBase())}break;case"VolumeType":var d=$g(b);if(this.volumeType()==0){this.volumeChart(null)}else if(this.volumeChart()==null){this.volumeChart(function(){var $ret=new $.ig.XamDataChart;$ret.name("VolumeChart");return $ret}())}else{this.aa2()}break;case"VolumeChart":this.abm($b($.ig.XamDataChart.prototype.$type,b),$b($.ig.XamDataChart.prototype.$type,c));break;case"DataChart":if($b($.ig.XamDataChart.prototype.$type,b)!==null){var e=b;e.gridAreaRectChanged=$.ig.Delegate.prototype.remove(e.gridAreaRectChanged,this.aai.runOn(this));e.actualWindowRectChanged=$.ig.Delegate.prototype.remove(e.actualWindowRectChanged,this.aaf.runOn(this));e.seriesDataUpdated=$.ig.Delegate.prototype.remove(e.seriesDataUpdated,this.aan.runOn(this))}if(this.dataChart()!=null){var f=this.dataChart();f.gridAreaRectChanged=$.ig.Delegate.prototype.combine(f.gridAreaRectChanged,this.aai.runOn(this));var g=this.dataChart();g.actualWindowRectChanged=$.ig.Delegate.prototype.combine(g.actualWindowRectChanged,this.aaf.runOn(this));var h=this.dataChart();h.seriesDataUpdated=$.ig.Delegate.prototype.combine(h.seriesDataUpdated,this.aan.runOn(this))}this.abl();break;case"XAxisMode":this.xAxis(this.tk(this.xAxisMode()));this.xAxis().name("xAxis");this.volumeXAxis(this.tk(this.xAxisMode()));this.volumeXAxis().name("volumeXAxis");this.indicatorXAxis(this.tk(this.xAxisMode()));this.indicatorXAxis().name("indicatorXAxis_0");this.zoomSliderXAxis(this.tk(this.xAxisMode()));this.zoomSliderXAxis().name("zoomSliderXAxis");this.q7(this.zoomSliderXAxis(),function(i){i.visibility(1)});this.z6();if(this.xAxisMode()==1){this.abf()}break;case"YAxisMode":this.yAxis(this.uy(this.yAxisMode()));this.yAxis().name("yAxis");this.zoomSliderAxis(this.uy(this.yAxisMode()));this.zoomSliderAxis().name("zoomSliderAxis");this.volumeAxis(this.uy(this.yAxisMode()));this.volumeAxis().name("volumeAxis");break;case"Toolbar":var i=$b($$t.$o.$type,b);if(i!=null){i.rangeChanged=$.ig.Delegate.prototype.remove(i.rangeChanged,this.aam.runOn(this));i.indicatorTypesChanged=$.ig.Delegate.prototype.remove(i.indicatorTypesChanged,this.aap.runOn(this));i.overlayTypesChanged=$.ig.Delegate.prototype.remove(i.overlayTypesChanged,this.aaq.runOn(this))}if(this.ty()!=null){this.ty().ae(this.indicatorTypes());this.ty().ag(this.overlayTypes());this.ty().u(this.actualRangeSelectorOptions());this.abj(true);var j=this.ty();j.rangeChanged=$.ig.Delegate.prototype.combine(j.rangeChanged,this.aam.runOn(this));var k=this.ty();k.indicatorTypesChanged=$.ig.Delegate.prototype.combine(k.indicatorTypesChanged,this.aap.runOn(this));var l=this.ty();l.overlayTypesChanged=$.ig.Delegate.prototype.combine(l.overlayTypesChanged,this.aaq.runOn(this))}break;case"XAxis":var m=$b($.ig.CategoryAxisBase.prototype.$type,b);if(m!=null){if(this.dataChart()!=null){this.dataChart().axes().remove(m)}}var n=$b($.ig.ITimeRangeSelectorAxis.prototype.$type,b);if(n!=null){n.visibleRangeChanged=$.ig.Delegate.prototype.remove(n.visibleRangeChanged,this.aat.runOn(this))}if(this.dataChart()!=null){this.dataChart().axes().add(this.xAxis())}if(this.cc()){this.q9(this.xAxis());this.flush()}this.abj(false);this.abk();this.aa6();var o=this.xAxis();o.visibleRangeChanged=$.ig.Delegate.prototype.combine(o.visibleRangeChanged,this.aat.runOn(this));break;case"ChartType":this.kt();break;case"VolumeXAxis":this.abc(this.volumeChart(),$b($.ig.Axis.prototype.$type,b),this.volumeXAxis());break;case"ZoomSliderXAxis":this.abc(this.zoomSliderChart(),$b($.ig.Axis.prototype.$type,b),this.zoomSliderXAxis());break;case"IndicatorXAxis":this.abg();break;case"YAxis":var p=$b($.ig.NumericYAxis.prototype.$type,b);if(p!=null){if(this.dataChart()!=null){this.dataChart().axes().remove(p)}}if(this.dataChart()!=null){this.dataChart().axes().add(this.yAxis())}if(this.cc()){this.rb(this.yAxis());this.rb(this.yAxis())}var q=this.yAxis();q.rangeChanged=$.ig.Delegate.prototype.combine(q.rangeChanged,this.aau.runOn(this));break;case"VolumeAxis":var r=$b($.ig.Axis.prototype.$type,b);if(this.volumeChart()!=null&&r!=null){this.volumeChart().axes().remove(r)}if(this.volumeChart()!=null&&this.volumeAxis()!=null){this.volumeChart().axes().add(this.volumeAxis());this.aa2()}if(this.cc()){this.rb(this.volumeAxis())}var s=this.volumeAxis();s.rangeChanged=$.ig.Delegate.prototype.combine(s.rangeChanged,this.aau.runOn(this));break;case"IndicatorAxis":if(this.indicatorCharts()!=null){for(var t=0;t<this.indicatorCharts().count();t++){var u=this.indicatorCharts().__inner[t];var v=new $$4.x($.ig.Axis.prototype.$type,0);var x=u.axes().getEnumerator();while(x.moveNext()){var w=x.current();if($b($.ig.NumericYAxis.prototype.$type,w)!==null){v.add(w)}}var z=v.getEnumerator();while(z.moveNext()){var y=z.current();u.axes().remove(y)}var aa=null;if(t==0){aa=this.indicatorAxis()}else if(this.yAxisMode()==1){aa=this.uy(this.yAxisMode())}else if($b($.ig.NumericYAxis.prototype.$type,this.indicatorAxis())!==null){aa=new $.ig.NumericYAxis}if(aa!=null){u.axes().add(aa)}if(this.cc()){this.rb(aa)}}}break;case"IsWindowSyncedToVisibleRange":if(this.dataChart()!=null){this.dataChart().isVerticalZoomEnabled(this.isVerticalZoomEnabled()&&this.ct())}if(this.volumeChart()!=null){this.volumeChart().isVerticalZoomEnabled(this.isVerticalZoomEnabled()&&this.ct())}if(this.isWindowSyncedToVisibleRange()){this.abd(this.dataChart())}else{this.volumeChart().windowScaleVertical(1)}break;case"IndicatorTypes":var ab=$b($$4.$f.$type.specialize($$t.$al.$type),b);if(ab!=null){ab.collectionChanged=$.ig.Delegate.prototype.remove(ab.collectionChanged,this.aaj.runOn(this))}var ac=$b($$4.$f.$type.specialize($$t.$al.$type),c);if(ac!=null){ac.collectionChanged=$.ig.Delegate.prototype.combine(ac.collectionChanged,this.aaj.runOn(this))}this.abg();break;case"OverlayTypes":var ad=$b($$4.$f.$type.specialize($$t.$ak.$type),b);if(ad!=null){ad.collectionChanged=$.ig.Delegate.prototype.remove(ad.collectionChanged,this.aak.runOn(this))}var ae=$b($$4.$f.$type.specialize($$t.$ak.$type),c);if(ae!=null){ae.collectionChanged=$.ig.Delegate.prototype.combine(ae.collectionChanged,this.aak.runOn(this))}this.abi();break;case"YAxisAbbreviateLargeNumbers":this.ri(function(af){af.abbreviateLargeNumbers($self.yAxisAbbreviateLargeNumbers())});break;case"YAxisMinimumValue":this.rj(function(af){af.minimumValue($self.yAxisMinimumValue())},false);break;case"YAxisMaximumValue":this.rj(function(af){af.maximumValue($self.yAxisMaximumValue())},false);break;case"YAxisInterval":this.rj(function(af){af.interval($self.yAxisInterval())},false);break;case"Thickness":case"ZoomSliderType":this.abl();break;case"ZoomSliderChart":if(!this.v2()){return}this.abo($b($.ig.XamDataChart.prototype.$type,b),$b($.ig.XamDataChart.prototype.$type,c));break;case"NegativeBrushes":case"NegativeOutlines":this.aac(function(af,ag){if(af.isNegativeColorSupported()){af.setNegativeColors($self.negativeBrushes()!=null?$.ig.ArrayUtil.prototype.a($$a.$at.$type,$self.negativeBrushes(),ag):null,$self.negativeOutlines()!=null?$.ig.ArrayUtil.prototype.a($$a.$at.$type,$self.negativeOutlines(),ag):null)}},true);break;case"OverlayBrushes":this.aab(function(af,ag){af.brush($self.overlayBrushes()!=null?$.ig.ArrayUtil.prototype.a($$a.$at.$type,$self.overlayBrushes(),ag):null)});break;case"OverlayOutlines":this.aab(function(af,ag){af.outline($self.overlayOutlines()!=null?$.ig.ArrayUtil.prototype.a($$a.$at.$type,$self.overlayOutlines(),ag):null)});break;case"OverlayThickness":this.aab(function(af,ag){af.thickness($self.overlayThickness())});break;case"OverlayMultiplier":this.aab(function(af,ag){$self.ut().setMultiplier(af,$self.overlayMultiplier())});break;case"VolumeBrushes":this.aad(function(af,ag){af.brush($.ig.ArrayUtil.prototype.a($$a.$at.$type,$self.volumeBrushes(),ag))});break;case"VolumeOutlines":this.aad(function(af,ag){af.outline($.ig.ArrayUtil.prototype.a($$a.$at.$type,$self.volumeOutlines(),ag))});break;case"VolumeThickness":this.aad(function(af,ag){af.thickness($self.volumeThickness())});break;case"IndicatorNegativeBrushes":this.aaa(function(af,ag){$self.uo().setNegativeBrush(af,$.ig.ArrayUtil.prototype.a($$a.$at.$type,$self.indicatorNegativeBrushes(),ag))});break;case"IndicatorBrushes":this.aaa(function(af,ag){af.brush($.ig.ArrayUtil.prototype.a($$a.$at.$type,$self.indicatorBrushes(),ag))});break;case"IndicatorThickness":this.aaa(function(af,ag){af.thickness($self.indicatorThickness())});break;case"IndicatorDisplayTypes":this.aaa(function(af,ag){$self.uo().setDisplayType(af,$.ig.ArrayUtil.prototype.a($.ig.IndicatorDisplayType.prototype.$type,$self.indicatorDisplayTypes(),ag))});break;case"IndicatorPeriod":this.aaa(function(af,ag){if($self.indicatorPeriod()==-2147483648){return}$self.uo().setPeriodOverride(af,$self.indicatorPeriod())});break;case"IndicatorMultiplier":this.aaa(function(af,ag){$self.uo().setMultiplier(af,$self.indicatorMultiplier())});break;case"IndicatorSmoothingPeriod":this.aaa(function(af,ag){$self.uo().setSmoothingPeriod(af,$self.indicatorSmoothingPeriod())});break;case"IndicatorShortPeriod":this.aaa(function(af,ag){$self.uo().setShortPeriod(af,$self.indicatorShortPeriod())});break;case"IndicatorLongPeriod":this.aaa(function(af,ag){$self.uo().setLongPeriod(af,$self.indicatorLongPeriod())});break;case"IndicatorSignalPeriod":this.aaa(function(af,ag){$self.uo().setSignalPeriod(af,$self.indicatorSignalPeriod())});break;case"RangeSelectorOptions":var af=$b($$t.$am.$type,b);if(af!=null){af.collectionChanged=$.ig.Delegate.prototype.remove(af.collectionChanged,this.aal.runOn(this))}if(this.rangeSelectorOptions()!=null){var ag=this.rangeSelectorOptions();ag.collectionChanged=$.ig.Delegate.prototype.combine(ag.collectionChanged,this.aal.runOn(this))}this.aa6();break;case"CustomIndicatorNames":var ah=$b($$4.$f.$type.specialize(String),b);if(ah!=null){ah.collectionChanged=$.ig.Delegate.prototype.remove(ah.collectionChanged,this.aah.runOn(this))}if(this.customIndicatorNames()!=null){var ai=this.customIndicatorNames();ai.collectionChanged=$.ig.Delegate.prototype.combine(ai.collectionChanged,this.aah.runOn(this))}this.abg();break;case"Legend":if(this.zoomSliderChart()!=null){this.zoomSliderChart().legend(null)}break;case"Brushes":this.aac(function(aj,ak){aj.brush($self.brushes()!=null?$.ig.ArrayUtil.prototype.a($$a.$at.$type,$self.brushes(),ak):null)},true);break;case"Outlines":this.aac(function(aj,ak){aj.outline($self.outlines()!=null?$.ig.ArrayUtil.prototype.a($$a.$at.$type,$self.outlines(),ak):null)},true);break;case"XAxisLabelVisibility":if(this.xAxisLabelVisibility()==0&&this.zoomSliderXAxis()!=null){this.q7(this.zoomSliderXAxis(),function(aj){aj.visibility(1)})}this.z6();break;case"YAxisLabelVisibility":if(this.yAxisLabelVisibility()!=0||this.zoomSliderAxis()==null){break}this.q7(this.zoomSliderAxis(),function(aj){aj.visibility(1)});break;case"ZoomSliderXAxisMajorStroke":this.zoomSliderXAxis().majorStroke(this.zoomSliderXAxisMajorStroke());break;case"ZoomSliderXAxisMajorStrokeThickness":this.zoomSliderXAxis().majorStrokeThickness(this.zoomSliderXAxisMajorStrokeThickness());break;case"FinancialChartLegend":case"IsLegendVisible":var aj=this.isLegendVisible()&&this.legend()==null;{var ak=function(al,am){if(al.isUsableInLegend()){al.legend(aj?$self.financialChartLegend():null)}};this.aac(ak,false);this.aab(ak)}break;case"ZoomSliderAxis":var al=$b($.ig.Axis.prototype.$type,b);if(al!=null&&this.zoomSliderChart()!=null){this.zoomSliderChart().axes().remove(al)}if(this.zoomSliderAxis()!=null){if(this.zoomSliderChart()!=null){this.zoomSliderChart().axes().add(this.zoomSliderAxis());this.aa3();this.zoomSliderXAxis().itemsSource(this.xAxis().itemsSource())}if(this.cc()){this.rb(this.zoomSliderAxis())}this.q7(this.zoomSliderAxis(),function(am){am.visibility(1)})}break;case"XAxisMinimumValue":this.rd(function(am){var an=$b($.ig.ITimeRangeSelectorAxis.prototype.$type,am);if(an!=null){an.minimumValue($self.xAxisMinimumValue())}});break;case"XAxisMaximumValue":this.rd(function(am){var an=$b($.ig.ITimeRangeSelectorAxis.prototype.$type,am);if(an!=null){an.maximumValue($self.xAxisMaximumValue())}});break}},domainType:function(){return 1},vl:false,yAxisIsLogarithmic:function(a){if(arguments.length===1){var b=this.yAxisIsLogarithmic();if(a!=b){this.vl=a;this.ka("YAxisIsLogarithmic",b,this.yAxisIsLogarithmic())}return a}else{return this.vl}},xh:0,yAxisLogarithmBase:function(a){if(arguments.length===1){var b=this.yAxisLogarithmBase();if(a!=b){this.xh=a;this.ka("YAxisLogarithmBase",b,this.yAxisLogarithmBase())}return a}else{return this.xh}},wn:0,yAxisInterval:function(a){if(arguments.length===1){var b=this.yAxisInterval();if(a!=b){this.wn=a;this.ka("YAxisInterval",b,this.yAxisInterval())}return a}else{return this.wn}},wp:0,yAxisMinimumValue:function(a){
if(arguments.length===1){var b=this.yAxisMinimumValue();if(a!=b){this.wp=a;this.ka("YAxisMinimumValue",b,this.yAxisMinimumValue())}return a}else{return this.wp}},wo:0,yAxisMaximumValue:function(a){if(arguments.length===1){var b=this.yAxisMaximumValue();if(a!=b){this.wo=a;this.ka("YAxisMaximumValue",b,this.yAxisMaximumValue())}return a}else{return this.wo}},wq:0,yAxisMinorInterval:function(a){if(arguments.length===1){var b=this.yAxisMinorInterval();if(a!=b){this.wq=a;this.ka("YAxisMinorInterval",b,this.yAxisMinorInterval())}return a}else{return this.wq}},yAxisActualMinimum:function(){return this.yAxis().actualMinimumValue()},yAxisActualMaximum:function(){return this.yAxis().actualMaximumValue()},t3:0,volumeType:function(a){if(arguments.length===1){var b=this.volumeType();if(a!=b){this.t3=a;this.ka("VolumeType",$$t.$ae.getBox(b),$$t.$ae.getBox(this.volumeType()))}return a}else{return this.t3}},t6:0,xAxisMode:function(a){if(arguments.length===1){var b=this.xAxisMode();if(a!=b){this.t6=a;this.ka("XAxisMode",$$t.$ag.getBox(b),$$t.$ag.getBox(this.xAxisMode()))}return a}else{return this.t6}},t8:0,yAxisMode:function(a){if(arguments.length===1){var b=this.yAxisMode();if(a!=b){this.t8=a;this.ka("YAxisMode",$$t.$ah.getBox(b),$$t.$ah.getBox(this.yAxisMode()))}return a}else{return this.t8}},vi:false,isToolbarVisible:function(a){if(arguments.length===1){var b=this.isToolbarVisible();if(a!=b){this.vi=a;this.ka("IsToolbarVisible",b,this.isToolbarVisible())}return a}else{return this.vi}},tz:0,chartType:function(a){if(arguments.length===1){var b=this.chartType();if(a!=b){this.tz=a;this.ka("ChartType",$$t.$af.getBox(b),$$t.$af.getBox(this.chartType()))}return a}else{return this.tz}},yAxisLabelHorizontalAlignment:function(a){if(arguments.length===1){$.ig.XYChart.prototype.yAxisLabelHorizontalAlignment.call(this,a);return a}else{return $.ig.XYChart.prototype.yAxisLabelHorizontalAlignment.call(this)}},vj:false,isWindowSyncedToVisibleRange:function(a){if(arguments.length===1){var b=this.isWindowSyncedToVisibleRange();if(a!=b){this.vj=a;this.ka("IsWindowSyncedToVisibleRange",b,this.isWindowSyncedToVisibleRange())}return a}else{return this.vj}},ud:null,indicatorTypes:function(a){if(arguments.length===1){var b=this.indicatorTypes();if(a!=b){this.ud=a;this.ka("IndicatorTypes",b,this.indicatorTypes())}return a}else{return this.ud}},uf:null,overlayTypes:function(a){if(arguments.length===1){var b=this.overlayTypes();if(a!=b){this.uf=a;this.ka("OverlayTypes",b,this.overlayTypes())}return a}else{return this.uf}},v6:null,indicatorCharts:function(a){if(arguments.length===1){var b=this.indicatorCharts();if(a!=b){this.v6=a;this.ka("IndicatorCharts",b,this.indicatorCharts())}return a}else{return this.v6}},vk:false,yAxisAbbreviateLargeNumbers:function(a){if(arguments.length===1){var b=this.yAxisAbbreviateLargeNumbers();if(a!=b){this.vk=a;this.ka("YAxisAbbreviateLargeNumbers",b,this.yAxisAbbreviateLargeNumbers())}return a}else{return this.vk}},resolution:function(a){if(arguments.length===1){$.ig.XYChart.prototype.resolution.call(this,a);return a}else{return $.ig.XYChart.prototype.resolution.call(this)}},vc:null,zoomSliderChart:function(a){if(arguments.length===1){var b=this.zoomSliderChart();if(a!=b){this.vc=a;this.ka("ZoomSliderChart",b,this.zoomSliderChart())}return a}else{return this.vc}},ux:null,zoomSliderAxis:function(a){if(arguments.length===1){var b=this.zoomSliderAxis();if(a!=b){this.ux=a;this.ka("ZoomSliderAxis",b,this.zoomSliderAxis())}return a}else{return this.ux}},ti:null,zoomSliderXAxis:function(a){if(arguments.length===1){var b=this.zoomSliderXAxis();if(a!=b){this.ti=a;this.ka("ZoomSliderXAxis",b,this.zoomSliderXAxis())}return a}else{return this.ti}},ua:0,zoomSliderType:function(a){if(arguments.length===1){var b=this.zoomSliderType();if(a!=b){this.ua=a;this.ka("ZoomSliderType",$$t.$ai.getBox(b),$$t.$ai.getBox(this.zoomSliderType()))}return a}else{return this.ua}},s1:null,negativeBrushes:function(a){if(arguments.length===1){var b=this.negativeBrushes();if(a!=b){this.s1=a;this.ka("NegativeBrushes",b,this.negativeBrushes())}return a}else{return this.s1}},s2:null,negativeOutlines:function(a){if(arguments.length===1){var b=this.negativeOutlines();if(a!=b){this.s2=a;this.ka("NegativeOutlines",b,this.negativeOutlines())}return a}else{return this.s2}},s3:null,overlayBrushes:function(a){if(arguments.length===1){var b=this.overlayBrushes();if(a!=b){this.s3=a;this.ka("OverlayBrushes",b,this.overlayBrushes())}return a}else{return this.s3}},s4:null,overlayOutlines:function(a){if(arguments.length===1){var b=this.overlayOutlines();if(a!=b){this.s4=a;this.ka("OverlayOutlines",b,this.overlayOutlines())}return a}else{return this.s4}},s6:null,volumeOutlines:function(a){if(arguments.length===1){var b=this.volumeOutlines();if(a!=b){this.s6=a;this.ka("VolumeOutlines",b,this.volumeOutlines())}return a}else{return this.s6}},s5:null,volumeBrushes:function(a){if(arguments.length===1){var b=this.volumeBrushes();if(a!=b){this.s5=a;this.ka("VolumeBrushes",b,this.volumeBrushes())}return a}else{return this.s5}},s0:null,indicatorNegativeBrushes:function(a){if(arguments.length===1){var b=this.indicatorNegativeBrushes();if(a!=b){this.s0=a;this.ka("IndicatorNegativeBrushes",b,this.indicatorNegativeBrushes())}return a}else{return this.s0}},sz:null,indicatorBrushes:function(a){if(arguments.length===1){var b=this.indicatorBrushes();if(a!=b){this.sz=a;this.ka("IndicatorBrushes",b,this.indicatorBrushes())}return a}else{return this.sz}},wm:0,volumeThickness:function(a){if(arguments.length===1){var b=this.volumeThickness();if(a!=b){this.wm=a;this.ka("VolumeThickness",b,this.volumeThickness())}return a}else{return this.wm}},wk:0,overlayThickness:function(a){if(arguments.length===1){var b=this.overlayThickness();if(a!=b){this.wk=a;this.ka("OverlayThickness",b,this.overlayThickness())}return a}else{return this.wk}},wj:0,overlayMultiplier:function(a){if(arguments.length===1){var b=this.overlayMultiplier();if(a!=b){this.wj=a;this.ka("OverlayMultiplier",b,this.overlayMultiplier())}return a}else{return this.wj}},wi:0,indicatorThickness:function(a){if(arguments.length===1){var b=this.indicatorThickness();if(a!=b){this.wi=a;this.ka("IndicatorThickness",b,this.indicatorThickness())}return a}else{return this.wi}},up:null,indicatorDisplayTypes:function(a){if(arguments.length===1){var b=this.indicatorDisplayTypes();if(a!=b){this.up=a;this.ka("IndicatorDisplayTypes",b,this.indicatorDisplayTypes())}return a}else{return this.up}},xd:0,indicatorPeriod:function(a){if(arguments.length===1){var b=this.indicatorPeriod();if(a!=b){this.xd=a;this.ka("IndicatorPeriod",b,this.indicatorPeriod())}return a}else{return this.xd}},wh:0,indicatorMultiplier:function(a){if(arguments.length===1){var b=this.indicatorMultiplier();if(a!=b){this.wh=a;this.ka("IndicatorMultiplier",b,this.indicatorMultiplier())}return a}else{return this.wh}},xg:0,indicatorSmoothingPeriod:function(a){if(arguments.length===1){var b=this.indicatorSmoothingPeriod();if(a!=b){this.xg=a;this.ka("IndicatorSmoothingPeriod",b,this.indicatorSmoothingPeriod())}return a}else{return this.xg}},xe:0,indicatorShortPeriod:function(a){if(arguments.length===1){var b=this.indicatorShortPeriod();if(a!=b){this.xe=a;this.ka("IndicatorShortPeriod",b,this.indicatorShortPeriod())}return a}else{return this.xe}},xc:0,indicatorLongPeriod:function(a){if(arguments.length===1){var b=this.indicatorLongPeriod();if(a!=b){this.xc=a;this.ka("IndicatorLongPeriod",b,this.indicatorLongPeriod())}return a}else{return this.xc}},xf:0,indicatorSignalPeriod:function(a){if(arguments.length===1){var b=this.indicatorSignalPeriod();if(a!=b){this.xf=a;this.ka("IndicatorSignalPeriod",b,this.indicatorSignalPeriod())}return a}else{return this.xf}},tu:null,rangeSelectorOptions:function(a){if(arguments.length===1){var b=this.rangeSelectorOptions();if(a!=b){this.tu=a;this.ka("RangeSelectorOptions",b,this.rangeSelectorOptions())}return a}else{return this.tu}},_actualRangeSelectorOptions:null,actualRangeSelectorOptions:function(a){if(arguments.length===1){this._actualRangeSelectorOptions=a;return a}else{return this._actualRangeSelectorOptions}},tq:null,customIndicatorNames:function(a){if(arguments.length===1){if(Array.isArray(a)){a=new $$t.aj(1,a)}var b=this.tq;if(a!=b){this.tq=a;this.ka("CustomIndicatorNames",b,this.customIndicatorNames())}return a}else{return this.tq}},applyCustomIndicators:null,isVerticalZoomEnabled:function(a){if(arguments.length===1){$.ig.XYChart.prototype.isVerticalZoomEnabled.call(this,a);return a}else{return $.ig.XYChart.prototype.isVerticalZoomEnabled.call(this)}},abq:null,zoomSliderXAxisMajorStroke:function(a){if(arguments.length===1){var b=this.zoomSliderXAxisMajorStroke();if(a!=b){this.abq=a;this.ka("ZoomSliderXAxisMajorStroke",b,this.zoomSliderXAxisMajorStroke())}return a}else{return this.abq}},wr:0,zoomSliderXAxisMajorStrokeThickness:function(a){if(arguments.length===1){var b=this.zoomSliderXAxisMajorStrokeThickness();if(a!=b){this.wr=a;this.ka("ZoomSliderXAxisMajorStrokeThickness",b,this.zoomSliderXAxisMajorStrokeThickness())}return a}else{return this.wr}},vh:false,isLegendVisible:function(a){if(arguments.length===1){var b=this.isLegendVisible();if(a!=b){this.vh=a;this.ka("IsLegendVisible",b,this.isLegendVisible())}return a}else{return this.vh}},uh:null,financialChartLegend:function(a){if(arguments.length===1){var b=this.financialChartLegend();if(a!=b){this.uh=a;this.ka("FinancialChartLegend",b,this.financialChartLegend())}return a}else{return this.uh}},th:null,xAxis:function(a){if(arguments.length===1){var b=this.xAxis();if(a!=b){this.th=a;this.ka("XAxis",b,this.xAxis())}return a}else{return this.th}},uw:null,yAxis:function(a){if(arguments.length===1){var b=this.yAxis();if(a!=b){this.uw=a;this.ka("YAxis",b,this.yAxis())}return a}else{return this.uw}},uv:null,volumeAxis:function(a){if(arguments.length===1){var b=this.volumeAxis();if(a!=b){this.uv=a;this.ka("VolumeAxis",b,this.volumeAxis())}return a}else{return this.uv}},tg:null,volumeXAxis:function(a){if(arguments.length===1){var b=this.volumeXAxis();if(a!=b){this.tg=a;this.ka("VolumeXAxis",b,this.volumeXAxis())}return a}else{return this.tg}},uu:null,indicatorAxis:function(a){if(arguments.length===1){var b=this.indicatorAxis();if(a!=b){this.uu=a;this.ka("IndicatorAxis",b,this.indicatorAxis())}return a}else{return this.uu}},tf:null,indicatorXAxis:function(a){if(arguments.length===1){var b=this.indicatorXAxis();if(a!=b){this.tf=a;this.ka("IndicatorXAxis",b,this.indicatorXAxis())}return a}else{return this.tf}},v5:null,v8:function(a){if(arguments.length===1){var b=this.v8();if(a!=b){this.v5=a;this.ka("IndicatorAxes",b,this.v8())}return a}else{return this.v5}},v7:null,wa:function(a){if(arguments.length===1){var b=this.wa();if(a!=b){this.v7=a;this.ka("IndicatorXAxes",b,this.wa())}return a}else{return this.v7}},we:new Date,xAxisMinimumValue:function(a){if(arguments.length===1){var b=this.xAxisMinimumValue();if(+a!=+b){this.we=a;this.ka("XAxisMinimumValue",b,this.xAxisMinimumValue())}return a}else{return this.we}},wd:new Date,xAxisMaximumValue:function(a){if(arguments.length===1){var b=this.xAxisMaximumValue();if(+a!=+b){this.wd=a;this.ka("XAxisMaximumValue",b,this.xAxisMaximumValue())}return a}else{return this.wd}},wb:null,xAxisBreaks:function(){return this.wb},$type:new $.ig.Type("FinancialChart",$.ig.XYChart.prototype.$type)},true);$c("FinancialChartContext:b","Object",{init:function(){$.ig.$op.init.call(this)},_vm:null,vm:function(a){if(arguments.length===1){this._vm=a;return a}else{return this._vm}},_template:null,template:function(a){if(arguments.length===1){this._template=a;return a}else{return this._template}},_container:null,container:function(a){if(arguments.length===1){this._container=a;return a}else{return this._container}},_toolbarContainer:null,toolbarContainer:function(a){if(arguments.length===1){this._toolbarContainer=a;return a}else{return this._toolbarContainer}},_legendContainer:null,legendContainer:function(a){if(arguments.length===1){this._legendContainer=a;return a}else{return this._legendContainer}},_indicatorsContainer:null,indicatorsContainer:function(a){if(arguments.length===1){this._indicatorsContainer=a;return a}else{return this._indicatorsContainer}},_volumeContainer:null,volumeContainer:function(a){if(arguments.length===1){this._volumeContainer=a;return a}else{return this._volumeContainer}},_zoomContainer:null,zoomContainer:function(a){if(arguments.length===1){this._zoomContainer=a;return a}else{return this._zoomContainer}},$type:new $.ig.Type("FinancialChartContext",$.ig.$ot)},true);$c("FinancialChartViewModel:c","Object",{init:function(){$.ig.$op.init.call(this)},_toolbar:null,toolbar:function(a){if(arguments.length===1){this._toolbar=a;return a}else{return this._toolbar}},$type:new $.ig.Type("FinancialChartViewModel",$.ig.$ot)},true);$c("TemplatedHtmlControl:x","Object",{f:function(a,b){for(var c=0;c<a.getChildCount();c++){var d=a.getChildAt(c);if(d.getNativeElement()!=null){var ele_=d.getNativeElement();if(b.toUpperCase()==ele_.nodeName.toUpperCase()){return d}var e=$$t.$x.f(d,b);if(e!=null){return e}}}return null},a:function(a,b){var c=new $$4.x($$1.$i.$type,0);for(var d=0;d<a.getChildCount();d++){var e=a.getChildAt(d);if(e.getNativeElement()!=null){var ele_=e.getNativeElement();if(b.toUpperCase()==ele_.nodeName.toUpperCase()){c.add(e)}var f=$$t.$x.a(e,b);if(f!=null){c.addRange(f)}}}return c},h:function(a,b,c){if(a==null){a=document.querySelector("template."+b)}if(a==null){var d=document.querySelector("link.financialChartTemplates");if(d!=null){var e=d.import;if(e!=null){a=e.querySelector("template."+b)}}}if(a==null){a=document.createElement("template");a.innerHTML=c}return a},_j:null,init:function(a,b,c){this.e=null;$.ig.$op.init.call(this);this._i=$$t.$x.h(b,a,c);this._j=a},_i:null,e:null,g:function(a){if(arguments.length===1){this.e=a;return a}else{if(this.e==null&&this._d!=null){return this._d.rootWrapper()}return this.e}},_d:null,l:function(a){if(a==null){if(this.g()!=null){this.g().remove()}return}this._d=a;var b=$$t.$x.c(this._i);if(b!=null){var c=b.querySelector("."+this._j);if(c!=null){this.g(this._d.getWrapper(c))}}this._d.append(this._d.getWrapper(b))},c:function(a){var b=a.content;if(b==null){var c=$(a.innerHTML);if(c!=null){if(c.length==1){b=c[0]}else if(c.length>1){var d=$("<div>");d.append(c);b=d[0]}}}return b==null?null:document.importNode(b,true)},n:function(a,b,c,d){$$t.$x.m(a,d.b1(b),c)},m:function(a,b,c){if(c==null){return}var d=c.querySelector(a);if(d==null){return}d.setText(b)},b:function(){if(this._d==null||this._d.rootWrapper()==null){return NaN}var a=this._d.rootWrapper().getOffset();return this._d.rootWrapper().width()+(a==null?0:a.left)},k:function(){if(this._d==null||this._d.rootWrapper()==null){return}this._d.rootWrapper().hide()},$type:new $.ig.Type("TemplatedHtmlControl",$.ig.$ot)},true);$c("FinancialChartDropDownControl:d","TemplatedHtmlControl",{init:function(a,b,c){$$t.$x.init.call(this,a,b,c)},v:function(){if(this.selectionChanged!=null){this.selectionChanged(this,$$0.$w.empty)}},selectionChanged:null,l:function(a){$$t.$x.l.call(this,a);this._o.f(this._d,this._p,this.s(),this.t())},s:function(){},t:function(){},_o:null,_p:null,q:function(){return false},u:function(a){if(this._p.isOpen()){var b=a.target;var c=b.matches(this.s()+" *");var d=c||this.q()&&b.matches(this.t()+" *");if(!d){this._p.isOpen(false);this._p.updateUI()}}},$type:new $.ig.Type("FinancialChartDropDownControl",$$t.$x.$type)},true);$c("FinancialChartDropDownControlViewModel:e","Object",{init:function(){$.ig.$op.init.call(this)},_onSelectionChanged:null,onSelectionChanged:function(a){if(arguments.length===1){this._onSelectionChanged=a;return a}else{return this._onSelectionChanged}},_isOpen:false,isOpen:function(a){if(arguments.length===1){this._isOpen=a;return a}else{return this._isOpen}},_notifyChanged:null,notifyChanged:function(a){if(arguments.length===1){this._notifyChanged=a;return a}else{return this._notifyChanged}},_a:null,updateUI:function(){if(this.notifyChanged()!=null){this.notifyChanged()()}},onButtonPressed:function(){this.isOpen(!this.isOpen());this.updateUI()},handleDropDownClick:function(a){if(this._b!=null){this._b(a)}},_b:null,$type:new $.ig.Type("FinancialChartDropDownControlViewModel",$.ig.$ot)},true);$c("FinancialChartDropDownControlView:f","Object",{init:function(){$.ig.$op.init.call(this)},_b:false,_c:false,_d:null,_e:null,_a:null,i:function(a){if(!this._b&&!this._c){this.g()}this._b=false;this._c=false},h:function(a){this._b=true;var b=this._e.getStyleProperty("display")=="block"?"none":"block";this._e.setStyleProperty("display",b)},k:function(a){},j:function(a){this._c=true;this.k(a.target)},f:function(a,b,c,d){this._a=b;this._a._a=new $.ig.SRProvider(a);this._a._b=this.j.runOn(this);this._d=a.querySelector(c);this._d.listen("click",this.h.runOn(this));this._e=a.querySelector(d);this._e.setStyleProperty("display","none");this._e.listen("click",this.j.runOn(this));document.addEventListener("click",this.i.runOn(this),false)},g:function(){this._a.isOpen(false);this._a.updateUI();this._e.setStyleProperty("display","none")},$type:new $.ig.Type("FinancialChartDropDownControlView",$.ig.$ot)},true);$c("FinancialChartIndicatorMenu:g","FinancialChartDropDownControl",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$t.$g.init1.call(this,1,null)},init1:function(a,b){$$t.$d.init.call(this,"financialChartIndicatorMenu",b,$$t.$g.ab);this._o=new $$t.j;this._p=new $$t.h;this._p.onSelectionChanged(this.v.runOn(this))},s:function(){return".financialChartIndicatorMenuDropDownButton"},t:function(){return".financialChartIndicatorMenuDropDownMenu"},y:function(){return this.w()._j},z:function(){return this.w()._k},aa:function(){return this.w()._l},x:function(){return this.w()._i},w:function(){return this._p},q:function(){return true},$type:new $.ig.Type("FinancialChartIndicatorMenu",$$t.$d.$type)},true);$c("FinancialChartIndicatorMenuViewModel:h","FinancialChartDropDownControlViewModel",{init:function(){this.m="Indicators";this.n="Standalone Indicators";this.o="Overlays";this.p="Trendlines";this.q="Volumes";this.r="Absolute Volume Oscillator";this.s="Accumulation Distribution";this.t="Average Directional Index";this.u="Average True Range";this.v="Bollinger Band Width";this.w="Chaikin Oscillator";this.x="Chaikin Volatility";this.y="Commodity Channel Index";this.z="Detrended Price Oscillator";this.aa="Ease Of Movement";this.ab="Fast Stochastic Oscillator";this.ac="Force Index";this.ad="Full Stochastic Oscillator";this.ae="Market Facilitation Index";this.af="Mass Index";this.ag="Median Price";this.ah="Money Flow Index";this.ai="MACD";this.aj="Negative Volume Index";this.ak="On Balance Volume";this.al="Percentage Price Oscillator";this.am="Percentage Volume Oscillator";this.an="Positive Volume Index";this.ao="Price Volume Trend";this.ap="ROC";this.aq="RSI";this.ar="Slow Stochastic Oscillator";this.as="Standard Deviation";this.at="Stoch RSI";this.au="TRIX";this.av="Typical Price";this.aw="Ultimate Oscillator";this.ax="Weighted Closez";this.ay="Williams %R";this.az="Bollinger Bands";this.a0="Price Channel";this.a1="Cubic Fit";this.a2="Cumulative Average";this.a3="Exponential Average";this.a4="Exponential Fit";this.a5="Linear Fit";this.a6="Logarithmic Fit";this.a7="Modified Average";this.a8="PowerLaw Fit";this.a9="Quadratic Fit";this.ba="Quartic Fit";this.bb="Quintic Fit";this.bc="Simple Average";this.bd="Weighted Average";this.be="Area";this.bf="Column";this.bg="Line";$$t.$e.init.call(this)},_j:null,_k:null,_l:0,_i:0,m:null,n:null,o:null,p:null,q:null,r:null,s:null,t:null,u:null,v:null,w:null,x:null,y:null,z:null,aa:null,ab:null,ac:null,ad:null,ae:null,af:null,ag:null,ah:null,ai:null,aj:null,ak:null,al:null,am:null,an:null,ao:null,ap:null,aq:null,ar:null,as:null,at:null,au:null,av:null,aw:null,ax:null,ay:null,az:null,a0:null,a1:null,a2:null,a3:null,a4:null,a5:null,a6:null,a7:null,a8:null,a9:null,ba:null,bb:null,bc:null,bd:null,be:null,bf:null,bg:null,financialChart_IndicatorMenu_Header:function(){return!String.isNullOrWhiteSpace(this._a.t())?this._a.t():this.m},financialChart_IndicatorsMenu_Overlay_BollingerBands:function(){return!String.isNullOrWhiteSpace(this._a.a6())?this._a.a6():this.az},financialChart_IndicatorsMenu_Overlay_PriceChannel:function(){return!String.isNullOrWhiteSpace(this._a.a7())?this._a.a7():this.a0},financialChart_IndicatorMenu_IndicatorsCategoryHeader:function(){return!String.isNullOrWhiteSpace(this._a.u())?this._a.u():this.n},financialChart_IndicatorMenu_OverlaysCategoryHeader:function(){return!String.isNullOrWhiteSpace(this._a.v())?this._a.v():this.o},financialChart_IndicatorMenu_TrendlinesCategoryHeader:function(){return!String.isNullOrWhiteSpace(this._a.w())?this._a.w():this.p},financialChart_IndicatorMenu_VolumeCategoryHeader:function(){return!String.isNullOrWhiteSpace(this._a.x())?this._a.x():this.q},financialChart_IndicatorsMenu_Indicator_AbsoluteVolumeOscillator:function(){return!String.isNullOrWhiteSpace(this._a.y())?this._a.y():this.r},financialChart_IndicatorsMenu_Indicator_AccumulationDistribution:function(){return!String.isNullOrWhiteSpace(this._a.z())?this._a.z():this.s},financialChart_IndicatorsMenu_Indicator_AverageDirectionalIndex:function(){return!String.isNullOrWhiteSpace(this._a.aa())?this._a.aa():this.t},financialChart_IndicatorsMenu_Indicator_AverageTrueRange:function(){return!String.isNullOrWhiteSpace(this._a.ab())?this._a.ab():this.u},financialChart_IndicatorsMenu_Indicator_BollingerBandWidth:function(){return!String.isNullOrWhiteSpace(this._a.ac())?this._a.ac():this.v},financialChart_IndicatorsMenu_Indicator_ChaikinOscillator:function(){return!String.isNullOrWhiteSpace(this._a.ad())?this._a.ad():this.w},financialChart_IndicatorsMenu_Indicator_ChaikinVolatility:function(){return!String.isNullOrWhiteSpace(this._a.ae())?this._a.ae():this.x},financialChart_IndicatorsMenu_Indicator_CommodityChannelIndex:function(){return!String.isNullOrWhiteSpace(this._a.af())?this._a.af():this.y},financialChart_IndicatorsMenu_Indicator_DetrendedPriceOscillator:function(){return!String.isNullOrWhiteSpace(this._a.ag())?this._a.ag():this.z},financialChart_IndicatorsMenu_Indicator_EaseOfMovement:function(){return!String.isNullOrWhiteSpace(this._a.ah())?this._a.ah():this.aa},financialChart_IndicatorsMenu_Indicator_FastStochasticOscillator:function(){return!String.isNullOrWhiteSpace(this._a.ai())?this._a.ai():this.ab},financialChart_IndicatorsMenu_Indicator_ForceIndex:function(){return!String.isNullOrWhiteSpace(this._a.aj())?this._a.aj():this.ac},financialChart_IndicatorsMenu_Indicator_FullStochasticOscillator:function(){return!String.isNullOrWhiteSpace(this._a.ak())?this._a.ak():this.ad},financialChart_IndicatorsMenu_Indicator_MarketFacilitationIndex:function(){return!String.isNullOrWhiteSpace(this._a.al())?this._a.al():this.ae},financialChart_IndicatorsMenu_Indicator_MassIndex:function(){return!String.isNullOrWhiteSpace(this._a.am())?this._a.am():this.af},financialChart_IndicatorsMenu_Indicator_MedianPrice:function(){return!String.isNullOrWhiteSpace(this._a.an())?this._a.an():this.ag},financialChart_IndicatorsMenu_Indicator_MoneyFlowIndex:function(){return!String.isNullOrWhiteSpace(this._a.ao())?this._a.ao():this.ah},financialChart_IndicatorsMenu_Indicator_MovingAverageConvergenceDivergence:function(){return!String.isNullOrWhiteSpace(this._a.ap())?this._a.ap():this.ai},financialChart_IndicatorsMenu_Indicator_NegativeVolumeIndex:function(){return!String.isNullOrWhiteSpace(this._a.aq())?this._a.aq():this.aj},financialChart_IndicatorsMenu_Indicator_OnBalanceVolume:function(){return!String.isNullOrWhiteSpace(this._a.ar())?this._a.ar():this.ak},financialChart_IndicatorsMenu_Indicator_PercentagePriceOscillator:function(){return!String.isNullOrWhiteSpace(this._a.as())?this._a.as():this.al},financialChart_IndicatorsMenu_Indicator_PercentageVolumeOscillator:function(){return!String.isNullOrWhiteSpace(this._a.at())?this._a.at():this.am},financialChart_IndicatorsMenu_Indicator_PositiveVolumeIndex:function(){return!String.isNullOrWhiteSpace(this._a.au())?this._a.au():this.an},financialChart_IndicatorsMenu_Indicator_PriceVolumeTrend:function(){return!String.isNullOrWhiteSpace(this._a.av())?this._a.av():this.ao},financialChart_IndicatorsMenu_Indicator_RateOfChangeAndMomentum:function(){return!String.isNullOrWhiteSpace(this._a.aw())?this._a.aw():this.ap},financialChart_IndicatorsMenu_Indicator_RelativeStrengthIndex:function(){return!String.isNullOrWhiteSpace(this._a.ax())?this._a.ax():this.aq},financialChart_IndicatorsMenu_Indicator_SlowStochasticOscillator:function(){return!String.isNullOrWhiteSpace(this._a.ay())?this._a.ay():this.ar},financialChart_IndicatorsMenu_Indicator_StandardDeviation:function(){return!String.isNullOrWhiteSpace(this._a.az())?this._a.az():this.as},financialChart_IndicatorsMenu_Indicator_StochRSI:function(){return!String.isNullOrWhiteSpace(this._a.a0())?this._a.a0():this.at},financialChart_IndicatorsMenu_Indicator_TRIX:function(){return!String.isNullOrWhiteSpace(this._a.a1())?this._a.a1():this.au},financialChart_IndicatorsMenu_Indicator_TypicalPrice:function(){return!String.isNullOrWhiteSpace(this._a.a2())?this._a.a2():this.av},financialChart_IndicatorsMenu_Indicator_UltimateOscillator:function(){return!String.isNullOrWhiteSpace(this._a.a3())?this._a.a3():this.aw},financialChart_IndicatorsMenu_Indicator_WeightedClose:function(){return!String.isNullOrWhiteSpace(this._a.a4())?this._a.a4():this.ax},financialChart_IndicatorsMenu_Indicator_WilliamsPercentR:function(){return!String.isNullOrWhiteSpace(this._a.a5())?this._a.a5():this.ay},financialChart_IndicatorsMenu_TrendLine_CubicFit:function(){return!String.isNullOrWhiteSpace(this._a.a8())?this._a.a8():this.a1},financialChart_IndicatorsMenu_TrendLine_CumulativeAverage:function(){return!String.isNullOrWhiteSpace(this._a.a9())?this._a.a9():this.a2},financialChart_IndicatorsMenu_TrendLine_ExponentialAverage:function(){return!String.isNullOrWhiteSpace(this._a.ba())?this._a.ba():this.a3},financialChart_IndicatorsMenu_TrendLine_ExponentialFit:function(){return!String.isNullOrWhiteSpace(this._a.bb())?this._a.bb():this.a4},financialChart_IndicatorsMenu_TrendLine_LinearFit:function(){return!String.isNullOrWhiteSpace(this._a.bc())?this._a.bc():this.a5},financialChart_IndicatorsMenu_TrendLine_LogarithmicFit:function(){return!String.isNullOrWhiteSpace(this._a.bd())?this._a.bd():this.a6},financialChart_IndicatorsMenu_TrendLine_ModifiedAverage:function(){return!String.isNullOrWhiteSpace(this._a.be())?this._a.be():this.a7},financialChart_IndicatorsMenu_TrendLine_PowerLawFit:function(){return!String.isNullOrWhiteSpace(this._a.bf())?this._a.bf():this.a8},financialChart_IndicatorsMenu_TrendLine_QuadraticFit:function(){return!String.isNullOrWhiteSpace(this._a.bg())?this._a.bg():this.a9},financialChart_IndicatorsMenu_TrendLine_QuarticFit:function(){return!String.isNullOrWhiteSpace(this._a.bh())?this._a.bh():this.ba},financialChart_IndicatorsMenu_TrendLine_QuinticFit:function(){return!String.isNullOrWhiteSpace(this._a.bi())?this._a.bi():this.bb},financialChart_IndicatorsMenu_TrendLine_SimpleAverage:function(){return!String.isNullOrWhiteSpace(this._a.bj())?this._a.bj():this.bc},financialChart_IndicatorsMenu_TrendLine_WeightedAverage:function(){return!String.isNullOrWhiteSpace(this._a.bk())?this._a.bk():this.bd},financialChart_IndicatorsMenu_Volume_Area:function(){return!String.isNullOrWhiteSpace(this._a.bl())?this._a.bl():this.be},financialChart_IndicatorsMenu_Volume_Column:function(){return!String.isNullOrWhiteSpace(this._a.bm())?this._a.bm():this.bf},financialChart_IndicatorsMenu_Volume_Line:function(){return!String.isNullOrWhiteSpace(this._a.bn())?this._a.bn():this.bg},$type:new $.ig.Type("FinancialChartIndicatorMenuViewModel",$$t.$e.$type)},true);$c("FinancialChartIndicatorMenuContext:i","Object",{init:function(){$.ig.$op.init.call(this)},_vm:null,vm:function(a){if(arguments.length===1){this._vm=a;return a}else{return this._vm}},_template:null,template:function(a){if(arguments.length===1){this._template=a;return a}else{return this._template}},$type:new $.ig.Type("FinancialChartIndicatorMenuContext",$.ig.$ot)},true);$c("FinancialChartIndicatorMenuView:j","FinancialChartDropDownControlView",{init:function(){$$t.$f.init.call(this)},f:function(a,b,c,d){$$t.$f.f.call(this,a,b,c,d);var e=new $.ig.SRProvider(a);$$t.$x.n(".financialChartIndicatorMenuLabel","FinancialChart_IndicatorMenu_Header",a,e);$$t.$x.n(".financialChartIndicatorMenuDropDownMenu li[data-value='FinancialOverlayType'] span","FinancialChart_IndicatorMenu_OverlaysCategoryHeader",a,e);$$t.$x.n(".financialChartIndicatorMenuDropDownMenu li[data-value='TrendLineType'] span","FinancialChart_IndicatorMenu_TrendlinesCategoryHeader",a,e);$$t.$x.n(".financialChartIndicatorMenuDropDownMenu li[data-value='FinancialChartVolumeType'] span","FinancialChart_IndicatorMenu_VolumeCategoryHeader",a,e);$$t.$x.n(".financialChartIndicatorMenuDropDownMenu li[data-value='FinancialIndicatorType'] span","FinancialChart_IndicatorMenu_IndicatorsCategoryHeader",a,e);var f=new $$t.aa(e);var g=new $$4.h($$0.$bc.$type,Array,0);var i=f.getEnumerator();while(i.moveNext()){var h=i.current();if(h.indentation()<1){continue}var j=$h(h.content());if(!g.containsKey(h.type())){g.add(h.type(),$.ig.$ep.getNames(h.type()))}var k=g.item(h.type())[j];if(String.isNullOrEmpty(k)){continue}k=k.charAt(0).toUpperCase()+k.substr(1);var l=$y(".financialChartIndicatorMenuDropDownMenuList li[data-value='{0}']",k);$$t.$x.m(l,h.label(),a)}},k:function(a){$$t.$f.k.call(this,a);var b=a;if(b.tagName!="LI"){return}var c=b.parentNode.parentNode;var d;var e=false;switch(c.getAttribute("data-value")){case"FinancialOverlayType":d=$$t.$ak.$type;e=false;break;case"TrendLineType":d=$.ig.TrendLineType.prototype.$type;e=true;break;case"FinancialChartVolumeType":d=$$t.$ae.$type;e=true;break;default:case"FinancialIndicatorType":d=$$t.$al.$type;e=false;break}var f=b.classList.toggle("checked");var g=b.parentNode;if(e){for(var h=0;h<g.children.length;h++){var i=g.children.item(h);if(i!=b){i.classList.remove("checked")}}var j=f?b.getAttribute("data-value"):"None";if(String.isNullOrEmpty(j)){return}var k=$.ig.$ep.parse(d,j,true);if(d==$$t.$ae.$type){this.l()._i=$g(k)}else{this.l()._l=$g(k)}}else{if(d==$$t.$al.$type){this.l()._j=new $$t.ao(0)}else{this.l()._k=new $$t.an(0)}for(var l=0;l<g.children.length;l++){var m=g.children.item(l);if(m.classList.contains("checked")){var n=m.getAttribute("data-value");if(String.isNullOrEmpty(n)){continue}var o=$.ig.$ep.parse(d,n,true);if(d==$$t.$al.$type){var p=$g(o);this.l()._j.add(p)}else{var q=$g(o);this.l()._k.add(q)}}}}this._a.onSelectionChanged()()},l:function(){return this._a},$type:new $.ig.Type("FinancialChartIndicatorMenuView",$$t.$f.$type)},true);$c("FinancialChartTypePicker:k","FinancialChartDropDownControl",{init:function(a){$$t.$d.init.call(this,"financialChartTypePicker",a,$$t.$k.z);this._o=new $$t.m;this._p=new $$t.l;this._p.onSelectionChanged(this.v.runOn(this))},w:function(a){if(arguments.length===1){this.y().chartType(a);return a}else{return this.y().chartType()}},x:function(){return this._o},y:function(){return this._p},s:function(){return".financialChartTypePickerDropDownButton"},t:function(){return".financialChartTypePickerDropDownMenu"},$type:new $.ig.Type("FinancialChartTypePicker",$$t.$d.$type)},true);$c("FinancialChartTypePickerViewModel:l","FinancialChartDropDownControlViewModel",{init:function(){$$t.$e.init.call(this)},_chartType:0,chartType:function(a){if(arguments.length===1){this._chartType=a;return a}else{return this._chartType}},chartTypeString:function(){return $$t.$af.$getName(this.chartType())},$type:new $.ig.Type("FinancialChartTypePickerViewModel",$$t.$e.$type)},true);$c("FinancialChartTypePickerView:m","FinancialChartDropDownControlView",{init:function(){$$t.$f.init.call(this)},l:function(){return this._a},k:function(a){$$t.$f.k.call(this,a);var b=a;var c=b.parentNode;for(var d=0;d<c.children.length;d++){var e=c.children.item(d);
if(e!=b){e.classList.remove("checked")}}var f=b.getAttribute("data-value");if(String.isNullOrEmpty(f)){return}var g=$.ig.$ep.parse($$t.$af.$type,f,true);this.l().chartType($g(g));this._d.setAttribute("data-value",f);this.g();this._a.onSelectionChanged()()},$type:new $.ig.Type("FinancialChartTypePickerView",$$t.$f.$type)},true);$c("FinancialChartTypePickerContext:n","Object",{init:function(){$.ig.$op.init.call(this)},_vm:null,vm:function(a){if(arguments.length===1){this._vm=a;return a}else{return this._vm}},_template:null,template:function(a){if(arguments.length===1){this._template=a;return a}else{return this._template}},$type:new $.ig.Type("FinancialChartTypePickerContext",$.ig.$ot)},true);$c("FinancialChartToolbar:o","TemplatedHtmlControl",{bg:function(a){},bl:function(a){this.q().u(a);this.aa().u(a)},_o:null,init:function(a,b){this.aq=$$0.$s.maxValue();this.ap=$$0.$s.minValue();this.ao=$$0.$s.maxValue();this.an=$$0.$s.minValue();$$t.$x.init.call(this,"financialChartToolbar",b,$$t.$o.a3);this._o=a;this._w=new $$t.q;this.s(new $$t.r(a!=null?a.rangeSelectorTemplate():null));this.aa(new $$t.k(a!=null?a.chartTypePickerTemplate():null));this.q(new $$t.g(1,a!=null?a.indicatorMenuTemplate():null))},r:null,s:function(a){if(arguments.length===1){var b=this.s();if(a!=b){this.r=a;this.bm("RangeSelector",b,this.s())}return a}else{return this.r}},z:null,aa:function(a){if(arguments.length===1){var b=this.aa();if(a!=b){this.z=a;this.bm("ChartTypePicker",b,this.aa())}return a}else{return this.z}},p:null,q:function(a){if(arguments.length===1){var b=this.q();if(a!=b){this.p=a;this.bm("IndicatorMenu",b,this.q())}return a}else{return this.p}},bm:function(a,b,c){switch(a){case"RangeStart":if(this.s()!=null){this.s().t(this.as())}break;case"RangeEnd":if(this.s()!=null){this.s().s(this.ar())}break;case"SelectionStart":if(this.s()!=null){this.s().v(this.au())}break;case"SelectionEnd":if(this.s()!=null){this.s().u(this.at())}break;case"RangeSelector":var d=b;if(d!=null){d.rangeChanged=$.ig.Delegate.prototype.remove(d.rangeChanged,this.bj.runOn(this))}if(this.s()!=null){this.s().t(this.as());this.s().s(this.ar());this.s().o(this.u());this.s().v(this.au());this.s().u(this.at());var e=this.s();e.rangeChanged=$.ig.Delegate.prototype.combine(e.rangeChanged,this.bj.runOn(this))}break;case"ChartTypePicker":var f=b;if(f!=null){f.selectionChanged=$.ig.Delegate.prototype.remove(f.selectionChanged,this.bi.runOn(this))}if(this.aa()!=null){this.aa().w(this.y());var g=this.aa();g.selectionChanged=$.ig.Delegate.prototype.combine(g.selectionChanged,this.bi.runOn(this))}break;case"ChartType":if(this.aa()!=null){this.aa().w(this.y())}break;case"RangeSelectorOptions":if(this.s()!=null){this.s().o(this.u())}break;case"IsToolbarVisible":if(this.g()==null){break}if(this.al()){this.g().show()}else{this.g().hide()}break;case"IndicatorMenu":var h=$b($$t.$g.$type,b);if(h!=null){h.selectionChanged=$.ig.Delegate.prototype.remove(h.selectionChanged,this.bh.runOn(this))}if(this.q()!=null){var i=this.q();i.selectionChanged=$.ig.Delegate.prototype.combine(i.selectionChanged,this.bh.runOn(this))}break;case"IndicatorTypes":if(this.indicatorTypesChanged!=null){this.indicatorTypesChanged(this,$$0.$w.empty)}break;case"OverlayTypes":if(this.overlayTypesChanged!=null){this.overlayTypesChanged(this,$$0.$w.empty)}break;case"TrendLineType":if(this.trendLineTypeChanged!=null){this.trendLineTypeChanged(this,$$0.$w.empty)}break;case"VolumeType":if(this.volumeTypeChanged!=null){this.volumeTypeChanged(this,$$0.$w.empty)}break}},bh:function(a,b){this.ag(this.q().z());this.ae(this.q().y());this.ai(this.q().aa());this.ac(this.q().x())},bi:function(a,b){this.y(this.aa().w());if(this.chartTypeChanged!=null){this.chartTypeChanged(this,b)}},bj:function(a,b){this.au(this.s().v());this.at(this.s().u());if(this.rangeChanged!=null){this.rangeChanged(this,b)}},_w:null,v:function(){var $self=this;var a=new $$t.p;a.container(this._d);a.vm(this._w);a.vm().financialChartIndicatorMenu(function(){var $ret=new $$t.i;$ret.vm($self.q()._p);return $ret}());a.vm().financialChartTypePicker(function(){var $ret=new $$t.n;$ret.vm($self.aa()._p);return $ret}());a.vm().financialChartRangeSelector(function(){var $ret=new $$t.u;$ret.vm($self.s()._q);return $ret}());return a},l:function(a){$$t.$x.l.call(this,a);if(a==null){return}var b=this._d.querySelector(".financialChartRangeSelector");var c=b==null?null:this._d.getSubRenderer(b);this.s().l(c);var d=this._d.querySelector(".financialChartTypePicker");var e=d==null?null:this._d.getSubRenderer(d);this.aa().l(e);var f=this._d.querySelector(".financialChartIndicatorMenu");var g=f==null?null:this._d.getSubRenderer(f);this.q().l(g);this.bk()},bk:function(){var a=this._o.ws();if($.ig.util.isNaN(a)||a<=0){return}var b=new $$4.x($$t.$x.$type,0);var e=[this.aa(),this.s()];for(var d=0;d<e.length;d++){var c=e[d];var f=c.b();if(f>a){b.add(c)}}var h=b.getEnumerator();while(h.moveNext()){var g=h.current();g.k()}},aq:new Date,au:function(a){if(arguments.length===1){var b=this.au();if(+a!=+b){this.aq=a;this.bm("SelectionStart",b,this.au())}return a}else{return this.aq}},ap:new Date,at:function(a){if(arguments.length===1){var b=this.at();if(+a!=+b){this.ap=a;this.bm("SelectionEnd",b,this.at())}return a}else{return this.ap}},ao:new Date,as:function(a){if(arguments.length===1){var b=this.as();if(+a!=+b){this.ao=a;this.bm("RangeStart",b,this.as())}return a}else{return this.ao}},an:new Date,ar:function(a){if(arguments.length===1){var b=this.ar();if(+a!=+b){this.an=a;this.bm("RangeEnd",b,this.ar())}return a}else{return this.an}},rangeChanged:null,chartTypeChanged:null,trendLineTypeChanged:null,volumeTypeChanged:null,indicatorTypesChanged:null,overlayTypesChanged:null,bn:function(){if(this.s()!=null){this.s().ab()}},x:0,y:function(a){if(arguments.length===1){var b=this.y();if(a!=b){this.x=a;this.bm("ChartType",$$t.$af.getBox(b),$$t.$af.getBox(this.y()))}return a}else{return this.x}},ah:0,ai:function(a){if(arguments.length===1){var b=this.ai();if(a!=b){this.ah=a;this.bm("TrendLineType",$.ig.TrendLineType.prototype.getBox(b),$.ig.TrendLineType.prototype.getBox(this.ai()))}return a}else{return this.ah}},ab:0,ac:function(a){if(arguments.length===1){var b=this.ac();if(a!=b){this.ab=a;this.bm("VolumeType",$$t.$ae.getBox(b),$$t.$ae.getBox(this.ac()))}return a}else{return this.ab}},ad:null,ae:function(a){if(arguments.length===1){var b=this.ae();if(!$$t.$o.am(b,a)){this.ad=a;this.bm("IndicatorTypes",b,this.ae())}return a}else{return this.ad}},af:null,ag:function(a){if(arguments.length===1){var b=this.ag();if(!$$t.$o.am(b,a)){this.af=a;this.bm("OverlayTypes",b,this.ag())}return a}else{return this.af}},am:function(a,b){if(a==b){return true}if(a==null&&b!=null||a!=null&&b==null){return false}if(a.count()!=b.count()){return false}var d=a.getEnumerator();while(d.moveNext()){var c=d.current();if(!b.contains(c)){return false}}return true},aj:function(){var $self=this;return function(){var $ret=new $$t.at;$ret.rangeSelector($self.s()==null?null:$self.s().r());return $ret}()},t:null,u:function(a){if(arguments.length===1){var b=this.u();if(a!=b){this.t=a;this.bm("RangeSelectorOptions",b,this.u())}return a}else{return this.t}},ak:false,al:function(a){if(arguments.length===1){var b=this.al();if(a!=b){this.ak=a;this.bm("IsToolbarVisible",b,this.al())}return a}else{return this.ak}},$type:new $.ig.Type("FinancialChartToolbar",$$t.$x.$type)},true);$c("FinancialChartToolbarContext:p","Object",{init:function(){$.ig.$op.init.call(this)},_vm:null,vm:function(a){if(arguments.length===1){this._vm=a;return a}else{return this._vm}},_template:null,template:function(a){if(arguments.length===1){this._template=a;return a}else{return this._template}},_container:null,container:function(a){if(arguments.length===1){this._container=a;return a}else{return this._container}},$type:new $.ig.Type("FinancialChartToolbarContext",$.ig.$ot)},true);$c("FinancialChartToolbarViewModel:q","Object",{init:function(){$.ig.$op.init.call(this)},_financialChartRangeSelector:null,financialChartRangeSelector:function(a){if(arguments.length===1){this._financialChartRangeSelector=a;return a}else{return this._financialChartRangeSelector}},_financialChartTypePicker:null,financialChartTypePicker:function(a){if(arguments.length===1){this._financialChartTypePicker=a;return a}else{return this._financialChartTypePicker}},_financialChartIndicatorMenu:null,financialChartIndicatorMenu:function(a){if(arguments.length===1){this._financialChartIndicatorMenu=a;return a}else{return this._financialChartIndicatorMenu}},_isIndicatorMenuVisible:false,isIndicatorMenuVisible:function(a){if(arguments.length===1){this._isIndicatorMenuVisible=a;return a}else{return this._isIndicatorMenuVisible}},$type:new $.ig.Type("FinancialChartToolbarViewModel",$.ig.$ot)},true);$c("FinancialChartRangeSelector:r","TemplatedHtmlControl",{_x:0,_q:null,v:function(a){if(arguments.length===1){this._q.selectionStart(a);return a}else{return this._q.selectionStart()}},u:function(a){if(arguments.length===1){this._q.selectionEnd(a);return a}else{return this._q.selectionEnd()}},t:function(a){if(arguments.length===1){this._q.rangeStart(a);return a}else{return this._q.rangeStart()}},s:function(a){if(arguments.length===1){this._q.rangeEnd(a);return a}else{return this._q.rangeEnd()}},ab:function(){if(this._q.onPropertiesChanged()){this._p.t(this._q)}},init:function(a){$$t.$x.init.call(this,"financialChartRangeSelector",a,$$t.$r.y);this._p=new $$t.t;this._q=new $$t.s;this._q.onRangeChanged(this.z.runOn(this));this._p._d=this._q},l:function(a){$$t.$x.l.call(this,a);this._p.s(this._d,this._q)},z:function(){if(this.rangeChanged!=null){this.rangeChanged(this,$$0.$w.empty)}},rangeChanged:null,r:function(){return this._p.e(this.g())},o:function(a){if(arguments.length===1){var b=!$$t.$o.am(this._q.options(),a);if(b){this._q.options(a);this.aa()}return a}else{return this._q.options()}},aa:function(){if(this._q!=null){this._q.ao()}if(this._p!=null){this._p.v(this.o())}},_p:null,$type:new $.ig.Type("FinancialChartRangeSelector",$$t.$x.$type)},true);$c("FinancialChartRangeSelectorViewModel:s","Object",{init:function(){this.u=$$0.$s.maxValue();this.t=$$0.$s.minValue();this.s=$$0.$s.minValue();this.r=$$0.$s.maxValue();$.ig.$op.init.call(this)},_b:null,_notifyChanged:null,notifyChanged:function(a){if(arguments.length===1){this._notifyChanged=a;return a}else{return this._notifyChanged}},_options:null,options:function(a){if(arguments.length===1){this._options=a;return a}else{return this._options}},u:new Date,selectionStart:function(a){if(arguments.length===1){this.u=a;return a}else{return this.u}},t:new Date,selectionEnd:function(a){if(arguments.length===1){this.t=a;return a}else{return this.t}},_oneMonthChecked:false,oneMonthChecked:function(a){if(arguments.length===1){this._oneMonthChecked=a;return a}else{return this._oneMonthChecked}},_threeMonthsChecked:false,threeMonthsChecked:function(a){if(arguments.length===1){this._threeMonthsChecked=a;return a}else{return this._threeMonthsChecked}},_sixMonthsChecked:false,sixMonthsChecked:function(a){if(arguments.length===1){this._sixMonthsChecked=a;return a}else{return this._sixMonthsChecked}},_yearToDateChecked:false,yearToDateChecked:function(a){if(arguments.length===1){this._yearToDateChecked=a;return a}else{return this._yearToDateChecked}},_oneYearChecked:false,oneYearChecked:function(a){if(arguments.length===1){this._oneYearChecked=a;return a}else{return this._oneYearChecked}},_allChecked:false,allChecked:function(a){if(arguments.length===1){this._allChecked=a;return a}else{return this._allChecked}},_oneMonthVisible:false,oneMonthVisible:function(a){if(arguments.length===1){this._oneMonthVisible=a;return a}else{return this._oneMonthVisible}},_threeMonthsVisible:false,threeMonthsVisible:function(a){if(arguments.length===1){this._threeMonthsVisible=a;return a}else{return this._threeMonthsVisible}},_sixMonthsVisible:false,sixMonthsVisible:function(a){if(arguments.length===1){this._sixMonthsVisible=a;return a}else{return this._sixMonthsVisible}},_yearToDateVisible:false,yearToDateVisible:function(a){if(arguments.length===1){this._yearToDateVisible=a;return a}else{return this._yearToDateVisible}},_oneYearVisible:false,oneYearVisible:function(a){if(arguments.length===1){this._oneYearVisible=a;return a}else{return this._oneYearVisible}},_allVisible:false,allVisible:function(a){if(arguments.length===1){this._allVisible=a;return a}else{return this._allVisible}},ao:function(){if(this.options()==null){return}this.oneMonthVisible(this.options().contains(0));this.threeMonthsVisible(this.options().contains(1));this.sixMonthsVisible(this.options().contains(2));this.yearToDateVisible(this.options().contains(3));this.oneYearVisible(this.options().contains(4));this.allVisible(this.options().contains(5))},financialChart_RangeSelector_OneMonth:function(){return!String.isNullOrWhiteSpace(this._b.bq())?this._b.bq():"1M"},financialChart_RangeSelector_ThreeMonths:function(){return!String.isNullOrWhiteSpace(this._b.bt())?this._b.bt():"3M"},financialChart_RangeSelector_SixMonths:function(){return!String.isNullOrWhiteSpace(this._b.bs())?this._b.bs():"6M"},financialChart_RangeSelector_YearToDate:function(){return!String.isNullOrWhiteSpace(this._b.bv())?this._b.bv():"YTD"},financialChart_RangeSelector_OneYear:function(){return!String.isNullOrWhiteSpace(this._b.br())?this._b.br():"1Y"},financialChart_RangeSelector_All:function(){return!String.isNullOrWhiteSpace(this._b.bo())?this._b.bo():"ALL"},financialChart_RangeSelector_From:function(){return!String.isNullOrWhiteSpace(this._b.bp())?this._b.bp():"From"},financialChart_RangeSelector_To:function(){return!String.isNullOrWhiteSpace(this._b.bu())?this._b.bu():"To"},s:new Date,rangeStart:function(a){if(arguments.length===1){this.s=a;return a}else{return this.s}},r:new Date,rangeEnd:function(a){if(arguments.length===1){this.r=a;return a}else{return this.r}},onPropertiesChanged:function(){var a=false;var b=+this.selectionEnd()==+this.rangeEnd();if(this.allChecked()!=(+this.selectionStart()==+this.rangeStart()&&b)){this.allChecked(+this.selectionStart()==+this.rangeStart()&&b);a=true}if(this.oneYearChecked()!=(+this.selectionStart()==+this.oneYearFromEnd()&&b)){this.oneYearChecked(+this.selectionStart()==+this.oneYearFromEnd()&&b);a=true}if(this.yearToDateChecked()!=(+this.selectionStart()==+this.firstDayOfEndYear()&&b)){this.yearToDateChecked(+this.selectionStart()==+this.firstDayOfEndYear()&&b);a=true}if(this.sixMonthsChecked()!=(+this.selectionStart()==+this.sixMonthsFromEnd()&&b)){this.sixMonthsChecked(+this.selectionStart()==+this.sixMonthsFromEnd()&&b);a=true}if(this.threeMonthsChecked()!=(+this.selectionStart()==+this.threeMonthsFromEnd()&&b)){this.threeMonthsChecked(+this.selectionStart()==+this.threeMonthsFromEnd()&&b);a=true}if(this.oneMonthChecked()!=(+this.selectionStart()==+this.oneMonthFromEnd()&&b)){this.oneMonthChecked(+this.selectionStart()==+this.oneMonthFromEnd()&&b);a=true}if(a){if(this.notifyChanged()!=null){this.notifyChanged()()}}return a},oneYearFromEnd:function(){return $.ig.Date.prototype.addYears(this.rangeEnd(),-1)},firstDayOfEndYear:function(){return $.ig.Date.prototype.fromValues(this.rangeEnd().getFullYear(),1,1,0,0,0,0)},sixMonthsFromEnd:function(){return $.ig.Date.prototype.addMonths(this.rangeEnd(),-6)},threeMonthsFromEnd:function(){return $.ig.Date.prototype.addMonths(this.rangeEnd(),-3)},oneMonthFromEnd:function(){return $.ig.Date.prototype.addMonths(this.rangeEnd(),-1)},changeSelection:function(a){this.allChecked(false);this.oneMonthChecked(false);this.threeMonthsChecked(false);this.sixMonthsChecked(false);this.yearToDateChecked(false);this.oneYearChecked(false);if(a=="1m"){this.oneMonthChecked(true)}else if(a=="3m"){this.threeMonthsChecked(true)}else if(a=="6m"){this.sixMonthsChecked(true)}else if(a=="YTD"){this.yearToDateChecked(true)}else if(a=="1y"){this.oneYearChecked(true)}else if(a=="all"){this.allChecked(true)}this.onRadioButtonChanged()},onRadioButtonChanged:function(){var a=$.ig.Date.prototype.fromTicks(this.selectionStart().getTime());var b=$.ig.Date.prototype.fromTicks(this.selectionEnd().getTime());this.selectionEnd(this.rangeEnd());if(this.oneMonthChecked()){this.selectionStart(this.oneMonthFromEnd())}if(this.threeMonthsChecked()){this.selectionStart(this.threeMonthsFromEnd())}if(this.sixMonthsChecked()){this.selectionStart(this.sixMonthsFromEnd())}if(this.yearToDateChecked()){this.selectionStart(this.firstDayOfEndYear())}if(this.oneYearChecked()){this.selectionStart(this.oneYearFromEnd())}if(this.allChecked()){this.selectionStart(this.rangeStart())}if(+this.selectionStart()!=+a||+this.selectionEnd()!=+b){this.onRangeChanged()();if(this.notifyChanged()!=null){this.notifyChanged()()}}},_onRangeChanged:null,onRangeChanged:function(a){if(arguments.length===1){this._onRangeChanged=a;return a}else{return this._onRangeChanged}},$type:new $.ig.Type("FinancialChartRangeSelectorViewModel",$.ig.$ot)},true);$c("FinancialChartRangeSelectorView:t","Object",{init:function(){$.ig.$op.init.call(this)},_d:null,_f:null,s:function(a,b){var $self=this;this._i=a.querySelector(".rangeSelectorOneMonth input");this._o=a.querySelector(".rangeSelectorThreeMonths input");this._m=a.querySelector(".rangeSelectorSixMonths input");this._q=a.querySelector(".rangeSelectorYTD input");this._k=a.querySelector(".rangeSelectorOneYear input");this._g=a.querySelector(".rangeSelectorAll input");this._j=a.querySelector("label.rangeSelectorOneMonth");this._p=a.querySelector("label.rangeSelectorThreeMonths");this._n=a.querySelector("label.rangeSelectorSixMonths");this._r=a.querySelector("label.rangeSelectorYTD");this._l=a.querySelector("label.rangeSelectorOneYear");this._h=a.querySelector("label.rangeSelectorAll");var e=this.b(null);for(var d=0;d<e.length;d++){var c=e[d];c.setAttribute("name","financialChartRangeSelector");this.t(b);c.listen("change",function(f){b.oneMonthChecked($self._i.getProperty("checked"));b.threeMonthsChecked($self._o.getProperty("checked"));b.sixMonthsChecked($self._m.getProperty("checked"));b.yearToDateChecked($self._q.getProperty("checked"));b.oneYearChecked($self._k.getProperty("checked"));b.allChecked($self._g.getProperty("checked"));b.onRadioButtonChanged()})}var f=new $.ig.SRProvider(a);this.u(a,"OneMonth",f);this.u(a,"ThreeMonths",f);this.u(a,"SixMonths",f);this.u(a,"YTD",f);this.u(a,"OneYear",f);this.u(a,"All",f);this.v(b.options())},u:function(a,b,c){$$t.$x.n(".rangeSelector"+b+" span","FinancialChart_RangeSelector_"+b,a,c)},t:function(a){if(this._g==null){return}this._g.setProperty("checked",a.allChecked());this._k.setProperty("checked",a.oneYearChecked());this._q.setProperty("checked",a.yearToDateChecked());this._m.setProperty("checked",a.sixMonthsChecked());this._o.setProperty("checked",a.threeMonthsChecked());this._i.setProperty("checked",a.oneMonthChecked())},e:function(a){var b=new $$4.x(String,0);var c=new $$4.x($$0.$aq.$type,0);var d=new $$4.x(Number,0);var e=new $$4.x(Number,0);var f=new $$4.x($$0.$aq.$type,0);var g=new $$4.x(Number,0);var h=new $$4.x(Number,0);var k=this.b(a);for(var j=0;j<k.length;j++){var i=k[j];var l=i.parent()!=null?i.parent().getText():"not found";l=l!=null?l.trim():null;b.add(l);c.add1(i.getProperty("checked"));d.add(i.getOffset().left);e.add(i.getOffset().top);var m=i.parent().getNativeElement();var n=m.offsetParent!=null;g.add(m.offsetWidth);h.add(m.offsetHeight);f.add(n)}return function(){var $ret=new $$t.aq;$ret.buttonLabels(b.toArray());$ret.buttonsChecked(c.toArray());$ret.buttonLefts(d.toArray());$ret.buttonTops(e.toArray());$ret.buttonVisibilities(f.toArray());$ret.buttonWidths(g.toArray());$ret.buttonHeights(h.toArray());$ret.visibility(a.getStyleProperty("visibility"));$ret.left(parseFloat(a.getStyleProperty("offsetLeft")));$ret.top(parseFloat(a.getStyleProperty("offsetTop")));$ret.width(parseFloat(a.getStyleProperty("offsetWidth")));$ret.height(parseFloat(a.getStyleProperty("offsetHeight")));return $ret}()},c:function(a){if(a==this._i){return 0}if(a==this._o){return 1}if(a==this._m){return 2}if(a==this._k){return 4}if(a==this._q){return 3}return 5},v:function(a){var b=this.b(null);var c=this.a();var d=new Array(b.length);for(var e=0;e<b.length;e++){if(b[e]==null){continue}d[e]=a==null||a.contains(this.c(b[e]));if(d[e]){c[e].show()}else{c[e].hide()}}var f=false;for(var g=b.length-1;g>=0;g--){if(b[g]==null){continue}var h="financialChartRangeSelectorLastOption";if(!f&&d[g]){f=true;c[g].addClass(h)}else{c[g].removeClass(h)}}},b:function(a){return[this._i,this._o,this._m,this._q,this._k,this._g]},_i:null,_o:null,_m:null,_q:null,_k:null,_g:null,_j:null,_p:null,_n:null,_r:null,_l:null,_h:null,a:function(){return[this._j,this._p,this._n,this._r,this._l,this._h]},$type:new $.ig.Type("FinancialChartRangeSelectorView",$.ig.$ot)},true);$c("FinancialChartRangeSelectorContext:u","Object",{init:function(){$.ig.$op.init.call(this)},_vm:null,vm:function(a){if(arguments.length===1){this._vm=a;return a}else{return this._vm}},_template:null,template:function(a){if(arguments.length===1){this._template=a;return a}else{return this._template}},$type:new $.ig.Type("FinancialChartRangeSelectorContext",$.ig.$ot)},true);$c("IndicatorPane:v","Object",{init:function(){$.ig.$op.init.call(this)},_c:null,_d:null,h:function(a){this._c=a;if(this._c==null){return}this._d=this._c.createElement("div");this._d.setStyleProperty("height","100%");this._d.setStyleProperty("width","100%");this._d.setStyleProperty("display","grid");this._d.setStyleProperty("display","-ms-grid");this._d.setStyleProperty("-ms-grid-columns","100%");this._c.append(this._d);this.i()},i:function(){if(this._d==null){return}this._d.removeChildren();if(this.b()==null){return}var a="";for(var b=0;b<this.b().count();b++){var c=this.b().__inner[b];var d=this._c.createElement("div");d.setStyleProperty("grid-row",(b+1).toString());d.setStyleProperty("grid-column",1..toString());d.setStyleProperty("-ms-grid-row",(b+1).toString());d.setStyleProperty("-ms-grid-column",1..toString());this._d.append(d);var e=this._c.getSubRenderer(d);c.provideContainer(e);a+=" 1fr"}a=a.trim();this._d.setStyleProperty("-ms-grid-rows",a)},a:null,b:function(a){if(arguments.length===1){var b=this.b();if(a!=b){this.a=a;this.g("IndicatorCharts",b,this.b())}return a}else{return this.a}},g:function(a,b,c){switch(a){case"IndicatorCharts":this.i();break}},f:function(){if(this.b()==null||this._c==null){return}var b=this.b().getEnumerator();while(b.moveNext()){var a=b.current();a.notifyContainerResized()}},$type:new $.ig.Type("IndicatorPane",$.ig.$ot)},true);$c("ITimeXAxis:w","Object",{$type:new $.ig.Type("ITimeXAxis",null)},true);$c("TemplatePicker:y","Object",{init:function(){$.ig.$op.init.call(this)},a:function(a,b){if(a!=null){return a}var c=document.createElement("template");c.innerHTML=b;return c},$type:new $.ig.Type("TemplatePicker",$.ig.$ot)},true);$c("FinancialChartIndicatorMenuItem:z","Object",{init:function(){$.ig.$op.init.call(this)},_content:null,content:function(a){if(arguments.length===1){this._content=a;return a}else{return this._content}},_indentation:0,indentation:function(a){if(arguments.length===1){this._indentation=a;return a}else{return this._indentation}},_label:null,label:function(a){if(arguments.length===1){this._label=a;return a}else{return this._label}},_type:null,type:function(a){if(arguments.length===1){this._type=a;return a}else{return this._type}},a:false,propertyChanged:null,isChecked:function(a){if(arguments.length===1){var b=this.isChecked();if(a!=b){this.a=a;if(this.propertyChanged!=null){this.propertyChanged(this,new $$0.b7("IsChecked"))}}return a}else{return this.a}},$type:new $.ig.Type("FinancialChartIndicatorMenuItem",$.ig.$ot,[$$0.$b6.$type])},true);$c("FinancialChartIndicatorMenuItems:aa","List$1",{init:function(a){$$4.$x.init.call(this,$$t.$z.$type,0);this._ak=a;this.am($$t.$ak.$type,this.al("FinancialChart_IndicatorMenu_OverlaysCategoryHeader","Overlays"));this.am($.ig.TrendLineType.prototype.$type,this.al("FinancialChart_IndicatorMenu_TrendlinesCategoryHeader","Trendlines"));this.am($$t.$ae.$type,this.al("FinancialChart_IndicatorMenu_VolumeCategoryHeader","Volume"));this.am($$t.$al.$type,this.al("FinancialChart_IndicatorMenu_IndicatorsCategoryHeader","Standalone Indicators"))},_ak:null,al:function(a,b){var c=this._ak.b1(a);return String.isNullOrEmpty(c)?b:c},am:function($t,a){this.add(function(){var $ret=new $$t.z;$ret.content(a);$ret.label(a);return $ret}());this.an($t)},an:function($t){var a=new $$4.x($.ig.$op.$type,0);var b=new $$4.h($.ig.$op.$type,String,0);var c=new $$4.h($.ig.$op.$type,$$0.$bc.$type,0);var d=function(e){for(var f=0;f<e.a();f++){var g=$h(e.b(f));a.add1(g);var h=e.c(g);b.add(g,h);c.add(g,$t)}};if($t==$$t.$ak.$type){d(this.ah())}else if($t==$.ig.TrendLineType.prototype.$type){d(this.ai())}else if($t==$$t.$al.$type){d(this.ag())}else if($t==$$t.$ae.$type){d(this.aj())}else{var e=$.ig.$ep.getNames($t);var f=$.ig.$ep.getValues($t);for(var g=0;g<f.length;g++){var h;var i;h=f[g];i=e[g];i=i.charAt(0).toUpperCase()+i.substr(1);if(i=="None"){continue}a.add1(h);b.add(h,i);c.add(h,$t)}}var k=a.getEnumerator();while(k.moveNext()){var j=k.current();this.add(function(){var $ret=new $$t.z;$ret.content(j);$ret.label(b.containsKey(j)?b.item(j):j.toString());$ret.indentation(1);$ret.type(c.containsKey(j)?c.item(j):null);return $ret}())}},ac:null,ag:function(){if(this.ac==null){this.ao()}return this.ac},ao:function(){var $self=this;this.ac=function(){var $ret=new $.ig.OrderedDictionary$2($$t.$al.$type,String);$ret.add(0,$self.al("FinancialChart_IndicatorsMenu_Indicator_AbsoluteVolumeOscillator","Absolute Volume Oscillator"));$ret.add(1,$self.al("FinancialChart_IndicatorsMenu_Indicator_AccumulationDistribution","Accumulation Distribution"));$ret.add(2,$self.al("FinancialChart_IndicatorsMenu_Indicator_AverageDirectionalIndex","Average Directional Index"));$ret.add(3,$self.al("FinancialChart_IndicatorsMenu_Indicator_AverageTrueRange","Average True Range"));$ret.add(4,$self.al("FinancialChart_IndicatorsMenu_Indicator_BollingerBandWidth","Bollinger Band Width"));$ret.add(5,$self.al("FinancialChart_IndicatorsMenu_Indicator_ChaikinOscillator","Chaikin Oscillator"));$ret.add(6,$self.al("FinancialChart_IndicatorsMenu_Indicator_ChaikinVolatility","Chaikin Volatility"));$ret.add(7,$self.al("FinancialChart_IndicatorsMenu_Indicator_CommodityChannelIndex","Commodity Channel Index"));$ret.add(8,$self.al("FinancialChart_IndicatorsMenu_Indicator_DetrendedPriceOscillator","Detrended Price Oscillator"));$ret.add(9,$self.al("FinancialChart_IndicatorsMenu_Indicator_EaseOfMovement","Ease Of Movement"));$ret.add(10,$self.al("FinancialChart_IndicatorsMenu_Indicator_FastStochasticOscillator","Fast Stochastic Oscillator"));$ret.add(11,$self.al("FinancialChart_IndicatorsMenu_Indicator_ForceIndex","Force Index"));$ret.add(12,$self.al("FinancialChart_IndicatorsMenu_Indicator_FullStochasticOscillator","Full Stochastic Oscillator"));$ret.add(13,$self.al("FinancialChart_IndicatorsMenu_Indicator_MarketFacilitationIndex","Market Facilitation Index"));$ret.add(14,$self.al("FinancialChart_IndicatorsMenu_Indicator_MassIndex","Mass Index"));$ret.add(15,$self.al("FinancialChart_IndicatorsMenu_Indicator_MedianPrice","Median Price"));$ret.add(16,$self.al("FinancialChart_IndicatorsMenu_Indicator_MoneyFlowIndex","Money Flow Index"));$ret.add(17,$self.al("FinancialChart_IndicatorsMenu_Indicator_MovingAverageConvergenceDivergence","MACD"));$ret.add(18,$self.al("FinancialChart_IndicatorsMenu_Indicator_NegativeVolumeIndex","Negative Volume Index"));$ret.add(19,$self.al("FinancialChart_IndicatorsMenu_Indicator_OnBalanceVolume","On Balance Volume"));$ret.add(20,$self.al("FinancialChart_IndicatorsMenu_Indicator_PercentagePriceOscillator","Percentage Price Oscillator"));$ret.add(21,$self.al("FinancialChart_IndicatorsMenu_Indicator_PercentageVolumeOscillator","Percentage Volume Oscillator"));$ret.add(22,$self.al("FinancialChart_IndicatorsMenu_Indicator_PositiveVolumeIndex","Positive Volume Index"));$ret.add(23,$self.al("FinancialChart_IndicatorsMenu_Indicator_PriceVolumeTrend","Price Volume Trend"));$ret.add(24,$self.al("FinancialChart_IndicatorsMenu_Indicator_RateOfChangeAndMomentum","ROC"));$ret.add(25,$self.al("FinancialChart_IndicatorsMenu_Indicator_RelativeStrengthIndex","RSI"));$ret.add(26,$self.al("FinancialChart_IndicatorsMenu_Indicator_SlowStochasticOscillator","Slow Stochastic Oscillator"));$ret.add(27,$self.al("FinancialChart_IndicatorsMenu_Indicator_StandardDeviation","Standard Deviation"));$ret.add(28,$self.al("FinancialChart_IndicatorsMenu_Indicator_StochRSI","Stoch RSI"));$ret.add(29,$self.al("FinancialChart_IndicatorsMenu_Indicator_TRIX","TRIX"));$ret.add(30,$self.al("FinancialChart_IndicatorsMenu_Indicator_TypicalPrice","Typical Price"));$ret.add(31,$self.al("FinancialChart_IndicatorsMenu_Indicator_UltimateOscillator","Ultimate Oscillator"));$ret.add(32,$self.al("FinancialChart_IndicatorsMenu_Indicator_WeightedClose","Weighted Close"));$ret.add(33,$self.al("FinancialChart_IndicatorsMenu_Indicator_WilliamsPercentR","Williams %R"));return $ret}()},ad:null,ah:function(){if(this.ad==null){this.ap()}return this.ad},ap:function(){var $self=this;this.ad=function(){var $ret=new $.ig.OrderedDictionary$2($$t.$ak.$type,String);$ret.add(0,$self.al("FinancialChart_IndicatorsMenu_Overlay_BollingerBands","Bollinger Bands"));$ret.add(1,$self.al("FinancialChart_IndicatorsMenu_Overlay_PriceChannel","Price Channel"));return $ret}()},ae:null,ai:function(){if(this.ae==null){this.aq()}return this.ae},aq:function(){var $self=this;this.ae=function(){var $ret=new $.ig.OrderedDictionary$2($.ig.TrendLineType.prototype.$type,String);$ret.add(1,$self.al("FinancialChart_IndicatorsMenu_TrendLine_LinearFit","Linear Fit"));$ret.add(2,$self.al("FinancialChart_IndicatorsMenu_TrendLine_QuadraticFit","Quadratic Fit"));$ret.add(3,$self.al("FinancialChart_IndicatorsMenu_TrendLine_CubicFit","Cubic Fit"));$ret.add(4,$self.al("FinancialChart_IndicatorsMenu_TrendLine_QuarticFit","Quartic Fit"));$ret.add(5,$self.al("FinancialChart_IndicatorsMenu_TrendLine_QuinticFit","Quintic Fit"));$ret.add(6,$self.al("FinancialChart_IndicatorsMenu_TrendLine_LogarithmicFit","Logarithmic Fit"));$ret.add(7,$self.al("FinancialChart_IndicatorsMenu_TrendLine_ExponentialFit","Exponential Fit"));$ret.add(8,$self.al("FinancialChart_IndicatorsMenu_TrendLine_PowerLawFit","Power LawFit"));$ret.add(9,$self.al("FinancialChart_IndicatorsMenu_TrendLine_SimpleAverage","Simple Average"));$ret.add(10,$self.al("FinancialChart_IndicatorsMenu_TrendLine_ExponentialAverage","Exponential Average"));$ret.add(11,$self.al("FinancialChart_IndicatorsMenu_TrendLine_ModifiedAverage","Modified Average"));$ret.add(12,$self.al("FinancialChart_IndicatorsMenu_TrendLine_CumulativeAverage","Cumulative Average"));$ret.add(13,$self.al("FinancialChart_IndicatorsMenu_TrendLine_WeightedAverage","Weighted Average"));return $ret}()},af:null,aj:function(){if(this.af==null){this.ar()}return this.af},ar:function(){var $self=this;this.af=function(){var $ret=new $.ig.OrderedDictionary$2($$t.$ae.$type,String);$ret.add(3,$self.al("FinancialChart_IndicatorsMenu_Volume_Area","Area"));$ret.add(1,$self.al("FinancialChart_IndicatorsMenu_Volume_Column","Column"));$ret.add(2,$self.al("FinancialChart_IndicatorsMenu_Volume_Line","Line"));return $ret}()},$type:new $.ig.Type("FinancialChartIndicatorMenuItems",$$4.$x.$type.specialize($$t.$z.$type))},true);$c("FinancialChartCustomIndicatorArgs:ad","EventArgs",{init:function(a,b,c){$$0.$w.init.call(this);this.index(c);this.indicatorInfo(a);this.series(b)},_indicatorInfo:null,indicatorInfo:function(a){if(arguments.length===1){this._indicatorInfo=a;return a}else{return this._indicatorInfo}},_series:null,series:function(a){if(arguments.length===1){this._series=a;return a}else{return this._series}},_index:0,index:function(a){if(arguments.length===1){this._index=a;return a}else{return this._index}},$type:new $.ig.Type("FinancialChartCustomIndicatorArgs",$$0.$w.$type)},true);$c("CustomIndicatorNameCollection:aj","ObservableCollection$1",{
init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$4.$f.init.call(this,String,0)},init1:function(a,b){$$4.$f.init1.call(this,String,1,b)},$type:new $.ig.Type("CustomIndicatorNameCollection",$$4.$f.$type.specialize(String))},true);$c("FinancialChartRangeSelectorOptionCollection:am","ObservableCollection$1",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$4.$f.init.call(this,$$t.$ab.$type,0)},init1:function(a,b){$$4.$f.init1.call(this,$$t.$ab.$type,1,b)},$type:new $.ig.Type("FinancialChartRangeSelectorOptionCollection",$$4.$f.$type.specialize($$t.$ab.$type))},true);$c("FinancialOverlayTypeCollection:an","ObservableCollection$1",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$4.$f.init.call(this,$$t.$ak.$type,0)},init1:function(a,b){$$4.$f.init1.call(this,$$t.$ak.$type,1,b)},$type:new $.ig.Type("FinancialOverlayTypeCollection",$$4.$f.$type.specialize($$t.$ak.$type))},true);$c("FinancialIndicatorTypeCollection:ao","ObservableCollection$1",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$4.$f.init.call(this,$$t.$al.$type,0)},init1:function(a,b){$$4.$f.init1.call(this,$$t.$al.$type,1,b)},$type:new $.ig.Type("FinancialIndicatorTypeCollection",$$4.$f.$type.specialize($$t.$al.$type))},true);$c("IndicatorDisplayTypeCollection:ap","ObservableCollection$1",{init:function(){$$4.$f.init.call(this,$.ig.IndicatorDisplayType.prototype.$type,0)},$type:new $.ig.Type("IndicatorDisplayTypeCollection",$$4.$f.$type.specialize($.ig.IndicatorDisplayType.prototype.$type))},true);$c("FinancialChartRangeSelectorVisualData:aq","Object",{init:function(){$.ig.$op.init.call(this)},_visibility:null,visibility:function(a){if(arguments.length===1){this._visibility=a;return a}else{return this._visibility}},_buttonVisibilities:null,buttonVisibilities:function(a){if(arguments.length===1){this._buttonVisibilities=a;return a}else{return this._buttonVisibilities}},_buttonLabels:null,buttonLabels:function(a){if(arguments.length===1){this._buttonLabels=a;return a}else{return this._buttonLabels}},_buttonsChecked:null,buttonsChecked:function(a){if(arguments.length===1){this._buttonsChecked=a;return a}else{return this._buttonsChecked}},_buttonLefts:null,buttonLefts:function(a){if(arguments.length===1){this._buttonLefts=a;return a}else{return this._buttonLefts}},_buttonTops:null,buttonTops:function(a){if(arguments.length===1){this._buttonTops=a;return a}else{return this._buttonTops}},_buttonWidths:null,buttonWidths:function(a){if(arguments.length===1){this._buttonWidths=a;return a}else{return this._buttonWidths}},_buttonHeights:null,buttonHeights:function(a){if(arguments.length===1){this._buttonHeights=a;return a}else{return this._buttonHeights}},_left:0,left:function(a){if(arguments.length===1){this._left=a;return a}else{return this._left}},_top:0,top:function(a){if(arguments.length===1){this._top=a;return a}else{return this._top}},_width:0,width:function(a){if(arguments.length===1){this._width=a;return a}else{return this._width}},_height:0,height:function(a){if(arguments.length===1){this._height=a;return a}else{return this._height}},serialize:function(){return $$t.$au.y(["buttonLabels","buttonsChecked","buttonLefts","buttonTops","buttonWidths","buttonHeights","left","top","width","height"],[this.buttonLabels(),this.buttonsChecked(),this.buttonLefts(),this.buttonTops(),this.buttonWidths(),this.buttonHeights(),this.left(),this.top(),this.width(),this.height()])},$type:new $.ig.Type("FinancialChartRangeSelectorVisualData",$.ig.$ot)},true);$c("FinancialChartEnumPickerVisualData:ar","Object",{init:function(){$.ig.$op.init.call(this)},_a:null,_g:null,_d:0,_e:0,_f:0,_c:0,_b:false,h:function(){return $$t.$au.y(["items","selectedItem","left","top","width","height","isVisible"],[this._a,this._g,this._d,this._e,this._f,this._c,this._b])},$type:new $.ig.Type("FinancialChartEnumPickerVisualData",$.ig.$ot)},true);$c("FinancialChartEnumCollectionPickerVisualData:as","Object",{init:function(){$.ig.$op.init.call(this)},_a:null,_b:null,_k:0,_l:0,_m:0,_j:0,_f:0,_g:0,_h:0,_e:0,_n:0,_i:0,_d:false,_c:false,o:function(){return $$t.$au.y(["items","selectedItems","pickerLeft","pickerTop","pickerWidth","pickerHeight","buttonLeft","buttonTop","buttonWidth","buttonHeight","width","height","isVisible","isPickerVisible"],[this._a,this._b,this._k,this._l,this._m,this._j,this._f,this._g,this._h,this._e,this._n,this._i,this._d,this._c])},$type:new $.ig.Type("FinancialChartEnumCollectionPickerVisualData",$.ig.$ot)},true);$c("FinancialChartToolbarVisualData:at","Object",{init:function(){$.ig.$op.init.call(this)},_chartTypePicker:null,chartTypePicker:function(a){if(arguments.length===1){this._chartTypePicker=a;return a}else{return this._chartTypePicker}},_rangeSelector:null,rangeSelector:function(a){if(arguments.length===1){this._rangeSelector=a;return a}else{return this._rangeSelector}},serialize:function(){return $$t.$au.y(["chartTypePicker","rangeSelector"],[this.chartTypePicker()==null?null:this.chartTypePicker().h(),this.rangeSelector()==null?null:this.rangeSelector().serialize()])},$type:new $.ig.Type("FinancialChartToolbarVisualData",$.ig.$ot)},true);$c("FinancialChartVisualData:au","Object",{init:function(){$.ig.$op.init.call(this);this.mainChartLeft(NaN);this.mainChartTop(NaN);this.volumeChartLeft(NaN);this.volumeChartTop(NaN);this.zoomChartLeft(NaN);this.zoomChartTop(NaN);this.indicatorChartLefts(new $$4.x(Number,0));this.indicatorChartTops(new $$4.x(Number,0))},_mainChart:null,mainChart:function(a){if(arguments.length===1){this._mainChart=a;return a}else{return this._mainChart}},_volumeChart:null,volumeChart:function(a){if(arguments.length===1){this._volumeChart=a;return a}else{return this._volumeChart}},_indicatorCharts:null,indicatorCharts:function(a){if(arguments.length===1){this._indicatorCharts=a;return a}else{return this._indicatorCharts}},_toolbar:null,toolbar:function(a){if(arguments.length===1){this._toolbar=a;return a}else{return this._toolbar}},_zoomChart:null,zoomChart:function(a){if(arguments.length===1){this._zoomChart=a;return a}else{return this._zoomChart}},_mainChartLeft:0,mainChartLeft:function(a){if(arguments.length===1){this._mainChartLeft=a;return a}else{return this._mainChartLeft}},_mainChartTop:0,mainChartTop:function(a){if(arguments.length===1){this._mainChartTop=a;return a}else{return this._mainChartTop}},_volumeChartLeft:0,volumeChartLeft:function(a){if(arguments.length===1){this._volumeChartLeft=a;return a}else{return this._volumeChartLeft}},_volumeChartTop:0,volumeChartTop:function(a){if(arguments.length===1){this._volumeChartTop=a;return a}else{return this._volumeChartTop}},_indicatorChartLefts:null,indicatorChartLefts:function(a){if(arguments.length===1){this._indicatorChartLefts=a;return a}else{return this._indicatorChartLefts}},_indicatorChartTops:null,indicatorChartTops:function(a){if(arguments.length===1){this._indicatorChartTops=a;return a}else{return this._indicatorChartTops}},_zoomChartLeft:0,zoomChartLeft:function(a){if(arguments.length===1){this._zoomChartLeft=a;return a}else{return this._zoomChartLeft}},_zoomChartTop:0,zoomChartTop:function(a){if(arguments.length===1){this._zoomChartTop=a;return a}else{return this._zoomChartTop}},_toolbarLeft:0,toolbarLeft:function(a){if(arguments.length===1){this._toolbarLeft=a;return a}else{return this._toolbarLeft}},_toolbarTop:0,toolbarTop:function(a){if(arguments.length===1){this._toolbarTop=a;return a}else{return this._toolbarTop}},_toolbarWidth:0,toolbarWidth:function(a){if(arguments.length===1){this._toolbarWidth=a;return a}else{return this._toolbarWidth}},_toolbarHeight:0,toolbarHeight:function(a){if(arguments.length===1){this._toolbarHeight=a;return a}else{return this._toolbarHeight}},_legendLeft:0,legendLeft:function(a){if(arguments.length===1){this._legendLeft=a;return a}else{return this._legendLeft}},_legendTop:0,legendTop:function(a){if(arguments.length===1){this._legendTop=a;return a}else{return this._legendTop}},_legendWidth:0,legendWidth:function(a){if(arguments.length===1){this._legendWidth=a;return a}else{return this._legendWidth}},_legendHeight:0,legendHeight:function(a){if(arguments.length===1){this._legendHeight=a;return a}else{return this._legendHeight}},_legend:null,legend:function(a){if(arguments.length===1){this._legend=a;return a}else{return this._legend}},ab:function(a){if(a!=null){var chart_=a;chart_.scaleByViewport()}},scaleByViewport:function(){this.ab(this.mainChart());this.ab(this.volumeChart());if(this.indicatorCharts()!=null){for(var a=0;a<this.indicatorCharts().count();a++){this.ab(this.indicatorCharts().__inner[a])}}this.ab(this.zoomChart())},w:function(a){if(a!=null){var chart_=a;return chart_.serialize()}return null},serialize:function(){var a=new $$6.aj(0);a.u("{");if(this.volumeChart()!=null){a.u("volumeChart: "+this.w(this.volumeChart())+",")}if(this.zoomChart()!=null){a.u("zoomChart: "+this.w(this.zoomChart())+",")}if(this.indicatorCharts()!=null){a.u("indicatorCharts: [");for(var b=0;b<this.indicatorCharts().count();b++){if(b>0){a.u(",")}a.l(this.w(this.indicatorCharts().__inner[b]))}a.t();a.u("],")}if(this.toolbar()!=null){a.u("toolbar: "+this.toolbar().serialize()+",")}if(this.mainChart()!=null){a.u("mainChart: "+this.w(this.mainChart())+",")}a.u("mainChartLeft: "+this.mainChartLeft().toString()+",");a.u("mainChartTop: "+this.mainChartTop().toString()+",");a.u("volumeChartLeft: "+this.volumeChartLeft().toString()+",");a.u("volumeChartTop: "+this.volumeChartTop().toString()+",");a.u("zoomChartLeft: "+this.zoomChartLeft().toString()+",");a.u("zoomChartTop: "+this.zoomChartTop().toString()+",");a.u("toolbarLeft: "+this.toolbarLeft().toString()+",");a.u("toolbarTop: "+this.toolbarTop().toString()+",");a.u("toolbarWidth: "+this.toolbarWidth().toString()+",");a.u("toolbarHeight: "+this.toolbarHeight().toString()+",");a.u("indicatorChartLefts: [");for(var c=0;c<this.indicatorChartLefts().count();c++){if(c>0){a.u(",")}a.k(this.indicatorChartLefts().__inner[c])}a.t();a.u("],");a.u("indicatorChartTops: [");for(var d=0;d<this.indicatorChartTops().count();d++){if(d>0){a.u(",")}a.k(this.indicatorChartTops().__inner[d])}a.t();a.u("],");a.u($y("legendLeft: {0},",this.legendLeft()));a.u($y("legendTop: {0},",this.legendTop()));a.u($y("legendWidth: {0},",this.legendWidth()));a.u($y("legendHeight: {0},",this.legendHeight()));var e;if(this.legend()!=null){e=this.legend().serialize()}else{e="null"}a.u($y("legend: {0}",e));a.u("}");return a.toString()},y:function(a,b){var c=new $$6.aj(0);c.u("{");for(var d=0;d<a.length;d++){c.l(a[d]+": "+$$t.$au.aa(b[d]));if(d<a.length-1){c.l(", ")}c.t()}c.l("}");return c.toString()},aa:function(a){if(a==null){return"null"}if(typeof a==="string"&&!a.startsWith("{")){return'"'+a+'"'}if($b($$0.$bm.$type,a)!==null){return $$t.$au.z(a)}if($b(Array,a)!==null){return $$t.$au.z(a)}return a.toString()},z:function(a){if(a==null){return"null"}var b=new $$6.aj(0);b.l("[");var c=0;var e=a.getEnumerator();while(e.moveNext()){var d=e.current();b.l($$t.$au.aa(d));if(++c<a.count()){b.l(", ")}}b.l("]");return b.toString()},$type:new $.ig.Type("FinancialChartVisualData",$.ig.$ot)},true);$$t.$a.x8="<div class='financialChartMainGrid'>\r\n\t\t<div class='financialChartToolbar'></div>\r\n        <div class='financialChartLegend'></div>\r\n\t\t<div class='financialChartPrice'></div>\r\n\t\t<div class='financialChartIndicators'></div>\r\n\t\t<div class='financialChartVolume'></div>\r\n\t\t<div class='financialChartZoomSlider'></div>\r\n\t</div>";$$t.$g.ab="<button class='financialChartIndicatorMenuDropDownButton'>\r\n\t\t<div class='ui-ChartButtonWrapper'>\r\n\t\t\t<span class='ui-icon ui-icon-IndicatorsIcon'></span>\r\n\t\t\t<span class='financialChartIndicatorMenuLabel'>Indicators</span>\r\n\t\t\t<span class='ui-icon-toolbar-dd'></span>\r\n\t\t</div>\r\n\t</button>\r\n\r\n\t<div class='financialChartIndicatorMenuDropDownMenu'>\r\n\t\t<ul class='financialChartIndicatorMenuDropDownMenuList'>\r\n\t\t\t<li data-value='FinancialOverlayType'>\r\n\t\t\t\t<span>Overlays</span>\r\n\t\t\t\t<ul>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='BollingerBands'>Bollinger Bands</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='PriceChannel'>Price Channel</li>\r\n\t\t\t\t</ul>\r\n\t\t\t</li>\r\n\t\t\t<li data-value='TrendLineType'>\r\n\t\t\t\t<span>Trendlines</span>\r\n\t\t\t\t<ul>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='LinearFit'>Linear Fit</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='QuadraticFit'>Quadratic Fit</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='CubicFit'>Cubic Fit</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='QuarticFit'>Quartic Fit</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='QuinticFit'>Quintic Fit</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='LogarithmicFit'>Logarithmic Fit</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='ExponentialFit'>Exponential Fit</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='PowerLawFit'>PowerLaw Fit</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='SimpleAverage'>Simple Average</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='ExponentialAverage'>Exponential Average</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='ModifiedAverage'>Modified Average</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='CumulativeAverage'>Cumulative Average</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='WeightedAverage'>Weighted Average</li>\r\n\t\t\t\t</ul>\r\n\t\t\t</li>\r\n\t\t\t<li data-value='FinancialChartVolumeType'><span>Volume</span>\r\n\t\t\t\t<ul>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='Column'>Column</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='Line'>Line</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='Area'>Area</li>\r\n\t\t\t\t</ul>\r\n\t\t\t</li>\r\n\t\t\t<li data-value='FinancialIndicatorType'><span>Standalone Indicators</span>\r\n\t\t\t\t<ul>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='AbsoluteVolumeOscillator'>Absolute Volume Oscillator</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='AccumulationDistribution'>Accumulation Distribution</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='AverageDirectionalIndex'>Average Directional Index</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='AverageTrueRange'>Average True Range</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='BollingerBandWidth'>Bollinger Band Width</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='ChaikinOscillator'>Chaikin Oscillator</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='ChaikinVolatility'>Chaikin Volatility</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='CommodityChannelIndex'>Commodity Channel Index</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='DetrendedPriceOscillator'>Detrended Price Oscillator</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='EaseOfMovement'>Ease Of Movement</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='FastStochasticOscillator'>Fast Stochastic Oscillator</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='ForceIndex'>Force Index</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='FullStochasticOscillator'>Full Stochastic Oscillator</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='MarketFacilitationIndex'>Market Facilitation Index</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='MassIndex'>Mass Index</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='MedianPrice'>Median Price</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='MoneyFlowIndex'>Money Flow Index</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='MovingAverageConvergenceDivergence'>MACD</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='NegativeVolumeIndex'>Negative Volume Index</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='OnBalanceVolume'>On Balance Volume</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='PercentagePriceOscillator'>Percentage Price Oscillator</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='PercentageVolumeOscillator'>Percentage Volume Oscillator</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='PositiveVolumeIndex'>Positive Volume Index</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='PriceVolumeTrend'>Price Volume Trend</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='RateOfChangeAndMomentum'>ROC</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='RelativeStrengthIndex'>RSI</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='SlowStochasticOscillator'>Slow Stochastic Oscillator</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='StandardDeviation'>Standard Deviation</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='StochRSI'>Stoch RSI</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='TRIX'>TRIX</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='TypicalPrice'>Typical Price</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='UltimateOscillator'>Ultimate Oscillator</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='WeightedClose'>Weighted Close</li>\r\n\t\t\t\t\t<li class='financialChartListItem' data-value='WilliamsPercentR'>Williams %R</li>\r\n\t\t\t\t</ul>\r\n\t\t\t</li>\r\n\t\t</ul>\r\n\t</div>";$$t.$k.z="<button class='financialChartTypePickerDropDownButton' data-value='Auto'>\r\n\t\t<span class='ui-icon ui-icon-changeable'></span>\r\n\t\t<span class='ui-icon-toolbar-dd'></span>\r\n\t</button>\r\n\r\n\t<div class='financialChartTypePickerDropDownMenu'>\r\n\t\t<ul>\r\n\t\t\t<li class='financialChartListItem' data-value='Auto'>\r\n\t\t\t<span class='ui-icon ui-icon-chartAuto'></span>\r\n\t\t\t<span>Auto</span>\r\n\t\t\t</li>\r\n\t\t\t<li class='financialChartListItem' data-value='Bar'>\r\n\t\t\t\t<span class='ui-icon ui-icon-BarIcon'></span>\r\n\t\t\t\t<span>Bar</span>\r\n\t\t\t</li>\r\n\t\t\t<li class='financialChartListItem' data-value='Line'>\r\n\t\t\t\t<span class='ui-icon ui-icon-LineIcon'></span>\r\n\t\t\t\t<span>Line</span>\r\n\t\t\t</li>\r\n\t\t\t<li class='financialChartListItem' data-value='Candle'>\r\n\t\t\t\t<span class='ui-icon ui-icon-CandleIcon'></span>\r\n\t\t\t\t<span>Candle</span>\r\n\t\t\t</li>\r\n\t\t\t<li class='financialChartListItem' data-value='Column'>\r\n\t\t\t\t<span class='ui-icon ui-icon-ColumnIcon'></span>\r\n\t\t\t\t<span>Column</span>\r\n\t\t\t</li>\r\n\t\t</ul>\r\n\t</div>";$$t.$o.a3="<div class='financialChartToolbar'>\r\n    <div class='financialChartIndicatorMenu'></div>\r\n    <div class='financialChartRangeSelector'></div>\r\n    <div class='financialChartTypePicker'></div>\r\n</div>";$$t.$r.y="<div class='financialChartRangeSelector'>\r\n\t\t<label class='financialChartRangeSelectorLabel rangeSelectorOneMonth'>\r\n\t\t\t<input type='radio' value='1m'>\r\n\t\t\t<span class='financialChartRangeSelectorLabelSpan'>1m</span>\r\n\t\t</label>\r\n\t\t<label class='financialChartRangeSelectorLabel rangeSelectorThreeMonths'>\r\n\t\t\t<input type='radio' value='3m'>\r\n\t\t\t<span class='financialChartRangeSelectorLabelSpan'>3m</span>\r\n\t\t</label>\r\n\t\t<label class='financialChartRangeSelectorLabel rangeSelectorSixMonths'>\r\n\t\t\t<input type='radio' value='6m'>\r\n\t\t\t<span class='financialChartRangeSelectorLabelSpan'>6m</span>\r\n\t\t</label>\r\n\t\t<label class='financialChartRangeSelectorLabel rangeSelectorYTD'>\r\n\t\t\t<input type='radio' value='YTD'>\r\n\t\t\t<span class='financialChartRangeSelectorLabelSpan'>YTD</span>\r\n\t\t</label>\r\n\t\t<label class='financialChartRangeSelectorLabel rangeSelectorOneYear'>\r\n\t\t\t<input type='radio' value='1y'>\r\n\t\t\t<span class='financialChartRangeSelectorLabelSpan'>1y</span>\r\n\t\t</label>\r\n\t\t<label class='financialChartRangeSelectorLabel rangeSelectorAll'>\r\n\t\t\t<input type='radio' value='all'>\r\n\t\t\t<span class='financialChartRangeSelectorLabelSpan'>all</span>\r\n\t\t</label>\r\n\t</div>"});