3 lines
133 KiB
JavaScript
3 lines
133 KiB
JavaScript
/*! vue-grid-layout - 3.0.0-beta1 | (c) 2015, 2021 Gustavo Santos (JBay Solutions) <gustavo.santos@jbaysolutions.com> (http://www.jbaysolutions.com) | https://github.com/jbaysolutions/vue-grid-layout */
|
||
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("vue")):"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["VueGridLayout"]=e(require("vue")):t["VueGridLayout"]=e(t["Vue"])})("undefined"!==typeof self?self:this,(function(t){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"01f9":function(t,e,n){"use strict";var i=n("2d00"),r=n("5ca1"),o=n("2aba"),s=n("32e9"),a=n("84f2"),c=n("41a0"),l=n("7f20"),u=n("38fd"),h=n("2b4c")("iterator"),d=!([].keys&&"next"in[].keys()),f="@@iterator",p="keys",g="values",m=function(){return this};t.exports=function(t,e,n,v,y,b,x){c(n,e,v);var w,S,E,T=function(t){if(!d&&t in I)return I[t];switch(t){case p:return function(){return new n(this,t)};case g:return function(){return new n(this,t)}}return function(){return new n(this,t)}},z=e+" Iterator",M=y==g,O=!1,I=t.prototype,P=I[h]||I[f]||y&&I[y],D=P||T(y),_=y?M?T("entries"):D:void 0,k="Array"==e&&I.entries||P;if(k&&(E=u(k.call(new t)),E!==Object.prototype&&E.next&&(l(E,z,!0),i||"function"==typeof E[h]||s(E,h,m))),M&&P&&P.name!==g&&(O=!0,D=function(){return P.call(this)}),i&&!x||!d&&!O&&I[h]||s(I,h,D),a[e]=D,a[z]=m,y)if(w={values:M?D:T(g),keys:b?D:T(p),entries:_},x)for(S in w)S in I||o(I,S,w[S]);else r(r.P+r.F*(d||O),e,w);return w}},"02f4":function(t,e,n){var i=n("4588"),r=n("be13");t.exports=function(t){return function(e,n){var o,s,a=String(r(e)),c=i(n),l=a.length;return c<0||c>=l?t?"":void 0:(o=a.charCodeAt(c),o<55296||o>56319||c+1===l||(s=a.charCodeAt(c+1))<56320||s>57343?t?a.charAt(c):o:t?a.slice(c,c+2):s-56320+(o-55296<<10)+65536)}}},"0390":function(t,e,n){"use strict";var i=n("02f4")(!0);t.exports=function(t,e,n){return e+(n?i(t,e).length:1)}},"083e":function(t,e,n){"use strict";n("c541")},"0bfb":function(t,e,n){"use strict";var i=n("cb7c");t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0d58":function(t,e,n){var i=n("ce10"),r=n("e11e");t.exports=Object.keys||function(t){return i(t,r)}},"11e9":function(t,e,n){var i=n("52a7"),r=n("4630"),o=n("6821"),s=n("6a99"),a=n("69a8"),c=n("c69a"),l=Object.getOwnPropertyDescriptor;e.f=n("9e1e")?l:function(t,e){if(t=o(t),e=s(e,!0),c)try{return l(t,e)}catch(n){}if(a(t,e))return r(!i.f.call(t,e),t[e])}},1495:function(t,e,n){var i=n("86cc"),r=n("cb7c"),o=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){r(t);var n,s=o(e),a=s.length,c=0;while(a>c)i.f(t,n=s[c++],e[n]);return t}},"18d2":function(t,e,n){"use strict";var i=n("18e9");t.exports=function(t){t=t||{};var e=t.reporter,n=t.batchProcessor,r=t.stateHandler.getState;if(!e)throw new Error("Missing required dependency: reporter.");function o(t,e){function n(){e(t)}if(i.isIE(8))r(t).object={proxy:n},t.attachEvent("onresize",n);else{var o=c(t);if(!o)throw new Error("Element is not detectable by this strategy.");o.contentDocument.defaultView.addEventListener("resize",n)}}function s(e){var n=t.important?" !important; ":"; ";return(e.join(n)+n).trim()}function a(t,o,a){a||(a=o,o=t,t=null),t=t||{};t.debug;function c(o,a){var c=s(["display: block","position: absolute","top: 0","left: 0","width: 100%","height: 100%","border: none","padding: 0","margin: 0","opacity: 0","z-index: -1000","pointer-events: none"]),l=!1,u=window.getComputedStyle(o),h=o.offsetWidth,d=o.offsetHeight;function f(){function n(){if("static"===u.position){o.style.setProperty("position","relative",t.important?"important":"");var n=function(e,n,i,r){function o(t){return t.replace(/[^-\d\.]/g,"")}var s=i[r];"auto"!==s&&"0"!==o(s)&&(e.warn("An element that is positioned static has style."+r+"="+s+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+r+" will be set to 0. Element: ",n),n.style.setProperty(r,"0",t.important?"important":""))};n(e,o,u,"top"),n(e,o,u,"right"),n(e,o,u,"bottom"),n(e,o,u,"left")}}function s(){function t(e,n){if(!e.contentDocument){var i=r(e);return i.checkForObjectDocumentTimeoutId&&window.clearTimeout(i.checkForObjectDocumentTimeoutId),void(i.checkForObjectDocumentTimeoutId=setTimeout((function(){i.checkForObjectDocumentTimeoutId=0,t(e,n)}),100))}n(e.contentDocument)}l||n();var e=this;t(e,(function(t){a(o)}))}""!==u.position&&(n(u),l=!0);var h=document.createElement("object");h.style.cssText=c,h.tabIndex=-1,h.type="text/html",h.setAttribute("aria-hidden","true"),h.onload=s,i.isIE()||(h.data="about:blank"),r(o)&&(o.appendChild(h),r(o).object=h,i.isIE()&&(h.data="about:blank"))}r(o).startSize={width:h,height:d},n?n.add(f):f()}i.isIE(8)?a(o):c(o,a)}function c(t){return r(t).object}function l(t){if(r(t)){var e=c(t);e&&(i.isIE(8)?t.detachEvent("onresize",e.proxy):t.removeChild(e),r(t).checkForObjectDocumentTimeoutId&&window.clearTimeout(r(t).checkForObjectDocumentTimeoutId),delete r(t).object)}}return{makeDetectable:a,addListener:o,uninstall:l}}},"18e9":function(t,e,n){"use strict";var i=t.exports={};i.isIE=function(t){function e(){var t=navigator.userAgent.toLowerCase();return-1!==t.indexOf("msie")||-1!==t.indexOf("trident")||-1!==t.indexOf(" edge/")}if(!e())return!1;if(!t)return!0;var n=function(){var t,e=3,n=document.createElement("div"),i=n.getElementsByTagName("i");do{n.innerHTML="\x3c!--[if gt IE "+ ++e+"]><i></i><![endif]--\x3e"}while(i[0]);return e>4?e:t}();return t===n},i.isLegacyOpera=function(){return!!window.opera}},"214f":function(t,e,n){"use strict";n("b0c5");var i=n("2aba"),r=n("32e9"),o=n("79e5"),s=n("be13"),a=n("2b4c"),c=n("520a"),l=a("species"),u=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),h=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var d=a(t),f=!o((function(){var e={};return e[d]=function(){return 7},7!=""[t](e)})),p=f?!o((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[l]=function(){return n}),n[d](""),!e})):void 0;if(!f||!p||"replace"===t&&!u||"split"===t&&!h){var g=/./[d],m=n(s,d,""[t],(function(t,e,n,i,r){return e.exec===c?f&&!r?{done:!0,value:g.call(e,n,i)}:{done:!0,value:t.call(n,e,i)}:{done:!1}})),v=m[0],y=m[1];i(String.prototype,t,v),r(RegExp.prototype,d,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)})}}},"230e":function(t,e,n){var i=n("d3f4"),r=n("7726").document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},"23c6":function(t,e,n){var i=n("2d95"),r=n("2b4c")("toStringTag"),o="Arguments"==i(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(n){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),r))?n:o?i(e):"Object"==(a=i(e))&&"function"==typeof e.callee?"Arguments":a}},"24fb":function(t,e,n){"use strict";function i(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"===typeof btoa){var o=r(i),s=i.sources.map((function(t){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(t," */")}));return[n].concat(s).concat([o]).join("\n")}return[n].join("\n")}function r(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(e);return"/*# ".concat(n," */")}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=i(e,t);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,i){"string"===typeof t&&(t=[[null,t,""]]);var r={};if(i)for(var o=0;o<this.length;o++){var s=this[o][0];null!=s&&(r[s]=!0)}for(var a=0;a<t.length;a++){var c=[].concat(t[a]);i&&r[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),e.push(c))}},e}},2621:function(t,e){e.f=Object.getOwnPropertySymbols},"2aba":function(t,e,n){var i=n("7726"),r=n("32e9"),o=n("69a8"),s=n("ca5a")("src"),a=n("fa5b"),c="toString",l=(""+a).split(c);n("8378").inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var c="function"==typeof n;c&&(o(n,"name")||r(n,"name",e)),t[e]!==n&&(c&&(o(n,s)||r(n,s,t[e]?""+t[e]:l.join(String(e)))),t===i?t[e]=n:a?t[e]?t[e]=n:r(t,e,n):(delete t[e],r(t,e,n)))})(Function.prototype,c,(function(){return"function"==typeof this&&this[s]||a.call(this)}))},"2aeb":function(t,e,n){var i=n("cb7c"),r=n("1495"),o=n("e11e"),s=n("613b")("IE_PROTO"),a=function(){},c="prototype",l=function(){var t,e=n("230e")("iframe"),i=o.length,r="<",s=">";e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(r+"script"+s+"document.F=Object"+r+"/script"+s),t.close(),l=t.F;while(i--)delete l[c][o[i]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(a[c]=i(t),n=new a,a[c]=null,n[s]=t):n=l(),void 0===e?n:r(n,e)}},"2b4c":function(t,e,n){var i=n("5537")("wks"),r=n("ca5a"),o=n("7726").Symbol,s="function"==typeof o,a=t.exports=function(t){return i[t]||(i[t]=s&&o[t]||(s?o:r)("Symbol."+t))};a.store=i},"2cef":function(t,e,n){"use strict";t.exports=function(){var t=1;function e(){return t++}return{generate:e}}},"2d00":function(t,e){t.exports=!1},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"2f21":function(t,e,n){"use strict";var i=n("79e5");t.exports=function(t,e){return!!t&&i((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},"32e9":function(t,e,n){var i=n("86cc"),r=n("4630");t.exports=n("9e1e")?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},"38fd":function(t,e,n){var i=n("69a8"),r=n("4bf8"),o=n("613b")("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},"41a0":function(t,e,n){"use strict";var i=n("2aeb"),r=n("4630"),o=n("7f20"),s={};n("32e9")(s,n("2b4c")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=i(s,{next:r(1,n)}),o(t,e+" Iterator")}},"456d":function(t,e,n){var i=n("4bf8"),r=n("0d58");n("5eda")("keys",(function(){return function(t){return r(i(t))}}))},4588:function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},4917:function(t,e,n){"use strict";var i=n("cb7c"),r=n("9def"),o=n("0390"),s=n("5f1b");n("214f")("match",1,(function(t,e,n,a){return[function(n){var i=t(this),r=void 0==n?void 0:n[e];return void 0!==r?r.call(n,i):new RegExp(n)[e](String(i))},function(t){var e=a(n,t,this);if(e.done)return e.value;var c=i(t),l=String(this);if(!c.global)return s(c,l);var u=c.unicode;c.lastIndex=0;var h,d=[],f=0;while(null!==(h=s(c,l))){var p=String(h[0]);d[f]=p,""===p&&(c.lastIndex=o(l,r(c.lastIndex),u)),f++}return 0===f?null:d}]}))},"493e":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'.vue-grid-item{-webkit-transition:all .2s ease;transition:all .2s ease;-webkit-transition-property:left,top,right;transition-property:left,top,right}.vue-grid-item,.vue-grid-item.no-touch{-ms-touch-action:none;touch-action:none}.vue-grid-item.cssTransforms{-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;left:0;right:auto}.vue-grid-item.cssTransforms.render-rtl{left:auto;right:0}.vue-grid-item.resizing{opacity:.6;z-index:3}.vue-grid-item.vue-draggable-dragging{-webkit-transition:none;transition:none;z-index:3}.vue-grid-item.vue-grid-placeholder{background:red;opacity:.2;-webkit-transition-duration:.1s;transition-duration:.1s;z-index:2;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.vue-grid-item>.vue-resizable-handle{position:absolute;width:20px;height:20px;bottom:0;right:0;background:url("data:image/svg+xml;base64,PHN2ZyBzdHlsZT0iYmFja2dyb3VuZC1jb2xvcjojZmZmZmZmMDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjYiIGhlaWdodD0iNiI+PHBhdGggZD0iTTYgNkgwVjQuMmg0LjJWMEg2djZ6IiBvcGFjaXR5PSIuMzAyIi8+PC9zdmc+");background-position:100% 100%;padding:0 3px 3px 0;background-repeat:no-repeat;background-origin:content-box;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:se-resize}.vue-grid-item>.vue-rtl-resizable-handle{bottom:0;left:0;background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTS0xLTFoMTJ2MTJILTF6Ii8+PGc+PHBhdGggc3Ryb2tlLWxpbmVjYXA9InVuZGVmaW5lZCIgc3Ryb2tlLWxpbmVqb2luPSJ1bmRlZmluZWQiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2U9IiMwMDAiIGZpbGw9Im5vbmUiIGQ9Ik0xNDQuODIxLTM4LjM5M2wtMjAuMzU3LTMxLjc4NSIvPjxwYXRoIHN0cm9rZT0iIzY2NiIgc3Ryb2tlLWxpbmVjYXA9InVuZGVmaW5lZCIgc3Ryb2tlLWxpbmVqb2luPSJ1bmRlZmluZWQiIHN0cm9rZS13aWR0aD0iMiIgZmlsbD0ibm9uZSIgZD0iTS45NDctLjAxOHY5LjEyNU0tLjY1NiA5aDEwLjczIi8+PC9nPjwvc3ZnPg==);background-position:0 100%;padding-left:3px;background-repeat:no-repeat;background-origin:content-box;cursor:sw-resize;right:auto}.vue-grid-item.disable-userselect{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}',""]),t.exports=e},"499e":function(t,e,n){"use strict";function i(t,e){for(var n=[],i={},r=0;r<e.length;r++){var o=e[r],s=o[0],a=o[1],c=o[2],l=o[3],u={id:t+":"+r,css:a,media:c,sourceMap:l};i[s]?i[s].parts.push(u):n.push(i[s]={id:s,parts:[u]})}return n}n.r(e),n.d(e,"default",(function(){return p}));var r="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!r)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 o={},s=r&&(document.head||document.getElementsByTagName("head")[0]),a=null,c=0,l=!1,u=function(){},h=null,d="data-vue-ssr-id",f="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(t,e,n,r){l=n,h=r||{};var s=i(t,e);return g(s),function(e){for(var n=[],r=0;r<s.length;r++){var a=s[r],c=o[a.id];c.refs--,n.push(c)}e?(s=i(t,e),g(s)):s=[];for(r=0;r<n.length;r++){c=n[r];if(0===c.refs){for(var l=0;l<c.parts.length;l++)c.parts[l]();delete o[c.id]}}}}function g(t){for(var e=0;e<t.length;e++){var n=t[e],i=o[n.id];if(i){i.refs++;for(var r=0;r<i.parts.length;r++)i.parts[r](n.parts[r]);for(;r<n.parts.length;r++)i.parts.push(v(n.parts[r]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var s=[];for(r=0;r<n.parts.length;r++)s.push(v(n.parts[r]));o[n.id]={id:n.id,refs:1,parts:s}}}}function m(){var t=document.createElement("style");return t.type="text/css",s.appendChild(t),t}function v(t){var e,n,i=document.querySelector("style["+d+'~="'+t.id+'"]');if(i){if(l)return u;i.parentNode.removeChild(i)}if(f){var r=c++;i=a||(a=m()),e=b.bind(null,i,r,!1),n=b.bind(null,i,r,!0)}else i=m(),e=x.bind(null,i),n=function(){i.parentNode.removeChild(i)};return e(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;e(t=i)}else n()}}var y=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function b(t,e,n,i){var r=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=y(e,r);else{var o=document.createTextNode(r),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}function x(t,e){var n=e.css,i=e.media,r=e.sourceMap;if(i&&t.setAttribute("media",i),h.ssrId&&t.setAttribute(d,e.id),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}},"49ad":function(t,e,n){"use strict";t.exports=function(t){var e={};function n(n){var i=t.get(n);return void 0===i?[]:e[i]||[]}function i(n,i){var r=t.get(n);e[r]||(e[r]=[]),e[r].push(i)}function r(t,e){for(var i=n(t),r=0,o=i.length;r<o;++r)if(i[r]===e){i.splice(r,1);break}}function o(t){var e=n(t);e&&(e.length=0)}return{get:n,add:i,removeListener:r,removeAllListeners:o}}},"4bf8":function(t,e,n){var i=n("be13");t.exports=function(t){return Object(i(t))}},5058:function(t,e,n){"use strict";t.exports=function(t){var e=t.idGenerator,n=t.stateHandler.getState;function i(t){var e=n(t);return e&&void 0!==e.id?e.id:null}function r(t){var i=n(t);if(!i)throw new Error("setId required the element to have a resize detection state.");var r=e.generate();return i.id=r,r}return{get:i,set:r}}},"50bf":function(t,e,n){"use strict";var i=t.exports={};function r(t,e,n){var i=t[e];return void 0!==i&&null!==i||void 0===n?i:n}i.getOption=r},"520a":function(t,e,n){"use strict";var i=n("0bfb"),r=RegExp.prototype.exec,o=String.prototype.replace,s=r,a="lastIndex",c=function(){var t=/a/,e=/b*/g;return r.call(t,"a"),r.call(e,"a"),0!==t[a]||0!==e[a]}(),l=void 0!==/()??/.exec("")[1],u=c||l;u&&(s=function(t){var e,n,s,u,h=this;return l&&(n=new RegExp("^"+h.source+"$(?!\\s)",i.call(h))),c&&(e=h[a]),s=r.call(h,t),c&&s&&(h[a]=h.global?s.index+s[0].length:e),l&&s&&s.length>1&&o.call(s[0],n,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(s[u]=void 0)})),s}),t.exports=s},"52a7":function(t,e){e.f={}.propertyIsEnumerable},5537:function(t,e,n){var i=n("8378"),r=n("7726"),o="__core-js_shared__",s=r[o]||(r[o]={});(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n("2d00")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"55dd":function(t,e,n){"use strict";var i=n("5ca1"),r=n("d8e8"),o=n("4bf8"),s=n("79e5"),a=[].sort,c=[1,2,3];i(i.P+i.F*(s((function(){c.sort(void 0)}))||!s((function(){c.sort(null)}))||!n("2f21")(a)),"Array",{sort:function(t){return void 0===t?a.call(o(this)):a.call(o(this),r(t))}})},"5be5":function(t,e,n){"use strict";t.exports=function(t){var e=t.stateHandler.getState;function n(t){var n=e(t);return n&&!!n.isDetectable}function i(t){e(t).isDetectable=!0}function r(t){return!!e(t).busy}function o(t,n){e(t).busy=!!n}return{isDetectable:n,markAsDetectable:i,isBusy:r,markBusy:o}}},"5ca1":function(t,e,n){var i=n("7726"),r=n("8378"),o=n("32e9"),s=n("2aba"),a=n("9b43"),c="prototype",l=function(t,e,n){var u,h,d,f,p=t&l.F,g=t&l.G,m=t&l.S,v=t&l.P,y=t&l.B,b=g?i:m?i[e]||(i[e]={}):(i[e]||{})[c],x=g?r:r[e]||(r[e]={}),w=x[c]||(x[c]={});for(u in g&&(n=e),n)h=!p&&b&&void 0!==b[u],d=(h?b:n)[u],f=y&&h?a(d,i):v&&"function"==typeof d?a(Function.call,d):d,b&&s(b,u,d,t&l.U),x[u]!=d&&o(x,u,f),v&&w[u]!=d&&(w[u]=d)};i.core=r,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},"5dbc":function(t,e,n){var i=n("d3f4"),r=n("8b97").set;t.exports=function(t,e,n){var o,s=e.constructor;return s!==n&&"function"==typeof s&&(o=s.prototype)!==n.prototype&&i(o)&&r&&r(t,o),t}},"5eda":function(t,e,n){var i=n("5ca1"),r=n("8378"),o=n("79e5");t.exports=function(t,e){var n=(r.Object||{})[t]||Object[t],s={};s[t]=e(n),i(i.S+i.F*o((function(){n(1)})),"Object",s)}},"5f1b":function(t,e,n){"use strict";var i=n("23c6"),r=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"===typeof n){var o=n.call(t,e);if("object"!==typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==i(t))throw new TypeError("RegExp#exec called on incompatible receiver");return r.call(t,e)}},"613b":function(t,e,n){var i=n("5537")("keys"),r=n("ca5a");t.exports=function(t){return i[t]||(i[t]=r(t))}},"626a":function(t,e,n){var i=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},6521:function(t,e,n){"use strict";n("92bf")},6821:function(t,e,n){var i=n("626a"),r=n("be13");t.exports=function(t){return i(r(t))}},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"6a99":function(t,e,n){var i=n("d3f4");t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},7333:function(t,e,n){"use strict";var i=n("9e1e"),r=n("0d58"),o=n("2621"),s=n("52a7"),a=n("4bf8"),c=n("626a"),l=Object.assign;t.exports=!l||n("79e5")((function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach((function(t){e[t]=t})),7!=l({},t)[n]||Object.keys(l({},e)).join("")!=i}))?function(t,e){var n=a(t),l=arguments.length,u=1,h=o.f,d=s.f;while(l>u){var f,p=c(arguments[u++]),g=h?r(p).concat(h(p)):r(p),m=g.length,v=0;while(m>v)f=g[v++],i&&!d.call(p,f)||(n[f]=p[f])}return n}:l},7726:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(t,e,n){var i=n("4588"),r=Math.max,o=Math.min;t.exports=function(t,e){return t=i(t),t<0?r(t+e,0):o(t,e)}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"7f20":function(t,e,n){var i=n("86cc").f,r=n("69a8"),o=n("2b4c")("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},8378:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},"848e":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,".vue-grid-layout{position:relative;-webkit-transition:height .2s ease;transition:height .2s ease}",""]),t.exports=e},"84f2":function(t,e){t.exports={}},"86cc":function(t,e,n){var i=n("cb7c"),r=n("c69a"),o=n("6a99"),s=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return s(t,e,n)}catch(a){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},8875:function(t,e,n){var i,r,o;(function(n,s){r=[],i=s,o="function"===typeof i?i.apply(e,r):i,void 0===o||(t.exports=o)})("undefined"!==typeof self&&self,(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(f){var n,i,r,o=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,s=/@([^@]*):(\d+):(\d+)\s*$/gi,a=o.exec(f.stack)||s.exec(f.stack),c=a&&a[1]||!1,l=a&&a[2]||!1,u=document.location.href.replace(document.location.hash,""),h=document.getElementsByTagName("script");c===u&&(n=document.documentElement.outerHTML,i=new RegExp("(?:[^\\n]+?\\n){0,"+(l-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),r=n.replace(i,"$1").trim());for(var d=0;d<h.length;d++){if("interactive"===h[d].readyState)return h[d];if(h[d].src===c)return h[d];if(c===u&&h[d].innerHTML&&h[d].innerHTML.trim()===r)return h[d]}return null}}return t}))},"8b97":function(t,e,n){var i=n("d3f4"),r=n("cb7c"),o=function(t,e){if(r(t),!i(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,i){try{i=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2),i(t,[]),e=!(t instanceof Array)}catch(r){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:i(t,n),t}}({},!1):void 0),check:o}},"8bbf":function(e,n){e.exports=t},"8e6e":function(t,e,n){var i=n("5ca1"),r=n("990b"),o=n("6821"),s=n("11e9"),a=n("f1ae");i(i.S,"Object",{getOwnPropertyDescriptors:function(t){var e,n,i=o(t),c=s.f,l=r(i),u={},h=0;while(l.length>h)n=c(i,e=l[h++]),void 0!==n&&a(u,e,n);return u}})},9093:function(t,e,n){var i=n("ce10"),r=n("e11e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},"92bf":function(t,e,n){var i=n("848e");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("499e").default;r("ff1827d0",i,!0,{sourceMap:!1,shadowMode:!1})},"990b":function(t,e,n){var i=n("9093"),r=n("2621"),o=n("cb7c"),s=n("7726").Reflect;t.exports=s&&s.ownKeys||function(t){var e=i.f(o(t)),n=r.f;return n?e.concat(n(t)):e}},"9b43":function(t,e,n){var i=n("d8e8");t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},"9c6c":function(t,e,n){var i=n("2b4c")("unscopables"),r=Array.prototype;void 0==r[i]&&n("32e9")(r,i,{}),t.exports=function(t){r[i][t]=!0}},"9def":function(t,e,n){var i=n("4588"),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a481:function(t,e,n){"use strict";var i=n("cb7c"),r=n("4bf8"),o=n("9def"),s=n("4588"),a=n("0390"),c=n("5f1b"),l=Math.max,u=Math.min,h=Math.floor,d=/\$([$&`']|\d\d?|<[^>]*>)/g,f=/\$([$&`']|\d\d?)/g,p=function(t){return void 0===t?t:String(t)};n("214f")("replace",2,(function(t,e,n,g){return[function(i,r){var o=t(this),s=void 0==i?void 0:i[e];return void 0!==s?s.call(i,o,r):n.call(String(o),i,r)},function(t,e){var r=g(n,t,this,e);if(r.done)return r.value;var h=i(t),d=String(this),f="function"===typeof e;f||(e=String(e));var v=h.global;if(v){var y=h.unicode;h.lastIndex=0}var b=[];while(1){var x=c(h,d);if(null===x)break;if(b.push(x),!v)break;var w=String(x[0]);""===w&&(h.lastIndex=a(d,o(h.lastIndex),y))}for(var S="",E=0,T=0;T<b.length;T++){x=b[T];for(var z=String(x[0]),M=l(u(s(x.index),d.length),0),O=[],I=1;I<x.length;I++)O.push(p(x[I]));var P=x.groups;if(f){var D=[z].concat(O,M,d);void 0!==P&&D.push(P);var _=String(e.apply(void 0,D))}else _=m(z,d,M,O,P,e);M>=E&&(S+=d.slice(E,M)+_,E=M+z.length)}return S+d.slice(E)}];function m(t,e,i,o,s,a){var c=i+t.length,l=o.length,u=f;return void 0!==s&&(s=r(s),u=d),n.call(a,u,(function(n,r){var a;switch(r.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,i);case"'":return e.slice(c);case"<":a=s[r.slice(1,-1)];break;default:var u=+r;if(0===u)return n;if(u>l){var d=h(u/10);return 0===d?n:d<=l?void 0===o[d-1]?r.charAt(1):o[d-1]+r.charAt(1):n}a=o[u-1]}return void 0===a?"":a}))}}))},aa77:function(t,e,n){var i=n("5ca1"),r=n("be13"),o=n("79e5"),s=n("fdef"),a="["+s+"]",c="
",l=RegExp("^"+a+a+"*"),u=RegExp(a+a+"*$"),h=function(t,e,n){var r={},a=o((function(){return!!s[t]()||c[t]()!=c})),l=r[t]=a?e(d):s[t];n&&(r[n]=l),i(i.P+i.F*a,"String",r)},d=h.trim=function(t,e){return t=String(r(t)),1&e&&(t=t.replace(l,"")),2&e&&(t=t.replace(u,"")),t};t.exports=h},abb4:function(t,e,n){"use strict";t.exports=function(t){function e(){}var n={log:e,warn:e,error:e};if(!t&&window.console){var i=function(t,e){t[e]=function(){var t=console[e];if(t.apply)t.apply(console,arguments);else for(var n=0;n<arguments.length;n++)t(arguments[n])}};i(n,"log"),i(n,"warn"),i(n,"error")}return n}},ac6a:function(t,e,n){for(var i=n("cadf"),r=n("0d58"),o=n("2aba"),s=n("7726"),a=n("32e9"),c=n("84f2"),l=n("2b4c"),u=l("iterator"),h=l("toStringTag"),d=c.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=r(f),g=0;g<p.length;g++){var m,v=p[g],y=f[v],b=s[v],x=b&&b.prototype;if(x&&(x[u]||a(x,u,d),x[h]||a(x,h,v),c[v]=d,y))for(m in i)x[m]||o(x,m,i[m],!0)}},b0c5:function(t,e,n){"use strict";var i=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:i!==/./.exec},{exec:i})},b770:function(t,e,n){"use strict";var i=t.exports={};i.forEach=function(t,e){for(var n=0;n<t.length;n++){var i=e(t[n]);if(i)return i}}},be13:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},c274:function(t,e,n){"use strict";var i=n("50bf");function r(){var t={},e=0,n=0,i=0;function r(r,o){o||(o=r,r=0),r>n?n=r:r<i&&(i=r),t[r]||(t[r]=[]),t[r].push(o),e++}function o(){for(var e=i;e<=n;e++)for(var r=t[e],o=0;o<r.length;o++){var s=r[o];s()}}function s(){return e}return{add:r,process:o,size:s}}t.exports=function(t){t=t||{};var e=t.reporter,n=i.getOption(t,"async",!0),o=i.getOption(t,"auto",!0);o&&!n&&(e&&e.warn("Invalid options combination. auto=true and async=false is invalid. Setting async=true."),n=!0);var s,a=r(),c=!1;function l(t,e){!c&&o&&n&&0===a.size()&&d(),a.add(t,e)}function u(){c=!0;while(a.size()){var t=a;a=r(),t.process()}c=!1}function h(t){c||(void 0===t&&(t=n),s&&(f(s),s=null),t?d():u())}function d(){s=p(u)}function f(t){var e=clearTimeout;return e(t)}function p(t){var e=function(t){return setTimeout(t,0)};return e(t)}return{add:l,force:h}}},c366:function(t,e,n){var i=n("6821"),r=n("9def"),o=n("77f1");t.exports=function(t){return function(e,n,s){var a,c=i(e),l=r(c.length),u=o(s,l);if(t&&n!=n){while(l>u)if(a=c[u++],a!=a)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;return!t&&-1}}},c541:function(t,e,n){var i=n("493e");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("499e").default;r("40158674",i,!0,{sourceMap:!1,shadowMode:!1})},c5f6:function(t,e,n){"use strict";var i=n("7726"),r=n("69a8"),o=n("2d95"),s=n("5dbc"),a=n("6a99"),c=n("79e5"),l=n("9093").f,u=n("11e9").f,h=n("86cc").f,d=n("aa77").trim,f="Number",p=i[f],g=p,m=p.prototype,v=o(n("2aeb")(m))==f,y="trim"in String.prototype,b=function(t){var e=a(t,!1);if("string"==typeof e&&e.length>2){e=y?e.trim():d(e,3);var n,i,r,o=e.charCodeAt(0);if(43===o||45===o){if(n=e.charCodeAt(2),88===n||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:i=2,r=49;break;case 79:case 111:i=8,r=55;break;default:return+e}for(var s,c=e.slice(2),l=0,u=c.length;l<u;l++)if(s=c.charCodeAt(l),s<48||s>r)return NaN;return parseInt(c,i)}}return+e};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof p&&(v?c((function(){m.valueOf.call(n)})):o(n)!=f)?s(new g(b(e)),n,p):b(e)};for(var x,w=n("9e1e")?l(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),S=0;w.length>S;S++)r(g,x=w[S])&&!r(p,x)&&h(p,x,u(g,x));p.prototype=m,m.constructor=p,n("2aba")(i,f,p)}},c69a:function(t,e,n){t.exports=!n("9e1e")&&!n("79e5")((function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a}))},c946:function(t,e,n){"use strict";var i=n("b770").forEach;t.exports=function(t){t=t||{};var e=t.reporter,n=t.batchProcessor,r=t.stateHandler.getState,o=(t.stateHandler.hasState,t.idHandler);if(!n)throw new Error("Missing required dependency: batchProcessor");if(!e)throw new Error("Missing required dependency: reporter.");var s=h(),a="erd_scroll_detection_scrollbar_style",c="erd_scroll_detection_container";function l(t){d(t,a,c)}function u(e){var n=t.important?" !important; ":"; ";return(e.join(n)+n).trim()}function h(){var t=500,e=500,n=document.createElement("div");n.style.cssText=u(["position: absolute","width: "+2*t+"px","height: "+2*e+"px","visibility: hidden","margin: 0","padding: 0"]);var i=document.createElement("div");i.style.cssText=u(["position: absolute","width: "+t+"px","height: "+e+"px","overflow: scroll","visibility: none","top: "+3*-t+"px","left: "+3*-e+"px","visibility: hidden","margin: 0","padding: 0"]),i.appendChild(n),document.body.insertBefore(i,document.body.firstChild);var r=t-i.clientWidth,o=e-i.clientHeight;return document.body.removeChild(i),{width:r,height:o}}function d(t,e,n){function i(n,i){i=i||function(e){t.head.appendChild(e)};var r=t.createElement("style");return r.innerHTML=n,r.id=e,i(r),r}if(!t.getElementById(e)){var r=n+"_animation",o=n+"_animation_active",s="/* Created by the element-resize-detector library. */\n";s+="."+n+" > div::-webkit-scrollbar { "+u(["display: none"])+" }\n\n",s+="."+o+" { "+u(["-webkit-animation-duration: 0.1s","animation-duration: 0.1s","-webkit-animation-name: "+r,"animation-name: "+r])+" }\n",s+="@-webkit-keyframes "+r+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }\n",s+="@keyframes "+r+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }",i(s)}}function f(t){t.className+=" "+c+"_animation_active"}function p(t,n,i){if(t.addEventListener)t.addEventListener(n,i);else{if(!t.attachEvent)return e.error("[scroll] Don't know how to add event listeners.");t.attachEvent("on"+n,i)}}function g(t,n,i){if(t.removeEventListener)t.removeEventListener(n,i);else{if(!t.detachEvent)return e.error("[scroll] Don't know how to remove event listeners.");t.detachEvent("on"+n,i)}}function m(t){return r(t).container.childNodes[0].childNodes[0].childNodes[0]}function v(t){return r(t).container.childNodes[0].childNodes[0].childNodes[1]}function y(t,e){var n=r(t).listeners;if(!n.push)throw new Error("Cannot add listener to an element that is not detectable.");r(t).listeners.push(e)}function b(t,a,l){function h(){if(t.debug){var n=Array.prototype.slice.call(arguments);if(n.unshift(o.get(a),"Scroll: "),e.log.apply)e.log.apply(null,n);else for(var i=0;i<n.length;i++)e.log(n[i])}}function d(t){function e(t){return t===t.ownerDocument.body||t.ownerDocument.body.contains(t)}return!e(t)||null===window.getComputedStyle(t)}function g(t){var e=r(t).container.childNodes[0],n=window.getComputedStyle(e);return!n.width||-1===n.width.indexOf("px")}function y(){var t=window.getComputedStyle(a),e={};return e.position=t.position,e.width=a.offsetWidth,e.height=a.offsetHeight,e.top=t.top,e.right=t.right,e.bottom=t.bottom,e.left=t.left,e.widthCSS=t.width,e.heightCSS=t.height,e}function b(){var t=y();r(a).startSize={width:t.width,height:t.height},h("Element start size",r(a).startSize)}function x(){r(a).listeners=[]}function w(){if(h("storeStyle invoked."),r(a)){var t=y();r(a).style=t}else h("Aborting because element has been uninstalled")}function S(t,e,n){r(t).lastWidth=e,r(t).lastHeight=n}function E(t){return m(t).childNodes[0]}function T(){return 2*s.width+1}function z(){return 2*s.height+1}function M(t){return t+10+T()}function O(t){return t+10+z()}function I(t){return 2*t+T()}function P(t){return 2*t+z()}function D(t,e,n){var i=m(t),r=v(t),o=M(e),s=O(n),a=I(e),c=P(n);i.scrollLeft=o,i.scrollTop=s,r.scrollLeft=a,r.scrollTop=c}function _(){var t=r(a).container;if(!t){t=document.createElement("div"),t.className=c,t.style.cssText=u(["visibility: hidden","display: inline","width: 0px","height: 0px","z-index: -1","overflow: hidden","margin: 0","padding: 0"]),r(a).container=t,f(t),a.appendChild(t);var e=function(){r(a).onRendered&&r(a).onRendered()};p(t,"animationstart",e),r(a).onAnimationStart=e}return t}function k(){function n(){var n=r(a).style;if("static"===n.position){a.style.setProperty("position","relative",t.important?"important":"");var i=function(t,e,n,i){function r(t){return t.replace(/[^-\d\.]/g,"")}var o=n[i];"auto"!==o&&"0"!==r(o)&&(t.warn("An element that is positioned static has style."+i+"="+o+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+i+" will be set to 0. Element: ",e),e.style[i]=0)};i(e,a,n,"top"),i(e,a,n,"right"),i(e,a,n,"bottom"),i(e,a,n,"left")}}function i(t,e,n,i){return t=t?t+"px":"0",e=e?e+"px":"0",n=n?n+"px":"0",i=i?i+"px":"0",["left: "+t,"top: "+e,"right: "+i,"bottom: "+n]}if(h("Injecting elements"),r(a)){n();var o=r(a).container;o||(o=_());var l=s.width,d=s.height,f=u(["position: absolute","flex: none","overflow: hidden","z-index: -1","visibility: hidden","width: 100%","height: 100%","left: 0px","top: 0px"]),g=u(["position: absolute","flex: none","overflow: hidden","z-index: -1","visibility: hidden"].concat(i(-(1+l),-(1+d),-d,-l))),m=u(["position: absolute","flex: none","overflow: scroll","z-index: -1","visibility: hidden","width: 100%","height: 100%"]),v=u(["position: absolute","flex: none","overflow: scroll","z-index: -1","visibility: hidden","width: 100%","height: 100%"]),y=u(["position: absolute","left: 0","top: 0"]),b=u(["position: absolute","width: 200%","height: 200%"]),x=document.createElement("div"),w=document.createElement("div"),S=document.createElement("div"),E=document.createElement("div"),T=document.createElement("div"),z=document.createElement("div");x.dir="ltr",x.style.cssText=f,x.className=c,w.className=c,w.style.cssText=g,S.style.cssText=m,E.style.cssText=y,T.style.cssText=v,z.style.cssText=b,S.appendChild(E),T.appendChild(z),w.appendChild(S),w.appendChild(T),x.appendChild(w),o.appendChild(x),p(S,"scroll",M),p(T,"scroll",O),r(a).onExpandScroll=M,r(a).onShrinkScroll=O}else h("Aborting because element has been uninstalled");function M(){r(a).onExpand&&r(a).onExpand()}function O(){r(a).onShrink&&r(a).onShrink()}}function A(){function s(e,n,i){var r=E(e),o=M(n),s=O(i);r.style.setProperty("width",o+"px",t.important?"important":""),r.style.setProperty("height",s+"px",t.important?"important":"")}function c(i){var c=a.offsetWidth,u=a.offsetHeight,d=c!==r(a).lastWidth||u!==r(a).lastHeight;h("Storing current size",c,u),S(a,c,u),n.add(0,(function(){if(d)if(r(a))if(l()){if(t.debug){var n=a.offsetWidth,i=a.offsetHeight;n===c&&i===u||e.warn(o.get(a),"Scroll: Size changed before updating detector elements.")}s(a,c,u)}else h("Aborting because element container has not been initialized");else h("Aborting because element has been uninstalled")})),n.add(1,(function(){r(a)?l()?D(a,c,u):h("Aborting because element container has not been initialized"):h("Aborting because element has been uninstalled")})),d&&i&&n.add(2,(function(){r(a)?l()?i():h("Aborting because element container has not been initialized"):h("Aborting because element has been uninstalled")}))}function l(){return!!r(a).container}function u(){function t(){return void 0===r(a).lastNotifiedWidth}h("notifyListenersIfNeeded invoked");var e=r(a);return t()&&e.lastWidth===e.startSize.width&&e.lastHeight===e.startSize.height?h("Not notifying: Size is the same as the start size, and there has been no notification yet."):e.lastWidth===e.lastNotifiedWidth&&e.lastHeight===e.lastNotifiedHeight?h("Not notifying: Size already notified"):(h("Current size not notified, notifying..."),e.lastNotifiedWidth=e.lastWidth,e.lastNotifiedHeight=e.lastHeight,void i(r(a).listeners,(function(t){t(a)})))}function d(){if(h("startanimation triggered."),g(a))h("Ignoring since element is still unrendered...");else{h("Element rendered.");var t=m(a),e=v(a);0!==t.scrollLeft&&0!==t.scrollTop&&0!==e.scrollLeft&&0!==e.scrollTop||(h("Scrollbars out of sync. Updating detector elements..."),c(u))}}function f(){h("Scroll detected."),g(a)?h("Scroll event fired while unrendered. Ignoring..."):c(u)}if(h("registerListenersAndPositionElements invoked."),r(a)){r(a).onRendered=d,r(a).onExpand=f,r(a).onShrink=f;var p=r(a).style;s(a,p.width,p.height)}else h("Aborting because element has been uninstalled")}function R(){if(h("finalizeDomMutation invoked."),r(a)){var t=r(a).style;S(a,t.width,t.height),D(a,t.width,t.height)}else h("Aborting because element has been uninstalled")}function j(){l(a)}function C(){h("Installing..."),x(),b(),n.add(0,w),n.add(1,k),n.add(2,A),n.add(3,R),n.add(4,j)}l||(l=a,a=t,t=null),t=t||{},h("Making detectable..."),d(a)?(h("Element is detached"),_(),h("Waiting until element is attached..."),r(a).onRendered=function(){h("Element is now attached"),C()}):C()}function x(t){var e=r(t);e&&(e.onExpandScroll&&g(m(t),"scroll",e.onExpandScroll),e.onShrinkScroll&&g(v(t),"scroll",e.onShrinkScroll),e.onAnimationStart&&g(e.container,"animationstart",e.onAnimationStart),e.container&&t.removeChild(e.container))}return l(window.document),{makeDetectable:b,addListener:y,uninstall:x,initDocument:l}}},ca5a:function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},cadf:function(t,e,n){"use strict";var i=n("9c6c"),r=n("d53b"),o=n("84f2"),s=n("6821");t.exports=n("01f9")(Array,"Array",(function(t,e){this._t=s(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},cb7c:function(t,e,n){var i=n("d3f4");t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},ce10:function(t,e,n){var i=n("69a8"),r=n("6821"),o=n("c366")(!1),s=n("613b")("IE_PROTO");t.exports=function(t,e){var n,a=r(t),c=0,l=[];for(n in a)n!=s&&i(a,n)&&l.push(n);while(e.length>c)i(a,n=e[c++])&&(~o(l,n)||l.push(n));return l}},d3f4:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},d53b:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},d6eb:function(t,e,n){"use strict";var i="_erd";function r(t){return t[i]={},o(t)}function o(t){return t[i]}function s(t){delete t[i]}t.exports={initState:r,getState:o,cleanState:s}},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},eec4:function(t,e,n){"use strict";var i=n("b770").forEach,r=n("5be5"),o=n("49ad"),s=n("2cef"),a=n("5058"),c=n("abb4"),l=n("18e9"),u=n("c274"),h=n("d6eb"),d=n("18d2"),f=n("c946");function p(t){return Array.isArray(t)||void 0!==t.length}function g(t){if(Array.isArray(t))return t;var e=[];return i(t,(function(t){e.push(t)})),e}function m(t){return t&&1===t.nodeType}function v(t,e,n){var i=t[e];return void 0!==i&&null!==i||void 0===n?i:n}t.exports=function(t){var e;if(t=t||{},t.idHandler)e={get:function(e){return t.idHandler.get(e,!0)},set:t.idHandler.set};else{var n=s(),y=a({idGenerator:n,stateHandler:h});e=y}var b=t.reporter;if(!b){var x=!1===b;b=c(x)}var w=v(t,"batchProcessor",u({reporter:b})),S={};S.callOnAdd=!!v(t,"callOnAdd",!0),S.debug=!!v(t,"debug",!1);var E,T=o(e),z=r({stateHandler:h}),M=v(t,"strategy","object"),O=v(t,"important",!1),I={reporter:b,batchProcessor:w,stateHandler:h,idHandler:e,important:O};if("scroll"===M&&(l.isLegacyOpera()?(b.warn("Scroll strategy is not supported on legacy Opera. Changing to object strategy."),M="object"):l.isIE(9)&&(b.warn("Scroll strategy is not supported on IE9. Changing to object strategy."),M="object")),"scroll"===M)E=f(I);else{if("object"!==M)throw new Error("Invalid strategy name: "+M);E=d(I)}var P={};function D(t,n,r){function o(t){var e=T.get(t);i(e,(function(e){e(t)}))}function s(t,e,n){T.add(e,n),t&&n(e)}if(r||(r=n,n=t,t={}),!n)throw new Error("At least one element required.");if(!r)throw new Error("Listener required.");if(m(n))n=[n];else{if(!p(n))return b.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");n=g(n)}var a=0,c=v(t,"callOnAdd",S.callOnAdd),l=v(t,"onReady",(function(){})),u=v(t,"debug",S.debug);i(n,(function(t){h.getState(t)||(h.initState(t),e.set(t));var d=e.get(t);if(u&&b.log("Attaching listener to element",d,t),!z.isDetectable(t))return u&&b.log(d,"Not detectable."),z.isBusy(t)?(u&&b.log(d,"System busy making it detectable"),s(c,t,r),P[d]=P[d]||[],void P[d].push((function(){a++,a===n.length&&l()}))):(u&&b.log(d,"Making detectable..."),z.markBusy(t,!0),E.makeDetectable({debug:u,important:O},t,(function(t){if(u&&b.log(d,"onElementDetectable"),h.getState(t)){z.markAsDetectable(t),z.markBusy(t,!1),E.addListener(t,o),s(c,t,r);var e=h.getState(t);if(e&&e.startSize){var f=t.offsetWidth,p=t.offsetHeight;e.startSize.width===f&&e.startSize.height===p||o(t)}P[d]&&i(P[d],(function(t){t()}))}else u&&b.log(d,"Element uninstalled before being detectable.");delete P[d],a++,a===n.length&&l()})));u&&b.log(d,"Already detecable, adding listener."),s(c,t,r),a++})),a===n.length&&l()}function _(t){if(!t)return b.error("At least one element is required.");if(m(t))t=[t];else{if(!p(t))return b.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");t=g(t)}i(t,(function(t){T.removeAllListeners(t),E.uninstall(t),h.cleanState(t)}))}function k(t){E.initDocument&&E.initDocument(t)}return{listenTo:D,removeListener:T.removeListener,removeAllListeners:T.removeAllListeners,uninstall:_,initDocument:k}}},f1ae:function(t,e,n){"use strict";var i=n("86cc"),r=n("4630");t.exports=function(t,e,n){e in t?i.f(t,e,r(0,n)):t[e]=n}},f751:function(t,e,n){var i=n("5ca1");i(i.S+i.F,"Object",{assign:n("7333")})},fa5b:function(t,e,n){t.exports=n("5537")("native-function-to-string",Function.toString)},fab2:function(t,e,n){var i=n("7726").document;t.exports=i&&i.documentElement},fb15:function(t,e,n){"use strict";n.r(e),n.d(e,"GridLayout",(function(){return mr})),n.d(e,"GridItem",(function(){return cr}));var i={};if(n.r(i),n.d(i,"edgeTarget",(function(){return Gn})),n.d(i,"elements",(function(){return Yn})),n.d(i,"grid",(function(){return Xn})),"undefined"!==typeof window){var r=window.document.currentScript,o=n("8875");r=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o});var s=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);s&&(n.p=s[1])}var a=n("8bbf");function c(t,e,n,i,r,o){return Object(a["openBlock"])(),Object(a["createBlock"])("div",{ref:"item",class:["vue-grid-item",o.classObj],style:t.style},[Object(a["renderSlot"])(t.$slots,"default"),o.resizableAndNotStatic?(Object(a["openBlock"])(),Object(a["createBlock"])("span",{key:0,ref:"handle",class:o.resizableHandleClass},null,2)):Object(a["createCommentVNode"])("",!0)],6)}n("a481"),n("4917"),n("c5f6"),n("cadf"),n("456d"),n("ac6a"),n("55dd");function l(t){for(var e,n=0,i=0,r=t.length;i<r;i++)e=t[i].y+t[i].h,e>n&&(n=e);return n}function u(t){for(var e=Array(t.length),n=0,i=t.length;n<i;n++)e[n]=h(t[n]);return e}function h(t){return JSON.parse(JSON.stringify(t))}function d(t,e){return t!==e&&(!(t.x+t.w<=e.x)&&(!(t.x>=e.x+e.w)&&(!(t.y+t.h<=e.y)&&!(t.y>=e.y+e.h))))}function f(t,e){for(var n=b(t),i=M(t),r=Array(t.length),o=0,s=i.length;o<s;o++){var a=i[o];a.static||(a=p(n,a,e),n.push(a)),r[t.indexOf(a)]=a,a.moved=!1}return r}function p(t,e,n){if(n)while(e.y>0&&!v(t,e))e.y--;var i;while(i=v(t,e))e.y=i.y+i.h;return e}function g(t,e){for(var n=b(t),i=0,r=t.length;i<r;i++){var o=t[i];if(o.x+o.w>e.cols&&(o.x=e.cols-o.w),o.x<0&&(o.x=0,o.w=e.cols),o.static)while(v(n,o))o.y++;else n.push(o)}return t}function m(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n].i===e)return t[n]}function v(t,e){for(var n=0,i=t.length;n<i;n++)if(d(t[n],e))return t[n]}function y(t,e){return t.filter((function(t){return d(t,e)}))}function b(t){return t.filter((function(t){return t.static}))}function x(t,e,n,i,r,o){if(e.static)return t;var s=e.x,a=e.y,c=i&&e.y>i;"number"===typeof n&&(e.x=n),"number"===typeof i&&(e.y=i),e.moved=!0;var l=M(t);c&&(l=l.reverse());var u=y(l,e);if(o&&u.length)return e.x=s,e.y=a,e.moved=!1,t;for(var h=0,d=u.length;h<d;h++){var f=u[h];f.moved||(e.y>f.y&&e.y-f.y>f.h/4||(t=f.static?w(t,f,e,r):w(t,e,f,r)))}return t}function w(t,e,n,i){var r=!1;if(i){var o={x:n.x,y:n.y,w:n.w,h:n.h,i:"-1"};if(o.y=Math.max(e.y-n.h,0),!v(t,o))return x(t,n,void 0,o.y,r)}return x(t,n,void 0,n.y+1,r)}function S(t,e,n,i){var r="translate3d("+e+"px,"+t+"px, 0)";return{transform:r,WebkitTransform:r,MozTransform:r,msTransform:r,OTransform:r,width:n+"px",height:i+"px",position:"absolute"}}function E(t,e,n,i){var r="translate3d("+-1*e+"px,"+t+"px, 0)";return{transform:r,WebkitTransform:r,MozTransform:r,msTransform:r,OTransform:r,width:n+"px",height:i+"px",position:"absolute"}}function T(t,e,n,i){return{top:t+"px",left:e+"px",width:n+"px",height:i+"px",position:"absolute"}}function z(t,e,n,i){return{top:t+"px",right:e+"px",width:n+"px",height:i+"px",position:"absolute"}}function M(t){return[].concat(t).sort((function(t,e){return t.y===e.y&&t.x===e.x?0:t.y>e.y||t.y===e.y&&t.x>e.x?1:-1}))}function O(t,e){e=e||"Layout";var n=["x","y","w","h"],i=[];if(!Array.isArray(t))throw new Error(e+" must be an array!");for(var r=0,o=t.length;r<o;r++){for(var s=t[r],a=0;a<n.length;a++)if("number"!==typeof s[n[a]])throw new Error("VueGridLayout: "+e+"["+r+"]."+n[a]+" must be a number!");if(void 0===s.i||null===s.i)throw new Error("VueGridLayout: "+e+"["+r+"].i cannot be null!");if("number"!==typeof s.i&&"string"!==typeof s.i)throw new Error("VueGridLayout: "+e+"["+r+"].i must be a string or number!");if(i.indexOf(s.i)>=0)throw new Error("VueGridLayout: "+e+"["+r+"].i must be unique!");if(i.push(s.i),void 0!==s.static&&"boolean"!==typeof s.static)throw new Error("VueGridLayout: "+e+"["+r+"].static must be a boolean!")}}function I(t){return P(t)}function P(t){var e=t.target.offsetParent||document.body,n=t.offsetParent===document.body?{left:0,top:0}:e.getBoundingClientRect(),i=t.clientX+e.scrollLeft-n.left,r=t.clientY+e.scrollTop-n.top;return{x:i,y:r}}function D(t,e,n,i){var r=!_(t);return r?{deltaX:0,deltaY:0,lastX:n,lastY:i,x:n,y:i}:{deltaX:n-t,deltaY:i-e,lastX:t,lastY:e,x:n,y:i}}function _(t){return"number"===typeof t&&!isNaN(t)}function k(t,e){for(var n=j(t),i=n[0],r=1,o=n.length;r<o;r++){var s=n[r];e>t[s]&&(i=s)}return i}function A(t,e){if(!e[t])throw new Error("ResponsiveGridLayout: `cols` entry for breakpoint "+t+" is missing!");return e[t]}function R(t,e,n,i,r,o,s){if(e[i])return u(e[i]);for(var a=t,c=j(n),l=c.slice(c.indexOf(i)),h=0,d=l.length;h<d;h++){var p=l[h];if(e[p]){a=e[p];break}}return a=u(a||[]),f(g(a,{cols:o}),s)}function j(t){var e=Object.keys(t);return e.sort((function(e,n){return t[e]-t[n]}))}var C="auto";function H(){return"undefined"!==typeof document}function L(){return"undefined"!==typeof window}function N(){if(!H())return C;var t="undefined"!==typeof document.dir?document.dir:document.getElementsByTagName("html")[0].getAttribute("dir");return t}function W(t,e){L?window.addEventListener(t,e):e()}function B(t,e){L&&window.removeEventListener(t,e)}const F={init:Y,document:null,DocumentFragment:null,SVGElement:null,SVGSVGElement:null,SVGElementInstance:null,Element:null,HTMLElement:null,Event:null,Touch:null,PointerEvent:null};function $(){}var G=F;function Y(t){const e=t;F.document=e.document,F.DocumentFragment=e.DocumentFragment||$,F.SVGElement=e.SVGElement||$,F.SVGSVGElement=e.SVGSVGElement||$,F.SVGElementInstance=e.SVGElementInstance||$,F.Element=e.Element||$,F.HTMLElement=e.HTMLElement||F.Element,F.Event=e.Event,F.Touch=e.Touch||$,F.PointerEvent=e.PointerEvent||e.MSPointerEvent}var X=t=>!(!t||!t.Window)&&t instanceof t.Window;let q=void 0,V=void 0;function U(t){q=t;const e=t.document.createTextNode("");e.ownerDocument!==t.document&&"function"===typeof t.wrap&&t.wrap(e)===e&&(t=t.wrap(t)),V=t}function Z(t){if(X(t))return t;const e=t.ownerDocument||t;return e.defaultView||V.window}"undefined"!==typeof window&&window&&U(window);const K=t=>t===V||X(t),J=t=>Q(t)&&11===t.nodeType,Q=t=>!!t&&"object"===typeof t,tt=t=>"function"===typeof t,et=t=>"number"===typeof t,nt=t=>"boolean"===typeof t,it=t=>"string"===typeof t,rt=t=>{if(!t||"object"!==typeof t)return!1;const e=Z(t)||V;return/object|function/.test(typeof e.Element)?t instanceof e.Element:1===t.nodeType&&"string"===typeof t.nodeName},ot=t=>Q(t)&&!!t.constructor&&/function Object\b/.test(t.constructor.toString()),st=t=>Q(t)&&"undefined"!==typeof t.length&&tt(t.splice);var at={window:K,docFrag:J,object:Q,func:tt,number:et,bool:nt,string:it,element:rt,plainObject:ot,array:st};const ct={init:lt,supportsTouch:null,supportsPointerEvent:null,isIOS7:null,isIOS:null,isIe9:null,isOperaMobile:null,prefixedMatchesSelector:null,pEventTypes:null,wheelEvent:null};function lt(t){const e=G.Element,n=V.navigator;ct.supportsTouch="ontouchstart"in t||at.func(t.DocumentTouch)&&G.document instanceof t.DocumentTouch,ct.supportsPointerEvent=!1!==n.pointerEnabled&&!!G.PointerEvent,ct.isIOS=/iP(hone|od|ad)/.test(n.platform),ct.isIOS7=/iP(hone|od|ad)/.test(n.platform)&&/OS 7[^\d]/.test(n.appVersion),ct.isIe9=/MSIE 9/.test(n.userAgent),ct.isOperaMobile="Opera"===n.appName&&ct.supportsTouch&&/Presto/.test(n.userAgent),ct.prefixedMatchesSelector="matches"in e.prototype?"matches":"webkitMatchesSelector"in e.prototype?"webkitMatchesSelector":"mozMatchesSelector"in e.prototype?"mozMatchesSelector":"oMatchesSelector"in e.prototype?"oMatchesSelector":"msMatchesSelector",ct.pEventTypes=ct.supportsPointerEvent?G.PointerEvent===t.MSPointerEvent?{up:"MSPointerUp",down:"MSPointerDown",over:"mouseover",out:"mouseout",move:"MSPointerMove",cancel:"MSPointerCancel"}:{up:"pointerup",down:"pointerdown",over:"pointerover",out:"pointerout",move:"pointermove",cancel:"pointercancel"}:null,ct.wheelEvent="onmousewheel"in G.document?"mousewheel":"wheel"}var ut=ct;const ht=(t,e)=>-1!==t.indexOf(e),dt=(t,e)=>{for(const n of e)t.push(n);return t},ft=t=>dt([],t),pt=(t,e)=>{for(let n=0;n<t.length;n++)if(e(t[n],n,t))return n;return-1},gt=(t,e)=>t[pt(t,e)];function mt(t){const e={};for(const n in t){const i=t[n];at.plainObject(i)?e[n]=mt(i):at.array(i)?e[n]=ft(i):e[n]=i}return e}function vt(t,e){for(const i in e)t[i]=e[i];const n=t;return n}let yt,bt,xt=0;function wt(t){if(yt=t.requestAnimationFrame,bt=t.cancelAnimationFrame,!yt){const e=["ms","moz","webkit","o"];for(const n of e)yt=t[n+"RequestAnimationFrame"],bt=t[n+"CancelAnimationFrame"]||t[n+"CancelRequestAnimationFrame"]}yt=yt&&yt.bind(t),bt=bt&&bt.bind(t),yt||(yt=e=>{const n=Date.now(),i=Math.max(0,16-(n-xt)),r=t.setTimeout(()=>{e(n+i)},i);return xt=n+i,r},bt=t=>clearTimeout(t))}var St={request:t=>yt(t),cancel:t=>bt(t),init:wt};function Et(t,e,n){if(n=n||{},at.string(t)&&-1!==t.search(" ")&&(t=Tt(t)),at.array(t))return t.reduce((t,i)=>vt(t,Et(i,e,n)),n);if(at.object(t)&&(e=t,t=""),at.func(e))n[t]=n[t]||[],n[t].push(e);else if(at.array(e))for(const i of e)Et(t,i,n);else if(at.object(e))for(const i in e){const r=Tt(i).map(e=>`${t}${e}`);Et(r,e[i],n)}return n}function Tt(t){return t.trim().split(/ +/)}function zt(t,e){for(const n of e){if(t.immediatePropagationStopped)break;n(t)}}class Mt{constructor(t){this.options=void 0,this.types={},this.propagationStopped=!1,this.immediatePropagationStopped=!1,this.global=void 0,this.options=vt({},t||{})}fire(t){let e;const n=this.global;(e=this.types[t.type])&&zt(t,e),!t.propagationStopped&&n&&(e=n[t.type])&&zt(t,e)}on(t,e){const n=Et(t,e);for(t in n)this.types[t]=dt(this.types[t]||[],n[t])}off(t,e){const n=Et(t,e);for(t in n){const e=this.types[t];if(e&&e.length)for(const i of n[t]){const t=e.indexOf(i);-1!==t&&e.splice(t,1)}}}getRect(t){return null}}function Ot(t,e){if(t.contains)return t.contains(e);while(e){if(e===t)return!0;e=e.parentNode}return!1}function It(t,e){while(at.element(t)){if(Dt(t,e))return t;t=Pt(t)}return null}function Pt(t){let e=t.parentNode;if(at.docFrag(e)){while((e=e.host)&&at.docFrag(e));return e}return e}function Dt(t,e){return V!==q&&(e=e.replace(/\/deep\//g," ")),t[ut.prefixedMatchesSelector](e)}function _t(t,e,n){while(at.element(t)){if(Dt(t,e))return!0;if(t=Pt(t),t===n)return Dt(t,e)}return!1}function kt(t){return t.correspondingUseElement||t}function At(t){return t=t||V,{x:t.scrollX||t.document.documentElement.scrollLeft,y:t.scrollY||t.document.documentElement.scrollTop}}function Rt(t){const e=t instanceof G.SVGElement?t.getBoundingClientRect():t.getClientRects()[0];return e&&{left:e.left,right:e.right,top:e.top,bottom:e.bottom,width:e.width||e.right-e.left,height:e.height||e.bottom-e.top}}function jt(t){const e=Rt(t);if(!ut.isIOS7&&e){const n=At(Z(t));e.left+=n.x,e.right+=n.x,e.top+=n.y,e.bottom+=n.y}return e}function Ct(t){return!!at.string(t)&&(G.document.querySelector(t),!0)}function Ht(t,e,n){return"parent"===t?Pt(n):"self"===t?e.getRect(n):It(n,t)}function Lt(t,e,n,i){let r=t;return at.string(r)?r=Ht(r,e,n):at.func(r)&&(r=r(...i)),at.element(r)&&(r=jt(r)),r}function Nt(t){return t&&{x:"x"in t?t.x:t.left,y:"y"in t?t.y:t.top}}function Wt(t){return!t||"left"in t&&"top"in t||(t=vt({},t),t.left=t.x||0,t.top=t.y||0,t.right=t.right||t.left+t.width,t.bottom=t.bottom||t.top+t.height),t}function Bt(t){return!t||"x"in t&&"y"in t||(t=vt({},t),t.x=t.left||0,t.y=t.top||0,t.width=t.width||(t.right||0)-t.x,t.height=t.height||(t.bottom||0)-t.y),t}function Ft(t,e,n){t.left&&(e.left+=n.x),t.right&&(e.right+=n.x),t.top&&(e.top+=n.y),t.bottom&&(e.bottom+=n.y),e.width=e.right-e.left,e.height=e.bottom-e.top}var $t=function(t,e,n){const i=t.options[n],r=i&&i.origin,o=r||t.options.origin,s=Lt(o,t,e,[t&&e]);return Nt(s)||{x:0,y:0}},Gt=(t,e)=>Math.sqrt(t*t+e*e);class Yt{constructor(t){this.type=void 0,this.target=void 0,this.currentTarget=void 0,this.interactable=void 0,this._interaction=void 0,this.timeStamp=void 0,this.immediatePropagationStopped=!1,this.propagationStopped=!1,this._interaction=t}preventDefault(){}stopPropagation(){this.propagationStopped=!0}stopImmediatePropagation(){this.immediatePropagationStopped=this.propagationStopped=!0}}Object.defineProperty(Yt.prototype,"interaction",{get(){return this._interaction._proxy},set(){}});const Xt={base:{preventDefault:"auto",deltaSource:"page"},perAction:{enabled:!1,origin:{x:0,y:0}},actions:{}};class qt extends Yt{constructor(t,e,n,i,r,o,s){super(t),this.target=void 0,this.currentTarget=void 0,this.relatedTarget=null,this.screenX=void 0,this.screenY=void 0,this.button=void 0,this.buttons=void 0,this.ctrlKey=void 0,this.shiftKey=void 0,this.altKey=void 0,this.metaKey=void 0,this.page=void 0,this.client=void 0,this.delta=void 0,this.rect=void 0,this.x0=void 0,this.y0=void 0,this.t0=void 0,this.dt=void 0,this.duration=void 0,this.clientX0=void 0,this.clientY0=void 0,this.velocity=void 0,this.speed=void 0,this.swipe=void 0,this.timeStamp=void 0,this.axes=void 0,this.preEnd=void 0,r=r||t.element;const a=t.interactable,c=(a&&a.options||Xt).deltaSource,l=$t(a,r,n),u="start"===i,h="end"===i,d=u?this:t.prevEvent,f=u?t.coords.start:h?{page:d.page,client:d.client,timeStamp:t.coords.cur.timeStamp}:t.coords.cur;this.page=vt({},f.page),this.client=vt({},f.client),this.rect=vt({},t.rect),this.timeStamp=f.timeStamp,h||(this.page.x-=l.x,this.page.y-=l.y,this.client.x-=l.x,this.client.y-=l.y),this.ctrlKey=e.ctrlKey,this.altKey=e.altKey,this.shiftKey=e.shiftKey,this.metaKey=e.metaKey,this.button=e.button,this.buttons=e.buttons,this.target=r,this.currentTarget=r,this.preEnd=o,this.type=s||n+(i||""),this.interactable=a,this.t0=u?t.pointers[t.pointers.length-1].downTime:d.t0,this.x0=t.coords.start.page.x-l.x,this.y0=t.coords.start.page.y-l.y,this.clientX0=t.coords.start.client.x-l.x,this.clientY0=t.coords.start.client.y-l.y,this.delta=u||h?{x:0,y:0}:{x:this[c].x-d[c].x,y:this[c].y-d[c].y},this.dt=t.coords.delta.timeStamp,this.duration=this.timeStamp-this.t0,this.velocity=vt({},t.coords.velocity[c]),this.speed=Gt(this.velocity.x,this.velocity.y),this.swipe=h||"inertiastart"===i?this.getSwipe():null}getSwipe(){const t=this._interaction;if(t.prevEvent.speed<600||this.timeStamp-t.prevEvent.timeStamp>150)return null;let e=180*Math.atan2(t.prevEvent.velocityY,t.prevEvent.velocityX)/Math.PI;const n=22.5;e<0&&(e+=360);const i=135-n<=e&&e<225+n,r=225-n<=e&&e<315+n,o=!i&&(315-n<=e||e<45+n),s=!r&&45-n<=e&&e<135+n;return{up:r,down:s,left:i,right:o,angle:e,speed:t.prevEvent.speed,velocity:{x:t.prevEvent.velocityX,y:t.prevEvent.velocityY}}}preventDefault(){}stopImmediatePropagation(){this.immediatePropagationStopped=this.propagationStopped=!0}stopPropagation(){this.propagationStopped=!0}}function Vt(t,e){if(e.phaselessTypes[t])return!0;for(const n in e.map)if(0===t.indexOf(n)&&t.substr(n.length)in e.phases)return!0;return!1}Object.defineProperties(qt.prototype,{pageX:{get(){return this.page.x},set(t){this.page.x=t}},pageY:{get(){return this.page.y},set(t){this.page.y=t}},clientX:{get(){return this.client.x},set(t){this.client.x=t}},clientY:{get(){return this.client.y},set(t){this.client.y=t}},dx:{get(){return this.delta.x},set(t){this.delta.x=t}},dy:{get(){return this.delta.y},set(t){this.delta.y=t}},velocityX:{get(){return this.velocity.x},set(t){this.velocity.x=t}},velocityY:{get(){return this.velocity.y},set(t){this.velocity.y=t}}});class Ut{get _defaults(){return{base:{},perAction:{},actions:{}}}constructor(t,e,n,i){this.options=void 0,this._actions=void 0,this.target=void 0,this.events=new Mt,this._context=void 0,this._win=void 0,this._doc=void 0,this._scopeEvents=void 0,this._rectChecker=void 0,this._actions=e.actions,this.target=t,this._context=e.context||n,this._win=Z(Ct(t)?this._context:t),this._doc=this._win.document,this._scopeEvents=i,this.set(e)}setOnEvents(t,e){return at.func(e.onstart)&&this.on(t+"start",e.onstart),at.func(e.onmove)&&this.on(t+"move",e.onmove),at.func(e.onend)&&this.on(t+"end",e.onend),at.func(e.oninertiastart)&&this.on(t+"inertiastart",e.oninertiastart),this}updatePerActionListeners(t,e,n){(at.array(e)||at.object(e))&&this.off(t,e),(at.array(n)||at.object(n))&&this.on(t,n)}setPerAction(t,e){const n=this._defaults;for(const i in e){const r=i,o=this.options[t],s=e[r];"listeners"===r&&this.updatePerActionListeners(t,o.listeners,s),at.array(s)?o[r]=ft(s):at.plainObject(s)?(o[r]=vt(o[r]||{},mt(s)),at.object(n.perAction[r])&&"enabled"in n.perAction[r]&&(o[r].enabled=!1!==s.enabled)):at.bool(s)&&at.object(n.perAction[r])?o[r].enabled=s:o[r]=s}}getRect(t){return t=t||(at.element(this.target)?this.target:null),at.string(this.target)&&(t=t||this._context.querySelector(this.target)),jt(t)}rectChecker(t){return at.func(t)?(this._rectChecker=t,this.getRect=t=>{const e=vt({},this._rectChecker(t));return"width"in e||(e.width=e.right-e.left,e.height=e.bottom-e.top),e},this):null===t?(delete this.getRect,delete this._rectChecker,this):this.getRect}_backCompatOption(t,e){if(Ct(e)||at.object(e)){this.options[t]=e;for(const n in this._actions.map)this.options[n][t]=e;return this}return this.options[t]}origin(t){return this._backCompatOption("origin",t)}deltaSource(t){return"page"===t||"client"===t?(this.options.deltaSource=t,this):this.options.deltaSource}context(){return this._context}inContext(t){return this._context===t.ownerDocument||Ot(this._context,t)}testIgnoreAllow(t,e,n){return!this.testIgnore(t.ignoreFrom,e,n)&&this.testAllow(t.allowFrom,e,n)}testAllow(t,e,n){return!t||!!at.element(n)&&(at.string(t)?_t(n,t,e):!!at.element(t)&&Ot(t,n))}testIgnore(t,e,n){return!(!t||!at.element(n))&&(at.string(t)?_t(n,t,e):!!at.element(t)&&Ot(t,n))}fire(t){return this.events.fire(t),this}_onOff(t,e,n,i){at.object(e)&&!at.array(e)&&(i=n,n=null);const r="on"===t?"add":"remove",o=Et(e,n);for(let s in o){"wheel"===s&&(s=ut.wheelEvent);for(const e of o[s])Vt(s,this._actions)?this.events[t](s,e):at.string(this.target)?this._scopeEvents[r+"Delegate"](this.target,this._context,s,e,i):this._scopeEvents[r](this.target,s,e,i)}return this}on(t,e,n){return this._onOff("on",t,e,n)}off(t,e,n){return this._onOff("off",t,e,n)}set(t){const e=this._defaults;at.object(t)||(t={}),this.options=mt(e.base);for(const n in this._actions.methodDict){const i=n,r=this._actions.methodDict[i];this.options[i]={},this.setPerAction(i,vt(vt({},e.perAction),e.actions[i])),this[r](t[i])}for(const n in t)at.func(this[n])&&this[n](t[n]);return this}unset(){if(at.string(this.target))for(const t in this._scopeEvents.delegatedEvents){const e=this._scopeEvents.delegatedEvents[t];for(let n=e.length-1;n>=0;n--){const{selector:i,context:r,listeners:o}=e[n];i===this.target&&r===this._context&&e.splice(n,1);for(let e=o.length-1;e>=0;e--)this._scopeEvents.removeDelegate(this.target,this._context,t,o[e][0],o[e][1])}}else this._scopeEvents.remove(this.target,"all")}}class Zt{constructor(t){this.list=[],this.selectorMap={},this.scope=void 0,this.scope=t,t.addListeners({"interactable:unset":({interactable:t})=>{const{target:e,_context:n}=t,i=at.string(e)?this.selectorMap[e]:e[this.scope.id],r=pt(i,t=>t.context===n);i[r]&&(i[r].context=null,i[r].interactable=null),i.splice(r,1)}})}new(t,e){e=vt(e||{},{actions:this.scope.actions});const n=new this.scope.Interactable(t,e,this.scope.document,this.scope.events),i={context:n._context,interactable:n};return this.scope.addDocument(n._doc),this.list.push(n),at.string(t)?(this.selectorMap[t]||(this.selectorMap[t]=[]),this.selectorMap[t].push(i)):(n.target[this.scope.id]||Object.defineProperty(t,this.scope.id,{value:[],configurable:!0}),t[this.scope.id].push(i)),this.scope.fire("interactable:new",{target:t,options:e,interactable:n,win:this.scope._win}),n}get(t,e){const n=e&&e.context||this.scope.document,i=at.string(t),r=i?this.selectorMap[t]:t[this.scope.id];if(!r)return null;const o=gt(r,e=>e.context===n&&(i||e.interactable.inContext(t)));return o&&o.interactable}forEachMatch(t,e){for(const n of this.list){let i;if((at.string(n.target)?at.element(t)&&Dt(t,n.target):t===n.target)&&n.inContext(t)&&(i=e(n)),void 0!==i)return i}}}function Kt(t,e){for(const n in e){const i=Kt.prefixedPropREs;let r=!1;for(const t in i)if(0===n.indexOf(t)&&i[t].test(n)){r=!0;break}r||"function"===typeof e[n]||(t[n]=e[n])}return t}Kt.prefixedPropREs={webkit:/(Movement[XY]|Radius[XY]|RotationAngle|Force)$/,moz:/(Pressure)$/};var Jt=Kt;function Qt(t,e){t.page=t.page||{},t.page.x=e.page.x,t.page.y=e.page.y,t.client=t.client||{},t.client.x=e.client.x,t.client.y=e.client.y,t.timeStamp=e.timeStamp}function te(t,e,n){t.page.x=n.page.x-e.page.x,t.page.y=n.page.y-e.page.y,t.client.x=n.client.x-e.client.x,t.client.y=n.client.y-e.client.y,t.timeStamp=n.timeStamp-e.timeStamp}function ee(t,e){const n=Math.max(e.timeStamp/1e3,.001);t.page.x=e.page.x/n,t.page.y=e.page.y/n,t.client.x=e.client.x/n,t.client.y=e.client.y/n,t.timeStamp=n}function ne(t){t.page.x=0,t.page.y=0,t.client.x=0,t.client.y=0}function ie(t){return t instanceof G.Event||t instanceof G.Touch}function re(t,e,n){return n=n||{},t=t||"page",n.x=e[t+"X"],n.y=e[t+"Y"],n}function oe(t,e){return e=e||{x:0,y:0},ut.isOperaMobile&&ie(t)?(re("screen",t,e),e.x+=window.scrollX,e.y+=window.scrollY):re("page",t,e),e}function se(t,e){return e=e||{},ut.isOperaMobile&&ie(t)?re("screen",t,e):re("client",t,e),e}function ae(t){return at.number(t.pointerId)?t.pointerId:t.identifier}function ce(t,e,n){const i=e.length>1?ue(e):e[0];oe(i,t.page),se(i,t.client),t.timeStamp=n}function le(t){const e=[];return at.array(t)?(e[0]=t[0],e[1]=t[1]):"touchend"===t.type?1===t.touches.length?(e[0]=t.touches[0],e[1]=t.changedTouches[0]):0===t.touches.length&&(e[0]=t.changedTouches[0],e[1]=t.changedTouches[1]):(e[0]=t.touches[0],e[1]=t.touches[1]),e}function ue(t){const e={pageX:0,pageY:0,clientX:0,clientY:0,screenX:0,screenY:0};for(const n of t)for(const t in e)e[t]+=n[t];for(const n in e)e[n]/=t.length;return e}function he(t){if(!t.length)return null;const e=le(t),n=Math.min(e[0].pageX,e[1].pageX),i=Math.min(e[0].pageY,e[1].pageY),r=Math.max(e[0].pageX,e[1].pageX),o=Math.max(e[0].pageY,e[1].pageY);return{x:n,y:i,left:n,top:i,right:r,bottom:o,width:r-n,height:o-i}}function de(t,e){const n=e+"X",i=e+"Y",r=le(t),o=r[0][n]-r[1][n],s=r[0][i]-r[1][i];return Gt(o,s)}function fe(t,e){const n=e+"X",i=e+"Y",r=le(t),o=r[1][n]-r[0][n],s=r[1][i]-r[0][i],a=180*Math.atan2(s,o)/Math.PI;return a}function pe(t){return at.string(t.pointerType)?t.pointerType:at.number(t.pointerType)?[void 0,void 0,"touch","pen","mouse"][t.pointerType]:/touch/.test(t.type)||t instanceof G.Touch?"touch":"mouse"}function ge(t){const e=at.func(t.composedPath)?t.composedPath():t.path;return[kt(e?e[0]:t.target),kt(t.currentTarget)]}function me(){return{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0}}function ve(t){const e=[],n={},i=[],r={add:o,remove:s,addDelegate:a,removeDelegate:c,delegateListener:l,delegateUseCapture:u,delegatedEvents:n,documents:i,targets:e,supportsOptions:!1,supportsPassive:!1};function o(t,n,i,o){const s=be(o);let a=gt(e,e=>e.eventTarget===t);a||(a={eventTarget:t,events:{}},e.push(a)),a.events[n]||(a.events[n]=[]),t.addEventListener&&!ht(a.events[n],i)&&(t.addEventListener(n,i,r.supportsOptions?s:s.capture),a.events[n].push(i))}function s(t,n,i,o){const a=be(o),c=pt(e,e=>e.eventTarget===t),l=e[c];if(!l||!l.events)return;if("all"===n){for(n in l.events)l.events.hasOwnProperty(n)&&s(t,n,"all");return}let u=!1;const h=l.events[n];if(h){if("all"===i){for(let e=h.length-1;e>=0;e--)s(t,n,h[e],a);return}for(let e=0;e<h.length;e++)if(h[e]===i){t.removeEventListener(n,i,r.supportsOptions?a:a.capture),h.splice(e,1),0===h.length&&(delete l.events[n],u=!0);break}}u&&!Object.keys(l.events).length&&e.splice(c,1)}function a(t,e,r,s,a){const c=be(a);if(!n[r]){n[r]=[];for(const t of i)o(t,r,l),o(t,r,u,!0)}const h=n[r];let d=gt(h,n=>n.selector===t&&n.context===e);d||(d={selector:t,context:e,listeners:[]},h.push(d)),d.listeners.push([s,c])}function c(t,e,i,r,o){const a=be(o),c=n[i];let h,d=!1;if(c)for(h=c.length-1;h>=0;h--){const n=c[h];if(n.selector===t&&n.context===e){const{listeners:t}=n;for(let n=t.length-1;n>=0;n--){const[o,{capture:f,passive:p}]=t[n];if(o===r&&f===a.capture&&p===a.passive){t.splice(n,1),t.length||(c.splice(h,1),s(e,i,l),s(e,i,u,!0)),d=!0;break}}if(d)break}}}function l(t,e){const i=be(e),r=new ye(t),o=n[t.type],[s]=ge(t);let a=s;while(at.element(a)){for(let t=0;t<o.length;t++){const e=o[t],{selector:n,context:c}=e;if(Dt(a,n)&&Ot(c,s)&&Ot(c,a)){const{listeners:t}=e;r.currentTarget=a;for(const[e,{capture:n,passive:o}]of t)n===i.capture&&o===i.passive&&e(r)}}a=Pt(a)}}function u(t){return l.call(this,t,!0)}return t.document.createElement("div").addEventListener("test",null,{get capture(){return r.supportsOptions=!0},get passive(){return r.supportsPassive=!0}}),t.events=r,r}class ye{constructor(t){this.currentTarget=void 0,this.originalEvent=void 0,this.type=void 0,this.originalEvent=t,Jt(this,t)}preventOriginalDefault(){this.originalEvent.preventDefault()}stopPropagation(){this.originalEvent.stopPropagation()}stopImmediatePropagation(){this.originalEvent.stopImmediatePropagation()}}function be(t){if(!at.object(t))return{capture:!!t,passive:!1};const e=vt({},t);return e.capture=!!t.capture,e.passive=!!t.passive,e}var xe={id:"events",install:ve};function we(t,e){let n=!1;return function(){return n||(V.console.warn(e),n=!0),t.apply(this,arguments)}}function Se(t,e){return t.name=e.name,t.axis=e.axis,t.edges=e.edges,t}function Ee(t){const e=(n,i)=>{let r=t.interactables.get(n,i);return r||(r=t.interactables.new(n,i),r.events.global=e.globalEvents),r};return e.getPointerAverage=ue,e.getTouchBBox=he,e.getTouchDistance=de,e.getTouchAngle=fe,e.getElementRect=jt,e.getElementClientRect=Rt,e.matchesSelector=Dt,e.closest=It,e.globalEvents={},e.version="1.10.2",e.scope=t,e.use=function(t,e){return this.scope.usePlugin(t,e),this},e.isSet=function(t,e){return!!this.scope.interactables.get(t,e&&e.context)},e.on=we((function(t,e,n){if(at.string(t)&&-1!==t.search(" ")&&(t=t.trim().split(/ +/)),at.array(t)){for(const i of t)this.on(i,e,n);return this}if(at.object(t)){for(const n in t)this.on(n,t[n],e);return this}return Vt(t,this.scope.actions)?this.globalEvents[t]?this.globalEvents[t].push(e):this.globalEvents[t]=[e]:this.scope.events.add(this.scope.document,t,e,{options:n}),this}),"The interact.on() method is being deprecated"),e.off=we((function(t,e,n){if(at.string(t)&&-1!==t.search(" ")&&(t=t.trim().split(/ +/)),at.array(t)){for(const i of t)this.off(i,e,n);return this}if(at.object(t)){for(const n in t)this.off(n,t[n],e);return this}if(Vt(t,this.scope.actions)){let n;t in this.globalEvents&&-1!==(n=this.globalEvents[t].indexOf(e))&&this.globalEvents[t].splice(n,1)}else this.scope.events.remove(this.scope.document,t,e,n);return this}),"The interact.off() method is being deprecated"),e.debug=function(){return this.scope},e.supportsTouch=function(){return ut.supportsTouch},e.supportsPointerEvent=function(){return ut.supportsPointerEvent},e.stop=function(){for(const t of this.scope.interactions.list)t.stop();return this},e.pointerMoveTolerance=function(t){return at.number(t)?(this.scope.interactions.pointerMoveTolerance=t,this):this.scope.interactions.pointerMoveTolerance},e.addDocument=function(t,e){this.scope.addDocument(t,e)},e.removeDocument=function(t){this.scope.removeDocument(t)},e}class Te{constructor(t,e,n,i,r){this.id=void 0,this.pointer=void 0,this.event=void 0,this.downTime=void 0,this.downTarget=void 0,this.id=t,this.pointer=e,this.event=n,this.downTime=i,this.downTarget=r}}let ze,Me;(function(t){t["interactable"]="",t["element"]="",t["prepared"]="",t["pointerIsDown"]="",t["pointerWasMoved"]="",t["_proxy"]=""})(ze||(ze={})),function(t){t["start"]="",t["move"]="",t["end"]="",t["stop"]="",t["interacting"]=""}(Me||(Me={}));let Oe=0;class Ie{get pointerMoveTolerance(){return 1}constructor({pointerType:t,scopeFire:e}){this.interactable=null,this.element=null,this.rect=void 0,this._rects=void 0,this.edges=void 0,this._scopeFire=void 0,this.prepared={name:null,axis:null,edges:null},this.pointerType=void 0,this.pointers=[],this.downEvent=null,this.downPointer={},this._latestPointer={pointer:null,event:null,eventTarget:null},this.prevEvent=null,this.pointerIsDown=!1,this.pointerWasMoved=!1,this._interacting=!1,this._ending=!1,this._stopped=!0,this._proxy=null,this.simulation=null,this.doMove=we((function(t){this.move(t)}),"The interaction.doMove() method has been renamed to interaction.move()"),this.coords={start:me(),prev:me(),cur:me(),delta:me(),velocity:me()},this._id=Oe++,this._scopeFire=e,this.pointerType=t;const n=this;this._proxy={};for(const i in ze)Object.defineProperty(this._proxy,i,{get(){return n[i]}});for(const i in Me)Object.defineProperty(this._proxy,i,{value:(...t)=>n[i](...t)});this._scopeFire("interactions:new",{interaction:this})}pointerDown(t,e,n){const i=this.updatePointer(t,e,n,!0),r=this.pointers[i];this._scopeFire("interactions:down",{pointer:t,event:e,eventTarget:n,pointerIndex:i,pointerInfo:r,type:"down",interaction:this})}start(t,e,n){return!(this.interacting()||!this.pointerIsDown||this.pointers.length<("gesture"===t.name?2:1)||!e.options[t.name].enabled)&&(Se(this.prepared,t),this.interactable=e,this.element=n,this.rect=e.getRect(n),this.edges=this.prepared.edges?vt({},this.prepared.edges):{left:!0,right:!0,top:!0,bottom:!0},this._stopped=!1,this._interacting=this._doPhase({interaction:this,event:this.downEvent,phase:"start"})&&!this._stopped,this._interacting)}pointerMove(t,e,n){this.simulation||this.modification&&this.modification.endResult||this.updatePointer(t,e,n,!1);const i=this.coords.cur.page.x===this.coords.prev.page.x&&this.coords.cur.page.y===this.coords.prev.page.y&&this.coords.cur.client.x===this.coords.prev.client.x&&this.coords.cur.client.y===this.coords.prev.client.y;let r,o;this.pointerIsDown&&!this.pointerWasMoved&&(r=this.coords.cur.client.x-this.coords.start.client.x,o=this.coords.cur.client.y-this.coords.start.client.y,this.pointerWasMoved=Gt(r,o)>this.pointerMoveTolerance);const s=this.getPointerIndex(t),a={pointer:t,pointerIndex:s,pointerInfo:this.pointers[s],event:e,type:"move",eventTarget:n,dx:r,dy:o,duplicate:i,interaction:this};i||ee(this.coords.velocity,this.coords.delta),this._scopeFire("interactions:move",a),i||this.simulation||(this.interacting()&&(a.type=null,this.move(a)),this.pointerWasMoved&&Qt(this.coords.prev,this.coords.cur))}move(t){t&&t.event||ne(this.coords.delta),t=vt({pointer:this._latestPointer.pointer,event:this._latestPointer.event,eventTarget:this._latestPointer.eventTarget,interaction:this},t||{}),t.phase="move",this._doPhase(t)}pointerUp(t,e,n,i){let r=this.getPointerIndex(t);-1===r&&(r=this.updatePointer(t,e,n,!1));const o=/cancel$/i.test(e.type)?"cancel":"up";this._scopeFire("interactions:"+o,{pointer:t,pointerIndex:r,pointerInfo:this.pointers[r],event:e,eventTarget:n,type:o,curEventTarget:i,interaction:this}),this.simulation||this.end(e),this.removePointer(t,e)}documentBlur(t){this.end(t),this._scopeFire("interactions:blur",{event:t,type:"blur",interaction:this})}end(t){let e;this._ending=!0,t=t||this._latestPointer.event,this.interacting()&&(e=this._doPhase({event:t,interaction:this,phase:"end"})),this._ending=!1,!0===e&&this.stop()}currentAction(){return this._interacting?this.prepared.name:null}interacting(){return this._interacting}stop(){this._scopeFire("interactions:stop",{interaction:this}),this.interactable=this.element=null,this._interacting=!1,this._stopped=!0,this.prepared.name=this.prevEvent=null}getPointerIndex(t){const e=ae(t);return"mouse"===this.pointerType||"pen"===this.pointerType?this.pointers.length-1:pt(this.pointers,t=>t.id===e)}getPointerInfo(t){return this.pointers[this.getPointerIndex(t)]}updatePointer(t,e,n,i){const r=ae(t);let o=this.getPointerIndex(t),s=this.pointers[o];return i=!1!==i&&(i||/(down|start)$/i.test(e.type)),s?s.pointer=t:(s=new Te(r,t,e,null,null),o=this.pointers.length,this.pointers.push(s)),ce(this.coords.cur,this.pointers.map(t=>t.pointer),this._now()),te(this.coords.delta,this.coords.prev,this.coords.cur),i&&(this.pointerIsDown=!0,s.downTime=this.coords.cur.timeStamp,s.downTarget=n,Jt(this.downPointer,t),this.interacting()||(Qt(this.coords.start,this.coords.cur),Qt(this.coords.prev,this.coords.cur),this.downEvent=e,this.pointerWasMoved=!1)),this._updateLatestPointer(t,e,n),this._scopeFire("interactions:update-pointer",{pointer:t,event:e,eventTarget:n,down:i,pointerInfo:s,pointerIndex:o,interaction:this}),o}removePointer(t,e){const n=this.getPointerIndex(t);if(-1===n)return;const i=this.pointers[n];this._scopeFire("interactions:remove-pointer",{pointer:t,event:e,eventTarget:null,pointerIndex:n,pointerInfo:i,interaction:this}),this.pointers.splice(n,1),this.pointerIsDown=!1}_updateLatestPointer(t,e,n){this._latestPointer.pointer=t,this._latestPointer.event=e,this._latestPointer.eventTarget=n}destroy(){this._latestPointer.pointer=null,this._latestPointer.event=null,this._latestPointer.eventTarget=null}_createPreparedEvent(t,e,n,i){return new qt(this,t,this.prepared.name,e,this.element,n,i)}_fireEvent(t){this.interactable.fire(t),(!this.prevEvent||t.timeStamp>=this.prevEvent.timeStamp)&&(this.prevEvent=t)}_doPhase(t){const{event:e,phase:n,preEnd:i,type:r}=t,{rect:o}=this;o&&"move"===n&&(Ft(this.edges,o,this.coords.delta[this.interactable.options.deltaSource]),o.width=o.right-o.left,o.height=o.bottom-o.top);const s=this._scopeFire("interactions:before-action-"+n,t);if(!1===s)return!1;const a=t.iEvent=this._createPreparedEvent(e,n,i,r);return this._scopeFire("interactions:action-"+n,t),"start"===n&&(this.prevEvent=a),this._fireEvent(a),this._scopeFire("interactions:after-action-"+n,t),!0}_now(){return Date.now()}}var Pe=Ie;function De(t){return/^(always|never|auto)$/.test(t)?(this.options.preventDefault=t,this):at.bool(t)?(this.options.preventDefault=t?"always":"never",this):this.options.preventDefault}function _e(t,e,n){const i=t.options.preventDefault;if("never"!==i)if("always"!==i){if(e.events.supportsPassive&&/^touch(start|move)$/.test(n.type)){const t=Z(n.target).document,i=e.getDocOptions(t);if(!i||!i.events||!1!==i.events.passive)return}/^(mouse|pointer|touch)*(down|start)/i.test(n.type)||at.element(n.target)&&Dt(n.target,"input,select,textarea,[contenteditable=true],[contenteditable=true] *")||n.preventDefault()}else n.preventDefault()}function ke({interaction:t,event:e}){t.interactable&&t.interactable.checkAndPreventDefault(e)}function Ae(t){const{Interactable:e}=t;e.prototype.preventDefault=De,e.prototype.checkAndPreventDefault=function(e){return _e(this,t,e)},t.interactions.docEvents.push({type:"dragstart",listener(e){for(const n of t.interactions.list)if(n.element&&(n.element===e.target||Ot(n.element,e.target)))return void n.interactable.checkAndPreventDefault(e)}})}var Re={id:"core/interactablePreventDefault",install:Ae,listeners:["down","move","up","cancel"].reduce((t,e)=>(t["interactions:"+e]=ke,t),{})};const je={methodOrder:["simulationResume","mouseOrPen","hasPointer","idle"],search(t){for(const e of je.methodOrder){const n=je[e](t);if(n)return n}return null},simulationResume({pointerType:t,eventType:e,eventTarget:n,scope:i}){if(!/down|start/i.test(e))return null;for(const r of i.interactions.list){let e=n;if(r.simulation&&r.simulation.allowResume&&r.pointerType===t)while(e){if(e===r.element)return r;e=Pt(e)}}return null},mouseOrPen({pointerId:t,pointerType:e,eventType:n,scope:i}){if("mouse"!==e&&"pen"!==e)return null;let r;for(const o of i.interactions.list)if(o.pointerType===e){if(o.simulation&&!Ce(o,t))continue;if(o.interacting())return o;r||(r=o)}if(r)return r;for(const o of i.interactions.list)if(o.pointerType===e&&(!/down/i.test(n)||!o.simulation))return o;return null},hasPointer({pointerId:t,scope:e}){for(const n of e.interactions.list)if(Ce(n,t))return n;return null},idle({pointerType:t,scope:e}){for(const n of e.interactions.list){if(1===n.pointers.length){const t=n.interactable;if(t&&(!t.options.gesture||!t.options.gesture.enabled))continue}else if(n.pointers.length>=2)continue;if(!n.interacting()&&t===n.pointerType)return n}return null}};function Ce(t,e){return t.pointers.some(({id:t})=>t===e)}var He=je;const Le=["pointerDown","pointerMove","pointerUp","updatePointer","removePointer","windowBlur"];function Ne(t){const e={};for(const o of Le)e[o]=We(o,t);const n=ut.pEventTypes;let i;function r(){for(const e of t.interactions.list)if(e.pointerIsDown&&"touch"===e.pointerType&&!e._interacting)for(const n of e.pointers)t.documents.some(({doc:t})=>Ot(t,n.downTarget))||e.removePointer(n.pointer,n.event)}i=G.PointerEvent?[{type:n.down,listener:r},{type:n.down,listener:e.pointerDown},{type:n.move,listener:e.pointerMove},{type:n.up,listener:e.pointerUp},{type:n.cancel,listener:e.pointerUp}]:[{type:"mousedown",listener:e.pointerDown},{type:"mousemove",listener:e.pointerMove},{type:"mouseup",listener:e.pointerUp},{type:"touchstart",listener:r},{type:"touchstart",listener:e.pointerDown},{type:"touchmove",listener:e.pointerMove},{type:"touchend",listener:e.pointerUp},{type:"touchcancel",listener:e.pointerUp}],i.push({type:"blur",listener(e){for(const n of t.interactions.list)n.documentBlur(e)}}),t.prevTouchTime=0,t.Interaction=class extends Pe{get pointerMoveTolerance(){return t.interactions.pointerMoveTolerance}set pointerMoveTolerance(e){t.interactions.pointerMoveTolerance=e}_now(){return t.now()}},t.interactions={list:[],new(e){e.scopeFire=(e,n)=>t.fire(e,n);const n=new t.Interaction(e);return t.interactions.list.push(n),n},listeners:e,docEvents:i,pointerMoveTolerance:1},t.usePlugin(Re)}function We(t,e){return function(n){const i=e.interactions.list,r=pe(n),[o,s]=ge(n),a=[];if(/^touch/.test(n.type)){e.prevTouchTime=e.now();for(const t of n.changedTouches){const i=t,c=ae(i),l={pointer:i,pointerId:c,pointerType:r,eventType:n.type,eventTarget:o,curEventTarget:s,scope:e},u=Be(l);a.push([l.pointer,l.eventTarget,l.curEventTarget,u])}}else{let t=!1;if(!ut.supportsPointerEvent&&/mouse/.test(n.type)){for(let e=0;e<i.length&&!t;e++)t="mouse"!==i[e].pointerType&&i[e].pointerIsDown;t=t||e.now()-e.prevTouchTime<500||0===n.timeStamp}if(!t){const t={pointer:n,pointerId:ae(n),pointerType:r,eventType:n.type,curEventTarget:s,eventTarget:o,scope:e},i=Be(t);a.push([t.pointer,t.eventTarget,t.curEventTarget,i])}}for(const[e,c,l,u]of a)u[t](e,n,c,l)}}function Be(t){const{pointerType:e,scope:n}=t,i=He.search(t),r={interaction:i,searchDetails:t};return n.fire("interactions:find",r),r.interaction||n.interactions.new({pointerType:e})}function Fe({doc:t,scope:e,options:n},i){const{interactions:{docEvents:r},events:o}=e,s=o[i];e.browser.isIOS&&!n.events&&(n.events={passive:!1});for(const c in o.delegatedEvents)s(t,c,o.delegateListener),s(t,c,o.delegateUseCapture,!0);const a=n&&n.events;for(const{type:c,listener:l}of r)s(t,c,l,a)}const $e={id:"core/interactions",install:Ne,listeners:{"scope:add-document":t=>Fe(t,"add"),"scope:remove-document":t=>Fe(t,"remove"),"interactable:unset":({interactable:t},e)=>{for(let n=e.interactions.list.length-1;n>=0;n--){const i=e.interactions.list[n];i.interactable===t&&(i.stop(),e.fire("interactions:destroy",{interaction:i}),i.destroy(),e.interactions.list.length>2&&e.interactions.list.splice(n,1))}}},onDocSignal:Fe,doOnInteractions:We,methodNames:Le};var Ge=$e;class Ye{constructor(){this.id="__interact_scope_"+Math.floor(100*Math.random()),this.isInitialized=!1,this.listenerMaps=[],this.browser=ut,this.defaults=mt(Xt),this.Eventable=Mt,this.actions={map:{},phases:{start:!0,move:!0,end:!0},methodDict:{},phaselessTypes:{}},this.interactStatic=Ee(this),this.InteractEvent=qt,this.Interactable=void 0,this.interactables=new Zt(this),this._win=void 0,this.document=void 0,this.window=void 0,this.documents=[],this._plugins={list:[],map:{}},this.onWindowUnload=t=>this.removeDocument(t.target);const t=this;this.Interactable=class extends Ut{get _defaults(){return t.defaults}set(e){return super.set(e),t.fire("interactable:set",{options:e,interactable:this}),this}unset(){super.unset(),t.interactables.list.splice(t.interactables.list.indexOf(this),1),t.fire("interactable:unset",{interactable:this})}}}addListeners(t,e){this.listenerMaps.push({id:e,map:t})}fire(t,e){for(const{map:{[t]:n}}of this.listenerMaps)if(n&&!1===n(e,this,t))return!1}init(t){return this.isInitialized?this:Xe(this,t)}pluginIsInstalled(t){return this._plugins.map[t.id]||-1!==this._plugins.list.indexOf(t)}usePlugin(t,e){if(!this.isInitialized)return this;if(this.pluginIsInstalled(t))return this;if(t.id&&(this._plugins.map[t.id]=t),this._plugins.list.push(t),t.install&&t.install(this,e),t.listeners&&t.before){let e=0;const n=this.listenerMaps.length,i=t.before.reduce((t,e)=>(t[e]=!0,t[qe(e)]=!0,t),{});for(;e<n;e++){const t=this.listenerMaps[e].id;if(i[t]||i[qe(t)])break}this.listenerMaps.splice(e,0,{id:t.id,map:t.listeners})}else t.listeners&&this.listenerMaps.push({id:t.id,map:t.listeners});return this}addDocument(t,e){if(-1!==this.getDocIndex(t))return!1;const n=Z(t);e=e?vt({},e):{},this.documents.push({doc:t,options:e}),this.events.documents.push(t),t!==this.document&&this.events.add(n,"unload",this.onWindowUnload),this.fire("scope:add-document",{doc:t,window:n,scope:this,options:e})}removeDocument(t){const e=this.getDocIndex(t),n=Z(t),i=this.documents[e].options;this.events.remove(n,"unload",this.onWindowUnload),this.documents.splice(e,1),this.events.documents.splice(e,1),this.fire("scope:remove-document",{doc:t,window:n,scope:this,options:i})}getDocIndex(t){for(let e=0;e<this.documents.length;e++)if(this.documents[e].doc===t)return e;return-1}getDocOptions(t){const e=this.getDocIndex(t);return-1===e?null:this.documents[e].options}now(){return(this.window.Date||Date).now()}}function Xe(t,e){return t.isInitialized=!0,U(e),G.init(e),ut.init(e),St.init(e),t.window=e,t.document=e.document,t.usePlugin(Ge),t.usePlugin(xe),t}function qe(t){return t&&t.replace(/\/.*$/,"")}const Ve=new Ye,Ue=Ve.interactStatic;var Ze=Ue;const Ke=t=>Ve.init(t);function Je(t){const{Interactable:e}=t;e.prototype.getAction=function(e,n,i,r){const o=Qe(this,n,i,r,t);return this.options.actionChecker?this.options.actionChecker(e,n,o,this,r,i):o},e.prototype.ignoreFrom=we((function(t){return this._backCompatOption("ignoreFrom",t)}),"Interactable.ignoreFrom() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue})."),e.prototype.allowFrom=we((function(t){return this._backCompatOption("allowFrom",t)}),"Interactable.allowFrom() has been deprecated. Use Interactble.draggable({allowFrom: newValue})."),e.prototype.actionChecker=en,e.prototype.styleCursor=tn}function Qe(t,e,n,i,r){const o=t.getRect(i),s=e.buttons||{0:1,1:4,3:8,4:16}[e.button],a={action:null,interactable:t,interaction:n,element:i,rect:o,buttons:s};return r.fire("auto-start:check",a),a.action}function tn(t){return at.bool(t)?(this.options.styleCursor=t,this):null===t?(delete this.options.styleCursor,this):this.options.styleCursor}function en(t){return at.func(t)?(this.options.actionChecker=t,this):null===t?(delete this.options.actionChecker,this):this.options.actionChecker}"object"===typeof window&&window&&Ke(window);var nn={id:"auto-start/interactableMethods",install:Je};function rn(t){const{interactStatic:e,defaults:n}=t;t.usePlugin(nn),n.base.actionChecker=null,n.base.styleCursor=!0,vt(n.perAction,{manualStart:!1,max:1/0,maxPerElement:1,allowFrom:null,ignoreFrom:null,mouseButtons:1}),e.maxInteractions=e=>pn(e,t),t.autoStart={maxInteractions:1/0,withinInteractionLimit:fn,cursorElement:null}}function on({interaction:t,pointer:e,event:n,eventTarget:i},r){if(t.interacting())return;const o=hn(t,e,n,i,r);dn(t,o,r)}function sn({interaction:t,pointer:e,event:n,eventTarget:i},r){if("mouse"!==t.pointerType||t.pointerIsDown||t.interacting())return;const o=hn(t,e,n,i,r);dn(t,o,r)}function an(t,e){const{interaction:n}=t;if(!n.pointerIsDown||n.interacting()||!n.pointerWasMoved||!n.prepared.name)return;e.fire("autoStart:before-start",t);const{interactable:i}=n,r=n.prepared.name;r&&i&&(i.options[r].manualStart||!fn(i,n.element,n.prepared,e)?n.stop():(n.start(n.prepared,i,n.element),mn(n,e)))}function cn({interaction:t},e){const{interactable:n}=t;n&&n.options.styleCursor&&gn(t.element,"",e)}function ln(t,e,n,i,r){return e.testIgnoreAllow(e.options[t.name],n,i)&&e.options[t.name].enabled&&fn(e,n,t,r)?t:null}function un(t,e,n,i,r,o,s){for(let a=0,c=i.length;a<c;a++){const c=i[a],l=r[a],u=c.getAction(e,n,t,l);if(!u)continue;const h=ln(u,c,l,o,s);if(h)return{action:h,interactable:c,element:l}}return{action:null,interactable:null,element:null}}function hn(t,e,n,i,r){let o=[],s=[],a=i;function c(t){o.push(t),s.push(a)}while(at.element(a)){o=[],s=[],r.interactables.forEachMatch(a,c);const l=un(t,e,n,o,s,i,r);if(l.action&&!l.interactable.options[l.action.name].manualStart)return l;a=Pt(a)}return{action:null,interactable:null,element:null}}function dn(t,{action:e,interactable:n,element:i},r){e=e||{name:null},t.interactable=n,t.element=i,Se(t.prepared,e),t.rect=n&&e.name?n.getRect(i):null,mn(t,r),r.fire("autoStart:prepared",{interaction:t})}function fn(t,e,n,i){const r=t.options,o=r[n.name].max,s=r[n.name].maxPerElement,a=i.autoStart.maxInteractions;let c=0,l=0,u=0;if(!(o&&s&&a))return!1;for(const h of i.interactions.list){const i=h.prepared.name;if(h.interacting()){if(c++,c>=a)return!1;if(h.interactable===t){if(l+=i===n.name?1:0,l>=o)return!1;if(h.element===e&&(u++,i===n.name&&u>=s))return!1}}}return a>0}function pn(t,e){return at.number(t)?(e.autoStart.maxInteractions=t,this):e.autoStart.maxInteractions}function gn(t,e,n){const{cursorElement:i}=n.autoStart;i&&i!==t&&(i.style.cursor=""),t.ownerDocument.documentElement.style.cursor=e,t.style.cursor=e,n.autoStart.cursorElement=e?t:null}function mn(t,e){const{interactable:n,element:i,prepared:r}=t;if("mouse"!==t.pointerType||!n||!n.options.styleCursor)return void(e.autoStart.cursorElement&&gn(e.autoStart.cursorElement,"",e));let o="";if(r.name){const s=n.options[r.name].cursorChecker;o=at.func(s)?s(r,n,i,t._interacting):e.actions.map[r.name].getCursor(r)}gn(t.element,o||"",e)}const vn={id:"auto-start/base",before:["actions"],install:rn,listeners:{"interactions:down":on,"interactions:move":(t,e)=>{sn(t,e),an(t,e)},"interactions:stop":cn},maxInteractions:pn,withinInteractionLimit:fn,validateAction:ln};var yn=vn;function bn({interaction:t,eventTarget:e,dx:n,dy:i},r){if("drag"!==t.prepared.name)return;const o=Math.abs(n),s=Math.abs(i),a=t.interactable.options.drag,c=a.startAxis,l=o>s?"x":o<s?"y":"xy";if(t.prepared.axis="start"===a.lockAxis?l[0]:a.lockAxis,"xy"!==l&&"xy"!==c&&c!==l){t.prepared.name=null;let n=e;const i=function(i){if(i===t.interactable)return;const o=t.interactable.options.drag;if(!o.manualStart&&i.testIgnoreAllow(o,n,e)){const o=i.getAction(t.downPointer,t.downEvent,t,n);if(o&&"drag"===o.name&&xn(l,i)&&yn.validateAction(o,i,n,e,r))return i}};while(at.element(n)){const e=r.interactables.forEachMatch(n,i);if(e){t.prepared.name="drag",t.interactable=e,t.element=n;break}n=Pt(n)}}}function xn(t,e){if(!e)return!1;const n=e.options.drag.startAxis;return"xy"===t||"xy"===n||n===t}var wn={id:"auto-start/dragAxis",listeners:{"autoStart:before-start":bn}};function Sn(t){const{defaults:e}=t;t.usePlugin(yn),e.perAction.hold=0,e.perAction.delay=0}function En(t){const e=t.prepared&&t.prepared.name;if(!e)return null;const n=t.interactable.options;return n[e].hold||n[e].delay}const Tn={id:"auto-start/hold",install:Sn,listeners:{"interactions:new":({interaction:t})=>{t.autoStartHoldTimer=null},"autoStart:prepared":({interaction:t})=>{const e=En(t);e>0&&(t.autoStartHoldTimer=setTimeout(()=>{t.start(t.prepared,t.interactable,t.element)},e))},"interactions:move":({interaction:t,duplicate:e})=>{t.autoStartHoldTimer&&t.pointerWasMoved&&!e&&(clearTimeout(t.autoStartHoldTimer),t.autoStartHoldTimer=null)},"autoStart:before-start":({interaction:t})=>{const e=En(t);e>0&&(t.prepared.name=null)}},getHoldDuration:En};var zn=Tn,Mn={id:"auto-start",install(t){t.usePlugin(yn),t.usePlugin(zn),t.usePlugin(wn)}};function On(t){const{actions:e,Interactable:n,defaults:i}=t;n.prototype.draggable=_n.draggable,e.map.drag=_n,e.methodDict.drag="draggable",i.actions.drag=_n.defaults}function In({interaction:t}){if("drag"!==t.prepared.name)return;const e=t.prepared.axis;"x"===e?(t.coords.cur.page.y=t.coords.start.page.y,t.coords.cur.client.y=t.coords.start.client.y,t.coords.velocity.client.y=0,t.coords.velocity.page.y=0):"y"===e&&(t.coords.cur.page.x=t.coords.start.page.x,t.coords.cur.client.x=t.coords.start.client.x,t.coords.velocity.client.x=0,t.coords.velocity.page.x=0)}function Pn({iEvent:t,interaction:e}){if("drag"!==e.prepared.name)return;const n=e.prepared.axis;if("x"===n||"y"===n){const i="x"===n?"y":"x";t.page[i]=e.coords.start.page[i],t.client[i]=e.coords.start.client[i],t.delta[i]=0}}"object"===typeof window&&window&&Ke(window),Ze.use(Mn);const Dn=function(t){return at.object(t)?(this.options.drag.enabled=!1!==t.enabled,this.setPerAction("drag",t),this.setOnEvents("drag",t),/^(xy|x|y|start)$/.test(t.lockAxis)&&(this.options.drag.lockAxis=t.lockAxis),/^(xy|x|y)$/.test(t.startAxis)&&(this.options.drag.startAxis=t.startAxis),this):at.bool(t)?(this.options.drag.enabled=t,this):this.options.drag},_n={id:"actions/drag",install:On,listeners:{"interactions:before-action-move":In,"interactions:action-resume":In,"interactions:action-move":Pn,"auto-start:check":t=>{const{interaction:e,interactable:n,buttons:i}=t,r=n.options.drag;if(r&&r.enabled&&(!e.pointerIsDown||!/mouse|pointer/.test(e.pointerType)||0!==(i&n.options.drag.mouseButtons)))return t.action={name:"drag",axis:"start"===r.lockAxis?r.startAxis:r.lockAxis},!1}},draggable:Dn,beforeMove:In,move:Pn,defaults:{startAxis:"xy",lockAxis:"xy"},getCursor(){return"move"}};var kn=_n;function An(t){const{actions:e,browser:n,Interactable:i,defaults:r}=t;Fn.cursors=Hn(n),Fn.defaultMargin=n.supportsTouch||n.supportsPointerEvent?20:10,i.prototype.resizable=function(e){return jn(this,e,t)},e.map.resize=Fn,e.methodDict.resize="resizable",r.actions.resize=Fn.defaults}function Rn(t){const{interaction:e,interactable:n,element:i,rect:r,buttons:o}=t;if(!r)return;const s=vt({},e.coords.cur.page),a=n.options.resize;if(a&&a.enabled&&(!e.pointerIsDown||!/mouse|pointer/.test(e.pointerType)||0!==(o&a.mouseButtons))){if(at.object(a.edges)){const n={left:!1,right:!1,top:!1,bottom:!1};for(const t in n)n[t]=Cn(t,a.edges[t],s,e._latestPointer.eventTarget,i,r,a.margin||Fn.defaultMargin);n.left=n.left&&!n.right,n.top=n.top&&!n.bottom,(n.left||n.right||n.top||n.bottom)&&(t.action={name:"resize",edges:n})}else{const e="y"!==a.axis&&s.x>r.right-Fn.defaultMargin,n="x"!==a.axis&&s.y>r.bottom-Fn.defaultMargin;(e||n)&&(t.action={name:"resize",axes:(e?"x":"")+(n?"y":"")})}return!t.action&&void 0}}function jn(t,e,n){return at.object(e)?(t.options.resize.enabled=!1!==e.enabled,t.setPerAction("resize",e),t.setOnEvents("resize",e),at.string(e.axis)&&/^x$|^y$|^xy$/.test(e.axis)?t.options.resize.axis=e.axis:null===e.axis&&(t.options.resize.axis=n.defaults.actions.resize.axis),at.bool(e.preserveAspectRatio)?t.options.resize.preserveAspectRatio=e.preserveAspectRatio:at.bool(e.square)&&(t.options.resize.square=e.square),t):at.bool(e)?(t.options.resize.enabled=e,t):t.options.resize}function Cn(t,e,n,i,r,o,s){if(!e)return!1;if(!0===e){const e=at.number(o.width)?o.width:o.right-o.left,i=at.number(o.height)?o.height:o.bottom-o.top;if(s=Math.min(s,Math.abs(("left"===t||"right"===t?e:i)/2)),e<0&&("left"===t?t="right":"right"===t&&(t="left")),i<0&&("top"===t?t="bottom":"bottom"===t&&(t="top")),"left"===t)return n.x<(e>=0?o.left:o.right)+s;if("top"===t)return n.y<(i>=0?o.top:o.bottom)+s;if("right"===t)return n.x>(e>=0?o.right:o.left)-s;if("bottom"===t)return n.y>(i>=0?o.bottom:o.top)-s}return!!at.element(i)&&(at.element(e)?e===i:_t(i,e,r))}function Hn(t){return t.isIe9?{x:"e-resize",y:"s-resize",xy:"se-resize",top:"n-resize",left:"w-resize",bottom:"s-resize",right:"e-resize",topleft:"se-resize",bottomright:"se-resize",topright:"ne-resize",bottomleft:"ne-resize"}:{x:"ew-resize",y:"ns-resize",xy:"nwse-resize",top:"ns-resize",left:"ew-resize",bottom:"ns-resize",right:"ew-resize",topleft:"nwse-resize",bottomright:"nwse-resize",topright:"nesw-resize",bottomleft:"nesw-resize"}}function Ln({iEvent:t,interaction:e}){if("resize"!==e.prepared.name||!e.prepared.edges)return;const n=t,i=e.rect;e._rects={start:vt({},i),corrected:vt({},i),previous:vt({},i),delta:{left:0,right:0,width:0,top:0,bottom:0,height:0}},n.edges=e.prepared.edges,n.rect=e._rects.corrected,n.deltaRect=e._rects.delta}function Nn({iEvent:t,interaction:e}){if("resize"!==e.prepared.name||!e.prepared.edges)return;const n=t,i=e.interactable.options.resize,r=i.invert,o="reposition"===r||"negate"===r,s=e.rect,{start:a,corrected:c,delta:l,previous:u}=e._rects;if(vt(u,c),o){if(vt(c,s),"reposition"===r){if(c.top>c.bottom){const t=c.top;c.top=c.bottom,c.bottom=t}if(c.left>c.right){const t=c.left;c.left=c.right,c.right=t}}}else c.top=Math.min(s.top,a.bottom),c.bottom=Math.max(s.bottom,a.top),c.left=Math.min(s.left,a.right),c.right=Math.max(s.right,a.left);c.width=c.right-c.left,c.height=c.bottom-c.top;for(const h in c)l[h]=c[h]-u[h];n.edges=e.prepared.edges,n.rect=c,n.deltaRect=l}function Wn({iEvent:t,interaction:e}){if("resize"!==e.prepared.name||!e.prepared.edges)return;const n=t;n.edges=e.prepared.edges,n.rect=e._rects.corrected,n.deltaRect=e._rects.delta}function Bn({iEvent:t,interaction:e}){if("resize"!==e.prepared.name||!e.resizeAxes)return;const n=e.interactable.options,i=t;n.resize.square?("y"===e.resizeAxes?i.delta.x=i.delta.y:i.delta.y=i.delta.x,i.axes="xy"):(i.axes=e.resizeAxes,"x"===e.resizeAxes?i.delta.y=0:"y"===e.resizeAxes&&(i.delta.x=0))}"object"===typeof window&&window&&Ke(window),Ze.use(kn);const Fn={id:"actions/resize",before:["actions/drag"],install:An,listeners:{"interactions:new":({interaction:t})=>{t.resizeAxes="xy"},"interactions:action-start":t=>{Ln(t),Bn(t)},"interactions:action-move":t=>{Nn(t),Bn(t)},"interactions:action-end":Wn,"auto-start:check":Rn},defaults:{square:!1,preserveAspectRatio:!1,axis:"xy",margin:NaN,edges:null,invert:"none"},cursors:null,getCursor({edges:t,axis:e,name:n}){const i=Fn.cursors;let r=null;if(e)r=i[n+e];else if(t){let e="";for(const n of["top","bottom","left","right"])t[n]&&(e+=n);r=i[e]}return r},defaultMargin:null};var $n=Fn;"object"===typeof window&&window&&Ke(window),Ze.use($n);var Gn=()=>{},Yn=()=>{},Xn=t=>{const e=[["x","y"],["left","top"],["right","bottom"],["width","height"]].filter(([e,n])=>e in t||n in t),n=(n,i)=>{const{range:r,limits:o={left:-1/0,right:1/0,top:-1/0,bottom:1/0},offset:s={x:0,y:0}}=t,a={range:r,grid:t,x:null,y:null};for(const[c,l]of e){const e=Math.round((n-s.x)/t[c]),r=Math.round((i-s.y)/t[l]);a[c]=Math.max(o.left,Math.min(o.right,e*t[c]+s.x)),a[l]=Math.max(o.top,Math.min(o.bottom,r*t[l]+s.y))}return a};return n.grid=t,n.coordFields=e,n};const qn={id:"snappers",install(t){const{interactStatic:e}=t;e.snappers=vt(e.snappers||{},i),e.createSnapGrid=e.snappers.grid}};var Vn=qn;class Un{constructor(t){this.states=[],this.startOffset={left:0,right:0,top:0,bottom:0},this.startDelta=null,this.result=null,this.endResult=null,this.edges=void 0,this.interaction=void 0,this.interaction=t,this.result=Zn()}start({phase:t},e){const{interaction:n}=this,i=Kn(n);this.prepareStates(i),this.edges=vt({},n.edges),this.startOffset=Jn(n.rect,e),this.startDelta={x:0,y:0};const r={phase:t,pageCoords:e,preEnd:!1};this.result=Zn(),this.startAll(r);const o=this.result=this.setAll(r);return o}fillArg(t){const{interaction:e}=this;t.interaction=e,t.interactable=e.interactable,t.element=e.element,t.rect=t.rect||e.rect,t.edges=this.edges,t.startOffset=this.startOffset}startAll(t){this.fillArg(t);for(const e of this.states)e.methods.start&&(t.state=e,e.methods.start(t))}setAll(t){this.fillArg(t);const{phase:e,preEnd:n,skipModifiers:i,rect:r}=t;t.coords=vt({},t.pageCoords),t.rect=vt({},r);const o=i?this.states.slice(i):this.states,s=Zn(t.coords,t.rect);for(const l of o){const{options:i}=l,r=vt({},t.coords);let o=null;l.methods.set&&this.shouldDo(i,n,e)&&(t.state=l,o=l.methods.set(t),Ft(this.interaction.edges,t.rect,{x:t.coords.x-r.x,y:t.coords.y-r.y})),s.eventProps.push(o)}s.delta.x=t.coords.x-t.pageCoords.x,s.delta.y=t.coords.y-t.pageCoords.y,s.rectDelta.left=t.rect.left-r.left,s.rectDelta.right=t.rect.right-r.right,s.rectDelta.top=t.rect.top-r.top,s.rectDelta.bottom=t.rect.bottom-r.bottom;const a=this.result.coords,c=this.result.rect;if(a&&c){const t=s.rect.left!==c.left||s.rect.right!==c.right||s.rect.top!==c.top||s.rect.bottom!==c.bottom;s.changed=t||a.x!==s.coords.x||a.y!==s.coords.y}return s}applyToInteraction(t){const{interaction:e}=this,{phase:n}=t,i=e.coords.cur,r=e.coords.start,{result:o,startDelta:s}=this,a=o.delta;"start"===n&&vt(this.startDelta,o.delta);for(const[u,h]of[[r,s],[i,a]])u.page.x+=h.x,u.page.y+=h.y,u.client.x+=h.x,u.client.y+=h.y;const{rectDelta:c}=this.result,l=t.rect||e.rect;l.left+=c.left,l.right+=c.right,l.top+=c.top,l.bottom+=c.bottom,l.width=l.right-l.left,l.height=l.bottom-l.top}setAndApply(t){const{interaction:e}=this,{phase:n,preEnd:i,skipModifiers:r}=t,o=this.setAll({preEnd:i,phase:n,pageCoords:t.modifiedCoords||e.coords.cur.page});if(this.result=o,!o.changed&&(!r||r<this.states.length)&&e.interacting())return!1;if(t.modifiedCoords){const{page:n}=e.coords.cur,i={x:t.modifiedCoords.x-n.x,y:t.modifiedCoords.y-n.y};o.coords.x+=i.x,o.coords.y+=i.y,o.delta.x+=i.x,o.delta.y+=i.y}this.applyToInteraction(t)}beforeEnd(t){const{interaction:e,event:n}=t,i=this.states;if(!i||!i.length)return;let r=!1;for(const o of i){t.state=o;const{options:e,methods:n}=o,i=n.beforeEnd&&n.beforeEnd(t);if(i)return this.endResult=i,!1;r=r||!r&&this.shouldDo(e,!0,t.phase,!0)}r&&e.move({event:n,preEnd:!0})}stop(t){const{interaction:e}=t;if(!this.states||!this.states.length)return;const n=vt({states:this.states,interactable:e.interactable,element:e.element,rect:null},t);this.fillArg(n);for(const i of this.states)n.state=i,i.methods.stop&&i.methods.stop(n);this.states=null,this.endResult=null}prepareStates(t){this.states=[];for(let e=0;e<t.length;e++){const{options:n,methods:i,name:r}=t[e];this.states.push({options:n,methods:i,index:e,name:r})}return this.states}restoreInteractionCoords({interaction:{coords:t,rect:e,modification:n}}){if(!n.result)return;const{startDelta:i}=n,{delta:r,rectDelta:o}=n.result,s=[[t.start,i],[t.cur,r]];for(const[a,c]of s)a.page.x-=c.x,a.page.y-=c.y,a.client.x-=c.x,a.client.y-=c.y;e.left-=o.left,e.right-=o.right,e.top-=o.top,e.bottom-=o.bottom}shouldDo(t,e,n,i){return!(!t||!1===t.enabled||i&&!t.endOnly||t.endOnly&&!e||"start"===n&&!t.setStart)}copyFrom(t){this.startOffset=t.startOffset,this.startDelta=t.startDelta,this.edges=t.edges,this.states=t.states.map(t=>mt(t)),this.result=Zn(vt({},t.result.coords),vt({},t.result.rect))}destroy(){for(const t in this)this[t]=null}}function Zn(t,e){return{rect:e,coords:t,delta:{x:0,y:0},rectDelta:{left:0,right:0,top:0,bottom:0},eventProps:[],changed:!0}}function Kn(t){const e=t.interactable.options[t.prepared.name],n=e.modifiers;return n&&n.length?n:["snap","snapSize","snapEdges","restrict","restrictEdges","restrictSize"].map(t=>{const n=e[t];return n&&n.enabled&&{options:n,methods:n._methods}}).filter(t=>!!t)}function Jn(t,e){return t?{left:e.x-t.left,top:e.y-t.top,right:t.right-e.x,bottom:t.bottom-e.y}:{left:0,top:0,right:0,bottom:0}}function Qn(t,e){const{defaults:n}=t,i={start:t.start,set:t.set,beforeEnd:t.beforeEnd,stop:t.stop},r=t=>{const r=t||{};r.enabled=!1!==r.enabled;for(const e in n)e in r||(r[e]=n[e]);const o={options:r,methods:i,name:e,enable:()=>(r.enabled=!0,o),disable:()=>(r.enabled=!1,o)};return o};return e&&"string"===typeof e&&(r._defaults=n,r._methods=i),r}function ti({iEvent:t,interaction:{modification:{result:e}}}){e&&(t.modifiers=e.eventProps)}const ei={id:"modifiers/base",before:["actions"],install:t=>{t.defaults.perAction.modifiers=[]},listeners:{"interactions:new":({interaction:t})=>{t.modification=new Un(t)},"interactions:before-action-start":t=>{const{modification:e}=t.interaction;e.start(t,t.interaction.coords.start.page),t.interaction.edges=e.edges,e.applyToInteraction(t)},"interactions:before-action-move":t=>t.interaction.modification.setAndApply(t),"interactions:before-action-end":t=>t.interaction.modification.beforeEnd(t),"interactions:action-start":ti,"interactions:action-move":ti,"interactions:action-end":ti,"interactions:after-action-start":t=>t.interaction.modification.restoreInteractionCoords(t),"interactions:after-action-move":t=>t.interaction.modification.restoreInteractionCoords(t),"interactions:stop":t=>t.interaction.modification.stop(t)}};var ni=ei;const ii={start(t){const{state:e,rect:n,edges:i,pageCoords:r}=t;let{ratio:o}=e.options;const{equalDelta:s,modifiers:a}=e.options;"preserve"===o&&(o=n.width/n.height),e.startCoords=vt({},r),e.startRect=vt({},n),e.ratio=o,e.equalDelta=s;const c=e.linkedEdges={top:i.top||i.left&&!i.bottom,left:i.left||i.top&&!i.right,bottom:i.bottom||i.right&&!i.top,right:i.right||i.bottom&&!i.left};if(e.xIsPrimaryAxis=!(!i.left&&!i.right),e.equalDelta)e.edgeSign=(c.left?1:-1)*(c.top?1:-1);else{const t=e.xIsPrimaryAxis?c.top:c.left;e.edgeSign=t?-1:1}if(vt(t.edges,c),!a||!a.length)return;const l=new Un(t.interaction);l.copyFrom(t.interaction.modification),l.prepareStates(a),e.subModification=l,l.startAll({...t})},set(t){const{state:e,rect:n,coords:i}=t,r=vt({},i),o=e.equalDelta?ri:oi;if(o(e,e.xIsPrimaryAxis,i,n),!e.subModification)return null;const s=vt({},n);Ft(e.linkedEdges,s,{x:i.x-r.x,y:i.y-r.y});const a=e.subModification.setAll({...t,rect:s,edges:e.linkedEdges,pageCoords:i,prevCoords:i,prevRect:s}),{delta:c}=a;if(a.changed){const t=Math.abs(c.x)>Math.abs(c.y);o(e,t,a.coords,a.rect),vt(i,a.coords)}return a.eventProps},defaults:{ratio:"preserve",equalDelta:!1,modifiers:[],enabled:!1}};function ri({startCoords:t,edgeSign:e},n,i){n?i.y=t.y+(i.x-t.x)*e:i.x=t.x+(i.y-t.y)*e}function oi({startRect:t,startCoords:e,ratio:n,edgeSign:i},r,o,s){if(r){const r=s.width/n;o.y=e.y+(r-t.height)*i}else{const r=s.height*n;o.x=e.x+(r-t.width)*i}}var si=Qn(ii,"aspectRatio");const ai=()=>{};ai._defaults={};var ci=ai;function li({rect:t,startOffset:e,state:n,interaction:i,pageCoords:r}){const{options:o}=n,{elementRect:s}=o,a=vt({left:0,top:0,right:0,bottom:0},o.offset||{});if(t&&s){const n=hi(o.restriction,i,r);if(n){const e=n.right-n.left-t.width,i=n.bottom-n.top-t.height;e<0&&(a.left+=e,a.right+=e),i<0&&(a.top+=i,a.bottom+=i)}a.left+=e.left-t.width*s.left,a.top+=e.top-t.height*s.top,a.right+=e.right-t.width*(1-s.right),a.bottom+=e.bottom-t.height*(1-s.bottom)}n.offset=a}function ui({coords:t,interaction:e,state:n}){const{options:i,offset:r}=n,o=hi(i.restriction,e,t);if(!o)return;const s=Wt(o);t.x=Math.max(Math.min(s.right-r.right,t.x),s.left+r.left),t.y=Math.max(Math.min(s.bottom-r.bottom,t.y),s.top+r.top)}function hi(t,e,n){return at.func(t)?Lt(t,e.interactable,e.element,[n.x,n.y,e]):Lt(t,e.interactable,e.element)}const di={restriction:null,elementRect:null,offset:null,endOnly:!1,enabled:!1},fi={start:li,set:ui,defaults:di};var pi=Qn(fi,"restrict");const gi={top:1/0,left:1/0,bottom:-1/0,right:-1/0},mi={top:-1/0,left:-1/0,bottom:1/0,right:1/0};function vi({interaction:t,startOffset:e,state:n}){const{options:i}=n;let r;if(i){const e=hi(i.offset,t,t.coords.start.page);r=Nt(e)}r=r||{x:0,y:0},n.offset={top:r.y+e.top,left:r.x+e.left,bottom:r.y-e.bottom,right:r.x-e.right}}function yi({coords:t,edges:e,interaction:n,state:i}){const{offset:r,options:o}=i;if(!e)return;const s=vt({},t),a=hi(o.inner,n,s)||{},c=hi(o.outer,n,s)||{};bi(a,gi),bi(c,mi),e.top?t.y=Math.min(Math.max(c.top+r.top,s.y),a.top+r.top):e.bottom&&(t.y=Math.max(Math.min(c.bottom+r.bottom,s.y),a.bottom+r.bottom)),e.left?t.x=Math.min(Math.max(c.left+r.left,s.x),a.left+r.left):e.right&&(t.x=Math.max(Math.min(c.right+r.right,s.x),a.right+r.right))}function bi(t,e){for(const n of["top","left","bottom","right"])n in t||(t[n]=e[n]);return t}const xi={inner:null,outer:null,offset:null,endOnly:!1,enabled:!1},wi={noInner:gi,noOuter:mi,start:vi,set:yi,defaults:xi};var Si=Qn(wi,"restrictEdges");const Ei=vt({get elementRect(){return{top:0,left:0,bottom:1,right:1}},set elementRect(t){}},fi.defaults),Ti={start:fi.start,set:fi.set,defaults:Ei};var zi=Qn(Ti,"restrictRect");const Mi={width:-1/0,height:-1/0},Oi={width:1/0,height:1/0};function Ii(t){return wi.start(t)}function Pi(t){const{interaction:e,state:n,rect:i,edges:r}=t,{options:o}=n;if(!r)return;const s=Bt(hi(o.min,e,t.coords))||Mi,a=Bt(hi(o.max,e,t.coords))||Oi;n.options={endOnly:o.endOnly,inner:vt({},wi.noInner),outer:vt({},wi.noOuter)},r.top?(n.options.inner.top=i.bottom-s.height,n.options.outer.top=i.bottom-a.height):r.bottom&&(n.options.inner.bottom=i.top+s.height,n.options.outer.bottom=i.top+a.height),r.left?(n.options.inner.left=i.right-s.width,n.options.outer.left=i.right-a.width):r.right&&(n.options.inner.right=i.left+s.width,n.options.outer.right=i.left+a.width),wi.set(t),n.options=o}const Di={min:null,max:null,endOnly:!1,enabled:!1},_i={start:Ii,set:Pi,defaults:Di};var ki=Qn(_i,"restrictSize");function Ai(t){const{interaction:e,interactable:n,element:i,rect:r,state:o,startOffset:s}=t,{options:a}=o,c=a.offsetWithOrigin?ji(t):{x:0,y:0};let l;if("startCoords"===a.offset)l={x:e.coords.start.page.x,y:e.coords.start.page.y};else{const t=Lt(a.offset,n,i,[e]);l=Nt(t)||{x:0,y:0},l.x+=c.x,l.y+=c.y}const{relativePoints:u}=a;o.offsets=r&&u&&u.length?u.map((t,e)=>({index:e,relativePoint:t,x:s.left-r.width*t.x+l.x,y:s.top-r.height*t.y+l.y})):[vt({index:0,relativePoint:null},l)]}function Ri(t){const{interaction:e,coords:n,state:i}=t,{options:r,offsets:o}=i,s=$t(e.interactable,e.element,e.prepared.name),a=vt({},n),c=[];r.offsetWithOrigin||(a.x-=s.x,a.y-=s.y);for(const u of o){const t=a.x-u.x,n=a.y-u.y;for(let i=0,o=r.targets.length;i<o;i++){const o=r.targets[i];let s;s=at.func(o)?o(t,n,e._proxy,u,i):o,s&&c.push({x:(at.number(s.x)?s.x:t)+u.x,y:(at.number(s.y)?s.y:n)+u.y,range:at.number(s.range)?s.range:r.range,source:o,index:i,offset:u})}}const l={target:null,inRange:!1,distance:0,range:0,delta:{x:0,y:0}};for(const u of c){const t=u.range,e=u.x-a.x,n=u.y-a.y,i=Gt(e,n);let r=i<=t;t===1/0&&l.inRange&&l.range!==1/0&&(r=!1),l.target&&!(r?l.inRange&&t!==1/0?i/t<l.distance/l.range:t===1/0&&l.range!==1/0||i<l.distance:!l.inRange&&i<l.distance)||(l.target=u,l.distance=i,l.range=t,l.inRange=r,l.delta.x=e,l.delta.y=n)}return l.inRange&&(n.x=l.target.x,n.y=l.target.y),i.closest=l,l}function ji(t){const{element:e}=t.interaction,n=Nt(Lt(t.state.options.origin,null,null,[e])),i=n||$t(t.interactable,e,t.interaction.prepared.name);return i}const Ci={range:1/0,targets:null,offset:null,offsetWithOrigin:!0,origin:null,relativePoints:null,endOnly:!1,enabled:!1},Hi={start:Ai,set:Ri,defaults:Ci};var Li=Qn(Hi,"snap");function Ni(t){const{state:e,edges:n}=t,{options:i}=e;if(!n)return null;t.state={options:{targets:null,relativePoints:[{x:n.left?0:1,y:n.top?0:1}],offset:i.offset||"self",origin:{x:0,y:0},range:i.range}},e.targetFields=e.targetFields||[["width","height"],["x","y"]],Hi.start(t),e.offsets=t.state.offsets,t.state=e}function Wi(t){const{interaction:e,state:n,coords:i}=t,{options:r,offsets:o}=n,s={x:i.x-o[0].x,y:i.y-o[0].y};n.options=vt({},r),n.options.targets=[];for(const c of r.targets||[]){let t;if(t=at.func(c)?c(s.x,s.y,e):c,t){for(const[e,i]of n.targetFields)if(e in t||i in t){t.x=t[e],t.y=t[i];break}n.options.targets.push(t)}}const a=Hi.set(t);return n.options=r,a}const Bi={range:1/0,targets:null,offset:null,endOnly:!1,enabled:!1},Fi={start:Ni,set:Wi,defaults:Bi};var $i=Qn(Fi,"snapSize");function Gi(t){const{edges:e}=t;return e?(t.state.targetFields=t.state.targetFields||[[e.left?"left":"right",e.top?"top":"bottom"]],Fi.start(t)):null}const Yi={start:Gi,set:Fi.set,defaults:vt(mt(Fi.defaults),{targets:null,range:null,offset:{x:0,y:0}})};var Xi=Qn(Yi,"snapEdges"),qi={aspectRatio:si,restrictEdges:Si,restrict:pi,restrictRect:zi,restrictSize:ki,snapEdges:Xi,snap:Li,snapSize:$i,spring:ci,avoid:ci,transform:ci,rubberband:ci};const Vi={id:"modifiers",install(t){const{interactStatic:e}=t;t.usePlugin(ni),t.usePlugin(Vn),e.modifiers=qi;for(const n in qi){const{_defaults:e,_methods:i}=qi[n];e._methods=i,t.defaults.perAction[n]=e}}};var Ui,Zi=Vi;"object"===typeof window&&window&&Ke(window),Ze.use(Zi),function(t){t["touchAction"]="touchAction",t["boxSizing"]="boxSizing",t["noListeners"]="noListeners"}(Ui||(Ui={}));const Ki="[interact.js] ",Ji={touchAction:"https://developer.mozilla.org/en-US/docs/Web/CSS/touch-action",boxSizing:"https://developer.mozilla.org/en-US/docs/Web/CSS/box-sizing"},Qi=!1;function tr(t,{logger:e}={}){const{Interactable:n,defaults:i}=t;t.logger=e||console,i.base.devTools={ignore:{}},n.prototype.devTools=function(t){return t?(vt(this.options.devTools,t),this):this.options.devTools}}const er=[{name:Ui.touchAction,perform({element:t}){return!ir(t,"touchAction",/pan-|pinch|none/)},getInfo({element:t}){return[t,Ji.touchAction]},text:'Consider adding CSS "touch-action: none" to this element\n'},{name:Ui.boxSizing,perform(t){const{element:e}=t;return"resize"===t.prepared.name&&e instanceof G.HTMLElement&&!nr(e,"boxSizing",/border-box/)},text:'Consider adding CSS "box-sizing: border-box" to this resizable element',getInfo({element:t}){return[t,Ji.boxSizing]}},{name:Ui.noListeners,perform(t){const e=t.prepared.name,n=t.interactable.events.types[e+"move"]||[];return!n.length},getInfo(t){return[t.prepared.name,t.interactable]},text:"There are no listeners set for this action"}];function nr(t,e,n){const i=t.style[e]||V.getComputedStyle(t)[e];return n.test((i||"").toString())}function ir(t,e,n){let i=t;while(at.element(i)){if(nr(i,e,n))return!0;i=Pt(i)}return!1}const rr="dev-tools",or=Qi?{id:rr,install:()=>{}}:{id:rr,install:tr,listeners:{"interactions:action-start":({interaction:t},e)=>{for(const n of er){const i=t.interactable&&t.interactable.options;i&&i.devTools&&i.devTools.ignore[n.name]||!n.perform(t)||e.logger.warn(Ki+n.text,...n.getInfo(t))}}},checks:er,CheckName:Ui,links:Ji,prefix:Ki};var sr=or;"object"===typeof window&&window&&Ke(window),Ze.use(sr);var ar={name:"GridItem",props:{isDraggable:{type:Boolean,required:!1,default:null},isResizable:{type:Boolean,required:!1,default:null},static:{type:Boolean,required:!1,default:!1},minH:{type:Number,required:!1,default:1},minW:{type:Number,required:!1,default:1},maxH:{type:Number,required:!1,default:1/0},maxW:{type:Number,required:!1,default:1/0},x:{type:Number,required:!0},y:{type:Number,required:!0},w:{type:Number,required:!0},h:{type:Number,required:!0},i:{required:!0},dragIgnoreFrom:{type:String,required:!1,default:"a, button"},dragAllowFrom:{type:String,required:!1,default:null},resizeIgnoreFrom:{type:String,required:!1,default:"a, button"},preserveAspectRatio:{type:Boolean,required:!1,default:!1}},inject:["eventBus","layout"],data:function(){return{cols:1,containerWidth:100,rowHeight:30,margin:[10,10],maxRows:1/0,draggable:null,resizable:null,useCssTransforms:!0,useStyleCursor:!0,isDragging:!1,dragging:null,isResizing:!1,resizing:null,lastX:NaN,lastY:NaN,lastW:NaN,lastH:NaN,style:{},rtl:!1,dragEventSet:!1,resizeEventSet:!1,previousW:null,previousH:null,previousX:null,previousY:null,innerX:this.x,innerY:this.y,innerW:this.w,innerH:this.h}},created:function(){var t=this,e=this;e.updateWidthHandler=function(t){e.updateWidth(t)},e.compactHandler=function(t){e.compact(t)},e.setDraggableHandler=function(t){null===e.isDraggable&&(e.draggable=t)},e.setResizableHandler=function(t){null===e.isResizable&&(e.resizable=t)},e.setRowHeightHandler=function(t){e.rowHeight=t},e.setMaxRowsHandler=function(t){e.maxRows=t},e.directionchangeHandler=function(){t.rtl="rtl"===N(),t.compact()},e.setColNum=function(t){e.cols=parseInt(t)},this.eventBus.on("updateWidth",e.updateWidthHandler),this.eventBus.on("compact",e.compactHandler),this.eventBus.on("setDraggable",e.setDraggableHandler),this.eventBus.on("setResizable",e.setResizableHandler),this.eventBus.on("setRowHeight",e.setRowHeightHandler),this.eventBus.on("setMaxRows",e.setMaxRowsHandler),this.eventBus.on("directionchange",e.directionchangeHandler),this.eventBus.on("setColNum",e.setColNum),this.rtl="rtl"===N()},beforeUnmount:function(){var t=this;this.eventBus.off("updateWidth",t.updateWidthHandler),this.eventBus.off("compact",t.compactHandler),this.eventBus.off("setDraggable",t.setDraggableHandler),this.eventBus.off("setResizable",t.setResizableHandler),this.eventBus.off("setRowHeight",t.setRowHeightHandler),this.eventBus.off("setMaxRows",t.setMaxRowsHandler),this.eventBus.off("directionchange",t.directionchangeHandler),this.eventBus.off("setColNum",t.setColNum),this.interactObj&&this.interactObj.unset()},mounted:function(){this.layout.responsive&&this.layout.lastBreakpoint?this.cols=A(this.layout.lastBreakpoint,this.layout.cols):this.cols=this.layout.colNum,this.rowHeight=this.layout.rowHeight,this.containerWidth=null!==this.layout.width?this.layout.width:100,this.margin=void 0!==this.layout.margin?this.layout.margin:[10,10],this.maxRows=this.layout.maxRows,null===this.isDraggable?this.draggable=this.layout.isDraggable:this.draggable=this.isDraggable,null===this.isResizable?this.resizable=this.layout.isResizable:this.resizable=this.isResizable,this.useCssTransforms=this.layout.useCssTransforms,this.useStyleCursor=this.layout.useStyleCursor,this.createStyle()},watch:{isDraggable:function(){this.draggable=this.isDraggable},static:function(){this.tryMakeDraggable(),this.tryMakeResizable()},draggable:function(){this.tryMakeDraggable()},isResizable:function(){this.resizable=this.isResizable},resizable:function(){this.tryMakeResizable()},rowHeight:function(){this.createStyle(),this.emitContainerResized()},cols:function(){this.tryMakeResizable(),this.createStyle(),this.emitContainerResized()},containerWidth:function(){this.tryMakeResizable(),this.createStyle(),this.emitContainerResized()},x:function(t){this.innerX=t,this.createStyle()},y:function(t){this.innerY=t,this.createStyle()},h:function(t){this.innerH=t,this.createStyle()},w:function(t){this.innerW=t,this.createStyle()},renderRtl:function(){this.tryMakeResizable(),this.createStyle()},minH:function(){this.tryMakeResizable()},maxH:function(){this.tryMakeResizable()},minW:function(){this.tryMakeResizable()},maxW:function(){this.tryMakeResizable()},"$parent.margin":function(t){!t||t[0]==this.margin[0]&&t[1]==this.margin[1]||(this.margin=t.map((function(t){return Number(t)})),this.createStyle(),this.emitContainerResized())}},computed:{classObj:function(){return{"vue-resizable":this.resizableAndNotStatic,static:this.static,resizing:this.isResizing,"vue-draggable-dragging":this.isDragging,cssTransforms:this.useCssTransforms,"render-rtl":this.renderRtl,"disable-userselect":this.isDragging,"no-touch":this.isAndroid&&this.draggableOrResizableAndNotStatic}},resizableAndNotStatic:function(){return this.resizable&&!this.static},draggableOrResizableAndNotStatic:function(){return(this.draggable||this.resizable)&&!this.static},isAndroid:function(){return-1!==navigator.userAgent.toLowerCase().indexOf("android")},renderRtl:function(){return this.layout.isMirrored?!this.rtl:this.rtl},resizableHandleClass:function(){return this.renderRtl?"vue-resizable-handle vue-rtl-resizable-handle":"vue-resizable-handle"}},methods:{createStyle:function(){this.x+this.w>this.cols?(this.innerX=0,this.innerW=this.w>this.cols?this.cols:this.w):(this.innerX=this.x,this.innerW=this.w);var t,e=this.calcPosition(this.innerX,this.innerY,this.innerW,this.innerH);this.isDragging&&(e.top=this.dragging.top,this.renderRtl?e.right=this.dragging.left:e.left=this.dragging.left),this.isResizing&&(e.width=this.resizing.width,e.height=this.resizing.height),t=this.useCssTransforms?this.renderRtl?E(e.top,e.right,e.width,e.height):S(e.top,e.left,e.width,e.height):this.renderRtl?z(e.top,e.right,e.width,e.height):T(e.top,e.left,e.width,e.height),this.style=t},emitContainerResized:function(){for(var t={},e=0,n=["width","height"];e<n.length;e++){var i=n[e],r=this.style[i],o=r.match(/^(\d+)px$/);if(!o)return;t[i]=o[1]}this.$emit("container-resized",this.i,this.h,this.w,t.height,t.width)},handleResize:function(t){if(!this.static){var e=I(t);if(null!=e){var n,i=e.x,r=e.y,o={width:0,height:0};switch(t.type){case"resizestart":this.previousW=this.innerW,this.previousH=this.innerH,n=this.calcPosition(this.innerX,this.innerY,this.innerW,this.innerH),o.width=n.width,o.height=n.height,this.resizing=o,this.isResizing=!0;break;case"resizemove":var s=D(this.lastW,this.lastH,i,r);this.renderRtl?o.width=this.resizing.width-s.deltaX:o.width=this.resizing.width+s.deltaX,o.height=this.resizing.height+s.deltaY,this.resizing=o;break;case"resizeend":n=this.calcPosition(this.innerX,this.innerY,this.innerW,this.innerH),o.width=n.width,o.height=n.height,this.resizing=null,this.isResizing=!1;break}n=this.calcWH(o.height,o.width),n.w<this.minW&&(n.w=this.minW),n.w>this.maxW&&(n.w=this.maxW),n.h<this.minH&&(n.h=this.minH),n.h>this.maxH&&(n.h=this.maxH),n.h<1&&(n.h=1),n.w<1&&(n.w=1),this.lastW=i,this.lastH=r,this.innerW===n.w&&this.innerH===n.h||this.$emit("resize",this.i,n.h,n.w,o.height,o.width),"resizeend"!==t.type||this.previousW===this.innerW&&this.previousH===this.innerH||this.$emit("resized",this.i,n.h,n.w,o.height,o.width),this.eventBus.emit("resizeEvent",{eventType:t.type,i:this.i,x:this.innerX,y:this.innerY,h:n.h,w:n.w})}}},handleDrag:function(t){if(!this.static&&!this.isResizing){var e=I(t);if(null!==e){var n,i=e.x,r=e.y,o={top:0,left:0};switch(t.type){case"dragstart":this.previousX=this.innerX,this.previousY=this.innerY;var s=t.target.offsetParent.getBoundingClientRect(),a=t.target.getBoundingClientRect();this.renderRtl?o.left=-1*(a.right-s.right):o.left=a.left-s.left,o.top=a.top-s.top,this.dragging=o,this.isDragging=!0;break;case"dragend":if(!this.isDragging)return;var c=t.target.offsetParent.getBoundingClientRect(),l=t.target.getBoundingClientRect();this.renderRtl?o.left=-1*(l.right-c.right):o.left=l.left-c.left,o.top=l.top-c.top,this.dragging=null,this.isDragging=!1;break;case"dragmove":var u=D(this.lastX,this.lastY,i,r);this.renderRtl?o.left=this.dragging.left-u.deltaX:o.left=this.dragging.left+u.deltaX,o.top=this.dragging.top+u.deltaY,this.dragging=o;break}n=(this.renderRtl,this.calcXY(o.top,o.left)),this.lastX=i,this.lastY=r,this.innerX===n.x&&this.innerY===n.y||this.$emit("move",this.i,n.x,n.y),"dragend"!==t.type||this.previousX===this.innerX&&this.previousY===this.innerY||this.$emit("moved",this.i,n.x,n.y),this.eventBus.emit("dragEvent",{eventType:t.type,i:this.i,x:n.x,y:n.y,h:this.innerH,w:this.innerW})}}},calcPosition:function(t,e,n,i){var r,o=this.calcColWidth();return r=this.renderRtl?{right:Math.round(o*t+(t+1)*this.margin[0]),top:Math.round(this.rowHeight*e+(e+1)*this.margin[1]),width:n===1/0?n:Math.round(o*n+Math.max(0,n-1)*this.margin[0]),height:i===1/0?i:Math.round(this.rowHeight*i+Math.max(0,i-1)*this.margin[1])}:{left:Math.round(o*t+(t+1)*this.margin[0]),top:Math.round(this.rowHeight*e+(e+1)*this.margin[1]),width:n===1/0?n:Math.round(o*n+Math.max(0,n-1)*this.margin[0]),height:i===1/0?i:Math.round(this.rowHeight*i+Math.max(0,i-1)*this.margin[1])},r},calcXY:function(t,e){var n=this.calcColWidth(),i=Math.round((e-this.margin[0])/(n+this.margin[0])),r=Math.round((t-this.margin[1])/(this.rowHeight+this.margin[1]));return i=Math.max(Math.min(i,this.cols-this.innerW),0),r=Math.max(Math.min(r,this.maxRows-this.innerH),0),{x:i,y:r}},calcColWidth:function(){var t=(this.containerWidth-this.margin[0]*(this.cols+1))/this.cols;return t},calcWH:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=this.calcColWidth(),r=Math.round((e+this.margin[0])/(i+this.margin[0])),o=0;return o=n?Math.ceil((t+this.margin[1])/(this.rowHeight+this.margin[1])):Math.round((t+this.margin[1])/(this.rowHeight+this.margin[1])),r=Math.max(Math.min(r,this.cols-this.innerX),0),o=Math.max(Math.min(o,this.maxRows-this.innerY),0),{w:r,h:o}},updateWidth:function(t,e){this.containerWidth=t,void 0!==e&&null!==e&&(this.cols=e)},compact:function(){this.createStyle()},tryMakeDraggable:function(){var t=this;if(null!==this.interactObj&&void 0!==this.interactObj||(this.interactObj=Ze(this.$refs.item),this.useStyleCursor||this.interactObj.styleCursor(!1)),this.draggable&&!this.static){var e={ignoreFrom:this.dragIgnoreFrom,allowFrom:this.dragAllowFrom};this.interactObj.draggable(e),this.dragEventSet||(this.dragEventSet=!0,this.interactObj.on("dragstart dragmove dragend",(function(e){t.handleDrag(e)})))}else this.interactObj.draggable({enabled:!1})},tryMakeResizable:function(){var t=this;if(null!==this.interactObj&&void 0!==this.interactObj||(this.interactObj=Ze(this.$refs.item),this.useStyleCursor||this.interactObj.styleCursor(!1)),this.resizable&&!this.static){var e=this.calcPosition(0,0,this.maxW,this.maxH),n=this.calcPosition(0,0,this.minW,this.minH),i={edges:{left:!1,right:"."+this.resizableHandleClass.trim().replace(" ","."),bottom:"."+this.resizableHandleClass.trim().replace(" ","."),top:!1},ignoreFrom:this.resizeIgnoreFrom,restrictSize:{min:{height:n.height,width:n.width},max:{height:e.height,width:e.width}}};this.preserveAspectRatio&&(i.modifiers=[Ze.modifiers.aspectRatio({ratio:"preserve"})]),this.interactObj.resizable(i),this.resizeEventSet||(this.resizeEventSet=!0,this.interactObj.on("resizestart resizemove resizeend",(function(e){t.handleResize(e)})))}else this.interactObj.resizable({enabled:!1})},autoSize:function(){this.previousW=this.innerW,this.previousH=this.innerH;var t=this.$slots().default[0].elm.getBoundingClientRect(),e=this.calcWH(t.height,t.width,!0);e.w<this.minW&&(e.w=this.minW),e.w>this.maxW&&(e.w=this.maxW),e.h<this.minH&&(e.h=this.minH),e.h>this.maxH&&(e.h=this.maxH),e.h<1&&(e.h=1),e.w<1&&(e.w=1),this.innerW===e.w&&this.innerH===e.h||this.$emit("resize",this.i,e.h,e.w,t.height,t.width),this.previousW===e.w&&this.previousH===e.h||(this.$emit("resized",this.i,e.h,e.w,t.height,t.width),this.eventBus.emit("resizeEvent",{eventType:"resizeend",i:this.i,x:this.innerX,y:this.innerY,h:e.h,w:e.w}))}}};n("083e");ar.render=c;var cr=ar;function lr(t,e,n,i,r,o){var s=Object(a["resolveComponent"])("grid-item");return Object(a["openBlock"])(),Object(a["createBlock"])("div",{ref:"item",class:"vue-grid-layout",style:t.mergedStyle},[Object(a["renderSlot"])(t.$slots,"default"),Object(a["withDirectives"])(Object(a["createVNode"])(s,{class:"vue-grid-placeholder",x:t.placeholder.x,y:t.placeholder.y,w:t.placeholder.w,h:t.placeholder.h,i:t.placeholder.i},null,8,["x","y","w","h","i"]),[[a["vShow"],t.isDragging]])],4)}n("8e6e"),n("f751"),n("fca0");function ur(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var hr=function(t){return{all:t=t||new Map,on:function(e,n){var i=t.get(e);i&&i.push(n)||t.set(e,[n])},off:function(e,n){var i=t.get(e);i&&i.splice(i.indexOf(n)>>>0,1)},emit:function(e,n){(t.get(e)||[]).slice().map((function(t){t(n)})),(t.get("*")||[]).slice().map((function(t){t(e,n)}))}}};function dr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function fr(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?dr(Object(n),!0).forEach((function(e){ur(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):dr(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var pr=n("eec4"),gr={name:"GridLayout",provide:function(){return{eventBus:this.eventBus,layout:this}},components:{GridItem:cr},props:{autoSize:{type:Boolean,default:!0},colNum:{type:Number,default:12},rowHeight:{type:Number,default:150},maxRows:{type:Number,default:1/0},margin:{type:Array,default:function(){return[10,10]}},isDraggable:{type:Boolean,default:!0},isResizable:{type:Boolean,default:!0},isMirrored:{type:Boolean,default:!1},useCssTransforms:{type:Boolean,default:!0},verticalCompact:{type:Boolean,default:!0},layout:{type:Array,required:!0},responsive:{type:Boolean,default:!1},responsiveLayouts:{type:Object,default:function(){return{}}},breakpoints:{type:Object,default:function(){return{lg:1200,md:996,sm:768,xs:480,xxs:0}}},cols:{type:Object,default:function(){return{lg:12,md:10,sm:6,xs:4,xxs:2}}},preventCollision:{type:Boolean,default:!1},useStyleCursor:{type:Boolean,default:!0}},data:function(){return{eventBus:hr(),width:null,mergedStyle:{},lastLayoutLength:0,isDragging:!1,placeholder:{x:0,y:0,w:0,h:0,i:-1},layouts:{},lastBreakpoint:null,originalLayout:null}},created:function(){var t=this;t.resizeEventHandler=function(e){var n=e.eventType,i=e.i,r=e.x,o=e.y,s=e.h,a=e.w;t.resizeEvent(n,i,r,o,s,a)},t.dragEventHandler=function(e){var n=e.eventType,i=e.i,r=e.x,o=e.y,s=e.h,a=e.w;t.dragEvent(n,i,r,o,s,a)},t.eventBus.on("resizeEvent",t.resizeEventHandler),t.eventBus.on("dragEvent",t.dragEventHandler),t.$emit("layout-created",t.layout)},beforeUnmount:function(){this.eventBus.off("resizeEvent",this.resizeEventHandler),this.eventBus.off("dragEvent",this.dragEventHandler),B("resize",this.onWindowResize),this.erd&&this.erd.uninstall(this.$refs.item)},beforeMount:function(){this.$emit("layout-before-mount",this.layout)},mounted:function(){this.$emit("layout-mounted",this.layout),this.$nextTick((function(){O(this.layout),this.originalLayout=this.layout;var t=this;this.$nextTick((function(){t.onWindowResize(),t.initResponsiveFeatures(),W("resize",t.onWindowResize),f(t.layout,t.verticalCompact),t.$emit("layout-updated",t.layout),t.updateHeight(),t.$nextTick((function(){this.erd=pr({strategy:"scroll",callOnAdd:!1}),this.erd.listenTo(t.$refs.item,(function(){t.onWindowResize()}))}))}))}))},watch:{width:function(t,e){var n=this;this.$nextTick((function(){var t=this;this.eventBus.emit("updateWidth",this.width),null===e&&this.$nextTick((function(){t.$emit("layout-ready",n.layout)})),this.updateHeight()}))},layout:function(){this.layoutUpdate()},colNum:function(t){this.eventBus.emit("setColNum",t)},rowHeight:function(){this.eventBus.emit("setRowHeight",this.rowHeight)},isDraggable:function(){this.eventBus.emit("setDraggable",this.isDraggable)},isResizable:function(){this.eventBus.emit("setResizable",this.isResizable)},responsive:function(){this.responsive||(this.$emit("update:layout",this.originalLayout),this.eventBus.emit("setColNum",this.colNum)),this.onWindowResize()},maxRows:function(){this.eventBus.emit("setMaxRows",this.maxRows)},margin:function(){this.updateHeight()}},methods:{layoutUpdate:function(){if(void 0!==this.layout&&null!==this.originalLayout){if(this.layout.length!==this.originalLayout.length){var t=this.findDifference(this.layout,this.originalLayout);t.length>0&&(this.layout.length>this.originalLayout.length?this.originalLayout=this.originalLayout.concat(t):this.originalLayout=this.originalLayout.filter((function(e){return!t.some((function(t){return e.i===t.i}))}))),this.lastLayoutLength=this.layout.length,this.initResponsiveFeatures()}f(this.layout,this.verticalCompact),this.eventBus.emit("updateWidth",this.width),this.updateHeight(),this.$emit("layout-updated",this.layout)}},updateHeight:function(){this.mergedStyle={height:this.containerHeight()}},onWindowResize:function(){null!==this.$refs&&null!==this.$refs.item&&void 0!==this.$refs.item&&(this.width=this.$refs.item.offsetWidth),this.eventBus.emit("resizeEvent",{})},containerHeight:function(){if(this.autoSize){var t=l(this.layout)*(this.rowHeight+this.margin[1])+this.margin[1]+"px";return t}},dragEvent:function(t,e,n,i,r,o){var s=m(this.layout,e);void 0!==s&&null!==s||(s={x:0,y:0}),"dragmove"===t||"dragstart"===t?(this.placeholder.i=e,this.placeholder.x=s.x,this.placeholder.y=s.y,this.placeholder.w=o,this.placeholder.h=r,this.$nextTick((function(){this.isDragging=!0})),this.eventBus.emit("updateWidth",this.width)):this.$nextTick((function(){this.isDragging=!1})),this.$emit("update:layout",x(this.layout,s,n,i,!0,this.preventCollision)),f(this.layout,this.verticalCompact),this.eventBus.emit("compact"),this.updateHeight(),"dragend"===t&&this.$emit("layout-updated",this.layout)},resizeEvent:function(t,e,n,i,r,o){var s,a=m(this.layout,e);if(void 0!==a&&null!==a||(a={h:0,w:0}),this.preventCollision){var c=y(this.layout,fr(fr({},a),{},{w:o,h:r})).filter((function(t){return t.i!==a.i}));if(s=c.length>0,s){var l=1/0,u=1/0;c.forEach((function(t){t.x>a.x&&(l=Math.min(l,t.x)),t.y>a.y&&(u=Math.min(u,t.y))})),Number.isFinite(l)&&(a.w=l-a.x),Number.isFinite(u)&&(a.h=u-a.y)}}s||(a.w=o,a.h=r),"resizestart"===t||"resizemove"===t?(this.placeholder.i=e,this.placeholder.x=n,this.placeholder.y=i,this.placeholder.w=a.w,this.placeholder.h=a.h,this.$nextTick((function(){this.isDragging=!0})),this.eventBus.emit("updateWidth",this.width)):this.$nextTick((function(){this.isDragging=!1})),this.responsive&&this.responsiveGridLayout(),f(this.layout,this.verticalCompact),this.eventBus.emit("compact"),this.updateHeight(),"resizeend"===t&&this.$emit("layout-updated",this.layout)},responsiveGridLayout:function(){var t=k(this.breakpoints,this.width),e=A(t,this.cols);null==this.lastBreakpoint||this.layouts[this.lastBreakpoint]||(this.layouts[this.lastBreakpoint]=u(this.layout));var n=R(this.originalLayout,this.layouts,this.breakpoints,t,this.lastBreakpoint,e,this.verticalCompact);this.layouts[t]=n,this.lastBreakpoint!==t&&this.$emit("breakpoint-changed",t,n),this.$emit("update:layout",n),this.lastBreakpoint=t,this.eventBus.emit("setColNum",A(t,this.cols))},initResponsiveFeatures:function(){this.layouts=Object.assign({},this.responsiveLayouts)},findDifference:function(t,e){var n=t.filter((function(t){return!e.some((function(e){return t.i===e.i}))})),i=e.filter((function(e){return!t.some((function(t){return e.i===t.i}))}));return n.concat(i)}}};n("6521");gr.render=lr;var mr=gr,vr=function(t){t.component("grid-layout",mr),t.component("grid-item",cr)},yr=vr;e["default"]=yr},fca0:function(t,e,n){var i=n("5ca1"),r=n("7726").isFinite;i(i.S,"Number",{isFinite:function(t){return"number"==typeof t&&r(t)}})},fdef:function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"}})["default"]}));
|
||
//# sourceMappingURL=vue-grid-layout.umd.min.js.map
|