File: D:/HostingSpaces/SBogers10/analytics.komma.nl/wwwroot/js/app.js
/*! For license information please see app.js.LICENSE.txt */
(self.webpackChunk=self.webpackChunk||[]).push([[773],{65:(t,e,r)=>{"use strict";var o=r(253),n={class:"l-contain tool"},i={class:"tool__matrix"},a={class:"tool__form"},s=(0,o.createVNode)("div",{class:"tool__title-main"},[(0,o.createVNode)("img",{src:"/img/logo.svg",alt:"logo"}),(0,o.createVNode)("h1",null,"Analytics tool")],-1),l=(0,o.createVNode)("label",{class:"tool__label"},"Type verkoop",-1),u={class:"tool__form-field u-margin-between"},c=(0,o.createVNode)("label",{class:"tool__label"},"Budget",-1),d={class:"tool__form-field tool__form-field--input u-margin-between"},f={class:"tool__label"},p=(0,o.createTextVNode)("Gemiddelde kosten per klik: "),h={class:"tool__label-value"},v={class:"tool__slider-field"},y={class:"tool__label"},m=(0,o.createTextVNode)("Conversiepercentage: "),b={class:"tool__label-value"},g={class:"tool__slider-field"},k={class:"tool__label"},S=(0,o.createTextVNode)("Scoringspercentage leads: "),O={class:"tool__label-value"},w={class:"tool__slider-field"},x=(0,o.createVNode)("label",{class:"tool__label"},"Gemiddelde omzet per nieuwe klant",-1),V={class:"tool__form-field tool__form-field--input u-margin-between"},_={class:"tool__label"},D=(0,o.createTextVNode)("Marge op omzet: "),R={class:"tool__label-value"},P={class:"tool__slider-field"},j={class:"tool__sidebar"},N={class:"tool__sidebar-container"},E={class:"tool__sidebar-item"},A={class:"tool__sidebar-number"},C=(0,o.createVNode)("span",{class:"tool__sidebar-label"},"bezoekers",-1),T={key:0,class:"tool__sidebar-item"},M={class:"tool__sidebar-number"},B=(0,o.createVNode)("span",{class:"tool__sidebar-label"},"aanvragen",-1),I={class:"tool__sidebar-item"},L={class:"tool__sidebar-number"},H=(0,o.createVNode)("span",{class:"tool__sidebar-label"},"orders",-1),U={class:"tool__sidebar-container"},z={class:"tool__sidebar-item"},F={class:"tool__sidebar-number"},$=(0,o.createVNode)("span",{class:"tool__sidebar-label"},"omzet",-1),G={class:"tool__sidebar-item"},W={class:"tool__sidebar-number"},q=(0,o.createVNode)("span",{class:"tool__sidebar-label"},"bruto winst",-1),K={class:"tool__sidebar-container tool__sidebar-container--result"},X={class:"tool__sidebar-item"},Y=(0,o.createVNode)("span",{class:"tool__sidebar-number"},"€1",-1),J=(0,o.createVNode)("span",{class:"tool__sidebar-label"},"investeren",-1),Q=(0,o.createVNode)("span",{class:"tool__sidebar-number"},"=",-1),Z={class:"tool__sidebar-number"},tt=(0,o.createVNode)("span",{class:"tool__sidebar-label"},"winst",-1);var et=r(454);const rt={name:"tool",components:{VueSlider:r.n(et)()},data:function(){return{isMounted:!1,budget:0,revenuePerCustomer:0,cpc:5,conversion:2,scoringspercentage:20,margin:10,tooltype:"order"}},mounted:function(){this.isMounted=!0},methods:{setToolType:function(t){this.tooltype=t},changeInput:function(t){"budget"===t&&(this.budget=this.$refs.budget.value),"revenuePerCustomer"===t&&(this.revenuePerCustomer=this.$refs.revenuePerCustomer.value)},roundNumber:function(t){return Math.round(t)},formatNumber:function(t){return t.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1.")}},computed:{leadNumber:function(){return this.budget/this.cpc},requestNumber:function(){return this.leadNumber/100*this.conversion},orderNumber:function(){return"order"===this.tooltype?this.requestNumber:this.requestNumber/100*this.scoringspercentage},revenue:function(){return Math.round(this.orderNumber)*this.revenuePerCustomer},profit:function(){return this.revenue/100*this.margin},result:function(){return this.budget>0?this.profit/this.budget:0}},render:function(t,e,r,et,rt,ot){var nt=(0,o.resolveComponent)("vue-slider");return(0,o.openBlock)(),(0,o.createBlock)("div",n,[(0,o.createVNode)("div",i,[(0,o.createVNode)("div",a,[s,l,(0,o.createVNode)("div",u,[(0,o.createVNode)("button",{class:"tool__button","data-active":"order"===rt.tooltype?"true":"false",onClick:e[1]||(e[1]=function(t){return ot.setToolType("order")})}," Order ",8,["data-active"]),(0,o.createVNode)("button",{class:"tool__button","data-active":"offerte"===rt.tooltype?"true":"false",onClick:e[2]||(e[2]=function(t){return ot.setToolType("offerte")})}," offerte ",8,["data-active"])]),c,(0,o.createVNode)("div",d,[(0,o.createVNode)("input",{type:"number",name:"budget",onChange:e[3]||(e[3]=function(t){return ot.changeInput("budget")}),ref:"budget",class:"tool__input",placeholder:"2000"},null,544)]),(0,o.createVNode)("label",f,[p,(0,o.createVNode)("span",h,"€"+(0,o.toDisplayString)(rt.cpc),1)]),(0,o.createVNode)("div",v,[(0,o.createVNode)(nt,{modelValue:rt.cpc,"onUpdate:modelValue":e[4]||(e[4]=function(t){return rt.cpc=t}),min:.5,max:10,interval:.5},null,8,["modelValue","min","interval"])]),(0,o.createVNode)("label",y,[m,(0,o.createVNode)("span",b,(0,o.toDisplayString)(rt.conversion)+"%",1)]),(0,o.createVNode)("div",g,[(0,o.createVNode)(nt,{modelValue:rt.conversion,"onUpdate:modelValue":e[5]||(e[5]=function(t){return rt.conversion=t}),min:0,max:5,interval:.5},null,8,["modelValue","interval"])]),"offerte"===rt.tooltype?((0,o.openBlock)(),(0,o.createBlock)(o.Fragment,{key:0},[(0,o.createVNode)("label",k,[S,(0,o.createVNode)("span",O,(0,o.toDisplayString)(rt.scoringspercentage)+"%",1)]),(0,o.createVNode)("div",w,[(0,o.createVNode)(nt,{modelValue:rt.scoringspercentage,"onUpdate:modelValue":e[6]||(e[6]=function(t){return rt.scoringspercentage=t}),min:0,max:100},null,8,["modelValue"])])],64)):(0,o.createCommentVNode)("",!0),x,(0,o.createVNode)("div",V,[(0,o.createVNode)("input",{type:"number",name:"omzetperklant",class:"tool__input",ref:"revenuePerCustomer",onChange:e[7]||(e[7]=function(t){return ot.changeInput("revenuePerCustomer")}),placeholder:"50.000"},null,544)]),(0,o.createVNode)("label",_,[D,(0,o.createVNode)("span",R,(0,o.toDisplayString)(rt.margin)+"%",1)]),(0,o.createVNode)("div",P,[(0,o.createVNode)(nt,{modelValue:rt.margin,"onUpdate:modelValue":e[8]||(e[8]=function(t){return rt.margin=t}),min:0,max:100},null,8,["modelValue"])])]),(0,o.createVNode)("div",j,[(0,o.createVNode)("div",N,[(0,o.createVNode)("div",E,[(0,o.createVNode)("span",A,(0,o.toDisplayString)(ot.roundNumber(ot.leadNumber)),1),C]),"offerte"===rt.tooltype?((0,o.openBlock)(),(0,o.createBlock)("div",T,[(0,o.createVNode)("span",M,(0,o.toDisplayString)(ot.roundNumber(ot.requestNumber)),1),B])):(0,o.createCommentVNode)("",!0),(0,o.createVNode)("div",I,[(0,o.createVNode)("span",L,(0,o.toDisplayString)(ot.roundNumber(ot.orderNumber)),1),H])]),(0,o.createVNode)("div",U,[(0,o.createVNode)("div",z,[(0,o.createVNode)("span",F,"€"+(0,o.toDisplayString)(ot.formatNumber(ot.roundNumber(ot.revenue))),1),$]),(0,o.createVNode)("div",G,[(0,o.createVNode)("span",W,"€"+(0,o.toDisplayString)(ot.formatNumber(ot.roundNumber(ot.profit))),1),q])]),(0,o.createVNode)("div",K,[(0,o.createVNode)("div",X,[Y,J,Q,(0,o.createVNode)("span",Z,"€"+(0,o.toDisplayString)(ot.roundNumber(ot.result)),1),tt])])])])])}},ot=rt;var nt=document.getElementById("app");null!==nt&&(0,o.createApp)({components:{"v-tool":ot}}).mount(nt)},454:function(t,e,r){var o;"undefined"!=typeof self&&self,t.exports=(o=r(253),function(t){var e={};function r(o){if(e[o])return e[o].exports;var n=e[o]={i:o,l:!1,exports:{}};return t[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=t,r.c=e,r.d=function(t,e,o){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)r.d(o,n,function(e){return t[e]}.bind(null,n));return o},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s="fb15")}({"091b":function(t,e,r){(e=r("24fb")(!1)).push([t.i,".vue-slider-dot{position:absolute;-webkit-transition:all 0s;transition:all 0s;z-index:5}.vue-slider-dot:focus{outline:none}.vue-slider-dot-tooltip{position:absolute;visibility:hidden}.vue-slider-dot-hover:hover .vue-slider-dot-tooltip,.vue-slider-dot-tooltip-show{visibility:visible}.vue-slider-dot-tooltip-top{top:-10px;left:50%;-webkit-transform:translate(-50%,-100%);transform:translate(-50%,-100%)}.vue-slider-dot-tooltip-bottom{bottom:-10px;left:50%;-webkit-transform:translate(-50%,100%);transform:translate(-50%,100%)}.vue-slider-dot-tooltip-left{left:-10px;top:50%;-webkit-transform:translate(-100%,-50%);transform:translate(-100%,-50%)}.vue-slider-dot-tooltip-right{right:-10px;top:50%;-webkit-transform:translate(100%,-50%);transform:translate(100%,-50%)}",""]),t.exports=e},"24fb":function(t,e,r){"use strict";function o(t,e){var r=t[1]||"",o=t[3];if(!o)return r;if(e&&"function"==typeof btoa){var i=n(o),a=o.sources.map((function(t){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(t," */")}));return[r].concat(a).concat([i]).join("\n")}return[r].join("\n")}function n(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),r="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(e);return"/*# ".concat(r," */")}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r=o(e,t);return e[2]?"@media ".concat(e[2]," {").concat(r,"}"):r})).join("")},e.i=function(t,r,o){"string"==typeof t&&(t=[[null,t,""]]);var n={};if(o)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(n[a]=!0)}for(var s=0;s<t.length;s++){var l=[].concat(t[s]);o&&n[l[0]]||(r&&(l[2]?l[2]="".concat(r," and ").concat(l[2]):l[2]=r),e.push(l))}},e}},"499e":function(t,e,r){"use strict";function o(t,e){for(var r=[],o={},n=0;n<e.length;n++){var i=e[n],a=i[0],s={id:t+":"+n,css:i[1],media:i[2],sourceMap:i[3]};o[a]?o[a].parts.push(s):r.push(o[a]={id:a,parts:[s]})}return r}r.r(e),r.d(e,"default",(function(){return h}));var n="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!n)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},a=n&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,u=!1,c=function(){},d=null,f="data-vue-ssr-id",p="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(t,e,r,n){u=r,d=n||{};var a=o(t,e);return v(a),function(e){for(var r=[],n=0;n<a.length;n++){var s=a[n],l=i[s.id];l.refs--,r.push(l)}for(e?v(a=o(t,e)):a=[],n=0;n<r.length;n++)if(0===(l=r[n]).refs){for(var u=0;u<l.parts.length;u++)l.parts[u]();delete i[l.id]}}}function v(t){for(var e=0;e<t.length;e++){var r=t[e],o=i[r.id];if(o){o.refs++;for(var n=0;n<o.parts.length;n++)o.parts[n](r.parts[n]);for(;n<r.parts.length;n++)o.parts.push(m(r.parts[n]));o.parts.length>r.parts.length&&(o.parts.length=r.parts.length)}else{var a=[];for(n=0;n<r.parts.length;n++)a.push(m(r.parts[n]));i[r.id]={id:r.id,refs:1,parts:a}}}}function y(){var t=document.createElement("style");return t.type="text/css",a.appendChild(t),t}function m(t){var e,r,o=document.querySelector("style["+f+'~="'+t.id+'"]');if(o){if(u)return c;o.parentNode.removeChild(o)}if(p){var n=l++;o=s||(s=y()),e=g.bind(null,o,n,!1),r=g.bind(null,o,n,!0)}else o=y(),e=k.bind(null,o),r=function(){o.parentNode.removeChild(o)};return e(t),function(o){if(o){if(o.css===t.css&&o.media===t.media&&o.sourceMap===t.sourceMap)return;e(t=o)}else r()}}var b=function(){var t=[];return function(e,r){return t[e]=r,t.filter(Boolean).join("\n")}}();function g(t,e,r,o){var n=r?"":o.css;if(t.styleSheet)t.styleSheet.cssText=b(e,n);else{var i=document.createTextNode(n),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}function k(t,e){var r=e.css,o=e.media,n=e.sourceMap;if(o&&t.setAttribute("media",o),d.ssrId&&t.setAttribute(f,e.id),n&&(r+="\n/*# sourceURL="+n.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}},"4abb":function(t,e,r){var o=r("7a57");"string"==typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals),(0,r("499e").default)("b2af7572",o,!0,{sourceMap:!1,shadowMode:!1})},"4ed8":function(t,e,r){var o=r("091b");"string"==typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals),(0,r("499e").default)("2f6bee1a",o,!0,{sourceMap:!1,shadowMode:!1})},"556c":function(t,e,r){var o=r("eef2");"string"==typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals),(0,r("499e").default)("1209fd47",o,!0,{sourceMap:!1,shadowMode:!1})},"7a57":function(t,e,r){(e=r("24fb")(!1)).push([t.i,".vue-slider{position:relative;-webkit-box-sizing:content-box;box-sizing:content-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.vue-slider-rail{position:relative;width:100%;height:100%;-webkit-transition-property:width,height,left,right,top,bottom;transition-property:width,height,left,right,top,bottom}.vue-slider-process{position:absolute;z-index:1}",""]),t.exports=e},8875:function(t,e,r){var o,n,i,a;"undefined"!=typeof self&&self,a=function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(t){var r,o,n,i=/@([^@]*):(\d+):(\d+)\s*$/gi,a=/.*at [^(]*\((.*):(.+):(.+)\)$/gi.exec(t.stack)||i.exec(t.stack),s=a&&a[1]||!1,l=a&&a[2]||!1,u=document.location.href.replace(document.location.hash,""),c=document.getElementsByTagName("script");s===u&&(r=document.documentElement.outerHTML,o=new RegExp("(?:[^\\n]+?\\n){0,"+(l-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),n=r.replace(o,"$1").trim());for(var d=0;d<c.length;d++){if("interactive"===c[d].readyState)return c[d];if(c[d].src===s)return c[d];if(s===u&&c[d].innerHTML&&c[d].innerHTML.trim()===n)return c[d]}return null}}return t},n=[],void 0===(i="function"==typeof(o=a)?o.apply(e,n):o)||(t.exports=i)},"8bbf":function(t,e){t.exports=o},eef2:function(t,e,r){(e=r("24fb")(!1)).push([t.i,".vue-slider-marks{position:relative;width:100%;height:100%}.vue-slider-mark{position:absolute;z-index:1}.vue-slider-ltr .vue-slider-mark,.vue-slider-rtl .vue-slider-mark{width:0;height:100%;top:50%}.vue-slider-ltr .vue-slider-mark-step,.vue-slider-rtl .vue-slider-mark-step{top:0}.vue-slider-ltr .vue-slider-mark-label,.vue-slider-rtl .vue-slider-mark-label{top:100%;margin-top:10px}.vue-slider-ltr .vue-slider-mark{-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.vue-slider-ltr .vue-slider-mark-step{left:0}.vue-slider-ltr .vue-slider-mark-label{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.vue-slider-rtl .vue-slider-mark{-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%)}.vue-slider-rtl .vue-slider-mark-step{right:0}.vue-slider-rtl .vue-slider-mark-label{right:50%;-webkit-transform:translateX(50%);transform:translateX(50%)}.vue-slider-btt .vue-slider-mark,.vue-slider-ttb .vue-slider-mark{width:100%;height:0;left:50%}.vue-slider-btt .vue-slider-mark-step,.vue-slider-ttb .vue-slider-mark-step{left:0}.vue-slider-btt .vue-slider-mark-label,.vue-slider-ttb .vue-slider-mark-label{left:100%;margin-left:10px}.vue-slider-btt .vue-slider-mark{-webkit-transform:translate(-50%,50%);transform:translate(-50%,50%)}.vue-slider-btt .vue-slider-mark-step{top:0}.vue-slider-btt .vue-slider-mark-label{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.vue-slider-ttb .vue-slider-mark{-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.vue-slider-ttb .vue-slider-mark-step{bottom:0}.vue-slider-ttb .vue-slider-mark-label{bottom:50%;-webkit-transform:translateY(50%);transform:translateY(50%)}.vue-slider-mark-label,.vue-slider-mark-step{position:absolute}",""]),t.exports=e},fb15:function(t,e,r){"use strict";if(r.r(e),r.d(e,"ERROR_TYPE",(function(){return mt})),r.d(e,"VueSliderMark",(function(){return lt})),r.d(e,"VueSliderDot",(function(){return X})),"undefined"!=typeof window){var o=window.document.currentScript,n=r("8875");o=n(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:n});var i=o&&o.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(r.p=i[1])}var a=r("8bbf");function s(t,e,r,o){var n,i=arguments.length,a=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,r,o);else for(var s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,r,a):n(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function c(t,e,r){return e&&u(t.prototype,e),r&&u(t,r),t}function d(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,o)}return r}function p(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach((function(e){d(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function h(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function m(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function b(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function g(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?b(t):e}function k(t){var e=m();return function(){var r,o=v(t);if(e){var n=v(this).constructor;r=Reflect.construct(o,arguments,n)}else r=o.apply(this,arguments);return g(this,r)}}function S(t){return O(t)||w(t)||x(t)||_()}function O(t){if(Array.isArray(t))return V(t)}function w(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function x(t,e){if(t){if("string"==typeof t)return V(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?V(t,e):void 0}}function V(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,o=new Array(e);r<e;r++)o[r]=t[r];return o}function _(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function D(t,e,r){Object.defineProperty(t,e,{get:r,enumerable:!1,configurable:!0})}function R(t,e,r){Object.defineProperty(t,e,{get:function(){return r[e].value},set:function(t){r[e].value=t},enumerable:!0,configurable:!0})}function P(t){var e=Object.getPrototypeOf(t.prototype);if(e)return e.constructor}var j=function(){function t(e,r){var o=this;l(this,t),D(this,"$props",(function(){return e})),D(this,"$attrs",(function(){return r.attrs})),D(this,"$slots",(function(){return r.slots})),D(this,"$emit",(function(){return r.emit})),Object.keys(e).forEach((function(t){Object.defineProperty(o,t,{enumerable:!1,configurable:!0,writable:!0,value:e[t]})}))}return c(t,null,[{key:"__vccExtend",value:function(t){t.mixins=t.mixins||[],t.mixins.push(this.__vccOpts)}},{key:"registerHooks",value:function(t){var e;(e=this.__vccHooks).push.apply(e,S(t))}},{key:"props",value:function(t){var e=new t,r={};return Object.keys(e).forEach((function(t){var o=e[t];r[t]=null!=o?o:null})),function(t){h(o,t);var e=k(o);function o(){return l(this,o),e.apply(this,arguments)}return c(o,null,[{key:"__vccExtend",value:function(t){t.props=r}}]),o}(this)}},{key:"__vccOpts",get:function(){if(this===N)return{};var t=this.hasOwnProperty("__vccCache")&&this.__vccCache;if(t)return t;var e=this,r=this.__vccCache=this.hasOwnProperty("__vccBase")?p({},this.__vccBase):{},o=P(e);o&&o.__vccExtend(r),r.methods=p({},r.methods),r.computed=p({},r.computed);var n=e.prototype;Object.getOwnPropertyNames(n).forEach((function(t){if("constructor"!==t)if(e.__vccHooks.indexOf(t)>-1)r[t]=n[t];else{var o=Object.getOwnPropertyDescriptor(n,t);"function"!=typeof o.value?(o.get||o.set)&&(r.computed[t]={get:o.get,set:o.set}):r.methods[t]=o.value}})),r.setup=function(t,r){var o,n=new e(t,r),i=Object.keys(n),s={},l=null;return i.forEach((function(t){void 0===n[t]||n[t]&&n[t].__s||(s[t]=Object(a.ref)(n[t]),R(n,t,s))})),i.forEach((function(t){if(n[t]&&n[t].__s){var e=n[t].__s();e instanceof Promise?(l||(l=Promise.resolve(s)),l=l.then((function(){return e.then((function(e){return s[t]=Object(a.proxyRefs)(e),s}))}))):s[t]=Object(a.proxyRefs)(e)}})),null!==(o=l)&&void 0!==o?o:s};var i=this.hasOwnProperty("__vccDecorators")&&this.__vccDecorators;return i&&i.forEach((function(t){return t(r)})),["render","ssrRender","__file","__cssModules","__scopeId","__hmrId"].forEach((function(t){e[t]&&(r[t]=e[t])})),r}}]),t}();j.__vccHooks=["data","beforeCreate","created","beforeMount","mounted","beforeUnmount","unmounted","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];var N=j;function E(t){return function(e){return e.__vccBase=t,e}}function A(t){return function(e,r,o){var n="function"==typeof e?e:e.constructor;n.__vccDecorators||(n.__vccDecorators=[]),"number"!=typeof o&&(o=void 0),n.__vccDecorators.push((function(e){return t(e,r,o)}))}}var C="undefined"!=typeof Reflect&&void 0!==Reflect.getMetadata;function T(t,e,r){if(C&&!Array.isArray(t)&&"function"!=typeof t&&void 0===t.type){var o=Reflect.getMetadata("design:type",e,r);o!==Object&&(t.type=o)}}function M(t){return void 0===t&&(t={}),function(e,r){T(t,e,r),A((function(e,r){(e.props||(e.props={}))[r]=t}))(e,r)}}function B(t,e){void 0===e&&(e={});var r=e.deep,o=void 0!==r&&r,n=e.immediate,i=void 0!==n&&n;return A((function(e,r){"object"!=typeof e.watch&&(e.watch=Object.create(null));var n=e.watch;"object"!=typeof n[t]||Array.isArray(n[t])?void 0===n[t]&&(n[t]=[]):n[t]=[n[t]],n[t].push({handler:r,deep:o,immediate:i})}))}function I(t){return(I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function L(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function H(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function U(t,e,r){return e&&H(t.prototype,e),r&&H(t,r),t}function z(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&F(t,e)}function F(t,e){return(F=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function $(t){var e=q();return function(){var r,o=K(t);if(e){var n=K(this).constructor;r=Reflect.construct(o,arguments,n)}else r=o.apply(this,arguments);return G(this,r)}}function G(t,e){return!e||"object"!==I(e)&&"function"!=typeof e?W(t):e}function W(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function q(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function K(t){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}r("4ed8");var X=function(){var t=function(t){z(r,t);var e=$(r);function r(){return L(this,r),e.apply(this,arguments)}return U(r,[{key:"dragStart",value:function(t){if(this.disabled)return!1;this.$emit("DragStart")}},{key:"render",value:function(){return Object(a.createVNode)("div",{ref:"dot",class:this.dotClasses,"aria-valuetext":this.tooltipValue,onMousedown:this.dragStart,onTouchstart:this.dragStart},[this.dotSlot||Object(a.createVNode)("div",{class:this.handleClasses,style:this.dotStyle},null),"none"!==this.tooltip?Object(a.createVNode)("div",{class:this.tooltipClasses},[this.tooltipSlot||Object(a.createVNode)("div",{class:this.tooltipInnerClasses,style:this.tooltipStyle},[Object(a.createVNode)("span",{class:"vue-slider-dot-tooltip-text"},[this.tooltipValue])])]):null])}},{key:"dotClasses",get:function(){return["vue-slider-dot",{"vue-slider-dot-hover":"hover"===this.tooltip||"active"===this.tooltip,"vue-slider-dot-disabled":this.disabled,"vue-slider-dot-focus":this.focus}]}},{key:"handleClasses",get:function(){return["vue-slider-dot-handle",{"vue-slider-dot-handle-disabled":this.disabled,"vue-slider-dot-handle-focus":this.focus}]}},{key:"tooltipClasses",get:function(){return["vue-slider-dot-tooltip",["vue-slider-dot-tooltip-".concat(this.tooltipPlacement)],{"vue-slider-dot-tooltip-show":this.showTooltip}]}},{key:"tooltipInnerClasses",get:function(){return["vue-slider-dot-tooltip-inner",["vue-slider-dot-tooltip-inner-".concat(this.tooltipPlacement)],{"vue-slider-dot-tooltip-inner-disabled":this.disabled,"vue-slider-dot-tooltip-inner-focus":this.focus}]}},{key:"showTooltip",get:function(){switch(this.tooltip){case"always":return!0;case"none":return!1;case"focus":case"active":return!!this.focus;default:return!1}}},{key:"tooltipValue",get:function(){return this.tooltipFormatter?"string"==typeof this.tooltipFormatter?this.tooltipFormatter.replace(/\{value\}/,String(this.value)):this.tooltipFormatter(this.value):this.value}}]),r}(N);return s([M({default:0})],t.prototype,"value",void 0),s([M()],t.prototype,"tooltip",void 0),s([M()],t.prototype,"dotStyle",void 0),s([M()],t.prototype,"tooltipStyle",void 0),s([M({type:String,validator:function(t){return["top","right","bottom","left"].indexOf(t)>-1},required:!0})],t.prototype,"tooltipPlacement",void 0),s([M({type:[String,Function]})],t.prototype,"tooltipFormatter",void 0),s([M({type:Boolean,default:!1})],t.prototype,"focus",void 0),s([M({default:!1})],t.prototype,"disabled",void 0),s([M(Object)],t.prototype,"dotSlot",void 0),s([M(Object)],t.prototype,"tooltipSlot",void 0),t=s([E({name:"VueSliderDot",emits:["DragStart"]})],t)}();function Y(t){return(Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function J(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Q(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Z(t,e,r){return e&&Q(t.prototype,e),r&&Q(t,r),t}function tt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&et(t,e)}function et(t,e){return(et=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function rt(t){var e=it();return function(){var r,o=at(t);if(e){var n=at(this).constructor;r=Reflect.construct(o,arguments,n)}else r=o.apply(this,arguments);return ot(this,r)}}function ot(t,e){return!e||"object"!==Y(e)&&"function"!=typeof e?nt(t):e}function nt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function it(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function at(t){return(at=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}r("556c");var st,lt=function(){var t=function(t){tt(r,t);var e=rt(r);function r(){return J(this,r),e.apply(this,arguments)}return Z(r,[{key:"labelClickHandle",value:function(t){t.stopPropagation(),this.$emit("PressLabel",this.mark.pos)}},{key:"render",value:function(){var t=this.mark;return Object(a.createVNode)("div",{class:this.marksClasses},[this.stepSlot||Object(a.createVNode)("div",{class:this.stepClasses,style:[this.stepStyle,t.style,t.active?this.stepActiveStyle:null,t.active?t.activeStyle:null]},null),this.hideLabel?null:this.labelSlot||Object(a.createVNode)("div",{class:this.labelClasses,style:[this.labelStyle,t.labelStyle,t.active?this.labelActiveStyle:null,t.active?t.labelActiveStyle:null],onClick:this.labelClickHandle},[t.label])])}},{key:"marksClasses",get:function(){return["vue-slider-mark",{"vue-slider-mark-active":this.mark.active}]}},{key:"stepClasses",get:function(){return["vue-slider-mark-step",{"vue-slider-mark-step-active":this.mark.active}]}},{key:"labelClasses",get:function(){return["vue-slider-mark-label",{"vue-slider-mark-label-active":this.mark.active}]}}]),r}(N);return s([M({required:!0})],t.prototype,"mark",void 0),s([M(Boolean)],t.prototype,"hideLabel",void 0),s([M()],t.prototype,"stepStyle",void 0),s([M()],t.prototype,"stepActiveStyle",void 0),s([M()],t.prototype,"labelStyle",void 0),s([M()],t.prototype,"labelActiveStyle",void 0),s([M(Object)],t.prototype,"stepSlot",void 0),s([M(Object)],t.prototype,"labelSlot",void 0),t=s([E({name:"VueSliderMark",emits:["PressLabel"]})],t)}(),ut=function(t){return"number"==typeof t?"".concat(t,"px"):t},ct=function(t){var e=document.documentElement,r=document.body,o=t.getBoundingClientRect();return{y:o.top+(window.pageYOffset||e.scrollTop)-(e.clientTop||r.clientTop||0),x:o.left+(window.pageXOffset||e.scrollLeft)-(e.clientLeft||r.clientLeft||0)}},dt=function(t,e,r){var o="targetTouches"in t?t.targetTouches[0]:t,n=ct(e),i={x:o.pageX-n.x,y:o.pageY-n.y};return{x:r?e.offsetWidth-i.x:i.x,y:r?e.offsetHeight-i.y:i.y}};!function(t){t[t.PAGE_UP=33]="PAGE_UP",t[t.PAGE_DOWN=34]="PAGE_DOWN",t[t.END=35]="END",t[t.HOME=36]="HOME",t[t.LEFT=37]="LEFT",t[t.UP=38]="UP",t[t.RIGHT=39]="RIGHT",t[t.DOWN=40]="DOWN"}(st||(st={}));var ft=function(t,e){if(e.hook){var r=e.hook(t);if("function"==typeof r)return r;if(!r)return null}switch(t.keyCode){case st.UP:return function(t){return"ttb"===e.direction?t-1:t+1};case st.RIGHT:return function(t){return"rtl"===e.direction?t-1:t+1};case st.DOWN:return function(t){return"ttb"===e.direction?t+1:t-1};case st.LEFT:return function(t){return"rtl"===e.direction?t+1:t-1};case st.END:return function(){return e.max};case st.HOME:return function(){return e.min};case st.PAGE_UP:return function(t){return t+10};case st.PAGE_DOWN:return function(t){return t-10};default:return null}};function pt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ht(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function vt(t,e,r){return e&&ht(t.prototype,e),r&&ht(t,r),t}var yt,mt,bt=function(){function t(e){pt(this,t),this.num=e}return vt(t,[{key:"decimal",value:function(t,e){var r=this.num,o=this.getDecimalLen(r),n=this.getDecimalLen(t),i=0;switch(e){case"+":i=this.getExponent(o,n),this.num=(this.safeRoundUp(r,i)+this.safeRoundUp(t,i))/i;break;case"-":i=this.getExponent(o,n),this.num=(this.safeRoundUp(r,i)-this.safeRoundUp(t,i))/i;break;case"*":this.num=this.safeRoundUp(this.safeRoundUp(r,this.getExponent(o)),this.safeRoundUp(t,this.getExponent(n)))/this.getExponent(o+n);break;case"/":i=this.getExponent(o,n),this.num=this.safeRoundUp(r,i)/this.safeRoundUp(t,i);break;case"%":i=this.getExponent(o,n),this.num=this.safeRoundUp(r,i)%this.safeRoundUp(t,i)/i}return this}},{key:"plus",value:function(t){return this.decimal(t,"+")}},{key:"minus",value:function(t){return this.decimal(t,"-")}},{key:"multiply",value:function(t){return this.decimal(t,"*")}},{key:"divide",value:function(t){return this.decimal(t,"/")}},{key:"remainder",value:function(t){return this.decimal(t,"%")}},{key:"toNumber",value:function(){return this.num}},{key:"getDecimalLen",value:function(t){var e="".concat(t).split("e");return("".concat(e[0]).split(".")[1]||"").length-(e[1]?+e[1]:0)}},{key:"getExponent",value:function(t,e){return Math.pow(10,void 0!==e?Math.max(t,e):t)}},{key:"safeRoundUp",value:function(t,e){return Math.round(t*e)}}]),t}();function gt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,o)}return r}function kt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?gt(Object(r),!0).forEach((function(e){Ct(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):gt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function St(t,e){return xt(t)||wt(t,e)||Dt(t,e)||Ot()}function Ot(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function wt(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],o=!0,n=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(o=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);o=!0);}catch(t){n=!0,i=t}finally{try{o||null==s.return||s.return()}finally{if(n)throw i}}return r}}function xt(t){if(Array.isArray(t))return t}function Vt(t){return Pt(t)||Rt(t)||Dt(t)||_t()}function _t(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Dt(t,e){if(t){if("string"==typeof t)return jt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?jt(t,e):void 0}}function Rt(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function Pt(t){if(Array.isArray(t))return jt(t)}function jt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,o=new Array(e);r<e;r++)o[r]=t[r];return o}function Nt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Et(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function At(t,e,r){return e&&Et(t.prototype,e),r&&Et(t,r),t}function Ct(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}!function(t){t[t.VALUE=1]="VALUE",t[t.INTERVAL=2]="INTERVAL",t[t.MIN=3]="MIN",t[t.MAX=4]="MAX",t[t.ORDER=5]="ORDER"}(mt||(mt={}));var Tt=(Ct(yt={},mt.VALUE,'The type of the "value" is illegal'),Ct(yt,mt.INTERVAL,'The prop "interval" is invalid, "(max - min)" must be divisible by "interval"'),Ct(yt,mt.MIN,'The "value" must be greater than or equal to the "min".'),Ct(yt,mt.MAX,'The "value" must be less than or equal to the "max".'),Ct(yt,mt.ORDER,'When "order" is false, the parameters "minRange", "maxRange", "fixed", "enabled" are invalid.'),yt),Mt=function(){function t(e){Nt(this,t),this.dotsPos=[],this.dotsValue=[],this.cacheRangeDir={},this.data=e.data,this.max=e.max,this.min=e.min,this.interval=e.interval,this.order=e.order,this.marks=e.marks,this.included=e.included,this.process=e.process,this.adsorb=e.adsorb,this.dotOptions=e.dotOptions,this.onError=e.onError,this.order?(this.minRange=e.minRange||0,this.maxRange=e.maxRange||0,this.enableCross=e.enableCross,this.fixed=e.fixed):((e.minRange||e.maxRange||!e.enableCross||e.fixed)&&this.emitError(mt.ORDER),this.minRange=0,this.maxRange=0,this.enableCross=!0,this.fixed=!1),this.setValue(e.value)}return At(t,[{key:"setValue",value:function(t){this.setDotsValue(Array.isArray(t)?Vt(t):[t],!0)}},{key:"setDotsValue",value:function(t,e){this.dotsValue=t,e&&this.syncDotsPos()}},{key:"setDotsPos",value:function(t){var e=this,r=this.order?Vt(t).sort((function(t,e){return t-e})):t;this.dotsPos=r,this.setDotsValue(r.map((function(t){return e.getValueByPos(t)})),this.adsorb)}},{key:"getValueByPos",value:function(t){var e=this.parsePos(t);if(this.included){var r=100;this.markList.forEach((function(o){var n=Math.abs(o.pos-t);n<r&&(r=n,e=o.value)}))}return e}},{key:"syncDotsPos",value:function(){var t=this;this.dotsPos=this.dotsValue.map((function(e){return t.parseValue(e)}))}},{key:"getRecentDot",value:function(t){var e=this.dotsPos.map((function(e){return Math.abs(e-t)}));return e.indexOf(Math.min.apply(Math,Vt(e)))}},{key:"getIndexByValue",value:function(t){return this.data?this.data.indexOf(t):new bt(+t).minus(this.min).divide(this.interval).toNumber()}},{key:"getValueByIndex",value:function(t){return t<0?t=0:t>this.total&&(t=this.total),this.data?this.data[t]:new bt(t).multiply(this.interval).plus(this.min).toNumber()}},{key:"setDotPos",value:function(t,e){var r=(t=this.getValidPos(t,e).pos)-this.dotsPos[e];if(r){var o=new Array(this.dotsPos.length);this.fixed?o=this.getFixedChangePosArr(r,e):this.minRange||this.maxRange?o=this.getLimitRangeChangePosArr(t,r,e):o[e]=r,this.setDotsPos(this.dotsPos.map((function(t,e){return t+(o[e]||0)})))}}},{key:"getFixedChangePosArr",value:function(t,e){var r=this;return this.dotsPos.forEach((function(o,n){if(n!==e){var i=r.getValidPos(o+t,n),a=i.pos;i.inRange||(t=Math.min(Math.abs(a-o),Math.abs(t))*(t<0?-1:1))}})),this.dotsPos.map((function(e){return t}))}},{key:"getLimitRangeChangePosArr",value:function(t,e,r){var o=this,n=[{index:r,changePos:e}],i=e;return[this.minRange,this.maxRange].forEach((function(a,s){if(!a)return!1;for(var l=0===s,u=e>0,c=0,d=function(t,e){var r=Math.abs(t-e);return l?r<o.minRangeDir:r>o.maxRangeDir},f=r+(c=l?u?1:-1:u?-1:1),p=o.dotsPos[f],h=t;o.isPos(p)&&d(p,h);){var v=o.getValidPos(p+i,f).pos;n.push({index:f,changePos:v-p}),f+=c,h=v,p=o.dotsPos[f]}})),this.dotsPos.map((function(t,e){var r=n.filter((function(t){return t.index===e}));return r.length?r[0].changePos:0}))}},{key:"isPos",value:function(t){return"number"==typeof t}},{key:"getValidPos",value:function(t,e){var r=this.valuePosRange[e],o=!0;return t<r[0]?(t=r[0],o=!1):t>r[1]&&(t=r[1],o=!1),{pos:t,inRange:o}}},{key:"parseValue",value:function(t){if(this.data)t=this.data.indexOf(t);else if("number"==typeof t||"string"==typeof t){if((t=+t)<this.min)return this.emitError(mt.MIN),0;if(t>this.max)return this.emitError(mt.MAX),0;if("number"!=typeof t||t!=t)return this.emitError(mt.VALUE),0;t=new bt(t).minus(this.min).divide(this.interval).toNumber()}var e=new bt(t).multiply(this.gap).toNumber();return e<0?0:e>100?100:e}},{key:"parsePos",value:function(t){var e=Math.round(t/this.gap);return this.getValueByIndex(e)}},{key:"isActiveByPos",value:function(t){return this.processArray.some((function(e){var r=St(e,2),o=r[0],n=r[1];return t>=o&&t<=n}))}},{key:"getValues",value:function(){if(this.data)return this.data;for(var t=[],e=0;e<=this.total;e++)t.push(new bt(e).multiply(this.interval).plus(this.min).toNumber());return t}},{key:"getRangeDir",value:function(t){return t?new bt(t).divide(new bt(this.data?this.data.length-1:this.max).minus(this.data?0:this.min).toNumber()).multiply(100).toNumber():100}},{key:"emitError",value:function(t){this.onError&&this.onError(t,Tt[t])}},{key:"getDotRange",value:function(t,e,r){if(!this.dotOptions)return r;var o=Array.isArray(this.dotOptions)?this.dotOptions[t]:this.dotOptions;return o&&void 0!==o[e]?this.parseValue(o[e]):r}},{key:"markList",get:function(){var t=this;if(!this.marks)return[];var e=function(e,r){var o=t.parseValue(e);return kt({pos:o,value:e,label:e,active:t.isActiveByPos(o)},r)};return!0===this.marks?this.getValues().map((function(t){return e(t)})):"[object Object]"===Object.prototype.toString.call(this.marks)?Object.keys(this.marks).sort((function(t,e){return+t-+e})).map((function(r){var o=t.marks[r];return e(r,"string"!=typeof o?o:{label:o})})):Array.isArray(this.marks)?this.marks.map((function(t){return e(t)})):"function"==typeof this.marks?this.getValues().map((function(e){return{value:e,result:t.marks(e)}})).filter((function(t){return!!t.result})).map((function(t){var r=t.value,o=t.result;return e(r,o)})):[]}},{key:"processArray",get:function(){if(this.process){if("function"==typeof this.process)return this.process(this.dotsPos);if(1===this.dotsPos.length)return[[0,this.dotsPos[0]]];if(this.dotsPos.length>1)return[[Math.min.apply(Math,Vt(this.dotsPos)),Math.max.apply(Math,Vt(this.dotsPos))]]}return[]}},{key:"total",get:function(){var t=0;return(t=this.data?this.data.length-1:new bt(this.max).minus(this.min).divide(this.interval).toNumber())-Math.floor(t)!=0?(this.emitError(mt.INTERVAL),0):t}},{key:"gap",get:function(){return 100/this.total}},{key:"minRangeDir",get:function(){return this.cacheRangeDir[this.minRange]?this.cacheRangeDir[this.minRange]:this.cacheRangeDir[this.minRange]=this.getRangeDir(this.minRange)}},{key:"maxRangeDir",get:function(){return this.cacheRangeDir[this.maxRange]?this.cacheRangeDir[this.maxRange]:this.cacheRangeDir[this.maxRange]=this.getRangeDir(this.maxRange)}},{key:"valuePosRange",get:function(){var t=this,e=this.dotsPos,r=[];return e.forEach((function(o,n){r.push([Math.max(t.minRange?t.minRangeDir*n:0,t.enableCross?0:e[n-1]||0,t.getDotRange(n,"min",0)),Math.min(t.minRange?100-t.minRangeDir*(e.length-1-n):100,t.enableCross?100:e[n+1]||100,t.getDotRange(n,"max",100))])})),r}},{key:"dotsIndex",get:function(){var t=this;return this.dotsValue.map((function(e){return t.getIndexByValue(e)}))}}]),t}();function Bt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function It(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Lt(t,e,r){return e&&It(t.prototype,e),r&&It(t,r),t}var Ht=function(){function t(e){Bt(this,t),this.states=0,this.map=e}return Lt(t,[{key:"add",value:function(t){this.states|=t}},{key:"delete",value:function(t){this.states&=~t}},{key:"toggle",value:function(t){this.has(t)?this.delete(t):this.add(t)}},{key:"has",value:function(t){return!!(this.states&t)}}]),t}();function Ut(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,o)}return r}function zt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ut(Object(r),!0).forEach((function(e){qt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ut(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ft(t,e){return Wt(t)||Gt(t,e)||Yt(t,e)||$t()}function $t(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Gt(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],o=!0,n=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(o=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);o=!0);}catch(t){n=!0,i=t}finally{try{o||null==s.return||s.return()}finally{if(n)throw i}}return r}}function Wt(t){if(Array.isArray(t))return t}function qt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Kt(t){return Qt(t)||Jt(t)||Yt(t)||Xt()}function Xt(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Yt(t,e){if(t){if("string"==typeof t)return Zt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Zt(t,e):void 0}}function Jt(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function Qt(t){if(Array.isArray(t))return Zt(t)}function Zt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,o=new Array(e);r<e;r++)o[r]=t[r];return o}function te(t){return(te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function re(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function oe(t,e,r){return e&&re(t.prototype,e),r&&re(t,r),t}function ne(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ie(t,e)}function ie(t,e){return(ie=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ae(t){var e=ue();return function(){var r,o=ce(t);if(e){var n=ce(this).constructor;r=Reflect.construct(o,arguments,n)}else r=o.apply(this,arguments);return se(this,r)}}function se(t,e){return!e||"object"!==te(e)&&"function"!=typeof e?le(t):e}function le(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ue(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function ce(t){return(ce=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}r("4abb");var de={None:0,Drag:2,Focus:4},fe=4,pe=function(){var t=function(t){ne(r,t);var e=ae(r);function r(){var t;return ee(this,r),(t=e.apply(this,arguments)).states=new Ht(de),t.scale=1,t.focusDotIndex=0,t}return oe(r,[{key:"isObjectData",value:function(t){return!!t&&"[object Object]"===Object.prototype.toString.call(t)}},{key:"isObjectArrayData",value:function(t){return!!t&&Array.isArray(t)&&t.length>0&&"object"===te(t[0])}},{key:"onValueChanged",value:function(){this.control&&!this.states.has(de.Drag)&&this.isNotSync&&this.control.setValue(this.modelValue)}},{key:"created",value:function(){this.initControl()}},{key:"mounted",value:function(){this.bindEvent()}},{key:"beforeDestroy",value:function(){this.unbindEvent()}},{key:"bindEvent",value:function(){document.addEventListener("touchmove",this.dragMove,{passive:!1}),document.addEventListener("touchend",this.dragEnd,{passive:!1}),document.addEventListener("mousedown",this.blurHandle),document.addEventListener("mousemove",this.dragMove),document.addEventListener("mouseup",this.dragEnd),document.addEventListener("mouseleave",this.dragEnd),document.addEventListener("keydown",this.keydownHandle)}},{key:"unbindEvent",value:function(){document.removeEventListener("touchmove",this.dragMove),document.removeEventListener("touchend",this.dragEnd),document.removeEventListener("mousedown",this.blurHandle),document.removeEventListener("mousemove",this.dragMove),document.removeEventListener("mouseup",this.dragEnd),document.removeEventListener("mouseleave",this.dragEnd),document.removeEventListener("keydown",this.keydownHandle)}},{key:"setScale",value:function(){this.scale=new bt(Math.floor(this.isHorizontal?this.$el.offsetWidth:this.$el.offsetHeight)).divide(100).toNumber()}},{key:"initControl",value:function(){var t=this;this.control=new Mt({value:this.modelValue,data:this.sliderData,enableCross:this.enableCross,fixed:this.fixed,max:this.max,min:this.min,interval:this.interval,minRange:this.minRange,maxRange:this.maxRange,order:this.order,marks:this.sliderMarks,included:this.included,process:this.process,adsorb:this.adsorb,dotOptions:this.dotOptions,onError:this.emitError}),["data","enableCross","fixed","max","min","interval","minRange","maxRange","order","marks","process","adsorb","included","dotOptions"].forEach((function(e){t.$watch(e,(function(r){if("data"===e&&Array.isArray(t.control.data)&&Array.isArray(r)&&t.control.data.length===r.length&&r.every((function(e,r){return e===t.control.data[r]})))return!1;switch(e){case"data":case"dataLabel":case"dataValue":t.control.data=t.sliderData;break;case"mark":t.control.marks=t.sliderMarks;break;default:t.control[e]=r}["data","max","min","interval"].indexOf(e)>-1&&t.control.syncDotsPos()}))}))}},{key:"syncValueByPos",value:function(){var t=this.control.dotsValue;if(this.isDiff(t,Array.isArray(this.modelValue)?this.modelValue:[this.modelValue])){var e=1===t.length?t[0]:Kt(t);this.$emit("change",e,this.focusDotIndex),this.$emit("update:modelValue",e)}}},{key:"isDiff",value:function(t,e){return t.length!==e.length||t.some((function(t,r){return t!==e[r]}))}},{key:"emitError",value:function(t,e){this.silent||console.error("[VueSlider error]: ".concat(e)),this.$emit("error",t,e)}},{key:"dragStartOnProcess",value:function(t){if(this.dragOnClick){this.setScale();var e=this.getPosByEvent(t),r=this.control.getRecentDot(e);if(this.dots[r].disabled)return;this.dragStart(r),this.control.setDotPos(e,this.focusDotIndex),this.lazy||this.syncValueByPos()}}},{key:"dragStart",value:function(t){this.focusDotIndex=t,this.setScale(),this.states.add(de.Drag),this.states.add(de.Focus),this.$emit("drag-start",this.focusDotIndex)}},{key:"dragMove",value:function(t){if(!this.states.has(de.Drag))return!1;t.preventDefault();var e=this.getPosByEvent(t);this.isCrossDot(e),this.control.setDotPos(e,this.focusDotIndex),this.lazy||this.syncValueByPos();var r=this.control.dotsValue;this.$emit("dragging",1===r.length?r[0]:Kt(r),this.focusDotIndex)}},{key:"isCrossDot",value:function(t){if(this.canSort){var e=this.focusDotIndex,r=t;if(r>this.dragRange[1]?(r=this.dragRange[1],this.focusDotIndex++):r<this.dragRange[0]&&(r=this.dragRange[0],this.focusDotIndex--),e!==this.focusDotIndex){var o=this.$refs["dot-".concat(this.focusDotIndex)];o&&o.$el&&o.$el.focus(),this.control.setDotPos(r,e)}}}},{key:"dragEnd",value:function(t){var e=this;if(!this.states.has(de.Drag))return!1;setTimeout((function(){e.lazy&&e.syncValueByPos(),e.included&&e.isNotSync?e.control.setValue(e.modelValue):e.control.syncDotsPos(),e.states.delete(de.Drag),e.useKeyboard&&!("targetTouches"in t)||e.states.delete(de.Focus),e.$emit("drag-end",e.focusDotIndex)}))}},{key:"blurHandle",value:function(t){if(!this.states.has(de.Focus)||!this.$refs.container||this.$refs.container.contains(t.target))return!1;this.states.delete(de.Focus)}},{key:"clickHandle",value:function(t){if(!this.clickable||this.disabled)return!1;if(!this.states.has(de.Drag)){this.setScale();var e=this.getPosByEvent(t);this.setValueByPos(e)}}},{key:"focus",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;t.disabled||(this.states.add(de.Focus),this.focusDotIndex=e)}},{key:"blur",value:function(){this.states.delete(de.Focus)}},{key:"getValue",value:function(){var t=this.control.dotsValue;return 1===t.length?t[0]:t}},{key:"getIndex",value:function(){var t=this.control.dotsIndex;return 1===t.length?t[0]:t}},{key:"setValue",value:function(t){this.control.setValue(Array.isArray(t)?Kt(t):[t]),this.syncValueByPos()}},{key:"setIndex",value:function(t){var e=this,r=Array.isArray(t)?t.map((function(t){return e.control.getValueByIndex(t)})):this.control.getValueByIndex(t);this.setValue(r)}},{key:"setValueByPos",value:function(t){var e=this,r=this.control.getRecentDot(t);if(this.disabled||this.dots[r].disabled)return!1;this.focusDotIndex=r,this.control.setDotPos(t,r),this.syncValueByPos(),this.useKeyboard&&this.states.add(de.Focus),setTimeout((function(){e.included&&e.isNotSync?e.control.setValue(e.modelValue):e.control.syncDotsPos()}))}},{key:"keydownHandle",value:function(t){var e=this;if(!this.useKeyboard||!this.states.has(de.Focus))return!1;var r=this.included&&this.marks,o=ft(t,{direction:this.direction,max:r?this.control.markList.length-1:this.control.total,min:0,hook:this.keydownHook});if(o){t.preventDefault();var n=-1,i=0;r?(this.control.markList.some((function(t,r){return t.value===e.control.dotsValue[e.focusDotIndex]&&(n=o(r),!0)})),n<0?n=0:n>this.control.markList.length-1&&(n=this.control.markList.length-1),i=this.control.markList[n].pos):(n=o(this.control.getIndexByValue(this.control.dotsValue[this.focusDotIndex])),i=this.control.parseValue(this.control.getValueByIndex(n))),this.isCrossDot(i),this.control.setDotPos(i,this.focusDotIndex),this.syncValueByPos()}}},{key:"getPosByEvent",value:function(t){return dt(t,this.$el,this.isReverse)[this.isHorizontal?"x":"y"]/this.scale}},{key:"renderSlot",value:function(t,e,r){var o=this.$slots[t];return o?o(e):r}},{key:"render",value:function(){var t=this;return Object(a.createVNode)("div",Object(a.mergeProps)({ref:"container",class:this.containerClasses,style:this.containerStyles,onClick:this.clickHandle,onTouchstart:this.dragStartOnProcess,onMousedown:this.dragStartOnProcess},this.$attrs),[Object(a.createVNode)("div",{class:"vue-slider-rail",style:this.railStyle},[this.processArray.map((function(e,r){return t.renderSlot("process",e,Object(a.createVNode)("div",{class:"vue-slider-process",key:"process-".concat(r),style:e.style},null))})),this.sliderMarks?Object(a.createVNode)("div",{class:"vue-slider-marks"},[this.control.markList.map((function(e,r){var o,n=t.renderSlot("step",e,null),i=t.renderSlot("label",e,null);return t.renderSlot("mark",e,Object(a.createVNode)(Object(a.resolveComponent)("vue-slider-mark"),{key:"mark-".concat(r),mark:e,hideLabel:t.hideLabel,style:(o={},qt(o,t.isHorizontal?"height":"width","100%"),qt(o,t.isHorizontal?"width":"height",t.tailSize),qt(o,t.mainDirection,"".concat(e.pos,"%")),o),stepStyle:t.stepStyle,stepActiveStyle:t.stepActiveStyle,labelStyle:t.labelStyle,labelActiveStyle:t.labelActiveStyle,onPressLabel:function(e){return t.clickable&&t.setValueByPos(e)},stepSlot:n,labelSlot:i},null))}))]):null,this.dots.map((function(e,r){var o,n=t.renderSlot("dot",e,null),i=t.renderSlot("tooltip",e,null);return Object(a.createVNode)(Object(a.resolveComponent)("vue-slider-dot"),Object(a.mergeProps)({ref:"dot-".concat(r),key:"dot-".concat(r),value:e.value,disabled:e.disabled,focus:e.focus,"dot-style":[e.style,e.disabled?e.disabledStyle:null,e.focus?e.focusStyle:null],tooltip:e.tooltip||t.tooltip,"tooltip-style":[t.tooltipStyle,e.tooltipStyle,e.disabled?e.tooltipDisabledStyle:null,e.focus?e.tooltipFocusStyle:null],"tooltip-formatter":Array.isArray(t.sliderTooltipFormatter)?t.sliderTooltipFormatter[r]:t.sliderTooltipFormatter,"tooltip-placement":t.tooltipDirections[r],style:[t.dotBaseStyle,(o={},qt(o,t.mainDirection,"".concat(e.pos,"%")),qt(o,"transition","".concat(t.mainDirection," ").concat(t.animateTime,"s")),o)],onDragStart:function(){return t.dragStart(r)},role:"slider","aria-valuenow":e.value,"aria-valuemin":t.min,"aria-valuemax":t.max,"aria-orientation":t.isHorizontal?"horizontal":"vertical",tabindex:"0",nativeOnFocus:function(){return t.focus(e,r)},nativeOnBlur:function(){return t.blur()}},{attrs:t.dotAttrs},{dotSlot:n,tooltipSlot:i}),null)})),this.renderSlot("default",{value:this.getValue()},null)])])}},{key:"tailSize",get:function(){return ut((this.isHorizontal?this.height:this.width)||fe)}},{key:"containerClasses",get:function(){return["vue-slider",["vue-slider-".concat(this.direction)],{"vue-slider-disabled":this.disabled}]}},{key:"containerStyles",get:function(){var t=Ft(Array.isArray(this.dotSize)?this.dotSize:[this.dotSize,this.dotSize],2),e=t[0],r=t[1],o=this.width?ut(this.width):this.isHorizontal?"auto":ut(fe),n=this.height?ut(this.height):this.isHorizontal?ut(fe):"auto";return{padding:this.contained?"".concat(r/2,"px ").concat(e/2,"px"):this.isHorizontal?"".concat(r/2,"px 0"):"0 ".concat(e/2,"px"),width:o,height:n}}},{key:"processArray",get:function(){var t=this;return this.control.processArray.map((function(e,r){var o,n=Ft(e,3),i=n[0],a=n[1],s=n[2];if(i>a){var l=[a,i];i=l[0],a=l[1]}var u=t.isHorizontal?"width":"height";return{start:i,end:a,index:r,style:zt(zt((o={},qt(o,t.isHorizontal?"height":"width","100%"),qt(o,t.isHorizontal?"top":"left",0),qt(o,t.mainDirection,"".concat(i,"%")),qt(o,u,"".concat(a-i,"%")),qt(o,"transitionProperty","".concat(u,",").concat(t.mainDirection)),qt(o,"transitionDuration","".concat(t.animateTime,"s")),o),t.processStyle),s)}}))}},{key:"dotBaseStyle",get:function(){var t,e=Ft(Array.isArray(this.dotSize)?this.dotSize:[this.dotSize,this.dotSize],2),r=e[0],o=e[1];return t=this.isHorizontal?qt({transform:"translate(".concat(this.isReverse?"50%":"-50%",", -50%)"),WebkitTransform:"translate(".concat(this.isReverse?"50%":"-50%",", -50%)"),top:"50%"},"ltr"===this.direction?"left":"right","0"):qt({transform:"translate(-50%, ".concat(this.isReverse?"50%":"-50%",")"),WebkitTransform:"translate(-50%, ".concat(this.isReverse?"50%":"-50%",")"),left:"50%"},"btt"===this.direction?"bottom":"top","0"),zt({width:"".concat(r,"px"),height:"".concat(o,"px")},t)}},{key:"mainDirection",get:function(){switch(this.direction){case"ltr":return"left";case"rtl":return"right";case"btt":return"bottom";case"ttb":return"top"}}},{key:"isHorizontal",get:function(){return"ltr"===this.direction||"rtl"===this.direction}},{key:"isReverse",get:function(){return"rtl"===this.direction||"btt"===this.direction}},{key:"tooltipDirections",get:function(){var t=this.tooltipPlacement||(this.isHorizontal?"top":"left");return Array.isArray(t)?t:this.dots.map((function(){return t}))}},{key:"dots",get:function(){var t=this;return this.control.dotsPos.map((function(e,r){return zt({pos:e,index:r,value:t.control.dotsValue[r],focus:t.states.has(de.Focus)&&t.focusDotIndex===r,disabled:t.disabled,style:t.dotStyle},(Array.isArray(t.dotOptions)?t.dotOptions[r]:t.dotOptions)||{})}))}},{key:"animateTime",get:function(){return this.states.has(de.Drag)?0:this.duration}},{key:"canSort",get:function(){return this.order&&!this.minRange&&!this.maxRange&&!this.fixed&&this.enableCross}},{key:"sliderData",get:function(){var t=this;return this.isObjectArrayData(this.vData)?this.vData.map((function(e){return e[t.dataValue]})):this.isObjectData(this.vData)?Object.keys(this.vData):this.vData}},{key:"sliderMarks",get:function(){var t=this;return this.marks?this.marks:this.isObjectArrayData(this.vData)?function(e){var r={label:e};return t.vData.some((function(o){return o[t.dataValue]===e&&(r.label=o[t.dataLabel],!0)})),r}:this.isObjectData(this.vData)?this.vData:void 0}},{key:"sliderTooltipFormatter",get:function(){var t=this;if(this.tooltipFormatter)return this.tooltipFormatter;if(this.isObjectArrayData(this.vData))return function(e){var r=""+e;return t.vData.some((function(o){return o[t.dataValue]===e&&(r=o[t.dataLabel],!0)})),r};if(this.isObjectData(this.vData)){var e=this.vData;return function(t){return e[t]}}}},{key:"isNotSync",get:function(){var t=this.control.dotsValue;return Array.isArray(this.modelValue)?this.modelValue.length!==t.length||this.modelValue.some((function(e,r){return e!==t[r]})):this.modelValue!==t[0]}},{key:"dragRange",get:function(){var t=this.dots[this.focusDotIndex-1],e=this.dots[this.focusDotIndex+1];return[t?t.pos:-1/0,e?e.pos:1/0]}}]),r}(N);return s([M({default:0})],t.prototype,"modelValue",void 0),s([M({type:Boolean,default:!1})],t.prototype,"silent",void 0),s([M({default:"ltr",validator:function(t){return["ltr","rtl","ttb","btt"].indexOf(t)>-1}})],t.prototype,"direction",void 0),s([M({type:[Number,String]})],t.prototype,"width",void 0),s([M({type:[Number,String]})],t.prototype,"height",void 0),s([M({default:14})],t.prototype,"dotSize",void 0),s([M({default:!1})],t.prototype,"contained",void 0),s([M({type:Number,default:0})],t.prototype,"min",void 0),s([M({type:Number,default:100})],t.prototype,"max",void 0),s([M({type:Number,default:1})],t.prototype,"interval",void 0),s([M({type:Boolean,default:!1})],t.prototype,"disabled",void 0),s([M({type:Boolean,default:!0})],t.prototype,"clickable",void 0),s([M({type:Boolean,default:!1})],t.prototype,"dragOnClick",void 0),s([M({type:Number,default:.5})],t.prototype,"duration",void 0),s([M({type:[Array,Object]})],t.prototype,"vData",void 0),s([M({type:String,default:"value"})],t.prototype,"dataValue",void 0),s([M({type:String,default:"label"})],t.prototype,"dataLabel",void 0),s([M({type:Boolean,default:!1})],t.prototype,"lazy",void 0),s([M({type:String,validator:function(t){return["none","always","focus","hover","active"].indexOf(t)>-1},default:"active"})],t.prototype,"tooltip",void 0),s([M({type:[String,Array],validator:function(t){return(Array.isArray(t)?t:[t]).every((function(t){return["top","right","bottom","left"].indexOf(t)>-1}))}})],t.prototype,"tooltipPlacement",void 0),s([M({type:[String,Array,Function]})],t.prototype,"tooltipFormatter",void 0),s([M({type:Boolean,default:!0})],t.prototype,"useKeyboard",void 0),s([M(Function)],t.prototype,"keydownHook",void 0),s([M({type:Boolean,default:!0})],t.prototype,"enableCross",void 0),s([M({type:Boolean,default:!1})],t.prototype,"fixed",void 0),s([M({type:Boolean,default:!0})],t.prototype,"order",void 0),s([M(Number)],t.prototype,"minRange",void 0),s([M(Number)],t.prototype,"maxRange",void 0),s([M({type:[Boolean,Object,Array,Function],default:!1})],t.prototype,"marks",void 0),s([M({type:[Boolean,Function],default:!0})],t.prototype,"process",void 0),s([M(Boolean)],t.prototype,"included",void 0),s([M(Boolean)],t.prototype,"adsorb",void 0),s([M(Boolean)],t.prototype,"hideLabel",void 0),s([M()],t.prototype,"dotOptions",void 0),s([M()],t.prototype,"dotAttrs",void 0),s([M()],t.prototype,"railStyle",void 0),s([M()],t.prototype,"processStyle",void 0),s([M()],t.prototype,"dotStyle",void 0),s([M()],t.prototype,"tooltipStyle",void 0),s([M()],t.prototype,"stepStyle",void 0),s([M()],t.prototype,"stepActiveStyle",void 0),s([M()],t.prototype,"labelStyle",void 0),s([M()],t.prototype,"labelActiveStyle",void 0),s([B("modelValue")],t.prototype,"onValueChanged",null),t=s([E({name:"VueSlider",emits:["change","drag-start","dragging","drag-end","error","update:modelValue"],data:function(){return{control:null}},components:{VueSliderDot:X,VueSliderMark:lt}})],t)}();pe.VueSliderMark=lt,pe.VueSliderDot=X;var he=pe;e.default=he}}).default)},253:(t,e,r)=>{"use strict";r.r(e),r.d(e,{BaseTransition:()=>o.BaseTransition,Comment:()=>o.Comment,Fragment:()=>o.Fragment,KeepAlive:()=>o.KeepAlive,Static:()=>o.Static,Suspense:()=>o.Suspense,Teleport:()=>o.Teleport,Text:()=>o.Text,Transition:()=>o.Transition,TransitionGroup:()=>o.TransitionGroup,callWithAsyncErrorHandling:()=>o.callWithAsyncErrorHandling,callWithErrorHandling:()=>o.callWithErrorHandling,camelize:()=>o.camelize,capitalize:()=>o.capitalize,cloneVNode:()=>o.cloneVNode,computed:()=>o.computed,createApp:()=>o.createApp,createBlock:()=>o.createBlock,createCommentVNode:()=>o.createCommentVNode,createHydrationRenderer:()=>o.createHydrationRenderer,createRenderer:()=>o.createRenderer,createSSRApp:()=>o.createSSRApp,createSlots:()=>o.createSlots,createStaticVNode:()=>o.createStaticVNode,createTextVNode:()=>o.createTextVNode,createVNode:()=>o.createVNode,customRef:()=>o.customRef,defineAsyncComponent:()=>o.defineAsyncComponent,defineComponent:()=>o.defineComponent,defineEmit:()=>o.defineEmit,defineProps:()=>o.defineProps,devtools:()=>o.devtools,getCurrentInstance:()=>o.getCurrentInstance,getTransitionRawChildren:()=>o.getTransitionRawChildren,h:()=>o.h,handleError:()=>o.handleError,hydrate:()=>o.hydrate,initCustomFormatter:()=>o.initCustomFormatter,inject:()=>o.inject,isProxy:()=>o.isProxy,isReactive:()=>o.isReactive,isReadonly:()=>o.isReadonly,isRef:()=>o.isRef,isVNode:()=>o.isVNode,markRaw:()=>o.markRaw,mergeProps:()=>o.mergeProps,nextTick:()=>o.nextTick,onActivated:()=>o.onActivated,onBeforeMount:()=>o.onBeforeMount,onBeforeUnmount:()=>o.onBeforeUnmount,onBeforeUpdate:()=>o.onBeforeUpdate,onDeactivated:()=>o.onDeactivated,onErrorCaptured:()=>o.onErrorCaptured,onMounted:()=>o.onMounted,onRenderTracked:()=>o.onRenderTracked,onRenderTriggered:()=>o.onRenderTriggered,onUnmounted:()=>o.onUnmounted,onUpdated:()=>o.onUpdated,openBlock:()=>o.openBlock,popScopeId:()=>o.popScopeId,provide:()=>o.provide,proxyRefs:()=>o.proxyRefs,pushScopeId:()=>o.pushScopeId,queuePostFlushCb:()=>o.queuePostFlushCb,reactive:()=>o.reactive,readonly:()=>o.readonly,ref:()=>o.ref,registerRuntimeCompiler:()=>o.registerRuntimeCompiler,render:()=>o.render,renderList:()=>o.renderList,renderSlot:()=>o.renderSlot,resolveComponent:()=>o.resolveComponent,resolveDirective:()=>o.resolveDirective,resolveDynamicComponent:()=>o.resolveDynamicComponent,resolveTransitionHooks:()=>o.resolveTransitionHooks,setBlockTracking:()=>o.setBlockTracking,setDevtoolsHook:()=>o.setDevtoolsHook,setTransitionHooks:()=>o.setTransitionHooks,shallowReactive:()=>o.shallowReactive,shallowReadonly:()=>o.shallowReadonly,shallowRef:()=>o.shallowRef,ssrContextKey:()=>o.ssrContextKey,ssrUtils:()=>o.ssrUtils,toDisplayString:()=>o.toDisplayString,toHandlerKey:()=>o.toHandlerKey,toHandlers:()=>o.toHandlers,toRaw:()=>o.toRaw,toRef:()=>o.toRef,toRefs:()=>o.toRefs,transformVNodeArgs:()=>o.transformVNodeArgs,triggerRef:()=>o.triggerRef,unref:()=>o.unref,useContext:()=>o.useContext,useCssModule:()=>o.useCssModule,useCssVars:()=>o.useCssVars,useSSRContext:()=>o.useSSRContext,useTransitionState:()=>o.useTransitionState,vModelCheckbox:()=>o.vModelCheckbox,vModelDynamic:()=>o.vModelDynamic,vModelRadio:()=>o.vModelRadio,vModelSelect:()=>o.vModelSelect,vModelText:()=>o.vModelText,vShow:()=>o.vShow,version:()=>o.version,warn:()=>o.warn,watch:()=>o.watch,watchEffect:()=>o.watchEffect,withCtx:()=>o.withCtx,withDirectives:()=>o.withDirectives,withKeys:()=>o.withKeys,withModifiers:()=>o.withModifiers,withScopeId:()=>o.withScopeId,compile:()=>l});var o=r(963),n=r(252),i=r(577),a=r(3);const s=Object.create(null);function l(t,e){if(!(0,i.HD)(t)){if(!t.nodeType)return i.dG;t=t.innerHTML}const r=t,n=s[r];if(n)return n;if("#"===t[0]){const e=document.querySelector(t);0,t=e?e.innerHTML:""}const{code:l}=(0,a.MY)(t,(0,i.l7)({hoistStatic:!0,onError(t){throw t}},e)),u=new Function("Vue",l)(o);return u._rc=!0,s[r]=u}(0,n.Y1)(l)}},0,[[65,929,898]]]);