"use strict";var_typeof="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(a){returntypeofa}:function(a){returna&&"function"==typeofSymbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeofa},windowIsDefined="object"===("undefined"==typeofwindow?"undefined":_typeof(window));!function(a){if("function"==typeofdefine&&define.amd)define(["jquery"],a);elseif("object"===("undefined"==typeofmodule?"undefined":_typeof(module))&&module.exports){varb;try{b=require("jquery")}catch(c){b=null}module.exports=a(b)}elsewindow&&(window.Slider=a(window.jQuery))}(function(a){varb="slider",c="bootstrapSlider";windowIsDefined&&!window.console&&(window.console={}),windowIsDefined&&!window.console.log&&(window.console.log=function(){}),windowIsDefined&&!window.console.warn&&(window.console.warn=function(){});vard;returnfunction(a){functionb(){}functionc(a){functionc(b){b.prototype.option||(b.prototype.option=function(b){a.isPlainObject(b)&&(this.options=a.extend(!0,this.options,b))})}functione(b,c){a.fn[b]=function(e){if("string"==typeofe){for(varg=d.call(arguments,1),h=0,i=this.length;i>h;h++){varj=this[h],k=a.data(j,b);if(k)if(a.isFunction(k[e])&&"_"!==e.charAt(0)){varl=k[e].apply(k,g);if(void0!==l&&l!==k)returnl}elsef("no such method '"+e+"' for "+b+" instance");elsef("cannot call methods on "+b+" prior to initialization; attempted to call '"+e+"'")}returnthis}varm=this.map(function(){vard=a.data(this,b);returnd?(d.option(e),d._init()):(d=newc(this,e),a.data(this,b,d)),a(this)});return!m||m.length>1?m:m[0]}}if(a){varf="undefined"==typeofconsole?b:function(a){console.error(a)};returna.bridget=function(a,b){c(b),e(a,b)},a.bridget}}vard=Array.prototype.slice;c(a)}(a),function(a){functione(b,c){functiond(a,b){varc="data-slider-"+b.replace(/_/g,"-"),d=a.getAttribute(c);try{returnJSON.parse(d)}catch(e){returnd}}this._state={value:null,enabled:null,offset:null,size:null,percentage:null,inDrag:!1,over:!1,tickIndex:null},this.ticksCallbackMap={},this.handleCallbackMap={},"string"==typeofb?this.element=document.querySelector(b):binstanceofHTMLElement&&(this.element=b),c=c?c:{};for(vare=Object.keys(this.defaultOptions),f=c.hasOwnProperty("min"),g=c.hasOwnProperty("max"),i=0;i<e.length;i++){varj=e[i],k=c[j];k="undefined"!=typeofk?k:d(this.element,j),k=null!==k?k:this.defaultOptions[j],this.options||(this.options={}),this.options[j]=k}if(this.ticksAreValid=Array.isArray(this.options.ticks)&&this.options.ticks.length>0,this.ticksAreValid||(this.options.lock_to_ticks=!1),"auto"===this.options.rtl){varl=window.getComputedStyle(this.element);null!=l?this.options.rtl="rtl"===l.direction:this.options.rtl="rtl"===this.element.style.direction}"vertical"!==this.options.orientation||"top"!==this.options.tooltip_position&&"bottom"!==this.options.tooltip_position?"horizontal"!==this.options.orientation||"left"!==this.options.tooltip_position&&"right"!==this.options.tooltip_position||(this.options.tooltip_position="top"):this.options.rtl?this.options.tooltip_position="left":this.options.tooltip_position="right";varm,n,o,p,q,r=this.element.style.width,s=!1,t=this.element.parentNode;if(this.sliderElem)s=!0;else{this.sliderElem=document.createElement("div"),this.sliderElem.className="slider";varu=document.createElement("div");u.className="slider-track",n=document.createElement("div"),n.className="slider-track-low",m=document.createElement("div"),m.className="slider-selection",o=document.createElement("div"),o.className="slider-track-high",p=document.createElement("div"),p.className="slider-handle min-slider-handle",p.setAttribute("role","slider"),p.setAttribute("aria-valuemin",this.options.min),p.setAttribute("aria-valuemax",this.options.max),q=document.createElement("div"),q.className="slider-handle max-slider-handle",q.setAttribute("role","slider"),q.setAttribute("aria-valuemin",this.options.min),q.setAttribute("aria-valuemax",this.options.max),u.appendChild(n),u.appendChild(m),u.appendChild(o),this.rangeHighlightElements=[];varv=this.options.rangeHighlights;if(Array.isArray(v)&&v.length