/*
 nouislider - 11.1.0 - 2018-04-02 11:18:13  nouislider - 12.1.0 - 10/25/2018 */
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(k){var r=0;return function(){return r<k.length?{done:!1,value:k[r++]}:{done:!0}}};$jscomp.arrayIterator=function(k){return{next:$jscomp.arrayIteratorImpl(k)}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;
$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(k,r,t){if(k==Array.prototype||k==Object.prototype)return k;k[r]=t.value;return k};$jscomp.getGlobal=function(k){k=["object"==typeof globalThis&&globalThis,k,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var r=0;r<k.length;++r){var t=k[r];if(t&&t.Math==Math)return t}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);
$jscomp.IS_SYMBOL_NATIVE="function"===typeof Symbol&&"symbol"===typeof Symbol("x");$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE;$jscomp.polyfills={};$jscomp.propertyToPolyfillSymbol={};$jscomp.POLYFILL_PREFIX="$jscp$";var $jscomp$lookupPolyfilledValue=function(k,r){var t=$jscomp.propertyToPolyfillSymbol[r];if(null==t)return k[r];t=k[t];return void 0!==t?t:k[r]};
$jscomp.polyfill=function(k,r,t,v){r&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(k,r,t,v):$jscomp.polyfillUnisolated(k,r,t,v))};$jscomp.polyfillUnisolated=function(k,r,t,v){t=$jscomp.global;k=k.split(".");for(v=0;v<k.length-1;v++){var y=k[v];if(!(y in t))return;t=t[y]}k=k[k.length-1];v=t[k];r=r(v);r!=v&&null!=r&&$jscomp.defineProperty(t,k,{configurable:!0,writable:!0,value:r})};
$jscomp.polyfillIsolated=function(k,r,t,v){var y=k.split(".");k=1===y.length;v=y[0];v=!k&&v in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var O=0;O<y.length-1;O++){var U=y[O];if(!(U in v))return;v=v[U]}y=y[y.length-1];t=$jscomp.IS_SYMBOL_NATIVE&&"es6"===t?v[y]:null;r=r(t);null!=r&&(k?$jscomp.defineProperty($jscomp.polyfills,y,{configurable:!0,writable:!0,value:r}):r!==t&&(void 0===$jscomp.propertyToPolyfillSymbol[y]&&(t=1E9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[y]=$jscomp.IS_SYMBOL_NATIVE?
$jscomp.global.Symbol(y):$jscomp.POLYFILL_PREFIX+t+"$"+y),$jscomp.defineProperty(v,$jscomp.propertyToPolyfillSymbol[y],{configurable:!0,writable:!0,value:r})))};$jscomp.initSymbol=function(){};$jscomp.iteratorPrototype=function(k){k={next:k};k[Symbol.iterator]=function(){return this};return k};
$jscomp.iteratorFromArray=function(k,r){k instanceof String&&(k+="");var t=0,v=!1,y={next:function(){if(!v&&t<k.length){var O=t++;return{value:r(O,k[O]),done:!1}}v=!0;return{done:!0,value:void 0}}};y[Symbol.iterator]=function(){return y};return y};$jscomp.polyfill("Array.prototype.values",function(k){return k?k:function(){return $jscomp.iteratorFromArray(this,function(r,t){return t})}},"es8","es3");
(function(){function k(q,z){return q.substring(0,z.length)===z}function r(q,z,C){if((q[z]||q[C])&&q[z]===q[C])throw Error(z);}function t(q,z,C,u,B,V,Z,J,S,ha,W,m){Z=m;var L=W="";V&&(m=V(m));if("number"!==typeof m||!isFinite(m))return!1;!1!==q&&0===parseFloat(m.toFixed(q))&&(m=0);if(0>m){var la=!0;m=Math.abs(m)}!1!==q&&(V=Math.pow(10,q),m=(Math.round(m*V)/V).toFixed(q));m=m.toString();-1!==m.indexOf(".")&&(q=m.split("."),m=q[0],C&&(W=C+q[1]));z&&(m=m.split("").reverse().join("").match(/.{1,3}/g),m=
m.join(z.split("").reverse().join("")).split("").reverse().join(""));la&&J&&(L+=J);u&&(L+=u);la&&S&&(L+=S);L=L+m+W;B&&(L+=B);ha&&(L=ha(L,Z));return L}function v(q,z,C,u,B,V,Z,J,S,ha,W,m){q="";W&&(m=W(m));if(!m||"string"!==typeof m)return!1;if(J&&k(m,J)){m=m.replace(J,"");var L=!0}u&&k(m,u)&&(m=m.replace(u,""));S&&k(m,S)&&(m=m.replace(S,""),L=!0);if(u=B)u=m.slice(-1*B.length)===B;u&&(m=m.slice(0,-1*B.length));z&&(m=m.split(z).join(""));C&&(m=m.replace(C,"."));L&&(q+="-");q=(q+m).replace(/[^0-9\.\-.]/g,
"");if(""===q)return!1;q=Number(q);Z&&(q=Z(q));return"number"===typeof q&&isFinite(q)?q:!1}function y(q){var z,C={};for(z=0;z<F.length;z+=1){var u=F[z];var B=q[u];if(void 0===B)C[u]="negative"!==u||C.negativeBefore?"mark"===u&&"."!==C.thousand?".":!1:"-";else if("decimals"===u)if(0<=B&&8>B)C[u]=B;else throw Error(u);else if("encoder"===u||"decoder"===u||"edit"===u||"undo"===u)if("function"===typeof B)C[u]=B;else throw Error(u);else if("string"===typeof B)C[u]=B;else throw Error(u);}r(C,"mark","thousand");
r(C,"prefix","negative");r(C,"prefix","negativeBefore");return C}function O(q,z,C){var u,B=[];for(u=0;u<F.length;u+=1)B.push(q[F[u]]);B.push(C);return z.apply("",B)}function U(q){if(!(this instanceof U))return new U(q);"object"===typeof q&&(q=y(q),this.to=function(z){return O(q,t,z)},this.from=function(z){return O(q,v,z)})}var F="decimals thousand mark prefix postfix encoder decoder negativeBefore negative edit undo".split(" ");window.wNumb=U})();
(function(k){window.noUiSlider=k()})(function(){function k(b){return null!==b&&void 0!==b}function r(b){b.preventDefault()}function t(b){return b.filter(function(a){return this[a]?!1:this[a]=!0},{})}function v(b){return"number"===typeof b&&!isNaN(b)&&isFinite(b)}function y(b,a,h){0<h&&(F(b,a),setTimeout(function(){q(b,a)},h))}function O(b){return Array.isArray(b)?b:[b]}function U(b){b=String(b);b=b.split(".");return 1<b.length?b[1].length:0}function F(b,a){b.classList?b.classList.add(a):b.className+=
" "+a}function q(b,a){b.classList?b.classList.remove(a):b.className=b.className.replace(new RegExp("(^|\\b)"+a.split(" ").join("|")+"(\\b|$)","gi")," ")}function z(b){var a=void 0!==window.pageXOffset,h="CSS1Compat"===(b.compatMode||"");return{x:a?window.pageXOffset:h?b.documentElement.scrollLeft:b.body.scrollLeft,y:a?window.pageYOffset:h?b.documentElement.scrollTop:b.body.scrollTop}}function C(){var b=!1;try{var a=Object.defineProperty({},"passive",{get:function(){b=!0}});window.addEventListener("test",
null,a)}catch(h){}return b}function u(b,a){return 100*a/(b[1]-b[0])}function B(b,a){for(var h=1;b>=a[h];)h+=1;return h}function V(b,a,h){"number"===typeof a&&(a=[a]);if(!Array.isArray(a))throw Error("noUiSlider (12.1.0): 'range' contains invalid value.");b="min"===b?0:"max"===b?100:parseFloat(b);if(!v(b)||!v(a[0]))throw Error("noUiSlider (12.1.0): 'range' value isn't numeric.");h.xPct.push(b);h.xVal.push(a[0]);b?h.xSteps.push(isNaN(a[1])?!1:a[1]):isNaN(a[1])||(h.xSteps[0]=a[1]);h.xHighestCompleteStep.push(0)}
function Z(b,a,h){if(!a)return!0;h.xSteps[b]=u([h.xVal[b],h.xVal[b+1]],a)/(100/(h.xPct[b+1]-h.xPct[b]));a=Math.ceil(Number(((h.xVal[b+1]-h.xVal[b])/h.xNumSteps[b]).toFixed(3))-1);h.xHighestCompleteStep[b]=h.xVal[b]+h.xNumSteps[b]*a}function J(b,a,h){this.xPct=[];this.xVal=[];this.xSteps=[h||!1];this.xNumSteps=[!1];this.xHighestCompleteStep=[];this.snap=a;var n;a=[];for(n in b)b.hasOwnProperty(n)&&a.push([b[n],n]);a.length&&"object"===typeof a[0][0]?a.sort(function(A,M){return A[0][0]-M[0][0]}):a.sort(function(A,
M){return A[0]-M[0]});for(n=0;n<a.length;n++)V(a[n][1],a[n][0],this);this.xNumSteps=this.xSteps.slice(0);for(n=0;n<this.xNumSteps.length;n++)Z(n,this.xNumSteps[n],this)}function S(b){if("object"===typeof b&&"function"===typeof b.to&&"function"===typeof b.from)return!0;throw Error("noUiSlider (12.1.0): 'format' requires 'to' and 'from' methods.");}function ha(b,a){if(!v(a))throw Error("noUiSlider (12.1.0): 'step' is not numeric.");b.singleStep=a}function W(b,a){if("object"!==typeof a||Array.isArray(a))throw Error("noUiSlider (12.1.0): 'range' is not an object.");
if(void 0===a.min||void 0===a.max)throw Error("noUiSlider (12.1.0): Missing 'min' or 'max' in 'range'.");if(a.min===a.max)throw Error("noUiSlider (12.1.0): 'range' 'min' and 'max' cannot be equal.");b.spectrum=new J(a,b.snap,b.singleStep)}function m(b,a){a=O(a);if(!Array.isArray(a)||!a.length)throw Error("noUiSlider (12.1.0): 'start' option is incorrect.");b.handles=a.length;b.start=a}function L(b,a){b.snap=a;if("boolean"!==typeof a)throw Error("noUiSlider (12.1.0): 'snap' option must be a boolean.");
}function la(b,a){b.animate=a;if("boolean"!==typeof a)throw Error("noUiSlider (12.1.0): 'animate' option must be a boolean.");}function La(b,a){b.animationDuration=a;if("number"!==typeof a)throw Error("noUiSlider (12.1.0): 'animationDuration' option must be a number.");}function Ma(b,a){var h=[!1],n;"lower"===a?a=[!0,!1]:"upper"===a&&(a=[!1,!0]);if(!0===a||!1===a){for(n=1;n<b.handles;n++)h.push(a);h.push(!1)}else if(Array.isArray(a)&&a.length&&a.length===b.handles+1)h=a;else throw Error("noUiSlider (12.1.0): 'connect' option doesn't match handle count.");
b.connect=h}function Na(b,a){switch(a){case "horizontal":b.ort=0;break;case "vertical":b.ort=1;break;default:throw Error("noUiSlider (12.1.0): 'orientation' option is invalid.");}}function za(b,a){if(!v(a))throw Error("noUiSlider (12.1.0): 'margin' option must be numeric.");if(0!==a&&(b.margin=b.spectrum.getMargin(a),!b.margin))throw Error("noUiSlider (12.1.0): 'margin' option is only supported on linear sliders.");}function Oa(b,a){if(!v(a))throw Error("noUiSlider (12.1.0): 'limit' option must be numeric.");
b.limit=b.spectrum.getMargin(a);if(!b.limit||2>b.handles)throw Error("noUiSlider (12.1.0): 'limit' option is only supported on linear sliders with 2 or more handles.");}function Pa(b,a){if(!v(a)&&!Array.isArray(a))throw Error("noUiSlider (12.1.0): 'padding' option must be numeric or array of exactly 2 numbers.");if(Array.isArray(a)&&2!==a.length&&!v(a[0])&&!v(a[1]))throw Error("noUiSlider (12.1.0): 'padding' option must be numeric or array of exactly 2 numbers.");if(0!==a){Array.isArray(a)||(a=[a,
a]);b.padding=[b.spectrum.getMargin(a[0]),b.spectrum.getMargin(a[1])];if(!1===b.padding[0]||!1===b.padding[1])throw Error("noUiSlider (12.1.0): 'padding' option is only supported on linear sliders.");if(0>b.padding[0]||0>b.padding[1])throw Error("noUiSlider (12.1.0): 'padding' option must be a positive number(s).");if(100<=b.padding[0]+b.padding[1])throw Error("noUiSlider (12.1.0): 'padding' option must not exceed 100% of the range.");}}function Qa(b,a){switch(a){case "ltr":b.dir=0;break;case "rtl":b.dir=
1;break;default:throw Error("noUiSlider (12.1.0): 'direction' option was not recognized.");}}function Ra(b,a){if("string"!==typeof a)throw Error("noUiSlider (12.1.0): 'behaviour' must be a string containing options.");var h=0<=a.indexOf("tap"),n=0<=a.indexOf("drag"),A=0<=a.indexOf("fixed"),M=0<=a.indexOf("snap"),K=0<=a.indexOf("hover");a=0<=a.indexOf("unconstrained");if(A){if(2!==b.handles)throw Error("noUiSlider (12.1.0): 'fixed' behaviour must be used with 2 handles");za(b,b.start[1]-b.start[0])}if(a&&
(b.margin||b.limit))throw Error("noUiSlider (12.1.0): 'unconstrained' behaviour cannot be used with margin or limit");b.events={tap:h||M,drag:n,fixed:A,snap:M,hover:K,unconstrained:a}}function Sa(b,a){if(!1!==a)if(!0===a)for(b.tooltips=[],a=0;a<b.handles;a++)b.tooltips.push(!0);else{b.tooltips=O(a);if(b.tooltips.length!==b.handles)throw Error("noUiSlider (12.1.0): must pass a formatter for all handles.");b.tooltips.forEach(function(h){if("boolean"!==typeof h&&("object"!==typeof h||"function"!==typeof h.to))throw Error("noUiSlider (12.1.0): 'tooltips' must be passed a formatter or 'false'.");
})}}function Ta(b,a){b.ariaFormat=a;S(a)}function Ua(b,a){b.format=a;S(a)}function Va(b,a){b.keyboardSupport=a;if("boolean"!==typeof a)throw Error("noUiSlider (12.1.0): 'keyboardSupport' option must be a boolean.");}function Wa(b,a){b.documentElement=a}function Xa(b,a){if("string"!==typeof a&&!1!==a)throw Error("noUiSlider (12.1.0): 'cssPrefix' must be a string or `false`.");b.cssPrefix=a}function Ya(b,a){if("object"!==typeof a)throw Error("noUiSlider (12.1.0): 'cssClasses' must be an object.");if("string"===
typeof b.cssPrefix){b.cssClasses={};for(var h in a)a.hasOwnProperty(h)&&(b.cssClasses[h]=b.cssPrefix+a[h])}else b.cssClasses=a}function Aa(b){var a={margin:0,limit:0,padding:0,animate:!0,animationDuration:300,ariaFormat:Ba,format:Ba},h={step:{r:!1,t:ha},start:{r:!0,t:m},connect:{r:!0,t:Ma},direction:{r:!0,t:Qa},snap:{r:!1,t:L},animate:{r:!1,t:la},animationDuration:{r:!1,t:La},range:{r:!0,t:W},orientation:{r:!1,t:Na},margin:{r:!1,t:za},limit:{r:!1,t:Oa},padding:{r:!1,t:Pa},behaviour:{r:!0,t:Ra},ariaFormat:{r:!1,
t:Ta},format:{r:!1,t:Ua},tooltips:{r:!1,t:Sa},keyboardSupport:{r:!0,t:Va},documentElement:{r:!1,t:Wa},cssPrefix:{r:!0,t:Xa},cssClasses:{r:!0,t:Ya}},n={connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal",keyboardSupport:!0,cssPrefix:"noUi-",cssClasses:{target:"target",base:"base",origin:"origin",handle:"handle",handleLower:"handle-lower",handleUpper:"handle-upper",horizontal:"horizontal",vertical:"vertical",background:"background",connect:"connect",connects:"connects",ltr:"ltr",rtl:"rtl",
draggable:"draggable",drag:"state-drag",tap:"state-tap",active:"active",tooltip:"tooltip",pips:"pips",pipsHorizontal:"pips-horizontal",pipsVertical:"pips-vertical",marker:"marker",markerHorizontal:"marker-horizontal",markerVertical:"marker-vertical",markerNormal:"marker-normal",markerLarge:"marker-large",markerSub:"marker-sub",value:"value",valueHorizontal:"value-horizontal",valueVertical:"value-vertical",valueNormal:"value-normal",valueLarge:"value-large",valueSub:"value-sub"}};b.format&&!b.ariaFormat&&
(b.ariaFormat=b.format);Object.keys(h).forEach(function(K){if(!k(b[K])&&void 0===n[K]){if(h[K].r)throw Error("noUiSlider (12.1.0): '"+K+"' is required.");return!0}h[K].t(a,k(b[K])?b[K]:n[K])});a.pips=b.pips;var A=document.createElement("div"),M=void 0!==A.style.msTransform;a.transformRule=void 0!==A.style.transform?"transform":M?"msTransform":"webkitTransform";a.style=[["left","top"],["right","bottom"]][a.dir][a.ort];return a}function Za(b,a,h){function n(c,d){var e=ea.createElement("div");d&&F(e,
d);c.appendChild(e);return e}function A(c,d){return a.tooltips[d]?n(c.firstChild,a.cssClasses.tooltip):!1}function M(){var c=G.map(A);qa("update",function(d,e,f){c[e]&&(d=d[e],!0!==a.tooltips[e]&&(d=a.tooltips[e].to(f[e])),c[e].innerHTML=d)})}function K(c,d,e){if("range"===c||"steps"===c)return D.xVal;if("count"===c){if(2>d)throw Error("noUiSlider (12.1.0): 'values' (>= 2) required for mode 'count'.");c=d-1;var f=100/c;for(d=[];c--;)d[c]=c*f;d.push(100);c="positions"}if("positions"===c)return d.map(function(g){return D.fromStepping(e?
D.getStep(g):g)});if("values"===c)return e?d.map(function(g){return D.fromStepping(D.getStep(D.toStepping(g)))}):d}function $a(c,d,e){var f={},g=D.xVal[0],l=D.xVal[D.xVal.length-1],p=!1,E=!1,w=0;e=t(e.slice().sort(function(x,Q){return x-Q}));e[0]!==g&&(e.unshift(g),p=!0);e[e.length-1]!==l&&(e.push(l),E=!0);e.forEach(function(x,Q){var H,R=e[Q+1],Ca="steps"===d;Ca&&(H=D.xNumSteps[Q]);H||(H=R-x);if(!1!==x&&void 0!==R)for(H=Math.max(H,1E-7);x<=R;x=(x+H).toFixed(7)/1){var ra=D.toStepping(x);var fa=ra-
w;var aa=fa/c;aa=Math.round(aa);var ab=fa/aa;for(fa=1;fa<=aa;fa+=1){var Da=w+fa*ab;f[Da.toFixed(5)]=[D.fromStepping(Da),0]}aa=-1<e.indexOf(x)?1:Ca?2:0;!Q&&p&&(aa=0);x===R&&E||(f[ra.toFixed(5)]=[x,aa]);w=ra}});return f}function bb(c,d,e){function f(x,Q){var H=Q===a.cssClasses.value;return Q+" "+(H?E:w)[a.ort]+" "+(H?l:p)[x]}var g=ea.createElement("div"),l=[];l[0]=a.cssClasses.valueNormal;l[1]=a.cssClasses.valueLarge;l[2]=a.cssClasses.valueSub;var p=[];p[0]=a.cssClasses.markerNormal;p[1]=a.cssClasses.markerLarge;
p[2]=a.cssClasses.markerSub;var E=[a.cssClasses.valueHorizontal,a.cssClasses.valueVertical],w=[a.cssClasses.markerHorizontal,a.cssClasses.markerVertical];F(g,a.cssClasses.pips);F(g,0===a.ort?a.cssClasses.pipsHorizontal:a.cssClasses.pipsVertical);Object.keys(c).forEach(function(x){var Q=c[x][0],H=c[x][1];H=d?d(Q,H):H;if(-1!==H){var R=n(g,!1);R.className=f(H,a.cssClasses.marker);R.style[a.style]=x+"%";0<H&&(R=n(g,!1),R.className=f(H,a.cssClasses.value),R.setAttribute("data-value",Q),R.style[a.style]=
x+"%",R.innerHTML=e.to(Q))}});return g}function Ea(){ia&&(ia.parentElement.removeChild(ia),ia=null)}function sa(c){Ea();var d=c.mode,e=c.density||1,f=c.filter||!1,g=K(d,c.values||!1,c.stepped||!1);d=$a(e,d,g);return ia=N.appendChild(bb(d,f,c.format||{to:Math.round}))}function Fa(){var c=ba.getBoundingClientRect(),d="offset"+["Width","Height"][a.ort];return 0===a.ort?c.width||ba[d]:c.height||ba[d]}function ca(c,d,e,f){var g=function(p){p=cb(p,f.pageOffset,f.target||d);if(!p||N.hasAttribute("disabled")&&
!f.doNotReject)return!1;var E=N,w=a.cssClasses.tap;if((E.classList?E.classList.contains(w):(new RegExp("\\b"+w+"\\b")).test(E.className))&&!f.doNotReject||c===da.start&&void 0!==p.buttons&&1<p.buttons||f.hover&&p.buttons)return!1;Ga||p.preventDefault();p.calcPoint=p.points[a.ort];e(p,f)},l=[];c.split(" ").forEach(function(p){d.addEventListener(p,g,Ga?{passive:!0}:!1);l.push([p,g])});return l}function cb(c,d,e){var f=0===c.type.indexOf("touch"),g=0===c.type.indexOf("mouse"),l=0===c.type.indexOf("pointer");
0===c.type.indexOf("MSPointer")&&(l=!0);if(f){var p=function(w){return w.target===e||e.contains(w.target)};if("touchstart"===c.type){f=Array.prototype.filter.call(c.touches,p);if(1<f.length)return!1;p=f[0].pageX;var E=f[0].pageY}else{f=Array.prototype.find.call(c.changedTouches,p);if(!f)return!1;p=f.pageX;E=f.pageY}}d=d||z(ea);if(g||l)p=c.clientX+d.x,E=c.clientY+d.y;c.pageOffset=d;c.points=[p,E];c.cursor=g||l;return c}function Ha(c){var d=ba,e=a.ort,f=d.getBoundingClientRect(),g=d.ownerDocument;d=
g.documentElement;g=z(g);/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&&(g.x=0);c=100*(c-(e?f.top+g.y-d.clientTop:f.left+g.x-d.clientLeft))/Fa();c=Math.max(Math.min(c,100),0);return a.dir?100-c:c}function db(c){var d=100,e=!1;G.forEach(function(f,g){!f.hasAttribute("disabled")&&(f=Math.abs(I[g]-c),f<d||100===f&&100===d)&&(e=g,d=f)});return e}function eb(c,d){"mouseout"===c.type&&"HTML"===c.target.nodeName&&null===c.relatedTarget&&ta(c,d)}function fb(c,d){if(-1===navigator.appVersion.indexOf("MSIE 9")&&
0===c.buttons&&0!==d.buttonsProperty)return ta(c,d);c=(a.dir?-1:1)*(c.calcPoint-d.startCalcPoint);Ia(0<c,100*c/d.baseSize,d.locations,d.handleNumbers)}function ta(c,d){d.handle&&(q(d.handle,a.cssClasses.active),--ua);d.listeners.forEach(function(e){ma.removeEventListener(e[0],e[1])});0===ua&&(q(N,a.cssClasses.drag),va(),c.cursor&&(na.style.cursor="",na.removeEventListener("selectstart",r)));d.handleNumbers.forEach(function(e){P("change",e);P("set",e);P("end",e)})}function wa(c,d){if(1===d.handleNumbers.length){var e=
G[d.handleNumbers[0]];if(e.hasAttribute("disabled"))return!1;var f=e.children[0];ua+=1;F(f,a.cssClasses.active)}c.stopPropagation();e=[];var g=ca(da.move,ma,fb,{target:c.target,handle:f,listeners:e,startCalcPoint:c.calcPoint,baseSize:Fa(),pageOffset:c.pageOffset,handleNumbers:d.handleNumbers,buttonsProperty:c.buttons,locations:I.slice()}),l=ca(da.end,ma,ta,{target:c.target,handle:f,listeners:e,doNotReject:!0,handleNumbers:d.handleNumbers});f=ca("mouseout",ma,eb,{target:c.target,handle:f,listeners:e,
doNotReject:!0,handleNumbers:d.handleNumbers});e.push.apply(e,g.concat(l,f));c.cursor&&(na.style.cursor=getComputedStyle(c.target).cursor,1<G.length&&F(N,a.cssClasses.drag),na.addEventListener("selectstart",r,!1));d.handleNumbers.forEach(function(p){P("start",p)})}function gb(c){c.stopPropagation();var d=Ha(c.calcPoint),e=db(d);if(!1===e)return!1;a.events.snap||y(N,a.cssClasses.tap,a.animationDuration);oa(e,d,!0,!0);va();P("slide",e,!0);P("update",e,!0);P("change",e,!0);P("set",e,!0);a.events.snap&&
wa(c,{handleNumbers:[e]})}function hb(c){c=Ha(c.calcPoint);c=D.getStep(c);var d=D.fromStepping(c);Object.keys(T).forEach(function(e){"hover"===e.split(".")[0]&&T[e].forEach(function(f){f.call(xa,d)})})}function qa(c,d){T[c]=T[c]||[];T[c].push(d);"update"===c.split(".")[0]&&G.forEach(function(e,f){P("update",f)})}function P(c,d,e){Object.keys(T).forEach(function(f){var g=f.split(".")[0];c===g&&T[f].forEach(function(l){l.call(xa,ja.map(a.format.to),d,ja.slice(),e||!1,I.slice())})})}function pa(c,d,
e,f,g,l){1<G.length&&!a.events.unconstrained&&(f&&0<d&&(e=Math.max(e,c[d-1]+a.margin)),g&&d<G.length-1&&(e=Math.min(e,c[d+1]-a.margin)));1<G.length&&a.limit&&(f&&0<d&&(e=Math.min(e,c[d-1]+a.limit)),g&&d<G.length-1&&(e=Math.max(e,c[d+1]-a.limit)));a.padding&&(0===d&&(e=Math.max(e,a.padding[0])),d===G.length-1&&(e=Math.min(e,100-a.padding[1])));e=D.getStep(e);e=Math.max(Math.min(e,100),0);return e!==c[d]||l?e:!1}function ya(c,d){var e=a.ort;return(e?d:c)+", "+(e?c:d)}function Ia(c,d,e,f){var g=e.slice(),
l=[!c,c],p=[c,!c];f=f.slice();c&&f.reverse();1<f.length?f.forEach(function(w,x){x=pa(g,w,g[w]+d,l[x],p[x],!1);!1===x?d=0:(d=x-g[w],g[w]=x)}):l=p=[!0];var E=!1;f.forEach(function(w,x){E=oa(w,e[w]+d,l[x],p[x])||E});E&&f.forEach(function(w){P("update",w);P("slide",w)})}function va(){X.forEach(function(c){G[c].style.zIndex=3+(G.length+(50<I[c]?-1:1)*c)})}function oa(c,d,e,f){d=pa(I,c,d,e,f,!1);if(!1===d)return!1;I[c]=d;ja[c]=D.fromStepping(d);d="translate("+ya((a.dir?100-d:d)-ib+"%","0")+")";G[c].style[a.transformRule]=
d;Ja(c);Ja(c+1);return!0}function Ja(c){if(Y[c]){var d=0,e=100;0!==c&&(d=I[c-1]);c!==Y.length-1&&(e=I[c]);e-=d;d="translate("+ya((a.dir?100-d-e:d)+"%","0")+")";e="scale("+ya(e/100,"1")+")";Y[c].style[a.transformRule]=d+" "+e}}function ka(c,d){var e=O(c);c=void 0===I[0];d=void 0===d?!0:!!d;a.animate&&!c&&y(N,a.cssClasses.tap,a.animationDuration);X.forEach(function(f){var g=e[f];null===g||!1===g||void 0===g?g=I[f]:("number"===typeof g&&(g=String(g)),g=a.format.from(g),g=D.toStepping(g),g=!1===g||isNaN(g)?
I[f]:g);oa(f,g,!0,!1)});X.forEach(function(f){oa(f,I[f],!0,!0)});va();X.forEach(function(f){P("update",f);null!==e[f]&&d&&P("set",f)})}function Ka(){var c=ja.map(a.format.to);return 1===c.length?c[0]:c}var da=window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"},Ga=window.CSS&&CSS.supports&&
CSS.supports("touch-action","none")&&C(),N=b,I=[],G,X=[],ua=0,Y,D=a.spectrum,ja=[],T={},ia,ea=b.ownerDocument,ma=a.documentElement||ea.documentElement,na=ea.body,ib="rtl"===ea.dir||1===a.ort?0:100;var ba=function(c){F(c,a.cssClasses.target);0===a.dir?F(c,a.cssClasses.ltr):F(c,a.cssClasses.rtl);0===a.ort?F(c,a.cssClasses.horizontal):F(c,a.cssClasses.vertical);return n(c,a.cssClasses.base)}(N);(function(c,d){var e=n(d,a.cssClasses.connects);G=[];Y=[];Y.push(c[0]?n(e,a.cssClasses.connect):!1);for(var f=
0;f<a.handles;f++){var g=G,l=g.push,p=f,E=n(d,a.cssClasses.origin),w=n(E,a.cssClasses.handle);w.setAttribute("data-handle",p);a.keyboardSupport&&w.setAttribute("tabindex","0");w.setAttribute("role","slider");w.setAttribute("aria-orientation",a.ort?"vertical":"horizontal");0===p?F(w,a.cssClasses.handleLower):p===a.handles-1&&F(w,a.cssClasses.handleUpper);l.call(g,E);X[f]=f;Y.push(c[f+1]?n(e,a.cssClasses.connect):!1)}})(a.connect,ba);(function(c){c.fixed||G.forEach(function(d,e){ca(da.start,d.children[0],
wa,{handleNumbers:[e]})});c.tap&&ca(da.start,ba,gb,{});c.hover&&ca(da.move,ba,hb,{hover:!0});c.drag&&Y.forEach(function(d,e){if(!1!==d&&0!==e&&e!==Y.length-1){var f=G[e-1],g=G[e],l=[d];F(d,a.cssClasses.draggable);c.fixed&&(l.push(f.children[0]),l.push(g.children[0]));l.forEach(function(p){ca(da.start,p,wa,{handles:[f,g],handleNumbers:[e-1,e]})})}})})(a.events);ka(a.start);var xa={destroy:function(){for(var c in a.cssClasses)a.cssClasses.hasOwnProperty(c)&&q(N,a.cssClasses[c]);for(;N.firstChild;)N.removeChild(N.firstChild);
delete N.noUiSlider},steps:function(){return I.map(function(c,d){var e=D.getNearbySteps(c),f=ja[d];d=e.thisStep.step;!1!==d&&f+d>e.stepAfter.startValue&&(d=e.stepAfter.startValue-f);e=f>e.thisStep.startValue?e.thisStep.step:!1===e.stepBefore.step?!1:f-e.stepBefore.highestStep;100===c?d=null:0===c&&(e=null);c=D.countStepDecimals();null!==d&&!1!==d&&(d=Number(d.toFixed(c)));null!==e&&!1!==e&&(e=Number(e.toFixed(c)));return[e,d]})},on:qa,off:function(c){var d=c&&c.split(".")[0],e=d&&c.substring(d.length);
Object.keys(T).forEach(function(f){var g=f.split(".")[0],l=f.substring(g.length);d&&d!==g||e&&e!==l||delete T[f]})},get:Ka,set:ka,setHandle:function(c,d,e){var f=[];c=Number(c);if(!(0<=c&&c<X.length))throw Error("noUiSlider (12.1.0): invalid handle number, got: "+c);for(var g=0;g<X.length;g++)f[g]=null;f[c]=d;ka(f,e)},reset:function(c){ka(a.start,c)},__moveHandles:function(c,d,e){Ia(c,d,I,e)},options:h,updateOptions:function(c,d){var e=Ka(),f="margin limit padding range animate snap step format".split(" ");
f.forEach(function(l){void 0!==c[l]&&(h[l]=c[l])});var g=Aa(h);f.forEach(function(l){void 0!==c[l]&&(a[l]=g[l])});D=g.spectrum;a.margin=g.margin;a.limit=g.limit;a.padding=g.padding;a.pips&&sa(a.pips);I=[];ka(c.start||e,d)},target:N,removePips:Ea,pips:sa};a.pips&&sa(a.pips);a.tooltips&&M();(function(){qa("update",function(c,d,e,f,g){X.forEach(function(l){var p=G[l],E=pa(I,l,0,!0,!0,!0),w=pa(I,l,100,!0,!0,!0),x=g[l];l=a.ariaFormat.to(e[l]);E=D.fromStepping(E).toFixed(1);w=D.fromStepping(w).toFixed(1);
x=D.fromStepping(x).toFixed(1);p.children[0].setAttribute("aria-valuemin",E);p.children[0].setAttribute("aria-valuemax",w);p.children[0].setAttribute("aria-valuenow",x);p.children[0].setAttribute("aria-valuetext",l)})})})();return xa}J.prototype.getMargin=function(b){var a=this.xNumSteps[0];if(a&&0!==b/a%1)throw Error("noUiSlider (12.1.0): 'limit', 'margin' and 'padding' must be divisible by step.");return 2===this.xPct.length?u(this.xVal,b):!1};J.prototype.toStepping=function(b){var a=this.xVal,
h=this.xPct,n=b;if(n>=a.slice(-1)[0])b=100;else{var A=B(n,a);b=h[A-1];h=h[A];a=[a[A-1],a[A]];a=u(a,0>a[0]?n+Math.abs(a[0]):n-a[0]);b+=a/(100/(h-b))}return b};J.prototype.fromStepping=function(b){var a=this.xVal,h=this.xPct;if(100<=b)b=a.slice(-1)[0];else{var n=B(b,h),A=h[n-1];a=[a[n-1],a[n]];b=100/(h[n]-A)*(b-A)*(a[1]-a[0])/100+a[0]}return b};J.prototype.getStep=function(b){var a=this.xPct,h=this.xSteps,n=this.snap;if(100!==b){var A=B(b,a),M=a[A-1],K=a[A];n?a=b-M>(K-M)/2?K:M:h[A-1]?(h=h[A-1],a=a[A-
1]+Math.round((b-a[A-1])/h)*h):a=b;b=a}return b};J.prototype.getNearbySteps=function(b){b=B(b,this.xPct);return{stepBefore:{startValue:this.xVal[b-2],step:this.xNumSteps[b-2],highestStep:this.xHighestCompleteStep[b-2]},thisStep:{startValue:this.xVal[b-1],step:this.xNumSteps[b-1],highestStep:this.xHighestCompleteStep[b-1]},stepAfter:{startValue:this.xVal[b],step:this.xNumSteps[b],highestStep:this.xHighestCompleteStep[b]}}};J.prototype.countStepDecimals=function(){var b=this.xNumSteps.map(U);return Math.max.apply(null,
b)};J.prototype.convert=function(b){return this.getStep(this.toStepping(b))};var Ba={to:function(b){return void 0!==b&&b.toFixed(2)},from:Number};return{__spectrum:J,version:"12.1.0",create:function(b,a){if(!b||!b.nodeName)throw Error("noUiSlider (12.1.0): create requires a single element, got: "+b);if(b.noUiSlider)throw Error("noUiSlider (12.1.0): Slider was already initialized.");var h=Aa(a,b);a=Za(b,h,a);return b.noUiSlider=a}}});
