igniteui-angular-gauges
Version:
Ignite UI Angular gauge components.
7 lines • 328 kB
JavaScript
/*!
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("igniteui-angular-core"),require("tslib"),require("@angular/common")):"function"==typeof define&&define.amd?define(["exports","@angular/core","igniteui-angular-core","tslib","@angular/common"],e):e((t=t||self)["igniteui-angular-gauges"]={},t.i0,t.igniteuiAngularCore,t.tslib,t.common)}(this,(function(t,e,i,n,r){"use strict";var a=function(t){function e(){var e=t.call(this)||this;return e.e=null,e.f=null,e.c=0,e.b=0,e.a=0,e}return n.__extends(e,t),e.prototype.g=function(t,e,n){var r,a,o,s,l,h=this,u=new i.PathGeometry,c=new i.PathFigure;return 1==n?((l=new i.LineSegment(1)).c={$type:i.Point_$type,x:t*h.a,y:0},r=l,a=function(){var e=new i.LineSegment(1);return e.c={$type:i.Point_$type,x:t*h.b,y:0},e}(),o=function(){var n=new i.LineSegment(1);return n.c={$type:i.Point_$type,x:t*h.b,y:e},n}(),s=function(){var n=new i.LineSegment(1);return n.c={$type:i.Point_$type,x:t*h.a,y:e},n}()):(r=function(){var e=new i.LineSegment(1);return e.c={$type:i.Point_$type,x:0,y:t*(1-h.b)},e}(),a=function(){var n=new i.LineSegment(1);return n.c={$type:i.Point_$type,x:e,y:t*(1-h.b)},n}(),o=function(){var n=new i.LineSegment(1);return n.c={$type:i.Point_$type,x:e,y:t*(1-h.a)},n}(),s=function(){var e=new i.LineSegment(1);return e.c={$type:i.Point_$type,x:0,y:t*(1-h.a)},e}()),c._startPoint=r.c,c._segments.add(a),c._segments.add(o),c._segments.add(s),c._isClosed=!0,u.c.add(c),u},e.prototype.d=function(t,e,n){this.c=e.c+(n.c-e.c)*t,this.e=i.BrushUtil.n(e.e,t,n.e,0),this.f=i.BrushUtil.n(e.f,t,n.f,0),this.b=e.b+(n.b-e.b)*t,this.a=e.a+(n.a-e.a)*t},e.$t=i.markType(e,"LinearGraphBackingFrame"),e}(i.Base),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.e=0,e.f=0,e.b=0,e.c=0,e.g=0,e.d=0,e.i=null,e.j=null,e.h=0,e}return n.__extends(e,t),e.prototype.k=function(t,e,n,r){var a,o,s,l,h,u=this,c=new i.PathGeometry,p=new i.PathFigure;return 1==r?((h=new i.LineSegment(1)).c={$type:i.Point_$type,x:t.x+e*u.b,y:n-u.d},a=h,o=function(){var r=new i.LineSegment(1);return r.c={$type:i.Point_$type,x:t.x+e*u.c,y:n-u.d},r}(),s=function(){var r=new i.LineSegment(1);return r.c={$type:i.Point_$type,x:t.x+e*u.f,y:n-u.g},r}(),l=function(){var r=new i.LineSegment(1);return r.c={$type:i.Point_$type,x:t.x+e*u.e,y:n-u.g},r}()):(a=function(){var t=new i.LineSegment(1);return t.c={$type:i.Point_$type,x:u.g,y:e*(1-u.f)},t}(),o=function(){var t=new i.LineSegment(1);return t.c={$type:i.Point_$type,x:u.d,y:e*(1-u.c)},t}(),s=function(){var t=new i.LineSegment(1);return t.c={$type:i.Point_$type,x:u.d,y:e*(1-u.b)},t}(),l=function(){var t=new i.LineSegment(1);return t.c={$type:i.Point_$type,x:u.g,y:e*(1-u.e)},t}()),p._startPoint=a.c,p._segments.add(o),p._segments.add(s),p._segments.add(l),p._isClosed=!0,c.c.add(p),c},e.a=function(t,n,r,a){var o=new e;return o.i=i.BrushUtil.n(r.i,t,a.i,0),o.j=i.BrushUtil.n(r.j,t,a.j,0),o.h=n*r.h+t*a.h,o.e=n*r.e+t*a.e,o.f=n*r.f+t*a.f,o.g=n*r.g+t*a.g,o.d=n*r.d+t*a.d,o.b=n*r.b+t*a.b,o.c=n*r.c+t*a.c,o},e.$t=i.markType(e,"LinearGraphRectFrame"),e}(i.Base),s=function(t){function e(){var e=t.call(this)||this;return e.a=null,e.b=null,e.a=new a,e.b=new o,e}return n.__extends(e,t),e.prototype.d=function(t,e,i){this.b=o.a(t,1-t,e.b,i.b),this.c.y(t,e.c,i.c),this.a.d(t,e.a,i.a)},e.$t=i.markType(e,"LinearGraphFrame"),e}(i.Base),l=function(t){function e(){var e=t.call(this)||this;return e.f=null,e.g=null,e.b=!1,e.h=0,e.e=!1,e.a=!1,e.d=!1,e.c=!1,e.f=new i.List$1(i.Point_$type,0),e.g=new i.List$1(i.Point_$type,0),e}return n.__extends(e,t),e.prototype.i=function(t){this.g.clear();if(this.b){var e=void 0,n=void 0,r=void 0;0==this.f.count?(n={$type:i.Point_$type,x:0,y:0},r={$type:i.Point_$type,x:0,y:0}):(n=this.f._inner[0],r=this.f._inner[1]);for(var a=i.GeometryUtil.v(n,r,this.h,!this.c,this.d),o=i.GeometryUtil.j(a,n),s=i.GeometryUtil.j(a,r);this.c&&s<o;)s+=2*Math.PI;for(;!this.c&&s>o;)s-=2*Math.PI;for(var l=0,h=0;h<20;h++)e=h/20,l=this.c?o+(s-o)*e:o-(o-s)*e,this.g.add({$type:i.Point_$type,x:a.x+Math.cos(l)*this.h,y:a.y+Math.sin(l)*this.h})}else{var u=void 0,c=void 0,p=void 0;0==this.f.count?(c={$type:i.Point_$type,x:0,y:0},p={$type:i.Point_$type,x:0,y:0}):(c=this.f._inner[0],p=this.f._inner[1]);for(var g=c.x,f=c.y,y=p.x,b=p.y,d=0;d<20;d++)u=d/20,this.g.add({$type:i.Point_$type,x:g+(y-g)*u,y:f+(b-f)*u})}this.a=!0},e.prototype.l=function(t,e,n,r,a){var o=this,s=null,l=o.f,h=l.count;if(0==h)return t;if(0==e._segments.count){var u=l._inner[0];e._startPoint={$type:i.Point_$type,x:r+n*u.x,y:a+n*u.y}}if(o.b){if(h>1){var c=new i.ArcSegment;s=c;var p=l._inner[1];c.e={$type:i.Point_$type,x:r+n*p.x,y:a+n*p.y},c.b=o.d,c.d=o.c?1:0,c.f=new i.Size(1,o.h*n,o.h*n),t=c.e}}else{var g=new i.PolyLineSegment;if(s=g,h>1){for(var f=void 0,y=g._points,b=1;b<h;b++)f=l._inner[b],y.add({$type:i.Point_$type,x:r+n*f.x,y:a+n*f.y});t=g._points._inner[g._points.count-1]}}return e._segments.add(s),t},e.prototype.j=function(t,e,n){var r=this,a=e.f,o=!1,s=n.f,l=!1;if(0!=a.count||0!=s.count){if(r.b=!1,r.e=!1,r.a=!1,r.d=!1,r.c=!1,e.e&&(o=!0),n.e&&(l=!0),(e.b!=n.b||e.e||n.e||e.d!=n.d||e.c!=n.c)&&(o=!0,l=!0,r.e=!0),o&&!e.e&&(e.a||e.i(n.h),a=e.g),l&&!n.e&&(n.a||n.i(e.h),s=n.g),e.e&&(a=e.g),n.e&&(s=n.g),r.g.clear(),e.b&&n.b&&(r.b=!0),i.InterpolationUtil.c(r.f,t,a,s),r.e){for(var h=void 0,u=r.f.count,c=0;c<u;c++)h=r.f._inner[c],r.g.add({$type:i.Point_$type,x:h.x,y:h.y});r.a=!0}e.d==n.d&&(r.d=n.d),e.c==n.c&&(r.c=n.c),r.b&&(r.h=e.h+(n.h-e.h)*t)}},e.prototype.k=function(){this.f.clear(),this.g.clear(),this.e=!1,this.a=!1,this.b=!1},e.$t=i.markType(e,"MorphSegment"),e}(i.Base),h=function(t){function e(){var e=t.call(this)||this;return e.n=0,e.m=0,e.q=0,e.p=0,e.l=0,e.r=null,e.s=null,e.o=0,e.f=null,e.g=null,e.d=null,e.j=null,e.i=null,e.k=null,e.e=null,e.h=null,e.b=null,e.c=null,e.f=new l,e.g=new l,e.d=new l,e.j=new l,e.i=new l,e.k=new l,e.e=new l,e.h=new l,e.b=new l,e.c=new l,e}return n.__extends(e,t),e.a=function(t,n,r,a){var o=new e;return o.n=r.n+(a.n-r.n)*t,o.m=r.m+(a.m-r.m)*t,o.q=r.q+(a.q-r.q)*t,o.l=r.l+(a.l-r.l)*t,o.p=r.p+(a.p-r.p)*t,o.r=i.BrushUtil.n(r.r,t,a.r,0),o.s=i.BrushUtil.n(r.s,t,a.s,0),o.o=r.o+(a.o-r.o)*t,o.f.j(t,r.f,a.f),o.g.j(t,r.g,a.g),o.d.j(t,r.d,a.d),o.j.j(t,r.j,a.j),o.i.j(t,r.i,a.i),o.k.j(t,r.k,a.k),o.e.j(t,r.e,a.e),o.h.j(t,r.h,a.h),o.b.j(t,r.b,a.b),o.c.j(t,r.c,a.c),o},e.prototype.t=function(t,e,n){var r=new i.PathGeometry,a=new i.PathFigure,o={$type:i.Point_$type,x:NaN,y:NaN};o=this.i.l(o,a,t,e,n),o=this.j.l(o,a,t,e,n),o=this.d.l(o,a,t,e,n),o=this.g.l(o,a,t,e,n),o=this.f.l(o,a,t,e,n),o=this.h.l(o,a,t,e,n),o=this.e.l(o,a,t,e,n),a._isClosed=!0,r.c.add(a);var s=new i.PathFigure;return(this.b.f.count>0||this.c.f.count>0)&&(o=this.b.l(o,s,t,e,n),o=this.c.l(o,s,t,e,n),s._isClosed=!0,r.c.add(s)),r},e.$t=i.markType(e,"LinearGraphNeedleFrame"),e}(i.Base),u=function(t){function e(){var e=t.call(this)||this;return e.m=null,e.u=0,e.r=0,e.s=0,e.t=0,e.l=null,e.j=null,e.w=0,e.v=0,e.ad=null,e.x=0,e.i=null,e.p=0,e.o=0,e.ac=null,e.q=0,e.e=null,e.d=null,e.f=null,e.c=null,e.g=null,e.h=null,e.n=0,e.ab=null,e.m=new i.List$1(o.$,0),e.j=new Array(0),e.i=new Array(0),e.e=new Array(0),e.d=new Array(0),e.f=new Array(0),e.c=new Array(0),e.g=new Array(0),e.h=new Array(0),e.l=new o,e}return n.__extends(e,t),e.prototype.ae=function(t,e,n,r){var a,o,s,l,h,u=this,c=new i.PathGeometry,p=new i.PathFigure,g=t.x,f=t.y;return 1==r?((h=new i.LineSegment(1)).c={$type:i.Point_$type,x:g+e*u.s,y:f},a=h,o=function(){var t=new i.LineSegment(1);return t.c={$type:i.Point_$type,x:g+e*u.t,y:f},t}(),s=function(){var t=new i.LineSegment(1);return t.c={$type:i.Point_$type,x:g+e*u.t,y:f+n},t}(),l=function(){var t=new i.LineSegment(1);return t.c={$type:i.Point_$type,x:g+e*u.s,y:f+n},t}()):(a=function(){var t=new i.LineSegment(1);return t.c={$type:i.Point_$type,x:g,y:e*(1-u.t)},t}(),o=function(){var t=new i.LineSegment(1);return t.c={$type:i.Point_$type,x:g+n,y:e*(1-u.t)},t}(),s=function(){var t=new i.LineSegment(1);return t.c={$type:i.Point_$type,x:g+n,y:e*(1-u.s)},t}(),l=function(){var t=new i.LineSegment(1);return t.c={$type:i.Point_$type,x:g,y:e*(1-u.s)},t}()),p._startPoint=a.c,p._segments.add(o),p._segments.add(s),p._segments.add(l),p._isClosed=!0,c.c.add(p),c},e.prototype.y=function(t,e,n){this.ad=i.BrushUtil.n(e.ad,t,n.ad,0),this.ac=i.BrushUtil.n(e.ac,t,n.ac,0),null==e.ab&&null==n.ab?this.ab=null:this.ab=i.BrushUtil.n(e.ab,t,n.ab,0),this.u=e.u+(n.u-e.u)*t,this.r=e.r+(n.r-e.r)*t,this.s=e.s+(n.s-e.s)*t,this.t=e.t+(n.t-e.t)*t,this.n=e.n+(n.n-e.n)*t,this.w=e.w+(n.w-e.w)*t,this.v=e.v+(n.v-e.v)*t,this.p=e.p+(n.p-e.p)*t,this.o=e.o+(n.o-e.o)*t,this.x=e.x+(n.x-e.x)*t,this.q=e.q+(n.q-e.q)*t,this.j=this.a(t,this.j,e.j,n.j),this.i=this.a(t,this.i,e.i,n.i),this.e=this.a(t,this.e,e.e,n.e),this.f=this.a(t,this.f,e.f,n.f),this.c=this.a(t,this.c,e.c,n.c),this.g=this.a(t,this.g,e.g,n.g),this.h=this.a(t,this.h,e.h,n.h),this.d=this.b(t,this.d,e.d,n.d),this.aa(t,this.m,e.m,n.m),this.l=this.k(t,e.l,n.l)},e.prototype.a=function(t,e,i,n){var r=Math.max(i.length,n.length),a=Math.min(i.length,n.length);e.length!=r&&(e=new Array(r));var o=0;i.length>0&&(o=i[i.length-1]);var s=0;n.length>0&&(s=n[n.length-1]);var l,h,u=i.length>n.length,c=0;for(c=0;c<a;c++)e[c]=i[c]+(n[c]-i[c])*t;for(c=a;c<r;c++)u?(l=i[c],h=s):(l=o,h=n[c]),e[c]=l+(h-l)*t;return e},e.prototype.b=function(t,e,i,n){var r=Math.max(i.length,n.length),a=Math.min(i.length,n.length);e.length!=r&&(e=new Array(r));var o=null;i.length>0&&(o=i[i.length-1]);var s=null;n.length>0&&(s=n[n.length-1]);var l,h,u=i.length>n.length,c=0;for(c=0;c<a;c++)e[c]=n[c];for(c=a;c<r;c++)u?(l=i[c],h=s):(l=o,h=n[c]),e[c]=null!=h?h:l;return e},e.prototype.aa=function(t,e,n,r){i.InterpolationUtil.d(o.$,e,t,n,r,(function(){return new o}),o.a)},e.prototype.k=function(t,e,i){var n=1-t;return o.a(t,n,e,i)},e.prototype.z=function(t,e,n,r){i.InterpolationUtil.d(h.$,e,t,n,r,(function(){return new h}),h.a)},e.$t=i.markType(e,"LinearGraphScaleFrame"),e}(i.Base),c=function(t){function e(){var e=t.call(this)||this;return e.ag=null,e.af=null,e.ag=new o,e.af=new o,e}return n.__extends(e,t),e.prototype.y=function(e,i,n){t.prototype.y.call(this,e,i,n),this.ag=o.a(e,1-e,i.ag,n.ag),this.af=o.a(e,1-e,i.af,n.af)},e.$t=i.markType(e,"BulletGraphScaleFrame",u.$),e}(u),p=function(t){function e(){var e=t.call(this)||this;return e._c=null,e.c=new c,e}return n.__extends(e,t),e.prototype.get_c=function(){return this._c},e.prototype.set_c=function(t){this._c=t},Object.defineProperty(e.prototype,"c",{get:function(){return this.get_c()},set:function(t){this.set_c(t)},enumerable:!1,configurable:!0}),e.$t=i.markType(e,"BulletGraphFrame",s.$),e}(s),g=function(t){function e(e,i,n,r,a){var o=t.call(this)||this;return o.f=0,o.e=0,o.d=0,o.c=0,o.a=!1,o.g=0,o.b=0,o.f=n,o.e=r,o.a=a,o.d=e,o.c=i,o.g=n,o.b=r,o}return n.__extends(e,t),Object.defineProperty(e.prototype,"j",{get:function(){return this.g},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"h",{get:function(){return this.b},enumerable:!1,configurable:!0}),e.prototype.i=function(t){var e=(t-this.d)/(this.c-this.d);this.a&&(e=1-e);var i=this.g+(this.b-this.g)*e;return i=Math.round(100*i)/100},e.prototype.k=function(t){var e=(t-this.g)/(this.b-this.g);return this.a&&(e=1-e),this.d+(this.c-this.d)*e},e.$t=i.markType(e,"LinearGraphScaler"),e}(i.Base),f=function(t){return t[t.Horizontal=0]="Horizontal",t[t.Vertical=1]="Vertical",t}({}),y=i.markEnum("LinearScaleOrientation","Horizontal,0|Vertical,1"),b=function(t){function e(){var e=t.call(this)||this;return e.propertyChanged=null,e}return n.__extends(e,t),e.prototype.ac=function(t,e,i){},e.prototype.ab=function(t,e,n){this.ac(t,e,n),null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t))},e.$t=i.markType(e,"XamLinearGraphRange",i.DependencyObject.$,[i.INotifyPropertyChanged_$type]),e.$$p=i.markDep(i.DependencyProperty,i.PropertyMetadata,e,"ab",["Brush:an:ad",[i.Brush.$,null],"EndValue:j:ae",[1,NaN],"InnerEndExtent:k:af",[1,NaN],"InnerStartExtent:l:ag",[1,NaN],"Name:u:ah",[2,null],"OuterEndExtent:m:ai",[1,NaN],"OuterStartExtent:n:aj",[1,NaN],"Outline:ao:ak",[i.Brush.$,null],"StartValue:o:al",[1,NaN],"StrokeThickness:p:am",[1,1]]),e}(i.DependencyObject),d=function(t){function e(){return t.call(this,b.$,0)||this}return n.__extends(e,t),e.$t=i.markType(e,"LinearGraphRangeCollection",i.ObservableCollection$1.$.specialize(b.$)),e}(i.ObservableCollection$1),m=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.actualMinimumValue=0,e.actualMaximumValue=0,e.value=0,e.label=null,e}return n.__extends(e,t),e.$t=i.markType(e,"FormatLinearGraphLabelEventArgs",i.EventArgs.$),e}(i.EventArgs),v=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.width=0,e.height=0,e.offsetX=0,e.offsetY=0,e}return n.__extends(e,t),e.$t=i.markType(e,"AlignLinearGraphLabelEventArgs",m.$),e}(m),_=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._scalePath=null,e._backingPath=null,e._underlayPath=null,e._overlayPath=null,e._scale=null,e._scaleLabels=null,e._scaleTickmarks=null,e._ranges=null,e._toolTip=null,e._name=null,e._viewport=null,e}return n.__extends(e,t),Object.defineProperty(e.prototype,"scalePath",{get:function(){return this._scalePath},set:function(t){this._scalePath=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"backingPath",{get:function(){return this._backingPath},set:function(t){this._backingPath=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"underlayPath",{get:function(){return this._underlayPath},set:function(t){this._underlayPath=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"overlayPath",{get:function(){return this._overlayPath},set:function(t){this._overlayPath=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"scale",{get:function(){return this._scale},set:function(t){this._scale=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"scaleLabels",{get:function(){return this._scaleLabels},set:function(t){this._scaleLabels=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"scaleTickmarks",{get:function(){return this._scaleTickmarks},set:function(t){this._scaleTickmarks=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ranges",{get:function(){return this._ranges},set:function(t){this._ranges=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"toolTip",{get:function(){return this._toolTip},set:function(t){this._toolTip=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t},enumerable:!1,configurable:!0}),e.prototype.scaleByViewport=function(){var t,e,r,a,o,s;if(null!=this.scalePath&&this.scalePath.scaleByViewport(this.viewport),null!=this.backingPath&&this.backingPath.scaleByViewport(this.viewport),null!=this.underlayPath&&this.underlayPath.scaleByViewport(this.viewport),null!=this.overlayPath&&this.overlayPath.scaleByViewport(this.viewport),null!=this.scaleLabels)try{for(var l=n.__values(i.fromEnum(this.scaleLabels)),h=l.next();!h.done;h=l.next()){h.value.scaleByViewport(this.viewport)}}catch(e){t={error:e}}finally{try{h&&!h.done&&(e=l.return)&&e.call(l)}finally{if(t)throw t.error}}if(null!=this.scaleTickmarks)try{for(var u=n.__values(i.fromEnum(this.scaleTickmarks)),c=u.next();!c.done;c=u.next()){var p=c.value;null!=p.tickPath&&p.tickPath.scaleByViewport(this.viewport)}}catch(t){r={error:t}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(r)throw r.error}}if(null!=this.ranges)try{for(var g=n.__values(i.fromEnum(this.ranges)),f=g.next();!f.done;f=g.next()){var y=f.value;null!=y.rangePath&&y.rangePath.scaleByViewport(this.viewport)}}catch(t){o={error:t}}finally{try{f&&!f.done&&(s=g.return)&&s.call(g)}finally{if(o)throw o.error}}},e.prototype.serialize=function(){var t,e,r,a,o,s,l=new i.StringBuilder(0),h=!0;if(l.u("{"),null!=this.scalePath&&(h?h=!1:l.l(", "),l.l("scalePath: "),l.u(this.scalePath.serialize())),null!=this.backingPath&&(h?h=!1:l.l(", "),l.l("backingPath: "),l.u(this.backingPath.serialize())),null!=this.underlayPath&&(h?h=!1:l.l(", "),l.l("underlayPath: "),l.u(this.underlayPath.serialize())),null!=this.overlayPath&&(h?h=!1:l.l(", "),l.l("overlayPath: "),l.u(this.overlayPath.serialize())),null!=this.scaleLabels){h?h=!1:l.l(", ");var u=!0;l.l("scaleLabels: [");try{for(var c=n.__values(i.fromEnum(this.scaleLabels)),p=c.next();!p.done;p=c.next()){var g=p.value;u?u=!1:l.l(", "),l.u(g.serialize())}}catch(e){t={error:e}}finally{try{p&&!p.done&&(e=c.return)&&e.call(c)}finally{if(t)throw t.error}}l.u("]")}if(null!=this.scaleTickmarks){h?h=!1:l.l(", ");var f=!0;l.l("scaleTickmarks: [");try{for(var y=n.__values(i.fromEnum(this.scaleTickmarks)),b=y.next();!b.done;b=y.next()){var d=b.value;f?f=!1:l.l(", "),l.u(d.serialize())}}catch(t){r={error:t}}finally{try{b&&!b.done&&(a=y.return)&&a.call(y)}finally{if(r)throw r.error}}l.u("]")}if(null!=this.ranges){h?h=!1:l.l(", ");var m=!0;l.l("ranges: [");try{for(var v=n.__values(i.fromEnum(this.ranges)),_=v.next();!_.done;_=v.next()){var w=_.value;m?m=!1:l.l(", "),l.u(w.serialize())}}catch(t){o={error:t}}finally{try{_&&!_.done&&(s=v.return)&&s.call(v)}finally{if(o)throw o.error}}l.u("]")}return null!=this.name&&(h?h=!1:l.l(", "),l.l("name: '"),l.l(this.name),l.u("'")),null!=this.toolTip&&(h?h=!1:l.l(", "),l.l("toolTip: "),l.l(this.toolTip.serialize())),h?h=!1:l.l(", "),l.l("viewport: {"),l.l("left: "+this.viewport.left+", top: "+this.viewport.top+", width: "+this.viewport.width+", height: "+this.viewport.height),l.u("}"),l.l("}"),l.toString()},Object.defineProperty(e.prototype,"viewport",{get:function(){return this._viewport},set:function(t){this._viewport=t},enumerable:!1,configurable:!0}),e.$t=i.markType(e,"LinearGraphVisualData"),e}(i.Base),w=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._targetValuePath=null,e._valuePath=null,e._highlightValuePath=null,e._scaleBackgroundPath=null,e._targetValue=null,e._value=null,e._highlightValue=null,e}return n.__extends(e,t),Object.defineProperty(e.prototype,"targetValuePath",{get:function(){return this._targetValuePath},set:function(t){this._targetValuePath=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"valuePath",{get:function(){return this._valuePath},set:function(t){this._valuePath=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"highlightValuePath",{get:function(){return this._highlightValuePath},set:function(t){this._highlightValuePath=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"scaleBackgroundPath",{get:function(){return this._scaleBackgroundPath},set:function(t){this._scaleBackgroundPath=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"targetValue",{get:function(){return this._targetValue},set:function(t){this._targetValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"highlightValue",{get:function(){return this._highlightValue},set:function(t){this._highlightValue=t},enumerable:!1,configurable:!0}),e.prototype.scaleByViewport=function(){t.prototype.scaleByViewport.call(this),null!=this.targetValuePath&&this.targetValuePath.scaleByViewport(this.viewport),null!=this.valuePath&&this.valuePath.scaleByViewport(this.viewport),null!=this.highlightValuePath&&this.highlightValuePath.scaleByViewport(this.viewport),null!=this.scaleBackgroundPath&&this.scaleBackgroundPath.scaleByViewport(this.viewport)},e.prototype.serialize=function(){var e=t.prototype.serialize.call(this),n=new i.StringBuilder(0),r=0==e.length;return null!=this.targetValuePath&&(r?r=!1:n.l(", "),n.l("targetValuePath: "),n.u(this.targetValuePath.serialize())),null!=this.targetValue&&(r?r=!1:n.l(", "),n.l("targetValue: "),n.u(this.targetValue.serialize())),null!=this.valuePath&&(r?r=!1:n.l(", "),n.l("valuePath: "),n.u(this.valuePath.serialize())),null!=this.highlightValuePath&&(r?r=!1:n.l(", "),n.l("highlightValuePath: "),n.u(this.highlightValuePath.serialize())),null!=this.value&&(r?r=!1:n.l(", "),n.l("value: "),n.u(this.value.serialize())),null!=this.highlightValue&&(r?r=!1:n.l(", "),n.l("highlightValue: "),n.u(this.highlightValue.serialize())),null!=this.scaleBackgroundPath&&(r?r=!1:n.l(", "),n.l("scaleBackgroundPath: "),n.u(this.scaleBackgroundPath.serialize())),r?e:(n.l("}"),e.substr(0,e.length-1)+n.toString())},e.$t=i.markType(e,"BulletGraphVisualData",_.$),e}(_),P=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.c=null,e.b=0,e.d=null,e.a=null,e}return n.__extends(e,t),e.$t=i.markType(e,"ToolTipInfo"),e}(i.Base),$=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._labelValue=null,e._labelSize=null,e._labelPosition=null,e._appearance=null,e}return n.__extends(e,t),Object.defineProperty(e.prototype,"labelValue",{get:function(){return this._labelValue},set:function(t){this._labelValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"labelSize",{get:function(){return this._labelSize},set:function(t){this._labelSize=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"labelPosition",{get:function(){return this._labelPosition},set:function(t){this._labelPosition=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"appearance",{get:function(){return this._appearance},set:function(t){this._appearance=t},enumerable:!1,configurable:!0}),e.prototype.scaleByViewport=function(t){this.labelPosition=new i.PointData((this.labelPosition.x-t.left)/t.width,(this.labelPosition.y-t.top)/t.height),this.labelSize=new i.SizeData(this.labelSize.width/t.width,this.labelSize.height/t.height)},e.prototype.serialize=function(){var t="{ labelValue: '"+this.labelValue.toString();return t+="', labelSize: { width: "+this.labelSize.width+", height: "+this.labelSize.height,t+="}, labelPosition: { x: "+this.labelPosition.x+", y: "+this.labelPosition.y,t+="}, appearance: "+this.appearance.serialize()+"}"},e.$t=i.markType(e,"LinearGraphScaleLabelVisualData"),e}(i.Base),x=function(t){function e(){return t.call(this,$.$,0)||this}return n.__extends(e,t),e.$t=i.markType(e,"LinearGraphScaleLabelVisualDataList",i.List$1.$.specialize($.$)),e}(i.List$1),k=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._tickPath=null,e}return n.__extends(e,t),Object.defineProperty(e.prototype,"tickPath",{get:function(){return this._tickPath},set:function(t){this._tickPath=t},enumerable:!1,configurable:!0}),e.prototype.serialize=function(){return"{ tickPath: "+this.tickPath.serialize()+"}"},e.$t=i.markType(e,"LinearGraphScaleTickmarkVisualData"),e}(i.Base),S=function(t){function e(){return t.call(this,k.$,0)||this}return n.__extends(e,t),e.$t=i.markType(e,"LinearGraphScaleTickmarkVisualDataList",i.List$1.$.specialize(k.$)),e}(i.List$1),O=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.$t=i.markType(e,"ToolTipItemVisualData"),e}(i.Base),j=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._rangePath=null,e}return n.__extends(e,t),Object.defineProperty(e.prototype,"rangePath",{get:function(){return this._rangePath},set:function(t){this._rangePath=t},enumerable:!1,configurable:!0}),e.prototype.serialize=function(){return"{ rangePath: "+this.rangePath.serialize()+", type: '"+this.type+"'}"},e.prototype.get_type=function(){return"range"},Object.defineProperty(e.prototype,"type",{get:function(){return this.get_type()},enumerable:!1,configurable:!0}),e.$t=i.markType(e,"LinearGraphRangeVisualData",O.$),e}(O),I=function(t){function e(){return t.call(this,j.$,0)||this}return n.__extends(e,t),e.$t=i.markType(e,"LinearGraphRangeVisualDataList",i.List$1.$.specialize(j.$)),e}(i.List$1),N=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._value=0,e}return n.__extends(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t},enumerable:!1,configurable:!0}),e.prototype.serialize=function(){return"{ value: "+this.value.toString()+", type: '"+this.type+"'}"},e.prototype.get_type=function(){return"value"},Object.defineProperty(e.prototype,"type",{get:function(){return this.get_type()},enumerable:!1,configurable:!0}),e.$t=i.markType(e,"ValueVisualData",O.$),e}(O),T=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._value=0,e}return n.__extends(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t},enumerable:!1,configurable:!0}),e.prototype.serialize=function(){return"{ value: "+this.value.toString()+", type: '"+this.type+"'}"},e.prototype.get_type=function(){return"targetValue"},Object.defineProperty(e.prototype,"type",{get:function(){return this.get_type()},enumerable:!1,configurable:!0}),e.$t=i.markType(e,"BulletGraphTargetValueVisualData",O.$),e}(O),C=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._item=null,e._outline=null,e._itemBrush=null,e._thickness=0,e}return n.__extends(e,t),Object.defineProperty(e.prototype,"item",{get:function(){return this._item},set:function(t){this._item=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"outline",{get:function(){return this._outline},set:function(t){this._outline=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"itemBrush",{get:function(){return this._itemBrush},set:function(t){this._itemBrush=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"thickness",{get:function(){return this._thickness},set:function(t){this._thickness=t},enumerable:!1,configurable:!0}),e.prototype.serialize=function(){var t=new i.StringBuilder(0);return t.l("{ item: "),null!=this.item&&t.l(this.item.serialize()),t.l(", "),t.l("outline: "),t.l(this.outline.serialize()),t.l(", "),t.l("itemBrush: "),t.l(this.itemBrush.serialize()),t.l(", "),t.l("thickness: "),t.l(this.thickness.toString()),t.l("}"),t.toString()},e.$t=i.markType(e,"LinearGraphToolTipVisualData"),e}(i.Base),V=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.propertyChanged=null,e}return n.__extends(e,t),Object.defineProperty(e.prototype,"item",{get:function(){return this.c(e.itemProperty)},set:function(t){this.h(e.itemProperty,t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"itemName",{get:function(){return this.c(e.itemNameProperty)},set:function(t){this.h(e.itemNameProperty,t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"brush",{get:function(){return this.c(e.itemBrushProperty)},set:function(t){this.h(e.itemBrushProperty,t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return this.c(e.labelProperty)},set:function(t){this.h(e.labelProperty,t)},enumerable:!1,configurable:!0}),e.prototype.p=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t))},e.$t=i.markType(e,"LinearGraphTooltipDataContext",i.DependencyObject.$,[i.INotifyPropertyChanged_$type]),e.labelProperty=i.DependencyProperty.i("Label",i.String_$type,e.$,new i.PropertyMetadata(2,null,(function(t,n){return i.typeCast(e.$,t).p("Label",n.oldValue,n.newValue)}))),e.itemProperty=i.DependencyProperty.i("Item",i.Base.$,e.$,new i.PropertyMetadata(2,null,(function(t,n){return i.typeCast(e.$,t).p("Item",n.oldValue,n.newValue)}))),e.itemNameProperty=i.DependencyProperty.i("ItemName",i.Base.$,e.$,new i.PropertyMetadata(2,null,(function(t,n){return i.typeCast(e.$,t).p("ItemName",n.oldValue,n.newValue)}))),e.itemBrushProperty=i.DependencyProperty.i("ItemBrush",i.Brush.$,e.$,new i.PropertyMetadata(2,null,(function(t,n){return i.typeCast(e.$,t).p("ItemBrush",n.oldValue,n.newValue)}))),e.$$p=i.markDep(i.DependencyProperty,i.PropertyMetadata,e,"p",["Outline",[i.Brush.$,null],"Thickness",[1,0]]),e}(i.DependencyObject),M=function(t){function e(){var n=t.call(this)||this;n.propertyChanged=null,n.aw=null,n.bp=0,n.formatLabel=null,n.alignLabel=null,n.an=null,n.am=null,n.al=null,n.ar=null,n.av=null,n.bm=0,n.bl=100,n.a1=0,n.bk=.5,n.ay=1,n.aj=null,n.bd=!1,n.a5=null,n.a3=null,n.a2=null,n.a6=null,n.a4=null,n._view=null,n.ic=null,n.ib=null,n.ia=null,n.bo=NaN,n.bn=1,n.bf=new i.List$1(i.TextBlock.$,0),n.bi=new i.List$1(i.TextBlock.$,0),n.bh=new i.List$1(i.Path.$,0),n.bg=new i.List$1(i.Path.$,0),n.a8=!1,n.bo=NaN,n.bn=1,n.av=new b;var r=n.av;r.propertyChanged=i.delegateCombine(r.propertyChanged,i.runOn(n,n.ft)),n.view=new B(n),n.view.a9(),n.ic=i.Rect.empty,n.ib=i.Rect.empty,n.ia=i.Rect.empty,n.an=new p,n.am=new p,n.al=new p,n.ranges=new d,n.a8=!0,n.aw=new i.DoubleAnimator(0,1,n.c7);var a,o=n.aw;return o.propertyChanged=i.delegateCombine(o.propertyChanged,i.runOn(n,n.e8)),n.ab=e.$,n.a4=((a=new i.StackPool$1(i.Path.$)).b=i.runOn(n.view,n.view.bj),a.c=i.runOn(n.view,n.view.bk),a.d=i.runOn(n.view,n.view.bl),a.j=i.runOn(n.view,n.view.cs),a),n.a5=function(){var t=new i.StackPool$1(i.Path.$);return t.b=i.runOn(n.view,n.view.bc),t.c=i.runOn(n.view,n.view.bd),t.d=i.runOn(n.view,n.view.be),t.j=i.runOn(n.view,n.view.cr),t}(),n.a3=function(){var t=new i.StackPool$1(i.Path.$);return t.b=i.runOn(n.view,n.view.bc),t.c=i.runOn(n.view,n.view.bd),t.d=i.runOn(n.view,n.view.be),t.j=i.runOn(n.view,n.view.cr),t}(),n.a2=function(){var t=new i.StackPool$1(i.TextBlock.$);return t.b=i.runOn(n.view,n.view.a1),t.c=i.runOn(n.view,n.view.a2),t.d=i.runOn(n.view,n.view.a3),t.j=i.runOn(n.view,n.view.b0),t}(),n.a6=function(){var t=new i.StackPool$1(i.TextBlock.$);return t.b=i.runOn(n.view,n.view.bt),t.c=i.runOn(n.view,n.view.bu),t.d=i.runOn(n.view,n.view.bv),t.j=i.runOn(n.view,n.view.b1),t}(),n}return n.__extends(e,t),e.prototype.fk=function(t){this.fr(t)},e.prototype.fr=function(t){var e=this.propertyChanged;null!=e&&e(this,new i.PropertyChangedEventArgs(t))},e.prototype.onDetachedFromUI=function(){this.view.a8()},e.prototype.onAttachedToUI=function(){this.view.a4()},e.prototype.e8=function(t,e){this.cz=this.aw.o},Object.defineProperty(e.prototype,"a7",{get:function(){return this.aw.f()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cz",{get:function(){return this.bp},set:function(t){var e=this.bp;this.bp=t,this.fj("TransitionProgress",e,this.bp)},enumerable:!1,configurable:!0}),e.prototype.f4=function(){this.bp=0,this.aw.w(),this.aw.v()},Object.defineProperty(e.prototype,"bc",{get:function(){return this.c7>0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"h2",{get:function(){return this.c(e.g4)},set:function(t){this.h(e.g4,t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"h3",{get:function(){return this.c(e.g5)},set:function(t){this.h(e.g5,t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ch",{get:function(){return this.c(e.g6)},set:function(t){this.h(e.g6,t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"bs",{get:function(){return this.bm},set:function(t){this.bm=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"br",{get:function(){return this.bl},set:function(t){this.bl=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"bq",{get:function(){return this.bk},set:function(t){var e=this.bk;this.bk=t,e!=this.bk&&this.fj("ActualHighlightValueOpacity",e,t)},enumerable:!1,configurable:!0}),e.prototype.f7=function(){this.bq=i.isNaN_(this.b0)?.5:Math.max(0,Math.min(this.b0,1))},Object.defineProperty(e.prototype,"az",{get:function(){return this.ay},set:function(t){this.ay=t},enumerable:!1,configurable:!0}),e.prototype.f6=function(){1!=this.a0?i.isNaN_(this.bz)||i.isInfinity(this.bz)?this.az=1:this.az=2:this.az=1},e.prototype.fd=function(){this.a1=0,this.view.cm().an=null},e.prototype.by=function(t){var e=0,i=t.x;return 1==this.as&&(e=t.y,i=this.ig.height),this.ar.k(i-e)},e.prototype.at=function(){var t,e=this,n=new w;n.viewport=new i.RectData(this.ig.left,this.ig.top,this.ig.width,this.ig.height),n.scaleLabels=new x,n.scaleTickmarks=new S,n.ranges=new I,n.value=((t=new N).value=e.c0,t),n.highlightValue=function(){var t=new N;return t.value=e.bz,t}(),n.targetValue=function(){var t=new T;return t.value=e.cn,t}(),this.view.aw(n);var r=this.view.l();if(null!=r){var a;switch(r.c){case"range":a=n.ranges._inner[r.b];break;case"value":a=n.value;break;default:a=n.targetValue}n.toolTip=function(){var t=new C;return t.item=a,t.itemBrush=i.AppearanceHelper.b(r.a.brush),t.outline=i.AppearanceHelper.b(r.a.outline),t.thickness=r.a.thickness,t}()}return n},e.prototype.dg=function(){var t=this.at();return t.scaleByViewport(),t.serialize()},e.prototype.destroy=function(){this.provideContainer(null)},e.prototype.provideContainer=function(t){this.view.a6(t)},e.prototype.onMouseOver=function(t,e,i){this.bd&&this.f3(t,null)},e.prototype.onMouseLeave=function(){this.bd&&this.f3({$type:i.Point_$type,x:-1e4,y:-1e4},null)},e.prototype.containerResized=function(){this.view.a7()},e.prototype.f5=function(){this.view.bs()},e.prototype.fc=function(){this.view.flush()},e.prototype.bj=function(t){for(var e=new i.List$1(i.Point_$type,0),n=0;n<t.count;n++)e.add({$type:i.Point_$type,x:t._inner[n].x,y:t._inner[n].y});return e},e.prototype.f3=function(t,e){var n=new i.PathVisualData(1,"targetValue",this.view.cp()).getPoints(new i.GetPointsSettings);if(n.count>0&&1==i.PolygonUtil.b(this.bj(n._inner[0]),t))return void this.view.br(t,e,-1,"targetvalue");var r=new i.PathVisualData(1,"value",this.view.cq()).getPoints(new i.GetPointsSettings);if(r.count>0&&1==i.PolygonUtil.b(this.bj(r._inner[0]),t))return void this.view.br(t,e,-1,"value");for(var a=0;a<this.bg.count;a++){var o=new i.PathVisualData(1,"range",this.bg._inner[a]).getPoints(new i.GetPointsSettings);if(o.count>0)if(1==i.PolygonUtil.b(this.bj(o._inner[0]),t))return void this.view.br(t,e,a,"range")}this.view.az()},e.prototype.fw=function(){if(this.a8){var t=this.am.c;if(0==this.as){for(var e=0,n=0;n<t.c.length;n++)e=Math.max(e,t.c[n]);var r=this.ig.height>=e?this.ig.height-e:this.ig.height;this.ie=new i.Rect(0,0,0,this.ig.width,r)}else{for(var a=0,o=0;o<t.f.length;o++)a=Math.max(a,t.f[o]);var s=this.ig.width>=a?this.ig.width-a:this.ig.width;this.ie=new i.Rect(0,a,0,s,this.ig.height)}}},Object.defineProperty(e.prototype,"view",{get:function(){return this._view},set:function(t){this._view=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ig",{get:function(){return this.ic},set:function(t){var e=this.ic;this.ic=t,e.equals1(this.ic)||this.fl(e,this.ic)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ie",{get:function(){return this.ib},set:function(t){this.ib=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this.ia},set:function(t){this.ia=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ce",{get:function(){return this.bo},set:function(t){var e=this.bo;this.bo=t,this.fj("PixelScalingRatio",e,this.bo)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"bt",{get:function(){return this.bn},set:function(t){var e=this.bn;this.bn=t,this.fj("ActualPixelScalingRatio",e,this.bn)},enumerable:!1,configurable:!0}),e.prototype.ba=function(){return!i.isNaN_(this.bs)&&!i.isNaN_(this.br)&&!this.ig.isEmpty&&this.view.s()},e.prototype.e9=function(){if(this.ba()){var t=this.cl();if(this.ar=new g(this.bs,this.br,t,t+this.ck(),this.a9),this.a8)if(this.a7){this.aw.g&&this.aw.t();var e=this.an;this.an=this.al,this.al=e}else{var i=this.an;this.an=this.am,this.am=i}else this.a7&&(this.al.d(this.cz,this.an,this.am),this.fx(this.al),this.fz(this.al),this.f0(this.al),this.f2(this.al));if(this.a8){if(this.fn(),this.fw(),1==this.a1)this.a1=2,this.an.c.af=this.aq(this.c0,!0,!1);else if(4==this.a1){if(this.c7>0)this.a1=5,this.am.c.af=this.aq(this.c0,!0,!1);else this.fd()}this.fp(),this.fq(),this.fo(),this.fm()}this.a8&&this.bc?(this.f4(),this.al.d(this.cz,this.an,this.am),this.fx(this.al),this.fz(this.al),this.f0(this.al),this.f2(this.al),this.f1(this.al),this.fy(this.al)):this.a8&&(this.fx(this.am),this.fz(this.am),this.f0(this.am),this.f2(this.am),this.f1(this.am),this.fy(this.am)),this.a8=!1,this.view.as()}},e.prototype.fo=function(){var t=this.am.c,e=this.ar,n=this.b8;this.ie;i.isNaN_(n)&&(n=3),t.u=this.cm,t.r=this.cj,t.s=0,t.t=1,t.m.clear();for(var r=0;r<this.ranges.count;r++){var a=this.ranges._inner[r];if(!(a.j<=this.bs||a.o>this.br)){var s=a.o,l=a.j;s<this.bs&&(s=this.bs),l>this.br&&(l=this.br);var h=new o;h.i=null!=a.an?a.an:this.h0(r,this.ah),h.j=null!=a.ao?a.ao:this.h0(r,this.ai),h.h=a.p,h.g=e.i(s),h.d=e.i(l),h.e=a.l,h.b=a.k,h.f=a.n,h.c=a.m,i.isNaN_(h.e)&&(h.e=this.cf),h.b=a.k,i.isNaN_(h.b)&&(h.b=this.cf),h.f=a.n,i.isNaN_(h.f)&&(h.f=this.cg),h.c=a.m,i.isNaN_(h.c)&&(h.c=this.cg),t.m.add(h)}}t.l.i=this.h2,t.l.j=this.h3,t.l.h=this.ch,t.l.g=e.i(this.bs),t.l.d=e.i(this.br),t.l.e=this.cf,t.l.b=this.cf,t.l.f=this.cg,t.l.c=this.cg,t.ab=this.hz,t.ad=this.h6,t.x=this.cy,t.w=this.cw,t.v=this.cs,t.ac=this.h1,t.q=this.cd,t.p=this.cb,t.o=this.b9;var u=this.b1;i.isNaN_(u)&&(u=(this.br-this.bs)/10),0==u&&(u=this.br-this.bs);var c=new i.List$1(i.Number_$type,0),p=new i.List$1(i.Number_$type,0);if(u>0){var g=this.bs+this.cu,f=this.br-this.cv;if(u>=Math.abs(f-g)/1e5)for(var y=g;y<=f||this.be(y,f,u);y+=u){c.add(e.i(y));for(var b=0;b<n;b++){var d=u/(n+1)*(b+1);d+y>f||p.add(e.i(d+y))}}}t.j.length==c.count&&t.i.length==p.count||(t.j=new Array(c.count),t.i=new Array(p.count));for(var m=0;m<c.count;m++)t.j[m]=c._inner[m];for(var v=0;v<p.count;v++)t.i[v]=p._inner[v]},e.prototype.ih=function(){var t=this.b1,e=this.b3;i.isNaN_(t)&&(t=(this.br-this.bs)/10),i.isNaN_(e)&&(e=t),0==e&&(e=this.br-this.bs);var n=new i.List$1(i.Number_$type,0);if(e>0){var r=this.b4+this.bs,a=this.br-this.b5;if(e>=Math.abs(a-r)/1e5)for(var o=r;o<=a||this.be(o,a,t);o+=e)n.add(o)}for(var s=new Array(n.count),l=new Array(n.count),h=function(t){var e=n._inner[t];null==u.formatLabel&&null==u.aj&&(e=Math.round(100*e)/100);var r=e.toString();null!=u.aj&&(r=u.aj.i(e));var a=new m;a.value=e,a.label=r,null!=u.formatLabel&&u.formatLabel(u,a),r=a.label;var o,h=u.view.ct(((o=new i.TextBlock).al=r,o));s[t]=h.width,l[t]=h.height},u=this,c=0;c<n.count;c++)h(c);var p=0,g=0,f=1-this.cj+this.cm;if(0==this.as){for(var y=0;y<l.length;y++)g=Math.max(g,l[y]);for(var b=0;b<s.length;b++)p+=s[b];s.length>0&&(p+=s[0]/2),s.length>1&&(p+=s[s.length-1]/2),s.length>0&&(p+=5*(s.length-1)),f>0&&(p/=Math.abs(1-f))}else{for(var d=0;d<s.length;d++)p=Math.max(p,s[d]);for(var v=0;v<l.length;v++)g+=l[v];l.length>0&&(g-=l[0]/2),l.length>1&&(g-=l[l.length-1]/2),f>0&&(g/=Math.abs(1-f)),l.length>0&&(g+=5*(l.length-1))}return new i.Size(1,p,g)},e.prototype.fn=function(){var t=this.am.c,e=this.ar,n=this.b1,r=this.b3;this.b8;i.isNaN_(n)&&(n=(this.br-this.bs)/10),i.isNaN_(r)&&(r=n),0==r&&(r=this.br-this.bs);var a=new i.List$1(i.Tuple$2.$.specialize(i.Number_$type,i.Number_$type),0);if(r>0){var o=this.b4+this.bs,s=this.br-this.b5;if(r>=Math.abs(s-o)/1e5)for(var l=o;l<=s||this.be(l,s,r);l+=r)a.add(new i.Tuple$2(i.Number_$type,i.Number_$type,l,e.i(l)))}t.d.length!=a.count&&(t.e=new Array(a.count),t.d=new Array(a.count),t.f=new Array(a.count),t.c=new Array(a.count),t.g=new Array(a.count),t.h=new Array(a.count)),t.n=this.b2;var h=new m;h.actualMinimumValue=this.bs,h.actualMaximumValue=this.br;var u=new v;u.actualMinimumValue=this.bs,u.actualMaximumValue=this.br;for(var c=function(e){var n=a._inner[e].c;null==p.formatLabel&&(n=Math.round(100*n)/100);var r=n.toString();null!=p.aj&&(r=p.aj.i(n)),h.value=n,u.value=n,h.label=r,null!=p.formatLabel&&p.formatLabel(p,h),r=h.label,u.label=r;var o,s=p.view.ct(((o=new i.TextBlock).al=r,o));u.width=s.width,u.height=s.height,0==p.as?(u.offsetX=s.width/2*-1,u.offsetY=-1*s.height):(u.offsetX=-1*s.width,u.offsetY=s.height/2*-1),null!=p.alignLabel&&p.alignLabel(p,u),t.f[e]=u.width,t.c[e]=u.height,t.g[e]=u.offsetX,t.h[e]=u.offsetY,t.d[e]=r,t.e[e]=a._inner[e].d},p=this,g=0;g<a.count;g++)c(g)},e.prototype.be=function(t,e,n){var r=n/1e4;return i.isNaN_(r)&&(r=1e-5),Math.abs(t-e)<r},e.prototype.fm=function(){var t=this.am.a;t.e=this.hx,t.f=this.hy,t.c=this.bw,t.a=this.bu,t.b=this.bv},e.prototype.fp=function(){var t=this.am.b,e=this.ar;if(t.e=this.cp,t.b=this.cp,t.f=this.cq,t.c=this.cq,t.i=this.h4,t.j=this.h5,t.h=this.cr,!i.isNaN_(this.cn)){var n=e.i(this.cn),r=this.co/2;t.g=n-r,t.d=n+r}},e.prototype.fq=function(){var t=this.am.c,e=this.c0;if(!i.isNaN_(e)){var n=!(0==this.a1||5==this.a1);t.ag=this.aq(e,!1,n);var r=this.bz;n&&!i.isNaN_(r)&&(t.af=this.aq(r,!0,!1))}},e.prototype.aq=function(t,e,n){var r=this.ar,a=this.bs;i.isNaN_(a)&&(a=this.bs);var s=t,l=new o,h=this.h7,u=this.h8;return n&&(h=i.BrushUtil.s(h,this.bq),u=i.BrushUtil.s(u,this.bq)),l.i=h,l.j=u,l.h=this.c3,l.g=r.i(a),l.d=r.i(s),l.e=this.c1,l.b=this.c1,l.f=this.c2,l.c=this.c2,l},e.prototype.h0=function(t,e){return null!=e&&e.count>0?e.item(t%e.count):null},e.prototype.f1=function(t){var e=this.ie,n=t.c,r=this.a5,a=n.j,o=n.w,s=n.v,l=n.ad,h=n.x,u=(this.a3,n.i),c=n.p,p=n.o,g=n.ac,f=n.q;r.f=!0;for(var y=0;y<this.bh.count;y++)r.n(this.bh._inner[y]);this.bh.clear();for(var b=this.ci(),d=this.c5(),m=function(t){var n,u,c=void 0,p=void 0;1==v.as?(c=e.left+b*o,p=d-a[t],n=e.left+b*s,u=p):(c=e.left+a[t],p=b*(1-o),n=c,u=b*(1-s));var g,f=r.a(),y=new i.PathGeometry,m=new i.PathFigure;m._startPoint={$type:i.Point_$type,x:c,y:p},m._segments.add(((g=new i.LineSegment(1)).c={$type:i.Point_$type,x:n,y:u},g)),y.c.add(m),f.an=y,f._stroke=l,f.ad=h,v.bh.add(f)},v=this,_=0;_<a.length;_++)m(_);for(var w=function(t){var n,a,o=void 0,s=void 0;1==P.as?(o=e.left+b*c,s=d-u[t],n=e.left+b*p,a=s):(o=u[t],s=b*(1-c),n=o,a=b*(1-p));var l,h=r.a(),y=new i.PathGeometry,m=new i.PathFigure;m._startPoint={$type:i.Point_$type,x:o,y:s},m._segments.add(((l=new i.LineSegment(1)).c={$type:i.Point_$type,x:n,y:a},l)),y.c.add(m),h.an=y,h._stroke=g,h.ad=f,P.bh.add(h)},P=this,$=0;$<u.length;$++)w($);r.f=!1},e.prototype.fy=function(t){var e=this.ie,i=t.c,n=i.e,r=i.d,a=i.g,o=i.h,s=i.f,l=i.c,h=i.n,u=this.a2;u.f=!0;for(var c=0;c<this.bf.count;c++)u.n(this.bf._inner[c]);this.bf.clear();for(var p=i.ab,g=this.c4(),f=this.c5(),y=0;y<r.length;y++){var b=void 0,d=void 0;1==this.as?(b=e.left+g*h,d=e.top+f-n[y]):(b=e.left+n[y],d=e.top+g*(1-h));var m=u.a();m.al=r[y],this.view.bq(m,p);s[y],l[y];var v=a[y],_=o[y];this.view.bh(m,b+v,d+_),this.bf.add(m)}u.f=!1},e.prototype.fz=function(t){var e=t.c,i=this.a4;i.f=!0;for(var n=0;n<this.bg.count;n++)i.n(this.bg._inner[n]);this.bg.clear();var r=this.ci(),a=this.c5(),o=this.h9();this.view.co().an=e.ae(o,r,a,this.as);for(var s=0;s<e.m.count;s++){var l=e.m._inner[s],h=i.a();h.an=l.k(o,r,a,this.as),h._fill=l.i,h._stroke=l.j,h.ad=l.h,this.bg.add(h)}this.view.bp(this.bg),i.f=!1;var u=this.view.cn();u.an=e.l.k(o,r,a,this.as),u._fill=e.l.i,u._stroke=e.l.j,u.ad=e.l.h},e.prototype.fx=function(t){var e=this.id,i=this.view.cl(),n=t.a,r=0==this.as?e.height:e.width,a=0==this.as?e.width:e.height,o=n.g(r,a,this.as);i.an=o,i._fill=n.e,i._stroke=n.f,i.ad=n.c},e.prototype.f0=function(t){var e=this.view.cp();if(i.isNaN_(this.cn)||this.cn<this.bs||this.cn>this.br)e.an=null;else{var n=t.b,r=this.ci(),a=this.c5(),o=this.h9(),s=n.k(o,r,a,this.as);e.an=s,e._fill=n.i,e._stroke=n.j,e.ad=n.h}},e.prototype.f2=function(t){var e=this.view.cq(),n=this.view.cm(),r=this.c0;if(r<=this.bs||r>this.br||i.isNaN_(r))return e.an=null,void(n.an=null);var a=this.bz,o=0!=this.a1;(!o||a<=this.bs||a>this.br||i.isNaN_(a))&&(n.an=null,o=!1);var s=t.c,l=this.ci(),h=this.c5(),u=this.h9(),c=s.ag;if(e.an=c.k(u,l,h,this.as),e._fill=c.i,e._stroke=c.j,e.ad=c.h,o){var p=s.af;n.an=p.k(u,l,h,this.as),n._fill=p.i,n._stroke=p.j,n.ad=p.h}},e.prototype.fl=function(t,e){this.a8=!0,this.view.bo()},e.prototype.fg=function(t,e){this.a8=!0,this.view.bo()},e.prototype.ci=function(){return 0==this.as?this.bb?this.ig.height:this.ie.height:this.bb?this.ig.width:this.ie.width},e.prototype.ck=function(){return 0==this.as?this.ig.width*(this.cj-this.cm):this.ig.height*(this.cj-this.cm)},e.prototype.c4=function(){return 0==this.as?this.ig.height:this.ig.width},e.prototype.c5=function(){return 0==this.as?this.ig.width:this.ig.height},e.prototype.cl=function(){var t=this.cm;return 0==this.as?(this.a9&&(t=1-this.cj),this.ig.left+this.ig.width*t):(this.a9&&(t=1-this.cj),this.ig.top+this.ig.height*t)},e.prototype.h9=function(){var t=this.ie.left;this.bb&&(t=0);var e=this.cm;return 0==this.as?(this.a9&&(e=1-this.cj),{$type:i.Point_$type,x:t+this.ie.width*e,y:this.ie.top}):(this.a9||(e=1-this.cj),{$type:i.Point_$type,x:t,y:this.ie.top+this.ie.height*e})},e.prototype.fj=function(t,n,r){switch(t){case e.$$p[51]:case e.$$p[36]:case e.$$p[40]:case e.$$p[0]:case e.$$p[3]:case e.$$p[55]:case e.$$p[43]:case e.$$p[21]:this.view.a5(t,n,r);break;case e.$$p[27]:this.view.ba(n,r);break;case e.$$p[30]:this.view.bb(n,r)}switch(t){case e.$$p[13]:case e.$$p[14]:null!=this.dr?(this.aj=new i.BindingFormatter,this.aj.j=this.dr,this.aj.d=this.ag):this.aj=null,this.a8=!0,this.view.bo();break;case e.$$p[50]:this.aw.r=this.c7,this.view.bo();break;case"TransitionProgress":if(this.cz>=1){this.aw.w();var a=this.am;if(this.am=this.an,this.an=a,this.fn(),this.fp(),this.fq(),this.fo(),this.fm(),this.fx(this.am),this.fz(this.am),this.f0(this.am),this.f2(this.am),this.f1(this.am),this.fy(this.am),5==this.a1)return this.fd(),void this.view.bo();2==this.a1&&(this.a1=3)}this.al.d(this.cz,this.an,this.am),this.fx(this.al),this.fz(this.al),this.f0(this.al),this.f2(this.al),this.f1(this.al),this.fy(this.al),this.view.as();break;case e.$$p[56]:case e.$$p[52]:case e.$$p[54]:case e.$$p[51]:case e.$$p[55]:case e.$$p[57]:case e.$$p[36]:case e.$$p[40]:case e.$$p[42]:case e.$$p[35]:case e.$$p[37]:case e.$$p[39]:case e.$$p[0]:case e.$$p[3]:case e.$$p[43]:case e.$$p[21]:case e.$$p[27]:case e.$$p[30]:case e.$$p[19]:case e.$$p[41]:case e.$$p[38]:case e.$$p[28]:case e.$$p[29]:case e.$$p[4]:case e.$$p[1]:case e.$$p[2]:case e.$$p[10]:case e.$$p[15]:case e.$$p[12]:case e.$$p[16]:case e.$$p[17]:case e.$$p[47]:case e.$$p[48]:case e.$$p[45]:case e.$$p[44]:case e.$$p[46]:case e.$$p[24]:case e.$$p[23]:case e.$$p[22]:case e.$$p[25]:case"ScaleBackgroundBrush":case"ScaleBackgroundOutline":case"ScaleBackgroundThickness":this.a8=!0,this.view.bo();break;case e.$$p[31]:var o=r;if(null!=n){var s=n;s.collectionChanged=i.delegateRemove(s.collectionChanged,i.runOn(this,this.fu))}if(null!=o){var l=o;l.collectionChanged=i.delegateCombine(l.collectionChanged,i.runOn(this,this.fu))}this.a8=!0,this.view.bo();break;case e.$$p[26]:case e.$$p[11]:case e.$$p[20]:case e.$$p[18]:case e.$$p[32]:case e.$$p[33]:this.bs=Math.min(this.b7,this.b6),this.br=Math.max(this.b7,this.b6);var h=this.cl();this.ar=new g(this.bs,this.br,h,h+this.ck(),this.a9),this.a8=!0,this.view.bo();break;case e.$$p[5]:case e.$$p[6]:this.view.by(),this.a8=!0,this.view.bo();break;case"PixelScalingRatio":i.isNaN_(i.DeviceUtils.a(this.ce))?this.bt=1:this.bt=i.DeviceUtils.a(this.ce);break;case"ActualPixelScalingRatio":this.view.bf();break;case e.$$p[9]:var u=2==this.az;this.f6();var c=2==this.az;this.a8=!0,!u&&c?this.a1=1:u&&!c&&(this.a1=4),this.view.bo();break;case e.$$p[7]:var p=2==this.az;this.f6();var f=2==this.az;this.a8=!0,!p&&f?this.a1=1:p&&!f&&(this.a1=4),this.view.bo();break;case e.$$p[8]:this.f7();break;case"ActualHighlightValueOpacity":this.a8=!0,this.view.bo()}this.fk(t)},e.prototype.fu=function(t,e){var r,a,o,s;if(null!=e.oldItems)try{for(var l=n.__values(i.fromEn(e.oldItems)),h=l.next();!h.done;h=l.next()){var u=h.value;u.propertyChanged=i.delegateRemove(u.propertyChanged,i.runOn(this,this.ft))}}catch(t){r={error:t}}finally{try{h&&!h.done&&(a=l.return)&&a.call(l)}finally{if(r)throw r.error}}if(null!=e.newItems)try{for(var c=n.__values(i.fromEn(e.newItems)),p=c.next();!p.done;p=c.next()){var g=p.value;g.propertyChanged=i.delegateCombine(g.propertyChanged,i.runOn(this,this.ft))}}catch(t){o={error:t}}finally{try{p&&!p.done&&(s=c.return)&&s.call(c)}finally{if(o)throw o.error}}this.a8=!0,this.view.bo()},e.prototype.ft=function(t,e){this.a8=!0,this.view.bo()},e.prototype.refresh=function(){this.a8=!0,this.view.bo()},e.prototype.ax=function(){return i.FontUtil.toFontInfo(this.view.ag,this.dh)},e.$t=i.markType(e,"XamBulletGraph",i.Control.$,[i.INotifyPropertyChanged_$type]),e.g4=i.DependencyProperty.i("ScaleBackgroundBrush",i.Brush.$,e.$,new i.PropertyMetadata(2,null,(function(t,e){return t.fj("ScaleBackgroundBrush",e.oldValue,e.newValue)}))),e.g5=i.DependencyProperty.i("ScaleBackgroundOutline",i.Brush.$,e.$,new i.PropertyMetadata(2,null,(function(t,e){return t.fj("ScaleBackgroundOutline",e.oldValue,e.newValue)}))),e.g6=i.DependencyProperty.i("ScaleBackgroundThickness",i.Number_$type,e.$,new i.PropertyMetadata(2,1,(function(t,e){return t.fj("ScaleBackgroundThickness",e.oldValue,e.newValue)}))),e.$$p=i.markDep(i.DependencyProperty,i.PropertyMetadata,e,"fj",["BackingBrush:hx:f8",[i.Brush.$,null],"BackingInnerExtent:bu:f9",[1,0],"BackingOuterExtent:bv:ga",[1,1],"BackingOutline:hy:gb",[i.Brush.$,null],"BackingStrokeThickness:bw:gc",[1,2],"FontBrush:hz:gd",[i.Brush.$,null],"Font:dh:ge",[2,null],"HighlightValueDisplayMode:a0:gf",[i.HighlightedValueDisplayMode_$type,i.enumGetBox(i.HighlightedValueDisplayMode_$type,0)],"HighlightValueOpacity:b0:gg",[1,.5],"HighlightValue:bz:gh",[1,NaN],"Interval:b1:gi",[1,NaN],"IsScaleInverted:a9:gj",[0,!1],"LabelExtent:b2:gk",[1,0],"LabelFormat:dr:gl",[2,null],"LabelFormatSpecifiers:ag:gm",[i.Array_$type,null],"LabelInterval:b3:gn",[1,NaN],"LabelsPostInitial:b4:go",[1,0],"LabelsPreTerminal:b5:gp",[1,0],"MaximumValue:b6:gq",[1,100],"MergeViewports:bb:gr",[0,!1],"MinimumValue:b7:gs",[1,0],"MinorTickBrush:h1:gt",[i.Brush.$,null],"MinorTickCount:b8:gu",[1,3],"MinorTickEndExtent:b9:gv",[1,.2],"MinorTickStartExtent:cb:gw",[1,.1],"MinorTickStrokeThickness:cd:gx",[1,1],"Orientation:as:gy",[y,i.enumGetBox(y,0)],"RangeBrushes:ah:gz",[i.BrushCollection.$,null],"RangeInnerExtent:cf:g0",[1,.2],"RangeOuterExtent:cg:g1",[1,.95],"RangeOutlines:ai:g2",[i.BrushCollection.$,null],"Ranges::g3",[d.$,null],"ScaleEndExtent:cj:g7",[1,.95],"ScaleStartExtent:cm:g8",[1,.05],"ShowToolTipTimeout:c6:g9",[1,500],"TargetValueBreadth:co:ha",[1,3],"TargetValueBrush:h4:hb",[i.Brush.$,null],"TargetValueInnerExtent:cp:hc",[1,.3],"TargetValueName:el:hd",[2,null],"TargetValueOuterExtent:cq:he",[1,.85],"TargetValueOutline:h5:hf",[i.Brush.$,null],"TargetValue:cn:hg",[1,NaN],"TargetValueStrokeThickness:cr:hh",[1,1],"TickBrush:h6:hi",[i.Brush.$,null],"TickEndExtent:cs:hj",[1,.2],"TickStartExtent:cw:hm",[1,.06],"TickStrokeThickness:cy:hn",[1,2],"TicksPostInitial:cu:hk",[1,0],"TicksPreTerminal:cv:hl",[1,0],"ToolTip::ho",[4,null],"TransitionDuration:c7:hp",[1,0],"ValueBrush:h7:hq",[i.Brush.$,null],"ValueInnerExtent:c1:hr",[1,.5],"ValueName:e2:hs",[2,null],"ValueOuterExtent:c2:ht",[1,.65],"ValueOutline:h8:hu",[i.Brush.$,null],"Value:c0:hv",[1,NaN],"ValueStrokeThickness:c3:hw",[1,1]]),e}(i.Control),B=function(t){function e(e){var n,r=t.call(this)||this;return r.ao=0,r.an=0,r.ap=0,r.m=null,r.i=null,r.ai=null,r.p=null,r.ag=null,r.aa=null,r.z=null,r.y=null,r.ab=null,r.ck=null,r.cg=null,r.cj=null,r.ci=null,r.cf=null,r.ch=null,r.b7=null,r.b8=null,r.b4=null,r.b5=null,r.b9=null,r.ca=null,r.b6=null,r.c=null,r.d=null,r.e=null,r.f=null,r.cb=null,r.cc=null,r.q=!1,r.v=null,r.a=["value","targetvalue","backing","scale","tick","minortick","label"],r.u=!1,r.t=!1,r.ah=null,r.k=null,r.aj=0,r.al=0,r.aq=null,r.am=-1,r.cd=null,r.ak=0,r.x=null,r.b3=((n=new i.Brush).fill="black",n),r.r=!1,r.n=null,r.b2=null,r.ac=0,r.m=e,r.v=new i.Dictionary$2(i.String_$type,i.Dictionary$2.$.specialize(i.String_$type,i.Brush.$),0),r.cj=new i.Path,r.ck=new i.Path,r.cg=new i.Path,r.ci=new i.Path,r.cf=new i.Path,r.ch=new i.Path,r.aa=new i.List$1(i.Path.$,0),r.z=new i.List$1(i.Path.$,0),r.y=new i.List$1(i.TextBlock.$,0),r.ab=new i.List$1(i.TextBlock.$,0),r}return n.__extends(e,t),e.prototype.a4=function(){this.a0(),null!=this.i&&this.i.at(this.ag.rootWrapper,"")},e.prototype.a8=function(){null!=this.i&&null!=this.ag&&this.i.bh(this.ag.rootWrapper,"")},e.prototype.a9=function(){this.k=new V,this.ak=this.m.c6,this.a0()},e.prototype.a0=function(){var t=this.m.ce,e=this.m.bt;(i.isNaN_(t)||0==t)&&null!=window.devicePixelRatio&&window.devicePixelRatio!=e&&(this.m.bt=window.devicePixelRatio)},e.prototype.s=function(){return!0},e.prototype.cp=function(){return this.cj},e.prototype.cq=function(){return this.ck},e.prototype.cm=function(){return this.cg},e.prototype.co=function(){return this.ci},e.prototype.cl=function(){return this.cf},e.prototype.cn=function(){return this.ch},e.prototype.ay=function(){this.q=!0;var t,n=["#778899","black","#EBEDEF","#617583","#617583","rgba(100,107,114,.74)","rgba(100,107,114,.74)"],r=["#778899","black","#B2B9C0","#B2B9C0",null,null,null];(t=new i.List$1(i.Array_$type,0)).add(n),t.add(r);this.v.clear();for(var a=this.a.length,o=function(t){var a,o,l=s.a[t],h="ui-bulletgraph-"+l,u="ui-bulletgraph-"+l+"-fill",c="ui-bulletgraph-"+l+"-outline";(function(){var t=e.w.tryGetValue(u,a);return a=t.p1,t.ret})()||(a=i.BrushUtil.m(u,h,"background-color",s.ag,n[t]),e.w.addItem(u,a)),function(){var t=e.w.tryGetValue(c,o);return o=t.p1,t.ret}()||(o=i.BrushUtil.m(c,h,"border-top-color",s.ag,r[t]),e.w.addItem(c,o));var p=new i.Dictionary$2(i.String_$type,i.Brush.$,0);p.item("fill",a),p.item("outline",o),s.v.item(s.a[t],p)},s=this,l=0;l<a;l++)o(l);if(this.bx(),null==e.g||null==e.h){var h=i.BrushUtil.i("ui-bulletgraph-range-fill-palette-","ui-bulletgraph-range-outline-palette-","ui-bulletgraph-range-palette-",this.ag,e.g,e.h,["#216E99","#216E99","#44acd6","#44acd6","#cecece","#cecece"]);e.g=h.p4,e.h=h.p5}this.c=e.g,this.d=e.h,null==this.e&&(this.m.ah=this.c),null==this.f&&(this.m.ai=this.d),this.q=!1},e.prototype.bx=function(){this.q=!0;for(var t=this.a.length,e=0;e<t;e++){var i=this.a[e];this.bw(i,this.v.item(i))}this.q=!1},e.prototype.bw=function(t,e){var i=e.item("fill"),n=e.item("outline");switch(t){case"targetvalue":null==this.b7&&(this.m.h4=i),null==this.b8&&(this.m.h5=n);break;case"value":null==this.cb&&(this.m.h7=i),null==this.cc&&(this.m.h8=n);break;case"backing":null==this.b4&&(this.m.hx=i),null==this.b5&&(this.m.hy=n);break;case"tick":null==this.ca&&(this.m.h6=i);break;case"minortick":null==this.b6&&(this.m.h1=i);break;case"label":this.b3=i}},e.prototype.a5=function(t,e,i){var n=i;if(!this.q){switch(t){case M.$$p[36]:this.b7=n;break;case M.$$p[40]:this.b8=n;break;case M.$$p[0]:this.b4=n;break;case M.$$p[3]:this.b5=n;break;case M.$$p[51]:this.cb=n;break;case M.$$p[55]:this.cc=n;break;case M.$$p[43]:this.ca=n;break;case M.$$p[21]:this.b6=n}null==n&&this.bx()}},e.prototype.ba=function(t,e){this.q||(this.e=e,null==this.e&&(this.m.ah=this.c))},e.prototype.bb=function(t,e){this.q||(this.f=e,null==this.f&&(this.m.ai=this.d))},e.prototype.b=function(t,e){this.ag.startCSSQuery();for(var i=0;i<e.length;i++)e[i]=this.ag.getCssDefaultPropertyValue(t,e[i]);return this.ag.endCSSQuery(),e},e.prototype.bs=function(){this.ay(),this.by(),this.bo()},e.prototype.ce=function(t){var e=i.CanvasGestureDOMEventProxy.c4(this.ag.rootWrapper);return{$type:i.Point_$type,x:t.x-e.left,y:t.y-e.top}},e.prototype.br=function(t,e,n,r){this.cd=t,this.am=n,this.aq=r,this.bn(),this.al=window.setTimeout(i.runOn(this,this.bz),this.ak),this.t=!0},e.prototype.az=function(){if(this.t&&(window.clearTimeout(this.al),this.t=!1),this.u){var t=this.m.toolTip;window.clearTimeout(this.aj),t.hide(),this.u=!1,this.k=null}this.ak=this.m.c6},e.prototype.bn=function(){if(this.t&&window.clearTimeout(this.al),this.u){var t=this.m.toolTip;window.clearTimeout(this.aj),t.hide(),this.u=!1,this.ak=i.intDivide(this.m.c6,2)}},e.prototype.bz=function(){var t=this;this.t&&(window.clearTimeout(this.al),this.t=!1);var e=this.am,n=this.aq,r=this.cd;null!=this.ag?this.aj=this.ag.setTimeout(i.runOn(this,this.az),10*this.m.c6):this.aj=window.setTimeout(i.runOn(this,this.az),10*this.m.c6);this.m.ranges._inner[e];this.ah!=this.m.toolTip&&(null!=this.ah&&this.ah.remove(),this.ah=this.m.toolTip,this.ah.setStyleProperty("z-index","10000"),this.ah.setStyleProperty("position","absolute"),this.ag.append(this.ah)),this.k=this.j(n,e);var a=this.k,o=this.ah,s=n;o.updateToolTip&&o.updateToolTip(a,s);var l=this.ah.findByClass(".ui-tooltip-container");null!=l&&l.length>0&&l[0].setAttribute("style",null);var h,u="ui-simple-default-tooltip-content",c=this.ah.findByClass("."+u);if(null!=c&&c.length>0){var p=["border-top-color","border-top-width","border-top-style","border-top-left-radius","background-color","padding-top","font-weight"],g=["border-color","border-width","border-style","border-radius","background-color","padding","font-weight"],f=((h=new i.List$1(i.String_$type,0)).add(t.k.brush.color.colorString),h.add("2px"),h.add("solid"),h.add("4px"),h.add("rgba(230, 230, 230, 0.74)"),h.add("4px"),h.add("bold"),h),y=(new i.Dictionary$2(i.String_$type,i.String_$type,0),new Array(p.length));i.arrayCopy1(p,0,y,0,p.length),this.b(u,y);for(var b=0;b<y.length;b++)this.ah.setStyleProperty(g[b],null==y[b]?f._inner[b]:y[b])}this.ah.setStyleProperty("top",(r.y+15).toString()+"px").setStyleProperty("left",(r.x+15).toString()+"px"),this.ah.show(),this.u=!0},e.prototype.j=function(t,e){var i=new V;switch(t){case"range":var n=this.m.ranges._inner[e];i.item=n,i.itemName=n.u,i.label=n.u+": "+n.o.toString()+"-"+n.j.toString();var r=n.an,a=n.ao;i.brush=null!=r?r:this.m.h0(e,this.c),i.outline=null!=a?a:this.m.h0(e,this.d),i.thickness=n.p;break;case"value":i.item=this.m.c0,i.itemName=this.m.e2,i.label=null!=this.m.e2?this.m.e2+": "+this.m.c0.toString():this.m.c0.toString(),i.brush=this.m.h7,i.outline=this.m.h8,i.thickness=this.m.c3;break;case"targetvalue":i.item=this.m.cn,i.itemName=this.m.el,i.label=null!=this.m.el?this.m.el+": "+this.m.cn.toString():this.m.cn.toString(),i.brush=this.m.h4,i.outline=this.m.h5,i.thickness=this.m.cr}return i},e.prototype.a6=function(t){if(null==t)return this.ai=null,this.ag=null,this.ah=null,this.p=null,this.m.a7&&this.m.aw.w(),void this.at();var e=t;this.ag=e,this.m.aw.u(this.ag),this.ag.rootWrapper.addClass("ui-bulletgraph-container"),this.ap=i.isNaN_(this.m.ce)?this.m.bt:this.m.ce;var n=this.ap,r=Math.round(e.rootWrapper.width()),a=Math.round(e.rootWrapper.height()),o=r*n,s=a*n;this.ag.rootWrapper.setStyleProperty("position","relative");var l=this.ag.createElement("canvas");l.setStyleProperty("position","absolute"),this.ag.append(l),this.ao=o,this.an=s,l.setAttribute("width",o.toString()),l.setAttribute("height",s.toString()),l.setStyleProperty("width",r.toString()),l.setStyleProperty("height",a.toString()),l.setStyleProperty("left","0px"),l.setStyleProperty("top","0px"),this.m.ig=new i.Rect(0,0,0,r,a),this.m.id=new i.Rect(0,0,0,r,a),this.ai=l;var h=this.ag.get2DCanvasContext(this.ai);if(this.p=new i.RenderingContext(new i.CanvasViewRenderer,h),this.ay(),this.by(),this.p.ad(this.n),this.at(),i.TypeRegistrar.isRegistered("CanvasGestureDOMEventProxy")&&(this.i=i.typeCast(i.EventProxy.$,i.TypeRegistrar.create("CanvasGestureDOMEventProxy",this.ag.rootWrapper,this.ag,!1))),null!=this.i){var u=this.i;u.onMouseOver=i.delegateCombine(u.onMouseOver,i.runOn(this,this.av));var c=this.i;c.onMouseLeave=i.delegateCombine(c.onMouseLeave,i.runOn(this,this.au))}this.bm()},e.prototype.at=function(){if(null!=this.i){var t=this.i;t.onMouseOver=i.delegateRemove(t.onMouseOver,i.runOn(this,this.av));var e=this.i;e.onMouseLeave=i.delegateRemove(e.onMouseLeave,i.runOn(this,this.au)),this.i.av()}},e.prototype.av=function(t,e,i){null!=this.m&&this.m.onMouseOver(t,e,i)},e.prototype.au=function(t){null!=this.m&&this.m.onMouseLeave()},e.prototype.a7=function(){this.a0();var t=Math.round(this.ag.rootWrapper.width()),e=Math.round(this.ag.rootWrapper.height());this.m.ig=new i.Rect(0,0,0,t,e),this.m.id=new i.Rect(0,0,0,t,e),null!=this.i&&(this.i.bl=this.m.ig)},e.prototype.as=function(){this.bm()},e.prototype.bp=function(t){this.x=t},e.prototype.bm=function(){var t=this.m.ig.width,e=this.m.ig.height,n=t*this.ap,r=e*this.ap;if(this.ao==n&&this.an==r||(this.ai.setAttribute("width",n.toString()),this.ai.setAttribute("height",r.toString()),this.ai.setStyleProperty("width",t.toString()+"px"),this.ai.setStyleProperty("height",e.toString()+"px"),this.ao=i.truncate(Math.round(n)),this.an=i.truncate(Math.round(r))),this.p.d&&1!=this.ap&&(this.p.aa(),this.p.ab(this.ap,this.ap)),this.p.l(this.m.ig.left,this.m.ig.top,this.m.ig.width,this.m.ig.height),this.p.t(this.cf),this.p.t(this.ch),null!=this.x)for(var a=0;a<this.x.count;a++)this.p.t(this.x._inner[a]);for(var o=0;o<this.y.count;o++)this.p.ad(this.n),this.p.x(this.y._inner[o]);for(var s=0;s<this.z.count;s++)this.p.t(this.z._inner[s]);this.p.t(this.ck),this.p.t(this.cg),this.p.t(this.cj),this.p.d&&1!=this.ap&&this.p.z()},e.prototype.by=function(){if(null!=this.m.dh?this.n=this.m.ax():this.n=i.FontUtil.getFont(this.ag),this.ac=this.ad(this.n),null==this.m.hz){var t=this.ag.rootWrapper.getStyleProperty("color");0==i.stringIsNullOrEmpty(t)&&(this.b2=new i.Brush,this.b2._fill=t,this.m.hz=this.b2)}null!=this.p&&this.p.ad(this.n)},e.prototype.ae=function(t){var e=i.typeCast(i.TextBlock.$,t);return null!=e&&null!=e.al?this.p.f(e)+0:0},e.prototype.ct=function(t){i.isNaN_(this.ac)&&(this.ac=this.ad(null));var e=this.ae(t),n=this.ac;return new i.Size(1,e,n)},e.prototype.bq=function(t,e){t.ao=null!=e?e:this.b3},e.prototype.bh=function(t,e,i){t.n=e,t.o=i},e.prototype.bg=function(t,e){},e.prototype.bi=function(t,e){},e.prototype.ad=function(t){return i.FontUtil.getCurrentFontHeight(this.ag,t)},e.prototype.bo=function(){this.r||(this.r=!0,null!=this.ag?this.ag.setTimeout(i.runOn(this,this.ar),0):window.setTimeout(i.runOn(this,this.ar),0))},e.prototype.ar=function(){this.r&&(this.r=!1,this.m.e9())},e.prototype.flush=function(){this.r&&this.ar()},e.prototype.o=function(t,e){return i.FontUtil.getFontInfo(this.ag,t,e)},e.prototype.aw=function(t){var e,r,a,o,s,l;t.scalePath=new i.PathVisualData(1,"Scale",this.ci),t.targetValuePath=new i.PathVisualData(1,"TargetValue",this.cj),t.valuePath=new i.PathVisualData(1,"Value",this.ck),t.highlightValuePath=new i.PathVisualData(1,"HighlightValue",this.cg),t.backingPath=new i.PathVisualData(1,"Backing",this.cf),t.scaleBackgroundPath=new i.PathVisualData(1,"ScaleBackground",this.ch);var h=this.n;try{for(var u=n.__values(i.fromEnum(this.y)),c=u.next();!c.done;c=u.next()){var p=c.value;if(0==p._visibility){var g=this.o(p,h),f=new $;f.labelValue=p.al,f.labelPosition=i.PointData.b({$type:i.Point_$type,x:p.n,y:p.o}),f.labelSize=i.SizeData.b(this.ct(p)),f.appearance=i.AppearanceHelper.c(p,g),t.scaleLabels.add(f)}}}catch(t){e={error:t}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(e)throw e.error}}try{for(var y=n.__values(i.fromEnum(this.z)),b=y.next();!b.done;b=y.next()){var d=b.value;if(0==d._visibility){var m=new k;m.tickPath=new i.PathVisualData(1,"tickmarks",d),t.scaleTickmarks.add(m)}}}catch(t){a={error:t}}finally{try{b&&!b.done&&(o=y.return)&&o.call(y)}finally{if(a)throw a.error}}try{for(var v=n.__values(i.fromEnum(this.x)),_=v.next();!_.done;_=v.next()){var w=_.value;if(0==w._visibility){var P=new j,x=new i.PathVisualData(1,"range",w);P.rangePath=x,t.ranges.add(P)}}}catch(t){s={error:t}}finally{try{_&&!_.done&&(l=v.return)&&l.call(v)}finally{if(s)throw s.error}}},e.prototype.bj=function(t){t._visibility=0},e.prototype.bk=function(t){t._visibility=1},e.prototype.bl=function(t){this.aa.remove(t)},e.prototype.cs=function(){var t=new i.Path;return this.aa.add(t),t},e.prototype.bt=function(t){t._visibility=0},e.prototype.bu=function(t){t._visibility=1},e.prototype.bv=function(t){this.ab.remove(t)},e.prototype.b1=function(){var t=new i.TextBlock;return this.ab.add(t),t},e.prototype.bc=function(t){t._visibility=0},e.prototype.bd=function(t){t._visibility=1},e.prototype.be=function(t){this.z.remove(t)},e.prototype.cr=function(){var t=new i.Path;return this.z.add(t),t},e.prototype.a1=function(t){t._visibility=0},e.prototype.a2=function(t){t._visibility=1},e.prototype.a3=function(t){this.y.remove(t)},e.prototype.b0=function(){var t=new i.TextBlock;return this.y.add(t),t},e.prototype.l=function(){var t,e=this;return null==this.k?null:((t=new P).b=e.am,t.d=e.cd,t.c=e.aq,t.a=e.k,t)},e.prototype.bf=function(){this.ap=this.m.bt},e.$t=i.markType(e,"XamBulletGraphView"),e.w=new i.Dictionary$2(i.String_$type,i.Brush.$,0),e.g=null,e.h=null,e}(i.Base),E={"ui-bulletgraph-targetvalue":{"background-color":"#333333","border-top-color":"transparent"},"ui-bulletgraph-tick":{"background-color":"rgba(0, 0, 0, 0.35)","border-top-color":"transparent"},"ui-bulletgraph-minortick":{"background-color":"rgba(0, 0, 0, 0.2)","border-top-color":"transparent"},"ui-bulletgraph-label":{"background-color":i.FontDefaults.gaugesFontBrush.fill,"border-top-color":"transparent"},"ui-bulletgraph-range-palette-1":{"background-color":"#0078C8","border-top-color":"transparent"},"ui-bulletgraph-range-palette-2":{"background-color":"#0099FF","border-top-color":"transparent"},"ui-bulletgraph-range-palette-3":{"background-color":"#21A7FF","border-top-color":"transparent"},"ui-bulletgraph-range-palette-4":{"background-color":"#4FB9FF","border-top-color":"transparent"},"ui-bulletgraph-range-palette-5":{"background-color":"#79C9FF","border-top-color":"transparent"},"ui-bulletgraph-value":{"background-color":"#333","border-top-color":"transparent"},"ui-bulletgraph":{"font-family":i.FontDefaults.gaugesFontFamily,"font-size":i.FontDefaults.gaugesFontSize+"px",color:i.FontDefaults.gaugesFontBrush.fill},"font-family":i.FontDefaults.gaugesFontFamily,"font-style":"normal","font-weight":i.FontDefaults.gaugesFontWeight,"font-size":i.FontDefaults.gaugesFontSize+"px",color:i.FontDefaults.gaugesFontBrush.fill,"font-variant":"","line-height":""},D=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new m},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},Object.defineProperty(t.prototype,"actualMinimumValue",{get:function(){return this.i.actualMinimumValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actualMaximumValue",{get:function(){return this.i.actualMaximumValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.i.value},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"label",{get:function(){return this.i.label},set:function(t){this.i.label=t},enumerable:!1,configurable:!0}),t}(),L=function(t){function e(){return t.call(this)||this}return n.__extends(e,t),e.prototype.createImplementation=function(){return new v},Object.defineProperty(e.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.i.width},set:function(t){this.i.width=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.i.height},set:function(t){this.i.height=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"offsetX",{get:function(){return this.i.offsetX},set:function(t){this.i.offsetX=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"offsetY",{get:function(){return this.i.offsetY},set:function(t){this.i.offsetY=t},enumerable:!1,configurable:!0}),e}(D),F=function(){function t(){this._renderer=null,this.__p=null,this._hasUserValues=new Set,this._stylingContainer=null,this._stylingParent=null,this._inStyling=!1,this._zoneRunner=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},Object.defineProperty(t.prototype,"rangeInternal",{get:function(){return this.i},enumerable:!1,configurable:!0}),t.prototype.createImplementation=function(){return new b},t.prototype.ngOnInit=function(){},t.prototype._provideRenderer=function(t){this._renderer=t,this._zoneRunner=function(e){return t._ngZone.run(e)}},t._createFromInternal=function(t){if(!t)return null;if(!t.$type)return null;var e="Igx"+t.$type.name+"Component";return i.TypeRegistrar.isRegistered(e)?i.TypeRegistrar.create(e):null},Object.defineProperty(t.prototype,"name",{get:function(){return this.i.u},set:function(t){this.i.u=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"brush",{get:function(){return i.brushToString(this.i.an)},set:function(t){this.i.an=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"outline",{get:function(){return i.brushToString(this.i.ao)},set:function(t){this.i.ao=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"startValue",{get:function(){return this.i.o},set:function(t){this.i.o=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"endValue",{get:function(){return this.i.j},set:function(t){this.i.j=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"innerStartExtent",{get:function(){return this.i.l},set:function(t){this.i.l=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"innerEndExtent",{get:function(){return this.i.k},set:function(t){this.i.k=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"outerStartExtent",{get:function(){return this.i.n},set:function(t){this.i.n=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"outerEndExtent",{get:function(){return this.i.m},set:function(t){this.i.m=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"strokeThickness",{get:function(){return this.i.p},set:function(t){this.i.p=+t},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},Object.defineProperty(t.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),t.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},t.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,a=this.i.$type.name;0===a.indexOf("Xam")&&(a=a.substring(3)),r=i.toSpinal("LinearGraphRangeComponent");var o=[],s=i.toSpinal(a);o.push(s+"-");for(var l=this.i.$type.baseType;l&&"Object"!=l.name&&"Base"!=l.name&&"Control"!=l.name&&"DependencyObject"!=l.Name&&"FrameworkElement"!=l.Name;){0===(a=l.name).indexOf("Xam")&&(a=a.substring(3));var h=i.toSpinal(a);o.push(h+"-"),l=l.baseType}if(n){var u=n.i.$type.name;0===u.indexOf("Xam")&&(u=u.substring(3));var c=i.toSpinal(u);o.push(c+"-"+r+"-"),o.push(c+"-"+s+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,o),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},t.prototype._runInZone=function(t){null!=this._zoneRunner?this._zoneRunner(t):t()},t.ɵfac=e["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,deps:[],target:e["ɵɵFactoryTarget"].Component}),t.ɵcmp=e["ɵɵngDeclareComponent"]({minVersion:"12.0.0",version:"12.2.17",type:t,selector:"igx-linear-graph-range",inputs:{name:"name",brush:"brush",outline:"outline",startValue:"startValue",endValue:"endValue",innerStartExtent:"innerStartExtent",innerEndExtent:"innerEndExtent",outerStartExtent:"outerStartExtent",outerEndExtent:"outerEndExtent",strokeThickness:"strokeThickness"},providers:[],ngImport:e,template:"",isInline:!0}),t}();e["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:F,decorators:[{type:e.Component,args:[{selector:"igx-linear-graph-range",template:"",providers:[]}]}],ctorParameters:function(){return[]},propDecorators:{name:[{type:e.Input}],brush:[{type:e.Input}],outline:[{type:e.Input}],startValue:[{type:e.Input}],endValue:[{type:e.Input}],innerStartExtent:[{type:e.Input}],innerEndExtent:[{type:e.Input}],outerStartExtent:[{type:e.Input}],outerEndExtent:[{type:e.Input}],strokeThickness:[{type:e.Input}]}});var R=function(t){function e(e){var n=t.call(this)||this;if(F.$type||(F.$type=i.markType(F,"IgxLinearGraphRangeComponent")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return n.__extends(e,t),e.prototype._createInnerColl=function(){F.$type||(F.$type=i.markType(F,"IgxLinearGraphRangeComponent"));var t=new i.SyncableObservableCollection$2(F.$type,b.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=F._createFromInternal(t))&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},e}(i.IgCollection),z=function(){function t(t,e,n,r,a){var o,s=this;this._renderer=t,this._elRef=e,this._ngZone=n,this._componentFactoryResolver=r,this._injector=a,this.actualRanges=[],this._ranges=null,this._rangesAdapter=null,this._tooltipTemplate=null,this._tooltipContent=null,this._defaultTooltips=null,this._zoneRunner=null,this.__p=null,this._hasUserValues=new Set,this._stylingContainer=null,this._stylingParent=null,this._inStyling=!1,this._formatLabel=null,this._alignLabel=null,this._actualMinimumValueChange=null,this._actualMaximumValueChange=null,this._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(this)),this._zoneRunner=function(t){return s._ngZone.run(t)},this._implementation=this.createImplementation(),this._container=t.createElement("div"),t.appendChild(e.element.nativeElement,this._container),t.setStyle(this._container,"display","block"),t.setStyle(this._container,"width","100%"),t.setStyle(this._container,"height","100%"),o=this._container,null!=this._container.nativeElement&&(o=this._container.nativeElement),this._root=o;var l=new i.AngularRenderer(o,this._renderer,window.document,this._ngZone,!0,E);this._wrapper=l;var h=this.i;this._rangesAdapter=new i.CollectionAdapter([],this.i.ranges,this.actualRanges,(function(t){return t.i}),(function(t){t._provideRenderer(s._wrapper),s._root&&s._root.parentElement&&t._styling(s._root,s,s)}),(function(t){t._provideRenderer(null)})),this._gauge=h,h.provideContainer(l),l.addSizeWatcher((function(){s._gauge.containerResized()}))}return Object.defineProperty(t.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this._renderer.setStyle(this._elRef.element.nativeElement,"height",t),this._gauge.containerResized()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this._renderer.setStyle(this._elRef.element.nativeElement,"width",t),this._gauge.containerResized()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ranges",{get:function(){var t=this;if(null===this._ranges){var e=new R;e._innerColl.addListener((function(e,n){switch(n.action){case i.NotifyCollectionChangedAction.Add:t._rangesAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Remove:t._rangesAdapter.removeManualItemAt(n.oldStartingIndex);break;case i.NotifyCollectionChangedAction.Replace:t._rangesAdapter.removeManualItemAt(n.oldStartingIndex),t._rangesAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Reset:t._rangesAdapter.clearManualItems()}})),this._ranges=e}return this._ranges},enumerable:!1,configurable:!0}),t.prototype.ngOnDestroy=function(){this._wrapper.rootWrapper.unlistenAll(),this._gauge.destroy(),this._wrapper.destroy()},t.prototype.createImplementation=function(){return new M},t.prototype.ngAfterContentInit=function(){var t=this;if(i.TypeRegistrar.isRegistered("IgxSimpleDefaultTooltipComponent")){var e=i.TypeRegistrar.get("IgxSimpleDefaultTooltipComponent"),n=this._componentFactoryResolver.resolveComponentFactory(e),r=this._dynamicContent.createComponent(n);this._defaultTooltips=r,r.instance.onContentReady.subscribe((function(){t._onDefaultTooltipsReady(r)})),this._ensureTooltipCreated()}this._rangesAdapter.updateQuery(this.contentRanges)},t.prototype.ngAfterViewInit=function(){this.updateStyle(),this.i.containerResized()},t.prototype.updateStyle=function(){if(this._styling(this._root,this),this.actualRanges&&this.actualRanges.length>0)for(var t=this.actualRanges,e=0;e<t.length;e++)t[e]._styling(this._root,this,this)},Object.defineProperty(t.prototype,"tooltipTemplate",{get:function(){return this._tooltipTemplate},set:function(t){this._tooltipTemplate=t,null==t&&null!==this._tooltipContent&&(this._tooltipContent.destroy(),this._tooltipContent=null),null!=this._tooltipContent?this._tooltipContent.instance.template=this._tooltipTemplate:this._ensureTooltipCreated()},enumerable:!1,configurable:!0}),t.prototype._ensureTooltipCreated=function(){if(null==this.i.toolTip){var t=this.createTooltip();if(null==t)return;this._tooltipContent=t,t.instance.template=this._tooltipTemplate,this.i.toolTip=this.createWrapper(t.location.nativeElement)}},t.prototype.createWrapper=function(t){var e=new i.AngularWrapper(t,this._renderer,this._ngZone);return e.updateToolTip=t.updateToolTip,e.hideToolTip=t.hideToolTip,e},t.prototype._ensureDefaultTooltip=function(){null!=this._defaultTooltips&&this._defaultTooltips.instance.ensureDefaultTooltip(this)},t.prototype._onDefaultTooltipsReady=function(t){this._ensureDefaultTooltip()},t.prototype.createTooltip=function(){if(!i.TypeRegistrar.isRegistered("IgxTooltipContainerComponent"))return null;var t=i.TypeRegistrar.get("IgxTooltipContainerComponent"),e=this._componentFactoryResolver.resolveComponentFactory(t),n=this._dynamicContent.createComponent(e),r=n.location.nativeElement,a=this;return r.updateToolTip=function(t){if(t.externalObject)t=t.externalObject;else{var e=new i.IgxDataContext;e._implementation=t,t=e}return r.parentElement!=a._container&&(null!=r.parentElement&&r.parentElement.removeChild(r),a._container.appendChild(r)),n.instance.context=t,r.style.display="block",!0},r.hideToolTip=function(){r.style.display="none"},r.style.display="none",n},t.prototype._runInZone=function(t){null!=this._zoneRunner?this._zoneRunner(t):t()},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t._createFromInternal=function(t){if(!t)return null;if(!t.$type)return null;var e="Igx"+t.$type.name+"Component";return i.TypeRegistrar.isRegistered(e)?i.TypeRegistrar.create(e):null},Object.defineProperty(t.prototype,"animating",{get:function(){return this.i.a7},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"transitionProgress",{get:function(){return this.i.cz},set:function(t){this.i.cz=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"orientation",{get:function(){return this.i.as},set:function(t){this.i.as=i.ensureEnum(y,t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scaleBackgroundBrush",{get:function(){return i.brushToString(this.i.h2)},set:function(t){this.i.h2=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scaleBackgroundOutline",{get:function(){return i.brushToString(this.i.h3)},set:function(t){this.i.h3=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scaleBackgroundThickness",{get:function(){return this.i.ch},set:function(t){this.i.ch=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rangeBrushes",{get:function(){return i.fromBrushCollection(this.i.ah)},set:function(t){this.i.ah=i.toBrushCollection(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rangeOutlines",{get:function(){return i.fromBrushCollection(this.i.ai)},set:function(t){this.i.ai=i.toBrushCollection(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minimumValue",{get:function(){return this.i.b7},set:function(t){this.i.b7=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actualMinimumValue",{get:function(){return this.i.bs},set:function(t){this.i.bs=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maximumValue",{get:function(){return this.i.b6},set:function(t){this.i.b6=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actualMaximumValue",{get:function(){return this.i.br},set:function(t){this.i.br=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"targetValue",{get:function(){return this.i.cn},set:function(t){this.i.cn=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"targetValueName",{get:function(){return this.i.el},set:function(t){this.i.el=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.i.c0},set:function(t){this.i.c0=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"valueName",{get:function(){return this.i.e2},set:function(t){this.i.e2=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"highlightValue",{get:function(){return this.i.bz},set:function(t){this.i.bz=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actualHighlightValueOpacity",{get:function(){return this.i.bq},set:function(t){this.i.bq=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"highlightValueOpacity",{get:function(){return this.i.b0},set:function(t){this.i.b0=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actualHighlightValueDisplayMode",{get:function(){return this.i.az},set:function(t){this.i.az=i.ensureEnum(i.HighlightedValueDisplayMode_$type,t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"highlightValueDisplayMode",{get:function(){return this.i.a0},set:function(t){this.i.a0=i.ensureEnum(i.HighlightedValueDisplayMode_$type,t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rangeInnerExtent",{get:function(){return this.i.cf},set:function(t){this.i.cf=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rangeOuterExtent",{get:function(){return this.i.cg},set:function(t){this.i.cg=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"valueInnerExtent",{get:function(){return this.i.c1},set:function(t){this.i.c1=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"valueOuterExtent",{get:function(){return this.i.c2},set:function(t){this.i.c2=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"interval",{get:function(){return this.i.b1},set:function(t){this.i.b1=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ticksPostInitial",{get:function(){return this.i.cu},set:function(t){this.i.cu=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ticksPreTerminal",{get:function(){return this.i.cv},set:function(t){this.i.cv=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelInterval",{get:function(){return this.i.b3},set:function(t){this.i.b3=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelExtent",{get:function(){return this.i.b2},set:function(t){this.i.b2=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelsPostInitial",{get:function(){return this.i.b4},set:function(t){this.i.b4=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelsPreTerminal",{get:function(){return this.i.b5},set:function(t){this.i.b5=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minorTickCount",{get:function(){return this.i.b8},set:function(t){this.i.b8=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tickStartExtent",{get:function(){return this.i.cw},set:function(t){this.i.cw=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tickEndExtent",{get:function(){return this.i.cs},set:function(t){this.i.cs=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tickStrokeThickness",{get:function(){return this.i.cy},set:function(t){this.i.cy=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tickBrush",{get:function(){return i.brushToString(this.i.h6)},set:function(t){this.i.h6=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fontBrush",{get:function(){return i.brushToString(this.i.hz)},set:function(t){this.i.hz=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"valueBrush",{get:function(){return i.brushToString(this.i.h7)},set:function(t){this.i.h7=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"valueOutline",{get:function(){return i.brushToString(this.i.h8)},set:function(t){this.i.h8=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"valueStrokeThickness",{get:function(){return this.i.c3},set:function(t){this.i.c3=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minorTickStartExtent",{get:function(){return this.i.cb},set:function(t){this.i.cb=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minorTickEndExtent",{get:function(){return this.i.b9},set:function(t){this.i.b9=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minorTickStrokeThickness",{get:function(){return this.i.cd},set:function(t){this.i.cd=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minorTickBrush",{get:function(){return i.brushToString(this.i.h1)},set:function(t){this.i.h1=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isScaleInverted",{get:function(){return this.i.a9},set:function(t){this.i.a9=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"backingBrush",{get:function(){return i.brushToString(this.i.hx)},set:function(t){this.i.hx=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"backingOutline",{get:function(){return i.brushToString(this.i.hy)},set:function(t){this.i.hy=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"backingStrokeThickness",{get:function(){return this.i.bw},set:function(t){this.i.bw=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"backingInnerExtent",{get:function(){return this.i.bu},set:function(t){this.i.bu=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"backingOuterExtent",{get:function(){return this.i.bv},set:function(t){this.i.bv=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scaleStartExtent",{get:function(){return this.i.cm},set:function(t){this.i.cm=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scaleEndExtent",{get:function(){return this.i.cj},set:function(t){this.i.cj=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"targetValueBrush",{get:function(){return i.brushToString(this.i.h4)},set:function(t){this.i.h4=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"targetValueBreadth",{get:function(){return this.i.co},set:function(t){this.i.co=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"targetValueInnerExtent",{get:function(){return this.i.cp},set:function(t){this.i.cp=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"targetValueOuterExtent",{get:function(){return this.i.cq},set:function(t){this.i.cq=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"targetValueOutline",{get:function(){return i.brushToString(this.i.h5)},set:function(t){this.i.h5=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"targetValueStrokeThickness",{get:function(){return this.i.cr},set:function(t){this.i.cr=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"mergeViewports",{get:function(){return this.i.bb},set:function(t){this.i.bb=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelFormat",{get:function(){return this.i.dr},set:function(t){this.i.dr=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelFormatSpecifiers",{get:function(){return this.i.ag},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.ag=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"transitionDuration",{get:function(){return this.i.c7},set:function(t){this.i.c7=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showToolTipTimeout",{get:function(){return this.i.c6},set:function(t){this.i.c6=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showToolTip",{get:function(){return this.i.bd},set:function(t){this.i.bd=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"font",{get:function(){return this.i.dh},set:function(t){this.i.dh=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pixelScalingRatio",{get:function(){return this.i.ce},set:function(t){this.i.ce=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actualPixelScalingRatio",{get:function(){return this.i.bt},set:function(t){this.i.bt=+t},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null!=this.ranges&&this.ranges.findByName&&this.ranges.findByName(t)?this.ranges.findByName(t):null!=this.labelFormatSpecifiers&&i.arrayFindByName(this.labelFormatSpecifiers,t)?i.arrayFindByName(this.labelFormatSpecifiers,t):null},Object.defineProperty(t.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),t.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},t.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,a=this.i.$type.name;0===a.indexOf("Xam")&&(a=a.substring(3)),r=i.toSpinal("BulletGraphComponent");var o=[],s=i.toSpinal(a);o.push(s+"-");for(var l=this.i.$type.baseType;l&&"Object"!=l.name&&"Base"!=l.name&&"Control"!=l.name&&"DependencyObject"!=l.Name&&"FrameworkElement"!=l.Name;){0===(a=l.name).indexOf("Xam")&&(a=a.substring(3));var h=i.toSpinal(a);o.push(h+"-"),l=l.baseType}if(n){var u=n.i.$type.name;0===u.indexOf("Xam")&&(u=u.substring(3));var c=i.toSpinal(u);o.push(c+"-"+r+"-"),o.push(c+"-"+s+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,o),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},t.prototype.getValueForPoint=function(t){return this.i.by(i.toPoint(t))},t.prototype.exportSerializedVisualData=function(){return this.i.dg()},t.prototype.provideContainer=function(t){this.i.provideContainer(t)},t.prototype.containerResized=function(){this.i.containerResized()},t.prototype.styleUpdated=function(){this.i.f5()},t.prototype.flush=function(){this.i.fc()},Object.defineProperty(t.prototype,"formatLabel",{get:function(){var t=this;return null==this._formatLabel&&(this._formatLabel=new e.EventEmitter,this.i.formatLabel=i.delegateCombine(this.i.formatLabel,(function(e,i){t._runInZone((function(){var e=new D;e._provideImplementation(i),t.beforeFormatLabel&&t.beforeFormatLabel(t,e),t._formatLabel.emit({sender:t,args:e})}))}))),this._formatLabel},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"alignLabel",{get:function(){var t=this;return null==this._alignLabel&&(this._alignLabel=new e.EventEmitter,this.i.alignLabel=i.delegateCombine(this.i.alignLabel,(function(e,i){t._runInZone((function(){var e=new L;e._provideImplementation(i),t.beforeAlignLabel&&t.beforeAlignLabel(t,e),t._alignLabel.emit({sender:t,args:e})}))}))),this._alignLabel},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actualMinimumValueChange",{get:function(){var t=this;return null==this._actualMinimumValueChange&&(this._actualMinimumValueChange=new e.EventEmitter,this.i.propertyChanged=i.delegateCombine(this.i.propertyChanged,(function(e,i){var n=t.actualMinimumValue;t.beforeActualMinimumValueChange&&t.beforeActualMinimumValueChange(t,n),t._actualMinimumValueChange.emit(n)}))),this._actualMinimumValueChange},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actualMaximumValueChange",{get:function(){var t=this;return null==this._actualMaximumValueChange&&(this._actualMaximumValueChange=new e.EventEmitter,this.i.propertyChanged=i.delegateCombine(this.i.propertyChanged,(function(e,i){var n=t.actualMaximumValue;t.beforeActualMaximumValueChange&&t.beforeActualMaximumValueChange(t,n),t._actualMaximumValueChange.emit(n)}))),this._actualMaximumValueChange},enumerable:!1,configurable:!0}),t.ɵfac=e["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,deps:[{token:e.Renderer2},{token:e.ViewContainerRef},{token:e.NgZone},{token:e.ComponentFactoryResolver},{token:e.Injector}],target:e["ɵɵFactoryTarget"].Component}),t.ɵcmp=e["ɵɵngDeclareComponent"]({minVersion:"12.0.0",version:"12.2.17",type:t,selector:"igx-bullet-graph",inputs:{height:"height",width:"width",tooltipTemplate:"tooltipTemplate",transitionProgress:"transitionProgress",orientation:"orientation",scaleBackgroundBrush:"scaleBackgroundBrush",scaleBackgroundOutline:"scaleBackgroundOutline",scaleBackgroundThickness:"scaleBackgroundThickness",rangeBrushes:"rangeBrushes",rangeOutlines:"rangeOutlines",minimumValue:"minimumValue",actualMinimumValue:"actualMinimumValue",maximumValue:"maximumValue",actualMaximumValue:"actualMaximumValue",targetValue:"targetValue",targetValueName:"targetValueName",value:"value",valueName:"valueName",highlightValue:"highlightValue",actualHighlightValueOpacity:"actualHighlightValueOpacity",highlightValueOpacity:"highlightValueOpacity",actualHighlightValueDisplayMode:"actualHighlightValueDisplayMode",highlightValueDisplayMode:"highlightValueDisplayMode",rangeInnerExtent:"rangeInnerExtent",rangeOuterExtent:"rangeOuterExtent",valueInnerExtent:"valueInnerExtent",valueOuterExtent:"valueOuterExtent",interval:"interval",ticksPostInitial:"ticksPostInitial",ticksPreTerminal:"ticksPreTerminal",labelInterval:"labelInterval",labelExtent:"labelExtent",labelsPostInitial:"labelsPostInitial",labelsPreTerminal:"labelsPreTerminal",minorTickCount:"minorTickCount",tickStartExtent:"tickStartExtent",tickEndExtent:"tickEndExtent",tickStrokeThickness:"tickStrokeThickness",tickBrush:"tickBrush",fontBrush:"fontBrush",valueBrush:"valueBrush",valueOutline:"valueOutline",valueStrokeThickness:"valueStrokeThickness",minorTickStartExtent:"minorTickStartExtent",minorTickEndExtent:"minorTickEndExtent",minorTickStrokeThickness:"minorTickStrokeThickness",minorTickBrush:"minorTickBrush",isScaleInverted:"isScaleInverted",backingBrush:"backingBrush",backingOutline:"backingOutline",backingStrokeThickness:"backingStrokeThickness",backingInnerExtent:"backingInnerExtent",backingOuterExtent:"backingOuterExtent",scaleStartExtent:"scaleStartExtent",scaleEndExtent:"scaleEndExtent",targetValueBrush:"targetValueBrush",targetValueBreadth:"targetValueBreadth",targetValueInnerExtent:"targetValueInnerExtent",targetValueOuterExtent:"targetValueOuterExtent",targetValueOutline:"targetValueOutline",targetValueStrokeThickness:"targetValueStrokeThickness",mergeViewports:"mergeViewports",labelFormat:"labelFormat",labelFormatSpecifiers:"labelFormatSpecifiers",transitionDuration:"transitionDuration",showToolTipTimeout:"showToolTipTimeout",showToolTip:"showToolTip",font:"font",pixelScalingRatio:"pixelScalingRatio",actualPixelScalingRatio:"actualPixelScalingRatio"},outputs:{formatLabel:"formatLabel",alignLabel:"alignLabel",actualMinimumValueChange:"actualMinimumValueChange",actualMaximumValueChange:"actualMaximumValueChange"},host:{classAttribute:"igx-bullet-graph ig-bullet-graph"},providers:[],queries:[{propertyName:"contentRanges",predicate:F}],viewQueries:[{propertyName:"_dynamicContent",first:!0,predicate:["dynamicContent"],descendants:!0,read:e.ViewContainerRef,static:!0}],ngImport:e,template:"<ng-container #dynamicContent></ng-container>",isInline:!0,styles:["\n\t\t:host {\n\t\t\tdisplay: block;\n\t\t}\n\t"],changeDetection:e.ChangeDetectionStrategy.OnPush}),t}();e["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:z,decorators:[{type:e.Component,args:[{selector:"igx-bullet-graph",template:"<ng-container #dynamicContent></ng-container>",changeDetection:e.ChangeDetectionStrategy.OnPush,providers:[],host:{class:"igx-bullet-graph ig-bullet-graph"},styles:["\n\t\t:host {\n\t\t\tdisplay: block;\n\t\t}\n\t"]}]}],ctorParameters:function(){return[{type:e.Renderer2},{type:e.ViewContainerRef},{type:e.NgZone},{type:e.ComponentFactoryResolver},{type:e.Injector}]},propDecorators:{_dynamicContent:[{type:e.ViewChild,args:["dynamicContent",{read:e.ViewContainerRef,static:!0}]}],height:[{type:e.Input}],width:[{type:e.Input}],contentRanges:[{type:e.ContentChildren,args:[F]}],tooltipTemplate:[{type:e.Input}],transitionProgress:[{type:e.Input}],orientation:[{type:e.Input}],scaleBackgroundBrush:[{type:e.Input}],scaleBackgroundOutline:[{type:e.Input}],scaleBackgroundThickness:[{type:e.Input}],rangeBrushes:[{type:e.Input}],rangeOutlines:[{type:e.Input}],minimumValue:[{type:e.Input}],actualMinimumValue:[{type:e.Input}],maximumValue:[{type:e.Input}],actualMaximumValue:[{type:e.Input}],targetValue:[{type:e.Input}],targetValueName:[{type:e.Input}],value:[{type:e.Input}],valueName:[{type:e.Input}],highlightValue:[{type:e.Input}],actualHighlightValueOpacity:[{type:e.Input}],highlightValueOpacity:[{type:e.Input}],actualHighlightValueDisplayMode:[{type:e.Input}],highlightValueDisplayMode:[{type:e.Input}],rangeInnerExtent:[{type:e.Input}],rangeOuterExtent:[{type:e.Input}],valueInnerExtent:[{type:e.Input}],valueOuterExtent:[{type:e.Input}],interval:[{type:e.Input}],ticksPostInitial:[{type:e.Input}],ticksPreTerminal:[{type:e.Input}],labelInterval:[{type:e.Input}],labelExtent:[{type:e.Input}],labelsPostInitial:[{type:e.Input}],labelsPreTerminal:[{type:e.Input}],minorTickCount:[{type:e.Input}],tickStartExtent:[{type:e.Input}],tickEndExtent:[{type:e.Input}],tickStrokeThickness:[{type:e.Input}],tickBrush:[{type:e.Input}],fontBrush:[{type:e.Input}],valueBrush:[{type:e.Input}],valueOutline:[{type:e.Input}],valueStrokeThickness:[{type:e.Input}],minorTickStartExtent:[{type:e.Input}],minorTickEndExtent:[{type:e.Input}],minorTickStrokeThickness:[{type:e.Input}],minorTickBrush:[{type:e.Input}],isScaleInverted:[{type:e.Input}],backingBrush:[{type:e.Input}],backingOutline:[{type:e.Input}],backingStrokeThickness:[{type:e.Input}],backingInnerExtent:[{type:e.Input}],backingOuterExtent:[{type:e.Input}],scaleStartExtent:[{type:e.Input}],scaleEndExtent:[{type:e.Input}],targetValueBrush:[{type:e.Input}],targetValueBreadth:[{type:e.Input}],targetValueInnerExtent:[{type:e.Input}],targetValueOuterExtent:[{type:e.Input}],targetValueOutline:[{type:e.Input}],targetValueStrokeThickness:[{type:e.Input}],mergeViewports:[{type:e.Input}],labelFormat:[{type:e.Input}],labelFormatSpecifiers:[{type:e.Input}],transitionDuration:[{type:e.Input}],showToolTipTimeout:[{type:e.Input}],showToolTip:[{type:e.Input}],font:[{type:e.Input}],pixelScalingRatio:[{type:e.Input}],actualPixelScalingRatio:[{type:e.Input}],formatLabel:[{type:e.Output}],alignLabel:[{type:e.Output}],actualMinimumValueChange:[{type:e.Output}],actualMaximumValueChange:[{type:e.Output}]}});var A=function(){function t(){}return t.ɵfac=e["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,deps:[],target:e["ɵɵFactoryTarget"].NgModule}),t.ɵmod=e["ɵɵngDeclareNgModule"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,declarations:[F],imports:[r.CommonModule],exports:[F]}),t.ɵinj=e["ɵɵngDeclareInjector"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,imports:[[r.CommonModule]]}),t}();e["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:A,decorators:[{type:e.NgModule,args:[{declarations:[F],exports:[F],imports:[r.CommonModule],entryComponents:[]}]}],ctorParameters:function(){return[]}});var G=function(){function t(){i.TypeRegistrar.registerCons("IgxLinearGraphRangeComponent",F)}return t.ɵfac=e["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,deps:[],target:e["ɵɵFactoryTarget"].NgModule}),t.ɵmod=e["ɵɵngDeclareNgModule"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,imports:[r.CommonModule,A],exports:[A]}),t.ɵinj=e["ɵɵngDeclareInjector"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,imports:[[r.CommonModule,A],A]}),t}();e["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:G,decorators:[{type:e.NgModule,args:[{declarations:[],exports:[A],imports:[r.CommonModule,A],entryComponents:[F]}]}],ctorParameters:function(){return[]}});var q=function(){function t(){}return t.ɵfac=e["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,deps:[],target:e["ɵɵFactoryTarget"].NgModule}),t.ɵmod=e["ɵɵngDeclareNgModule"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,declarations:[z],imports:[r.CommonModule,A,i.IgxNumberFormatSpecifierModule],exports:[z,A,i.IgxNumberFormatSpecifierModule]}),t.ɵinj=e["ɵɵngDeclareInjector"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,imports:[[r.CommonModule,A,i.IgxNumberFormatSpecifierModule],A,i.IgxNumberFormatSpecifierModule]}),t}();e["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:q,decorators:[{type:e.NgModule,args:[{declarations:[z],exports:[z,A,i.IgxNumberFormatSpecifierModule],imports:[r.CommonModule,A,i.IgxNumberFormatSpecifierModule],entryComponents:[]}]}],ctorParameters:function(){return[]}});var U=function(){function t(){i.TypeRegistrar.registerCons("IgxBulletGraphComponent",z)}return t.ɵfac=e["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,deps:[],target:e["ɵɵFactoryTarget"].NgModule}),t.ɵmod=e["ɵɵngDeclareNgModule"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,imports:[r.CommonModule,G,i.IgxNumberFormatSpecifierDynamicModule,q],exports:[G,i.IgxNumberFormatSpecifierDynamicModule,q]}),t.ɵinj=e["ɵɵngDeclareInjector"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,imports:[[r.CommonModule,G,i.IgxNumberFormatSpecifierDynamicModule,q],G,i.IgxNumberFormatSpecifierDynamicModule,q]}),t}();e["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:U,decorators:[{type:e.NgModule,args:[{declarations:[],exports:[G,i.IgxNumberFormatSpecifierDynamicModule,q],imports:[r.CommonModule,G,i.IgxNumberFormatSpecifierDynamicModule,q],entryComponents:[z]}]}],ctorParameters:function(){return[]}});var H=function(){function t(){}return t.ɵfac=e["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,deps:[],target:e["ɵɵFactoryTarget"].NgModule}),t.ɵmod=e["ɵɵngDeclareNgModule"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,imports:[r.CommonModule,q,i.IgxDVInteractivityModule],exports:[q,i.IgxDVInteractivityModule]}),t.ɵinj=e["ɵɵngDeclareInjector"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,imports:[[r.CommonModule,q,i.IgxDVInteractivityModule],q,i.IgxDVInteractivityModule]}),t}();e["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:H,decorators:[{type:e.NgModule,args:[{declarations:[],exports:[q,i.IgxDVInteractivityModule],imports:[r.CommonModule,q,i.IgxDVInteractivityModule],entryComponents:[]}]}]});var W=function(){function t(){}return t.ɵfac=e["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,deps:[],target:e["ɵɵFactoryTarget"].NgModule}),t.ɵmod=e["ɵɵngDeclareNgModule"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,imports:[r.CommonModule,U,i.IgxDVInteractivityDynamicModule,H],exports:[U,i.IgxDVInteractivityDynamicModule,H]}),t.ɵinj=e["ɵɵngDeclareInjector"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,imports:[[r.CommonModule,U,i.IgxDVInteractivityDynamicModule,H],U,i.IgxDVInteractivityDynamicModule,H]}),t}();e["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:W,decorators:[{type:e.NgModule,args:[{declarations:[],exports:[U,i.IgxDVInteractivityDynamicModule,H],imports:[r.CommonModule,U,i.IgxDVInteractivityDynamicModule,H],entryComponents:[]}]}]});var X=function(t){return t[t.Custom=0]="Custom",t[t.Rectangle=1]="Rectangle",t[t.Triangle=2]="Triangle",t[t.Needle=3]="Needle",t[t.Trapezoid=4]="Trapezoid",t}({}),Z=i.markEnum("LinearGraphNeedleShape","Custom,0|Rectangle,1|Triangle,2|Needle,3|Trapezoid,4"),Y=function(t){return t[t.ScaleStart=0]="ScaleStart",t[t.ScaleEnd=1]="ScaleEnd",t}({}),Q=i.markEnum("TitlesPosition","ScaleStart,0|ScaleEnd,1"),J=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=null,e}return n.__extends(e,t),e.prototype.c=function(t){this.d(t)},e.prototype.d=function(t){this.f(t);var e=this.a();t.n=e.u,t.m=e.q,t.q=0,i.isNaN_(e.t)||(t.q=Math.max(t.q,e.t)),i.isNaN_(e.p)||(t.q=Math.max(t.q,e.p));var n=new Array(7),r=new Array(8);this.e(t,n,r,e);for(var a=0;a<7;a++){var o=n[a].f;o.add(r[a]),o.add(r[a+1])}},e.prototype.e=function(t,e,n,r){var a=r.q,o=r.u,s=r.r,l=r.v;0==r.d?(a=1-a,o=1-o,s=1-s,l=1-l,e[0]=t.i,e[1]=t.j,e[2]=t.d,e[3]=t.g,e[4]=t.f,e[5]=t.h,e[6]=t.e,n[0]={$type:i.Point_$type,x:-1*r.t,y:o},n[1]={$type:i.Point_$type,x:r.t,y:o},n[2]={$type:i.Point_$type,x:r.w,y:l},n[3]={$type:i.Point_$type,x:r.s,y:s},n[4]={$type:i.Point_$type,x:r.p,y:a},n[5]={$type:i.Point_$type,x:-1*r.p,y:a},n[6]={$type:i.Point_$type,x:-1*r.s,y:s},n[7]={$type:i.Point_$type,x:-1*r.w,y:l}):(e[0]=t.i,e[1]=t.j,e[2]=t.d,e[3]=t.g,e[4]=t.f,e[5]=t.h,e[6]=t.e,n[0]={$type:i.Point_$type,x:o,y:-1*r.t},n[1]={$type:i.Point_$type,x:o,y:r.t},n[2]={$type:i.Point_$type,x:l,y:r.w},n[3]={$type:i.Point_$type,x:s,y:r.s},n[4]={$type:i.Point_$type,x:a,y:r.p},n[5]={$type:i.Point_$type,x:a,y:-1*r.p},n[6]={$type:i.Point_$type,x:s,y:-1*r.s},n[7]={$type:i.Point_$type,x:l,y:-1*r.w})},e.prototype.a=function(){var t=this.b,e=t.o,n=t.q,r=t.u,a=t.r,o=t.v,s=t.p,l=t.t,h=t.s,u=t.w;switch(i.isNaN_(n)&&(n=.25),i.isNaN_(r)&&(r=.85),i.isNaN_(a)&&(a=3==t.c?.45:.25),i.isNaN_(o)&&(o=.85),i.isNaN_(l)&&(l=e),i.isNaN_(s)&&(s=4==t.c?.5*l:e),i.isNaN_(h)&&(h=e),i.isNaN_(u)&&(u=e),t.c){case 2:case 1:case 4:o=r,a=n}if(3==t.c&&(s=0,h=l,u=l,o=r),2==t.c&&(s=0,h=0,u=l),4==t.c&&(h=s,u=l),1==t.c){var c=Math.max(s,l);s=c,l=c,h=c,u=c}return t.q=n,t.u=r,t.r=a,t.v=o,t.p=s,t.t=l,t.s=h,t.w=u,t},e.prototype.f=function(t){t.f.k(),t.g.k(),t.d.k(),t.j.k(),t.i.k(),t.k.k(),t.e.k(),t.h.k(),t.b.k(),t.c.k()},e.$t=i.markType(e,"LinearGraphNeedlePreparer"),e}(i.Base),K=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.d=0,e.e=!1,e.k=NaN,e.j=NaN,e.g=NaN,e.l=NaN,e.i=NaN,e.n=NaN,e.h=NaN,e.m=NaN,e.f=NaN,e.b=3,e.propertyChanged=null,e}return n.__extends(e,t),Object.defineProperty(e.prototype,"u",{get:function(){return this.k},set:function(t){this.k!=t&&(this.k=t,this.x("OuterExtent"))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"q",{get:function(){return this.j},set:function(t){this.j!=t&&(this.j=t,this.x("InnerExtent"))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"p",{get:function(){return this.g},set:function(t){this.g!=t&&(this.g=t,this.x("InnerBaseWidth"))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"t",{get:function(){return this.l},set:function(t){this.l!=t&&(this.l=t,this.x("OuterBaseWidth"))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"s",{get:function(){return this.i},set:function(t){this.i!=t&&(this.i=t,this.x("InnerPointWidth"))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"w",{get:function(){return this.n},set:function(t){this.n!=t&&(this.n=t,this.x("OuterPointWidth"))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"r",{get:function(){return this.h},set:function(t){this.h!=t&&(this.h=t,this.x("InnerPointExtent"))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"v",{get:function(){return this.m},set:function(t){this.m!=t&&(this.m=t,this.x("OuterPointExtent"))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"o",{get:function(){return this.f},set:function(t){this.f!=t&&(this.f=t,this.x("DefaultWidth"))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"c",{get:function(){return this.b},set:function(t){this.b!=t&&(this.b=t,this.x("NeedleShape"))},enumerable:!1,configurable:!0}),e.prototype.a=function(){var t=new e;return t.u=this.u,t.q=this.q,t.p=this.p,t.t=this.t,t.r=this.r,t.v=this.v,t.s=this.s,t.w=this.w,t.c=this.c,t.o=this.o,t},e.prototype.x=function(t){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t))},e.$t=i.markType(e,"LinearGraphNeedleParameters",i.Base.$,[i.INotifyPropertyChanged_$type]),e}(i.Base),tt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.$t=i.markType(e,"LinearScaleVisualData"),e}(i.Base),et=function(t){function e(){var e=t.call(this)||this;return e.ag=null,e.af=null,e.ag=new h,e.af=new h,e}return n.__extends(e,t),e.prototype.y=function(e,i,n){t.prototype.y.call(this,e,i,n),this.ag=h.a(e,1-e,i.ag,n.ag),this.af=h.a(e,1-e,i.af,n.af)},e.$t=i.markType(e,"LinearGaugeScaleFrame",u.$),e}(u),it=function(t){function e(){var e=t.call(this)||this;return e._c=null,e.c=new et,e}return n.__extends(e,t),e.prototype.get_c=function(){return this._c},e.prototype.set_c=function(t){this._c=t},Object.defineProperty(e.prototype,"c",{get:function(){return this.get_c()},set:function(t){this.set_c(t)},enumerable:!1,configurable:!0}),e.$t=i.markType(e,"LinearGaugeFrame",s.$),e}(s),nt=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._needlePath=null,e._highlightNeedlePath=null,e._needle=null,e._highlightNeedle=null,e}return n.__extends(e,t),Object.defineProperty(e.prototype,"needlePath",{get:function(){return this._needlePath},set:function(t){this._needlePath=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"highlightNeedlePath",{get:function(){return this._highlightNeedlePath},set:function(t){this._highlightNeedlePath=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"needle",{get:function(){return this._needle},set:function(t){this._needle=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"highlightNeedle",{get:function(){return this._highlightNeedle},set:function(t){this._highlightNeedle=t},enumerable:!1,configurable:!0}),e.prototype.scaleByViewport=function(){t.prototype.scaleByViewport.call(this),null!=this.needlePath&&this.needlePath.scaleByViewport(this.viewport),null!=this.highlightNeedlePath&&this.highlightNeedlePath.scaleByViewport(this.viewport)},e.prototype.serialize=function(){var e=t.prototype.serialize.call(this),n=new i.StringBuilder(0),r=0==e.length;return null!=this.needlePath&&(r?r=!1:n.l(", "),n.l("needlePath: "),n.u(this.needlePath.serialize())),null!=this.needle&&(r?r=!1:n.l(", "),n.l("needle: "),n.u(this.needle.serialize())),null!=this.highlightNeedlePath&&(r?r=!1:n.l(", "),n.l("highlightNeedlePath: "),n.u(this.highlightNeedlePath.serialize())),null!=this.highlightNeedle&&(r?r=!1:n.l(", "),n.l("highlightNeedle: "),n.u(this.highlightNeedle.serialize())),r?e:(n.l("}"),e.substr(0,e.length-1)+n.toString())},e.$t=i.markType(e,"LinearGaugeVisualData",_.$),e}(_),rt=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._value=0,e}return n.__extends(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t},enumerable:!1,configurable:!0}),e.prototype.serialize=function(){return"{ value: "+this.value.toString()+", type: '"+this.type+"'}"},e.prototype.get_type=function(){return"needle"},Object.defineProperty(e.prototype,"type",{get:function(){return this.get_type()},enumerable:!1,configurable:!0}),e.$t=i.markType(e,"LinearNeedleVisualData",O.$),e}(O),at=function(t){function e(){var n=t.call(this)||this;n.propertyChanged=null,n.av=null,n.b0=0,n.formatLabel=null,n.alignLabel=null,n.valueChanged=null,n.highlightValueChanged=null,n.ao=null,n.an=null,n.am=null,n.ar=null,n.bx=0,n.bw=100,n.a3=0,n.aj=null,n.a2=0,n.bv=.5,n.az=1,n.bm=!1,n.a7=null,n.a5=null,n.a4=null,n.a8=null,n.a6=null,n.bt=null,n.ix=null,n.bs=null,n.iw=null,n._view=null,n.iz=null,n.iy=null,n.iv=null,n.bo=new i.List$1(i.TextBlock.$,0),n.br=new i.List$1(i.TextBlock.$,0),n.bq=new i.List$1(i.Path.$,0),n.bp=new i.List$1(i.Path.$,0),n.bc=!1,n.bz=NaN,n.by=1,n.bz=NaN,n.by=1,n.view=new ot(n),n.view.bc(),n.iz=i.Rect.empty,n.iy=i.Rect.empty,n.iv=i.Rect.empty,n.ao=new it,n.an=new it,n.am=new it,n.ranges=new d,n.bc=!0,n.av=new i.DoubleAnimator(0,1,n.dh);var r,a=n.av;return a.propertyChanged=i.delegateCombine(a.propertyChanged,i.runOn(n,n.fl)),n.ab=e.$,n.a6=((r=new i.StackPool$1(i.Path.$)).b=i.runOn(n.view,n.view.bm),r.c=i.runOn(n.view,n.view.bn),r.d=i.runOn(n.view,n.view.bo),r.j=i.runOn(n.view,n.view.cq),r),n.a7=function(){var t=new i.StackPool$1(i.Path.$);return t.b=i.runOn(n.view,n.view.bf),t.c=i.runOn(n.view,n.view.bg),t.d=i.runOn(n.view,n.view.bh),t.j=i.runOn(n.view,n.view.cp),t}(),n.a5=function(){var t=new i.StackPool$1(i.Path.$);return t.b=i.runOn(n.view,n.view.bf),t.c=i.runOn(n.view,n.view.bg),t.d=i.runOn(n.view,n.view.bh),t.j=i.runOn(n.view,n.view.cp),t}(),n.a4=function(){var t=new i.StackPool$1(i.TextBlock.$);return t.b=i.runOn(n.view,n.view.a4),t.c=i.runOn(n.view,n.view.a5),t.d=i.runOn(n.view,n.view.a6),t.j=i.runOn(n.view,n.view.b3),t}(),n.a8=function(){var t=new i.StackPool$1(i.TextBlock.$);return t.b=i.runOn(n.view,n.view.bw),t.c=i.runOn(n.view,n.view.bx),t.d=i.runOn(n.view,n.view.by),t.j=i.runOn(n.view,n.view.b4),t}(),n}return n.__extends(e,t),e.prototype.f2=function(t){this.f9(t)},e.prototype.f9=function(t){var e=this.propertyChanged;null!=e&&e(this,new i.PropertyChangedEventArgs(t))},e.prototype.fl=function(t,e){this.dc=this.av.o},Object.defineProperty(e.prototype,"a9",{get:function(){return this.av.f()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dc",{get:function(){return this.b0},set:function(t){var e=this.b0;this.b0=t,this.f1("TransitionProgress",e,this.b0)},enumerable:!1,configurable:!0}),e.prototype.gl=function(){this.b0=0,this.av.w(),this.av.v()},Object.defineProperty(e.prototype,"bl",{get:function(){return this.dh>0},enumerable:!1,configurable:!0}),e.prototype.onDetachedFromUI=function(){this.view.bb()},e.prototype.onAttachedToUI=function(){this.view.a7()},Object.defineProperty(e.prototype,"b3",{get:function(){return this.bx},set:function(t){this.bx=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"b2",{get:function(){return this.bw},set:function(t){this.bw=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"b1",{get:function(){return this.bv},set:function(t){var e=this.bv;this.bv=t,e!=this.bv&&this.f1("ActualHighlightValueOpacity",e,t)},enumerable:!1,configurable:!0}),e.prototype.go=function(){this.b1=i.isNaN_(this.ca)?.5:Math.max(0,Math.min(this.ca,1))},Object.defineProperty(e.prototype,"a0",{get:function(){return this.az},set:function(t){this.az=t},enumerable:!1,configurable:!0}),e.prototype.gn=function(){1!=this.a1?i.isNaN_(this.b9)||i.isInfinity(this.b9)?this.a0=1:this.a0=2:this.a0=1},e.prototype.fr=function(){this.a2=0,this.view.cm().an=null},e.prototype.b8=function(t){var e=0,i=t.x;return 1==this.as&&(e=t.y,i=this.i2.height),this.ar.k(i-e)},e.prototype.bj=function(t){return null!=this.bt&&i.PolygonUtil.b(this.bt,t)},e.prototype.ba=function(t){return null!=this.bs&&i.PolygonUtil.b(this.bs,t)},e.prototype.needleContainsPoint=function(t,e){return null!=this.bt&&(e?this.ix.containsPoint(t):i.PolygonUtil.b(this.bt,t))},e.prototype.highlightNeedleContainsPoint=function(t,e){return null!=this.bs&&(e?this.iw.containsPoint(t):i.PolygonUtil.b(this.bs,t))},e.prototype.fp=function(t,e){var i=this.b8(t);i=Math.max(Math.min(i,this.b2),this.b3),2==this.a3?i!=this.b9&&(this.b9=i):i!=this.dd&&(this.dd=i)},e.prototype.at=function(){var t,e=this,n=new nt;n.viewport=new i.RectData(this.i2.left,this.i2.top,this.i2.width,this.i2.height),n.scaleLabels=new x,n.scaleTickmarks=new S,n.ranges=new I,n.needle=((t=new rt).value=e.dd,t),n.highlightNeedle=function(){var t=new rt;return t.value=e.b9,t}(),this.view.az(n);var r=this.view.l();if(null!=r){var a=null;switch(r.c){case"range":a=n.ranges._inner[r.b];break;case"needle":a=n.needle}n.toolTip=function(){var t=new C;return t.item=a,t.itemBrush=i.AppearanceHelper.b(r.a.brush),t.outline=i.AppearanceHelper.b(r.a.outline),t.thickness=r.a.thickness,t}()}return n},e.prototype.dr=function(){var t=this.at();return t.scaleByViewport(),t.serialize()},e.prototype.fq=function(){this.view.flush()},e.prototype.destroy=function(){this.provideContainer(null)},e.prototype.provideContainer=function(t){this.view.a9(t)},e.prototype.onMouseOver=function(t,e,i){this.bm&&this.gk(t,null)},e.prototype.onMouseLeave=function(){this.bm&&this.gk({$type:i.Point_$type,x:-1e4,y:-1e4},null)},e.prototype.onMouseMove=function(t,e){0!=this.a3&&this.fp(t,e)},e.prototype.onMouseDown=function(t,e){this.bf&&0==this.a3&&this.needleContainsPoint(t,e)&&(this.a3=1),this.be&&0==this.a3&&this.highlightNeedleContainsPoint(t,e)&&(this.a3=2)},Object.defineProperty(e.prototype,"bd",{get:function(){return 0!=this.a3},enumerable:!1,configurable:!0}),e.prototype.onMouseUp=function(t){0!=this.a3&&(this.a3=0)},e.prototype.containerResized=function(){this.view.ba()},e.prototype.gm=function(){this.view.bv()},e.prototype.gk=function(t,e){var n=this.bt;if(null!=n&&n.count>0&&1==i.PolygonUtil.b(n,t))return void this.view.bu(t,e,-1,"needle");for(var r=0;r<this.bp.count;r++){var a=new i.PathVisualData(1,"range",this.bp._inner[r]).getPoints(new i.GetPointsSettings);if(a.count>0)if(1==i.PolygonUtil.b(this.bu(a._inner[0]),t))return void this.view.bu(t,e,r,"range")}this.view.a2()},e.prototype.ge=function(){if(this.bc){var t=this.an.c;if(0==this.as){for(var e=0,n=0;n<t.c.length;n++)e=Math.max(e,t.c[n]);var r=this.i2.height>=e?this.i2.height-e:this.i2.height;this.i1=new i.Rect(0,0,0,this.i2.width,r)}else{for(var a=0,o=0;o<t.f.length;o++)a=Math.max(a,t.f[o]);var s=this.i2.width>=a?this.i2.width-a:this.i2.width;this.i1=new i.Rect(0,a,0,s,this.i2.height)}}},Object.defineProperty(e.prototype,"view",{get:function(){return this._view},set:function(t){this._view=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"i2",{get:function(){return this.iz},set:function(t){var e=this.iz;this.iz=t,e.equals1(this.iz)||this.f3(e,this.iz)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"i1",{get:function(){return this.iy},set:function(t){this.iy=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"i0",{get:function(){return this.iv},set:function(t){this.iv=t},enumerable:!1,configurable:!0}),e.prototype.bh=function(){return!i.isNaN_(this.b3)&&!i.isNaN_(this.b2)&&!this.i2.isEmpty&&this.view.s()},e.prototype.fm=function(){if(this.bh()){var t=this.c4();if(this.ar=new g(this.b3,this.b2,t,t+this.c2(),this.bg),this.bc)if(this.a9){this.av.g&&this.av.t();var e=this.ao;this.ao=this.am,this.am=e}else{var i=this.ao;this.ao=this.an,this.an=i}else this.a9&&(this.am.d(this.dc,this.ao,this.an),this.gf(this.am),this.gi(this.am),this.gh(this.am,this.am.c.af,!0),this.gh(this.am,this.am.c.ag,!1));this.bc&&(this.f5(),this.ge(),1==this.a2?(this.a2=2,this.f7(this.ar.i(this.dd),this.ao.c,!1,!0)):4==this.a2&&(this.dh>0?(this.a2=5,this.f7(this.ar.i(this.dd),this.an.c,!1,!0)):this.fr()),this.f6(),this.f8(),this.f4()),this.bc&&this.bl?(this.gl(),this.am.d(this.dc,this.ao,this.an),this.gf(this.am),this.gi(this.am),this.gh(this.am,this.am.c.af,!0),this.gh(this.am,this.am.c.ag,!1),this.gj(this.am),this.gg(this.am)):this.bc&&(this.gf(this.an),this.gi(this.an),this.gh(this.an,this.an.c.af,!0),this.gh(this.an,this.an.c.ag,!1),this.gj(this.an),this.gg(this.an)),this.bc=!1,this.view.as()}},e.prototype.f8=function(){var t=this.an.c,e=this.ar,n=this.ci;this.i1;t.u=this.c5,t.r=this.c0,t.s=this.c1,t.t=this.c3,t.m.clear();for(var r=0;r<this.ranges.count;r++){var a=this.ranges._inner[r];if(!(a.j<=this.b3||a.o>this.b2)){var s=a.o,l=a.j;s<this.b3&&(s=this.b3),l>this.b2&&(l=this.b2);var h=new o;h.i=null!=a.an?a.an:this.im(r,this.ah),h.j=null!=a.ao?a.ao:this.im(r,this.ai),h.h=a.p,h.g=e.i(s),h.d=e.i(l),h.e=a.l,h.b=a.k,h.f=a.n,h.c=a.m,i.isNaN_(h.e)&&(h.e=this.cx),h.b=a.k,i.isNaN_(h.b)&&(h.b=this.cx),h.f=a.n,i.isNaN_(h.f)&&(h.f=this.cy),h.c=a.m,i.isNaN_(h.c)&&(h.c=this.cy),t.m.add(h)}}t.ab=this.il,t.ad=this.it,t.x=this.db,t.w=this.da,t.v=this.c7,t.ac=this.io,t.q=this.cl,t.p=this.ck,t.o=this.cj;var u=this.cb;i.isNaN_(u)&&(u=(this.b2-this.b3)/10),0==u&&(u=this.b2-this.b3);var c=new i.List$1(i.Number_$type,0),p=new i.List$1(i.Number_$type,0);if(u>0){var g=this.b3+this.c8,f=this.b2-this.c9;if(u>=Math.abs(f-g)/1e5)for(var y=g;y<=f||this.bn(y,f,u);y+=u){c.add(e.i(y));for(var b=0;b<n;b++){var d=u/(n+1)*(b+1);d+y>f||p.add(e.i(d+y))}}}t.j.length==c.count&&t.i.length==p.count||(t.j=new Array(c.count),t.i=new Array(p.count));for(var m=0;m<c.count;m++)t.j[m]=c._inner[m];for(var v=0;v<p.count;v++)t.i[v]=p._inner[v]},e.prototype.i3=function(){var t=this.cb,e=this.cd;i.isNaN_(t)&&(t=(this.b2-this.b3)/10),i.isNaN_(e)&&(e=t),0==e&&(e=this.b2-this.b3);var n=new i.List$1(i.Number_$type,0);if(e>0){var r=this.ce+this.b3,a=this.b2-this.cf;if(e>=Math.abs(a-r)/1e5)for(var o=r;o<=a||this.bn(o,a,t);o+=e)n.add(o)}for(var s=new Array(n.count),l=new Array(n.count),h=function(t){var e=n._inner[t];null==u.formatLabel&&null==u.aj&&(e=Math.round(100*e)/100);var r=e.toString();null!=u.aj&&(r=u.aj.i(e));var a=new m;a.value=e,a.label=r,null!=u.formatLabel&&u.formatLabel(u,a),r=a.label;var o,h=u.view.cr(((o=new i.TextBlock).al=r,o));s[t]=h.width,l[t]=h.height},u=this,c=0;c<n.count;c++)h(c);var p=0,g=0,f=1-this.c0+this.c5;if(0==this.as){for(var y=0;y<l.length;y++)g=Math.max(g,l[y]);for(var b=0;b<s.length;b++)p+=s[b];s.length>0&&(p+=s[0]/2),s.length>1&&(p+=s[s.length-1]/2),s.length>0&&(p+=5*(s.length-1)),f>0&&(p/=Math.abs(1-f))}else{for(var d=0;d<s.length;d++)p=Math.max(p,s[d]);for(var v=0;v<l.length;v++)g+=l[v];l.length>0&&(g-=l[0]/2),l.length>1&&(g-=l[l.length-1]/2),f>0&&(g/=Math.abs(1-f)),l.length>0&&(g+=5*(l.length-1))}return new i.Size(1,p,g)},e.prototype.f5=function(){var t=this.an.c,e=this.ar,n=this.cb,r=this.cd;this.ci;i.isNaN_(n)&&(n=(this.b2-this.b3)/10),i.isNaN_(r)&&(r=n),0==r&&(r=this.b2-this.b3);var a=new i.List$1(i.Tuple$2.$.specialize(i.Number_$type,i.Number_$type),0);if(r>0){var o=this.ce+this.b3,s=this.b2-this.cf;if(r>=Math.abs(s-o)/1e5)for(var l=o;l<=s||this.bn(l,s,r);l+=r)a.add(new i.Tuple$2(i.Number_$type,i.Number_$type,l,e.i(l)))}t.d.length!=a.count&&(t.e=new Array(a.count),t.d=new Array(a.count),t.f=new Array(a.count),t.c=new Array(a.count),t.g=new Array(a.count),t.h=new Array(a.count)),t.n=this.cc;var h=new m;h.actualMinimumValue=this.b3,h.actualMaximumValue=this.b2;var u=new v;u.actualMinimumValue=this.b3,u.actualMaximumValue=this.b2;for(var c=function(e){var n=a._inner[e].c;null==p.formatLabel&&(n=Math.round(100*n)/100);var r=n.toString();null!=p.aj&&(r=p.aj.i(n)),h.value=n,u.value=n,h.label=r,null!=p.formatLabel&&p.formatLabel(p,h),r=h.label,u.label=r;var o,s=p.view.cr(((o=new i.TextBlock).al=r,o));u.width=s.width,u.height=s.height,0==p.as?(u.offsetX=s.width/2*-1,u.offsetY=-1*s.height):(u.offsetX=-1*s.width,u.offsetY=s.height/2*-1),null!=p.alignLabel&&p.alignLabel(p,u),t.f[e]=u.width,t.c[e]=u.height,t.g[e]=u.offsetX,t.h[e]=u.offsetY,t.d[e]=r,t.e[e]=a._inner[e].d},p=this,g=0;g<a.count;g++)c(g)},e.prototype.bn=function(t,e,n){var r=n/1e4;return i.isNaN_(r)&&(r=1e-5),Math.abs(t-e)<r},e.prototype.f4=function(){var t=this.an.a;t.e=this.ij,t.f=this.ik,t.c=this.b7,t.a=this.b5,t.b=this.b6},e.prototype.f6=function(){var t=this.dd;if(!i.isNaN_(t)){var e=!(0==this.a2||5==this.a2),n=this.an.c,r=this.ar,a=r.i(t);this.f7(a,n,e,!1);var o=this.b9;e&&!i.isNaN_(o)&&this.f7(r.i(o),n,!1,!0)}},e.prototype.f7=function(t,e,n,r){var a=new K;a.c=this.ap,a.e=this.bg,a.d=this.as,a.u=this.cs,a.q=this.co,a.v=this.ct,a.r=this.cp,a.t=this.cr,a.p=this.cn,a.s=this.cq,a.w=this.cu,a.o=.5*this.cm/this.cz();var o=new h,s=this.ip,l=this.iq;n&&(s=i.BrushUtil.s(s,this.b1),l=i.BrushUtil.s(l,this.b1)),o.r=s,o.s=l,o.o=this.cv;var u=new J;u.b=a,u.c(o),o.l=-90,o.p=t,r?e.af=o:e.ag=o},e.prototype.im=function(t,e){return null!=e&&e.count>0?e.item(t%e.count):null},e.prototype.gj=function(t){var e=this.i1,n=t.c,r=this.a7,a=n.j,o=n.w,s=n.v,l=n.ad,h=n.x,u=(this.a5,n.i),c=n.p,p=n.o,g=n.ac,f=n.q;r.f=!0;for(var y=0;y<this.bq.count;y++)r.n(this.bq._inner[y]);this.bq.clear();for(var b=this.cz(),d=this.df(),m=function(t){var n,u,c=void 0,p=void 0;1==v.as?(c=e.left+b*o,p=d-a[t],n=e.left+b*s,u=p):(c=e.left+a[t],p=b*(1-o),n=c,u=b*(1-s));var g,f=r.a(),y=new i.PathGeometry,m=new i.PathFigure;m._startPoint={$type:i.Point_$type,x:c,y:p},m._segments.add(((g=new i.LineSegment(1)).c={$type:i.Point_$type,x:n,y:u},g)),y.c.add(m),f.an=y,f._stroke=l,f.ad=h,v.bq.add(f)},v=this,_=0;_<a.length;_++)m(_);for(var w=function(t){var n,a,o=void 0,s=void 0;1==P.as?(o=e.left+b*c,s=d-u[t],n=e.left+b*p,a=s):(o=u[t],s=b*(1-c),n=o,a=b*(1-p));var l,h=r.a(),y=new i.PathGeometry,m=new i.PathFigure;m._startPoint={$type:i.Point_$type,x:o,y:s},m._segments.add(((l=new i.LineSegment(1)).c={$type:i.Point_$type,x:n,y:a},l)),y.c.add(m),h.an=y,h._stroke=g,h.ad=f,P.bq.add(h)},P=this,$=0;$<u.length;$++)w($);r.f=!1},e.prototype.gg=function(t){var e=this.i1,i=t.c,n=i.e,r=i.d,a=i.g,o=i.h,s=i.f,l=i.c,h=i.n,u=this.a4;u.f=!0;for(var c=0;c<this.bo.count;c++)u.n(this.bo._inner[c]);this.bo.clear();for(var p=i.ab,g=this.de(),f=this.df(),y=0;y<r.length;y++){var b=void 0,d=void 0;1==this.as?(b=e.left+g*h,d=e.top+f-n[y]):(b=e.left+n[y],d=e.top+g*(1-h));var m=u.a();m.al=r[y],this.view.bt(m,p);s[y],l[y];var v=a[y],_=o[y];this.view.bk(m,b+v,d+_),this.bo.add(m)}u.f=!1},e.prototype.gi=function(t){var e=t.c,n=this.a6;n.f=!0;for(var r=0;r<this.bp.count;r++)n.n(this.bp._inner[r]);this.bp.clear();var a=this.cz(),o=this.df(),s=this.iu(),l=this.view.co();if(i.isNaN_(e.s)||i.isNaN_(e.t)||i.isNaN_(e.u)||i.isNaN_(e.r))l.an=null;else{var h=this.c2();l.an=e.ae(s,a,h,this.as),l._fill=this.ir,l._stroke=this.is,l.ad=this.c6}for(var u=0;u<e.m.count;u++){var c=e.m._inner[u],p=n.a();p.an=c.k(s,a,o,this.as),p._fill=c.i,p._stroke=c.j,p.ad=c.h,this.bp.add(p)}this.view.bs(this.bp),n.f=!1},e.prototype.gf=function(t){var e=this.i0,i=this.view.cl(),n=t.a,r=0==this.as?e.height:e.width,a=0==this.as?e.width:e.height,o=n.g(r,a,this.as);i.an=o,i._fill=n.e,i._stroke=n.f,i.ad=n.c},e.prototype.bu=function(t){for(var e=new i.List$1(i.Point_$type,0),n=0;n<t.count;n++)e.add({$type:i.Point_$type,x:t._inner[n].x,y:t._inner[n].y});return e},e.prototype.gh=function(t,e,n){if(n){if(this.bs=null,0==this.a2)return}else this.bt=null;var r=n?this.view.cm():this.view.cn(),a=this.dd;if(i.isNaN_(a)||a<this.b3||a>this.b2)r.an=null;else{var o=this.cz(),s=this.df(),l=o,h=e.p,u=0;1==this.as&&(h=this.i1.left,u=s-e.p),r.an=e.t(l,h,u),r._fill=e.r,r._stroke=e.s,r.ad=e.o;var c=new i.PathVisualData(1,"needle",r).getPoints(new i.GetPointsSettings);if(c.count>0){for(var p=this.bu(c._inner[0]),g=17976931348623157e292,f=17976931348623157e292,y=-17976931348623157e292,b=-17976931348623157e292,d=0;d<p.count;d++)g=p._inner[d].x<g?p._inner[d].x:g,f=p._inner[d].y<f?p._inner[d].y:f,y=p._inner[d].x>y?p._inner[d].x:y,b=p._inner[d].y>b?p._inner[d].y:b;var m=new i.Rect(2,{$type:i.Point_$type,x:g,y:f},{$type:i.Point_$type,x:y,y:b});n?(this.bs=p,this.iw=m):(this.bt=p,this.ix=m)}}},e.prototype.f3=function(t,e){this.bc=!0,this.view.br()},e.prototype.fv=function(t,e){this.bc=!0,this.view.br()},e.prototype.cz=function(){return 0==this.as?this.bi?this.i2.height:this.i1.height:this.bi?this.i2.width:this.i1.width},e.prototype.c2=function(){return 0==this.as?this.i2.width*(this.c0-this.c5):this.i2.height*(this.c0-this.c5)},e.prototype.de=function(){return 0==this.as?this.i2.height:this.i2.width},e.prototype.df=function(){return 0==this.as?this.i2.width:this.i2.height},e.prototype.c4=function(){var t=this.c5;return 0==this.as?(this.bg&&(t=1-this.c0),this.i2.left+this.i2.width*t):(this.bg&&(t=1-this.c0),this.i2.top+this.i2.height*t)},e.prototype.iu=function(){var t=this.i1.left;this.bi&&(t=0);var e=this.c5;return 0==this.as?(this.bg&&(e=1-this.c0),{$type:i.Point_$type,x:t+this.i1.width*e,y:this.i1.top}):(this.bg||(e=1-this.c0),{$type:i.Point_$type,x:t,y:this.i1.top+this.i1.height*e})},e.prototype.f1=function(t,n,r){switch(t){case e.$$p[0]:case e.$$p[3]:case e.$$p[48]:case e.$$p[52]:case e.$$p[56]:case e.$$p[23]:case e.$$p[29]:case e.$$p[39]:this.view.a8(t,n,r);break;case e.$$p[43]:this.view.bd(n,r);break;case e.$$p[46]:this.view.be(n,r);break;case"PixelScalingRatio":i.isNaN_(i.DeviceUtils.a(this.cw))?this.b4=1:this.b4=i.DeviceUtils.a(this.cw);break;case"ActualPixelScalingRatio":this.view.bi()}switch(t){case e.$$p[15]:case e.$$p[16]:null!=this.d3?(this.aj=new i.BindingFormatter,this.aj.j=this.d3,this.aj.d=this.ag):this.aj=null,this.bc=!0,this.view.br();break;case e.$$p[64]:null!=this.valueChanged&&this.valueChanged(this,new i.DoubleValueChangedEventArgs(n,r)),this.bc=!0,this.view.br();break;case e.$$p[9]:null!=this.highlightValueChanged&&this.highlightValueChanged(this,new i.DoubleValueChangedEventArgs(n,r));var a=2==this.a0;this.gn();var o=2==this.a0;this.bc=!0,!a&&o?this.a2=1:a&&!o&&(this.a2=4),this.view.br();break;case e.$$p[7]:var s=2==this.a0;this.gn();var l=2==this.a0;this.bc=!0,!s&&l?this.a2=1:s&&!l&&(this.a2=4),this.view.br();break;case e.$$p[8]:this.go();break;case"ActualHighlightValueOpacity":this.bc=!0,this.view.br();break;case e.$$p[63]:this.av.r=this.dh,this.view.br();break;case"TransitionProgress":if(this.dc>=1){this.av.w();var h=this.an;if(this.an=this.ao,this.ao=h,this.f5(),this.f6(),this.f8(),this.f4(),this.gf(this.an),this.gi(this.an),this.gh(this.an,this.an.c.af,!0),this.gh(this.an,this.an.c.ag,!1),this.gj(this.an),this.gg(this.an),5==this.a2)return this.fr(),void this.view.br();2==this.a2&&(this.a2=3)}this.am.d(this.dc,this.ao,this.an),this.gf(this.am),this.gi(this.am),this.gh(this.am,this.am.c.af,!0),this.gh(this.am,this.am.c.ag,!1),this.gj(this.am),this.gg(this.am),this.view.as();break;case e.$$p[29]:case e.$$p[34]:case e.$$p[28]:case e.$$p[40]:case e.$$p[31]:case e.$$p[36]:case e.$$p[32]:case e.$$p[37]:case e.$$p[30]:case e.$$p[35]:case e.$$p[33]:case e.$$p[38]:case e.$$p[41]:case e.$$p[39]:case e.$$p[0]:case e.$$p[3]:case e.$$p[4]:case e.$$p[1]:case e.$$p[2]:case e.$$p[48]:case e.$$p[52]:case e.$$p[54]:case e.$$p[50]:case e.$$p[51]:case e.$$p[56]:case e.$$p[23]:case e.$$p[43]:case e.$$p[46]:case e.$$p[21]:case e.$$p[44]:case e.$$p[45]:case e.$$p[10]:case e.$$p[17]:case e.$$p[14]:case e.$$p[18]:case e.$$p[19]:case e.$$p[60]:case e.$$p[61]:case e.$$p[58]:case e.$$p[57]:case e.$$p[59]:case e.$$p[26]:case e.$$p[25]:case e.$$p[24]:case e.$$p[27]:this.bc=!0,this.view.br();break;case e.$$p[47]:var u=r;if(null!=n){var c=n;c.collectionChanged=i.delegateRemove(c.collectionChanged,i.runOn(this,this.gc))}if(null!=u){var p=u;p.collectionChanged=i.delegateCombine(p.collectionChanged,i.runOn(this,this.gc))}this.bc=!0,this.view.br();break;case e.$$p[42]:case e.$$p[13]:case e.$$p[22]:case e.$$p[20]:case e.$$p[49]:case e.$$p[53]:this.b3=Math.min(this.ch,this.cg),this.b2=Math.max(this.ch,this.cg);var f=this.c4();this.ar=new g(this.b3,this.b2,f,f+this.c2(),this.bg),this.bc=!0,this.view.br();break;case e.$$p[5]:case e.$$p[6]:this.view.b1(),this.bc=!0,this.view.br()}this.f2(t)},e.prototype.gc=function(t,e){var r,a,o,s;if(null!=e.oldItems)try{for(var l=n.__values(i.fromEn(e.oldItems)),h=l.next();!h.done;h=l.next()){var u=h.value;u.propertyChanged=i.delegateRemove(u.propertyChanged,i.runOn(this,this.gb))}}catch(t){r={error:t}}finally{try{h&&!h.done&&(a=l.return)&&a.call(l)}finally{if(r)throw r.error}}if(null!=e.newItems)try{for(var c=n.__values(i.fromEn(e.newItems)),p=c.next();!p.done;p=c.next()){var g=p.value;g.propertyChanged=i.delegateCombine(g.propertyChanged,i.runOn(this,this.gb))}}catch(t){o={error:t}}finally{try{p&&!p.done&&(s=c.return)&&s.call(c)}finally{if(o)throw o.error}}this.bc=!0,this.view.br()},e.prototype.gb=function(t,e){this.bc=!0,this.view.br()},e.prototype.fs=function(t,e){this.bc=!0,this.view.br()},e.prototype.refresh=function(){this.bc=!0,this.view.br()},e.prototype.ay=function(){return i.FontUtil.toFontInfo(this.view.ah,this.ds)},Object.defineProperty(e.prototype,"cw",{get:function(){return this.bz},set:function(t){var e=this.bz;this.bz=t,this.f1("PixelScalingRatio",e,this.bz)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"b4",{get:function(){return this.by},set:function(t){var e=this.by;this.by=t,this.f1("ActualPixelScalingRatio",e,this.by)},enumerable:!1,configurable:!0}),e.$t=i.markType(e,"XamLinearGauge",i.Control.$,[i.INotifyPropertyChanged_$type]),e.$$p=i.markDep(i.DependencyProperty,i.PropertyMetadata,e,"f1",["BackingBrush:ij:gp",[i.Brush.$,null],"BackingInnerExtent:b5:gq",[1,0],"BackingOuterExtent:b6:gr",[1,1],"BackingOutline:ik:gs",[i.Brush.$,null],"BackingStrokeThickness:b7:gt",[1,2],"FontBrush:il:gu",[i.Brush.$,null],"Font:ds:gv",[2,null],"HighlightValueDisplayMode:a1:gw",[i.HighlightedValueDisplayMode_$type,i.enumGetBox(i.HighlightedValueDisplayMode_$type,0)],"HighlightValueOpacity:ca:gx",[1,.5],"HighlightValue:b9:gy",[1,NaN],"Interval:cb:gz",[1,NaN],"IsHighlightNeedleDraggingEnabled:be:g0",[0,!1],"IsNeedleDraggingEnabled:bf:g1",[0,!1],"IsScaleInverted:bg:g2",[0,!1],"LabelExtent:cc:g3",[1,0],"LabelFormat:d3:g4",[2,null],"LabelFormatSpecifiers:ag:g5",[i.Array_$type,null],"LabelInterval:cd:g6",[1,NaN],"LabelsPostInitial:ce:g7",[1,0],"LabelsPreTerminal:cf:g8",[1,0],"MaximumValue:cg:g9",[1,100],"MergeViewports:bi:ha",[0,!1],"MinimumValue:ch:hb",[1,0],"MinorTickBrush:io:hc",[i.Brush.$,null],"MinorTickCount:ci:hd",[1,4],"MinorTickEndExtent:cj:he",[1,.35],"MinorTickStartExtent:ck:hf",[1,.05],"MinorTickStrokeThickness:cl:hg",[1,1],"NeedleBreadth:cm:hh",[1,6],"NeedleBrush:ip:hi",[i.Brush.$,null],"NeedleInnerBaseWidth:cn:hj",[1,NaN],"NeedleInnerExtent:co:hk",[1,NaN],"NeedleInnerPointExtent:cp:hl",[1,NaN],"NeedleInnerPointWidth:cq:hm",[1,NaN],"NeedleName:en:hn",[2,null],"NeedleOuterBaseWidth:cr:ho",[1,NaN],"NeedleOuterExtent:cs:hp",[1,NaN],"NeedleOuterPointExtent:ct:hq",[1,NaN],"NeedleOuterPointWidth:cu:hr",[1,NaN],"NeedleOutline:iq:hs",[i.Brush.$,null],"NeedleShape:ap:ht",[Z,i.enumGetBox(Z,3)],"NeedleStrokeThickness:cv:hu",[1,1],"Orientation:as:hv",[y,i.enumGetBox(y,0)],"RangeBrushes:ah:hw",[i.BrushCollection.$,null],"RangeInnerExtent:cx:hx",[1,.05],"RangeOuterExtent:cy:hy",[1,.65],"RangeOutlines:ai:hz",[i.BrushCollection.$,null],"Ranges::h0",[d.$,null],"ScaleBrush:ir:h1",[i.Brush.$,null],"ScaleEndExtent:c0:h2",[1,.95],"ScaleInnerExtent:c1:h3",[1,.05],"ScaleOuterExtent:c3:h4",[1,.65],"ScaleOutline:is:h5",[i.Brush.$,null],"ScaleStartExtent:c5:h6",[1,.05],"ScaleStrokeThickness:c6:h7",[1,1],"ShowToolTipTimeout:dg:h8",[1,500],"TickBrush:it:h9",[i.Brush.$,null],"TickEndExtent:c7:ia",[1,.65],"TickStartExtent:da:id",[1,.05],"TickStrokeThickness:db:ie",[1,2],"TicksPostInitial:c8:ib",[1,0],"TicksPreTerminal:c9:ic",[1,0],"ToolTip::ig",[4,null],"TransitionDuration:dh:ih",[1,0],"Value:dd:ii",[1,NaN]]),e}(i.Control),ot=function(t){function e(e){var n,r=t.call(this)||this;return r.ap=0,r.ao=0,r.m=null,r.i=null,r.aj=null,r.p=null,r.ah=null,r.aa=null,r.z=null,r.y=null,r.ab=null,r.cj=null,r.ci=null,r.ck=null,r.ch=null,r.ca=null,r.cb=null,r.b7=null,r.b8=null,r.cc=null,r.cd=null,r.ce=null,r.b9=null,r.c=null,r.d=null,r.e=null,r.f=null,r.q=!1,r.v=null,r.a=["needle","backing","scale","tick","minortick","label"],r.u=!1,r.t=!1,r.ai=null,r.k=null,r.ak=0,r.am=0,r.aq=null,r.an=-1,r.cf=null,r.al=0,r.x=null,r.b6=((n=new i.Brush).fill="black",n),r.r=!1,r.n=null,r.b5=null,r.ac=0,r.ad=1,r.m=e,r.v=new i.Dictionary$2(i.String_$type,i.Dictionary$2.$.specialize(i.String_$type,i.Brush.$),0),r.cj=new i.Path,r.ci=new i.Path,r.ck=new i.Path,r.ch=new i.Path,r.aa=new i.List$1(i.Path.$,0),r.z=new i.List$1(i.Path.$,0),r.y=new i.List$1(i.TextBlock.$,0),r.ab=new i.List$1(i.TextBlock.$,0),r}return n.__extends(e,t),e.prototype.a3=function(){var t=this.m.cw,e=this.m.b4;(i.isNaN_(t)||0==t)&&null!=window.devicePixelRatio&&window.devicePixelRatio!=e&&(this.m.b4=window.devicePixelRatio)},e.prototype.bc=function(){this.k=new V,this.al=this.m.dg,this.a3()},e.prototype.s=function(){return!0},e.prototype.cn=function(){return this.cj},e.prototype.cm=function(){return this.ci},e.prototype.co=function(){return this.ck},e.prototype.cl=function(){return this.ch},e.prototype.a1=function(){this.q=!0;var t,n=["#778899","#EBEDEF","#e0e0e0","#617583","rgba(100,107,114,.74)","rgba(100,107,114,.74)"],r=["#778899","#B2B9C0","#e0e0e0",null,null,null];(t=new i.List$1(i.Array_$type,0)).add(n),t.add(r);this.v.clear();for(var a=this.a.length,o=function(t){var a,o,l=s.a[t],h="ui-lineargauge-"+l,u="ui-lineargauge-"+l+"-fill",c="ui-lineargauge-"+l+"-outline";(function(){var t=e.w.tryGetValue(u,a);return a=t.p1,t.ret})()||(a=i.BrushUtil.m(u,h,"background-color",s.ah,n[t]),e.w.addItem(u,a)),function(){var t=e.w.tryGetValue(c,o);return o=t.p1,t.ret}()||(o=i.BrushUtil.m(c,h,"border-top-color",s.ah,r[t]),e.w.addItem(c,o));var p=new i.Dictionary$2(i.String_$type,i.Brush.$,0);p.item("fill",a),p.item("outline",o),s.v.item(s.a[t],p)},s=this,l=0;l<a;l++)o(l);if(this.b0(),null==e.g||null==e.h){var h=i.BrushUtil.i("ui-lineargauge-range-fill-palette-","ui-lineargauge-range-outline-palette-","ui-lineargauge-range-palette-",this.ah,e.g,e.h,["#216E99","#216E99","#44acd6","#44acd6","#cecece","#cecece"]);e.g=h.p4,e.h=h.p5}this.c=e.g,this.d=e.h,null==this.e&&(this.m.ah=this.c),null==this.f&&(this.m.ai=this.d),this.q=!1},e.prototype.b0=function(){this.q=!0;for(var t=this.a.length,e=0;e<t;e++){var i=this.a[e];this.bz(i,this.v.item(i))}this.q=!1},e.prototype.bz=function(t,e){var i=e.item("fill"),n=e.item("outline");switch(t){case"needle":null==this.ca&&(this.m.ip=i),null==this.cb&&(this.m.iq=n);break;case"scale":null==this.cc&&(this.m.ir=i),null==this.cd&&(this.m.is=n);break;case"backing":null==this.b7&&(this.m.ij=i),null==this.b8&&(this.m.ik=n);break;case"tick":null==this.ce&&(this.m.it=i);break;case"minortick":null==this.b9&&(this.m.io=i);break;case"label":this.b6=i}},e.prototype.a8=function(t,e,i){var n=i;if(!this.q){switch(t){case at.$$p[29]:this.ca=n;break;case at.$$p[39]:this.cb=n;break;case at.$$p[0]:this.b7=n;break;case at.$$p[3]:this.b8=n;break;case at.$$p[48]:this.cc=n;break;case at.$$p[52]:this.cd=n;break;case at.$$p[56]:this.ce=n;break;case at.$$p[23]:this.b9=n}null==n&&this.b0()}},e.prototype.bd=function(t,e){this.q||(this.e=e,null==this.e&&(this.m.ah=this.c))},e.prototype.be=function(t,e){this.q||(this.f=e,null==this.f&&(this.m.ai=this.d))},e.prototype.b=function(t,e){this.ah.startCSSQuery();for(var i=0;i<e.length;i++)e[i]=this.ah.getCssDefaultPropertyValue(t,e[i]);return this.ah.endCSSQuery(),e},e.prototype.bv=function(){this.a1(),this.b1(),this.br()},e.prototype.cg=function(t){var e=i.CanvasGestureDOMEventProxy.c4(this.ah.rootWrapper);return{$type:i.Point_$type,x:t.x-e.left,y:t.y-e.top}},e.prototype.bu=function(t,e,n,r){this.cf=t,this.an=n,this.aq=r,this.bq(),null!=this.ah?this.am=this.ah.setTimeout(i.runOn(this,this.b2),this.al):this.am=window.setTimeout(i.runOn(this,this.b2),this.al),this.t=!0},e.prototype.a2=function(){if(this.t&&(null!=this.ah?this.ah.clearTimeout(this.am):window.clearTimeout(this.am),this.t=!1),this.u){var t=this.m.toolTip;null!=this.ah?this.ah.clearTimeout(this.ak):window.clearTimeout(this.ak),t.hide(),this.u=!1,this.k=null}this.al=this.m.dg},e.prototype.bq=function(){if(this.t&&(null!=this.ah?this.ah.clearTimeout(this.am):window.clearTimeout(this.am)),this.u){var t=this.m.toolTip;null!=this.ah?this.ah.clearTimeout(this.ak):window.clearTimeout(this.ak),t.hide(),this.u=!1,this.al=i.intDivide(this.m.dg,2)}},e.prototype.b2=function(){var t=this;this.t&&(null!=this.ah?this.ah.clearTimeout(this.am):window.clearTimeout(this.am),this.t=!1);var e=this.an,n=this.aq,r=this.cf;null!=this.ah?this.ak=this.ah.setTimeout(i.runOn(this,this.a2),10*this.m.dg):this.ak=window.setTimeout(i.runOn(this,this.a2),10*this.m.dg);this.m.ranges._inner[e];this.ai!=this.m.toolTip&&(null!=this.ai&&this.ai.remove(),this.ai=this.m.toolTip,this.ai.setStyleProperty("z-index","10000"),this.ai.setStyleProperty("position","absolute"),this.ah.append(this.ai)),this.k=this.j(n,e);var a=this.k,o=this.ai,s=n;o.updateToolTip&&o.updateToolTip(a,s);var l=this.ai.findByClass(".ui-tooltip-container");null!=l&&l.length>0&&l[0].setAttribute("style",null);var h,u="ui-simple-default-tooltip-content",c=this.ai.findByClass("."+u);if(null!=c&&c.length>0){var p=["border-top-color","border-top-width","border-top-style","border-top-left-radius","background-color","padding-top","font-weight"],g=["border-color","border-width","border-style","border-radius","background-color","padding","font-weight"],f=((h=new i.List$1(i.String_$type,0)).add(t.k.brush.color.colorString),h.add("2px"),h.add("solid"),h.add("4px"),h.add("rgba(230, 230, 230, 0.74)"),h.add("4px"),h.add("bold"),h),y=(new i.Dictionary$2(i.String_$type,i.String_$type,0),new Array(p.length));i.arrayCopy1(p,0,y,0,p.length),this.b(u,y);for(var b=0;b<y.length;b++)this.ai.setStyleProperty(g[b],null==y[b]?f._inner[b]:y[b])}this.ai.setStyleProperty("top",(r.y+15).toString()+"px").setStyleProperty("left",(r.x+15).toString()+"px"),this.ai.show(),this.u=!0},e.prototype.j=function(t,e){var i=new V;switch(t){case"range":var n=this.m.ranges._inner[e];i.item=n,i.itemName=n.u,i.label=n.u+": "+n.o.toString()+"-"+n.j.toString();var r=n.an,a=n.ao;i.brush=null!=r?r:this.m.im(e,this.c),i.outline=null!=a?a:this.m.im(e,this.d),i.thickness=n.p;break;case"needle":i.item=this.m.dd,i.itemName=this.m.en,i.label=null!=this.m.en?this.m.en+": "+this.m.dd.toString():this.m.dd.toString(),i.brush=this.m.ip,i.outline=this.m.iq,i.thickness=this.m.cv}return i},e.prototype.a9=function(t){if(null==t)return this.aj=null,this.ah=null,this.ai=null,this.p=null,this.m.a9&&this.m.av.w(),void this.at();var e=t;this.ah=e,this.m.av.u(this.ah),this.ah.rootWrapper.addClass("ui-lineargauge-container"),this.ad=i.isNaN_(this.m.cw)?this.m.b4:this.m.cw;var n=this.ad,r=Math.round(e.rootWrapper.width()),a=Math.round(e.rootWrapper.height()),o=r*n,s=a*n;this.ah.rootWrapper.setStyleProperty("position","relative");var l=this.ah.createElement("canvas");l.setStyleProperty("position","absolute"),this.ah.append(l),this.ap=o,this.ao=s,l.setAttribute("width",o.toString()),l.setAttribute("height",s.toString()),l.setStyleProperty("width",r.toString()+"px"),l.setStyleProperty("height",a.toString()+"px"),l.setStyleProperty("left","0px"),l.setStyleProperty("top","0px"),this.m.i2=new i.Rect(0,0,0,r,a),this.m.i0=new i.Rect(0,0,0,r,a),this.aj=l;var h=this.ah.get2DCanvasContext(this.aj);if(this.p=new i.RenderingContext(new i.CanvasViewRenderer,h),this.a1(),this.b1(),this.p.ad(this.n),this.at(),i.TypeRegistrar.isRegistered("CanvasGestureDOMEventProxy")&&(this.i=i.typeCast(i.EventProxy.$,i.TypeRegistrar.create("CanvasGestureDOMEventProxy",this.ah.rootWrapper,this.ah,!1))),null!=this.i){var u=this.i;u.onMouseOver=i.delegateCombine(u.onMouseOver,i.runOn(this,this.ay));var c=this.i;c.onMouseLeave=i.delegateCombine(c.onMouseLeave,i.runOn(this,this.ax));var p=this.i;p.onContactStarted=i.delegateCombine(p.onContactStarted,i.runOn(this,this.aw));var g=this.i;g.onContactMoved=i.delegateCombine(g.onContactMoved,i.runOn(this,this.av));var f=this.i;f.onContactCompleted=i.delegateCombine(f.onContactCompleted,i.runOn(this,this.au))}this.bp()},e.prototype.au=function(t,e){null!=this.m&&this.m.onMouseUp(t)},e.prototype.av=function(t,e){null!=this.m&&this.m.onMouseMove(t,e)},e.prototype.aw=function(t,e){null!=this.m&&this.m.onMouseDown(t,e)},e.prototype.ay=function(t,e,i){null!=this.m&&this.m.onMouseOver(t,e,i)},e.prototype.ax=function(t){null!=this.m&&this.m.onMouseLeave()},e.prototype.at=function(){if(null!=this.i){var t=this.i;t.onMouseOver=i.delegateRemove(t.onMouseOver,i.runOn(this,this.ay));var e=this.i;e.onMouseLeave=i.delegateRemove(e.onMouseLeave,i.runOn(this,this.ax));var n=this.i;n.onContactStarted=i.delegateRemove(n.onContactStarted,i.runOn(this,this.aw));var r=this.i;r.onContactMoved=i.delegateRemove(r.onContactMoved,i.runOn(this,this.av));var a=this.i;a.onContactCompleted=i.delegateRemove(a.onContactCompleted,i.runOn(this,this.au)),this.i.av()}},e.prototype.ba=function(){this.a3();var t=Math.round(this.ah.rootWrapper.width()),e=Math.round(this.ah.rootWrapper.height());this.m.i2=new i.Rect(0,0,0,t,e),this.m.i0=new i.Rect(0,0,0,t,e),null!=this.i&&(this.i.bl=this.m.i2)},e.prototype.as=function(){this.bp()},e.prototype.bs=function(t){this.x=t},e.prototype.bp=function(){var t=this.m.i2.width,e=this.m.i2.height,n=t*this.ad,r=e*this.ad;if(this.ap==t&&this.ao==e||(this.aj.setAttribute("width",n.toString()),this.aj.setAttribute("height",r.toString()),this.aj.setStyleProperty("width",t.toString()+"px"),this.aj.setStyleProperty("height",e.toString()+"px"),this.ap=i.truncate(Math.round(n)),this.ao=i.truncate(Math.round(r))),this.p.d&&1!=this.ad&&(this.p.aa(),this.p.ab(this.ad,this.ad)),this.p.l(this.m.i2.left,this.m.i2.top,this.m.i2.width,this.m.i2.height),this.p.t(this.ch),this.p.t(this.ck),null!=this.x)for(var a=0;a<this.x.count;a++)this.p.t(this.x._inner[a]);for(var o=0;o<this.y.count;o++)this.p.ad(this.n),this.p.x(this.y._inner[o]);for(var s=0;s<this.z.count;s++)this.p.t(this.z._inner[s]);this.p.t(this.cj),this.p.t(this.ci),this.p.d&&1!=this.ad&&this.p.z()},e.prototype.b1=function(){if(null!=this.m.ds?this.n=this.m.ay():this.n=i.FontUtil.getFont(this.ah),this.ac=this.ae(this.n),null==this.m.il){var t=this.ah.rootWrapper.getStyleProperty("color");0==i.stringIsNullOrEmpty(t)&&(this.b5=new i.Brush,this.b5._fill=t,this.m.il=this.b5)}null!=this.p&&this.p.ad(this.n)},e.prototype.af=function(t){var e=i.typeCast(i.TextBlock.$,t);return null!=e&&null!=e.al?this.p.f(e)+0:0},e.prototype.cr=function(t){i.isNaN_(this.ac)&&(this.ac=this.ae(null));var e=this.af(t),n=this.ac;return new i.Size(1,e,n)},e.prototype.bt=function(t,e){t.ao=null!=e?e:this.b6},e.prototype.bk=function(t,e,i){t.n=e,t.o=i},e.prototype.bj=function(t,e){},e.prototype.bl=function(t,e){},e.prototype.ae=function(t){return i.FontUtil.getCurrentFontHeight(this.ah,t)},e.prototype.br=function(){this.r||(this.r=!0,window.setTimeout(i.runOn(this,this.ar),0))},e.prototype.ar=function(){this.r&&(this.r=!1,this.m.fm())},e.prototype.flush=function(){this.r&&this.ar()},e.prototype.o=function(t,e){return i.FontUtil.getFontInfo(this.ah,t,e)},e.prototype.az=function(t){var e,r,a,o,s,l;t.scalePath=new i.PathVisualData(1,"Scale",this.ck),t.needlePath=new i.PathVisualData(1,"Needle",this.cj),t.highlightNeedlePath=new i.PathVisualData(1,"HighlightNeedle",this.ci),t.backingPath=new i.PathVisualData(1,"Backing",this.ch);var h=this.n;try{for(var u=n.__values(i.fromEnum(this.y)),c=u.next();!c.done;c=u.next()){var p=c.value;if(0==p._visibility){var g=this.o(p,h),f=new $;f.labelValue=p.al,f.labelPosition=i.PointData.b({$type:i.Point_$type,x:p.n,y:p.o}),f.labelSize=i.SizeData.b(this.cr(p)),f.appearance=i.AppearanceHelper.c(p,g),t.scaleLabels.add(f)}}}catch(t){e={error:t}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(e)throw e.error}}try{for(var y=n.__values(i.fromEnum(this.z)),b=y.next();!b.done;b=y.next()){var d=b.value;if(0==d._visibility){var m=new k;m.tickPath=new i.PathVisualData(1,"tickmarks",d),t.scaleTickmarks.add(m)}}}catch(t){a={error:t}}finally{try{b&&!b.done&&(o=y.return)&&o.call(y)}finally{if(a)throw a.error}}try{for(var v=n.__values(i.fromEnum(this.x)),_=v.next();!_.done;_=v.next()){var w=_.value;if(0==w._visibility){var P=new j,x=new i.PathVisualData(1,"range",w);P.rangePath=x,t.ranges.add(P)}}}catch(t){s={error:t}}finally{try{_&&!_.done&&(l=v.return)&&l.call(v)}finally{if(s)throw s.error}}},e.prototype.a7=function(){this.a3(),null!=this.i&&this.i.at(this.ah.rootWrapper,"")},e.prototype.bb=function(){null!=this.i&&null!=this.ah&&this.i.bh(this.ah.rootWrapper,"")},e.prototype.bm=function(t){t._visibility=0},e.prototype.bn=function(t){t._visibility=1},e.prototype.bo=function(t){this.aa.remove(t)},e.prototype.cq=function(){var t=new i.Path;return this.aa.add(t),t},e.prototype.bw=function(t){t._visibility=0},e.prototype.bx=function(t){t._visibility=1},e.prototype.by=function(t){this.ab.remove(t)},e.prototype.b4=function(){var t=new i.TextBlock;return this.ab.add(t),t},e.prototype.bf=function(t){t._visibility=0},e.prototype.bg=function(t){t._visibility=1},e.prototype.bh=function(t){this.z.remove(t)},e.prototype.cp=function(){var t=new i.Path;return this.z.add(t),t},e.prototype.a4=function(t){t._visibility=0},e.prototype.a5=function(t){t._visibility=1},e.prototype.a6=function(t){this.y.remove(t)},e.prototype.b3=function(){var t=new i.TextBlock;return this.y.add(t),t},e.prototype.l=function(){var t,e=this;return null==this.k?null:((t=new P).b=e.an,t.d=e.cf,t.c=e.aq,t.a=e.k,t)},e.prototype.bi=function(){this.ad=this.m.b4},e.$t=i.markType(e,"XamLinearGaugeView"),e.w=new i.Dictionary$2(i.String_$type,i.Brush.$,0),e.g=null,e.h=null,e}(i.Base),st={"ui-lineargauge-needle":{"background-color":"#999999","border-top-color":"#FFFFFF"},"ui-lineargauge-scale":{"background-color":"transparent","border-top-color":"transparent"},"ui-lineargauge-tick":{"background-color":"rgba(0, 0, 0, 0.35)","border-top-color":"transparent"},"ui-lineargauge-minortick":{"background-color":"rgba(0, 0, 0, 0.2)","border-top-color":"transparent"},"ui-lineargauge-label":{"background-color":i.FontDefaults.gaugesFontBrush.fill,"border-top-color":"transparent"},"ui-lineargauge-range-palette-1":{"background-color":"#0078C8","border-top-color":"transparent"},"ui-lineargauge-range-palette-2":{"background-color":"#0099FF","border-top-color":"transparent"},"ui-lineargauge-range-palette-3":{"background-color":"#21A7FF","border-top-color":"transparent"},"ui-lineargauge-range-palette-4":{"background-color":"#4FB9FF","border-top-color":"transparent"},"ui-lineargauge-range-palette-5":{"background-color":"#79C9FF","border-top-color":"transparent"},"ui-lineargauge-needle-palette-1":{"background-color":"#e0e0e0","border-top-color":"transparent"},"ui-lineargauge-needle-palette-2":{"background-color":"#c0c0c0","border-top-color":"transparent"},"ui-lineargauge-needle-palette-3":{"background-color":"#999999","border-top-color":"transparent"},"ui-lineargauge-needle-palette-4":{"background-color":"#494949","border-top-color":"transparent"},"ui-lineargauge-needle-palette-5":{"background-color":"#353535","border-top-color":"transparent"},"ui-lineargauge":{"font-family":i.FontDefaults.gaugesFontFamily,"font-size":i.FontDefaults.gaugesFontSize+"px",color:i.FontDefaults.gaugesFontBrush.fill},"font-family":i.FontDefaults.gaugesFontFamily,"font-style":"normal","font-weight":i.FontDefaults.gaugesFontWeight,"font-size":i.FontDefaults.gaugesFontSize+"px",color:i.FontDefaults.gaugesFontBrush.fill,"font-variant":"","line-height":""},lt=function(){function t(t,e,n,r,a){var o,s=this;this._renderer=t,this._elRef=e,this._ngZone=n,this._componentFactoryResolver=r,this._injector=a,this.actualRanges=[],this._ranges=null,this._rangesAdapter=null,this._tooltipTemplate=null,this._tooltipContent=null,this._defaultTooltips=null,this._zoneRunner=null,this.__p=null,this._hasUserValues=new Set,this._stylingContainer=null,this._stylingParent=null,this._inStyling=!1,this._formatLabel=null,this._alignLabel=null,this._valueChanged=null,this._highlightValueChanged=null,this._actualMinimumValueChange=null,this._actualMaximumValueChange=null,this._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(this)),this._zoneRunner=function(t){return s._ngZone.run(t)},this._implementation=this.createImplementation(),this._container=t.createElement("div"),t.appendChild(e.element.nativeElement,this._container),t.setStyle(this._container,"display","block"),t.setStyle(this._container,"width","100%"),t.setStyle(this._container,"height","100%"),o=this._container,null!=this._container.nativeElement&&(o=this._container.nativeElement),this._root=o;var l=new i.AngularRenderer(o,this._renderer,window.document,this._ngZone,!0,st);this._wrapper=l;var h=this.i;this._gauge=h,this._rangesAdapter=new i.CollectionAdapter([],this.i.ranges,this.actualRanges,(function(t){return t.i}),(function(t){t._provideRenderer(s._wrapper),s._root&&s._root.parentElement&&t._styling(s._root,s,s)}),(function(t){t._provideRenderer(null)})),h.provideContainer(l),l.addSizeWatcher((function(){s._gauge.containerResized()}))}return Object.defineProperty(t.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this._renderer.setStyle(this._elRef.element.nativeElement,"height",t),this._gauge.containerResized()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this._renderer.setStyle(this._elRef.element.nativeElement,"width",t),this._gauge.containerResized()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ranges",{get:function(){var t=this;if(null===this._ranges){var e=new R;e._innerColl.addListener((function(e,n){switch(n.action){case i.NotifyCollectionChangedAction.Add:t._rangesAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Remove:t._rangesAdapter.removeManualItemAt(n.oldStartingIndex);break;case i.NotifyCollectionChangedAction.Replace:t._rangesAdapter.removeManualItemAt(n.oldStartingIndex),t._rangesAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Reset:t._rangesAdapter.clearManualItems()}})),this._ranges=e}return this._ranges},enumerable:!1,configurable:!0}),t.prototype.ngOnDestroy=function(){this._gauge.destroy(),this._wrapper.destroy()},t.prototype.createImplementation=function(){return new at},t.prototype.ngAfterContentInit=function(){var t=this;if(i.TypeRegistrar.isRegistered("IgxSimpleDefaultTooltipComponent")){var e=i.TypeRegistrar.get("IgxSimpleDefaultTooltipComponent"),n=this._componentFactoryResolver.resolveComponentFactory(e),r=this._dynamicContent.createComponent(n);this._defaultTooltips=r,r.instance.onContentReady.subscribe((function(){t._onDefaultTooltipsReady(r)})),this._ensureTooltipCreated()}this._rangesAdapter.updateQuery(this.contentRanges)},t.prototype.ngAfterViewInit=function(){this.updateStyle(),this.i.containerResized()},t.prototype.updateStyle=function(){if(this._styling(this._root,this),this.actualRanges&&this.actualRanges.length>0)for(var t=this.actualRanges,e=0;e<t.length;e++)t[e]._styling(this._root,this,this)},Object.defineProperty(t.prototype,"tooltipTemplate",{get:function(){return this._tooltipTemplate},set:function(t){this._tooltipTemplate=t,null==t&&null!==this._tooltipContent&&(this._tooltipContent.destroy(),this._tooltipContent=null),null!=this._tooltipContent?this._tooltipContent.instance.template=this._tooltipTemplate:this._ensureTooltipCreated()},enumerable:!1,configurable:!0}),t.prototype._ensureTooltipCreated=function(){if(null==this.i.toolTip){var t=this.createTooltip();if(null==t)return;this._tooltipContent=t,t.instance.template=this._tooltipTemplate,this.i.toolTip=this.createWrapper(t.location.nativeElement)}},t.prototype.createWrapper=function(t){var e=new i.AngularWrapper(t,this._renderer,this._ngZone);return e.updateToolTip=t.updateToolTip,e.hideToolTip=t.hideToolTip,e},t.prototype._ensureDefaultTooltip=function(){null!=this._defaultTooltips&&this._defaultTooltips.instance.ensureDefaultTooltip(this)},t.prototype._onDefaultTooltipsReady=function(t){this._ensureDefaultTooltip()},t.prototype.createTooltip=function(){if(!i.TypeRegistrar.isRegistered("IgxTooltipContainerComponent"))return null;var t=i.TypeRegistrar.get("IgxTooltipContainerComponent"),e=this._componentFactoryResolver.resolveComponentFactory(t),n=this._dynamicContent.createComponent(e),r=n.location.nativeElement,a=this;return r.updateToolTip=function(t){if(t.externalObject)t=t.externalObject;else{var e=new i.IgxDataContext;e._implementation=t,t=e}return r.parentElement!=a._container&&(null!=r.parentElement&&r.parentElement.removeChild(r),a._container.appendChild(r)),n.instance.context=t,r.style.display="block",!0},r.hideToolTip=function(){r.style.display="none"},r.style.display="none",n},t.prototype._runInZone=function(t){null!=this._zoneRunner?this._zoneRunner(t):t()},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t._createFromInternal=function(t){if(!t)return null;if(!t.$type)return null;var e="Igx"+t.$type.name+"Component";return i.TypeRegistrar.isRegistered(e)?i.TypeRegistrar.create(e):null},Object.defineProperty(t.prototype,"animating",{get:function(){return this.i.a9},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"transitionProgress",{get:function(){return this.i.dc},set:function(t){this.i.dc=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"orientation",{get:function(){return this.i.as},set:function(t){this.i.as=i.ensureEnum(y,t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rangeBrushes",{get:function(){return i.fromBrushCollection(this.i.ah)},set:function(t){this.i.ah=i.toBrushCollection(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rangeOutlines",{get:function(){return i.fromBrushCollection(this.i.ai)},set:function(t){this.i.ai=i.toBrushCollection(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minimumValue",{get:function(){return this.i.ch},set:function(t){this.i.ch=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actualMinimumValue",{get:function(){return this.i.b3},set:function(t){this.i.b3=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maximumValue",{get:function(){return this.i.cg},set:function(t){this.i.cg=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actualMaximumValue",{get:function(){return this.i.b2},set:function(t){this.i.b2=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.i.dd},set:function(t){this.i.dd=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleShape",{get:function(){return this.i.ap},set:function(t){this.i.ap=i.ensureEnum(Z,t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleName",{get:function(){return this.i.en},set:function(t){this.i.en=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rangeInnerExtent",{get:function(){return this.i.cx},set:function(t){this.i.cx=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scaleInnerExtent",{get:function(){return this.i.c1},set:function(t){this.i.c1=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rangeOuterExtent",{get:function(){return this.i.cy},set:function(t){this.i.cy=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scaleOuterExtent",{get:function(){return this.i.c3},set:function(t){this.i.c3=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleInnerExtent",{get:function(){return this.i.co},set:function(t){this.i.co=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleOuterExtent",{get:function(){return this.i.cs},set:function(t){this.i.cs=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleInnerBaseWidth",{get:function(){return this.i.cn},set:function(t){this.i.cn=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleOuterBaseWidth",{get:function(){return this.i.cr},set:function(t){this.i.cr=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleInnerPointWidth",{get:function(){return this.i.cq},set:function(t){this.i.cq=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleOuterPointWidth",{get:function(){return this.i.cu},set:function(t){this.i.cu=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleInnerPointExtent",{get:function(){return this.i.cp},set:function(t){this.i.cp=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleOuterPointExtent",{get:function(){return this.i.ct},set:function(t){this.i.ct=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"interval",{get:function(){return this.i.cb},set:function(t){this.i.cb=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ticksPostInitial",{get:function(){return this.i.c8},set:function(t){this.i.c8=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ticksPreTerminal",{get:function(){return this.i.c9},set:function(t){this.i.c9=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelInterval",{get:function(){return this.i.cd},set:function(t){this.i.cd=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelExtent",{get:function(){return this.i.cc},set:function(t){this.i.cc=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelsPostInitial",{get:function(){return this.i.ce},set:function(t){this.i.ce=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelsPreTerminal",{get:function(){return this.i.cf},set:function(t){this.i.cf=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minorTickCount",{get:function(){return this.i.ci},set:function(t){this.i.ci=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tickStartExtent",{get:function(){return this.i.da},set:function(t){this.i.da=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tickEndExtent",{get:function(){return this.i.c7},set:function(t){this.i.c7=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tickStrokeThickness",{get:function(){return this.i.db},set:function(t){this.i.db=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tickBrush",{get:function(){return i.brushToString(this.i.it)},set:function(t){this.i.it=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fontBrush",{get:function(){return i.brushToString(this.i.il)},set:function(t){this.i.il=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleBreadth",{get:function(){return this.i.cm},set:function(t){this.i.cm=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleBrush",{get:function(){return i.brushToString(this.i.ip)},set:function(t){this.i.ip=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleOutline",{get:function(){return i.brushToString(this.i.iq)},set:function(t){this.i.iq=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleStrokeThickness",{get:function(){return this.i.cv},set:function(t){this.i.cv=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minorTickStartExtent",{get:function(){return this.i.ck},set:function(t){this.i.ck=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minorTickEndExtent",{get:function(){return this.i.cj},set:function(t){this.i.cj=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minorTickStrokeThickness",{get:function(){return this.i.cl},set:function(t){this.i.cl=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minorTickBrush",{get:function(){return i.brushToString(this.i.io)},set:function(t){this.i.io=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isScaleInverted",{get:function(){return this.i.bg},set:function(t){this.i.bg=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"backingBrush",{get:function(){return i.brushToString(this.i.ij)},set:function(t){this.i.ij=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"backingOutline",{get:function(){return i.brushToString(this.i.ik)},set:function(t){this.i.ik=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"backingStrokeThickness",{get:function(){return this.i.b7},set:function(t){this.i.b7=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"backingInnerExtent",{get:function(){return this.i.b5},set:function(t){this.i.b5=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"backingOuterExtent",{get:function(){return this.i.b6},set:function(t){this.i.b6=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scaleStartExtent",{get:function(){return this.i.c5},set:function(t){this.i.c5=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scaleEndExtent",{get:function(){return this.i.c0},set:function(t){this.i.c0=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scaleBrush",{get:function(){return i.brushToString(this.i.ir)},set:function(t){this.i.ir=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scaleOutline",{get:function(){return i.brushToString(this.i.is)},set:function(t){this.i.is=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scaleStrokeThickness",{get:function(){return this.i.c6},set:function(t){this.i.c6=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"mergeViewports",{get:function(){return this.i.bi},set:function(t){this.i.bi=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isNeedleDraggingEnabled",{get:function(){return this.i.bf},set:function(t){this.i.bf=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isHighlightNeedleDraggingEnabled",{get:function(){return this.i.be},set:function(t){this.i.be=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelFormat",{get:function(){return this.i.d3},set:function(t){this.i.d3=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelFormatSpecifiers",{get:function(){return this.i.ag},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.ag=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"transitionDuration",{get:function(){return this.i.dh},set:function(t){this.i.dh=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"highlightValue",{get:function(){return this.i.b9},set:function(t){this.i.b9=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actualHighlightValueOpacity",{get:function(){return this.i.b1},set:function(t){this.i.b1=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"highlightValueOpacity",{get:function(){return this.i.ca},set:function(t){this.i.ca=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actualHighlightValueDisplayMode",{get:function(){return this.i.a0},set:function(t){this.i.a0=i.ensureEnum(i.HighlightedValueDisplayMode_$type,t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"highlightValueDisplayMode",{get:function(){return this.i.a1},set:function(t){this.i.a1=i.ensureEnum(i.HighlightedValueDisplayMode_$type,t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showToolTipTimeout",{get:function(){return this.i.dg},set:function(t){this.i.dg=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showToolTip",{get:function(){return this.i.bm},set:function(t){this.i.bm=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"font",{get:function(){return this.i.ds},set:function(t){this.i.ds=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pixelScalingRatio",{get:function(){return this.i.cw},set:function(t){this.i.cw=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actualPixelScalingRatio",{get:function(){return this.i.b4},set:function(t){this.i.b4=+t},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null!=this.ranges&&this.ranges.findByName&&this.ranges.findByName(t)?this.ranges.findByName(t):null!=this.labelFormatSpecifiers&&i.arrayFindByName(this.labelFormatSpecifiers,t)?i.arrayFindByName(this.labelFormatSpecifiers,t):null},Object.defineProperty(t.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),t.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},t.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,a=this.i.$type.name;0===a.indexOf("Xam")&&(a=a.substring(3)),r=i.toSpinal("LinearGaugeComponent");var o=[],s=i.toSpinal(a);o.push(s+"-");for(var l=this.i.$type.baseType;l&&"Object"!=l.name&&"Base"!=l.name&&"Control"!=l.name&&"DependencyObject"!=l.Name&&"FrameworkElement"!=l.Name;){0===(a=l.name).indexOf("Xam")&&(a=a.substring(3));var h=i.toSpinal(a);o.push(h+"-"),l=l.baseType}if(n){var u=n.i.$type.name;0===u.indexOf("Xam")&&(u=u.substring(3));var c=i.toSpinal(u);o.push(c+"-"+r+"-"),o.push(c+"-"+s+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,o),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},t.prototype.getValueForPoint=function(t){return this.i.b8(i.toPoint(t))},t.prototype.needleContainsPoint=function(t,e){return this.i.needleContainsPoint(i.toPoint(t),e)},t.prototype.highlightNeedleContainsPoint=function(t,e){return this.i.highlightNeedleContainsPoint(i.toPoint(t),e)},t.prototype.exportSerializedVisualData=function(){return this.i.dr()},t.prototype.flush=function(){this.i.fq()},t.prototype.provideContainer=function(t){this.i.provideContainer(t)},t.prototype.containerResized=function(){this.i.containerResized()},t.prototype.styleUpdated=function(){this.i.gm()},Object.defineProperty(t.prototype,"formatLabel",{get:function(){var t=this;return null==this._formatLabel&&(this._formatLabel=new e.EventEmitter,this.i.formatLabel=i.delegateCombine(this.i.formatLabel,(function(e,i){t._runInZone((function(){var e=new D;e._provideImplementation(i),t.beforeFormatLabel&&t.beforeFormatLabel(t,e),t._formatLabel.emit({sender:t,args:e})}))}))),this._formatLabel},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"alignLabel",{get:function(){var t=this;return null==this._alignLabel&&(this._alignLabel=new e.EventEmitter,this.i.alignLabel=i.delegateCombine(this.i.alignLabel,(function(e,i){t._runInZone((function(){var e=new L;e._provideImplementation(i),t.beforeAlignLabel&&t.beforeAlignLabel(t,e),t._alignLabel.emit({sender:t,args:e})}))}))),this._alignLabel},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"valueChanged",{get:function(){var t=this;return null==this._valueChanged&&(this._valueChanged=new e.EventEmitter,this.i.valueChanged=i.delegateCombine(this.i.valueChanged,(function(e,n){var r=new i.IgxDoubleValueChangedEventArgs;r._provideImplementation(n),t.beforeValueChanged&&t.beforeValueChanged(t,r),t._valueChanged.emit({sender:t,args:r})}))),this._valueChanged},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"highlightValueChanged",{get:function(){var t=this;return null==this._highlightValueChanged&&(this._highlightValueChanged=new e.EventEmitter,this.i.highlightValueChanged=i.delegateCombine(this.i.highlightValueChanged,(function(e,n){var r=new i.IgxDoubleValueChangedEventArgs;r._provideImplementation(n),t.beforeHighlightValueChanged&&t.beforeHighlightValueChanged(t,r),t._highlightValueChanged.emit({sender:t,args:r})}))),this._highlightValueChanged},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actualMinimumValueChange",{get:function(){var t=this;return null==this._actualMinimumValueChange&&(this._actualMinimumValueChange=new e.EventEmitter,this.i.propertyChanged=i.delegateCombine(this.i.propertyChanged,(function(e,i){var n=t.actualMinimumValue;t.beforeActualMinimumValueChange&&t.beforeActualMinimumValueChange(t,n),t._actualMinimumValueChange.emit(n)}))),this._actualMinimumValueChange},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actualMaximumValueChange",{get:function(){var t=this;return null==this._actualMaximumValueChange&&(this._actualMaximumValueChange=new e.EventEmitter,this.i.propertyChanged=i.delegateCombine(this.i.propertyChanged,(function(e,i){var n=t.actualMaximumValue;t.beforeActualMaximumValueChange&&t.beforeActualMaximumValueChange(t,n),t._actualMaximumValueChange.emit(n)}))),this._actualMaximumValueChange},enumerable:!1,configurable:!0}),t.ɵfac=e["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,deps:[{token:e.Renderer2},{token:e.ViewContainerRef},{token:e.NgZone},{token:e.ComponentFactoryResolver},{token:e.Injector}],target:e["ɵɵFactoryTarget"].Component}),t.ɵcmp=e["ɵɵngDeclareComponent"]({minVersion:"12.0.0",version:"12.2.17",type:t,selector:"igx-linear-gauge",inputs:{height:"height",width:"width",tooltipTemplate:"tooltipTemplate",transitionProgress:"transitionProgress",orientation:"orientation",rangeBrushes:"rangeBrushes",rangeOutlines:"rangeOutlines",minimumValue:"minimumValue",actualMinimumValue:"actualMinimumValue",maximumValue:"maximumValue",actualMaximumValue:"actualMaximumValue",value:"value",needleShape:"needleShape",needleName:"needleName",rangeInnerExtent:"rangeInnerExtent",scaleInnerExtent:"scaleInnerExtent",rangeOuterExtent:"rangeOuterExtent",scaleOuterExtent:"scaleOuterExtent",needleInnerExtent:"needleInnerExtent",needleOuterExtent:"needleOuterExtent",needleInnerBaseWidth:"needleInnerBaseWidth",needleOuterBaseWidth:"needleOuterBaseWidth",needleInnerPointWidth:"needleInnerPointWidth",needleOuterPointWidth:"needleOuterPointWidth",needleInnerPointExtent:"needleInnerPointExtent",needleOuterPointExtent:"needleOuterPointExtent",interval:"interval",ticksPostInitial:"ticksPostInitial",ticksPreTerminal:"ticksPreTerminal",labelInterval:"labelInterval",labelExtent:"labelExtent",labelsPostInitial:"labelsPostInitial",labelsPreTerminal:"labelsPreTerminal",minorTickCount:"minorTickCount",tickStartExtent:"tickStartExtent",tickEndExtent:"tickEndExtent",tickStrokeThickness:"tickStrokeThickness",tickBrush:"tickBrush",fontBrush:"fontBrush",needleBreadth:"needleBreadth",needleBrush:"needleBrush",needleOutline:"needleOutline",needleStrokeThickness:"needleStrokeThickness",minorTickStartExtent:"minorTickStartExtent",minorTickEndExtent:"minorTickEndExtent",minorTickStrokeThickness:"minorTickStrokeThickness",minorTickBrush:"minorTickBrush",isScaleInverted:"isScaleInverted",backingBrush:"backingBrush",backingOutline:"backingOutline",backingStrokeThickness:"backingStrokeThickness",backingInnerExtent:"backingInnerExtent",backingOuterExtent:"backingOuterExtent",scaleStartExtent:"scaleStartExtent",scaleEndExtent:"scaleEndExtent",scaleBrush:"scaleBrush",scaleOutline:"scaleOutline",scaleStrokeThickness:"scaleStrokeThickness",mergeViewports:"mergeViewports",isNeedleDraggingEnabled:"isNeedleDraggingEnabled",isHighlightNeedleDraggingEnabled:"isHighlightNeedleDraggingEnabled",labelFormat:"labelFormat",labelFormatSpecifiers:"labelFormatSpecifiers",transitionDuration:"transitionDuration",highlightValue:"highlightValue",actualHighlightValueOpacity:"actualHighlightValueOpacity",highlightValueOpacity:"highlightValueOpacity",actualHighlightValueDisplayMode:"actualHighlightValueDisplayMode",highlightValueDisplayMode:"highlightValueDisplayMode",showToolTipTimeout:"showToolTipTimeout",showToolTip:"showToolTip",font:"font",pixelScalingRatio:"pixelScalingRatio",actualPixelScalingRatio:"actualPixelScalingRatio"},outputs:{formatLabel:"formatLabel",alignLabel:"alignLabel",valueChanged:"valueChanged",highlightValueChanged:"highlightValueChanged",actualMinimumValueChange:"actualMinimumValueChange",actualMaximumValueChange:"actualMaximumValueChange"},host:{classAttribute:"igx-linear-gauge ig-linear-gauge"},providers:[],queries:[{propertyName:"contentRanges",predicate:F}],viewQueries:[{propertyName:"_dynamicContent",first:!0,predicate:["dynamicContent"],descendants:!0,read:e.ViewContainerRef,static:!0}],ngImport:e,template:"<ng-container #dynamicContent></ng-container>",isInline:!0,styles:["\n\t\t:host {\n\t\t\tdisplay: block;\n\t\t}\n\t"],changeDetection:e.ChangeDetectionStrategy.OnPush}),t}();e["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:lt,decorators:[{type:e.Component,args:[{selector:"igx-linear-gauge",template:"<ng-container #dynamicContent></ng-container>",changeDetection:e.ChangeDetectionStrategy.OnPush,providers:[],host:{class:"igx-linear-gauge ig-linear-gauge"},styles:["\n\t\t:host {\n\t\t\tdisplay: block;\n\t\t}\n\t"]}]}],ctorParameters:function(){return[{type:e.Renderer2},{type:e.ViewContainerRef},{type:e.NgZone},{type:e.ComponentFactoryResolver},{type:e.Injector}]},propDecorators:{_dynamicContent:[{type:e.ViewChild,args:["dynamicContent",{read:e.ViewContainerRef,static:!0}]}],height:[{type:e.Input}],width:[{type:e.Input}],contentRanges:[{type:e.ContentChildren,args:[F]}],tooltipTemplate:[{type:e.Input}],transitionProgress:[{type:e.Input}],orientation:[{type:e.Input}],rangeBrushes:[{type:e.Input}],rangeOutlines:[{type:e.Input}],minimumValue:[{type:e.Input}],actualMinimumValue:[{type:e.Input}],maximumValue:[{type:e.Input}],actualMaximumValue:[{type:e.Input}],value:[{type:e.Input}],needleShape:[{type:e.Input}],needleName:[{type:e.Input}],rangeInnerExtent:[{type:e.Input}],scaleInnerExtent:[{type:e.Input}],rangeOuterExtent:[{type:e.Input}],scaleOuterExtent:[{type:e.Input}],needleInnerExtent:[{type:e.Input}],needleOuterExtent:[{type:e.Input}],needleInnerBaseWidth:[{type:e.Input}],needleOuterBaseWidth:[{type:e.Input}],needleInnerPointWidth:[{type:e.Input}],needleOuterPointWidth:[{type:e.Input}],needleInnerPointExtent:[{type:e.Input}],needleOuterPointExtent:[{type:e.Input}],interval:[{type:e.Input}],ticksPostInitial:[{type:e.Input}],ticksPreTerminal:[{type:e.Input}],labelInterval:[{type:e.Input}],labelExtent:[{type:e.Input}],labelsPostInitial:[{type:e.Input}],labelsPreTerminal:[{type:e.Input}],minorTickCount:[{type:e.Input}],tickStartExtent:[{type:e.Input}],tickEndExtent:[{type:e.Input}],tickStrokeThickness:[{type:e.Input}],tickBrush:[{type:e.Input}],fontBrush:[{type:e.Input}],needleBreadth:[{type:e.Input}],needleBrush:[{type:e.Input}],needleOutline:[{type:e.Input}],needleStrokeThickness:[{type:e.Input}],minorTickStartExtent:[{type:e.Input}],minorTickEndExtent:[{type:e.Input}],minorTickStrokeThickness:[{type:e.Input}],minorTickBrush:[{type:e.Input}],isScaleInverted:[{type:e.Input}],backingBrush:[{type:e.Input}],backingOutline:[{type:e.Input}],backingStrokeThickness:[{type:e.Input}],backingInnerExtent:[{type:e.Input}],backingOuterExtent:[{type:e.Input}],scaleStartExtent:[{type:e.Input}],scaleEndExtent:[{type:e.Input}],scaleBrush:[{type:e.Input}],scaleOutline:[{type:e.Input}],scaleStrokeThickness:[{type:e.Input}],mergeViewports:[{type:e.Input}],isNeedleDraggingEnabled:[{type:e.Input}],isHighlightNeedleDraggingEnabled:[{type:e.Input}],labelFormat:[{type:e.Input}],labelFormatSpecifiers:[{type:e.Input}],transitionDuration:[{type:e.Input}],highlightValue:[{type:e.Input}],actualHighlightValueOpacity:[{type:e.Input}],highlightValueOpacity:[{type:e.Input}],actualHighlightValueDisplayMode:[{type:e.Input}],highlightValueDisplayMode:[{type:e.Input}],showToolTipTimeout:[{type:e.Input}],showToolTip:[{type:e.Input}],font:[{type:e.Input}],pixelScalingRatio:[{type:e.Input}],actualPixelScalingRatio:[{type:e.Input}],formatLabel:[{type:e.Output}],alignLabel:[{type:e.Output}],valueChanged:[{type:e.Output}],highlightValueChanged:[{type:e.Output}],actualMinimumValueChange:[{type:e.Output}],actualMaximumValueChange:[{type:e.Output}]}});var ht=function(){function t(){}return t.ɵfac=e["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,deps:[],target:e["ɵɵFactoryTarget"].NgModule}),t.ɵmod=e["ɵɵngDeclareNgModule"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,declarations:[lt],imports:[r.CommonModule,A,i.IgxNumberFormatSpecifierModule],exports:[lt,A,i.IgxNumberFormatSpecifierModule]}),t.ɵinj=e["ɵɵngDeclareInjector"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,imports:[[r.CommonModule,A,i.IgxNumberFormatSpecifierModule],A,i.IgxNumberFormatSpecifierModule]}),t}();e["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:ht,decorators:[{type:e.NgModule,args:[{declarations:[lt],exports:[lt,A,i.IgxNumberFormatSpecifierModule],imports:[r.CommonModule,A,i.IgxNumberFormatSpecifierModule],entryComponents:[]}]}],ctorParameters:function(){return[]}});var ut=function(){function t(){i.TypeRegistrar.registerCons("IgxLinearGaugeComponent",lt)}return t.ɵfac=e["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,deps:[],target:e["ɵɵFactoryTarget"].NgModule}),t.ɵmod=e["ɵɵngDeclareNgModule"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,imports:[r.CommonModule,G,i.IgxNumberFormatSpecifierDynamicModule,ht],exports:[G,i.IgxNumberFormatSpecifierDynamicModule,ht]}),t.ɵinj=e["ɵɵngDeclareInjector"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,imports:[[r.CommonModule,G,i.IgxNumberFormatSpecifierDynamicModule,ht],G,i.IgxNumberFormatSpecifierDynamicModule,ht]}),t}();e["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:ut,decorators:[{type:e.NgModule,args:[{declarations:[],exports:[G,i.IgxNumberFormatSpecifierDynamicModule,ht],imports:[r.CommonModule,G,i.IgxNumberFormatSpecifierDynamicModule,ht],entryComponents:[lt]}]}],ctorParameters:function(){return[]}});var ct=function(){function t(){}return t.ɵfac=e["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,deps:[],target:e["ɵɵFactoryTarget"].NgModule}),t.ɵmod=e["ɵɵngDeclareNgModule"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,imports:[r.CommonModule,ht,i.IgxDVInteractivityModule],exports:[ht,i.IgxDVInteractivityModule]}),t.ɵinj=e["ɵɵngDeclareInjector"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,imports:[[r.CommonModule,ht,i.IgxDVInteractivityModule],ht,i.IgxDVInteractivityModule]}),t}();e["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:ct,decorators:[{type:e.NgModule,args:[{declarations:[],exports:[ht,i.IgxDVInteractivityModule],imports:[r.CommonModule,ht,i.IgxDVInteractivityModule],entryComponents:[]}]}]});var pt=function(){function t(){}return t.ɵfac=e["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,deps:[],target:e["ɵɵFactoryTarget"].NgModule}),t.ɵmod=e["ɵɵngDeclareNgModule"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,imports:[r.CommonModule,ut,i.IgxDVInteractivityDynamicModule,ct],exports:[ut,i.IgxDVInteractivityDynamicModule,ct]}),t.ɵinj=e["ɵɵngDeclareInjector"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,imports:[[r.CommonModule,ut,i.IgxDVInteractivityDynamicModule,ct],ut,i.IgxDVInteractivityDynamicModule,ct]}),t}();e["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:pt,decorators:[{type:e.NgModule,args:[{declarations:[],exports:[ut,i.IgxDVInteractivityDynamicModule,ct],imports:[r.CommonModule,ut,i.IgxDVInteractivityDynamicModule,ct],entryComponents:[]}]}]});var gt=function(t){function e(){return t.call(this,rt.$,0)||this}return n.__extends(e,t),e.$t=i.markType(e,"LinearNeedleVisualDataList",i.List$1.$.specialize(rt.$)),e}(i.List$1),ft=function(t){return t[t.None=0]="None",t[t.Rectangle=1]="Rectangle",t[t.Triangle=2]="Triangle",t[t.Needle=3]="Needle",t[t.Trapezoid=4]="Trapezoid",t[t.RectangleWithBulb=5]="RectangleWithBulb",t[t.TriangleWithBulb=6]="TriangleWithBulb",t[t.NeedleWithBulb=7]="NeedleWithBulb",t[t.TrapezoidWithBulb=8]="TrapezoidWithBulb",t}({}),yt=i.markEnum("RadialGaugeNeedleShape","None,0|Rectangle,1|Triangle,2|Needle,3|Trapezoid,4|RectangleWithBulb,5|TriangleWithBulb,6|NeedleWithBulb,7|TrapezoidWithBulb,8"),bt=function(t){return t[t.None=0]="None",t[t.Circle=1]="Circle",t[t.CircleWithHole=2]="CircleWithHole",t[t.CircleOverlay=3]="CircleOverlay",t[t.CircleOverlayWithHole=4]="CircleOverlayWithHole",t[t.CircleUnderlay=5]="CircleUnderlay",t[t.CircleUnderlayWithHole=6]="CircleUnderlayWithHole",t}({}),dt=i.markEnum("RadialGaugePivotShape","None,0|Circle,1|CircleWithHole,2|CircleOverlay,3|CircleOverlayWithHole,4|CircleUnderlay,5|CircleUnderlayWithHole,6"),mt=function(t){return t[t.Auto=0]="Auto",t[t.Circular=1]="Circular",t[t.Fitted=2]="Fitted",t}({}),vt=i.markEnum("RadialGaugeScaleOversweepShape","Auto,0|Circular,1|Fitted,2"),_t=function(t){return t[t.Circular=0]="Circular",t[t.Fitted=1]="Fitted",t}({}),wt=i.markEnum("RadialGaugeBackingShape","Circular,0|Fitted,1"),Pt=function(t){function e(){var e=t.call(this)||this;return e.propertyChanged=null,e}return n.__extends(e,t),e.prototype.ad=function(t,e,i){},e.prototype.ac=function(t,e,n){this.ad(t,e,n),null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t))},e.$t=i.markType(e,"XamRadialGaugeRange",i.DependencyObject.$,[i.INotifyPropertyChanged_$type]),e.q=i.DeviceUtils.g(1),e.$$p=i.markDep(i.DependencyProperty,i.PropertyMetadata,e,"ac",["Brush:ao:ae",[i.Brush.$,null],"EndValue:j:af",[1,NaN],"InnerEndExtent:k:ag",[1,NaN],"InnerStartExtent:l:ah",[1,NaN],"Name:v:ai",[2,null],"OuterEndExtent:m:aj",[1,NaN],"OuterStartExtent:n:ak",[1,NaN],"Outline:ap:al",[i.Brush.$,null],"StartValue:o:am",[1,NaN],"StrokeThickness:p:an",[1,e.q]]),e}(i.DependencyObject),$t=function(t){function e(){return t.call(this,Pt.$,0)||this}return n.__extends(e,t),e.$t=i.markType(e,"RadialGaugeRangeCollection",i.ObservableCollection$1.$.specialize(Pt.$)),e}(i.ObservableCollection$1),xt=function(t){return t[t.OmitLast=0]="OmitLast",t[t.OmitFirst=1]="OmitFirst",t[t.OmitNeither=2]="OmitNeither",t[t.OmitBoth=3]="OmitBoth",t}({}),kt=i.markEnum("RadialGaugeDuplicateLabelOmissionStrategy","OmitLast,0|OmitFirst,1|OmitNeither,2|OmitBoth,3"),St=function(t){function e(n,r,a,o,s){var l=t.call(this)||this;l.e=0,l.d=0,l.c=0,l.b=0,l.l=0,l.f=0,l.a=0,l.e=a,l.d=o,(i.isNaN_(l.e)||i.isInfinity(l.e))&&(l.e=135),(i.isNaN_(l.d)||i.isInfinity(l.d))&&(l.d=45),l.l=s,l.c=n,l.b=r;var h=i.MathUtil.o(l.e),u=i.MathUtil.o(l.d),c=e.k(h,u,l.l);return l.f=c.c,l.a=c.d,l}return n.__extends(e,t),Object.defineProperty(e.prototype,"i",{get:function(){return this.f},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"g",{get:function(){return this.a},enumerable:!1,configurable:!0}),e.k=function(t,e,n){if(1==n&&e<t&&(e+=2*Math.PI),0==n&&t<e&&(t+=2*Math.PI),0==n){var r=t;t=e,e=r}return new i.Tuple$2(i.Number_$type,i.Number_$type,t,e)},e.prototype.h=function(t){var e=NaN;return e=this.c==this.b?0:(t-this.c)/(this.b-this.c),0==this.l&&(e=1-e),this.f+(this.a-this.f)*e},e.prototype.j=function(t){var e=(t-this.f)/(this.a-this.f);return 0==this.l&&(e=1-e),this.c+(this.b-this.c)*e},e.$t=i.markType(e,"RadialGaugeScaler"),e}(i.Base),Ot=function(t){function e(){var e=t.call(this)||this;return e.ad=0,e.ac=0,e.af=0,e.ab=0,e.aj=null,e.ak=null,e.aa=0,e.ae=0,e.ai=null,e.ah=null,e.d=null,e.b=null,e.t=null,e.e=null,e.f=null,e.x=null,e.v=null,e.w=null,e.z=null,e.y=null,e.u=null,e.h=null,e.g=null,e.c=null,e.s=null,e.a=null,e.q=null,e.r=null,e.i=null,e.l=null,e.m=null,e.p=null,e.j=null,e.k=null,e.n=null,e.o=null,e.d=new l,e.b=new l,e.t=new l,e.e=new l,e.f=new l,e.x=new l,e.v=new l,e.w=new l,e.z=new l,e.y=new l,e.u=new l,e.h=new l,e.g=new l,e.c=new l,e.s=new l,e.a=new l,e.q=new l,e.r=new l,e.i=new l,e.l=new l,e.m=new l,e.p=new l,e.j=new l,e.k=new l,e.n=new l,e.o=new l,e}return n.__extends(e,t),e.prototype.ag=function(t,e,n){this.ad=e.ad+(n.ad-e.ad)*t,this.ac=e.ac+(n.ac-e.ac)*t,this.af=e.af+(n.af-e.af)*t,this.ab=e.ab+(n.ab-e.ab)*t,this.aj=i.BrushUtil.n(e.aj,t,n.aj,0),this.ak=i.BrushUtil.n(e.ak,t,n.ak,0),this.ae=e.ae+(n.ae-e.ae)*t,this.aa=e.aa+(n.aa-e.aa)*t,this.ah=i.BrushUtil.n(e.ah,t,n.ah,0),this.ai=i.BrushUtil.n(e.ai,t,n.ai,0),this.d.j(t,e.d,n.d),this.b.j(t,e.b,n.b),this.t.j(t,e.t,n.t),this.e.j(t,e.e,n.e),this.f.j(t,e.f,n.f),this.x.j(t,e.x,n.x),this.v.j(t,e.v,n.v),this.w.j(t,e.w,n.w),this.z.j(t,e.z,n.z),this.y.j(t,e.y,n.y),this.u.j(t,e.u,n.u),this.h.j(t,e.h,n.h),this.g.j(t,e.g,n.g),this.c.j(t,e.c,n.c),this.s.j(t,e.s,n.s),this.a.j(t,e.a,n.a),this.q.j(t,e.q,n.q),this.r.j(t,e.r,n.r),this.i.j(t,e.i,n.i),this.l.j(t,e.l,n.l),this.m.j(t,e.m,n.m),this.p.j(t,e.p,n.p),this.j.j(t,e.j,n.j),this.k.j(t,e.k,n.k),this.n.j(t,e.n,n.n),this.o.j(t,e.o,n.o)},e.prototype.am=function(t,e,n){var r=new i.PathGeometry,a=new i.PathFigure,o={$type:i.Point_$type,x:NaN,y:NaN};o=this.d.l(o,a,t,e,n),o=this.b.l(o,a,t,e,n),o=this.t.l(o,a,t,e,n),o=this.e.l(o,a,t,e,n),o=this.f.l(o,a,t,e,n),o=this.x.l(o,a,t,e,n),o=this.v.l(o,a,t,e,n),o=this.w.l(o,a,t,e,n),o=this.z.l(o,a,t,e,n),o=this.y.l(o,a,t,e,n),o=this.u.l(o,a,t,e,n),o=this.h.l(o,a,t,e,n),o=this.g.l(o,a,t,e,n),o=this.c.l(o,a,t,e,n),o=this.s.l(o,a,t,e,n),o=this.a.l(o,a,t,e,n),a._isClosed=!0,r.c.add(a);var s=new i.PathFigure;return(this.q.f.count>0||this.r.f.count>0)&&(o=this.q.l(o,s,t,e,n),o=this.r.l(o,s,t,e,n),s._isClosed=!0,r.c.add(s)),r},e.prototype.an=function(t,e,n){var r=new i.PathGeometry,a={$type:i.Point_$type,x:NaN,y:NaN},o=new i.PathFigure;(this.m.f.count>0||this.p.f.count>0)&&(a=this.m.l(a,o,t,e,n),a=this.p.l(a,o,t,e,n),o._isClosed=!0,r.c.add(o));var s=new i.PathFigure;return(this.n.f.count>0||this.o.f.count>0)&&(a=this.n.l(a,s,t,e,n),a=this.o.l(a,s,t,e,n),s._isClosed=!0,r.c.add(s)),r},e.prototype.al=function(t,e,n){var r=new i.PathGeometry,a={$type:i.Point_$type,x:NaN,y:NaN},o=new i.PathFigure;(this.i.f.count>0||this.l.f.count>0)&&(a=this.i.l(a,o,t,e,n),a=this.l.l(a,o,t,e,n),o._isClosed=!0,r.c.add(o));var s=new i.PathFigure;return(this.j.f.count>0||this.k.f.count>0)&&(a=this.j.l(a,s,t,e,n),a=this.k.l(a,s,t,e,n),s._isClosed=!0,r.c.add(s)),r},e.$t=i.markType(e,"RadialGaugeNeedleFrame"),e}(i.Base),jt=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.h=null,e.e=0,e.d=0,e.f=0,e.g=0,e.c=0,e.i=null,e.a=null,e}return n.__extends(e,t),e.$t=i.markType(e,"RadialGaugeScaleFrameLabel"),e}(i.Base),It=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.f=0,e.g=0,e.e=0,e.b=0,e.c=0,e.d=0,e.k=null,e.l=null,e.h=0,e}return n.__extends(e,t),e.a=function(t,n,r,a){var o=new e;return o.k=i.BrushUtil.n(r.k,t,a.k,0),o.l=i.BrushUtil.n(r.l,t,a.l,0),o.h=n*r.h+t*a.h,o.f=n*r.f+t*a.f,o.g=n*r.g+t*a.g,o.e=n*r.e+t*a.e,o.b=n*r.b+t*a.b,o.c=n*r.c+t*a.c,o.d=n*r.d+t*a.d,o},e.prototype.m=function(t,e,n){var r=new i.PathGeometry,a=new i.PathFigure,o=1/t,s=!1;Math.abs(this.g-this.d)<o&&(s=!0);var l=!1;Math.abs(this.f-this.c)<o&&(l=!0);var h=!1;if(this.b-this.e>=2*Math.PI&&(h=!0),l&&s&&h){var u=this.i(0,Math.PI,this.g,t,e,n,!0);a._startPoint=u.c;var c=this.i(Math.PI,0,this.g,t,e,n,!0),p=new i.PathFigure,g=this.i(0,Math.PI,this.f,t,e,n,!1);p._startPoint=g.c;var f=this.i(Math.PI,0,this.f,t,e,n,!1);return a._segments.add(u.d),a._segments.add(c.d),p._segments.add(g.d),p._segments.add(f.d),r.c.add(a),r.c.add(p),r}var y=null;if(s){var b=this.i(this.e,this.b,Math.max(0,this.g),t,e,n,!0);a._startPoint=b.c,y=b.d}else{var d=this.j(this.e,this.b,this.g,this.d,t,e,n,!0,4);a._startPoint=d.c,y=d.d}var m=null,v=new i.LineSegment(1);if(l){var _=this.i(this.e,this.b,Math.max(0,this.f),t,e,n,!1);m=_.d,v.c=_.c}else{var w=this.j(this.e,this.b,this.f,this.c,t,e,n,!1,4);m=w.d,v.c=w.c}return a._segments.add(y),a._segments.add(v),a._segments.add(m),a._isFilled=!0,a._isClosed=!0,r.c.add(a),r},e.prototype.j=function(t,e,n,r,a,o,s,l,h){var u,c,p=new i.PolyLineSegment,g=a*n,f=a*r,y=Math.max(g,f),b=y+y,d=2*Math.asin(h/b),m=f-g,v=Math.abs(e-t),_=p._points;if(l){var w=void 0;for(w=t;w<e;w+=d)c=g+(w-t)/v*m,u={$type:i.Point_$type,x:o+Math.cos(w)*c,y:s+Math.sin(w)*c},_.add(u);c=g+((w=e)-t)/v*m,u={$type:i.Point_$type,x:o+Math.cos(w)*c,y:s+Math.sin(w)*c},_.add(u)}else{var P=void 0;for(P=e;P>t;P-=d)c=f+(P-e)/v*m,u={$type:i.Point_$type,x:o+Math.cos(P)*c,y:s+Math.sin(P)*c},_.add(u);c=f+((P=t)-e)/v*m,u={$type:i.Point_$type,x:o+Math.cos(P)*c,y:s+Math.sin(P)*c},_.add(u)}return new i.Tuple$2(i.Point_$type,i.PathSegment.$,_._inner[0],p)},e.prototype.i=function(t,e,n,r,a,o,s){var l=n*r,h=new i.ArcSegment;h.d=s?1:0,h.b=e-t>Math.PI,h.f=new i.Size(1,l,l);var u=s?e:t,c=s?t:e;h.e={$type:i.Point_$type,x:a+Math.cos(u)*l,y:o+Math.sin(u)*l};var p={$type:i.Point_$type,x:a+Math.cos(c)*l,y:o+Math.sin(c)*l};return new i.Tuple$2(i.Point_$type,i.PathSegment.$,p,h)},e.$t=i.markType(e,"RadialGaugeRangeFrame"),e}(i.Base),Nt=function(t){function e(){var e=t.call(this)||this;return e.l=null,e.k=null,e.c=null,e.g=null,e.h=null,e.f=null,e.i=null,e.j=null,e.t=0,e.e=null,e.o=null,e.p=null,e.m=null,e.ab=0,e.y=0,e.ad=0,e.ac=0,e.v=0,e.u=0,e.aa=0,e.x=0,e.ak=null,e.ae=0,e.w=0,e.ai=null,e.aj=null,e.d=null,e.z=0,e.r=null,e.r=new i.List$1(It.$,0),e.l=new Array(0),e.k=new Array(0),e.c=new Array(0),e.g=new Array(0),e.h=new Array(0),e.f=new Array(0),e.i=new Array(0),e.j=new Array(0),e.e=new Array(0),e.d=new Array(0),e.o=new jt,e.p=new jt,e.m=new jt,e}return n.__extends(e,t),e.prototype.a=function(t,e,i,n){var r=Math.max(i.length,n.length),a=Math.min(i.length,n.length);e.length!=r&&(e=new Array(r));var o=0;i.length>0&&(o=i[i.length-1]);var s=0;n.length>0&&(s=n[n.length-1]);var l,h,u=i.length>n.length,c=0;for(c=0;c<a;c++)e[c]=i[c]+(n[c]-i[c])*t;for(c=a;c<r;c++)u?(l=i[c],h=s):(l=o,h=n[c]),e[c]=l+(h-l)*t;return e},e.prototype.b=function(t,e,i,n){var r=Math.max(i.length,n.length),a=Math.min(i.length,n.length);e.length!=r&&(e=new Array(r));var o=null;i.length>0&&(o=i[i.length-1]);var s=null;n.length>0&&(s=n[n.length-1]);var l,h,u=i.length>n.length,c=0;for(c=0;c<a;c++)e[c]=n[c];for(c=a;c<r;c++)u?(l=i[c],h=s):(l=o,h=n[c]),e[c]=null!=h?h:l;return e},e.prototype.af=function(t,e,n){var r=this;this.aj=i.BrushUtil.n(e.aj,t,n.aj,0),this.ak=i.BrushUtil.n(e.ak,t,n.ak,0),this.ai=i.BrushUtil.n(e.ai,t,n.ai,0),this.ab=this.s(t,e.ab,n.ab),this.y=this.s(t,e.y,n.y),this.aa=this.s(t,e.aa,n.aa),this.x=this.s(t,e.x,n.x),this.z=this.s(t,e.z,n.z),this.t=this.s(t,e.t,n.t),this.ad=this.s(t,e.ad,n.ad),this.ac=this.s(t,e.ac,n.ac),this.ae=this.s(t,e.ae,n.ae),this.v=this.s(t,e.v,n.v),this.u=this.s(t,e.u,n.u),this.w=this.s(t,e.w,n.w),this.l=this.a(t,this.l,e.l,n.l),this.k=this.a(t,this.k,e.k,n.k),this.c=this.a(t,this.c,e.c,n.c),this.h=this.a(t,this.h,e.h,n.h),this.f=this.a(t,this.f,e.f,n.f),this.i=this.a(t,this.i,e.i,n.i),this.j=this.a(t,this.j,e.j,n.j),this.g=this.b(t,this.g,e.g,n.g),this.e=i.InterpolationUtil.a(i.FontInfo.$,this.e,t,e.e,n.e,(function(){return null}),(function(t,e,i,n){return r.q(t,i,n)})),this.d=i.InterpolationUtil.a(i.Brush.$,this.d,t,e.d,n.d,(function(){return null}),(function(t,e,i,n){return r.ah(t,i,n)})),this.p=this.n(t,e.p,n.p),this.o=this.n(t,e.o,n.o),this.m=this.n(t,e.m,n.m),this.ag(t,this.r,e.r,n.r)},e.prototype.ag=function(t,e,n,r){i.InterpolationUtil.d(It.$,e,t,n,r,(function(){return new It}),It.a)},e.prototype.ah=function(t,e,n){return null==e&&null==n?null:i.BrushUtil.n(e,t,n,0)},e.prototype.s=function(t,e,i){return e+(i-e)*t},e.prototype.q=function(t,e,n){var r=new i.FontInfo;return i.FontUtil.interpolateFont(r,t,e,n),r},e.prototype.n=function(t,e,i){return e.i=this.ah(t,e.i,i.i),e.c=this.s(t,e.c,i.c),e.b=this.s(t,e.b,i.b),e.f=this.s(t,e.f,i.f),e.g=this.s(t,e.g,i.g),e.e=this.s(t,e.e,i.e),e.d=this.s(t,e.d,i.d),e.h=i.h,e.a=this.q(t,e.a,i.a),e},e.$t=i.markType(e,"RadialGaugeScaleFrame"),e}(i.Base),Tt=function(t){function e(){var e=t.call(this)||this;return e.l=null,e.m=null,e.h=0,e.g=0,e.c=0,e.f=0,e.e=0,e.d=0,e.b=0,e}return n.__extends(e,t),e.prototype.k=function(t,e,n){this.h=e.h+(n.h-e.h)*t,this.l=i.BrushUtil.n(e.l,t,n.l,0),this.m=i.BrushUtil.n(e.m,t,n.m,0),this.g=e.g+(n.g-e.g)*t,this.c=e.c+(n.c-e.c)*t,this.e=e.e+(n.e-e.e)*t,this.d=e.d+(n.d-e.d)*t,this.b=e.b+(n.b-e.b)*t,this.f=e.f+(n.f-e.f)*t},e.prototype.i=function(t,e,n,r){var a=this;t._startPoint={$type:i.Point_$type,x:e*this.e+n,y:0+r};var o,s=((o=new i.ArcSegment).e={$type:i.Point_$type,x:-1*e*a.e+n,y:0+r},o.b=!1,o.d=1,o.f=new i.Size(1,e*a.e,e*a.e),o),l=function(){var t=new i.ArcSegment;return t.e={$type:i.Point_$type,x:e*a.e+n,y:0+r},t.b=!1,t.d=1,t.f=new i.Size(1,e*a.e,e*a.e),t}();t._segments.add(s),t._segments.add(l),t._isClosed=!0},e.prototype.n=function(t,e,n){var r=new i.PathGeometry,a=new i.PathFigure;if(this.g==this.c)this.i(a,t,e,n);else{this.e,this.d;var o=this.g,s=this.c,l=this.f;(s+=l)-(o-=l)>2*Math.PI?this.i(a,t,e,n):this.j(a,t,e,n)}return a._isClosed=!0,r.c.add(a),r},e.prototype.a=function(t,e){return Math.abs(t-e)<1e-5},e.prototype.j=function(t,e,n,r){var a=this.e,o=this.d,s=this.g,l=this.c,h=this.f,u=s,c=l;s-=h,l+=h;var p=Math.sin(s),g=Math.cos(s),f=Math.sin(l),y=Math.cos(l),b=this.b,d=e*a,m=e*o;2*b>d-m&&(b=(d-m)/2);var v=b/(e-b),_=Math.atan(v),w=d-b,P=(Math.sin(s-_),Math.sin(s+_)),$=(Math.cos(s-_),Math.cos(s+_)),x=Math.sin(l-_),k=(Math.sin(l+_),Math.cos(l-_)),S=(Math.cos(l+_),Math.sin(u)),O=Math.sin(c),j=Math.cos(u),I=Math.cos(c);t._startPoint={$type:i.Point_$type,x:g*w+n,y:p*w+r};var N,T=((N=new i.ArcSegment).e={$type:i.Point_$type,x:$*d+n,y:P*d+r},N.b=2*_>Math.PI,N.d=1,N.f=new i.Size(1,b,b),N),C=function(){var t=new i.ArcSegment;return t.e={$type:i.Point_$type,x:k*d+n,y:x*d+r},t.b=l-_-(s+_)>Math.PI,t.d=1,t.f=new i.Size(1,d,d),t}(),V=function(){var t=new i.ArcSegment;return t.e={$type:i.Point_$type,x:y*w+n,y:f*w+r},t.b=2*_>Math.PI,t.d=1,t.f=new i.Size(1,b,b),t}(),M=(i.Point_$type,I*d+n),B=O*d+r,E={$type:i.Point_$type,x:I*m+n,y:O*m+r},D={$type:i.Point_$type,x:y*d+n,y:f*d+r},L={$type:i.Point_$type,x:y*m+n,y:f*m+r},F=D.y;M-E.x!=0&&(F=(B-E.y)/(M-E.x)*(n-D.x)+D.y);L={$type:i.Point_$type,x:n,y:F},this.a(L.x,D.x)&&this.a(L.y,D.y)&&(L=E);var R=i.GeometryUtil.r(L,D,{$type:i.Point_$type,x:n,y:r},m),z=(i.Point_$type,j*d+n),A=S*d+r,G={$type:i.Point_$type,x:j*m+n,y:S*m+r},q={$type:i.Point_$type,x:g*d+n,y:p*d+r},U={$type:i.Point_$type,x:g*m+n,y:p*m+r},H=q.y,W=q.x;z-G.x!=0&&(W=n,H=(A-G.y)/(z-G.x)*(n-q.x)+q.y);U={$type:i.Point_$type,x:W,y:H},this.a(U.x,q.x)&&this.a(U.y,q.y)&&(U=G);var X=i.GeometryUtil.r(U,q,{$type:i.Point_$type,x:n,y:r},m);if(i.isNaN_(R.c.x)||i.isNaN_(R.c.y)||i.isNaN_(R.d.x)||i.isNaN_(R.d.y)||i.isNaN_(X.c.x)||i.isNaN_(X.c.y)||i.isNaN_(X.d.x)||i.isNaN_(X.d.y)){t._startPoint={$type:i.Point_$type,x:g*d+n,y:p*d+r},t._segments.add(C);var Z=function(){var t=new i.LineSegment(1);return t.c={$type:i.Point_$type,x:g*d+n,y:p*d+r},t}();t._segments.add(Z)}else{var Y,Q;if(Y=Math.pow(R.c.x-D.x,2)+Math.pow(R.c.y-D.y,2)<Math.pow(R.d.x-D.x,2)+Math.pow(R.d.y-D.y,2)?R.c:R.d,Q=Math.pow(X.c.x-q.x,2)+Math.pow(X.c.y-q.y,2)<Math.pow(X.d.x-q.x,2)+Math.pow(X.d.y-q.y,2)?X.c:X.d,Math.pow(Q.x-D.x,2)+Math.pow(Q.y-D.y,2)<=Math.pow(Y.x-D.x,2)+Math.pow(Y.y-D.y,2)){t._startPoint={$type:i.Point_$type,x:g*d+n,y:p*d+r},t._segments.add(C);var J=function(){var t=new i.LineSegment(1);return t.c={$type:i.Point_$type,x:g*d+n,y:p*d+r},t}();t._segments.add(J)}else{t._segments.add(T),t._segments.add(C),t._segments.add(V);var K=function(){var t=new i.LineSegment(1);return t.c=Y,t}();t._segments.add(K);for(var tt=i.GeometryUtil.j({$type:i.Point_$type,x:n,y:r},Y),et=i.GeometryUtil.j({$type:i.Point_$type,x:n,y:r},Q);et<tt;)et+=2*Math.PI;var it=function(){var t=new i.ArcSegment;return t.e=Q,t.b=et-tt>Math.PI,t.d=1,t.f=new i.Size(1,m,m),t}();t._segments.add(it);var nt=function(){var t=new i.LineSegment(1);return t.c={$type:i.Point_$type,x:g*w+n,y:p*w+r},t}();t._segments.add(nt)}}},e.$t=i.markType(e,"BackingFrame"),e}(i.Base),Ct=function(t){function e(){var e=t.call(this)||this;return e.c=null,e.b=null,e.d=null,e.a=null,e.e=0,e.c=new Ot,e.b=new Ot,e.d=new Nt,e.a=new Tt,e}return n.__extends(e,t),e.prototype.f=function(t,e,i){this.e=e.e+(i.e-e.e)*t,this.c.ag(t,e.c,i.c),this.b.ag(t,e.b,i.b),this.d.af(t,e.d,i.d),this.a.k(t,e.a,i.a)},e.$t=i.markType(e,"RadialGaugeFrame"),e}(i.Base),Vt=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.actualMinimumValue=0,e.actualMaximumValue=0,e.startAngle=0,e.endAngle=0,e.angle=0,e.value=0,e.label=null,e.extent=0,e}return n.__extends(e,t),e.$t=i.markType(e,"FormatRadialGaugeLabelEventArgs",i.EventArgs.$),e}(i.EventArgs),Mt=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.width=0,e.height=0,e.offsetX=0,e.offsetY=0,e.brush=null,e.font=0,e}return n.__extends(e,t),e.$t=i.markType(e,"AlignRadialGaugeLabelEventArgs",Vt.$),e}(Vt),Bt=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.m=0,e.k=0,e.n=0,e.l=0,e.e=0,e.d=0,e.q=0,e.p=0,e.j=0,e.b=0,e.c=0,e.i=0,e.r=null,e.s=null,e.h=0,e.t=null,e.u=null,e.o=0,e.g=0,e.f=0,e}return n.__extends(e,t),e.prototype.a=function(){var t=new e;return t.m=this.m,t.k=this.k,t.n=this.n,t.l=this.l,t.e=this.e,t.d=this.d,t.q=this.q,t.p=this.p,t.b=this.b,t.c=this.c,t.i=this.i,t.r=this.r,t.s=this.s,t.h=this.h,t.t=this.t,t.u=this.u,t.o=this.o,t.g=this.g,t.f=this.f,t},e.$t=i.markType(e,"RadialGaugeNeedleParameters"),e}(i.Base),Et=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=null,e}return n.__extends(e,t),e.prototype.e=function(t){var e=this.b;switch(t.aj=e.t,t.ak=e.u,t.ah=e.r,t.ai=e.s,t.ae=e.o,t.aa=e.h,e.b){case 0:this.i(t);break;case 1:this.j(t);break;case 2:this.n(t);break;case 4:this.l(t);break;case 5:this.k(t);break;case 3:this.g(t);break;case 7:this.h(t);break;case 8:this.m(t);break;case 6:this.o(t)}switch(e.c){case 3:this.d(t,!0,!1);break;case 5:this.d(t,!1,!1);break;case 4:this.d(t,!0,!0);break;case 6:this.d(t,!1,!0)}},e.prototype.d=function(t,e,n){var r=this.a(),a=r.i,o=(r.g,r.f),s=t.m;e&&(s=t.i);var l=s.f;s.b=!0,s.c=!0,s.d=!1,s.h=a,l.add({$type:i.Point_$type,x:0+a,y:0}),l.add({$type:i.Point_$type,x:0-a,y:0}),s=t.p,e&&(s=t.l),l=s.f,s.b=!0,s.c=!0,s.d=!0,s.h=a,l.add({$type:i.Point_$type,x:0-a,y:0}),l.add({$type:i.Point_$type,x:0+a,y:0}),n&&(s=t.n,e&&(s=t.j),l=s.f,s.b=!0,s.c=!1,s.d=!1,s.h=o,l.add({$type:i.Point_$type,x:0+o,y:0}),l.add({$type:i.Point_$type,x:0-o,y:0}),s=t.o,e&&(s=t.k),l=s.f,s.b=!0,s.c=!1,s.d=!0,s.h=o,l.add({$type:i.Point_$type,x:0-o,y:0}),l.add({$type:i.Point_$type,x:0+o,y:0}))},e.prototype.o=function(t){this.f(t,!1,!0,!1,!0)},e.prototype.m=function(t){this.f(t,!1,!1,!0,!0)},e.prototype.l=function(t){this.f(t,!1,!1,!0,!1)},e.prototype.n=function(t){this.f(t,!1,!0,!1,!1)},e.prototype.h=function(t){this.f(t,!1,!1,!1,!0)},e.prototype.c=function(t,e,i,n,r){return e+(n-e)*(i==t?0:(r-t)/(i-t))},e.prototype.f=function(t,e,n,r,a){this.p(t);var o=this.a();if(t.ad=o.m,t.ac=o.k,t.af=0,i.isNaN_(o.l)||(t.af=Math.max(t.af,o.l)),i.isNaN_(o.i)||(t.af=Math.max(t.af,o.i)),i.isNaN_(o.q)||(t.af=Math.max(t.af,o.q)),i.isNaN_(o.e)||(t.af=Math.max(t.af,o.e)),n&&(o.p=o.k,o.q=0),r&&(o.p=o.k,o.q=o.l),e){var s=Math.max(o.n,o.l);o.n=s,o.l=s,o.p=o.k,o.q=o.l}i.isNaN_(o.p)&&(o.p=o.k);var l=1==o.c||2==o.c,h=o.n,u=o.l;r||e||(u=0);var c=o.q,p=o.i,g=o.m,f=o.k,y=o.d,b=o.p,d=o.e;i.isNaN_(b)&&(!1,b=f),i.isNaN_(y)&&(!1,y=g);var m=o.f,v=o.g,_=v,w=v,P=this.c(g,h,b,c,v),$=P,x=2==o.c;if(l){var k=i.GeometryUtil.r({$type:i.Point_$type,x:g,y:h},{$type:i.Point_$type,x:b,y:c},{$type:i.Point_$type,x:0,y:0},p);if(i.isNaN_(k.c.x)||i.isNaN_(k.c.y)||i.isNaN_(k.d.x)||i.isNaN_(k.d.y))l=!1;else{var S=k.c,O=k.d;if(_=S.x,w=O.x,P=S.y,$=O.y,_>w){var j=_;_=w,w=j,j=P,P=$,$=j}}}if(x){var I=i.GeometryUtil.r({$type:i.Point_$type,x:g,y:h},{$type:i.Point_$type,x:b,y:c},{$type:i.Point_$type,x:0,y:0},m);x=!!(i.isNaN_(I.c.x)||i.isNaN_(I.c.y)||i.isNaN_(I.d.x)||i.isNaN_(I.d.y)||l)}(g>w||f<_)&&(l=!1,_=g,w=g);var N=!1,T=!1;l&&g>=_&&(N=!0),l&&f<=w&&(T=!0),(i.isNaN_(y)||y>_)&&(y=_),b<w&&(b=w);var C=a,V=p,M=p;y+d>_&&(C=!1);var B=y,E=h,D=y,L=h,F=_,R=P,z=w;if(C){var A=i.GeometryUtil.r({$type:i.Point_$type,x:g,y:h},{$type:i.Point_$type,x:b,y:c},{$type:i.Point_$type,x:y,y:0},d);if(i.isNaN_(A.c.x)||i.isNaN_(A.c.y)||i.isNaN_(A.d.x)||i.isNaN_(A.d.y))C=!1;else if(C=!0,B=A.c.x,E=A.c.y,D=A.d.x,L=A.d.y,B>D){var G=B;B=D,D=G,G=E,E=L,L=G}}N&&(C=!1),C&&g>=B&&(N=!0,V=d,F=B,R=E,D),C&&f<=D&&(T=!0,M=d,M=d,B,E,z=D);var q=g,U=t.a,H=U.f,W=h;N&&(q=F,U.b=!0,U.d=!1,U.c=!1,U.h=V,y=F,g=F,W=R,h=R,l=!1),T&&(b=z,f=z,l=!1);var X=N||T||l;H.add({$type:i.Point_$type,x:q,y:-1*W}),H.add({$type:i.Point_$type,x:q,y:W}),(H=(U=t.d).f).add({$type:i.Point_$type,x:q,y:W}),q=B,W=this.c(g,h,b,c,q),H.add({$type:i.Point_$type,x:q,y:W}),H=(U=t.b).f,C&&(U.b=!0,U.d=!1,U.c=!1,U.h=d),H.add({$type:i.Point_$type,x:q,y:W}),q=D,W=this.c(g,h,b,c,q),H.add({$type:i.Point_$type,x:q,y:W}),(H=(U=t.t).f).add({$type:i.Point_$type,x:q,y:W}),q=_,W=this.c(g,h,b,c,q),H.add({$type:i.Point_$type,x:q,y:W}),H=(U=t.e).f,X&&(U.b=!0,U.d=!1,U.c=!1,U.h=p),H.add({$type:i.Point_$type,x:q,y:W}),q=w,W=this.c(g,h,b,c,q),H.add({$type:i.Point_$type,x:q,y:W}),(H=(U=t.f).f).add({$type:i.Point_$type,x:q,y:W}),q=b,W=this.c(g,h,b,c,q),H.add({$type:i.Point_$type,x:q,y:W}),(H=(U=t.x).f).add({$type:i.Point_$type,x:q,y:W}),H.add({$type:i.Point_$type,x:q,y:W}),(H=(U=t.v).f).add({$type:i.Point_$type,x:q,y:W}),q=f,W=this.c(b,c,f,u,q),H.add({$type:i.Point_$type,x:q,y:W}),H=(U=t.w).f,T&&(q=z,U.b=!0,U.d=!1,U.c=!1,U.h=M),H.add({$type:i.Point_$type,x:q,y:W}),H.add({$type:i.Point_$type,x:q,y:-1*W}),(H=(U=t.z).f).add({$type:i.Point_$type,x:q,y:-1*W}),q=b,W=this.c(g,h,b,c,q),H.add({$type:i.Point_$type,x:q,y:-1*W}),(H=(U=t.y).f).add({$type:i.Point_$type,x:q,y:-1*W}),H.add({$type:i.Point_$type,x:q,y:-1*W}),(H=(U=t.u).f).add({$type:i.Point_$type,x:q,y:-1*W}),q=w,W=this.c(g,h,b,c,q),H.add({$type:i.Point_$type,x:q,y:-1*W}),H=(U=t.h).f,X&&(U.b=!0,U.d=!1,U.c=!1,U.h=p),H.add({$type:i.Point_$type,x:q,y:-1*W}),q=_,W=this.c(g,h,b,c,q),H.add({$type:i.Point_$type,x:q,y:-1*W}),(H=(U=t.g).f).add({$type:i.Point_$type,x:q,y:-1*W}),q=D,W=this.c(g,h,b,c,q),H.add({$type:i.Point_$type,x:q,y:-1*W}),H=(U=t.c).f,C&&(U.b=!0,U.d=!1,U.c=!1,U.h=d),H.add({$type:i.Point_$type,x:q,y:-1*W}),q=B,W=this.c(g,h,b,c,q),H.add({$type:i.Point_$type,x:q,y:-1*W}),(H=(U=t.s).f).add({$type:i.Point_$type,x:q,y:-1*W}),q=g,W=this.c(g,h,b,c,q),H.add({$type:i.Point_$type,x:q,y:-1*W}),H=(U=t.q).f,x&&X&&(U.b=!0,U.c=!0,U.d=!1,U.h=m,H.add({$type:i.Point_$type,x:0+m,y:0}),H.add({$type:i.Point_$type,x:0-m,y:0})),H=(U=t.r).f,x&&X&&(U.b=!0,U.c=!0,U.d=!0,U.h=m,H.add({$type:i.Point_$type,x:0-m,y:0}),H.add({$type:i.Point_$type,x:0+m,y:0}))},e.prototype.g=function(t){this.f(t,!1,!1,!1,!1)},e.prototype.k=function(t){this.f(t,!0,!1,!1,!0)},e.prototype.a=function(){var t=this.b,e=this.b.a(),n=0,r=NaN,a=NaN,o=.1,s=.1,l=.14;switch(t.b){case 3:a=.4;break;case 4:o=.06,s=.02;break;case 7:a=.4,n=-.3,r=-.2,l=.14;break;case 5:n=-.3,r=-.2,l=.14;break;case 8:s=.06,n=-.3,r=-.2,l=.14;break;case 6:n=-.3,r=-.2,l=.14}var h=t.m,u=t.k;1==t.c||t.c;i.isNaN_(h)&&(h=n),i.isNaN_(u)&&(u=.48);var c=Math.min(h,u),p=Math.max(h,u);h=c,u=p;var g=t.n;i.isNaN_(g)&&(g=o);var f=t.l;i.isNaN_(f)&&(f=s);var y=t.i,b=t.f;i.isNaN_(y)&&(y=.15),i.isNaN_(b)&&(b=.1);var d=Math.max(y,b),m=Math.min(y,b);y=d,b=m;var v=t.d;i.isNaN_(v)&&(v=r),i.isNaN_(v)||(v<h&&(v=NaN),v>0&&h<=0&&(v=NaN),v>u&&(v=u));var _=t.p;i.isNaN_(_)&&(_=a),i.isNaN_(_)||(_>u&&(_=NaN),_<0&&u>=0&&(_=NaN),_<h&&(_=h));var w=0;h>0&&(w=h),u<0&&(w=h),y<=0&&(y=0);var P=t.e,$=t.q;return i.isNaN_(P)&&(P=l),i.isNaN_($)&&($=.06),e.i=y/2,e.f=b/2,e.d=v,e.p=_,e.m=h,e.k=u,e.g=w,e.n=g/2,e.l=f/2,e.q=$/2,e.e=P/2,e},e.prototype.j=function(t){this.f(t,!0,!1,!1,!1)},e.prototype.p=function(t){t.a.k(),t.d.k(),t.b.k(),t.t.k(),t.e.k(),t.f.k(),t.x.k(),t.v.k(),t.w.k(),t.z.k(),t.y.k(),t.u.k(),t.h.k(),t.g.k(),t.c.k(),t.s.k(),t.q.k(),t.r.k(),t.i.k(),t.l.k(),t.m.k(),t.p.k(),t.j.k(),t.k.k(),t.n.k(),t.o.k()},e.prototype.i=function(t){this.p(t);var e=t.a,n=e.f;n.add({$type:i.Point_$type,x:0,y:0}),n.add({$type:i.Point_$type,x:0,y:0}),(n=(e=t.d).f).add({$type:i.Point_$type,x:0,y:0}),n.add({$type:i.Point_$type,x:0,y:0}),(n=(e=t.b).f).add({$type:i.Point_$type,x:0,y:0}),n.add({$type:i.Point_$type,x:0,y:0});(n=(e=t.t).f).add({$type:i.Point_$type,x:0,y:0}),n.add({$type:i.Point_$type,x:0,y:0}),(n=(e=t.e).f).add({$type:i.Point_$type,x:0,y:0}),n.add({$type:i.Point_$type,x:0,y:0}),(n=(e=t.f).f).add({$type:i.Point_$type,x:0,y:0}),n.add({$type:i.Point_$type,x:0,y:0}),(n=(e=t.x).f).add({$type:i.Point_$type,x:0,y:0}),n.add({$type:i.Point_$type,x:0,y:0}),(n=(e=t.v).f).add({$type:i.Point_$type,x:0,y:0}),n.add({$type:i.Point_$type,x:0,y:0}),(n=(e=t.w).f).add({$type:i.Point_$type,x:0,y:0}),n.add({$type:i.Point_$type,x:0,y:0}),(n=(e=t.z).f).add({$type:i.Point_$type,x:0,y:0}),n.add({$type:i.Point_$type,x:0,y:0}),(n=(e=t.y).f).add({$type:i.Point_$type,x:0,y:0}),n.add({$type:i.Point_$type,x:0,y:0}),(n=(e=t.u).f).add({$type:i.Point_$type,x:0,y:0}),n.add({$type:i.Point_$type,x:0,y:0}),(n=(e=t.h).f).add({$type:i.Point_$type,x:0,y:0}),n.add({$type:i.Point_$type,x:0,y:0}),(n=(e=t.g).f).add({$type:i.Point_$type,x:0,y:0}),n.add({$type:i.Point_$type,x:0,y:0}),(n=(e=t.c).f).add({$type:i.Point_$type,x:0,y:0}),n.add({$type:i.Point_$type,x:0,y:0}),(n=(e=t.s).f).add({$type:i.Point_$type,x:0,y:0}),n.add({$type:i.Point_$type,x:0,y:0})},e.$t=i.markType(e,"RadialGaugeNeedlePreparer"),e}(i.Base),Dt=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._scalePath=null,e._needlePath=null,e._highlightNeedlePath=null,e._backingPath=null,e._underlayPath=null,e._overlayPath=null,e._scale=null,e._scaleLabels=null,e._titleLabels=null,e._subtitleLabels=null,e._highlightLabels=null,e._scaleTickmarks=null,e._needle=null,e._highlightNeedle=null,e._ranges=null,e._name=null,e._viewport=null,e}return n.__extends(e,t),Object.defineProperty(e.prototype,"scalePath",{get:function(){return this._scalePath},set:function(t){this._scalePath=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"needlePath",{get:function(){return this._needlePath},set:function(t){this._needlePath=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"highlightNeedlePath",{get:function(){return this._highlightNeedlePath},set:function(t){this._highlightNeedlePath=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"backingPath",{get:function(){return this._backingPath},set:function(t){this._backingPath=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"underlayPath",{get:function(){return this._underlayPath},set:function(t){this._underlayPath=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"overlayPath",{get:function(){return this._overlayPath},set:function(t){this._overlayPath=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"scale",{get:function(){return this._scale},set:function(t){this._scale=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"scaleLabels",{get:function(){return this._scaleLabels},set:function(t){this._scaleLabels=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"titleLabels",{get:function(){return this._titleLabels},set:function(t){this._titleLabels=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"subtitleLabels",{get:function(){return this._subtitleLabels},set:function(t){this._subtitleLabels=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"highlightLabels",{get:function(){return this._highlightLabels},set:function(t){this._highlightLabels=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"scaleTickmarks",{get:function(){return this._scaleTickmarks},set:function(t){this._scaleTickmarks=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"needle",{get:function(){return this._needle},set:function(t){this._needle=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"highlightNeedle",{get:function(){return this._highlightNeedle},set:function(t){this._highlightNeedle=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ranges",{get:function(){return this._ranges},set:function(t){this._ranges=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t},enumerable:!1,configurable:!0}),e.prototype.scaleByViewport=function(){var t,e,r,a,o,s,l,h,u,c,p,g;if(null!=this.scalePath&&this.scalePath.scaleByViewport(this.viewport),null!=this.needlePath&&this.needlePath.scaleByViewport(this.viewport),null!=this.highlightNeedlePath&&this.highlightNeedlePath.scaleByViewport(this.viewport),null!=this.backingPath&&this.backingPath.scaleByViewport(this.viewport),null!=this.underlayPath&&this.underlayPath.scaleByViewport(this.viewport),null!=this.overlayPath&&this.overlayPath.scaleByViewport(this.viewport),null!=this.scaleLabels)try{for(var f=n.__values(i.fromEnum(this.scaleLabels)),y=f.next();!y.done;y=f.next()){y.value.scaleByViewport(this.viewport)}}catch(e){t={error:e}}finally{try{y&&!y.done&&(e=f.return)&&e.call(f)}finally{if(t)throw t.error}}if(null!=this.titleLabels)try{for(var b=n.__values(i.fromEnum(this.titleLabels)),d=b.next();!d.done;d=b.next()){d.value.scaleByViewport(this.viewport)}}catch(t){r={error:t}}finally{try{d&&!d.done&&(a=b.return)&&a.call(b)}finally{if(r)throw r.error}}if(null!=this.subtitleLabels)try{for(var m=n.__values(i.fromEnum(this.subtitleLabels)),v=m.next();!v.done;v=m.next()){v.value.scaleByViewport(this.viewport)}}catch(t){o={error:t}}finally{try{v&&!v.done&&(s=m.return)&&s.call(m)}finally{if(o)throw o.error}}if(null!=this.highlightLabels)try{for(var _=n.__values(i.fromEnum(this.highlightLabels)),w=_.next();!w.done;w=_.next()){w.value.scaleByViewport(this.viewport)}}catch(t){l={error:t}}finally{try{w&&!w.done&&(h=_.return)&&h.call(_)}finally{if(l)throw l.error}}if(null!=this.scaleTickmarks)try{for(var P=n.__values(i.fromEnum(this.scaleTickmarks)),$=P.next();!$.done;$=P.next()){var x=$.value;null!=x.tickPath&&x.tickPath.scaleByViewport(this.viewport)}}catch(t){u={error:t}}finally{try{$&&!$.done&&(c=P.return)&&c.call(P)}finally{if(u)throw u.error}}if(null!=this.ranges)try{for(var k=n.__values(i.fromEnum(this.ranges)),S=k.next();!S.done;S=k.next()){var O=S.value;null!=O.rangePath&&O.rangePath.scaleByViewport(this.viewport)}}catch(t){p={error:t}}finally{try{S&&!S.done&&(g=k.return)&&g.call(k)}finally{if(p)throw p.error}}},e.prototype.serialize=function(){var t,e,r,a,o,s,l,h,u,c,p,g,f=new i.StringBuilder(0),y=!0;if(f.u("{"),null!=this.scalePath&&(y?y=!1:f.l(", "),f.l("scalePath: "),f.u(this.scalePath.serialize())),null!=this.needlePath&&(y?y=!1:f.l(", "),f.l("needlePath: "),f.u(this.needlePath.serialize())),null!=this.highlightNeedlePath&&(y?y=!1:f.l(", "),f.l("highlightNeedlePath: "),f.u(this.highlightNeedlePath.serialize())),null!=this.backingPath&&(y?y=!1:f.l(", "),f.l("backingPath: "),f.u(this.backingPath.serialize())),null!=this.underlayPath&&(y?y=!1:f.l(", "),f.l("underlayPath: "),f.u(this.underlayPath.serialize())),null!=this.overlayPath&&(y?y=!1:f.l(", "),f.l("overlayPath: "),f.u(this.overlayPath.serialize())),null!=this.scaleLabels){y?y=!1:f.l(", ");var b=!0;f.l("scaleLabels: [");try{for(var d=n.__values(i.fromEnum(this.scaleLabels)),m=d.next();!m.done;m=d.next()){var v=m.value;b?b=!1:f.l(", "),f.u(v.serialize())}}catch(e){t={error:e}}finally{try{m&&!m.done&&(e=d.return)&&e.call(d)}finally{if(t)throw t.error}}f.u("]")}if(null!=this.titleLabels){y?y=!1:f.l(", ");var _=!0;f.l("titleLabels: [");try{for(var w=n.__values(i.fromEnum(this.titleLabels)),P=w.next();!P.done;P=w.next()){var $=P.value;_?_=!1:f.l(", "),f.u($.serialize())}}catch(t){r={error:t}}finally{try{P&&!P.done&&(a=w.return)&&a.call(w)}finally{if(r)throw r.error}}f.u("]")}if(null!=this.subtitleLabels){y?y=!1:f.l(", ");var x=!0;f.l("subtitleLabels: [");try{for(var k=n.__values(i.fromEnum(this.subtitleLabels)),S=k.next();!S.done;S=k.next()){var O=S.value;x?x=!1:f.l(", "),f.u(O.serialize())}}catch(t){o={error:t}}finally{try{S&&!S.done&&(s=k.return)&&s.call(k)}finally{if(o)throw o.error}}f.u("]")}if(null!=this.highlightLabels){y?y=!1:f.l(", ");var j=!0;f.l("highlightLabels: [");try{for(var I=n.__values(i.fromEnum(this.highlightLabels)),N=I.next();!N.done;N=I.next()){var T=N.value;j?j=!1:f.l(", "),f.u(T.serialize())}}catch(t){l={error:t}}finally{try{N&&!N.done&&(h=I.return)&&h.call(I)}finally{if(l)throw l.error}}f.u("]")}if(null!=this.scaleTickmarks){y?y=!1:f.l(", ");var C=!0;f.l("scaleTickmarks: [");try{for(var V=n.__values(i.fromEnum(this.scaleTickmarks)),M=V.next();!M.done;M=V.next()){var B=M.value;C?C=!1:f.l(", "),f.u(B.serialize())}}catch(t){u={error:t}}finally{try{M&&!M.done&&(c=V.return)&&c.call(V)}finally{if(u)throw u.error}}f.u("]")}if(null!=this.needle&&(y?y=!1:f.l(", "),f.l("needle: "),f.u(this.needle.serialize())),null!=this.highlightNeedle&&(y?y=!1:f.l(", "),f.l("highlightNeedle: "),f.u(this.highlightNeedle.serialize())),null!=this.ranges){y?y=!1:f.l(", ");var E=!0;f.l("ranges: [");try{for(var D=n.__values(i.fromEnum(this.ranges)),L=D.next();!L.done;L=D.next()){var F=L.value;E?E=!1:f.l(", "),f.u(F.serialize())}}catch(t){p={error:t}}finally{try{L&&!L.done&&(g=D.return)&&g.call(D)}finally{if(p)throw p.error}}f.u("]")}return null!=this.name&&(y?y=!1:f.l(", "),f.l("name: '"),f.l(this.name),f.u("'")),y?y=!1:f.l(", "),f.l("viewport: {"),f.l("left: "+this.viewport.left+", top: "+this.viewport.top+", width: "+this.viewport.width+", height: "+this.viewport.height),f.u("}"),f.u("}"),f.toString()},Object.defineProperty(e.prototype,"viewport",{get:function(){return this._viewport},set:function(t){this._viewport=t},enumerable:!1,configurable:!0}),e.$t=i.markType(e,"GaugeVisualData"),e}(i.Base),Lt=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._labelValue=null,e._labelSize=null,e._labelPosition=null,e._appearance=null,e}return n.__extends(e,t),Object.defineProperty(e.prototype,"labelValue",{get:function(){return this._labelValue},set:function(t){this._labelValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"labelSize",{get:function(){return this._labelSize},set:function(t){this._labelSize=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"labelPosition",{get:function(){return this._labelPosition},set:function(t){this._labelPosition=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"appearance",{get:function(){return this._appearance},set:function(t){this._appearance=t},enumerable:!1,configurable:!0}),e.prototype.scaleByViewport=function(t){this.labelPosition=new i.PointData((this.labelPosition.x-t.left)/t.width,(this.labelPosition.y-t.top)/t.height),this.labelSize=new i.SizeData(this.labelSize.width/t.width,this.labelSize.height/t.height)},e.prototype.serialize=function(){return"{ labelValue: '"+this.labelValue+"', labelSize: { width: "+this.labelSize.width+", height: "+this.labelSize.height+"}, labelPosition: { x: "+this.labelPosition.x+", y: "+this.labelPosition.y+"}, appearance: "+this.appearance.serialize()+"}"},e.$t=i.markType(e,"ScaleLabelVisualData"),e}(i.Base),Ft=function(t){function e(){return t.call(this,Lt.$,0)||this}return n.__extends(e,t),e.$t=i.markType(e,"ScaleLabelVisualDataList",i.List$1.$.specialize(Lt.$)),e}(i.List$1),Rt=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._tickPath=null,e}return n.__extends(e,t),Object.defineProperty(e.prototype,"tickPath",{get:function(){return this._tickPath},set:function(t){this._tickPath=t},enumerable:!1,configurable:!0}),e.prototype.serialize=function(){return"{ tickPath: "+this.tickPath.serialize()+"}"},e.$t=i.markType(e,"ScaleTickmarkVisualData"),e}(i.Base),zt=function(t){function e(){return t.call(this,Rt.$,0)||this}return n.__extends(e,t),e.$t=i.markType(e,"ScaleTickmarkVisualDataList",i.List$1.$.specialize(Rt.$)),e}(i.List$1),At=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._rangePath=null,e}return n.__extends(e,t),Object.defineProperty(e.prototype,"rangePath",{get:function(){return this._rangePath},set:function(t){this._rangePath=t},enumerable:!1,configurable:!0}),e.prototype.serialize=function(){return"{ rangePath: "+this.rangePath.serialize()+"}"},e.$t=i.markType(e,"RangeVisualData"),e}(i.Base),Gt=function(t){function e(){return t.call(this,At.$,0)||this}return n.__extends(e,t),e.$t=i.markType(e,"RangeVisualDataList",i.List$1.$.specialize(At.$)),e}(i.List$1),qt=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._angle=0,e}return n.__extends(e,t),Object.defineProperty(e.prototype,"angle",{get:function(){return this._angle},set:function(t){this._angle=t},enumerable:!1,configurable:!0}),e.prototype.serialize=function(){return"{ angle: "+this.angle.toString()+"}"},e.$t=i.markType(e,"NeedleVisualData"),e}(i.Base),Ut=function(t){function e(){var n=t.call(this)||this;n.propertyChanged=null,n.alignTitle=null,n.alignSubtitle=null,n.alignHighlightLabel=null,n.formatTitle=null,n.formatSubtitle=null,n.formatHighlightLabel=null,n._view=null,n.bc=null,n.c4=0,n.c3=100,n.bw=0,n.c2=.5,n.bt=1,n.bx=0,n.formatLabel=null,n.am=null,n.alignLabel=null,n.valueChanged=null,n.highlightValueChanged=null,n.cb=!1,n.a9=null,n.mn=new i.Size(1,NaN,NaN),n.ml=null,n.cw=null,n.cx=null,n.cu=null,n.cv=null,n.a4=null,n.a3=null,n.a2=null,n.cz=new i.Stack$1(i.TextBlock.$),n.c0=new i.Stack$1(i.TextBlock.$),n.c1=new i.Stack$1(i.TextBlock.$),n.cy=new i.Stack$1(i.TextBlock.$),n.ct=new i.List$1(i.Path.$,0),n.cs=new i.List$1(i.Path.$,0),n.cr=new i.List$1(i.Path.$,0),n.c7=0,n.b3=null,n.b0=null,n.bz=null,n.b2=null,n.b4=null,n.by=null,n.b1=null,n.c6=NaN,n.c5=1,n.em=0,n.ao=null,n.ap=null,n.an=null,n.bj=e.bm(),n.bk=e.bn(),n.bl=e.bo(),n.view=new Ht(n),n.view.az(),n.ml=i.Rect.empty,n.a4=new Ct,n.a3=new Ct,n.a2=new Ct,n.ranges=new $t,n.cb=!0,n.bc=new i.DoubleAnimator(0,1,n.fg);var r,a=n.bc;return a.propertyChanged=i.delegateCombine(a.propertyChanged,i.runOn(n,n.il)),n.ab=e.$,n.bz=((r=new i.StackPool$1(i.TextBlock.$)).b=i.runOn(n.view,n.view.ar),r.c=i.runOn(n.view,n.view.as),r.d=i.runOn(n.view,n.view.at),r.j=i.runOn(n.view,n.view.bm),r),n.b4=function(){var t=new i.StackPool$1(i.TextBlock.$);return t.b=i.runOn(n.view,n.view.ar),t.c=i.runOn(n.view,n.view.as),t.d=i.runOn(n.view,n.view.bh),t.j=i.runOn(n.view,n.view.bo),t}(),n.b2=function(){var t=new i.StackPool$1(i.TextBlock.$);return t.b=i.runOn(n.view,n.view.ar),t.c=i.runOn(n.view,n.view.as),t.d=i.runOn(n.view,n.view.bg),t.j=i.runOn(n.view,n.view.bn),t}(),n.by=function(){var t=new i.StackPool$1(i.TextBlock.$);return t.b=i.runOn(n.view,n.view.ar),t.c=i.runOn(n.view,n.view.as),t.d=i.runOn(n.view,n.view.ap),t.j=i.runOn(n.view,n.view.bl),t}(),n.b3=function(){var t=new i.StackPool$1(i.Path.$);return t.b=i.runOn(n.view,n.view.a2),t.c=i.runOn(n.view,n.view.a3),t.d=i.runOn(n.view,n.view.a4),t.j=i.runOn(n.view,n.view.ce),t}(),n.b0=function(){var t=new i.StackPool$1(i.Path.$);return t.b=i.runOn(n.view,n.view.a2),t.c=i.runOn(n.view,n.view.a3),t.d=i.runOn(n.view,n.view.a4),t.j=i.runOn(n.view,n.view.ce),t}(),n.b1=function(){var t=new i.StackPool$1(i.Path.$);return t.b=i.runOn(n.view,n.view.a7),t.c=i.runOn(n.view,n.view.a8),t.d=i.runOn(n.view,n.view.a9),t.j=i.runOn(n.view,n.view.cf),t}(),n.a9=new St(n.da,n.c9,n.ez,n.eu,n.mi),n}return n.__extends(e,t),e.prototype.iz=function(t){this.i5(t)},e.prototype.i5=function(t){var e=this.propertyChanged;null!=e&&e(this,new i.PropertyChangedEventArgs(t))},e.bn=function(){return null!=e.bh||(e.bh=((t=new i.FontInfo).f=i.FontDefaults.gaugesSubtitleSize,t.t=i.FontDefaults.gaugesFontStyle,t.q=i.FontDefaults.gaugesFontFamily,t.v=i.FontDefaults.gaugesFontWeight,t.r=i.FontDefaults.gaugesFontStretch,t.u=i.FontDefaults.gaugesFontVariant,t)),e.bh;var t},e.bo=function(){return null!=e.bi||(e.bi=((t=new i.FontInfo).f=i.FontDefaults.gaugesTitleSize,t.t=i.FontDefaults.gaugesFontStyle,t.q=i.FontDefaults.gaugesFontFamily,t.v=i.FontDefaults.gaugesFontWeight,t.r=i.FontDefaults.gaugesFontStretch,t.u=i.FontDefaults.gaugesFontVariant,t)),e.bi;var t},e.bm=function(){return null!=e.bg||(e.bg=((t=new i.FontInfo).f=i.FontDefaults.gaugesTitleSize,t.t=i.FontDefaults.gaugesFontStyle,t.q=i.FontDefaults.gaugesFontFamily,t.v=i.FontDefaults.gaugesFontWeight,t.r=i.FontDefaults.gaugesFontStretch,t.u=i.FontDefaults.gaugesFontVariant,t)),e.bg;var t},e.prototype.av=function(t,e,n,r,a,o){var s=new Vt;s.startAngle=this.a9.i,s.endAngle=this.a9.g,s.actualMinimumValue=this.da,s.actualMaximumValue=this.c9,s.angle=i.MathUtil.o(e),s.value=t;var l=t;return r?(null==a&&(l=Math.round(100*s.value)/100),s.label=l.toString(),null!=a&&(s.label=a.i(l))):s.label=n,null!=o&&o(this,s),s},e.prototype.aq=function(t,e,n,r,a,o){var s=n.h(this.em),l=new Mt;l.startAngle=this.a9.i,l.endAngle=this.a9.g,l.actualMinimumValue=this.da,l.actualMaximumValue=this.c9,l.angle=r.angle,l.value=r.value,l.label=r.label,l.extent=t,l.brush=e,l.font=s;var h,u=n.b(l.font),c=o(((h=new i.TextBlock).al=l.label,h),u);l.width=c.width,l.height=c.height,l.offsetX=c.width/2*-1,l.offsetY=c.height/2*-1;var p=l.offsetX,g=l.offsetY;return null!=a&&(a(this,l),l.font!=s&&(l.font*=this.em,u=u.b(l.font),c=o(function(){var t=new i.TextBlock;return t.al=l.label,t}(),u),l.width=c.width,l.height=c.height,l.offsetX=c.width/2*-1+(l.offsetX-p),l.offsetY=c.height/2*-1+(l.offsetY-g))),l},e.prototype.onDetachedFromUI=function(){this.view.ay()},e.prototype.onAttachedToUI=function(){this.view.au()},e.prototype.e2=function(t){return this.a9.h(t)},e.prototype.fe=function(t){return this.a9.j(t)},e.prototype.dn=function(t){var e=this.mm,n=(Math.min(e.width/2,e.height/2),this.ep,this.mj()),r=n.x,a=n.y,o=i.GeometryUtil.j({$type:i.Point_$type,x:r,y:a},t);return null!=this.a9&&o<this.a9.i&&(o+=2*Math.PI),null!=this.a9&&o>this.a9.g&&(o-=2*Math.PI),this.fe(o)},e.prototype.mk=function(t,e){var n=this.e2(t),r=Math.min(this.mm.width/2,this.mm.height/2)*this.ep*e,a=this.mj(),o=a.x+Math.cos(n)*r,s=a.y+Math.sin(n)*r;return{$type:i.Point_$type,x:o,y:s}},e.prototype.l7=function(t,e){return null!=e&&e.count>0?e.item(t%e.count):null},Object.defineProperty(e.prototype,"view",{get:function(){return this._view},set:function(t){this._view=t},enumerable:!1,configurable:!0}),e.prototype.il=function(t,e){this.fd=this.bc.o},Object.defineProperty(e.prototype,"da",{get:function(){return this.c4},set:function(t){this.c4=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"c9",{get:function(){return this.c3},set:function(t){this.c3=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"c8",{get:function(){return this.c2},set:function(t){var e=this.c2;this.c2=t,e!=this.c2&&this.iy("ActualHighlightValueOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ds",{get:function(){return this.c(e.j3)},set:function(t){this.h(e.j3,t)},enumerable:!1,configurable:!0}),e.prototype.jg=function(){this.c8=i.isNaN_(this.ds)?.5:Math.max(0,Math.min(this.ds,1))},Object.defineProperty(e.prototype,"bu",{get:function(){return this.bt},set:function(t){this.bt=t},enumerable:!1,configurable:!0}),e.prototype.jf=function(){1!=this.bv?i.isNaN_(this.dr)||i.isInfinity(this.dr)?this.bu=1:this.bu=2:this.bu=1},e.prototype.is=function(){this.bw=0,this.view.b9().an=null},Object.defineProperty(e.prototype,"ej",{get:function(){return this.c(e.k1)},set:function(t){this.h(e.k1,t)},enumerable:!1,configurable:!0}),e.prototype.refresh=function(){this.cb=!0,this.view.bb()},e.prototype.iy=function(t,n,r){switch(t){case e.$$p[41]:case e.$$p[44]:case e.$$p[45]:case e.$$p[47]:case e.$$p[0]:case e.$$p[4]:case e.$$p[62]:case e.$$p[78]:case e.$$p[34]:case e.$$p[83]:case e.$$p[71]:this.view.av(t,n,r);break;case e.$$p[59]:this.view.a0(n,r);break;case e.$$p[60]:this.view.a1(n,r);break;case"PixelScalingRatio":i.isNaN_(i.DeviceUtils.a(this.eo))?this.db=1:this.db=i.DeviceUtils.a(this.eo);break;case"ActualPixelScalingRatio":this.view.a5()}switch(t){case e.$$p[29]:case e.$$p[30]:null!=this.gi?(this.am=new i.BindingFormatter,this.am.j=this.gi,this.am.d=this.ah):this.am=null,this.cb=!0,this.view.bb();break;case e.$$p[74]:case e.$$p[75]:null!=this.hu?(this.ao=new i.BindingFormatter,this.ao.j=this.hu,this.ao.d=this.ai):this.ao=null,this.cb=!0,this.view.bb();break;case e.$$p[86]:case e.$$p[87]:null!=this.h9?(this.ap=new i.BindingFormatter,this.ap.j=this.h9,this.ap.d=this.aj):this.ap=null,this.cb=!0,this.view.bb();break;case e.$$p[17]:case e.$$p[18]:null!=this.f2?(this.an=new i.BindingFormatter,this.an.j=this.f2,this.an.d=this.ag):this.an=null,this.cb=!0,this.view.bb();break;case"SubtitleTextStyle":case"TitleTextStyle":case"HighlightLabelTextStyle":this.cb=!0,this.view.bb();break;case e.$$p[92]:null!=this.valueChanged&&this.valueChanged(this,new i.DoubleValueChangedEventArgs(n,r)),this.cb=!0,this.view.bb();break;case e.$$p[22]:null!=this.highlightValueChanged&&this.highlightValueChanged(this,new i.DoubleValueChangedEventArgs(n,r));var a=2==this.bu;this.jf();var o=2==this.bu;this.cb=!0,!a&&o?this.bw=1:a&&!o&&(this.bw=4),this.view.bb();break;case e.$$p[21]:var s=2==this.bu;this.jf();var l=2==this.bu;this.cb=!0,!s&&l?this.bw=1:s&&!l&&(this.bw=4),this.view.bb();break;case"HighlighValueOpacity":this.jg();break;case"ActualHighlightValueOpacity":this.cb=!0,this.view.bb();break;case e.$$p[0]:case e.$$p[4]:case e.$$p[7]:case e.$$p[6]:case e.$$p[2]:case e.$$p[3]:case e.$$p[5]:case e.$$p[1]:this.cb=!0,this.view.bb();break;case e.$$p[69]:case e.$$p[67]:case e.$$p[63]:case e.$$p[65]:case e.$$p[66]:this.a9=new St(this.da,this.c9,this.ez,this.eu,this.mi),this.cb=!0,this.view.bb();break;case e.$$p[33]:case e.$$p[32]:var h=this.dz,u=this.dx;(i.isInfinity(h)||i.isNaN_(h))&&(h=0),(i.isInfinity(u)||i.isNaN_(u))&&(u=100),this.da=Math.min(h,u),this.c9=Math.max(h,u),this.a9=new St(this.da,this.c9,this.ez,this.eu,this.mi),this.cb=!0,this.view.bb();break;case e.$$p[23]:case e.$$p[68]:case e.$$p[64]:case e.$$p[28]:case e.$$p[80]:case e.$$p[79]:case e.$$p[78]:case e.$$p[62]:case e.$$p[31]:case e.$$p[35]:case e.$$p[81]:case e.$$p[38]:case e.$$p[34]:case e.$$p[37]:case e.$$p[36]:case e.$$p[8]:case e.$$p[9]:case e.$$p[58]:case e.$$p[10]:this.a9=new St(this.da,this.c9,this.ez,this.eu,this.mi),this.cb=!0,this.view.bb();break;case e.$$p[82]:case e.$$p[70]:case e.$$p[13]:case e.$$p[85]:case e.$$p[73]:case e.$$p[16]:case e.$$p[83]:case e.$$p[71]:case e.$$p[14]:case e.$$p[84]:case e.$$p[72]:case e.$$p[15]:case e.$$p[88]:case e.$$p[76]:case e.$$p[19]:case e.$$p[57]:case e.$$p[56]:case e.$$p[54]:case e.$$p[42]:case e.$$p[41]:case e.$$p[44]:case"NeedleStartWidth":case e.$$p[43]:case e.$$p[45]:case e.$$p[47]:case e.$$p[55]:case e.$$p[49]:case e.$$p[39]:case e.$$p[40]:case e.$$p[51]:case e.$$p[52]:case e.$$p[50]:case e.$$p[46]:case e.$$p[48]:case e.$$p[53]:this.cb=!0,this.view.bb();break;case e.$$p[90]:this.bc.r=this.fg,this.view.bb();break;case e.$$p[91]:this.bc.b=this.bf;break;case"TransitionProgress":if(this.fd>=1){this.bc.w();var c=this.a3;return this.a3=this.a4,this.a4=c,this.i1(),this.i2(),this.i4(),this.ja(this.a3),this.jb(this.a3,this.a3.b,!0),this.jb(this.a3,this.a3.c,!1),this.jc(this.a3),5==this.bw?this.is():2==this.bw&&(this.bw=3),void this.view.ah()}this.a2.f(this.fd,this.a4,this.a3),this.ja(this.a2),this.jb(this.a2,this.a2.b,!0),this.jb(this.a2,this.a2.c,!1),this.jc(this.a2),this.view.ah();break;case e.$$p[61]:var p=r;if(null!=n){var g=n;g.collectionChanged=i.delegateRemove(g.collectionChanged,i.runOn(this,this.i8))}if(null!=p){var f=p;f.collectionChanged=i.delegateCombine(f.collectionChanged,i.runOn(this,this.i8))}this.cb=!0,this.view.bb();break;case e.$$p[60]:case e.$$p[59]:this.cb=!0,this.view.bb();break;case e.$$p[11]:case e.$$p[12]:this.cb=!0,this.view.bk(),this.view.bb()}this.iz(t)},e.prototype.je=function(){this.view.bf()},e.prototype.i8=function(t,e){var r,a,o,s;if(null!=e.oldItems)try{for(var l=n.__values(i.fromEn(e.oldItems)),h=l.next();!h.done;h=l.next()){var u=h.value;u.propertyChanged=i.delegateRemove(u.propertyChanged,i.runOn(this,this.i7))}}catch(t){r={error:t}}finally{try{h&&!h.done&&(a=l.return)&&a.call(l)}finally{if(r)throw r.error}}if(null!=e.newItems)try{for(var c=n.__values(i.fromEn(e.newItems)),p=c.next();!p.done;p=c.next()){var g=p.value;g.propertyChanged=i.delegateCombine(g.propertyChanged,i.runOn(this,this.i7))}}catch(t){o={error:t}}finally{try{p&&!p.done&&(s=c.return)&&s.call(c)}finally{if(o)throw o.error}}this.cb=!0,this.view.bb()},e.prototype.i7=function(t,e){this.cb=!0,this.view.bb()},Object.defineProperty(e.prototype,"mm",{get:function(){return this.ml},set:function(t){var e=this.ml;this.ml=t,e.equals1(this.ml)||this.i0(e,this.ml)},enumerable:!1,configurable:!0}),e.prototype.i0=function(t,e){this.cb=!0,this.view.bb()},e.prototype.cg=function(){return!i.isNaN_(this.da)&&!i.isNaN_(this.c9)&&!i.isNaN_(this.ff)&&!this.mm.isEmpty&&this.view.n()},e.prototype.im=function(){if(this.cg()){if(this.cb)if(this.b5){this.bc.g&&this.bc.t();var t=this.a4;this.a4=this.a2,this.a2=t}else{var e=this.a4;this.a4=this.a3,this.a3=e}else this.b5&&(this.a2.f(this.fd,this.a4,this.a3),this.ja(this.a2),this.jb(this.a2,this.a2.b,!0),this.jb(this.a2,this.a2.c,!1),this.jc(this.a2));if(this.cb){if(1==this.bw){this.bw=2;var i=this.et(this.ff,0);this.i3(i,this.a4.b,!1)}else if(4==this.bw)if(this.fg>0){this.bw=5;var n=this.et(this.ff,0);this.i3(n,this.a3.b,!1)}else this.is();this.i2(),this.i4(),this.i1()}this.cb&&this.cl?(this.jd(),this.a2.f(this.fd,this.a4,this.a3),this.ja(this.a2),this.jb(this.a2,this.a2.b,!0),this.jb(this.a2,this.a2.c,!1),this.jc(this.a2)):this.cb&&(this.ja(this.a3),this.jb(this.a3,this.a3.b,!0),this.jb(this.a3,this.a3.c,!1),this.jc(this.a3)),this.cb=!1,this.view.ah()}},e.prototype.jd=function(){this.c7=0,this.bc.w(),this.bc.v()},Object.defineProperty(e.prototype,"cl",{get:function(){return this.fg>0},enumerable:!1,configurable:!0}),e.prototype.ja=function(t){var e=this.mm,i=this.view.b8(),n=t.a,r=Math.min(e.width/2,e.height/2)*t.e,a=this.mj(),o=a.x,s=a.y,l=n.n(r,o,s);i.an=l,i._fill=n.l,i._stroke=n.m,i.ad=n.h},e.prototype.ch=function(t){return this.cj(t,!1,!1)},e.prototype.needleContainsPoint=function(t,e){return this.cj(t,e,!1)},e.prototype.b9=function(t){return this.cj(t,!1,!0)},e.prototype.highlightNeedleContainsPoint=function(t,e){return this.cj(t,e,!0)},e.prototype.cj=function(t,e,n){var r,a;return n?(r=this.cu,a=this.cv):(r=this.cw,a=this.cx),null!=r&&(e?i.PolygonUtil.b(a,t):i.PolygonUtil.b(r,t))},e.prototype.jb=function(t,e,n){if(n){if(0==this.bw)return;this.cu=new i.List$1(i.Point_$type,0),this.cv=new i.List$1(i.Point_$type,0)}else this.cw=new i.List$1(i.Point_$type,0),this.cx=new i.List$1(i.Point_$type,0);var r=n?this.cu:this.cw,a=n?this.cv:this.cx,o=this.mm,s=e.ab,l=e.aj,h=e.ak,u=e.ae,c=e.ah,p=e.ai,g=e.aa,f=n?this.view.b9():this.view.ca(),y=this.view.cd(),b=this.view.cb(),d=Math.min(o.width/2,o.height/2)*t.e,m=this.mj(),v=m.x,_=m.y,w=e.am(d,v,_),P=180*s/Math.PI;f.an=w;var $,x=new i.TransformGroup;x.j.add((($=new i.RotateTransform).k=v,$.l=_,$.j=P,$)),f.j=x,f._fill=l,f._stroke=h,f.ad=u,y.an=e.an(d,v,_),b.an=e.al(d,v,_),y._fill=c,y._stroke=p,y.ad=g,b._fill=c,b._stroke=p,b.ad=g;var k=Math.cos(s),S=Math.sin(s),O=e.af/2,j={$type:i.Point_$type,x:e.ad*d,y:O*d},I={$type:i.Point_$type,x:e.ac*d,y:O*d},N={$type:i.Point_$type,x:e.ac*d,y:-O*d},T={$type:i.Point_$type,x:e.ad*d,y:-O*d};j={$type:i.Point_$type,x:j.x*k-j.y*S+v,y:j.y*k+j.x*S+_},I={$type:i.Point_$type,x:I.x*k-I.y*S+v,y:I.y*k+I.x*S+_},N={$type:i.Point_$type,x:N.x*k-N.y*S+v,y:N.y*k+N.x*S+_},T={$type:i.Point_$type,x:T.x*k-T.y*S+v,y:T.y*k+T.x*S+_},r.add(j),r.add(I),r.add(N),r.add(T),O=e.af/2*d;var C={$type:i.Point_$type,x:e.ad*d,y:O},V={$type:i.Point_$type,x:e.ac*d,y:O},M={$type:i.Point_$type,x:e.ac*d,y:-O},B={$type:i.Point_$type,x:e.ad*d,y:-O};C={$type:i.Point_$type,x:C.x*k-C.y*S+v,y:C.y*k+C.x*S+_},V={$type:i.Point_$type,x:V.x*k-V.y*S+v,y:V.y*k+V.x*S+_},M={$type:i.Point_$type,x:M.x*k-M.y*S+v,y:M.y*k+M.x*S+_},B={$type:i.Point_$type,x:B.x*k-B.y*S+v,y:B.y*k+B.x*S+_},a.add(C),a.add(V),a.add(M),a.add(B)},e.prototype.mj=function(){var t=this.mm,e=i.isNaN_(this.dl)?.5:this.dl,n=i.isNaN_(this.dm)?.5:this.dm,r=t.left+e*t.width,a=t.top+n*t.height;return{$type:i.Point_$type,x:r,y:a}},e.prototype.er=function(t){return i.isInfinity(t)?NaN:t},e.prototype.i2=function(){var t=this.a3;t.e=this.ep;this.mm;var e=!(0==this.bw||5==this.bw),i=this.et(this.ff,0);if(this.i3(i,t.c,e),e){var n=this.er(this.dr);this.i3(n,t.b,!1)}},e.prototype.i3=function(t,n,r){var a=this.a9.h(t),o=new Et,s=new Bt;s.b=this.a5,s.o=this.er(this.ek);var l=this.ma,h=this.mb;r&&(l=i.BrushUtil.s(l,this.c8),h=i.BrushUtil.s(h,this.c8)),s.t=l,s.u=h,s.m=this.er(this.ei),s.k=this.er(this.ea),s.d=this.er(this.d8),s.e=this.er(this.d9),s.p=this.er(this.eg),s.q=this.er(this.eh),s.i=this.er(this.ef),s.f=this.er(this.ec),s.r=this.mc,s.s=this.md,s.c=this.a6,s.h=this.er(this.ed),s.n=this.er(this.ej),s.l=this.er(this.eb),i.isNaN_(s.o)&&(s.o=e.el),i.isNaN_(s.h)&&(s.h=e.ee),o.b=s,o.e(n),n.ab=a},e.prototype.jc=function(t){var e,r,a,o,s,l,h,u,c=this.mm,p=t.d,g=p.g,f=p.c,y=p.i,b=p.j,d=p.h,m=p.f,v=p.t,_=p.e,w=p.d,P=p.ab,$=p.y,x=p.l,k=p.k,S=p.ad,O=p.ac,j=p.aa,I=p.x,N=p.aj,T=p.ak,C=p.ae,V=p.ai,M=p.v,B=p.u,E=p.w,D=this.view.cc(),L=p.z;P=Math.max(0,P),$=Math.max(0,$);var F=!0;(1==this.a8||0==this.a8&&0==this.a0)&&(F=!1);var R=Math.min(c.width/2,c.height/2)*t.e,z=this.mj(),A=z.x,G=z.y,q=j,U=I,H=!1;(I+=L)-(j-=L)>=2*Math.PI&&(H=!0,j=0,I=Math.PI);var W,X=new i.PathGeometry,Z=new i.PathFigure,Y=Math.cos(j),Q=Math.sin(j),J=Math.cos(I),K=Math.sin(I),tt=A+R*P*Y,et=G+R*P*Q,it=A+R*$*Y,nt=G+R*$*Q,rt=A+R*P*J,at=G+R*P*K,ot=A+R*$*J,st=G+R*$*K,lt=H;if(0!=L&&!H&&F){var ht=Math.cos(q),ut=Math.sin(q),ct=Math.cos(U),pt=Math.sin(U),gt=A+R*P*ht,ft=A+R*$*ht,yt=A+R*P*ct,bt=G+R*P*pt,dt=A+R*$*ct,mt=G+R*$*pt,vt=et,_t=it;if(ft-gt!=0)_t=A,vt=(G+R*$*ut-(G+R*P*ut))/(ft-gt)*(A-it)+nt;var wt={$type:i.Point_$type,x:_t,y:vt},Pt=i.GeometryUtil.r(wt,{$type:i.Point_$type,x:it,y:nt},{$type:i.Point_$type,x:A,y:G},R*P),$t=at,xt=ot;if(dt-yt!=0)xt=A,$t=(mt-bt)/(dt-yt)*(A-ot)+st;var kt={$type:i.Point_$type,x:xt,y:$t},St=i.GeometryUtil.r(kt,{$type:i.Point_$type,x:ot,y:st},{$type:i.Point_$type,x:A,y:G},R*P);if(i.isNaN_(Pt.c.x)||i.isNaN_(Pt.c.y)||i.isNaN_(Pt.d.x)||i.isNaN_(Pt.d.y)||i.isNaN_(St.c.x)||i.isNaN_(St.c.y)||i.isNaN_(St.d.x)||i.isNaN_(St.d.y))H=!0,j=0,I=Math.PI;else{var Ot=void 0,jt=void 0;if(Ot=Math.pow(Pt.c.x-it,2)+Math.pow(Pt.c.y-nt,2)<Math.pow(Pt.d.x-it,2)+Math.pow(Pt.d.y-nt,2)?Pt.c:Pt.d,jt=Math.pow(St.c.x-ot,2)+Math.pow(St.c.y-st,2)<Math.pow(St.d.x-ot,2)+Math.pow(St.d.y-st,2)?St.c:St.d,Math.pow(jt.x-it,2)+Math.pow(jt.y-nt,2)<=Math.pow(Ot.x-it,2)+Math.pow(Ot.y-nt,2))H=!0,j=0,I=Math.PI;else{for(var It=i.GeometryUtil.j({$type:i.Point_$type,x:A,y:G},Ot),Nt=i.GeometryUtil.j({$type:i.Point_$type,x:A,y:G},jt),Tt=j,Ct=I;Tt>2*Math.PI;)Tt-=2*Math.PI;for(;Ct>2*Math.PI;)Ct-=2*Math.PI;var Vt=Math.min(Math.abs(It-Tt),Math.abs(2*Math.PI-It-Tt)),Mt=Math.min(Math.abs(Nt-Ct),Math.abs(2*Math.PI-Nt-Ct));I-j+Vt+Mt>=2*Math.PI?(H=!0,j=0,I=Math.PI):(tt=Ot.x,et=Ot.y,rt=jt.x,at=jt.y)}}}if(H&&!lt&&(Y=Math.cos(j),Q=Math.sin(j),J=Math.cos(I),K=Math.sin(I),tt=A+R*P*Y,et=G+R*P*Q,it=A+R*$*Y,nt=G+R*$*Q,rt=A+R*P*J,at=G+R*P*K,ot=A+R*$*J,st=G+R*$*K),H){Z._startPoint={$type:i.Point_$type,x:it,y:nt},Z._segments.add(((W=new i.ArcSegment).e={$type:i.Point_$type,x:ot,y:st},W.b=!1,W.d=1,W.f=new i.Size(1,R*$,R*$),W)),Z._segments.add(function(){var t=new i.ArcSegment;return t.e={$type:i.Point_$type,x:it,y:nt},t.b=!1,t.d=1,t.f=new i.Size(1,R*$,R*$),t}());var Bt=new i.PathFigure;Bt._startPoint={$type:i.Point_$type,x:tt,y:et},Bt._segments.add(function(){var t=new i.ArcSegment;return t.e={$type:i.Point_$type,x:rt,y:at},t.b=!1,t.d=0,t.f=new i.Size(1,R*P,R*P),t}()),Bt._segments.add(function(){var t=new i.ArcSegment;return t.e={$type:i.Point_$type,x:tt,y:et},t.b=!1,t.d=0,t.f=new i.Size(1,R*P,R*P),t}()),X.c.add(Z),X.c.add(Bt)}else Z._startPoint={$type:i.Point_$type,x:tt,y:et},Z._segments.add(function(){var t=new i.LineSegment(1);return t.c={$type:i.Point_$type,x:it,y:nt},t}()),Z._segments.add(function(){var t=new i.ArcSegment;return t.e={$type:i.Point_$type,x:ot,y:st},t.b=I-j>Math.PI,t.d=1,t.f=new i.Size(1,R*$,R*$),t}()),Z._segments.add(function(){var t=new i.LineSegment(1);return t.c={$type:i.Point_$type,x:rt,y:at},t}()),Z._segments.add(function(){var t=new i.ArcSegment;return t.e={$type:i.Point_$type,x:tt,y:et},t.b=I-j>Math.PI,t.d=0,t.f=new i.Size(1,R*P,R*P),t}()),X.c.add(Z);D.an=X,D._fill=N;var Et=this.bz;Et.f=!0;try{for(var Dt=n.__values(i.fromEnum(this.cz)),Lt=Dt.next();!Lt.done;Lt=Dt.next()){var Ft=Lt.value;Et.n(Ft)}}catch(t){e={error:t}}finally{try{Lt&&!Lt.done&&(r=Dt.return)&&r.call(Dt)}finally{if(e)throw e.error}}this.cz.g();var Rt=this.b2;Rt.f=!0;try{for(var zt=n.__values(i.fromEnum(this.c0)),At=zt.next();!At.done;At=zt.next()){var Gt=At.value;Rt.n(Gt)}}catch(t){a={error:t}}finally{try{At&&!At.done&&(o=zt.return)&&o.call(zt)}finally{if(a)throw a.error}}this.c0.g();var qt=this.b4;qt.f=!0;try{for(var Ut=n.__values(i.fromEnum(this.c1)),Ht=Ut.next();!Ht.done;Ht=Ut.next()){var Wt=Ht.value;qt.n(Wt)}}catch(t){s={error:t}}finally{try{Ht&&!Ht.done&&(l=Ut.return)&&l.call(Ut)}finally{if(s)throw s.error}}this.c1.g();var Xt=this.by;Xt.f=!0;try{for(var Zt=n.__values(i.fromEnum(this.cy)),Yt=Zt.next();!Yt.done;Yt=Zt.next()){var Qt=Yt.value;Xt.n(Qt)}}catch(t){h={error:t}}finally{try{Yt&&!Yt.done&&(u=Zt.return)&&u.call(Zt)}finally{if(h)throw h.error}}this.cy.g();for(var Jt=R*v,Kt=0;Kt<f.length;Kt++){var te=A+Jt*Math.cos(f[Kt]),ee=G+Jt*Math.sin(f[Kt]),ie=Et.a();ie.al!=g[Kt]&&(ie.al=g[Kt]),this.view.bd(ie,w[Kt]),this.view.be(ie,_[Kt]);d[Kt],m[Kt];var ne=y[Kt],re=b[Kt];this.view.a6(ie,te+ne,ee+re),this.cz.h(ie)}if(Et.f=!1,!i.isNaN_(p.p.c)&&!i.isNaN_(p.p.b)){var ae=A+R*p.p.c*Math.cos(p.p.b),oe=G+R*p.p.c*Math.sin(p.p.b),se=qt.a();se.al!=p.p.h&&(se.al=p.p.h),this.view.bd(se,p.p.i),this.view.be(se,p.p.a),this.view.a6(se,ae+p.p.f,oe+p.p.g),this.c1.h(se)}if(qt.f=!1,!i.isNaN_(p.o.c)&&!i.isNaN_(p.o.b)){var le=A+R*p.o.c*Math.cos(p.o.b),he=G+R*p.o.c*Math.sin(p.o.b),ue=Rt.a();ue.al!=p.o.h&&(ue.al=p.o.h),this.view.bd(ue,p.o.i),this.view.be(ue,p.o.a),this.view.a6(ue,le+p.o.f,he+p.o.g),this.c0.h(ue)}if(Rt.f=!1,0!=this.bw){if(!i.isNaN_(p.m.c)&&!i.isNaN_(p.m.b)){var ce=A+R*p.m.c*Math.cos(p.m.b),pe=G+R*p.m.c*Math.sin(p.m.b),ge=Xt.a();ge.al!=p.m.h&&(ge.al=p.m.h),this.view.bd(ge,p.m.i),this.view.be(ge,p.m.a),this.view.a6(ge,ce+p.m.f,pe+p.m.g),this.cy.h(ge)}Xt.f=!1}var fe=this.b3;fe.f=!0;for(var ye=0;ye<this.ct.count;ye++)fe.n(this.ct._inner[ye]);this.ct.clear();for(var be=function(t){var e=A+R*S*Math.cos(x[t]),n=G+R*S*Math.sin(x[t]),r=A+R*O*Math.cos(x[t]),a=G+R*O*Math.sin(x[t]),o=fe.a(),s=new i.PathGeometry,l=new i.PathFigure;l._startPoint={$type:i.Point_$type,x:e,y:n},l._segments.add(function(){var t=new i.LineSegment(1);return t.c={$type:i.Point_$type,x:r,y:a},t}()),s.c.add(l),o.an=s,o._stroke=T,o.ad=C,de.ct.add(o)},de=this,me=0;me<x.length;me++)be(me);fe.f=!1;var ve=this.b0;ve.f=!0;for(var _e=0;_e<this.cr.count;_e++)ve.n(this.cr._inner[_e]);this.cr.clear();for(var we=function(t){var e=A+R*M*Math.cos(k[t]),n=G+R*M*Math.sin(k[t]),r=A+R*B*Math.cos(k[t]),a=G+R*B*Math.sin(k[t]),o=ve.a(),s=new i.PathGeometry,l=new i.PathFigure;l._startPoint={$type:i.Point_$type,x:e,y:n},l._segments.add(function(){var t=new i.LineSegment(1);return t.c={$type:i.Point_$type,x:r,y:a},t}()),s.c.add(l),o.an=s,o._stroke=V,o.ad=E,Pe.cr.add(o)},Pe=this,$e=0;$e<k.length;$e++)we($e);ve.f=!1;var xe=this.b1;xe.f=!0;for(var ke=this.cs.count-1;ke>=0;ke--)xe.n(this.cs._inner[ke]);this.cs.clear();for(var Se=0;Se<p.r.count;Se++){var Oe=p.r._inner[Se],je=xe.a();je.an=Oe.m(R,A,G),je._fill=Oe.k,je._stroke=Oe.l,je.ad=Oe.h,this.cs.add(je)}this.view.bc(this.cs),xe.f=!1},e.prototype.cq=function(t,e,n){var r=n/1e4;return i.isNaN_(r)&&(r=1e-5),Math.abs(t-e)<r},e.prototype.es=function(t){return i.isInfinity(t)?NaN:t},e.prototype.eq=function(t,e){return i.isInfinity(t)?e:t},e.prototype.et=function(t,e){return i.isInfinity(t)||i.isNaN_(t)?e:t},e.prototype.i4=function(){var t=this.a3;if(t.e=this.es(this.ep),i.isNaN_(t.e)&&(t.e=1),this.ck&&!i.isNaN_(this.en)&&this.en>0){var n=Math.min(this.mm.width,this.mm.height);this.em=n/this.en}else this.em=1;this.mm;var r=this.a9,a=this.es(this.dt),o=this.es(this.dw),s=this.es(this.d1);i.isNaN_(a)&&(a=(this.c9-this.da)/10),i.isNaN_(o)&&(o=a),i.isNaN_(s)&&(s=3);for(var l=new i.List$1(i.Tuple$2.$.specialize(i.Number_$type,i.Number_$type),0),h=r.i,u=r.g;h>=2*Math.PI;)h-=2*Math.PI;for(;u>=2*Math.PI;)u-=2*Math.PI;for(var c=Math.abs(u-h)<1e-4,p=1==this.a1||3==this.a1,g=0==this.a1||3==this.a1,f=this.da;(f<=this.c9||this.cq(f,this.c9,o))&&(c&&this.cq(f,this.da,o)&&p||c&&this.cq(f,this.c9,o)&&g||(l.add(new i.Tuple$2(i.Number_$type,i.Number_$type,f,i.MathUtil.f(r.h(f)))),0!=o));f+=o);for(var y=new i.List$1(i.Number_$type,0),b=new i.List$1(i.Number_$type,0),d=this.da;d<=this.c9||this.cq(d,this.c9,a);d+=a){y.add(r.h(d));for(var m=0;m<s;m++){var v=a/(s+1)*(m+1);v+d>this.c9||b.add(r.h(v+d))}if(0==a)break}t.d.c.length!=l.count&&(t.d.g=new Array(l.count),t.d.c=new Array(l.count),t.d.h=new Array(l.count),t.d.f=new Array(l.count),t.d.i=new Array(l.count),t.d.j=new Array(l.count),t.d.e=new Array(l.count),t.d.d=new Array(l.count)),t.d.l.length==y.count&&t.d.k.length==b.count||(t.d.l=new Array(y.count),t.d.k=new Array(b.count));for(var _=this.bp(),w=0;w<l.count;w++){var P=l._inner[w].c,$=l._inner[w].d,x=this.av(P,$,"Label",!0,this.am,this.formatLabel),k=this.aq(this.du,this.l6,_,x,this.alignLabel,i.runOn(this.view,this.view.ch));t.d.c[w]=k.angle,t.d.h[w]=k.width,t.d.f[w]=k.height,t.d.i[w]=k.offsetX,t.d.j[w]=k.offsetY,t.d.g[w]=k.label,t.d.e[w]=_.b(k.font),t.d.d[w]=k.brush}var S=this.fb;this.cp&&(S=(i.MathUtil.f(this.a9.h(this.ff))+180)%360);var O=this.av(this.ff,S,this.id,this.co,this.ap,this.formatTitle),j=this.bs.a(),I=this.aq(this.fc,this.mh,j,O,this.alignTitle,i.runOn(this.view,this.view.cj));t.d.p.b=I.angle,t.d.p.e=I.width,t.d.p.d=I.height,t.d.p.f=I.offsetX,t.d.p.g=I.offsetY,t.d.p.c=I.extent,t.d.p.i=I.brush,t.d.p.h=I.label,t.d.p.a=j.b(I.font);var N=this.e3;this.cn&&(N=(i.MathUtil.f(this.a9.h(this.ff))+180)%360);var T=this.av(this.ff,N,this.hy,this.cm,this.ao,this.formatSubtitle),C=this.br.a(),V=this.aq(this.e4,this.mf,C,T,this.alignSubtitle,i.runOn(this.view,this.view.ci));t.d.o.b=V.angle,t.d.o.e=V.width,t.d.o.d=V.height,t.d.o.f=V.offsetX,t.d.o.g=V.offsetY,t.d.o.c=V.extent,t.d.o.i=V.brush,t.d.o.h=V.label,t.d.o.a=C.b(V.font);var M=this.dp;this.b8&&(M=(i.MathUtil.f(this.a9.h(this.dr))+180)%360);var B=this.av(this.dr,M,this.f6,this.b7,this.an,this.formatHighlightLabel),E=this.bq.a(),D=this.aq(this.dq,this.l8,E,B,this.alignHighlightLabel,i.runOn(this.view,this.view.cg));t.d.m.b=D.angle,t.d.m.e=D.width,t.d.m.d=D.height,t.d.m.f=D.offsetX,t.d.m.g=D.offsetY,t.d.m.c=D.extent,t.d.m.i=D.brush;var L=!(0==this.bw||5==this.bw);t.d.m.h=L?D.label:null,t.d.m.a=E.b(D.font);for(var F=0;F<y.count;F++)t.d.l[F]=y._inner[F];for(var R=0;R<b.count;R++)t.d.k[R]=b._inner[R];t.d.ab=this.et(this.e0,.5),t.d.y=this.et(this.ev,.57),t.d.t=this.et(this.du,.65),t.d.ad=this.et(this.e7,.5),t.d.ac=this.et(this.e5,.57),t.d.v=this.et(this.d4,.54),t.d.u=this.et(this.d2,.57),t.d.aa=r.i,t.d.x=r.g;var z=this.ex;i.isNaN_(z)&&(z=2.8);var A=z*Math.PI/180;A<0&&(A=0),t.d.z=A,t.d.ak=this.mg,t.d.ai=this.l9,t.d.aj=this.me,t.d.ae=this.es(this.e9),t.d.w=this.es(this.d6),i.isNaN_(t.d.ae)&&(t.d.ae=e.fa),i.isNaN_(t.d.w)&&(t.d.w=e.d7),t.d.r.clear();for(var G=0;G<this.ranges.count;G++){var q=this.ranges._inner[G],U=this.es(Math.min(q.o,q.j)),H=this.es(Math.max(q.o,q.j));if(!i.isNaN_(U)&&!i.isNaN_(H)){var W=r.h(U),X=r.h(H),Z=St.k(W,X,this.mi);W=Z.c,X=Z.d;var Y=new It;if(Y.e=W,Y.b=X,Y.k=null!=q.ao?q.ao:this.l7(G,this.ak),Y.l=null!=q.ap?q.ap:this.l7(G,this.al),Y.h=this.et(q.p,Pt.q),Y.f=this.es(q.l),i.isNaN_(Y.f)&&(Y.f=Math.max(0,this.e0)),Y.c=this.es(q.k),i.isNaN_(Y.c)&&(Y.c=Math.max(0,this.e0)),Y.g=this.es(q.n),i.isNaN_(Y.g)&&(Y.g=Math.max(0,this.ev)),Y.d=this.es(q.m),i.isNaN_(Y.d)&&(Y.d=Math.max(0,this.ev)),0==this.mi){var Q=Y.f;Y.f=Y.c,Y.c=Q,Q=Y.g,Y.g=Y.d,Y.d=Q}t.d.r.add(Y)}}},e.prototype.i1=function(){var t=this.a3;t.e=this.ep;var n=t.a,r=this.l4,a=this.l5,o=this.eq(this.dj,e.dk),s=this.a0,l=this.dg,h=this.de;(i.isInfinity(h)||i.isNaN_(h))&&(h=.12),(i.isInfinity(l)||i.isNaN_(l))&&(l=.82);var u=this.dc;if((i.isInfinity(u)||i.isNaN_(u))&&(u=4),h>l){var c=l;l=h,h=c}var p=this.a9,g=p.i,f=p.g;if(n.l=r,n.m=a,n.h=o,0==s)n.b=0,n.g=0,n.c=0,n.d=0,n.e=this.dg;else{n.b=u;var y=this.di*Math.PI/180;y<0&&(y=0),2*Math.PI-(f-g)<y?(n.f=0,n.b=0,n.g=0,n.c=0,n.d=0,n.e=l):(n.f=y,n.g=g,n.c=f,n.b=u,n.d=h,n.e=l)}},Object.defineProperty(e.prototype,"b5",{get:function(){return this.bc.f()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fd",{get:function(){return this.c7},set:function(t){var e=this.c7;this.c7=t,this.iy("TransitionProgress",e,this.c7)},enumerable:!1,configurable:!0}),e.prototype.iq=function(t,e){var i=this.dn(t),n=2==this.bx;if(n?this.cc:this.ce){var r=this.fe(this.a9.g-2*Math.PI);switch(this.mi){case 1:i<this.da&&(i=i<.5*r?this.c9:this.da);break;case 0:i>this.c9&&(i=i<.5*(r+this.c9)?this.c9:this.da)}}n?i!=this.dr&&(this.dr=i):i!=this.ff&&(this.ff=i)},e.prototype.destroy=function(){this.provideContainer(null)},e.prototype.provideContainer=function(t){this.view.aw(t)},e.prototype.onMouseMove=function(t,e){0!=this.bx&&this.iq(t,e)},e.prototype.onMouseDown=function(t,e){void 0===e&&(e=!1),this.cf&&this.needleContainsPoint(t,e)&&0==this.bx&&(this.bx=1),this.cd&&this.highlightNeedleContainsPoint(t,e)&&0==this.bx&&(this.bx=2)},e.prototype.onMouseUp=function(t){0!=this.bx&&(this.bx=0)},e.prototype.containerResized=function(){this.view.ax()},e.prototype.ir=function(){this.view.flush()},e.prototype.ba=function(){var t=new Dt;return t.viewport=new i.RectData(this.mm.left,this.mm.top,this.mm.width,this.mm.height),t.scaleLabels=new Ft,t.scaleTickmarks=new zt,t.ranges=new Gt,t.needle=new qt,t.highlightNeedle=new qt,t.titleLabels=new Ft,t.subtitleLabels=new Ft,t.highlightLabels=new Ft,this.view.am(t),t},e.prototype.fu=function(){var t=this.ba();return t.scaleByViewport(),t.serialize()},e.prototype.bp=function(){return null==this.fv?i.FontUtil.getFont(this.view.ac):i.FontUtil.toFontInfo(this.view.ac,this.fv)},Object.defineProperty(e.prototype,"eo",{get:function(){return this.c6},set:function(t){var e=this.c6;this.c6=t,this.iy("PixelScalingRatio",e,this.c6)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"db",{get:function(){return this.c5},set:function(t){var e=this.c5;this.c5=t,this.iy("ActualPixelScalingRatio",e,this.c5)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"bq",{get:function(){return this.bj},set:function(t){var n=this.bj;t=null!=t&&this.b6(t)?i.FontUtil.getFontInfoFromString(this.view.ac,t.fontString):e.bm(),this.bj=t,n!=this.bj&&this.iy("HighlightLabelTextStyle",n,this.bj)},enumerable:!1,configurable:!0}),e.prototype.b6=function(t){return null!=t&&(null!=t.fontString&&"NaNpx/normal"!=t.fontString)},Object.defineProperty(e.prototype,"br",{get:function(){return this.bk},set:function(t){var n=this.bk;t=null!=t&&this.b6(t)?i.FontUtil.getFontInfoFromString(this.view.ac,t.fontString):e.bn(),this.bk=t,n!=this.bk&&this.iy("SubtitleTextStyle",n,this.bk)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"bs",{get:function(){return this.bl},set:function(t){var n=this.bl;t=null!=t&&this.b6(t)?i.FontUtil.getFontInfoFromString(this.view.ac,t.fontString):e.bo(),this.bl=t,n!=this.bl&&this.iy("TitleTextStyle",n,this.bl)},enumerable:!1,configurable:!0}),e.$t=i.markType(e,"XamRadialGauge",i.Control.$,[i.INotifyPropertyChanged_$type]),e.bh=null,e.bi=null,e.bg=null,e.j3=i.DependencyProperty.i("HighlighValueOpacity",i.Number_$type,e.$,new i.PropertyMetadata(2,.5,(function(t,e){return t.iy("HighlighValueOpacity",e.oldValue,e.newValue)}))),e.k1=i.DependencyProperty.i("NeedleStartWidth",i.Number_$type,e.$,new i.PropertyMetadata(2,NaN,(function(t,e){return t.iy("NeedleStartWidth",e.oldValue,e.newValue)}))),e.el=i.DeviceUtils.g(1),e.ee=i.DeviceUtils.g(1),e.fa=i.DeviceUtils.g(3),e.d7=i.DeviceUtils.g(2),e.dk=i.DeviceUtils.g(12),e.$$p=i.markDep(i.DependencyProperty,i.PropertyMetadata,e,"iy",["BackingBrush:l4:jh",[i.Brush.$,null],"BackingCornerRadius:dc:ji",[1,4],"BackingInnerExtent:de:jj",[1,.12],"BackingOuterExtent:dg:jk",[1,.82],"BackingOutline:l5:jl",[i.Brush.$,null],"BackingOversweep:di:jm",[1,3],"BackingShape:a0:jn",[wt,i.enumGetBox(wt,0)],"BackingStrokeThickness:dj:jo",[1,e.dk],"CenterX:dl:jp",[1,.5],"CenterY:dm:jq",[1,.5],"DuplicateLabelOmissionStrategy:a1:jr",[kt,i.enumGetBox(kt,0)],"FontBrush:l6:js",[i.Brush.$,null],"Font:fv:jt",[2,null],"HighlightLabelAngle:dp:ju",[1,90],"HighlightLabelBrush:l8:jv",[i.Brush.$,null],"HighlightLabelDisplaysValue:b7:jw",[0,!1],"HighlightLabelExtent:dq:jx",[1,.2],"HighlightLabelFormat:f2:jy",[2,null],"HighlightLabelFormatSpecifiers:ag:jz",[i.Array_$type,null],"HighlightLabelSnapsToNeedlePivot:b8:j0",[0,!1],"HighlightLabelText:f6:j1",[2,null],"HighlightValueDisplayMode:bv:j2",[i.HighlightedValueDisplayMode_$type,i.enumGetBox(i.HighlightedValueDisplayMode_$type,0)],"HighlightValue:dr:j4",[1,NaN],"Interval:dt:j5",[1,NaN],"IsHighlightNeedleDraggingConstrained:cc:j6",[0,!0],"IsHighlightNeedleDraggingEnabled:cd:j7",[0,!1],"IsNeedleDraggingConstrained:ce:j8",[0,!0],"IsNeedleDraggingEnabled:cf:j9",[0,!1],"LabelExtent:du:ka",[1,.65],"LabelFormat:gi:kb",[2,null],"LabelFormatSpecifiers:ah:kc",[i.Array_$type,null],"LabelInterval:dw:kd",[1,NaN],"MaximumValue:dx:ke",[1,100],"MinimumValue:dz:kf",[1,0],"MinorTickBrush:l9:kg",[i.Brush.$,null],"MinorTickCount:d1:kh",[1,3],"MinorTickEndExtent:d2:ki",[1,.57],"MinorTickStartExtent:d4:kj",[1,.54],"MinorTickStrokeThickness:d6:kk",[1,e.d7],"NeedleBaseFeatureExtent:d8:kl",[1,NaN],"NeedleBaseFeatureWidthRatio:d9:km",[1,NaN],"NeedleBrush:ma:kn",[i.Brush.$,null],"NeedleEndExtent:ea:ko",[1,NaN],"NeedleEndWidthRatio:eb:kp",[1,NaN],"NeedleOutline:mb:kq",[i.Brush.$,null],"NeedlePivotBrush:mc:kr",[i.Brush.$,null],"NeedlePivotInnerWidthRatio:ec:ks",[1,NaN],"NeedlePivotOutline:md:kt",[i.Brush.$,null],"NeedlePivotShape:a6:ku",[dt,i.enumGetBox(dt,3)],"NeedlePivotStrokeThickness:ed:kv",[1,e.ee],"NeedlePivotWidthRatio:ef:kw",[1,NaN],"NeedlePointFeatureExtent:eg:kx",[1,NaN],"NeedlePointFeatureWidthRatio:eh:ky",[1,NaN],"NeedleShape:a5:kz",[yt,i.enumGetBox(yt,4)],"NeedleStartExtent:ei:k0",[1,NaN],"NeedleStrokeThickness:ek:k2",[1,e.el],"OpticalScalingEnabled:ck:k3",[0,!1],"OpticalScalingSize:en:k4",[1,500],"RadiusMultiplier:ep:k5",[1,1],"RangeBrushes:ak:k6",[i.BrushCollection.$,null],"RangeOutlines:al:k7",[i.BrushCollection.$,null],"Ranges::k8",[$t.$,null],"ScaleBrush:me:k9",[i.Brush.$,null],"ScaleEndAngle:eu:la",[1,45],"ScaleEndExtent:ev:lb",[1,.57],"ScaleOversweep:ex:lc",[1,2.8],"ScaleOversweepShape:a8:ld",[vt,i.enumGetBox(vt,0)],"ScaleStartAngle:ez:le",[1,135],"ScaleStartExtent:e0:lf",[1,.5],"ScaleSweepDirection:mi:lg",[i.SweepDirection_$type,i.enumGetBox(i.SweepDirection_$type,1)],"SubtitleAngle:e3:lh",[1,90],"SubtitleBrush:mf:li",[i.Brush.$,null],"SubtitleDisplaysValue:cm:lj",[0,!1],"SubtitleExtent:e4:lk",[1,.5],"SubtitleFormat:hu:ll",[2,null],"SubtitleFormatSpecifiers:ai:lm",[i.Array_$type,null],"SubtitleSnapsToNeedlePivot:cn:ln",[0,!1],"SubtitleText:hy:lo",[2,null],"TickBrush:mg:lp",[i.Brush.$,null],"TickEndExtent:e5:lq",[1,.57],"TickStartExtent:e7:lr",[1,.5],"TickStrokeThickness:e9:ls",[1,e.fa],"TitleAngle:fb:lt",[1,90],"TitleBrush:mh:lu",[i.Brush.$,null],"TitleDisplaysValue:co:lv",[0,!1],"TitleExtent:fc:lw",[1,.38],"TitleFormat:h9:lx",[2,null],"TitleFormatSpecifiers:aj:ly",[i.Array_$type,null],"TitleSnapsToNeedlePivot:cp:lz",[0,!1],"TitleText:id:l0",[2,null],"TransitionDuration:fg:l1",[1,0],"TransitionEasingFunction:bf:l2",[i.Delegate_$type,null],"Value:ff:l3",[1,0]]),e}(i.Control),Ht=function(t){function e(e){var n,r=t.call(this)||this;return r.h=null,r.s=null,r.r=null,r.q=null,r.v=null,r.u=null,r.t=null,r.b4=new i.Path,r.b3=new i.Path,r.b6=new i.Path,r.b2=new i.Path,r.b5=new i.Path,r.b7=new i.Path,r.o=null,r.a=["needle","needlePivot","backing","scale","tick","minorTick","label"],r.c=null,r.d=null,r.l=!1,r.m=!1,r.g=null,r.ad=null,r.k=null,r.ac=null,r.i=null,r.bp=new i.Brush,r.bq=((n=new i.Brush).fill="black",n),r.w=NaN,r.p=null,r.af=-1,r.ae=-1,r.bu=null,r.bv=null,r.bw=null,r.bx=null,r.br=null,r.bs=null,r.by=null,r.b0=null,r.bt=null,r.bz=null,r.b1=null,r.e=null,r.f=null,r.x=0,r.h=e,r.o=new i.Dictionary$2(i.String_$type,i.Dictionary$2.$.specialize(i.String_$type,i.String_$type),0),r.q=new i.List$1(i.TextBlock.$,0),r.r=new i.List$1(i.Path.$,0),r.s=new i.List$1(i.Path.$,0),r.v=new i.List$1(i.TextBlock.$,0),r.u=new i.List$1(i.TextBlock.$,0),r.t=new i.List$1(i.TextBlock.$,0),r}return n.__extends(e,t),e.prototype.ar=function(t){t._visibility=0},e.prototype.as=function(t){t._visibility=1},e.prototype.at=function(t){this.q.remove(t)},e.prototype.bm=function(){var t=new i.TextBlock;return this.q.add(t),t},e.prototype.bh=function(t){this.v.remove(t)},e.prototype.bo=function(){var t=new i.TextBlock;return this.v.add(t),t},e.prototype.bg=function(t){this.u.remove(t)},e.prototype.bn=function(){var t=new i.TextBlock;return this.u.add(t),t},e.prototype.ap=function(t){this.t.remove(t)},e.prototype.bl=function(){var t=new i.TextBlock;return this.t.add(t),t},e.prototype.a2=function(t){t._visibility=0},e.prototype.a3=function(t){t._visibility=1},e.prototype.a4=function(t){this.r.remove(t)},e.prototype.ce=function(){var t=new i.Path;return this.r.add(t),t},e.prototype.a7=function(t){t._visibility=0},e.prototype.a8=function(t){t._visibility=1},e.prototype.a9=function(t){this.s.remove(t)},e.prototype.cf=function(){var t=new i.Path;return this.s.add(t),t},e.prototype.n=function(){return!0},e.prototype.ca=function(){return this.b4},e.prototype.b9=function(){return this.b3},e.prototype.cc=function(){return this.b6},e.prototype.z=function(t,e){var n=i.typeCast(i.TextBlock.$,t);return null!=n&&null!=n.al?(this.k.ad(e),this.k.f(n)+0):0},e.prototype.ch=function(t,e){null==e&&(e=this.h.bp());var n=this.z(t,e),r=this.y(e);return new i.Size(1,n,r)},e.prototype.cj=function(t,e){var n=this.z(t,e),r=this.y(e);return new i.Size(1,n,r)},e.prototype.ci=function(t,e){var n=this.z(t,e),r=this.y(e);return new i.Size(1,n,r)},e.prototype.cg=function(t,e){var n=this.z(t,e),r=this.y(e);return new i.Size(1,n,r)},e.prototype.ao=function(){this.l=!0;var t,e=["#CED3D8","#CED3D8","#EBEDEF","#FFC73C","#617583","rgba(100,107,114,.74)","rgba(100,107,114,.74)"],n=["#B2B9C0","#B2B9C0","#B2B9C0",null,null,null,null],r=["background-color","border-top-color"],a=((t=new i.List$1(i.Array_$type,0)).add(e),t.add(n),t);this.o.clear();for(var o,s,l=this.a.length,h=0;h<l;h++){var u=new i.Dictionary$2(i.String_$type,i.String_$type,0),c=this.a[h],p=new Array(r.length);i.arrayCopy1(r,0,p,0,r.length),this.b("ui-radialgauge-"+c,p);for(var g=0;g<p.length;g++)u.item(r[g],null==p[g]?a._inner[g][h]:p[g]);this.o.item(c,u)}this.bj();var f=i.BrushUtil.h("radialgauge-range",this.ac,o,s);o=f.p2,s=f.p3,this.c=o,this.d=s,null==this.e&&(this.h.ak=this.c),null==this.f&&(this.h.al=this.d),this.l=!1},e.prototype.au=function(){this.aq(),null!=this.g&&this.g.at(this.ac.rootWrapper,"")},e.prototype.ay=function(){null!=this.g&&null!=this.ac&&this.g.bh(this.ac.rootWrapper,"")},e.prototype.bj=function(){this.l=!0;for(var t=this.a.length,e=0;e<t;e++){var i=this.a[e];this.bi(i,this.o.item(i))}this.l=!1},e.prototype.bi=function(t,e){var r,a,o=null,s=null;e.count;try{for(var l=n.__values(i.fromEnum(e.keys)),h=l.next();!h.done;h=l.next()){var u=h.value;switch(u){case"background-color":o=new i.Brush,null!=e.item(u)&&(o._fill=e.item(u));break;case"border-top-color":s=new i.Brush,null!=e.item(u)&&(s._fill=e.item(u))}}}catch(t){r={error:t}}finally{try{h&&!h.done&&(a=l.return)&&a.call(l)}finally{if(r)throw r.error}}switch(t){case"needle":null==this.bu&&(this.h.ma=o),null==this.bv&&(this.h.mb=s);break;case"needlePivot":null==this.bw&&(this.h.mc=o),null==this.bx&&(this.h.md=s);break;case"backing":null==this.br&&(this.h.l4=o),null==this.bs&&(this.h.l5=s);break;case"scale":null==this.by&&(this.h.me=o);break;case"tick":null==this.b0&&(this.h.mg=o);break;case"minorTick":null==this.bt&&(this.h.l9=o);break;case"label":this.bq=o}},e.prototype.b=function(t,e){this.ac.startCSSQuery();for(var i=0;i<e.length;i++)e[i]=this.ac.getCssDefaultPropertyValue(t,e[i]);return this.ac.endCSSQuery(),e},e.ab=function(t,e){var i=null==t?0:t.length;if(i<1)return e;var n=t.split("."),r=n[0].length>0?parseInt(n[0]):0;if(2!=n.length)return r;i=n[1].length;for(var a=parseInt(n[1]);i-- >0;)a/=10;return a+r},e.prototype.az=function(){var t;this.l=!0,this.h.ma=((t=new i.Brush).fill="#CED3D8",t),this.h.mb=function(){var t=new i.Brush;return t.fill="#B2B9C0",t}(),this.h.mg=function(){var t=new i.Brush;return t.fill="#617583",t}(),this.h.me=function(){var t=new i.Brush;return t.fill="#FFC73C",t}(),this.h.l4=function(){var t=new i.Brush;return t.fill="#EBEDEF",t}(),this.h.l5=function(){var t=new i.Brush;return t.fill="#B2B9C0",t}(),this.h.mc=function(){var t=new i.Brush;return t.fill="#CED3D8",t}(),this.h.md=function(){var t=new i.Brush;return t.fill="#B2B9C0",t}(),this.h.l9=function(){var t=new i.Brush;return t.fill="rgba(100,107,114,.74)",t}(),this.l=!1,this.aq()},e.prototype.aq=function(){var t=this.h.eo,e=this.h.db;(i.isNaN_(t)||0==t)&&null!=window.devicePixelRatio&&window.devicePixelRatio!=e&&(this.h.db=window.devicePixelRatio)},e.prototype.bb=function(){this.m||(this.m=!0,null!=this.ac?this.ac.setTimeout(i.runOn(this,this.ag),0):window.setTimeout(i.runOn(this,this.ag),0))},e.prototype.ag=function(){this.m&&(this.m=!1,this.h.im())},e.prototype.flush=function(){this.m&&this.ag()},e.prototype.a6=function(t,e,i){t.n=e,t.o=i},e.prototype.aw=function(t){var e=this;if(null==t)return this.ad=null,this.ac=null,this.k=null,this.h.b5&&this.h.bc.w(),void this.ai();this.x=i.isNaN_(this.h.eo)?this.h.db:this.h.eo;var n=t;this.ac=n,this.h.bc.u(this.ac),this.ac.rootWrapper.addClass("ui-radialgauge-container");var r=this.x,a=Math.round(n.rootWrapper.width()),o=Math.round(n.rootWrapper.height()),s=a*r,l=o*r;this.ac.rootWrapper.setStyleProperty("position","relative");var h=this.ac.createElement("canvas");h.setStyleProperty("position","absolute"),this.ac.append(h),this.af=i.truncate(Math.round(s)),this.ae=i.truncate(Math.round(l)),h.setAttribute("width",s.toString()),h.setAttribute("height",l.toString()),h.setStyleProperty("width",a.toString()+"px"),h.setStyleProperty("height",o.toString()+"px"),h.setStyleProperty("left","0px"),h.setStyleProperty("top","0px"),this.h.mm=new i.Rect(0,0,0,a,o),this.ad=h;var u=this.ac.get2DCanvasContext(this.ad);if(this.k=new i.RenderingContext(new i.CanvasViewRenderer,u),this.ao(),this.bk(),this.k.ad(this.i),this.ai(),i.TypeRegistrar.isRegistered("CanvasGestureDOMEventProxy")&&(this.g=i.typeCast(i.EventProxy.$,i.TypeRegistrar.create("CanvasGestureDOMEventProxy",this.ac.rootWrapper,this.ac,!1))),null!=this.g){var c=this.g;c.onContactStarted=i.delegateCombine(c.onContactStarted,i.runOn(this,this.al));var p=this.g;p.onContactMoved=i.delegateCombine(p.onContactMoved,i.runOn(this,this.ak));var g=this.g;g.onContactCompleted=i.delegateCombine(g.onContactCompleted,i.runOn(this,this.aj)),this.g.ao=function(t){return e.h.cf&&(1==e.h.bx||e.h.ch(t))||e.h.cd&&(2==e.h.bx||e.h.b9(t))}}this.ba()},e.prototype.aj=function(t,e){null!=this.h&&this.h.onMouseUp(t)},e.prototype.ak=function(t,e){null!=this.h&&this.h.onMouseMove(t,e)},e.prototype.al=function(t,e){null!=this.h&&this.h.onMouseDown(t)},e.prototype.ai=function(){if(null!=this.g){var t=this.g;t.onContactStarted=i.delegateRemove(t.onContactStarted,i.runOn(this,this.al));var e=this.g;e.onContactMoved=i.delegateRemove(e.onContactMoved,i.runOn(this,this.ak));var n=this.g;n.onContactCompleted=i.delegateRemove(n.onContactCompleted,i.runOn(this,this.aj)),this.g.ao=null,this.g.av()}},e.prototype.bd=function(t,e){t.ao=null!=e?e:this.bq},e.prototype.be=function(t,e){null!=t&&null!=e&&(t.dataContext=e)},e.prototype.bf=function(){this.ao(),this.bk(),this.bb()},e.prototype.bk=function(){this.i=i.FontUtil.getFont(this.ac),null!=this.h.fv&&(this.i=this.h.bp()),this.w=this.y(this.i),this.bp=new i.Brush,this.bp._fill=this.ac.rootWrapper.getStyleProperty("color"),null!=this.k&&this.k.ad(this.i)},e.prototype.ah=function(){this.ba()},e.prototype.ba=function(){var t=this.h.mm.width,e=this.h.mm.height,n=Math.round(t*this.x),r=Math.round(e*this.x);if(this.af==n&&this.ae==r||(this.ad.setAttribute("width",n.toString()),this.ad.setAttribute("height",r.toString()),this.ad.setStyleProperty("width",t.toString()+"px"),this.ad.setStyleProperty("height",e.toString()+"px"),this.af=i.truncate(Math.round(n)),this.ae=i.truncate(Math.round(r))),this.k.d&&1!=this.x&&(this.k.aa(),this.k.ab(this.x,this.x)),this.k.l(this.h.mm.left,this.h.mm.top,this.h.mm.width,this.h.mm.height),this.k.t(this.b2),this.k.t(this.b6),null!=this.p)for(var a=0;a<this.p.count;a++)this.k.t(this.p._inner[a]);for(var o=0;o<this.q.count;o++){var s=this.q._inner[o];this.k.ad(s.dataContext),this.k.x(s)}for(var l=0;l<this.v.count;l++){var h=this.v._inner[l];this.k.ad(h.dataContext),this.k.x(h)}for(var u=0;u<this.u.count;u++){var c=this.u._inner[u];this.k.ad(c.dataContext),this.k.x(c)}for(var p=0;p<this.t.count;p++){var g=this.t._inner[p];this.k.ad(g.dataContext),this.k.x(g)}for(var f=0;f<this.r.count;f++)this.k.t(this.r._inner[f]);this.k.t(this.b7),null!=this.b4.j&&(this.k.aa(),this.k.k(this.b4.j)),this.k.t(this.b4),null!=this.b4.j&&this.k.z(),null!=this.b3.j&&(this.k.aa(),this.k.k(this.b3.j)),this.k.t(this.b3),null!=this.b3.j&&this.k.z(),this.k.t(this.b5),this.k.d&&1!=this.x&&this.k.z()},e.prototype.y=function(t){return i.FontUtil.getCurrentFontHeight(this.ac,t)},e.prototype.bc=function(t){this.p=t},e.prototype.b8=function(){return this.b2},e.prototype.cd=function(){return this.b7},e.prototype.cb=function(){return this.b5},e.prototype.ax=function(){this.aq();var t=Math.round(this.ac.rootWrapper.width()),e=Math.round(this.ac.rootWrapper.height());this.h.mm=new i.Rect(0,0,0,t,e),null!=this.g&&(this.g.bl=this.h.mm)},e.prototype.j=function(t,e){return i.FontUtil.getFontInfo(this.ac,t,e)},e.prototype.am=function(t){var e,r,a,o,s,l,h,u,c,p,g,f;t.scalePath=new i.PathVisualData(1,"Scale",this.b6),t.needlePath=new i.PathVisualData(1,"Needle",this.b4),t.highlightNeedlePath=new i.PathVisualData(1,"HighlightNeedle",this.b3);var y=this.b4.j.j._inner[0].j;if(t.needle.angle=y,null!=this.b3&&null!==i.typeCast(i.TransformGroup.$,this.b3.j)){var b=this.b3.j.j._inner[0].j;t.highlightNeedle.angle=b}else t.highlightNeedle.angle=NaN;t.backingPath=new i.PathVisualData(1,"Backing",this.b2),t.overlayPath=new i.PathVisualData(1,"Overlay",this.b5),t.underlayPath=new i.PathVisualData(1,"Underlay",this.b7);this.i;try{for(var d=n.__values(i.fromEnum(this.q)),m=d.next();!m.done;m=d.next()){var v=m.value;if(0==v._visibility){var _=v.dataContext,w=new Lt;w.labelValue=v.al,w.labelPosition=i.PointData.b({$type:i.Point_$type,x:v.n,y:v.o}),w.labelSize=i.SizeData.b(this.ch(v,_)),w.appearance=i.AppearanceHelper.c(v,_),t.scaleLabels.add(w)}}}catch(t){e={error:t}}finally{try{m&&!m.done&&(r=d.return)&&r.call(d)}finally{if(e)throw e.error}}try{for(var P=n.__values(i.fromEnum(this.v)),$=P.next();!$.done;$=P.next()){var x=$.value;if(0==x._visibility){var k=x.dataContext,S=new Lt;S.labelValue=x.al,S.labelPosition=i.PointData.b({$type:i.Point_$type,x:x.n,y:x.o}),S.labelSize=i.SizeData.b(this.ch(x,k)),S.appearance=i.AppearanceHelper.c(x,k),t.titleLabels.add(S)}}}catch(t){a={error:t}}finally{try{$&&!$.done&&(o=P.return)&&o.call(P)}finally{if(a)throw a.error}}try{for(var O=n.__values(i.fromEnum(this.u)),j=O.next();!j.done;j=O.next()){var I=j.value;if(0==I._visibility){var N=I.dataContext,T=new Lt;T.labelValue=I.al,T.labelPosition=i.PointData.b({$type:i.Point_$type,x:I.n,y:I.o}),T.labelSize=i.SizeData.b(this.ch(I,N)),T.appearance=i.AppearanceHelper.c(I,N),t.subtitleLabels.add(T)}}}catch(t){s={error:t}}finally{try{j&&!j.done&&(l=O.return)&&l.call(O)}finally{if(s)throw s.error}}try{for(var C=n.__values(i.fromEnum(this.t)),V=C.next();!V.done;V=C.next()){var M=V.value;if(0==M._visibility){var B=M.dataContext,E=new Lt;E.labelValue=M.al,E.labelPosition=i.PointData.b({$type:i.Point_$type,x:M.n,y:M.o}),E.labelSize=i.SizeData.b(this.ch(M,B)),E.appearance=i.AppearanceHelper.c(M,B),t.highlightLabels.add(E)}}}catch(t){h={error:t}}finally{try{V&&!V.done&&(u=C.return)&&u.call(C)}finally{if(h)throw h.error}}try{for(var D=n.__values(i.fromEnum(this.r)),L=D.next();!L.done;L=D.next()){var F=L.value;if(0==F._visibility){var R=new Rt;R.tickPath=new i.PathVisualData(1,"tickmarks",F),t.scaleTickmarks.add(R)}}}catch(t){c={error:t}}finally{try{L&&!L.done&&(p=D.return)&&p.call(D)}finally{if(c)throw c.error}}try{for(var z=n.__values(i.fromEnum(this.s)),A=z.next();!A.done;A=z.next()){var G=A.value;if(0==G._visibility){var q=new At,U=new i.PathVisualData(1,"range",G);q.rangePath=U,t.ranges.add(q)}}}catch(t){g={error:t}}finally{try{A&&!A.done&&(f=z.return)&&f.call(z)}finally{if(g)throw g.error}}},e.prototype.av=function(t,e,i){var n=i;if(!this.l){switch(t){case Ut.$$p[41]:this.bu=n;break;case Ut.$$p[44]:this.bv=n;break;case Ut.$$p[45]:this.bw=n;break;case Ut.$$p[47]:this.bx=n;break;case Ut.$$p[0]:this.br=n;break;case Ut.$$p[4]:this.bs=n;break;case Ut.$$p[62]:this.by=n;break;case Ut.$$p[78]:this.b0=n;break;case Ut.$$p[34]:this.bt=n}null==n&&this.bj()}},e.prototype.a0=function(t,e){this.l||(this.e=e,null==this.e&&(this.h.ak=this.c))},e.prototype.a1=function(t,e){this.l||(this.f=e,null==this.f&&(this.h.al=this.d))},e.prototype.a5=function(){this.x=this.h.db},e.$t=i.markType(e,"XamRadialGaugeView"),e}(i.Base),Wt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return t.prototype.createImplementation=function(){return new Vt},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated()},Object.defineProperty(t.prototype,"actualMinimumValue",{get:function(){return this.i.actualMinimumValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actualMaximumValue",{get:function(){return this.i.actualMaximumValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"startAngle",{get:function(){return this.i.startAngle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"endAngle",{get:function(){return this.i.endAngle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"angle",{get:function(){return this.i.angle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.i.value},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"label",{get:function(){return this.i.label},set:function(t){this.i.label=t},enumerable:!1,configurable:!0}),t}(),Xt=function(t){function e(){return t.call(this)||this}return n.__extends(e,t),e.prototype.createImplementation=function(){return new Mt},Object.defineProperty(e.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.i.width},set:function(t){this.i.width=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.i.height},set:function(t){this.i.height=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"offsetX",{get:function(){return this.i.offsetX},set:function(t){this.i.offsetX=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"offsetY",{get:function(){return this.i.offsetY},set:function(t){this.i.offsetY=t},enumerable:!1,configurable:!0}),e}(Wt),Zt={"ui-radialgauge-backing":{"background-color":"#FFFFFF","border-top-color":"#CCCCCC"},"ui-radialgauge-tick":{"background-color":"rgba(0, 0, 0, 0.35)","border-top-color":"none"},"ui-radialgauge-minorTick":{"background-color":"rgba(0, 0, 0, 0.2)","border-top-color":"none"},"ui-radialgauge-label":{"background-color":i.FontDefaults.gaugesFontBrush.fill,"borde-top-color":"none"},"ui-radialgauge-range-palette-1":{"background-color":"#005E9C","border-top-color":"none"},"ui-radialgauge-range-palette-2":{"background-color":"#0078C8","border-top-color":"none"},"ui-radialgauge-range-palette-3":{"background-color":"#0092F4","border-top-color":"none"},"ui-radialgauge-range-palette-4":{"background-color":"#21A7FF","border-top-color":"none"},"ui-radialgauge-range-palette-5":{"background-color":"#4FB9FF","border-top-color":"none"},"ui-radialgauge":{"font-family":i.FontDefaults.gaugesFontFamily,"font-size":i.FontDefaults.gaugesFontSize+"px"},"font-family":i.FontDefaults.gaugesFontFamily,"font-style":"normal","font-weight":i.FontDefaults.gaugesFontWeight,"font-size":i.FontDefaults.gaugesFontSize+"px",color:i.FontDefaults.gaugesFontBrush.fill,"font-variant":"","line-height":""},Yt=function(){function t(){this._renderer=null,this.__p=null,this._hasUserValues=new Set,this._stylingContainer=null,this._stylingParent=null,this._inStyling=!1,this._zoneRunner=null,this._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(this)),this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated()}return Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},Object.defineProperty(t.prototype,"rangeInternal",{get:function(){return this.i},enumerable:!1,configurable:!0}),t.prototype.createImplementation=function(){return new Pt},t.prototype.ngOnInit=function(){},t.prototype._provideRenderer=function(t){this._renderer=t,this._zoneRunner=function(e){return t._ngZone.run(e)}},t._createFromInternal=function(t){if(!t)return null;if(!t.$type)return null;var e="Igx"+t.$type.name+"Component";return i.TypeRegistrar.isRegistered(e)?i.TypeRegistrar.create(e):null},Object.defineProperty(t.prototype,"name",{get:function(){return this.i.v},set:function(t){this.i.v=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"brush",{get:function(){return i.brushToString(this.i.ao)},set:function(t){this.i.ao=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"outline",{get:function(){return i.brushToString(this.i.ap)},set:function(t){this.i.ap=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"startValue",{get:function(){return this.i.o},set:function(t){this.i.o=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"endValue",{get:function(){return this.i.j},set:function(t){this.i.j=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"innerStartExtent",{get:function(){return this.i.l},set:function(t){this.i.l=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"innerEndExtent",{get:function(){return this.i.k},set:function(t){this.i.k=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"outerStartExtent",{get:function(){return this.i.n},set:function(t){this.i.n=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"outerEndExtent",{get:function(){return this.i.m},set:function(t){this.i.m=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"strokeThickness",{get:function(){return this.i.p},set:function(t){this.i.p=+t},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},Object.defineProperty(t.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),t.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},t.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,a=this.i.$type.name;0===a.indexOf("Xam")&&(a=a.substring(3)),r=i.toSpinal("RadialGaugeRangeComponent");var o=[],s=i.toSpinal(a);o.push(s+"-");for(var l=this.i.$type.baseType;l&&"Object"!=l.name&&"Base"!=l.name&&"Control"!=l.name&&"DependencyObject"!=l.Name&&"FrameworkElement"!=l.Name;){0===(a=l.name).indexOf("Xam")&&(a=a.substring(3));var h=i.toSpinal(a);o.push(h+"-"),l=l.baseType}if(n){var u=n.i.$type.name;0===u.indexOf("Xam")&&(u=u.substring(3));var c=i.toSpinal(u);o.push(c+"-"+r+"-"),o.push(c+"-"+s+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,o),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},t.prototype._runInZone=function(t){null!=this._zoneRunner?this._zoneRunner(t):t()},t.ɵfac=e["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,deps:[],target:e["ɵɵFactoryTarget"].Component}),t.ɵcmp=e["ɵɵngDeclareComponent"]({minVersion:"12.0.0",version:"12.2.17",type:t,selector:"igx-radial-gauge-range",inputs:{name:"name",brush:"brush",outline:"outline",startValue:"startValue",endValue:"endValue",innerStartExtent:"innerStartExtent",innerEndExtent:"innerEndExtent",outerStartExtent:"outerStartExtent",outerEndExtent:"outerEndExtent",strokeThickness:"strokeThickness"},providers:[],ngImport:e,template:"",isInline:!0}),t}();e["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:Yt,decorators:[{type:e.Component,args:[{selector:"igx-radial-gauge-range",template:"",providers:[]}]}],ctorParameters:function(){return[]},propDecorators:{name:[{type:e.Input}],brush:[{type:e.Input}],outline:[{type:e.Input}],startValue:[{type:e.Input}],endValue:[{type:e.Input}],innerStartExtent:[{type:e.Input}],innerEndExtent:[{type:e.Input}],outerStartExtent:[{type:e.Input}],outerEndExtent:[{type:e.Input}],strokeThickness:[{type:e.Input}]}});var Qt=function(t){function e(e){var n=t.call(this)||this;if(Yt.$type||(Yt.$type=i.markType(Yt,"IgxRadialGaugeRangeComponent")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return n.__extends(e,t),e.prototype._createInnerColl=function(){Yt.$type||(Yt.$type=i.markType(Yt,"IgxRadialGaugeRangeComponent"));var t=new i.SyncableObservableCollection$2(Yt.$type,Pt.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=Yt._createFromInternal(t))&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},e}(i.IgCollection),Jt=function(){function t(t,e,n,r,a){var o,s=this;this._renderer=t,this._elRef=e,this._ngZone=n,this._componentFactoryResolver=r,this._injector=a,this.actualRanges=[],this._ranges=null,this._rangesAdapter=null,this._zoneRunner=null,this.__p=null,this._hasUserValues=new Set,this._stylingContainer=null,this._stylingParent=null,this._inStyling=!1,this._alignTitle=null,this._alignSubtitle=null,this._alignHighlightLabel=null,this._formatTitle=null,this._formatSubtitle=null,this._formatHighlightLabel=null,this._formatLabel=null,this._alignLabel=null,this._valueChanged=null,this._highlightValueChanged=null,this._actualMinimumValueChange=null,this._actualMaximumValueChange=null,this._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(this)),this._zoneRunner=function(t){return s._ngZone.run(t)},this._implementation=this.createImplementation(),this._container=t.createElement("div"),t.appendChild(e.element.nativeElement,this._container),t.setStyle(this._container,"display","block"),t.setStyle(this._container,"width","100%"),t.setStyle(this._container,"height","100%"),o=this._container,null!=this._container.nativeElement&&(o=this._container.nativeElement);var l=new i.AngularRenderer(o,this._renderer,window.document,this._ngZone,!0,Zt);this._root=o,this._wrapper=l;var h=this.i;this._gauge=h,this._rangesAdapter=new i.CollectionAdapter([],this.i.ranges,this.actualRanges,(function(t){return t.i}),(function(t){t._provideRenderer(s._wrapper),s._root&&s._root.parentElement&&t._styling(s._root,s,s)}),(function(t){t._provideRenderer(null)})),h.provideContainer(l),l.addSizeWatcher((function(){s._gauge.containerResized()}))}return Object.defineProperty(t.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this._renderer.setStyle(this._elRef.element.nativeElement,"height",t),this._gauge.containerResized()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this._renderer.setStyle(this._elRef.element.nativeElement,"width",t),this._gauge.containerResized()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ranges",{get:function(){var t=this;if(null===this._ranges){var e=new Qt;e._innerColl.addListener((function(e,n){switch(n.action){case i.NotifyCollectionChangedAction.Add:t._rangesAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Remove:t._rangesAdapter.removeManualItemAt(n.oldStartingIndex);break;case i.NotifyCollectionChangedAction.Replace:t._rangesAdapter.removeManualItemAt(n.oldStartingIndex),t._rangesAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Reset:t._rangesAdapter.clearManualItems()}})),this._ranges=e}return this._ranges},enumerable:!1,configurable:!0}),t.prototype.ngOnDestroy=function(){this._gauge.destroy(),this._wrapper.destroy()},t.prototype.createImplementation=function(){return new Ut},t.prototype.ngAfterContentInit=function(){this._rangesAdapter.updateQuery(this.contentRanges)},t.prototype.ngAfterViewInit=function(){this.updateStyle(),this.i.containerResized()},t.prototype.updateStyle=function(){if(this._styling(this._container,this),this.actualRanges&&this.actualRanges.length>0)for(var t=this.actualRanges,e=0;e<t.length;e++)t[e]._styling(this._root,this,this)},t.prototype._runInZone=function(t){null!=this._zoneRunner?this._zoneRunner(t):t()},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t._createFromInternal=function(t){if(!t)return null;if(!t.$type)return null;var e="Igx"+t.$type.name+"Component";return i.TypeRegistrar.isRegistered(e)?i.TypeRegistrar.create(e):null},Object.defineProperty(t.prototype,"rangeBrushes",{get:function(){return i.fromBrushCollection(this.i.ak)},set:function(t){this.i.ak=i.toBrushCollection(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rangeOutlines",{get:function(){return i.fromBrushCollection(this.i.al)},set:function(t){this.i.al=i.toBrushCollection(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minimumValue",{get:function(){return this.i.dz},set:function(t){this.i.dz=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actualMinimumValue",{get:function(){return this.i.da},set:function(t){this.i.da=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maximumValue",{get:function(){return this.i.dx},set:function(t){this.i.dx=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actualMaximumValue",{get:function(){return this.i.c9},set:function(t){this.i.c9=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"interval",{get:function(){return this.i.dt},set:function(t){this.i.dt=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"centerX",{get:function(){return this.i.dl},set:function(t){this.i.dl=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"centerY",{get:function(){return this.i.dm},set:function(t){this.i.dm=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.i.ff},set:function(t){this.i.ff=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"highlightValue",{get:function(){return this.i.dr},set:function(t){this.i.dr=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actualHighlightValueOpacity",{get:function(){return this.i.c8},set:function(t){this.i.c8=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"highlightValueOpacity",{get:function(){return this.i.ds},set:function(t){this.i.ds=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actualHighlightValueDisplayMode",{get:function(){return this.i.bu},set:function(t){this.i.bu=i.ensureEnum(i.HighlightedValueDisplayMode_$type,t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"highlightValueDisplayMode",{get:function(){return this.i.bv},set:function(t){this.i.bv=i.ensureEnum(i.HighlightedValueDisplayMode_$type,t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scaleStartAngle",{get:function(){return this.i.ez},set:function(t){this.i.ez=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scaleEndAngle",{get:function(){return this.i.eu},set:function(t){this.i.eu=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scaleSweepDirection",{get:function(){return this.i.mi},set:function(t){this.i.mi=i.ensureEnum(i.SweepDirection_$type,t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"transitionDuration",{get:function(){return this.i.fg},set:function(t){this.i.fg=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleBrush",{get:function(){return i.brushToString(this.i.ma)},set:function(t){this.i.ma=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleOutline",{get:function(){return i.brushToString(this.i.mb)},set:function(t){this.i.mb=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleStartExtent",{get:function(){return this.i.ei},set:function(t){this.i.ei=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleEndExtent",{get:function(){return this.i.ea},set:function(t){this.i.ea=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleShape",{get:function(){return this.i.a5},set:function(t){this.i.a5=i.ensureEnum(yt,t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleStartWidthRatio",{get:function(){return this.i.ej},set:function(t){this.i.ej=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleEndWidthRatio",{get:function(){return this.i.eb},set:function(t){this.i.eb=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleBaseFeatureWidthRatio",{get:function(){return this.i.d9},set:function(t){this.i.d9=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleBaseFeatureExtent",{get:function(){return this.i.d8},set:function(t){this.i.d8=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needlePointFeatureWidthRatio",{get:function(){return this.i.eh},set:function(t){this.i.eh=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needlePointFeatureExtent",{get:function(){return this.i.eg},set:function(t){this.i.eg=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needlePivotWidthRatio",{get:function(){return this.i.ef},set:function(t){this.i.ef=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needlePivotInnerWidthRatio",{get:function(){return this.i.ec},set:function(t){this.i.ec=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needlePivotShape",{get:function(){return this.i.a6},set:function(t){this.i.a6=i.ensureEnum(dt,t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scaleStartExtent",{get:function(){return this.i.e0},set:function(t){this.i.e0=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needlePivotBrush",{get:function(){return i.brushToString(this.i.mc)},set:function(t){this.i.mc=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needlePivotOutline",{get:function(){return i.brushToString(this.i.md)},set:function(t){this.i.md=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleStrokeThickness",{get:function(){return this.i.ek},set:function(t){this.i.ek=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needlePivotStrokeThickness",{get:function(){return this.i.ed},set:function(t){this.i.ed=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scaleEndExtent",{get:function(){return this.i.ev},set:function(t){this.i.ev=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelExtent",{get:function(){return this.i.du},set:function(t){this.i.du=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelInterval",{get:function(){return this.i.dw},set:function(t){this.i.dw=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tickStartExtent",{get:function(){return this.i.e7},set:function(t){this.i.e7=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tickEndExtent",{get:function(){return this.i.e5},set:function(t){this.i.e5=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tickStrokeThickness",{get:function(){return this.i.e9},set:function(t){this.i.e9=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tickBrush",{get:function(){return i.brushToString(this.i.mg)},set:function(t){this.i.mg=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fontBrush",{get:function(){return i.brushToString(this.i.l6)},set:function(t){this.i.l6=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minorTickStartExtent",{get:function(){return this.i.d4},set:function(t){this.i.d4=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minorTickEndExtent",{get:function(){return this.i.d2},set:function(t){this.i.d2=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minorTickStrokeThickness",{get:function(){return this.i.d6},set:function(t){this.i.d6=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minorTickBrush",{get:function(){return i.brushToString(this.i.l9)},set:function(t){this.i.l9=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minorTickCount",{get:function(){return this.i.d1},set:function(t){this.i.d1=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scaleBrush",{get:function(){return i.brushToString(this.i.me)},set:function(t){this.i.me=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"backingBrush",{get:function(){return i.brushToString(this.i.l4)},set:function(t){this.i.l4=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"backingOutline",{get:function(){return i.brushToString(this.i.l5)},set:function(t){this.i.l5=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"backingStrokeThickness",{get:function(){return this.i.dj},set:function(t){this.i.dj=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"backingOuterExtent",{get:function(){return this.i.dg},set:function(t){this.i.dg=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"backingOversweep",{get:function(){return this.i.di},set:function(t){this.i.di=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scaleOversweep",{get:function(){return this.i.ex},set:function(t){this.i.ex=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scaleOversweepShape",{get:function(){return this.i.a8},set:function(t){this.i.a8=i.ensureEnum(vt,t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"backingCornerRadius",{get:function(){return this.i.dc},set:function(t){this.i.dc=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"backingInnerExtent",{get:function(){return this.i.de},set:function(t){this.i.de=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"backingShape",{get:function(){return this.i.a0},set:function(t){this.i.a0=i.ensureEnum(wt,t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"radiusMultiplier",{get:function(){return this.i.ep},set:function(t){this.i.ep=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"duplicateLabelOmissionStrategy",{get:function(){return this.i.a1},set:function(t){this.i.a1=i.ensureEnum(kt,t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isNeedleDraggingEnabled",{get:function(){return this.i.cf},set:function(t){this.i.cf=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isNeedleDraggingConstrained",{get:function(){return this.i.ce},set:function(t){this.i.ce=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isHighlightNeedleDraggingEnabled",{get:function(){return this.i.cd},set:function(t){this.i.cd=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isHighlightNeedleDraggingConstrained",{get:function(){return this.i.cc},set:function(t){this.i.cc=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"font",{get:function(){return this.i.fv},set:function(t){this.i.fv=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelFormat",{get:function(){return this.i.gi},set:function(t){this.i.gi=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelFormatSpecifiers",{get:function(){return this.i.ah},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.ah=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"animating",{get:function(){return this.i.b5},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"transitionProgress",{get:function(){return this.i.fd},set:function(t){this.i.fd=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pixelScalingRatio",{get:function(){return this.i.eo},set:function(t){this.i.eo=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actualPixelScalingRatio",{get:function(){return this.i.db},set:function(t){this.i.db=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"opticalScalingRatio",{get:function(){return this.i.em},set:function(t){this.i.em=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"opticalScalingEnabled",{get:function(){return this.i.ck},set:function(t){this.i.ck=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"opticalScalingSize",{get:function(){return this.i.en},set:function(t){this.i.en=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"titleText",{get:function(){return this.i.id},set:function(t){this.i.id=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"subtitleText",{get:function(){return this.i.hy},set:function(t){this.i.hy=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"titleAngle",{get:function(){return this.i.fb},set:function(t){this.i.fb=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"subtitleAngle",{get:function(){return this.i.e3},set:function(t){this.i.e3=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"titleExtent",{get:function(){return this.i.fc},set:function(t){this.i.fc=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"subtitleExtent",{get:function(){return this.i.e4},set:function(t){this.i.e4=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"titleBrush",{get:function(){return i.brushToString(this.i.mh)},set:function(t){this.i.mh=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"subtitleBrush",{get:function(){return i.brushToString(this.i.mf)},set:function(t){this.i.mf=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"titleDisplaysValue",{get:function(){return this.i.co},set:function(t){this.i.co=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"subtitleDisplaysValue",{get:function(){return this.i.cm},set:function(t){this.i.cm=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"titleSnapsToNeedlePivot",{get:function(){return this.i.cp},set:function(t){this.i.cp=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"subtitleSnapsToNeedlePivot",{get:function(){return this.i.cn},set:function(t){this.i.cn=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"subtitleFormat",{get:function(){return this.i.hu},set:function(t){this.i.hu=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"subtitleFormatSpecifiers",{get:function(){return this.i.ai},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.ai=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"titleFormat",{get:function(){return this.i.h9},set:function(t){this.i.h9=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"titleFormatSpecifiers",{get:function(){return this.i.aj},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.aj=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"highlightLabelText",{get:function(){return this.i.f6},set:function(t){this.i.f6=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"highlightLabelAngle",{get:function(){return this.i.dp},set:function(t){this.i.dp=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"highlightLabelExtent",{get:function(){return this.i.dq},set:function(t){this.i.dq=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"highlightLabelBrush",{get:function(){return i.brushToString(this.i.l8)},set:function(t){this.i.l8=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"highlightLabelDisplaysValue",{get:function(){return this.i.b7},set:function(t){this.i.b7=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"highlightLabelSnapsToNeedlePivot",{get:function(){return this.i.b8},set:function(t){this.i.b8=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"highlightLabelFormat",{get:function(){return this.i.f2},set:function(t){this.i.f2=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"highlightLabelFormatSpecifiers",{get:function(){return this.i.ag},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.ag=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"highlightLabelTextStyle",{get:function(){return null==this.i.bq?null:this.i.bq.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.bq=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"subtitleTextStyle",{get:function(){return null==this.i.br?null:this.i.br.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.br=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"titleTextStyle",{get:function(){return null==this.i.bs?null:this.i.bs.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.bs=e},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null!=this.ranges&&this.ranges.findByName&&this.ranges.findByName(t)?this.ranges.findByName(t):null!=this.labelFormatSpecifiers&&i.arrayFindByName(this.labelFormatSpecifiers,t)?i.arrayFindByName(this.labelFormatSpecifiers,t):null!=this.subtitleFormatSpecifiers&&i.arrayFindByName(this.subtitleFormatSpecifiers,t)?i.arrayFindByName(this.subtitleFormatSpecifiers,t):null!=this.titleFormatSpecifiers&&i.arrayFindByName(this.titleFormatSpecifiers,t)?i.arrayFindByName(this.titleFormatSpecifiers,t):null!=this.highlightLabelFormatSpecifiers&&i.arrayFindByName(this.highlightLabelFormatSpecifiers,t)?i.arrayFindByName(this.highlightLabelFormatSpecifiers,t):null},Object.defineProperty(t.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),t.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},t.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,a=this.i.$type.name;0===a.indexOf("Xam")&&(a=a.substring(3)),r=i.toSpinal("RadialGaugeComponent");var o=[],s=i.toSpinal(a);o.push(s+"-");for(var l=this.i.$type.baseType;l&&"Object"!=l.name&&"Base"!=l.name&&"Control"!=l.name&&"DependencyObject"!=l.Name&&"FrameworkElement"!=l.Name;){0===(a=l.name).indexOf("Xam")&&(a=a.substring(3));var h=i.toSpinal(a);o.push(h+"-"),l=l.baseType}if(n){var u=n.i.$type.name;0===u.indexOf("Xam")&&(u=u.substring(3));var c=i.toSpinal(u);o.push(c+"-"+r+"-"),o.push(c+"-"+s+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,o),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},t.prototype.scaleValue=function(t){return this.i.e2(t)},t.prototype.unscaleValue=function(t){return this.i.fe(t)},t.prototype.getValueForPoint=function(t){return this.i.dn(i.toPoint(t))},t.prototype.getPointForValue=function(t,e){var n=this.i.mk(t,e);return i.fromPoint(n)},t.prototype.styleUpdated=function(){this.i.je()},t.prototype.needleContainsPoint=function(t,e){return this.i.needleContainsPoint(i.toPoint(t),e)},t.prototype.highlightNeedleContainsPoint=function(t,e){return this.i.highlightNeedleContainsPoint(i.toPoint(t),e)},t.prototype.provideContainer=function(t){this.i.provideContainer(t)},t.prototype.containerResized=function(){this.i.containerResized()},t.prototype.flush=function(){this.i.ir()},t.prototype.exportSerializedVisualData=function(){return this.i.fu()},Object.defineProperty(t.prototype,"alignTitle",{get:function(){var t=this;return null==this._alignTitle&&(this._alignTitle=new e.EventEmitter,this.i.alignTitle=i.delegateCombine(this.i.alignTitle,(function(e,i){t._runInZone((function(){var e=new Xt;e._provideImplementation(i),t.beforeAlignTitle&&t.beforeAlignTitle(t,e),t._alignTitle.emit({sender:t,args:e})}))}))),this._alignTitle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"alignSubtitle",{get:function(){var t=this;return null==this._alignSubtitle&&(this._alignSubtitle=new e.EventEmitter,this.i.alignSubtitle=i.delegateCombine(this.i.alignSubtitle,(function(e,i){t._runInZone((function(){var e=new Xt;e._provideImplementation(i),t.beforeAlignSubtitle&&t.beforeAlignSubtitle(t,e),t._alignSubtitle.emit({sender:t,args:e})}))}))),this._alignSubtitle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"alignHighlightLabel",{get:function(){var t=this;return null==this._alignHighlightLabel&&(this._alignHighlightLabel=new e.EventEmitter,this.i.alignHighlightLabel=i.delegateCombine(this.i.alignHighlightLabel,(function(e,i){t._runInZone((function(){var e=new Xt;e._provideImplementation(i),t.beforeAlignHighlightLabel&&t.beforeAlignHighlightLabel(t,e),t._alignHighlightLabel.emit({sender:t,args:e})}))}))),this._alignHighlightLabel},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"formatTitle",{get:function(){var t=this;return null==this._formatTitle&&(this._formatTitle=new e.EventEmitter,this.i.formatTitle=i.delegateCombine(this.i.formatTitle,(function(e,i){t._runInZone((function(){var e=new Wt;e._provideImplementation(i),t.beforeFormatTitle&&t.beforeFormatTitle(t,e),t._formatTitle.emit({sender:t,args:e})}))}))),this._formatTitle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"formatSubtitle",{get:function(){var t=this;return null==this._formatSubtitle&&(this._formatSubtitle=new e.EventEmitter,this.i.formatSubtitle=i.delegateCombine(this.i.formatSubtitle,(function(e,i){t._runInZone((function(){var e=new Wt;e._provideImplementation(i),t.beforeFormatSubtitle&&t.beforeFormatSubtitle(t,e),t._formatSubtitle.emit({sender:t,args:e})}))}))),this._formatSubtitle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"formatHighlightLabel",{get:function(){var t=this;return null==this._formatHighlightLabel&&(this._formatHighlightLabel=new e.EventEmitter,this.i.formatHighlightLabel=i.delegateCombine(this.i.formatHighlightLabel,(function(e,i){t._runInZone((function(){var e=new Wt;e._provideImplementation(i),t.beforeFormatHighlightLabel&&t.beforeFormatHighlightLabel(t,e),t._formatHighlightLabel.emit({sender:t,args:e})}))}))),this._formatHighlightLabel},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"formatLabel",{get:function(){var t=this;return null==this._formatLabel&&(this._formatLabel=new e.EventEmitter,this.i.formatLabel=i.delegateCombine(this.i.formatLabel,(function(e,i){t._runInZone((function(){var e=new Wt;e._provideImplementation(i),t.beforeFormatLabel&&t.beforeFormatLabel(t,e),t._formatLabel.emit({sender:t,args:e})}))}))),this._formatLabel},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"alignLabel",{get:function(){var t=this;return null==this._alignLabel&&(this._alignLabel=new e.EventEmitter,this.i.alignLabel=i.delegateCombine(this.i.alignLabel,(function(e,i){t._runInZone((function(){var e=new Xt;e._provideImplementation(i),t.beforeAlignLabel&&t.beforeAlignLabel(t,e),t._alignLabel.emit({sender:t,args:e})}))}))),this._alignLabel},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"valueChanged",{get:function(){var t=this;return null==this._valueChanged&&(this._valueChanged=new e.EventEmitter,this.i.valueChanged=i.delegateCombine(this.i.valueChanged,(function(e,n){var r=new i.IgxDoubleValueChangedEventArgs;r._provideImplementation(n),t.beforeValueChanged&&t.beforeValueChanged(t,r),t._valueChanged.emit({sender:t,args:r})}))),this._valueChanged},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"highlightValueChanged",{get:function(){var t=this;return null==this._highlightValueChanged&&(this._highlightValueChanged=new e.EventEmitter,this.i.highlightValueChanged=i.delegateCombine(this.i.highlightValueChanged,(function(e,n){var r=new i.IgxDoubleValueChangedEventArgs;r._provideImplementation(n),t.beforeHighlightValueChanged&&t.beforeHighlightValueChanged(t,r),t._highlightValueChanged.emit({sender:t,args:r})}))),this._highlightValueChanged},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actualMinimumValueChange",{get:function(){var t=this;return null==this._actualMinimumValueChange&&(this._actualMinimumValueChange=new e.EventEmitter,this.i.propertyChanged=i.delegateCombine(this.i.propertyChanged,(function(e,i){var n=t.actualMinimumValue;t.beforeActualMinimumValueChange&&t.beforeActualMinimumValueChange(t,n),t._actualMinimumValueChange.emit(n)}))),this._actualMinimumValueChange},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actualMaximumValueChange",{get:function(){var t=this;return null==this._actualMaximumValueChange&&(this._actualMaximumValueChange=new e.EventEmitter,this.i.propertyChanged=i.delegateCombine(this.i.propertyChanged,(function(e,i){var n=t.actualMaximumValue;t.beforeActualMaximumValueChange&&t.beforeActualMaximumValueChange(t,n),t._actualMaximumValueChange.emit(n)}))),this._actualMaximumValueChange},enumerable:!1,configurable:!0}),t.ɵfac=e["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,deps:[{token:e.Renderer2},{token:e.ViewContainerRef},{token:e.NgZone},{token:e.ComponentFactoryResolver},{token:e.Injector}],target:e["ɵɵFactoryTarget"].Component}),t.ɵcmp=e["ɵɵngDeclareComponent"]({minVersion:"12.0.0",version:"12.2.17",type:t,selector:"igx-radial-gauge",inputs:{height:"height",width:"width",rangeBrushes:"rangeBrushes",rangeOutlines:"rangeOutlines",minimumValue:"minimumValue",actualMinimumValue:"actualMinimumValue",maximumValue:"maximumValue",actualMaximumValue:"actualMaximumValue",interval:"interval",centerX:"centerX",centerY:"centerY",value:"value",highlightValue:"highlightValue",actualHighlightValueOpacity:"actualHighlightValueOpacity",highlightValueOpacity:"highlightValueOpacity",actualHighlightValueDisplayMode:"actualHighlightValueDisplayMode",highlightValueDisplayMode:"highlightValueDisplayMode",scaleStartAngle:"scaleStartAngle",scaleEndAngle:"scaleEndAngle",scaleSweepDirection:"scaleSweepDirection",transitionDuration:"transitionDuration",needleBrush:"needleBrush",needleOutline:"needleOutline",needleStartExtent:"needleStartExtent",needleEndExtent:"needleEndExtent",needleShape:"needleShape",needleStartWidthRatio:"needleStartWidthRatio",needleEndWidthRatio:"needleEndWidthRatio",needleBaseFeatureWidthRatio:"needleBaseFeatureWidthRatio",needleBaseFeatureExtent:"needleBaseFeatureExtent",needlePointFeatureWidthRatio:"needlePointFeatureWidthRatio",needlePointFeatureExtent:"needlePointFeatureExtent",needlePivotWidthRatio:"needlePivotWidthRatio",needlePivotInnerWidthRatio:"needlePivotInnerWidthRatio",needlePivotShape:"needlePivotShape",scaleStartExtent:"scaleStartExtent",needlePivotBrush:"needlePivotBrush",needlePivotOutline:"needlePivotOutline",needleStrokeThickness:"needleStrokeThickness",needlePivotStrokeThickness:"needlePivotStrokeThickness",scaleEndExtent:"scaleEndExtent",labelExtent:"labelExtent",labelInterval:"labelInterval",tickStartExtent:"tickStartExtent",tickEndExtent:"tickEndExtent",tickStrokeThickness:"tickStrokeThickness",tickBrush:"tickBrush",fontBrush:"fontBrush",minorTickStartExtent:"minorTickStartExtent",minorTickEndExtent:"minorTickEndExtent",minorTickStrokeThickness:"minorTickStrokeThickness",minorTickBrush:"minorTickBrush",minorTickCount:"minorTickCount",scaleBrush:"scaleBrush",backingBrush:"backingBrush",backingOutline:"backingOutline",backingStrokeThickness:"backingStrokeThickness",backingOuterExtent:"backingOuterExtent",backingOversweep:"backingOversweep",scaleOversweep:"scaleOversweep",scaleOversweepShape:"scaleOversweepShape",backingCornerRadius:"backingCornerRadius",backingInnerExtent:"backingInnerExtent",backingShape:"backingShape",radiusMultiplier:"radiusMultiplier",duplicateLabelOmissionStrategy:"duplicateLabelOmissionStrategy",isNeedleDraggingEnabled:"isNeedleDraggingEnabled",isNeedleDraggingConstrained:"isNeedleDraggingConstrained",isHighlightNeedleDraggingEnabled:"isHighlightNeedleDraggingEnabled",isHighlightNeedleDraggingConstrained:"isHighlightNeedleDraggingConstrained",font:"font",labelFormat:"labelFormat",labelFormatSpecifiers:"labelFormatSpecifiers",transitionProgress:"transitionProgress",pixelScalingRatio:"pixelScalingRatio",actualPixelScalingRatio:"actualPixelScalingRatio",opticalScalingRatio:"opticalScalingRatio",opticalScalingEnabled:"opticalScalingEnabled",opticalScalingSize:"opticalScalingSize",titleText:"titleText",subtitleText:"subtitleText",titleAngle:"titleAngle",subtitleAngle:"subtitleAngle",titleExtent:"titleExtent",subtitleExtent:"subtitleExtent",titleBrush:"titleBrush",subtitleBrush:"subtitleBrush",titleDisplaysValue:"titleDisplaysValue",subtitleDisplaysValue:"subtitleDisplaysValue",titleSnapsToNeedlePivot:"titleSnapsToNeedlePivot",subtitleSnapsToNeedlePivot:"subtitleSnapsToNeedlePivot",subtitleFormat:"subtitleFormat",subtitleFormatSpecifiers:"subtitleFormatSpecifiers",titleFormat:"titleFormat",titleFormatSpecifiers:"titleFormatSpecifiers",highlightLabelText:"highlightLabelText",highlightLabelAngle:"highlightLabelAngle",highlightLabelExtent:"highlightLabelExtent",highlightLabelBrush:"highlightLabelBrush",highlightLabelDisplaysValue:"highlightLabelDisplaysValue",highlightLabelSnapsToNeedlePivot:"highlightLabelSnapsToNeedlePivot",highlightLabelFormat:"highlightLabelFormat",highlightLabelFormatSpecifiers:"highlightLabelFormatSpecifiers",highlightLabelTextStyle:"highlightLabelTextStyle",subtitleTextStyle:"subtitleTextStyle",titleTextStyle:"titleTextStyle"},outputs:{alignTitle:"alignTitle",alignSubtitle:"alignSubtitle",alignHighlightLabel:"alignHighlightLabel",formatTitle:"formatTitle",formatSubtitle:"formatSubtitle",formatHighlightLabel:"formatHighlightLabel",formatLabel:"formatLabel",alignLabel:"alignLabel",valueChanged:"valueChanged",highlightValueChanged:"highlightValueChanged",actualMinimumValueChange:"actualMinimumValueChange",actualMaximumValueChange:"actualMaximumValueChange"},host:{classAttribute:"igx-radial-gauge ig-radial-gauge"},providers:[],queries:[{propertyName:"contentRanges",predicate:Yt}],viewQueries:[{propertyName:"_dynamicContent",first:!0,predicate:["dynamicContent"],descendants:!0,read:e.ViewContainerRef,static:!0}],ngImport:e,template:"<ng-container #dynamicContent></ng-container>",isInline:!0,styles:["\n\t\t:host {\n\t\t\tdisplay: block;\n\t\t}\n\t"],changeDetection:e.ChangeDetectionStrategy.OnPush}),t}();e["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:Jt,decorators:[{type:e.Component,args:[{selector:"igx-radial-gauge",template:"<ng-container #dynamicContent></ng-container>",changeDetection:e.ChangeDetectionStrategy.OnPush,providers:[],host:{class:"igx-radial-gauge ig-radial-gauge"},styles:["\n\t\t:host {\n\t\t\tdisplay: block;\n\t\t}\n\t"]}]}],ctorParameters:function(){return[{type:e.Renderer2},{type:e.ViewContainerRef},{type:e.NgZone},{type:e.ComponentFactoryResolver},{type:e.Injector}]},propDecorators:{_dynamicContent:[{type:e.ViewChild,args:["dynamicContent",{read:e.ViewContainerRef,static:!0}]}],height:[{type:e.Input}],width:[{type:e.Input}],contentRanges:[{type:e.ContentChildren,args:[Yt]}],rangeBrushes:[{type:e.Input}],rangeOutlines:[{type:e.Input}],minimumValue:[{type:e.Input}],actualMinimumValue:[{type:e.Input}],maximumValue:[{type:e.Input}],actualMaximumValue:[{type:e.Input}],interval:[{type:e.Input}],centerX:[{type:e.Input}],centerY:[{type:e.Input}],value:[{type:e.Input}],highlightValue:[{type:e.Input}],actualHighlightValueOpacity:[{type:e.Input}],highlightValueOpacity:[{type:e.Input}],actualHighlightValueDisplayMode:[{type:e.Input}],highlightValueDisplayMode:[{type:e.Input}],scaleStartAngle:[{type:e.Input}],scaleEndAngle:[{type:e.Input}],scaleSweepDirection:[{type:e.Input}],transitionDuration:[{type:e.Input}],needleBrush:[{type:e.Input}],needleOutline:[{type:e.Input}],needleStartExtent:[{type:e.Input}],needleEndExtent:[{type:e.Input}],needleShape:[{type:e.Input}],needleStartWidthRatio:[{type:e.Input}],needleEndWidthRatio:[{type:e.Input}],needleBaseFeatureWidthRatio:[{type:e.Input}],needleBaseFeatureExtent:[{type:e.Input}],needlePointFeatureWidthRatio:[{type:e.Input}],needlePointFeatureExtent:[{type:e.Input}],needlePivotWidthRatio:[{type:e.Input}],needlePivotInnerWidthRatio:[{type:e.Input}],needlePivotShape:[{type:e.Input}],scaleStartExtent:[{type:e.Input}],needlePivotBrush:[{type:e.Input}],needlePivotOutline:[{type:e.Input}],needleStrokeThickness:[{type:e.Input}],needlePivotStrokeThickness:[{type:e.Input}],scaleEndExtent:[{type:e.Input}],labelExtent:[{type:e.Input}],labelInterval:[{type:e.Input}],tickStartExtent:[{type:e.Input}],tickEndExtent:[{type:e.Input}],tickStrokeThickness:[{type:e.Input}],tickBrush:[{type:e.Input}],fontBrush:[{type:e.Input}],minorTickStartExtent:[{type:e.Input}],minorTickEndExtent:[{type:e.Input}],minorTickStrokeThickness:[{type:e.Input}],minorTickBrush:[{type:e.Input}],minorTickCount:[{type:e.Input}],scaleBrush:[{type:e.Input}],backingBrush:[{type:e.Input}],backingOutline:[{type:e.Input}],backingStrokeThickness:[{type:e.Input}],backingOuterExtent:[{type:e.Input}],backingOversweep:[{type:e.Input}],scaleOversweep:[{type:e.Input}],scaleOversweepShape:[{type:e.Input}],backingCornerRadius:[{type:e.Input}],backingInnerExtent:[{type:e.Input}],backingShape:[{type:e.Input}],radiusMultiplier:[{type:e.Input}],duplicateLabelOmissionStrategy:[{type:e.Input}],isNeedleDraggingEnabled:[{type:e.Input}],isNeedleDraggingConstrained:[{type:e.Input}],isHighlightNeedleDraggingEnabled:[{type:e.Input}],isHighlightNeedleDraggingConstrained:[{type:e.Input}],font:[{type:e.Input}],labelFormat:[{type:e.Input}],labelFormatSpecifiers:[{type:e.Input}],transitionProgress:[{type:e.Input}],pixelScalingRatio:[{type:e.Input}],actualPixelScalingRatio:[{type:e.Input}],opticalScalingRatio:[{type:e.Input}],opticalScalingEnabled:[{type:e.Input}],opticalScalingSize:[{type:e.Input}],titleText:[{type:e.Input}],subtitleText:[{type:e.Input}],titleAngle:[{type:e.Input}],subtitleAngle:[{type:e.Input}],titleExtent:[{type:e.Input}],subtitleExtent:[{type:e.Input}],titleBrush:[{type:e.Input}],subtitleBrush:[{type:e.Input}],titleDisplaysValue:[{type:e.Input}],subtitleDisplaysValue:[{type:e.Input}],titleSnapsToNeedlePivot:[{type:e.Input}],subtitleSnapsToNeedlePivot:[{type:e.Input}],subtitleFormat:[{type:e.Input}],subtitleFormatSpecifiers:[{type:e.Input}],titleFormat:[{type:e.Input}],titleFormatSpecifiers:[{type:e.Input}],highlightLabelText:[{type:e.Input}],highlightLabelAngle:[{type:e.Input}],highlightLabelExtent:[{type:e.Input}],highlightLabelBrush:[{type:e.Input}],highlightLabelDisplaysValue:[{type:e.Input}],highlightLabelSnapsToNeedlePivot:[{type:e.Input}],highlightLabelFormat:[{type:e.Input}],highlightLabelFormatSpecifiers:[{type:e.Input}],highlightLabelTextStyle:[{type:e.Input}],subtitleTextStyle:[{type:e.Input}],titleTextStyle:[{type:e.Input}],alignTitle:[{type:e.Output}],alignSubtitle:[{type:e.Output}],alignHighlightLabel:[{type:e.Output}],formatTitle:[{type:e.Output}],formatSubtitle:[{type:e.Output}],formatHighlightLabel:[{type:e.Output}],formatLabel:[{type:e.Output}],alignLabel:[{type:e.Output}],valueChanged:[{type:e.Output}],highlightValueChanged:[{type:e.Output}],actualMinimumValueChange:[{type:e.Output}],actualMaximumValueChange:[{type:e.Output}]}});var Kt=function(){function t(){}return t.ɵfac=e["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,deps:[],target:e["ɵɵFactoryTarget"].NgModule}),t.ɵmod=e["ɵɵngDeclareNgModule"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,declarations:[Yt],imports:[r.CommonModule],exports:[Yt]}),t.ɵinj=e["ɵɵngDeclareInjector"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,imports:[[r.CommonModule]]}),t}();e["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:Kt,decorators:[{type:e.NgModule,args:[{declarations:[Yt],exports:[Yt],imports:[r.CommonModule],entryComponents:[]}]}],ctorParameters:function(){return[]}});var te=function(){function t(){i.TypeRegistrar.registerCons("IgxRadialGaugeRangeComponent",Yt)}return t.ɵfac=e["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,deps:[],target:e["ɵɵFactoryTarget"].NgModule}),t.ɵmod=e["ɵɵngDeclareNgModule"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,imports:[r.CommonModule,Kt],exports:[Kt]}),t.ɵinj=e["ɵɵngDeclareInjector"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,imports:[[r.CommonModule,Kt],Kt]}),t}();e["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:te,decorators:[{type:e.NgModule,args:[{declarations:[],exports:[Kt],imports:[r.CommonModule,Kt],entryComponents:[Yt]}]}],ctorParameters:function(){return[]}});var ee=function(){function t(){}return t.ɵfac=e["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,deps:[],target:e["ɵɵFactoryTarget"].NgModule}),t.ɵmod=e["ɵɵngDeclareNgModule"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,declarations:[Jt],imports:[r.CommonModule,Kt,i.IgxNumberFormatSpecifierModule],exports:[Jt,Kt,i.IgxNumberFormatSpecifierModule]}),t.ɵinj=e["ɵɵngDeclareInjector"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,imports:[[r.CommonModule,Kt,i.IgxNumberFormatSpecifierModule],Kt,i.IgxNumberFormatSpecifierModule]}),t}();e["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:ee,decorators:[{type:e.NgModule,args:[{declarations:[Jt],exports:[Jt,Kt,i.IgxNumberFormatSpecifierModule],imports:[r.CommonModule,Kt,i.IgxNumberFormatSpecifierModule],entryComponents:[]}]}],ctorParameters:function(){return[]}});var ie=function(){function t(){i.TypeRegistrar.registerCons("IgxRadialGaugeComponent",Jt)}return t.ɵfac=e["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,deps:[],target:e["ɵɵFactoryTarget"].NgModule}),t.ɵmod=e["ɵɵngDeclareNgModule"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,imports:[r.CommonModule,te,i.IgxNumberFormatSpecifierDynamicModule,ee],exports:[te,i.IgxNumberFormatSpecifierDynamicModule,ee]}),t.ɵinj=e["ɵɵngDeclareInjector"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,imports:[[r.CommonModule,te,i.IgxNumberFormatSpecifierDynamicModule,ee],te,i.IgxNumberFormatSpecifierDynamicModule,ee]}),t}();e["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:ie,decorators:[{type:e.NgModule,args:[{declarations:[],exports:[te,i.IgxNumberFormatSpecifierDynamicModule,ee],imports:[r.CommonModule,te,i.IgxNumberFormatSpecifierDynamicModule,ee],entryComponents:[Jt]}]}],ctorParameters:function(){return[]}});var ne=function(){function t(){}return t.ɵfac=e["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,deps:[],target:e["ɵɵFactoryTarget"].NgModule}),t.ɵmod=e["ɵɵngDeclareNgModule"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,imports:[r.CommonModule,ee,i.IgxDVInteractivityModule],exports:[ee,i.IgxDVInteractivityModule]}),t.ɵinj=e["ɵɵngDeclareInjector"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,imports:[[r.CommonModule,ee,i.IgxDVInteractivityModule],ee,i.IgxDVInteractivityModule]}),t}();e["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:ne,decorators:[{type:e.NgModule,args:[{declarations:[],exports:[ee,i.IgxDVInteractivityModule],imports:[r.CommonModule,ee,i.IgxDVInteractivityModule],entryComponents:[]}]}]});var re=function(){function t(){}return t.ɵfac=e["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,deps:[],target:e["ɵɵFactoryTarget"].NgModule}),t.ɵmod=e["ɵɵngDeclareNgModule"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,imports:[r.CommonModule,ie,i.IgxDVInteractivityDynamicModule,ne],exports:[ie,i.IgxDVInteractivityDynamicModule,ne]}),t.ɵinj=e["ɵɵngDeclareInjector"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,imports:[[r.CommonModule,ie,i.IgxDVInteractivityDynamicModule,ne],ie,i.IgxDVInteractivityDynamicModule,ne]}),t}();e["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:re,decorators:[{type:e.NgModule,args:[{declarations:[],exports:[ie,i.IgxDVInteractivityDynamicModule,ne],imports:[r.CommonModule,ie,i.IgxDVInteractivityDynamicModule,ne],entryComponents:[]}]}]});var ae=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._borderBrush=null,e._borderThickness=null,e}return n.__extends(e,t),Object.defineProperty(e.prototype,"borderBrush",{get:function(){return this._borderBrush},set:function(t){this._borderBrush=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"borderThickness",{get:function(){return this._borderThickness},set:function(t){this._borderThickness=t},enumerable:!1,configurable:!0}),e.$t=i.markType(e,"CommonData"),e}(i.Base),oe=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.$t=i.markType(e,"ScaleVisualData"),e}(i.Base);t.AlignLinearGraphLabelEventArgs=v,t.AlignRadialGaugeLabelEventArgs=Mt,t.BackingFrame=Tt,t.BulletGraphFrame=p,t.BulletGraphScaleFrame=c,t.BulletGraphStylingDefaults=E,t.BulletGraphTargetValueVisualData=T,t.BulletGraphVisualData=w,t.CommonData=ae,t.FormatLinearGraphLabelEventArgs=m,t.FormatRadialGaugeLabelEventArgs=Vt,t.GaugeVisualData=Dt,t.IgxAlignLinearGraphLabelEventArgs=L,t.IgxAlignRadialGaugeLabelEventArgs=Xt,t.IgxBulletGraphComponent=z,t.IgxBulletGraphCoreDynamicModule=U,t.IgxBulletGraphCoreModule=q,t.IgxBulletGraphDynamicModule=W,t.IgxBulletGraphModule=H,t.IgxFormatLinearGraphLabelEventArgs=D,t.IgxFormatRadialGaugeLabelEventArgs=Wt,t.IgxLinearGaugeComponent=lt,t.IgxLinearGaugeCoreDynamicModule=ut,t.IgxLinearGaugeCoreModule=ht,t.IgxLinearGaugeDynamicModule=pt,t.IgxLinearGaugeModule=ct,t.IgxLinearGraphRangeCollection=R,t.IgxLinearGraphRangeComponent=F,t.IgxLinearGraphRangeDynamicModule=G,t.IgxLinearGraphRangeModule=A,t.IgxRadialGaugeComponent=Jt,t.IgxRadialGaugeCoreDynamicModule=ie,t.IgxRadialGaugeCoreModule=ee,t.IgxRadialGaugeDynamicModule=re,t.IgxRadialGaugeModule=ne,t.IgxRadialGaugeRangeCollection=Qt,t.IgxRadialGaugeRangeComponent=Yt,t.IgxRadialGaugeRangeDynamicModule=te,t.IgxRadialGaugeRangeModule=Kt,t.LinearGaugeFrame=it,t.LinearGaugeScaleFrame=et,t.LinearGaugeStylingDefaults=st,t.LinearGaugeVisualData=nt,t.LinearGraphBackingFrame=a,t.LinearGraphFrame=s,t.LinearGraphNeedleFrame=h,t.LinearGraphNeedleParameters=K,t.LinearGraphNeedlePreparer=J,t.LinearGraphNeedleShape=X,t.LinearGraphNeedleShape_$type=Z,t.LinearGraphRangeCollection=d,t.LinearGraphRangeVisualData=j,t.LinearGraphRangeVisualDataList=I,t.LinearGraphRectFrame=o,t.LinearGraphScaleFrame=u,t.LinearGraphScaleLabelVisualData=$,t.LinearGraphScaleLabelVisualDataList=x,t.LinearGraphScaleTickmarkVisualData=k,t.LinearGraphScaleTickmarkVisualDataList=S,t.LinearGraphScaler=g,t.LinearGraphToolTipVisualData=C,t.LinearGraphTooltipDataContext=V,t.LinearGraphVisualData=_,t.LinearNeedleVisualData=rt,t.LinearNeedleVisualDataList=gt,t.LinearScaleOrientation=f,t.LinearScaleOrientation_$type=y,t.LinearScaleVisualData=tt,t.MorphSegment=l,t.NeedleVisualData=qt,t.RadialGaugeBackingShape=_t,t.RadialGaugeBackingShape_$type=wt,t.RadialGaugeDuplicateLabelOmissionStrategy=xt,t.RadialGaugeDuplicateLabelOmissionStrategy_$type=kt,t.RadialGaugeFrame=Ct,t.RadialGaugeNeedleFrame=Ot,t.RadialGaugeNeedleParameters=Bt,t.RadialGaugeNeedlePreparer=Et,t.RadialGaugeNeedleShape=ft,t.RadialGaugeNeedleShape_$type=yt,t.RadialGaugePivotShape=bt,t.RadialGaugePivotShape_$type=dt,t.RadialGaugeRangeCollection=$t,t.RadialGaugeRangeFrame=It,t.RadialGaugeScaleFrame=Nt,t.RadialGaugeScaleFrameLabel=jt,t.RadialGaugeScaleOversweepShape=mt,t.RadialGaugeScaleOversweepShape_$type=vt,t.RadialGaugeScaler=St,t.RadialGaugeStylingDefaults=Zt,t.RangeVisualData=At,t.RangeVisualDataList=Gt,t.ScaleLabelVisualData=Lt,t.ScaleLabelVisualDataList=Ft,t.ScaleTickmarkVisualData=Rt,t.ScaleTickmarkVisualDataList=zt,t.ScaleVisualData=oe,t.TitlesPosition=Y,t.TitlesPosition_$type=Q,t.ToolTipInfo=P,t.ToolTipItemVisualData=O,t.ValueVisualData=N,t.XamBulletGraph=M,t.XamBulletGraphView=B,t.XamLinearGauge=at,t.XamLinearGaugeView=ot,t.XamLinearGraphRange=b,t.XamRadialGauge=Ut,t.XamRadialGaugeRange=Pt,t.XamRadialGaugeView=Ht,Object.defineProperty(t,"__esModule",{value:!0})}));