text: /*
  jQWidgets v5.1.0 (2017-Aug)
  Copyright (c) 2011-2017 jQWidgets.
  License: http://jqwidgets.com/license/
  */
  !function(e){"use strict";e.jqx.jqxWidget("jqxSlider","",{}),e.extend(e.jqx._jqxSlider.prototype,{defineInstance:function(){var t={disabled:!1,width:300,height:30,step:1,max:10,min:0,int64:!1,orientation:"horizontal",showTicks:!0,tickMode:"default",tickNumber:10,minorTickNumber:20,niceInterval:!1,ticksPosition:"both",ticksFrequency:2,minorTicksFrequency:1,showMinorTicks:!1,showButtons:!0,buttonsPosition:"both",mode:"default",showRange:!0,rangeSlider:!1,value:0,values:[0,10],tooltip:!1,tooltipFormatFunction:null,tooltipFormatSettings:null,tooltipPosition:"near",tooltipHideDelay:500,sliderButtonSize:14,tickSize:7,minorTickSize:4,showTickLabels:!1,tickLabelStyleSettings:null,tickLabelFormatSettings:null,tickLabelFormatFunction:null,template:"",layout:"normal",rtl:!1,changeType:null,editableLabels:!1,padding:{},_settings:{vertical:{size:"height",oSize:"width",outerOSize:"outerWidth",outerSize:"outerHeight",left:"top",top:"left",start:"_startY",mouse:"_mouseStartY",page:"pageY",opposite:"horizontal"},horizontal:{size:"width",oSize:"height",outerOSize:"outerHeight",outerSize:"outerWidth",left:"left",top:"top",start:"_startX",mouse:"_mouseStartX",page:"pageX",opposite:"vertical"}},_touchEvents:{mousedown:e.jqx.mobile.getTouchEventName("touchstart"),click:e.jqx.mobile.getTouchEventName("touchstart"),mouseup:e.jqx.mobile.getTouchEventName("touchend"),mousemove:e.jqx.mobile.getTouchEventName("touchmove"),mouseenter:"mouseenter",mouseleave:"mouseleave"},_events:["change","slide","slideEnd","slideStart","created"],_invalidArgumentExceptions:{invalidWidth:"Invalid width.",invalidHeight:"Invalid height.",invalidStep:"Invalid step.",invalidMaxValue:"Invalid maximum value.",invalidMinValue:"Invalid minimum value.",invalidTickFrequency:"Invalid tick frequency.",invalidValue:"Invalid value.",invalidValues:"Invalid values.",invalidTicksPosition:"Invalid ticksPosition",invalidButtonsPosition:"Invalid buttonsPosition"},_lastValue:[],_track:null,_leftButton:null,_rightButton:null,_slider:null,_rangeBar:null,_slideEvent:null,_capturedElement:null,_slideStarted:!1,_helpers:[],aria:{"aria-valuenow":{name:"value",type:"number"},"aria-valuemin":{name:"min",type:"number"},"aria-valuemax":{name:"max",type:"number"},"aria-disabled":{name:"disabled",type:"boolean"}}};return this===e.jqx._jqxSlider.prototype?t:(e.extend(!0,this,t),t)},_createFromInput:function(t){var i,r,n,o,l,a,s=this;if("input"===s.element.nodeName.toLowerCase()&&(s.field=s.element,s.field.className&&(s._className=s.field.className),i={title:s.field.title},s.field.value&&(i.value=s.field.value),s.field.id.length?i.id=s.field.id.replace(/[^\w]/g,"_")+"_"+t:i.id=e.jqx.utilities.createId()+"_"+t,s.field.getAttribute("min")&&(r=s.field.getAttribute("min"),s.min=parseFloat(r)),s.field.getAttribute("step")&&(n=s.field.getAttribute("step"),s.step=parseFloat(n)),s.field.getAttribute("max")&&(o=s.field.getAttribute("max"),s.max=parseFloat(o)),l=document.createElement("div"),void 0!==i.id&&l.setAttribute("id",i.id),void 0!==i.value&&l.setAttribute("value",i.value),l.style.cssText=s.field.style.cssText,s.width||(s.width=s.field.offsetWidth),s.height||(s.height=s.field.offsetHeight),s.field.style.display="none",s.field.parentNode&&s.field.parentNode.insertBefore(l,s.field.nextSibling),a=s.host.data(),s.host=e(l),s.host.data(a),s.element=l,s.element.id=s.field.id,s.field.id=i.id,s._helpers.element=new jqxHelper(s.element),s._helpers.field=new jqxHelper(s.field),s._className&&(s._helpers.element.addClass(s._className),s._helpers.field.removeClass(s._className)),s.field.tabIndex)){var d=s.field.tabIndex;s.field.tabIndex=-1,s.element.tabIndex=d}},createInstance:function(t){var i=this;window.jqxHelper||(window.jqxHelper=e),i._createFromInput("jqxSlider"),i._isTouchDevice=e.jqx.mobile.isTouchDevice();if(i.element.innerHTML="<div role='slider'><div style='width:100%; height: 100%;'></div></div><div><div></div><div></div><div></div></div><div><div style='width:100%; height: 100%;'></div></div>",i._leftButton=i.element.firstChild,i._contentWrapper=i._leftButton.nextSibling,i._rightButton=i._contentWrapper.nextSibling,i.element.className=i.toThemeProperty("jqx-slider jqx-widget"),i._topTicks=i._contentWrapper.firstChild,i._track=i._topTicks.nextSibling,i._bottomTicks=i._track.nextSibling,i._leftButton.className=i.toThemeProperty("jqx-slider-left"),i._rightButton.className=i.toThemeProperty("jqx-slider-left"),i._helpers.leftButton=new jqxHelper(i._leftButton),i._helpers.rightButton=new jqxHelper(i._rightButton),i._helpers.element=new jqxHelper(i.element),i._helpers.track=new jqxHelper(i._track),!i.host.jqxRepeatButton)throw new Error("jqxSlider: Missing reference to jqxbuttons.js.");if(e.jqx.aria(this),"s"===i.int64){if(!e.jqx.longInt)throw new Error("jqxSlider: Missing reference to jqxmath.js");e.jqx.longInt(i),i._value64=(new e.jqx.math).fromString(i.value.toString(),10),i._values64=[(new e.jqx.math).fromString(i.values[0].toString(),10),(new e.jqx.math).fromString(i.values[1].toString(),10)],i._min64=(new e.jqx.math).fromString(i.min.toString(),10),i._max64=(new e.jqx.math).fromString(i.max.toString(),10),i._step64=(new e.jqx.math).fromString(i.step.toString(),10),i._ticksFrequency64=(new e.jqx.math).fromString(i.ticksFrequency.toString(),10),i._minorTicksFrequency64=(new e.jqx.math).fromString(i.minorTicksFrequency.toString(),10)}else if("u"===i.int64){try{new BigNumber(i.value)}catch(e){throw new Error("jqxSlider: Missing reference to jqxmath.js")}i._value64=new BigNumber(i.value),i._values64=[new BigNumber(i.values[0]),new BigNumber(i.values[1])],i._min64=new BigNumber(i.min),i._max64=new BigNumber(i.max),i._step64=new BigNumber(i.step),i._ticksFrequency64=new BigNumber(i.ticksFrequency),i._minorTicksFrequency64=new BigNumber(i.minorTicksFrequency)}i._helpers.element.width(i.width),i._helpers.element.height(i.height),i._helpers.element.isRendered?i._helpers.element.isRendered()?(e(i._leftButton).jqxRepeatButton({template:i.template,theme:i.theme,delay:50,width:i.sliderButtonSize,height:i.sliderButtonSize}),e(i._rightButton).jqxRepeatButton({template:i.template,theme:i.theme,delay:50,width:i.sliderButtonSize,height:i.sliderButtonSize}),i.render()):(i._helpers.element.sizeChanged(function(){e(i._leftButton).jqxRepeatButton({template:i.template,theme:i.theme,delay:50,width:i.sliderButtonSize,height:i.sliderButtonSize}),e(i._rightButton).jqxRepeatButton({template:i.template,theme:i.theme,delay:50,width:i.sliderButtonSize,height:i.sliderButtonSize}),i.render()}),i._helpers.element.sizeStyleChanged(function(){var e=i._helpers.element.getSizeFromStyle();e.width&&(i.width=e.width),e.height&&(i.height=e.height),i.__trackSize=null,i.__thumbSize=null,i._performLayout(),i._initialSettings()})):(e(i._leftButton).jqxRepeatButton({template:i.template,theme:i.theme,delay:50,width:i.sliderButtonSize,height:i.sliderButtonSize}),e(i._rightButton).jqxRepeatButton({template:i.template,theme:i.theme,delay:50,width:i.sliderButtonSize,height:i.sliderButtonSize}),i.render())},render:function(){var t=this;t._setPaddingValues(),t._rendering=!0,t._refresh(),t._raiseEvent(4,{value:t.getValue()}),t._addInput(),null==t.element.getAttribute("tabindex")&&t.element.setAttribute("tabindex",0),e.jqx.utilities.resize(t.host,function(){t.__trackSize=null,t.__thumbSize=null,t._performLayout(),t._initialSettings()}),"vertical"===t.orientation&&(t.element.style.minWidth="96px"),t._rendering=!1},focus:function(){try{this.host.focus()}catch(e){}},destroy:function(){var t=this;t.removeHandler(e(document),"mouseup.arrow"+t.element.id),t.removeHandler(e(document),t._getEvent("mouseup")+"."+t.element.id),t.removeHandler(e(document),t._getEvent("mousemove")+"."+t.element.id),e.jqx.utilities.resize(this.host,null,!0),t.host.remove(),t._helpers=[]},_addInput:function(){var e=this,t=e.element.getAttribute("name"),i=document.createElement("input");i.setAttribute("type","hidden"),e.element.appendChild(i),t&&i.setAttribute("name",t),e.rangeSlider?e.values&&(i.value=e.value.rangeStart.toString()+"-"+e.value.rangeEnd.toString()):i.value=e.value.toString(),e.input=i},_getSetting:function(e){return this._settings[this.orientation][e]},_getEvent:function(e){return this._isTouchDevice?this._touchEvents[e]:e},refresh:function(e){e||this._refresh()},_refresh:function(){var e=this;e._render(),e._performLayout(),e._removeEventHandlers(),e._addEventHandlers(),e._initialSettings()},_render:function(){var e=this;e._addTrack(),e._addSliders(),e._addTickContainers(),e._updateButtonsVisibility(),e._addRangeBar()},_addTrack:function(){var e=this,t=e._track;e._helpers.track.addClass(e.toThemeProperty("jqx-slider-track")),t.setAttribute("style",""),e._helpers.track.removeClass(e.toThemeProperty("jqx-slider-track-"+e._getSetting("opposite"))),e._helpers.track.addClass(e.toThemeProperty("jqx-slider-track-"+e.orientation)),e._helpers.track.addClass(e.toThemeProperty("jqx-fill-state-normal jqx-rc-all"))},_addSliders:function(){var e=this;if(null===e._slider||e._slider.length<1){e._slider={};var t=document.createElement("div"),i=document.createElement("div");t.className=e.toThemeProperty("jqx-slider-slider"),i.className=e.toThemeProperty("jqx-slider-slider"),e._slider.left=t,e._track.appendChild(t),e._slider.right=i,e._track.appendChild(i),e._helpers.track=new jqxHelper(e._track),e._helpers.left=new jqxHelper(e._slider.left),e._helpers.right=new jqxHelper(e._slider.right),e.template&&(e._helpers.left.addClass(e.toThemeProperty("jqx-"+e.template)),e._helpers.right.addClass(e.toThemeProperty("jqx-"+e.template)))}e._helpers.left.removeClass(e.toThemeProperty("jqx-slider-slider-"+e._getSetting("opposite"))),e._helpers.left.addClass(e.toThemeProperty("jqx-slider-slider-"+e.orientation)),e._helpers.right.removeClass(e.toThemeProperty("jqx-slider-slider-"+e._getSetting("opposite"))),e._helpers.right.addClass(e.toThemeProperty("jqx-slider-slider-"+e.orientation)),e._helpers.right.addClass(e.toThemeProperty("jqx-fill-state-normal")),e._helpers.left.addClass(e.toThemeProperty("jqx-fill-state-normal"))},_addTickContainers:function(){var e=this;e._bottomTicks.className=e.toThemeProperty("jqx-slider-tickscontainer"),e._topTicks.className=e.toThemeProperty("jqx-slider-tickscontainer");var t="visible";e.showTicks||(t="hidden"),e._bottomTicks.style.visibility=t,e._topTicks.style.visibility=t},_updateButtonsVisibility:function(){var e=this,t="block";e.showButtons&&!e.rangeSlider||(t="none"),e._rightButton.style.display=t,e._leftButton.style.display=t},_getNiceInterval:function(t){function i(e){return Math.log(parseFloat(e))/Math.LN10}var r,n=this,o="Width";"vertical"===n.orientation&&(o="Height");var l=document.createElement("span");if(l.className=n.toThemeProperty("jqx-widget jqx-slider-label"),l.style.position="absolute",l.style.visibility="hidden",n.tickLabelStyleSettings){var a=n.tickLabelStyleSettings;l.style.fontSize=a.fontSize,l.style.fontFamily=a.fontFamily,l.style.fontWeight=a.fontWeight,l.style.fontStyle=a.fontStyle}var s,d;s=n._formatLabel(n.min),d=n._formatLabel(n.max);var h=e.jqx.browser.msie?0:1;document.body.appendChild(l),l.innerHTML=s;var u=l["scroll"+o]+h;l.innerHTML=d;var m=l["scroll"+o]+h;l.parentNode.removeChild(l);var p=Math.max(m,u),_=0;p>105&&(_=(p-105)/100),p*=1.5+_;var g=n._getTrackSize();g>64&&!1===n.showButtons&&(g-=64);var c,f,v,y,x,b=Math.round(g/p);return 0===b&&(b=1),!0===t&&(b*=4),!1===n.int64?(c=n.max-n.min,f=Math.floor(i(c)-i(b)),x=(r=c<2*(y=b*(v=Math.pow(10,f)))?1:c<3*y?2:c<7*y?5:10)*v):(c=new BigNumber(n.max).subtract(new BigNumber(n.min)),f=Math.floor(i(c.toString())-i(b)),v=new BigNumber(10).pow(new BigNumber(f)),y=new BigNumber(b).multiply(v),r=-1===c.compare(new BigNumber(2*y))?1:-1===c.compare(new BigNumber(3*y))?2:-1===c.compare(new BigNumber(7*y))?5:10,-1===(x=new BigNumber(r).multiply(v)).compare(1)&&(x=new BigNumber(1)),"s"===n.int64&&(x=(new e.jqx.math).fromString(x.toString()))),x},_formatLabel:function(t,i){var r,n=this,o=!0!==i?n.tickLabelFormatFunction:n.tooltipFormatFunction,l=!0!==i?n.tickLabelFormatSettings:n.tooltipFormatSettings;return o?r=o(t):l?void 0!==l.radix?r=(new e.jqx.math).getRadixValue(t,n.int64,l.radix):void 0!==l.outputNotation&&"default"!==l.outputNotation&&"decimal"!==l.outputNotation?r=(new e.jqx.math).getDecimalNotation(t,l.outputNotation,l.decimalDigits,l.digits):void 0!==l.decimalDigits?r=Number(t).toFixed(l.decimalDigits):void 0!==l.digits&&(r=Number(Number(t).toPrecision(l.digits)).toString()):r=t,r},_addTicks:function(t,i){var r=this;if(r.showTicks){var n,o,l,a,s,d,h,u,m,p,_,g,c,f=parseInt(t.style[r._getSetting("size")],10),v="normal"===r.layout&&"horizontal"===r.orientation&&!1===r.rtl||"reverse"===r.layout&&"vertical"===r.orientation,y="";!1===r.int64?(s=r.max-r.min,"default"===r.tickMode?(r.niceInterval?(l=r._getNiceInterval(),a=r._getNiceInterval(!0)):(l=r.ticksFrequency,a=r.minorTicksFrequency),d=Math.round(s/l),h=Math.round(s/a)):"tickNumber"===r.tickMode&&(d=r.tickNumber,h=r.minorTickNumber,l=Math.round(s/d)),m=r.min,p=r.max):"s"===r.int64?(s=r._max64.subtract(r._min64),"default"===r.tickMode?(r.niceInterval?(l=r._getNiceInterval(),a=r._getNiceInterval(!0)):(l=r._ticksFrequency64,a=r._minorTicksFrequency64),d=s.div(l).toNumber(),h=s.div(a).toNumber()):"tickNumber"===r.tickMode&&(d=r.tickNumber,h=r.minorTickNumber,l=s.div((new e.jqx.math).fromNumber(d))),m=r._min64.toString(),p=r._max64.toString()):"u"===r.int64&&(s=r._max64.subtract(r._min64),"default"===r.tickMode?(r.niceInterval?(l=r._getNiceInterval(),a=r._getNiceInterval(!0)):(l=r._ticksFrequency64,a=r._minorTicksFrequency64),d=parseInt(s.divide(l).toString(),10),h=parseInt(s.divide(a).toString(),10)):"tickNumber"===r.tickMode&&(d=r.tickNumber,h=r.minorTickNumber,l=s.divide(new BigNumber(d)).intPart()),m=r._min64.toString(),p=r._max64.toString());var x=f/d;u=f/h,t.innerHTML="",o=v?r._formatLabel(m):r._formatLabel(p);var b=document.createElement("span");if(b.style.visibility="hidden",b.className=r.toThemeProperty("jqx-widget jqx-widget-content jqx-slider"),r.tickLabelStyleSettings){var S=r.tickLabelStyleSettings;b.style.fontSize=S.fontSize,b.style.fontFamily=S.fontFamily,b.style.fontWeight=S.fontWeight,b.style.fontStyle=S.fontStyle}document.body.appendChild(b),b.innerHTML="0";var w={width:b.offsetWidth,height:b.offsetHeight};b.parentNode.removeChild(b);var T=parseInt(t.style[r._getSetting("oSize")],10),B="horizontal"===r.orientation?r.padding.left:0;y+=r._addTick(t,B,r.min,T,o,w,!1,i);var j=document.createElement("span");j.className=r.toThemeProperty("jqx-widget"),j.style.position="absolute",j.style.visibility="hidden",document.body.appendChild(j),j.innerHTML=r.min.toString(),_="horizontal"===r.orientation?j.offsetWidth:j.offsetHeight;var q=0,k=0;if("default"===r.tickMode&&!0===r.niceInterval){var z,N;if(!1===r.int64)k=(q=v?(N=(z=r.min)-z%l+l)-z:(z=r.max)-(N=z-z%l))/l*x;else{var H=new BigNumber(l.toString());v?q=(N=(z=new BigNumber(r.min)).subtract(z.mod(H)).add(H)).subtract(z):(N=(z=new BigNumber(r.max)).subtract(z.mod(H)),q=z.subtract(N)),k=parseFloat(q.divide(H).multiply(x).toString())}var P=!0;if(_>=k&&(P=!1),N.toString()!==r.max.toString()&&k<f){var C=r._formatLabel(N.toString());y+=r._addTick(t,k+B,N,T,C,w,!1,i,P)}}for(g=1;g<d;g++){n=g*x+k,n=Math.floor(n);var E;!1===r.int64?E=v?r.min+l*g+q:r.max-l*g-q:"s"===r.int64?E=v?r._min64.add(l.multiply((new e.jqx.math).fromString(g.toString(),10))).add((new e.jqx.math).fromString(q.toString(),10)).toString():r._max64.subtract(l.multiply((new e.jqx.math).fromString(g.toString(),10))).subtract((new e.jqx.math).fromString(q.toString(),10)).toString():"u"===r.int64&&(E=v?r._min64.add(l.multiply(g)).add(q).toString():r._max64.subtract(l.multiply(g)).subtract(q).toString()),E.toString()!==r.max.toString()&&(o=r._formatLabel(E.toString()),c=!0,"default"===r.tickMode&&!0===r.niceInterval&&(j.innerHTML=o,n+(_="horizontal"===r.orientation?j.offsetWidth:j.offsetHeight)>=d*x&&(c=!1)),y+=r._addTick(t,n+B,g,T,o,w,!1,i,c))}if(r.showMinorTicks)for(g=1;g<h;g++)n=g*u,n=Math.floor(n),o="",y+=r._addTick(t,n+B,g,T,o,w,!0,i);o=v?r._formatLabel(p):r._formatLabel(m),y+=r._addTick(t,d*x+B,r.max,T,o,w,!1,i),t.innerHTML=y,j.parentNode.removeChild(j)}},_addTick:function(e,t,i,r,n,o,l,a,s){var d,h=this,u="";u=h.toThemeProperty("jqx-slider-tick"),u+=" "+h.toThemeProperty("jqx-fill-state-pressed"),h.template&&(u+=" "+h.toThemeProperty("jqx-"+h.template));var m,p=h._getSetting("top"),_="2px",g=h.tickSize;if(l&&(g=h.minorTickSize),e!==h._bottomTicks&&(_=r-g-2+"px"),"horizontal"===h.orientation){if(m='<div style="'+p+": "+_+"; "+h._getSetting("oSize")+":  "+g+"px; float: left; position:absolute; left:"+t+'px;" class="'+h.toThemeProperty("jqx-slider-tick-horizontal")+" "+u+'"></div>',h.showTickLabels){_=e!==h._bottomTicks?r-g-o.height-2+"px":2+g+"px";var c=o.width*n.toString().length;if(c/=2,d=t-c,!1!==s){var f="",v="",y="",x="";if(h.tickLabelStyleSettings){var b=h.tickLabelStyleSettings;b.fontSize&&(f=b.fontSize),b.fontFamily&&(v=b.fontFamily),b.fontWeight&&(y=b.fontWeight),b.fontStyle&&(x=b.fontStyle)}m+='<div class="'+h.toThemeProperty("jqx-slider-label jqx-slider-label-"+a)+'" style="'+p+": "+_+"; float: left; position:absolute; left:"+d+"px; white-space: nowrap; font-size: "+f+"; font-family: "+v+"; font-weight: "+y+"; font-style: "+x+'">'+n+"</div>"}}}else if(m='<div style="'+p+": "+_+"; "+h._getSetting("oSize")+":  "+g+"px; float: none; position:absolute; top:"+t+'px;" class="'+h.toThemeProperty("jqx-slider-tick-vertical")+" "+u+'"></div>',h.showTickLabels){_=e!==h._bottomTicks?r-g-n.toString().length*o.width-6+"px":6+g+"px";var S=o.height;d=t-(S/=2),!1!==s&&(m+='<div class="'+h.toThemeProperty("jqx-slider-label jqx-slider-label-"+a)+'" style="'+p+": "+_+"; float: none; position:absolute; top:"+d+'px;">'+n+"</div>")}return m},_addRangeBar:function(){var e=this;(null===e._rangeBar||e._rangeBar.length<1)&&(e._rangeBar=document.createElement("div"),e._rangeBar.className=e.toThemeProperty("jqx-slider-rangebar jqx-fill-state-pressed jqx-rc-all"),e.template&&(e._rangeBar.className+=" "+e.toThemeProperty("jqx-"+e.template)),e._helpers.rangeBar=new jqxHelper(e._rangeBar),e._track.appendChild(e._rangeBar)),e.showRange?e._rangeBar.style.display="block":e._rangeBar.style.display="none",e._thumbSize=e._slider.left.offsetWidth},_getLeftDisplacement:function(){if(!this.showButtons)return 0;if(this.rangeSlider)return 0;switch(this.buttonsPosition){case"left":return this._leftButton[this._getSetting("outerSize")](!0)+this._rightButton[this._getSetting("outerSize")](!0);case"right":return 0;default:return this._leftButton[this._getSetting("outerSize")](!0)}return 0},_performLayout:function(){var e=this;null!==e.width&&-1!==e.width.toString().indexOf("px")?e.element.style.width=parseInt(e.width,10)+"px":void 0===e.width||isNaN(e.width)||(e.element.style.width=parseInt(e.width,10)+"px"),null!==e.height&&-1!==e.height.toString().indexOf("px")?e.element.style.height=parseInt(e.height,10)+"px":void 0===e.height||isNaN(e.height)||(e.element.style.height=parseInt(e.height,10)+"px");null!==e.width&&-1!==e.width.toString().indexOf("%")&&(!0,e._helpers.element.width(e.width)),null!==e.height&&-1!==e.height.toString().indexOf("%")&&(!0,e._helpers.element.height(e.height));var t=e._helpers.element.innerHeight();"width"===e._getSetting("size")&&(t=e._helpers.element.innerWidth()),e._performButtonsLayout(),e._performTrackLayout(t-6),e._contentWrapper.style[e._getSetting("size")]=e._track.style[e._getSetting("size")],e._contentWrapper.style[e._getSetting("oSize")]=e.element.style[e._getSetting("oSize")],e._performTicksLayout(),e._performRangeBarLayout();var i=e.padding;if("horizontal"===e.orientation){if(e._contentWrapper.style.position="absolute",e._contentWrapper.style.left="0px",e._contentWrapper.style.top="0px",e.showButtons&&!e.rangeSlider&&(e._contentWrapper.style.left=1+e._helpers.leftButton.outerWidth(!0)+"px",e._leftButton.style.left=i.left+"px",e._rightButton.style.right=i.right+"px","left"===e.buttonsPosition?(e._contentWrapper.style.left=2+2*e._helpers.leftButton.innerWidth()+e._helpers.left.innerWidth()/2+"px",e._rightButton.style.left=1+e._helpers.leftButton.innerWidth()+"px"):"right"===e.buttonsPosition&&(e._contentWrapper.style.left=e._helpers.left.innerWidth()/2+"px",e._leftButton.style.left="",e._leftButton.style.right=1+i.right+e._helpers.leftButton.innerWidth()+"px",e._rightButton.style.right=e._leftButton.style.right-e._helpers.leftButton.innerWidth()+"px")),!e.showButtons||e.rangeSlider){r=2+Math.ceil(e.sliderButtonSize/2);e._contentWrapper.style.left=r+"px"}}else if(e._contentWrapper.style.position="absolute",e._contentWrapper.style.left="0px",e._contentWrapper.style.top="0px",e.showButtons&&!e.rangeSlider&&(e._contentWrapper.style.top=1+e._helpers.leftButton.outerHeight(!0)+"px",e._leftButton.style.top="0px",e._rightButton.style.bottom="0px",e._leftButton.style.left="",e._leftButton.style.right="",e._rightButton.style.left="",e._rightButton.style.right="","left"===e.buttonsPosition?(e._contentWrapper.style.top=2+2*e._helpers.leftButton.innerHeight()+e._helpers.left.innerHeight()/2+"px",e._rightButton.style.top=1+e._helpers.leftButton.innerHeight()+"px"):"right"===e.buttonsPosition&&(e._contentWrapper.style.top=e._helpers.left.innerHeight()/2+"px",e._leftButton.style.top="",e._leftButton.style.bottom=1+e._helpers.leftButton.innerHeight()+"px",e._rightButton.style.bottom=e._leftButton.style.bottom-e._helpers.leftButton.innerHeight()+"px")),!e.showButtons||e.rangeSlider){var r=2+Math.ceil(e.sliderButtonSize/2);e._contentWrapper.style.top=r+"px"}if(e.rangeSlider?e._slider.left.style.visibility="visible":e._slider.left.style.visibility="hidden",e._refreshRangeBar(),"vertical"===e.orientation&&e.showButtons){e._leftButton.offsetWidth,e._track.offsetWidth;e._track.style.marginLeft="1px"}e._editableLabels()},_performTrackLayout:function(e){var t=this,i=e;t.showButtons&&!t.rangeSlider&&("horizontal"===t.orientation?i-=t._helpers.leftButton.innerWidth()+t._helpers.rightButton.innerWidth()+4:i-=t._helpers.leftButton.innerHeight()+t._helpers.rightButton.innerHeight()+4),!t.rangeSlider&&t.showButtons||(i=e-2*(2+Math.ceil(t.sliderButtonSize/2))),"horizontal"===t.orientation?(i-=t.padding.left+t.padding.right,i-=t._helpers.left.outerWidth()-2):i-=t._helpers.left.outerHeight()-2,t._track.style[t._getSetting("size")]=i+"px",t._track.style.left=t.padding.left+"px",t._slider.left.style.left="0px",t._slider.left.style.top="0px",t._slider.right.style.left="0px",t._slider.right.style.top="0px"},_performTicksLayout:function(){var e=this;e._performTicksContainerLayout(),e._addTicks(this._topTicks,"top"),e._addTicks(this._bottomTicks,"bottom"),e._topTicks.style.visibility="hidden",e._bottomTicks.style.visibility="hidden","top"!==e.ticksPosition&&"both"!==e.ticksPosition||!e.showTicks||(e._topTicks.style.visibility="visible"),"bottom"!==e.ticksPosition&&"both"!==e.ticksPosition||!e.showTicks||(e._bottomTicks.style.visibility="visible")},_performTicksContainerLayout:function(){var e,t=this;"horizontal"===t.orientation?(t._topTicks.style.width=t._track.style.width,t._bottomTicks.style.width=t._track.style.width,e=(parseInt(t.element.style.height,10)-t._helpers.track.outerHeight())/2-2,t._topTicks.style.height=e+"px",t._bottomTicks.style.height=e+"px",t._topTicks.style.float="none",t._track.style.float="none",t._bottomTicks.style.float="none"):(t._topTicks.style.height=t._track.style.height,t._bottomTicks.style.height=t._track.style.height,e=(parseInt(t.element.style.width,10)-t._helpers.track.outerWidth())/2-2,t._topTicks.style.width=e+"px",t._bottomTicks.style.width=e+"px",t._topTicks.style.float="left",t._track.style.float="left",t._bottomTicks.style.float="left")},_performButtonsLayout:function(){this._updateButtonsVisibilityStyles(),this._updateButtonsVisibilityClasses(),this._updateButtonsVisibilityHover(),this._centerElement(this._rightButton),this._centerElement(this._leftButton),this._layoutButtons()},_centerElement:function(e){var t=new jqxHelper(e);e.style.marginLeft="0px",e.style.marginTop="0px",e.style.marginRight="0px",e.style.marginBottom="0px";var i=(parseFloat(this.element.style[this._getSetting("oSize")])-parseFloat(t[this._getSetting("outerOSize")]()))/2;return"horizontal"===this.orientation?(e.style.marginLeft="0px",e.style.marginTop=i+"px"):(e.style.marginTop="0px;",e.style.marginLeft=i+"px"),e},_updateButtonsVisibilityStyles:function(){var e=this;e._leftButton.style.backgroundPosition="center",e._rightButton.style.backgroundPosition="center","vertical"===e.orientation&&(e._leftButton.style.float="none",e._rightButton.style.float="none"),e._leftButton.style.position="absolute",e._rightButton.style.position="absolute"},_updateButtonsVisibilityClasses:function(){var e=this,t={prev:"left",next:"right"};"vertical"===e.orientation&&(t={prev:"up",next:"down"}),e._helpers.leftButton.addClass(e.toThemeProperty("jqx-rc-all jqx-slider-button")),e._helpers.rightButton.addClass(e.toThemeProperty("jqx-rc-all jqx-slider-button")),e._leftArrow=e._leftButton.firstChild,e._rightArrow=e._rightButton.firstChild,e._helpers.leftArrow=new jqxHelper(e._leftArrow),e._helpers.rightArrow=new jqxHelper(e._rightArrow),e._helpers.leftArrow.removeClass(e.toThemeProperty("jqx-icon-arrow-left")),e._helpers.rightArrow.removeClass(e.toThemeProperty("jqx-icon-arrow-right")),e._helpers.leftArrow.removeClass(e.toThemeProperty("jqx-icon-arrow-up")),e._helpers.rightArrow.removeClass(e.toThemeProperty("jqx-icon-arrow-down")),e._helpers.leftArrow.addClass(e.toThemeProperty("jqx-icon-arrow-"+t.prev)),e._helpers.rightArrow.addClass(e.toThemeProperty("jqx-icon-arrow-"+t.next))},_updateButtonsVisibilityHover:function(){var t=this,i={prev:"left",next:"right"};"vertical"===t.orientation&&(i={prev:"up",next:"down"}),t.removeHandler(e(document),"mouseup.arrow"+t.element.id),t.addHandler(e(document),"mouseup.arrow"+t.element.id,function(){t._helpers.leftArrow.removeClass(t.toThemeProperty("jqx-icon-arrow-"+i.prev+"-selected")),t._helpers.rightArrow.removeClass(t.toThemeProperty("jqx-icon-arrow-"+i.next+"-selected")),t.sliderTooltip?(t.sliderTooltipTimer&&clearTimeout(t.sliderTooltipTimer),t.sliderTooltipTimer=setTimeout(function(){t.sliderTooltipObj.fadeOut("fast"),t._mouseDown=!1},t.tooltipHideDelay)):t._mouseDown=!1}),t.removeHandler(t._leftButton,"mousedown."+t.element.id),t.removeHandler(t._leftButton,"mouseup."+t.element.id),t.removeHandler(t._leftButton,"mouseenter."+t.element.id),t.removeHandler(t._leftButton,"mouseleave."+t.element.id),t.removeHandler(t._rightButton,"mousedown."+t.element.id),t.removeHandler(t._rightButton,"mouseup."+t.element.id),t.removeHandler(t._rightButton,"mouseenter."+t.element.id),t.removeHandler(t._rightButton,"mouseleave."+t.element.id),t.addHandler(t._leftButton,"mousedown."+t.element.id,function(){t.disabled||(t._helpers.leftArrow.addClass(t.toThemeProperty("jqx-icon-arrow-"+i.prev+"-selected")),t._mouseDown=!0)}),t.addHandler(t._leftButton,"mouseup."+t.element.id,function(){t.disabled||t._helpers.leftArrow.removeClass(t.toThemeProperty("jqx-icon-arrow-"+i.prev+"-selected"))}),t.addHandler(t._leftButton,"mouseenter."+t.element.id,function(){t.disabled||t._helpers.leftArrow.addClass(t.toThemeProperty("jqx-icon-arrow-"+i.prev+"-hover"))}),t.addHandler(t._leftButton,"mouseleave."+t.element.id,function(){t.disabled||t._helpers.leftArrow.removeClass(t.toThemeProperty("jqx-icon-arrow-"+i.prev+"-hover"))}),t.addHandler(t._rightButton,"mousedown."+t.element.id,function(){t.disabled||(t._helpers.rightArrow.addClass(t.toThemeProperty("jqx-icon-arrow-"+i.next+"-selected")),t._mouseDown=!0)}),t.addHandler(t._rightButton,"mouseup."+t.element.id,function(){t.disabled||t._helpers.rightArrow.removeClass(t.toThemeProperty("jqx-icon-arrow-"+i.next+"-selected"))}),t.addHandler(t._rightButton,"mouseenter."+t.element.id,function(){t.disabled||t._helpers.rightArrow.addClass(t.toThemeProperty("jqx-icon-arrow-"+i.next+"-hover"))}),t.addHandler(t._rightButton,"mouseleave."+t.element.id,function(){t.disabled||t._helpers.rightArrow.removeClass(t.toThemeProperty("jqx-icon-arrow-"+i.next+"-hover"))})},_layoutButtons:function(){var e=this;"horizontal"===e.orientation?e._horizontalButtonsLayout():e._verticalButtonsLayout()},_horizontalButtonsLayout:function(){var e=this,t=2+Math.ceil(e.sliderButtonSize/2);"left"===e.buttonsPosition?(e._leftButton.style.marginRight="0px",e._rightButton.style.marginRight=t+"px"):"right"===e.buttonsPosition?(e._leftButton.style.marginLeft=2+t+"px",e._rightButton.style.marginRight="0px"):(e._leftButton.style.marginRight=t+"px",e._rightButton.style.marginLeft=t+"px")},_verticalButtonsLayout:function(){var e=this,t=2+Math.ceil(e.sliderButtonSize/2);"left"===e.buttonsPosition?(e._leftButton.style.marginBottom="0px",e._rightButton.style.marginBottom=t+"px"):"right"===e.buttonsPosition?(e._leftButton.style.marginTop=2+t+"px",e._rightButton.style.marginBottom="0px"):(e._leftButton.style.marginBottom=t+"px",e._rightButton.style.marginTop=2+t+"px");var i=parseInt(e._leftButton.style.marginLeft,10);e._leftButton.style.marginLeft=i-1+"px",e._rightButton.style.marginLeft=i-1+"px"},_performRangeBarLayout:function(){var e=this;e._rangeBar.style[e._getSetting("oSize")]=e._helpers.track[e._getSetting("oSize")]()+"px",e._rangeBar.style[e._getSetting("size")]=e._helpers.track[e._getSetting("size")]()+"px",e._rangeBar.style.position="absolute",e._rangeBar.style.left="0px",e._rangeBar.style.top="0px"},_raiseEvent:function(t,i){var r=this,n=r._events[t],o=new e.Event(n,this.element);return!1===r._triggerEvents||(!!r._rendering||(o.args=i,0===t&&(o.args.type=r.changeType,r.changeType=null),1===t&&(o.args.cancel=!1,r._slideEvent=o),r._lastValue[t]=i.value,o.owner=this,r.host.trigger(o)))},_initialSettings:function(){var e=this;!1===e.int64?e.rangeSlider?"number"!=typeof e.value?e.setValue(e.value):e.setValue(e.values):(void 0===e.value&&(e.value=0),e.setValue(e.value)):!1===e.rangeSlider||!0===Array.isArray(e._value64)?e.setValue(e._value64):e.setValue(e._values64),e.disabled&&e.disable()},_addEventHandlers:function(){var t=this;t.addHandler(t._slider.right,t._getEvent("mousedown"),t._startDrag,{that:this}),t.addHandler(t._slider.left,t._getEvent("mousedown"),t._startDrag,{that:this}),t.addHandler(e(document),t._getEvent("mouseup")+"."+t.element.id,function(){t._stopDrag()});try{if((""!==document.referrer||window.frameElement)&&null!==window.top&&window.top!==window.self){var i=function(){t._stopDrag()},r=null;window.parent&&document.referrer&&(r=document.referrer),r&&-1!==r.indexOf(document.location.host)&&window.top.document&&(window.top.document.addEventListener?window.top.document.addEventListener("mouseup",i,!1):window.top.document.attachEvent&&window.top.document.attachEvent("onmouseup",i))}}catch(e){}t.addHandler(e(document),t._getEvent("mousemove")+"."+t.element.id,t._performDrag,{that:this}),t.addHandler(t._slider.left,"mouseenter",function(){t.disabled||t._helpers.left.addClass(t.toThemeProperty("jqx-fill-state-hover"))}),t.addHandler(t._slider.right,"mouseenter",function(){t.disabled||t._helpers.right.addClass(t.toThemeProperty("jqx-fill-state-hover"))}),t.addHandler(t._slider.left,"mouseleave",function(){t.disabled||t._helpers.left.removeClass(t.toThemeProperty("jqx-fill-state-hover"))}),t.addHandler(t._slider.right,"mouseleave",function(){t.disabled||t._helpers.right.removeClass(t.toThemeProperty("jqx-fill-state-hover"))}),t.addHandler(t._slider.left,"mousedown",function(){t.disabled||t._helpers.left.addClass(t.toThemeProperty("jqx-fill-state-pressed"))}),t.addHandler(t._slider.right,"mousedown",function(){t.disabled||t._helpers.right.addClass(t.toThemeProperty("jqx-fill-state-pressed"))}),t.addHandler(t._slider.left,"mouseup",function(){t.disabled||t._helpers.left.removeClass(t.toThemeProperty("jqx-fill-state-pressed"))}),t.addHandler(t._slider.right,"mouseup",function(){t.disabled||t._helpers.right.removeClass(t.toThemeProperty("jqx-fill-state-pressed"))}),t.addHandler(t._leftButton,t._getEvent("click"),t._leftButtonHandler,{that:this}),t.addHandler(t._rightButton,t._getEvent("click"),t._rightButtonHandler,{that:this}),t.addHandler(t._track,t._getEvent("mousedown"),t._trackMouseDownHandler,{that:this}),t.addHandler(t.host,"focus",function(){t._helpers.track.addClass(t.toThemeProperty("jqx-fill-state-focus")),t._helpers.leftButton.addClass(t.toThemeProperty("jqx-fill-state-focus")),t._helpers.rightButton.addClass(t.toThemeProperty("jqx-fill-state-focus")),t._helpers.right.addClass(t.toThemeProperty("jqx-fill-state-focus")),t._helpers.left.addClass(t.toThemeProperty("jqx-fill-state-focus"))}),t.addHandler(t.host,"blur",function(){t._helpers.track.removeClass(t.toThemeProperty("jqx-fill-state-focus")),t._helpers.leftButton.removeClass(t.toThemeProperty("jqx-fill-state-focus")),t._helpers.rightButton.removeClass(t.toThemeProperty("jqx-fill-state-focus")),t._helpers.right.removeClass(t.toThemeProperty("jqx-fill-state-focus")),t._helpers.left.removeClass(t.toThemeProperty("jqx-fill-state-focus"))}),t.element.onselectstart=function(){return!1},t._addMouseWheelListeners(),t._addKeyboardListeners()},_addMouseWheelListeners:function(){var t=this;t.addHandler(t.host,"mousewheel",function(i){if(t.disabled)return!0;if(t.changeType="mouse",document.activeElement&&!e(document.activeElement).ischildof(t.host))return!0;var r=i.wheelDelta;i.originalEvent&&i.originalEvent.wheelDelta&&(i.wheelDelta=i.originalEvent.wheelDelta),"wheelDelta"in i||(r=-40*i.detail),r>0?t.incrementValue():t.decrementValue(),i.preventDefault()})},_addKeyboardListeners:function(){var e=this;e.addHandler(e.host,"keydown",function(t){if(!0!==e._editingLabels)switch(e.changeType="keyboard",t.keyCode){case 40:case 37:return"normal"!==e.layout||e.rtl?e.incrementValue():e.decrementValue(),!1;case 38:case 39:return"normal"!==e.layout||e.rtl?e.decrementValue():e.incrementValue(),!1;case 36:return e.rangeSlider?e.setValue([e.values[0],e.max]):e.setValue(e.min),!1;case 35:return e.rangeSlider?e.setValue([e.min,e.values[1]]):e.setValue(e.max),!1}})},_trackMouseDownHandler:function(t){var i=t.data.that,r=e.jqx.mobile.getTouches(t)[0],n=parseInt(i._slider.left.style[i._getSetting("size")],10);isNaN(n)&&(n=0);var o=(i._isTouchDevice?r:t)[i._getSetting("page")]-n/2,l=i._getClosest(o),a=i._getValueByPosition(o);i._mouseDown=!0,i.changeType="mouse",i._setValue(a,l),i.input&&e.jqx.aria(i,"aria-valuenow",i.input.value)},_getClosest:function(e){var t=this;return t.rangeSlider?(e=e-t._helpers.track.offset()[t._getSetting("left")]-t._helpers.left[t._getSetting("size")]()/2,Math.abs(parseInt(t._slider.left.style[t._getSetting("left")],10)-e)<Math.abs(parseInt(t._slider.right.style[t._getSetting("left")],10)-e)?t._slider.left:t._slider.right):t._slider.right},_removeEventHandlers:function(){var t=this;t.removeHandler(t._slider.right,t._getEvent("mousedown"),t._startDrag),t.removeHandler(t._slider.left,t._getEvent("mousedown"),t._startDrag),t.removeHandler(e(document),t._getEvent("mouseup")+"."+t.host.attr("id"),t._stopDrag),t.removeHandler(e(document),t._getEvent("mousemove")+"."+t.host.attr("id"),t._performDrag),t.removeHandler(t._leftButton,t._getEvent("click"),t._leftButtonHandler),t.removeHandler(t._rightButton,t._getEvent("click"),t._rightButtonHandler),t.removeHandler(t._track,t._getEvent("mousedown"),t._trackMouseDownHandler),t.element.onselectstart=null,t.removeHandler(t.host,t._getEvent("mousewheel")),t.removeHandler(t.host,t._getEvent("keydown"))},_rightButtonClick:function(){var e=this;e.changeType="mouse","horizontal"!==e.orientation||e.rtl?e.decrementValue():e.incrementValue()},_leftButtonClick:function(){var e=this;e.changeType="mouse","horizontal"!==e.orientation||e.rtl?e.incrementValue():e.decrementValue()},_rightButtonHandler:function(e){var t=e.data.that;return"normal"===t.layout?t._rightButtonClick():t._leftButtonClick(),!1},_leftButtonHandler:function(e){var t=e.data.that;return"normal"===t.layout?t._leftButtonClick():t._rightButtonClick(),!1},_startDrag:function(t){var i=t.data.that;i.changeType="mouse",i._capturedElement=t.target;var r=new jqxHelper(t.target).offset();i._startX=r.left,i._startY=r.top;var n=e.jqx.position(t);if(i._mouseStartX=n.left,i._mouseStartY=n.top,i._mouseDown=!0,t.stopPropagation(),i.tooltip&&i._showTooltip(i._capturedElement,i.value),i._isTouchDevice)return!1},_stopDrag:function(){var t=this;t._slideStarted&&t._raiseEvent(2,{value:t.getValue()}),t._slideStarted&&null!==t._capturedElement?(t.input&&e.jqx.aria(this,"aria-valuenow",t.input.value),t._helpers.left.removeClass(t.toThemeProperty("jqx-fill-state-pressed")),t._helpers.right.removeClass(t.toThemeProperty("jqx-fill-state-pressed")),t._slideStarted=!1,t._capturedElement=null,t.sliderTooltip&&t.sliderTooltipObj.fadeOut("fast")):t._capturedElement=null},_performDrag:function(t){var i=t.data.that;if(null!==i._capturedElement){if(0===t.which&&e.jqx.browser.msie&&e.jqx.browser.version<9)return i._stopDrag(),!1;var r=e.jqx.position(t),n="horizontal"===i.orientation?r.left:r.top;if(i._isDragged(n),i._slideStarted||i._isTouchDevice)return i._dragHandler(n)}},_isDragged:function(e){var t=this;Math.abs(e-this[t._getSetting("mouse")])>2&&!t._slideStarted?(t._slideStarted=!0,t._valueChanged(3)&&t._raiseEvent(3,{value:t.getValue()})):null==t._capturedElement&&(t._slideStarted=!1)},_dragHandler:function(e){e=e-this[this._getSetting("mouse")]+this[this._getSetting("start")];var t=this._getValueByPosition(e);if(this.rangeSlider){var i=this._helpers.right,r=this._helpers.left,n=this._getSetting("left");this._capturedElement===r?parseFloat(e)>i.offset()[n]&&(e=i.offset()[n]):parseFloat(e)<r.offset()[n]&&(e=r.offset()[n])}return this._setValue(t,this._capturedElement,e),!1},_getValueByPosition:function(e){return"default"===this.mode?this._getFloatingValueByPosition(e):this._getFixedValueByPosition(e)},_getFloatingValueByPosition:function(t){var i,r,n,o,l=this,a=t-l._helpers.track.offset()[l._getSetting("left")]+l._slider.left.offsetWidth/2,s=a/l._helpers.track[l._getSetting("size")]();return a<0&&(a=0),!1===l.int64?i=(l.max-l.min)*s+l.min:"s"===l.int64?(o=(new e.jqx.math).fromNumber(l._helpers.track[l._getSetting("size")](),10),r=l._max64.subtract(l._min64),n=l._divide64(r,o)*a,i=(new e.jqx.math).fromNumber(n,10).add(l._min64)):"u"===l.int64&&(o=new BigNumber(l._helpers.track[l._getSetting("size")]()),r=l._max64.subtract(l._min64),n=l._divide64(r,o)*a,i=new BigNumber(n).add(l._min64)),"normal"===l.layout?"horizontal"!==l.orientation||l.rtl?!1===l.int64?l.max+l.min-i:l._max64.add(l._min64).subtract(i):i:"horizontal"===l.orientation?!1===l.int64?l.max+l.min-i:l._max64.add(l._min64).subtract(i):i},_getThumbSize:function(){if(this.__thumbSize)return this.__thumbSize;var e=this._helpers.left[this._getSetting("size")]();return this.__thumbSize=e,e},_getTrackSize:function(){var e=this;if(e.__trackSize)return e.__trackSize;var t=parseInt(e._helpers.track[e._getSetting("size")](),10);return e.__trackSize=t,t},_getFixedValueByPosition:function(t){var i,r,n,o,l,a,s,d=this,h=d._getTrackSize(),u=d._getThumbSize(),m={number:-1,distance:Number.MAX_VALUE};if(!1===d.int64)for(o=d.step,l=h/(a=(d.max-d.min)/o),s=d._helpers.track.offset()[d._getSetting("left")]-u/2,r=d.max+d.step,"fixedRange"===d.mode&&(r=d.max),n=d.min;n<=r;n+=d.step)Math.abs(m.distance-t)>Math.abs(s-t)&&(m.distance=s,m.number=n),s+=l;else if("s"===d.int64)for(o=d._step64,a=d._max64.subtract(d._min64).div(d._step64),l=d._divide64((new e.jqx.math).fromNumber(h,10),a),s=d._helpers.track.offset()[d._getSetting("left")]-u/2,m={number:(new e.jqx.math).fromString(d._min64.toString(),10),distance:s},i=(new e.jqx.math).fromString(d._min64.toString(),10);"fixedRange"!==d.mode?i.lessThanOrEqual(d._max64.add(d._step64)):i.lessThanOrEqual(d._max64);i=i.add(d._step64))Math.abs(m.distance-t)>Math.abs(s-t)&&(m.distance=s,m.number=(new e.jqx.math).fromString(i.toString(),10)),s+=l;else if("u"===d.int64){o=d._step64,a=d._max64.subtract(d._min64).divide(d._step64),l=parseFloat(new BigNumber(h).divide(a).toString()),s=d._helpers.track.offset()[d._getSetting("left")]-u/2,m={number:new BigNumber(d._min64.toString()),distance:s};var p="fixedRange"!==d.mode?d._max64.add(d._step64):d._max64;for(i=new BigNumber(d._min64.toString());1!==i.compare(p);i=i.add(d._step64))Math.abs(m.distance-t)>Math.abs(s-t)&&(m.distance=s,m.number=new BigNumber(i.toString())),s+=l}return"normal"===d.layout?"horizontal"!==d.orientation||d.rtl?!1===d.int64?d.max+d.min-m.number:d._max64.add(d._min64).subtract(m.number):m.number:"horizontal"===d.orientation?!1===d.int64?d.max+d.min-m.number:d._max64.add(d._min64).subtract(m.number):m.number},_setValue:function(e,t,i){var r=this;if(!r._slideEvent||!r._slideEvent.args.cancel){if(e=r._handleValue(e,t),r._setSliderPosition(e,t,i),r._fixZIndexes(),r._valueChanged(1)&&r._raiseEvent(1,{value:r.getValue()}),r._valueChanged(0)&&r._raiseEvent(0,{value:r.getValue()}),!r.input)return;r.rangeSlider?r.values&&void 0!==r.value.rangeEnd&&void 0!==r.value.rangeStart&&(r.input.value=r.value.rangeStart.toString()+"-"+r.value.rangeEnd.toString()):r.input.value=r.value.toString()}},_valueChanged:function(e){var t=this.getValue();return!this.rangeSlider&&this._lastValue[e]!==t||this.rangeSlider&&("object"!=typeof this._lastValue[e]||parseFloat(this._lastValue[e].rangeEnd)!==parseFloat(t.rangeEnd)||parseFloat(this._lastValue[e].rangeStart)!==parseFloat(t.rangeStart))},_handleValue:function(e,t){var i=this;return e=i._validateValue(e,t),t===i._slider.left&&(!1===i.int64?i.values[0]=e:(i.values[0]=e.toString(),i._value64[0]=e)),t===i._slider.right&&(!1===i.int64?i.values[1]=e:(i.values[1]=e.toString(),i._values64[1]=e)),i.rangeSlider?(i.value={rangeStart:i.values[0],rangeEnd:i.values[1]},!1!==i.int64&&(i._value64={rangeStart:i._values64[0],rangeEnd:i._values64[1]})):!1===i.int64?i.value=e:(i.value=e.toString(),i._value64=e),e},_fixZIndexes:function(){this.values[1]-this.values[0]<.5&&this.max-this.values[0]<.5?(this._slider.left.style.zIndex=20,this._slider.right.style.zIndex=15):(this._slider.left.style.zIndex=15,this._slider.right.style.zIndex=20)},_refreshRangeBar:function(){var t,i=this._helpers.left,r=this._helpers.right,n=this._helpers.track,o=this._getSetting("left"),l=this._getSetting("size"),a=this.rtl&&"horizontal"===this.orientation;if("normal"===this.layout){t=i.position()[o];e(i[0]).position()[o];("vertical"===this.orientation||a)&&(t=r.position()[o])}else t=r.position()[o],"vertical"===this.orientation&&(t=i.position()[o]);this.rangeSlider?this._rangeBar.style[o]=t+"px":"horizontal"!==this.orientation||!a&&"normal"===this.layout?"vertical"===this.orientation&&(this._rangeBar.style[o]=t-n.position().top+i.innerHeight()/2+"px"):this._rangeBar.style[o]=t-n.position().left+i.innerWidth()/2+"px",this._rangeBar.style[l]=Math.abs(r.position()[o]-i.position()[o])+"px"},_validateValue:function(e,t){return!1===this.int64?(e>this.max&&(e=this.max),e<this.min&&(e=this.min),this.rangeSlider&&(t===this._slider.left?e>=this.values[1]&&(e=this.values[1]):e<=this.values[0]&&(e=this.values[0]))):"s"===this.int64?(e.greaterThan(this._max64)&&(e=this._max64),e.lessThan(this._min64)&&(e=this._min64)):"u"===this.int64&&(1===e.compare(this._max64)&&(e=this._max64),-1===e.compare(this._min64)&&(e=this._min64)),e},_setSliderPosition:function(t,i,r){var n,o,l,a,s=parseInt(this._helpers.track[this._getSetting("size")](),10);r&&(r-=this._helpers.track.offset()[this._getSetting("left")]);var d=parseInt(this._helpers.left[this._getSetting("size")](),10);isNaN(d)&&(d=0),"s"===this.int64?("number"==typeof t?t=(new e.jqx.math).fromNumber(t,10):"string"==typeof t&&(t=(new e.jqx.math).fromString(t,10)),t.greaterThan(this._max64)&&(t=(new e.jqx.math).fromString(this._max64.toString(),10)),t.lessThan(this._min64)&&(t=(new e.jqx.math).fromString(this._min64.toString(),10)),a=1-(l=this._divide64(t.subtract(this._min64),this._max64.subtract(this._min64))),"normal"===this.layout?(n=l,("horizontal"!==this.orientation||"horizontal"===this.orientation&&this.rtl)&&(n=a)):(n=a,"horizontal"!==this.orientation&&(n=l)),o=s*n-d/2,i.style[this._getSetting("left")]=o+"px"):"u"===this.int64?("number"!=typeof t&&"string"!=typeof t||(t=new BigNumber(t)),1===t.compare(this._max64)&&(t=new BigNumber(this._max64)),-1===t.compare(this._min64)&&(t=new BigNumber(this._min64)),a=1-(l=this._divide64(t.subtract(this._min64),this._max64.subtract(this._min64))),"normal"===this.layout?(n=l,("horizontal"!==this.orientation||"horizontal"===this.orientation&&this.rtl)&&(n=a)):(n=a,"horizontal"!==this.orientation&&(n=l)),o=s*n-d/2,i.style[this._getSetting("left")]=o+"px"):!1===this.int64&&("normal"===this.layout?(n=(t-this.min)/(this.max-this.min),("horizontal"!==this.orientation||"horizontal"===this.orientation&&this.rtl)&&(n=1-(t-this.min)/(this.max-this.min))):(n=1-(t-this.min)/(this.max-this.min),"horizontal"!==this.orientation&&(n=(t-this.min)/(this.max-this.min))),o=s*n-d/2,i.style[this._getSetting("left")]=o+"px"),this.tooltip&&this._showTooltip(i,this.value),this._refreshRangeBar()},_divide64:function(e,t){var i,r,n,o;if(i=e.toString(),(n=t.toString()).length>15){var l=n.length-15;if(n=n.slice(0,15)+"."+n.slice(15),o=parseFloat(n),i.length>l){var a=i.length-l;i=i.slice(0,a)+"."+i.slice(a)}else if(i.length===l)i="0."+i;else{for(var s="0.",d=0;d<l-i.length;d++)s+="0";i=s+""+i}r=parseFloat(i)}else"s"===this.int64?(r=e.toNumber(),o=t.toNumber()):(r=parseFloat(e.toString()),o=parseFloat(t.toString()));return r/o},_showTooltip:function(e,t){var i=this;if(i._slideStarted||null!=i._capturedElement||i._mouseDown){if(t=i._formatLabel(t,!0),!i.toolTipCreated){var r="tooltip"+i.element.id,n=document.createElement("div");n.style.display="none",n.style.position="absolute",n.style.visibility="hidden",n.style.boxShadow="none",n.style.top="0px",n.style.left="0px",n.style.zIndex=99999,n.setAttribute("id",r),document.body.appendChild(n);var o=document.createElement("div");o.setAttribute("id",r+"Main"),n.appendChild(o);var l=document.createElement("div");l.setAttribute("id",r+"Text"),o.appendChild(l);var a=document.createElement("div");a.setAttribute("id",r+"Arrow"),a.style.top="0px",a.style.left="0px",n.appendChild(a),i.sliderTooltip=n,i.sliderTooltipObj=new jqxHelper(i.sliderTooltip),i.sliderTooltipObj.initAnimate&&i.sliderTooltipObj.initAnimate(),l.innerHTML=t,i.sliderTooltip.className=i.toThemeProperty("jqx-tooltip jqx-popup"),o.className=i.toThemeProperty("jqx-widget jqx-fill-state-normal jqx-tooltip-main"),l.className=i.toThemeProperty("jqx-widget jqx-fill-state-normal jqx-tooltip-text"),a.className=i.toThemeProperty("jqx-widget jqx-fill-state-normal jqx-tooltip-arrow"),i.sliderTooltipContent=l,i.sliderTooltipArrow=a,i.sliderTooltipMain=o,i.sliderTooltipArrowObj=new jqxHelper(i.sliderTooltipArrow),i.arrowSize=5,i.toolTipCreated=!0,i.rangeSlider&&(i.sliderTooltipArrow.style.visibility="hidden")}var s=new jqxHelper(e).offset();i.sliderTooltip.style.display="block",i.sliderTooltip.style.visibility="visible";var d=i.sliderButtonSize+i.tickSize;if(i.rangeSlider){var h=i.value?i.value.rangeStart:"",u=i.value?i.value.rangeEnd:"";""!==h?i.sliderTooltipContent.innerHTML=h+" - "+u:(i.sliderTooltip.style.display="none",i.sliderTooltip.style.visibility="hidden")}else i.sliderTooltipContent.innerHTML=t.toString();var m,p,_,g=i.sliderTooltip.offsetWidth;if("horizontal"===i.orientation)switch(p=s.left+i.sliderButtonSize/2-g/2,i.rangeSlider&&(_=(i._helpers.right.offset().left-i._helpers.left.offset().left-i._thumbSize)/2,p=i._helpers.left.offset().left-g/2+_+i._thumbSize),i.tooltipPosition){case"far":m=s.top+d+i.arrowSize,i.sliderTooltipObj.offset({top:m,left:p}),i.sliderTooltipArrowObj.addClass(i.toThemeProperty("jqx-tooltip-arrow-t-b")),i.sliderTooltipArrow.style.borderTopWidth="0px",i.sliderTooltipArrow.style.borderRightWidth=i.arrowSize+"px",i.sliderTooltipArrow.style.borderBottomWidth=i.arrowSize+"px",i.sliderTooltipArrow.style.borderLeftWidth=i.arrowSize+"px",i.sliderTooltipArrowObj.offset({top:m-i.arrowSize,left:p-i.arrowSize/2-1+g/2});break;case"near":m=s.top-i.arrowSize-i.sliderTooltipObj.innerHeight()-1,i.sliderTooltipObj.offset({top:m,left:p}),i.sliderTooltipArrowObj.addClass(i.toThemeProperty("jqx-tooltip-arrow-t-b")),i.sliderTooltipArrow.style.borderTopWidth=i.arrowSize+"px",i.sliderTooltipArrow.style.borderRightWidth=i.arrowSize+"px",i.sliderTooltipArrow.style.borderBottomWidth="0px",i.sliderTooltipArrow.style.borderLeftWidth=i.arrowSize+"px",i.sliderTooltipArrowObj.offset({top:m+i.sliderTooltipObj.innerHeight(),left:p-i.arrowSize/2-1+g/2})}else{var c=i.sliderTooltipObj.innerHeight();switch(p=s.left-g-i.arrowSize-i.tickSize,m=s.top+i._thumbSize/2-c/2-1,i.rangeSlider&&(_=(i._helpers.right.offset().top-i._helpers.left.offset().top-i._thumbSize)/2,m=i._helpers.left.offset().top-c/2+_+i._thumbSize),i.tooltipPosition){case"far":p=s.left+i._thumbSize+i.arrowSize+i.tickSize,i.sliderTooltipObj.offset({top:m,left:p}),i.sliderTooltipArrowObj.addClass(i.toThemeProperty("jqx-tooltip-arrow-l-r")),i.sliderTooltipArrow.style.borderTopWidth=i.arrowSize+"px",i.sliderTooltipArrow.style.borderRightWidth=i.arrowSize+"px",i.sliderTooltipArrow.style.borderBottomWidth=i.arrowSize+"px",i.sliderTooltipArrow.style.borderLeftWidth="0px",i.sliderTooltipArrowObj.offset({top:m+i.sliderTooltipObj.innerHeight()/2-i.arrowSize/2-2,left:p-i.arrowSize});break;case"near":i.sliderTooltipObj.offset({top:m,left:p}),i.sliderTooltipArrowObj.addClass(i.toThemeProperty("jqx-tooltip-arrow-l-r")),i.sliderTooltipArrow.style.borderTopWidth=i.arrowSize+"px",i.sliderTooltipArrow.style.borderRightWidth="0px",i.sliderTooltipArrow.style.borderBottomWidth=i.arrowSize+"px",i.sliderTooltipArrow.style.borderLeftWidth=i.arrowSize+"px",i.sliderTooltipArrowObj.offset({top:m+i.sliderTooltipObj.innerHeight()/2-i.arrowSize/2-2,left:p+g+2})}}}},propertiesChangedHandler:function(e,t,i){i&&i.width&&i.height&&2===Object.keys(i).length&&(e.__trackSize=null,e.__thumbSize=null,e._performLayout(),e._initialSettings())},propertyChangedHandler:function(t,i,r,n){if(t.__trackSize=null,t.__thumbSize=null,!(t.batchUpdate&&t.batchUpdate.width&&t.batchUpdate.height&&2===Object.keys(t.batchUpdate).length))switch(i){case"template":t.template&&(t._helpers.left.removeClass(t.toThemeProperty("jqx-"+r)),t._helpers.right.removeClass(t.toThemeProperty("jqx-"+r)),t._helpers.rangeBar.removeClass(t.toThemeProperty("jqx-"+r)),t._helpers.left.addClass(t.toThemeProperty("jqx-"+t.template)),t._helpers.right.addClass(t.toThemeProperty("jqx-"+t.template)),e(t._leftButton).jqxRepeatButton({template:n}),e(t._rightButton).jqxRepeatButton({template:n}),t._helpers.rangeBar.addClass(t.toThemeProperty("jqx-"+t.template)));break;case"theme":e.jqx.utilities.setTheme(r,n,t.host),e(t._leftButton).jqxRepeatButton({theme:n}),e(t._rightButton).jqxRepeatButton({theme:n});break;case"disabled":n?(t.disabled=!0,t.disable()):(t.disabled=!1,t.enable());break;case"width":case"height":t.__trackSize=null,t.__thumbSize=null,t._performLayout(),t._initialSettings();break;case"min":case"max":"s"===t.int64?t["_"+i+"64"]=(new e.jqx.math).fromString(n.toString(),10):"u"===t.int64&&(t["_"+i+"64"]=new BigNumber(n)),t._performLayout(),t.__trackSize=null,t.__thumbSize=null,t._initialSettings();break;case"showTicks":case"ticksPosition":case"tickSize":case"tickMode":case"tickNumber":case"minorTickNumber":t._performLayout(),t._initialSettings();break;case"ticksFrequency":case"minorTicksFrequency":"s"===t.int64?t["_"+i+"64"]=(new e.jqx.math).fromString(n.toString(),10):"u"===t.int64&&(t["_"+i+"64"]=new BigNumber(n)),t._performLayout(),t._initialSettings();break;case"showRange":case"showButtons":case"orientation":case"rtl":t._render(),t._performLayout(),t._initialSettings(),"orientation"===i&&(t.element.style.minWidth="vertical"===n?"96px":"");break;case"buttonsPosition":t._refresh();break;case"rangeSlider":t.value=n?{rangeEnd:t.value,rangeStart:t.value}:t.value.rangeEnd,t._render(),t._performLayout(),t._initialSettings();break;case"value":var o=n;"s"===t.int64?(o=(new e.jqx.math).fromString(n.toString(),10),t._value64=o):"u"===t.int64?(o=new BigNumber(n),t._value64=o):!1===t.int64&&(t.rangeSlider||(t.value=parseFloat(n))),t.setValue(o);break;case"values":var l=n;"s"===t.int64?(l=[(new e.jqx.math).fromString(n[0].toString(),10),(new e.jqx.math).fromString(n[1].toString(),10)],t._values64=l):"u"===t.int64&&(l=[new BigNumber(n[0]),new BigNumber(n[1])],t._values64=l),t.setValue(l);break;case"tooltip":break;case"step":"s"===t.int64?t._step64=(new e.jqx.math).fromString(n.toString(),10):"u"===t.int64&&(t._step64=new BigNumber(n));break;case"editableLabels":t._performLayout(),t._initialSettings();break;case"tickLabelStyleSettings":t._setPaddingValues(!0),t._performLayout(),t._initialSettings();break;default:t._refresh()}},incrementValue:function(t){var i,r=this;!1===r.int64?((void 0===t||isNaN(parseFloat(t)))&&(t=r.step),r.rangeSlider?r.values[1]<r.max&&r._setValue(r.values[1]+t,r._slider.right):r.values[1]>=r.min&&r.values[1]<r.max&&r._setValue(r.values[1]+t,r._slider.right)):"s"===r.int64?(t=void 0===t||isNaN(parseFloat(t))?r._step64:(new e.jqx.math).fromString(t.toString(),10),(i=r._values64[1].add(t)).lessThan(r._values64[1])&&(i=r._max64),r.rangeSlider?r._values64[1].lessThan(r._max64)&&r._setValue(i,r._slider.right):r._values64[1].greaterThanOrEqual(r._min64)&&r._values64[1].lessThan(r._max64)&&r._setValue(i,r._slider.right)):"u"===r.int64&&(t=void 0===t||isNaN(parseFloat(t))?r._step64:new BigNumber(t),-1===(i=r._values64[1].add(t)).compare(r._values64[1])&&(i=r._max64),r.rangeSlider?-1===r._values64[1].compare(r._max64)&&r._setValue(i,r._slider.right):-1!==r._values64[1].compare(r._min64)&&-1===r._values64[1].compare(r._max64)&&r._setValue(i,r._slider.right)),r.input&&e.jqx.aria(this,"aria-valuenow",r.input.value)},decrementValue:function(t){var i,r=this;!1===r.int64?((void 0===t||isNaN(parseFloat(t)))&&(t=r.step),r.rangeSlider?r.values[0]>r.min&&r._setValue(r.values[0]-t,r._slider.left):r.values[1]<=r.max&&r.values[1]>r.min&&r._setValue(r.values[1]-t,r._slider.right)):"s"===r.int64?(t=void 0===t||isNaN(parseFloat(t))?r._step64:(new e.jqx.math).fromString(t.toString(),10),r.rangeSlider?((i=r._values64[0].subtract(t)).greaterThan(r._values64[0])&&(i=r._min64),r._values64[0].greaterThan(r._min64)&&r._setValue(i,r._slider.left)):((i=r._values64[1].subtract(t)).greaterThan(r._values64[1])&&(i=r._min64),r._values64[1].lessThanOrEqual(r._max64)&&r._values64[1].greaterThan(r._min64)&&r._setValue(i,r._slider.right))):"u"===r.int64&&(t=void 0===t||isNaN(parseFloat(t))?r._step64:new BigNumber(t),r.rangeSlider?(1===(i=r._values64[0].subtract(t)).compare(r._values64[0])&&(i=r._min64),1===r._values64[0].compare(r._min64)&&r._setValue(i,r._slider.left)):(1===(i=r._values64[1].subtract(t)).compare(r._values64[1])&&(i=r._min64),1!==r._values64[1].compare(r._max64)&&1===r._values64[1].compare(r._min64)&&r._setValue(i,r._slider.right))),r.input&&e.jqx.aria(this,"aria-valuenow",r.input.value)},val:function(t){var i,r=this;if(0===arguments.length||!e.isArray(t)&&"object"==typeof t)return r.getValue();!1===r.int64?r.setValue(t):"s"===r.int64?(i=(new e.jqx.math).fromString(t.toString(),10),r.setValue(i)):"u"===r.int64&&(i=new BigNumber(t),r.setValue(i))},setValue:function(t){var i=this;if(!1===i.int64||"string"!=typeof t&&"number"!=typeof t||("s"===i.int64?"string"==typeof t?t=(new e.jqx.math).fromString(t,10):"number"==typeof t&&(t=(new e.jqx.math).fromNumber(t,10)):"u"===i.int64&&(t=new BigNumber(t))),i.rangeSlider){var r,n;arguments.length<2?t instanceof Array?(r=t[0],n=t[1]):"object"==typeof t&&void 0!==t.rangeStart&&void 0!==t.rangeEnd&&(r=t.rangeStart,n=t.rangeEnd):(r=arguments[0],n=arguments[1]),i._triggerEvents=!1,i._setValue(n,i._slider.right),i._triggerEvents=!0,i._setValue(r,i._slider.left)}else{i._triggerEvents=!1;var o;o=!1===i.int64?i.min:i._min64,i._setValue(o,i._slider.left),i._triggerEvents=!0,i._setValue(t,i._slider.right)}i.input&&e.jqx.aria(this,"aria-valuenow",i.input.value)},getValue:function(){var e=this.value;return!1!==this.int64&&(e=this._value64.toString()),e},_enable:function(t){var i=this;t?(i._addEventHandlers(),i.disabled=!1,i._helpers.element.removeClass(this.toThemeProperty("jqx-fill-state-disabled"))):(i._removeEventHandlers(),i.disabled=!0,i._helpers.element.addClass(this.toThemeProperty("jqx-fill-state-disabled"))),e(i._leftButton).jqxRepeatButton({disabled:this.disabled}),e(i._rightButton).jqxRepeatButton({disabled:this.disabled})},disable:function(){this._enable(!1),e.jqx.aria(this,"aria-disabled",!0)},enable:function(){this._enable(!0),e.jqx.aria(this,"aria-disabled",!1)},_setPaddingValues:function(t){function i(e){var t,i,r;return!0===o.showButtons?(t=27,i=0):(t=0,i=8),r=Math.ceil(e/2)+1-t,r=Math.max(r,i)}var r,n,o=this,l=document.createElement("span");if(l.className=o.toThemeProperty("jqx-widget jqx-slider-label"),l.style.position="absolute",l.visibility="hidden",o.tickLabelStyleSettings){var a=o.tickLabelStyleSettings;l.style.fontSize=a.fontSize,l.style.fontFamily=a.fontFamily,l.style.fontWeight=a.fontWeight,l.style.fontStyle=a.fontStyle}"normal"===o.layout?(r=o._formatLabel(o.min),n=o._formatLabel(o.max)):(r=o._formatLabel(o.max),n=o._formatLabel(o.min)),document.body.appendChild(l),l.innerHTML=r;var s="horizontal"===o.orientation?l.offsetWidth:l.offsetHeight;l.innerHTML=n;var d="horizontal"===o.orientation?l.offsetWidth:l.offsetHeight;l.parentNode.removeChild(l),(!0===t||!0!==t&&(void 0===o.padding||e.isEmptyObject(o.padding)))&&("horizontal"===o.orientation?o.padding={left:i(s),right:i(d)}:o.padding={bottom:i(s),top:i(d)})},_editableLabels:function(){function t(e){var t=document.createElement("span");t.className=n.toThemeProperty("jqx-widget jqx-slider-label"),t.style.position="absolute",t.style.visibility="hidden",document.body.appendChild(t),t.innerHTML=e;var i={width:t.scrollWidth,height:t.scrollHeight};return t.parentNode.removeChild(t),i}function i(i,r){if(!n.disabled){var a=t(n._formatLabel(r));l.offset(e(i).offset()),o.style.width=a.width+10+"px",o.style.height=a.height+"px",o.style.visibility="visible",o.value=r,o.select(),n._editingLabels=!0}}function r(t,i,r,o){if(t===n[i].toString())return!1;if("s"===n.int64){var l=(new e.jqx.math).fromString(t,10);if("min"===i&&-1!==l.compare(n["_"+o+"64"])||"max"===i&&1!==l.compare(n["_"+o+"64"]))return!1;n[r]=l,n[i]=t}else if("u"===n.int64){var a=new BigNumber(t);if(-1===a.compare(0)||"min"===i&&-1!==a.compare(n["_"+o+"64"])||"max"===i&&1!==a.compare(n["_"+o+"64"]))return!1;n[r]=a,n[i]=t}else{if("min"===i&&t>=n[o]||"max"===i&&t<=n[o])return!1;n[i]=parseFloat(t)}}var n=this;if(n.showTickLabels&&n.editableLabels){var o,l,a=n.element.id,s=n.element.getElementsByClassName("jqx-slider-label-top"),d=n.element.getElementsByClassName("jqx-slider-label-bottom"),h=n.ticksPosition,u=/^-?\d+\.?\d*$/;if("both"===h||"top"===h){var m,p,_=s[0],g=s[s.length-1];"horizontal"===n.orientation&&"normal"===n.layout&&!1===n.rtl||"vertical"===n.orientation&&"reverse"===n.layout?(m=_,p=g):(m=g,p=_),n.addHandler(e(m),"dblclick.jqxSlider"+a,function(){i(this,n.min),n._editedProperty="min"}),n.addHandler(e(p),"dblclick.jqxSlider"+a,function(){i(this,n.max),n._editedProperty="max"})}if("both"===h||"bottom"===h){var c,f,v=d[0],y=d[d.length-1];"horizontal"===n.orientation&&"normal"===n.layout&&!1===n.rtl||"vertical"===n.orientation&&"reverse"===n.layout?(c=v,f=y):(c=y,f=v),n.addHandler(e(c),"dblclick.jqxSlider"+a,function(){i(this,n.min),n._editedProperty="min"}),n.addHandler(e(f),"dblclick.jqxSlider"+a,function(){i(this,n.max),n._editedProperty="max"})}!0!==n._labelInputCreated?((o=document.createElement("input")).className="jqx-slider-label-input",n.element.appendChild(o)):o=n.element.querySelector(".jqx-slider-label-input"),l=e(o),!0!==n._labelInputCreated&&(n.addHandler(l,"blur.jqxGauge"+n.element.id,function(){var e=this.value;if(o.style.visibility="hidden",u.test(e)){if("min"===n._editedProperty){if(!1===r(e,"min","_min64","max"))return}else if(!1===r(e,"max","_max64","min"))return;n._refresh(),n._editingLabels=!1}}),n._labelInputCreated=!0)}}})}(jqxBaseFramework);
  
  