In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}functionct(t,e){(e==null||e>t.length)&&(e=t.length);for(vari=0,s=newArray(e);i<e;i++)s[i]=t[i];returns}varOt,se,Q,z=(Ot=function(t){(function(){vare={}.hasOwnProperty;functioni(){for(vars=[],o=0;o<arguments.length;o++){varn=arguments[o];if(n){vara=typeofn;if(a==="string"||a==="number")s.push(n);elseif(Array.isArray(n)){if(n.length){varh=i.apply(null,n);h&&s.push(h)}}elseif(a==="object")if(n.toString===Object.prototype.toString)for(varrinn)e.call(n,r)&&n[r]&&s.push(r);elses.push(n.toString())}}returns.join(" ")}t.exports?(i.default=i,t.exports=i):window.classNames=i})()},Ot(Q={path:se,exports:{},require:function(t,e){return(function(){thrownewError("Dynamic requires are not currently supported by @rollup/plugin-commonjs")})(e==null&&Q.path)}},Q.exports),Q.exports),O=function(t){returnfunction(e,i){if(!e)returnt;vars;typeofe=="string"?s=e:i=e;varo=t;returns&&(o+="__"+s),o+(i?Object.keys(i).reduce((function(n,a){varh=i[a];returnh&&(n+=" "+(typeofh=="boolean"?o+"--"+a:o+"--"+a+"_"+h)),n}),""):"")}};functionpt(t,e,i){vars,o,n,a,h;functionr(){varl=Date.now()-a;l<e&&l>=0?s=setTimeout(r,e-l):(s=null,i||(h=t.apply(n,o),n=o=null))}e==null&&(e=100);varc=function(){n=this,o=arguments,a=Date.now();varl=i&&!s;returns||(s=setTimeout(r,e)),l&&(h=t.apply(n,o),n=o=null),h};returnc.clear=function(){s&&(clearTimeout(s),s=null)},c.flush=function(){s&&(h=t.apply(n,o),n=o=null,clearTimeout(s),s=null)},c}pt.debounce=pt;varvt=pt,f=function(){returnf=Object.assign||function(t){for(vare,i=1,s=arguments.length;i<s;i++)for(varoine=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);returnt},f.apply(this,arguments)};functionFt(t,e){vari,s;returnt&&e?(i=""+t+e[0].toUpperCase()+e.slice(1),s=t+"-"+e):(i=t||e,s=t||e),{name:i,classname:s}}functionUt(t){return/^blob:/.test(t)}functionDt(t){returnUt(t)||(function(e){return/^data:/.test(e)})(t)}functionY(t){return!!(t&&t.constructor&&t.call&&t.apply)}functionR(t){returnt===void0}functionit(t){returntypeoft=="object"&&t!==null}functionbt(t,e,i){vars={};returnit(t)?(Object.keys(e).forEach((function(o){R(t[o])?s[o]=e[o]:it(e[o])?it(t[o])?s[o]=bt(t[o],e[o],i[o]):s[o]=t[o]?e[o]:i[o]:e[o]===!0||e[o]===!1?s[o]=!!t[o]:s[o]=t[o]})),s):t?e:i}functionK(t){vare=Number(t);returnNumber.isNaN(e)?t:e}functionHt(t){returntypeof(t=="number"||(function(e){returntypeofe=="object"&&e!==null})(t)&&toString.call(t)=="[object Number]")&&!Nt(t)}functionNt(t){returnt!=t}functionZt(t,e){returnMath.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}varV=function(t,e){t===void0&&(t={}),e===void0&&(e={}),this.type="manipulateImage",this.move=t,this.scale=e},oe=function(t,e){e===void0&&(e={}),this.type="resize",this.directions=t,this.params=e},Rt=function(t){this.type="move",this.directions=t},re=(function(){functiont(e,i,s,o,n){this.type="drag",this.nativeEvent=e,this.position=s,this.previousPosition=o,this.element=i,this.anchor=n}returnt.prototype.shift=function(){vare=this,i=e.element,s=e.anchor,o=e.position;if(i){varn=i.getBoundingClientRect(),a=n.left,h=n.top;return{left:o.left-a-s.left,top:o.top-h-s.top}}return{left:0,top:0}},t})(),At={name:"DraggableElement",props:{classname:{type:String}},beforeMount:function(){window.addEventListener("mouseup",this.onMouseUp,{passive:!1}),window.addEventListener("mousemove",this.onMouseMove,{passive:!1}),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd,{passive:!1})},beforeUnmount:function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},mounted:function(){if(!this.$refs.draggable)thrownewError('You should add ref "draggable" to your root element to use draggable mixin');this.touches=[],this.hovered=!1},methods:{onMouseOver:function(){this.hovered||(this.hovered=!0,this.$emit(