(()=>{var t={4850:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var r=n(8081),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([t.id,"/* Functional styling;\n * These styles are required for noUiSlider to function.\n * You don't need to change these rules to apply your design.\n */\n.noUi-target,\n.noUi-target * {\n  -webkit-touch-callout: none;\n  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n  -webkit-user-select: none;\n  -ms-touch-action: none;\n  touch-action: none;\n  -ms-user-select: none;\n  -moz-user-select: none;\n  user-select: none;\n  -moz-box-sizing: border-box;\n  box-sizing: border-box;\n}\n.noUi-target {\n  position: relative;\n}\n.noUi-base,\n.noUi-connects {\n  width: 100%;\n  height: 100%;\n  position: relative;\n  z-index: 1;\n}\n/* Wrapper for all connect elements.\n */\n.noUi-connects {\n  overflow: hidden;\n  z-index: 0;\n}\n.noUi-connect,\n.noUi-origin {\n  will-change: transform;\n  position: absolute;\n  z-index: 1;\n  top: 0;\n  right: 0;\n  height: 100%;\n  width: 100%;\n  -ms-transform-origin: 0 0;\n  -webkit-transform-origin: 0 0;\n  -webkit-transform-style: preserve-3d;\n  transform-origin: 0 0;\n  transform-style: flat;\n}\n/* Offset direction\n */\n.noUi-txt-dir-rtl.noUi-horizontal .noUi-origin {\n  left: 0;\n  right: auto;\n}\n/* Give origins 0 height/width so they don't interfere with clicking the\n * connect elements.\n */\n.noUi-vertical .noUi-origin {\n  top: -100%;\n  width: 0;\n}\n.noUi-horizontal .noUi-origin {\n  height: 0;\n}\n.noUi-handle {\n  -webkit-backface-visibility: hidden;\n  backface-visibility: hidden;\n  position: absolute;\n}\n.noUi-touch-area {\n  height: 100%;\n  width: 100%;\n}\n.noUi-state-tap .noUi-connect,\n.noUi-state-tap .noUi-origin {\n  -webkit-transition: transform 0.3s;\n  transition: transform 0.3s;\n}\n.noUi-state-drag * {\n  cursor: inherit !important;\n}\n/* Slider size and handle placement;\n */\n.noUi-horizontal {\n  height: 18px;\n}\n.noUi-horizontal .noUi-handle {\n  width: 34px;\n  height: 28px;\n  right: -17px;\n  top: -6px;\n}\n.noUi-vertical {\n  width: 18px;\n}\n.noUi-vertical .noUi-handle {\n  width: 28px;\n  height: 34px;\n  right: -6px;\n  bottom: -17px;\n}\n.noUi-txt-dir-rtl.noUi-horizontal .noUi-handle {\n  left: -17px;\n  right: auto;\n}\n/* Styling;\n * Giving the connect element a border radius causes issues with using transform: scale\n */\n.noUi-target {\n  background: #FAFAFA;\n  border-radius: 4px;\n  border: 1px solid #D3D3D3;\n  box-shadow: inset 0 1px 1px #F0F0F0, 0 3px 6px -5px #BBB;\n}\n.noUi-connects {\n  border-radius: 3px;\n}\n.noUi-connect {\n  background: #3FB8AF;\n}\n/* Handles and cursors;\n */\n.noUi-draggable {\n  cursor: ew-resize;\n}\n.noUi-vertical .noUi-draggable {\n  cursor: ns-resize;\n}\n.noUi-handle {\n  border: 1px solid #D9D9D9;\n  border-radius: 3px;\n  background: #FFF;\n  cursor: default;\n  box-shadow: inset 0 0 1px #FFF, inset 0 1px 7px #EBEBEB, 0 3px 6px -3px #BBB;\n}\n.noUi-active {\n  box-shadow: inset 0 0 1px #FFF, inset 0 1px 7px #DDD, 0 3px 6px -3px #BBB;\n}\n/* Handle stripes;\n */\n.noUi-handle:before,\n.noUi-handle:after {\n  content: \"\";\n  display: block;\n  position: absolute;\n  height: 14px;\n  width: 1px;\n  background: #E8E7E6;\n  left: 14px;\n  top: 6px;\n}\n.noUi-handle:after {\n  left: 17px;\n}\n.noUi-vertical .noUi-handle:before,\n.noUi-vertical .noUi-handle:after {\n  width: 14px;\n  height: 1px;\n  left: 6px;\n  top: 14px;\n}\n.noUi-vertical .noUi-handle:after {\n  top: 17px;\n}\n/* Disabled state;\n */\n[disabled] .noUi-connect {\n  background: #B8B8B8;\n}\n[disabled].noUi-target,\n[disabled].noUi-handle,\n[disabled] .noUi-handle {\n  cursor: not-allowed;\n}\n/* Base;\n *\n */\n.noUi-pips,\n.noUi-pips * {\n  -moz-box-sizing: border-box;\n  box-sizing: border-box;\n}\n.noUi-pips {\n  position: absolute;\n  color: #999;\n}\n/* Values;\n *\n */\n.noUi-value {\n  position: absolute;\n  white-space: nowrap;\n  text-align: center;\n}\n.noUi-value-sub {\n  color: #ccc;\n  font-size: 10px;\n}\n/* Markings;\n *\n */\n.noUi-marker {\n  position: absolute;\n  background: #CCC;\n}\n.noUi-marker-sub {\n  background: #AAA;\n}\n.noUi-marker-large {\n  background: #AAA;\n}\n/* Horizontal layout;\n *\n */\n.noUi-pips-horizontal {\n  padding: 10px 0;\n  height: 80px;\n  top: 100%;\n  left: 0;\n  width: 100%;\n}\n.noUi-value-horizontal {\n  -webkit-transform: translate(-50%, 50%);\n  transform: translate(-50%, 50%);\n}\n.noUi-rtl .noUi-value-horizontal {\n  -webkit-transform: translate(50%, 50%);\n  transform: translate(50%, 50%);\n}\n.noUi-marker-horizontal.noUi-marker {\n  margin-left: -1px;\n  width: 2px;\n  height: 5px;\n}\n.noUi-marker-horizontal.noUi-marker-sub {\n  height: 10px;\n}\n.noUi-marker-horizontal.noUi-marker-large {\n  height: 15px;\n}\n/* Vertical layout;\n *\n */\n.noUi-pips-vertical {\n  padding: 0 10px;\n  height: 100%;\n  top: 0;\n  left: 100%;\n}\n.noUi-value-vertical {\n  -webkit-transform: translate(0, -50%);\n  transform: translate(0, -50%);\n  padding-left: 25px;\n}\n.noUi-rtl .noUi-value-vertical {\n  -webkit-transform: translate(0, 50%);\n  transform: translate(0, 50%);\n}\n.noUi-marker-vertical.noUi-marker {\n  width: 5px;\n  height: 2px;\n  margin-top: -1px;\n}\n.noUi-marker-vertical.noUi-marker-sub {\n  width: 10px;\n}\n.noUi-marker-vertical.noUi-marker-large {\n  width: 15px;\n}\n.noUi-tooltip {\n  display: block;\n  position: absolute;\n  border: 1px solid #D9D9D9;\n  border-radius: 3px;\n  background: #fff;\n  color: #000;\n  padding: 5px;\n  text-align: center;\n  white-space: nowrap;\n}\n.noUi-horizontal .noUi-tooltip {\n  -webkit-transform: translate(-50%, 0);\n  transform: translate(-50%, 0);\n  left: 50%;\n  bottom: 120%;\n}\n.noUi-vertical .noUi-tooltip {\n  -webkit-transform: translate(0, -50%);\n  transform: translate(0, -50%);\n  top: 50%;\n  right: 120%;\n}\n.noUi-horizontal .noUi-origin > .noUi-tooltip {\n  -webkit-transform: translate(50%, 0);\n  transform: translate(50%, 0);\n  left: auto;\n  bottom: 10px;\n}\n.noUi-vertical .noUi-origin > .noUi-tooltip {\n  -webkit-transform: translate(0, -18px);\n  transform: translate(0, -18px);\n  top: auto;\n  right: 28px;\n}\n",""]);const s=a},3645:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",r=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,r,i,o){"string"==typeof t&&(t=[[null,t,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var u=0;u<t.length;u++){var c=[].concat(t[u]);r&&a[c[0]]||(void 0!==o&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=o),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),i&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=i):c[4]="".concat(i)),e.push(c))}},e}},8081:t=>{"use strict";t.exports=function(t){return t[1]}},3379:t=>{"use strict";var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var o={},a=[],s=0;s<t.length;s++){var l=t[s],u=r.base?l[0]+r.base:l[0],c=o[u]||0,p="".concat(u," ").concat(c);o[u]=c+1;var d=n(p),f={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var h=i(f,r);r.byIndex=s,e.splice(s,0,{identifier:p,updater:h,references:1})}a.push(p)}return a}function i(t,e){var n=e.domAPI(e);return n.update(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,i){var o=r(t=t||[],i=i||{});return function(t){t=t||[];for(var a=0;a<o.length;a++){var s=n(o[a]);e[s].references--}for(var l=r(t,i),u=0;u<o.length;u++){var c=n(o[u]);0===e[c].references&&(e[c].updater(),e.splice(c,1))}o=l}}},569:t=>{"use strict";var e={};t.exports=function(t,n){var r=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},9216:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},3565:(t,e,n)=>{"use strict";t.exports=function(t){var e=n.nc;e&&t.setAttribute("nonce",e)}},7795:t=>{"use strict";t.exports=function(t){var e=t.insertStyleElement(t);return{update:function(n){!function(t,e,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var i=void 0!==n.layer;i&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,i&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleTagTransform(r,t,e.options)}(e,t,n)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},4589:t=>{"use strict";t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}},6018:(t,e)=>{var n,r;void 0===(r="function"==typeof(n=function(){"use strict";var t=["decimals","thousand","mark","prefix","suffix","encoder","decoder","negativeBefore","negative","edit","undo"];function e(t){return t.split("").reverse().join("")}function n(t,e){return t.substring(0,e.length)===e}function r(t,e,n){if((t[e]||t[n])&&t[e]===t[n])throw new Error(e)}function i(t){return"number"==typeof t&&isFinite(t)}function o(t,n,r,o,a,s,l,u,c,p,d,f){var h,m,g,v,b,x=f,y="",S="";return s&&(f=s(f)),!!i(f)&&(!1!==t&&0===parseFloat(f.toFixed(t))&&(f=0),f<0&&(h=!0,f=Math.abs(f)),!1!==t&&(b=t,v=(v=f).toString().split("e"),f=(+((v=(v=Math.round(+(v[0]+"e"+(v[1]?+v[1]+b:b)))).toString().split("e"))[0]+"e"+(v[1]?+v[1]-b:-b))).toFixed(b)),-1!==(f=f.toString()).indexOf(".")?(g=(m=f.split("."))[0],r&&(y=r+m[1])):g=f,n&&(g=e(g).match(/.{1,3}/g),g=e(g.join(e(n)))),h&&u&&(S+=u),o&&(S+=o),h&&c&&(S+=c),S+=g,S+=y,a&&(S+=a),p&&(S=p(S,x)),S)}function a(t,e,r,o,a,s,l,u,c,p,d,f){var h,m="";return d&&(f=d(f)),!(!f||"string"!=typeof f)&&(u&&n(f,u)&&(f=f.replace(u,""),h=!0),o&&n(f,o)&&(f=f.replace(o,"")),c&&n(f,c)&&(f=f.replace(c,""),h=!0),a&&function(t,e){return t.slice(-1*e.length)===e}(f,a)&&(f=f.slice(0,-1*a.length)),e&&(f=f.split(e).join("")),r&&(f=f.replace(r,".")),h&&(m+="-"),""!==(m=(m+=f).replace(/[^0-9\.\-.]/g,""))&&(m=Number(m),l&&(m=l(m)),!!i(m)&&m))}function s(e,n,r){var i,o=[];for(i=0;i<t.length;i+=1)o.push(e[t[i]]);return o.push(r),n.apply("",o)}return function e(n){if(!(this instanceof e))return new e(n);"object"==typeof n&&(n=function(e){var n,i,o,a={};for(void 0===e.suffix&&(e.suffix=e.postfix),n=0;n<t.length;n+=1)if(void 0===(o=e[i=t[n]]))"negative"!==i||a.negativeBefore?"mark"===i&&"."!==a.thousand?a[i]=".":a[i]=!1:a[i]="-";else if("decimals"===i){if(!(o>=0&&o<8))throw new Error(i);a[i]=o}else if("encoder"===i||"decoder"===i||"edit"===i||"undo"===i){if("function"!=typeof o)throw new Error(i);a[i]=o}else{if("string"!=typeof o)throw new Error(i);a[i]=o}return r(a,"mark","thousand"),r(a,"prefix","negative"),r(a,"prefix","negativeBefore"),a}(n),this.to=function(t){return s(n,o,t)},this.from=function(t){return s(n,a,t)})}})?n.apply(e,[]):n)||(t.exports=r)}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={id:r,exports:{}};return t[r](o,o.exports,n),o.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.nc=void 0,(()=>{"use strict";const t=jQuery;var e,r,i=n.n(t);function o(t){return"object"==typeof t&&"function"==typeof t.to}function a(t){t.parentElement.removeChild(t)}function s(t){return null!=t}function l(t){t.preventDefault()}function u(t){return"number"==typeof t&&!isNaN(t)&&isFinite(t)}function c(t,e,n){n>0&&(h(t,e),setTimeout((function(){m(t,e)}),n))}function p(t){return Math.max(Math.min(t,100),0)}function d(t){return Array.isArray(t)?t:[t]}function f(t){var e=(t=String(t)).split(".");return e.length>1?e[1].length:0}function h(t,e){t.classList&&!/\s/.test(e)?t.classList.add(e):t.className+=" "+e}function m(t,e){t.classList&&!/\s/.test(e)?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," ")}function g(t){var e=void 0!==window.pageXOffset,n="CSS1Compat"===(t.compatMode||"");return{x:e?window.pageXOffset:n?t.documentElement.scrollLeft:t.body.scrollLeft,y:e?window.pageYOffset:n?t.documentElement.scrollTop:t.body.scrollTop}}function v(t,e){return 100/(e-t)}function b(t,e,n){return 100*e/(t[n+1]-t[n])}function x(t,e){for(var n=1;t>=e[n];)n+=1;return n}Shiny,function(t){t.Range="range",t.Steps="steps",t.Positions="positions",t.Count="count",t.Values="values"}(e||(e={})),function(t){t[t.None=-1]="None",t[t.NoValue=0]="NoValue",t[t.LargeValue=1]="LargeValue",t[t.SmallValue=2]="SmallValue"}(r||(r={}));var y=function(){function t(t,e,n){var r;this.xPct=[],this.xVal=[],this.xSteps=[],this.xNumSteps=[],this.xHighestCompleteStep=[],this.xSteps=[n||!1],this.xNumSteps=[!1],this.snap=e;var i=[];for(Object.keys(t).forEach((function(e){i.push([d(t[e]),e])})),i.sort((function(t,e){return t[0][0]-e[0][0]})),r=0;r<i.length;r++)this.handleEntryPoint(i[r][1],i[r][0]);for(this.xNumSteps=this.xSteps.slice(0),r=0;r<this.xNumSteps.length;r++)this.handleStepPoint(r,this.xNumSteps[r])}return t.prototype.getDistance=function(t){for(var e=[],n=0;n<this.xNumSteps.length-1;n++)e[n]=b(this.xVal,t,n);return e},t.prototype.getAbsoluteDistance=function(t,e,n){var r,i=0;if(t<this.xPct[this.xPct.length-1])for(;t>this.xPct[i+1];)i++;else t===this.xPct[this.xPct.length-1]&&(i=this.xPct.length-2);n||t!==this.xPct[i+1]||i++,null===e&&(e=[]);var o=1,a=e[i],s=0,l=0,u=0,c=0;for(r=n?(t-this.xPct[i])/(this.xPct[i+1]-this.xPct[i]):(this.xPct[i+1]-t)/(this.xPct[i+1]-this.xPct[i]);a>0;)s=this.xPct[i+1+c]-this.xPct[i+c],e[i+c]*o+100-100*r>100?(l=s*r,o=(a-100*r)/e[i+c],r=1):(l=e[i+c]*s/100*o,o=0),n?(u-=l,this.xPct.length+c>=1&&c--):(u+=l,this.xPct.length-c>=1&&c++),a=e[i+c]*o;return t+u},t.prototype.toStepping=function(t){return function(t,e,n){if(n>=t.slice(-1)[0])return 100;var r=x(n,t),i=t[r-1],o=t[r],a=e[r-1],s=e[r];return a+function(t,e){return b(t,t[0]<0?e+Math.abs(t[0]):e-t[0],0)}([i,o],n)/v(a,s)}(this.xVal,this.xPct,t)},t.prototype.fromStepping=function(t){return function(t,e,n){if(n>=100)return t.slice(-1)[0];var r=x(n,e),i=t[r-1],o=t[r],a=e[r-1];return function(t,e){return e*(t[1]-t[0])/100+t[0]}([i,o],(n-a)*v(a,e[r]))}(this.xVal,this.xPct,t)},t.prototype.getStep=function(t){return function(t,e,n,r){if(100===r)return r;var i=x(r,t),o=t[i-1],a=t[i];return n?r-o>(a-o)/2?a:o:e[i-1]?t[i-1]+function(t,e){return Math.round(t/e)*e}(r-t[i-1],e[i-1]):r}(this.xPct,this.xSteps,this.snap,t)},t.prototype.getDefaultStep=function(t,e,n){var r=x(t,this.xPct);return(100===t||e&&t===this.xPct[r-1])&&(r=Math.max(r-1,1)),(this.xVal[r]-this.xVal[r-1])/n},t.prototype.getNearbySteps=function(t){var e=x(t,this.xPct);return{stepBefore:{startValue:this.xVal[e-2],step:this.xNumSteps[e-2],highestStep:this.xHighestCompleteStep[e-2]},thisStep:{startValue:this.xVal[e-1],step:this.xNumSteps[e-1],highestStep:this.xHighestCompleteStep[e-1]},stepAfter:{startValue:this.xVal[e],step:this.xNumSteps[e],highestStep:this.xHighestCompleteStep[e]}}},t.prototype.countStepDecimals=function(){var t=this.xNumSteps.map(f);return Math.max.apply(null,t)},t.prototype.hasNoSize=function(){return this.xVal[0]===this.xVal[this.xVal.length-1]},t.prototype.convert=function(t){return this.getStep(this.toStepping(t))},t.prototype.handleEntryPoint=function(t,e){var n;if(!u(n="min"===t?0:"max"===t?100:parseFloat(t))||!u(e[0]))throw new Error("noUiSlider: 'range' value isn't numeric.");this.xPct.push(n),this.xVal.push(e[0]);var r=Number(e[1]);n?this.xSteps.push(!isNaN(r)&&r):isNaN(r)||(this.xSteps[0]=r),this.xHighestCompleteStep.push(0)},t.prototype.handleStepPoint=function(t,e){if(e)if(this.xVal[t]!==this.xVal[t+1]){this.xSteps[t]=b([this.xVal[t],this.xVal[t+1]],e,0)/v(this.xPct[t],this.xPct[t+1]);var n=(this.xVal[t+1]-this.xVal[t])/this.xNumSteps[t],r=Math.ceil(Number(n.toFixed(3))-1),i=this.xVal[t]+this.xNumSteps[t]*r;this.xHighestCompleteStep[t]=i}else this.xSteps[t]=this.xHighestCompleteStep[t]=this.xVal[t]},t}(),S={to:function(t){return void 0===t?"":t.toFixed(2)},from:Number},w={target:"target",base:"base",origin:"origin",handle:"handle",handleLower:"handle-lower",handleUpper:"handle-upper",touchArea:"touch-area",horizontal:"horizontal",vertical:"vertical",background:"background",connect:"connect",connects:"connects",ltr:"ltr",rtl:"rtl",textDirectionLtr:"txt-dir-ltr",textDirectionRtl:"txt-dir-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"},U=".__tooltips",E=".__aria";function k(t,e){if(!u(e))throw new Error("noUiSlider: 'step' is not numeric.");t.singleStep=e}function C(t,e){if(!u(e))throw new Error("noUiSlider: 'keyboardPageMultiplier' is not numeric.");t.keyboardPageMultiplier=e}function N(t,e){if(!u(e))throw new Error("noUiSlider: 'keyboardMultiplier' is not numeric.");t.keyboardMultiplier=e}function P(t,e){if(!u(e))throw new Error("noUiSlider: 'keyboardDefaultStep' is not numeric.");t.keyboardDefaultStep=e}function A(t,e){if("object"!=typeof e||Array.isArray(e))throw new Error("noUiSlider: 'range' is not an object.");if(void 0===e.min||void 0===e.max)throw new Error("noUiSlider: Missing 'min' or 'max' in 'range'.");t.spectrum=new y(e,t.snap||!1,t.singleStep)}function V(t,e){if(e=d(e),!Array.isArray(e)||!e.length)throw new Error("noUiSlider: 'start' option is incorrect.");t.handles=e.length,t.start=e}function z(t,e){if("boolean"!=typeof e)throw new Error("noUiSlider: 'snap' option must be a boolean.");t.snap=e}function D(t,e){if("boolean"!=typeof e)throw new Error("noUiSlider: 'animate' option must be a boolean.");t.animate=e}function M(t,e){if("number"!=typeof e)throw new Error("noUiSlider: 'animationDuration' option must be a number.");t.animationDuration=e}function O(t,e){var n,r=[!1];if("lower"===e?e=[!0,!1]:"upper"===e&&(e=[!1,!0]),!0===e||!1===e){for(n=1;n<t.handles;n++)r.push(e);r.push(!1)}else{if(!Array.isArray(e)||!e.length||e.length!==t.handles+1)throw new Error("noUiSlider: 'connect' option doesn't match handle count.");r=e}t.connect=r}function F(t,e){switch(e){case"horizontal":t.ort=0;break;case"vertical":t.ort=1;break;default:throw new Error("noUiSlider: 'orientation' option is invalid.")}}function L(t,e){if(!u(e))throw new Error("noUiSlider: 'margin' option must be numeric.");0!==e&&(t.margin=t.spectrum.getDistance(e))}function B(t,e){if(!u(e))throw new Error("noUiSlider: 'limit' option must be numeric.");if(t.limit=t.spectrum.getDistance(e),!t.limit||t.handles<2)throw new Error("noUiSlider: 'limit' option is only supported on linear sliders with 2 or more handles.")}function H(t,e){var n;if(!u(e)&&!Array.isArray(e))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(Array.isArray(e)&&2!==e.length&&!u(e[0])&&!u(e[1]))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(0!==e){for(Array.isArray(e)||(e=[e,e]),t.padding=[t.spectrum.getDistance(e[0]),t.spectrum.getDistance(e[1])],n=0;n<t.spectrum.xNumSteps.length-1;n++)if(t.padding[0][n]<0||t.padding[1][n]<0)throw new Error("noUiSlider: 'padding' option must be a positive number(s).");var r=e[0]+e[1],i=t.spectrum.xVal[0];if(r/(t.spectrum.xVal[t.spectrum.xVal.length-1]-i)>1)throw new Error("noUiSlider: 'padding' option must not exceed 100% of the range.")}}function j(t,e){switch(e){case"ltr":t.dir=0;break;case"rtl":t.dir=1;break;default:throw new Error("noUiSlider: 'direction' option was not recognized.")}}function T(t,e){if("string"!=typeof e)throw new Error("noUiSlider: 'behaviour' must be a string containing options.");var n=e.indexOf("tap")>=0,r=e.indexOf("drag")>=0,i=e.indexOf("fixed")>=0,o=e.indexOf("snap")>=0,a=e.indexOf("hover")>=0,s=e.indexOf("unconstrained")>=0,l=e.indexOf("drag-all")>=0,u=e.indexOf("smooth-steps")>=0;if(i){if(2!==t.handles)throw new Error("noUiSlider: 'fixed' behaviour must be used with 2 handles");L(t,t.start[1]-t.start[0])}if(s&&(t.margin||t.limit))throw new Error("noUiSlider: 'unconstrained' behaviour cannot be used with margin or limit");t.events={tap:n||o,drag:r,dragAll:l,smoothSteps:u,fixed:i,snap:o,hover:a,unconstrained:s}}function R(t,e){if(!1!==e)if(!0===e||o(e)){t.tooltips=[];for(var n=0;n<t.handles;n++)t.tooltips.push(e)}else{if((e=d(e)).length!==t.handles)throw new Error("noUiSlider: must pass a formatter for all handles.");e.forEach((function(t){if("boolean"!=typeof t&&!o(t))throw new Error("noUiSlider: 'tooltips' must be passed a formatter or 'false'.")})),t.tooltips=e}}function _(t,e){if(e.length!==t.handles)throw new Error("noUiSlider: must pass a attributes for all handles.");t.handleAttributes=e}function I(t,e){if(!o(e))throw new Error("noUiSlider: 'ariaFormat' requires 'to' method.");t.ariaFormat=e}function q(t,e){if(!function(t){return o(t)&&"function"==typeof t.from}(e))throw new Error("noUiSlider: 'format' requires 'to' and 'from' methods.");t.format=e}function X(t,e){if("boolean"!=typeof e)throw new Error("noUiSlider: 'keyboardSupport' option must be a boolean.");t.keyboardSupport=e}function Y(t,e){t.documentElement=e}function Z(t,e){if("string"!=typeof e&&!1!==e)throw new Error("noUiSlider: 'cssPrefix' must be a string or `false`.");t.cssPrefix=e}function J(t,e){if("object"!=typeof e)throw new Error("noUiSlider: 'cssClasses' must be an object.");"string"==typeof t.cssPrefix?(t.cssClasses={},Object.keys(e).forEach((function(n){t.cssClasses[n]=t.cssPrefix+e[n]}))):t.cssClasses=e}function W(t){var e={margin:null,limit:null,padding:null,animate:!0,animationDuration:300,ariaFormat:S,format:S},n={step:{r:!1,t:k},keyboardPageMultiplier:{r:!1,t:C},keyboardMultiplier:{r:!1,t:N},keyboardDefaultStep:{r:!1,t:P},start:{r:!0,t:V},connect:{r:!0,t:O},direction:{r:!0,t:j},snap:{r:!1,t:z},animate:{r:!1,t:D},animationDuration:{r:!1,t:M},range:{r:!0,t:A},orientation:{r:!1,t:F},margin:{r:!1,t:L},limit:{r:!1,t:B},padding:{r:!1,t:H},behaviour:{r:!0,t:T},ariaFormat:{r:!1,t:I},format:{r:!1,t:q},tooltips:{r:!1,t:R},keyboardSupport:{r:!0,t:X},documentElement:{r:!1,t:Y},cssPrefix:{r:!0,t:Z},cssClasses:{r:!0,t:J},handleAttributes:{r:!1,t:_}},r={connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal",keyboardSupport:!0,cssPrefix:"noUi-",cssClasses:w,keyboardPageMultiplier:5,keyboardMultiplier:1,keyboardDefaultStep:10};t.format&&!t.ariaFormat&&(t.ariaFormat=t.format),Object.keys(n).forEach((function(i){if(s(t[i])||void 0!==r[i])n[i].t(e,s(t[i])?t[i]:r[i]);else if(n[i].r)throw new Error("noUiSlider: '"+i+"' is required.")})),e.pips=t.pips;var i=document.createElement("div"),o=void 0!==i.style.msTransform,a=void 0!==i.style.transform;return e.transformRule=a?"transform":o?"msTransform":"webkitTransform",e.style=[["left","top"],["right","bottom"]][e.dir][e.ort],e}function $(t,n,i){var o,u,f,v,b,x,y,S=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"},w=window.CSS&&CSS.supports&&CSS.supports("touch-action","none")&&function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,e)}catch(t){}return t}(),k=t,C=n.spectrum,N=[],P=[],A=[],V=0,z={},D=t.ownerDocument,M=n.documentElement||D.documentElement,O=D.body,F="rtl"===D.dir||1===n.ort?0:100;function L(t,e){var n=D.createElement("div");return e&&h(n,e),t.appendChild(n),n}function B(t,e){var r=L(t,n.cssClasses.origin),i=L(r,n.cssClasses.handle);if(L(i,n.cssClasses.touchArea),i.setAttribute("data-handle",String(e)),n.keyboardSupport&&(i.setAttribute("tabindex","0"),i.addEventListener("keydown",(function(t){return function(t,e){if(T()||R(e))return!1;var r=["Left","Right"],i=["Down","Up"],o=["PageDown","PageUp"],a=["Home","End"];n.dir&&!n.ort?r.reverse():n.ort&&!n.dir&&(i.reverse(),o.reverse());var s,l=t.key.replace("Arrow",""),u=l===o[0],c=l===o[1],p=l===i[0]||l===r[0]||u,d=l===i[1]||l===r[1]||c,f=l===a[1];if(!(p||d||l===a[0]||f))return!0;if(t.preventDefault(),d||p){var h=p?0:1,m=ht(e)[h];if(null===m)return!1;!1===m&&(m=C.getDefaultStep(P[e],p,n.keyboardDefaultStep)),m*=c||u?n.keyboardPageMultiplier:n.keyboardMultiplier,m=Math.max(m,1e-7),m*=p?-1:1,s=N[e]+m}else s=f?n.spectrum.xVal[n.spectrum.xVal.length-1]:n.spectrum.xVal[0];return ut(e,C.toStepping(s),!0,!0),rt("slide",e),rt("update",e),rt("change",e),rt("set",e),!1}(t,e)}))),void 0!==n.handleAttributes){var o=n.handleAttributes[e];Object.keys(o).forEach((function(t){i.setAttribute(t,o[t])}))}return i.setAttribute("role","slider"),i.setAttribute("aria-orientation",n.ort?"vertical":"horizontal"),0===e?h(i,n.cssClasses.handleLower):e===n.handles-1&&h(i,n.cssClasses.handleUpper),r.handle=i,r}function H(t,e){return!!e&&L(t,n.cssClasses.connect)}function j(t,e){return!(!n.tooltips||!n.tooltips[e])&&L(t.firstChild,n.cssClasses.tooltip)}function T(){return k.hasAttribute("disabled")}function R(t){return u[t].hasAttribute("disabled")}function _(){b&&(nt("update.__tooltips"),b.forEach((function(t){t&&a(t)})),b=null)}function I(){_(),b=u.map(j),et("update.__tooltips",(function(t,e,r){if(b&&n.tooltips&&!1!==b[e]){var i=t[e];!0!==n.tooltips[e]&&(i=n.tooltips[e].to(r[e])),b[e].innerHTML=i}}))}function q(t,e){return t.map((function(t){return C.fromStepping(e?C.getStep(t):t)}))}function X(){v&&(a(v),v=null)}function Y(t){X();var i=function(t){var n,i=function(t){if(t.mode===e.Range||t.mode===e.Steps)return C.xVal;if(t.mode===e.Count){if(t.values<2)throw new Error("noUiSlider: 'values' (>= 2) required for mode 'count'.");for(var n=t.values-1,r=100/n,i=[];n--;)i[n]=n*r;return i.push(100),q(i,t.stepped)}return t.mode===e.Positions?q(t.values,t.stepped):t.mode===e.Values?t.stepped?t.values.map((function(t){return C.fromStepping(C.getStep(C.toStepping(t)))})):t.values:[]}(t),o={},a=C.xVal[0],s=C.xVal[C.xVal.length-1],l=!1,u=!1,c=0;return n=i.slice().sort((function(t,e){return t-e})),(i=n.filter((function(t){return!this[t]&&(this[t]=!0)}),{}))[0]!==a&&(i.unshift(a),l=!0),i[i.length-1]!==s&&(i.push(s),u=!0),i.forEach((function(n,a){var s,p,d,f,h,m,g,v,b,x,y=n,S=i[a+1],w=t.mode===e.Steps;for(w&&(s=C.xNumSteps[a]),s||(s=S-y),void 0===S&&(S=y),s=Math.max(s,1e-7),p=y;p<=S;p=Number((p+s).toFixed(7))){for(v=(h=(f=C.toStepping(p))-c)/(t.density||1),x=h/(b=Math.round(v)),d=1;d<=b;d+=1)o[(m=c+d*x).toFixed(5)]=[C.fromStepping(m),0];g=i.indexOf(p)>-1?r.LargeValue:w?r.SmallValue:r.NoValue,!a&&l&&p!==S&&(g=0),p===S&&u||(o[f.toFixed(5)]=[p,g]),c=f}})),o}(t),o=t.filter,a=t.format||{to:function(t){return String(Math.round(t))}};return v=k.appendChild(function(t,e,i){var o,a,s=D.createElement("div"),l=((o={})[r.None]="",o[r.NoValue]=n.cssClasses.valueNormal,o[r.LargeValue]=n.cssClasses.valueLarge,o[r.SmallValue]=n.cssClasses.valueSub,o),u=((a={})[r.None]="",a[r.NoValue]=n.cssClasses.markerNormal,a[r.LargeValue]=n.cssClasses.markerLarge,a[r.SmallValue]=n.cssClasses.markerSub,a),c=[n.cssClasses.valueHorizontal,n.cssClasses.valueVertical],p=[n.cssClasses.markerHorizontal,n.cssClasses.markerVertical];function d(t,e){var r=e===n.cssClasses.value,i=r?l:u;return e+" "+(r?c:p)[n.ort]+" "+i[t]}return h(s,n.cssClasses.pips),h(s,0===n.ort?n.cssClasses.pipsHorizontal:n.cssClasses.pipsVertical),Object.keys(t).forEach((function(o){!function(t,o,a){if((a=e?e(o,a):a)!==r.None){var l=L(s,!1);l.className=d(a,n.cssClasses.marker),l.style[n.style]=t+"%",a>r.NoValue&&((l=L(s,!1)).className=d(a,n.cssClasses.value),l.setAttribute("data-value",String(o)),l.style[n.style]=t+"%",l.innerHTML=String(i.to(o)))}}(o,t[o][0],t[o][1])})),s}(i,o,a))}function Z(){var t=o.getBoundingClientRect(),e="offset"+["Width","Height"][n.ort];return 0===n.ort?t.width||o[e]:t.height||o[e]}function J(t,e,r,i){var o=function(o){var a,s,l=function(t,e,n){var r=0===t.type.indexOf("touch"),i=0===t.type.indexOf("mouse"),o=0===t.type.indexOf("pointer"),a=0,s=0;if(0===t.type.indexOf("MSPointer")&&(o=!0),"mousedown"===t.type&&!t.buttons&&!t.touches)return!1;if(r){var l=function(e){var r=e.target;return r===n||n.contains(r)||t.composed&&t.composedPath().shift()===n};if("touchstart"===t.type){var u=Array.prototype.filter.call(t.touches,l);if(u.length>1)return!1;a=u[0].pageX,s=u[0].pageY}else{var c=Array.prototype.find.call(t.changedTouches,l);if(!c)return!1;a=c.pageX,s=c.pageY}}return e=e||g(D),(i||o)&&(a=t.clientX+e.x,s=t.clientY+e.y),t.pageOffset=e,t.points=[a,s],t.cursor=i||o,t}(o,i.pageOffset,i.target||e);return!!l&&!(T()&&!i.doNotReject)&&(a=k,s=n.cssClasses.tap,!((a.classList?a.classList.contains(s):new RegExp("\\b"+s+"\\b").test(a.className))&&!i.doNotReject)&&!(t===S.start&&void 0!==l.buttons&&l.buttons>1)&&(!i.hover||!l.buttons)&&(w||l.preventDefault(),l.calcPoint=l.points[n.ort],void r(l,i)))},a=[];return t.split(" ").forEach((function(t){e.addEventListener(t,o,!!w&&{passive:!0}),a.push([t,o])})),a}function $(t){var e,r,i,a,s,l,u=100*(t-(e=o,r=n.ort,i=e.getBoundingClientRect(),s=(a=e.ownerDocument).documentElement,l=g(a),/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&&(l.x=0),r?i.top+l.y-s.clientTop:i.left+l.x-s.clientLeft))/Z();return u=p(u),n.dir?100-u:u}function G(t,e){"mouseout"===t.type&&"HTML"===t.target.nodeName&&null===t.relatedTarget&&K(t,e)}function Q(t,e){if(-1===navigator.appVersion.indexOf("MSIE 9")&&0===t.buttons&&0!==e.buttonsProperty)return K(t,e);var r=(n.dir?-1:1)*(t.calcPoint-e.startCalcPoint);at(r>0,100*r/e.baseSize,e.locations,e.handleNumbers,e.connect)}function K(t,e){e.handle&&(m(e.handle,n.cssClasses.active),V-=1),e.listeners.forEach((function(t){M.removeEventListener(t[0],t[1])})),0===V&&(m(k,n.cssClasses.drag),lt(),t.cursor&&(O.style.cursor="",O.removeEventListener("selectstart",l))),n.events.smoothSteps&&(e.handleNumbers.forEach((function(t){ut(t,P[t],!0,!0,!1,!1)})),e.handleNumbers.forEach((function(t){rt("update",t)}))),e.handleNumbers.forEach((function(t){rt("change",t),rt("set",t),rt("end",t)}))}function tt(t,e){if(!e.handleNumbers.some(R)){var r;1===e.handleNumbers.length&&(r=u[e.handleNumbers[0]].children[0],V+=1,h(r,n.cssClasses.active)),t.stopPropagation();var i=[],o=J(S.move,M,Q,{target:t.target,handle:r,connect:e.connect,listeners:i,startCalcPoint:t.calcPoint,baseSize:Z(),pageOffset:t.pageOffset,handleNumbers:e.handleNumbers,buttonsProperty:t.buttons,locations:P.slice()}),a=J(S.end,M,K,{target:t.target,handle:r,listeners:i,doNotReject:!0,handleNumbers:e.handleNumbers}),s=J("mouseout",M,G,{target:t.target,handle:r,listeners:i,doNotReject:!0,handleNumbers:e.handleNumbers});i.push.apply(i,o.concat(a,s)),t.cursor&&(O.style.cursor=getComputedStyle(t.target).cursor,u.length>1&&h(k,n.cssClasses.drag),O.addEventListener("selectstart",l,!1)),e.handleNumbers.forEach((function(t){rt("start",t)}))}}function et(t,e){z[t]=z[t]||[],z[t].push(e),"update"===t.split(".")[0]&&u.forEach((function(t,e){rt("update",e)}))}function nt(t){var e=t&&t.split(".")[0],n=e?t.substring(e.length):t;Object.keys(z).forEach((function(t){var r=t.split(".")[0],i=t.substring(r.length);e&&e!==r||n&&n!==i||function(t){return t===E||t===U}(i)&&n!==i||delete z[t]}))}function rt(t,e,r){Object.keys(z).forEach((function(i){var o=i.split(".")[0];t===o&&z[i].forEach((function(t){t.call(mt,N.map(n.format.to),e,N.slice(),r||!1,P.slice(),mt)}))}))}function it(t,e,r,i,o,a,s){var l;return u.length>1&&!n.events.unconstrained&&(i&&e>0&&(l=C.getAbsoluteDistance(t[e-1],n.margin,!1),r=Math.max(r,l)),o&&e<u.length-1&&(l=C.getAbsoluteDistance(t[e+1],n.margin,!0),r=Math.min(r,l))),u.length>1&&n.limit&&(i&&e>0&&(l=C.getAbsoluteDistance(t[e-1],n.limit,!1),r=Math.min(r,l)),o&&e<u.length-1&&(l=C.getAbsoluteDistance(t[e+1],n.limit,!0),r=Math.max(r,l))),n.padding&&(0===e&&(l=C.getAbsoluteDistance(0,n.padding[0],!1),r=Math.max(r,l)),e===u.length-1&&(l=C.getAbsoluteDistance(100,n.padding[1],!0),r=Math.min(r,l))),s||(r=C.getStep(r)),!((r=p(r))===t[e]&&!a)&&r}function ot(t,e){var r=n.ort;return(r?e:t)+", "+(r?t:e)}function at(t,e,r,i,o){var a=r.slice(),s=i[0],l=n.events.smoothSteps,u=[!t,t],c=[t,!t];i=i.slice(),t&&i.reverse(),i.length>1?i.forEach((function(t,n){var r=it(a,t,a[t]+e,u[n],c[n],!1,l);!1===r?e=0:(e=r-a[t],a[t]=r)})):u=c=[!0];var p=!1;i.forEach((function(t,n){p=ut(t,r[t]+e,u[n],c[n],!1,l)||p})),p&&(i.forEach((function(t){rt("update",t),rt("slide",t)})),null!=o&&rt("drag",s))}function st(t,e){return n.dir?100-t-e:t}function lt(){A.forEach((function(t){var e=P[t]>50?-1:1,n=3+(u.length+e*t);u[t].style.zIndex=String(n)}))}function ut(t,e,r,i,o,a){return o||(e=it(P,t,e,r,i,!1,a)),!1!==e&&(function(t,e){P[t]=e,N[t]=C.fromStepping(e);var r="translate("+ot(st(e,0)-F+"%","0")+")";u[t].style[n.transformRule]=r,ct(t),ct(t+1)}(t,e),!0)}function ct(t){if(f[t]){var e=0,r=100;0!==t&&(e=P[t-1]),t!==f.length-1&&(r=P[t]);var i=r-e,o="translate("+ot(st(e,i)+"%","0")+")",a="scale("+ot(i/100,"1")+")";f[t].style[n.transformRule]=o+" "+a}}function pt(t,e){return null===t||!1===t||void 0===t?P[e]:("number"==typeof t&&(t=String(t)),!1!==(t=n.format.from(t))&&(t=C.toStepping(t)),!1===t||isNaN(t)?P[e]:t)}function dt(t,e,r){var i=d(t),o=void 0===P[0];e=void 0===e||e,n.animate&&!o&&c(k,n.cssClasses.tap,n.animationDuration),A.forEach((function(t){ut(t,pt(i[t],t),!0,!1,r)}));var a=1===A.length?0:1;if(o&&C.hasNoSize()&&(r=!0,P[0]=0,A.length>1)){var s=100/(A.length-1);A.forEach((function(t){P[t]=t*s}))}for(;a<A.length;++a)A.forEach((function(t){ut(t,P[t],!0,!0,r)}));lt(),A.forEach((function(t){rt("update",t),null!==i[t]&&e&&rt("set",t)}))}function ft(t){if(void 0===t&&(t=!1),t)return 1===N.length?N[0]:N.slice(0);var e=N.map(n.format.to);return 1===e.length?e[0]:e}function ht(t){var e=P[t],r=C.getNearbySteps(e),i=N[t],o=r.thisStep.step,a=null;if(n.snap)return[i-r.stepBefore.startValue||null,r.stepAfter.startValue-i||null];!1!==o&&i+o>r.stepAfter.startValue&&(o=r.stepAfter.startValue-i),a=i>r.thisStep.startValue?r.thisStep.step:!1!==r.stepBefore.step&&i-r.stepBefore.highestStep,100===e?o=null:0===e&&(a=null);var s=C.countStepDecimals();return null!==o&&!1!==o&&(o=Number(o.toFixed(s))),null!==a&&!1!==a&&(a=Number(a.toFixed(s))),[a,o]}h(x=k,n.cssClasses.target),0===n.dir?h(x,n.cssClasses.ltr):h(x,n.cssClasses.rtl),0===n.ort?h(x,n.cssClasses.horizontal):h(x,n.cssClasses.vertical),h(x,"rtl"===getComputedStyle(x).direction?n.cssClasses.textDirectionRtl:n.cssClasses.textDirectionLtr),o=L(x,n.cssClasses.base),function(t,e){var r=L(e,n.cssClasses.connects);u=[],(f=[]).push(H(r,t[0]));for(var i=0;i<n.handles;i++)u.push(B(e,i)),A[i]=i,f.push(H(r,t[i+1]))}(n.connect,o),(y=n.events).fixed||u.forEach((function(t,e){J(S.start,t.children[0],tt,{handleNumbers:[e]})})),y.tap&&J(S.start,o,(function(t){t.stopPropagation();var e=$(t.calcPoint),r=function(t){var e=100,n=!1;return u.forEach((function(r,i){if(!R(i)){var o=P[i],a=Math.abs(o-t);(a<e||a<=e&&t>o||100===a&&100===e)&&(n=i,e=a)}})),n}(e);!1!==r&&(n.events.snap||c(k,n.cssClasses.tap,n.animationDuration),ut(r,e,!0,!0),lt(),rt("slide",r,!0),rt("update",r,!0),n.events.snap?tt(t,{handleNumbers:[r]}):(rt("change",r,!0),rt("set",r,!0)))}),{}),y.hover&&J(S.move,o,(function(t){var e=$(t.calcPoint),n=C.getStep(e),r=C.fromStepping(n);Object.keys(z).forEach((function(t){"hover"===t.split(".")[0]&&z[t].forEach((function(t){t.call(mt,r)}))}))}),{hover:!0}),y.drag&&f.forEach((function(t,e){if(!1!==t&&0!==e&&e!==f.length-1){var r=u[e-1],i=u[e],o=[t],a=[r,i],s=[e-1,e];h(t,n.cssClasses.draggable),y.fixed&&(o.push(r.children[0]),o.push(i.children[0])),y.dragAll&&(a=u,s=A),o.forEach((function(e){J(S.start,e,tt,{handles:a,handleNumbers:s,connect:t})}))}})),dt(n.start),n.pips&&Y(n.pips),n.tooltips&&I(),nt("update.__aria"),et("update.__aria",(function(t,e,r,i,o){A.forEach((function(t){var e=u[t],i=it(P,t,0,!0,!0,!0),a=it(P,t,100,!0,!0,!0),s=o[t],l=String(n.ariaFormat.to(r[t]));i=C.fromStepping(i).toFixed(1),a=C.fromStepping(a).toFixed(1),s=C.fromStepping(s).toFixed(1),e.children[0].setAttribute("aria-valuemin",i),e.children[0].setAttribute("aria-valuemax",a),e.children[0].setAttribute("aria-valuenow",s),e.children[0].setAttribute("aria-valuetext",l)}))}));var mt={destroy:function(){for(nt(E),nt(U),Object.keys(n.cssClasses).forEach((function(t){m(k,n.cssClasses[t])}));k.firstChild;)k.removeChild(k.firstChild);delete k.noUiSlider},steps:function(){return A.map(ht)},on:et,off:nt,get:ft,set:dt,setHandle:function(t,e,n,r){if(!((t=Number(t))>=0&&t<A.length))throw new Error("noUiSlider: invalid handle number, got: "+t);ut(t,pt(e,t),!0,!0,r),rt("update",t),n&&rt("set",t)},reset:function(t){dt(n.start,t)},disable:function(t){null!=t?(u[t].setAttribute("disabled",""),u[t].handle.removeAttribute("tabindex")):(k.setAttribute("disabled",""),u.forEach((function(t){t.handle.removeAttribute("tabindex")})))},enable:function(t){null!=t?(u[t].removeAttribute("disabled"),u[t].handle.setAttribute("tabindex","0")):(k.removeAttribute("disabled"),u.forEach((function(t){t.removeAttribute("disabled"),t.handle.setAttribute("tabindex","0")})))},__moveHandles:function(t,e,n){at(t,e,P,n)},options:i,updateOptions:function(t,e){var r=ft(),o=["margin","limit","padding","range","animate","snap","step","format","pips","tooltips"];o.forEach((function(e){void 0!==t[e]&&(i[e]=t[e])}));var a=W(i);o.forEach((function(e){void 0!==t[e]&&(n[e]=a[e])})),C=a.spectrum,n.margin=a.margin,n.limit=a.limit,n.padding=a.padding,n.pips?Y(n.pips):X(),n.tooltips?I():_(),P=[],dt(s(t.start)?t.start:r,e)},target:k,removePips:X,removeTooltips:_,getPositions:function(){return P.slice()},getTooltips:function(){return b},getOrigins:function(){return u},pips:Y};return mt}const G=function(t,e){if(!t||!t.nodeName)throw new Error("noUiSlider: create requires a single element, got: "+t);if(t.noUiSlider)throw new Error("noUiSlider: Slider was already initialized.");var n=$(t,W(e),e);return t.noUiSlider=n,n};var Q=n(3379),K=n.n(Q),tt=n(7795),et=n.n(tt),nt=n(569),rt=n.n(nt),it=n(3565),ot=n.n(it),at=n(9216),st=n.n(at),lt=n(4589),ut=n.n(lt),ct=n(4850),pt={};pt.styleTagTransform=ut(),pt.setAttributes=ot(),pt.insert=rt().bind(null,"head"),pt.domAPI=et(),pt.insertStyleElement=st(),K()(ct.Z,pt),ct.Z&&ct.Z.locals&&ct.Z.locals;var dt=n(6018),ft=n.n(dt),ht=new Shiny.InputBinding;i().extend(ht,{find:function(t){return i()(t).find(".sw-no-ui-slider")},getId:function(t){return t.id},getType:function(t){var e=i()(t).data("data-type");return"date"===e?"shiny.date":"datetime"===e&&"shiny.datetime"},getValue:function(t){var e,n=document.getElementById(t.id).noUiSlider.get(),r=i()(t).parent().find('script[data-for="'+Shiny.$escape(t.id)+'"]');if(void 0!==(r=JSON.parse(r.html())).format){var o=ft()(r.format);e=Array.isArray(n)?n.map(o.from):o.from(n)}else e=Array.isArray(n)?n.map(Number):Number(n);return e},setValue:function(t,e){document.getElementById(t.id).noUiSlider.set(e)},subscribe:function(t,e){var n=document.getElementById(t.id);"end"==i()("#"+t.id).data("update")?(n.noUiSlider.on("change",(function(t){e()})),n.noUiSlider.on("set",(function(t){e()}))):(n.noUiSlider.on("slide",(function(t){e()})),n.noUiSlider.on("set",(function(t){e()})))},unsubscribe:function(t){i()(t).off(".noUiSliderBinding")},receiveMessage:function(t,e){if(e.hasOwnProperty("label")){var n=i()("#"+t.id+"-label");!function(t,e){if(void 0!==t){if(1!==e.length)throw new Error("labelNode must be of length 1");Array.isArray(t)&&0===t.length?e.addClass("shiny-label-null"):(e.html(t),e.removeClass("shiny-label-null"))}}(e.label,n)}var r=document.getElementById(t.id);if(e.hasOwnProperty("range")&&r.noUiSlider.updateOptions({range:{min:e.range[0],max:e.range[1]}}),r.noUiSlider.set(e.value),e.hasOwnProperty("disable")&&(e.disable?r.noUiSlider.disable():r.noUiSlider.enable()),e.hasOwnProperty("disableHandlers"))for(let t=0;t<e.disableHandlers.length;t++)r.noUiSlider.disable(e.disableHandlers[t]-1);if(e.hasOwnProperty("enableHandlers"))for(let t=0;t<e.enableHandlers.length;t++)r.noUiSlider.enable(e.enableHandlers[t]-1);i()(t).trigger("change")},getRatePolicy:function(){return{policy:"debounce",delay:250}},getState:function(t){},initialize:function(t){var e=i()(t).parent().find('script[data-for="'+Shiny.$escape(t.id)+'"]');(e=JSON.parse(e.html())).hasOwnProperty("format")&&(e.format=ft()(e.format)),e.hasOwnProperty("pips")&&(e.pips.hasOwnProperty("format")&&(e.pips.format=ft()(e.pips.format)),e.pips.hasOwnProperty("size")&&(e.pips.filter=function(t,n){return n>0?e.pips.size:n}));var n=document.getElementById(t.id);"vertical"===e.orientation&&(n.style.margin="0 auto 30px"),G(n,e)}}),Shiny.inputBindings.register(ht,"shinyWidgets.noUiSlider")})()})();