/*!@license
* Infragistics.Web.ClientUI infragistics.chart_financialchart.js 14.1.20141.1020
*
* Copyright (c) 2011-2014 Infragistics Inc.
*
* http://www.infragistics.com/
*
* Depends:
*     jquery-1.4.4.js
*     jquery.ui.core.js
*     jquery.ui.widget.js
*     infragistics.util.js
*/
$.ig=$.ig||{};(function($){var $$t={};$.ig.$currDefinitions=$$t;$.ig.util.bulkDefine(["AbstractEnumerable:a","Object:b","Type:c","Boolean:d","ValueType:e","Void:f","String:g","IComparable:h","Number:i","Number:j","Single:k","Number:l","String:m","Array:n","RegExp:o","RuntimeTypeHandle:p","MethodInfo:q","MethodBase:r","MemberInfo:s","ParameterInfo:t","TypeCode:u","Enum:v","ConstructorInfo:w","IEnumerable:x","IEnumerator:y","Func$1:z","MulticastDelegate:aa","IntPtr:ab","AbstractEnumerator:ac","IEnumerable$1:ad","IEnumerator$1:ae","ICollection$1:af","IList$1:ag","IArrayList:ah","Array:ai","ICollection:aj","CompareCallback:ak","List$1:al","IList:am","IDisposable:an","IArray:ao","Script:ap","Date:aq","Date:ar","Number:as","Func$3:at","Action$1:au","IDictionary$2:aw","Dictionary$2:ax","IDictionary:ay","Dictionary:az","IEqualityComparer$1:a0","KeyValuePair$2:a1","NotImplementedException:a2","Error:a3","GenericEnumerable$1:a4","GenericEnumerator$1:a5","INotifyCollectionChanged:a6","NotifyCollectionChangedEventHandler:a7","NotifyCollectionChangedEventArgs:a8","EventArgs:a9","NotifyCollectionChangedAction:ba","ObservableCollection$1:bd","INotifyPropertyChanged:be","PropertyChangedEventHandler:bf","PropertyChangedEventArgs:bg","Delegate:bh","ReadOnlyCollection$1:bj","Stack$1:bm","ReverseArrayEnumerator$1:bn","IOrderedEnumerable$1:bu","Enumerable:bz","Func$2:b0","SortedList$1:b1","Math:b2","Number:b3","Number:b4","Number:b5","Number:b6","Number:b7","Number:b8","Number:b9","ArgumentNullException:ca","DependencyObject:cc","DependencyProperty:cd","PropertyMetadata:ce","PropertyChangedCallback:cf","DependencyPropertyChangedEventArgs:cg","DependencyPropertiesCollection:ch","UnsetValue:ci","Binding:cj","PropertyPath:ck","ArgumentException:co","Convert:ct","Debug:cw","IEquatable$1:cx","JQueryPromise:db","Action:dc","JQueryDeferred:df","JQuery:dg","JQueryObject:dh","Element:di","ElementAttributeCollection:dj","ElementCollection:dk","WebStyle:dl","ElementNodeType:dm","Document:dn","EventListener:dp","IElementEventHandler:dq","ElementEventHandler:dr","ElementAttribute:ds","JQueryPosition:dt","JQueryCallback:du","JQueryEvent:dv","JQueryUICallback:dw","StringBuilder:d1","Random:d3","Tuple$2:d5","UIElement:d7","Transform:d8","UIElementCollection:d9","FrameworkElement:ea","Visibility:eb","Style:ec","Control:ed","Thickness:ee","HorizontalAlignment:ef","VerticalAlignment:eg","ContentControl:eh","DataTemplate:ei","DataTemplateRenderHandler:ej","DataTemplateRenderInfo:ek","DataTemplatePassInfo:el","DataTemplateMeasureHandler:em","DataTemplateMeasureInfo:en","DataTemplatePassHandler:eo","Panel:ep","Canvas:eq","TextBlock:es","Brush:et","Color:eu","Key:ew","ModifierKeys:ex","MouseEventArgs:ey","Point:ez","MouseButtonEventArgs:e0","LinearGradientBrush:e1","GradientStop:e2","DoubleCollection:e3","FillRule:e4","GeometryType:e5","Geometry:e6","GeometryCollection:e7","GeometryGroup:e8","LineGeometry:e9","RectangleGeometry:fa","Rect:fb","Size:fc","EllipseGeometry:fd","PathGeometry:fe","PathFigureCollection:ff","PathFigure:fg","PathSegmentCollection:fh","PathSegmentType:fi","PathSegment:fj","LineSegment:fk","BezierSegment:fl","PolyBezierSegment:fm","PointCollection:fn","PolyLineSegment:fo","ArcSegment:fp","SweepDirection:fq","PenLineCap:fr","RotateTransform:ft","TranslateTransform:fu","ScaleTransform:fv","TransformGroup:fw","TransformCollection:fx","Shape:fz","Line:f0","Path:f1","Polygon:f2","Polyline:f3","Rectangle:f4"]);$.ig.util.defType("ReadOnlyCollection$1:bj","Object",{$t:null,init:function($t,initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}this.c={};this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.$op.init.call(this)},init1:function($t,initNumber,a){this.c={};this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.$op.init.call(this);this.a=a},a:null,item:function(a,b){if(arguments.length===2){this.a.item(a,b);return b}else{return this.a.item(a)}},indexOf:function(a){return this.a.indexOf(a)},insert:function(a,b){},removeAt:function(a){},count:function(){return this.a.count()},isReadOnly:function(){return true},add1:function(a){},clear:function(){},contains1:function(a){return this.a.contains(a)},copyTo:function(a,b){this.a.copyTo(a,b)},remove1:function(a){return false},getEnumerator:function(){return this.a.getEnumerator()},isFixedSize:function(){return true},add:function(a){return-1},contains:function(a){return this.a.contains(a)},indexOf1:function(a){return this.a.indexOf(a)},insert1:function(a,b){},remove:function(a){},copyTo1:function(a,b){this.a.copyTo(a,b)},b:function(){return this.a},isSynchronized:function(){return true},c:null,syncRoot:function(){return this.c},$type:new $.ig.Type("ReadOnlyCollection$1",$.ig.$ot,[$$t.$ag.$type.specialize(0),$.ig.IList.prototype.$type])},true);$.ig.util.defType("Stack$1:bm","Object",{$t:null,init:function($t){this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.$op.init.call(this);this.b=new $.ig.Array},b:null,push:function(a){this.b.add(a)},peek:function(){if(this.b.length<1){return null}return this.b[this.b.length-1]},pop:function(){var a=this.b[this.b.length-1];this.b.removeAt(this.b.length-1);return a},count:function(){return this.b.length},clear:function(){this.b.clear()},contains:function(a){return this.b.contains(a)},getEnumerator:function(){return new $$t.bn(this.$t,this.b)},$type:new $.ig.Type("Stack$1",$.ig.$ot,[$$t.$ad.$type.specialize(0)])},true);$.ig.util.defType("ReverseArrayEnumerator$1:bn","Object",{$t:null,b:0,a:null,init:function($t,a){this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.$op.init.call(this);this.a=a;this.b=a.length},current:function(){return this.a[this.b]},moveNext:function(){this.b--;return this.b>=0},reset:function(){this.b=this.a.length},$type:new $.ig.Type("ReverseArrayEnumerator$1",$.ig.$ot,[$$t.$ae.$type.specialize(0)])},true);$.ig.util.extCopy($.ig.Queryable,[[[$.ig.SortedList$1,$.ig.IGrouping$2,$.ig.ICollection$1,$.ig.IEnumerable$1,$.ig.IList$1,$.ig.List$1,$.ig.IEnumerable,$.ig.ICollection,$.ig.IList,$.ig.Array,$.ig.Dictionary,$.ig.XmlNodeList,$.ig.XmlNamedNodeMap,$.ig.AbstractEnumerable,$.ig.IDictionary$2,$.ig.Dictionary$2,$.ig.GenericEnumerable$1,$.ig.ReadOnlyCollection$1,$.ig.Stack$1,$.ig.IOrderedEnumerable$1],["asQueryable"]]]);$.ig.util.extCopy($.ig.Enumerable,[[[$.ig.SortedList$1,$.ig.IGrouping$2,$.ig.ICollection$1,$.ig.IEnumerable$1,$.ig.IList$1,$.ig.List$1,$.ig.IDictionary$2,$.ig.Dictionary$2,$.ig.GenericEnumerable$1,$.ig.ReadOnlyCollection$1,$.ig.Stack$1,$.ig.IOrderedEnumerable$1],["where$1","where$11","select$2","selectMany$2","last$1","first$1","firstOrDefault$1","orderBy$2","orderByDescending$2","toList$1","concat$1","max","max$1","min","min$1","count$1","reverse$1","take$1","skip$1","any$1","contains$1","union$1","toArray$1","elementAt$1","sum","sum$1"]],[[$.ig.SortedList$1,$.ig.IGrouping$2,$.ig.ICollection$1,$.ig.IEnumerable$1,$.ig.IList$1,$.ig.List$1,$.ig.IEnumerable,$.ig.ICollection,$.ig.IList,$.ig.Array,$.ig.Dictionary,$.ig.XmlNodeList,$.ig.XmlNamedNodeMap,$.ig.AbstractEnumerable,$.ig.IDictionary$2,$.ig.Dictionary$2,$.ig.GenericEnumerable$1,$.ig.ReadOnlyCollection$1,$.ig.Stack$1,$.ig.IOrderedEnumerable$1],["ofType$1","cast$1"]]])})(jQuery);$.ig=$.ig||{};(function($){var $$t={};$.ig.$currDefinitions=$$t;$.ig.util.bulkDefine(["BrushCollection:a","ObservableCollection$1:b","List$1:c","Object:d","Type:e","Boolean:f","ValueType:g","Void:h","String:i","IComparable:j","Number:k","Number:l","Single:m","Number:n","String:o","Array:p","RegExp:q","RuntimeTypeHandle:r","MethodInfo:s","MethodBase:t","MemberInfo:u","ParameterInfo:v","TypeCode:w","Enum:x","ConstructorInfo:y","IList$1:z","ICollection$1:aa","IEnumerable$1:ab","IEnumerable:ac","IEnumerator:ad","IEnumerator$1:ae","IArrayList:af","Array:ag","ICollection:ah","CompareCallback:ai","MulticastDelegate:aj","IntPtr:ak","IList:al","IDisposable:am","IArray:an","Script:ao","Date:ap","Date:aq","Number:ar","Func$3:as","Action$1:at","INotifyCollectionChanged:au","NotifyCollectionChangedEventHandler:av","NotifyCollectionChangedEventArgs:aw","EventArgs:ax","NotifyCollectionChangedAction:ay","INotifyPropertyChanged:az","PropertyChangedEventHandler:a0","PropertyChangedEventArgs:a1","Delegate:a2","InterpolationMode:a3","Brush:a4","Color:a5","Number:a6","Math:a7","Number:a8","Number:a9","Number:ba","Number:bb","Number:bc","Number:bd","Random:be","MathUtil:bf","RuntimeHelpers:bg","RuntimeFieldHandle:bh","ColorUtil:bi","EventProxy:bj","Rect:bk","Size:bl","Point:bm","ModifierKeys:bn","Func$2:bo","MouseWheelHandler:bp","GestureHandler:bq","ContactHandler:br","TouchHandler:bs","MouseOverHandler:bt","MouseHandler:bu","KeyHandler:bv","Key:bw","DOMEventProxy:bx","JQueryObject:by","Element:bz","ElementAttributeCollection:b0","ElementCollection:b1","WebStyle:b2","ElementNodeType:b3","Document:b4","EventListener:b5","IElementEventHandler:b6","ElementEventHandler:b7","ElementAttribute:b8","JQueryPosition:b9","JQueryCallback:ca","JQueryEvent:cb","JQueryUICallback:cc","MSGesture:cd","JQuery:ce","JQueryDeferred:cf","JQueryPromise:cg","Action:ch","Callback:ci","window:cj","MouseEventArgs:ck","UIElement:cl","DependencyObject:cm","Dictionary:cn","DependencyProperty:co","PropertyMetadata:cp","PropertyChangedCallback:cq","DependencyPropertyChangedEventArgs:cr","DependencyPropertiesCollection:cs","UnsetValue:ct","Binding:cu","PropertyPath:cv","Transform:cw","TrendCalculators:cx","TrendLineType:cy","UnknownValuePlotting:cz","ErrorBarCalculatorReference:c0","ErrorBarCalculatorType:c1","IErrorBarCalculator:c2","IFastItemColumn$1:c3","IFastItemColumnPropertyName:c4","EventHandler$1:c5","IFastItemColumnInternal:c7","FastItemColumn:c8","IFastItemsSource:c9","NotImplementedException:da","Error:db","FastReflectionHelper:dc","FastItemDateTimeColumn:dd","FastItemObjectColumn:de","FastItemIntColumn:df","FastItemsSource:dg","Dictionary$2:dh","IDictionary$2:di","IDictionary:dj","IEqualityComparer$1:dk","KeyValuePair$2:dl","FastItemsSourceEventAction:dm","FastItemsSourceEventArgs:dn","ArgumentException:dp","ColumnReference:dq","IRenderer:dr","Rectangle:ds","Shape:dt","FrameworkElement:du","Visibility:dv","Style:dw","DoubleCollection:dx","Path:dy","Geometry:dz","GeometryType:d0","TextBlock:d1","Polygon:d2","PointCollection:d3","Polyline:d4","DataTemplateRenderInfo:d5","DataTemplatePassInfo:d6","ContentControl:d7","Control:d8","Thickness:d9","HorizontalAlignment:ea","VerticalAlignment:eb","DataTemplate:ec","DataTemplateRenderHandler:ed","DataTemplateMeasureHandler:ee","DataTemplateMeasureInfo:ef","DataTemplatePassHandler:eg","Line:eh","RectChangedEventArgs:ei","RectChangedEventHandler:ej","CanvasRenderScheduler:ek","ISchedulableRender:el","RenderingContext:em","CanvasViewRenderer:en","CanvasContext2D:eo","CanvasContext:ep","TextMetrics:eq","ImageData:er","CanvasElement:es","Gradient:et","LinearGradientBrush:eu","GradientStop:ev","GeometryGroup:ew","GeometryCollection:ex","FillRule:ey","PathGeometry:ez","PathFigureCollection:e0","LineGeometry:e1","RectangleGeometry:e2","EllipseGeometry:e3","ArcSegment:e4","PathSegment:e5","PathSegmentType:e6","SweepDirection:e7","PathFigure:e8","PathSegmentCollection:e9","LineSegment:fa","PolyLineSegment:fb","BezierSegment:fc","PolyBezierSegment:fd","GeometryUtil:fe","Tuple$2:ff","TransformGroup:fg","TransformCollection:fh","TranslateTransform:fi","RotateTransform:fj","ScaleTransform:fk","InteractionState:fn","IOverviewPlusDetailControl:fo","OverviewPlusDetailPaneMode:fq","PropertyChangedEventArgs$1:fr","XamOverviewPlusDetailPane:fs","XamOverviewPlusDetailPaneView:ft","XamOverviewPlusDetailPaneViewManager:fu","DivElement:fv","DoubleAnimator:fw","EasingFunctionHandler:fx","ImageElement:fy","RectUtil:fz","ArgumentNullException:f0","Stack$1:f6","ReverseArrayEnumerator$1:f7","Func$1:f8","Convert:ge","Debug:gf","StringBuilder:gj","ArrayUtil:gm","Comparison$1:gn","BrushUtil:go","CssHelper:gp","CssGradientUtil:gq","Clipper:gr","EdgeClipper:gs","LeftClipper:gt","BottomClipper:gu","RightClipper:gv","TopClipper:gw","EasingFunctions:gx","FontUtil:gy","FontInfo:gz","Extensions:g0","Panel:g1","UIElementCollection:g2","Enumerable:g3","IOrderedEnumerable$1:g4","SortedList$1:g5","Flattener:g6","SpiralTodo:g7","Func$5:g9","Numeric:ha","LeastSquaresFit:hb","PathFigureUtil:hc","IPool$1:hg","IIndexedPool$1:hh","Pool$1:hi","IHashPool$2:hj","HashPool$2:hk","ISmartPlaceable:hm","SmartPosition:hn","SmartPlaceableWrapper$1:ho","SmartPlacer:hp","IVisualData:hq","PrimitiveVisualDataList:hr","PrimitiveVisualData:hs","PrimitiveAppearanceData:ht","BrushAppearanceData:hu","AppearanceHelper:hv","LinearGradientBrushAppearanceData:hw","GradientStopAppearanceData:hx","SolidBrushAppearanceData:hy","EllipseGeometryData:hz","GeometryData:h0","GetPointsSettings:h1","RectangleGeometryData:h2","LineGeometryData:h3","PathGeometryData:h4","PathFigureData:h5","LineSegmentData:h6","SegmentData:h7","PolylineSegmentData:h8","ArcSegmentData:h9","PolyBezierSegmentData:ia","LabelAppearanceData:ib","ShapeTags:ic","RectangleVisualData:ie","PolyLineVisualData:ih","PolygonVisualData:ii","PathVisualData:ij","AbstractEnumerable:ik","AbstractEnumerator:il","GenericEnumerable$1:im","GenericEnumerator$1:io"]);$.ig.util.defType("TrendLineType:cy","Enum",{init:function(){$.ig.$ep.init.call(this)},$type:new $.ig.Type("TrendLineType",$.ig.$ep.$type)},true);$.ig.util.defType("ArrayUtil:gm","Object",{init:function(){$.ig.$op.init.call(this)},shuffle$1:function($t){if(this!=null){var a=new $$t.be;for(var b=this.count()-1;b>0;--b){var c=a.b(b);var d=this.item(b);this.item(b,this.item(c));this.item(c,d)}}},insertionIndex$11:function($t,a){var b=-1;var c=0;var d=this.count();while(b==-1){if(d<=c){b=c}else{var e=$.ig.intDivide(c+d,2);switch(Math.sign(a.compareTo(this.item(e)))){case-1:d=e;break;case 0:b=e;break;case 1:c=e+1;break}}}return b},insertionIndex$1:function($t,a,b){var c=-1;var d=0;var e=this.count();while(c==-1){if(e<=d){c=d}else{var f=$.ig.intDivide(d+e,2);switch(Math.sign(a(b,this.item(f)))){case-1:e=f;break;case 0:c=f;break;case 1:d=f+1;break}}}return c},binarySearch$1:function($t,a){var b=0;var c=this.count()-1;while(b<=c){var d=b+(c-b>>1);var e=a(this.item(d));if(e<0){c=d-1}else if(e>0){b=d+1}else{return d}}return~b},$type:new $.ig.Type("ArrayUtil",$.ig.$ot)},true);$.ig.util.defType("Clipper:gr","Object",{i:function(a){if(arguments.length===1){if(this.b!=null){this.b.clear()}this.b=null;this.h=a;var b=this.h;if(this.c!=null){this.c.dst(b);b=this.c;this.b=this.c}if(this.a!=null){this.a.dst(b);b=this.a;this.a.__nextClipper=this.b;this.b=this.a}if(this.d!=null){this.d.dst(b);b=this.d;this.d.__nextClipper=this.b;this.b=this.d}if(this.e!=null){this.e.dst(b);b=this.e;this.e.__nextClipper=this.b;this.b=this.e}this.g=b;return a}else{return this.h}},g:null,b:null,h:null,c:null,a:null,d:null,e:null,init:function(initNumber,a,b){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}var $self=this;$.ig.$op.init.call(this);this.c=function(){var $ret=new $$t.gt;$ret._edge=a.left();$ret._isClosed=b;return $ret}();this.a=function(){var $ret=new $$t.gu;$ret._edge=a.bottom();$ret._isClosed=b;return $ret}();this.d=function(){var $ret=new $$t.gv;$ret._edge=a.right();$ret._isClosed=b;return $ret}();this.e=function(){var $ret=new $$t.gw;$ret._edge=a.top();$ret._isClosed=b;return $ret}()},init1:function(initNumber,a,b,c,d,e){var $self=this;$.ig.$op.init.call(this);this.c=!isNaN(a)?function(){var $ret=new $$t.gt;$ret._edge=a;$ret._isClosed=e;return $ret}():null;this.a=!isNaN(b)?function(){var $ret=new $$t.gu;$ret._edge=b;$ret._isClosed=e;return $ret}():null;this.d=!isNaN(c)?function(){var $ret=new $$t.gv;$ret._edge=c;$ret._isClosed=e;return $ret}():null;this.e=!isNaN(d)?function(){var $ret=new $$t.gw;$ret._edge=d;$ret._isClosed=e;return $ret}():null},j:function(a){this.g.add(a)},f:function(a){if(arguments.length===1){if(this.c!=null){this.c._isClosed=a}if(this.a!=null){this.a._isClosed=a}if(this.d!=null){this.d._isClosed=a}if(this.e!=null){this.e._isClosed=a}return a}else{return(this.c==null||this.c._isClosed)&&(this.a==null||this.a._isClosed)&&(this.d==null||this.d._isClosed)&&(this.e==null||this.e._isClosed)}},$type:new $.ig.Type("Clipper",$.ig.$ot)},true);$.ig.util.defType("EdgeClipper:gs","Object",{init:function(){$.ig.$op.init.call(this);this.c=true;this.f=false},dst:function(a){if(arguments.length===1){if(this._dst!=a){this.c=true;this._dst=a}return a}else{return this._dst}},_dst:null,__nextClipper:null,nextClipper:function(a){if(arguments.length===1){this.__nextClipper=a;return a}else{return this.__nextClipper}},c:false,j:null,l:null,g:false,_isClosed:false,f:false,add:function(a){var b=this.e(a);if(this.c){this.c=false;this.j=a}else{if(true){if(b){if(!this.g){this.dst().add(this.k(this.l,a))}else{if(!this._isClosed&&!this.f){this.dst().add(this.l);this.f=true}}this.dst().add(a)}else{if(this.g){if(!this._isClosed&&!this.f){this.dst().add(this.l);this.f=true}this.dst().add(this.k(this.l,a))}}}}this.l=a;this.g=b},clear:function(){if(this._isClosed&&!this.c){this.add(this.j)}if(this.__nextClipper!=null){this.__nextClipper.clear()}this.c=true;this.f=false},e:function(a){},k:function(a,b){},getEnumerator:function(){return null},isReadOnly:function(){return false},count:function(){return 0},remove:function(a){return false},removeAt:function(a){},copyTo:function(a,b){},contains:function(a){return false},item:function(n,value){if(arguments.length===2){return value}else{return{__x:0,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}},insert:function(a,b){},indexOf:function(a){return-1},$type:new $.ig.Type("EdgeClipper",$.ig.$ot,[$$t.$z.$type.specialize($$t.$bm.$type)])},true);$.ig.util.defType("LeftClipper:gt","EdgeClipper",{init:function(){$$t.$gs.init.call(this)},_edge:0,e:function(a){return a.__x>=this._edge},k:function(a,b){return{__x:this._edge,__y:a.__y+(b.__y-a.__y)*(this._edge-a.__x)/(b.__x-a.__x),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},$type:new $.ig.Type("LeftClipper",$$t.$gs.$type)},true);$.ig.util.defType("BottomClipper:gu","EdgeClipper",{init:function(){$$t.$gs.init.call(this)},_edge:0,e:function(a){return a.__y<=this._edge},k:function(a,b){return{__x:a.__x+(b.__x-a.__x)*(this._edge-a.__y)/(b.__y-a.__y),__y:this._edge,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},$type:new $.ig.Type("BottomClipper",$$t.$gs.$type)},true);$.ig.util.defType("RightClipper:gv","EdgeClipper",{init:function(){$$t.$gs.init.call(this)},_edge:0,e:function(a){return a.__x<=this._edge},k:function(a,b){return{__x:this._edge,__y:a.__y+(b.__y-a.__y)*(this._edge-a.__x)/(b.__x-a.__x),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},$type:new $.ig.Type("RightClipper",$$t.$gs.$type)},true);$.ig.util.defType("TopClipper:gw","EdgeClipper",{init:function(){$$t.$gs.init.call(this)},_edge:0,e:function(a){return a.__y>=this._edge},k:function(a,b){return{__x:a.__x+(b.__x-a.__x)*(this._edge-a.__y)/(b.__y-a.__y),__y:this._edge,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}},$type:new $.ig.Type("TopClipper",$$t.$gs.$type)},true);$.ig.util.defType("Extensions:g0","Object",{init:function(){$.ig.$op.init.call(this)},reset1:function(){this.b().clear();this.b().add(new $$t.e8);this.b().removeAt(0)},reset:function(){this.c().clear();this.c().add(new $$t.ez);this.c().removeAt(0)},detach:function(){if(this==null){return}var a=$.ig.util.cast($$t.$g1.$type,this.u());if(a!=null){a.y().remove(this);return}var b=$.ig.util.cast($$t.$d7.$type,this.u());if(b!=null){b.content(null);return}},transferChildrenTo:function(a){var b=new $$t.c($$t.$cl.$type,0);var d=this.y().ofType$1($$t.$cl.$type).getEnumerator();while(d.moveNext()){var c=d.current();b.add(c)}var f=b.getEnumerator();while(f.moveNext()){var e=f.current();this.y().remove(e);a.y().add(e)}},isPlottable:function(){return!isNaN(this.__x)&&!isNaN(this.__y)&&!Number.isInfinity(this.__x)&&!Number.isInfinity(this.__y)},isPlottable1:function(){return!isNaN(this.left())&&!isNaN(this.right())&&!isNaN(this.top())&&!isNaN(this.bottom())&&!Number.isInfinity(this.left())&&!Number.isInfinity(this.right())&&!Number.isInfinity(this.top())&&!Number.isInfinity(this.bottom())},$type:new $.ig.Type("Extensions",$.ig.$ot)},true);$.ig.util.defType("Flattener:g6","Object",{init:function(){$.ig.$op.init.call(this)},g:function(a,b,c,d,e){var $self=this;if(isNaN(e)||e<=0){e=1}var f=new $$t.c(Number,0);var g=new $$t.f6($$t.$g7.$type);var h=(d-b)/(c-a);var i=b-h*a;var j=h*h;var k=i*i;var l=i*h;g.push(function(){var $ret=new $$t.g7;$ret.a=0;$ret.b=1;return $ret}());while(g.count()!=0){var m=g.pop();var n=b+m.a*(d-b);var o=a+m.a*(c-a);var p=o*o;var q=p*o;var r=b+m.b*(d-b);var s=a+m.b*(c-a);var t=s*s;var u=t*s;var v;if(h==0){v=k*(s-o)/2+l*(t-p)/2+j*(u-q)/6}else{v=(Math.pow(i+h*s,3)-Math.pow(i+h*o,3))/(6*h)}var w=.5*n*r*Math.sin(s-o);if(v-w>e){var x=.5*(m.a+m.b);g.push(function(){var $ret=new $$t.g7;$ret.a=x;$ret.b=m.b;return $ret}());g.push(function(){var $ret=new $$t.g7;$ret.a=m.a;$ret.b=x;return $ret}())}else{f.add(m.a)}}f.add(1);return f},f:function(a,b,c,d){var e=new $$t.c($.ig.Number.prototype.$type,0);$$t.$g6.d(e,b,c,0,a-1,d);return e},d:function(a,b,c,d,e,f){var $self=this;return $$t.$g6.e(a,function(g){return g},b,c,d,e,f)},c:function(a,b,c,d,e,f,g){var $self=this;return $$t.$g6.e(a,function(h){return b.item(h)},c,d,e,f,g)},e:function(a,b,c,d,e,f,g){if(e>f){return a}var h=c(b(e));var i=d(b(e));while((isNaN(h)||isNaN(i))&&e<f){++e;h=c(b(e));i=d(b(e))}var j=c(b(f));var k=d(b(f));while((isNaN(j)||isNaN(k))&&e<f){--f;j=c(b(f));k=d(b(f))}if(e==f){a.add(b(e));return a}a.add(b(e));$$t.$g6.n(a,b,c,d,e,f,g);a.add(b(f));return a},h:function(a,b,c,d,e,f){if(d>e){return a}var g=b[d];var h=c[d];while((isNaN(g)||isNaN(h))&&d<e){++d;g=b[d];h=c[d]}var i=b[e];var j=c[e];while((isNaN(i)||isNaN(j))&&d<e){--e;i=b[e];j=c[e]}if(d==e){a.add(d);return a}a.add(d);$$t.$g6.l(a,b,c,d,e,f);a.add(e);return a},a:function(a,b,c,d,e){var f;var g;if(c){f=0;g=1}else if(d){f=0;g=2}else{f=2;g=3}return $$t.$g6.b(a,b,f,g,e)},b:function(a,b,c,d,e){var f=new $$t.c($.ig.Number.prototype.$type,0);$$t.$g6.j(f,b,c,d,0,a-1,e);return f},i:function(a,b,c,d,e,f,g){var h;var i;if(c){h=0;i=1}else if(d){h=0;i=2}else{h=2;i=3}return $$t.$g6.j(a,b,h,i,e,f,g)},j:function(a,b,c,d,e,f,g){if(e>f){return a}var h=b.__inner[e];var i,j;i=h[c];j=h[d];while((isNaN(i)||isNaN(j))&&e<f){++e;h=b.__inner[e];i=h[c];j=h[d]}var k=b.__inner[f];var l,m;l=k[c];m=k[d];while((isNaN(l)||isNaN(m))&&e<f){--f;k=b.__inner[f];l=k[c];m=k[d]}if(e==f){a.add(e);return a}a.add(e);$$t.$g6.m(a,b,c,d,e,f,g);a.add(f);return a},l:function(a,b,c,d,e,f){var g=b[d];var h=c[d];while((isNaN(g)||isNaN(h))&&d<e){++d;g=b[d];h=c[d]}var i=b[e];var j=c[e];while((isNaN(i)||isNaN(j))&&d<e){--e;i=b[e];j=c[e]}if(d+1>=e){return}var k=-1;var l=f*f;var m;var n;m=i-g;n=j-h;var o=m*m+n*n;if(o==0){for(var p=d+1;p<e;++p){var q=b[p];var r=c[p];if(isNaN(q)||isNaN(r)){continue}m=i-q;n=j-r;var s=m*m+n*n;if(s>=l){l=s;k=p}}}else{var t=i-g;var u=j-h;for(var v=d+1;v<e;++v){var w=b[v];var x=c[v];if(isNaN(w)||isNaN(x)){continue}var y=NaN;var z=b[v]-g;var aa=c[v]-h;var ab=t*z+u*aa;if(ab<=0){m=g-w;n=h-x;y=m*m+n*n}else{var ac=t*t+u*u;if(ac<=ab){m=i-w;n=j-x;y=m*m+n*n}else{var ad=ab/ac;m=g+ad*t-w;n=h+ad*u-x;y=m*m+n*n}}if(y>=l){l=y;k=v}}}if(k!=-1){$$t.$g6.l(a,b,c,d,k,f);a.add(k);$$t.$g6.l(a,b,c,k,e,f)}return},m:function(a,b,c,d,e,f,g){var h=b.__inner[e];var i,j;i=h[c];j=h[d];while(i!=i||j!=j&&e<f){++e;h=b.__inner[e];i=h[c];j=h[d]}var k=b.__inner[f];var l,m;l=k[c];m=k[d];while(l!=l||m!=m&&e<f){--f;k=b.__inner[f];l=k[c];m=k[d]}if(e+1>=f){return}var n=-1;var o=g*g;var p;var q;p=l-i;q=m-j;var r=p*p+q*q;if(r==0){for(var s=e+1;s<f;++s){var t=b.__inner[s];var u,v;u=t[c];v=t[d];if(u!=u||v!=v){continue}p=l-u;q=m-v;var w=p*p+q*q;if(w>=o){o=w;n=s}}}else{var x=l-i;var y=m-j;for(var z=e+1;z<f;++z){var aa=b.__inner[z];var ab,ac;ab=aa[c];ac=aa[d];if(ab!=ab||ac!=ac){continue}var ad=NaN;var ae=ab-i;var af=ac-j;var ag=x*ae+y*af;if(ag<=0){p=i-ab;q=j-ac;ad=p*p+q*q}else{var ah=x*x+y*y;if(ah<=ag){p=l-ab;q=m-ac;ad=p*p+q*q}else{var ai=ag/ah;p=i+ai*x-ab;q=j+ai*y-ac;ad=p*p+q*q}}if(ad>=o){o=ad;n=z}}}if(n!=-1){$$t.$g6.m(a,b,c,d,e,n,g);a.add(n);$$t.$g6.m(a,b,c,d,n,f,g)}return},n:function(a,b,c,d,e,f,g){var h=c(b(e));var i=d(b(e));while((isNaN(h)||isNaN(i))&&e<f){++e;h=c(b(e));i=d(b(e))}var j=c(b(f));var k=d(b(f));while((isNaN(j)||isNaN(k))&&e<f){--f;j=c(b(f));k=d(b(f))}if(e+1>=f){return}var l=-1;var m=g;var n=$$t.$bf.j(j-h,k-i);if(n==0){for(var o=e+1;o<f;++o){var p=c(b(o));var q=d(b(o));if(isNaN(p)||isNaN(q)){continue}var r=$$t.$bf.j(j-p,k-q);if(r>=m){m=r;l=o}}}else{var s=j-h;var t=k-i;for(var u=e+1;u<f;++u){var v=c(b(u));var w=d(b(u));if(isNaN(v)||isNaN(w)){continue}var x=NaN;var y=c(b(u))-h;var z=d(b(u))-i;var aa=s*y+t*z;if(aa<=0){x=$$t.$bf.j(h-v,i-w)}else{var ab=s*s+t*t;if(ab<=aa){x=$$t.$bf.j(j-v,k-w)}else{var ac=aa/ab;x=$$t.$bf.j(h+ac*s-v,i+ac*t-w)}}if(x>=m){m=x;l=u}}}if(l!=-1){$$t.$g6.n(a,b,c,d,e,l,g);a.add(b(l));$$t.$g6.n(a,b,c,d,l,f,g)}return},k:function(a,b,c){var d=new $$t.d3(0);if(a<5){for(var e=0;e<a;++e){d.add({__x:b(e),__y:c(e),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}return d}d.add({__x:b(0),__y:c(0),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});var f=a-1;var g;var h={__x:b(0),__y:c(0),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var i={__x:b(0+1),__y:c(0+1),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var j={__x:b(0+2),__y:c(0+2),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var k;var l;var m={__x:i.__x-h.__x,__y:i.__y-h.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var n=$$t.$bf.j(m.__x,m.__y);var o={__x:j.__x-i.__x,__y:j.__y-i.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var p=$$t.$bf.j(o.__x,o.__y);var q;var r;var s=.1;var t=.3;q={__x:j.__x-h.__x,__y:j.__y-h.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var u=$$t.$bf.j(q.__x,q.__y);q.__x/=u;q.__y/=u;r=.5+(m.__x*o.__x+m.__y*o.__y)/(2*n*p);d.add({__x:i.__x-q.__x*(s+t*r)*n,__y:i.__y-q.__y*(s+t*r)*n,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});d.add(i);for(var v=1;v<f-1;++v){g=h;h=i;i=j;j={__x:b(v+2),__y:c(v+2),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};k=m;l=n;m=o;n=p;o={__x:j.__x-i.__x,__y:j.__y-i.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};p=$$t.$bf.j(o.__x,o.__y);var w=q;var x=r;q={__x:j.__x-h.__x,__y:j.__y-h.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};var y=$$t.$bf.j(q.__x,q.__y);q.__x/=y;q.__y/=y;r=.5+(m.__x*o.__x+m.__y*o.__y)/(2*n*p);d.add({__x:h.__x+w.__x*(s+t*x)*n,__y:h.__y+w.__y*(s+t*x)*n,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});d.add({__x:i.__x-q.__x*(s+t*r)*n,__y:i.__y-q.__y*(s+t*r)*n,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});d.add(i)}g=h;h=i;i=j;k=m;l=n;m=o;n=p;var z=q;var aa=r;d.add({__x:h.__x+z.__x*(s+t*aa)*n,__y:h.__y+z.__y*(s+t*aa)*n,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});d.add(i);return d},$type:new $.ig.Type("Flattener",$.ig.$ot)},true);$.ig.util.defType("SpiralTodo:g7","Object",{init:function(){$.ig.$op.init.call(this)},a:0,b:0,$type:new $.ig.Type("SpiralTodo",$.ig.$ot)},true);$.ig.util.defType("Numeric:ha","Object",{init:function(){$.ig.$op.init.call(this)},e:function(a,b,c,d,e){var f;var g=a.count();var h=new Array(g);if(b.__inner[0]==0){return false}var i=b.__inner[0];e.__inner[0]=d.__inner[0]/i;for(f=1;f<g;f++){h[f]=c.__inner[f-1]/i;i=b.__inner[f]-a.__inner[f]*h[f];if(i==0){return false}e.__inner[f]=(d.__inner[f]-a.__inner[f]*e.__inner[f-1])/i}for(f=g-2;f>=0;f--){e.__inner[f]-=h[f+1]*e.__inner[f+1]}return true},d:function(a,b){var c=a.getLength(0);var d=new Array(c);var e=new Array(c);var f=new Array(c);for(var g=0;g<c;g++){f[g]=0}for(var h=0;h<c;h++){var i=0;var j=0;var k=0;for(var l=0;l<c;l++){if(f[l]!=1){for(var m=0;m<c;m++){if(f[m]==0){if(Math.abs(a[l][m])>=i){i=Math.abs(a[l][m]);j=l;k=m}}}}}++f[k];if(j!=k){for(var n=0;n<c;n++){var o=a[j][n];a[j][n]=a[k][n];a[k][n]=o}var p=b[j];b[j]=b[k];b[k]=p}e[h]=j;d[h]=k;if(a[k][k]==0){return false}var q=1/a[k][k];a[k][k]=1;for(var r=0;r<c;r++){a[k][r]*=q}b[k]*=q;for(var s=0;s<c;s++){if(s!=k){var t=a[s][k];a[s][k]=0;for(var u=0;u<c;u++){a[s][u]-=a[k][u]*t}b[s]-=b[k]*t}}}for(var v=c-1;v>=0;v--){if(e[v]!=d[v]){for(var w=0;w<c;w++){var x=a[w][e[v]];a[w][e[v]]=a[w][d[v]];a[w][d[v]]=x}}}return true},c:function(a,b,c,d,e){var f=new $$t.c(Number,0);for(var g=0;g<a;++g){while(g<a&&(isNaN(b(g))||isNaN(c(g)))){f.add(NaN);++g}var h=g;while(g<a&&!isNaN(b(g))&&!isNaN(c(g))){++g}--g;if(g-h>0){f.addRange($$t.$ha.b(h,g-h+1,b,c,d,e))}else{for(;h<=g;++h){f.add(NaN)}}}return f.toArray()},b:function(a,b,c,d,e,f){var $self=this;return $$t.$ha.a(b,function(g){return c(g+a)},function(g){return d(g+a)},e,f)},a:function(a,b,c,d,e){var f=new Array(a-1);var g=new Array(a);g[0]=isNaN(d)?0:-.5;f[0]=isNaN(d)?0:3/(b(1)-b(0))*((c(1)-c(0))/(b(1)-b(0))-d);for(var h=1;h<a-1;h++){var i=(b(h)-b(h-1))/(b(h+1)-b(h-1));var j=i*g[h-1]+2;g[h]=(i-1)/j;f[h]=(c(h+1)-c(h))/(b(h+1)-b(h))-(c(h)-c(h-1))/(b(h)-b(h-1));f[h]=(6*f[h]/(b(h+1)-b(h-1))-i*f[h-1])/j}var k=isNaN(e)?0:.5;var l=isNaN(e)?0:3/(b(a-1)-b(a-2))*(e-(c(a-1)-c(a-2))/(b(a-1)-b(a-2)));g[a-1]=(l-k*f[a-2])/(k*g[a-2]+1);for(var m=a-2;m>=0;m--){g[m]=g[m]*g[m+1]+f[m]}return g},f:function(a,b,c,d,e,f,g){var h=d-b;var i=(d-a)/h;var j=(a-b)/h;return i*c+j*e+((i*i*i-i)*f+(j*j*j-j)*g)*h*h/6},h:function(a,b,c,d){var e=new $$t.e0;var f=0;var g=-1;var h=NaN;var i=NaN;for(var j=0;j<a;j++){h=b(j);i=c(j);if(isNaN(h)||isNaN(i)){g=j-1;if(g-f>0){e.add($$t.$ha.g(f,g,b,c,d))}f=j+1}}if(!isNaN(h)&&!isNaN(i)){g=a-1}if(g-f>0){e.add($$t.$ha.g(f,g,b,c,d))}return e},g:function(a,b,c,d,e){var $self=this;e=.5*$$t.$bf.c(isNaN(e)?.5:e,0,1);var f=new $$t.e8;var g=b-a+1;if(g<2){return f}if(g==2){f.__startPoint={__x:c(a),__y:d(a),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};
var h=function(){var $ret=new $$t.fa(1);$ret.c({__x:c(a+1),__y:d(a+1),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}();f.__segments.add(h);return f}var i=new $$t.fd;var j=c(a);var k=d(a);var l=c(a+1);var m=d(a+1);while(l==j&&m==k&&a+1<=b){a++;l=c(a+1);m=d(a+1)}var n=l-j;var o=m-k;var p=Math.sqrt(n*n+o*o);for(var q=a+1;q<b;++q){var r=c(q);var s=d(q);if(r==j&&s==k){continue}var t=c(q+1)-c(q-1);var u=d(q+1)-d(q-1);var v=t*t+u*u;if(v<.01){t=-(d(q+1)-d(q));u=c(q+1)-c(q);v=t*t+u*u}v=Math.sqrt(v);var w=e*Math.sqrt((r-j)*(r-j)+(s-k)*(s-k));if(v>.01){i.b().add({__x:j+n*w/p,__y:k+o*w/p,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});i.b().add({__x:r-t*w/v,__y:s-u*w/v,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});i.b().add({__x:r,__y:s,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});j=r;k=s;n=t;o=u;p=v}}var x=b;var y=c(x);var z=d(x);var aa=c(x)-c(x-1);var ab=d(x)-d(x-1);var ac=aa*aa+ab*ab;var ad=e*Math.sqrt((y-j)*(y-j)+(z-k)*(z-k));i.b().add({__x:j+n*ad/p,__y:k+o*ad/p,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});i.b().add({__x:y-aa*ad/ac,__y:z-ab*ad/ac,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});i.b().add({__x:y,__y:z,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});f.__startPoint={__x:c(a),__y:d(a),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};f.__segments.add(i);return f},$type:new $.ig.Type("Numeric",$.ig.$ot)},true);$.ig.util.defType("LeastSquaresFit:hb","Numeric",{aa:function(){return $$t.$hb.t()&&$$t.$hb.u()&&$$t.$hb.s()&&$$t.$hb.w()&&$$t.$hb.x()&&$$t.$hb.r()&&$$t.$hb.y()&&$$t.$hb.z()},init:function(){$$t.$ha.init.call(this)},k:function(a,b,c){var $self=this;var d=0;var e=0;var f=0;var g=0;var h=0;for(var i=0;i<a;++i){var j=b(i);var k=c(i);if(!isNaN(j)&&!isNaN(k)){d+=k;e+=j*j;f+=j;g+=j*k;++h}}if(h<2){return null}var l=(d*e-f*g)/(h*e-f*f);var m=(h*g-f*d)/(h*e-f*f);return function(){var $ret=new Array;$ret.add(l);$ret.add(m);return $ret}()},ad:function(a,b){if(a.length!=2){return NaN}return a[0]+a[1]*b},t:function(){var $self=this;var a=new $$t.be;var b=new Array(2);for(var c=0;c<b.length;++c){b[c]=10*a.a()}var d=new $$t.c(Number,0);var e=new $$t.c(Number,0);for(var f=-100;f<100;++f){var g=f;var h=$$t.$hb.ad(b,g);if(!isNaN(h)){d.add(g);e.add(h)}}var i=$$t.$hb.k(d.count(),function(j){return d.__inner[j]},function(j){return e.__inner[j]});for(var j=0;j<b.length;++j){if(Math.abs(b[j]-i[j])>1e-4){}}return true},l:function(a,b,c){var $self=this;var d=0;var e=0;var f=0;var g=0;var h=0;for(var i=0;i<a;++i){var j=b(i);var k=c(i);if(!isNaN(j)&&!isNaN(k)&&j>0){var l=Math.log(j);d+=k*l;e+=k;f+=l;g+=l*l;++h}}if(h<2){return null}var m=(h*d-e*f)/(h*g-f*f);var n=(e-m*f)/h;return function(){var $ret=new Array;$ret.add(n);$ret.add(m);return $ret}()},ae:function(a,b){if(a.length!=2||b<0||Number.isInfinity(b)||isNaN(b)){return NaN}return a[0]+a[1]*Math.log(b)},u:function(){var $self=this;var a=new $$t.be;var b=new Array(2);for(var c=0;c<b.length;++c){b[c]=10*a.a()}var d=new $$t.c(Number,0);var e=new $$t.c(Number,0);for(var f=1;f<100;++f){var g=f;var h=$$t.$hb.ae(b,g);if(!isNaN(h)){d.add(g);e.add(h)}}var i=$$t.$hb.l(d.count(),function(j){return d.__inner[j]},function(j){return e.__inner[j]});for(var j=0;j<b.length;++j){if(Math.abs(b[j]-i[j])>1e-4){}}return true},j:function(a,b,c){var $self=this;var d=0;var e=0;var f=0;var g=0;var h=0;var i=0;for(var j=0;j<a;++j){var k=b(j);var l=c(j);if(!isNaN(k)&&!isNaN(l)&&l>0){var m=Math.log(l);d+=k*k*l;e+=l*m;f+=k*l;g+=k*l*m;h+=l;++i}}if(i<2){return null}var n=(d*e-f*g)/(h*d-f*f);var o=(h*g-f*e)/(h*d-f*f);return function(){var $ret=new Array;$ret.add(Math.exp(n));$ret.add(o);return $ret}()},ac:function(a,b){if(a.length!=2||b<0||Number.isInfinity(b)||isNaN(b)){return NaN}return a[0]*Math.exp(a[1]*b)},s:function(){var $self=this;var a=new $$t.be;var b=new Array(2);for(var c=0;c<b.length;++c){b[c]=2*a.a()}var d=new $$t.c(Number,0);var e=new $$t.c(Number,0);for(var f=1;f<100;++f){var g=f;var h=$$t.$hb.ac(b,g);if(!isNaN(h)){d.add(g);e.add(h)}}var i=$$t.$hb.j(d.count(),function(j){return d.__inner[j]},function(j){return e.__inner[j]});for(var j=0;j<b.length;++j){if(Math.abs(b[j]-i[j])>1e-4){return false}}return true},n:function(a,b,c){var $self=this;var d=0;var e=0;var f=0;var g=0;var h=0;for(var i=0;i<a;++i){var j=b(i);var k=c(i);if(!isNaN(j)&&!isNaN(k)&&j>0&&k>0){var l=Math.log(b(i));var m=Math.log(c(i));d+=l*m;e+=l;f+=m;g+=l*l;++h}}if(h<2){return null}var n=(h*d-e*f)/(h*g-e*e);var o=Math.exp((f-n*e)/h);return function(){var $ret=new Array;$ret.add(o);$ret.add(n);return $ret}()},ag:function(a,b){if(a.length!=2||b<0||Number.isInfinity(b)||isNaN(b)){return NaN}return a[0]*Math.pow(b,a[1])},w:function(){var $self=this;var a=new $$t.be;var b=new Array(2);for(var c=0;c<b.length;++c){b[c]=10*a.a()}var d=new $$t.c(Number,0);var e=new $$t.c(Number,0);for(var f=-100;f<100;++f){d.add(f);e.add($$t.$hb.ag(b,f))}var g=$$t.$hb.n(d.count(),function(h){return d.__inner[h]},function(h){return e.__inner[h]});for(var h=0;h<b.length;++h){if(Math.abs(b[h]-g[h])>1e-4){return false}}return true},o:function(a,b,c){return $$t.$hb.m(a,2,b,c)},ah:function(a,b){return $$t.$hb.af(a,b)},x:function(){return $$t.$hb.v(2)},i:function(a,b,c){return $$t.$hb.m(a,3,b,c)},ab:function(a,b){return $$t.$hb.af(a,b)},r:function(){return $$t.$hb.v(3)},p:function(a,b,c){return $$t.$hb.m(a,4,b,c)},ai:function(a,b){return $$t.$hb.af(a,b)},y:function(){return $$t.$hb.v(4)},q:function(a,b,c){return $$t.$hb.m(a,5,b,c)},aj:function(a,b){return $$t.$hb.af(a,b)},z:function(){return $$t.$hb.v(5)},m:function(a,b,c,d){var e=new Array(1+2*b);for(var f=0;f<e.length;f++){e[f]=0}var g=function(){var $ret=new Array($firstRank=b+1);var $currRet=$ret;for(var $rankInit=0;$rankInit<$firstRank;$rankInit++){$currRet[$rankInit]=new Array(b+1)}return $ret}();var h=new Array(b+1);for(var i=0;i<h.length;i++){h[i]=0}var j=0;for(var k=0;k<a;++k){var l=1;var m=c(k);if(!isNaN(m)&&!isNaN(d(k))){for(var n=0;n<e.length;++n){e[n]+=l;l*=m;++j}}}if(j<b){return null}for(var o=0;o<=b;++o){for(var p=0;p<=b;++p){g[o][p]=e[o+p]}}for(var q=0;q<a;++q){var r=c(q);var s=d(q);if(!isNaN(r)&&!isNaN(s)){for(var t=0;t<=b;++t){h[t]+=Math.pow(r,t)*s}}}return $$t.$ha.d(g,h)?h:null},af:function(a,b){if(a.length<1||Number.isInfinity(b)||isNaN(b)){return NaN}var c=0;for(var d=0;d<a.length;++d){c+=a[d]*Math.pow(b,d)}return c},v:function(a){var $self=this;var b=new $$t.be;var c=new Array(a+1);for(var d=0;d<c.length;++d){c[d]=2*b.a()}var e=new $$t.c(Number,0);var f=new $$t.c(Number,0);for(var g=-100;g<100;++g){var h=g;var i=$$t.$hb.af(c,h);if(!isNaN(i)){e.add(h);f.add(i)}}var j=$$t.$hb.m(e.count(),a,function(k){return e.__inner[k]},function(k){return f.__inner[k]});for(var k=0;k<a;++k){if(Math.abs(c[k]-j[k])>1e-4){return false}}return true},$type:new $.ig.Type("LeastSquaresFit",$$t.$ha.$type)},true);$.ig.util.defType("PathFigureUtil:hc","Object",{init:function(){$.ig.$op.init.call(this)},duplicate1:function(){var a=new $$t.e0;var c=this.getEnumerator();while(c.moveNext()){var b=c.current();a.add(b.duplicate())}return a},duplicate:function(){var $self=this;if($self==null){return null}var a=new $$t.e9;var c=$self.__segments.getEnumerator();while(c.moveNext()){var b=c.current();switch(b.a()){case 4:var d=b;var e=new $$t.e4;e.b(d.b());e.d(d.d());e.c(d.c());e.f(d.f());e.e(d.e());a.add(e);break;case 0:var f=b;var g=new $$t.fa(1);g.c(f.c());a.add(g);break;case 3:var h=b;var i=new $$t.fb;var k=h.__points.getEnumerator();while(k.moveNext()){var j=k.current();i.__points.add(j)}a.add(i);break}}return function(){var $ret=new $$t.e8;$ret.isClosed($self.__isClosed);$ret.isFilled($self.__isFilled);$ret.startPoint($self.__startPoint);$ret.segments(a);return $ret}()},$type:new $.ig.Type("PathFigureUtil",$.ig.$ot)},true);$$t.$cy.none=0;$$t.$cy.linearFit=1;$$t.$cy.quadraticFit=2;$$t.$cy.cubicFit=3;$$t.$cy.quarticFit=4;$$t.$cy.quinticFit=5;$$t.$cy.logarithmicFit=6;$$t.$cy.exponentialFit=7;$$t.$cy.powerLawFit=8;$$t.$cy.simpleAverage=9;$$t.$cy.exponentialAverage=10;$$t.$cy.modifiedAverage=11;$$t.$cy.cumulativeAverage=12;$$t.$cy.weightedAverage=13;$.ig.util.extCopy($.ig.ArrayUtil,[[[$.ig.EdgeClipper,$.ig.RearrangedList$1,$.ig.IList$1,$.ig.List$1,$.ig.ReadOnlyCollection$1,$.ig.IFastItemColumn$1,$.ig.FastItemColumn,$.ig.FastItemDateTimeColumn,$.ig.FastItemObjectColumn,$.ig.FastItemIntColumn],["shuffle$1","insertionIndex$11","insertionIndex$1","binarySearch$1"]]]);$.ig.util.extCopy($.ig.BrushUtil,[[[$.ig.Brush],["getLightened"]]]);$.ig.util.extCopy($.ig.ColorUtil,[[[$.ig.Color],["getInterpolation","getLightened","getAHSL","getAHSV"]]]);$.ig.util.extCopy($.ig.Extensions,[[[$.ig.PathGeometry],["reset1"]],[[$.ig.GeometryGroup],["reset"]],[[$.ig.FrameworkElement],["detach"]],[[$.ig.Panel],["transferChildrenTo"]],[[$.ig.Point],["isPlottable"]],[[$.ig.Rect],["isPlottable1"]]]);$.ig.util.extCopy($.ig.PathFigureUtil,[[[$.ig.PathFigureCollection],["duplicate1"]],[[$.ig.PathFigure],["duplicate"]]]);$.ig.util.extCopy($.ig.PointCollectionUtil,[[[$.ig.RearrangedList$1,$.ig.IList$1,$.ig.List$1,$.ig.ReadOnlyCollection$1,$.ig.IFastItemColumn$1,$.ig.FastItemColumn,$.ig.FastItemDateTimeColumn,$.ig.FastItemObjectColumn,$.ig.FastItemIntColumn,$.ig.EdgeClipper],["flattenTo","getBounds2","clipTo"]],[[$.ig.RearrangedList$1,$.ig.IEnumerable$1,$.ig.ICollection$1,$.ig.IList$1,$.ig.List$1,$.ig.IDictionary$2,$.ig.Dictionary$2,$.ig.GenericEnumerable$1,$.ig.ReadOnlyCollection$1,$.ig.Stack$1,$.ig.IOrderedEnumerable$1,$.ig.SortedList$1,$.ig.IGrouping$2,$.ig.IFastItemColumn$1,$.ig.FastItemColumn,$.ig.FastItemDateTimeColumn,$.ig.FastItemObjectColumn,$.ig.FastItemIntColumn,$.ig.EdgeClipper],["getBounds1","getBounds","getCentroid","toPointCollection","toPointList"]],[[$.ig.List$1],["getBounds3","getBounds4","toPointCollections"]]]);$.ig.util.extCopy($.ig.RectUtil,[[[$.ig.Rect],["getCenter","getArea","duplicate","getLeader","getDistanceSquared1","getDistanceSquared2","getDistanceSquared","contains","intersectsWith","intersectionArea","getInflated","inflate1","inflate","round","isNull","size","normalize","normalize1","getTopLeft","getTopRight","getBottomLeft","getBottomRight","getCorners","rotateAboutCenter","rotateAboutPoint"]]]);$.ig.util.extCopy($.ig.Queryable,[[[$.ig.SortedList$1,$.ig.IGrouping$2,$.ig.IEnumerable,$.ig.ICollection,$.ig.IList,$.ig.Array,$.ig.Dictionary,$.ig.XmlNodeList,$.ig.XmlNamedNodeMap,$.ig.IFastItemColumn$1,$.ig.FastItemColumn,$.ig.FastItemDateTimeColumn,$.ig.FastItemObjectColumn,$.ig.FastItemIntColumn,$.ig.FastItemsSource,$.ig.EdgeClipper,$.ig.RearrangedList$1],["asQueryable"]]]);$.ig.util.extCopy($.ig.Enumerable,[[[$.ig.SortedList$1,$.ig.IGrouping$2,$.ig.IFastItemColumn$1,$.ig.FastItemColumn,$.ig.FastItemDateTimeColumn,$.ig.FastItemObjectColumn,$.ig.FastItemIntColumn,$.ig.EdgeClipper,$.ig.RearrangedList$1],["where$1","where$11","select$2","selectMany$2","last$1","first$1","firstOrDefault$1","orderBy$2","orderByDescending$2","toList$1","concat$1","max","max$1","min","min$1","count$1","reverse$1","take$1","skip$1","any$1","contains$1","union$1","toArray$1","elementAt$1","sum","sum$1"]],[[$.ig.SortedList$1,$.ig.IGrouping$2,$.ig.IEnumerable,$.ig.ICollection,$.ig.IList,$.ig.Array,$.ig.Dictionary,$.ig.XmlNodeList,$.ig.XmlNamedNodeMap,$.ig.IFastItemColumn$1,$.ig.FastItemColumn,$.ig.FastItemDateTimeColumn,$.ig.FastItemObjectColumn,$.ig.FastItemIntColumn,$.ig.FastItemsSource,$.ig.EdgeClipper,$.ig.RearrangedList$1],["ofType$1","cast$1"]]])})(jQuery);$.ig=$.ig||{};(function($){var $$t={};$.ig.$currDefinitions=$$t;$.ig.util.bulkDefine(["IProvidesViewport:a","Void:b","ValueType:c","Object:d","Type:e","Boolean:f","String:g","IComparable:h","Number:i","Number:j","Single:k","Number:l","String:m","Array:n","RegExp:o","RuntimeTypeHandle:p","MethodInfo:q","MethodBase:r","MemberInfo:s","ParameterInfo:t","TypeCode:u","Enum:v","ConstructorInfo:w","Rect:x","Size:y","Point:z","Math:aa","Number:ab","Number:ac","Number:ad","Number:ae","Number:af","Number:ag","Number:ah","Number:ai","Series:aj","Control:ak","FrameworkElement:al","UIElement:am","DependencyObject:an","Dictionary:ao","IEnumerable:ap","IEnumerator:aq","DependencyProperty:ar","PropertyMetadata:as","PropertyChangedCallback:at","MulticastDelegate:au","IntPtr:av","DependencyPropertyChangedEventArgs:aw","DependencyPropertiesCollection:ax","UnsetValue:ay","Script:az","Binding:a0","PropertyPath:a1","Transform:a2","Visibility:a3","Style:a4","Thickness:a5","HorizontalAlignment:a6","VerticalAlignment:a7","INotifyPropertyChanged:a8","PropertyChangedEventHandler:a9","PropertyChangedEventArgs:ba","SeriesView:bb","ISchedulableRender:bc","XamDataChart:bd","SeriesViewer:be","SeriesViewerView:bf","CanvasRenderScheduler:bg","List$1:bh","IList$1:bi","ICollection$1:bj","IEnumerable$1:bk","IEnumerator$1:bl","IArrayList:bm","Array:bn","ICollection:bo","CompareCallback:bp","IList:bq","IDisposable:br","IArray:bs","Date:bt","Date:bu","Func$3:bv","Action$1:bw","Callback:bx","window:by","RenderingContext:bz","IRenderer:b0","Rectangle:b1","Shape:b2","Brush:b3","Color:b4","DoubleCollection:b5","Path:b6","Geometry:b7","GeometryType:b8","TextBlock:b9","Polygon:ca","PointCollection:cb","Polyline:cc","DataTemplateRenderInfo:cd","DataTemplatePassInfo:ce","ContentControl:cf","DataTemplate:cg","DataTemplateRenderHandler:ch","DataTemplateMeasureHandler:ci","DataTemplateMeasureInfo:cj","DataTemplatePassHandler:ck","Line:cl","XamOverviewPlusDetailPane:cm","XamOverviewPlusDetailPaneView:cn","XamOverviewPlusDetailPaneViewManager:co","JQueryObject:cp","Element:cq","ElementAttributeCollection:cr","ElementCollection:cs","WebStyle:ct","ElementNodeType:cu","Document:cv","EventListener:cw","IElementEventHandler:cx","ElementEventHandler:cy","ElementAttribute:cz","JQueryPosition:c0","JQueryCallback:c1","JQueryEvent:c2","JQueryUICallback:c3","EventProxy:c4","ModifierKeys:c5","Func$2:c6","MouseWheelHandler:c7","Delegate:c8","GestureHandler:c9","ContactHandler:da","TouchHandler:db","MouseOverHandler:dc","MouseHandler:dd","KeyHandler:de","Key:df","JQuery:dg","JQueryDeferred:dh","JQueryPromise:di","Action:dj","CanvasViewRenderer:dk","CanvasContext2D:dl","CanvasContext:dm","TextMetrics:dn","ImageData:dp","CanvasElement:dq","Gradient:dr","LinearGradientBrush:ds","GradientStop:dt","GeometryGroup:du","GeometryCollection:dv","FillRule:dw","PathGeometry:dx","PathFigureCollection:dy","LineGeometry:dz","RectangleGeometry:d0","EllipseGeometry:d1","ArcSegment:d2","PathSegment:d3","PathSegmentType:d4","SweepDirection:d5","PathFigure:d6","PathSegmentCollection:d7","LineSegment:d8","PolyLineSegment:d9","BezierSegment:ea","PolyBezierSegment:eb","GeometryUtil:ec","Tuple$2:ed","TransformGroup:ee","TransformCollection:ef","TranslateTransform:eg","RotateTransform:eh","ScaleTransform:ei","DivElement:ej","DOMEventProxy:ek","MSGesture:el","MouseEventArgs:em","EventArgs:en","DoubleAnimator:eo","EasingFunctionHandler:ep","ImageElement:eq","RectUtil:er","MathUtil:es","RuntimeHelpers:et","RuntimeFieldHandle:eu","PropertyChangedEventArgs$1:ev","InteractionState:ew","OverviewPlusDetailPaneMode:ex","IOverviewPlusDetailControl:ey","EventHandler$1:ez","ArgumentNullException:e0","Error:e1","OverviewPlusDetailViewportHost:e2","SeriesCollection:e3","ObservableCollection$1:e4","INotifyCollectionChanged:e5","NotifyCollectionChangedEventHandler:e6","NotifyCollectionChangedEventArgs:e7","NotifyCollectionChangedAction:e8","AxisCollection:e9","SeriesViewerViewManager:fa","AxisTitlePosition:fb","PointerTooltipStyle:fc","BrushCollection:fd","InterpolationMode:fe","Random:ff","ColorUtil:fg","CssHelper:fh","CssGradientUtil:fi","FontUtil:fj","FontInfo:fk","DataContext:fl","SeriesViewerComponentsFromView:fm","SeriesViewerSurfaceViewer:fn","Canvas:fo","Panel:fp","UIElementCollection:fq","RectChangedEventHandler:fr","RectChangedEventArgs:fs","RenderSurface:ft","StackedSeriesBase:fu","CategorySeries:fv","MarkerSeries:fw","MarkerSeriesView:fx","Marker:fy","MarkerTemplates:fz","Dictionary$2:f0","IDictionary$2:f1","IDictionary:f2","IEqualityComparer$1:f3","KeyValuePair$2:f4","NotImplementedException:f5","HashPool$2:f6","IHashPool$2:f7","IPool$1:f8","Func$1:f9","Pool$1:ga","IIndexedPool$1:gb","MarkerType:gc","SeriesVisualData:gd","PrimitiveVisualDataList:ge","IVisualData:gf","PrimitiveVisualData:gg","PrimitiveAppearanceData:gh","BrushAppearanceData:gi","StringBuilder:gj","AppearanceHelper:gk","LinearGradientBrushAppearanceData:gl","GradientStopAppearanceData:gm","SolidBrushAppearanceData:gn","EllipseGeometryData:go","GeometryData:gp","GetPointsSettings:gq","RectangleGeometryData:gr","LineGeometryData:gs","PathGeometryData:gt","PathFigureData:gu","LineSegmentData:gv","SegmentData:gw","PolylineSegmentData:gx","ArcSegmentData:gy","PolyBezierSegmentData:gz","LabelAppearanceData:g0","ShapeTags:g1","PointerTooltipVisualDataList:g2","MarkerVisualDataList:g3","MarkerVisualData:g4","PointerTooltipVisualData:g5","RectangleVisualData:g6","PolygonVisualData:g7","PolyLineVisualData:g8","IHasCategoryModePreference:g9","IHasCategoryAxis:ha","CategoryAxisBase:hb","Axis:hc","AxisView:hd","AxisLabelPanelBase:he","AxisLabelPanelBaseView:hf","AxisLabelSettings:hg","AxisLabelsLocation:hh","PropertyUpdatedEventHandler:hi","PropertyUpdatedEventArgs:hj","PathRenderingInfo:hk","NumericAxisBase:hl","NumericAxisBaseView:hm","NumericAxisRenderer:hn","AxisRendererBase:ho","Action$4:hp","Action$3:hq","Func$4:hr","AxisLabelManager:hs","LabelPosition:ht","Func$5:hu","AxisRenderingParametersBase:hv","RangeInfo:hw","TickmarkValues:hx","TickmarkValuesInitializationParameters:hy","CategoryMode:hz","CategoryAxisRenderingParameters:h0","LogarithmicTickmarkValues:h1","LogarithmicNumericSnapper:h2","Snapper:h3","LinearTickmarkValues:h4","LinearNumericSnapper:h5","AxisRangeChangedEventArgs:h6","AxisRange:h7","IEquatable$1:h8","AutoRangeCalculator:h9","NumericYAxis:ia","StraightNumericAxisBase:ib","StraightNumericAxisBaseView:ic","NumericScaler:id","ScalerParams:ie","NumericScaleMode:ig","LogarithmicScaler:ih","IScaler:ii","AxisOrientation:ij","NumericYAxisView:ik","VerticalAxisLabelPanel:il","VerticalAxisLabelPanelView:im","TitleSettings:io","NumericAxisRenderingParameters:ip","VerticalLogarithmicScaler:iq","VerticalLinearScaler:ir","LinearScaler:is","NumericRadiusAxis:it","NumericRadiusAxisView:iu","Enumerable:iv","IOrderedEnumerable$1:iw","SortedList$1:ix","PolarAxisRenderingManager:iy","ViewportUtils:iz","PolarAxisRenderingParameters:i0","IPolarRadialRenderingParameters:i1","RadialAxisRenderingParameters:i2","RadialAxisLabelPanel:i3","HorizontalAxisLabelPanelBase:i4","HorizontalAxisLabelPanelBaseView:i5","RadialAxisLabelPanelView:i6","NumericAngleAxis:i7","IAngleScaler:i8","NumericAngleAxisView:i9","AngleAxisLabelPanel:ja","AngleAxisLabelPanelView:jb","Extensions:jc","CategoryAngleAxis:jd","CategoryAngleAxisView:je","CategoryAxisBaseView:jf","CategoryAxisRenderer:jg","LinearCategorySnapper:jh","IFastItemsSource:ji","IFastItemColumn$1:jj","IFastItemColumnPropertyName:jk","CategoryTickmarkValues:jl","AxisComponentsForView:jm","AxisComponentsFromView:jn","AxisFormatLabelHandler:jo","XamDataChartView:jp","VisualExportHelper:jq","IFastItemsSourceProvider:jr","ContentInfo:js","AxisRangeChangedEventHandler:jt","ChartContentManager:ju","ChartContentType:jv","FragmentBase:jw","HorizontalAnchoredCategorySeries:jx","AnchoredCategorySeries:jy","IIsCategoryBased:jz","ICategoryScaler:j0","IBucketizer:j1","IDetectsCollisions:j2","IHasSingleValueCategory:j3","IHasCategoryTrendline:j4","IHasTrendline:j5","TrendLineType:j6","IPreparesCategoryTrendline:j7","TrendResolutionParams:j8","AnchoredCategorySeriesView:j9","CategorySeriesView:ka","ISupportsMarkers:kb","CategoryBucketCalculator:kc","ISortingAxis:kd","CategoryFrame:ke","Frame:kf","BrushUtil:kg","CategoryTrendLineManagerBase:kh","TrendLineManagerBase$1:ki","Clipper:kj","EdgeClipper:kk","LeftClipper:kl","BottomClipper:km","RightClipper:kn","TopClipper:ko","Flattener:kp","Stack$1:kq","ReverseArrayEnumerator$1:kr","SpiralTodo:ks","FastItemsSourceEventAction:kt","SortingTrendLineManager:ku","TrendFitCalculator:kv","LeastSquaresFit:kw","Numeric:kx","TrendAverageCalculator:ky","CategoryTrendLineManager:kz","AnchoredCategoryBucketCalculator:k0","CategoryDateTimeXAxis:k1","CategoryDateTimeXAxisView:k2","TimeAxisDisplayType:k3","FastItemDateTimeColumn:k4","IFastItemColumnInternal:k5","FastItemColumn:k6","FastReflectionHelper:k7","HorizontalAxisLabelPanel:k8","CoercionInfo:k9","FastItemsSourceEventArgs:la","SortedListView$1:lb","ArrayUtil:lc","Comparison$1:ld","CategoryLineRasterizer:le","UnknownValuePlotting:lf","Action$5:lg","PenLineCap:lh","CategoryFramePreparer:li","CategoryFramePreparerBase:lj","FramePreparer:lk","ISupportsErrorBars:ll","DefaultSupportsMarkers:lm","DefaultProvidesViewport:ln","DefaultSupportsErrorBars:lo","PreparationParams:lp","CategoryYAxis:lq","CategoryYAxisView:lr","SyncSettings:ls","NumericXAxis:lt","NumericXAxisView:lu","HorizontalLogarithmicScaler:lv","HorizontalLinearScaler:lw","ValuesHolder:lx","LineSeries:ly","LineSeriesView:lz","PathVisualData:l0","CategorySeriesRenderManager:l1","AssigningCategoryStyleEventArgs:l2","AssigningCategoryStyleEventArgsBase:l3","GetCategoryItemsHandler:l4","HighlightingInfo:l5","HighlightingState:l6","AssigningCategoryMarkerStyleEventArgs:l7","HighlightingManager:l8","SplineSeriesBase:l9","SplineSeriesBaseView:ma","SplineType:mb","CollisionAvoider:mc","SafeSortedReadOnlyDoubleCollection:md","SafeReadOnlyDoubleCollection:me","ReadOnlyCollection$1:mf","SafeEnumerable:mg","AreaSeries:mh","AreaSeriesView:mi","LegendTemplates:mj","PieChartBase:mk","PieChartBaseView:ml","PieChartViewManager:mm","PieChartVisualData:mn","PieSliceVisualDataList:mo","PieSliceVisualData:mp","Slice:mq","SliceView:mr","PieLabel:ms","PieSliceDataContext:mt","MouseButtonEventArgs:mu","FastItemsSource:mv","ArgumentException:mw","ColumnReference:mx","FastItemObjectColumn:my","FastItemIntColumn:mz","LabelsPosition:m0","LeaderLineType:m1","OthersCategoryType:m2","IndexCollection:m3","LegendBase:m4","LegendBaseView:m5","LegendBaseViewManager:m6","GradientData:m7","GradientStopData:m8","DataChartLegendMouseButtonEventArgs:m9","DataChartMouseButtonEventArgs:na","ChartLegendMouseEventArgs:nb","ChartMouseEventArgs:nc","DataChartLegendMouseButtonEventHandler:nd","DataChartLegendMouseEventHandler:ne","SliceClickEventHandler:nf","SliceClickEventArgs:ng","ItemLegend:nh","ItemLegendView:ni","LegendItemInfo:nj","BubbleSeries:nk","ScatterBase:nl","ScatterBaseView:nm","MarkerManagerBase:nn","MarkerManagerBucket:no","ScatterTrendLineManager:np","NumericMarkerManager:nq","OwnedPoint:nr","CollisionAvoidanceType:ns","SmartPlacer:nt","ISmartPlaceable:nu","SmartPosition:nv","SmartPlaceableWrapper$1:nw","ScatterAxisInfoCache:nx","ScatterErrorBarSettings:ny","ErrorBarSettingsBase:nz","EnableErrorBars:n0","ErrorBarCalculatorReference:n1","IErrorBarCalculator:n2","ErrorBarCalculatorType:n3","ScatterFrame:n4","ScatterFrameBase$1:n5","DictInterpolator$3:n6","Action$6:n7","SyncLink:n8","ChartCollection:n9","FastItemsSourceReference:oa","SyncManager:ob","SyncLinkManager:oc","Debug:od","ErrorBarsHelper:oe","BubbleSeriesView:of","BubbleMarkerManager:og","SizeScale:oh","BrushScale:oi","ScaleLegend:oj","ScaleLegendView:ok","CustomPaletteBrushScale:ol","BrushSelectionMode:om","ValueBrushScale:on","FunnelSliceDataContext:oo","XamFunnelChart:op","IItemProvider:oq","MessageHandler:or","MessageHandlerEventHandler:os","Message:ot","ServiceProvider:ou","MessageChannel:ov","MessageEventHandler:ow","Array:ox","XamFunnelConnector:oy","XamFunnelController:oz","SliceInfoList:o0","SliceInfoUnaryComparison:o1","SliceInfo:o2","SliceAppearance:o3","PointList:o4","FunnelSliceVisualData:o5","Bezier:o6","Array:o7","BezierPoint:o8","BezierOp:o9","BezierPointComparison:pa","DoubleColumn:pb","ObjectColumn:pc","XamFunnelView:pd","IOuterLabelWidthDecider:pe","IFunnelLabelSizeDecider:pf","MouseLeaveMessage:pg","InteractionMessage:ph","MouseMoveMessage:pi","MouseButtonMessage:pj","MouseButtonAction:pk","MouseButtonType:pl","SetAreaSizeMessage:pm","RenderingMessage:pn","RenderSliceMessage:po","RenderOuterLabelMessage:pp","TooltipValueChangedMessage:pq","TooltipUpdateMessage:pr","FunnelDataContext:ps","PropertyChangedMessage:pt","ConfigurationMessage:pu","ClearMessage:pv","ClearTooltipMessage:pw","ContainerSizeChangedMessage:px","ViewportChangedMessage:py","ViewPropertyChangedMessage:pz","OuterLabelAlignment:p0","FunnelSliceDisplay:p1","SliceSelectionManager:p2","DataUpdatedMessage:p3","ItemsSourceAction:p4","DictionaryEntry:p5","FunnelFrame:p6","UserSelectedItemsChangedMessage:p7","LabelSizeChangedMessage:p8","FrameRenderCompleteMessage:p9","IntColumn:qa","IntColumnComparison:qb","Convert:qc","SelectedItemsChangedMessage:qd","ModelUpdateMessage:qe","SliceClickedMessage:qf","FunnelSliceClickedEventHandler:qg","FunnelSliceClickedEventArgs:qh","FunnelChartVisualData:qi","FunnelSliceVisualDataList:qj","WaterfallSeries:qk","WaterfallSeriesView:ql","CategoryTransitionInMode:qm","FinancialSeries:qn","FinancialSeriesView:qo","FinancialBucketCalculator:qp","CategoryTransitionSourceFramePreparer:qq","TransitionInSpeedType:qr","AssigningCategoryStyleEventHandler:qs","FinancialValueList:qt","FinancialEventHandler:qu","FinancialEventArgs:qv","FinancialCalculationDataSource:qw","CalculatedColumn:qx","FinancialCalculationSupportingCalculations:qy","ColumnSupportingCalculation:qz","SupportingCalculation$1:q0","SupportingCalculationStrategy:q1","DataSourceSupportingCalculation:q2","ProvideColumnValuesStrategy:q3","StepLineSeries:q4","StepLineSeriesView:q5","StepAreaSeries:q6","StepAreaSeriesView:q7","RangeAreaSeries:q8","HorizontalRangeCategorySeries:q9","RangeCategorySeries:ra","IHasHighLowValueCategory:rb","RangeCategorySeriesView:rc","RangeCategoryBucketCalculator:rd","RangeCategoryFramePreparer:re","DefaultCategoryTrendlineHost:rf","DefaultCategoryTrendlinePreparer:rg","DefaultHighLowValueProvider:rh","HighLowValuesHolder:ri","CategoryMarkerManager:rj","RangeValueList:rk","RangeAreaSeriesView:rl","LineFragment:rm","LineFragmentView:rn","LineFragmentBucketCalculator:ro","IStacked100Series:rp","StackedFragmentSeries:rq","StackedAreaSeries:rr","HorizontalStackedSeriesBase:rs","StackedSplineAreaSeries:rt","AreaFragment:ru","AreaFragmentView:rv","AreaFragmentBucketCalculator:rw","SplineAreaFragment:rx","SplineFragmentBase:ry","SplineAreaFragmentView:rz","StackedSeriesManager:r0","StackedSeriesCollection:r1","StackedSeriesView:r2","StackedBucketCalculator:r3","StackedLineSeries:r4","StackedSplineSeries:r5","StackedColumnSeries:r6","StackedColumnSeriesView:r7","StackedColumnBucketCalculator:r8","ColumnFragment:r9","ColumnFragmentView:sa","StackedBarSeries:sb","VerticalStackedSeriesBase:sc","IBarSeries:sd","StackedBarSeriesView:se","StackedBarBucketCalculator:sf","BarFragment:sg","SplineFragment:sh","SplineFragmentView:si","SplineFragmentBucketCalculator:sj","Nullable$1:sk","DefaultSingleValueProvider:sl","SingleValuesHolder:sm","RenderRequestedEventArgs:sn","ChartTitleVisualData:so","VisualDataSerializer:sp","AxisVisualData:sq","AxisLabelVisualDataList:sr","AxisLabelVisualData:ss","AssigningCategoryMarkerStyleEventHandler:st","SeriesComponentsForView:su","StackedSeriesFramePreparer:sv","StackedSeriesCreatedEventHandler:sw","StackedSeriesCreatedEventArgs:sx","StackedSeriesVisualData:sy","SeriesVisualDataList:sz","LabelPanelArranger:s0","LabelPanelsArrangeState:s1","Action$2:s2","ChartVisualData:s3","AxisVisualDataList:s4","WindowResponse:s5","SeriesViewerComponentsForView:s6","DataChartCursorEventHandler:s7","ChartCursorEventArgs:s8","DataChartMouseButtonEventHandler:s9","DataChartMouseEventHandler:ta","AnnotationLayer:tb","AnnotationLayerView:tc","GridMode:td","DataChartAxisRangeChangedEventHandler:te","ChartAxisRangeChangedEventArgs:tf","PolarBase:tg","PolarBaseView:th","PolarTrendLineManager:ti","PolarLinePlanner:tj","AngleRadiusPair:tk","PolarAxisInfoCache:tl","SeriesRenderer$2:tm","SeriesRenderingArguments:tn","PolarFrame:to","PolarAxes:tp","RadialBase:tq","RadialBaseView:tr","RadialBucketCalculator:ts","RadialFrame:tt","RadialAxes:tu","SeriesComponentsFromView:tv","EasingFunctions:tw","TrendCalculators:tx","CategoryXAxis:up","CategoryXAxisView:uq","BarFramePreparer:us","BarTrendFitCalculator:ut","BarTrendLineManager:uu","VerticalAnchoredCategorySeries:uv","BarSeries:uw","BarSeriesView:ux","BarBucketCalculator:uy","Legend:vy","LegendView:vz","IndicatorDisplayType:v6","FinancialIndicator:v7","FinancialIndicatorView:v8","FinancialIndicatorBucketCalculator:v9","IndicatorRenderer:wa","PathFigureUtil:wb","StrategyBasedIndicator:wc","IndicatorCalculationStrategy:wd","AbsoluteVolumeOscillatorIndicator:we","AbsoluteVolumeOscillatorIndicatorStrategy:wf","AccumulationDistributionIndicator:wg","AccumulationDistributionIndicatorStrategy:wh","StreamingIndicatorCalculationStrategy:wi","AverageDirectionalIndexIndicator:wj","AverageDirectionalIndexIndicatorStrategy:wk","AverageTrueRangeIndicator:wl","AverageTrueRangeIndicatorStrategy:wm","FinancialOverlay:wn","BollingerBandsOverlay:wo","BollingerBandsOverlayView:wp","BollingerBandsBucketCalculator:wq","BollingerBandWidthIndicator:wr","BollingerBandWidthIndicatorStrategy:ws","ChaikinOscillatorIndicator:wt","ChaikinOscillatorIndicatorStrategy:wu","ChaikinVolatilityIndicator:wv","ChaikinVolatilityIndicatorStrategy:ww","CommodityChannelIndexIndicator:wx","CommodityChannelIndexIndicatorStrategy:wy","CustomIndicator:wz","CustomIndicatorStrategy:w0","PriceChannelOverlayView:w1","PriceChannelOverlay:w2","PriceChannelBucketCalculator:w3","DetrendedPriceOscillatorIndicator:w4","DetrendedPriceOscillatorIndicatorStrategy:w5","EaseOfMovementIndicator:w6","EaseOfMovementIndicatorStrategy:w7","FastStochasticOscillatorIndicator:w8","FastStochasticOscillatorIndicatorStrategy:w9","PercentKCalculationStrategy:xa","ForceIndexIndicator:xb","ForceIndexIndicatorStrategy:xc","FullStochasticOscillatorIndicator:xd","FullStochasticOscillatorIndicatorStrategy:xe","ItemwiseIndicatorCalculationStrategy:xf","ItemwiseStrategyBasedIndicator:xg","ItemwiseStrategyCalculationStrategy:xh","MarketFacilitationIndexIndicator:xi","MarketFacilitationIndexIndicatorStrategy:xj","MassIndexIndicator:xk","MassIndexIndicatorStrategy:xl","MedianPriceIndicator:xm","MedianPriceIndicatorStrategy:xn","MoneyFlowIndexIndicator:xo","MoneyFlowIndexIndicatorStrategy:xp","MovingAverageConvergenceDivergenceIndicator:xq","MovingAverageConvergenceDivergenceIndicatorStrategy:xr","NegativeVolumeIndexIndicator:xs","NegativeVolumeIndexIndicatorStrategy:xt","OnBalanceVolumeIndicator:xu","OnBalanceVolumeIndicatorStrategy:xv","PercentagePriceOscillatorIndicator:xw","PercentagePriceOscillatorIndicatorStrategy:xx","PercentageVolumeOscillatorIndicator:xy","PercentageVolumeOscillatorIndicatorStrategy:xz","PositiveVolumeIndexIndicator:x0","PositiveVolumeIndexIndicatorStrategy:x1","PriceVolumeTrendIndicator:x2","PriceVolumeTrendIndicatorStrategy:x3","RateOfChangeAndMomentumIndicator:x4","RateOfChangeAndMomentumIndicatorStrategy:x5","RelativeStrengthIndexIndicator:x6","RelativeStrengthIndexIndicatorStrategy:x7","SlowStochasticOscillatorIndicator:x8","SlowStochasticOscillatorIndicatorStrategy:x9","StandardDeviationIndicator:ya","StandardDeviationIndicatorStrategy:yb","StochRSIIndicator:yc","StochRSIIndicatorStrategy:yd","TRIXIndicator:ye","TRIXIndicatorStrategy:yf","TypicalPriceIndicator:yg","TypicalPriceIndicatorStrategy:yh","UltimateOscillatorIndicator:yi","UltimateOscillatorIndicatorCalculationStrategy:yj","WeightedCloseIndicator:yk","WeightedCloseIndicatorStrategy:yl","WilliamsPercentRIndicator:ym","WilliamsPercentRIndicatorStrategy:yn","PriceDisplayType:zm","FinancialPriceSeries:zp","FinancialPriceSeriesView:zq","FinancialPriceBucketCalculator:zr","AbstractEnumerable:aax","AbstractEnumerator:aay","GenericEnumerable$1:aaz","GenericEnumerator$1:aa0"]);
$.ig.util.defType("PriceDisplayType:zm","Enum",{init:function(){$.ig.$ep.init.call(this)},$type:new $.ig.Type("PriceDisplayType",$.ig.$ep.$type)},true);$.ig.util.defType("TimeAxisDisplayType:k3","Enum",{init:function(){$.ig.$ep.init.call(this)},$type:new $.ig.Type("TimeAxisDisplayType",$.ig.$ep.$type)},true);$.ig.util.defType("IndicatorDisplayType:v6","Enum",{init:function(){$.ig.$ep.init.call(this)},$type:new $.ig.Type("IndicatorDisplayType",$.ig.$ep.$type)},true);$.ig.util.defType("CategoryTransitionInMode:qm","Enum",{init:function(){$.ig.$ep.init.call(this)},$type:new $.ig.Type("CategoryTransitionInMode",$.ig.$ep.$type)},true);$.ig.util.defType("NumericScaleMode:ig","Enum",{init:function(){$.ig.$ep.init.call(this)},$type:new $.ig.Type("NumericScaleMode",$.ig.$ep.$type)},true);$.ig.util.defType("Frame:kf","Object",{init:function(){$.ig.$op.init.call(this)},d:function(a,b,c){},b:function(a,b,c,d){var e=c.count();var f=d.count();var g=Math.max(e,f);var h=1-b;if(a.count()<g){a.insertRange(a.count(),new Array(g-a.count()))}if(a.count()>g){a.removeRange(g,a.count()-g)}for(var i=0;i<Math.min(e,f);++i){a.__inner[i]={__x:c.__inner[i].__x*h+d.__inner[i].__x*b,__y:c.__inner[i].__y*h+d.__inner[i].__y*b,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}if(e<f){var j=e>0?c.__inner[e-1]:{__x:0,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};for(var k=e;k<f;++k){a.__inner[k]={__x:j.__x*h+d.__inner[k].__x*b,__y:j.__y*h+d.__inner[k].__y*b,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}}if(e>f){var l=f>0?d.__inner[f-1]:{__x:0,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};for(var m=f;m<e;++m){a.__inner[m]={__x:c.__inner[m].__x*h+l.__x*b,__y:c.__inner[m].__y*h+l.__y*b,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}}},f:function(a,b,c,d,e){var f=c.count();var g=d.count();var h=Math.max(f,g);var i=1-b;if(a.count()<h){a.insertRange(a.count(),new Array(h-a.count()))}if(a.count()>h){a.removeRange(h,a.count()-h)}var j;var k;for(var l=0;l<Math.min(f,g);++l){j=b*e.__inner[l];j=j>1?1:j;k=1-j;a.__inner[l]={__x:c.__inner[l].__x*k+d.__inner[l].__x*j,__y:c.__inner[l].__y*k+d.__inner[l].__y*j,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}if(f<g){var m=f>0?c.__inner[f-1]:{__x:0,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};for(var n=f;n<g;++n){j=b*e.__inner[n];j=j>1?1:j;k=1-j;a.__inner[n]={__x:m.__x*k+d.__inner[n].__x*j,__y:m.__y*k+d.__inner[n].__y*j,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}}if(f>g){var o=g>0?d.__inner[g-1]:{__x:0,__y:0,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};for(var p=g;p<f;++p){j=b*e.__inner[p];j=j>1?1:j;k=1-j;a.__inner[p]={__x:c.__inner[p].__x*k+o.__x*j,__y:c.__inner[p].__y*k+o.__y*j,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}}},a:function(a,b,c,d){var e=c.count();var f=d.count();var g=Math.max(e,f);var h=1-b;if(a.count()<g){var i=new Array(g-a.count());for(var j=0;j<g-a.count();j++){i[j]=0}a.insertRange(a.count(),i)}if(a.count()>g){a.removeRange(g,a.count()-g)}for(var k=0;k<Math.min(e,f);++k){a.__inner[k]=c.__inner[k]*h+d.__inner[k]*b}if(e<f){var l=e>0?c.__inner[e-1]:0;for(var m=e;m<f;++m){a.__inner[m]=l*h+d.__inner[m]*b}}if(e>f){var n=f>0?d.__inner[f-1]:0;for(var o=f;o<e;++o){a.__inner[o]=c.__inner[o]*h+n*b}}},e:function(a,b,c,d,e){var f=c.count();var g=d.count();var h=Math.max(f,g);var i=1-b;if(a.count()<h){var j=new Array(h-a.count());for(var k=0;k<h-a.count();k++){j[k]=0}a.insertRange(a.count(),j)}if(a.count()>h){a.removeRange(h,a.count()-h)}var l;var m;for(var n=0;n<Math.min(f,g);++n){l=b*e.__inner[n];l=l>1?1:l;m=1-l;a.__inner[n]=c.__inner[n]*m+d.__inner[n]*l}if(f<g){var o=f>0?c.__inner[f-1]:0;for(var p=f;p<g;++p){l=b*e.__inner[p];l=l>1?1:l;m=1-l;a.__inner[p]=o*m+d.__inner[p]*l}}if(f>g){var q=g>0?d.__inner[g-1]:0;for(var r=g;r<f;++r){l=b*e.__inner[r];l=l>1?1:l;m=1-l;a.__inner[r]=c.__inner[r]*m+q*l}}},g:function(a,b,c,d){var e=$$t.$kg.g(b,a,c,d);return e},c:function(a,b,c,d,e){var $self=this;var f=c.count();var g=d.count();var h=Math.max(f,g);var i=function(){var $ret=new $$t.b3;$ret.fill("transparent");return $ret}();var j=1-b;if(a.count()<h){var k=new Array(h-a.count());for(var l=0;l<h-a.count();l++){k[l]=new $$t.b3}a.insertRange(a.count(),k)}if(a.count()>h){a.removeRange(h,a.count()-h)}for(var m=0;m<Math.min(f,g);++m){a.__inner[m]=$$t.$kf.g(b,c.__inner[m],d.__inner[m],e)}if(f<g){var n=f>0?c.__inner[f-1]:i;for(var o=f;o<g;++o){a.__inner[o]=$$t.$kf.g(b,n,d.__inner[o],e)}}if(f>g){var p=g>0?d.__inner[g-1]:i;for(var q=g;q<f;++q){a.__inner[q]=$$t.$kf.g(b,c.__inner[q],p,e)}}},$type:new $.ig.Type("Frame",$.ig.$ot)},true);$.ig.util.defType("AutoRangeCalculator:h9","Object",{init:function(){$.ig.$op.init.call(this)},b:function(a){return a.fb().width()},a:function(a){return a.fb().height()},c:function(a,b,c,d,e,f,g){f=!isNaN(b)&&!Number.isInfinity(b)?b:Number.POSITIVE_INFINITY;g=!isNaN(c)&&!Number.isInfinity(c)?c:Number.NEGATIVE_INFINITY;if(Number.isInfinity(f)||Number.isInfinity(g)){if(a!=null){var h=a.fi();if(h!=null){f=Math.min(f,h.c());g=Math.max(g,h.b())}}}if(!Number.isInfinity(f)&&!Number.isInfinity(g)){if(f==g&&f!=0){f*=f>0?.9:1.1;g*=g>0?1.1:.9}if(f==g&&f==0){g=1}if(b>c){var i=c;c=b;b=i}var j=isNaN(b)||Number.isInfinity(b)?f:b;var k=isNaN(c)||Number.isInfinity(c)?g:c;if(d){if(j<=0){if(k>1){j=1}else{j=Math.pow(e,Math.floor(Math.logBase(k,e)))}}if(isNaN(b)||Number.isInfinity(b)){f=Math.pow(e,Math.floor(Math.logBase(j,e)))}else{f=j}if(isNaN(c)||Number.isInfinity(c)){g=Math.pow(e,Math.ceil(Math.logBase(k,e)))}else{g=k}}else{var l=Math.pow(10,Math.floor(Math.log10(k-j))-1);var m=$$t.$h9.b(a);if($.ig.util.cast($$t.$ia.$type,a)!==null){m=$$t.$h9.a(a)}if($.ig.util.cast($$t.$it.$type,a)!==null&&m>0){var n=a.g7();var o=a.g6();m=Math.min($$t.$h9.b(a),$$t.$h9.a(a))*(n-o)/2;m=Math.max(m,14)}if(a!=null&&m>0&&!a.hasUserMinimum()&&!a.hasUserMaximum()){var p=new $$t.h5(0,f,g,m);l=p.e()}if((isNaN(b)||Number.isInfinity(b))&&!isNaN(f)&&!isNaN(l)&&l!=0){f=l*Math.floor(f/l)}else{f=j}if((isNaN(c)||Number.isInfinity(c))&&!isNaN(g)&&!isNaN(l)&&l!=0){var q=Math.ceil(g/l);g=l*q}else{g=k}}}return{minimumValue:f,maximumValue:g}},$type:new $.ig.Type("AutoRangeCalculator",$.ig.$ot)},true);$.ig.util.defType("AxisLabelManager:hs","Object",{_f:null,f:function(value){if(arguments.length===1){this._f=value;return value}else{return this._f}},_e:null,e:function(value){if(arguments.length===1){this._e=value;return value}else{return this._e}},_b:null,b:function(value){if(arguments.length===1){this._b=value;return value}else{return this._b}},_a:null,a:function(value){if(arguments.length===1){this._a=value;return value}else{return this._a}},_c:null,c:function(value){if(arguments.length===1){this._c=value;return value}else{return this._c}},init:function(){var $self=this;$.ig.$op.init.call(this);this.c(function(a){})},k:function(a,b){this.f().clear();this.e().clear();this.b().z(this.a());this.b().b3(a);this.b().b2(b);if(b.isEmpty()||a.isEmpty()){this.o(0)}if(this.a().a2().c()==0){this.b().y().clear()}},h:function(a,b){this.f().add(a);this.e().add(b)},p:function(){this.b().ar(this.f());this.b().aq(this.e())},i:function(a){},j:function(a){},g:function(a){this.b().y().add(a)},n:function(a){this.b().bb(a)},l:function(a){this.c()(a)},q:function(a){var b=this.a().a2().item(a);return b},o:function(a){if(this.a()==null){return}this.a().a2().c(a)},d:function(){if(this.a()==null||this.a().labelSettings()==null){return false}return this.a().labelSettings().visibility()!=0},m:function(){this.a().a2().c(0);this.a().aj().as().clear()},$type:new $.ig.Type("AxisLabelManager",$.ig.$ot)},true);$.ig.util.defType("Snapper:h3","Object",{init:function(){$.ig.$op.init.call(this)},a:function(a,b){var c=1;if(b>0){for(;b>0;--b){c*=a}}else{for(;b<0;++b){c/=a}}return c},b:function(a,b){var c=Math.floor(Math.log10(a));var d=a/Math.pow(10,c);if(b){var e=d<1.5?1:d<3?2:d<7?5:10;return e*Math.pow(10,c)}else{var f=d<=1?1:d<=2?2:d<=5?5:10;return f*Math.pow(10,c)}},d:function(a,b){var c=$$t.$bu.zero;if(a.totalDays()>1){c=$$t.$bu.fromDays(Math.ceil(a.totalDays()))}else if(a.totalHours()>1){c=$$t.$bu.fromHours(Math.ceil(a.totalHours()))}else if(a.totalMinutes()>1){c=$$t.$bu.fromMinutes(Math.ceil(a.totalMinutes()))}else if(a.totalSeconds()>1){c=$$t.$bu.fromSeconds(Math.ceil(a.totalSeconds()))}else if(a.totalMilliseconds()>1){c=$$t.$bu.fromMilliseconds(Math.ceil(a.totalMilliseconds()))}return c},$type:new $.ig.Type("Snapper",$.ig.$ot)},true);$.ig.util.defType("LinearNumericSnapper:h5","Snapper",{init:function(initNumber,a,b,c){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$$t.$h3.init.call(this);this.h(a,b,c,10)},init1:function(initNumber,a,b,c,d){$$t.$h3.init.call(this);this.h(a,b,c,d)},h:function(a,b,c,d){this.e(NaN);this.g(0);this.f(0);var e=Math.min(d,c/7);if(e>0){var f=$$t.$h3.b(b-a,false);this.e($$t.$h3.b(f/(e-1),true));var g=Math.floor(a/this.e())*this.e();var h=Math.ceil(b/this.e())*this.e();e=Math.round((h-g)/this.e());if(c/e>7*10){this.f(10)}else{if(c/e>7*5){this.f(5)}else{if(c/e>7*2){this.f(2)}}}this.g(Math.max(-Math.floor(Math.log10(this.e())),0))}},_e:0,e:function(value){if(arguments.length===1){this._e=value;return value}else{return this._e}},_g:0,g:function(value){if(arguments.length===1){this._g=value;return value}else{return this._g}},_f:0,f:function(value){if(arguments.length===1){this._f=value;return value}else{return this._f}},$type:new $.ig.Type("LinearNumericSnapper",$$t.$h3.$type)},true);$.ig.util.defType("LogarithmicNumericSnapper:h2","Snapper",{init:function(a,b,c,d){$$t.$h3.init.call(this);this.e(1);this.f(c)},_e:0,e:function(value){if(arguments.length===1){this._e=value;return value}else{return this._e}},_f:0,f:function(value){if(arguments.length===1){this._f=value;return value}else{return this._f}},$type:new $.ig.Type("LogarithmicNumericSnapper",$$t.$h3.$type)},true);$.ig.util.defType("LinearCategorySnapper:jh","Snapper",{init:function(initNumber,a,b,c){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$$t.$jh.init1.call(this,1,a,b,c,NaN,0)},init1:function(initNumber,a,b,c,d,e){$$t.$h3.init.call(this);this.e(d);this.f(0);var f=Math.min(10,c/7);if(f>0){var g=$$t.$h3.b(b-a,false);if(isNaN(this.e())){this.e($$t.$h3.b(g/(f-1),true))}if(this.e()<1){this.e(1)}var h=Math.floor(a/this.e())*this.e();var i=Math.ceil(b/this.e())*this.e();f=Math.round((i-h)/this.e());if(c/f>7*10){this.f(10)}else{if(c/f>7*5){this.f(5)}else{if(c/f>7*2){this.f(2)}}}}},_e:0,e:function(value){if(arguments.length===1){this._e=value;return value}else{return this._e}},_f:0,f:function(value){if(arguments.length===1){this._f=value;return value}else{return this._f}},$type:new $.ig.Type("LinearCategorySnapper",$$t.$h3.$type)},true);$.ig.util.defType("IScaler:ii","Object",{$type:new $.ig.Type("IScaler",null)},true);$.ig.util.defType("ICategoryScaler:j0","Object",{$type:new $.ig.Type("ICategoryScaler",null,[$$t.$ii.$type])},true);$.ig.util.defType("CategoryAxisBase:hb","Axis",{ap:function(){return new $$t.jf(this)},dl:function(a){$$t.$hc.dl.call(this,a);this.fi(a)},_fi:null,fi:function(value){if(arguments.length===1){this._fi=value;return value}else{return this._fi}},init:function(){this.f3=0;this.fn=false;$$t.$hc.init.call(this);this.ft(new $$t.bh(Number,0))},bt:function(a,b,c){var d=$$t.$hc.bt.call(this,a,b,c);if(!d){return false}return this.itemsSource()!=null&&this.itemsCount()>0},gm:function(){if(this.fm()!=null&&this.at()!=null&&this.itemsSource()!=null){this.fm(this.at().releaseFastItemsSource(this.itemsSource()))}},gl:function(){if(this.fm()==null&&this.at()!=null&&this.itemsSource()!=null){this.fm(this.at().getFastItemsSource(this.itemsSource()))}},_ft:null,ft:function(value){if(arguments.length===1){this._ft=value;return value}else{return this._ft}},isCategory:function(){return true},getCategoryBoundingBox:function(a,b,c){if(this.isAngular()){return $$t.$x.empty()}return this.getCategoryBoundingBoxHelper(a,b,c,this.isVertical())},getCategoryBoundingBoxHelper:function(a,b,c,d){var e=0;var f=a.__x;var g=this.fb().left();var h=this.fb().right();if(d){f=a.__y;g=this.fb().top();h=this.fb().bottom()}var i=this.ft();if(d&&!this.isInverted()||!d&&this.isInverted()){i=new $$t.bh(Number,0);for(var j=this.ft().count()-1;j>=0;j--){i.add(this.ft().__inner[j])}}if(this.categoryMode()==0){if(b){var k;if(d){k=new $$t.x(0,this.fb().left(),a.__y-c/2,this.fb().width(),c)}else{k=new $$t.x(0,a.__x-c/2,this.fb().top(),c,this.fb().height())}k.intersect(this.fb());return k}else{if(f>h){return $$t.$x.empty()}if(f<g){return $$t.$x.empty()}var l=Number.MAX_VALUE;var m=-1;for(e=0;e<i.count();e++){var n=Math.abs(i.__inner[e]-f);if(n<l){l=n;m=e}}if(m==-1){return $$t.$x.empty()}var o=i.__inner[m];var p;if(d){p=new $$t.x(0,this.fb().left(),o-c/2,this.fb().width(),c)}else{p=new $$t.x(0,o-c/2,this.fb().top(),c,this.fb().height())}p.intersect(this.fb());return p}}else{for(e=0;e<i.count();e++){if(i.__inner[e]>f){break}}if(e==0){return $$t.$x.empty()}if(f>h){return $$t.$x.empty()}if(f<g){return $$t.$x.empty()}var q=this.fb().right();if(d){q=this.fb().bottom()}if(e<i.count()){q=i.__inner[e]}if(d){return new $$t.x(0,this.fb().left(),i.__inner[e-1],this.fb().width(),q-i.__inner[e-1])}else{return new $$t.x(0,i.__inner[e-1],this.fb().top(),q-i.__inner[e-1],this.fb().height())}}},fm:function(a){if(arguments.length===1){this.g($$t.$hb.fastItemsSourceProperty,a);return a}else{return this.c($$t.$hb.fastItemsSourceProperty)}},fl:null,itemsSource:function(a){if(arguments.length===1){this.g($$t.$hb.itemsSourceProperty,a);return a}else{return this.c($$t.$hb.itemsSourceProperty)}},itemsCount:function(){return this.fl==null?0:this.fl.count()},categoryMode:function(a){if(arguments.length===1){if(this.fj!=a){var b=this.fj;this.fj=a;this.dq("CategoryMode",b,a)}return a}else{return this.fj}},fj:null,gap:function(a){if(arguments.length===1){this.g($$t.$hb.gapProperty,a);return a}else{return this.c($$t.$hb.gapProperty)}},overlap:function(a){if(arguments.length===1){this.g($$t.$hb.overlapProperty,a);return a}else{return this.c($$t.$hb.overlapProperty)}},useClusteringMode:function(a){if(arguments.length===1){this.g($$t.$hb.useClusteringModeProperty,a);return a}else{return this.c($$t.$hb.useClusteringModeProperty)}},f4:function(a){if(arguments.length===1){if(a!=this.f3){var b=this.f3;this.f3=a;this.dq("GroupCount",b,this.f3)}return a}else{return this.f3}},f3:0,getUnscaledValue:function(a,b){return NaN},getUnscaledValue2:function(a,b,c,d){return NaN},getCategorySize:function(a,b){return NaN},fy:function(a,b){return NaN},getGroupCenter:function(a,b,c){return NaN},unscaleValue:function(a){var b=this.seriesViewer().windowRect();var c=this.fb();var d=new $$t.ie(b,c,this.isInverted());return this.getUnscaledValue(a,d)},fs:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,$a:null,$b:null,$c:null,$d:null,$e:null,$f:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$b=this.$this.bw().getEnumerator();this.$state=4;break;case 2:this.$a=this.$b.current();this.$current=this.$a;this.$state=3;return true;case 3:this.$state=4;break;case 4:if(this.$b.moveNext()){this.$state=2}else{this.$state=5}break;case 5:this.$state=6;break;case 6:if(this.$this.seriesViewer()!=null&&this.$this.seriesViewer().b0()&&this.$this.fp(this.$this.seriesViewer())){this.$state=7}else{this.$state=20}break;case 7:this.$state=8;break;case 8:this.$d=this.$this.seriesViewer().ck().getEnumerator();this.$state=18;break;case 9:this.$c=this.$d.current();this.$state=10;break;case 10:if(this.$c!=this.$this.seriesViewer()){this.$state=11}else{this.$state=17}break;case 11:this.$state=12;break;case 12:this.$f=this.$c.series().getEnumerator();this.$state=15;break;case 13:this.$e=this.$f.current();this.$current=this.$e;this.$state=14;return true;case 14:this.$state=15;break;case 15:if(this.$f.moveNext()){this.$state=13}else{this.$state=16}break;case 16:this.$state=17;break;case 17:this.$state=18;break;case 18:if(this.$d.moveNext()){this.$state=9}else{this.$state=19}break;case 19:this.$state=20;break;case 20:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerable$1($$t.$aj.$type,$iter)},fo:function(a){return this.bw().contains(a)},fp:function(a){return false},fr:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,$a:null,$b:null,$c:null,$d:null,$e:null,$f:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$a=$.ig.util.cast($$t.$bd.$type,this.$this.seriesViewer());this.$state=1;break;case 1:if(this.$a!=null&&this.$a.b0()&&this.$this.fp(this.$a)){this.$state=2}else{this.$state=21}break;case 2:this.$state=3;break;case 3:this.$c=this.$a.ck().getEnumerator();this.$state=19;break;case 4:this.$b=this.$c.current();this.$state=5;break;case 5:if(this.$b!=this.$this.seriesViewer()){this.$state=6}else{this.$state=18}break;case 6:this.$d=$.ig.util.cast($$t.$bd.$type,this.$b);this.$state=7;break;case 7:if(this.$d!=null){this.$state=8}else{this.$state=17}break;case 8:this.$state=9;break;case 9:this.$f=this.$d.axes().getEnumerator();this.$state=15;break;case 10:this.$e=this.$f.current();this.$state=11;break;case 11:if($.ig.util.cast($$t.$hb.$type,this.$e)!==null){this.$state=12}else{this.$state=14}break;case 12:this.$current=$.ig.util.cast($$t.$hb.$type,this.$e);this.$state=13;return true;case 13:this.$state=14;break;case 14:this.$state=15;break;case 15:if(this.$f.moveNext()){this.$state=10}else{this.$state=16}break;case 16:this.$state=17;break;case 17:this.$state=18;break;case 18:this.$state=19;break;case 19:if(this.$c.moveNext()){this.$state=4}else{this.$state=20}break;case 20:this.$state=21;break;case 21:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerable$1($$t.$hb.$type,$iter)},fn:false,gp:function(a){if(this.fn){return}try{this.fn=true;var b=0;var c=0;var d=false;var f=this.fs().getEnumerator();while(f.moveNext()){var e=f.current();var g=$.ig.util.cast($$t.$g9.$type,e);if(g!=null){var h=g.preferredCategoryMode(this);if(h==2){b=2;d=true;if(this.fo(e)){c++}}if(h==1&&!d){b=1}}}var i=this.useClusteringMode();var k=this.fr().getEnumerator();while(k.moveNext()){var j=k.current();if(j.useClusteringMode()){i=true}if(a){j.gp(false)}}if(b==0&&i){b=2;if(c==0){c=1}}this.categoryMode(b);this.f4(c)}finally{this.fn=false}},dn:function(a,b,c,d){$$t.$hc.dn.call(this,a,b,c,d);switch(b){case"FastItemsSourceProvider":if($.ig.util.cast($$t.$jr.$type,c)!=null){this.fm($.ig.util.cast($$t.$jr.$type,c).releaseFastItemsSource(this.itemsSource()))}if($.ig.util.cast($$t.$jr.$type,d)!=null){this.fm($.ig.util.cast($$t.$jr.$type,d).getFastItemsSource(this.itemsSource()))}this.gp(true);break;case"ItemsSource":if(this.at()!=null){this.fm(this.at().getFastItemsSource(this.itemsSource()))}break;case"FastItemsSource":var e=$.ig.util.cast($$t.$ji.$type,c);this.gd();this.bl(true);if(e!=null){e.event=$.ig.Delegate.prototype.remove(e.event,this.gg.runOn(this))}if(this.fm()!=null){this.fm().event=$.ig.Delegate.prototype.combine(this.fm().event,this.gg.runOn(this));this.du(false);var g=this.bu().getEnumerator();while(g.moveNext()){var f=g.current();f.renderSeries(false);if(f.seriesViewer()!=null){f.gy()}}}else{this.db();var i=this.bu().getEnumerator();while(i.moveNext()){var h=i.current();h.gh(true,h.view());if(h.seriesViewer()!=null){h.gy()}}}break;case"ItemsCount":this.dr(new $$t.h6(0,0,c-1,d-1));this.du(false);break;case"UseClusteringMode":this.bl(true);this.gq();this.du(false);this.ge();break;case"CategoryMode":this.bl(true);this.du(false);this.gn();this.ge();break;case"Overlap":case"Gap":this.bl(true);var k=this.bu().getEnumerator();while(k.moveNext()){var j=k.current();j.cl(true);var l=$.ig.util.cast($$t.$g9.$type,j);if(l!=null&&l.preferredCategoryMode(this)==2){j.renderSeries(false)}}this.du(false);if(this.seriesViewer()!=null){this.seriesViewer().g2()}break;case"CrossingValue":case"CrossingAxis":this.bl(true);this.du(true);break}},ge:function(){var b=this.bu().getEnumerator();while(b.moveNext()){var a=b.current();a.renderSeries(false)}},gg:function(a,b){switch(b.action()){case 3:case 0:case 1:case 2:case 4:this.du(false);break}},gq:function(){var a=false,b=false;var d=this.bw().getEnumerator();while(d.moveNext()){var c=d.current();var e=$.ig.util.cast($$t.$g9.$type,c);if(e==null){continue}var f=e.preferredCategoryMode(this);a|=f==1;b|=f==2}var g=b?2:a?1:0;if(g==0&&this.useClusteringMode()){g=1;if(this.f4()==0){this.f4(1)}}this.categoryMode(g)},registerSeries:function(a){var b=$$t.$hc.registerSeries.call(this,a);if(b){this.gp(true);var c=$.ig.util.cast($$t.$g9.$type,a);if(c!=null&&c.preferredCategoryMode(this)==2){var e=this.bu().getEnumerator();while(e.moveNext()){var d=e.current();var f=$.ig.util.cast($$t.$g9.$type,d);if(f!=null&&f!=c&&f.preferredCategoryMode(this)==2){d.renderSeries(false)}}}this.du(false);this.updateRange()}return b},deregisterSeries:function(a){var b=$$t.$hc.deregisterSeries.call(this,a);if(b){this.gp(true);var c=$.ig.util.cast($$t.$g9.$type,a);if(c!=null&&c.preferredCategoryMode(this)!=0){var e=this.bu().getEnumerator();while(e.moveNext()){var d=e.current();var f=$.ig.util.cast($$t.$g9.$type,d);if(f!=null){d.renderSeries(false)}}}this.du(false)}return b},gn:function(){var a=null;var c=this.bu().getEnumerator();while(c.moveNext()){var b=c.current();var d=$.ig.util.cast($$t.$fv.$type,b);if(d!=null){var e=d.kt();if(e!=null&&e.crossingAxis()==this){a=e}}}if(a!=null){a.renderAxis()}},getScaledValue:function(a,b){return this.getScaledValue(a,b)},getScaledValueList:function(a,b,c,d){this.getScaledValueList(a,b,c,d)},getUnscaledValueList:function(a,b,c,d){this.getUnscaledValueList(a,b,c,d)},gd:function(){this.fl=this.fm()},go:function(){var a=this.labelSettings();if(a==null){a=new $$t.hg}if(a.visibility()==1){this.a2().c(0)}else{var b=0;b=this.fi().a8(this.bx());this.a2().c(b)}},handleCollectionChanged:function(a){if(this.fm()!=null){this.fm().handleCollectionChanged(a)}},notifySetItem:function(a,b,c){this.handleCollectionChanged(new $$t.e7(2,2,c,b,a))},notifyClearItems:function(){this.handleCollectionChanged(new $$t.e7(0,4))},notifyInsertItem:function(a,b){this.handleCollectionChanged(new $$t.e7(1,0,b,a))},notifyRemoveItem:function(a,b){this.handleCollectionChanged(new $$t.e7(1,1,b,a))},$type:new $.ig.Type("CategoryAxisBase",$$t.$hc.$type,[$$t.$j0.$type])},true);$.ig.util.defType("CategoryAxisBaseView:jf","AxisView",{_a7:null,a7:function(value){if(arguments.length===1){this._a7=value;return value}else{return this._a7}},init:function(a){$$t.$hd.init.call(this,a);this.a7(a)},a8:function(a){var b=0;for(var c=0;c<a.count();c++){var d=$.ig.util.cast($$t.$al.$type,a.__inner[c]);if(d==null){d=this.a().a2().item(c);$.ig.util.cast($$t.$b9.$type,d).aa(a.__inner[c]==null?"":a.__inner[c].toString());b++}else{this.d().y().add(d)}}return b},$type:new $.ig.Type("CategoryAxisBaseView",$$t.$hd.$type)},true);$.ig.util.defType("CategoryDateTimeXAxis:k1","CategoryAxisBase",{init:function(){$$t.$hb.init.call(this);this.y($$t.$k1.$type);this.hb=new Date;this.ha=new Date},ap:function(){return new $$t.k2(this)},dl:function(a){$$t.$hb.dl.call(this,a);this.gy(a)},_gy:null,gy:function(value){if(arguments.length===1){this._gy=value;return value}else{return this._gy}},isSorting:function(){return true},isDateTime:function(){return true},displayType:function(a){if(arguments.length===1){this.g($$t.$k1.displayTypeProperty,a);return a}else{return this.c($$t.$k1.displayTypeProperty)}},minimumValue:function(a){if(arguments.length===1){this.g($$t.$k1.minimumValueProperty,a);return a}else{return this.c($$t.$k1.minimumValueProperty)}},maximumValue:function(a){if(arguments.length===1){this.g($$t.$k1.maximumValueProperty,a);return a}else{return this.c($$t.$k1.maximumValueProperty)}},interval:function(a){if(arguments.length===1){this.g($$t.$k1.intervalProperty,a);return a}else{return this.c($$t.$k1.intervalProperty)}},bt:function(a,b,c){var d=$$t.$hb.bt.call(this,a,b,c);if(!d){return false}return this.actualMinimumValue()!=this.actualMaximumValue()},ai:function(){return new $$t.k8},getCategorySize:function(a,b){return b.width()/(this.itemsCount()*a.width())},getGroupCenter:function(a,b,c){return this.getCategorySize(b,c)*.5},fy:function(a,b){var c=!isNaN(this.gap())?$$t.$es.c(this.gap(),0,1):0;var d=1-.5*c;var e=this.getCategorySize(a,b)*d;return e},g8:null,g9:function(a){if(arguments.length===1){this.g8=a;return a}else{return this.g8}},dv:function(a){$$t.$hb.dv.call(this,a);var b=this.seriesViewer()!=null?this.seriesViewer().actualWindowRect():$$t.$x.empty();var c=!b.isEmpty()?this.fb():$$t.$x.empty();var d=new $$t.ie(b,c,this.isInverted());var e=this.aq().au();var f=this.aq().ax();var g=this.aq().av();var h=this.aq().aw();var i=this.aq().e();var j=this.aq().f();var k=this.aq().g();this.dz();this.dc(e);this.dc(f);this.dc(g);this.dc(h);this.bx().clear();this.bv().clear();this.ft().clear();this.aj().z(this);this.aj().b3(b);this.aj().b2(c);if(b.isEmpty()||c.isEmpty()){this.a2().c(0)}if(this.a2().c()==0){this.aj().y().clear()}if(this.labelSettings()!=null){this.labelSettings().registerAxis(this)}this.hw();if(!b.isEmpty()&&!c.isEmpty()&&(this.displayType()!=1||this.g1()!=null)){var l=c.bottom();var m=l-c.top();if(this.crossingAxis()!=null){var n=$.ig.util.cast($$t.$ia.$type,this.crossingAxis());if(n!=null){var o=new $$t.ie(b,c,n.isInverted());l=this.crossingValue();l=n.getScaledValue(l,o);m=l-c.top();if(l<c.top()){l=c.top()}else if(l>c.bottom()){l=c.bottom()}if(m<0){m=0}else if(m>c.height()){m=c.height()}}}if(isNaN(l)){l=0}this.dj(e,l,c,i);this.aj().ax(m);if(this.displayType()==1){var p=this.getFirstVisibleIndex(b,c);var q=this.getLastVisibleIndex(b,c);if(p<0||q<0){return}var r=NaN;for(var s=p;s<=q;s++){var t=this.g9()==null?s:this.g9().__inner[s];var u=this.getScaledValue(this.g1().item(t).getTime(),d);if(u==r){continue}r=u;if(this.categoryMode()==2){u+=this.isInverted()?-this.getGroupCenter(s,b,c):this.getGroupCenter(s,b,c)}if(u<c.left()||u>c.right()){continue}this.d0(g,u,c,j);this.ft().add(u);if(this.fm()!=null&&s<this.fm().count()){var v=this.fm().item(t);var w=$$t.$hb.cd.call(this,v);if(!isNaN(u)&&!Number.isInfinity(u)){this.bx().add(w);this.bv().add(new $$t.ht(u))}}}}else{var x=this.getUnscaledValue(c.left(),d);var y=this.getUnscaledValue(c.right(),d);var z=Math.min(x,y);var aa=Math.max(x,y);var ab=new $$t.h5(0,z,aa,c.width());var ac=this.g4()?this.hh():ab.e();var ad=Math.floor((z-this.actualMinimumValue().getTime())/ac);var ae=Math.ceil((aa-this.actualMinimumValue().getTime())/ac);var af=0;if(this.categoryMode()==2){af=this.getGroupCenter(0,b,c);af=this.isInverted()?-af:af}var ag=Math.ceil(c.right());var ah=Math.floor(c.left());var ai=this.getScaledValue(this.actualMinimumValue().getTime()+ad*ac,d)+af;for(var aj=ad;aj<=ae;aj++){var ak=this.getScaledValue(this.actualMinimumValue().getTime()+(aj+1)*ac,d)+af;if(!isNaN(ai)&&!Number.isInfinity(ai)){var al=Math.round(ai);if(al<=ag){if(aj%2==0){this.d1(f,ai,ak,c)}this.d0(g,ai,c,j);this.ft().add(ai);if(this.bo()){for(var am=1;am<ab.f();++am){var an=this.getScaledValue(this.actualMinimumValue().getTime()+aj*ac+am*ac/ab.f(),d)+af;this.d0(h,an,c,k)}}}if(al>=ah&&al<=ag){var ao=this.actualMinimumValue().getTime()+aj*ac;var ticks_=Math.floor(ao);var ap=new Date(ticks_);var aq=this.cd(ap);this.bx().add(aq);this.bv().add(new $$t.ht(ai))}}ai=ak}}if((this.labelSettings()==null||this.labelSettings().visibility()==0)&&this.crossingAxis()!=null){if(this.labelSettings()!=null&&(this.labelSettings().location()==4||this.labelSettings().location()==5)){this.seriesViewer().gu()}}this.aj().ar(this.bx());this.aj().aq(this.bv());this.go()}},hh:function(){return this.hk()},hw:function(){var a=this.seriesViewer()!=null?this.seriesViewer().actualWindowRect():$$t.$x.empty();var b=!a.isEmpty()?this.fb():$$t.$x.empty();var c=new Date;var d=new Date;if(!a.isEmpty()&&!b.isEmpty()&&this.g1()!=null){var e=$.ig.util.cast($$t.$k4.$type,this.g1());if(e!=null){if(this.g9()==null){this.g9(e.getSortedIndices())}}else{this.g9(null)}if(this.g1().count()>0){var f=this.g9()==null?0:this.g9().__inner[0];var g=this.g9()==null?this.g1().count()-1:this.g9().__inner[this.g1().count()-1];c=this.g1().item(f);d=this.g1().item(g);this.g4(false);if(this.categoryMode()==2){var h=d.getTime()-c.getTime();var timeOffset_=Math.round(h*1.25/this.itemsCount()/2);if(timeOffset_==0){timeOffset_=1}var minTime_=c.getTime();var maxTime_=d.getTime();c=new Date(minTime_-timeOffset_);d=new Date(maxTime_+timeOffset_)}}}if(this.g7()){c=this.minimumValue()}if(this.g6()){d=this.maximumValue()}if(this.g5()){this.hk(this.interval());var i=Math.abs(d.getTime()-c.getTime());this.g4(this.g3()||this.displayType()==1||1*i/this.hh()>b.width()/a.width()?false:true)}this.actualMinimumValue(c);this.actualMaximumValue(d)},g5:function(){return this.interval()!=0},g3:function(){return this.hk()==0},g7:function(){return this.minimumValue()!=null},g6:function(){return this.maximumValue()!=null},hb:null,actualMinimumValue:function(a){if(arguments.length===1){var b=this.hb!=a;if(b){var c=this.hb;this.hb=a;this.dq("ActualMinimumValue",c,a)}return a}else{return this.hb}},ha:null,actualMaximumValue:function(a){if(arguments.length===1){var b=this.ha!=a;if(b){var c=this.ha;this.ha=a;this.dq("ActualMaximumValue",c,a)}return a}else{return this.ha}},_g4:false,g4:function(value){if(arguments.length===1){this._g4=value;return value}else{return this._g4}},hj:null,hk:function(a){if(arguments.length===1){this.hj=a;return a}else{return this.hj}},getScaledValue:function(a,b){var c;if(this.actualMaximumValue()==this.actualMinimumValue()){c=-1}else{c=(a-this.actualMinimumValue().getTime())/(this.actualMaximumValue().getTime()-this.actualMinimumValue().getTime())}var d=0;if(this.categoryMode()==2){d=this.getGroupCenter(0,b.d,b.c)}if(this.isInverted()){c=1-c;d=-d}return b.c.left()+b.c.width()*(c-b.d.left())/b.d.width()-d},getUnscaledValue:function(a,b){return this.getUnscaledValue2(a,b.d,b.c,this.categoryMode())},getUnscaledValue2:function(a,b,c,d){var e=b.left()+b.width()*(a-c.left())/c.width();if(this.isInverted()){e=1-e}return Math.floor(this.actualMinimumValue().getTime()+e*(this.actualMaximumValue().getTime()-this.actualMinimumValue().getTime()))},he:function(a){return this.g1()==null?$$t.$bt.minValue():this.g1().item(a)},dateTimeMemberPath:function(a){if(arguments.length===1){this.g($$t.$k1.dateTimeMemberPathProperty,a);return a}else{return this.c($$t.$k1.dateTimeMemberPathProperty)}},g1:function(a){if(arguments.length===1){if(this.g0!=a){var b=this.g0;this.g0=a;this.dq("DateTimeColumn",b,this.g0)}return a}else{return this.g0}},g0:null,g2:function(a){if(a==null){return this.fm().registerColumnDateTime(null,null,false)
}var b=null;var c=$$t.$be.getCoercionMethod(a,this.coercionMethods());a=c.b();b=c.a();return this.fm().registerColumnDateTime(a,b,this.expectFunctions())},dn:function(a,b,c,d){$$t.$hb.dn.call(this,a,b,c,d);switch(b){case"FastItemsSource":var e=$.ig.util.cast($$t.$ji.$type,c);if(e!=null){e.deregisterColumn(this.g1());this.g1(null);e.event=$.ig.Delegate.prototype.remove(e.event,this.hv.runOn(this))}var f=$.ig.util.cast($$t.$ji.$type,d);if(f!=null){this.g9(null);this.g1(this.g2(this.dateTimeMemberPath()));f.event=$.ig.Delegate.prototype.combine(f.event,this.hv.runOn(this))}this.hx(false);break;case"DateTimeMemberPath":if(this.fm()!=null){this.fm().deregisterColumn(this.g1());this.g1(this.g2(this.dateTimeMemberPath()));this.g9(null)}break;case"DisplayType":this.bl(true);this.aj().af(this.displayType()==1);this.du(false);break;case"MinimumValue":this.updateRange();this.hx(false);break;case"MaximumValue":this.updateRange();this.hx(false);break;case"Interval":this.bl(true);this.du(false);break}},hv:function(a,b){this.g9(null)},hx:function(a){this.dv(a);if(this.fm()==null){return}var c=this.bu().getEnumerator();while(c.moveNext()){var b=c.current();b.renderSeries(a)}},br:function(){var a=this.actualMinimumValue().getTime();var b=this.actualMaximumValue().getTime();var c=!this.g7()?this.actualMinimumValue().getTime():this.minimumValue().getTime();var d=!this.g6()?this.actualMaximumValue().getTime():this.maximumValue().getTime();var e=new $$t.h6(a,c,b,d);this.dr(e);return true},sortedIndices:function(){if(this.g9()==null){var a=$.ig.util.cast($$t.$k4.$type,this.g1());if(a!=null){this.g9(a.getSortedIndices())}else{this.g9(null)}}return this.g9()},getFirstVisibleIndex:function(a,b){var c=new $$t.ie(a,b,this.isInverted());var d,e;if(this.isInverted()){e=this.getUnscaledValue(b.left(),c);d=this.getUnscaledValue(b.right(),c)}else{d=this.getUnscaledValue(b.left(),c);e=this.getUnscaledValue(b.right(),c)}var f=0;for(var g=0;g<this.g9().count();g++){if(this.g1()==null){break}var h=this.g1().item(this.g9().__inner[g]);if(h.getTime()>=d){break}f=g}return f},getLastVisibleIndex:function(a,b){var c=new $$t.ie(a,b,this.isInverted());var d,e;if(this.isInverted()){e=this.getUnscaledValue(b.left(),c);d=this.getUnscaledValue(b.right(),c)}else{d=this.getUnscaledValue(b.left(),c);e=this.getUnscaledValue(b.right(),c)}var f=this.g9().count()-1;var g=f;for(var h=f;h>=0;h--){if(this.g1()==null||this.g9().count()<=h){break}var i=this.g9().__inner[h];if(i>=this.g1().count()){break}var j=this.g1().item(i);if(j.getTime()<e){break}g=Math.min(h+1,this.g9().count()-1)}return g},getUnscaledValueAt:function(a){if(this.g1()==null){return NaN}var b=this.g0.item(a);var c=b.getTime();var d=c;return d},getExactUnsortedIndexClosestToUnscaledValue:function(a){var b=this;var c=new $$t.lb($$t.$bt.$type,this.g1(),b.sortedIndices());var ticks_=a;var d=new Date(ticks_);var e=this.hi(a,d,c);if(e>=0&&e<b.sortedIndices().count()&&e-1>=0&&e-1<b.sortedIndices().count()){var diff1_=d.getTime()-c.item(e-1).getTime();var diff2_=c.item(e).getTime()-d.getTime();var f=e-1;var g=e;if(f<0&&g>=0){return g}if(g>b.sortedIndices().count()-1&&f<b.sortedIndices().count()){return f}if(f<0&&g<0){return-1}if(f>b.sortedIndices().count()-1&&g>b.sortedIndices().count()-1){return-1}var h=diff1_/(diff1_+diff2_);if(isNaN(h)){h=0}return f+h}if(e>=0&&e<b.sortedIndices().count()){return e}return-1},hi:function(a,b,c){var $self=this;var d=$self;if($self.g1()==null||d.sortedIndices()==null){return-1}var e=-1;var f=c.binarySearch$1($$t.$bt.$type,function(g){if(b<g){return-1}if(b>g){return 1}return 0});if(f>=0){e=f}else{e=~f}while(e>=0&&e<c.count()&&e-1>=0&&c.item(e)==c.item(e-1)){e--}return e},getIndexClosestToUnscaledValue:function(a){var b=this;var c=new $$t.lb($$t.$bt.$type,this.g1(),b.sortedIndices());var ticks_=a;var d=new Date(ticks_);var e=this.hi(a,d,c);if(e>=0&&e<b.sortedIndices().count()&&e-1>=0&&e-1<b.sortedIndices().count()){var f=d-c.item(e-1);var g=c.item(e)-d;if(f<g){e=e-1}}if(e>=0&&e<b.sortedIndices().count()){return b.sortedIndices().__inner[e]}return-1},notifyDataChanged:function(){this.g9(null);this.renderAxis()},an:function(){return 0},$type:new $.ig.Type("CategoryDateTimeXAxis",$$t.$hb.$type,[$$t.$kd.$type])},true);$.ig.util.defType("CategoryDateTimeXAxisView:k2","CategoryAxisBaseView",{_a9:null,a9:function(value){if(arguments.length===1){this._a9=value;return value}else{return this._a9}},init:function(a){$$t.$jf.init.call(this,a);this.a9(a)},$type:new $.ig.Type("CategoryDateTimeXAxisView",$$t.$jf.$type)},true);$.ig.util.defType("AxisRenderingParametersBase:hv","Object",{init:function(){$.ig.$op.init.call(this);this.j(new $$t.bh($$t.$hw.$type,0))},_u:null,u:function(value){if(arguments.length===1){this._u=value;return value}else{return this._u}},_v:null,v:function(value){if(arguments.length===1){this._v=value;return value}else{return this._v}},_j:null,j:function(value){if(arguments.length===1){this._j=value;return value}else{return this._j}},_e:null,e:function(value){if(arguments.length===1){this._e=value;return value}else{return this._e}},_f:null,f:function(value){if(arguments.length===1){this._f=value;return value}else{return this._f}},_t:null,t:function(value){if(arguments.length===1){this._t=value;return value}else{return this._t}},_r:null,r:function(value){if(arguments.length===1){this._r=value;return value}else{return this._r}},_s:null,s:function(value){if(arguments.length===1){this._s=value;return value}else{return this._s}},_q:null,q:function(value){if(arguments.length===1){this._q=value;return value}else{return this._q}},_l:0,l:function(value){if(arguments.length===1){this._l=value;return value}else{return this._l}},_k:0,k:function(value){if(arguments.length===1){this._k=value;return value}else{return this._k}},_m:0,m:function(value){if(arguments.length===1){this._m=value;return value}else{return this._m}},_o:0,o:function(value){if(arguments.length===1){this._o=value;return value}else{return this._o}},_p:null,p:function(value){if(arguments.length===1){this._p=value;return value}else{return this._p}},_n:0,n:function(value){if(arguments.length===1){this._n=value;return value}else{return this._n}},_g:false,g:function(value){if(arguments.length===1){this._g=value;return value}else{return this._g}},_h:false,h:function(value){if(arguments.length===1){this._h=value;return value}else{return this._h}},_i:false,i:function(value){if(arguments.length===1){this._i=value;return value}else{return this._i}},_b:null,b:function(value){if(arguments.length===1){this._b=value;return value}else{return this._b}},_a:null,a:function(value){if(arguments.length===1){this._a=value;return value}else{return this._a}},_c:null,c:function(value){if(arguments.length===1){this._c=value;return value}else{return this._c}},_d:null,d:function(value){if(arguments.length===1){this._d=value;return value}else{return this._d}},$type:new $.ig.Type("AxisRenderingParametersBase",$.ig.$ot)},true);$.ig.util.defType("CategoryAxisRenderingParameters:h0","AxisRenderingParametersBase",{init:function(){$$t.$hv.init.call(this)},_z:0,z:function(value){if(arguments.length===1){this._z=value;return value}else{return this._z}},_w:null,w:function(value){if(arguments.length===1){this._w=value;return value}else{return this._w}},_y:false,y:function(value){if(arguments.length===1){this._y=value;return value}else{return this._y}},_aa:0,aa:function(value){if(arguments.length===1){this._aa=value;return value}else{return this._aa}},_x:false,x:function(value){if(arguments.length===1){this._x=value;return value}else{return this._x}},$type:new $.ig.Type("CategoryAxisRenderingParameters",$$t.$hv.$type)},true);$.ig.util.defType("AxisRendererBase:ho","Object",{init:function(a){var $self=this;$.ig.$op.init.call(this);this.c(function(){});this.q(function(b,c){return false});this.d(function(){});this.n(function(b,c){return c});this.h(function(b,c,d,e){});this.g(function(b,c,d){});this.m(function(b,c){return false});this.l(function(b,c){return $self.m()(b,c)});this.e(function(b){});this.f(function(b){});this.r(function(b,c,d){return false});this.k(function(b,c){return new $$t.ht(c)});this.o(function(b,c){return c});this.j(function(b){return null});this.u(function(b,c,d,e){return c});this.t(function(b,c,d,e){return c});this.a(a);this.p(function(b,c){return null})},_c:null,c:function(value){if(arguments.length===1){this._c=value;return value}else{return this._c}},_q:null,q:function(value){if(arguments.length===1){this._q=value;return value}else{return this._q}},_d:null,d:function(value){if(arguments.length===1){this._d=value;return value}else{return this._d}},_n:null,n:function(value){if(arguments.length===1){this._n=value;return value}else{return this._n}},_h:null,h:function(value){if(arguments.length===1){this._h=value;return value}else{return this._h}},_g:null,g:function(value){if(arguments.length===1){this._g=value;return value}else{return this._g}},_m:null,m:function(value){if(arguments.length===1){this._m=value;return value}else{return this._m}},_l:null,l:function(value){if(arguments.length===1){this._l=value;return value}else{return this._l}},_e:null,e:function(value){if(arguments.length===1){this._e=value;return value}else{return this._e}},_f:null,f:function(value){if(arguments.length===1){this._f=value;return value}else{return this._f}},_r:null,r:function(value){if(arguments.length===1){this._r=value;return value}else{return this._r}},_k:null,k:function(value){if(arguments.length===1){this._k=value;return value}else{return this._k}},_o:null,o:function(value){if(arguments.length===1){this._o=value;return value}else{return this._o}},_a:null,a:function(value){if(arguments.length===1){this._a=value;return value}else{return this._a}},_j:null,j:function(value){if(arguments.length===1){this._j=value;return value}else{return this._j}},_p:null,p:function(value){if(arguments.length===1){this._p=value;return value}else{return this._p}},_u:null,u:function(value){if(arguments.length===1){this._u=value;return value}else{return this._u}},_t:null,t:function(value){if(arguments.length===1){this._t=value;return value}else{return this._t}},_s:null,s:function(value){if(arguments.length===1){this._s=value;return value}else{return this._s}},_i:null,i:function(value){if(arguments.length===1){this._i=value;return value}else{return this._i}},x:function(a,b,c){var $self=this;$self.w(c,b);if($self.q()(b,c)){$self.d()();var d=$self.p()(b,c);$self.w(c,b);if(d==null){$self.aa();return}if(d.j().count()>1&&!d.g()){$self.ab(d)}var f=d.j().getEnumerator();while(f.moveNext()){var e=f.current();d.e(e);if(isNaN(e.c())||Number.isInfinity(e.c())||isNaN(e.d())||Number.isInfinity(e.d())){continue}if(e.d()==e.c()){continue}$self.f()(d);$self.a().l(d.m());var g=0;var h=0;var i=false;var j=function(k){return k};if($self.s()!=null){j=$self.i()}if($.ig.util.cast($$t.$h0.$type,d)!==null){g=d.w();h=d.aa();i=d.x()}d.f($self.b(d));d.f().o(function(){var $ret=new $$t.hy;$ret.j(d.e().d());$ret.i(d.e().c());$ret.e(d.l());$ret.d(d.k());$ret.g(d.e().b());$ret.b(d.g());$ret.h(d.n());$ret.f(d.e().a());$ret.n(d.e().e());$ret.a(g);$ret.o(h);$ret.q(d.v());$ret.p(d.u());$ret.c(i);$ret.k(j);return $ret}());$self.y(d)}$self.z()}},aa:function(){this.a().m()},ab:function(a){var $self=this;var b=-Number.MAX_VALUE;var c=-Number.MAX_VALUE;var d=0;var e=0;var f=false;var g=function(h){return h};if($self.s()!=null){g=$self.i()}if($.ig.util.cast($$t.$h0.$type,a)!==null){d=a.w();e=a.aa();f=a.x()}var i=a.j().getEnumerator();while(i.moveNext()){var h=i.current();a.e(h);a.f().o(function(){var $ret=new $$t.hy;$ret.j(h.d());$ret.i(h.c());$ret.e(a.l());$ret.d(a.k());$ret.g(h.b());$ret.b(a.g());$ret.h(a.n());$ret.f(h.a());$ret.n(h.e());$ret.a(d);$ret.o(e);$ret.q(a.v());$ret.p(a.u());$ret.c(f);$ret.k(g);return $ret}());h.a(a.f().j());h.e(a.f().n());if(!isNaN(a.f().j())){b=Math.max(b,a.f().j());c=Math.max(c,a.f().n())}}var k=a.j().getEnumerator();while(k.moveNext()){var j=k.current();if(j.a()==b){j.a(-1);j.e(-1)}else{j.a(b);j.e(c)}}},w:function(a,b){this.c()();this.a().k(a,b);this.a().p()},z:function(){this.a().p();if(this.a().d()){this.a().o(0)}else{var a=0;var c=this.a().f().getEnumerator();while(c.moveNext()){var b=c.current();var d=$.ig.util.cast($$t.$al.$type,b);if(d==null){d=this.a().q(a);d.aa(b.toString());a++}else{this.a().g(d)}}this.a().o(a)}},b:function(a){return a.f()},y:function(a){var b=a.f().h();var c=a.f().i();this.a().n(this.n()(a,a.f().j()));this.e()(a);for(var d=0;d<b.length;d++){var e=a.f().l()+d;var f=b[d];var g=f;var h=0;if(d<b.length-1){h=b[d+1]}else{h=Number.POSITIVE_INFINITY}g=this.u()(a,g,e,a.f().j());h=this.u()(a,h,e,a.f().j());var i=this.n()(a,g);var j=this.n()(a,h);if(this.m()(a,i)){if(e%2==0&&this.l()(a,j)&&!Number.isInfinity(j)){this.h()(a,a.t(),i,j)}a.b(a.c());this.g()(a,a.r(),i);a.b(null)}i=this.t()(a,i,e,a.f().j());if(!isNaN(i)&&!Number.isInfinity(i)&&this.r()(a,i,d==b.length-1)){var k=this.v(a,g,e,a.f().j());if(k!=null){this.a().h(k,this.k()(a,i))}}}if(a.i()){for(var l=0;l<c.length;l++){var m=c[l];var n=this.n()(a,m);a.b(a.d());this.g()(a,a.s(),n);a.b(null)}}},v:function(a,b,c,d){return null},$type:new $.ig.Type("AxisRendererBase",$.ig.$ot)},true);$.ig.util.defType("CategoryXAxis:up","CategoryAxisBase",{ap:function(){return new $$t.uq(this)},dl:function(a){$$t.$hb.dl.call(this,a);this.gy(a)},_gy:null,gy:function(value){if(arguments.length===1){this._gy=value;return value}else{return this._gy}},init:function(){this.g1=1;this.g0=1;$$t.$hb.init.call(this);this.ft(new $$t.bh(Number,0));this.y($$t.$up.$type)},g1:0,g3:function(a){if(arguments.length===1){this.g1=a;return a}else{return this.g1}},g0:0,g2:function(a){if(arguments.length===1){this.g0=a;return a}else{return this.g0}},ai:function(){return new $$t.k8},getCategorySize:function(a,b){return b.width()/(this.itemsCount()*a.width())},fy:function(a,b){var c=!isNaN(this.gap())?$$t.$es.c(this.gap(),0,1):0;var d=0;if(!isNaN(this.overlap())){d=Math.min(this.overlap(),1)}else{d=0}var e=1-.5*c;var f=this.f4()==0?1:this.f4();var g=this.getCategorySize(a,b)*e/(f-(f-1)*d);return g},getGroupCenter:function(a,b,c){var d=.5;if(this.f4()>1){var e=!isNaN(this.gap())?$$t.$es.c(this.gap(),0,1):0;var f=0;if(!isNaN(this.overlap())){f=Math.min(this.overlap(),1)}var g=1-.5*e;var h=g/(this.f4()-(this.f4()-1)*f);var i=(g-h)/(this.f4()-1);d=.25*e+.5*h+a*i}return this.getCategorySize(b,c)*d},scrollIntoView:function(a){var b=this.seriesViewer()!=null?this.seriesViewer().actualWindowRect():$$t.$x.empty();var c=this.fb();var d=new $$t.x(0,0,0,1,1);var e=new $$t.ie(d,d,this.isInverted());var f=!b.isEmpty()&&!c.isEmpty()&&this.fm()!=null?this.fm().indexOf(a):-1;var g=f>-1?this.getScaledValue(f,e):NaN;if(!isNaN(g)&&this.seriesViewer().b0()){if(!isNaN(g)){if(g<b.left()+.1*b.width()){g=g+.4*b.width();b.x(g-.5*b.width())}if(g>b.right()-.1*b.width()){g=g-.4*b.width();b.x(g-.5*b.width())}}this.seriesViewer().i9(b)}},getScaledValue:function(a,b){var c=this.categoryMode()==0?this.itemsCount()-1:this.itemsCount();if(c<0){c=0}var d=c>=1?a/c:c==0?.5:NaN;if(this.bf()){d=1-d}return b.c.left()+b.c.width()*(d-b.d.left())/b.d.width()},getUnscaledValue:function(a,b){return this.getUnscaledValue2(a,b.d,b.c,this.categoryMode())},getUnscaledValue2:function(a,b,c,d){var e=b.left()+(a-c.left())*b.width()/c.width();if(this.bf()){e=1-e}var f=d==0?this.itemsCount()-1:this.itemsCount();if(f<0){f=0}return e*f},dv:function(a){$$t.$hb.dv.call(this,a);var b=this.seriesViewer()!=null?this.seriesViewer().actualWindowRect():$$t.$x.empty();var c=this.fb();var d=new $$t.ie(b,c,this.isInverted());var e=this.aq().au();var f=this.aq().ax();var g=this.aq().av();var h=this.aq().aw();var i=this.aq().e();var j=this.aq().f();var k=this.aq().g();this.dz();this.dc(e);this.dc(f);this.dc(g);this.dc(h);this.bx().clear();this.bv().clear();this.ft().clear();this.aq().ap(this,b,c);if(b.isEmpty()||c.isEmpty()){this.a2().c(0)}if(this.a2().c()==0){this.aq().v()}if(this.labelSettings()!=null){this.labelSettings().registerAxis(this)}if(this.itemsSource()==null){return}if(!b.isEmpty()&&!c.isEmpty()){var l=this.getUnscaledValue(c.left(),d);var m=this.getUnscaledValue(c.right(),d);if(this.isInverted()){l=Math.ceil(l);m=Math.floor(m)}else{l=Math.floor(l);m=Math.ceil(m)}var n=c.bottom();var o=n-c.top();if(this.crossingAxis()!=null){var p=$.ig.util.cast($$t.$ia.$type,this.crossingAxis());if(p!=null){var q=new $$t.ie(b,c,p.isInverted());n=this.crossingValue();n=p.getScaledValue(n,q);o=n-c.top();if(n<c.top()){n=c.top()}else if(n>c.bottom()){n=c.bottom()}if(o<0){o=0}else if(o>c.height()){o=c.height()}}}this.dj(e,n,c,i);this.aq().ak(o);var r=Math.min(l,m);var s=Math.max(l,m);var t=new $$t.jh(1,r,s,c.width(),this.interval(),this.categoryMode());var u=Math.floor((r-0)/t.e());var v=Math.ceil((s-0)/t.e());if(!isNaN(u)&&!isNaN(v)){var w=u;var x=v;var y=this.getScaledValue(0+w*t.e(),d);this.aq().al(this.getScaledValue(t.e(),d));var z=Math.ceil(c.right());var aa=Math.floor(c.left());for(var ab=w;ab<=x;++ab){var ac=this.getScaledValue(0+(ab+1)*t.e(),d);if(y<=c.right()){if(ab%2==0){this.d1(f,y,ac,c)}this.d0(g,y,c,j);this.ft().add(y);if(this.categoryMode()!=0&&this.f4()!=0&&this.bo()){for(var ad=0;ad<t.e();ad++){for(var ae=0;ae<this.f4();ae++){var af=this.getGroupCenter(ae,b,c);if(this.isInverted()){af=-af}var ag=this.getScaledValue(ad+ab*t.e(),d)+af;this.d0(h,ag,c,k)}}}}var ah=y;if(this.categoryMode()!=0){var ai=this.getScaledValue(ab*t.e()+1,d);ah=(y+ai)/2}var aj=Math.round(ah);if(aj>=aa&&aj<=z){var ak=0;if(t.e()>=1){ak=ab*Math.floor(t.e())}else{if(ab*t.e()*2%2==0){ak=Math.floor(ab*t.e())}else{ak=-1}}if(this.fm()!=null&&ak<this.fm().count()&&ak>=0){var al=this.fm().item(ak);var am=this.cd(al);if(!isNaN(ah)&&!Number.isInfinity(ah)){this.bx().add(am);this.bv().add(new $$t.ht(ah))}}}y=ac}}if((this.labelSettings()==null||this.labelSettings().visibility()==0)&&this.crossingAxis()!=null){if(this.labelSettings()!=null&&(this.labelSettings().location()==4||this.labelSettings().location()==5)){this.seriesViewer().gu()}}this.aq().aq(this.bx(),this.bv());this.go()}},br:function(){if(this.fm()==null){return false}var a=this.fm().count();if(a!=this.g2()){var b=new $$t.h6(1,1,this.g2(),a);this.g2(a);this.dr(b);return true}return false},interval:function(a){if(arguments.length===1){this.g($$t.$up.intervalProperty,a);return a}else{return this.c($$t.$up.intervalProperty)}},fp:function(a){if(a==null){return false}var b=this.av();if(b==null){return false}return b.synchronizeHorizontally()},an:function(){return 0},$type:new $.ig.Type("CategoryXAxis",$$t.$hb.$type)},true);$.ig.util.defType("CategoryXAxisView:uq","CategoryAxisBaseView",{_a9:null,a9:function(value){if(arguments.length===1){this._a9=value;return value}else{return this._a9}},init:function(a){$$t.$jf.init.call(this,a);this.a9(a)},$type:new $.ig.Type("CategoryXAxisView",$$t.$jf.$type)},true);$.ig.util.defType("NumericAxisBase:hl","Axis",{ap:function(){return new $$t.hm(this)},dl:function(a){$$t.$hc.dl.call(this,a);this.fj(a)},_fj:null,fj:function(value){if(arguments.length===1){this._fj=value;return value}else{return this._fj}},isNumeric:function(){return true},init:function(){$$t.$hc.init.call(this);this.gc(10)},minimumValue:function(a){if(arguments.length===1){this.g($$t.$hl.minimumValueProperty,a);return a}else{return this.c($$t.$hl.minimumValueProperty)}},actualMinimumValue:function(a){if(arguments.length===1){if(this.actualMinimumValue()!=a){var b=this.f2;this.f2=a;this.f6(Math.log(this.actualMinimumValue()));this.dq("ActualMinimumValue",b,this.actualMinimumValue())}return a}else{return this.f2}},f2:0,_f6:0,f6:function(value){if(arguments.length===1){this._f6=value;return value}else{return this._f6}},maximumValue:function(a){if(arguments.length===1){this.g($$t.$hl.maximumValueProperty,a);return a}else{return this.c($$t.$hl.maximumValueProperty)}},actualMaximumValue:function(a){if(arguments.length===1){if(this.actualMaximumValue()!=a){var b=this.f0;this.f0=a;this.f5(Math.log(this.actualMaximumValue()));this.dq("ActualMaximumValue",b,this.actualMaximumValue())}return a}else{return this.f0}},f0:0,_f5:0,f5:function(value){if(arguments.length===1){this._f5=value;return value}else{return this._f5}},interval:function(a){if(arguments.length===1){this.g($$t.$hl.intervalProperty,a);return a}else{return this.c($$t.$hl.intervalProperty)}},referenceValue:function(a){if(arguments.length===1){this.g($$t.$hl.referenceValueProperty,a);return a}else{return this.c($$t.$hl.referenceValueProperty)}},isLogarithmic:function(a){if(arguments.length===1){this.g($$t.$hl.isLogarithmicProperty,a);return a}else{return this.c($$t.$hl.isLogarithmicProperty)}},fs:false,actualIsLogarithmic:function(a){if(arguments.length===1){if(this.actualIsLogarithmic()!=a){var b=this.fs;if(b!=a){this.fs=a;this.dq("ActualIsLogarithmic",b,this.actualIsLogarithmic())}}return a}else{return this.fs}},fy:function(){return this.actualIsLogarithmic()&&this.actualMinimumValue()>0&&this.gc()>1},logarithmBase:function(a){if(arguments.length===1){this.g($$t.$hl.logarithmBaseProperty,a);return a}else{return this.c($$t.$hl.logarithmBaseProperty)}},_gc:0,gc:function(value){if(arguments.length===1){this._gc=value;return value}else{return this._gc}},_fl:null,fl:function(value){if(arguments.length===1){this._fl=value;return value}else{return this._fl}},_fz:false,fz:function(value){if(arguments.length===1){this._fz=value;return value}else{return this._fz}},dv:function(a){var $self=this;$$t.$hc.dv.call($self,a);if($self.fy()&&$self.seriesViewer()!=null){var b=$self.fm($self.fb(),$self.seriesViewer().actualWindowRect());if(b==null){return}for(var c=0;c<b.j().count();c++){var d=$self.logarithmBase();var e=b.j().__inner[c];var f=Math.min(e.d(),e.c());var g=Math.max(e.d(),e.c());var h=Math.floor(Math.logBase(f,d));var i=Math.ceil(Math.logBase(g,d));if(i-h<2){if($.ig.util.cast($$t.$h1.$type,$self.fp)!==null){$self.fp=new $$t.h4}}else{$self.fp=$self.tickmarkValues()!=null?$self.tickmarkValues():function(){var $ret=new $$t.h1;$ret.t(d);return $ret}()}}}},dn:function(a,b,c,d){$$t.$hc.dn.call(this,a,b,c,d);switch(b){case"MinimumValue":this.updateRange();this.du(false);break;case"MaximumValue":this.updateRange();this.du(false);break;case"IsLogarithmic":this.fz(true);this.actualIsLogarithmic(this.isLogarithmic());break;case"CrossingValue":case"CrossingAxis":case"Interval":this.bl(true);this.du(false);break;case"LogarithmBase":this.fz(true);this.gc(this.logarithmBase());if(this.actualIsLogarithmic()){this.updateRange();this.gq();this.du(false)}break;case"ReferenceValue":var e=new $$t.h6(this.actualMinimumValue(),this.actualMinimumValue(),this.actualMaximumValue(),this.actualMaximumValue());this.dr(e);this.bl(true);this.du(false);break;case"LabelSettings":this.fl(this.fk());this.bl(true);this.du(false);break;case"TickmarkValues":this.gs();break;case"ActualIsLogarithmic":this.updateRange();this.gq();this.bl(true);this.gs();this.du(false);break;case"ActualTickmarkValues":this.bl(true);this.du(false);break}},gq:function(){var b=this.bu().getEnumerator();while(b.moveNext()){var a=b.current();a.renderSeries(false)}},fi:function(){var a=new $$t.h7(Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY);var b=false;if(this.seriesViewer()!=null){var d=this.bu().getEnumerator();while(d.moveNext()){var c=d.current();var e=c.ad(this);if(e!=null){b=true;a=new $$t.h7(Math.min(a.c(),e.c()),Math.max(a.b(),e.b()))}}}if(b){return a}return null},go:function(a,b,c,d,e,f,g){var $self=this;(function(){var $ret=$$t.$h9.c(a,b,c,d,e,f,g);f=$ret.minimumValue;g=$ret.maximumValue;return $ret.ret})();return{actualMinimumValue:f,actualMaximumValue:g}},br:function(){var $self=this;var a=$self.actualIsLogarithmic()&&!isNaN($self.logarithmBase())&&!Number.isInfinity($self.logarithmBase())&&$self.logarithmBase()>1;var b;var c;(function(){var $ret=$self.go($self,$self.minimumValue(),$self.maximumValue(),a,$self.logarithmBase(),b,c);b=$ret.actualMinimumValue;c=$ret.actualMaximumValue;return $ret.ret})();if(b!=$self.actualMinimumValue()||c!=$self.actualMaximumValue()||$self.fz()){$self.fz(false);var d=new $$t.h6($self.actualMinimumValue(),b,$self.actualMaximumValue(),c);$self.actualMinimumValue(b);$self.actualMaximumValue(c);$self.dr(d);$self.gr(d);$self.du(true);return true}return false},gr:function(a){},registerSeries:function(a){var b=$$t.$hc.registerSeries.call(this,a);if(b){this.updateRange()}return b},deregisterSeries:function(a){var b=$$t.$hc.deregisterSeries.call(this,a);if(b){this.updateRange()}return b},fk:function(){var $self=this;var a=function(){var $ret=new $$t.hs;$ret.a($self);$ret.e($self.bv());$ret.f($self.bx());$ret.b($self.aj());return $ret}();if($self.labelSettings()!=null){$self.labelSettings().registerAxis($self)}var b=new $$t.hn(a);b.c(function(){var c=$self.aq().au();var d=$self.aq().ax();var e=$self.aq().av();var f=$self.aq().aw();$self.dz();$self.dc(c);$self.dc(d);$self.dc(e);$self.dc(f)});b.q(function(c,d){return!d.isEmpty()&&!c.isEmpty()});b.p(function(c,d){return $self.fm(c,d)});b.j(function(c){return $self.cd(c)});return b},fn:function(){return new $$t.ip},gp:function(){},fo:function(){return null},fm:function(a,b){var c=this.fn();var d=this.aq().au();var e=this.aq().ax();var f=this.aq().av();var g=this.aq().aw();var h=this.aq().e();var i=this.aq().f();var j=this.aq().g();c.q(d);c.t(e);c.r(f);c.s(g);c.a(h);c.c(i);c.d(j);c.k(this.actualMaximumValue());c.l(this.actualMinimumValue());c.h(this.hasUserMaximum());c.f(this.actualTickmarkValues());c.u(a);c.v(b);c.g(this.fu());c.n(this.interval());c.p(this.label());if(this.label()==null&&this.formatLabel()!=null){c.p("Format")}c.i(this.bo());return c},unscaleValue:function(a){var b=new $$t.ie(this.seriesViewer().windowRect(),this.fb(),this.isInverted());b.b=this.seriesViewer().effectiveViewport();return this.getUnscaledValue(a,b)},fu:function(){return!isNaN(this.interval())},hasUserMinimum:function(){return!isNaN(this.minimumValue())},hasUserMaximum:function(){return!isNaN(this.maximumValue())},gs:function(){if(this.tickmarkValues()!=null){this.actualTickmarkValues(this.tickmarkValues())}else if(this.actualIsLogarithmic()){this.actualTickmarkValues(new $$t.h1);this.fj().a8()}else{this.actualTickmarkValues(new $$t.h4)}},tickmarkValues:function(a){if(arguments.length===1){this.g($$t.$hl.tickmarkValuesProperty,a);return a}else{return $.ig.util.cast($$t.$hx.$type,this.c($$t.$hl.tickmarkValuesProperty))}},fp:null,actualTickmarkValues:function(a){if(arguments.length===1){var b=this.fp;var c=b!=a;if(c){this.fp=a;this.dq("ActualTickmarkValues",b,a)}return a}else{if(this.fp==null){this.gs()}return this.fp}},$type:new $.ig.Type("NumericAxisBase",$$t.$hc.$type)},true);$.ig.util.defType("NumericAxisBaseView:hm","AxisView",{_a7:null,a7:function(value){if(arguments.length===1){this._a7=value;return value}else{return this._a7}},init:function(a){$$t.$hd.init.call(this,a);this.a7(a)},a8:function(){},$type:new $.ig.Type("NumericAxisBaseView",$$t.$hd.$type)},true);$.ig.util.defType("StraightNumericAxisBase:ib","NumericAxisBase",{init:function(){$$t.$hl.init.call(this);this.hf()},ap:function(){return new $$t.ic(this)},dl:function(a){$$t.$hl.dl.call(this,a);this.g5(a)},_g5:null,g5:function(value){if(arguments.length===1){this._g5=value;return value}else{return this._g5}},scaleMode:function(a){if(arguments.length===1){this.g($$t.$ib.scaleModeProperty,a);return a}else{return this.c($$t.$ib.scaleModeProperty)}},scaler:function(a){if(arguments.length===1){this.g($$t.$ib.scalerProperty,a);return a}else{return this.c($$t.$ib.scalerProperty)}},hd:function(a,b){var c=$.ig.util.cast($$t.$ib.$type,a);c.hf();c.dq("Scaler",b.d(),b.c())},g3:function(){return null},g2:null,g1:function(a){if(arguments.length===1){var b=this.g2!=a;if(b){var c=this.g2;this.g2=a;this.dq("ActualScaler",c,a)}return a}else{if(this.g2==null){this.hf()}return this.g2}},go:function(a,b,c,d,e,f,g){var $self=this;(function(){var $ret=$self.g1().r(a,b,c,f,g);f=$ret.actualMinimumValue;g=$ret.actualMaximumValue;return $ret.ret})();return{actualMinimumValue:f,actualMaximumValue:g}},he:function(a){var b=this.g6();this.g6(true);a.invoke();this.g6(b)},_g6:false,g6:function(value){if(arguments.length===1){this._g6=value;return value}else{return this._g6}},hf:function(){var a=this.scaler();if(a==null){a=this.fo()}this.g1(a);if(this.g1()==null){throw new $$t.e0("ActualScaler")}this.ha()},ha:function(){this.g5().ba()},dn:function(a,b,c,d){if(this.g6()){return}$$t.$hl.dn.call(this,a,b,c,d);switch(b){case"LogarithmBase":this.hf();break;case"IsLogarithmic":this.hf();break;case"ScaleMode":this.hf();break;case"Scaler":this.hf();break;case"ActualScaler":this.actualIsLogarithmic($.ig.util.cast($$t.$ih.$type,this.g1())!==null);this.ha();this.updateRange();this.du(false);break;case"ActualMaximumValue":this.hb();break;case"ActualMinimumValue":this.hc();this.hf();break}},hc:function(){this.g1().v(this.actualMinimumValue())},hb:function(){this.g1().u(this.actualMaximumValue())},$type:new $.ig.Type("StraightNumericAxisBase",$$t.$hl.$type)},true);$.ig.util.defType("StraightNumericAxisBaseView:ic","NumericAxisBaseView",{_a9:null,a9:function(value){if(arguments.length===1){this._a9=value;return value}else{return this._a9}},init:function(a){$$t.$hm.init.call(this,a);this.a9(a)},ba:function(){this.a9().g1().u(this.a9().actualMaximumValue());this.a9().g1().v(this.a9().actualMinimumValue())},$type:new $.ig.Type("StraightNumericAxisBaseView",$$t.$hm.$type)},true);$.ig.util.defType("NumericYAxis:ia","StraightNumericAxisBase",{ap:function(){return new $$t.ik(this)},init:function(){$$t.$ib.init.call(this);this.y($$t.$ia.$type);this.fl(this.fk())},ai:function(){return new $$t.il},isVertical:function(){return true},getScaledValue:function(a,b){if(this.g2!=null){return this.g2.n(a,b)}return this.g1().n(a,b)},getScaledValueList:function(a,b,c,d){if(this.g2!=null){this.g2.s(a,b,c,d);return}this.g1().s(a,b,c,d)},getUnscaledValue:function(a,b){if(this.g2!=null){return this.g2.o(a,b)}return this.g1().o(a,b)},getUnscaledValueList:function(a,b,c,d){if(this.g2!=null){this.g2.h(a,b,c,d);return}this.g1().h(a,b,c,d)},fk:function(){var $self=this;var a=$$t.$ib.fk.call($self);a.a().c(function(b){if($self.labelSettings()==null||$self.labelSettings().visibility()==0){$self.aj().ax(b);if($self.labelSettings()!=null&&($self.labelSettings().location()==7||$self.labelSettings().location()==6)){$self.seriesViewer().gu()}}});a.g(function(b,c,d){$self.dj(c,d,b.u(),b.b())});a.h(function(b,c,d,e){$self.dk(c,d,e,b.u())});a.n(function(b,c){var d=new $$t.ie(b.v(),b.u(),$self.bf());return $self.getScaledValue(c,d)});a.m(function(b,c){return true});a.e(function(b){$self.d0(b.q(),b.m(),b.u(),b.a())});a.f(function(b){b.m(b.u().left());var c=new $$t.ie(b.v(),b.u(),$self.bf());if($self.crossingAxis()!=null&&$self.crossingAxis().seriesViewer()!=null){b.m($self.crossingValue());b.m($self.crossingAxis().getScaledValue(b.m(),c));var d=$.ig.util.cast($$t.$hb.$type,$self.crossingAxis());if(d!=null&&d.categoryMode()==2){var e=.5*d.getCategorySize(b.v(),b.u());if(d.isInverted()){e=-e}b.m(b.m()+e)}b.o(b.m()-b.u().left());if(b.m()<b.u().left()){b.m(b.u().left())}else if(b.m()>b.u().right()){b.m(b.u().right())}if(b.o()<0){b.o(0)}else if(b.o()>b.u().width()){b.o(b.u().width())}}});a.r(function(b,c,d){var e=Math.round(c);return e>=Math.floor(b.u().top())&&e<=Math.ceil(b.u().bottom())});return a},fm:function(a,b){var $self=this;var c=$$t.$ib.fm.call($self,a,b);var d=new $$t.ie(b,a,$self.isInverted());var e=NaN;var f=NaN;if(!$self.isInverted()&&b.top()==0){f=$self.actualMaximumValue()}else if($self.isInverted()&&b.bottom()==1){e=$self.actualMaximumValue()}if(isNaN(e)){e=$self.getUnscaledValue(a.bottom(),d)}if(isNaN(f)){f=$self.getUnscaledValue(a.top(),d)}var g=Math.min(e,f);var h=Math.max(e,f);var i=function(){var $ret=new $$t.hw;$ret.d(g);$ret.c(h);$ret.b(a.height());return $ret}();c.j().add(i);return c},dv:function(a){$$t.$ib.dv.call(this,a);var b=this.seriesViewer()!=null?this.seriesViewer().actualWindowRect():$$t.$x.empty();var c=this.fb();this.fl().x(a,c,b)},d2:function(a,b){$$t.$ib.d2.call(this,a,b);if(b.height()!=a.height()){this.updateRange()}},an:function(){return 1
},fo:function(){if(this.isLogarithmic()){return new $$t.iq}switch(this.scaleMode()){case 0:return new $$t.ir;case 1:return new $$t.iq}return null},g3:function(){return new $$t.ir},$type:new $.ig.Type("NumericYAxis",$$t.$ib.$type,[$$t.$ii.$type])},true);$.ig.util.defType("NumericYAxisView:ik","StraightNumericAxisBaseView",{init:function(a){$$t.$ic.init.call(this,a);this.bb(a)},_bb:null,bb:function(value){if(arguments.length===1){this._bb=value;return value}else{return this._bb}},$type:new $.ig.Type("NumericYAxisView",$$t.$ic.$type)},true);$.ig.util.defType("NumericAxisRenderingParameters:ip","AxisRenderingParametersBase",{init:function(){$$t.$hv.init.call(this)},$type:new $.ig.Type("NumericAxisRenderingParameters",$$t.$hv.$type)},true);$.ig.util.defType("NumericAxisRenderer:hn","AxisRendererBase",{init:function(a){$$t.$ho.init.call(this,a)},v:function(a,b,c,d){var e;if(a.p()!=null){e=this.j()(b)}else{b=Math.round(b*1e6)/1e6;e=b.toString()}return e},$type:new $.ig.Type("NumericAxisRenderer",$$t.$ho.$type)},true);$.ig.util.defType("RangeInfo:hw","Object",{init:function(){$.ig.$op.init.call(this);this.a(-1);this.e(-1)},_d:0,d:function(value){if(arguments.length===1){this._d=value;return value}else{return this._d}},_c:0,c:function(value){if(arguments.length===1){this._c=value;return value}else{return this._c}},_a:0,a:function(value){if(arguments.length===1){this._a=value;return value}else{return this._a}},_b:0,b:function(value){if(arguments.length===1){this._b=value;return value}else{return this._b}},_e:0,e:function(value){if(arguments.length===1){this._e=value;return value}else{return this._e}},$type:new $.ig.Type("RangeInfo",$.ig.$ot)},true);$.ig.util.defType("NumericScaler:id","DependencyObject",{init:function(){$$t.$an.init.call(this)},r:function(a,b,c,d,e){return{actualMinimumValue:d,actualMaximumValue:e}},j:function(a){if(arguments.length===1){this.g($$t.$id.y,a);return a}else{return this.c($$t.$id.y)}},i:function(a){if(arguments.length===1){this.g($$t.$id.x,a);return a}else{return this.c($$t.$id.x)}},m:0,l:0,v:function(a){this.j(a)},u:function(a){this.i(a)},t:function(a,b,c){switch(a){case"ActualMinimumValue":this.m=this.j();this.w();break;case"ActualMaximumValue":this.l=this.i();this.w();break}},w:function(){if(isNaN(this.j())||isNaN(this.i())||Number.isInfinity(this.j())||Number.isInfinity(this.i())||this.j()<-Number.MAX_VALUE||this.i()>Number.MAX_VALUE){this.k(this.i()-this.j())}else{this.k(this.i()-this.j())}},_k:0,k:function(value){if(arguments.length===1){this._k=value;return value}else{return this._k}},o:function(a,b){},n:function(a,b){},h:function(a,b,c,d){var e=new $$t.bh(Number,2,a.count());for(var f=b;f<c;f++){e.add(this.o(a.item(f),d))}return e},s:function(a,b,c,d){for(var e=b;e<c;e++){a.item(e,this.n(a.item(e),d))}},$type:new $.ig.Type("NumericScaler",$$t.$an.$type)},true);$.ig.util.defType("LinearScaler:is","NumericScaler",{init:function(){$$t.$id.init.call(this)},r:function(a,b,c,d,e){var $self=this;var f;var g;(function(){var $ret=$$t.$h9.c(a,b,c,false,-1,f,g);f=$ret.minimumValue;g=$ret.maximumValue;return $ret.ret})();d=f;e=g;return{actualMinimumValue:d,actualMaximumValue:e}},$type:new $.ig.Type("LinearScaler",$$t.$id.$type)},true);$.ig.util.defType("LogarithmicScaler:ih","NumericScaler",{init:function(){$$t.$id.init.call(this)},_aa:0,aa:function(value){if(arguments.length===1){this._aa=value;return value}else{return this._aa}},_z:0,z:function(value){if(arguments.length===1){this._z=value;return value}else{return this._z}},t:function(a,b,c){$$t.$id.t.call(this,a,b,c);switch(a){case"ActualMinimumValue":this.aa(Math.log(this.j()));break;case"ActualMaximumValue":this.z(Math.log(this.i()));break}},r:function(a,b,c,d,e){var $self=this;var f;var g;(function(){var $ret=$$t.$h9.c(a,b,c,true,a.logarithmBase(),f,g);f=$ret.minimumValue;g=$ret.maximumValue;return $ret.ret})();d=f;e=g;return{actualMinimumValue:d,actualMaximumValue:e}},$type:new $.ig.Type("LogarithmicScaler",$$t.$id.$type)},true);$.ig.util.defType("VerticalLinearScaler:ir","LinearScaler",{init:function(){$$t.$is.init.call(this)},o:function(a,b){return this.ab(a,b.d,b.c,b.a)},n:function(a,b){return this.aa(a,b.d,b.c,b.a)},z:function(values_){var a=$.isArray(values_)?values_:null;return a;return null},s:function(a,b,c,d){var e;var f=d.d;var g=d.c;var h=d.b;var i=d.a;var j=!h.isEmpty();var k=this.k();var l=this.m;var m=h.top();var n=h.height();var o=f.top();var p=f.height();var q=g.top();var r=g.height();var s=0;var t=1;var u=this.z(a);var v=false;if(u!=null){v=true}for(var w=b;w<c;w++){if(v){e=u[w]}else{e=a.item(w)}if(j){var x=(e-l)/k;if(!i){x=1-x}x=m+n*(x-s)/t;var y=(x-o*r)/p;if(v){u[w]=y}else{a.item(w,y)}}else{var z=(e-l)/k;if(!i){z=1-z}z=q+r*(z-o)/p;if(v){u[w]=z}else{a.item(w,z)}}}},aa:function(a,b,c,d){var e=(a-this.m)/this.k();if(!d){e=1-e}return c.top()+c.height()*(e-b.top())/b.height()},ab:function(a,b,c,d){var e=b.top()+b.height()*(a-c.top())/c.height();if(!d){e=1-e}return this.m+e*this.k()},$type:new $.ig.Type("VerticalLinearScaler",$$t.$is.$type)},true);$.ig.util.defType("VerticalLogarithmicScaler:iq","LogarithmicScaler",{init:function(){$$t.$ih.init.call(this)},o:function(a,b){return this.ac(a,b.d,b.c,b.a)},n:function(a,b){return this.ab(a,b.d,b.c,b.a)},ab:function(a,b,c,d){if(isNaN(a)){return NaN}var e;if(a<=0){e=(Math.log(this.m)-this.aa())/(this.z()-this.aa())}else{e=(Math.log(a)-this.aa())/(this.z()-this.aa())}if(!d){e=1-e}return c.top()+c.height()*(e-b.top())/b.height()},ac:function(a,b,c,d){var e=b.top()+b.height()*(a-c.top())/c.height();if(!d){e=1-e}return Math.exp(e*(this.z()-this.aa())+this.aa())},$type:new $.ig.Type("VerticalLogarithmicScaler",$$t.$ih.$type)},true);$.ig.util.defType("LinearTickmarkValues:h4","TickmarkValues",{init:function(){this.p=null;this.q=null;$$t.$hx.init.call(this);this.s(0)},_s:0,s:function(value){if(arguments.length===1){this._s=value;return value}else{return this._s}},o:function(a){$$t.$hx.o.call(this,a);var b;if(this.s()!=0){b=new $$t.h5(1,a.j(),a.i(),a.g(),this.s())}else{b=new $$t.h5(0,a.j(),a.i(),a.g())}this.j(b.e());if(a.b()&&a.h()>0&&(a.i()-a.j())/a.h()<1e3){this.j(a.h())}if(a.f()!=-1){this.j(a.f())}this.l(Math.floor((a.j()-a.e())/this.j()));this.m(Math.ceil((a.i()-a.e())/this.j()));this.n(b.f());if(a.n()!=-1){this.n(a.n())}this.r(a.e())},_r:0,r:function(value){if(arguments.length===1){this._r=value;return value}else{return this._r}},p:null,h:function(){var a=0;var b=this.l();if(!isNaN(this.j())){a=this.m()-b+1}if(this.p==null||this.p.length!=a){this.p=new Array(a)}var c=this.p;for(var d=0;d<a;++d){var e=this.r()+(d+b)*this.j();c[d]=e}return c},q:null,i:function(){var a=this.l();var b=this.m();var c=this.n();var d=this.j();var e=this.r();var f=this.k();var g=d/c;var h=0;for(var i=a;i<b;++i){for(var j=1;j<c;++j){var k=e+i*d+j*g;if(k<=f){h++}}}if(this.q==null||this.q.length!=h){this.q=new Array(h)}var l=this.q;var m=0;for(var n=a;n<b;++n){for(var o=1;o<c;++o){var p=e+n*d+o*g;if(p<=this.k()){l[m]=p;m++}}}return l},$type:new $.ig.Type("LinearTickmarkValues",$$t.$hx.$type)},true);$.ig.util.defType("LogarithmicTickmarkValues:h1","TickmarkValues",{init:function(){$$t.$hx.init.call(this);this.p=null;this.q=null},o:function(a){$$t.$hx.o.call(this,a);var b=new $$t.h2(a.j(),a.i(),this.t(),a.g());this.j(1);this.n(b.f());this.l(Math.floor(Math.logBase(Math.max(5e-324,a.j()),this.t())));this.m(Math.ceil(Math.logBase(Math.max(5e-324,a.i()),this.t())))},t:function(a){if(arguments.length===1){this.g($$t.$h1.v,a);return a}else{return this.c($$t.$h1.v)}},r:function(a){var b=a*this.j();return Math.pow(this.t(),b)},p:null,h:function(){var a=this.l();var b=this.m();var c=this.k();var d=0;for(var e=a;e<=b;++e){var f=this.r(e);if(f<=c){d++}}if(this.p==null||this.p.length!=d){this.p=new Array(d)}var g=this.p;var h=0;for(var i=a;i<=b;++i){var j=this.r(i);if(j<=c){g[h]=j;h++}}return g},q:null,i:function(){var a=this.l();var b=this.m();var c=this.t();var d=this.n();var e=this.k();var f=0;for(var g=a;g<=b;++g){var h=this.r(g);var i=Math.pow(c,g);for(var j=1;j<this.n()-1;++j){var k=h+j*i;if(k<=e){f++}}}if(this.q==null||this.q.length!=f){this.q=new Array(f)}var l=this.q;var m=0;for(var n=a;n<=b;++n){var o=this.r(n);var p=Math.pow(c,n);for(var q=1;q<this.n()-1;++q){var r=o+q*p;if(r<=e){l[m]=r;m++}}}return l},$type:new $.ig.Type("LogarithmicTickmarkValues",$$t.$hx.$type)},true);$.ig.util.defType("TrendLineManagerBase$1:ki","Object",{$tTrendColumn:null,_e:null,e:function(value){if(arguments.length===1){this._e=value;return value}else{return this._e}},_a:null,a:function(value){if(arguments.length===1){this._a=value;return value}else{return this._a}},init:function($tTrendColumn){this.w=function(){var $ret=new $$t.cc;$ret.y(false);return $ret}();this.$tTrendColumn=$tTrendColumn;this.$type=this.$type.specialize(this.$tTrendColumn);$.ig.$op.init.call(this);this.e(new $$t.bh(this.$tTrendColumn,0))},x:function(){return this.w},w:null,t:function(a){this.u(a,null)},c:function(a){return a==1||a==2||a==3||a==4||a==5||a==6||a==7||a==8},b:function(a){return a==9||a==10||a==11||a==12||a==13},u:function(a,b){this.x().ag().clear();if(b!=null){b.i(this.x().ag())}if(a!=null){var d=a.getEnumerator();while(d.moveNext()){var c=d.current();if(!isNaN(c.__x)&&!isNaN(c.__y)){if(b!=null){b.j(c)}else{this.x().ag().add(c)}}}}this.x().y(this.x().ag().count()>0)},r:function(a,b,c){this.s(a,b,c,null)},s:function(a,b,c,d){var $self=this;if(d!=null){d.i(c)}var f=$$t.$kp.f(a.count(),function(g){return a.item(g).__x},function(g){return a.item(g).__y},b.b()).getEnumerator();while(f.moveNext()){var e=f.current();if(d!=null){d.j(a.item(e))}else{c.add(a.item(e))}}},n:function(a,b){if(a==null||b==null){return}if(this.x().u()!=null){this.q()}a.y().add(this.x())},q:function(){if(this.x()==null){return}var a=$.ig.util.cast($$t.$fp.$type,this.x().u());if(a!=null){a.y().remove(this.x())}},o:function(){this.x().ag().clear()},v:function(){this.a(null);this.e().clear()},p:function(a,b,c,d){switch(a){case 3:case 2:case 1:case 0:case 4:this.v();break}},d:function(a,b,c,d,e){var f=false;switch(b){case"TrendLineType":case"TrendLinePeriod":this.v();f=true;break;case"TrendLineThickness":f=true;break;case"FastItemsSource":f=true;this.v();break}return f},$type:new $.ig.Type("TrendLineManagerBase$1",$.ig.$ot)},true);$.ig.util.defType("IPreparesCategoryTrendline:j7","Object",{$type:new $.ig.Type("IPreparesCategoryTrendline",null)},true);$.ig.util.defType("CategoryTrendLineManagerBase:kh","TrendLineManagerBase$1",{init:function(){$$t.$ki.init.call(this,Number)},prepareLine:function(a,b,c,d,e,f,g){},y:function(a,b,c,d){var $self=this;if(b!=null&&$.ig.util.cast($$t.$kd.$type,b)!==null){if(a!=null){a.q()}var e=new $$t.ku(function(f){var g=f;var h=$.ig.util.cast($$t.$kd.$type,b);if(h!=null){f=Math.min(f,h.sortedIndices().count()-1);g=h.sortedIndices().__inner[f]}return h.getUnscaledValueAt(g)},function(f,g,h){var i=new $$t.ie(h,g,b.isInverted());return b.getUnscaledValue(f,i)});e.n(c,d);return e}else if(!($.ig.util.cast($$t.$kz.$type,a)!==null)){if(a!=null){a.q()}var f=new $$t.kz;f.n(c,d);return f}return a},$type:new $.ig.Type("CategoryTrendLineManagerBase",$$t.$ki.$type.specialize(Number),[$$t.$j7.$type])},true);$.ig.util.defType("CategoryTrendLineManager:kz","CategoryTrendLineManagerBase",{init:function(){$$t.$kh.init.call(this)},prepareLine:function(a,b,c,d,e,f,g){var $self=this;var h=g.d()*g.c();var i=g.e()*g.c();var j=new $$t.bh($$t.$z.$type,0);if(b==0){$self.a(null);$self.e().clear();return}if($self.c(b)){$self.e().clear();$self.a($$t.$kv.a(j,b,g,$self.a(),c.count(),function(k){return k+1},function(k){return c.item(k)},function(k){return e(k-1)},f,h+1,i+1))}if($self.b(b)){$self.a(null);$$t.$ky.b(b,$self.e(),c,d);for(var k=g.d();k<=g.e();k+=1){var l=k*g.c();if(l>=0&&l<$self.e().count()){var m=e(l);var n=f($self.e().__inner[l]);j.add({__x:m+g.a(),__y:n,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}}}$self.r(j,g,a)},$type:new $.ig.Type("CategoryTrendLineManager",$$t.$kh.$type)},true);$.ig.util.defType("IHasCategoryAxis:ha","Object",{$type:new $.ig.Type("IHasCategoryAxis",null)},true);$.ig.util.defType("IHasCategoryModePreference:g9","Object",{$type:new $.ig.Type("IHasCategoryModePreference",null,[$$t.$ha.$type])},true);$.ig.util.defType("IBucketizer:j1","Object",{$type:new $.ig.Type("IBucketizer",null)},true);$.ig.util.defType("RangeValueList:rk","Object",{a:null,b:null,init:function(a,b){$.ig.$op.init.call(this);this.a=a;this.b=b},indexOf:function(a){throw new $$t.f5},insert:function(a,b){throw new $$t.f5},removeAt:function(a){throw new $$t.f5},item:function(a,value){if(arguments.length===2){throw new $$t.f5;return value}else{var b=NaN;var c=NaN;if(this.a!=null&&a>=0&&a<this.a.count()){b=this.a.item(a)}if(this.b!=null&&a>=0&&a<this.b.count()){c=this.b.item(a)}var d=isNaN(b);var e=isNaN(c);if(!d&&!e){return(b+c)/2}if(!d){return b}if(!e){return c}return NaN}},add:function(a){throw new $$t.f5},clear:function(){throw new $$t.f5},contains:function(a){throw new $$t.f5},copyTo:function(a,b){throw new $$t.f5},count:function(){var a=0;var b=0;if(this.a!=null){a=this.a.count()}if(this.b!=null){b=this.b.count()}var c=0;c=Math.max(c,a);c=Math.max(c,b);return c},isReadOnly:function(){return true},remove:function(a){throw new $$t.f5},getEnumerator:function(){throw new $$t.f5},$type:new $.ig.Type("RangeValueList",$.ig.$ot,[$$t.$bi.$type.specialize(Number)])},true);$.ig.util.defType("CategoryFrame:ke","Frame",{init:function(a){this.h=new $$t.bh($.ig.Array.prototype.$type,0);this.r=new $$t.bh($.ig.Single.prototype.$type,0);this.k=new $$t.bh(Number,0);this.p=new $$t.bh($$t.$z.$type,0);this.l=new $$t.bh(Number,0);this.q=new $$t.bh($$t.$z.$type,0);this.n=new $$t.bh(Number,0);this.o=new $$t.bh($$t.$z.$type,0);this.j=new $$t.bh(Number,0);this.i=new $$t.bh(Number,0);this.m=new $$t.bh(Number,0);$$t.$kf.init.call(this);this.z=new $$t.x(0,0,0,1,1);this.t=a;this.x()},z:null,h:null,r:null,k:null,p:null,l:null,q:null,n:null,o:null,j:null,i:null,m:null,_u:0,u:function(value){if(arguments.length===1){this._u=value;return value}else{return this._u}},t:0,d:function(a,b,c){this.x();var d=$.ig.util.cast($$t.$ke.$type,b);var e=$.ig.util.cast($$t.$ke.$type,c);var f=d.h.count();var g=e.h.count();var h=Math.max(f,g);var i=Math.max(d.p.count(),e.p.count());var j=Math.max(d.q.count(),e.q.count());var k=Math.max(d.r.count(),e.r.count());var l=Math.max(d.o.count(),e.o.count());var m=d.m.count()>0;if(m){this.y(this.m,a,d.m,e.m,h)}var n=d.l.count()>0;if(n){this.y(this.l,a,d.l,e.l,i)}var o=d.n.count()>0;if(o){this.y(this.n,a,d.n,e.n,j)}var p=d.k.count()>0;if(p){this.y(this.k,a,d.k,e.k,k)}var q=d.j.count()>0;if(q){this.y(this.j,a,d.j,e.j,l)}if(this.h.count()<h){while(this.h.count()<h){this.h.add(new Array(this.t))}}if(this.h.count()>h){this.h.removeRange(h,this.h.count()-h)}if(m){var r=0;for(var s=0;s<Math.min(f,g);++s){var t=this.h.__inner[s];r=a*this.m.__inner[s];r=r>1?1:r;for(var u=0;u<this.t;++u){t[u]=d.h.__inner[s][u]+r*(e.h.__inner[s][u]-d.h.__inner[s][u])}}}else{for(var v=0;v<Math.min(f,g);++v){var w=this.h.__inner[v];for(var x=0;x<this.t;++x){w[x]=d.h.__inner[v][x]+a*(e.h.__inner[v][x]-d.h.__inner[v][x])}}}if(f<g){var y=new Array(this.t);for(var z=this.t-1;z>=0;--z){y[z]=d.h.count()>0?d.h.__inner[d.h.count()-1][z]:0}if(m){var aa=0;for(var ab=f;ab<g;++ab){var ac=this.h.__inner[ab];aa=a*this.m.__inner[ab];aa=aa>1?1:aa;for(var ad=this.t-1;ad>=0;--ad){ac[ad]=y[ad]+aa*(e.h.__inner[ab][ad]-y[ad])}}}else{for(var ae=f;ae<g;++ae){var af=this.h.__inner[ae];for(var ag=this.t-1;ag>=0;--ag){af[ag]=y[ag]+a*(e.h.__inner[ae][ag]-y[ag])}}}}if(f>g){var ah=new Array(this.t);for(var ai=this.t-1;ai>=0;--ai){ah[ai]=e.h.count()>0?e.h.__inner[e.h.count()-1][ai]:0}if(m){var aj=0;for(var ak=g;ak<f;++ak){var al=this.h.__inner[ak];aj=a*this.m.__inner[ak];aj=aj>1?1:aj;for(var am=this.t-1;am>=0;--am){al[am]=d.h.__inner[ak][am]+aj*(ah[am]-d.h.__inner[ak][am])}}}else{for(var an=g;an<f;++an){var ao=this.h.__inner[an];for(var ap=this.t-1;ap>=0;--ap){ao[ap]=d.h.__inner[an][ap]+a*(ah[ap]-d.h.__inner[an][ap])}}}}if(n){$$t.$kf.f(this.p,a,d.p,e.p,this.l)}else{$$t.$kf.b(this.p,a,d.p,e.p)}if(o){$$t.$kf.f(this.q,a,d.q,e.q,this.n)}else{$$t.$kf.b(this.q,a,d.q,e.q)}if(p){$$t.$kf.f(this.o,a,d.o,e.o,this.k)}else{$$t.$kf.b(this.o,a,d.o,e.o)}if(q){$$t.$kf.e(this.i,a,d.i,e.i,this.j)}else{$$t.$kf.a(this.i,a,d.i,e.i)}var aq=d.aa();var ar=e.aa();if(aq==null){aq=this.z}if(ar==null){ar=this.z}var as=aq.left()+(ar.left()-aq.left())*a;var at=aq.top()+(ar.top()-aq.top())*a;var au=aq.width()+(ar.width()-aq.width())*a;var av=aq.height()+(ar.height()-aq.height())*a;this.aa(new $$t.x(0,as,at,au,av))},y:function(a,b,c,d,e){if(d.count()==0){for(var f=0;f<c.count();f++){d.add(c.__inner[f])}}else{$$t.$kf.a(a,b,c,d)}if(a.count()<e){var g=a.count();for(var h=0;h<e-g;h++){a.add(1)}}},w:function(){this.m.clear();this.n.clear();this.l.clear();this.k.clear();this.j.clear()},v:function(){this.x();this.w();this.aa(this.z)},x:function(){$$t.$ke.s++;if($$t.$ke.s>=Number.MAX_VALUE-1){$$t.$ke.s=0}this.u($$t.$ke.s)},_aa:null,aa:function(value){if(arguments.length===1){this._aa=value;return value}else{return this._aa}},$type:new $.ig.Type("CategoryFrame",$$t.$kf.$type)},true);$.ig.util.defType("CategoryTransitionSourceFramePreparer:qq","Object",{init:function(){$.ig.$op.init.call(this);this.a=new $$t.ff},p:function(a,b,c,d,e,f,g,h,i,j,k){a.aa(new $$t.x(0,0,0,1,1));a.h.clear();a.r.clear();a.p.clear();a.q.clear();a.o.clear();a.i.clear();var l=false;var m=false;if(e!=null){l=e.isInverted()}if(d!=null){m=d.isInverted()}var n=f;if(n==0){n=g}switch(n){case 1:var o=j();this.t(a,b,o,c);break;case 7:this.r(a,b,false,c,k);break;case 9:this.s(a,b,true,c,k);break;case 10:this.s(a,b,false,c,k);break;case 8:this.r(a,b,true,c,k);break;case 2:this.u(a,b,false);break;case 3:this.u(a,b,true);break;case 4:this.v(a,b,true);break;case 5:this.v(a,b,false);break;case 6:this.j(a,b);a.aa(new $$t.x(0,.5,.5,0,0));break;case 16:if(c){this.s(a,b,l,c,k)}else{this.r(a,b,m,c,k)}break;case 17:if(c){this.s(a,b,!l,c,k)}else{this.r(a,b,!m,c,k)}break;case 18:if(c){this.r(a,b,m,c,k)}else{this.s(a,b,l,c,k)}break;case 19:if(c){this.r(a,b,!m,c,k)}else{this.s(a,b,!l,c,k)}break;case 12:if(c){this.v(a,b,l)}else{this.u(a,b,m)}break;case 13:if(c){this.v(a,b,!l)}else{this.u(a,b,!m)}break;case 14:if(c){this.u(a,b,m)}else{this.v(a,b,l)}break;case 15:if(c){this.u(a,b,!m)}else{this.v(a,b,!l)}break;case 11:this.q(a,b);break}if(h==0){h=i}a.w();b.w();switch(h){case 3:this.b(a.h.count(),n,a.m,b.m,d,e,c,k);this.b(a.p.count(),n,a.l,b.l,d,e,c,k);this.b(a.q.count(),n,a.n,b.n,d,e,c,k);this.b(a.o.count(),n,a.k,b.k,d,e,c,k);this.b(a.i.count(),n,a.j,b.j,d,e,c,k);break;case 2:var p=j();this.d(a.h.count(),p,n,a.h,b.h,a.m,b.m,d,e,c,k);this.f(a.p.count(),p,n,a.p,b.p,a.l,b.l,d,e,c,k);this.f(a.q.count(),p,n,a.q,b.q,a.n,b.n,d,e,c,k);this.f(a.o.count(),p,n,a.o,b.o,a.k,b.k,d,e,c,k);this.e(a.i.count(),p,n,a.i,b.i,a.j,b.j,d,e,c,k);break;case 4:this.c(a.h.count(),n,a.m,b.m);this.c(a.p.count(),n,a.l,b.l);this.c(a.q.count(),n,a.n,b.n);this.c(a.o.count(),n,a.k,b.k);this.c(a.i.count(),n,a.j,b.j);break}},a:null,c:function(a,b,c,d){if(a==0){return}for(var e=0;e<a;e++){c.add(1+this.a.a());d.add(1+this.a.a())}},d:function(a,b,c,d,e,f,g,h,i,j,k){if(a==0){return}var l=false;var m=i;if(j){m=h}if(m!=null){l=m.isInverted()}var n=k.bottom();var o=k.bottom();var p=k.top();if(j){o=k.right();p=k.left()}if(l){o=k.top();p=k.bottom();if(j){o=k.left();p=k.right()}}b=Math.max(b,Math.min(p,o));b=Math.min(b,Math.max(p,o));n=0;var q;for(var r=0;r<a;r++){q=e.__inner[r];for(var s=1;s<q.length;s++){if(isNaN(q[s])||Number.isInfinity(q[s])){continue}n=Math.max(n,Math.abs(b-q[s]))}}var t;var u;var v;for(var w=0;w<a;w++){q=e.__inner[w];t=Math.abs(q[1]-b);u=Math.abs(q[1]-b);for(var x=1;x<q.length;x++){if(isNaN(q[x])||Number.isInfinity(q[x])){continue}t=Math.max(Math.abs(q[x]-b),t);u=Math.min(Math.abs(q[x]-b),u)}var y=(t+u)/2;if(isNaN(y)||n==0){v=1}else{v=y/n}f.add(2-v);g.add(2-v)}},f:function(a,b,c,d,e,f,g,h,i,j,k){if(a==0){return}var l=false;var m=i;if(j){m=h}if(m!=null){l=m.isInverted()}var n=k.bottom();var o=k.bottom();var p=k.top();if(j){o=k.right();p=k.left()}if(l){o=k.top();p=k.bottom();if(j){o=k.left();p=k.right()}}b=Math.max(b,Math.min(p,o));b=Math.min(b,Math.max(p,o));n=0;var q;for(var r=0;r<a;r++){q=e.__inner[r];if(j){if(isNaN(q.__x)||Number.isInfinity(q.__x)){continue}n=Math.max(n,Math.abs(q.__x-b))}else{if(isNaN(q.__y)||Number.isInfinity(q.__y)){continue}n=Math.max(n,Math.abs(q.__y-b))}}var s;for(var t=0;t<a;t++){q=e.__inner[t];var u;if(j){u=q.__x}else{u=q.__y}if(isNaN(u)||Number.isInfinity(u)||n==0){s=1}else{s=Math.abs(u-b)/n}f.add(2-s);g.add(2-s)}},e:function(a,b,c,d,e,f,g,h,i,j,k){if(a==0){return}var l=false;var m=i;if(j){m=h}if(m!=null){l=m.isInverted()}var n=k.bottom();var o=k.bottom();var p=k.top();if(j){o=k.right();p=k.left()}if(l){o=k.top();p=k.bottom();if(j){o=k.left();p=k.right()}}b=Math.max(b,Math.min(p,o));b=Math.min(b,Math.max(p,o));n=0;var q;for(var r=0;r<a;r++){q=e.__inner[r];if(isNaN(q)||Number.isInfinity(q)){continue}n=Math.max(n,Math.abs(q-b))}var s;for(var t=0;t<a;t++){q=e.__inner[t];var u;u=q;if(n==0||isNaN(u)||Number.isInfinity(u)){s=1}else{s=Math.abs(u-b)/n}f.add(2-s);g.add(2-s)}},b:function(a,b,c,d,e,f,g,h){if(a==0){return}var i=e;if(g){i=f}var j=false;if(i!=null){j=i.isInverted()}var k;for(var l=0;l<a;l++){if(a==1){k=1}else{k=l/(a-1)}k=1-k;c.add(1+k);d.add(1+k)}},q:function(a,b){a.h.clear();a.r.clear();a.p.clear();a.q.clear();a.o.clear();a.i.clear();this.g(a.h,b.h);this.i(a.r,b.r);this.k(a.p,b.p);this.k(a.q,b.q);this.k(a.o,b.o);this.h(a.i,b.i);var c=a.h.count();var d=a.h;var e;var f;var g;var h;for(var i=0;i<c;i++){e=d.__inner[i];f=e[1];g=e[1];for(var j=2;j<e.length;j++){f=Math.min(f,e[j]);g=Math.max(g,e[j])}h=(f+g)/2;for(var k=1;k<e.length;k++){e[k]=h}}var l=a.i.count();var m=a.i;for(var n=0;n<l;n++){m.__inner[n]=0}},u:function(a,b,c){if(c){this.j(a,b);a.aa(new $$t.x(0,1,0,0,1))}else{this.j(a,b);a.aa(new $$t.x(0,0,0,0,1))}},v:function(a,b,c){if(c){this.j(a,b);a.aa(new $$t.x(0,0,0,1,0))}else{this.j(a,b);a.aa(new $$t.x(0,0,1,1,0))}},j:function(a,b){a.h.clear();a.r.clear();a.p.clear();a.q.clear();a.o.clear();a.i.clear();this.g(a.h,b.h);this.i(a.r,b.r);this.k(a.p,b.p);this.k(a.q,b.q);this.k(a.o,b.o);this.h(a.i,b.i)},o:function(a,b,c,d,e){var f=b.count();var g;var h;for(var i=0;i<f;i++){g=b.__inner[i];if(e){if(c){h={__x:d,__y:g.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}else{h={__x:g.__x,__y:d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}}else{if(c){h={__x:g.__x,__y:d,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}else{h={__x:d,__y:g.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName}}}a.add(h)}},k:function(a,b){var c=b.count();var d;var e;for(var f=0;f<c;f++){d=b.__inner[f];e={__x:d.__x,__y:d.__y,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};a.add(e)}},g:function(a,b){var c=b.count();var d=b;var e;var f;var g=a;for(var h=0;h<c;h++){f=d.__inner[h];e=new Array(f.length);for(var i=0;i<e.length;i++){e[i]=f[i]}g.add(e)}},l:function(a,b,c,d,e){var f=b.count();var g=b;var h;var i;var j=a;for(var k=0;k<f;k++){i=g.__inner[k];h=new Array(i.length);if(e){h[0]=i[0];for(var l=1;l<h.length;l++){h[l]=d}}else{h[0]=d;for(var m=1;m<h.length;m++){h[m]=i[m]}}j.add(h)}},n:function(a,b){var c=b.count();var d;for(var e=0;e<c;e++){d=b.__inner[e];a.add(d)}},i:function(a,b){var c=b.count();var d;for(var e=0;e<c;e++){d=b.__inner[e];a.add(d)}},h:function(a,b){var c=b.count();var d;for(var e=0;e<c;e++){d=b.__inner[e];a.add(d)}},m:function(a,b,c,d,e){var f=b.count();var g;for(var h=0;h<f;h++){g=b.__inner[h];a.add(g)}},r:function(a,b,c,d,e){var f=e.right();if(!c){f=e.left()}var g=false;if(d){g=true}this.l(a.h,b.h,d,f,g);this.n(a.r,b.r);this.o(a.p,b.p,d,f,g);this.o(a.q,b.q,d,f,g);this.o(a.o,b.o,d,f,g);this.m(a.i,b.i,d,f,g)},s:function(a,b,c,d,e){var f=e.bottom();if(c){f=e.top()}var g=true;if(d){g=false}this.l(a.h,b.h,d,f,g);this.n(a.r,b.r);this.o(a.p,b.p,d,f,g);this.o(a.q,b.q,d,f,g);this.o(a.o,b.o,d,f,g);this.m(a.i,b.i,d,f,g)},t:function(a,b,c,d){this.l(a.h,b.h,d,c,true);this.n(a.r,b.r);this.o(a.p,b.p,d,c,true);this.o(a.q,b.q,d,c,true);this.o(a.o,b.o,d,c,true);this.m(a.i,b.i,d,c,true)},$type:new $.ig.Type("CategoryTransitionSourceFramePreparer",$.ig.$ot)},true);$.ig.util.defType("CategorySeriesRenderManager:l1","Object",{init:function(){$.ig.$op.init.call(this)},ah:null,ai:null,l:0,ao:null,aq:null,j:0,k:0,i:0,h:0,as:null,ar:null,am:null,an:null,r:0,ap:null,at:null,p:0,q:0,o:0,n:0,av:null,au:null,ak:null,al:null,m:0,f:false,e:false,af:null,ag:null,g:0,_b:null,b:function(value){if(arguments.length===1){this._b=value;return value}else{return this._b}},_a:null,a:function(value){if(arguments.length===1){this._a=value;return value}else{return this._a}},c:null,s:0,t:0,w:function(a,b,c,d,e){this.s=d;this.t=e;this.e=false;this.ak=a.actualMarkerBrush();this.al=a.actualMarkerOutline();this.m=1;this.af=this.ak;this.ag=this.al;this.g=this.m;var f=b;this.a(null);if(f){this.a(new $$t.l7);this.a().maxAllSeriesHighlightingProgress(0);this.a().sumAllSeriesHighlightingProgress(0);if(a.seriesViewer()!=null){this.a().maxAllSeriesHighlightingProgress(a.seriesViewer().ap().l());this.a().sumAllSeriesHighlightingProgress(a.seriesViewer().ap().n())}this.a().getItems(c)}},x:function(a,b,c,d,e,f){this.s=e;this.t=f;this.f=false;this.am=a.actualBrush();this.an=a.actualOutline();this.r=a.thickness();this.ap=a.dashArray();this.at=a.dashCap();this.p=0;this.q=0;this.o=1;this.n=a.miterLimit();this.av=a.startCap();this.au=a.endCap();this.ah=this.am;this.ai=this.an;this.l=this.r;this.ao=this.ap;this.aq=this.at;this.j=this.p;this.k=this.q;this.i=this.o;this.h=this.n;this.as=this.av;this.ar=this.au;this.c=c;var g=b;this.b(null);if(g){this.b(new $$t.l2);this.b().maxAllSeriesHighlightingProgress(0);this.b().sumAllSeriesHighlightingProgress(0);if(a.seriesViewer()!=null){this.b().maxAllSeriesHighlightingProgress(a.seriesViewer().ap().k());this.b().sumAllSeriesHighlightingProgress(a.seriesViewer().ap().m())}this.b().getItems(d)}},ae:function(a,b,c,d,e){var f=this.ah;if(e){f=this.ai}if(c){a.__fill=f}else{if(b){a.__stroke=f}else{a.__fill=f;a.__stroke=this.ai}a.z(this.l);a.af(this.ao);a.aa(this.aq);if(d){}}a.__opacity=this.i},ad:function(a,b){a.__opacity=this.g;b.itemBrush(this.af);b.actualItemBrush(b.itemBrush());b.outline(this.ag);b.thickness(.5)},d:function(a,b){var c=this.s;var d=Math.min(b*c,a-1);var e=Math.min(d+c-1,a-1);var f=new Array(2);f[0]=d+this.t*c;f[1]=e+this.t*c;return f},u:function(a){if(a==null){return}var b=a.progress();b=b*.5;this.ah=this.aj(this.ah,b);this.ai=this.aj(this.ai,b)},aj:function(a,b){if(a==null){return a}return a.getLightened(b)},v:function(a){if(a==null){return}var b=a.progress();b=b*.5;this.af=this.aj(this.af,b);this.ag=this.aj(this.ag,b)},y:function(a,b,c,d,e,f,g,h,i){if(d==-1){if(b){a.hasDateRange(true);a.startDate(f.actualMinimumValue());a.endDate(f.actualMaximumValue())}else{a.hasDateRange(false);a.startIndex(0);a.endIndex(e-1)}}else{if(b){var longStart_=f.getUnscaledValue(c.__inner[d][0],g);var longEnd_=longStart_;if(d+1<c.count()){longEnd_=f.getUnscaledValue(c.__inner[d+1][0],g)}a.hasDateRange(true);a.startDate(new Date(longStart_));a.endDate(new Date(longEnd_));if(f.isInverted()){var j=a.endDate();a.endDate(a.startDate());a.startDate(j)}if(i){a.startIndex(d);a.endIndex(d)}else{var k=this.d(e,d);a.startIndex(k[0]);a.endIndex(k[1])}}else{if(i){a.startIndex(d);a.endIndex(d)}else{var l=this.d(e,d);a.hasDateRange(false);a.startIndex(l[0]);a.endIndex(l[1])}}}},ac:function(a,b,c,d,e,f,g){this.ah=this.am;this.ai=this.an;this.l=this.r;this.ao=this.ap;this.aq=this.at;this.j=this.p;this.k=this.q;this.i=this.o;var h=this.b();var i=d.isSorting();this.y(h,i,a,b,c,d,e,f,false);h.fill(this.ah);h.stroke(this.ai);h.strokeThickness(this.l);h.strokeDashArray(this.ao);h.strokeDashCap(this.aq);h.radiusX(this.j);h.radiusY(this.k);h.opacity(this.i);h.isNegativeShape(this.f);h.highlightingHandled(false)},aa:function(a,b,c){var d=this.b();this.ah=d.fill();this.ai=d.stroke();this.l=d.strokeThickness();this.ao=d.strokeDashArray();this.aq=d.strokeDashCap();this.j=d.radiusX();this.k=d.radiusY();this.i=d.opacity();if(c&&!d.highlightingHandled()&&!b){this.u(a)}},ab:function(a,b,c,d,e,f,g){this.af=this.ak;this.ag=this.al;this.g=this.m;var h=this.a();var i=d.isSorting();this.y(h,i,a,b,c,d,e,f,true);h.fill(this.af);h.stroke(this.ag);h.opacity(this.g);h.isNegativeShape(this.e);h.highlightingHandled(false)},z:function(a,b,c){var d=this.a();this.af=d.fill();this.ag=d.stroke();this.g=d.opacity();if(c&&!d.highlightingHandled()&&!b){this.v(a)}},$type:new $.ig.Type("CategorySeriesRenderManager",$.ig.$ot)},true);$.ig.util.defType("AssigningCategoryStyleEventArgsBase:l3","Object",{init:function(){$.ig.$op.init.call(this)},_startIndex:0,startIndex:function(value){if(arguments.length===1){this._startIndex=value;return value}else{return this._startIndex}},_endIndex:0,endIndex:function(value){if(arguments.length===1){this._endIndex=value;return value}else{return this._endIndex}},_startDate:null,startDate:function(value){if(arguments.length===1){this._startDate=value;return value}else{return this._startDate}},_endDate:null,endDate:function(value){if(arguments.length===1){this._endDate=value;return value}else{return this._endDate}},_getItems:null,getItems:function(value){if(arguments.length===1){this._getItems=value;return value}else{return this._getItems}},_fill:null,fill:function(value){if(arguments.length===1){this._fill=value;return value}else{return this._fill}},_stroke:null,stroke:function(value){if(arguments.length===1){this._stroke=value;return value}else{return this._stroke}},_opacity:0,opacity:function(value){if(arguments.length===1){this._opacity=value;return value}else{return this._opacity}},_highlightingInfo:null,highlightingInfo:function(value){if(arguments.length===1){this._highlightingInfo=value;return value}else{return this._highlightingInfo}},_maxAllSeriesHighlightingProgress:0,maxAllSeriesHighlightingProgress:function(value){if(arguments.length===1){this._maxAllSeriesHighlightingProgress=value;return value}else{return this._maxAllSeriesHighlightingProgress}},_sumAllSeriesHighlightingProgress:0,sumAllSeriesHighlightingProgress:function(value){if(arguments.length===1){this._sumAllSeriesHighlightingProgress=value;return value}else{return this._sumAllSeriesHighlightingProgress}},_highlightingHandled:false,highlightingHandled:function(value){if(arguments.length===1){this._highlightingHandled=value;return value}else{return this._highlightingHandled}},_hasDateRange:false,hasDateRange:function(value){if(arguments.length===1){this._hasDateRange=value;return value}else{return this._hasDateRange}},_isNegativeShape:false,isNegativeShape:function(value){if(arguments.length===1){this._isNegativeShape=value;return value}else{return this._isNegativeShape}},_isThumbnail:false,isThumbnail:function(value){if(arguments.length===1){this._isThumbnail=value;return value}else{return this._isThumbnail}},$type:new $.ig.Type("AssigningCategoryStyleEventArgsBase",$.ig.$ot)},true);$.ig.util.defType("AssigningCategoryStyleEventArgs:l2","AssigningCategoryStyleEventArgsBase",{init:function(){$$t.$l3.init.call(this)},_strokeThickness:0,strokeThickness:function(value){if(arguments.length===1){this._strokeThickness=value;return value}else{return this._strokeThickness}},_strokeDashArray:null,strokeDashArray:function(value){if(arguments.length===1){this._strokeDashArray=value;
return value}else{return this._strokeDashArray}},_strokeDashCap:null,strokeDashCap:function(value){if(arguments.length===1){this._strokeDashCap=value;return value}else{return this._strokeDashCap}},_radiusX:0,radiusX:function(value){if(arguments.length===1){this._radiusX=value;return value}else{return this._radiusX}},_radiusY:0,radiusY:function(value){if(arguments.length===1){this._radiusY=value;return value}else{return this._radiusY}},$type:new $.ig.Type("AssigningCategoryStyleEventArgs",$$t.$l3.$type)},true);$.ig.util.defType("AssigningCategoryMarkerStyleEventArgs:l7","AssigningCategoryStyleEventArgsBase",{init:function(){$$t.$l3.init.call(this)},$type:new $.ig.Type("AssigningCategoryMarkerStyleEventArgs",$$t.$l3.$type)},true);$.ig.util.defType("FinancialSeries:qn","Series",{hc:function(a){$$t.$aj.hc.call(this,a);this.j7(a)},_j7:null,j7:function(value){if(arguments.length===1){this._j7=value;return value}else{return this._j7}},isFinancial:function(){return true},init:function(){this.k5=new $$t.f0($$t.$jj.$type.specialize(Number),String,0);this.k6=new $$t.f0(String,String,0);this.kv=false;this.ku=false;$$t.$aj.init.call(this);this.jz=new $$t.l1;this.kw(false);this.j2(new $$t.qq);this.jx(new $$t.ke(3));this.y($$t.$qn.$type)},negativeBrush:function(a){if(arguments.length===1){this.g($$t.$qn.negativeBrushProperty,a);return a}else{return this.c($$t.$qn.negativeBrushProperty)}},xAxis:function(a){if(arguments.length===1){this.g($$t.$qn.xAxisProperty,a);return a}else{return this.c($$t.$qn.xAxisProperty)}},yAxis:function(a){if(arguments.length===1){this.g($$t.$qn.yAxisProperty,a);return a}else{return this.c($$t.$qn.yAxisProperty)}},openMemberPath:function(a){if(arguments.length===1){this.g($$t.$qn.openMemberPathProperty,a);return a}else{return this.c($$t.$qn.openMemberPathProperty)}},kj:function(a){if(arguments.length===1){if(this.ki!=a){var b=this.ki;this.ki=a;this.raisePropertyChanged("OpenColumn",b,this.ki)}return a}else{return this.ki}},ki:null,highMemberPath:function(a){if(arguments.length===1){this.g($$t.$qn.highMemberPathProperty,a);return a}else{return this.c($$t.$qn.highMemberPathProperty)}},kf:function(a){if(arguments.length===1){if(this.ke!=a){var b=this.ke;this.ke=a;this.raisePropertyChanged("HighColumn",b,this.ke)}return a}else{return this.ke}},ke:null,lowMemberPath:function(a){if(arguments.length===1){this.g($$t.$qn.lowMemberPathProperty,a);return a}else{return this.c($$t.$qn.lowMemberPathProperty)}},kh:function(a){if(arguments.length===1){if(this.kg!=a){var b=this.kg;this.kg=a;this.raisePropertyChanged("LowColumn",b,this.kg)}return a}else{return this.kg}},kg:null,closeMemberPath:function(a){if(arguments.length===1){this.g($$t.$qn.closeMemberPathProperty,a);return a}else{return this.c($$t.$qn.closeMemberPathProperty)}},kd:function(a){if(arguments.length===1){if(this.kc!=a){var b=this.kc;this.kc=a;this.raisePropertyChanged("CloseColumn",b,this.kc)}return a}else{return this.kc}},kc:null,volumeMemberPath:function(a){if(arguments.length===1){this.g($$t.$qn.volumeMemberPathProperty,a);return a}else{return this.c($$t.$qn.volumeMemberPathProperty)}},km:function(a){if(arguments.length===1){if(this.kl!=a){var b=this.kl;this.kl=a;this.raisePropertyChanged("VolumeColumn",b,this.kl)}return a}else{return this.kl}},kl:null,isCustomCategoryStyleAllowed:function(a){if(arguments.length===1){this.g($$t.$qn.isCustomCategoryStyleAllowedProperty,a);return a}else{return this.c($$t.$qn.isCustomCategoryStyleAllowedProperty)}},_kw:false,kw:function(value){if(arguments.length===1){this._kw=value;return value}else{return this._kw}},assigningCategoryStyle:null,k1:function(){return this.assigningCategoryStyle!=null&&this.kw()||this.isHighlightingEnabled()},ml:function(a){if(this.assigningCategoryStyle!=null&&this.kw()){this.assigningCategoryStyle(this,a)}},jz:null,mj:function(a,b,c,d,e,f){var g=this.bk();this.jz.ac(a,b,c,d,e,f,g);var h=this.jz.b();var i=null;var j=this.bb();if(g&&this.seriesViewer()!=null){i=this.seriesViewer().ap().a(this,j,d,h.startIndex(),h.endIndex(),false);h.highlightingInfo(i)}h.isThumbnail(f);this.ml(h);this.jz.aa(i,f,g)},li:function(a){return this.dc(a,this.xAxis())},getPreviousOrExactIndex:function(a,b){return this.d5(a,b,this.xAxis(),this.li.runOn(this),new $$t.qt(this.kj(),this.kf(),this.kh(),this.kd(),this.km()))},getNextOrExactIndex:function(a,b){return this.d3(a,b,this.xAxis(),this.li.runOn(this),new $$t.qt(this.kj(),this.kf(),this.kh(),this.kd(),this.km()))},c8:function(a,b,c,d,e){if(c==null){return Number.POSITIVE_INFINITY}var f=this.xAxis().itemsCount();return this.c9(a,b,this.xAxis(),d,e,f,this.li.runOn(this))},getOffsetValue:function(){return this.getOffset(this.view().bv(),this.view().bu())},getCategoryWidth:function(){return this.xAxis().getCategorySize(this.view().bv(),this.view().bu())},getSeriesValuePosition:function(a,b,c){return this.et(a,b,c,this.getOffset(this.view().bv(),this.view().bu()),this.yAxis(),this.xAxis(),null,null,null)},getSeriesValue:function(a,b,c){var d=this.getOffset(this.view().bv(),this.view().bu());var e=new $$t.ie(this.view().bv(),this.view().bu(),this.xAxis().isInverted());e.b=this.seriesViewer().viewportRect();return this.dk(new $$t.qt(this.kj(),this.kf(),this.kh(),this.kd(),this.km()),a,this.xAxis(),e,d,this.li.runOn(this),b,c)},getSeriesHighValue:function(a,b,c){var d=this.getOffset(this.view().bv(),this.view().bu());var e=new $$t.ie(this.view().bv(),this.view().bu(),this.xAxis().isInverted());e.b=this.seriesViewer().viewportRect();return this.dk(this.kf(),a,this.xAxis(),e,d,this.li.runOn(this),b,c)},getSeriesLowValue:function(a,b,c){var d=this.getOffset(this.view().bv(),this.view().bu());var e=new $$t.ie(this.view().bv(),this.view().bu(),this.xAxis().isInverted());e.b=this.seriesViewer().viewportRect();return this.dk(this.kh(),a,this.xAxis(),e,d,this.li.runOn(this),b,c)},getSeriesCloseValue:function(a,b,c){var d=this.getOffset(this.view().bv(),this.view().bu());var e=new $$t.ie(this.view().bv(),this.view().bu(),this.xAxis().isInverted());e.b=this.seriesViewer().viewportRect();return this.dk(this.kd(),a,this.xAxis(),e,d,this.li.runOn(this),b,c)},getSeriesOpenValue:function(a,b,c){var d=this.getOffset(this.view().bv(),this.view().bu());var e=new $$t.ie(this.view().bv(),this.view().bu(),this.xAxis().isInverted());e.b=this.seriesViewer().viewportRect();return this.dk(this.kj(),a,this.xAxis(),e,d,this.li.runOn(this),b,c)},getSeriesVolumeValue:function(a,b,c){var d=this.getOffset(this.view().bv(),this.view().bu());var e=new $$t.ie(this.view().bv(),this.view().bu(),this.xAxis().isInverted());e.b=this.seriesViewer().viewportRect();return this.dk(this.km(),a,this.xAxis(),e,d,this.li.runOn(this),b,c)},getSeriesHighValuePosition:function(a,b,c){var $self=this;return $self.et(a,b,c,$self.getOffset($self.view().bv(),$self.view().bu()),$self.yAxis(),$self.xAxis(),$self.getSeriesHighValue.runOn($self),function(d,e){return $self.d5(d,e,$self.xAxis(),$self.li.runOn($self),$self.kf())},function(d,e){return $self.d3(d,e,$self.xAxis(),$self.li.runOn($self),$self.kf())})},getSeriesLowValuePosition:function(a,b,c){var $self=this;return $self.et(a,b,c,$self.getOffset($self.view().bv(),$self.view().bu()),$self.yAxis(),$self.xAxis(),$self.getSeriesLowValue.runOn($self),function(d,e){return $self.d5(d,e,$self.xAxis(),$self.li.runOn($self),$self.kh())},function(d,e){return $self.d3(d,e,$self.xAxis(),$self.li.runOn($self),$self.kh())})},getSeriesOpenValuePosition:function(a,b,c){var $self=this;return $self.et(a,b,c,$self.getOffset($self.view().bv(),$self.view().bu()),$self.yAxis(),$self.xAxis(),$self.getSeriesOpenValue.runOn($self),function(d,e){return $self.d5(d,e,$self.xAxis(),$self.li.runOn($self),$self.kj())},function(d,e){return $self.d3(d,e,$self.xAxis(),$self.li.runOn($self),$self.kj())})},getSeriesCloseValuePosition:function(a,b,c){var $self=this;return $self.et(a,b,c,$self.getOffset($self.view().bv(),$self.view().bu()),$self.yAxis(),$self.xAxis(),$self.getSeriesCloseValue.runOn($self),function(d,e){return $self.d5(d,e,$self.xAxis(),$self.li.runOn($self),$self.kd())},function(d,e){return $self.d3(d,e,$self.xAxis(),$self.li.runOn($self),$self.kd())})},getSeriesVolumeValuePosition:function(a,b,c){var $self=this;return $self.et(a,b,c,$self.getOffset($self.view().bv(),$self.view().bu()),$self.yAxis(),$self.xAxis(),$self.getSeriesVolumeValue.runOn($self),function(d,e){return $self.d5(d,e,$self.xAxis(),$self.li.runOn($self),$self.km())},function(d,e){return $self.d3(d,e,$self.xAxis(),$self.li.runOn($self),$self.km())})},gs:function(){$$t.$aj.gs.call(this);if(this.xAxis()!=null){this.xAxis().du(false)}if(this.yAxis()!=null){this.yAxis().du(false)}},h3:function(a,b){this.j7().bx().e(this.resolution());this.renderSeries(false)},h2:function(a,b){if(this.k2()&&this.du()<.05){this.cn(true)}this.j7().bx().e(this.resolution());this.renderSeries(false)},k5:null,k6:null,kk:function(a,b,c){var d=this.a8(b);this.k5.add(d,b);this.k6.add(b,c);return d},mi:function(a,b){if(b==null){return}a.deregisterColumn(b);var c=this.k5.item(b);this.k6.remove(c);this.k5.remove(b)},kv:false,hh:function(a,b,c,d){$$t.$aj.hh.call(this,a,b,c,d);switch(b){case"SyncLink":if(this.syncLink()!=null&&this.seriesViewer()!=null){this.j7().bx().e(this.resolution());this.renderSeries(false)}break;case"SeriesViewer":if(c!=null&&d==null){if(this.xAxis()!=null){this.xAxis().deregisterSeries(this)}if(this.yAxis()!=null){this.yAxis().deregisterSeries(this)}}if(c==null&&d!=null){if(this.xAxis()!=null){this.xAxis().registerSeries(this)}if(this.yAxis()!=null){this.yAxis().registerSeries(this)}}this.j7().bx().e(this.resolution());this.renderSeries(false);break;case"FastItemsSource":this.kv=true;if($.ig.util.cast($$t.$ji.$type,c)!=null){this.mi($.ig.util.cast($$t.$ji.$type,c),this.kj());this.mi($.ig.util.cast($$t.$ji.$type,c),this.kf());this.mi($.ig.util.cast($$t.$ji.$type,c),this.kh());this.mi($.ig.util.cast($$t.$ji.$type,c),this.kd());this.mi($.ig.util.cast($$t.$ji.$type,c),this.km());this.kj(null);this.kf(null);this.kh(null);this.kd(null);this.km(null)}if($.ig.util.cast($$t.$ji.$type,d)!=null){if(this.openMemberPath()!=null){this.kj(this.kk($.ig.util.cast($$t.$ji.$type,d),this.openMemberPath(),"OpenColumn"))}if(this.highMemberPath()!=null){this.kf(this.kk($.ig.util.cast($$t.$ji.$type,d),this.highMemberPath(),"HighColumn"))}if(this.lowMemberPath()!=null){this.kh(this.kk($.ig.util.cast($$t.$ji.$type,d),this.lowMemberPath(),"LowColumn"))}if(this.closeMemberPath()!=null){this.kd(this.kk($.ig.util.cast($$t.$ji.$type,d),this.closeMemberPath(),"CloseColumn"))}if(this.volumeMemberPath()!=null){this.km(this.kk($.ig.util.cast($$t.$ji.$type,d),this.volumeMemberPath(),"VolumeColumn"))}}this.kv=false;if(this.yAxis()!=null&&!this.yAxis().updateRange()){this.j7().bx().e(this.resolution());this.renderSeries(false)}break;case"OpenMemberPath":if(this.bb()!=null){this.mi(this.bb(),this.kj());this.kj(this.kk(this.bb(),this.openMemberPath(),"OpenColumn"))}break;case"OpenColumn":if(this.yAxis()!=null&&!this.yAxis().updateRange()&&!this.kv){this.j7().bx().e(this.resolution());this.renderSeries(false)}break;case"HighMemberPath":if(this.bb()!=null){this.mi(this.bb(),this.kf());this.kf(this.kk(this.bb(),this.highMemberPath(),"HighColumn"))}break;case"HighColumn":if(this.yAxis()!=null&&!this.yAxis().updateRange()&&!this.kv){this.j7().bx().e(this.resolution());this.renderSeries(false)}break;case"LowMemberPath":if(this.bb()!=null){this.mi(this.bb(),this.kh());this.kh(this.kk(this.bb(),this.lowMemberPath(),"LowColumn"))}break;case"LowColumn":if(this.yAxis()!=null&&!this.yAxis().updateRange()&&!this.kv){this.j7().bx().e(this.resolution());this.renderSeries(false)}break;case"CloseMemberPath":if(this.bb()!=null){this.mi(this.bb(),this.kd());this.kd(this.kk(this.bb(),this.closeMemberPath(),"CloseColumn"))}break;case"CloseColumn":if(this.yAxis()!=null&&!this.yAxis().updateRange()&&!this.kv){this.j7().bx().e(this.resolution());this.renderSeries(false)}break;case"VolumeMemberPath":if(this.bb()!=null){this.mi(this.bb(),this.km());this.km(this.kk(this.bb(),this.volumeMemberPath(),"VolumeColumn"))}break;case"VolumeColumn":if(this.yAxis()!=null&&!this.yAxis().updateRange()&&!this.kv){this.j7().bx().e(this.resolution());this.renderSeries(false)}break;case"XAxis":if(c!=null){$.ig.util.cast($$t.$hc.$type,c).deregisterSeries(this)}if(d!=null){$.ig.util.cast($$t.$hc.$type,d).registerSeries(this)}this.j7().bx().e(this.resolution());this.renderSeries(false);this.gy();break;case"YAxis":if(c!=null){$.ig.util.cast($$t.$hc.$type,c).deregisterSeries(this)}if(d!=null){$.ig.util.cast($$t.$hc.$type,d).registerSeries(this)}this.j7().bx().e(this.resolution());if(this.yAxis()!=null){this.yAxis().updateRange()}this.renderSeries(false);this.gy();break;case"TransitionProgress":this.jy.d(this.du(),this.jw,this.jv);if(this.bn(this.view())){return}if(this.du()==1){this.jv.w();this.mm(this.jv,this.j7());if(this.k2()){this.k2(false);this.gi();this.a5().intervalMilliseconds(this.dl());this.a5().easingFunction(this.transitionEasingFunction())}}else{this.mm(this.jy,this.j7())}break;case"NegativeBrush":this.renderSeries(false);break;case"IsCustomCategoryStyleAllowed":this.kw(this.kx());this.renderSeries(false);break}},ko:function(a,b,c){if(b<a||a<0||a>this.bb().count()||b<0||b>this.bb().count()||c==null){return null}var d=new Array(b-a+1);var e=c.isSorting();var f=null;if(e){f=c.sortedIndices()}for(var g=a;g<=b;g++){var h=g;if(e){h=f.__inner[h]}d[g-a]=this.bb().item(g)}return d},lq:function(a){return a.bx().b()},lr:function(a){return a.bx().c()},getCategoryItems:function(a,b){return this.ko(a,b,this.yAxis())},_ka:null,ka:function(value){if(arguments.length===1){this._ka=value;return value}else{return this._ka}},ky:function(){return false},b2:function(){return true},ah:function(a,b){if(this.ky()){var c=this.j9(a,b,this.ka());this.ka(c);return c}else{var d=this.j8(a,b,this.ka());this.ka(d);return d}},lt:function(a){var b=this.jv;if(this.bl()){b=this.jy}var c=this.view().bu();var d=this.view().bv();var e=this.xAxis();var f=new $$t.ie(d,c,e.isInverted());var g=0;if(e.isVertical()){var h=(a.__y-d.top())/d.height();g=h*c.height()+c.top()}else{var i=(a.__x-d.left())/d.width();g=i*c.width()+c.left()}var j=b.h.count();var k=0;for(k=0;k<j;k++){var l=b.h.__inner[k];var m=null;if(k<j-1){m=b.h.__inner[k+1]}if(l[0]<=g&&m==null||m[0]>=g){if(m!=null){if(Math.abs(l[0]-g)<Math.abs(m[0]-g)){return k}else{return k+1}}else{return k}}}return k},j9:function(a,b,c){var d=this.bb().count();var e=this.j7().bx().c();var f=this.j7().bx().d();var g=this.j7().bx().b();var h=this.xAxis();var i=-1;var j=-1;if(h.isSorting()){var k=this.jv;if(this.bl()){k=this.jy}var l=this.lt(b);i=l;j=l}else{var m=this.getItemIndex(b);i=Math.floor($.ig.intDivide(m,g))*g;j=i+(g-1)}if(c!=null&&c.startIndex()==i&&c.endIndex()==j){return c}var n=new $$t.l5;n.series(this);n.startIndex(i);n.endIndex(j);return n},j8:function(a,b,c){var d=new $$t.l5;d.series(this);d.startIndex(0);d.endIndex(this.bb().count()-1);if(c!=null&&c.startIndex()==d.startIndex()&&c.endIndex()==d.endIndex()){return c}return d},kx:function(){return this.isCustomCategoryStyleAllowed()},getExactItemIndex:function(a){var b=this.view().bv();var c=this.view().bu();var d=-1;if(!b.isEmpty()&&!c.isEmpty()&this.xAxis()!=null){var e=this.xAxis().getUnscaledValue2(c.left(),b,c,this.xAxis().categoryMode());var f=this.xAxis().getUnscaledValue2(c.right(),b,c,this.xAxis().categoryMode());var g=(a.__x-b.left())/b.width();var h=e+g*(f-e);if(this.xAxis().categoryMode()!=0){h-=.5}d=h}return d},getItemIndex:function(a){return Math.round(this.getExactItemIndex(a))},ls:function(a){var b=this.view().bv();var c=this.view().bu();if(b.isEmpty()||c.isEmpty()){return-1}var d=new $$t.ie(b,c,this.xAxis().isInverted());var e=$.ig.util.cast($$t.$kd.$type,this.xAxis());var f=this.xAxis().getUnscaledValue(c.left(),d);var g=this.xAxis().getUnscaledValue(c.right(),d);var h=(a.__x-b.left())/b.width();var i=f+(g-f)*h;var j=e.getIndexClosestToUnscaledValue(i);return j},getItem:function(a){var b=0;if($.ig.util.cast($$t.$kd.$type,this.xAxis())!==null){b=this.ls(a);if(b==-1){return null}}else{b=this.getItemIndex(a)}return b>=0&&this.bb()!=null&&b<this.bb().count()?this.bb().item(b):null},jw:null,jy:null,jv:null,getOffset:function(a,b){var c=0;if(this.xAxis()==null){return c}var d=this.xAxis().categoryMode();switch(d){case 0:c=0;break;case 1:c=.5*this.xAxis().getCategorySize(a,b);break;case 2:c=this.xAxis().getGroupCenter(this.index(),a,b);break}if(this.xAxis().isInverted()){c=-c}return c},transitionInMode:function(a){if(arguments.length===1){this.g($$t.$qn.transitionInModeProperty,a);return a}else{return this.c($$t.$qn.transitionInModeProperty)}},isTransitionInEnabled:function(a){if(arguments.length===1){this.g($$t.$qn.isTransitionInEnabledProperty,a);return a}else{return this.c($$t.$qn.isTransitionInEnabledProperty)}},ci:function(){return this.isTransitionInEnabled()},j0:function(){return 11},az:function(){return 3},_k2:false,k2:function(value){if(arguments.length===1){this._k2=value;return value}else{return this._k2}},mm:function(a,b){this.jq(a.aa());b.ap()},mz:null,m0:function(){return this.mz},mk:function(a,b){a.v()},ct:function(a,b,c){var d=$$t.$aj.ct.call(this,a,b,c);var e=c;if(this.bb()==null||this.bb().count()==0||!c.l()||b.isEmpty()||a.isEmpty()||this.xAxis()==null||this.yAxis()==null||e.bx().b()<1||this.xAxis().seriesViewer()==null||this.yAxis().seriesViewer()==null||this.yAxis().actualMinimumValue()==this.yAxis().actualMaximumValue()||this.xAxis().itemsSource()==null||this.xAxis().itemsCount()<1){e.bx().b(0);d=false}return d},getViewInfo:function(a,b){b=this.view().bv();a=this.view().bu();return{viewportRect:a,windowRect:b}},_j2:null,j2:function(value){if(arguments.length===1){this._j2=value;return value}else{return this._j2}},lo:function(a){var b=0;var c=a.bv();var d=a.bu();if(!c.isEmpty()&&!d.isEmpty()&&this.yAxis()!=null){var e=new $$t.ie(c,d,this.yAxis().isInverted());b=this.yAxis().getScaledValue(this.yAxis().referenceValue(),e)}return b},gi:function(){$$t.$aj.gi.call(this);this.jw.w();this.jv.w();this.jy.w()},hq:function(a){var $self=this;$$t.$aj.hq.call($self,a);$self.j7().bx().e($self.resolution());if($self.bn($self.view())){return}if($self.cj()){if($self.bl()){$self.mm($self.jy,$self.j7())}else{$self.mm($self.jv,$self.j7())}return}if($self.cg(a)){var b=$self.jw;if($self.bl()){if($self.a5().needsFlush()){$self.a5().flush()}$self.jw=$self.jy;$self.jy=b}else{$self.jw=$self.jv;$self.jv=b}$self.mk($self.jv,$self.j7());if($self.cn()){$self.a5().stop();$self.a5().intervalMilliseconds($self.dm());$self.a5().easingFunction($self.transitionInEasingFunction()!=null?$self.transitionInEasingFunction():$self.transitionEasingFunction());$self.j2().p($self.jw,$self.jv,$self.isVertical(),$self.xAxis(),$self.yAxis(),$self.transitionInMode(),$self.j0(),$self.transitionInSpeedType(),$self.az(),function(){return $self.lo($self.j7())},$self.j7().bu())}$self.gf();$self.hw();if($self.cn()){$self.cn(false);$self.k2(true)}}else{$self.mk($self.jv,$self.j7());$self.mm($self.jv,$self.j7())}},typical:null,typicalBasedOn:null,k3:function(a){var c=a.getEnumerator();while(c.moveNext()){var b=c.current();switch(b){case"HighColumn":if(this.kf()==null){return false}break;case"LowColumn":if(this.kh()==null){return false}break;case"OpenColumn":if(this.kj()==null){return false}break;case"CloseColumn":if(this.kd()==null){return false}break;case"VolumeColumn":if(this.km()==null){return false}break}}return true},k4:function(){return this.xAxis()!=null&&$.ig.util.cast($$t.$kd.$type,this.xAxis())!==null},k9:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,$a:false,$b:null,$c:0,$d:null,$e:0,$f:null,$g:0,$h:0,$i:0,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$a=false;this.$state=1;break;case 1:if(this.$this.typical!=null){this.$state=2}else{this.$state=11}break;case 2:this.$b=this.$this.j3(0,this.$this.bb().count());this.$this.typical(this.$this,new $$t.qv(0,this.$this.bb().count(),this.$b,this.$this.j4(this.$b)));this.$state=3;break;case 3:if(this.$b.typicalColumn()!=null){this.$state=4}else{this.$state=10}break;case 4:this.$a=true;this.$state=5;break;case 5:this.$d=this.$b.typicalColumn().getEnumerator();this.$state=8;break;case 6:this.$c=this.$d.current();this.$current=this.$c;this.$state=7;return true;case 7:this.$state=8;break;case 8:if(this.$d.moveNext()){this.$state=6}else{this.$state=9}break;case 9:this.$state=10;break;case 10:this.$state=11;break;case 11:this.$state=12;break;case 12:if(!this.$a){this.$state=13}else{this.$state=30}break;case 13:this.$state=14;break;case 14:if(this.$this.k4()&&$.ig.util.cast($$t.$kd.$type,this.$this.xAxis()).sortedIndices()!=null){this.$state=15}else{this.$state=22}break;case 15:this.$b=this.$this.bb().count();this.$c=$.ig.util.cast($$t.$kd.$type,this.$this.xAxis()).sortedIndices();this.$state=16;break;case 16:this.$d=0;this.$state=20;break;case 17:this.$current=(this.$this.kf().item(this.$c.item(this.$d))+this.$this.kh().item(this.$c.item(this.$d))+this.$this.kd().item(this.$c.item(this.$d)))/3;this.$state=18;return true;case 18:this.$state=19;break;case 19:++this.$d;this.$state=20;break;case 20:if(this.$d<this.$b){this.$state=17}else{this.$state=21}break;case 21:this.$state=29;break;case 22:this.$b=this.$this.bb().count();this.$state=23;break;case 23:this.$c=0;this.$state=27;break;case 24:this.$current=(this.$this.kf().item(this.$c)+this.$this.kh().item(this.$c)+this.$this.kd().item(this.$c))/3;this.$state=25;return true;case 25:this.$state=26;break;case 26:++this.$c;this.$state=27;break;case 27:if(this.$c<this.$b){this.$state=24}else{this.$state=28}break;case 28:this.$state=29;break;case 29:this.$state=30;break;case 30:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerable$1(Number,$iter)},k8:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,$a:0,$b:null,$c:0,$d:0,$e:0,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:if(this.$this.k4()&&$.ig.util.cast($$t.$kd.$type,this.$this.xAxis()).sortedIndices()!=null){this.$state=2}else{this.$state=13}break;case 2:this.$a=this.$this.kf().count();this.$b=$.ig.util.cast($$t.$kd.$type,this.$this.xAxis()).sortedIndices();this.$state=3;break;case 3:if(this.$a>0){this.$state=4}else{this.$state=6}break;case 4:this.$current=this.$this.lp(this.$this.kf().item(this.$b.item(0))-this.$this.kh().item(this.$b.item(0)));this.$state=5;return true;case 5:this.$state=6;break;case 6:this.$state=7;break;case 7:this.$c=1;this.$state=11;break;case 8:this.$current=Math.max(this.$this.lp(this.$this.kf().item(this.$b.item(this.$c))-this.$this.kh().item(this.$b.item(this.$c))),Math.max(this.$this.lp(Math.abs(this.$this.kf().item(this.$b.item(this.$c))-this.$this.kd().item(this.$b.item(this.$c-1)))),this.$this.lp(Math.abs(this.$this.kh().item(this.$b.item(this.$c))-this.$this.kd().item(this.$b.item(this.$c-1))))));this.$state=9;return true;case 9:this.$state=10;break;case 10:++this.$c;this.$state=11;break;case 11:if(this.$c<this.$a){this.$state=8}else{this.$state=12}break;case 12:this.$state=24;break;case 13:this.$a=this.$this.kf().count();this.$state=14;break;case 14:if(this.$a>0){this.$state=15}else{this.$state=17}break;case 15:this.$current=this.$this.lp(this.$this.kf().item(0)-this.$this.kh().item(0));this.$state=16;return true;case 16:this.$state=17;break;case 17:this.$state=18;break;case 18:this.$b=1;this.$state=22;break;case 19:this.$current=Math.max(this.$this.lp(this.$this.kf().item(this.$b)-this.$this.kh().item(this.$b)),Math.max(this.$this.lp(Math.abs(this.$this.kf().item(this.$b)-this.$this.kd().item(this.$b-1))),this.$this.lp(Math.abs(this.$this.kh().item(this.$b)-this.$this.kd().item(this.$b-1)))));this.$state=20;return true;case 20:this.$state=21;break;case 21:++this.$b;this.$state=22;break;case 22:if(this.$b<this.$a){this.$state=19}else{this.$state=23}break;case 23:this.$state=24;break;case 24:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerable$1(Number,$iter)},k7:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,$a:0,$b:null,$c:0,$d:0,$e:0,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:if(this.$this.k4()&&$.ig.util.cast($$t.$kd.$type,this.$this.xAxis()).sortedIndices()!=null){this.$state=2}else{this.$state=13}break;case 2:this.$a=this.$this.kh().count();this.$b=$.ig.util.cast($$t.$kd.$type,this.$this.xAxis()).sortedIndices();this.$state=3;break;case 3:if(this.$a>0){this.$state=4}else{this.$state=6}break;case 4:this.$current=this.$this.lp(this.$this.kh().item(this.$b.item(0)));this.$state=5;return true;case 5:this.$state=6;break;case 6:this.$state=7;break;case 7:this.$c=1;this.$state=11;break;case 8:this.$current=Math.min(this.$this.lp(this.$this.kh().item(this.$b.item(this.$c))),this.$this.lp(this.$this.kd().item(this.$b.item(this.$c-1))));this.$state=9;return true;case 9:this.$state=10;break;case 10:this.$c++;this.$state=11;break;case 11:if(this.$c<this.$a){this.$state=8}else{this.$state=12}break;case 12:this.$state=24;break;case 13:this.$a=this.$this.kh().count();this.$state=14;break;case 14:if(this.$a>0){this.$state=15}else{this.$state=17}break;case 15:this.$current=this.$this.lp(this.$this.kh().item(0));this.$state=16;return true;case 16:this.$state=17;break;case 17:this.$state=18;break;case 18:this.$b=1;this.$state=22;break;case 19:this.$current=Math.min(this.$this.lp(this.$this.kh().item(this.$b)),this.$this.lp(this.$this.kd().item(this.$b-1)));this.$state=20;return true;case 20:this.$state=21;break;case 21:this.$b++;this.$state=22;break;case 22:if(this.$b<this.$a){this.$state=19}else{this.$state=23}break;case 23:this.$state=24;break;case 24:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerable$1(Number,$iter)},la:function(a){if(a==null){return null}if(this.k4()&&$.ig.util.cast($$t.$kd.$type,this.xAxis()).sortedIndices()!=null){return new $$t.md(a,$.ig.util.cast($$t.$kd.$type,this.xAxis()).sortedIndices())}return new $$t.me(a)},ku:false,lb:function(){var a=new $$t.bh(String,0);a.add("HighColumn");a.add("LowColumn");a.add("CloseColumn");if(this.typicalBasedOn!=null&&this.bb()!=null&&!this.ku){this.ku=true;var b=this.j3(0,this.bb().count());this.ku=false;var c=new $$t.qv(0,this.bb().count(),b,this.j4(b));this.typicalBasedOn(this,c);if(c.basedOn()!=null&&c.basedOn().count()>0){return c.basedOn()}}return a},lf:null,getOpenColumnAsArray:function(){if(this.kj()==null){return null}if(this.xAxis()!=null&&$.ig.util.cast($$t.$kd.$type,this.xAxis())!==null){if(this.lf!=null){return this.lf.asArrayList()}var a=new $$t.bh(Number,2,this.kj().count());var b=this.xAxis().sortedIndices();var c=this.kj().asArray();for(var d=0;d<b.count();d++){a.add(c[b.__inner[d]])}this.lf=a;return this.lf.asArrayList()}else{return this.kj().asArray()}},ld:null,getHighColumnAsArray:function(){if(this.kf()==null){return null}if(this.xAxis()!=null&&$.ig.util.cast($$t.$kd.$type,this.xAxis())!==null){if(this.ld!=null){return this.ld.asArrayList()}var a=new $$t.bh(Number,2,this.kf().count());var b=this.xAxis().sortedIndices();var c=this.kf().asArray();for(var d=0;d<b.count();d++){a.add(c[b.__inner[d]])}this.ld=a;return this.ld.asArrayList()}else{return this.kf().asArray()}},le:null,getLowColumnAsArray:function(){if(this.kh()==null){return null}if(this.xAxis()!=null&&$.ig.util.cast($$t.$kd.$type,this.xAxis())!==null){if(this.le!=null){return this.le.asArrayList()}var a=new $$t.bh(Number,2,this.kh().count());var b=this.xAxis().sortedIndices();var c=this.kh().asArray();for(var d=0;d<b.count();d++){a.add(c[b.__inner[d]])}this.le=a;return this.le.asArrayList()}else{return this.kh().asArray()}},lc:null,getCloseColumnAsArray:function(){if(this.kd()==null){return null}if(this.xAxis()!=null&&$.ig.util.cast($$t.$kd.$type,this.xAxis())!==null){if(this.lc!=null){return this.lc.asArrayList()}var a=new $$t.bh(Number,2,this.kd().count());var b=this.xAxis().sortedIndices();var c=this.kd().asArray();for(var d=0;d<b.count();d++){a.add(c[b.__inner[d]])}this.lc=a;return this.lc.asArrayList()}else{return this.kd().asArray()}},lg:null,getVolumeColumnAsArray:function(){if(this.km()==null){return null}if(this.xAxis()!=null&&$.ig.util.cast($$t.$kd.$type,this.xAxis())!==null){if(this.lg!=null){return this.lg.asArrayList()}var a=new $$t.bh(Number,2,this.km().count());var b=this.xAxis().sortedIndices();var c=this.km().asArray();for(var d=0;d<b.count();d++){a.add(c[b.__inner[d]])}this.lg=a;return this.lg.asArrayList()}else{return this.km().asArray()}},gj:function(a,b,c,d){$$t.$aj.gj.call(this,a,b,c,d);if(this.xAxis()==null||!($.ig.util.cast($$t.$kd.$type,this.xAxis())!==null)){return}var e=this.xAxis().sortedIndices();switch(a){case 1:for(var f=b;f<c;f++){var g=e.__inner[f];if(this.lf!=null){this.lf.insert(f,this.kj().item(g))}if(this.ld!=null){this.ld.insert(f,this.kf().item(g))}if(this.le!=null){this.le.insert(f,this.kh().item(g))}if(this.lc!=null){this.lc.insert(f,this.kd().item(g))}if(this.lg!=null){this.lg.insert(f,this.km().item(g))}}break;case 0:if(this.lf!=null){this.lf.removeRange(b,c)}if(this.ld!=null){this.ld.removeRange(b,c)}if(this.le!=null){this.le.removeRange(b,c)}if(this.lc!=null){this.lc.removeRange(b,c)}if(this.lg!=null){this.lg.removeRange(b,c)}break;case 4:if(this.lf!=null){this.lf=new $$t.bh(Number,0)}if(this.ld!=null){this.ld=new $$t.bh(Number,0)}if(this.le!=null){this.le=new $$t.bh(Number,0)}if(this.lc!=null){this.lc=new $$t.bh(Number,0)}if(this.lg!=null){this.lg=new $$t.bh(Number,0)}break;case 3:case 2:for(var h=b;h<c;h++){var i=e.__inner[h];if(this.lf!=null){this.lf.__inner[h]=this.kj().item(i)}if(this.ld!=null){this.ld.__inner[h]=this.kf().item(i)}if(this.le!=null){this.le.__inner[h]=this.kh().item(i)}if(this.lc!=null){this.lc.__inner[h]=this.kd().item(i)}if(this.lg!=null){this.lg.__inner[h]=this.km().item(i)}}break}},j3:function(a,b){var $self=this;var c=$self.la($self.kj());var d=$self.la($self.kd());var e=$self.la($self.kf());var f=$self.la($self.kh());var g=$self.la($self.km());var h=function(){var $ret=new $$t.qw;$ret.typicalColumn(new $$t.qx(1,new $$t.mg($self.k9()),$self.lb()));$ret.trueRange(new $$t.qx(1,new $$t.mg($self.k8()),function(){var $ret=new $$t.bh(String,0);$ret.add("HighColumn");$ret.add("LowColumn");$ret.add("CloseColumn");return $ret}()));$ret.trueLow(new $$t.qx(1,new $$t.mg($self.k7()),function(){var $ret=new $$t.bh(String,0);$ret.add("LowColumn");$ret.add("CloseColumn");return $ret}()));$ret.openColumn(c);$ret.closeColumn(d);$ret.highColumn(e);$ret.lowColumn(f);$ret.volumeColumn(g);$ret.calculateFrom(a);$ret.calculateCount(b);$ret.minimumValue(NaN);$ret.maximumValue(NaN);$ret.count($self.bb()!=null?$self.bb().count():0);return $ret}();return h},lp:function(a){if(Number.isInfinity(a)||isNaN(a)){return 0}return a},j4:function(a){var $self=this;return function(){var $ret=new $$t.qy;$ret.a(new $$t.qz(1,$$t.$aj.eMA,new $$t.bh(String,0)));$ret.c(new $$t.qz(1,$$t.$aj.sMA,new $$t.bh(String,0)));$ret.d(new $$t.qz(1,$$t.$aj.sTDEV,new $$t.bh(String,0)));$ret.b(new $$t.qz(1,$$t.$aj.movingSum,new $$t.bh(String,0)));$ret.h(new $$t.q2(1,function(b){return $$t.$aj.eMA(b.volumeColumn(),b.shortPeriod())},function(){var $ret=new $$t.bh(String,0);$ret.add("VolumeColumn");return $ret}()));$ret.f(new $$t.q2(1,function(b){return $$t.$aj.eMA(b.volumeColumn(),b.longPeriod())},function(){var $ret=new $$t.bh(String,0);$ret.add("VolumeColumn");return $ret}()));$ret.g(new $$t.q2(1,function(b){return $$t.$aj.eMA(b.typicalColumn(),b.shortPeriod())},a.typicalColumn().basedOn()));$ret.e(new $$t.q2(1,function(b){return $$t.$aj.eMA(b.typicalColumn(),b.longPeriod())
},a.typicalColumn().basedOn()));$ret.k($$t.$aj.toEnumerableRange);$ret.j($$t.$aj.toEnumerable);$ret.i($self.lp.runOn($self));return $ret}()},categoryAxis:function(){return this.xAxis()},_jx:null,jx:function(value){if(arguments.length===1){this._jx=value;return value}else{return this._jx}},hr:function(a,b){$$t.$aj.hr.call(this,a,b);if(!this.cl()){this.view().aw(b);return}var c=$.ig.util.cast($$t.$qo.$type,this.av());this.view().aw(b);c.bx().e(this.resolution());if(this.bn(this.av())){return}if(!this.ck()){this.mk(this.jx(),c)}this.ck(false);this.mm(this.jx(),c);this.cl(false)},$type:new $.ig.Type("FinancialSeries",$$t.$aj.$type,[$$t.$ha.$type])},true);$.ig.util.defType("FinancialIndicator:v7","FinancialSeries",{au:function(){return new $$t.v8(this)},hc:function(a){$$t.$qn.hc.call(this,a);this.m2(a)},_m2:null,m2:function(value){if(arguments.length===1){this._m2=value;return value}else{return this._m2}},init:function(){$$t.$qn.init.call(this);this.jw=new $$t.ke(3);this.jy=new $$t.ke(3);this.jv=new $$t.ke(3);this.m8(new $$t.bh(Number,0));this.m1(new $$t.h7(-100,100))},nh:function(a){if(this.yAxis()!=null&&!this.yAxis().updateRange()){this.renderSeries(true)}},gj:function(a,b,c,d){var $self=this;if($self.xAxis()!=null&&$.ig.util.cast($$t.$kd.$type,$self.xAxis())!==null){$.ig.util.cast($$t.$kd.$type,$self.xAxis()).notifyDataChanged()}$self.m2().b3().p(a,b,c,d);if(d!=null&&$self.k6.containsKey(d)){(function(){var $ret=$self.k6.tryGetValue(d,d);d=$ret.value;return $ret.ret})()}if($self.xAxis()!=null&&$.ig.util.cast($$t.$kd.$type,$self.xAxis())!==null){a=4;b=0;c=$self.bb().count()}switch(a){case 3:if($self.m6(b,c,d)){$self.nj(b,c,d);$self.nh(true)}break;case 2:if($self.m6(b,$self.bb().count()-b,d)){$self.nj(b,$self.bb().count()-b,d);$self.nh(true)}break;case 1:if($self.m6(b,$self.bb().count()-b,d)){var e=new Array(c);for(var f=0;f<c;f++){e[f]=0}$self.m8().insertRange(b,e);$self.nj(b,$self.bb().count()-b,d);$self.nh(true)}break;case 0:if($self.m6(b,$self.bb().count()-b,d)){$self.m8().removeRange(b,c);$self.nj(b,$self.bb().count()-b,d);$self.nh(true)}break;case 4:if($self.m6(b,$self.bb().count()-b,d)){$self.m8(new $$t.bh(Number,2,$self.bb().count()));var g=new Array(c);for(var h=0;h<c;h++){g[h]=0}$self.m8().insertRange(0,g);$self.nj(b,$self.bb().count()-b,d);$self.nh(true)}break}},displayType:function(a){if(arguments.length===1){this.g($$t.$v7.displayTypeProperty,a);return a}else{return this.c($$t.$v7.displayTypeProperty)}},ignoreFirst:function(a){if(arguments.length===1){this.g($$t.$v7.ignoreFirstProperty,a);return a}else{return this.c($$t.$v7.ignoreFirstProperty)}},trendLineType:function(a){if(arguments.length===1){this.g($$t.$v7.trendLineTypeProperty,a);return a}else{return this.c($$t.$v7.trendLineTypeProperty)}},trendLineBrush:function(a){if(arguments.length===1){this.g($$t.$v7.trendLineBrushProperty,a);return a}else{return this.c($$t.$v7.trendLineBrushProperty)}},actualTrendLineBrush:function(a){if(arguments.length===1){this.g($$t.$v7.actualTrendLineBrushProperty,a);return a}else{return this.c($$t.$v7.actualTrendLineBrushProperty)}},trendLineThickness:function(a){if(arguments.length===1){this.g($$t.$v7.trendLineThicknessProperty,a);return a}else{return this.c($$t.$v7.trendLineThicknessProperty)}},trendLineDashCap:function(a){if(arguments.length===1){this.g($$t.$v7.trendLineDashCapProperty,a);return a}else{return this.c($$t.$v7.trendLineDashCapProperty)}},trendLineDashArray:function(a){if(arguments.length===1){this.g($$t.$v7.trendLineDashArrayProperty,a);return a}else{return this.c($$t.$v7.trendLineDashArrayProperty)}},trendLinePeriod:function(a){if(arguments.length===1){this.g($$t.$v7.trendLinePeriodProperty,a);return a}else{return this.c($$t.$v7.trendLinePeriodProperty)}},nd:function(){return-1},trendLineZIndex:function(a){if(arguments.length===1){this.g($$t.$v7.trendLineZIndexProperty,a);return a}else{return this.c($$t.$v7.trendLineZIndexProperty)}},_m8:null,m8:function(value){if(arguments.length===1){this._m8=value;return value}else{return this._m8}},_m1:null,m1:function(value){if(arguments.length===1){this._m1=value;return value}else{return this._m1}},m5:function(a,b){},m7:function(a,b){},hh:function(a,b,c,d){switch(b){case"XAxis":this.m2().cb();break}$$t.$qn.hh.call(this,a,b,c,d);if(this.m2().b3().d(a,b,c,d,this.trendLineDashArray())){this.renderSeries(false);this.gy()}switch(b){case"FastItemsSource":if(this.bb()!=null){this.m8(new $$t.bh(Number,2,this.bb().count()));var e=new Array(this.bb().count());for(var f=0;f<this.bb().count();f++){e[f]=0}this.m8().insertRange(0,e);this.nj(0,this.bb().count(),null);if(this.yAxis()!=null&&!this.yAxis().updateRange()){this.j7().bx().e(this.resolution());this.renderSeries(false)}}break;case"TrendLineBrush":this.hz();break;case"DisplayType":this.gh(true,this.view());this.renderSeries(false);this.gy();break;case"OpenColumn":case"HighColumn":case"LowColumn":case"CloseColumn":case"VolumeColumn":if(this.bb()!=null){if(this.m8().count()!=this.bb().count()){this.m8(new $$t.bh(Number,2,this.bb().count()));var g=new Array(this.bb().count());for(var h=0;h<this.bb().count();h++){g[h]=0}this.m8().insertRange(0,g)}if(this.m6(0,this.bb().count()-1,b)){this.ni()}}break;case"XAxis":if(this.xAxis()!=null&&($.ig.util.cast($$t.$kd.$type,this.xAxis())!==null||$.ig.util.cast($$t.$kd.$type,c)!==null)){this.ni()}break;case"YAxis":case"IgnoreFirst":this.ni();this.gy();break;case"TrendLineType":this.gy();break}},getSeriesValue:function(a,b,c){if(this.m8()==null){return $$t.$qn.getSeriesValue.call(this,a,b,c)}var d=this.getOffset(this.view().bv(),this.view().bu());var e=new $$t.ie(this.view().bv(),this.view().bu(),this.xAxis().isInverted());e.b=this.seriesViewer().viewportRect();return this.dk(this.m8(),a,this.xAxis(),e,d,this.li.runOn(this),b,c)},getPreviousOrExactIndex:function(a,b){if(this.m8()==null){return $$t.$qn.getPreviousOrExactIndex.call(this,a,b)}return this.d5(a,b,this.xAxis(),this.li.runOn(this),this.m8())},getNextOrExactIndex:function(a,b){if(this.m8()==null){return $$t.$qn.getNextOrExactIndex.call(this,a,b)}return this.d3(a,b,this.xAxis(),this.li.runOn(this),this.m8())},cs:function(){return true},m6:function(a,b,c){if(c==null){return true}if(this.m7(a,b).contains(c)){return true}return false},nj:function(a,b,c){this.m5(a,b)},ad:function(a){if(this.bb()==null){return null}if(a!=null&&a==this.yAxis()){return this.m1()}return null},scrollIntoView:function(a){var b=this.bb()!=null?this.bb().indexOf(a):-1;var c=this.view().bv();var d=this.view().bu();var e=new $$t.x(0,0,0,1,1);if(b>=0&&c!=null&&d!=null){if(this.xAxis()!=null){var f=new $$t.ie(e,e,this.xAxis().isInverted());var g=this.xAxis().getScaledValue(b,f);if(g<c.left()+.1*c.width()){g=g+.4*c.width()}if(g>c.right()-.1*c.width()){g=g-.4*c.width()}c.x(g-.5*c.width())}if(this.yAxis()!=null&&this.m8()!=null&&b<this.m8().count()){var h=new $$t.ie(e,e,this.yAxis().isInverted());var i=this.yAxis().getScaledValue(this.m8().__inner[b],h);if(i<c.top()+.1*c.height()){i=i+.4*c.height()}if(i>c.bottom()-.1*c.height()){i=i-.4*c.height()}c.y(i-.5*c.height())}this.syncLink().al(this.seriesViewer(),c)}return b>=0},ct:function(a,b,c){var d=$$t.$qn.ct.call(this,a,b,c);if(this.m8()==null||this.m8().count()==0){d=false}return d},mk:function(a,b){var $self=this;$$t.$qn.mk.call($self,a,b);var c=b.bv();var d=b.bu();var e=$self.xAxis();var f=$self.yAxis();var g=new $$t.ie(c,d,e.isInverted());var h=new $$t.ie(c,d,f.isInverted());a.h.clear();a.p.clear();a.q.clear();var i=0;var j=$.ig.util.cast($$t.$kd.$type,$self.xAxis());if(j!=null&&j.sortedIndices().count()!=$self.bb().count()){return}i=$self.getOffset(c,d);var k=$self.nd();if(k==-1){k=$self.trendLinePeriod()}var l=$.ig.util.cast($$t.$v8.$type,b);$self.m2().b3().prepareLine(a.q,$self.trendLineType(),$self.m8(),k,function(m){return $self.xAxis().getScaledValue(m,g)},function(m){return $self.yAxis().getScaledValue(m,h)},function(){var $ret=new $$t.j8;$ret.c(b.bx().b());$ret.d(b.bx().c());$ret.e(b.bx().d());$ret.a(i);$ret.b($self.resolution());$ret.f(d);$ret.g(c);return $ret}());var m=$self.ne($self.xAxis().getUnscaledValue(2,g)-$self.xAxis().getUnscaledValue(1,g));for(var n=b.bx().c();n<=b.bx().d();++n){var o;if(j==null){o=b.bx().getBucket(n)}else{var p=j.sortedIndices().__inner[n];var q=j.getUnscaledValueAt(p);var r=$self.ne($self.m8().__inner[n]);var s=r;var t=q;while(n<b.bx().d()){p=j.sortedIndices().__inner[n+1];t=j.getUnscaledValueAt(p);if(t-q>m){break}n++;var u=$self.ne($self.m8().__inner[n]);r=Math.min(r,u);s=Math.max(s,u)}var v=NaN;if(!isNaN(q)){v=$self.xAxis().getScaledValue(q,g)}o=function(){var $ret=new Array;$ret.add($self.ne(v));$ret.add(r);$ret.add(s);return $ret}()}if(!isNaN(o[0])){if($self.xAxis()!=null&&$.ig.util.cast($$t.$kd.$type,$self.xAxis())!==null){o[0]=o[0]+i}else{o[0]=e.getScaledValue(o[0],g)+i}o[1]=f.getScaledValue(o[1],h);if(b.bx().b()>1||j!=null){o[2]=f.getScaledValue(o[2],h)}else{o[2]=o[1]}a.h.add(o)}}return},ne:function(a){return a},gh:function(a,b){$$t.$qn.gh.call(this,a,b);var c=b;c.b6(a);c.b3().o()},j0:function(){switch(this.displayType()){case 1:return 1;case 2:return 1;case 0:return 12}return 1},mm:function(a,b){var $self=this;$$t.$qn.mm.call($self,a,b);var c=$.ig.util.cast($$t.$v8.$type,b);var d=function(e){return a.h.__inner[e][0]};var e=function(f){return a.h.__inner[f][1]};var f=function(g){return a.h.__inner[g][0]};var g=function(h){return a.h.__inner[h][2]};c.b3().o();c.b3().t(a.q);var h=b.bu();var i=0;var j=$self.actualBrush();var k=$self.negativeBrush();if(b.b0(a)){c.b6(false);if(a.h.count()>0){switch($self.displayType()){case 0:c.ca(a.h.count(),d,e,f,g,true);break;case 1:if($self.yAxis()!=null){i=$self.lo(b)}else{i=.5*(h.top()+h.bottom())}c.b8(a.h.count(),d,e,f,g,true,i);break;case 2:i=$self.lo(b);c.b9(a.h.count(),d,e,f,g,true,i);break;default:throw new $$t.f5}}b.b2(a)}var l=a.h;var m=$self.bb().count();$self.jz.x($self,$self.k1(),$self.xAxis(),$self.getCategoryItems.runOn($self),$self.lq(b),$self.lr(b));var n=false;var o=$self.jz.b();if(o!=null){n=true}$self.jz.am=j;$self.jz.ah=j;if(n){var p=new $$t.ie(b.bv(),b.bu(),$self.xAxis().isInverted());$self.jz.f=false;$self.mj(l,-1,m,$self.xAxis(),p,b.m())}$self.jz.ae(c.cs,true,false,true,false);$self.jz.ae(c.cu,true,false,true,false);$self.jz.ae(c.ct,false,true,false,false);c.ct.__opacity=.8*$self.jz.i*$self.actualAreaFillOpacity();$self.jz.ae(c.cr,true,false,false,false);$self.jz.am=k;$self.jz.ah=k;if(n){var q=new $$t.ie(b.bv(),b.bu(),$self.xAxis().isInverted());$self.jz.f=true;$self.mj(l,-1,m,$self.xAxis(),q,b.m())}$self.jz.ae(c.co,true,false,true,false);$self.jz.ae(c.cq,true,false,true,false);$self.jz.ae(c.cp,false,true,false,false);c.cp.__opacity=.8*$self.jz.i*$self.actualAreaFillOpacity();$self.jz.ae(c.cn,true,false,false,false);c.cc()},hz:function(){$$t.$qn.hz.call(this);if(this.index()<0){return}this.m2().cd()},ni:function(){this.m2().b3().v();this.m5(0,this.m8().count());if(this.yAxis()!=null&&!this.yAxis().updateRange()){this.renderSeries(false)}},go:function(a){$$t.$qn.go.call(this,a);var b=new $$t.g8(1,"trendLine",this.m2().b3().x());b.tags().add("Trend");a.shapes().add(b)},$type:new $.ig.Type("FinancialIndicator",$$t.$qn.$type)},true);$.ig.util.defType("StrategyBasedIndicator:wc","FinancialIndicator",{init:function(){$$t.$v7.init.call(this);this.ny(this.nz());this.y(this.oc())},_ny:null,ny:function(value){if(arguments.length===1){this._ny=value;return value}else{return this._ny}},nz:function(){},oc:function(){},n5:function(){return-Number.MAX_VALUE},n7:function(){return-Number.MAX_VALUE},n4:function(){return-Number.MAX_VALUE},og:function(a,b,c){var $self=this;var d=$$t.$ar.i(c,$.ig.Number.prototype.$type,b,new $$t.as(2,a,function(e,f){$.ig.util.cast($$t.$wc.$type,e).raisePropertyChanged(c,f.d(),f.c())}));$$t.$wc.n2.add(c);return d},of:function(a,b){return $$t.$wc.og(a,b,"Period")},od:function(a,b){return $$t.$wc.og(a,b,"LongPeriod")},oh:function(a,b){return $$t.$wc.og(a,b,"ShortPeriod")},m7:function(a,b){var c=this.j3(a,b);var d=this.j4(c);return this.ny().b(c,d)},m5:function(a,b){var c=this.j3(a,b);if(b==0){return false}if(!this.k3(this.m7(a,b))){return false}var d=this.j4(c);if(this.m1()!=null){c.minimumValue(this.m1().c());c.maximumValue(this.m1().b())}var e=this.ny().a(c,d);for(var f=0;f<this.ignoreFirst()&&f<c.indicatorColumn().count();f++){c.indicatorColumn().item(f,NaN)}if(this.yAxis()!=null&&this.n1(c)){this.yAxis().updateRange()}return e},n1:function(a){if(!isNaN(a.minimumValue())&&!isNaN(a.maximumValue())&&a.specifiesRange()){var b=this.m1();this.m1(new $$t.h7(a.minimumValue(),a.maximumValue()));return this.n0(b,this.m1())}var c=Number.MAX_VALUE;var d=-Number.MAX_VALUE;var f=a.indicatorColumn().getEnumerator();while(f.moveNext()){var e=f.current();if(!isNaN(e)){c=Math.min(c,e);d=Math.max(d,e)}}var g=this.m1();this.m1(new $$t.h7(c,d));return this.n0(g,this.m1())},n0:function(a,b){if(a==null||b==null){return true}if(a.c()!=b.c()){return true}if(a.b()!=b.b()){return true}return false},n6:function(a){if(a==-Number.MAX_VALUE){return 0}if(a>this.m8().count()&&this.m8().count()>0){a=this.m8().count()-1}if(a<1){return 1}return a},j3:function(a,b){var c=$$t.$v7.j3.call(this,a,b);c.indicatorColumn(this.m8());c.period(this.n6(this.n5()));c.shortPeriod(this.n6(this.n7()));c.longPeriod(this.n6(this.n4()));c.multiplier(this.n3());return c},n3:function(){return 1},oe:function(a,b){var $self=this;var c=$$t.$ar.i("Multiplier",Number,b,new $$t.as(2,a,function(d,e){$.ig.util.cast($$t.$wc.$type,d).raisePropertyChanged("Multiplier",e.d(),e.c())}));$$t.$wc.n2.add("Multiplier");return c},hh:function(a,b,c,d){$$t.$v7.hh.call(this,a,b,c,d);if($$t.$wc.n2.contains(b)){if(this.yAxis()!=null&&!this.yAxis().updateRange()){this.j7().bx().e(this.resolution());this.m5(0,this.m8().count());this.m2().b3().v();this.renderSeries(false)}}},$type:new $.ig.Type("StrategyBasedIndicator",$$t.$v7.$type)},true);$.ig.util.defType("AbsoluteVolumeOscillatorIndicator:we","StrategyBasedIndicator",{init:function(){$$t.$wc.init.call(this)},nz:function(){return new $$t.wf},oc:function(){return $$t.$we.$type},shortPeriod:function(a){if(arguments.length===1){this.g($$t.$we.shortPeriodProperty,a);return a}else{return this.c($$t.$we.shortPeriodProperty)}},n7:function(){return this.shortPeriod()},longPeriod:function(a){if(arguments.length===1){this.g($$t.$we.longPeriodProperty,a);return a}else{return this.c($$t.$we.longPeriodProperty)}},n4:function(){return this.longPeriod()},$type:new $.ig.Type("AbsoluteVolumeOscillatorIndicator",$$t.$wc.$type)},true);$.ig.util.defType("IndicatorCalculationStrategy:wd","Object",{init:function(){$.ig.$op.init.call(this)},a:function(a,b){},b:function(a,b){},$type:new $.ig.Type("IndicatorCalculationStrategy",$.ig.$ot)},true);$.ig.util.defType("AbsoluteVolumeOscillatorIndicatorStrategy:wf","IndicatorCalculationStrategy",{init:function(){$$t.$wd.init.call(this)},b:function(a,b){var c=new $$t.bh(String,0);c.addRange(b.h().a());c.addRange(b.f().a());return c},a:function(a,b){var c=b.h().d()(a).getEnumerator();var d=b.f().d()(a).getEnumerator();var e=a.indicatorColumn();var f=0;while(c.moveNext()&&d.moveNext()){var g=c.current()-d.current();e.item(f,b.i()(g));++f}return true},$type:new $.ig.Type("AbsoluteVolumeOscillatorIndicatorStrategy",$$t.$wd.$type)},true);$.ig.util.defType("AccumulationDistributionIndicator:wg","StrategyBasedIndicator",{init:function(){$$t.$wc.init.call(this)},nz:function(){return new $$t.wh},oc:function(){return $$t.$wg.$type},$type:new $.ig.Type("AccumulationDistributionIndicator",$$t.$wc.$type)},true);$.ig.util.defType("StreamingIndicatorCalculationStrategy:wi","IndicatorCalculationStrategy",{init:function(){$$t.$wd.init.call(this)},c:function(a,b){},$type:new $.ig.Type("StreamingIndicatorCalculationStrategy",$$t.$wd.$type)},true);$.ig.util.defType("AccumulationDistributionIndicatorStrategy:wh","StreamingIndicatorCalculationStrategy",{init:function(){$$t.$wi.init.call(this)},b:function(a,b){var c=new $$t.bh(String,0);c.add("CloseColumn");c.add("LowColumn");c.add("HighColumn");c.add("VolumeColumn");return c},a:function(a,b){var c=0;var e=this.c(a,b).getEnumerator();while(e.moveNext()){var d=e.current();a.indicatorColumn().item(c,d);c++}return true},c:function(a,b){var $self=this;var $iter=function(){return function(a,b){return{$state:0,$this:$self,$current:null,$c:0,$d:0,$e:0,$f:0,$g:0,$h:0,$i:0,$j:0,$k:0,$l:0,$m:0,$n:0,$o:0,$p:0,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$c=0;this.$d=Number.POSITIVE_INFINITY;this.$e=Number.NEGATIVE_INFINITY;this.$f=a.indicatorColumn()!=null?a.indicatorColumn().count():0;this.$g=a.closeColumn()!=null?a.closeColumn().count():0;this.$h=a.highColumn()!=null?a.highColumn().count():0;this.$i=a.volumeColumn()!=null?a.volumeColumn().count():0;this.$j=Math.min(this.$f,Math.min(this.$g,Math.min(this.$h,this.$i)));this.$state=1;break;case 1:this.$k=0;this.$state=5;break;case 2:this.$l=a.closeColumn().item(this.$k);this.$m=a.lowColumn().item(this.$k);this.$n=a.highColumn().item(this.$k);this.$o=a.volumeColumn().item(this.$k);this.$p=(this.$l-this.$m-(this.$n-this.$l))/(this.$n-this.$m);this.$c+=b.i()(this.$p*this.$o);this.$d=Math.min(this.$d,this.$c);this.$e=Math.max(this.$e,this.$c);this.$current=this.$c;this.$state=3;return true;case 3:this.$state=4;break;case 4:++this.$k;this.$state=5;break;case 5:if(this.$k<this.$j){this.$state=2}else{this.$state=6}break;case 6:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a,b)};return new $.ig.GenericEnumerable$1(Number,$iter)},$type:new $.ig.Type("AccumulationDistributionIndicatorStrategy",$$t.$wi.$type)},true);$.ig.util.defType("AverageDirectionalIndexIndicator:wj","StrategyBasedIndicator",{init:function(){$$t.$wc.init.call(this)},nz:function(){return new $$t.wk},oc:function(){return $$t.$wj.$type},period:function(a){if(arguments.length===1){this.g($$t.$wj.periodProperty,a);return a}else{return this.c($$t.$wj.periodProperty)}},n5:function(){return this.period()},$type:new $.ig.Type("AverageDirectionalIndexIndicator",$$t.$wc.$type)},true);$.ig.util.defType("AverageDirectionalIndexIndicatorStrategy:wk","IndicatorCalculationStrategy",{init:function(){$$t.$wd.init.call(this)},b:function(a,b){var c=new $$t.bh(String,0);c.add("LowColumn");c.add("HighColumn");c.addRange(a.trueRange().basedOn());c.addRange(b.a().a());return c},j:function(a,b,c){return b.item(a)-b.item(a-1)},i:function(a,b,c){return c.item(a-1)-c.item(a)},h:function(a,b){var $self=this;var $iter=function(){return function(a,b){return{$state:0,$this:$self,$current:null,$c:0,$d:0,$e:0,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$current=0;this.$state=1;return true;case 1:this.$c=0;this.$d=0;this.$state=2;break;case 2:this.$e=1;this.$state=11;break;case 3:this.$c=this.$this.j(this.$e,a,b);this.$d=this.$this.i(this.$e,a,b);this.$state=4;break;case 4:if(this.$c>this.$d&&this.$c>0){this.$state=5}else{this.$state=7}break;case 5:this.$current=this.$c;this.$state=6;return true;case 6:this.$state=9;break;case 7:this.$current=0;this.$state=8;return true;case 8:this.$state=9;break;case 9:this.$state=10;break;case 10:this.$e++;this.$state=11;break;case 11:if(this.$e<a.count()){this.$state=3}else{this.$state=12}break;case 12:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a,b)};return new $.ig.GenericEnumerable$1(Number,$iter)},f:function(a,b){var $self=this;var $iter=function(){return function(a,b){return{$state:0,$this:$self,$current:null,$c:0,$d:0,$e:0,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$current=0;this.$state=1;return true;case 1:this.$c=0;this.$d=0;this.$state=2;break;case 2:this.$e=1;this.$state=11;break;case 3:this.$c=this.$this.j(this.$e,a,b);this.$d=this.$this.i(this.$e,a,b);this.$state=4;break;case 4:if(this.$d>this.$c&&this.$d>0){this.$state=5}else{this.$state=7}break;case 5:this.$current=this.$d;this.$state=6;return true;case 6:this.$state=9;break;case 7:this.$current=0;this.$state=8;return true;case 8:this.$state=9;break;case 9:this.$state=10;break;case 10:this.$e++;this.$state=11;break;case 11:if(this.$e<a.count()){this.$state=3}else{this.$state=12}break;case 12:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a,b)};return new $.ig.GenericEnumerable$1(Number,$iter)},g:function(a,b){var $self=this;var $iter=function(){return function(a,b){return{$state:0,$this:$self,$current:null,$c:null,$d:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$c=b.a().d()(this.$this.h(a.highColumn(),a.lowColumn()),a.period()).getEnumerator();this.$d=b.a().d()(a.trueRange(),a.period()).getEnumerator();this.$state=1;break;case 1:this.$state=4;break;case 2:this.$current=b.i()(this.$c.current()/this.$d.current());this.$state=3;return true;case 3:this.$state=4;break;case 4:if(this.$c.moveNext()&&this.$d.moveNext()){this.$state=2}else{this.$state=5}break;case 5:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a,b)};return new $.ig.GenericEnumerable$1(Number,$iter)},e:function(a,b){var $self=this;var $iter=function(){return function(a,b){return{$state:0,$this:$self,$current:null,$c:null,$d:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$c=b.a().d()(this.$this.f(a.highColumn(),a.lowColumn()),a.period()).getEnumerator();this.$d=b.a().d()(a.trueRange(),a.period()).getEnumerator();this.$state=1;break;case 1:this.$state=4;break;case 2:this.$current=b.i()(this.$c.current()/this.$d.current());this.$state=3;return true;case 3:this.$state=4;break;case 4:if(this.$c.moveNext()&&this.$d.moveNext()){this.$state=2}else{this.$state=5}break;case 5:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a,b)};return new $.ig.GenericEnumerable$1(Number,$iter)},d:function(a,b){var $self=this;var $iter=function(){return function(a,b){return{$state:0,$this:$self,$current:null,$c:null,$d:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$c=this.$this.g(a,b).getEnumerator();this.$d=this.$this.e(a,b).getEnumerator();this.$c.moveNext();this.$d.moveNext();this.$state=1;break;case 1:this.$state=4;break;case 2:this.$current=Math.abs(b.i()((this.$c.current()-this.$d.current())/(this.$c.current()+this.$d.current())));this.$state=3;return true;case 3:this.$state=4;break;case 4:if(this.$c.moveNext()&&this.$d.moveNext()){this.$state=2}else{this.$state=5}break;case 5:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a,b)};return new $.ig.GenericEnumerable$1(Number,$iter)},c:function(a,b){var $self=this;var $iter=function(){return function(a,b){return{$state:0,$this:$self,$current:null,$c:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$c=b.a().d()(this.$this.d(a,b),a.period()).getEnumerator();this.$current=0;this.$state=1;return true;case 1:this.$state=2;break;case 2:this.$state=5;break;case 3:this.$current=this.$c.current()*100;this.$state=4;return true;case 4:this.$state=5;break;case 5:if(this.$c.moveNext()){this.$state=3}else{this.$state=6}break;case 6:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a,b)};return new $.ig.GenericEnumerable$1(Number,$iter)},a:function(a,b){var c=this.c(a,b).getEnumerator();var d=a.indicatorColumn();for(var e=0;e<d.count();e++){if(c.moveNext()){d.item(e,c.current())}}return true},$type:new $.ig.Type("AverageDirectionalIndexIndicatorStrategy",$$t.$wd.$type)},true);$.ig.util.defType("AverageTrueRangeIndicator:wl","StrategyBasedIndicator",{init:function(){$$t.$wc.init.call(this)},nz:function(){return new $$t.wm},oc:function(){return $$t.$wl.$type},period:function(a){if(arguments.length===1){this.g($$t.$wl.periodProperty,a);return a}else{return this.c($$t.$wl.periodProperty)}},n5:function(){return this.period()},$type:new $.ig.Type("AverageTrueRangeIndicator",$$t.$wc.$type)},true);$.ig.util.defType("AverageTrueRangeIndicatorStrategy:wm","IndicatorCalculationStrategy",{init:function(){$$t.$wd.init.call(this)},b:function(a,b){var c=new $$t.bh(String,0);c.addRange(a.trueRange().basedOn());c.addRange(b.a().a());return c},a:function(a,b){var c=0;var e=b.a().d()(a.trueRange(),a.period()).getEnumerator();while(e.moveNext()){var d=e.current();a.indicatorColumn().item(c,d);++c}return true},$type:new $.ig.Type("AverageTrueRangeIndicatorStrategy",$$t.$wd.$type)},true);$.ig.util.defType("FinancialOverlay:wn","FinancialSeries",{init:function(){$$t.$qn.init.call(this);this.m1(false)},gj:function(a,b,c,d){if(this.xAxis()!=null&&$.ig.util.cast($$t.$kd.$type,this.xAxis())!==null){$.ig.util.cast($$t.$kd.$type,this.xAxis()).notifyDataChanged()}this.j7().bx().e(this.resolution());this.m2();if(this.yAxis()!=null){this.yAxis().updateRange()}this.renderSeries(true)},ignoreFirst:function(a){if(arguments.length===1){this.g($$t.$wn.ignoreFirstProperty,a);return a}else{return this.c($$t.$wn.ignoreFirstProperty)}},cs:function(){return true},hh:function(a,b,c,d){switch(b){case"FastItemsSource":this.m1(false);break;case"IgnoreFirst":this.m1(false);this.renderSeries(false);this.gy();break;case"XAxis":this.m1(false);break}$$t.$qn.hh.call(this,a,b,c,d)},onApplyTemplate:function(){$$t.$qn.z.call(this);this.renderSeries(false)},scrollIntoView:function(a){var b=this.bb()!=null?this.bb().indexOf(a):-1;var c=this.view().bv();var d=this.view().bu();var e=new $$t.x(0,0,0,1,1);var f=new $$t.ie(e,e,this.xAxis().isInverted());var g=new $$t.ie(e,e,this.yAxis().isInverted());if(b>=0&&c!=null&&d!=null){if(this.xAxis()!=null){var h=this.xAxis().getScaledValue(b,f);if(h<c.left()+.1*c.width()){h=h+.4*c.width()}if(h>c.right()-.1*c.width()){h=h-.4*c.width()}c.x(h-.5*c.width())}if(this.yAxis()!=null&&this.kh()!=null&&this.kf()!=null&&b<this.kh().count()&&b<this.kf().count()){var i=this.yAxis().getScaledValue(this.kh().item(b),g);var j=this.yAxis().getScaledValue(this.kf().item(b),g);if(!isNaN(i)&&!isNaN(j)){var k=Math.abs(i-j);if(c.height()<k){c.height(k);c.y(Math.min(i,j))}else{if(i<c.top()+.1*c.height()){i=i+.4*c.height()}if(i>c.bottom()-.1*c.height()){i=i-.4*c.height()}c.y(i-.5*c.height())}}}this.syncLink().al(this.seriesViewer(),c)}return b>=0},ad:function(a){if(a!=null&&a==this.yAxis()&&this.kh()!=null&&this.kf()!=null){return new $$t.h7(this.kh().minimum(),this.kf().maximum())}return null},_m1:false,m1:function(value){if(arguments.length===1){this._m1=value;return value}else{return this._m1}},m2:function(){},$type:new $.ig.Type("FinancialOverlay",$$t.$qn.$type)},true);$.ig.util.defType("BollingerBandsOverlay:wo","FinancialOverlay",{init:function(){this.m7=new $$t.bh(Number,0);this.m8=new $$t.bh(Number,0);$$t.$wn.init.call(this);this.y($$t.$wo.$type);this.jw=new $$t.ke(4);this.jy=new $$t.ke(4);this.jv=new $$t.ke(4)},period:function(a){if(arguments.length===1){this.g($$t.$wo.periodProperty,a);return a}else{return this.c($$t.$wo.periodProperty)}},multiplier:function(a){if(arguments.length===1){this.g($$t.$wo.multiplierProperty,a);return a}else{return this.c($$t.$wo.multiplierProperty)}},hh:function(a,b,c,d){if(this.lb().contains(b)){this.m1(false)}$$t.$wn.hh.call(this,a,b,c,d);switch(b){case"Period":this.m1(false);this.renderSeries(false);break;case"Multiplier":this.renderSeries(false);break}},m9:0,na:0,m2:function(){this.m7.clear();this.m8.clear();var a=$$t.$aj.sMA(new $$t.mg(this.k9()),this.period()).getEnumerator();var b=$$t.$aj.sTDEV(new $$t.mg(this.k9()),this.period()).getEnumerator();this.na=Number.MAX_VALUE;this.m9=-Number.MAX_VALUE;var c=true;var d=true;var e=this.multiplier();while(c||d){if(a.moveNext()){this.m7.add(a.current())}else{c=false}if(b.moveNext()){this.m8.add(b.current())}else{d=false}if(c&&d){this.na=Math.min(this.na,a.current()-b.current()*e);this.m9=Math.max(this.m9,a.current()+b.current()*e)}}return true},ad:function(a){if(this.m7==null||this.m8==null||a==null||this.bb()==null||a!=this.yAxis()){return null}var b=new $$t.h7(this.na,this.m9);return b},m7:null,m8:null,nd:function(a){return a},mk:function(a,b){var $self=this;$$t.$wn.mk.call($self,a,b);var c=b.bv();var d=b.bu();var e=$self.xAxis();var f=$self.yAxis();var g=new $$t.ie(c,d,e.isInverted());var h=new $$t.ie(c,d,f.isInverted());a.h.clear();a.p.clear();a.q.clear();var i=$.ig.util.cast($$t.$kd.$type,$self.xAxis());if(i!=null&&i.sortedIndices().count()!=$self.bb().count()){return}var j=0;j=$self.getOffset(c,d);if(!$self.m1()){$self.m1($self.m2());if($self.yAxis()!=null){$self.yAxis().updateRange1(true)}}var k=$self.nd($self.xAxis().getUnscaledValue(2,g)-$self.xAxis().getUnscaledValue(1,g));for(var l=b.bx().c();l<=b.bx().d();++l){var m;if(i==null){m=b.bx().getBucket(l)}else{var n=i.sortedIndices().__inner[l];var o=i.getUnscaledValueAt(n);var p=$self.nd($self.m7.__inner[l]);var q=$self.nd($self.m8.__inner[l]);var r=p;var s=q;var t=o;var u=1;while(l<b.bx().d()){n=i.sortedIndices().__inner[l+1];t=i.getUnscaledValueAt(n);if(t-o>k){break}l++;r+=$self.nd($self.m7.__inner[l]);s+=$self.nd($self.m8.__inner[l]);u++}r/=u;s/=u;var v=$self.nd(r-s*$self.multiplier());var w=$self.nd(r);var x=$self.nd(r+s*$self.multiplier());var y=NaN;if(!isNaN(o)){y=$self.xAxis().getScaledValue(o,g)}m=function(){var $ret=new Array;$ret.add($self.nd(y));$ret.add(v);$ret.add(w);$ret.add(x);return $ret}()}var z=Math.max(1,k);if(!isNaN(m[0])&&l*z>=$self.ignoreFirst()){if($self.xAxis()!=null&&$.ig.util.cast($$t.$kd.$type,$self.xAxis())!==null){m[0]=m[0]+j}else{m[0]=e.getScaledValue(m[0],g)+j}m[1]=f.getScaledValue(m[1],h);m[2]=f.getScaledValue(m[2],h);m[3]=f.getScaledValue(m[3],h);a.h.add(m)}}},gh:function(a,b){$$t.$wn.gh.call(this,a,b);var c=b;if(c!=null){c.b4()}},getSeriesValue:function(a,b,c){if(this.m7==null){return $$t.$wn.getSeriesValue.call(this,a,b,c)}var d=this.getOffset(this.view().bv(),this.view().bu());var e=new $$t.ie(this.view().bv(),this.view().bu(),this.xAxis().isInverted());e.b=this.seriesViewer().viewportRect();return this.dk(this.m7,a,this.xAxis(),e,d,this.li.runOn(this),b,c)},getPreviousOrExactIndex:function(a,b){if(this.m7==null){return $$t.$wn.getPreviousOrExactIndex.call(this,a,b)}return this.d5(a,b,this.xAxis(),this.li.runOn(this),this.m7)},getNextOrExactIndex:function(a,b){if(this.m7==null){return $$t.$wn.getNextOrExactIndex.call(this,a,b)}return this.d3(a,b,this.xAxis(),this.li.runOn(this),this.m7)},ct:function(a,b,c){var d=$$t.$wn.ct.call(this,a,b,c);if(!this.k3(this.lb())){d=false}return d},mm:function(a,b){var $self=this;$$t.$wn.mm.call($self,a,b);var c=$.ig.util.cast($$t.$wp.$type,b);if(b.b0(a)){c.b4();var d=a.h.count();var e=function(f){return a.h.__inner[f][0]};var f=function(g){return a.h.__inner[d-1-g][0]};var g=function(h){return a.h.__inner[h][1]};var h=function(i){return a.h.__inner[i][2]};var i=function(j){return a.h.__inner[d-1-j][3]};c.b5(d,e,f,g,h,i);b.b2(a)}$self.jz.x($self,$self.k1(),$self.xAxis(),$self.getCategoryItems.runOn($self),$self.lq(b),$self.lr(b));var j=false;var k=$self.jz.b();var l=a.h;var m=$self.bb().count();if(k!=null){j=true}if(j){var n=new $$t.ie(b.bv(),b.bu(),$self.xAxis().isInverted());$self.mj(l,-1,m,$self.xAxis(),n,b.m())}var o=c.cc();var p=c.cd();var q=c.ce();var r=c.b7();$self.jz.ae(p,true,false,true,true);$self.jz.ap=null;$self.jz.ao=null;$self.jz.ae(o,true,false,false,true);$self.jz.ae(q,true,false,false,true);$self.jz.ae(r,false,true,false,false);r.__opacity=$self.jz.i*$self.actualAreaFillOpacity()},au:function(){return new $$t.wp(this)},hc:function(a){$$t.$wn.hc.call(this,a);this.m6($.ig.util.cast($$t.$wp.$type,a))},_m6:null,m6:function(value){if(arguments.length===1){this._m6=value;
return value}else{return this._m6}},$type:new $.ig.Type("BollingerBandsOverlay",$$t.$wn.$type)},true);$.ig.util.defType("FinancialBucketCalculator:qp","Object",{_a:null,a:function(value){if(arguments.length===1){this._a=value;return value}else{return this._a}},init:function(a){$.ig.$op.init.call(this);if(a==null){throw new $$t.e0("view")}this.a(a);this.c(-1);this.d(this.d());this.b(0)},getBucket:function(a){return null},getErrorBucket:function(a,b){return NaN},_c:0,c:function(value){if(arguments.length===1){this._c=value;return value}else{return this._c}},_d:0,d:function(value){if(arguments.length===1){this._d=value;return value}else{return this._d}},_b:0,b:function(value){if(arguments.length===1){this._b=value;return value}else{return this._b}},getBucketInfo:function(a,b,c,d){a=this.c();b=this.d();c=this.b();d=this.a().bz().resolution();return{firstBucket:a,lastBucket:b,bucketSize:c,resolution:d}},e:function(a){var b=this.a().bv();var c=this.a().bu();if(b.isEmpty()||c.isEmpty()||this.a().bz().xAxis()==null){this.b(0);return}var d=this.a().bz().xAxis()!=null?this.a().bz().xAxis().isInverted():false;var e=new $$t.ie(b,c,d);var f=$.ig.util.cast($$t.$kd.$type,this.a().bz().xAxis());if(f==null||f.sortedIndices()==null){var g=Math.floor(this.a().bz().xAxis().getUnscaledValue(c.left(),e));var h=Math.ceil(this.a().bz().xAxis().getUnscaledValue(c.right(),e));if(this.a().bz().xAxis().isInverted()){h=Math.ceil(this.a().bz().xAxis().getUnscaledValue(c.left(),e));g=Math.floor(this.a().bz().xAxis().getUnscaledValue(c.right(),e))}var i=Math.floor((h-g+1)*a/c.width());this.b(Math.max(1,i));this.c(Math.floor(g/this.b()));this.d(Math.ceil(h/this.b()))}else{this.c(f.getFirstVisibleIndex(b,c));this.d(f.getLastVisibleIndex(b,c));this.b(1)}},cacheValues:function(){},unCacheValues:function(){},$type:new $.ig.Type("FinancialBucketCalculator",$.ig.$ot,[$$t.$j1.$type])},true);$.ig.util.defType("BollingerBandsBucketCalculator:wq","FinancialBucketCalculator",{init:function(a){$$t.$qp.init.call(this,a);this.f(a)},_f:null,f:function(value){if(arguments.length===1){this._f=value;return value}else{return this._f}},getBucket:function(a){var $self=this;var b=a*$self.b();var c=Math.min(b+$self.b()-1,$self.a().bz().bb().count()-1);if(b<=c){var d=$self.f().b3().multiplier();var e=0;var f=0;var g=0;for(var h=b;h<=c;++h){if(!isNaN($self.f().b3().m7.__inner[h])&&!isNaN($self.f().b3().m8.__inner[h])){e+=$self.f().b3().m7.__inner[h];f+=$self.f().b3().m8.__inner[h];++g}}if(g>0){e=e/g;f=f/g;return function(){var $ret=new Array;$ret.add(.5*(b+c));$ret.add(e-f*d);$ret.add(e);$ret.add(e+f*d);return $ret}()}}return function(){var $ret=new Array;$ret.add(NaN);$ret.add(NaN);$ret.add(NaN);$ret.add(NaN);return $ret}()},$type:new $.ig.Type("BollingerBandsBucketCalculator",$$t.$qp.$type)},true);$.ig.util.defType("FinancialSeriesView:qo","SeriesView",{_bz:null,bz:function(value){if(arguments.length===1){this._bz=value;return value}else{return this._bz}},_bx:null,bx:function(value){if(arguments.length===1){this._bx=value;return value}else{return this._bx}},_b1:0,b1:function(value){if(arguments.length===1){this._b1=value;return value}else{return this._b1}},b0:function(a){if(this.b1()!=a.u()){return true}return false},b2:function(a){this.b1(a.u())},init:function(a){$$t.$bb.init.call(this,a);this.b1(-1);this.bz(a);this.bx(this.by())},by:function(){},an:function(){var $self=this;$$t.$bb.an.call($self);if(!$self.m()){$self.d().legendItemBadgeTemplate(function(){var $ret=new $$t.cg;$ret.render($$t.$mj.f);$ret.measure($$t.$mj.j);return $ret}())}},getDefaultTooltipTemplate:function(){var a="<div class='ui-chart-default-tooltip-content'>";var b=$.ig.util.cast($$t.$k1.$type,this.bz().xAxis());if(b!=null){a+="<span>${item."+b.dateTimeMemberPath()+"}</span><br/>"}else if(this.bz().xAxis().label()!=null){a+="<span>${item."+this.bz().xAxis().label()+"}</span><br/>"}a+="<span class='ui-priority-primary'";if(this.d().actualOutline()!=null&&this.d().actualOutline().color()!=null){a+=" style='color:"+this.d().actualOutline().__fill+"'"}a+=">"+this.bz().title()+"</span><table><tr><td>"+"Open:</td><td>"+"${item."+this.bz().openMemberPath()+"}</td></tr><tr><td>"+"High:</td><td>"+"${item."+this.bz().highMemberPath()+"}</td></tr><tr><td>"+"Low:</td><td>"+"${item."+this.bz().lowMemberPath()+"}</td></tr><tr><td>"+"Close:</td><td>"+"${item."+this.bz().closeMemberPath()+"}</td></tr>";if(!String.isNullOrEmpty(this.bz().volumeMemberPath())){a+="<tr><td>"+"Volume:</td><td>"+"${item."+this.bz().volumeMemberPath()+"}</td></tr>"}a+="</table></div>";return a},aa:function(){var a=new $$t.b4;a.colorString("rgba(95,95,95,0.5)");this.d().shadowColor(a);this.d().shadowBlur(5);this.d().shadowOffsetX(2);this.d().shadowOffsetY(2)},$type:new $.ig.Type("FinancialSeriesView",$$t.$bb.$type)},true);$.ig.util.defType("BollingerBandsOverlayView:wp","FinancialSeriesView",{_b3:null,b3:function(value){if(arguments.length===1){this._b3=value;return value}else{return this._b3}},init:function(a){this.b8=new $$t.ca;this.cf=new $$t.cc;this.cg=new $$t.cc;this.ch=new $$t.cc;this.b6=new $$t.ca;this.b9=new $$t.cc;this.ca=new $$t.cc;this.cb=new $$t.cc;$$t.$qo.init.call(this,a);this.b3(a)},an:function(){var $self=this;$$t.$qo.an.call($self);if(!$self.m()){$self.d().legendItemBadgeTemplate(function(){var $ret=new $$t.cg;$ret.render($$t.$mj.r);$ret.measure($$t.$mj.j);return $ret}())}},by:function(){return new $$t.wq(this)},b5:function(a,b,c,d,e,f){var h=$$t.$kp.f(a,b,d,this.d().resolution()).getEnumerator();while(h.moveNext()){var g=h.current();this.b8.ag().add({__x:b(g),__y:d(g),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});this.cf.ag().add({__x:b(g),__y:d(g),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}var j=$$t.$kp.f(a,b,e,this.d().resolution()).getEnumerator();while(j.moveNext()){var i=j.current();this.cg.ag().add({__x:b(i),__y:e(i),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}var l=$$t.$kp.f(a,c,f,this.d().resolution()).getEnumerator();while(l.moveNext()){var k=l.current();this.b8.ag().add({__x:c(k),__y:f(k),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});this.ch.ag().add({__x:c(k),__y:f(k),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}this.al()},b4:function(){this.b8.ag().clear();this.cf.ag().clear();this.cg.ag().clear();this.ch.ag().clear();this.al()},b7:function(){return this.b8},cc:function(){return this.cf},cd:function(){return this.cg},ce:function(){return this.ch},b8:null,cf:null,cg:null,ch:null,b6:null,b9:null,ca:null,cb:null,a6:function(){$$t.$qo.a6.call(this);this.b6.ag(this.b8.ag());this.b9.ag(this.cf.ag());this.ca.ag(this.cg.ag());this.cb.ag(this.ch.ag());var a=this.bq();this.b6.__fill=a;this.b6.__opacity=1;this.b9.__stroke=a;this.b9.z(this.d().thickness()+3);this.ca.__stroke=a;this.ca.z(this.d().thickness()+3);this.cb.__stroke=a;this.cb.z(this.d().thickness()+3)},a0:function(a,b){$$t.$qo.a0.call(this,a,b);if(a.c()){if(b){a.r(this.b6);a.s(this.b9);a.s(this.ca);a.s(this.cb)}else{a.r(this.b8);a.s(this.cf);a.s(this.cg);a.s(this.ch)}}},ag:function(a){$$t.$qo.ag.call(this,a);var b=new $$t.g7(1,"FillShape",this.b8);b.tags().add("Fill");var c=new $$t.g8(1,"BottomLine",this.cf);c.tags().add("Main");c.tags().add("Lower");var d=new $$t.g8(1,"CentralLine",this.cg);d.tags().add("Central");var e=new $$t.g8(1,"TopLine",this.ch);e.tags().add("Upper");a.shapes().add(b);a.shapes().add(c);a.shapes().add(d);a.shapes().add(e)},$type:new $.ig.Type("BollingerBandsOverlayView",$$t.$qo.$type)},true);$.ig.util.defType("BollingerBandWidthIndicator:wr","StrategyBasedIndicator",{init:function(){$$t.$wc.init.call(this)},nz:function(){return new $$t.ws},oc:function(){return $$t.$wr.$type},period:function(a){if(arguments.length===1){this.g($$t.$wr.periodProperty,a);return a}else{return this.c($$t.$wr.periodProperty)}},n5:function(){return this.period()},multiplier:function(a){if(arguments.length===1){this.g($$t.$wr.multiplierProperty,a);return a}else{return this.c($$t.$wr.multiplierProperty)}},n3:function(){return this.multiplier()},$type:new $.ig.Type("BollingerBandWidthIndicator",$$t.$wc.$type)},true);$.ig.util.defType("BollingerBandWidthIndicatorStrategy:ws","IndicatorCalculationStrategy",{init:function(){$$t.$wd.init.call(this)},b:function(a,b){var c=new $$t.bh(String,0);c.addRange(a.typicalColumn().basedOn());c.addRange(b.c().a());c.addRange(b.d().a());return c},a:function(a,b){var c=b.c().d()(a.typicalColumn(),a.period()).getEnumerator();var d=b.d().d()(a.typicalColumn(),a.period()).getEnumerator();var e=a.multiplier();var f=a.indicatorColumn();var g=0;while(c.moveNext()&&d.moveNext()){var h=d.current()*e;var i=c.current()+h;var j=c.current()-h;var k=c.current();var l=b.i()((i-j)/k);f.item(g,l);g++}return true},$type:new $.ig.Type("BollingerBandWidthIndicatorStrategy",$$t.$wd.$type)},true);$.ig.util.defType("ChaikinOscillatorIndicator:wt","StrategyBasedIndicator",{init:function(){$$t.$wc.init.call(this)},nz:function(){return new $$t.wu},oc:function(){return $$t.$wt.$type},shortPeriod:function(a){if(arguments.length===1){this.g($$t.$wt.shortPeriodProperty,a);return a}else{return this.c($$t.$wt.shortPeriodProperty)}},n7:function(){return this.shortPeriod()},longPeriod:function(a){if(arguments.length===1){this.g($$t.$wt.longPeriodProperty,a);return a}else{return this.c($$t.$wt.longPeriodProperty)}},n4:function(){return this.longPeriod()},$type:new $.ig.Type("ChaikinOscillatorIndicator",$$t.$wc.$type)},true);$.ig.util.defType("ChaikinOscillatorIndicatorStrategy:wu","IndicatorCalculationStrategy",{_c:null,c:function(value){if(arguments.length===1){this._c=value;return value}else{return this._c}},init:function(){$$t.$wd.init.call(this);this.c(new $$t.wh)},b:function(a,b){var c=new $$t.bh(String,0);c.addRange(this.c().b(a,b));c.addRange(b.a().a());return c},a:function(a,b){var c=a.indicatorColumn();var d=this.c().c(a,b);var e=b.a().d()(d,a.shortPeriod()).getEnumerator();var f=b.a().d()(d,a.longPeriod()).getEnumerator();var g=0;while(e.moveNext()&&f.moveNext()){var h=e.current()-f.current();c.item(g,h);g++}return true},$type:new $.ig.Type("ChaikinOscillatorIndicatorStrategy",$$t.$wd.$type)},true);$.ig.util.defType("ChaikinVolatilityIndicator:wv","StrategyBasedIndicator",{init:function(){$$t.$wc.init.call(this)},nz:function(){return new $$t.ww},oc:function(){return $$t.$wv.$type},period:function(a){if(arguments.length===1){this.g($$t.$wv.periodProperty,a);return a}else{return this.c($$t.$wv.periodProperty)}},n5:function(){return this.period()},$type:new $.ig.Type("ChaikinVolatilityIndicator",$$t.$wc.$type)},true);$.ig.util.defType("ChaikinVolatilityIndicatorStrategy:ww","IndicatorCalculationStrategy",{init:function(){$$t.$wd.init.call(this)},b:function(a,b){var c=new $$t.bh(String,0);c.add("HighColumn");c.add("LowColumn");c.addRange(b.a().a());return c},a:function(a,b){var $self=this;var c=b.j()(function(d){return a.highColumn().item(d)-a.lowColumn().item(d)},a.count());var d=b.a().d()(c,a.period()).getEnumerator();var e=a.indicatorColumn();var f=new Array(a.period());for(var g=0;g<a.period();g++){f[g]=0}var h=0;while(d.moveNext()){var i=h%a.period();var j=b.i()((d.current()-f[i])/(f[i]*100));if(h<a.period()){e.item(h,0)}else{e.item(h,j)}f[i]=d.current();h++}return true},$type:new $.ig.Type("ChaikinVolatilityIndicatorStrategy",$$t.$wd.$type)},true);$.ig.util.defType("CommodityChannelIndexIndicator:wx","StrategyBasedIndicator",{init:function(){$$t.$wc.init.call(this)},nz:function(){return new $$t.wy},oc:function(){return $$t.$wx.$type},period:function(a){if(arguments.length===1){this.g($$t.$wx.periodProperty,a);return a}else{return this.c($$t.$wx.periodProperty)}},n5:function(){return this.period()},$type:new $.ig.Type("CommodityChannelIndexIndicator",$$t.$wc.$type)},true);$.ig.util.defType("CommodityChannelIndexIndicatorStrategy:wy","IndicatorCalculationStrategy",{init:function(){$$t.$wd.init.call(this)},b:function(a,b){var c=new $$t.bh(String,0);c.addRange(a.typicalColumn().basedOn());c.addRange(b.c().a());return c},a:function(a,b){var c=a.period();var d=a.typicalColumn();var e=a.indicatorColumn();var f=b.c().d()(d,c).getEnumerator();var g=d.getEnumerator();var h=new Array(c);for(var i=0;i<c;i++){h[i]=0}var j=0;while(g.moveNext()&&f.moveNext()){h[j%c]=g.current();var k=0;for(var l=0;l<c;++l){k+=Math.abs(f.current()-h[l])}k/=c;e.item(j,b.i()((g.current()-f.current())/(.015*k)));++j}return true},$type:new $.ig.Type("CommodityChannelIndexIndicatorStrategy",$$t.$wd.$type)},true);$.ig.util.defType("CustomIndicator:wz","StrategyBasedIndicator",{init:function(){$$t.$wc.init.call(this)},nz:function(){return new $$t.w0},oc:function(){return $$t.$wz.$type},m7:function(a,b){var c=this.j3(a,b);var d=this.j4(c);var e=new $$t.bh(String,0);if(this.oi!=null){var f=new $$t.qv(c.calculateFrom(),c.calculateCount(),c,d);this.oi(this,f);if(f.basedOn()!=null){var h=f.basedOn().getEnumerator();while(h.moveNext()){var g=h.current();e.add(g)}}}return e},oj:null,indicator:function(a){if(arguments.length===1){this.oj=a;this.ni();return a}else{return this.oj}},oi:null,basedOnColumns:function(a){if(arguments.length===1){this.oi=a;return a}else{return this.oi}},m5:function(a,b){$$t.$wc.m5.call(this,a,b);if(this.oj!=null){var c=this.j3(a,b);if(b==0){return false}if(!this.k3(this.m7(a,b))){return false}this.oj(this,new $$t.qv(a,b,c,this.j4(c)));if(this.n1(c)&&this.yAxis()!=null){this.yAxis().updateRange()}return true}return false},$type:new $.ig.Type("CustomIndicator",$$t.$wc.$type)},true);$.ig.util.defType("CustomIndicatorStrategy:w0","IndicatorCalculationStrategy",{init:function(){$$t.$wd.init.call(this)},a:function(a,b){return true},b:function(a,b){return new $$t.bh(String,0)},$type:new $.ig.Type("CustomIndicatorStrategy",$$t.$wd.$type)},true);$.ig.util.defType("PriceChannelOverlayView:w1","FinancialSeriesView",{b8:null,cd:null,ce:null,b7:function(){return this.b8},cb:function(){return this.cd},cc:function(){return this.ce},_b3:null,b3:function(value){if(arguments.length===1){this._b3=value;return value}else{return this._b3}},init:function(a){this.b8=new $$t.ca;this.cd=new $$t.cc;this.ce=new $$t.cc;this.b6=new $$t.ca;this.b9=new $$t.cc;this.ca=new $$t.cc;$$t.$qo.init.call(this,a);this.b3(a)},an:function(){var $self=this;$$t.$qo.an.call($self);if(!$self.m()){$self.d().legendItemBadgeTemplate(function(){var $ret=new $$t.cg;$ret.render($$t.$mj.r);$ret.measure($$t.$mj.j);return $ret}())}},by:function(){return new $$t.w3(this)},b4:function(){this.b8.ag().clear();this.cd.ag().clear();this.ce.ag().clear();this.al()},b5:function(a,b,c,d,e){var g=$$t.$kp.f(a,b,d,this.d().resolution()).getEnumerator();while(g.moveNext()){var f=g.current();this.b8.ag().add({__x:b(f),__y:d(f),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});this.cd.ag().add({__x:b(f),__y:d(f),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}var i=$$t.$kp.f(a,c,e,this.d().resolution()).getEnumerator();while(i.moveNext()){var h=i.current();this.b8.ag().add({__x:c(h),__y:e(h),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});this.ce.ag().add({__x:c(h),__y:e(h),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}this.al()},b6:null,b9:null,ca:null,a6:function(){$$t.$qo.a6.call(this);this.b6.ag(this.b8.ag());this.b9.ag(this.cd.ag());this.ca.ag(this.ce.ag());var a=this.bq();this.b6.__fill=a;this.b6.__opacity=1;this.b9.__stroke=a;this.b9.z(this.d().thickness()+3);this.ca.__stroke=a;this.ca.z(this.d().thickness()+3)},a0:function(a,b){$$t.$qo.a0.call(this,a,b);if(a.c()){if(b){a.r(this.b6);a.s(this.b9);a.s(this.ca)}else{a.r(this.b8);a.s(this.cd);a.s(this.ce)}}},ag:function(a){$$t.$qo.ag.call(this,a);var b=new $$t.g7(1,"fill",this.b8);var c=new $$t.g8(1,"bottom",this.cd);var d=new $$t.g8(1,"top",this.ce);b.tags().add("Fill");c.tags().add("Lower");c.tags().add("Main");d.tags().add("Upper");a.shapes().add(b);a.shapes().add(c);a.shapes().add(d)},$type:new $.ig.Type("PriceChannelOverlayView",$$t.$qo.$type)},true);$.ig.util.defType("DetrendedPriceOscillatorIndicator:w4","StrategyBasedIndicator",{init:function(){$$t.$wc.init.call(this)},nz:function(){return new $$t.w5},oc:function(){return $$t.$w4.$type},period:function(a){if(arguments.length===1){this.g($$t.$w4.periodProperty,a);return a}else{return this.c($$t.$w4.periodProperty)}},n5:function(){return this.period()},$type:new $.ig.Type("DetrendedPriceOscillatorIndicator",$$t.$wc.$type)},true);$.ig.util.defType("DetrendedPriceOscillatorIndicatorStrategy:w5","IndicatorCalculationStrategy",{init:function(){$$t.$wd.init.call(this)},b:function(a,b){var c=new $$t.bh(String,0);c.add("CloseColumn");c.addRange(b.c().a());return c},a:function(a,b){var c=a.period();var d=a.closeColumn();var e=a.indicatorColumn();var f=b.c().d()(d,c).getEnumerator();var g=$.ig.intDivide(c,2)+1;var h=new Array(g);for(var i=0;i<g;i++){h[i]=0}for(var j=1;j<Math.min(g+1,e.count());++j){var k=j%g;e.item(j,0);f.moveNext();h[k]=f.current()}for(var l=g+1;l<e.count();l++){var m=l%g;e.item(l,d.item(l)-h[m]);f.moveNext();h[m]=f.current()}return true},$type:new $.ig.Type("DetrendedPriceOscillatorIndicatorStrategy",$$t.$wd.$type)},true);$.ig.util.defType("EaseOfMovementIndicator:w6","StrategyBasedIndicator",{init:function(){$$t.$wc.init.call(this)},nz:function(){return new $$t.w7},oc:function(){return $$t.$w6.$type},$type:new $.ig.Type("EaseOfMovementIndicator",$$t.$wc.$type)},true);$.ig.util.defType("EaseOfMovementIndicatorStrategy:w7","IndicatorCalculationStrategy",{init:function(){$$t.$wd.init.call(this)},b:function(a,b){var c=new $$t.bh(String,0);c.add("HighColumn");c.add("LowColumn");c.add("VolumeColumn");return c},a:function(a,b){var c=a.indicatorColumn();var d=a.highColumn();var e=a.lowColumn();var f=a.volumeColumn();var g=a.count();if(g>0){c.item(0,0)}for(var h=1;h<g;h++){var i=(d.item(h)+e.item(h))/2;var j=(d.item(h-1)+e.item(h-1))/2;var k=i-j;var l=1e4;var m=b.i()(f.item(h)/l/(d.item(h)-e.item(h)));c.item(h,b.i()(k/m))}return true},$type:new $.ig.Type("EaseOfMovementIndicatorStrategy",$$t.$wd.$type)},true);$.ig.util.defType("FastStochasticOscillatorIndicator:w8","StrategyBasedIndicator",{init:function(){var $self=this;$$t.$wc.init.call(this);this.trendLineBrush(function(){var $ret=new $$t.b3;$ret.fill("Blue");return $ret}());this.trendLineType(10);this.trendLinePeriod(3)},nz:function(){return new $$t.w9},oc:function(){return $$t.$w8.$type},period:function(a){if(arguments.length===1){this.g($$t.$w8.periodProperty,a);return a}else{return this.c($$t.$w8.periodProperty)}},n5:function(){return this.period()},$type:new $.ig.Type("FastStochasticOscillatorIndicator",$$t.$wc.$type)},true);$.ig.util.defType("FastStochasticOscillatorIndicatorStrategy:w9","IndicatorCalculationStrategy",{_c:null,c:function(value){if(arguments.length===1){this._c=value;return value}else{return this._c}},init:function(){$$t.$wd.init.call(this);this.c(new $$t.xa)},b:function(a,b){var c=new $$t.bh(String,0);c.addRange(this.c().b(a,b));return c},a:function(a,b){var c=this.c().c(a,b);var d=0;var f=c.getEnumerator();while(f.moveNext()){var e=f.current();a.indicatorColumn().item(d,e);d++}return true},$type:new $.ig.Type("FastStochasticOscillatorIndicatorStrategy",$$t.$wd.$type)},true);$.ig.util.defType("FinancialIndicatorBucketCalculator:v9","FinancialBucketCalculator",{init:function(a){$$t.$qp.init.call(this,a);this.f(a)},_f:null,f:function(value){if(arguments.length===1){this._f=value;return value}else{return this._f}},getBucket:function(a){var $self=this;var b=a*$self.b();var c=Math.min(b+$self.b()-1,$self.f().b4().m8().count()-1);var d=NaN;var e=NaN;for(var f=b;f<=c;++f){var g=$self.f().b4().m8().__inner[f];if(!isNaN(d)){if(!isNaN(g)){d=Math.min(d,g);e=Math.max(e,g)}}else{d=g;e=g}}if(!isNaN(d)){return function(){var $ret=new Array;$ret.add(.5*(b+c));$ret.add(d);$ret.add(e);return $ret}()}return function(){var $ret=new Array;$ret.add(NaN);$ret.add(NaN);$ret.add(NaN);return $ret}()},$type:new $.ig.Type("FinancialIndicatorBucketCalculator",$$t.$qp.$type)},true);$.ig.util.defType("FinancialIndicatorView:v8","FinancialSeriesView",{_b4:null,b4:function(value){if(arguments.length===1){this._b4=value;return value}else{return this._b4}},init:function(a){var $self=this;this.cs=function(){var $ret=new $$t.b6;$ret.ak(new $$t.dx);return $ret}();this.co=function(){var $ret=new $$t.b6;$ret.ak(new $$t.dx);return $ret}();this.ct=function(){var $ret=new $$t.b6;$ret.ak(new $$t.dx);return $ret}();this.cp=function(){var $ret=new $$t.b6;$ret.ak(new $$t.dx);return $ret}();this.cu=function(){var $ret=new $$t.b6;$ret.ak(new $$t.dx);return $ret}();this.cq=function(){var $ret=new $$t.b6;$ret.ak(new $$t.dx);return $ret}();this.cr=function(){var $ret=new $$t.b6;$ret.ak(new $$t.du);return $ret}();this.cn=function(){var $ret=new $$t.b6;$ret.ak(new $$t.du);return $ret}();this.ck=new $$t.b6;this.cm=new $$t.b6;this.cl=new $$t.b6;this.cj=new $$t.b6;this.cg=new $$t.b6;this.ci=new $$t.b6;this.ch=new $$t.b6;this.cf=new $$t.b6;$$t.$qo.init.call(this,a);this.b4(a);this.b5=function(){var $ret=new $$t.ga($$t.$dz.$type);$ret.create($self.ce.runOn($self));$ret.destroy($self.b7.runOn($self));return $ret}();this.b3(new $$t.kz)},by:function(){return new $$t.v9(this)},an:function(){var $self=this;$$t.$qo.an.call($self);if(!$self.m()){$self.bz().negativeBrush(function(){var $ret=new $$t.b3;$ret.fill("#415460");return $ret}())}},b5:null,ce:function(){return new $$t.dz},b7:function(a){},cs:null,co:null,ct:null,cp:null,cu:null,cq:null,cr:null,cn:null,_b3:null,b3:function(value){if(arguments.length===1){this._b3=value;return value}else{return this._b3}},b6:function(a){$.ig.util.cast($$t.$dx.$type,this.cs.ak()).reset1();$.ig.util.cast($$t.$dx.$type,this.ct.ak()).reset1();$.ig.util.cast($$t.$dx.$type,this.cu.ak()).reset1();$.ig.util.cast($$t.$dx.$type,this.co.ak()).reset1();$.ig.util.cast($$t.$dx.$type,this.cp.ak()).reset1();$.ig.util.cast($$t.$dx.$type,this.cq.ak()).reset1();$.ig.util.cast($$t.$du.$type,this.cr.ak()).reset();$.ig.util.cast($$t.$du.$type,this.cn.ak()).reset();if(a){this.b5.c(0)}this.al()},cc:function(){},ca:function(a,b,c,d,e,f){$$t.$wa.c(a,b,c,d,e,f,this.bv(),this.bu(),this.cs,this.ct,this.cu,this.co,this.cp,this.cq,this.bx().b(),this.d().resolution());this.al()},b8:function(a,b,c,d,e,f,g){$$t.$wa.a(a,b,c,d,e,f,this.bv(),this.bu(),this.cs,this.ct,this.cu,this.co,this.cp,this.cq,g,this.bx().b(),this.d().resolution());this.al()},b9:function(a,b,c,d,e,f,g){$$t.$wa.b(a,b,c,d,e,f,g,this.b5,this.cr,this.cn);this.al()},cd:function(){this.b4().actualTrendLineBrush(null);if(this.b4().trendLineBrush()!=null){this.b4().actualTrendLineBrush(this.b4().trendLineBrush())}else{this.b4().actualTrendLineBrush(this.b4().actualBrush())}},ck:null,cm:null,cl:null,cj:null,cg:null,ci:null,ch:null,cf:null,a6:function(){$$t.$qo.a6.call(this);var a=this.bq();this.ck.ak(this.cs.ak());this.cm.ak(this.cu.ak());this.cl.ak(this.ct.ak());this.cj.ak(this.cr.ak());this.cg.ak(this.co.ak());this.ci.ak(this.cq.ak());this.ch.ak(this.cp.ak());this.cf.ak(this.cn.ak());this.ck.__stroke=a;this.cm.__stroke=a;this.ck.z(this.d().thickness()+3);this.cm.z(this.d().thickness()+3);this.cl.__fill=a;this.cl.__opacity=1;this.cj.__stroke=a;this.cj.z(this.d().thickness()+3);this.cg.__stroke=a;this.ci.__stroke=a;this.cg.z(this.d().thickness()+3);this.ci.z(this.d().thickness()+3);this.ch.__fill=a;this.ch.__opacity=1;this.cf.__stroke=a;this.cf.z(this.d().thickness()+3)},a0:function(a,b){$$t.$qo.a0.call(this,a,b);if(a.c()){if(b){if(this.b4().displayType()==2){a.q(this.cj);a.q(this.cf)}else{a.q(this.cl);a.q(this.ck);a.q(this.cm);a.q(this.ch);a.q(this.cg);a.q(this.ci)}}else{if(this.b4().displayType()==2){a.q(this.cr);a.q(this.cn)}else{a.q(this.ct);a.q(this.cs);a.q(this.cu);a.q(this.cp);a.q(this.co);a.q(this.cq)}}}},az:function(a,b){if(a.c()){if(this.b4().trendLineType()!=0&&!b){var c=this.b3().x();c.z(this.b4().trendLineThickness());c.__stroke=this.b4().actualTrendLineBrush();c.aa(this.b4().trendLineDashCap());c.af(this.b4().trendLineDashArray());a.s(c)}}$$t.$qo.az.call(this,a,b)},ag:function(a){$$t.$qo.ag.call(this,a);var b=new $$t.l0(1,"positiveColumnsShape",this.cr);b.tags().add("Positive");b.tags().add("Main");var c=new $$t.l0(1,"negativeColumnsShape",this.cn);c.tags().add("Negative");var d=new $$t.l0(1,"positive0",this.cs);d.tags().add("Positive");d.tags().add("Main");var e=new $$t.l0(1,"positive1",this.cu);e.tags().add("Positive");var f=new $$t.l0(1,"positive01",this.ct);f.tags().add("PositiveFill");var g=new $$t.l0(1,"negative0",this.co);g.tags().add("Negative");g.tags().add("Main");var h=new $$t.l0(1,"negative1",this.cq);h.tags().add("Negative");var i=new $$t.l0(1,"negative01",this.cp);i.tags().add("NegativeFill");a.shapes().add(d);a.shapes().add(e);a.shapes().add(f);a.shapes().add(g);a.shapes().add(h);a.shapes().add(i)},cb:function(){this.b3($$t.$kh.y(this.b3(),this.b4().xAxis(),this.d().rootCanvas(),this.b4()))},$type:new $.ig.Type("FinancialIndicatorView",$$t.$qo.$type)},true);$.ig.util.defType("ForceIndexIndicator:xb","StrategyBasedIndicator",{init:function(){$$t.$wc.init.call(this);this.displayType(1)},nz:function(){return new $$t.xc},oc:function(){return $$t.$xb.$type},period:function(a){if(arguments.length===1){this.g($$t.$xb.periodProperty,a);return a}else{return this.c($$t.$xb.periodProperty)}},n5:function(){return this.period()},$type:new $.ig.Type("ForceIndexIndicator",$$t.$wc.$type)},true);$.ig.util.defType("ForceIndexIndicatorStrategy:xc","IndicatorCalculationStrategy",{init:function(){$$t.$wd.init.call(this)},b:function(a,b){var c=new $$t.bh(String,0);c.add("CloseColumn");c.add("VolumeColumn");c.addRange(b.a().a());return c},c:function(a){var $self=this;var $iter=function(){return function(a){return{$state:0,$this:$self,$current:null,$b:0,$c:null,$d:null,$e:null,$f:0,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$b=0;this.$c=a.closeColumn();this.$d=a.volumeColumn();this.$e=a.indicatorColumn();this.$state=1;break;case 1:if(this.$c!=null&&this.$d!=null){this.$state=2}else{this.$state=3}break;case 2:this.$b=Math.min(this.$c.count(),this.$d.count());this.$state=3;break;case 3:this.$state=4;break;case 4:if(this.$b>0){this.$state=5}else{this.$state=7}break;case 5:this.$current=0;this.$state=6;return true;case 6:this.$state=7;break;case 7:this.$state=8;break;case 8:this.$f=1;this.$state=12;break;case 9:this.$current=this.$d.item(this.$f)*(this.$c.item(this.$f)-this.$c.item(this.$f-1));this.$state=10;return true;case 10:this.$state=11;break;case 11:++this.$f;this.$state=12;break;case 12:if(this.$f<this.$b){this.$state=9}else{this.$state=13}break;case 13:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a)};return new $.ig.GenericEnumerable$1(Number,$iter)},a:function(a,b){var c=this.c(a);var d=a.period();var e=a.indicatorColumn();if(d!=0&&!isNaN(d)&&!Number.isInfinity(d)){c=b.a().d()(c,a.period())}var f=0;var h=c.getEnumerator();while(h.moveNext()){var g=h.current();e.item(f,g);++f}return true},$type:new $.ig.Type("ForceIndexIndicatorStrategy",$$t.$wd.$type)},true);$.ig.util.defType("FullStochasticOscillatorIndicator:xd","StrategyBasedIndicator",{init:function(){var $self=this;$$t.$wc.init.call(this);this.trendLineBrush(function(){var $ret=new $$t.b3;$ret.fill("Blue");return $ret}());this.trendLineType(10);this.trendLinePeriod(3)},nz:function(){return new $$t.xe},oc:function(){return $$t.$xd.$type},period:function(a){if(arguments.length===1){this.g($$t.$xd.periodProperty,a);return a}else{return this.c($$t.$xd.periodProperty)}},n5:function(){return this.period()},smoothingPeriod:function(a){if(arguments.length===1){this.g($$t.$xd.smoothingPeriodProperty,a);return a}else{return this.c($$t.$xd.smoothingPeriodProperty)}},n7:function(){return this.smoothingPeriod()},triggerPeriod:function(a){if(arguments.length===1){this.g($$t.$xd.triggerPeriodProperty,a);return a}else{return this.c($$t.$xd.triggerPeriodProperty)}},n4:function(){return this.triggerPeriod()},nd:function(){return this.triggerPeriod()},$type:new $.ig.Type("FullStochasticOscillatorIndicator",$$t.$wc.$type)},true);$.ig.util.defType("FullStochasticOscillatorIndicatorStrategy:xe","IndicatorCalculationStrategy",{_c:null,c:function(value){if(arguments.length===1){this._c=value;return value}else{return this._c}},init:function(){$$t.$wd.init.call(this);this.c(new $$t.xa)},b:function(a,b){var c=new $$t.bh(String,0);c.addRange(this.c().b(a,b));c.addRange(b.a().a());return c},a:function(a,b){var c=this.c().c(a,b);var d=b.a().d()(c,a.shortPeriod());var e=0;var g=d.getEnumerator();while(g.moveNext()){var f=g.current();a.indicatorColumn().item(e,f);e++}return true},$type:new $.ig.Type("FullStochasticOscillatorIndicatorStrategy",$$t.$wd.$type)},true);$.ig.util.defType("PercentKCalculationStrategy:xa","StreamingIndicatorCalculationStrategy",{init:function(){$$t.$wi.init.call(this)},b:function(a,b){var c=new $$t.bh(String,0);c.add("HighColumn");c.add("LowColumn");c.add("CloseColumn");return c},c:function(a,b){var $self=this;var $iter=function(){return function(a,b){return{$state:0,$this:$self,$current:null,$c:0,$d:null,$e:null,$f:0,$g:0,$h:0,$i:0,$j:0,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$c=a.period();this.$d=a.highColumn();this.$e=a.lowColumn();this.$state=1;break;case 1:this.$f=0;this.$state=16;break;case 2:this.$g=Math.min(this.$c,this.$f);this.$h=-Number.MAX_VALUE;this.$i=Number.MAX_VALUE;this.$state=3;break;case 3:this.$j=0;this.$state=12;break;case 4:this.$state=5;break;case 5:if(!isNaN(this.$d.item(this.$f-this.$j))){this.$state=6}else{this.$state=7}break;case 6:this.$h=Math.max(this.$h,this.$d.item(this.$f-this.$j));this.$state=7;break;case 7:this.$state=8;break;case 8:if(!isNaN(this.$e.item(this.$f-this.$j))){this.$state=9}else{this.$state=10}break;case 9:this.$i=Math.min(this.$i,this.$e.item(this.$f-this.$j));this.$state=10;break;case 10:this.$state=11;break;case 11:this.$j++;this.$state=12;break;case 12:if(this.$j<this.$g){this.$state=4}else{this.$state=13}break;case 13:this.$current=b.i()((a.closeColumn().item(this.$f)-this.$i)/(this.$h-this.$i)*100);this.$state=14;return true;case 14:this.$state=15;break;case 15:this.$f++;this.$state=16;break;case 16:if(this.$f<a.count()){this.$state=2}else{this.$state=17}break;case 17:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a,b)};return new $.ig.GenericEnumerable$1(Number,$iter)},a:function(a,b){var c=0;var e=this.c(a,b).getEnumerator();while(e.moveNext()){var d=e.current();a.indicatorColumn().item(c,d);c++}return true},$type:new $.ig.Type("PercentKCalculationStrategy",$$t.$wi.$type)},true);$.ig.util.defType("IndicatorRenderer:wa","Object",{init:function(){$.ig.$op.init.call(this)},d:function(a,b,c,d){var $self=this;var e=new $$t.d6;var f=$$t.$kp.c(new $$t.bh($.ig.Number.prototype.$type,0),a,b,c,0,a.count()-1,d);for(var g=0;g<f.count();g++){var h=f.item(g);e.__segments.add(function(){var $ret=new $$t.d8(1);$ret.c({__x:b(h),__y:c(h),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});
return $ret}())}e.__startPoint=$.ig.util.cast($$t.$d8.$type,e.__segments.__inner[0]).c();return e},c:function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){var q=$.ig.util.cast($$t.$dx.$type,i.ak()).b();var r=$.ig.util.cast($$t.$dx.$type,l.ak()).b();if(o==1){var s=new $$t.bh($.ig.Number.prototype.$type,0);var t=q;var u=0;s.add(0);for(var v=0,w=1;w<a;v=w++){var x=u;var y=c(w)-c(v);if(f&&!isNaN(y)){x=Math.sign(y)}if(x!=0&&x!=u){t.add($$t.$wa.d(s,b,c,p));u=x;t=u==1?r:q;s.clear();s.add(v)}s.add(w)}t.add($$t.$wa.d(s,b,c,p))}else{var z=new $$t.bh($.ig.Number.prototype.$type,0);var aa=q;var ab=0;z.add(0);for(var ac=0,ad=1;ad<a;ac=ad++){var ae=ab;var af=c(ad)-c(ac);if(f&&!isNaN(af)){ae=Math.sign(af)}if(ae!=0&&ae!=ab){if(z.count()>0){aa.add($$t.$wa.d(z,b,c,p))}ab=ae;aa=ab==1?r:q;z.clear();z.add(ac)}z.add(ad)}if(z.count()>0){aa.add($$t.$wa.d(z,b,c,p))}}},a:function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){var $self=this;var r=$.ig.util.cast($$t.$dx.$type,i.ak()).b();var s=$.ig.util.cast($$t.$dx.$type,j.ak()).b();var t=$.ig.util.cast($$t.$dx.$type,l.ak()).b();var u=$.ig.util.cast($$t.$dx.$type,m.ak()).b();if(p==1){var v=new $$t.bh($.ig.Number.prototype.$type,0);var w=r;var x=s;var y=0;v.add(0);for(var z=0,aa=1;aa<a;z=aa++){var ab=y;var ac=c(aa)-c(z);if(f&&!isNaN(ac)){ab=Math.sign(ac)}if(ab!=0&&ab!=y){if(v.count()>0){var ad=$$t.$wa.d(v,b,c,q);var ae=ad.duplicate();ae.__segments.add(function(){var $ret=new $$t.d8(1);$ret.c({__x:$.ig.util.cast($$t.$d8.$type,ad.__segments.__inner[ad.__segments.count()-1]).c().__x,__y:o,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());ae.__segments.add(function(){var $ret=new $$t.d8(1);$ret.c({__x:$.ig.util.cast($$t.$d8.$type,ad.__segments.__inner[0]).c().__x,__y:o,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());w.add(ad);x.add(ae)}y=ab;w=y==1?t:r;x=y==1?u:s;v.clear();v.add(z)}v.add(aa)}var af=$$t.$wa.d(v,b,c,q);var ag=af.duplicate();ag.__segments.add(function(){var $ret=new $$t.d8(1);$ret.c({__x:$.ig.util.cast($$t.$d8.$type,af.__segments.__inner[af.__segments.count()-1]).c().__x,__y:o,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());ag.__segments.add(function(){var $ret=new $$t.d8(1);$ret.c({__x:$.ig.util.cast($$t.$d8.$type,af.__segments.__inner[0]).c().__x,__y:o,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());w.add(af);x.add(ag)}else{var ah=new $$t.bh($.ig.Number.prototype.$type,0);var ai=r;var aj=s;var ak=0;ah.add(0);for(var al=0,am=1;am<a;al=am++){var an=ak;var ao=c(am)+e(am)-(c(al)+e(al));if(f&&!isNaN(ao)){an=Math.sign(ao)}if(an!=0&&an!=ak){if(ah.count()>0){var ap=$$t.$wa.d(ah,b,c,q);var aq=ap.duplicate();aq.__segments.add(function(){var $ret=new $$t.d8(1);$ret.c({__x:$.ig.util.cast($$t.$d8.$type,ap.__segments.__inner[ap.__segments.count()-1]).c().__x,__y:o,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());aq.__segments.add(function(){var $ret=new $$t.d8(1);$ret.c({__x:$.ig.util.cast($$t.$d8.$type,ap.__segments.__inner[0]).c().__x,__y:o,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());ai.add(ap);aj.add(aq)}ak=an;ai=ak==1?t:r;aj=ak==1?u:s;ah.clear();ah.add(al)}ah.add(am)}var ar=$$t.$wa.d(ah,b,c,q);var as=ar.duplicate();as.__segments.add(function(){var $ret=new $$t.d8(1);$ret.c({__x:$.ig.util.cast($$t.$d8.$type,ar.__segments.__inner[ar.__segments.count()-1]).c().__x,__y:o,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());as.__segments.add(function(){var $ret=new $$t.d8(1);$ret.c({__x:$.ig.util.cast($$t.$d8.$type,ar.__segments.__inner[0]).c().__x,__y:o,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());ai.add(ar);aj.add(as)}},b:function(a,b,c,d,e,f,g,h,i,j){var k=$.ig.util.cast($$t.$du.$type,i.ak());var l=$.ig.util.cast($$t.$du.$type,j.ak());for(var m=0;m<a;++m){var n=h.item(m);n.c({__x:b(m),__y:g,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});n.b({__x:b(m),__y:c(m),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});var o=false;if(m>0){if(c(m)<=c(m-1)){o=true}}else{if(a>1){if(c(m+1)<=c(m)){o=true}}}if(o){k.c().add(n)}else{l.c().add(n)}}h.c(a)},$type:new $.ig.Type("IndicatorRenderer",$.ig.$ot)},true);$.ig.util.defType("ItemwiseIndicatorCalculationStrategy:xf","Object",{init:function(){$.ig.$op.init.call(this)},a:function(a,b,c){},b:function(a,b){},$type:new $.ig.Type("ItemwiseIndicatorCalculationStrategy",$.ig.$ot)},true);$.ig.util.defType("ItemwiseStrategyBasedIndicator:xg","StrategyBasedIndicator",{_oi:null,oi:function(value){if(arguments.length===1){this._oi=value;return value}else{return this._oi}},oj:function(){},nz:function(){return new $$t.xh},init:function(){$$t.$wc.init.call(this);this.oi(this.oj());this.ny().c(this.oi())},$type:new $.ig.Type("ItemwiseStrategyBasedIndicator",$$t.$wc.$type)},true);$.ig.util.defType("ItemwiseStrategyCalculationStrategy:xh","IndicatorCalculationStrategy",{init:function(){$$t.$wd.init.call(this)},_c:null,c:function(value){if(arguments.length===1){this._c=value;return value}else{return this._c}},b:function(a,b){return this.c().b(a,b)},a:function(a,b){var c=true;for(var d=a.calculateFrom();d<a.calculateFrom()+a.calculateCount();d++){c=this.c().a(a,b,d);if(!c){return false}}return c},$type:new $.ig.Type("ItemwiseStrategyCalculationStrategy",$$t.$wd.$type)},true);$.ig.util.defType("MarketFacilitationIndexIndicator:xi","ItemwiseStrategyBasedIndicator",{init:function(){$$t.$xg.init.call(this);this.displayType(1)},oj:function(){return new $$t.xj},oc:function(){return $$t.$xi.$type},$type:new $.ig.Type("MarketFacilitationIndexIndicator",$$t.$xg.$type)},true);$.ig.util.defType("MarketFacilitationIndexIndicatorStrategy:xj","ItemwiseIndicatorCalculationStrategy",{init:function(){$$t.$xf.init.call(this)},b:function(a,b){var c=new $$t.bh(String,0);c.add("HighColumn");c.add("LowColumn");c.add("VolumeColumn");return c},a:function(a,b,c){a.indicatorColumn().item(c,b.i()((a.highColumn().item(c)-a.lowColumn().item(c))/a.volumeColumn().item(c)));return true},$type:new $.ig.Type("MarketFacilitationIndexIndicatorStrategy",$$t.$xf.$type)},true);$.ig.util.defType("MassIndexIndicator:xk","StrategyBasedIndicator",{init:function(){$$t.$wc.init.call(this)},nz:function(){return new $$t.xl},oc:function(){return $$t.$xk.$type},$type:new $.ig.Type("MassIndexIndicator",$$t.$wc.$type)},true);$.ig.util.defType("MassIndexIndicatorStrategy:xl","IndicatorCalculationStrategy",{init:function(){$$t.$wd.init.call(this)},b:function(a,b){var c=new $$t.bh(String,0);c.add("HighColumn");c.add("LowColumn");c.addRange(b.a().a());return c},c:function(a,b){var c=new $$t.bh(Number,0);for(var d=0;d<Math.min(a.count(),b.count());d++){c.add(a.item(d)-b.item(d))}return c},a:function(a,b){var c=9;var d=a.highColumn();var e=a.lowColumn();var f=a.indicatorColumn();var g=b.a().d()(this.c(d,e),c).getEnumerator();var h=b.a().d()(b.a().d()(this.c(d,e),c),c).getEnumerator();var i=new Array(c);for(var j=0;j<c;j++){i[j]=0}var k=0;for(var l=0;l<f.count();l++){var m=l%c;k-=i[m];g.moveNext();h.moveNext();var n=b.i()(g.current()/h.current());k+=n;f.item(l,k);i[m]=n}return true},$type:new $.ig.Type("MassIndexIndicatorStrategy",$$t.$wd.$type)},true);$.ig.util.defType("MedianPriceIndicator:xm","ItemwiseStrategyBasedIndicator",{init:function(){$$t.$xg.init.call(this)},oj:function(){return new $$t.xn},oc:function(){return $$t.$xm.$type},$type:new $.ig.Type("MedianPriceIndicator",$$t.$xg.$type)},true);$.ig.util.defType("MedianPriceIndicatorStrategy:xn","ItemwiseIndicatorCalculationStrategy",{init:function(){$$t.$xf.init.call(this)},b:function(a,b){var c=new $$t.bh(String,0);c.add("HighColumn");c.add("LowColumn");return c},a:function(a,b,c){a.indicatorColumn().item(c,(a.highColumn().item(c)+a.lowColumn().item(c))/2);return true},$type:new $.ig.Type("MedianPriceIndicatorStrategy",$$t.$xf.$type)},true);$.ig.util.defType("MoneyFlowIndexIndicator:xo","StrategyBasedIndicator",{init:function(){$$t.$wc.init.call(this);this.displayType(1)},nz:function(){return new $$t.xp},oc:function(){return $$t.$xo.$type},period:function(a){if(arguments.length===1){this.g($$t.$xo.periodProperty,a);return a}else{return this.c($$t.$xo.periodProperty)}},n5:function(){return this.period()},$type:new $.ig.Type("MoneyFlowIndexIndicator",$$t.$wc.$type)},true);$.ig.util.defType("MoneyFlowIndexIndicatorStrategy:xp","IndicatorCalculationStrategy",{init:function(){$$t.$wd.init.call(this)},b:function(a,b){var c=new $$t.bh(String,0);c.addRange(a.typicalColumn().basedOn());c.add("VolumeColumn");return c},a:function(a,b){var c=a.typicalColumn().getEnumerator();var d=a.volumeColumn().getEnumerator();var e=a.period();var f=0;var g=new Array(e);for(f=0;f<e;f++){g[f]=0}var h=0;var i=new Array(e);for(f=0;f<e;f++){i[f]=0}var j=0;var k=0;f=0;while(c.moveNext()&&d.moveNext()){var l=f%e;var m=c.current()*d.current();h-=g[l];j-=i[l];switch(Math.sign(m-k)){case-1:g[l]=0;i[l]=m;break;case 0:g[l]=0;i[l]=0;break;case 1:g[l]=m;i[l]=0;break}h+=g[l];j+=i[l];var n=b.i()(100*h/(h+j));a.indicatorColumn().item(f,n);k=m;++f}return true},$type:new $.ig.Type("MoneyFlowIndexIndicatorStrategy",$$t.$wd.$type)},true);$.ig.util.defType("MovingAverageConvergenceDivergenceIndicator:xq","StrategyBasedIndicator",{init:function(){var $self=this;$$t.$wc.init.call(this);this.trendLineBrush(function(){var $ret=new $$t.b3;$ret.fill("Blue");return $ret}());this.trendLineType(10);this.trendLinePeriod(9)},nz:function(){return new $$t.xr},oc:function(){return $$t.$xq.$type},shortPeriod:function(a){if(arguments.length===1){this.g($$t.$xq.shortPeriodProperty,a);return a}else{return this.c($$t.$xq.shortPeriodProperty)}},n7:function(){return this.shortPeriod()},longPeriod:function(a){if(arguments.length===1){this.g($$t.$xq.longPeriodProperty,a);return a}else{return this.c($$t.$xq.longPeriodProperty)}},n4:function(){return this.longPeriod()},signalPeriod:function(a){if(arguments.length===1){this.g($$t.$xq.signalPeriodProperty,a);return a}else{return this.c($$t.$xq.signalPeriodProperty)}},nd:function(){return this.signalPeriod()},$type:new $.ig.Type("MovingAverageConvergenceDivergenceIndicator",$$t.$wc.$type)},true);$.ig.util.defType("MovingAverageConvergenceDivergenceIndicatorStrategy:xr","IndicatorCalculationStrategy",{init:function(){$$t.$wd.init.call(this)},b:function(a,b){var c=new $$t.bh(String,0);c.addRange(a.typicalColumn().basedOn());c.addRange(b.a().a());return c},a:function(a,b){var c=a.typicalColumn();var d=a.indicatorColumn();var e=a.shortPeriod();var f=a.longPeriod();var g=b.a().d()(c,e).getEnumerator();var h=b.a().d()(c,f).getEnumerator();var i=0;while(g.moveNext()&&h.moveNext()){var j=b.i()(g.current()-h.current());d.item(i,j);i++}return true},$type:new $.ig.Type("MovingAverageConvergenceDivergenceIndicatorStrategy",$$t.$wd.$type)},true);$.ig.util.defType("NegativeVolumeIndexIndicator:xs","StrategyBasedIndicator",{init:function(){$$t.$wc.init.call(this)},nz:function(){return new $$t.xt},oc:function(){return $$t.$xs.$type},$type:new $.ig.Type("NegativeVolumeIndexIndicator",$$t.$wc.$type)},true);$.ig.util.defType("NegativeVolumeIndexIndicatorStrategy:xt","IndicatorCalculationStrategy",{init:function(){$$t.$wd.init.call(this)},b:function(a,b){var c=new $$t.bh(String,0);c.add("CloseColumn");c.add("VolumeColumn");return c},a:function(a,b){var c=a.closeColumn();var d=a.volumeColumn();var e=a.indicatorColumn();var f=0;var g=0;var h=0;if(e.count()>0){e.item(0,f)}for(var i=1;i<e.count();i++){if(d.item(i)<d.item(i-1)){g=b.i()((c.item(i)-c.item(i-1))/c.item(i-1));if(h!=0){f+=g*h}else{f+=g}}e.item(i,f);h=f}return true},$type:new $.ig.Type("NegativeVolumeIndexIndicatorStrategy",$$t.$wd.$type)},true);$.ig.util.defType("OnBalanceVolumeIndicator:xu","StrategyBasedIndicator",{init:function(){$$t.$wc.init.call(this)},nz:function(){return new $$t.xv},oc:function(){return $$t.$xu.$type},$type:new $.ig.Type("OnBalanceVolumeIndicator",$$t.$wc.$type)},true);$.ig.util.defType("OnBalanceVolumeIndicatorStrategy:xv","IndicatorCalculationStrategy",{init:function(){$$t.$wd.init.call(this)},b:function(a,b){var c=new $$t.bh(String,0);c.add("CloseColumn");c.add("VolumeColumn");return c},a:function(a,b){var c=a.closeColumn();var d=a.volumeColumn();var e=a.indicatorColumn();var f=0;if(c!=null&&d!=null){f=Math.min(c.count(),d.count())}var g=0;if(f>0){g=d.item(0);e.item(0,g)}for(var h=1;h<f;++h){switch(Math.sign(c.item(h)-c.item(h-1))){case-1:g-=d.item(h);break;case 1:g+=d.item(h);break}e.item(h,g)}return true},$type:new $.ig.Type("OnBalanceVolumeIndicatorStrategy",$$t.$wd.$type)},true);$.ig.util.defType("PercentagePriceOscillatorIndicator:xw","StrategyBasedIndicator",{init:function(){$$t.$wc.init.call(this)},nz:function(){return new $$t.xx},oc:function(){return $$t.$xw.$type},shortPeriod:function(a){if(arguments.length===1){this.g($$t.$xw.shortPeriodProperty,a);return a}else{return this.c($$t.$xw.shortPeriodProperty)}},n7:function(){return this.shortPeriod()},longPeriod:function(a){if(arguments.length===1){this.g($$t.$xw.longPeriodProperty,a);return a}else{return this.c($$t.$xw.longPeriodProperty)}},n4:function(){return this.longPeriod()},$type:new $.ig.Type("PercentagePriceOscillatorIndicator",$$t.$wc.$type)},true);$.ig.util.defType("PercentagePriceOscillatorIndicatorStrategy:xx","IndicatorCalculationStrategy",{init:function(){$$t.$wd.init.call(this)},b:function(a,b){var c=new $$t.bh(String,0);c.addRange(b.g().a());c.addRange(b.e().a());return c},a:function(a,b){var c=a.indicatorColumn();var d=b.g().d()(a).getEnumerator();var e=b.e().d()(a).getEnumerator();var f=0;while(d.moveNext()&&e.moveNext()){var g=b.i()(100*(d.current()-e.current())/e.current());c.item(f,g);++f}return true},$type:new $.ig.Type("PercentagePriceOscillatorIndicatorStrategy",$$t.$wd.$type)},true);$.ig.util.defType("PercentageVolumeOscillatorIndicator:xy","StrategyBasedIndicator",{init:function(){$$t.$wc.init.call(this)},nz:function(){return new $$t.xz},oc:function(){return $$t.$xy.$type},shortPeriod:function(a){if(arguments.length===1){this.g($$t.$xy.shortPeriodProperty,a);return a}else{return this.c($$t.$xy.shortPeriodProperty)}},n7:function(){return this.shortPeriod()},longPeriod:function(a){if(arguments.length===1){this.g($$t.$xy.longPeriodProperty,a);return a}else{return this.c($$t.$xy.longPeriodProperty)}},n4:function(){return this.longPeriod()},$type:new $.ig.Type("PercentageVolumeOscillatorIndicator",$$t.$wc.$type)},true);$.ig.util.defType("PercentageVolumeOscillatorIndicatorStrategy:xz","IndicatorCalculationStrategy",{init:function(){$$t.$wd.init.call(this)},b:function(a,b){var c=new $$t.bh(String,0);c.addRange(b.h().a());c.addRange(b.f().a());return c},a:function(a,b){var c=b.h().d()(a).getEnumerator();var d=b.f().d()(a).getEnumerator();var e=a.indicatorColumn();var f=0;while(c.moveNext()&&d.moveNext()){var g=b.i()(100*(c.current()-d.current())/d.current());e.item(f,g);++f}return true},$type:new $.ig.Type("PercentageVolumeOscillatorIndicatorStrategy",$$t.$wd.$type)},true);$.ig.util.defType("PositiveVolumeIndexIndicator:x0","StrategyBasedIndicator",{init:function(){$$t.$wc.init.call(this)},nz:function(){return new $$t.x1},oc:function(){return $$t.$x0.$type},$type:new $.ig.Type("PositiveVolumeIndexIndicator",$$t.$wc.$type)},true);$.ig.util.defType("PositiveVolumeIndexIndicatorStrategy:x1","IndicatorCalculationStrategy",{init:function(){$$t.$wd.init.call(this)},b:function(a,b){var c=new $$t.bh(String,0);c.add("CloseColumn");c.add("VolumeColumn");return c},a:function(a,b){var c=a.closeColumn();var d=a.volumeColumn();var e=a.indicatorColumn();var f=0;var g=0;var h=0;if(e.count()>0){e.item(0,f)}for(var i=1;i<e.count();i++){if(d.item(i)>d.item(i-1)){g=b.i()((c.item(i)-c.item(i-1))/c.item(i-1));if(h!=0){f+=g*h}else{f+=g}}e.item(i,f);h=f}return true},$type:new $.ig.Type("PositiveVolumeIndexIndicatorStrategy",$$t.$wd.$type)},true);$.ig.util.defType("PriceChannelOverlay:w2","FinancialOverlay",{init:function(){this.m8=new $$t.bh(Number,0);this.m7=new $$t.bh(Number,0);$$t.$wn.init.call(this);this.y($$t.$w2.$type);this.jw=new $$t.ke(3);this.jy=new $$t.ke(3);this.jv=new $$t.ke(3)},period:function(a){if(arguments.length===1){this.g($$t.$w2.periodProperty,a);return a}else{return this.c($$t.$w2.periodProperty)}},hh:function(a,b,c,d){switch(b){case"HighColumn":case"LowColumn":this.m1(false);break}$$t.$wn.hh.call(this,a,b,c,d);switch(b){case"Period":this.m1(false);this.renderSeries(false);break}},ct:function(a,b,c){var d=$$t.$wn.ct.call(this,a,b,c);if(this.kf()==null||this.kh()==null){d=false}return d},m2:function(){this.m8.clear();this.m7.clear();var a=$$t.$es.c(this.period(),0,this.bb().count());var b=Math.min(this.kf().count(),this.kh().count());var c=this.la(this.kf());var d=this.la(this.kh());for(var e=0;e<b;e++){var f=Math.min(a,e);var g=-Number.MAX_VALUE;var h=Number.MAX_VALUE;for(var i=0;i<f;i++){if(!isNaN(c.item(e-i))){g=Math.max(g,c.item(e-i))}if(!isNaN(d.item(e-i))){h=Math.min(h,d.item(e-i))}}if(e==0){h=d.item(0);g=c.item(0)}this.m8.add(g);this.m7.add(h)}return true},na:function(a){return a},mk:function(a,b){var $self=this;$$t.$wn.mk.call($self,a,b);var c=b.bv();var d=b.bu();var e=new $$t.ie(c,d,$self.xAxis().isInverted());var f=new $$t.ie(c,d,$self.yAxis().isInverted());var g=$self.xAxis();var h=$self.yAxis();a.h.clear();a.p.clear();a.q.clear();var i=0;var j=$.ig.util.cast($$t.$kd.$type,$self.xAxis());if(j!=null&&j.sortedIndices().count()!=$self.bb().count()){return}i=$self.getOffset(c,d);if(!$self.m1()){$self.m1($self.m2())}var k=$self.na($self.xAxis().getUnscaledValue(2,e)-$self.xAxis().getUnscaledValue(1,e));for(var l=b.bx().c();l<=b.bx().d();++l){var m;if(j==null){m=b.bx().getBucket(l)}else{var n=j.sortedIndices().__inner[l];var o=j.getUnscaledValueAt(n);var p=$self.na($self.m8.__inner[l]);var q=$self.na($self.m7.__inner[l]);var r=p;var s=q;var t=o;while(l<b.bx().d()){n=j.sortedIndices().__inner[l+1];t=j.getUnscaledValueAt(n);if(t-o>k){break}l++;r=Math.max(p,$self.na($self.m8.__inner[l]));s=Math.min(q,$self.na($self.m7.__inner[l]))}if(!$.ig.Single.prototype.isInfinity(s)&&!$.ig.Single.prototype.isInfinity(r)){var u=NaN;if(!isNaN(o)){u=$self.xAxis().getScaledValue(o,e)}m=function(){var $ret=new Array;$ret.add($self.na(u));$ret.add(s);$ret.add(r);return $ret}()}else{m=function(){var $ret=new Array;$ret.add(NaN);$ret.add(NaN);$ret.add(NaN);return $ret}()}}var v=Math.max(1,k);if(!isNaN(m[0])&&l*v>=$self.ignoreFirst()){if($self.xAxis()!=null&&$.ig.util.cast($$t.$kd.$type,$self.xAxis())!==null){m[0]=m[0]+i}else{m[0]=g.getScaledValue(m[0],e)+i}m[1]=h.getScaledValue(m[1],f);m[2]=h.getScaledValue(m[2],f);a.h.add(m)}}},gh:function(a,b){$$t.$wn.gh.call(this,a,b);var c=b;if(c!=null){c.b4()}},mm:function(a,b){var $self=this;$$t.$wn.mm.call($self,a,b);var c=$.ig.util.cast($$t.$w1.$type,b);if(c==null){return}if(b.b0(a)){c.b4();var d=a.h.count();var e=function(f){return a.h.__inner[f][0]};var f=function(g){return a.h.__inner[d-1-g][0]};var g=function(h){return a.h.__inner[h][1]};var h=function(i){return a.h.__inner[d-1-i][2]};c.b5(d,e,f,g,h);b.b2(a)}$self.jz.x($self,$self.k1(),$self.xAxis(),$self.getCategoryItems.runOn($self),$self.lq(b),$self.lr(b));var i=false;var j=$self.jz.b();var k=a.h;var l=$self.bb().count();if(j!=null){i=true}if(i){var m=new $$t.ie(b.bv(),b.bu(),$self.xAxis().isInverted());$self.mj(k,-1,l,$self.xAxis(),m,b.m())}var n=c.cb();var o=c.cc();var p=c.b7();$self.jz.ae(n,true,false,true,true);$self.jz.ae(o,true,false,true,true);$self.jz.ae(p,false,true,false,false);p.__opacity=$self.jz.i*$self.actualAreaFillOpacity()},m8:null,m7:null,au:function(){return new $$t.w1(this)},hc:function(a){$$t.$wn.hc.call(this,a);this.m6($.ig.util.cast($$t.$w1.$type,a))},_m6:null,m6:function(value){if(arguments.length===1){this._m6=value;return value}else{return this._m6}},getSeriesValue:function(a,b,c){if(this.seriesViewer()==null){return NaN}var d=new $$t.ie(this.seriesViewer().actualWindowRect(),this.view().bu(),this.xAxis().isInverted());var e=this.getOffset(this.seriesViewer().actualWindowRect(),this.view().bu());return this.dk(new $$t.rk(this.m8,this.m7),a,this.xAxis(),d,e,this.li.runOn(this),b,c)},getNextOrExactIndex:function(a,b){if(this.m8==null||this.m7==null){return $$t.$wn.getNextOrExactIndex.call(this,a,b)}return this.d3(a,b,this.xAxis(),this.li.runOn(this),new $$t.rk(this.m8,this.m7))},getPreviousOrExactIndex:function(a,b){if(this.m8==null||this.m7==null){return $$t.$wn.getPreviousOrExactIndex.call(this,a,b)}return this.d5(a,b,this.xAxis(),this.li.runOn(this),new $$t.rk(this.m8,this.m7))},$type:new $.ig.Type("PriceChannelOverlay",$$t.$wn.$type)},true);$.ig.util.defType("PriceChannelBucketCalculator:w3","FinancialBucketCalculator",{init:function(a){$$t.$qp.init.call(this,a);this.f(a)},_f:null,f:function(value){if(arguments.length===1){this._f=value;return value}else{return this._f}},getBucket:function(a){var $self=this;var b=a*$self.b();var c=Math.min(b+$self.b()-1,$self.a().bz().bb().count()-1);if(b<=c){var d=-Number.MAX_VALUE;var e=Number.MAX_VALUE;var f=0;for(var g=b;g<=c;++g){if(!isNaN($self.f().b3().m8.__inner[g])&&!isNaN($self.f().b3().m7.__inner[g])){d=Math.max(d,$self.f().b3().m8.__inner[g]);e=Math.min(e,$self.f().b3().m7.__inner[g]);++f}}if(f>0&&e!=Number.MAX_VALUE&&d!=-Number.MAX_VALUE){return function(){var $ret=new Array;$ret.add(.5*(b+c));$ret.add(e);$ret.add(d);return $ret}()}}return function(){var $ret=new Array;$ret.add(NaN);$ret.add(NaN);$ret.add(NaN);return $ret}()},$type:new $.ig.Type("PriceChannelBucketCalculator",$$t.$qp.$type)},true);$.ig.util.defType("PriceVolumeTrendIndicator:x2","StrategyBasedIndicator",{init:function(){$$t.$wc.init.call(this)},nz:function(){return new $$t.x3},oc:function(){return $$t.$x2.$type},$type:new $.ig.Type("PriceVolumeTrendIndicator",$$t.$wc.$type)},true);$.ig.util.defType("PriceVolumeTrendIndicatorStrategy:x3","IndicatorCalculationStrategy",{init:function(){$$t.$wd.init.call(this)},b:function(a,b){var c=new $$t.bh(String,0);c.add("VolumeColumn");c.add("CloseColumn");return c},a:function(a,b){var c=0;var d=a.indicatorColumn();var e=a.volumeColumn();var f=a.closeColumn();var g=a.count();if(g>0){d.item(0,c)}for(var h=1;h<g;++h){c=c+b.i()(e.item(h)*(f.item(h)-f.item(h-1))/f.item(h-1));d.item(h,c)}return true},$type:new $.ig.Type("PriceVolumeTrendIndicatorStrategy",$$t.$wd.$type)},true);$.ig.util.defType("RateOfChangeAndMomentumIndicator:x4","StrategyBasedIndicator",{init:function(){$$t.$wc.init.call(this)},nz:function(){return new $$t.x5},oc:function(){return $$t.$x4.$type},period:function(a){if(arguments.length===1){this.g($$t.$x4.periodProperty,a);return a}else{return this.c($$t.$x4.periodProperty)}},n5:function(){return this.period()},$type:new $.ig.Type("RateOfChangeAndMomentumIndicator",$$t.$wc.$type)},true);$.ig.util.defType("RateOfChangeAndMomentumIndicatorStrategy:x5","IndicatorCalculationStrategy",{init:function(){$$t.$wd.init.call(this)},b:function(a,b){var c=new $$t.bh(String,0);c.add("CloseColumn");return c},a:function(a,b){var c=a.closeColumn();var d=a.indicatorColumn();var e=a.period();var f=0;var g=new Array(e);for(f=0;f<e;f++){g[f]=0}f=0;var i=c.getEnumerator();while(i.moveNext()){var h=i.current();var j=f%e;var k=b.i()(100*(h-g[j])/g[j]);d.item(f,k);g[j]=h;++f}return true},$type:new $.ig.Type("RateOfChangeAndMomentumIndicatorStrategy",$$t.$wd.$type)},true);$.ig.util.defType("RelativeStrengthIndexIndicator:x6","StrategyBasedIndicator",{init:function(){$$t.$wc.init.call(this);this.displayType(1)},nz:function(){return new $$t.x7},oc:function(){return $$t.$x6.$type},period:function(a){if(arguments.length===1){this.g($$t.$x6.periodProperty,a);return a}else{return this.c($$t.$x6.periodProperty)}},n5:function(){return this.period()},$type:new $.ig.Type("RelativeStrengthIndexIndicator",$$t.$wc.$type)},true);$.ig.util.defType("RelativeStrengthIndexIndicatorStrategy:x7","StreamingIndicatorCalculationStrategy",{init:function(){$$t.$wi.init.call(this)},b:function(a,b){var c=new $$t.bh(String,0);c.add("CloseColumn");return c},a:function(a,b){var c=0;var e=this.c(a,b).getEnumerator();while(e.moveNext()){var d=e.current();a.indicatorColumn().item(c,d);c++}return true},c:function(a,b){var $self=this;var $iter=function(){return function(a,b){return{$state:0,$this:$self,$current:null,$c:0,$d:0,$e:0,$f:0,$g:null,$h:null,$i:0,$j:0,$k:0,$l:0,$m:0,$n:0,$o:0,$p:0,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$c=a.period();this.$d=2/(this.$c+1);this.$e=0;this.$f=0;this.$g=a.indicatorColumn();this.$h=a.closeColumn();this.$state=1;break;case 1:if(this.$g.count()>0){this.$state=2}else{this.$state=4}break;case 2:this.$current=0;this.$state=3;return true;case 3:this.$state=4;break;case 4:this.$state=5;break;case 5:this.$i=1;this.$state=9;break;case 6:this.$j=this.$h.item(this.$i)-this.$h.item(this.$i-1);this.$k=this.$j>0?this.$j:0;this.$l=this.$j>0?0:-this.$j;this.$e+=this.$k/(this.$c-1);this.$f+=this.$l/(this.$c-1);this.$current=0;this.$state=7;return true;case 7:this.$state=8;break;case 8:++this.$i;this.$state=9;break;case 9:if(this.$i<Math.min(a.period(),this.$g.count())){this.$state=6}else{this.$state=10}break;case 10:this.$state=11;break;case 11:this.$j=a.period();this.$state=15;break;case 12:this.$k=this.$h.item(this.$j)-this.$h.item(this.$j-1);this.$l=this.$k>0?this.$k:0;this.$m=this.$k>0?0:-this.$k;this.$e=(this.$e*(this.$c-1)+this.$l)/this.$c;this.$f=(this.$f*(this.$c-1)+this.$m)/this.$c;this.$current=b.i()(this.$e!=0?100*this.$e/(this.$e+this.$f):0);this.$state=13;return true;case 13:this.$state=14;break;case 14:++this.$j;this.$state=15;break;case 15:if(this.$j<this.$g.count()){this.$state=12}else{this.$state=16}break;case 16:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}(a,b)};return new $.ig.GenericEnumerable$1(Number,$iter)},$type:new $.ig.Type("RelativeStrengthIndexIndicatorStrategy",$$t.$wi.$type)},true);$.ig.util.defType("SlowStochasticOscillatorIndicator:x8","StrategyBasedIndicator",{init:function(){var $self=this;$$t.$wc.init.call(this);this.trendLineBrush(function(){var $ret=new $$t.b3;$ret.fill("Blue");return $ret}());this.trendLineType(10);this.trendLinePeriod(3)},nz:function(){return new $$t.x9},oc:function(){return $$t.$x8.$type},period:function(a){if(arguments.length===1){this.g($$t.$x8.periodProperty,a);return a}else{return this.c($$t.$x8.periodProperty)}},n5:function(){return this.period()},$type:new $.ig.Type("SlowStochasticOscillatorIndicator",$$t.$wc.$type)},true);$.ig.util.defType("SlowStochasticOscillatorIndicatorStrategy:x9","IndicatorCalculationStrategy",{_c:null,c:function(value){if(arguments.length===1){this._c=value;return value}else{return this._c}},init:function(){$$t.$wd.init.call(this);this.c(new $$t.xa)},b:function(a,b){var c=new $$t.bh(String,0);c.addRange(this.c().b(a,b));c.addRange(b.a().a());return c},a:function(a,b){var c=this.c().c(a,b);var d=b.a().d()(c,3);var e=0;var g=d.getEnumerator();while(g.moveNext()){var f=g.current();a.indicatorColumn().item(e,f);e++}return true},$type:new $.ig.Type("SlowStochasticOscillatorIndicatorStrategy",$$t.$wd.$type)},true);$.ig.util.defType("StandardDeviationIndicator:ya","StrategyBasedIndicator",{init:function(){$$t.$wc.init.call(this)},nz:function(){return new $$t.yb},oc:function(){return $$t.$ya.$type},period:function(a){if(arguments.length===1){this.g($$t.$ya.periodProperty,a);return a}else{return this.c($$t.$ya.periodProperty)}},n5:function(){return this.period()},$type:new $.ig.Type("StandardDeviationIndicator",$$t.$wc.$type)},true);$.ig.util.defType("StandardDeviationIndicatorStrategy:yb","IndicatorCalculationStrategy",{init:function(){$$t.$wd.init.call(this)},b:function(a,b){var c=new $$t.bh(String,0);c.addRange(a.typicalColumn().basedOn());c.addRange(b.d().a());return c},a:function(a,b){var c=b.d().d()(a.typicalColumn(),a.period()).getEnumerator();var d=a.indicatorColumn();var e=0;while(c.moveNext()){d.item(e,c.current());e++}return true},$type:new $.ig.Type("StandardDeviationIndicatorStrategy",$$t.$wd.$type)},true);$.ig.util.defType("StochRSIIndicator:yc","StrategyBasedIndicator",{init:function(){$$t.$wc.init.call(this)},nz:function(){return new $$t.yd},oc:function(){return $$t.$yc.$type},period:function(a){if(arguments.length===1){this.g($$t.$yc.periodProperty,a);return a}else{return this.c($$t.$yc.periodProperty)}},n5:function(){return this.period()},$type:new $.ig.Type("StochRSIIndicator",$$t.$wc.$type)},true);$.ig.util.defType("StochRSIIndicatorStrategy:yd","IndicatorCalculationStrategy",{_c:null,c:function(value){if(arguments.length===1){this._c=value;return value}else{return this._c}},init:function(){$$t.$wd.init.call(this);this.c(new $$t.x7)},b:function(a,b){var c=new $$t.bh(String,0);c.addRange(this.c().b(a,b));return c},a:function(a,b){var c=this.c().c(a,b).getEnumerator();var d=a.period();var e=0;var f=new Array(d);for(e=0;e<d;e++){f[e]=0}e=0;while(c.moveNext()){var g=Math.min(d,e);var h=-Number.MAX_VALUE;var i=Number.MAX_VALUE;var j=e%d;for(var k=0;k<g;k++){if(!isNaN(f[g-k-1])){h=Math.max(h,f[g-k-1])}if(!isNaN(f[g-k-1])){i=Math.min(i,f[g-k-1])}}f[j]=c.current();var l=b.i()((c.current()-i)/(h-i));a.indicatorColumn().item(e,l);e++}return true},$type:new $.ig.Type("StochRSIIndicatorStrategy",$$t.$wd.$type)},true);$.ig.util.defType("TRIXIndicator:ye","StrategyBasedIndicator",{init:function(){var $self=this;$$t.$wc.init.call(this);this.displayType(0);this.trendLineBrush(function(){var $ret=new $$t.b3;$ret.fill("Blue");return $ret}());this.trendLineType(9);this.trendLinePeriod(9)},nz:function(){return new $$t.yf},oc:function(){return $$t.$ye.$type},period:function(a){if(arguments.length===1){this.g($$t.$ye.periodProperty,a);return a}else{return this.c($$t.$ye.periodProperty)}},n5:function(){return this.period()},$type:new $.ig.Type("TRIXIndicator",$$t.$wc.$type)},true);$.ig.util.defType("TRIXIndicatorStrategy:yf","IndicatorCalculationStrategy",{init:function(){$$t.$wd.init.call(this)},b:function(a,b){var c=new $$t.bh(String,0);c.add("CloseColumn");c.addRange(b.a().a());return c},a:function(a,b){var c=b.a().d()(a.closeColumn(),a.period());var d=b.a().d()(c,a.period());var e=b.a().d()(d,a.period()).getEnumerator();var f=a.indicatorColumn();if(f.count()>0){f.item(0,0)}var g=1;e.moveNext();var h=e.current();while(e.moveNext()){f.item(g,b.i()((e.current()-h)/h));h=e.current();g++}return true},$type:new $.ig.Type("TRIXIndicatorStrategy",$$t.$wd.$type)},true);$.ig.util.defType("TypicalPriceIndicator:yg","StrategyBasedIndicator",{init:function(){$$t.$wc.init.call(this)},nz:function(){return new $$t.yh},oc:function(){return $$t.$yg.$type},$type:new $.ig.Type("TypicalPriceIndicator",$$t.$wc.$type)},true);$.ig.util.defType("TypicalPriceIndicatorStrategy:yh","IndicatorCalculationStrategy",{init:function(){$$t.$wd.init.call(this)},b:function(a,b){var c=new $$t.bh(String,0);c.addRange(a.typicalColumn().basedOn());return c},a:function(a,b){var c=0;var e=a.typicalColumn().getEnumerator();while(e.moveNext()){var d=e.current();a.indicatorColumn().item(c,d);
c++}return true},$type:new $.ig.Type("TypicalPriceIndicatorStrategy",$$t.$wd.$type)},true);$.ig.util.defType("UltimateOscillatorIndicator:yi","StrategyBasedIndicator",{init:function(){$$t.$wc.init.call(this)},nz:function(){return new $$t.yj},oc:function(){return $$t.$yi.$type},$type:new $.ig.Type("UltimateOscillatorIndicator",$$t.$wc.$type)},true);$.ig.util.defType("UltimateOscillatorIndicatorCalculationStrategy:yj","IndicatorCalculationStrategy",{init:function(){$$t.$wd.init.call(this)},b:function(a,b){var c=new $$t.bh(String,0);c.addRange(a.trueLow().basedOn());c.add("CloseColumn");c.addRange(a.trueRange().basedOn());c.addRange(b.b().a());return c},c:function(a){var b=0;var c=new $$t.bh(Number,0);var d=a.trueLow().getEnumerator();while(d.moveNext()){c.add(a.closeColumn().item(b)-d.current());b++}return c},a:function(a,b){var c=this.c(a);var d=a.trueRange();var e=b.b().d()(c,7).getEnumerator();var f=b.b().d()(d,7).getEnumerator();var g=b.b().d()(c,14).getEnumerator();var h=b.b().d()(d,14).getEnumerator();var i=b.b().d()(c,28).getEnumerator();var j=b.b().d()(d,28).getEnumerator();var k=0;while(e.moveNext()&&f.moveNext()&&g.moveNext()&&h.moveNext()&&i.moveNext()&&j.moveNext()){var l=b.i()(4*(e.current()/f.current())+2*(g.current()/h.current())+i.current()/j.current());var m=l/(4+2+1)*100;a.indicatorColumn().item(k,m);k++}return true},$type:new $.ig.Type("UltimateOscillatorIndicatorCalculationStrategy",$$t.$wd.$type)},true);$.ig.util.defType("WeightedCloseIndicator:yk","ItemwiseStrategyBasedIndicator",{init:function(){$$t.$xg.init.call(this)},oj:function(){return new $$t.yl},oc:function(){return $$t.$yk.$type},$type:new $.ig.Type("WeightedCloseIndicator",$$t.$xg.$type)},true);$.ig.util.defType("WeightedCloseIndicatorStrategy:yl","ItemwiseIndicatorCalculationStrategy",{init:function(){$$t.$xf.init.call(this)},b:function(a,b){var c=new $$t.bh(String,0);c.add("HighColumn");c.add("LowColumn");c.add("CloseColumn");return c},a:function(a,b,c){a.indicatorColumn().item(c,(a.highColumn().item(c)+a.lowColumn().item(c)+a.closeColumn().item(c)*2)/4);return true},$type:new $.ig.Type("WeightedCloseIndicatorStrategy",$$t.$xf.$type)},true);$.ig.util.defType("WilliamsPercentRIndicator:ym","StrategyBasedIndicator",{init:function(){$$t.$wc.init.call(this)},nz:function(){return new $$t.yn},oc:function(){return $$t.$ym.$type},period:function(a){if(arguments.length===1){this.g($$t.$ym.periodProperty,a);return a}else{return this.c($$t.$ym.periodProperty)}},n5:function(){return this.period()},$type:new $.ig.Type("WilliamsPercentRIndicator",$$t.$wc.$type)},true);$.ig.util.defType("WilliamsPercentRIndicatorStrategy:yn","IndicatorCalculationStrategy",{init:function(){$$t.$wd.init.call(this)},b:function(a,b){var c=new $$t.bh(String,0);c.add("HighColumn");c.add("LowColumn");c.add("CloseColumn");return c},a:function(a,b){var c=a.period();var d=a.highColumn();var e=a.lowColumn();for(var f=0;f<a.count();f++){var g=Math.min(c,f);var h=-Number.MAX_VALUE;var i=Number.MAX_VALUE;for(var j=0;j<g;j++){if(!isNaN(d.item(f-j))){h=Math.max(h,d.item(f-j))}if(!isNaN(e.item(f-j))){i=Math.min(i,e.item(f-j))}}a.indicatorColumn().item(f,b.i()((a.closeColumn().item(f)-h)/(h-i)*100))}return true},$type:new $.ig.Type("WilliamsPercentRIndicatorStrategy",$$t.$wd.$type)},true);$.ig.util.defType("Marker:fy","ContentControl",{init:function(){$$t.$cf.init.call(this)},_ak:null,ak:function(value){if(arguments.length===1){this._ak=value;return value}else{return this._ak}},_al:null,al:function(value){if(arguments.length===1){this._al=value;return value}else{return this._al}},_ah:0,ah:function(value){if(arguments.length===1){this._ah=value;return value}else{return this._ah}},_ai:0,ai:function(value){if(arguments.length===1){this._ai=value;return value}else{return this._ai}},_aj:0,aj:function(value){if(arguments.length===1){this._aj=value;return value}else{return this._aj}},af:0,ag:0,$type:new $.ig.Type("Marker",$$t.$cf.$type)},true);$.ig.util.defType("TrendResolutionParams:j8","Object",{init:function(){$.ig.$op.init.call(this)},_d:0,d:function(value){if(arguments.length===1){this._d=value;return value}else{return this._d}},_e:0,e:function(value){if(arguments.length===1){this._e=value;return value}else{return this._e}},_c:0,c:function(value){if(arguments.length===1){this._c=value;return value}else{return this._c}},_f:null,f:function(value){if(arguments.length===1){this._f=value;return value}else{return this._f}},_g:null,g:function(value){if(arguments.length===1){this._g=value;return value}else{return this._g}},_b:0,b:function(value){if(arguments.length===1){this._b=value;return value}else{return this._b}},_a:0,a:function(value){if(arguments.length===1){this._a=value;return value}else{return this._a}},$type:new $.ig.Type("TrendResolutionParams",$.ig.$ot)},true);$.ig.util.defType("TrendFitCalculator:kv","Object",{init:function(){$.ig.$op.init.call(this)},a:function(a,b,c,d,e,f,g,h,i,j,k){if(d==null){switch(b){case 1:d=$$t.$kw.k(e,f,g);break;case 2:d=$$t.$kw.o(e,f,g);break;case 3:d=$$t.$kw.i(e,f,g);break;case 4:d=$$t.$kw.p(e,f,g);break;case 5:d=$$t.$kw.q(e,f,g);break;case 7:d=$$t.$kw.j(e,f,g);break;case 6:d=$$t.$kw.l(e,f,g);break;case 8:d=$$t.$kw.n(e,f,g);break;default:throw new $$t.f5}}if(d==null){return null}for(var l=0;l<c.f().width();l+=2){var m=l/(c.f().width()-1);var n=j+m*(k-j);var o=NaN;switch(b){case 1:o=$$t.$kw.ad(d,n);break;case 2:o=$$t.$kw.ah(d,n);break;case 3:o=$$t.$kw.ab(d,n);break;case 4:o=$$t.$kw.ai(d,n);break;case 5:o=$$t.$kw.aj(d,n);break;case 7:o=$$t.$kw.ac(d,n);break;case 6:o=$$t.$kw.ae(d,n);break;case 8:o=$$t.$kw.ag(d,n);break;default:throw new $$t.f5}n=h(n);o=i(o);if(!isNaN(o)&&!Number.isInfinity(o)){a.add({__x:n+c.a(),__y:o,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}}return d},$type:new $.ig.Type("TrendFitCalculator",$.ig.$ot)},true);$.ig.util.defType("TrendAverageCalculator:ky","Object",{init:function(){$.ig.$op.init.call(this)},a:function(a,b,c){var d;switch(a){case 9:case 10:case 11:case 13:if(c<1){c=1}break}switch(a){case 9:d=$$t.$aj.sMA(b,c);break;case 10:d=$$t.$aj.eMA(b,c);break;case 11:d=$$t.$aj.mMA(b,c);break;case 12:d=$$t.$aj.cMA(b);break;case 13:d=$$t.$aj.wMA(b,c);break;default:throw new $$t.f5}return d},b:function(a,b,c,d){if(b.count()==0){var e=$$t.$ky.a(a,c,d);var g=e.getEnumerator();while(g.moveNext()){var f=g.current();b.add(f)}}},c:function(a,b,c,d,e){if(b.count()==0){var f=$$t.$ky.a(a,c,e).getEnumerator();var g=$$t.$ky.a(a,d,e).getEnumerator();while(f.moveNext()&&g.moveNext()){b.add({__x:f.current(),__y:g.current(),$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}}},$type:new $.ig.Type("TrendAverageCalculator",$.ig.$ot)},true);$.ig.util.defType("SortingTrendLineManager:ku","CategoryTrendLineManagerBase",{init:function(a,b){$$t.$kh.init.call(this);this.z(a);this.aa(b)},_z:null,z:function(value){if(arguments.length===1){this._z=value;return value}else{return this._z}},_aa:null,aa:function(value){if(arguments.length===1){this._aa=value;return value}else{return this._aa}},prepareLine:function(a,b,c,d,e,f,g){var $self=this;var h=g.d()*g.c();var i=g.e()*g.c();var j=new $$t.bh($$t.$z.$type,0);if(b==0){$self.a(null);$self.e().clear();return}if($self.c(b)){$self.e().clear();$self.a($$t.$kv.a(j,b,g,$self.a(),c.count(),function(k){return k+1},function(k){return c.item(k)},function(k){var l=Math.floor(k);var m=Math.ceil(k);var n=k-l;var o;if(m<=i){o=$self.z()(l)+n*($self.z()(m)-$self.z()(l))}else{o=$self.z()(l)+n*($self.z()(i)-$self.z()(l))}return e(o)},f,h,i))}if($self.b(b)){$self.a(null);$$t.$ky.b(b,$self.e(),c,d);for(var k=g.d();k<=g.e();k+=1){var l=k*g.c();var m=$self.z()(l);if(l>=0&&l<$self.e().count()){var n=e(m);var o=f($self.e().__inner[l]);j.add({__x:n+g.a(),__y:o,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName})}}}$self.r(j,g,a)},$type:new $.ig.Type("SortingTrendLineManager",$$t.$kh.$type)},true);$.ig.util.defType("FinancialEventArgs:qv","EventArgs",{init:function(a,b,c,d){$$t.$en.init.call(this);this.position(a);this.count(b);this.dataSource(c);this.supportingCalculations(d)},_position:0,position:function(value){if(arguments.length===1){this._position=value;return value}else{return this._position}},_count:0,count:function(value){if(arguments.length===1){this._count=value;return value}else{return this._count}},_dataSource:null,dataSource:function(value){if(arguments.length===1){this._dataSource=value;return value}else{return this._dataSource}},_supportingCalculations:null,supportingCalculations:function(value){if(arguments.length===1){this._supportingCalculations=value;return value}else{return this._supportingCalculations}},_basedOn:null,basedOn:function(value){if(arguments.length===1){this._basedOn=value;return value}else{return this._basedOn}},$type:new $.ig.Type("FinancialEventArgs",$$t.$en.$type)},true);$.ig.util.defType("FinancialPriceSeries:zp","FinancialSeries",{au:function(){return new $$t.zq(this)},hc:function(a){$$t.$qn.hc.call(this,a);this.m1(a)},_m1:null,m1:function(value){if(arguments.length===1){this._m1=value;return value}else{return this._m1}},init:function(){$$t.$qn.init.call(this);this.y($$t.$zp.$type);this.jw=new $$t.ke(5);this.jy=new $$t.ke(5);this.jv=new $$t.ke(5)},trendLineType:function(a){if(arguments.length===1){this.g($$t.$zp.trendLineTypeProperty,a);return a}else{return this.c($$t.$zp.trendLineTypeProperty)}},trendLineBrush:function(a){if(arguments.length===1){this.g($$t.$zp.trendLineBrushProperty,a);return a}else{return this.c($$t.$zp.trendLineBrushProperty)}},actualTrendLineBrush:function(a){if(arguments.length===1){this.g($$t.$zp.actualTrendLineBrushProperty,a);return a}else{return this.c($$t.$zp.actualTrendLineBrushProperty)}},trendLineThickness:function(a){if(arguments.length===1){this.g($$t.$zp.trendLineThicknessProperty,a);return a}else{return this.c($$t.$zp.trendLineThicknessProperty)}},trendLineDashCap:function(a){if(arguments.length===1){this.g($$t.$zp.trendLineDashCapProperty,a);return a}else{return this.c($$t.$zp.trendLineDashCapProperty)}},trendLineDashArray:function(a){if(arguments.length===1){this.g($$t.$zp.trendLineDashArrayProperty,a);return a}else{return this.c($$t.$zp.trendLineDashArrayProperty)}},trendLinePeriod:function(a){if(arguments.length===1){this.g($$t.$zp.trendLinePeriodProperty,a);return a}else{return this.c($$t.$zp.trendLinePeriodProperty)}},trendLineZIndex:function(a){if(arguments.length===1){this.g($$t.$zp.trendLineZIndexProperty,a);return a}else{return this.c($$t.$zp.trendLineZIndexProperty)}},gj:function(a,b,c,d){if(this.xAxis()!=null&&$.ig.util.cast($$t.$kd.$type,this.xAxis())!==null){$.ig.util.cast($$t.$kd.$type,this.xAxis()).notifyDataChanged()}this.m1().bx().e(this.resolution());this.m1().b3().p(a,b,c,d);if(this.yAxis()!=null){this.yAxis().updateRange()}this.renderSeries(true)},displayType:function(a){if(arguments.length===1){this.g($$t.$zp.displayTypeProperty,a);return a}else{return this.c($$t.$zp.displayTypeProperty)}},hh:function(a,b,c,d){switch(b){case"XAxis":this.m1().cb();break}$$t.$qn.hh.call(this,a,b,c,d);if(this.m1().b3()!=null&&this.m1().b3().d(a,b,c,d,this.trendLineDashArray())){this.renderSeries(false);this.gy()}switch(b){case"DisplayType":if(this.rootCanvas()!=null){this.nc();this.jv.x();this.mm(this.jv,this.m1())}this.gy();break;case"TrendLineBrush":this.hz();break;case"TrendLineType":this.gy();break}},nc:function(){this.m1().cf();if(this.av()!=null){this.av().cf()}},ad:function(a){if(a!=null&&a==this.yAxis()&&this.kh()!=null&&!isNaN(this.kh().minimum())&&this.kf()!=null&&!isNaN(this.kf().maximum())){return new $$t.h7(this.kh().minimum(),this.kf().maximum())}return null},scrollIntoView:function(a){var b=this.bb()!=null?this.bb().indexOf(a):-1;var c=this.view().bv();var d=this.view().bu();var e=new $$t.x(0,0,0,1,1);if(b>=0&&c!=null&&d!=null){if(this.xAxis()!=null){var f=new $$t.ie(e,e,this.xAxis().isInverted());var g=this.xAxis().getScaledValue(b,f);if(g<c.left()+.1*c.width()){g=g+.4*c.width()}if(g>c.right()-.1*c.width()){g=g-.4*c.width()}c.x(g-.5*c.width())}if(this.yAxis()!=null&&this.kh()!=null&&this.kf()!=null&&b<this.kh().count()&&b<this.kf().count()){var h=new $$t.ie(e,e,this.yAxis().isInverted());var i=this.yAxis().getScaledValue(this.kh().item(b),h);var j=this.yAxis().getScaledValue(this.kf().item(b),h);if(!isNaN(i)&&!isNaN(j)){var k=Math.abs(i-j);if(c.height()<k){c.height(k);c.y(Math.min(i,j))}else{if(i<c.top()+.1*c.height()){i=i+.4*c.height()}if(i>c.bottom()-.1*c.height()){i=i-.4*c.height()}c.y(i-.5*c.height())}}}this.syncLink().al(this.seriesViewer(),c)}return b>=0},ct:function(a,b,c){var d=$$t.$qn.ct.call(this,a,b,c);if(this.kj()==null||this.kd()==null||this.kf()==null||this.kh()==null){d=false}return d},m8:function(a){return a},mk:function(a,b){var $self=this;$$t.$qn.mk.call($self,a,b);var c=b.bv();var d=b.bu();var e=$self.xAxis();var f=$self.yAxis();var g=new $$t.ie(c,d,e.isInverted());var h=new $$t.ie(c,d,f.isInverted());a.h.clear();a.p.clear();a.q.clear();var i=0;var j=$.ig.util.cast($$t.$kd.$type,$self.xAxis());if(j!=null&&j.sortedIndices().count()!=$self.bb().count()){return}i=$self.getOffset(c,d);var k=$.ig.util.cast($$t.$zq.$type,b);if($self.trendLineType()!=0){var l=new Array($self.bb().count());var m=0;var o=$self.k9().getEnumerator();while(o.moveNext()){var n=o.current();l[m]=n;m++}$self.m1().b3().prepareLine(a.q,$self.trendLineType(),l,$self.trendLinePeriod(),function(p){return $self.xAxis().getScaledValue(p,g)},function(p){return $self.yAxis().getScaledValue(p,h)},function(){var $ret=new $$t.j8;$ret.c(b.bx().b());$ret.d(b.bx().c());$ret.e(b.bx().d());$ret.a(i);$ret.b($self.resolution());$ret.f(d);return $ret}())}var p=$self.m8($self.xAxis().getUnscaledValue(2,g)-$self.xAxis().getUnscaledValue(1,g));for(var q=b.bx().c();q<=b.bx().d();++q){var r;if(j==null){r=b.bx().getBucket(q)}else{var s=j.sortedIndices().__inner[q];var t=j.getUnscaledValueAt(s);var u=$self.m8($self.kj().item(s));var v=$self.m8($self.kf().item(s));var w=$self.m8($self.kh().item(s));var x=$self.m8($self.kd().item(s));var y=u;var z=v;var aa=w;var ab=x;var ac=t;while(q<b.bx().d()){s=j.sortedIndices().__inner[q+1];ac=j.getUnscaledValueAt(s);if(ac-t>p){break}q++;z=Math.max(v,$self.m8($self.kf().item(s)));aa=Math.min(w,$self.m8($self.kh().item(s)));ab=$self.m8($self.kd().item(s))}var ad=NaN;if(!isNaN(t)){ad=$self.xAxis().getScaledValue(t,g)}r=function(){var $ret=new Array;$ret.add($self.m8(ad));$ret.add(y);$ret.add(z);$ret.add(aa);$ret.add(ab);return $ret}()}if(!isNaN(r[0])){if($self.xAxis()!=null&&$.ig.util.cast($$t.$kd.$type,$self.xAxis())!==null){r[0]=r[0]+i}else{r[0]=e.getScaledValue(r[0],g)+i}r[1]=f.getScaledValue(r[1],h);r[2]=f.getScaledValue(r[2],h);r[3]=f.getScaledValue(r[3],h);r[4]=f.getScaledValue(r[4],h);a.h.add(r)}}return},gh:function(a,b){$$t.$qn.gh.call(this,a,b);var c=$.ig.util.cast($$t.$zq.$type,b);c.b9();if(a){c.b5().c(0)}if(c.b3()!=null){c.b3().o()}},ky:function(){return true},mm:function(a,b){$$t.$qn.mm.call(this,a,b);if(this.xAxis()==null||this.yAxis()==null){return}var c=false;if(b.b0(a)){c=true;b.b2(a)}this.jz.x(this,this.k1(),this.xAxis(),this.getCategoryItems.runOn(this),this.lq(b),this.lr(b));var d=false;var e=this.jz.b();if(e!=null){d=true}var f=$.ig.util.cast($$t.$zq.$type,b);f.b8();f.b6(false);if(f.b3()!=null){f.b3().o()}if(this.trendLineType()!=0){f.b3().t(a.q)}if(d){this.nb(a,b,c)}else{f.b5().c(0);this.na(a,b)}},nb:function(a,b,c){var $self=this;var d=$self.displayType();var e=$self.xAxis().fy(b.bv(),b.bu())/2;e=Math.max(e,3);var f=$.ig.util.cast($$t.$zq.$type,b);f.b6(true);var g=a.h;var h=0;var i=$self.bb().count();var j=$self.xAxis();var k=new $$t.ie($self.view().bv(),$self.view().bu(),j.isInverted());var l=$self.actualBrush();var m=$self.negativeBrush();if(m==null){m=l}for(var n=0;n<g.count();++n){var o=g.__inner[n][0]-e;var p=g.__inner[n][0];var q=g.__inner[n][0]+e;var r=g.__inner[n][1];var s=g.__inner[n][2];var t=g.__inner[n][3];var u=g.__inner[n][4];if(isNaN(r)||isNaN(s)||isNaN(t)||isNaN(u)){continue}var v=f.b5().item(h);h++;var w=r<u;var x=new $$t.dx;if(c){switch(d){case 0:if(w){var y=r;r=u;u=y}var z=new $$t.d6;z.__startPoint={__x:p,__y:t,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};z.__segments.add(function(){var $ret=new $$t.d8(1);$ret.c({__x:p,__y:r,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());var aa=new $$t.d6;aa.__startPoint={__x:o,__y:u,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};aa.__segments.add(function(){var $ret=new $$t.d8(1);$ret.c({__x:q,__y:u,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());aa.__segments.add(function(){var $ret=new $$t.d8(1);$ret.c({__x:q,__y:r,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());aa.__segments.add(function(){var $ret=new $$t.d8(1);$ret.c({__x:o,__y:r,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());aa.__segments.add(function(){var $ret=new $$t.d8(1);$ret.c({__x:o,__y:u,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());var ab=new $$t.d6;ab.__startPoint={__x:p,__y:u,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};ab.__segments.add(function(){var $ret=new $$t.d8(1);$ret.c({__x:p,__y:s,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());x.b().add(z);x.b().add(aa);x.b().add(ab);break;case 1:var ac=new $$t.d6;ac.__startPoint={__x:o,__y:r,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};ac.__segments.add(function(){var $ret=new $$t.d8(1);$ret.c({__x:p,__y:r,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());var ad=new $$t.d6;ad.__startPoint={__x:p,__y:t,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};ad.__segments.add(function(){var $ret=new $$t.d8(1);$ret.c({__x:p,__y:s,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());var ae=new $$t.d6;ae.__startPoint={__x:p,__y:u,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName};ae.__segments.add(function(){var $ret=new $$t.d8(1);$ret.c({__x:q,__y:u,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());x.b().add(ac);x.b().add(ad);x.b().add(ae);break}}if(w){$self.jz.am=m;$self.jz.ah=m;$self.jz.f=true}else{$self.jz.am=l;$self.jz.ah=l;$self.jz.f=false}$self.mj(g,n,i,j,k,b.m());if(d==1){$self.jz.ae(v,true,false,false,false)}else{$self.jz.ae(v,false,false,false,false)}if(c){v.ak(x)}}f.b5().c(h);f.ca()},na:function(a,b){var $self=this;var c=$self.displayType();var d=$self.xAxis().fy(b.bv(),b.bu())/2;d=Math.max(d,3);var e=$.ig.util.cast($$t.$zq.$type,b);var f=e.ci();var g=e.ch();var h=a.h;for(var i=0;i<h.count();++i){var j=h.__inner[i][0]-d;var k=h.__inner[i][0];var l=h.__inner[i][0]+d;var m=h.__inner[i][1];var n=h.__inner[i][2];var o=h.__inner[i][3];var p=h.__inner[i][4];if(isNaN(m)||isNaN(n)||isNaN(o)||isNaN(p)){continue}var q=m<p;var r=q?g:f;switch(c){case 0:if(q){var s=m;m=p;p=s}r.c().add(function(){var $ret=new $$t.dz;$ret.c({__x:k,__y:o,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});$ret.b({__x:k,__y:m,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());r.c().add(function(){var $ret=new $$t.d0;$ret.d(new $$t.x(0,j,p,l-j,m-p));return $ret}());r.c().add(function(){var $ret=new $$t.dz;$ret.c({__x:k,__y:p,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});$ret.b({__x:k,__y:n,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());break;case 1:r.c().add(function(){var $ret=new $$t.dz;$ret.c({__x:j,__y:m,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});$ret.b({__x:k,__y:m,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());r.c().add(function(){var $ret=new $$t.dz;$ret.c({__x:k,__y:o,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});$ret.b({__x:k,__y:n,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());r.c().add(function(){var $ret=new $$t.dz;$ret.c({__x:k,__y:p,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});$ret.b({__x:l,__y:p,$type:$.ig.Point.prototype.$type,getType:$.ig.Object.prototype.getType,getGetHashCode:$.ig.Object.prototype.getGetHashCode,typeName:$.ig.Object.prototype.typeName});return $ret}());break}}},eg:function(a,b){if(a==this.m1().b3().x()){return null}return $$t.$qn.eg.call(this,a,b)},hz:function(){$$t.$qn.hz.call(this);if(this.index()<0){return}this.m1().cg()},go:function(a){$$t.$qn.go.call(this,a);var b=new $$t.g8(1,"trendLine",this.m1().b3().x());b.tags().add("Trend");a.shapes().add(b)},$type:new $.ig.Type("FinancialPriceSeries",$$t.$qn.$type)},true);$.ig.util.defType("FinancialPriceBucketCalculator:zr","FinancialBucketCalculator",{init:function(a){$$t.$qp.init.call(this,a)},getBucket:function(a){var $self=this;var b=a*$self.b();var c=Math.min(b+$self.b()-1,$self.a().bz().bb().count()-1);if(b<=c&&b>=0&&c>=0){var d=$self.a().bz().kj().item(b);var e=Number.NEGATIVE_INFINITY;var f=Number.POSITIVE_INFINITY;var g=$self.a().bz().kd().item(c);for(var h=b;h<=c;++h){e=Math.max(e,$self.a().bz().kf().item(h));f=Math.min(f,$self.a().bz().kh().item(h))}f=Math.min(d,f);e=Math.max(g,e);return function(){var $ret=new Array;$ret.add(.5*(b+c));$ret.add(d);$ret.add(e);$ret.add(f);$ret.add(g);return $ret}()}return function(){var $ret=new Array;$ret.add(NaN);$ret.add(NaN);$ret.add(NaN);$ret.add(NaN);$ret.add(NaN);return $ret}()},$type:new $.ig.Type("FinancialPriceBucketCalculator",$$t.$qp.$type)},true);$.ig.util.defType("FinancialPriceSeriesView:zq","FinancialSeriesView",{_b4:null,b4:function(value){if(arguments.length===1){this._b4=value;return value}else{return this._b4}},init:function(a){var $self=this;this.cl=function(){var $ret=new $$t.b6;$ret.ak(new $$t.du);return $ret}();this.ck=function(){var $ret=new $$t.b6;$ret.ak(new $$t.du);return $ret}();this.cj=new $$t.b6;$$t.$qo.init.call(this,a);this.b4(a);this.b7(new $$t.bh($$t.$b6.$type,0));this.b3(new $$t.kz);this.b5(function(){var $ret=new $$t.ga($$t.$b6.$type);$ret.create($self.cm.runOn($self));$ret.activate($self.cc.runOn($self));$ret.disactivate($self.ce.runOn($self));$ret.destroy($self.cd.runOn($self));return $ret}())},_b5:null,b5:function(value){if(arguments.length===1){this._b5=value;return value}else{return this._b5}},cm:function(){var a=new $$t.b6;this.b7().add(a);a.__visibility=1;return a},_b7:null,b7:function(value){if(arguments.length===1){this._b7=value;return value}else{return this._b7}},cc:function(a){a.__visibility=0},ce:function(a){a.__visibility=1},cd:function(a){this.b7().remove(a)},by:function(){return new $$t.zr(this)},an:function(){var $self=this;$$t.$qo.an.call($self);if(!$self.m()){$self.bz().negativeBrush(function(){var $ret=new $$t.b3;$ret.fill("#415460");return $ret}());$self.bz().resolution(2);$self.bz().thickness(1);$self.bz().outline(function(){var $ret=new $$t.b3;$ret.fill("#222222");return $ret}())}},cl:null,ck:null,_b3:null,b3:function(value){if(arguments.length===1){this._b3=value;return value}else{return this._b3}},cf:function(){if(this.b4().displayType()==1){this.cl.__stroke=this.d().actualBrush()}else{this.cl.__stroke=this.d().actualOutline()}if(this.b4().displayType()==1){this.ck.__stroke=this.bz().negativeBrush()}else{this.ck.__stroke=this.d().actualOutline()}},b9:function(){this.al();this.b5().c(0);this.b8()},b8:function(){var a=$.ig.util.cast($$t.$du.$type,this.cl.ak());var b=$.ig.util.cast($$t.$du.$type,this.ck.ak());a.reset();b.reset()},ci:function(){this.al();return $.ig.util.cast($$t.$du.$type,this.cl.ak())},ch:function(){this.al();return $.ig.util.cast($$t.$du.$type,this.ck.ak())},cg:function(){this.b4().actualTrendLineBrush(null);if(this.b4().trendLineBrush()!=null){this.b4().actualTrendLineBrush(this.b4().trendLineBrush())}else{this.b4().actualTrendLineBrush(this.b4().actualBrush())}},a5:function(){$$t.$qo.a5.call(this);this.cl.z(this.d().thickness());this.cl.af(this.d().dashArray());this.cl.aa(this.d().dashCap());if(this.b4().displayType()==1){this.cl.__stroke=this.d().actualBrush()}else{this.cl.__stroke=this.d().actualOutline();this.cl.__fill=this.d().actualBrush()}this.ck.z(this.d().thickness());this.ck.af(this.d().dashArray());this.ck.aa(this.d().dashCap());if(this.b4().displayType()==1){this.ck.__stroke=this.bz().negativeBrush()}else{this.ck.__stroke=this.d().actualOutline();this.ck.__fill=this.bz().negativeBrush()}},a6:function(){$$t.$qo.a6.call(this);var a=this.bq();this.cl.z(this.d().thickness()+3);if(this.b4().displayType()==1){this.cl.__stroke=a}else{this.cl.__stroke=a;this.cl.__fill=a}this.ck.z(this.d().thickness()+3);if(this.b4().displayType()==1){this.ck.__stroke=a}else{this.ck.__stroke=a;this.ck.__fill=a}},v:function(a){return this.b7().__inner[a]},cj:null,u:function(a){var b=this.b7().__inner[a];this.cj.__visibility=b.__visibility;this.cj.ak(b.ak());var c=this.br(a);this.cj.__fill=c;this.cj.__stroke=c;this.cj.z(this.d().thickness()+3);return this.cj},a0:function(a,b){$$t.$qo.a0.call(this,a,b);if(a.c()){if(this.b6()){for(var c=0;c<this.b7().count();c++){var d=this.t(c,b);if(d.__visibility==0){a.q(d)}}}else{a.q(this.cl);a.q(this.ck)}}},az:function(a,b){if(a.c()){if(this.b4().trendLineType()!=0&&!b){var c=this.b3().x();c.z(this.b4().trendLineThickness());c.__stroke=this.b4().actualTrendLineBrush();c.af(this.b4().trendLineDashArray());c.aa(this.b4().trendLineDashCap());a.s(c)}}$$t.$qo.az.call(this,a,b)},ag:function(a){$$t.$qo.ag.call(this,a);var b=new $$t.l0(1,"positivePathShape",this.cl);b.tags().add("Positive");b.tags().add("Main");var c=new $$t.l0(1,"negativePathShape",this.ck);c.tags().add("Negative");a.shapes().add(b);a.shapes().add(c)},ca:function(){this.al()},_b6:false,b6:function(value){if(arguments.length===1){this._b6=value;return value}else{return this._b6}},cb:function(){this.b3($$t.$kh.y(this.b3(),this.bz().xAxis(),this.d().rootCanvas(),this.bz()))},$type:new $.ig.Type("FinancialPriceSeriesView",$$t.$qo.$type)},true);$.ig.util.defType("FinancialValueList:qt","Object",{d:null,b:null,a:null,c:null,e:null,init:function(a,b,c,d,e){$.ig.$op.init.call(this);this.d=a;this.b=b;this.a=d;this.c=c;this.e=e},indexOf:function(a){throw new $$t.f5},insert:function(a,b){throw new $$t.f5},removeAt:function(a){throw new $$t.f5},item:function(a,value){if(arguments.length===2){throw new $$t.f5;return value}else{var b=NaN;var c=NaN;var d=NaN;var e=NaN;var f=NaN;if(this.d!=null&&a>=0&&a<this.d.count()){b=this.d.item(a)}if(this.b!=null&&a>=0&&a<this.b.count()){c=this.b.item(a)}if(this.c!=null&&a>=0&&a<this.c.count()){d=this.c.item(a)}if(this.a!=null&&a>=0&&a<this.a.count()){e=this.a.item(a)}if(this.e!=null&&a>=0&&a<this.e.count()){f=this.e.item(a)}var g=isNaN(b);var h=isNaN(c);var i=isNaN(d);var j=isNaN(e);var k=isNaN(f);if(!h&&!i&&!j){return(c+d+e)/3}if(!h&&!i){return(c+d)/2}if(!g&&!j){return(b+e)/2}if(!g){return b}if(!h){return c}if(!i){return d}if(!j){return e}return NaN}},add:function(a){throw new $$t.f5},clear:function(){throw new $$t.f5},contains:function(a){throw new $$t.f5},copyTo:function(a,b){throw new $$t.f5},count:function(){var a=0;var b=0;var c=0;var d=0;var e=0;if(this.d!=null){a=this.d.count()}if(this.b!=null){b=this.b.count()}if(this.c!=null){c=this.c.count()}if(this.a!=null){d=this.a.count()}if(this.e!=null){e=this.e.count()}var f=0;f=Math.max(f,a);f=Math.max(f,b);f=Math.max(f,c);f=Math.max(f,d);f=Math.max(f,e);return f},isReadOnly:function(){return true},remove:function(a){throw new $$t.f5},getEnumerator:function(){throw new $$t.f5},$type:new $.ig.Type("FinancialValueList",$.ig.$ot,[$$t.$bi.$type.specialize(Number)])},true);$.ig.util.defType("FinancialCalculationDataSource:qw","Object",{init:function(){$.ig.$op.init.call(this)},_openColumn:null,openColumn:function(value){if(arguments.length===1){this._openColumn=value;return value}else{return this._openColumn}},_closeColumn:null,closeColumn:function(value){if(arguments.length===1){this._closeColumn=value;return value}else{return this._closeColumn}},_highColumn:null,highColumn:function(value){if(arguments.length===1){this._highColumn=value;return value}else{return this._highColumn}},_lowColumn:null,lowColumn:function(value){if(arguments.length===1){this._lowColumn=value;return value}else{return this._lowColumn}},_volumeColumn:null,volumeColumn:function(value){if(arguments.length===1){this._volumeColumn=value;return value}else{return this._volumeColumn}},_indicatorColumn:null,indicatorColumn:function(value){if(arguments.length===1){this._indicatorColumn=value;return value}else{return this._indicatorColumn}},_typicalColumn:null,typicalColumn:function(value){if(arguments.length===1){this._typicalColumn=value;return value}else{return this._typicalColumn}},_trueRange:null,trueRange:function(value){if(arguments.length===1){this._trueRange=value;return value}else{return this._trueRange}},_trueLow:null,trueLow:function(value){if(arguments.length===1){this._trueLow=value;return value}else{return this._trueLow}},_period:0,period:function(value){if(arguments.length===1){this._period=value;return value}else{return this._period}},_shortPeriod:0,shortPeriod:function(value){if(arguments.length===1){this._shortPeriod=value;return value}else{return this._shortPeriod}},_longPeriod:0,longPeriod:function(value){if(arguments.length===1){this._longPeriod=value;return value}else{return this._longPeriod}},_count:0,count:function(value){if(arguments.length===1){this._count=value;
return value}else{return this._count}},_calculateFrom:0,calculateFrom:function(value){if(arguments.length===1){this._calculateFrom=value;return value}else{return this._calculateFrom}},_calculateCount:0,calculateCount:function(value){if(arguments.length===1){this._calculateCount=value;return value}else{return this._calculateCount}},_multiplier:0,multiplier:function(value){if(arguments.length===1){this._multiplier=value;return value}else{return this._multiplier}},_minimumValue:0,minimumValue:function(value){if(arguments.length===1){this._minimumValue=value;return value}else{return this._minimumValue}},_maximumValue:0,maximumValue:function(value){if(arguments.length===1){this._maximumValue=value;return value}else{return this._maximumValue}},_specifiesRange:false,specifiesRange:function(value){if(arguments.length===1){this._specifiesRange=value;return value}else{return this._specifiesRange}},$type:new $.ig.Type("FinancialCalculationDataSource",$.ig.$ot)},true);$.ig.util.defType("FinancialCalculationSupportingCalculations:qy","Object",{init:function(){$.ig.$op.init.call(this)},_a:null,a:function(value){if(arguments.length===1){this._a=value;return value}else{return this._a}},_c:null,c:function(value){if(arguments.length===1){this._c=value;return value}else{return this._c}},_d:null,d:function(value){if(arguments.length===1){this._d=value;return value}else{return this._d}},_b:null,b:function(value){if(arguments.length===1){this._b=value;return value}else{return this._b}},_h:null,h:function(value){if(arguments.length===1){this._h=value;return value}else{return this._h}},_f:null,f:function(value){if(arguments.length===1){this._f=value;return value}else{return this._f}},_g:null,g:function(value){if(arguments.length===1){this._g=value;return value}else{return this._g}},_e:null,e:function(value){if(arguments.length===1){this._e=value;return value}else{return this._e}},_k:null,k:function(value){if(arguments.length===1){this._k=value;return value}else{return this._k}},_j:null,j:function(value){if(arguments.length===1){this._j=value;return value}else{return this._j}},_i:null,i:function(value){if(arguments.length===1){this._i=value;return value}else{return this._i}},$type:new $.ig.Type("FinancialCalculationSupportingCalculations",$.ig.$ot)},true);$.ig.util.defType("SupportingCalculation$1:q0","Object",{$tCalculationStrategy:null,init:function($tCalculationStrategy,initNumber,a){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}this.$tCalculationStrategy=$tCalculationStrategy;this.$type=this.$type.specialize(this.$tCalculationStrategy);$.ig.$op.init.call(this);this.c=a;this.b=new $$t.bh(String,0)},init1:function($tCalculationStrategy,initNumber,a,b){this.$tCalculationStrategy=$tCalculationStrategy;this.$type=this.$type.specialize(this.$tCalculationStrategy);$.ig.$op.init.call(this);this.c=a;this.b=new $$t.bh(String,1,b)},c:null,b:null,d:function(){return this.c},a:function(){return this.b},$type:new $.ig.Type("SupportingCalculation$1",$.ig.$ot)},true);$.ig.util.defType("ColumnSupportingCalculation:qz","SupportingCalculation$1",{init:function(initNumber,a){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$$t.$q0.init.call(this,$$t.$q1.$type,a)},init1:function(initNumber,a,b){$$t.$q0.init1.call(this,$$t.$q1.$type,1,a,b)},$type:new $.ig.Type("ColumnSupportingCalculation",$$t.$q0.$type.specialize($$t.$q1.$type))},true);$.ig.util.defType("DataSourceSupportingCalculation:q2","SupportingCalculation$1",{init:function(initNumber,a){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$$t.$q0.init.call(this,$$t.$q3.$type,a)},init1:function(initNumber,a,b){$$t.$q0.init1.call(this,$$t.$q3.$type,1,a,b)},$type:new $.ig.Type("DataSourceSupportingCalculation",$$t.$q0.$type.specialize($$t.$q3.$type))},true);$.ig.util.defType("CalculatedColumn:qx","Object",{init:function(initNumber,a,b){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break}return}$.ig.$op.init.call(this);this.__valuesProvider=a;this.c=new $$t.bh(String,1,b)},init1:function(initNumber,a,b){$.ig.$op.init.call(this);this.__valuesProvider=a;this.c=new $$t.bh(String,1,b)},__valuesProvider:null,c:null,basedOn:function(){return this.c},getEnumerator:function(){return this.__valuesProvider.getEnumerator()},$type:new $.ig.Type("CalculatedColumn",$.ig.$ot,[$$t.$bk.$type.specialize(Number)])},true);$.ig.util.defType("ItemLegend:nh","LegendBase",{ak:function(){return new $$t.ni(this)},a2:function(a){$$t.$m4.a2.call(this,a);this.a5(a)},_a5:null,a5:function(value){if(arguments.length===1){this._a5=value;return value}else{return this._a5}},init:function(){var $self=this;$$t.$m4.init.call(this);this.y($$t.$nh.$type);this.children().collectionChanged=$.ig.Delegate.prototype.combine(this.children().collectionChanged,function(a,b){if(b.oldItems()!=null){var d=b.oldItems().getEnumerator();while(d.moveNext()){var c=d.current();$self.a5().w(c)}}if(b.newItems()!=null){var f=b.newItems().getEnumerator();while(f.moveNext()){var e=f.current();$self.a5().l(e)}}})},av:function(a,b){if(!this.al().f()){return}this.bb(b)},aw:function(a,b){this.a9(b);if(b==null||a==null||a.count()==0){return}var d=a.getEnumerator();while(d.moveNext()){var c=d.current();var e=$.ig.util.cast($$t.$cf.$type,c);if(e!=null&&e.content()!=null){var f=$.ig.util.cast($$t.$fl.$type,e.content());if(f!=null&&!this.a7(f)){this.children().add(c);var g=new $$t.nj;g.a(f);g.d(c);g.c(b);g.b(f.itemLabel())}}}},ba:function(a,b){var c=this.a8(b);if(b==null||a==null||a.count()==0){return}var e=a.getEnumerator();while(e.moveNext()){var d=e.current();var f=$.ig.util.cast($$t.$cf.$type,d);if(f!=null&&f.content()!=null){var g=$.ig.util.cast($$t.$fl.$type,f.content());if(g!=null&&!this.a7(g)){this.children().insert(c,d);c++;var h=new $$t.nj;h.a(g);h.d(d);h.c(b);h.b(g.itemLabel())}}}},bb:function(a){this.a9(a);var b=$.ig.util.cast($$t.$nk.$type,a);if(b!=null&&b.mt()!=null&&b.mu()!=null&&b.mu().count()>0){var d=b.mu().getEnumerator();while(d.moveNext()){var c=d.current();var e=$.ig.util.cast($$t.$cf.$type,c);if(e!=null&&e.content()!=null){var f=$.ig.util.cast($$t.$fl.$type,e.content());if(f!=null&&!this.a7(f)){this.children().add(c);var g=new $$t.nj;g.a(f);g.d(c);g.c(a);g.b(f.itemLabel())}}}}},a9:function(a){if(a==null||this.children()==null||this.children().count()==0){return}var b=new $$t.e4($$t.$am.$type,0);var d=this.children().getEnumerator();while(d.moveNext()){var c=d.current();var e=$.ig.util.cast($$t.$cf.$type,c);if(e!=null&&e.content()!=null){var f=$.ig.util.cast($$t.$fl.$type,e.content());if(f!=null&&f.series()==a){b.add(c)}}}var h=b.getEnumerator();while(h.moveNext()){var g=h.current();this.children().remove(g)}},a8:function(a){if(a==null||this.children()==null||this.children().count()==0){return 0}var b=new $$t.e4($$t.$am.$type,0);var c=-1;var d=0;var f=this.children().getEnumerator();while(f.moveNext()){var e=f.current();var g=$.ig.util.cast($$t.$cf.$type,e);if(g!=null&&g.content()!=null){var h=$.ig.util.cast($$t.$fl.$type,g.content());if(h!=null&&h.series()==a){if(c==-1){c=d}b.add(e)}}d++}var j=b.getEnumerator();while(j.moveNext()){var i=j.current();this.children().remove(i)}if(c==-1){if(this.children().count()>0){return this.children().count()-1}else{return 0}}return c},a7:function(a){return this.a5().y(a)},_a6:null,a6:function(value){if(arguments.length===1){this._a6=value;return value}else{return this._a6}},$type:new $.ig.Type("ItemLegend",$$t.$m4.$type)},true);$.ig.util.defType("ItemLegendView:ni","LegendBaseView",{init:function(a){$$t.$m5.init.call(this,a);this.x(a)},_x:null,x:function(value){if(arguments.length===1){this._x=value;return value}else{return this._x}},u:function(){$$t.$m5.u.call(this)},y:function(a){return this.d().e(a)},$type:new $.ig.Type("ItemLegendView",$$t.$m5.$type)},true);$.ig.util.defType("Legend:vy","LegendBase",{ak:function(){return new $$t.vz(this)},a2:function(a){$$t.$m4.a2.call(this,a);this.a5(a)},_a5:null,a5:function(value){if(arguments.length===1){this._a5=value;return value}else{return this._a5}},init:function(){var $self=this;$$t.$m4.init.call(this);this.y($$t.$vy.$type);this.children().collectionChanged=$.ig.Delegate.prototype.combine(this.children().collectionChanged,function(a,b){if(b.oldItems()!=null){var d=b.oldItems().getEnumerator();while(d.moveNext()){var c=d.current();$self.a5().w(c)}}if(b.newItems()!=null){var f=b.newItems().getEnumerator();while(f.moveNext()){var e=f.current();$self.a5().l(e)}}})},av:function(a,b){var $self=this;if($.ig.util.cast($$t.$fu.$type,b)!==null){return}if(!b.isUsableInLegend()){return}var c=0;var e=$self.children().getEnumerator();while(e.moveNext()){var d=e.current();var f;var g;var h;(function(){var $ret=$self.al().o(d,f,g,h);f=$ret.chart;g=$ret.series;h=$ret.item;return $ret.ret})();if(b.seriesViewer()!=null&&f!=null&&($self.a6(b.seriesViewer())<$self.a6(f)||$self.a6(b.seriesViewer())==-1&&$self.a6(f)==-1&&b.seriesViewer().getHashCode()<f.getHashCode())){break}if(b.seriesViewer()!=null&&f!=null&&b.seriesViewer()==f&&g!=null){var i=b.index();var j=g.index();var k=$self.a6(b);var l=$self.a6(g);if($.ig.util.cast($$t.$jw.$type,b)!==null||$.ig.util.cast($$t.$ry.$type,b)!==null){var m=$.ig.util.cast($$t.$jw.$type,b)!==null?$.ig.util.cast($$t.$jw.$type,b).parentSeries():$.ig.util.cast($$t.$ry.$type,b).parentSeries();if(m.reverseLegendOrder()){i=m.index()+m.mn().count()-m.ms().f().indexOf($.ig.util.cast($$t.$jy.$type,b))}}if($.ig.util.cast($$t.$jw.$type,g)!==null||$.ig.util.cast($$t.$ry.$type,g)!==null){var n=$.ig.util.cast($$t.$jw.$type,g)!==null?$.ig.util.cast($$t.$jw.$type,g).parentSeries():$.ig.util.cast($$t.$ry.$type,g).parentSeries();if(n.reverseLegendOrder()){j=n.index()+n.mn().count()-n.ms().f().indexOf($.ig.util.cast($$t.$jy.$type,g))}}if($.ig.util.cast($$t.$uw.$type,g)!==null){if(l==-1&&k==-1){c=0;break}if(k<l||l==-1){break}}if(i<=j){break}}c++}$self.children().insert(c,a);var o=new $$t.nj;o.d(a);o.c(b);var p=$.ig.util.cast($$t.$cf.$type,a);if(p!=null&&p.content()!=null){var q=$.ig.util.cast($$t.$fl.$type,p.content());if(q!=null){o.a(q);o.b(q.itemLabel())}}},a6:function(a){return-1},$type:new $.ig.Type("Legend",$$t.$m4.$type)},true);$.ig.util.defType("LegendItemInfo:nj","Object",{init:function(){$.ig.$op.init.call(this)},_b:null,b:function(value){if(arguments.length===1){this._b=value;return value}else{return this._b}},_d:null,d:function(value){if(arguments.length===1){this._d=value;return value}else{return this._d}},_c:null,c:function(value){if(arguments.length===1){this._c=value;return value}else{return this._c}},_a:null,a:function(value){if(arguments.length===1){this._a=value;return value}else{return this._a}},$type:new $.ig.Type("LegendItemInfo",$.ig.$ot)},true);$.ig.util.defType("LegendView:vz","LegendBaseView",{init:function(a){$$t.$m5.init.call(this,a);this.x(a)},_x:null,x:function(value){if(arguments.length===1){this._x=value;return value}else{return this._x}},u:function(){$$t.$m5.u.call(this)},$type:new $.ig.Type("LegendView",$$t.$m5.$type)},true);$.ig.util.defType("SafeEnumerable:mg","Object",{a:null,init:function(a){$.ig.$op.init.call(this);this.a=a},c:function(a){if(Number.isInfinity(a)||isNaN(a)){return 0}return a},b:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,$a:0,$b:null,getEnumerator:function(){if(this.$state===-1){this.$state=0}return this},current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:if(this.$this.a==null){this.$state=2}else{this.$state=4}break;case 2:this.$state=-2;return false;case 3:this.$state=4;break;case 4:this.$state=5;break;case 5:this.$b=this.$this.a.getEnumerator();this.$state=8;break;case 6:this.$a=this.$b.current();this.$current=this.$this.c(this.$a);this.$state=7;return true;case 7:this.$state=8;break;case 8:if(this.$b.moveNext()){this.$state=6}else{this.$state=9}break;case 9:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerable$1(Number,$iter)},getEnumerator:function(){return this.b().getEnumerator()},$type:new $.ig.Type("SafeEnumerable",$.ig.$ot,[$$t.$bk.$type.specialize(Number)])},true);$.ig.util.defType("SafeReadOnlyDoubleCollection:me","Object",{a:null,b:function(a){if(Number.isInfinity(a)||isNaN(a)){return 0}return a},init:function(a){$.ig.$op.init.call(this);this.a=new $$t.mf(Number,1,a)},indexOf:function(a){return this.a.indexOf(a)},insert:function(a,b){$.ig.util.cast($$t.$bi.$type.specialize(Number),this.a).insert(a,b)},removeAt:function(a){$.ig.util.cast($$t.$bi.$type.specialize(Number),this.a).removeAt(a)},item:function(a,b){if(arguments.length===2){$.ig.util.cast($$t.$bi.$type.specialize(Number),this.a).item(a,b);return b}else{return this.b(this.a.item(a))}},add:function(a){$.ig.util.cast($$t.$bi.$type.specialize(Number),this.a).add(a)},clear:function(){$.ig.util.cast($$t.$bi.$type.specialize(Number),this.a).clear()},contains:function(a){return this.a.contains(a)},copyTo:function(a,b){for(var c=b;c<a.length;c++){a[c]=this.item(c)}},count:function(){return this.a.count()},isReadOnly:function(){return $.ig.util.cast($$t.$bi.$type.specialize(Number),this.a).isReadOnly()},remove:function(a){return $.ig.util.cast($$t.$bi.$type.specialize(Number),this.a).remove(a)},getEnumerator:function(){return new $$t.mg(this.a).getEnumerator()},$type:new $.ig.Type("SafeReadOnlyDoubleCollection",$.ig.$ot,[$$t.$bi.$type.specialize(Number)])},true);$.ig.util.defType("SafeSortedReadOnlyDoubleCollection:md","Object",{a:null,b:null,c:function(a){if(Number.isInfinity(a)||isNaN(a)){return 0}return a},init:function(a,b){$.ig.$op.init.call(this);this.a=new $$t.me(a);this.b=b},indexOf:function(a){var b=this.a.indexOf(a);return this.b.indexOf(b)},insert:function(a,b){$.ig.util.cast($$t.$bi.$type.specialize(Number),this.a).insert(a,b)},removeAt:function(a){$.ig.util.cast($$t.$bi.$type.specialize(Number),this.a).removeAt(a)},item:function(a,b){if(arguments.length===2){$.ig.util.cast($$t.$bi.$type.specialize(Number),this.a).item(a,b);return b}else{var b=this.b.item(a);return this.c(this.a.item(b))}},add:function(a){$.ig.util.cast($$t.$bi.$type.specialize(Number),this.a).add(a)},clear:function(){$.ig.util.cast($$t.$bi.$type.specialize(Number),this.a).clear()},contains:function(a){return this.a.contains(a)},copyTo:function(a,b){for(var c=b;c<a.length;c++){a[c]=this.item(c)}},count:function(){return this.a.count()},isReadOnly:function(){return $.ig.util.cast($$t.$bi.$type.specialize(Number),this.a).isReadOnly()},remove:function(a){return $.ig.util.cast($$t.$bi.$type.specialize(Number),this.a).remove(a)},getEnumerator:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,$a:0,current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$a=0;this.$state=5;break;case 2:this.$current=this.$this.item(this.$a);this.$state=3;return true;case 3:this.$state=4;break;case 4:this.$a++;this.$state=5;break;case 5:if(this.$a<this.$this.a.count()){this.$state=2}else{this.$state=6}break;case 6:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.GenericEnumerator$1(Number,$iter())},$type:new $.ig.Type("SafeSortedReadOnlyDoubleCollection",$.ig.$ot,[$$t.$bi.$type.specialize(Number)])},true);$.ig.util.defType("SortedListView$1:lb","Object",{$t:null,c:null,d:null,init:function($t,a,b){this.c=null;this.d=null;this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.$op.init.call(this);this.c=b;this.d=a},add:function(a){throw new $$t.f5},clear:function(){throw new $$t.f5},contains:function(a){return this.d.contains(a)},indexOf:function(a){return this.c.indexOf(this.d.indexOf(a))},insert:function(a,b){throw new $$t.f5},isFixedSize:function(){return true},isReadOnly:function(){return true},remove:function(a){throw new $$t.f5},removeAt:function(a){throw new $$t.f5},item:function(a,value){if(arguments.length===2){throw new $$t.f5;return value}else{return this.d.item(this.c.item(a))}},count:function(){return this.d.count()},isSynchronized:function(){throw new $$t.f5},syncRoot:function(){throw new $$t.f5},getEnumerator:function(){var $self=this;var $iter=function(){return function(){return{$state:0,$this:$self,$current:null,$a:0,current:function(){return this.$current},moveNext:function(){do{switch(this.$state){case 0:this.$state=1;break;case 1:this.$a=0;this.$state=5;break;case 2:this.$current=this.$this.item(this.$a);this.$state=3;return true;case 3:this.$state=4;break;case 4:this.$a++;this.$state=5;break;case 5:if(this.$a<this.$this.count()){this.$state=2}else{this.$state=6}break;case 6:this.$state=-2;break;case-2:return false}}while(this.$state>0)}}}()};return new $.ig.AbstractEnumerator($iter())},copyTo:function(a,b){throw new $$t.f5},$type:new $.ig.Type("SortedListView$1",$.ig.$ot,[$$t.$bi.$type.specialize(0)])},true);$$t.$zm.candlestick=0;$$t.$zm.oHLC=1;$$t.$k3.continuous=0;$$t.$k3.discrete=1;$$t.$v6.line=0;$$t.$v6.area=1;$$t.$v6.column=2;$$t.$qm.auto=0;$$t.$qm.fromZero=1;$$t.$qm.sweepFromLeft=2;$$t.$qm.sweepFromRight=3;$$t.$qm.sweepFromTop=4;$$t.$qm.sweepFromBottom=5;$$t.$qm.sweepFromCenter=6;$$t.$qm.accordionFromLeft=7;$$t.$qm.accordionFromRight=8;$$t.$qm.accordionFromTop=9;$$t.$qm.accordionFromBottom=10;$$t.$qm.expand=11;$$t.$qm.sweepFromCategoryAxisMinimum=12;$$t.$qm.sweepFromCategoryAxisMaximum=13;$$t.$qm.sweepFromValueAxisMinimum=14;$$t.$qm.sweepFromValueAxisMaximum=15;$$t.$qm.accordionFromCategoryAxisMinimum=16;$$t.$qm.accordionFromCategoryAxisMaximum=17;$$t.$qm.accordionFromValueAxisMinimum=18;$$t.$qm.accordionFromValueAxisMaximum=19;$$t.$ig.linear=0;$$t.$ig.logarithmic=1;$$t.$h3.c=7;$$t.$hb.f6="FastItemsSource";$$t.$hb.fastItemsSourceProperty=$$t.$ar.i("FastItemsSource",$$t.$ji.$type,$$t.$hb.$type,new $$t.as(1,function(a,b){$.ig.util.cast($$t.$hb.$type,a).dq("FastItemsSource",b.d(),b.c())}));$$t.$hb.ga="ItemsSource";$$t.$hb.itemsSourceProperty=$$t.$ar.i("ItemsSource",$.ig.IEnumerable.prototype.$type,$$t.$hb.$type,new $$t.as(2,null,function(a,b){var c=$.ig.util.cast($$t.$hb.$type,a);if(c.at()!=null){c.at().releaseFastItemsSource(b.d())}$.ig.util.cast($$t.$hb.$type,a).dq("ItemsSource",b.d(),b.c())}));$$t.$hb.f9="ItemsCount";$$t.$hb.f5="CategoryMode";$$t.$hb.f7="Gap";$$t.$hb.gapProperty=$$t.$ar.i("Gap",Number,$$t.$hb.$type,new $$t.as(2,.2,function(a,b){$.ig.util.cast($$t.$hb.$type,a).dq("Gap",b.d(),b.c())}));$$t.$hb.gb="Overlap";$$t.$hb.overlapProperty=$$t.$ar.i("Overlap",Number,$$t.$hb.$type,new $$t.as(2,0,function(a,b){$.ig.util.cast($$t.$hb.$type,a).dq("Overlap",b.d(),b.c())}));$$t.$hb.gc="UseClusteringMode";$$t.$hb.useClusteringModeProperty=$$t.$ar.i("UseClusteringMode",$$t.$f.$type,$$t.$hb.$type,new $$t.as(2,false,function(a,b){$.ig.util.cast($$t.$hb.$type,a).dq("UseClusteringMode",b.d(),b.c())}));$$t.$hb.f8="GroupCount";$$t.$k1.hr="DisplayType";$$t.$k1.displayTypeProperty=$$t.$ar.i("DisplayType",$$t.$k3.$type,$$t.$k1.$type,new $$t.as(2,0,function(a,b){$.ig.util.cast($$t.$k1.$type,a).dq("DisplayType",b.d(),b.c())}));$$t.$k1.hu="MinimumValue";$$t.$k1.minimumValueProperty=$$t.$ar.i("MinimumValue",$$t.$bt.$type,$$t.$k1.$type,new $$t.as(2,null,function(a,b){$.ig.util.cast($$t.$k1.$type,a).dq("MinimumValue",b.d(),b.c())}));$$t.$k1.ht="MaximumValue";$$t.$k1.maximumValueProperty=$$t.$ar.i("MaximumValue",$$t.$bt.$type,$$t.$k1.$type,new $$t.as(2,null,function(a,b){$.ig.util.cast($$t.$k1.$type,a).dq("MaximumValue",b.d(),b.c())}));$$t.$k1.hs="Interval";$$t.$k1.intervalProperty=$$t.$ar.i("Interval",$.ig.Number.prototype.$type,$$t.$k1.$type,new $$t.as(2,0,function(a,b){$.ig.util.cast($$t.$k1.$type,a).dq("Interval",b.d(),b.c())}));$$t.$k1.hn="ActualMinimumValue";$$t.$k1.hm="ActualMaximumValue";$$t.$k1.hq="DateTimeMemberPath";$$t.$k1.dateTimeMemberPathProperty=$$t.$ar.i("DateTimeMemberPath",String,$$t.$k1.$type,new $$t.as(2,null,function(a,b){$.ig.util.cast($$t.$k1.$type,a).dq("DateTimeMemberPath",b.d(),b.c())}));$$t.$k1.ho="DateTimeColumn";$$t.$up.g4="Interval";$$t.$up.intervalProperty=$$t.$ar.i("Interval",Number,$$t.$up.$type,new $$t.as(2,NaN,function(a,b){$.ig.util.cast($$t.$up.$type,a).dq("Interval",b.d(),b.c());$.ig.util.cast($$t.$up.$type,a).du(false)}));$$t.$hl.gl="MinimumValue";$$t.$hl.minimumValueProperty=$$t.$ar.i("MinimumValue",Number,$$t.$hl.$type,new $$t.as(2,NaN,function(a,b){$.ig.util.cast($$t.$hl.$type,a).dq("MinimumValue",b.d(),b.c())}));$$t.$hl.gf="ActualMinimumValue";$$t.$hl.gk="MaximumValue";$$t.$hl.maximumValueProperty=$$t.$ar.i("MaximumValue",Number,$$t.$hl.$type,new $$t.as(2,NaN,function(a,b){$.ig.util.cast($$t.$hl.$type,a).dq("MaximumValue",b.d(),b.c())}));$$t.$hl.ge="ActualMaximumValue";$$t.$hl.gh="Interval";$$t.$hl.intervalProperty=$$t.$ar.i("Interval",Number,$$t.$hl.$type,new $$t.as(2,NaN,function(a,b){$.ig.util.cast($$t.$hl.$type,a).dq("Interval",b.d(),b.c())}));$$t.$hl.gm="ReferenceValue";$$t.$hl.referenceValueProperty=$$t.$ar.i("ReferenceValue",Number,$$t.$hl.$type,new $$t.as(2,0,function(a,b){$.ig.util.cast($$t.$hl.$type,a).dq("ReferenceValue",b.d(),b.c())}));$$t.$hl.gi="IsLogarithmic";$$t.$hl.isLogarithmicProperty=$$t.$ar.i("IsLogarithmic",$$t.$f.$type,$$t.$hl.$type,new $$t.as(2,false,function(a,b){$.ig.util.cast($$t.$hl.$type,a).dq("IsLogarithmic",b.d(),b.c())}));$$t.$hl.gd="ActualIsLogarithmic";$$t.$hl.gj="LogarithmBase";$$t.$hl.logarithmBaseProperty=$$t.$ar.i("LogarithmBase",$.ig.Number.prototype.$type,$$t.$hl.$type,new $$t.as(2,10,function(a,b){$.ig.util.cast($$t.$hl.$type,a).dq("LogarithmBase",b.d(),b.c())}));$$t.$hl.gn="TickmarkValues";$$t.$hl.tickmarkValuesProperty=$$t.$ar.i("TickmarkValues",$$t.$hx.$type,$$t.$hl.$type,new $$t.as(1,function(a,b){$.ig.util.cast($$t.$hl.$type,a).dq("TickmarkValues",b.d(),b.c())}));$$t.$hl.gg="ActualTickmarkValues";$$t.$ib.g8="ScaleMode";$$t.$ib.scaleModeProperty=$$t.$ar.i("ScaleMode",$$t.$ig.$type,$$t.$ib.$type,new $$t.as(2,0,function(a,b){$.ig.util.cast($$t.$ib.$type,a).dq("ScaleMode",b.d(),b.c())}));$$t.$ib.g9="Scaler";$$t.$ib.scalerProperty=$$t.$ar.i("Scaler",$$t.$id.$type,$$t.$ib.$type,new $$t.as(2,null,$$t.$ib.hd));$$t.$ib.g7="ActualScaler";$$t.$id.q="ActualMinimumValue";$$t.$id.y=$$t.$ar.i("ActualMinimumValue",Number,$$t.$id.$type,new $$t.as(2,NaN,function(a,b){$.ig.util.cast($$t.$id.$type,a).t("ActualMinimumValue",b.d(),b.c())}));$$t.$id.p="ActualMaximumValue";$$t.$id.x=$$t.$ar.i("ActualMaximumValue",Number,$$t.$id.$type,new $$t.as(2,NaN,function(a,b){$.ig.util.cast($$t.$id.$type,a).t("ActualMaximumValue",b.d(),b.c())}));$$t.$h1.s=5e-324;$$t.$h1.u="LogarithmBase";$$t.$h1.v=$$t.$ar.i("LogarithmBase",$.ig.Number.prototype.$type,$$t.$h1.$type,new $$t.as(2,10,function(a,b){}));$$t.$ki.h="TrendLineDashArray";$$t.$ki.l="TrendLineType";$$t.$ki.j="TrendLinePeriod";$$t.$ki.g="TrendLineBrush";$$t.$ki.f="ActualTrendLineBrush";$$t.$ki.k="TrendLineThickness";$$t.$ki.i="TrendLineDashCap";$$t.$ki.m="TrendLineZIndex";$$t.$ke.s=0;$$t.$qn.l8="NegativeBrush";$$t.$qn.negativeBrushProperty=$$t.$ar.i("NegativeBrush",$$t.$b3.$type,$$t.$qn.$type,new $$t.as(2,null,function(a,b){$.ig.util.cast($$t.$qn.$type,a).raisePropertyChanged("NegativeBrush",b.d(),b.c())}));$$t.$qn.mg="XAxis";$$t.$qn.xAxisProperty=$$t.$ar.i("XAxis",$$t.$hb.$type,$$t.$qn.$type,new $$t.as(2,null,function(a,b){$.ig.util.cast($$t.$qn.$type,a).raisePropertyChanged("XAxis",b.d(),b.c())}));$$t.$qn.mh="YAxis";$$t.$qn.yAxisProperty=$$t.$ar.i("YAxis",$$t.$ia.$type,$$t.$qn.$type,new $$t.as(2,null,function(a,b){$.ig.util.cast($$t.$qn.$type,a).raisePropertyChanged("YAxis",b.d(),b.c())}));$$t.$qn.mb="OpenMemberPath";$$t.$qn.openMemberPathProperty=$$t.$ar.i("OpenMemberPath",String,$$t.$qn.$type,new $$t.as(2,null,function(a,b){$.ig.util.cast($$t.$qn.$type,a).raisePropertyChanged("OpenMemberPath",b.d(),b.c())}));$$t.$qn.l9="OpenColumn";$$t.$qn.l2="HighMemberPath";$$t.$qn.highMemberPathProperty=$$t.$ar.i("HighMemberPath",String,$$t.$qn.$type,new $$t.as(2,null,function(a,b){$.ig.util.cast($$t.$qn.$type,a).raisePropertyChanged("HighMemberPath",b.d(),b.c())}));$$t.$qn.l0="HighColumn";$$t.$qn.l7="LowMemberPath";$$t.$qn.lowMemberPathProperty=$$t.$ar.i("LowMemberPath",String,$$t.$qn.$type,new $$t.as(2,null,function(a,b){$.ig.util.cast($$t.$qn.$type,a).raisePropertyChanged("LowMemberPath",b.d(),b.c())}));$$t.$qn.l5="LowColumn";$$t.$qn.lz="CloseMemberPath";$$t.$qn.closeMemberPathProperty=$$t.$ar.i("CloseMemberPath",String,$$t.$qn.$type,new $$t.as(2,null,function(a,b){$.ig.util.cast($$t.$qn.$type,a).raisePropertyChanged("CloseMemberPath",b.d(),b.c())}));$$t.$qn.lx="CloseColumn";$$t.$qn.mf="VolumeMemberPath";$$t.$qn.volumeMemberPathProperty=$$t.$ar.i("VolumeMemberPath",String,$$t.$qn.$type,new $$t.as(2,null,function(a,b){$.ig.util.cast($$t.$qn.$type,a).raisePropertyChanged("VolumeMemberPath",b.d(),b.c())}));$$t.$qn.md="VolumeColumn";$$t.$qn.l3="IsCustomCategoryStyleAllowed";$$t.$qn.isCustomCategoryStyleAllowedProperty=$$t.$ar.i("IsCustomCategoryStyleAllowed",$$t.$f.$type,$$t.$qn.$type,new $$t.as(2,false,function(a,b){$.ig.util.cast($$t.$qn.$type,a).raisePropertyChanged("IsCustomCategoryStyleAllowed",b.d(),b.c())}));$$t.$qn.mc="TransitionInMode";$$t.$qn.transitionInModeProperty=$$t.$ar.i("TransitionInMode",$$t.$qm.$type,$$t.$qn.$type,new $$t.as(2,0,function(a,b){$.ig.util.cast($$t.$qn.$type,a).raisePropertyChanged("TransitionInMode",b.d(),b.c())}));$$t.$qn.l4="IsTransitionInEnabled";$$t.$qn.isTransitionInEnabledProperty=$$t.$ar.i("IsTransitionInEnabled",$$t.$f.$type,$$t.$qn.$type,new $$t.as(2,false,function(a,b){$.ig.util.cast($$t.$qn.$type,a).raisePropertyChanged("IsTransitionInEnabled",b.d(),b.c())}));$$t.$v7.nf="DisplayType";$$t.$v7.displayTypeProperty=$$t.$ar.i("DisplayType",$$t.$v6.$type,$$t.$v7.$type,new $$t.as(2,0,function(a,b){$.ig.util.cast($$t.$v7.$type,a).raisePropertyChanged("DisplayType",b.d(),b.c())}));$$t.$v7.ng="IgnoreFirst";$$t.$v7.ignoreFirstProperty=$$t.$ar.i("IgnoreFirst",$.ig.Number.prototype.$type,$$t.$qn.$type,new $$t.as(2,0,function(a,b){$.ig.util.cast($$t.$v7.$type,a).raisePropertyChanged("IgnoreFirst",b.d(),b.c())}));$$t.$v7.trendLineTypeProperty=$$t.$ar.i("TrendLineType",$$t.$j6.$type,$$t.$v7.$type,new $$t.as(2,0,function(a,b){$.ig.util.cast($$t.$v7.$type,a).raisePropertyChanged("TrendLineType",b.d(),b.c())}));$$t.$v7.trendLineBrushProperty=$$t.$ar.i("TrendLineBrush",$$t.$b3.$type,$$t.$v7.$type,new $$t.as(2,null,function(a,b){$.ig.util.cast($$t.$v7.$type,a).raisePropertyChanged("TrendLineBrush",b.d(),b.c())}));$$t.$v7.actualTrendLineBrushProperty=$$t.$ar.i("ActualTrendLineBrush",$$t.$b3.$type,$$t.$v7.$type,new $$t.as(2,null,function(a,b){$.ig.util.cast($$t.$v7.$type,a).raisePropertyChanged("ActualTrendLineBrush",b.d(),b.c())}));$$t.$v7.trendLineThicknessProperty=$$t.$ar.i("TrendLineThickness",Number,$$t.$v7.$type,new $$t.as(2,1.5,function(a,b){$.ig.util.cast($$t.$v7.$type,a).raisePropertyChanged("TrendLineThickness",b.d(),b.c())}));$$t.$v7.trendLineDashCapProperty=$$t.$ar.i("TrendLineDashCap",$$t.$lh.$type,$$t.$v7.$type,new $$t.as(2,0,function(a,b){$.ig.util.cast($$t.$v7.$type,a).raisePropertyChanged("TrendLineDashCap",b.d(),b.c())}));$$t.$v7.trendLineDashArrayProperty=$$t.$ar.i("TrendLineDashArray",$$t.$b5.$type,$$t.$v7.$type,new $$t.as(1,function(a,b){$.ig.util.cast($$t.$v7.$type,a).raisePropertyChanged("TrendLineDashArray",b.d(),b.c())}));$$t.$v7.trendLinePeriodProperty=$$t.$ar.i("TrendLinePeriod",$.ig.Number.prototype.$type,$$t.$v7.$type,new $$t.as(2,7,function(a,b){$.ig.util.cast($$t.$v7.$type,a).raisePropertyChanged("TrendLinePeriod",b.d(),b.c())}));$$t.$v7.trendLineZIndexProperty=$$t.$ar.i("TrendLineZIndex",$.ig.Number.prototype.$type,$$t.$v7.$type,new $$t.as(2,1001,function(a,b){$.ig.util.cast($$t.$v7.$type,a).raisePropertyChanged("TrendLineZIndex",b.d(),b.c())}));$$t.$wc.n2=new $$t.bh(String,0);$$t.$wc.oa="Period";$$t.$wc.n8="LongPeriod";$$t.$wc.ob="ShortPeriod";$$t.$wc.n9="Multiplier";$$t.$we.shortPeriodProperty=$$t.$wc.oh(10,$$t.$we.$type);$$t.$we.longPeriodProperty=$$t.$wc.od(30,$$t.$we.$type);$$t.$wj.periodProperty=$$t.$wc.of(14,$$t.$wj.$type);$$t.$wl.periodProperty=$$t.$wc.of(14,$$t.$wl.$type);$$t.$wn.m4="IgnoreFirst";$$t.$wn.ignoreFirstProperty=$$t.$ar.i("IgnoreFirst",$.ig.Number.prototype.$type,$$t.$wn.$type,new $$t.as(2,0,function(a,b){$.ig.util.cast($$t.$wn.$type,a).raisePropertyChanged("IgnoreFirst",b.d(),b.c())}));$$t.$wo.nf="Period";$$t.$wo.periodProperty=$$t.$ar.i("Period",$.ig.Number.prototype.$type,$$t.$wo.$type,new $$t.as(2,14,function(a,b){$.ig.util.cast($$t.$wo.$type,a).raisePropertyChanged("Period",b.d(),b.c())}));$$t.$wo.ne="Multiplier";$$t.$wo.multiplierProperty=$$t.$ar.i("Multiplier",Number,$$t.$wo.$type,new $$t.as(2,2,function(a,b){$.ig.util.cast($$t.$wo.$type,a).raisePropertyChanged("Multiplier",b.d(),b.c())}));$$t.$wr.periodProperty=$$t.$wc.of(20,$$t.$wr.$type);$$t.$wr.ok="Multiplier";$$t.$wr.multiplierProperty=$$t.$wc.oe(2,$$t.$wr.$type);$$t.$wt.shortPeriodProperty=$$t.$wc.oh(3,$$t.$wt.$type);$$t.$wt.longPeriodProperty=$$t.$wc.od(10,$$t.$wt.$type);$$t.$wv.periodProperty=$$t.$wc.of(10,$$t.$wv.$type);$$t.$wx.periodProperty=$$t.$wc.of(20,$$t.$wx.$type);$$t.$w4.periodProperty=$$t.$wc.of(20,$$t.$w4.$type);$$t.$w8.periodProperty=$$t.$wc.of(14,$$t.$w8.$type);$$t.$xb.periodProperty=$$t.$wc.of(0,$$t.$xb.$type);$$t.$xd.periodProperty=$$t.$wc.of(14,$$t.$xd.$type);$$t.$xd.ol="SmoothingPeriod";$$t.$xd.smoothingPeriodProperty=$$t.$wc.og(3,$$t.$xd.$type,"SmoothingPeriod");$$t.$xd.om="TriggerPeriod";$$t.$xd.triggerPeriodProperty=$$t.$wc.og(3,$$t.$xd.$type,"TriggerPeriod");$$t.$xo.periodProperty=$$t.$wc.of(14,$$t.$xo.$type);$$t.$xq.shortPeriodProperty=$$t.$wc.oh(10,$$t.$xq.$type);$$t.$xq.longPeriodProperty=$$t.$wc.od(30,$$t.$xq.$type);$$t.$xq.ol="SignalPeriod";$$t.$xq.signalPeriodProperty=$$t.$wc.og(9,$$t.$xq.$type,"SignalPeriod");$$t.$xw.shortPeriodProperty=$$t.$wc.oh(10,$$t.$xw.$type);$$t.$xw.longPeriodProperty=$$t.$wc.od(30,$$t.$xw.$type);$$t.$xy.shortPeriodProperty=$$t.$wc.oh(10,$$t.$xy.$type);$$t.$xy.longPeriodProperty=$$t.$wc.od(30,$$t.$xy.$type);$$t.$w2.nb="Period";$$t.$w2.periodProperty=$$t.$ar.i("Period",$.ig.Number.prototype.$type,$$t.$w2.$type,new $$t.as(2,14,function(a,b){$.ig.util.cast($$t.$w2.$type,a).raisePropertyChanged("Period",b.d(),b.c())}));$$t.$x4.periodProperty=$$t.$wc.of(14,$$t.$x4.$type);$$t.$x6.periodProperty=$$t.$wc.of(14,$$t.$x6.$type);$$t.$x8.periodProperty=$$t.$wc.of(14,$$t.$x8.$type);$$t.$ya.periodProperty=$$t.$wc.of(20,$$t.$ya.$type);$$t.$yc.periodProperty=$$t.$wc.of(14,$$t.$yc.$type);$$t.$ye.periodProperty=$$t.$wc.of(15,$$t.$ye.$type);$$t.$ym.periodProperty=$$t.$wc.of(14,$$t.$ym.$type);$$t.$zp.trendLineTypeProperty=$$t.$ar.i("TrendLineType",$$t.$j6.$type,$$t.$zp.$type,new $$t.as(2,0,function(a,b){$.ig.util.cast($$t.$zp.$type,a).raisePropertyChanged("TrendLineType",b.d(),b.c())}));$$t.$zp.trendLineBrushProperty=$$t.$ar.i("TrendLineBrush",$$t.$b3.$type,$$t.$zp.$type,new $$t.as(2,null,function(a,b){$.ig.util.cast($$t.$zp.$type,a).raisePropertyChanged("TrendLineBrush",b.d(),b.c())}));$$t.$zp.actualTrendLineBrushProperty=$$t.$ar.i("ActualTrendLineBrush",$$t.$b3.$type,$$t.$zp.$type,new $$t.as(2,null,function(a,b){$.ig.util.cast($$t.$zp.$type,a).raisePropertyChanged("ActualTrendLineBrush",b.d(),b.c())}));$$t.$zp.trendLineThicknessProperty=$$t.$ar.i("TrendLineThickness",Number,$$t.$zp.$type,new $$t.as(2,1.5,function(a,b){$.ig.util.cast($$t.$zp.$type,a).raisePropertyChanged("TrendLineThickness",b.d(),b.c())}));$$t.$zp.trendLineDashCapProperty=$$t.$ar.i("TrendLineDashCap",$$t.$lh.$type,$$t.$zp.$type,new $$t.as(2,0,function(a,b){$.ig.util.cast($$t.$zp.$type,a).raisePropertyChanged("TrendLineDashCap",b.d(),b.c())}));$$t.$zp.trendLineDashArrayProperty=$$t.$ar.i("TrendLineDashArray",$$t.$b5.$type,$$t.$zp.$type,new $$t.as(1,function(a,b){$.ig.util.cast($$t.$zp.$type,a).raisePropertyChanged("TrendLineDashArray",b.d(),b.c())}));$$t.$zp.trendLinePeriodProperty=$$t.$ar.i("TrendLinePeriod",$.ig.Number.prototype.$type,$$t.$zp.$type,new $$t.as(2,7,function(a,b){$.ig.util.cast($$t.$zp.$type,a).raisePropertyChanged("TrendLinePeriod",b.d(),b.c())
}));$$t.$zp.trendLineZIndexProperty=$$t.$ar.i("TrendLineZIndex",$.ig.Number.prototype.$type,$$t.$zp.$type,new $$t.as(2,1001,function(a,b){$.ig.util.cast($$t.$zp.$type,a).raisePropertyChanged("TrendLineZIndex",b.d(),b.c())}));$$t.$zp.m9="DisplayType";$$t.$zp.displayTypeProperty=$$t.$ar.i("DisplayType",$$t.$zm.$type,$$t.$zp.$type,new $$t.as(2,0,function(a,b){$.ig.util.cast($$t.$zp.$type,a).raisePropertyChanged("DisplayType",b.d(),b.c())}));$$t.$zp.m4=3;$$t.$vy.a7="Orientation";$.ig.util.extCopy($.ig.VisualDataSerializer,[[[$.ig.Rect],["serialize"]]]);$.ig.util.extCopy($.ig.Queryable,[[[$.ig.SortedList$1,$.ig.IGrouping$2,$.ig.IEnumerable,$.ig.ICollection,$.ig.IList,$.ig.Array,$.ig.Dictionary,$.ig.XmlNodeList,$.ig.XmlNamedNodeMap,$.ig.IFastItemColumn$1,$.ig.FastItemColumn,$.ig.FastItemDateTimeColumn,$.ig.FastItemObjectColumn,$.ig.FastItemIntColumn,$.ig.FastItemsSource,$.ig.EdgeClipper,$.ig.RearrangedList$1,$.ig.RangeValueList,$.ig.FinancialValueList,$.ig.CalculatedColumn,$.ig.IntColumn,$.ig.SafeEnumerable,$.ig.SafeReadOnlyDoubleCollection,$.ig.SafeSortedReadOnlyDoubleCollection,$.ig.SortedListView$1],["asQueryable"]]]);$.ig.util.extCopy($.ig.Enumerable,[[[$.ig.SortedList$1,$.ig.IGrouping$2,$.ig.IFastItemColumn$1,$.ig.FastItemColumn,$.ig.FastItemDateTimeColumn,$.ig.FastItemObjectColumn,$.ig.FastItemIntColumn,$.ig.EdgeClipper,$.ig.RearrangedList$1,$.ig.RangeValueList,$.ig.FinancialValueList,$.ig.CalculatedColumn,$.ig.SafeEnumerable,$.ig.SafeReadOnlyDoubleCollection,$.ig.SafeSortedReadOnlyDoubleCollection,$.ig.SortedListView$1],["where$1","where$11","select$2","selectMany$2","last$1","first$1","firstOrDefault$1","orderBy$2","orderByDescending$2","toList$1","concat$1","max","max$1","min","min$1","count$1","reverse$1","take$1","skip$1","any$1","contains$1","union$1","toArray$1","elementAt$1","sum","sum$1"]],[[$.ig.SortedList$1,$.ig.IGrouping$2,$.ig.IEnumerable,$.ig.ICollection,$.ig.IList,$.ig.Array,$.ig.Dictionary,$.ig.XmlNodeList,$.ig.XmlNamedNodeMap,$.ig.IFastItemColumn$1,$.ig.FastItemColumn,$.ig.FastItemDateTimeColumn,$.ig.FastItemObjectColumn,$.ig.FastItemIntColumn,$.ig.FastItemsSource,$.ig.EdgeClipper,$.ig.RearrangedList$1,$.ig.RangeValueList,$.ig.FinancialValueList,$.ig.CalculatedColumn,$.ig.IntColumn,$.ig.SafeEnumerable,$.ig.SafeReadOnlyDoubleCollection,$.ig.SafeSortedReadOnlyDoubleCollection,$.ig.SortedListView$1],["ofType$1","cast$1"]]]);$.ig.util.extCopy($.ig.ArrayUtil,[[[$.ig.EdgeClipper,$.ig.RearrangedList$1,$.ig.RangeValueList,$.ig.FinancialValueList,$.ig.SafeReadOnlyDoubleCollection,$.ig.SafeSortedReadOnlyDoubleCollection,$.ig.SortedListView$1],["shuffle$1","insertionIndex$11","insertionIndex$1","binarySearch$1"]]]);$.ig.util.extCopy($.ig.BrushUtil,[[[],["getLightened"]]]);$.ig.util.extCopy($.ig.ColorUtil,[[[],["getInterpolation","getLightened","getAHSL","getAHSV"]]]);$.ig.util.extCopy($.ig.Extensions,[[[],["reset1"]],[[],["reset"]],[[],["detach"]],[[],["transferChildrenTo"]],[[],["isPlottable"]],[[],["isPlottable1"]]]);$.ig.util.extCopy($.ig.PathFigureUtil,[[[],["duplicate1"]],[[],["duplicate"]]]);$.ig.util.extCopy($.ig.PointCollectionUtil,[[[$.ig.RearrangedList$1,$.ig.RangeValueList,$.ig.FinancialValueList,$.ig.SafeReadOnlyDoubleCollection,$.ig.SafeSortedReadOnlyDoubleCollection,$.ig.SortedListView$1],["flattenTo","getBounds2","clipTo"]],[[$.ig.RearrangedList$1,$.ig.RangeValueList,$.ig.FinancialValueList,$.ig.CalculatedColumn,$.ig.SafeEnumerable,$.ig.SafeReadOnlyDoubleCollection,$.ig.SafeSortedReadOnlyDoubleCollection,$.ig.SortedListView$1],["getBounds1","getBounds","getCentroid","toPointCollection","toPointList"]],[[],["getBounds3","getBounds4","toPointCollections"]]]);$.ig.util.extCopy($.ig.RectUtil,[[[],["getCenter","getArea","duplicate","getLeader","getDistanceSquared1","getDistanceSquared2","getDistanceSquared","contains","intersectsWith","intersectionArea","getInflated","inflate1","inflate","round","isNull","size","normalize","normalize1","getTopLeft","getTopRight","getBottomLeft","getBottomRight","getCorners","rotateAboutCenter","rotateAboutPoint"]]])})(jQuery);(function($){$(document).ready(function(){var wm=$("#__ig_wm__").length>0?$("#__ig_wm__"):$('<div id="__ig_wm__"></div>').appendTo(document.body);wm.css({position:"fixed",bottom:0,right:0,zIndex:1e3}).addClass("ui-igtrialwatermark")})})(jQuery);