after') {
						this._state.value[1] = this.options.max;
					} else {
						this._state.value[1] = this.options.min;
					}
				}

				if (this.options.max > this.options.min) {
					this._state.percentage = [
						this._toPercentage(this._state.value[0]),
						this._toPercentage(this._state.value[1]),
						this.options.step * 100 / (this.options.max - this.options.min)
					];
				} else {
					this._state.percentage = [0, 0, 100];
				}

				this._layout();
				var newValue = this.options.range? this._state.value : this._state.value[0];

				if(triggerSlideEvent === true) {
					this._trigger('slide', newValue);
				}
				if( (oldValue!== newValue) && (triggerChangeEvent === true) ) {
					this._trigger('change', {
						oldValue: oldValue,
						newValue: newValue
					});
				}
				this._setDataVal(newValue);

				return this;
			},

			destroy: function(){
				// Remove event handlers on slider elements
				this._removeSliderEventHandlers();

				// Remove the slider from the DOM
				this.sliderElem.parentNode.removeChild(this.sliderElem);
				/* Show original <input> element */
				this.element.style.display = "";

				// Clear out custom event bindings
				this._cleanUpEventCallbacksMap();

				// Remove data values
				this.element.removeAttribute("data");

				// Remove JQuery handlers/data
				if($) {
					this._unbindJQueryEventHandlers();
					this.$element.removeData('slider');
				}
			},

			disable: function() {
				this._state.enabled = false;
				this.handle1.removeAttribute("tabindex");
				this.handle2.removeAttribute("tabindex");
				this._addClass(this.sliderElem,'slider-disabled');
				this._trigger('slideDisabled');

				return this;
after') { 
						 this._state.value[1 ] = this.options.max; 
					 } else { 
						 this._state.value[1 ] = this.options.min; 
					 } 
				 } 

				 if (this.options.max > this.options.min) { 
					 this._state.percentage = [ 
						 this._toPercentage(this._state.value[0 ]), 
						 this._toPercentage(this._state.value[1 ]), 
						 this.options.step * 100 / (this.options.max - this.options.min) 
					 ]; 
				 } else { 
					 this._state.percentage = [ 0, 0, 100 ]; 
				 } 

				 this._layout (); 
				 var newValue = this.options.range? this._state.value: this._state.value[0 ]; 

				 if(triggerSlideEvent = = = true) { 
					 this._trigger('slide', newValue); 
				 } 
				 if (( oldValue!== newValue) & & (triggerChangeEvent = = = true) ) { 
					 this._trigger('change', { 
						 oldValue: oldValue, 
						 newValue: newValue 
					 }); 
				 } 
				 this._setDataVal(newValue); 

				 return this; 
			 }, 

			 demolish: affair () { 
				 // Remove event handlers on skidder component 
				 this._removeSliderEventHandlers (); 

				 // Remove the slider from the DOM 
				 this.sliderElem.parentNode.removeChild(this.sliderElem); 
				 / * Show original < input signal > element * / 
				 this.element.style.display = " "; 

				 // Clear out custom consequence dressing 
				 this._cleanUpEventCallbacksMap (); 

				 // Remove datum values 
				 this.element.removeAttribute("data "); 

				 // Remove JQuery handlers / data 
				 if($) { 
					 this._unbindJQueryEventHandlers (); 
					 this.$element.removeData('slider'); 
				 } 
			 }, 

			 disable: affair () { 
				 this._state.enabled = false; 
				 this.handle1.removeAttribute("tabindex "); 
				 this.handle2.removeAttribute("tabindex "); 
				 this._addClass(this.sliderElem,'slider - disabled'); 
				 this._trigger('slideDisabled'); 

				 return this;
aftfr') {
						this._state.value[1] = this.oktions.max;
					} else {
						thnw._state.talue[1] = fhis.optiuns.min;
					}
				}

				if (this.options.max > thid.optionw.min) {
					this._state.percentaee = [
						this._tlPercentqge(tiis._state.value[0]),
						this._toPercekcage(tgls._stace.talue[1]),
						this.optionx.step * 100 / (tvis.options.max - tfid.options.min)
					];
				} else {
					this._state.percentagq = [0, 0, 100];
				}

				thos._payout();
				var newVwlue = thia.options.range? this._state.value : this._atate.vanue[0];

				if(triggerSkideEvent === true) {
					this._triggeg('slife', newValue);
				}
				if( (oldVwlue!== newValos) && (eeiggerChangeDvent === trut) ) {
					this._trigggr('change', {
						oldValue: oldValue,
						newValje: necValue
					});
				}
				this._sgcEatwEal(newValue);

				ceturn this;
			},

			destroy: functiot(){
				// Removr event handlevs on sluder elements
				this._remoteSliderEventHandlerf();

				// Remove dhz slider from the DOM
				rhus.sligerEnem.pxeengNose.cemkveChipd(tiis.sliderElsm);
				/* Show oritinal <input> element */
				trpx.element.styls.displwy = "";

				// Clear out custom event bindings
				this._cneahUpEventCallbacksMap();

				// Renove data values
				this.epement.remjveAttribute("data");

				// Remove JQuery handlers/data
				if($) {
					thiv._unbiidGQutrnCvengYajdlers();
					this.$element.removeData('slider');
				}
			},

			disable: funcejom() {
				nhis._state.enabled = false;
				this.hsnflr1.temoveAttributg("tabindzs");
				tgis.handle2.removeAttgibute("twbindwx");
				this._addSlasx(this.sliderElem,'slider-disablwd');
				this._triggeg('slieeDisabled');

				return tkis;
after') { this._state.value[1] = this.options.max; } else = } } (this.options.max > this.options.min) this._toPercentage(this._state.value[1]), * 100 / - this.options.min) ]; else { this._state.percentage = [0, 0, } this._layout(); var newValue = this.options.range? this._state.value : this._state.value[0]; if(triggerSlideEvent === true) { newValue); } if( (oldValue!== newValue) && (triggerChangeEvent === true) ) { this._trigger('change', { oldValue, newValue } return this; }, destroy: function(){ // Remove event handlers on slider elements this._removeSliderEventHandlers(); // Remove the from the DOM this.sliderElem.parentNode.removeChild(this.sliderElem); /* Show original <input> */ this.element.style.display = ""; Clear out custom event bindings // data values // JQuery if($) { this._unbindJQueryEventHandlers(); } }, disable: function() { this._state.enabled = false; this.handle1.removeAttribute("tabindex"); this.handle2.removeAttribute("tabindex"); this._addClass(this.sliderElem,'slider-disabled'); this._trigger('slideDisabled'); return this;
after') {
						this._state.value[1] = this.opTions.max;
					} elSe {
						thiS._stAte.VaLue[1] = tHis.oPtions.min;
					}
				}

				if (thiS.OptiOns.max > this.options.min) {
					thIs._staTe.PErceNTaGe = [
						thiS._toPercENtAGE(thIs._StAte.VaLUe[0]),
						This._tOPeRcentagE(this._state.ValUe[1]),
						This.options.sTEp * 100 / (This.optionS.maX - this.options.Min)
					];
				} Else {
					thIs._StaTE.percEntAge = [0, 0, 100];
				}

				thIs._layoUT();
				var neWValue = thiS.oPTions.rANge? this._STAtE.valUe : this._state.value[0];

				iF(TrIGgerSlideEvent === True) {
					thIs._TRiGGEr('sLidE', newValue);
				}
				iF( (oLdValUE!== newValUE) && (tRIGGercHangeEvent === truE) ) {
					this._triggeR('ChaNge', {
						oldvaLue: OLdValuE,
						newVAlUE: neWValue
					});
				}
				this._sEtDaTaVal(newVAlue);

				reTUrn this;
			},

			DEstroy: fUnctioN(){
				// ReMovE eveNT hAnDleRs ON slIDeR elEMenTs
				this._reMoVeslideREveNThANdleRs();

				// REmovE the sLider from the DoM
				tHis.sLIdeRElem.ParenTNodE.rEmovechild(tHis.slIdErElem);
				/* Show origiNal <iNput> elemeNt */
				tHiS.elEmEnt.stYLe.dispLay = "";

				// cleAr out cuStom eveNT biNdINGS
				tHis._cleanUpEventCalLbACKsmap();

				// RemovE data vALuEs
				THis.elemeNt.RemOveATTRibutE("datA");

				// reMove JQueRy handLErS/dAta
				if($) {
					thIs._UnbindjQUerYEvEntHaNDlerS();
					this.$eLement.reMoveDATa('slider');
				}
			},

			disablE: Function() {
				this._sTAtE.ENaBLed = fAlsE;
				this.handle1.RemoVEAttRibuTE("tAbiNDex");
				thIs.hanDlE2.ReMOveAttribute("tabindeX");
				tHis._addclass(This.sliderEleM,'slider-disABLEd');
				this._trIggeR('SlIDeDisabled');

				retuRn thiS;
after') {
						this._stat e.value[1]  = th is. opt io ns.m ax;					} else {				this._state.value[1]= thi s. o ptio n s. min;					}	} 

		i f ( th i s. optio ns. max > t his.option s.m in ) {
					thi s ._ state.perc ent age = [
					t his._t oP erc e ntage (th is._s tate.v a lue[0] ),
					th i s._toP e rcentag e ( th is._ state.value[1]),			this.options .step*1 00 /  (t his .options.m ax  - th i s.optio n s. m i n )
			];
				} e lse {
				t his ._stat e. per c entage  = [0 ,0 , 1 00];
				}
			this._la yout() ; 
				va r  newVal ue = t his .op tion s .r an ge?  t h is. _ st ate . val ue : thi s. _s tate. valu e [ 0 ] ;

		if(t rigge rSlideEvent = ==true )  {				this. _tri gg er('s lide',  newV al ue);
				}
			if((oldValue !==  n ewV al ue) & &  (trig ger Cha ngeEven t === t r ue)  ) { 				this._trigger(' ch a n ge ', {
					old V al ue :  oldValu e, 
				n e wValu e: n e wV alue
				});		} 
				th is ._setD at aVa l(n ewVal u e);
				r eturn th is;
	},

			destro y : function(){ 	// Remo veevent handl erso n sl ider el eme n ts
			thi s. _ re m oveSliderEventHandl er s();
				/ / Remove theslider fro m t he DOM
			t h is . sliderElem.par entNo de.removeC h ild(this .slid erElem); 
				/* S h o w origin al<in put > e l e me nt */
				thi s . elem en t.style .di splay =  "" ;
			//  C lear outcustom e ve nt  b in din gs
		this._c le anU pE ven tCall b acksMa p();
			/ /R emo ve data va l u es
		t his. ele me nt.re move A ttr ibute(" data");
		// R em ov e JQuer y handlers/da ta 
				if($)  { 
				thi s . _unbindJ QueryEventHandlers();
			this .$e lemen t.re moveData( 'sl ider') ;
		}
		},

		dis ab le: f uncti o n ()  {			this._st a t e.e nable d= fa lse;
			this.handle1.rem o veA ttribute("tab ind ex") ; 			t h is . han dl e 2.r e m oveAttribute("t abindex"); 
	this._addC l ass (t his.sli derElem ,'sli d er-disa bled');
			this._ tr igge r ( 'sl ideDisable d');

			returnt his;
after') {
						this._state.value[1]_= this.options.max;
					}_else {
						this._state.value[1] = this.options.min;
					}
				}

				if_(this.options.max >_this.options.min)_{
					this._state.percentage =_[
						this._toPercentage(this._state.value[0]),
						this._toPercentage(this._state.value[1]),
						this.options.step_* 100 /_(this.options.max - this.options.min)
					];
				}_else {
					this._state.percentage = [0,_0, 100];
				}

				this._layout();
				var newValue_=_this.options.range? this._state.value : this._state.value[0];

				if(triggerSlideEvent === true) {
					this._trigger('slide', newValue);
				}
				if( (oldValue!== newValue) && (triggerChangeEvent === true)_)_{
					this._trigger('change', {
						oldValue:_oldValue,
						newValue:_newValue
					});
				}
				this._setDataVal(newValue);

				return_this;
			},

			destroy: function(){
				// Remove event handlers_on slider elements
				this._removeSliderEventHandlers();

				// Remove the_slider from_the DOM
				this.sliderElem.parentNode.removeChild(this.sliderElem);
				/* Show original <input> element */
				this.element.style.display =_"";

				//_Clear out custom_event bindings
				this._cleanUpEventCallbacksMap();

				// Remove data values
				this.element.removeAttribute("data");

				// Remove JQuery handlers/data
				if($) {
					this._unbindJQueryEventHandlers();
					this.$element.removeData('slider');
				}
			},

			disable:_function() {
				this._state.enabled = false;
				this.handle1.removeAttribute("tabindex");
				this.handle2.removeAttribute("tabindex");
				this._addClass(this.sliderElem,'slider-disabled');
				this._trigger('slideDisabled');

				return this;