(function(e,n){t.exports=n()})(0,(function(){returnfunction(t){vare={};functionn(r){if(e[r])returne[r].exports;varo=e[r]={i:r,l:!1,exports:{}};returnt[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}returnn.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeofSymbol&&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)returnt;if(4&e&&"object"===typeoft&&t&&t.__esModule)returnt;varr=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeoft)for(varoint)n.d(r,o,function(e){returnt[e]}.bind(null,o));returnr},n.n=function(t){vare=t&&t.__esModule?function(){returnt["default"]}:function(){returnt};returnn.d(e,"a",e),e},n.o=function(t,e){returnObject.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=6)}([function(t,e){functionn(t){vare;if("SELECT"===t.nodeName)t.focus(),e=t.value;elseif("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){varn=t.hasAttribute("readonly");n||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();varr=window.getSelection(),o=document.createRange();o.selectNodeContents(t),r.removeAllRanges(),r.addRange(o),e=r.toString()}returne}t.exports=n},function(t,e){functionn(){}n.prototype={on:function(t,e,n){varr=this.e||(this.e={});return(r[t]||(r[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){varr=this;functiono(){r.off(t,o),e.apply(n,arguments)}returno._=e,this.on(t,o,n)},emit:function(t){vare=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),r=0,o=n.length;for(r;r<o;r++)n[r].fn.apply(n[r].ctx,e);returnthis},off:function(t,e){varn=this.e||(this.e={}),r=n[t],o=[];if(r&&e)for(vari=0,a=r.length;i<a;i++)r[i].fn!==e&&r[i].fn._!==e&&o.push(r[i]);returno.length?n[t]=o:deleten[t],this}},t.exports=n,t.exports.TinyEmitter=n},function(t,e,n){varr=n(3),o=n(4);functioni(t,e,n){if(!t&&!e&&!n)thrownewError("Missing required arguments");if(!r.string(e))thrownewTypeError("Second argument must be a String");if(!r.fn(n))thrownewTypeError("Third argument must be a Function");if(r.node(t))returna(t,e,n);if(r.nodeList(t))returns(t,e,n);if(r.string(t))returnc(t,e,n);thrownewTypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}functiona(t,e,n){returnt.addEventListener(e,n),{destroy:function(){t.removeEventListener(e,n)}}}functions(t,e,n){returnArray.prototype.forEach.call(t,(function(t){t.addEventListener(e,n)})),{destroy:function(){Array.prototype.forEach.call(t,(function(t){t.removeEventListener(e,n)}))}}}functionc(t,e,n){returno(document.body,t,e,n)}t.exports=i},function(t,e){e.node=function(t){returnvoid0!==t&&tinstanceofHTMLElement&&1===t.nodeType},e.nodeList=function(t){varn=Object.prototype.toString.call(t);returnvoid0!==t&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"int&&(0===t.length||e.node(t[0]))},e.string=function(t){return"string"===typeoft||tinstanceofString},e.fn=function(t){vare=Object.prototype.toString.call(t);return"[object Function]"===e}},function(t,e,n){varr=n(5);functiono(t,e,n,r,o){vari=a.apply(this,arguments);returnt.addEventListener(n,i,o),{destroy:function(){t.removeEventListener(n,i,o)}}}functioni(t,e,n,r,i){return"function"===typeoft.addEventListener?o.apply(null,arguments):"function"===typeofn?o.bind(null,document).apply(null,arguments):("string"===typeoft&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,(function(t){returno(t,e,n,r,i)})))}functiona(t,e,n,o){returnfunction(n){n.delegateTarget=r(n.target,e),n.delegateTarget&&o.call(t,n)}}t.exports=i},function(t,e){varn=9;if("undefined"!==typeofElement&&!Element.prototype.matches){varr=Element.prototype;r.matches=r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}function