oi-metrology/Static/igniteui/js/modules/infragistics.zoomslider_core.js
2024-06-14 16:51:30 -07:00

21 lines
63 KiB
JavaScript

/*!@license
* Infragistics.Web.ClientUI infragistics.zoomslider_core.js 19.1.20191.172
*
* Copyright (c) 2011-2019 Infragistics Inc.
*
* http://www.infragistics.com/
*
* Depends:
* jquery-1.4.4.js
* jquery.ui.core.js
* jquery.ui.widget.js
* infragistics.util.js
* infragistics.ext_core.js
* infragistics.ext_collections.js
* infragistics.dv_core.js
* infragistics.dv_geometry.js
* infragistics.dv_interactivity.js
* infragistics.ext_ui.js
*/
(function(factory){if(typeof define==="function"&&define.amd){define(["./infragistics.util","./infragistics.ext_core","./infragistics.ext_collections","./infragistics.dv_core","./infragistics.dv_geometry","./infragistics.dv_interactivity","./infragistics.ext_ui"],factory)}else{factory(igRoot)}})(function($){$.ig=$.ig||{};var $$t={};$.ig.globalDefs=$.ig.globalDefs||{};$.ig.globalDefs.$$a8=$$t;$$0=$.ig.globalDefs.$$0;$$4=$.ig.globalDefs.$$4;$$1=$.ig.globalDefs.$$1;$$w=$.ig.globalDefs.$$w;$$r=$.ig.globalDefs.$$r;$$al=$.ig.globalDefs.$$al;$$6=$.ig.globalDefs.$$6;$$a=$.ig.globalDefs.$$a;$.ig.$currDefinitions=$$t;$.ig.util.bulkDefine(["ZoomSliderView:a","ITrackShadeVisual:c","ITrackBarVisual:f","ITrackRangeVisual:h","ITrackThumbCalloutVisual:j","ITrackThumbVisual:l","ITrackOwner:o","ZoomSlider:p","ZoomSliderResolvingAxisValueEventHandler:r","TrackThumbRange:s","TrackThumb:t"]);var $a=$.ig.intDivide,$b=$.ig.util.cast,$c=$.ig.util.defType,$d=$.ig.util.defEnum,$e=$.ig.util.getBoxIfEnum,$f=$.ig.util.getDefaultValue,$g=$.ig.util.getEnumValue,$h=$.ig.util.getValue,$i=$.ig.util.intSToU,$j=$.ig.util.nullableEquals,$k=$.ig.util.nullableIsNull,$l=$.ig.util.nullableNotEquals,$m=$.ig.util.toNullable,$n=$.ig.util.toString$1,$o=$.ig.util.u32BitwiseAnd,$p=$.ig.util.u32BitwiseOr,$q=$.ig.util.u32BitwiseXor,$r=$.ig.util.u32LS,$s=$.ig.util.unwrapNullable,$t=$.ig.util.wrapNullable,$u=String.fromCharCode,$v=$.ig.util.castObjTo$t,$w=$.ig.util.compareSimple,$x=$.ig.util.tryParseNumber,$y=$.ig.util.tryParseNumber1,$z=$.ig.util.numberToString,$0=$.ig.util.numberToString1,$1=$.ig.util.parseNumber;$d("ZoomSliderVisualArea:v",false,false,{LowerThumb:0,HigherThumb:1,LowerShade:2,HigherShade:3,RangeThumb:4,Bar:5,None:6});$d("ThumbRangePosition:u",false,false,{PinnedLower:0,PinnedHigher:1});$d("ZoomSliderOrientation:n",false,false,{Horizontal:0,Vertical:1});$d("TrackShadeOrientation:d",false,false,{HorizontalLower:0,HorizontalHigher:1,VerticalLower:2,VerticalHigher:3});$d("ZoomSliderCursor:b",false,false,{"Default:$default":0,LeftRight:1,UpDown:2,Move:3});$c("ZoomSliderView:a","Object",{init:function(a){this.p=false;this.t=null;this.l=null;this.y=-1;this.r=10;this.k=0;$.ig.$op.init.call(this);this._j=a;this._i=new $$t.m;this._h=new $$t.m;this._c=new $$t.i;this._b=new $$t.g;this._e=new $$t.e;this._d=new $$t.e;this._g=new $$t.k;this._f=new $$t.k;this.m=this.n();this.am()},p:false,_i:null,_h:null,_c:null,_b:null,_e:null,_d:null,_g:null,_f:null,_j:null,an:function(){if(!this.p){if(this._u!=null){this.p=true;this._u.setTimeout(this.az.runOn(this),0)}}},ai:function(){this.az()},az:function(){if(!this.p){return}this.p=false;this._j.d6();this.at()},at:function(){if(this._o==null){return}var a=this._j._fj.width();var b=this._j._fj.height();var c=Math.round(a*this.s);var d=Math.round(b*this.s);if(this.x!=c||this.w!=d){this._v.setAttribute("width",c.toString());this._v.setAttribute("height",d.toString());this._v.setStyleProperty("width",a.toString()+"px");this._v.setStyleProperty("height",b.toString()+"px");this.x=$.ig.truncate(Math.round(c));this.w=$.ig.truncate(Math.round(d))}if(this._o.d()&&this.s!=1){this._o.z();this._o.aa(this.s,this.s)}this._o.k(this._j._fj.left(),this._j._fj.top(),this._j._fj.width(),this._j._fj.height());this.ax(this._i.allPaths(),this._i.translateX(),this._i.translateY());this.ax(this._h.allPaths(),this._h.translateX(),this._h.translateY());this.ax(this._c.allPaths(),this._c.translateX(),this._c.translateY());this.ax(this._b.allPaths(),this._b.translateX(),this._b.translateY());this.ax(this._e.allPaths(),this._e.translateX(),this._e.translateY());this.ax(this._d.allPaths(),this._d.translateX(),this._d.translateY());this.ax(this._g.allPaths(),this._g.translateX(),this._g.translateY());this.ax(this._f.allPaths(),this._f.translateX(),this._f.translateY());this.ay(this._g.calloutText(),this._g.textTranslateX(),this._g.textTranslateY());this.ay(this._f.calloutText(),this._f.textTranslateX(),this._f.textTranslateY());this.au(this._b.allPaths());this.au(this._c.allPaths());this.au(this._e.allPaths());this.au(this._d.allPaths());this.au(this._i.allPaths());this.au(this._h.allPaths());this.au(this._g.allPaths());this.au(this._f.allPaths());this.av(this._g.calloutText());this.av(this._f.calloutText());if(this._o.d()&&this.s!=1){this._o.y()}},av:function(a){if(a._j!=null){this._o.z()}this._o.j(a._j);this._o.w(a);if(a._j!=null){this._o.y()}},au:function(a){for(var b=0;b<a.count();b++){var c=a.item(b);if(c._j!=null){this._o.z()}this._o.j(c._j);this._o.s(c);if(c._j!=null){this._o.y()}}},ay:function(a,b,c){if(a._j==null){a._j=new $$a.bn}var d=a._j;d._j=b;d._k=c},ax:function(a,b,c){for(var d=0;d<a.count();d++){var e=a.item(d);if(e._j==null){e._j=new $$a.bn}var f=e._j;f._j=b;f._k=c}},_u:null,_v:null,_o:null,s:0,q:false,x:0,w:0,m:null,_a:null,am:function(){var $self=this;if(this.t==null){this.t=function(a){var b=$self._j.pixelScalingRatio();var c=$self._j.actualPixelScalingRatio();if(!$.ig.util.isNaN(b)&&b!=0){return}if(window.devicePixelRatio!=window.undefined&&window.devicePixelRatio!=c){$self._j.actualPixelScalingRatio(window.devicePixelRatio)}};window.addEventListener("resize",this.t,false)}this.t(null)},t:null,ar:function(a){var $self=this;if(a==null){this._v=null;this._u=null;this._o=null;this.aa();if(this.t!=null){window.removeEventListener("resize",this.t,false);this.t=null}return}this.s=$.ig.util.isNaN(this._j.pixelScalingRatio())?this._j.actualPixelScalingRatio():this._j.pixelScalingRatio();var b=a;this._u=b;this._j.l().provideRenderer(this._u);this._u.rootWrapper().addClass("ui-zoomslider-container");var c=this.s;var d=Math.round(b.rootWrapper().width());var e=Math.round(b.rootWrapper().height());var f=d*c;var g=e*c;this._u.rootWrapper().setStyleProperty("position","relative");var h=this._u.createElement("canvas");h.setStyleProperty("position","absolute");this._u.append(h);this.x=$.ig.truncate(Math.round(f));this.w=$.ig.truncate(Math.round(g));h.setAttribute("width",f.toString());h.setAttribute("height",g.toString());h.setStyleProperty("width",d.toString()+"px");h.setStyleProperty("height",e.toString()+"px");this._v=h;var i=this._u.get2DCanvasContext(this._v);this._o=new $.ig.RenderingContext(new $.ig.CanvasViewRenderer,i);this._o.ac(this.m);this.aa();this._a=new $.ig.CanvasGestureDOMEventProxy(this._u.rootWrapper(),this._u,false);this._a._bc=this._j._fj;var j=this._a;j.onContactStarted=$.ig.Delegate.prototype.combine(j.onContactStarted,this.ah.runOn(this));var k=this._a;k.onContactMoved=$.ig.Delegate.prototype.combine(k.onContactMoved,this.ag.runOn(this));var l=this._a;l.onContactCompleted=$.ig.Delegate.prototype.combine(l.onContactCompleted,this.af.runOn(this));this._a._ai=function(m){return $self._j._fh.containsPoint(m)};this._j.de(0,0,d,e);this.r=$.ig.FontUtil.prototype.getCurrentFontHeight(this._u,this.m);this._j.trackDirty();this._u.setTimeout(this.ak.runOn(this),200)},af:function(a,b){this._j.c8(a)},ag:function(a,b){this._j.c9(a)},ah:function(a,b){this._j.ae(a)},aa:function(){if(this._a!=null){var a=this._a;a.onContactStarted=$.ig.Delegate.prototype.remove(a.onContactStarted,this.ah.runOn(this));var b=this._a;b.onContactMoved=$.ig.Delegate.prototype.remove(b.onContactMoved,this.ag.runOn(this));var c=this._a;c.onContactCompleted=$.ig.Delegate.prototype.remove(c.onContactCompleted,this.af.runOn(this));this._a._ai=null;this._a.an()}},as:function(){},ao:function(){this.ap(true)},ap:function(a){if(this._u==null||this._u.rootWrapper()==null){return}var b=Math.round(this._u.rootWrapper().width());var c=Math.round(this._u.rootWrapper().height());var d=b!=this._j._fj.width()||c!=this._j._fj.height();if(a||d){this._j.de(0,0,b,c);if(this._a!=null){this._a._bc=this._j._fj}}},aj:function(){},n:function(){return function(){var $ret=new $.ig.FontInfo;$ret.n("Verdana");$ret.d(10);return $ret}()},l:null,y:0,r:0,a0:function(a,b,c){if(a.ak()!=b){a.ak(b)}if(this.l!=c){this.l=c;this.m=this.l;this.r=$.ig.FontUtil.prototype.getCurrentFontHeight(this._u,this.m);this._o.ac(this.l);this._j.trackDirty()}},k:0,ac:function(){if(this.k!=3){this.k=3;this._u.rootWrapper().setStyleProperty("cursor","move")}},ae:function(){if(this.k!=2){this.k=2;this._u.rootWrapper().setStyleProperty("cursor","ns-resize")}},ab:function(){if(this.k!=0){this.k=0;this._u.rootWrapper().setStyleProperty("cursor","inherit")}},ad:function(){if(this.k!=1){this.k=1;this._u.rootWrapper().setStyleProperty("cursor","ew-resize")}},a1:function(a){var b=this.r;var c=this._o.f(a.ak());return new $$a.af(1,c,b)},aq:function(){this.s=this._j.actualPixelScalingRatio();this.an()},aw:function(){if(this._u==null||this._u.rootWrapper()==null){return}this._u.rootWrapper().show()},al:function(){if(this._u==null||this._u.rootWrapper()==null){return}this._u.rootWrapper().hide()},ak:function(){if(this._u==null){return}this.ap(false);this._u.setTimeout(this.ak.runOn(this),200)},$type:new $.ig.Type("ZoomSliderView",$.ig.$ot)},true);$c("ITrackShadeVisual:c","Object",{$type:new $.ig.Type("ITrackShadeVisual",null)},true);$c("DefaultTrackShadeVisual:e","Object",{_translateX:0,translateX:function(a){if(arguments.length===1){this._translateX=a;return a}else{return this._translateX}},_translateY:0,translateY:function(a){if(arguments.length===1){this._translateY=a;return a}else{return this._translateY}},init:function(){this.a=0;this.c=-1;this.b=-1;$.ig.$op.init.call(this);this.shadeBox(new $$a.bs);this.shadeOutline(new $$a.bs);this.allPaths(new $$4.x($$a.$bs.$type,0));this.allPaths().add(this.shadeBox());this.allPaths().add(this.shadeOutline());this.shadeBox().__fill=this.getShadeBoxDefaultBrush();this.shadeOutline().__stroke=this.getShadeOutlineDefaultBrush();this.shadeOutline()._ac=this.getShadeOutlineDefaultStrokeThickness()},getShadeBoxDefaultBrush:function(){return function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(128,255,255,255));return $ret}()},getShadeOutlineDefaultBrush:function(){return function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(255,185,185,185));return $ret}()},getShadeOutlineDefaultStrokeThickness:function(){return 1},d:function(){var a=new $$a.a7;var b=new $$a.a8;var c=new $$a.bg;b.__isClosed=true;b.__isFilled=true;b.__startPoint={__x:this.width()/-2,__y:this.height()/-2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};c.__points.add({__x:this.width()/2,__y:this.height()/-2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});c.__points.add({__x:this.width()/2,__y:this.height()/2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});c.__points.add({__x:this.width()/-2,__y:this.height()/2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});b.__segments.add(c);a._b.add(b);this.shadeBox()._aj=a},e:function(){var a=new $$a.a7;var b=new $$a.a8;var c=new $$a.bg;b.__isClosed=false;b.__isFilled=false;switch(this.orientation()){case 0:b.__startPoint={__x:this.width()/-2,__y:this.height()/-2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};c.__points.add({__x:this.width()/2,__y:this.height()/-2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});c.__points.add({__x:this.width()/2,__y:this.height()/2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});break;case 1:b.__startPoint={__x:this.width()/-2,__y:this.height()/2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};c.__points.add({__x:this.width()/-2,__y:this.height()/-2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});c.__points.add({__x:this.width()/2,__y:this.height()/-2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});break;case 2:b.__startPoint={__x:this.width()/2,__y:this.height()/2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};c.__points.add({__x:this.width()/-2,__y:this.height()/2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});c.__points.add({__x:this.width()/-2,__y:this.height()/-2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});break;case 3:b.__startPoint={__x:this.width()/2,__y:this.height()/-2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};c.__points.add({__x:this.width()/-2,__y:this.height()/-2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});c.__points.add({__x:this.width()/-2,__y:this.height()/2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});break}b.__segments.add(c);a._b.add(b);this.shadeOutline()._aj=a},a:0,orientation:function(a){if(arguments.length===1){var b=this.a;this.a=a;if(b!=this.a){this.f()}return a}else{return this.a}},c:0,width:function(a){if(arguments.length===1){var b=this.c;this.c=a;if(b!=this.c){this.f()}return a}else{return this.c}},f:function(){if(this.width()>0&&this.height()>0){this.d();this.e()}},b:0,height:function(a){if(arguments.length===1){var b=this.b;this.b=a;if(this.b!=b){this.f()}return a}else{return this.b}},_shadeBox:null,shadeBox:function(a){if(arguments.length===1){this._shadeBox=a;return a}else{return this._shadeBox}},_shadeOutline:null,shadeOutline:function(a){if(arguments.length===1){this._shadeOutline=a;return a}else{return this._shadeOutline}},_allPaths:null,allPaths:function(a){if(arguments.length===1){this._allPaths=a;return a}else{return this._allPaths}},$type:new $.ig.Type("DefaultTrackShadeVisual",$.ig.$ot,[$$t.$c.$type])},true);$c("ITrackBarVisual:f","Object",{$type:new $.ig.Type("ITrackBarVisual",null)},true);$c("DefaultTrackBarVisual:g","Object",{_translateX:0,translateX:function(a){if(arguments.length===1){this._translateX=a;return a}else{return this._translateX}},_translateY:0,translateY:function(a){if(arguments.length===1){this._translateY=a;return a}else{return this._translateY}},init:function(){this.b=-1;this.a=-1;$.ig.$op.init.call(this);this.barBox(new $$a.bs);this.allPaths(new $$4.x($$a.$bs.$type,0));this.allPaths().add(this.barBox());this.barBox().__fill=this.getBarBoxDefaultBrush()},getBarBoxDefaultBrush:function(){return function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(255,218,218,218));return $ret}()},getBarBoxDefaultOutline:function(){return null},getBarBoxDefaultStrokeThickness:function(){return 0},c:function(){var a=new $$a.a7;var b=new $$a.a8;var c=new $$a.bg;b.__isClosed=true;b.__isFilled=true;b.__startPoint={__x:this.width()/-2,__y:this.height()/-2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};c.__points.add({__x:this.width()/2,__y:this.height()/-2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});c.__points.add({__x:this.width()/2,__y:this.height()/2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});c.__points.add({__x:this.width()/-2,__y:this.height()/2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});b.__segments.add(c);a._b.add(b);this.barBox()._aj=a},b:0,width:function(a){if(arguments.length===1){var b=this.b;this.b=a;if(b!=this.b){this.d()}return a}else{return this.b}},d:function(){if(this.width()>0&&this.height()>0){this.c()}},a:0,height:function(a){if(arguments.length===1){var b=this.a;this.a=a;if(this.a!=b){this.d()}return a}else{return this.a}},_barBox:null,barBox:function(a){if(arguments.length===1){this._barBox=a;return a}else{return this._barBox}},_allPaths:null,allPaths:function(a){if(arguments.length===1){this._allPaths=a;return a}else{return this._allPaths}},$type:new $.ig.Type("DefaultTrackBarVisual",$.ig.$ot,[$$t.$f.$type])},true);$c("ITrackRangeVisual:h","Object",{$type:new $.ig.Type("ITrackRangeVisual",null)},true);$c("DefaultTrackRangeVisual:i","Object",{init:function(){this.a=0;this.c=-1;this.b=-1;$.ig.$op.init.call(this);this.thumbBox(new $$a.bs);this.thumbRidges(new $$a.bs);this.allPaths(new $$4.x($$a.$bs.$type,0));this.allPaths().add(this.thumbBox());this.allPaths().add(this.thumbRidges());this.thumbBox().__stroke=this.getThumbBoxDefaultStroke();this.thumbBox()._ac=1;this.thumbBox().__fill=this.getThumbBoxDefaultBrush();this.thumbRidges().__stroke=this.getThumbRidgesDefaultStroke();this.thumbRidges()._ac=1},getThumbBoxDefaultStroke:function(){return function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(255,185,185,185));return $ret}()},getThumbBoxDefaultStrokeThickness:function(){return 1},getThumbBoxDefaultBrush:function(){return function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(255,249,249,249));return $ret}()},getThumbRidgesDefaultStroke:function(){return function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(255,119,119,119));return $ret}()},_translateX:0,translateX:function(a){if(arguments.length===1){this._translateX=a;return a}else{return this._translateX}},_translateY:0,translateY:function(a){if(arguments.length===1){this._translateY=a;return a}else{return this._translateY}},e:function(){if(this.orientation()==0){var a=new $$a.a7;var b=new $$a.a8;var c=new $$a.bd(1);b.__isClosed=false;b.__isFilled=false;b.__startPoint={__x:-3,__y:this.height()/-2*.5,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};c.c({__x:-3,__y:this.height()/2*.5,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});b.__segments.add(c);a._b.add(b);var d=new $$a.a8;var e=new $$a.bd(1);d.__isClosed=false;d.__isFilled=false;d.__startPoint={__x:0,__y:this.height()/-2*.5,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};e.c({__x:0,__y:this.height()/2*.5,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});d.__segments.add(e);a._b.add(d);var f=new $$a.a8;var g=new $$a.bd(1);f.__isClosed=false;f.__isFilled=false;f.__startPoint={__x:3,__y:this.height()/-2*.5,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};g.c({__x:3,__y:this.height()/2*.5,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});f.__segments.add(g);a._b.add(f);this.thumbRidges()._aj=a}else{var h=new $$a.a7;var i=new $$a.a8;var j=new $$a.bd(1);i.__isClosed=false;i.__isFilled=false;i.__startPoint={__x:this.width()/-2*.5,__y:-3,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};j.c({__x:this.width()/2*.5,__y:-3,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});i.__segments.add(j);h._b.add(i);var k=new $$a.a8;var l=new $$a.bd(1);k.__isClosed=false;k.__isFilled=false;k.__startPoint={__x:this.width()/-2*.5,__y:0,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};l.c({__x:this.width()/2*.5,__y:0,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});k.__segments.add(l);h._b.add(k);var m=new $$a.a8;var n=new $$a.bd(1);m.__isClosed=false;m.__isFilled=false;i.__startPoint={__x:this.width()/-2*.5,__y:3,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};j.c({__x:this.width()/2*.5,__y:3,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});m.__segments.add(n);h._b.add(m);this.thumbRidges()._aj=h}},d:function(){var a=new $$a.a7;var b=new $$a.a8;var c=new $$a.bg;b.__isClosed=true;b.__isFilled=true;b.__startPoint={__x:this.width()/-2,__y:this.height()/-2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};c.__points.add({__x:this.width()/2,__y:this.height()/-2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});c.__points.add({__x:this.width()/2,__y:this.height()/2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});c.__points.add({__x:this.width()/-2,__y:this.height()/2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});b.__segments.add(c);a._b.add(b);this.thumbBox()._aj=a},a:0,orientation:function(a){if(arguments.length===1){var b=this.a;this.a=a;if(this.a!=b){this.f()}return a}else{return this.a}},c:0,width:function(a){if(arguments.length===1){var b=this.c;this.c=a;if(b!=this.c){this.f()}return a}else{return this.c}},f:function(){if(this.width()>0&&this.height()>0){this.d();this.e()}},b:0,height:function(a){if(arguments.length===1){var b=this.b;this.b=a;if(this.b!=b){this.f()}return a}else{return this.b}},_thumbBox:null,thumbBox:function(a){if(arguments.length===1){this._thumbBox=a;return a}else{return this._thumbBox}},_thumbRidges:null,thumbRidges:function(a){if(arguments.length===1){this._thumbRidges=a;return a}else{return this._thumbRidges}},_allPaths:null,allPaths:function(a){if(arguments.length===1){this._allPaths=a;return a}else{return this._allPaths}},$type:new $.ig.Type("DefaultTrackRangeVisual",$.ig.$ot,[$$t.$h.$type])},true);$c("ITrackThumbCalloutVisual:j","Object",{$type:new $.ig.Type("ITrackThumbCalloutVisual",null)},true);$c("DefaultTrackThumbCalloutVisual:k","Object",{_translateX:0,translateX:function(a){if(arguments.length===1){this._translateX=a;return a}else{return this._translateX}},_translateY:0,translateY:function(a){if(arguments.length===1){this._translateY=a;return a}else{return this._translateY}},_textTranslateX:0,textTranslateX:function(a){if(arguments.length===1){this._textTranslateX=a;return a}else{return this._textTranslateX}},_textTranslateY:0,textTranslateY:function(a){if(arguments.length===1){this._textTranslateY=a;return a}else{return this._textTranslateY}},init:function(){this.c=-1;this.b=-1;this.a=false;$.ig.$op.init.call(this);this.calloutBox(new $$a.bs);this.calloutBox().__visibility=1;this.calloutText(new $$a.an);this.calloutText().__visibility=1;this.allPaths(new $$4.x($$a.$bs.$type,0));this.allPaths().add(this.calloutBox());this.height(22);this.width(10);this.calloutBox().__stroke=this.getCalloutBoxDefaultStroke();this.calloutBox()._ac=this.getCalloutBoxDefaultStrokeThickness();this.calloutBox().__fill=this.getCalloutBoxDefaultBrush();this.calloutText()._am=this.getCalloutTextDefaultBrush();this.calloutText().ak("")},getCalloutBoxDefaultStroke:function(){return function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(255,185,185,185));return $ret}()},getCalloutBoxDefaultStrokeThickness:function(){return 1},getCalloutBoxDefaultBrush:function(){return function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(200,255,255,255));return $ret}()},getCalloutTextDefaultBrush:function(){return function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(255,185,185,185));return $ret}()},e:function(){},d:function(){var a=new $$a.a7;var b=new $$a.a8;var c=new $$a.bg;b.__isClosed=true;b.__isFilled=true;b.__startPoint={__x:0,__y:0,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};c.__points.add({__x:this.width(),__y:0,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});c.__points.add({__x:this.width(),__y:this.height(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});c.__points.add({__x:0,__y:this.height(),$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});b.__segments.add(c);a._b.add(b);this.calloutBox()._aj=a},c:0,width:function(a){if(arguments.length===1){var b=this.c;this.c=a;if(b!=this.c){this.f()}return a}else{return this.c}},f:function(){if(this.width()>0&&this.height()>0){this.e();this.d()}},b:0,height:function(a){if(arguments.length===1){var b=this.b;this.b=a;if(this.b!=b){this.f()}return a}else{return this.b}},a:false,isVisible:function(a){if(arguments.length===1){var b=this.a;this.a=a;if(this.a!=b){this.calloutBox().__visibility=this.a?0:1;this.calloutText().__visibility=this.a?0:1}return a}else{return this.a}},_calloutBox:null,calloutBox:function(a){if(arguments.length===1){this._calloutBox=a;return a}else{return this._calloutBox}},_calloutText:null,calloutText:function(a){if(arguments.length===1){this._calloutText=a;return a}else{return this._calloutText}},_allPaths:null,allPaths:function(a){if(arguments.length===1){this._allPaths=a;return a}else{return this._allPaths}},$type:new $.ig.Type("DefaultTrackThumbCalloutVisual",$.ig.$ot,[$$t.$j.$type])},true);$c("ITrackThumbVisual:l","Object",{$type:new $.ig.Type("ITrackThumbVisual",null)},true);$c("DefaultTrackThumbVisual:m","Object",{_translateX:0,translateX:function(a){if(arguments.length===1){this._translateX=a;return a}else{return this._translateX}},_translateY:0,translateY:function(a){if(arguments.length===1){this._translateY=a;return a}else{return this._translateY}},init:function(){this.c=-1;this.a=0;this.b=-1;$.ig.$op.init.call(this);this.thumbBox(new $$a.bs);this.thumbRidges(new $$a.bs);this.allPaths(new $$4.x($$a.$bs.$type,0));this.allPaths().add(this.thumbBox());this.allPaths().add(this.thumbRidges());this.width(this.getTrackThumbDefaultWidth());this.height(this.getTrackThumbDefaultHeight());this.thumbBox().__stroke=this.getThumbBoxDefaultStroke();this.thumbBox()._ac=this.getThumbBoxDefaultStrokeThickness();this.thumbBox().__fill=this.getThumbBoxDefaultBrush();this.thumbRidges().__stroke=this.getThumbRidgesDefaultStroke();this.thumbRidges()._ac=1},getTrackThumbDefaultWidth:function(){return 10},getTrackThumbDefaultHeight:function(){return 22},getThumbBoxDefaultStroke:function(){return function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(255,185,185,185));return $ret}()},getThumbBoxDefaultStrokeThickness:function(){return 1},getThumbBoxDefaultBrush:function(){return function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(255,249,249,249));return $ret}()},getThumbRidgesDefaultStroke:function(){return function(){var $ret=new $$a.at;$ret.color($$a.$ax.u(255,119,119,119));return $ret}()},e:function(){if(this.orientation()==0){var a=new $$a.a7;var b=new $$a.a8;var c=new $$a.bd(1);b.__isClosed=false;b.__isFilled=false;b.__startPoint={__x:-1.5,__y:-4,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};c.c({__x:-1.5,__y:4,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});b.__segments.add(c);a._b.add(b);var d=new $$a.a8;var e=new $$a.bd(1);d.__isClosed=false;d.__isFilled=false;d.__startPoint={__x:1.5,__y:-4,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};e.c({__x:1.5,__y:4,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});d.__segments.add(e);a._b.add(d);this.thumbRidges()._aj=a}else{var f=new $$a.a7;var g=new $$a.a8;var h=new $$a.bd(1);g.__isClosed=false;g.__isFilled=false;g.__startPoint={__x:-4,__y:-1.5,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};h.c({__x:4,__y:-1.5,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});g.__segments.add(h);f._b.add(g);var i=new $$a.a8;var j=new $$a.bd(1);i.__isClosed=false;i.__isFilled=false;i.__startPoint={__x:-4,__y:1.5,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};j.c({__x:4,__y:1.5,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});i.__segments.add(j);f._b.add(i);this.thumbRidges()._aj=f}},d:function(){var a=new $$a.a7;var b=new $$a.a8;var c=new $$a.bg;b.__isClosed=true;b.__isFilled=true;b.__startPoint={__x:this.width()/-2,__y:this.height()/-2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName};c.__points.add({__x:this.width()/2,__y:this.height()/-2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});c.__points.add({__x:this.width()/2,__y:this.height()/2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});c.__points.add({__x:this.width()/-2,__y:this.height()/2,$type:$$a.$y.$type,getType:$.ig.$op.getType,getGetHashCode:$.ig.$op.getGetHashCode,typeName:$.ig.$op.typeName});b.__segments.add(c);a._b.add(b);this.thumbBox()._aj=a},c:0,width:function(a){if(arguments.length===1){var b=this.c;this.c=a;if(b!=this.c){this.f()}return a}else{return this.c}},f:function(){if(this.width()>0&&this.height()>0){this.d();this.e()}},a:0,orientation:function(a){if(arguments.length===1){var b=this.a;this.a=a;if(this.a!=b){this.f()}return a}else{return this.a}},b:0,height:function(a){if(arguments.length===1){var b=this.b;this.b=a;if(this.b!=b){this.f()}return a}else{return this.b}},_thumbBox:null,thumbBox:function(a){if(arguments.length===1){this._thumbBox=a;return a}else{return this._thumbBox}},_thumbRidges:null,thumbRidges:function(a){if(arguments.length===1){this._thumbRidges=a;return a}else{return this._thumbRidges}},_allPaths:null,allPaths:function(a){if(arguments.length===1){this._allPaths=a;return a}else{return this._allPaths}},$type:new $.ig.Type("DefaultTrackThumbVisual",$.ig.$ot,[$$t.$l.$type])},true);$c("ITrackOwner:o","Object",{$type:new $.ig.Type("ITrackOwner",null)},true);$c("ZoomSlider:p","Object",{_b:null,_a:null,_c:null,_g:null,propertyChanged:null,bk:0,panTransitionDuration:function(a){if(arguments.length===1){var b=this.bk;this.bk=a;if(b!=this.bk){this.dc("PanTransitionDuration",b,this.bk)}return a}else{return this.bk}},ax:0,maxZoomWidth:function(a){if(arguments.length===1){var b=this.ax;this.ax=a;if(b!=this.ax){this.dc("MaxZoomWidth",b,this.ax)}return a}else{return this.ax}},az:0,pixelScalingRatio:function(a){if(arguments.length===1){var b=this.az;this.az=a;if(b!=this.az){this.dc("PixelScalingRatio",b,this.az)}return a}else{return this.az}},ag:0,actualPixelScalingRatio:function(a){if(arguments.length===1){var b=this.ag;this.ag=a;if(b!=this.ag){this.dc("ActualPixelScalingRatio",b,this.ag)}return a}else{return this.ag}},resolvingAxisValue:null,de:function(a,b,c,d){this._fj=new $$a.ae(0,a,b,c,d);if(this.orientation()==0){var e=Math.max(0,this._fj.width()-(this.startInset()+this.endInset()));this._fh=new $$a.ae(0,this._fj.left()+this.startInset(),this._fj.top(),e,this._fj.height());var f=Math.max(0,this._fh.width()-(this.trackStartInset()+this.trackEndInset()));this._fi=new $$a.ae(0,this._fh.left()+this.trackStartInset(),this._fh.top(),f,Math.max(0,this._fh.height()-this.barExtent()))}else{this._fh=new $$a.ae(0,this._fj.left(),this._fj.top()+this.startInset(),this._fj.width(),this._fj.height()-(this.startInset()+this.endInset()));this._fi=new $$a.ae(0,this._fh.left(),this._fh.top()+this.trackStartInset(),this._fh.width()-this.barExtent(),this._fh.height()-(this.trackStartInset()+this.trackEndInset()))}this.trackDirty()},d6:function(){if(!this.p){return}this.p=false;var a=this._g._i;var b=this._g._h;var c=this._g._c;var d=this._g._b;var e=this._g._e;var f=this._g._d;if(this.isCustomThumbProvided()){var g=this.bn();var h=this.bm();this.ds(g,this._b);this.dr(h,this._b.position());
this.ds(h,this._a);this.dr(h,this._a.position())}else{this.d5(a,this._b);this.d5(b,this._a)}if(this.isCustomRangeThumbProvided()){}else{this.d3(c,this._c)}if(this.isCustomBarProvided()){}else{this.dp(d)}if(this.isCustomShadeProvided()){}else{this.dz(e);this.du(f)}this.d7()},fg:null,_w:false,windowRect:function(a){if(arguments.length===1){var b=this.fg;this.fg=a;if($$a.$ae.l_op_Inequality(b,this.fg)){this.dc("WindowRect",b,this.fg)}return a}else{return this.fg}},d7:function(){var a=this.windowRect().width();var b=this.windowRect().height();var c=this.windowRect().left();var d=this.windowRect().top();var e=c;var f=d;var g=a;var h=b;if(this.orientation()==0){e=this._b.position();g=this._c.width()}else{f=this._b.position();h=this._c.width()}if(e!=c||f!=d||g!=a||h!=b){this._w=true;var i=this.windowRect();this.windowRect(new $$a.ae(0,e,f,g,h));this.dg(i,this.windowRect());this._w=false}},_af:false,dg:function(a,b){if(this._af){return}if(this.windowRectChanged!=null){this.windowRectChanged(this,new $.ig.RectChangedEventArgs(a,b))}},windowRectChanged:null,_i:0,_h:0,_ff:null,_fe:null,c8:function(a){if(this._h!=6){this._g.as()}this._i=this.j(a);this._h=6;this.c0();this.c1()},c1:function(){this._g._g.isVisible(false);this._g.an()},c0:function(){this._g._f.isVisible(false);this._g.an()},da:function(a,b){this._i=this.j(a)},ae:function(a){this._i=this.j(a);if(this._i==6){return false}this.cy();if(this.ac(this._i)){this.dm(a,this._i);this._g.aj();return true}if(this.x(this._i)){return this.ad(a,this._i)}return false},ad:function(a,b){switch(b){case 5:case 2:case 3:this.di(a);return true}return false},di:function(a){var b;if(this.orientation()==0){b=(a.__x-this._fi.left())/this._fi.width()}else{b=(a.__y-this._fi.top())/this._fi.height()}if(b<0||b>1){return}if(b+this._c.width()/2>1){b=1-this._c.width()/2}if(b-this._c.width()/2<0){b=this._c.width()/2}if(this.panTransitionDuration()>0){this.dn(b)}else{this._c.position(b)}},dm:function(a,b){this._h=b;this._ff=a;this._fe=a},ac:function(a){switch(a){case 0:case 1:case 4:return true}return false},x:function(a){switch(a){case 5:case 2:case 3:return true}return false},c9:function(a){this._i=this.j(a);if(this._h!=6){if(this.orientation()==0){this.c4(a)}else{this.dd(a)}}else{this.c2()}},c2:function(){if(this._i==4){this._g.ac()}else if(this._i==0||this._i==1){if(this.orientation()==1){this._g.ae()}else{this._g.ad()}}else{this._g.ab()}},dd:function(a){var b=a.__y-this._fe.__y;b=b/this._fi.height();this._fe=a;switch(this._h){case 0:this._b.push(b);this.d1(this._b);this.flush();break;case 1:this._a.push(b);this.dw(this._a);this.flush();break;case 4:this._c.o(b);this.d1(this._b);this.dw(this._a);this.flush();break}},dw:function(a){var b;var c;if(this.orientation()==0){b=a.position();c=a.position()*this._fi.width()+this._fi.left();if(this.areThumbCalloutsEnabled()){var d=b;if(this.resolvingAxisValue!=null){var e=function(){var $ret=new $$t.q;$ret.position(b);$ret.value(d);return $ret}();this.resolvingAxisValue(this,e);d=e.value()}this.dk(c,this._fi.top(),d)}}else{b=a.position();c=a.position()*this._fi.height()+this._fi.top();if(this.areThumbCalloutsEnabled()){var f=b;if(this.resolvingAxisValue!=null){var g=function(){var $ret=new $$t.q;$ret.position(b);$ret.value(f);return $ret}();this.resolvingAxisValue(this,g);f=g.value()}this.dk(c,this._fi.top(),f)}}},dk:function(a,b,c){var d=this._g._f;d.isVisible(true);var e="";if(c!=null){e=c.toString()}this._g.a0(d.calloutText(),e,this.n());var f=this._g.a1(d.calloutText());var g=this.fl();f=new $$a.af(1,f.width()+g._c+g._d,f.height()+g._e+g._b);var h=this._a.position()*this._fi.width()+this._fi.left();var i=this._b.position()*this._fi.width()+this._fi.left();var j=0;var k=0;if(this._fj.right()-h<=f.width()){j=h-f.width()}else{j=h}if(j<i){k=this._fi.top()}else{k=this._fi.bottom()-f.height()}d.width(f.width());d.height(f.height());d.translateX(j);d.translateY(k);d.textTranslateX(j+g._c);d.textTranslateY(k+g._e)},d1:function(a){var b;var c;if(this.orientation()==0){b=a.position();c=a.position()*this._fi.width()+this._fi.left();if(this.areThumbCalloutsEnabled()){var d=b;if(this.resolvingAxisValue!=null){var e=function(){var $ret=new $$t.q;$ret.position(b);$ret.value(d);return $ret}();this.resolvingAxisValue(this,e);d=e.value()}this.dl(c,this._fi.top(),d)}}else{b=a.position();c=a.position()*this._fi.height()+this._fi.top();if(this.areThumbCalloutsEnabled()){var f=b;if(this.resolvingAxisValue!=null){var g=function(){var $ret=new $$t.q;$ret.position(b);$ret.value(f);return $ret}();this.resolvingAxisValue(this,g);f=g.value()}this.dl(c,this._fi.top(),f)}}},fk:null,fl:function(){return this.fk},dl:function(a,b,c){var d=this._g._g;d.isVisible(true);var e="";if(c!=null){e=c.toString()}this._g.a0(d.calloutText(),e,this.n());var f=this._g.a1(d.calloutText());var g=this.fl();f=new $$a.af(1,f.width()+g._c+g._d,f.height()+g._e+g._b);var h=this._b.position()*this._fi.width()+this._fi.left();var i=this._a.position()*this._fi.width()+this._fi.left();var j=0;var k=0;if(h>=f.width()){j=h-f.width()}else{j=h}if(j>i){k=this._fi.top()}else{k=this._fi.bottom()-f.height()}d.width(f.width());d.height(f.height());d.translateX(j);d.translateY(k);d.textTranslateX(j+g._c);d.textTranslateY(k+g._e)},n:function(){if(this.thumbCalloutTextStyle()!=null){return this.thumbCalloutTextStyle()}return this._m},c4:function(a){var b=a.__x-this._fe.__x;this._fe=a;b=b/this._fi.width();switch(this._h){case 0:this._b.push(b);this.d1(this._b);this.flush();break;case 1:this._a.push(b);this.dw(this._a);this.flush();break;case 4:this._c.o(b);this.d1(this._b);this.dw(this._a);this.flush();break}},c6:function(a){this._i=this.j(a)},c7:function(a){this._i=this.j(a)},j:function(a){if(this.v(a,this._b,this._g._i)){return 0}if(this.v(a,this._a,this._g._h)){return 1}if(this.u(a,this._c,this._g._c)){return 4}if(this.t(a,this._b)){return 2}if(this.s(a,this._a)){return 3}if(this.r(a)){return 5}return 6},r:function(a){if(this.orientation()==0){if(a.__y>this._fi.bottom()&&a.__x>=this._fi.left()&&a.__x<=this._fi.right()&&a.__y<=this._fh.bottom()){return true}}else{if(a.__x>this._fi.right()&&a.__y>=this._fi.top()&&a.__y<=this._fi.bottom()&&a.__x<=this._fh.right()){return true}}return false},u:function(a,b,c){if(this.orientation()==0){var d=b.position()*this._fi.width()+this._fi.left();var e=d-c.width()/2;var f=d+c.width()/2;if(a.__y>=this._fh.top()&&a.__y<=this._fh.bottom()&&a.__x>=e&&a.__x<=f){return true}}else{var g=b.position()*this._fi.height()+this._fi.top();var h=g-c.height()/2;var i=g+c.height()/2;if(a.__x>=this._fh.left()&&a.__x<=this._fh.right()&&a.__y>=h&&a.__y<=i){return true}}return false},t:function(a,b){if(this.orientation()==0){var c=b.position()*this._fi.width()+this._fi.left();if(a.__y>=this._fh.top()&&a.__x>=this._fh.left()&&a.__x<=this._fh.right()&&a.__x<=c&&a.__y<=this._fi.bottom()){return true}}else{var d=b.position()*this._fi.height()+this._fi.top();if(a.__y>=this._fh.top()&&a.__x>=this._fh.left()&&a.__x<=this._fh.right()&&a.__y<=d&&a.__x<=this._fi.right()){return true}}return false},s:function(a,b){if(this.orientation()==0){var c=b.position()*this._fi.width()+this._fi.left();if(a.__y>=this._fh.top()&&a.__x>=this._fh.left()&&a.__x<=this._fh.right()&&a.__x>=c&&a.__y<=this._fi.bottom()){return true}}else{var d=b.position()*this._fi.height()+this._fi.top();if(a.__y>=this._fh.top()&&a.__y<=this._fh.bottom()&&a.__x>=this._fh.left()&&a.__x<=this._fh.right()&&a.__y>=d&&a.__x<=this._fi.right()){return true}}return false},v:function(a,b,c){if(this.orientation()==0){var d=b.position()*this._fi.width()+this._fi.left();var e=this._fi.top()+this._fi.height()/2;var f=new $$a.ae(0,d-c.width()/2,e-c.height()/2,c.width(),c.height());if(f.containsPoint(a)){return true}}else{var g=b.position()*this._fi.height()+this._fi.top();var h=this._fi.left()+this._fi.width()/2;var i=new $$a.ae(0,h-c.width()/2,g-c.height()/2,c.width(),c.height());if(i.containsPoint(a)){return true}}return false},_fj:null,_fh:null,_fi:null,d3:function(a,b){if(this.orientation()==0){a.orientation(this.orientation());a.width(Math.max(15,this._fi.width()*b.width()));a.height(this.barExtent());a.translateX(this._fi.left()+this._fi.width()*b.position());a.translateY(this._fi.bottom()+this.barExtent()/2)}else{a.orientation(this.orientation());a.height(Math.max(15,this._fi.height()*b.width()));a.width(this.barExtent());a.translateY(this._fi.top()+this._fi.height()*b.position());a.translateX(this._fi.right()+this.barExtent()/2)}},du:function(a){var b=this._a.position();if(this.orientation()==0){var c=this._fi.left()+b*this._fi.width();a.height(this._fi.height());a.translateX(c+(this._fh.right()-c)/2);a.translateY(this._fi.top()+this._fi.height()/2);a.width(this._fh.right()-c);a.orientation(1)}else{var d=this._fi.top()+b*this._fi.height();a.width(this._fi.width());a.translateY(d+(this._fh.bottom()-d)/2);a.translateX(this._fh.left()+this._fi.width()/2);a.height(this._fh.bottom()-d);a.orientation(3)}},dz:function(a){var b=this._b.position();if(this.orientation()==0){var c=this._fi.left()+b*this._fi.width();a.height(this._fi.height());a.translateX(c-(c-this._fh.left())/2);a.translateY(this._fi.top()+this._fi.height()/2);a.width(c-this._fh.left());a.orientation(0)}else{var d=this._fi.top()+b*this._fi.height();a.width(this._fi.width());a.translateY(d-(d-this._fh.top())/2);a.translateX(this._fh.left()+this._fi.width()/2);a.height(d-this._fh.top());a.orientation(2)}},dp:function(a){if(this.orientation()==0){a.height(this.barExtent());a.width(this._fi.width());a.translateX(this._fi.left()+this._fi.width()/2);a.translateY(this._fh.bottom()-this.barExtent()/2)}else{a.width(this.barExtent());a.height(this._fi.height());a.translateY(this._fi.top()+this._fi.height()/2);a.translateX(this._fh.right()-this.barExtent()/2)}},d5:function(a,b){if(this.orientation()==0){a.orientation(this.orientation());a.translateX(this._fi.left()+this._fi.width()*b.position());a.translateY(this._fi.top()+this._fi.height()/2)}else{a.orientation(this.orientation());a.translateY(this._fi.top()+this._fi.height()*b.position());a.translateX(this._fi.left()+this._fi.width()/2)}},ds:function(a,b){},dr:function(a,b){},bm:function(){throw new $$6.q(0)},bn:function(){throw new $$6.q(0)},ay:0,minZoomWidth:function(a){if(arguments.length===1){var b=this.ay;this.ay=a;if(b!=this.ay){this.dc("MinZoomWidth",b,this.ay)}return a}else{return this.ay}},a1:0,startInset:function(a){if(arguments.length===1){var b=this.a1;this.a1=a;if(b!=this.a1){this.dc("StartInset",b,this.a1)}return a}else{return this.a1}},al:0,endInset:function(a){if(arguments.length===1){var b=this.al;this.al=a;if(b!=this.al){this.dc("EndInset",b,this.al)}return a}else{return this.al}},a3:0,trackStartInset:function(a){if(arguments.length===1){var b=this.a3;this.a3=a;if(b!=this.a3){this.dc("TrackStartInset",b,this.a3)}return a}else{return this.a3}},a2:0,trackEndInset:function(a){if(arguments.length===1){var b=this.a2;this.a2=a;if(b!=this.a2){this.dc("TrackEndInset",b,this.a2)}return a}else{return this.a2}},ah:0,barExtent:function(a){if(arguments.length===1){var b=this.ah;this.ah=a;if(b!=this.ah){this.dc("BarExtent",b,this.ah)}return a}else{return this.ah}},d:0,orientation:function(a){if(arguments.length===1){var b=this.d;this.d=a;if(b!=this.d){this.dc("Orientation",$$t.$n.getBox(b),$$t.$n.getBox(this.d))}return a}else{return this.d}},en:null,lowerThumbBrush:function(a){if(arguments.length===1){var b=this.en;this.en=a;if(b!=this.en){this.dc("LowerThumbBrush",b,this.en)}return a}else{return this.en}},av:0,lowerThumbStrokeThickness:function(a){if(arguments.length===1){var b=this.av;this.av=a;if(b!=this.av){this.dc("LowerThumbStrokeThickness",b,this.av)}return a}else{return this.av}},ap:0,higherThumbStrokeThickness:function(a){if(arguments.length===1){var b=this.ap;this.ap=a;if(b!=this.ap){this.dc("HigherThumbStrokeThickness",b,this.ap)}return a}else{return this.ap}},ef:null,higherThumbBrush:function(a){if(arguments.length===1){var b=this.ef;this.ef=a;if(b!=this.ef){this.dc("HigherThumbBrush",b,this.ef)}return a}else{return this.ef}},eo:null,lowerThumbOutline:function(a){if(arguments.length===1){var b=this.eo;this.eo=a;if(b!=this.eo){this.dc("LowerThumbOutline",b,this.eo)}return a}else{return this.eo}},eg:null,higherThumbOutline:function(a){if(arguments.length===1){var b=this.eg;this.eg=a;if(b!=this.eg){this.dc("HigherThumbOutline",b,this.eg)}return a}else{return this.eg}},ep:null,lowerThumbRidgesBrush:function(a){if(arguments.length===1){var b=this.ep;this.ep=a;if(b!=this.ep){this.dc("LowerThumbRidgesBrush",b,this.ep)}return a}else{return this.ep}},eh:null,higherThumbRidgesBrush:function(a){if(arguments.length===1){var b=this.eh;this.eh=a;if(b!=this.eh){this.dc("HigherThumbRidgesBrush",b,this.eh)}return a}else{return this.eh}},aw:0,lowerThumbWidth:function(a){if(arguments.length===1){var b=this.aw;this.aw=a;if(b!=this.aw){this.dc("LowerThumbWidth",b,this.aw)}return a}else{return this.aw}},aq:0,higherThumbWidth:function(a){if(arguments.length===1){var b=this.aq;this.aq=a;if(b!=this.aq){this.dc("HigherThumbWidth",b,this.aq)}return a}else{return this.aq}},au:0,lowerThumbHeight:function(a){if(arguments.length===1){var b=this.au;this.au=a;if(b!=this.au){this.dc("LowerThumbHeight",b,this.au)}return a}else{return this.au}},ao:0,higherThumbHeight:function(a){if(arguments.length===1){var b=this.ao;this.ao=a;if(b!=this.ao){this.dc("HigherThumbHeight",b,this.ao)}return a}else{return this.ao}},el:null,lowerShadeBrush:function(a){if(arguments.length===1){var b=this.el;this.el=a;if(b!=this.el){this.dc("LowerShadeBrush",b,this.el)}return a}else{return this.el}},em:null,lowerShadeOutline:function(a){if(arguments.length===1){var b=this.em;this.em=a;if(b!=this.em){this.dc("LowerShadeOutline",b,this.em)}return a}else{return this.em}},destroy:function(){this.provideContainer(null)},at:0,lowerShadeStrokeThickness:function(a){if(arguments.length===1){var b=this.at;this.at=a;if(b!=this.at){this.dc("LowerShadeStrokeThickness",b,this.at)}return a}else{return this.at}},ed:null,higherShadeBrush:function(a){if(arguments.length===1){var b=this.ed;this.ed=a;if(b!=this.ed){this.dc("HigherShadeBrush",b,this.ed)}return a}else{return this.ed}},ee:null,higherShadeOutline:function(a){if(arguments.length===1){var b=this.ee;this.ee=a;if(b!=this.ee){this.dc("HigherShadeOutline",b,this.ee)}return a}else{return this.ee}},an:0,higherShadeStrokeThickness:function(a){if(arguments.length===1){var b=this.an;this.an=a;if(b!=this.an){this.dc("HigherShadeStrokeThickness",b,this.an)}return a}else{return this.an}},d8:null,barBrush:function(a){if(arguments.length===1){var b=this.d8;this.d8=a;if(b!=this.d8){this.dc("BarBrush",b,this.d8)}return a}else{return this.d8}},d9:null,barOutline:function(a){if(arguments.length===1){var b=this.d9;this.d9=a;if(b!=this.d9){this.dc("BarOutline",b,this.d9)}return a}else{return this.d9}},ai:0,barStrokeThickness:function(a){if(arguments.length===1){var b=this.ai;this.ai=a;if(b!=this.ai){this.dc("BarStrokeThickness",b,this.ai)}return a}else{return this.ai}},eq:null,rangeThumbBrush:function(a){if(arguments.length===1){var b=this.eq;this.eq=a;if(b!=this.eq){this.dc("RangeThumbBrush",b,this.eq)}return a}else{return this.eq}},er:null,rangeThumbOutline:function(a){if(arguments.length===1){var b=this.er;this.er=a;if(b!=this.er){this.dc("RangeThumbOutline",b,this.er)}return a}else{return this.er}},a0:0,rangeThumbStrokeThickness:function(a){if(arguments.length===1){var b=this.a0;this.a0=a;if(b!=this.a0){this.dc("RangeThumbStrokeThickness",b,this.a0)}return a}else{return this.a0}},es:null,rangeThumbRidgesBrush:function(a){if(arguments.length===1){var b=this.es;this.es=a;if(b!=this.es){this.dc("RangeThumbRidgesBrush",b,this.es)}return a}else{return this.es}},ei:null,lowerCalloutBrush:function(a){if(arguments.length===1){var b=this.ei;this.ei=a;if(b!=this.ei){this.dc("LowerCalloutBrush",b,this.ei)}return a}else{return this.ei}},ek:null,lowerCalloutTextColor:function(a){if(arguments.length===1){var b=this.ek;this.ek=a;if(b!=this.ek){this.dc("LowerCalloutTextColor",b,this.ek)}return a}else{return this.ek}},ej:null,lowerCalloutOutline:function(a){if(arguments.length===1){var b=this.ej;this.ej=a;if(b!=this.ej){this.dc("LowerCalloutOutline",b,this.ej)}return a}else{return this.ej}},as:0,lowerCalloutStrokeThickness:function(a){if(arguments.length===1){var b=this.as;this.as=a;if(b!=this.as){this.dc("LowerCalloutStrokeThickness",b,this.as)}return a}else{return this.as}},ea:null,higherCalloutBrush:function(a){if(arguments.length===1){var b=this.ea;this.ea=a;if(b!=this.ea){this.dc("HigherCalloutBrush",b,this.ea)}return a}else{return this.ea}},ec:null,higherCalloutTextColor:function(a){if(arguments.length===1){var b=this.ec;this.ec=a;if(b!=this.ec){this.dc("HigherCalloutTextColor",b,this.ec)}return a}else{return this.ec}},eb:null,higherCalloutOutline:function(a){if(arguments.length===1){var b=this.eb;this.eb=a;if(b!=this.eb){this.dc("HigherCalloutOutline",b,this.eb)}return a}else{return this.eb}},am:0,higherCalloutStrokeThickness:function(a){if(arguments.length===1){var b=this.am;this.am=a;if(b!=this.am){this.dc("HigherCalloutStrokeThickness",b,this.am)}return a}else{return this.am}},isCustomThumbProvided:function(){return false},isCustomRangeThumbProvided:function(){return false},isCustomBarProvided:function(){return false},isCustomShadeProvided:function(){return false},_areThumbCalloutsEnabled:false,areThumbCalloutsEnabled:function(a){if(arguments.length===1){this._areThumbCalloutsEnabled=a;return a}else{return this._areThumbCalloutsEnabled}},_m:null,_thumbCalloutTextStyle:null,thumbCalloutTextStyle:function(a){if(arguments.length===1){this._thumbCalloutTextStyle=a;return a}else{return this._thumbCalloutTextStyle}},dc:function(a,b,c){this.dj(a,b,c);if(this.propertyChanged!=null){this.propertyChanged(this,new $$0.b7(a))}},dj:function(a,b,c){switch(a){case"PixelScalingRatio":this.actualPixelScalingRatio(this.pixelScalingRatio());break;case"ActualPixelScalingRatio":if(this._g!=null){this._g.aq()}break;case"Orientation":this.db();this.trackDirty();break;case"TrackStartInset":case"TrackEndInset":case"StartInset":case"EndInset":this.c5();this.trackDirty();break;case"MaxZoomWidth":case"MinZoomWidth":this.dh();this.trackDirty();break;case"WindowRect":if(!this._w){this._af=true;this.df();this.trackDirty();this.flush();this._af=false}break;case"LowerThumbBrush":case"LowerThumbOutline":case"LowerThumbRidgesBrush":case"LowerThumbStrokeThickness":this.d2();this._g.an();break;case"LowerThumbWidth":case"LowerThumbHeight":this._g._i.width(this.lowerThumbWidth());this._g._i.height(this.lowerThumbHeight());this.trackDirty();break;case"HigherThumbBrush":case"HigherThumbOutline":case"HigherThumbRidgesBrush":case"HigherThumbStrokeThickness":this.dx();this._g.an();break;case"HigherThumbWidth":case"HigherThumbHeight":this._g._i.width(this.lowerThumbWidth());this._g._i.height(this.lowerThumbHeight());this.trackDirty();break;case"LowerShadeBrush":case"LowerShadeOutline":case"LowerShadeStrokeThickness":this.d0();this._g.an();break;case"HigherShadeBrush":case"HigherShadeOutline":case"HigherShadeStrokeThickness":this.dv();this._g.an();break;case"RangeThumbBrush":case"RangeThumbOutline":case"RangeThumbRidgesBrush":case"RangeThumbStrokeThickness":this.d4();this._g.an();break;case"BarBrush":case"BarOutline":case"BarStrokeThickness":this.dq();this._g.an();break;case"LowerCalloutBrush":case"LowerCalloutOutline":case"LowerCalloutTextColor":case"LowerCalloutStrokeThickness":this.dy();this._g.an();break;case"HigherCalloutBrush":case"HigherCalloutOutline":case"HigherCalloutTextColor":case"HigherCalloutStrokeThickness":this.dt();this._g.an();break}},dq:function(){var a=this._g._b;if(this.barBrush()==null){a.barBox().__fill=a.getBarBoxDefaultBrush()}else{a.barBox().__fill=this.barBrush()}if(this.barOutline()==null){a.barBox().__stroke=a.getBarBoxDefaultOutline()}else{a.barBox().__stroke=this.barOutline()}if(this.barStrokeThickness()==NaN){a.barBox()._ac=a.getBarBoxDefaultStrokeThickness()}else{a.barBox()._ac=this.barStrokeThickness()}},dy:function(){var a=this._g._g;if(this.lowerCalloutBrush()==null){a.calloutBox().__fill=a.getCalloutBoxDefaultBrush()}else{a.calloutBox().__fill=this.lowerCalloutBrush()}if(this.lowerCalloutOutline()==null){a.calloutBox().__stroke=a.getCalloutBoxDefaultStroke()}else{a.calloutBox().__stroke=this.lowerCalloutOutline()}if(this.lowerCalloutTextColor()==null){a.calloutText()._am=a.getCalloutTextDefaultBrush()}else{a.calloutText()._am=this.lowerCalloutTextColor()}if(this.lowerCalloutStrokeThickness()==NaN){a.calloutBox()._ac=a.getCalloutBoxDefaultStrokeThickness()}else{a.calloutBox()._ac=this.lowerCalloutStrokeThickness()}},dt:function(){var a=this._g._f;if(this.higherCalloutBrush()==null){a.calloutBox().__fill=a.getCalloutBoxDefaultBrush()}else{a.calloutBox().__fill=this.higherCalloutBrush()}if(this.higherCalloutOutline()==null){a.calloutBox().__stroke=a.getCalloutBoxDefaultStroke()}else{a.calloutBox().__stroke=this.higherCalloutOutline()}if(this.higherCalloutTextColor()==null){a.calloutText()._am=a.getCalloutTextDefaultBrush()}else{a.calloutText()._am=this.higherCalloutTextColor()}if(this.higherCalloutStrokeThickness()==NaN){a.calloutBox()._ac=a.getCalloutBoxDefaultStrokeThickness()}else{a.calloutBox()._ac=this.higherCalloutStrokeThickness()}},d2:function(){var a=this._g._i;if(this.lowerThumbBrush()==null){a.thumbBox().__fill=a.getThumbBoxDefaultBrush()}else{a.thumbBox().__fill=this.lowerThumbBrush()}if(this.lowerThumbOutline()==null){a.thumbBox().__stroke=a.getThumbBoxDefaultStroke()}else{a.thumbBox().__stroke=this.lowerThumbOutline()}if(this.lowerThumbRidgesBrush()==null){a.thumbRidges().__stroke=a.getThumbRidgesDefaultStroke()}else{a.thumbRidges().__stroke=this.lowerThumbRidgesBrush()}if(this.lowerThumbStrokeThickness()==NaN){a.thumbBox()._ac=a.getThumbBoxDefaultStrokeThickness()}else{a.thumbBox()._ac=this.lowerThumbStrokeThickness()}},d4:function(){var a=this._g._c;if(this.rangeThumbBrush()==null){a.thumbBox().__fill=a.getThumbBoxDefaultBrush()}else{a.thumbBox().__fill=this.rangeThumbBrush()}if(this.rangeThumbOutline()==null){a.thumbBox().__stroke=a.getThumbBoxDefaultStroke()}else{a.thumbBox().__stroke=this.rangeThumbOutline()}if(this.rangeThumbRidgesBrush()==null){a.thumbRidges().__stroke=a.getThumbRidgesDefaultStroke()}else{a.thumbRidges().__stroke=this.rangeThumbRidgesBrush()}if(this.rangeThumbStrokeThickness()==NaN){a.thumbBox()._ac=a.getThumbBoxDefaultStrokeThickness()}else{a.thumbBox()._ac=this.rangeThumbStrokeThickness()}},d0:function(){var a=this._g._e;if(this.lowerShadeBrush()==null){a.shadeBox().__fill=a.getShadeBoxDefaultBrush()}else{a.shadeBox().__fill=this.lowerShadeBrush()}if(this.lowerShadeOutline()==null){a.shadeOutline().__stroke=a.getShadeOutlineDefaultBrush()}else{a.shadeOutline().__stroke=this.lowerShadeOutline()}if(this.lowerShadeStrokeThickness()==NaN){a.shadeOutline()._ac=a.getShadeOutlineDefaultStrokeThickness()}else{a.shadeOutline()._ac=this.lowerShadeStrokeThickness()}},dv:function(){var a=this._g._d;if(this.higherShadeBrush()==null){a.shadeBox().__fill=a.getShadeBoxDefaultBrush()}else{a.shadeBox().__fill=this.higherShadeBrush()}if(this.higherShadeOutline()==null){a.shadeOutline().__stroke=a.getShadeOutlineDefaultBrush()}else{a.shadeOutline().__stroke=this.higherShadeOutline()}if(this.higherShadeStrokeThickness()==NaN){a.shadeOutline()._ac=a.getShadeOutlineDefaultStrokeThickness()}else{a.shadeOutline()._ac=this.higherShadeStrokeThickness()}},dx:function(){var a=this._g._h;if(this.higherThumbBrush()==null){a.thumbBox().__fill=a.getThumbBoxDefaultBrush()}else{a.thumbBox().__fill=this.higherThumbBrush()}if(this.higherThumbOutline()==null){a.thumbBox().__stroke=a.getThumbBoxDefaultStroke()}else{a.thumbBox().__stroke=this.higherThumbOutline()}if(this.higherThumbRidgesBrush()==null){a.thumbRidges().__stroke=a.getThumbRidgesDefaultStroke()}else{a.thumbRidges().__stroke=this.higherThumbRidgesBrush()}if(this.higherThumbStrokeThickness()==NaN){a.thumbBox()._ac=a.getThumbBoxDefaultStrokeThickness()}else{a.thumbBox()._ac=this.higherThumbStrokeThickness()}},df:function(){if(this._w){return}if(this.orientation()==0){this._b.position(this.windowRect().left());this._a.position(this.windowRect().right());this._c.width(this.windowRect().width());this._c.position(this.windowRect().left()+this.windowRect().width()/2)}else{this._b.position(this.windowRect().top());this._a.position(this.windowRect().bottom());this._c.width(this.windowRect().height());this._c.position(this.windowRect().top()+this.windowRect().height()/2)}},dh:function(){this._c.minWidth(this.minZoomWidth());this._c.maxWidth(this.maxZoomWidth())},c5:function(){if(this._fj.isEmpty()){return}this.de(this._fj.left(),this._fj.top(),this._fj.width(),this._fj.height())},db:function(){if(this.orientation()==0){this._g._i.width(this.lowerThumbWidth());this._g._i.height(this.lowerThumbHeight());this._g._h.width(this.higherThumbWidth());this._g._h.height(this.higherThumbHeight())}else{this._g._i.height(this.lowerThumbWidth());this._g._i.width(this.lowerThumbHeight());this._g._h.height(this.higherThumbWidth());this._g._h.width(this.higherThumbHeight())}if(this._fj.isEmpty()){return}this.de(this._fj.left(),this._fj.top(),this._fj.width(),this._fj.height())},provideContainer:function(a){this._g.ar(a)},notifySizeChanged:function(){this._g.ao()},l:function(){return this.k},k:null,ak:0,aj:0,ar:0,init:function(){this.bk=500;this.ax=1;this.az=NaN;this.ag=1;this.fg=new $$a.ae(0,0,0,1,1);this.fk=new $$a.ah(1,5,5,5,5);this.ay=1e-5;this.a1=0;this.al=0;this.a3=5;this.a2=5;this.ah=16;this.d=0;this.en=null;this.av=1;this.ap=1;this.ef=null;this.eo=null;this.eg=null;this.ep=null;this.eh=null;this.aw=10;this.aq=10;this.au=22;this.ao=22;this.el=null;this.em=null;this.at=1;this.ed=null;this.ee=null;this.an=1;this.d8=null;this.d9=null;this.ai=0;this.eq=null;this.er=null;this.a0=1;this.es=null;this.ei=null;this.ek=null;this.ej=null;this.as=1;this.ea=null;this.ec=null;this.eb=null;this.am=1;this.k=null;this.p=false;$.ig.$op.init.call(this);this._h=6;this._fj=$$a.$ae.empty();this._fh=$$a.$ae.empty();this._fi=$$a.$ae.empty();this._g=new $$t.a(this);this._m=this._g.n();this._b=new $$t.t;this._b.rangePosition(0);this._a=new $$t.t;this._a.rangePosition(1);this._c=new $$t.s;this._c.lowerThumb(this._b);this._c.higherThumb(this._a);this._b.position(0);this._a.position(1);this._c.width(1);this._c.position(.5);this._c.minWidth(0);this._c.maxWidth(1);this._b.range(this._c);this._a.range(this._c);this._c.lowerThumb(this._b);this._c.higherThumb(this._a);this._b.owner(this);this._a.owner(this);this._c.owner(this);this.k=new $.ig.DoubleAnimator(0,1,this.panTransitionDuration());var a=this.k;a.propertyChanged=$.ig.Delegate.prototype.combine(a.propertyChanged,this.cx.runOn(this));this.k.easingFunction($.ig.EasingFunctions.prototype.exponentialEase)},dn:function(a){this.ak=a;this.aj=this._c.position();this.ar=this.aj;this.k.start()},cy:function(){if(this.k.animationActive()){this.k.stop()}},cx:function(a,b){var c=this.k.transitionProgress();var d=this.aj+c*(this.ak-this.aj);var e=d-this.ar;this.ar=d;this._c.o(e);if(this.k.animationActive()){this.d1(this._b);this.dw(this._a);this.flush()}else{this.c1();this.c0()}},flush:function(){this._g.ai()},p:false,trackDirty:function(){this.p=true;if(this._g==null){return}this._g.an()},show:function(){if(this._g!=null){this._g.aw()}},hide:function(){if(this._g!=null){this._g.al()}},$type:new $.ig.Type("ZoomSlider",$.ig.$ot,[$$t.$o.$type,$$0.$b6.$type,$.ig.IZoomSlider.prototype.$type])},true);$c("ZoomSliderResolvingAxisValueEventArgs:q","Object",{init:function(){$.ig.$op.init.call(this)},_position:0,position:function(a){if(arguments.length===1){this._position=a;return a}else{return this._position}},_value:null,value:function(a){if(arguments.length===1){this._value=a;return a}else{return this._value}},$type:new $.ig.Type("ZoomSliderResolvingAxisValueEventArgs",$.ig.$ot)},true);$c("TrackThumbRange:s","Object",{init:function(){this.i=0;this.j=0;this.h=0;this.g=1;this.d=null;this.c=null;this.a=null;$.ig.$op.init.call(this)},i:0,j:0,h:0,g:0,d:null,c:null,a:null,t:function(a,b,c){this.u(a,b,c);if(this.propertyChanged!=null){this.propertyChanged(this,new $$0.b7(a))}},u:function(a,b,c){this.s()},propertyChanged:null,s:function(){if(this.owner()==null){return}this.owner().trackDirty()},owner:function(a){if(arguments.length===1){var b=this.a;this.a=a;if(b!=this.a){this.t("Owner",b,this.a)}return a}else{return this.a}},position:function(a){if(arguments.length===1){var b=this.i;this.i=a;if(b!=this.i){this.t("Position",b,this.i)}return a}else{return this.i}},o:function(a){if(a>0&&this.position()+this.width()/2+a>1){a=1-(this.position()+this.width()/2)}if(a<0&&this.position()-this.width()/2+a<0){a=(this.position()-this.width()/2)*-1}this.lowerThumb().position(this.lowerThumb().position()+a);this.higherThumb().position(this.higherThumb().position()+a);this.position(this.position()+a);return a},p:function(a){a=this.k(a);var b=this.position()-this.width()/2;this.width(this.width()+a);this.position(b+this.width()/2);return a},k:function(a){if(a<0){var b=this.width()+a;if(b<this.minWidth()){b=this.minWidth();a=b-this.width()}}if(a>0){var c=this.width()+a;if(c>this.maxWidth()){c=this.maxWidth();a=c-this.width()}}return a},q:function(a){a=-1*this.k(a*-1);var b=this.position()+this.width()/2;this.width(this.width()-a);this.position(b-this.width()/2);return a},width:function(a){if(arguments.length===1){var b=this.j;this.j=a;if(b!=this.j){this.t("Width",b,this.j)}return a}else{return this.j}},minWidth:function(a){if(arguments.length===1){var b=this.h;this.h=a;if(b!=this.h){this.t("MinWidth",b,this.h)}return a}else{return this.h}},maxWidth:function(a){if(arguments.length===1){var b=this.g;this.g=a;if(b!=this.g){this.t("MaxWidth",b,this.g)}return a}else{return this.g}},lowerThumb:function(a){if(arguments.length===1){var b=this.d;this.d=a;if(b!=this.d){this.t("LowerThumb",b,this.d)}return a}else{return this.d}},higherThumb:function(a){if(arguments.length===1){var b=this.c;this.c=a;if(b!=this.c){this.t("HigherThumb",b,this.c)}return a}else{return this.c}},$type:new $.ig.Type("TrackThumbRange",$.ig.$ot,[$$0.$b6.$type])},true);$c("TrackThumb:t","Object",{init:function(){this.g=0;this.h=0;this.c=1;this.e=null;$.ig.$op.init.call(this)},g:0,h:0,c:0,e:null,a:null,owner:function(a){if(arguments.length===1){var b=this.a;this.a=a;if(b!=this.a){this.m("Owner",b,this.a)}return a}else{return this.a}},m:function(a,b,c){this.n(a,b,c);if(this.propertyChanged!=null){this.propertyChanged(this,new $$0.b7(a))}},n:function(a,b,c){this.l()},propertyChanged:null,push:function(a){if(this.position()+a>1){a=1-this.position()}if(this.position()+a<0){a=-this.position()}if(this.range()!=null){if(this.rangePosition()==0){a=this.range().q(a)}else{a=this.range().p(a)}}this.position(this.position()+a);return a},l:function(){if(this.owner()==null){return}this.owner().trackDirty()},position:function(a){if(arguments.length===1){var b=this.g;this.g=a;if(b!=this.g){this.m("Position",b,this.g)}return a}else{return this.g}},width:function(a){if(arguments.length===1){var b=this.h;this.h=a;if(b!=this.h){this.m("Width",b,this.h)}return a}else{return this.h}},rangePosition:function(a){if(arguments.length===1){var b=this.c;this.c=a;if(b!=this.c){this.m("RangePosition",$$t.$u.getBox(b),$$t.$u.getBox(this.c))}return a}else{return this.c}},range:function(a){if(arguments.length===1){var b=this.e;this.e=a;if(b!=this.e){this.m("Range",b,this.e)}return a}else{return this.e}},$type:new $.ig.Type("TrackThumb",$.ig.$ot,[$$0.$b6.$type])},true)});