igniteui-angular-gauges
Version:
Ignite UI Angular gauge components.
7 lines • 329 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.s(n,r,this.h,!this.c,this.d),o=i.GeometryUtil.g(a,n),s=i.GeometryUtil.g(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.d(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.e(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.e(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),j=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),O=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",j.$),e}(j),I=function(t){function e(){return t.call(this,O.$,0)||this}return n.__extends(e,t),e.$t=i.markType(e,"LinearGraphRangeVisualDataList",i.List$1.$.specialize(O.$)),e}(i.List$1),C=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",j.$),e}(j),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"targetValue"},Object.defineProperty(e.prototype,"type",{get:function(){return this.get_type()},enumerable:!1,configurable:!0}),e.$t=i.markType(e,"BulletGraphTargetValueVisualData",j.$),e}(j),T=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.bq=0,n.formatLabel=null,n.alignLabel=null,n.an=null,n.am=null,n.al=null,n.ar=null,n.av=null,n.bn=0,n.bm=100,n.a1=0,n.bl=.5,n.ay=1,n.aj=null,n.be=!1,n.a5=null,n.a3=null,n.a2=null,n.a6=null,n.a4=null,n._view=null,n.ig=null,n.ie=null,n.id=null,n.bp=NaN,n.bo=1,n.bg=new i.List$1(i.TextBlock.$,0),n.bj=new i.List$1(i.TextBlock.$,0),n.bi=new i.List$1(i.Path.$,0),n.bh=new i.List$1(i.Path.$,0),n.a8=!1,n.bp=NaN,n.bo=1,n.av=new b;var r=n.av;r.propertyChanged=i.delegateCombine(r.propertyChanged,i.runOn(n,n.fv)),n.view=new B(n),n.view.a9(),n.ig=i.Rect.empty,n.ie=i.Rect.empty,n.id=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.c8);var a,o=n.aw;return o.propertyChanged=i.delegateCombine(o.propertyChanged,i.runOn(n,n.fa)),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.fm=function(t){this.ft(t)},e.prototype.ft=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.fa=function(t,e){this.c0=this.aw.o},Object.defineProperty(e.prototype,"a7",{get:function(){return this.aw.f()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"c0",{get:function(){return this.bq},set:function(t){var e=this.bq;this.bq=t,this.fl("TransitionProgress",e,this.bq)},enumerable:!1,configurable:!0}),e.prototype.f6=function(){this.bq=0,this.aw.w(),this.aw.v()},Object.defineProperty(e.prototype,"bd",{get:function(){return this.c8>0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"h5",{get:function(){return this.c(e.g7)},set:function(t){this.h(e.g7,t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"h6",{get:function(){return this.c(e.g8)},set:function(t){this.h(e.g8,t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ci",{get:function(){return this.c(e.g9)},set:function(t){this.h(e.g9,t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"bt",{get:function(){return this.bn},set:function(t){this.bn=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){var e=this.bl;this.bl=t,e!=this.bl&&this.fl("ActualHighlightValueOpacity",e,t)},enumerable:!1,configurable:!0}),e.prototype.f9=function(){this.br=i.isNaN_(this.b1)?.5:Math.max(0,Math.min(this.b1,1))},Object.defineProperty(e.prototype,"az",{get:function(){return this.ay},set:function(t){this.ay=t},enumerable:!1,configurable:!0}),e.prototype.f8=function(){1!=this.a0?i.isNaN_(this.b0)||i.isInfinity(this.b0)?this.az=1:this.az=2:this.az=1},e.prototype.ff=function(){this.a1=0,this.view.cm().an=null},e.prototype.bz=function(t){var e=0,i=t.x;return 1==this.as&&(e=t.y,i=this.ij.height),this.ar.k(i-e)},e.prototype.at=function(){var t,e=this,n=new w;n.viewport=new i.RectData(this.ij.left,this.ij.top,this.ij.width,this.ij.height),n.scaleLabels=new x,n.scaleTickmarks=new S,n.ranges=new I,n.value=((t=new C).value=e.c1,t),n.highlightValue=function(){var t=new C;return t.value=e.b0,t}(),n.targetValue=function(){var t=new N;return t.value=e.co,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 T;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.dh=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.be&&this.f5(t,null)},e.prototype.onMouseLeave=function(){this.be&&this.f5({$type:i.Point_$type,x:-1e4,y:-1e4},null)},e.prototype.containerResized=function(){this.view.a7()},e.prototype.f7=function(){this.view.bs()},e.prototype.fe=function(){this.view.flush()},e.prototype.bk=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.f5=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.bk(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.bk(r._inner[0]),t))return void this.view.br(t,e,-1,"value");for(var a=0;a<this.bh.count;a++){var o=new i.PathVisualData(1,"range",this.bh._inner[a]).getPoints(new i.GetPointsSettings);if(o.count>0)if(1==i.PolygonUtil.b(this.bk(o._inner[0]),t))return void this.view.br(t,e,a,"range")}this.view.az()},e.prototype.fy=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.ij.height>=e?this.ij.height-e:this.ij.height;this.ii=new i.Rect(0,0,0,this.ij.width,r)}else{for(var a=0,o=0;o<t.f.length;o++)a=Math.max(a,t.f[o]);var s=this.ij.width>=a?this.ij.width-a:this.ij.width;this.ii=new i.Rect(0,a,0,s,this.ij.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,"ij",{get:function(){return this.ig},set:function(t){var e=this.ig;this.ig=t,e.equals1(this.ig)||this.fn(e,this.ig)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ii",{get:function(){return this.ie},set:function(t){this.ie=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ih",{get:function(){return this.id},set:function(t){this.id=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cf",{get:function(){return this.bp},set:function(t){var e=this.bp;this.bp=t,this.fl("PixelScalingRatio",e,this.bp)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"bu",{get:function(){return this.bo},set:function(t){var e=this.bo;this.bo=t,this.fl("ActualPixelScalingRatio",e,this.bo)},enumerable:!1,configurable:!0}),e.prototype.ba=function(){return!i.isNaN_(this.bt)&&!i.isNaN_(this.bs)&&!this.ij.isEmpty&&this.view.s()},e.prototype.fb=function(){if(this.ba()){var t=this.cm();if(this.ar=new g(this.bt,this.bs,t,t+this.cl(),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.c0,this.an,this.am),this.fz(this.al),this.f1(this.al),this.f2(this.al),this.f4(this.al));if(this.a8){if(this.fp(),this.fy(),1==this.a1)this.a1=2,this.an.c.af=this.aq(this.c1,!0,!1);else if(4==this.a1){if(this.c8>0)this.a1=5,this.am.c.af=this.aq(this.c1,!0,!1);else this.ff()}this.fr(),this.fs(),this.fq(),this.fo()}this.a8&&this.bd?(this.f6(),this.al.d(this.c0,this.an,this.am),this.fz(this.al),this.f1(this.al),this.f2(this.al),this.f4(this.al),this.f3(this.al),this.f0(this.al)):this.a8&&(this.fz(this.am),this.f1(this.am),this.f2(this.am),this.f4(this.am),this.f3(this.am),this.f0(this.am)),this.a8=!1,this.view.as()}},e.prototype.fq=function(){var t=this.am.c,e=this.ar,n=this.b9;this.ii;i.isNaN_(n)&&(n=3),t.u=this.cn,t.r=this.ck,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.bt||a.o>this.bs)){var s=a.o,l=a.j;s<this.bt&&(s=this.bt),l>this.bs&&(l=this.bs);var h=new o;h.i=null!=a.an?a.an:this.h3(r,this.ah),h.j=null!=a.ao?a.ao:this.h3(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.cg),h.b=a.k,i.isNaN_(h.b)&&(h.b=this.cg),h.f=a.n,i.isNaN_(h.f)&&(h.f=this.ch),h.c=a.m,i.isNaN_(h.c)&&(h.c=this.ch),t.m.add(h)}}t.l.i=this.h5,t.l.j=this.h6,t.l.h=this.ci,t.l.g=e.i(this.bt),t.l.d=e.i(this.bs),t.l.e=this.cg,t.l.b=this.cg,t.l.f=this.ch,t.l.c=this.ch,t.ab=this.h2,t.ad=this.h9,t.x=this.cz,t.w=this.cx,t.v=this.ct,t.ac=this.h4,t.q=this.ce,t.p=this.cc,t.o=this.ca;var u=this.b2;i.isNaN_(u)&&(u=(this.bs-this.bt)/10),0==u&&(u=this.bs-this.bt);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.bt+this.cv,f=this.bs-this.cw;if(u>=Math.abs(f-g)/1e5)for(var y=g;y<=f||this.bf(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.ik=function(){if(!this.bb)return new i.Size(1,0,0);var t=this.b2,e=this.b4;i.isNaN_(t)&&(t=(this.bs-this.bt)/10),i.isNaN_(e)&&(e=t),0==e&&(e=this.bs-this.bt);var n=new i.List$1(i.Number_$type,0);if(e>0){var r=this.b5+this.bt,a=this.bs-this.b6;if(e>=Math.abs(a-r)/1e5)for(var o=r;o<=a||this.bf(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.ck+this.cn;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.fp=function(){var t=this.am.c,e=this.ar,n=this.b2,r=this.b4;this.b9;i.isNaN_(n)&&(n=(this.bs-this.bt)/10),i.isNaN_(r)&&(r=n),0==r&&(r=this.bs-this.bt);var a=new i.List$1(i.Tuple$2.$.specialize(i.Number_$type,i.Number_$type),0);if(r>0){var o=this.b5+this.bt,s=this.bs-this.b6;if(r>=Math.abs(s-o)/1e5)for(var l=o;l<=s||this.bf(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.b3;var h=new m;h.actualMinimumValue=this.bt,h.actualMaximumValue=this.bs;var u=new v;u.actualMinimumValue=this.bt,u.actualMaximumValue=this.bs;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.bb&&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.bb&&p.alignLabel(p,u),p.bb?(t.f[e]=u.width,t.c[e]=u.height):(t.f[e]=0,t.c[e]=0),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.bf=function(t,e,n){var r=n/1e4;return i.isNaN_(r)&&(r=1e-5),Math.abs(t-e)<r},e.prototype.fo=function(){var t=this.am.a;t.e=this.h0,t.f=this.h1,t.c=this.bx,t.a=this.bv,t.b=this.bw},e.prototype.fr=function(){var t=this.am.b,e=this.ar;if(t.e=this.cq,t.b=this.cq,t.f=this.cr,t.c=this.cr,t.i=this.h7,t.j=this.h8,t.h=this.cs,!i.isNaN_(this.co)){var n=e.i(this.co),r=this.cp/2;t.g=n-r,t.d=n+r}},e.prototype.fs=function(){var t=this.am.c,e=this.c1;if(!i.isNaN_(e)){var n=!(0==this.a1||5==this.a1);t.ag=this.aq(e,!1,n);var r=this.b0;n&&!i.isNaN_(r)&&(t.af=this.aq(r,!0,!1))}},e.prototype.aq=function(t,e,n){var r=this.ar,a=this.bt;i.isNaN_(a)&&(a=this.bt);var s=t,l=new o,h=this.ia,u=this.ib;return n&&(h=i.BrushUtil.s(h,this.br),u=i.BrushUtil.s(u,this.br)),l.i=h,l.j=u,l.h=this.c4,l.g=r.i(a),l.d=r.i(s),l.e=this.c2,l.b=this.c2,l.f=this.c3,l.c=this.c3,l},e.prototype.h3=function(t,e){return null!=e&&e.count>0?e.item(t%e.count):null},e.prototype.f3=function(t){var e=this.ii,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.bi.count;y++)r.n(this.bi._inner[y]);this.bi.clear();for(var b=this.cj(),d=this.c6(),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.bi.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.bi.add(h)},P=this,$=0;$<u.length;$++)w($);r.f=!1},e.prototype.f0=function(t){var e=this.ii,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.bg.count;c++)u.n(this.bg._inner[c]);this.bg.clear();for(var p=i.ab,g=this.c5(),f=this.c6(),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.bb?this.view.a1(m):this.view.a2(m),this.bg.add(m)}u.f=!1},e.prototype.f1=function(t){var e=t.c,i=this.a4;i.f=!0;for(var n=0;n<this.bh.count;n++)i.n(this.bh._inner[n]);this.bh.clear();var r=this.cj(),a=this.c6(),o=this.ic();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.bh.add(h)}this.view.bp(this.bh),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.fz=function(t){var e=this.ih,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.f2=function(t){var e=this.view.cp();if(i.isNaN_(this.co)||this.co<this.bt||this.co>this.bs)e.an=null;else{var n=t.b,r=this.cj(),a=this.c6(),o=this.ic(),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.f4=function(t){var e=this.view.cq(),n=this.view.cm(),r=this.c1;if(r<=this.bt||r>this.bs||i.isNaN_(r))return e.an=null,void(n.an=null);var a=this.b0,o=0!=this.a1;(!o||a<=this.bt||a>this.bs||i.isNaN_(a))&&(n.an=null,o=!1);var s=t.c,l=this.cj(),h=this.c6(),u=this.ic(),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.fn=function(t,e){this.a8=!0,this.view.bo()},e.prototype.fi=function(t,e){this.a8=!0,this.view.bo()},e.prototype.cj=function(){return 0==this.as?this.bc?this.ij.height:this.ii.height:this.bc?this.ij.width:this.ii.width},e.prototype.cl=function(){return 0==this.as?this.ij.width*(this.ck-this.cn):this.ij.height*(this.ck-this.cn)},e.prototype.c5=function(){return 0==this.as?this.ij.height:this.ij.width},e.prototype.c6=function(){return 0==this.as?this.ij.width:this.ij.height},e.prototype.cm=function(){var t=this.cn;return 0==this.as?(this.a9&&(t=1-this.ck),this.ij.left+this.ij.width*t):(this.a9&&(t=1-this.ck),this.ij.top+this.ij.height*t)},e.prototype.ic=function(){var t=this.ii.left;this.bc&&(t=0);var e=this.cn;return 0==this.as?(this.a9&&(e=1-this.ck),{$type:i.Point_$type,x:t+this.ii.width*e,y:this.ii.top}):(this.a9||(e=1-this.ck),{$type:i.Point_$type,x:t,y:this.ii.top+this.ii.height*e})},e.prototype.fl=function(t,n,r){switch(t){case e.$$p[52]:case e.$$p[37]:case e.$$p[41]:case e.$$p[0]:case e.$$p[3]:case e.$$p[56]:case e.$$p[44]:case e.$$p[22]:this.view.a5(t,n,r);break;case e.$$p[28]:this.view.ba(n,r);break;case e.$$p[31]:this.view.bb(n,r)}switch(t){case e.$$p[13]:case e.$$p[14]:null!=this.ds?(this.aj=new i.BindingFormatter,this.aj.j=this.ds,this.aj.d=this.ag):this.aj=null,this.a8=!0,this.view.bo();break;case e.$$p[51]:this.aw.r=this.c8,this.view.bo();break;case"TransitionProgress":if(this.c0>=1){this.aw.w();var a=this.am;if(this.am=this.an,this.an=a,this.fp(),this.fr(),this.fs(),this.fq(),this.fo(),this.fz(this.am),this.f1(this.am),this.f2(this.am),this.f4(this.am),this.f3(this.am),this.f0(this.am),5==this.a1)return this.ff(),void this.view.bo();2==this.a1&&(this.a1=3)}this.al.d(this.c0,this.an,this.am),this.fz(this.al),this.f1(this.al),this.f2(this.al),this.f4(this.al),this.f3(this.al),this.f0(this.al),this.view.as();break;case e.$$p[57]:case e.$$p[53]:case e.$$p[55]:case e.$$p[52]:case e.$$p[56]:case e.$$p[58]:case e.$$p[37]:case e.$$p[41]:case e.$$p[43]:case e.$$p[36]:case e.$$p[38]:case e.$$p[40]:case e.$$p[0]:case e.$$p[3]:case e.$$p[44]:case e.$$p[22]:case e.$$p[28]:case e.$$p[31]:case e.$$p[20]:case e.$$p[42]:case e.$$p[39]:case e.$$p[29]:case e.$$p[30]: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[18]:case e.$$p[48]:case e.$$p[49]:case e.$$p[46]:case e.$$p[45]:case e.$$p[47]:case e.$$p[25]:case e.$$p[24]:case e.$$p[23]:case e.$$p[26]:case"ScaleBackgroundBrush":case"ScaleBackgroundOutline":case"ScaleBackgroundThickness":this.a8=!0,this.view.bo();break;case e.$$p[32]:var o=r;if(null!=n){var s=n;s.collectionChanged=i.delegateRemove(s.collectionChanged,i.runOn(this,this.fw))}if(null!=o){var l=o;l.collectionChanged=i.delegateCombine(l.collectionChanged,i.runOn(this,this.fw))}this.a8=!0,this.view.bo();break;case e.$$p[27]:case e.$$p[11]:case e.$$p[21]:case e.$$p[19]:case e.$$p[33]:case e.$$p[34]:this.bt=Math.min(this.b8,this.b7),this.bs=Math.max(this.b8,this.b7);var h=this.cm();this.ar=new g(this.bt,this.bs,h,h+this.cl(),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.cf))?this.bu=1:this.bu=i.DeviceUtils.a(this.cf);break;case"ActualPixelScalingRatio":this.view.bf();break;case e.$$p[9]:var u=2==this.az;this.f8();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.f8();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.f9();break;case"ActualHighlightValueOpacity":this.a8=!0,this.view.bo()}this.fm(t)},e.prototype.fw=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.fv))}}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.fv))}}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.fv=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.di)},e.$t=i.markType(e,"XamBulletGraph",i.Control.$,[i.INotifyPropertyChanged_$type]),e.g7=i.DependencyProperty.i("ScaleBackgroundBrush",i.Brush.$,e.$,new i.PropertyMetadata(2,null,(function(t,e){return t.fl("ScaleBackgroundBrush",e.oldValue,e.newValue)}))),e.g8=i.DependencyProperty.i("ScaleBackgroundOutline",i.Brush.$,e.$,new i.PropertyMetadata(2,null,(function(t,e){return t.fl("ScaleBackgroundOutline",e.oldValue,e.newValue)}))),e.g9=i.DependencyProperty.i("ScaleBackgroundThickness",i.Number_$type,e.$,new i.PropertyMetadata(2,1,(function(t,e){return t.fl("ScaleBackgroundThickness",e.oldValue,e.newValue)}))),e.$$p=i.markDep(i.DependencyProperty,i.PropertyMetadata,e,"fl",["BackingBrush:h0:ga",[i.Brush.$,null],"BackingInnerExtent:bv:gb",[1,0],"BackingOuterExtent:bw:gc",[1,1],"BackingOutline:h1:gd",[i.Brush.$,null],"BackingStrokeThickness:bx:ge",[1,2],"FontBrush:h2:gf",[i.Brush.$,null],"Font:di:gg",[2,null],"HighlightValueDisplayMode:a0:gh",[i.HighlightedValueDisplayMode_$type,i.enumGetBox(i.HighlightedValueDisplayMode_$type,0)],"HighlightValueOpacity:b1:gi",[1,.5],"HighlightValue:b0:gj",[1,NaN],"Interval:b2:gk",[1,NaN],"IsScaleInverted:a9:gl",[0,!1],"LabelExtent:b3:gm",[1,0],"LabelFormat:ds:gn",[2,null],"LabelFormatSpecifiers:ag:go",[i.Array_$type,null],"LabelInterval:b4:gp",[1,NaN],"LabelsPostInitial:b5:gq",[1,0],"LabelsPreTerminal:b6:gr",[1,0],"LabelsVisible:bb:gs",[0,!0],"MaximumValue:b7:gt",[1,100],"MergeViewports:bc:gu",[0,!1],"MinimumValue:b8:gv",[1,0],"MinorTickBrush:h4:gw",[i.Brush.$,null],"MinorTickCount:b9:gx",[1,3],"MinorTickEndExtent:ca:gy",[1,.2],"MinorTickStartExtent:cc:gz",[1,.1],"MinorTickStrokeThickness:ce:g0",[1,1],"Orientation:as:g1",[y,i.enumGetBox(y,0)],"RangeBrushes:ah:g2",[i.BrushCollection.$,null],"RangeInnerExtent:cg:g3",[1,.2],"RangeOuterExtent:ch:g4",[1,.95],"RangeOutlines:ai:g5",[i.BrushCollection.$,null],"Ranges::g6",[d.$,null],"ScaleEndExtent:ck:ha",[1,.95],"ScaleStartExtent:cn:hb",[1,.05],"ShowToolTipTimeout:c7:hc",[1,500],"TargetValueBreadth:cp:hd",[1,3],"TargetValueBrush:h7:he",[i.Brush.$,null],"TargetValueInnerExtent:cq:hf",[1,.3],"TargetValueName:en:hg",[2,null],"TargetValueOuterExtent:cr:hh",[1,.85],"TargetValueOutline:h8:hi",[i.Brush.$,null],"TargetValue:co:hj",[1,NaN],"TargetValueStrokeThickness:cs:hk",[1,1],"TickBrush:h9:hl",[i.Brush.$,null],"TickEndExtent:ct:hm",[1,.2],"TickStartExtent:cx:hp",[1,.06],"TickStrokeThickness:cz:hq",[1,2],"TicksPostInitial:cv:hn",[1,0],"TicksPreTerminal:cw:ho",[1,0],"ToolTip::hr",[4,null],"TransitionDuration:c8:hs",[1,0],"ValueBrush:ia:ht",[i.Brush.$,null],"ValueInnerExtent:c2:hu",[1,.5],"ValueName:e4:hv",[2,null],"ValueOuterExtent:c3:hw",[1,.65],"ValueOutline:ib:hx",[i.Brush.$,null],"Value:c1:hy",[1,NaN],"ValueStrokeThickness:c4:hz",[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.au(this.ag.rootWrapper,"")},e.prototype.a8=function(){null!=this.i&&null!=this.ag&&this.i.bi(this.ag.rootWrapper,"")},e.prototype.a9=function(){this.k=new V,this.ak=this.m.c7,this.a0()},e.prototype.a0=function(){var t=i.CanvasScalingHelpers.b(this.ag);this.m.bu=i.CanvasScalingHelpers.a(this.m.cf,this.m.bu,t),null!=this.i&&i.CanvasScalingHelpers.h(this.i,t)},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.h7=i),null==this.b8&&(this.m.h8=n);break;case"value":null==this.cb&&(this.m.ia=i),null==this.cc&&(this.m.ib=n);break;case"backing":null==this.b4&&(this.m.h0=i),null==this.b5&&(this.m.h1=n);break;case"tick":null==this.ca&&(this.m.h9=i);break;case"minortick":null==this.b6&&(this.m.h4=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[37]:this.b7=n;break;case M.$$p[41]:this.b8=n;break;case M.$$p[0]:this.b4=n;break;case M.$$p[3]:this.b5=n;break;case M.$$p[52]:this.cb=n;break;case M.$$p[56]:this.cc=n;break;case M.$$p[44]:this.ca=n;break;case M.$$p[22]: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.c5(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.c7},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.c7,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.c7):this.aj=window.setTimeout(i.runOn(this,this.az),10*this.m.c7);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.h3(e,this.c),i.outline=null!=a?a:this.m.h3(e,this.d),i.thickness=n.p;break;case"value":i.item=this.m.c1,i.itemName=this.m.e4,i.label=null!=this.m.e4?this.m.e4+": "+this.m.c1.toString():this.m.c1.toString(),i.brush=this.m.ia,i.outline=this.m.ib,i.thickness=this.m.c4;break;case"targetvalue":i.item=this.m.co,i.itemName=this.m.en,i.label=null!=this.m.en?this.m.en+": "+this.m.co.toString():this.m.co.toString(),i.brush=this.m.h7,i.outline=this.m.h8,i.thickness=this.m.cs}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.cf)?this.m.bu:this.m.cf;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.ij=new i.Rect(0,0,0,r,a),this.m.ih=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.af(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.aw()}},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.ij=new i.Rect(0,0,0,t,e),this.m.ih=new i.Rect(0,0,0,t,e),null!=this.i&&(this.i.bm=this.m.ij)},e.prototype.as=function(){this.bm()},e.prototype.bp=function(t){this.x=t},e.prototype.bm=function(){var t=this.m.ij.width,e=this.m.ij.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.ij.left,this.m.ij.top,this.m.ij.width,this.m.ij.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.af(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.di?this.n=this.m.ax():this.n=i.FontUtil.getFont(this.ag),this.ac=this.ad(this.n),null==this.m.h2){var t=this.ag.rootWrapper.getStyleProperty("color");0==i.stringIsNullOrEmpty(t)&&(this.b2=new i.Brush,this.b2._fill=t,this.m.h2=this.b2)}null!=this.p&&this.p.af(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.fb())},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 O,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.bu},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.c0},set:function(t){this.i.c0=+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.h5)},set:function(t){this.i.h5=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scaleBackgroundOutline",{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,"scaleBackgroundThickness",{get:function(){return this.i.ci},set:function(t){this.i.ci=+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.b8},set:function(t){this.i.b8=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actualMinimumValue",{get:function(){return this.i.bt},set:function(t){this.i.bt=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maximumValue",{get:function(){return this.i.b7},set:function(t){this.i.b7=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actualMaximumValue",{get:function(){return this.i.bs},set:function(t){this.i.bs=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"targetValue",{get:function(){return this.i.co},set:function(t){this.i.co=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"targetValueName",{get:function(){return this.i.en},set:function(t){this.i.en=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.i.c1},set:function(t){this.i.c1=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"valueName",{get:function(){return this.i.e4},set:function(t){this.i.e4=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"highlightValue",{get:function(){return this.i.b0},set:function(t){this.i.b0=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actualHighlightValueOpacity",{get:function(){return this.i.br},set:function(t){this.i.br=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"highlightValueOpacity",{get:function(){return this.i.b1},set:function(t){this.i.b1=+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.cg},set:function(t){this.i.cg=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rangeOuterExtent",{get:function(){return this.i.ch},set:function(t){this.i.ch=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"valueInnerExtent",{get:function(){return this.i.c2},set:function(t){this.i.c2=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"valueOuterExtent",{get:function(){return this.i.c3},set:function(t){this.i.c3=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"interval",{get:function(){return this.i.b2},set:function(t){this.i.b2=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ticksPostInitial",{get:function(){return this.i.cv},set:function(t){this.i.cv=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ticksPreTerminal",{get:function(){return this.i.cw},set:function(t){this.i.cw=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelInterval",{get:function(){return this.i.b4},set:function(t){this.i.b4=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelExtent",{get:function(){return this.i.b3},set:function(t){this.i.b3=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelsPostInitial",{get:function(){return this.i.b5},set:function(t){this.i.b5=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelsPreTerminal",{get:function(){return this.i.b6},set:function(t){this.i.b6=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minorTickCount",{get:function(){return this.i.b9},set:function(t){this.i.b9=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tickStartExtent",{get:function(){return this.i.cx},set:function(t){this.i.cx=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tickEndExtent",{get:function(){return this.i.ct},set:function(t){this.i.ct=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tickStrokeThickness",{get:function(){return this.i.cz},set:function(t){this.i.cz=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tickBrush",{get:function(){return i.brushToString(this.i.h9)},set:function(t){this.i.h9=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fontBrush",{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,"valueBrush",{get:function(){return i.brushToString(this.i.ia)},set:function(t){this.i.ia=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"valueOutline",{get:function(){return i.brushToString(this.i.ib)},set:function(t){this.i.ib=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"valueStrokeThickness",{get:function(){return this.i.c4},set:function(t){this.i.c4=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minorTickStartExtent",{get:function(){return this.i.cc},set:function(t){this.i.cc=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minorTickEndExtent",{get:function(){return this.i.ca},set:function(t){this.i.ca=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minorTickStrokeThickness",{get:function(){return this.i.ce},set:function(t){this.i.ce=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minorTickBrush",{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,"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.h0)},set:function(t){this.i.h0=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"backingOutline",{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,"backingStrokeThickness",{get:function(){return this.i.bx},set:function(t){this.i.bx=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"backingInnerExtent",{get:function(){return this.i.bv},set:function(t){this.i.bv=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"backingOuterExtent",{get:function(){return this.i.bw},set:function(t){this.i.bw=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scaleStartExtent",{get:function(){return this.i.cn},set:function(t){this.i.cn=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scaleEndExtent",{get:function(){return this.i.ck},set:function(t){this.i.ck=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"targetValueBrush",{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,"targetValueBreadth",{get:function(){return this.i.cp},set:function(t){this.i.cp=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"targetValueInnerExtent",{get:function(){return this.i.cq},set:function(t){this.i.cq=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"targetValueOuterExtent",{get:function(){return this.i.cr},set:function(t){this.i.cr=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"targetValueOutline",{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,"targetValueStrokeThickness",{get:function(){return this.i.cs},set:function(t){this.i.cs=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"mergeViewports",{get:function(){return this.i.bc},set:function(t){this.i.bc=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelsVisible",{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.ds},set:function(t){this.i.ds=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.c8},set:function(t){this.i.c8=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showToolTipTimeout",{get:function(){return this.i.c7},set:function(t){this.i.c7=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showToolTip",{get:function(){return this.i.be},set:function(t){this.i.be=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"font",{get:function(){return this.i.di},set:function(t){this.i.di=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pixelScalingRatio",{get:function(){return this.i.cf},set:function(t){this.i.cf=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actualPixelScalingRatio",{get:function(){return this.i.bu},set:function(t){this.i.bu=+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.bz(i.toPoint(t))},t.prototype.exportSerializedVisualData=function(){return this.i.dh()},t.prototype.provideContainer=function(t){this.i.provideContainer(t)},t.prototype.containerResized=function(){this.i.containerResized()},t.prototype.styleUpdated=function(){this.i.f7()},t.prototype.flush=function(){this.i.fe()},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",labelsVisible:"labelsVisible",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}],labelsVisible:[{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 H=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:H,decorators:[{type:e.NgModule,args:[{declarations:[],exports:[G,i.IgxNumberFormatSpecifierDynamicModule,q],imports:[r.CommonModule,G,i.IgxNumberFormatSpecifierDynamicModule,q],entryComponents:[z]}]}],ctorParameters:function(){return[]}});var U=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:U,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,H,i.IgxDVInteractivityDynamicModule,U],exports:[H,i.IgxDVInteractivityDynamicModule,U]}),t.ɵinj=e["ɵɵngDeclareInjector"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:t,imports:[[r.CommonModule,H,i.IgxDVInteractivityDynamicModule,U],H,i.IgxDVInteractivityDynamicModule,U]}),t}();e["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"12.2.17",ngImport:e,type:W,decorators:[{type:e.NgModule,args:[{declarations:[],exports:[H,i.IgxDVInteractivityDynamicModule,U],imports:[r.CommonModule,H,i.IgxDVInteractivityDynamicModule,U],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",j.$),e}(j),at=function(t){function e(){var n=t.call(this)||this;n.propertyChanged=null,n.av=null,n.b1=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.by=0,n.bx=100,n.a3=0,n.aj=null,n.a2=0,n.bw=.5,n.az=1,n.bn=!1,n.a7=null,n.a5=null,n.a4=null,n.a8=null,n.a6=null,n.bu=null,n.i0=null,n.bt=null,n.iz=null,n._view=null,n.i2=null,n.i1=null,n.iy=null,n.bp=new i.List$1(i.TextBlock.$,0),n.bs=new i.List$1(i.TextBlock.$,0),n.br=new i.List$1(i.Path.$,0),n.bq=new i.List$1(i.Path.$,0),n.bc=!1,n.b0=NaN,n.bz=1,n.b0=NaN,n.bz=1,n.view=new ot(n),n.view.bc(),n.i2=i.Rect.empty,n.i1=i.Rect.empty,n.iy=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.di);var r,a=n.av;return a.propertyChanged=i.delegateCombine(a.propertyChanged,i.runOn(n,n.fn)),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.f4=function(t){this.gb(t)},e.prototype.gb=function(t){var e=this.propertyChanged;null!=e&&e(this,new i.PropertyChangedEventArgs(t))},e.prototype.fn=function(t,e){this.dd=this.av.o},Object.defineProperty(e.prototype,"a9",{get:function(){return this.av.f()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dd",{get:function(){return this.b1},set:function(t){var e=this.b1;this.b1=t,this.f3("TransitionProgress",e,this.b1)},enumerable:!1,configurable:!0}),e.prototype.gn=function(){this.b1=0,this.av.w(),this.av.v()},Object.defineProperty(e.prototype,"bm",{get:function(){return this.di>0},enumerable:!1,configurable:!0}),e.prototype.onDetachedFromUI=function(){this.view.bb()},e.prototype.onAttachedToUI=function(){this.view.a7()},Object.defineProperty(e.prototype,"b4",{get:function(){return this.by},set:function(t){this.by=t},enumerable:!1,configurable:!0}),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){var e=this.bw;this.bw=t,e!=this.bw&&this.f3("ActualHighlightValueOpacity",e,t)},enumerable:!1,configurable:!0}),e.prototype.gq=function(){this.b2=i.isNaN_(this.cb)?.5:Math.max(0,Math.min(this.cb,1))},Object.defineProperty(e.prototype,"a0",{get:function(){return this.az},set:function(t){this.az=t},enumerable:!1,configurable:!0}),e.prototype.gp=function(){1!=this.a1?i.isNaN_(this.ca)||i.isInfinity(this.ca)?this.a0=1:this.a0=2:this.a0=1},e.prototype.ft=function(){this.a2=0,this.view.cm().an=null},e.prototype.b9=function(t){var e=0,i=t.x;return 1==this.as&&(e=t.y,i=this.i5.height),this.ar.k(i-e)},e.prototype.bk=function(t){return null!=this.bu&&i.PolygonUtil.b(this.bu,t)},e.prototype.ba=function(t){return null!=this.bt&&i.PolygonUtil.b(this.bt,t)},e.prototype.needleContainsPoint=function(t,e){return null!=this.bu&&(e?this.i0.containsPoint(t):i.PolygonUtil.b(this.bu,t))},e.prototype.highlightNeedleContainsPoint=function(t,e){return null!=this.bt&&(e?this.iz.containsPoint(t):i.PolygonUtil.b(this.bt,t))},e.prototype.fr=function(t,e){var i=this.b9(t);i=Math.max(Math.min(i,this.b3),this.b4),2==this.a3?i!=this.ca&&(this.ca=i):i!=this.de&&(this.de=i)},e.prototype.at=function(){var t,e=this,n=new nt;n.viewport=new i.RectData(this.i5.left,this.i5.top,this.i5.width,this.i5.height),n.scaleLabels=new x,n.scaleTickmarks=new S,n.ranges=new I,n.needle=((t=new rt).value=e.de,t),n.highlightNeedle=function(){var t=new rt;return t.value=e.ca,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 T;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.ds=function(){var t=this.at();return t.scaleByViewport(),t.serialize()},e.prototype.fs=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.bn&&this.gm(t,null)},e.prototype.onMouseLeave=function(){this.bn&&this.gm({$type:i.Point_$type,x:-1e4,y:-1e4},null)},e.prototype.onMouseMove=function(t,e){0!=this.a3&&this.fr(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.go=function(){this.view.bv()},e.prototype.gm=function(t,e){var n=this.bu;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.bq.count;r++){var a=new i.PathVisualData(1,"range",this.bq._inner[r]).getPoints(new i.GetPointsSettings);if(a.count>0)if(1==i.PolygonUtil.b(this.bv(a._inner[0]),t))return void this.view.bu(t,e,r,"range")}this.view.a2()},e.prototype.gg=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.i5.height>=e?this.i5.height-e:this.i5.height;this.i4=new i.Rect(0,0,0,this.i5.width,r)}else{for(var a=0,o=0;o<t.f.length;o++)a=Math.max(a,t.f[o]);var s=this.i5.width>=a?this.i5.width-a:this.i5.width;this.i4=new i.Rect(0,a,0,s,this.i5.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,"i5",{get:function(){return this.i2},set:function(t){var e=this.i2;this.i2=t,e.equals1(this.i2)||this.f5(e,this.i2)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"i4",{get:function(){return this.i1},set:function(t){this.i1=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"i3",{get:function(){return this.iy},set:function(t){this.iy=t},enumerable:!1,configurable:!0}),e.prototype.bh=function(){return!i.isNaN_(this.b4)&&!i.isNaN_(this.b3)&&!this.i5.isEmpty&&this.view.s()},e.prototype.fo=function(){if(this.bh()){var t=this.c5();if(this.ar=new g(this.b4,this.b3,t,t+this.c3(),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.dd,this.ao,this.an),this.gh(this.am),this.gk(this.am),this.gj(this.am,this.am.c.af,!0),this.gj(this.am,this.am.c.ag,!1));this.bc&&(this.f7(),this.gg(),1==this.a2?(this.a2=2,this.f9(this.ar.i(this.de),this.ao.c,!1,!0)):4==this.a2&&(this.di>0?(this.a2=5,this.f9(this.ar.i(this.de),this.an.c,!1,!0)):this.ft()),this.f8(),this.ga(),this.f6()),this.bc&&this.bm?(this.gn(),this.am.d(this.dd,this.ao,this.an),this.gh(this.am),this.gk(this.am),this.gj(this.am,this.am.c.af,!0),this.gj(this.am,this.am.c.ag,!1),this.gl(this.am),this.gi(this.am)):this.bc&&(this.gh(this.an),this.gk(this.an),this.gj(this.an,this.an.c.af,!0),this.gj(this.an,this.an.c.ag,!1),this.gl(this.an),this.gi(this.an)),this.bc=!1,this.view.as()}},e.prototype.ga=function(){var t=this.an.c,e=this.ar,n=this.cj;this.i4;t.u=this.c6,t.r=this.c1,t.s=this.c2,t.t=this.c4,t.m.clear();for(var r=0;r<this.ranges.count;r++){var a=this.ranges._inner[r];if(!(a.j<=this.b4||a.o>this.b3)){var s=a.o,l=a.j;s<this.b4&&(s=this.b4),l>this.b3&&(l=this.b3);var h=new o;h.i=null!=a.an?a.an:this.iq(r,this.ah),h.j=null!=a.ao?a.ao:this.iq(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.cy),h.b=a.k,i.isNaN_(h.b)&&(h.b=this.cy),h.f=a.n,i.isNaN_(h.f)&&(h.f=this.cz),h.c=a.m,i.isNaN_(h.c)&&(h.c=this.cz),t.m.add(h)}}t.ab=this.ip,t.ad=this.iw,t.x=this.dc,t.w=this.db,t.v=this.c8,t.ac=this.ir,t.q=this.cm,t.p=this.cl,t.o=this.ck;var u=this.cc;i.isNaN_(u)&&(u=(this.b3-this.b4)/10),0==u&&(u=this.b3-this.b4);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.b4+this.c9,f=this.b3-this.da;if(u>=Math.abs(f-g)/1e5)for(var y=g;y<=f||this.bo(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.i6=function(){if(!this.bi)return new i.Size(1,0,0);var t=this.cc,e=this.ce;i.isNaN_(t)&&(t=(this.b3-this.b4)/10),i.isNaN_(e)&&(e=t),0==e&&(e=this.b3-this.b4);var n=new i.List$1(i.Number_$type,0);if(e>0){var r=this.cf+this.b4,a=this.b3-this.cg;if(e>=Math.abs(a-r)/1e5)for(var o=r;o<=a||this.bo(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.c1+this.c6;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.f7=function(){var t=this.an.c,e=this.ar,n=this.cc,r=this.ce;this.cj;i.isNaN_(n)&&(n=(this.b3-this.b4)/10),i.isNaN_(r)&&(r=n),0==r&&(r=this.b3-this.b4);var a=new i.List$1(i.Tuple$2.$.specialize(i.Number_$type,i.Number_$type),0);if(r>0){var o=this.cf+this.b4,s=this.b3-this.cg;if(r>=Math.abs(s-o)/1e5)for(var l=o;l<=s||this.bo(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.cd;var h=new m;h.actualMinimumValue=this.b4,h.actualMaximumValue=this.b3;var u=new v;u.actualMinimumValue=this.b4,u.actualMaximumValue=this.b3;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.bi&&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.bi&&p.alignLabel(p,u),p.bi?(t.f[e]=u.width,t.c[e]=u.height):(t.f[e]=0,t.c[e]=0),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.bo=function(t,e,n){var r=n/1e4;return i.isNaN_(r)&&(r=1e-5),Math.abs(t-e)<r},e.prototype.f6=function(){var t=this.an.a;t.e=this.im,t.f=this.io,t.c=this.b8,t.a=this.b6,t.b=this.b7},e.prototype.f8=function(){var t=this.de;if(!i.isNaN_(t)){var e=!(0==this.a2||5==this.a2),n=this.an.c,r=this.ar,a=r.i(t);this.f9(a,n,e,!1);var o=this.ca;e&&!i.isNaN_(o)&&this.f9(r.i(o),n,!1,!0)}},e.prototype.f9=function(t,e,n,r){var a=new K;a.c=this.ap,a.e=this.bg,a.d=this.as,a.u=this.ct,a.q=this.cp,a.v=this.cu,a.r=this.cq,a.t=this.cs,a.p=this.co,a.s=this.cr,a.w=this.cv,a.o=.5*this.cn/this.c0();var o=new h,s=this.is,l=this.it;n&&(s=i.BrushUtil.s(s,this.b2),l=i.BrushUtil.s(l,this.b2)),o.r=s,o.s=l,o.o=this.cw;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.iq=function(t,e){return null!=e&&e.count>0?e.item(t%e.count):null},e.prototype.gl=function(t){var e=this.i4,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.br.count;y++)r.n(this.br._inner[y]);this.br.clear();for(var b=this.c0(),d=this.dg(),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.br.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.br.add(h)},P=this,$=0;$<u.length;$++)w($);r.f=!1},e.prototype.gi=function(t){var e=this.i4,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.bp.count;c++)u.n(this.bp._inner[c]);this.bp.clear();for(var p=i.ab,g=this.df(),f=this.dg(),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.bi?this.view.a4(m):this.view.a5(m),this.bp.add(m)}u.f=!1},e.prototype.gk=function(t){var e=t.c,n=this.a6;n.f=!0;for(var r=0;r<this.bq.count;r++)n.n(this.bq._inner[r]);this.bq.clear();var a=this.c0(),o=this.dg(),s=this.ix(),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.c3();l.an=e.ae(s,a,h,this.as),l._fill=this.iu,l._stroke=this.iv,l.ad=this.c7}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.bq.add(p)}this.view.bs(this.bq),n.f=!1},e.prototype.gh=function(t){var e=this.i3,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.bv=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.gj=function(t,e,n){if(n){if(this.bt=null,0==this.a2)return}else this.bu=null;var r=n?this.view.cm():this.view.cn(),a=this.de;if(i.isNaN_(a)||a<this.b4||a>this.b3)r.an=null;else{var o=this.c0(),s=this.dg(),l=o,h=e.p,u=0;1==this.as&&(h=this.i4.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.bv(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.bt=p,this.iz=m):(this.bu=p,this.i0=m)}}},e.prototype.f5=function(t,e){this.bc=!0,this.view.br()},e.prototype.fx=function(t,e){this.bc=!0,this.view.br()},e.prototype.c0=function(){return 0==this.as?this.bj?this.i5.height:this.i4.height:this.bj?this.i5.width:this.i4.width},e.prototype.c3=function(){return 0==this.as?this.i5.width*(this.c1-this.c6):this.i5.height*(this.c1-this.c6)},e.prototype.df=function(){return 0==this.as?this.i5.height:this.i5.width},e.prototype.dg=function(){return 0==this.as?this.i5.width:this.i5.height},e.prototype.c5=function(){var t=this.c6;return 0==this.as?(this.bg&&(t=1-this.c1),this.i5.left+this.i5.width*t):(this.bg&&(t=1-this.c1),this.i5.top+this.i5.height*t)},e.prototype.ix=function(){var t=this.i4.left;this.bj&&(t=0);var e=this.c6;return 0==this.as?(this.bg&&(e=1-this.c1),{$type:i.Point_$type,x:t+this.i4.width*e,y:this.i4.top}):(this.bg||(e=1-this.c1),{$type:i.Point_$type,x:t,y:this.i4.top+this.i4.height*e})},e.prototype.f3=function(t,n,r){switch(t){case e.$$p[0]:case e.$$p[3]:case e.$$p[49]:case e.$$p[53]:case e.$$p[57]:case e.$$p[24]:case e.$$p[30]:case e.$$p[40]:this.view.a8(t,n,r);break;case e.$$p[44]:this.view.bd(n,r);break;case e.$$p[47]:this.view.be(n,r);break;case"PixelScalingRatio":i.isNaN_(i.DeviceUtils.a(this.cx))?this.b5=1:this.b5=i.DeviceUtils.a(this.cx);break;case"ActualPixelScalingRatio":this.view.bi()}switch(t){case e.$$p[15]:case e.$$p[16]:null!=this.d4?(this.aj=new i.BindingFormatter,this.aj.j=this.d4,this.aj.d=this.ag):this.aj=null,this.bc=!0,this.view.br();break;case e.$$p[65]: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.gp();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.gp();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.gq();break;case"ActualHighlightValueOpacity":this.bc=!0,this.view.br();break;case e.$$p[64]:this.av.r=this.di,this.view.br();break;case"TransitionProgress":if(this.dd>=1){this.av.w();var h=this.an;if(this.an=this.ao,this.ao=h,this.f7(),this.f8(),this.ga(),this.f6(),this.gh(this.an),this.gk(this.an),this.gj(this.an,this.an.c.af,!0),this.gj(this.an,this.an.c.ag,!1),this.gl(this.an),this.gi(this.an),5==this.a2)return this.ft(),void this.view.br();2==this.a2&&(this.a2=3)}this.am.d(this.dd,this.ao,this.an),this.gh(this.am),this.gk(this.am),this.gj(this.am,this.am.c.af,!0),this.gj(this.am,this.am.c.ag,!1),this.gl(this.am),this.gi(this.am),this.view.as();break;case e.$$p[30]:case e.$$p[35]:case e.$$p[29]:case e.$$p[41]:case e.$$p[32]:case e.$$p[37]:case e.$$p[33]:case e.$$p[38]:case e.$$p[31]:case e.$$p[36]:case e.$$p[34]:case e.$$p[39]:case e.$$p[42]:case e.$$p[40]:case e.$$p[0]:case e.$$p[3]:case e.$$p[4]:case e.$$p[1]:case e.$$p[2]:case e.$$p[49]:case e.$$p[53]:case e.$$p[55]:case e.$$p[51]:case e.$$p[52]:case e.$$p[57]:case e.$$p[24]:case e.$$p[44]:case e.$$p[47]:case e.$$p[22]:case e.$$p[45]:case e.$$p[46]:case e.$$p[10]:case e.$$p[17]:case e.$$p[14]:case e.$$p[18]:case e.$$p[19]:case e.$$p[20]:case e.$$p[61]:case e.$$p[62]:case e.$$p[59]:case e.$$p[58]:case e.$$p[60]:case e.$$p[27]:case e.$$p[26]:case e.$$p[25]:case e.$$p[28]:this.bc=!0,this.view.br();break;case e.$$p[48]:var u=r;if(null!=n){var c=n;c.collectionChanged=i.delegateRemove(c.collectionChanged,i.runOn(this,this.ge))}if(null!=u){var p=u;p.collectionChanged=i.delegateCombine(p.collectionChanged,i.runOn(this,this.ge))}this.bc=!0,this.view.br();break;case e.$$p[43]:case e.$$p[13]:case e.$$p[23]:case e.$$p[21]:case e.$$p[50]:case e.$$p[54]:this.b4=Math.min(this.ci,this.ch),this.b3=Math.max(this.ci,this.ch);var f=this.c5();this.ar=new g(this.b4,this.b3,f,f+this.c3(),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.f4(t)},e.prototype.ge=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.gd))}}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.gd))}}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.gd=function(t,e){this.bc=!0,this.view.br()},e.prototype.fu=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.dt)},Object.defineProperty(e.prototype,"cx",{get:function(){return this.b0},set:function(t){var e=this.b0;this.b0=t,this.f3("PixelScalingRatio",e,this.b0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"b5",{get:function(){return this.bz},set:function(t){var e=this.bz;this.bz=t,this.f3("ActualPixelScalingRatio",e,this.bz)},enumerable:!1,configurable:!0}),e.$t=i.markType(e,"XamLinearGauge",i.Control.$,[i.INotifyPropertyChanged_$type]),e.$$p=i.markDep(i.DependencyProperty,i.PropertyMetadata,e,"f3",["BackingBrush:im:gr",[i.Brush.$,null],"BackingInnerExtent:b6:gs",[1,0],"BackingOuterExtent:b7:gt",[1,1],"BackingOutline:io:gu",[i.Brush.$,null],"BackingStrokeThickness:b8:gv",[1,2],"FontBrush:ip:gw",[i.Brush.$,null],"Font:dt:gx",[2,null],"HighlightValueDisplayMode:a1:gy",[i.HighlightedValueDisplayMode_$type,i.enumGetBox(i.HighlightedValueDisplayMode_$type,0)],"HighlightValueOpacity:cb:gz",[1,.5],"HighlightValue:ca:g0",[1,NaN],"Interval:cc:g1",[1,NaN],"IsHighlightNeedleDraggingEnabled:be:g2",[0,!1],"IsNeedleDraggingEnabled:bf:g3",[0,!1],"IsScaleInverted:bg:g4",[0,!1],"LabelExtent:cd:g5",[1,0],"LabelFormat:d4:g6",[2,null],"LabelFormatSpecifiers:ag:g7",[i.Array_$type,null],"LabelInterval:ce:g8",[1,NaN],"LabelsPostInitial:cf:g9",[1,0],"LabelsPreTerminal:cg:ha",[1,0],"LabelsVisible:bi:hb",[0,!0],"MaximumValue:ch:hc",[1,100],"MergeViewports:bj:hd",[0,!1],"MinimumValue:ci:he",[1,0],"MinorTickBrush:ir:hf",[i.Brush.$,null],"MinorTickCount:cj:hg",[1,4],"MinorTickEndExtent:ck:hh",[1,.35],"MinorTickStartExtent:cl:hi",[1,.05],"MinorTickStrokeThickness:cm:hj",[1,1],"NeedleBreadth:cn:hk",[1,6],"NeedleBrush:is:hl",[i.Brush.$,null],"NeedleInnerBaseWidth:co:hm",[1,NaN],"NeedleInnerExtent:cp:hn",[1,NaN],"NeedleInnerPointExtent:cq:ho",[1,NaN],"NeedleInnerPointWidth:cr:hp",[1,NaN],"NeedleName:ep:hq",[2,null],"NeedleOuterBaseWidth:cs:hr",[1,NaN],"NeedleOuterExtent:ct:hs",[1,NaN],"NeedleOuterPointExtent:cu:ht",[1,NaN],"NeedleOuterPointWidth:cv:hu",[1,NaN],"NeedleOutline:it:hv",[i.Brush.$,null],"NeedleShape:ap:hw",[Z,i.enumGetBox(Z,3)],"NeedleStrokeThickness:cw:hx",[1,1],"Orientation:as:hy",[y,i.enumGetBox(y,0)],"RangeBrushes:ah:hz",[i.BrushCollection.$,null],"RangeInnerExtent:cy:h0",[1,.05],"RangeOuterExtent:cz:h1",[1,.65],"RangeOutlines:ai:h2",[i.BrushCollection.$,null],"Ranges::h3",[d.$,null],"ScaleBrush:iu:h4",[i.Brush.$,null],"ScaleEndExtent:c1:h5",[1,.95],"ScaleInnerExtent:c2:h6",[1,.05],"ScaleOuterExtent:c4:h7",[1,.65],"ScaleOutline:iv:h8",[i.Brush.$,null],"ScaleStartExtent:c6:h9",[1,.05],"ScaleStrokeThickness:c7:ia",[1,1],"ShowToolTipTimeout:dh:ib",[1,500],"TickBrush:iw:ic",[i.Brush.$,null],"TickEndExtent:c8:id",[1,.65],"TickStartExtent:db:ih",[1,.05],"TickStrokeThickness:dc:ii",[1,2],"TicksPostInitial:c9:ie",[1,0],"TicksPreTerminal:da:ig",[1,0],"ToolTip::ij",[4,null],"TransitionDuration:di:ik",[1,0],"Value:de:il",[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=i.CanvasScalingHelpers.b(this.ah);this.m.b5=i.CanvasScalingHelpers.a(this.m.cx,this.m.b5,t),null!=this.i&&i.CanvasScalingHelpers.h(this.i,t)},e.prototype.bc=function(){this.k=new V,this.al=this.m.dh,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.is=i),null==this.cb&&(this.m.it=n);break;case"scale":null==this.cc&&(this.m.iu=i),null==this.cd&&(this.m.iv=n);break;case"backing":null==this.b7&&(this.m.im=i),null==this.b8&&(this.m.io=n);break;case"tick":null==this.ce&&(this.m.iw=i);break;case"minortick":null==this.b9&&(this.m.ir=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[30]:this.ca=n;break;case at.$$p[40]:this.cb=n;break;case at.$$p[0]:this.b7=n;break;case at.$$p[3]:this.b8=n;break;case at.$$p[49]:this.cc=n;break;case at.$$p[53]:this.cd=n;break;case at.$$p[57]:this.ce=n;break;case at.$$p[24]: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.c5(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.dh},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.dh,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.dh):this.ak=window.setTimeout(i.runOn(this,this.a2),10*this.m.dh);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.iq(e,this.c),i.outline=null!=a?a:this.m.iq(e,this.d),i.thickness=n.p;break;case"needle":i.item=this.m.de,i.itemName=this.m.ep,i.label=null!=this.m.ep?this.m.ep+": "+this.m.de.toString():this.m.de.toString(),i.brush=this.m.is,i.outline=this.m.it,i.thickness=this.m.cw}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.cx)?this.m.b5:this.m.cx;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.i5=new i.Rect(0,0,0,r,a),this.m.i3=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.af(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.aw()}},e.prototype.ba=function(){this.a3();var t=Math.round(this.ah.rootWrapper.width()),e=Math.round(this.ah.rootWrapper.height());this.m.i5=new i.Rect(0,0,0,t,e),this.m.i3=new i.Rect(0,0,0,t,e),null!=this.i&&(this.i.bm=this.m.i5)},e.prototype.as=function(){this.bp()},e.prototype.bs=function(t){this.x=t},e.prototype.bp=function(){var t=this.m.i5.width,e=this.m.i5.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.i5.left,this.m.i5.top,this.m.i5.width,this.m.i5.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.af(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.dt?this.n=this.m.ay():this.n=i.FontUtil.getFont(this.ah),this.ac=this.ae(this.n),null==this.m.ip){var t=this.ah.rootWrapper.getStyleProperty("color");0==i.stringIsNullOrEmpty(t)&&(this.b5=new i.Brush,this.b5._fill=t,this.m.ip=this.b5)}null!=this.p&&this.p.af(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.fo())},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 O,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.au(this.ah.rootWrapper,"")},e.prototype.bb=function(){null!=this.i&&null!=this.ah&&this.i.bi(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.b5},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.dd},set:function(t){this.i.dd=+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.ci},set:function(t){this.i.ci=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actualMinimumValue",{get:function(){return this.i.b4},set:function(t){this.i.b4=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maximumValue",{get:function(){return this.i.ch},set:function(t){this.i.ch=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actualMaximumValue",{get:function(){return this.i.b3},set:function(t){this.i.b3=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.i.de},set:function(t){this.i.de=+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.ep},set:function(t){this.i.ep=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rangeInnerExtent",{get:function(){return this.i.cy},set:function(t){this.i.cy=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scaleInnerExtent",{get:function(){return this.i.c2},set:function(t){this.i.c2=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rangeOuterExtent",{get:function(){return this.i.cz},set:function(t){this.i.cz=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scaleOuterExtent",{get:function(){return this.i.c4},set:function(t){this.i.c4=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleInnerExtent",{get:function(){return this.i.cp},set:function(t){this.i.cp=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleOuterExtent",{get:function(){return this.i.ct},set:function(t){this.i.ct=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleInnerBaseWidth",{get:function(){return this.i.co},set:function(t){this.i.co=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleOuterBaseWidth",{get:function(){return this.i.cs},set:function(t){this.i.cs=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleInnerPointWidth",{get:function(){return this.i.cr},set:function(t){this.i.cr=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleOuterPointWidth",{get:function(){return this.i.cv},set:function(t){this.i.cv=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleInnerPointExtent",{get:function(){return this.i.cq},set:function(t){this.i.cq=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleOuterPointExtent",{get:function(){return this.i.cu},set:function(t){this.i.cu=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"interval",{get:function(){return this.i.cc},set:function(t){this.i.cc=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ticksPostInitial",{get:function(){return this.i.c9},set:function(t){this.i.c9=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ticksPreTerminal",{get:function(){return this.i.da},set:function(t){this.i.da=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelInterval",{get:function(){return this.i.ce},set:function(t){this.i.ce=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelExtent",{get:function(){return this.i.cd},set:function(t){this.i.cd=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelsPostInitial",{get:function(){return this.i.cf},set:function(t){this.i.cf=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelsPreTerminal",{get:function(){return this.i.cg},set:function(t){this.i.cg=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minorTickCount",{get:function(){return this.i.cj},set:function(t){this.i.cj=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tickStartExtent",{get:function(){return this.i.db},set:function(t){this.i.db=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tickEndExtent",{get:function(){return this.i.c8},set:function(t){this.i.c8=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tickStrokeThickness",{get:function(){return this.i.dc},set:function(t){this.i.dc=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tickBrush",{get:function(){return i.brushToString(this.i.iw)},set:function(t){this.i.iw=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fontBrush",{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,"needleBreadth",{get:function(){return this.i.cn},set:function(t){this.i.cn=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"needleBrush",{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,"needleOutline",{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,"needleStrokeThickness",{get:function(){return this.i.cw},set:function(t){this.i.cw=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minorTickStartExtent",{get:function(){return this.i.cl},set:function(t){this.i.cl=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minorTickEndExtent",{get:function(){return this.i.ck},set:function(t){this.i.ck=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minorTickStrokeThickness",{get:function(){return this.i.cm},set:function(t){this.i.cm=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minorTickBrush",{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,"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.im)},set:function(t){this.i.im=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"backingOutline",{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,"backingStrokeThickness",{get:function(){return this.i.b8},set:function(t){this.i.b8=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"backingInnerExtent",{get:function(){return this.i.b6},set:function(t){this.i.b6=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"backingOuterExtent",{get:function(){return this.i.b7},set:function(t){this.i.b7=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scaleStartExtent",{get:function(){return this.i.c6},set:function(t){this.i.c6=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scaleEndExtent",{get:function(){return this.i.c1},set:function(t){this.i.c1=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scaleBrush",{get:function(){return i.brushToString(this.i.iu)},set:function(t){this.i.iu=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scaleOutline",{get:function(){return i.brushToString(this.i.iv)},set:function(t){this.i.iv=i.stringToBrush(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scaleStrokeThickness",{get:function(){return this.i.c7},set:function(t){this.i.c7=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"mergeViewports",{get:function(){return this.i.bj},set:function(t){this.i.bj=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelsVisible",{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.d4},set:function(t){this.i.d4=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.di},set:function(t){this.i.di=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"highlightValue",{get:function(){return this.i.ca},set:function(t){this.i.ca=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actualHighlightValueOpacity",{get:function(){return this.i.b2},set:function(t){this.i.b2=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"highlightValueOpacity",{get:function(){return this.i.cb},set:function(t){this.i.cb=+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.dh},set:function(t){this.i.dh=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showToolTip",{get:function(){return this.i.bn},set:function(t){this.i.bn=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"font",{get:function(){return this.i.dt},set:function(t){this.i.dt=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pixelScalingRatio",{get:function(){return this.i.cx},set:function(t){this.i.cx=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actualPixelScalingRatio",{get:function(){return this.i.b5},set:function(t){this.i.b5=+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.b9(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.ds()},t.prototype.flush=function(){this.i.fs()},t.prototype.provideContainer=function(t){this.i.provideContainer(t)},t.prototype.containerResized=function(){this.i.containerResized()},t.prototype.styleUpdated=function(){this.i.go()},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",labelsVisible:"labelsVisible",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}],labelsVisible:[{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.p(l.e),u=i.MathUtil.p(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),jt=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),Ot=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),Ct=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 Ot,e.p=new Ot,e.m=new Ot,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.e(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),Nt=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)),j=Math.sin(c),O=Math.cos(u),I=Math.cos(c);t._startPoint={$type:i.Point_$type,x:g*w+n,y:p*w+r};var C,N=((C=new i.ArcSegment).e={$type:i.Point_$type,x:$*d+n,y:P*d+r},C.b=2*_>Math.PI,C.d=1,C.f=new i.Size(1,b,b),C),T=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=j*d+r,E={$type:i.Point_$type,x:I*m+n,y:j*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.o(L,D,{$type:i.Point_$type,x:n,y:r},m),z=(i.Point_$type,O*d+n),A=S*d+r,G={$type:i.Point_$type,x:O*m+n,y:S*m+r},q={$type:i.Point_$type,x:g*d+n,y:p*d+r},H={$type:i.Point_$type,x:g*m+n,y:p*m+r},U=q.y,W=q.x;z-G.x!=0&&(W=n,U=(A-G.y)/(z-G.x)*(n-q.x)+q.y);H={$type:i.Point_$type,x:W,y:U},this.a(H.x,q.x)&&this.a(H.y,q.y)&&(H=G);var X=i.GeometryUtil.o(H,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(T);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(T);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(N),t._segments.add(T),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.g({$type:i.Point_$type,x:n,y:r},Y),et=i.GeometryUtil.g({$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),Tt=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 jt,e.b=new jt,e.d=new Ct,e.a=new Nt,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.o({$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,j=k.d;if(_=S.x,w=j.x,P=S.y,$=j.y,_>w){var O=_;_=w,w=O,O=P,P=$,$=O}}}if(x){var I=i.GeometryUtil.o({$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 C=!1,N=!1;l&&g>=_&&(C=!0),l&&f<=w&&(N=!0),(i.isNaN_(y)||y>_)&&(y=_),b<w&&(b=w);var T=a,V=p,M=p;y+d>_&&(T=!1);var B=y,E=h,D=y,L=h,F=_,R=P,z=w;if(T){var A=i.GeometryUtil.o({$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))T=!1;else if(T=!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}}C&&(T=!1),T&&g>=B&&(C=!0,V=d,F=B,R=E,D),T&&f<=D&&(N=!0,M=d,M=d,B,E,z=D);var q=g,H=t.a,U=H.f,W=h;C&&(q=F,H.b=!0,H.d=!1,H.c=!1,H.h=V,y=F,g=F,W=R,h=R,l=!1),N&&(b=z,f=z,l=!1);var X=C||N||l;U.add({$type:i.Point_$type,x:q,y:-1*W}),U.add({$type:i.Point_$type,x:q,y:W}),(U=(H=t.d).f).add({$type:i.Point_$type,x:q,y:W}),q=B,W=this.c(g,h,b,c,q),U.add({$type:i.Point_$type,x:q,y:W}),U=(H=t.b).f,T&&(H.b=!0,H.d=!1,H.c=!1,H.h=d),U.add({$type:i.Point_$type,x:q,y:W}),q=D,W=this.c(g,h,b,c,q),U.add({$type:i.Point_$type,x:q,y:W}),(U=(H=t.t).f).add({$type:i.Point_$type,x:q,y:W}),q=_,W=this.c(g,h,b,c,q),U.add({$type:i.Point_$type,x:q,y:W}),U=(H=t.e).f,X&&(H.b=!0,H.d=!1,H.c=!1,H.h=p),U.add({$type:i.Point_$type,x:q,y:W}),q=w,W=this.c(g,h,b,c,q),U.add({$type:i.Point_$type,x:q,y:W}),(U=(H=t.f).f).add({$type:i.Point_$type,x:q,y:W}),q=b,W=this.c(g,h,b,c,q),U.add({$type:i.Point_$type,x:q,y:W}),(U=(H=t.x).f).add({$type:i.Point_$type,x:q,y:W}),U.add({$type:i.Point_$type,x:q,y:W}),(U=(H=t.v).f).add({$type:i.Point_$type,x:q,y:W}),q=f,W=this.c(b,c,f,u,q),U.add({$type:i.Point_$type,x:q,y:W}),U=(H=t.w).f,N&&(q=z,H.b=!0,H.d=!1,H.c=!1,H.h=M),U.add({$type:i.Point_$type,x:q,y:W}),U.add({$type:i.Point_$type,x:q,y:-1*W}),(U=(H=t.z).f).add({$type:i.Point_$type,x:q,y:-1*W}),q=b,W=this.c(g,h,b,c,q),U.add({$type:i.Point_$type,x:q,y:-1*W}),(U=(H=t.y).f).add({$type:i.Point_$type,x:q,y:-1*W}),U.add({$type:i.Point_$type,x:q,y:-1*W}),(U=(H=t.u).f).add({$type:i.Point_$type,x:q,y:-1*W}),q=w,W=this.c(g,h,b,c,q),U.add({$type:i.Point_$type,x:q,y:-1*W}),U=(H=t.h).f,X&&(H.b=!0,H.d=!1,H.c=!1,H.h=p),U.add({$type:i.Point_$type,x:q,y:-1*W}),q=_,W=this.c(g,h,b,c,q),U.add({$type:i.Point_$type,x:q,y:-1*W}),(U=(H=t.g).f).add({$type:i.Point_$type,x:q,y:-1*W}),q=D,W=this.c(g,h,b,c,q),U.add({$type:i.Point_$type,x:q,y:-1*W}),U=(H=t.c).f,T&&(H.b=!0,H.d=!1,H.c=!1,H.h=d),U.add({$type:i.Point_$type,x:q,y:-1*W}),q=B,W=this.c(g,h,b,c,q),U.add({$type:i.Point_$type,x:q,y:-1*W}),(U=(H=t.s).f).add({$type:i.Point_$type,x:q,y:-1*W}),q=g,W=this.c(g,h,b,c,q),U.add({$type:i.Point_$type,x:q,y:-1*W}),U=(H=t.q).f,x&&X&&(H.b=!0,H.c=!0,H.d=!1,H.h=m,U.add({$type:i.Point_$type,x:0+m,y:0}),U.add({$type:i.Point_$type,x:0-m,y:0})),U=(H=t.r).f,x&&X&&(H.b=!0,H.c=!0,H.d=!0,H.h=m,U.add({$type:i.Point_$type,x:0-m,y:0}),U.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 j=S.value;null!=j.rangePath&&j.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 j=S.value;x?x=!1:f.l(", "),f.u(j.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 O=!0;f.l("highlightLabels: [");try{for(var I=n.__values(i.fromEnum(this.highlightLabels)),C=I.next();!C.done;C=I.next()){var N=C.value;O?O=!1:f.l(", "),f.u(N.serialize())}}catch(t){l={error:t}}finally{try{C&&!C.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 T=!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;T?T=!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),Ht=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 Ut(n),n.view.az(),n.ml=i.Rect.empty,n.a4=new Tt,n.a3=new Tt,n.a2=new Tt,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.p(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.g({$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),j=e.af/2,O={$type:i.Point_$type,x:e.ad*d,y:j*d},I={$type:i.Point_$type,x:e.ac*d,y:j*d},C={$type:i.Point_$type,x:e.ac*d,y:-j*d},N={$type:i.Point_$type,x:e.ad*d,y:-j*d};O={$type:i.Point_$type,x:O.x*k-O.y*S+v,y:O.y*k+O.x*S+_},I={$type:i.Point_$type,x:I.x*k-I.y*S+v,y:I.y*k+I.x*S+_},C={$type:i.Point_$type,x:C.x*k-C.y*S+v,y:C.y*k+C.x*S+_},N={$type:i.Point_$type,x:N.x*k-N.y*S+v,y:N.y*k+N.x*S+_},r.add(O),r.add(I),r.add(C),r.add(N),j=e.af/2*d;var T={$type:i.Point_$type,x:e.ad*d,y:j},V={$type:i.Point_$type,x:e.ac*d,y:j},M={$type:i.Point_$type,x:e.ac*d,y:-j},B={$type:i.Point_$type,x:e.ad*d,y:-j};T={$type:i.Point_$type,x:T.x*k-T.y*S+v,y:T.y*k+T.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(T),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,j=p.ac,O=p.aa,I=p.x,C=p.aj,N=p.ak,T=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=O,H=I,U=!1;(I+=L)-(O-=L)>=2*Math.PI&&(U=!0,O=0,I=Math.PI);var W,X=new i.PathGeometry,Z=new i.PathFigure,Y=Math.cos(O),Q=Math.sin(O),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=U;if(0!=L&&!U&&F){var ht=Math.cos(q),ut=Math.sin(q),ct=Math.cos(H),pt=Math.sin(H),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.o(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.o(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))U=!0,O=0,I=Math.PI;else{var jt=void 0,Ot=void 0;if(jt=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,Ot=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(Ot.x-it,2)+Math.pow(Ot.y-nt,2)<=Math.pow(jt.x-it,2)+Math.pow(jt.y-nt,2))U=!0,O=0,I=Math.PI;else{for(var It=i.GeometryUtil.g({$type:i.Point_$type,x:A,y:G},jt),Ct=i.GeometryUtil.g({$type:i.Point_$type,x:A,y:G},Ot),Nt=O,Tt=I;Nt>2*Math.PI;)Nt-=2*Math.PI;for(;Tt>2*Math.PI;)Tt-=2*Math.PI;var Vt=Math.min(Math.abs(It-Nt),Math.abs(2*Math.PI-It-Nt)),Mt=Math.min(Math.abs(Ct-Tt),Math.abs(2*Math.PI-Ct-Tt));I-O+Vt+Mt>=2*Math.PI?(U=!0,O=0,I=Math.PI):(tt=jt.x,et=jt.y,rt=Ot.x,at=Ot.y)}}}if(U&&!lt&&(Y=Math.cos(O),Q=Math.sin(O),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),U){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-O>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-O>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=C;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 Ht=n.__values(i.fromEnum(this.c1)),Ut=Ht.next();!Ut.done;Ut=Ht.next()){var Wt=Ut.value;qt.n(Wt)}}catch(t){s={error:t}}finally{try{Ut&&!Ut.done&&(l=Ht.return)&&l.call(Ht)}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*j*Math.cos(x[t]),a=G+R*j*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=N,o.ad=T,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 je=p.r._inner[Se],Oe=xe.a();Oe.an=je.m(R,A,G),Oe._fill=je.k,Oe._stroke=je.l,Oe.ad=je.h,this.cs.add(Oe)}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.g(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.g(this.a9.h(this.ff))+180)%360);var j=this.av(this.ff,S,this.id,this.co,this.ap,this.formatTitle),O=this.bs.a(),I=this.aq(this.fc,this.mh,O,j,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=O.b(I.font);var C=this.e3;this.cn&&(C=(i.MathUtil.g(this.a9.h(this.ff))+180)%360);var N=this.av(this.ff,C,this.hy,this.cm,this.ao,this.formatSubtitle),T=this.br.a(),V=this.aq(this.e4,this.mf,T,N,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=T.b(V.font);var M=this.dp;this.b8&&(M=(i.MathUtil.g(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],H=this.es(Math.min(q.o,q.j)),U=this.es(Math.max(q.o,q.j));if(!i.isNaN_(H)&&!i.isNaN_(U)){var W=r.h(H),X=r.h(U),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),Ut=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.af(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.au(this.ac.rootWrapper,"")},e.prototype.ay=function(){null!=this.g&&null!=this.ac&&this.g.bi(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=i.CanvasScalingHelpers.b(this.ac);this.h.db=i.CanvasScalingHelpers.a(this.h.eo,this.h.db,t),null!=this.g&&i.CanvasScalingHelpers.h(this.g,t)},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.af(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.ap=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.ap=null,this.g.aw()}},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.af(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.af(s.dataContext),this.k.x(s)}for(var l=0;l<this.v.count;l++){var h=this.v._inner[l];this.k.af(h.dataContext),this.k.x(h)}for(var u=0;u<this.u.count;u++){var c=this.u._inner[u];this.k.af(c.dataContext),this.k.x(c)}for(var p=0;p<this.t.count;p++){var g=this.t._inner[p];this.k.af(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.bm=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 j=n.__values(i.fromEnum(this.u)),O=j.next();!O.done;O=j.next()){var I=O.value;if(0==I._visibility){var C=I.dataContext,N=new Lt;N.labelValue=I.al,N.labelPosition=i.PointData.b({$type:i.Point_$type,x:I.n,y:I.o}),N.labelSize=i.SizeData.b(this.ch(I,C)),N.appearance=i.AppearanceHelper.c(I,C),t.subtitleLabels.add(N)}}}catch(t){s={error:t}}finally{try{O&&!O.done&&(l=j.return)&&l.call(j)}finally{if(s)throw s.error}}try{for(var T=n.__values(i.fromEnum(this.t)),V=T.next();!V.done;V=T.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=T.return)&&u.call(T)}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,H=new i.PathVisualData(1,"range",G);q.rangePath=H,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 Ht.$$p[41]:this.bu=n;break;case Ht.$$p[44]:this.bv=n;break;case Ht.$$p[45]:this.bw=n;break;case Ht.$$p[47]:this.bx=n;break;case Ht.$$p[0]:this.br=n;break;case Ht.$$p[4]:this.bs=n;break;case Ht.$$p[62]:this.by=n;break;case Ht.$$p[78]:this.b0=n;break;case Ht.$$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 Ht},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=Nt,t.BulletGraphFrame=p,t.BulletGraphScaleFrame=c,t.BulletGraphStylingDefaults=E,t.BulletGraphTargetValueVisualData=N,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=H,t.IgxBulletGraphCoreModule=q,t.IgxBulletGraphDynamicModule=W,t.IgxBulletGraphModule=U,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=O,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=T,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=Tt,t.RadialGaugeNeedleFrame=jt,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=Ct,t.RadialGaugeScaleFrameLabel=Ot,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=j,t.ValueVisualData=C,t.XamBulletGraph=M,t.XamBulletGraphView=B,t.XamLinearGauge=at,t.XamLinearGaugeView=ot,t.XamLinearGraphRange=b,t.XamRadialGauge=Ht,t.XamRadialGaugeRange=Pt,t.XamRadialGaugeView=Ut,Object.defineProperty(t,"__esModule",{value:!0})}));