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