!function(e){if("object"==typeofexports&&"undefined"!=typeofmodule)module.exports=e();elseif("function"==typeofdefine&&define.amd)define([],e);else{vart;t="undefined"!=typeofwindow?window:"undefined"!=typeofglobal?global:"undefined"!=typeofself?self:this,t.Clipboard=e()}}(function(){vare,t,n;returnfunctione(t,n,i){functiono(a,c){if(!n[a]){if(!t[a]){varl="function"==typeofrequire&&require;if(!c&&l)returnl(a,!0);if(r)returnr(a,!0);vars=newError("Cannot find module '"+a+"'");throws.code="MODULE_NOT_FOUND",s}varu=n[a]={exports:{}};t[a][0].call(u.exports,function(e){varn=t[a][1][e];returno(n?n:e)},u,u.exports,e,t,n,i)}returnn[a].exports}for(varr="function"==typeofrequire&&require,a=0;a<i.length;a++)o(i[a]);returno}({1:[function(e,t,n){functioni(e,t){for(;e&&e.nodeType!==o;){if(e.matches(t))returne;e=e.parentNode}}varo=9;if(Element&&!Element.prototype.matches){varr=Element.prototype;r.matches=r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}t.exports=i},{}],2:[function(e,t,n){functioni(e,t,n,i,r){vara=o.apply(this,arguments);returne.addEventListener(n,a,r),{destroy:function(){e.removeEventListener(n,a,r)}}}functiono(e,t,n,i){returnfunction(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&i.call(e,n)}}varr=e("./closest");t.exports=i},{"./closest":1}],3:[function(e,t,n){n.node=function(e){returnvoid0!==e&&einstanceofHTMLElement&&1===e.nodeType},n.nodeList=function(e){vart=Object.prototype.toString.call(e);returnvoid0!==e&&("[object NodeList]"===t||"[object HTMLCollection]"===t)&&"length"ine&&(0===e.length||n.node(e[0]))},n.string=function(e){return"string"==typeofe||einstanceofString},n.fn=function(e){vart=Object.prototype.toString.call(e);return"[object Function]"===t}},{}],4:[function(e,t,n){functioni(e,t,n){if(!e&&!t&&!n)thrownewError("Missing required arguments");if(!c.string(t))thrownewTypeError("Second argument must be a String");if(!c.fn(n))thrownewTypeError("Third argument must be a Function");if(c.node(e))returno(e,t,n);if(c.nodeList(e))returnr(e,t,n);if(c.string(e))returna(e,t,n);thrownewTypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}functiono(e,t,n){returne.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}functionr(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)})}}}functiona(e,t,n){returnl(document.body,e,t,n)}varc=e("./is"),l=e("delegate");t.exports=i},{"./is":3,delegate:2}],5:[function(e,t,n){functioni(e){vart;if("SELECT"===e.nodeName)e.focus(),t=e.value;elseif("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName)e.focus(),e.setSelectionRange(0,e.value.length),t=e.value;else{e.hasAttribute("contenteditable")&&e.focus();varn=window.getSelection(),i=document.createRange();i.selectNodeContents(e),n.removeAllRanges(),n.addRange(i),t=n.toString()}returnt}t.exports=i},{}],6:[function(e,t,n){functioni(){}i.prototype={on:function(e,t,n){vari=this.e||(this.e={});return(i[e]||(i[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){functioni(){o.off(e,i),t.apply(n,arguments)}varo=this;returni._=t,this.on(e,i,n)},emit:function(e){vart=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),i=0,o=n.length;for(i;i<o;i++)n[i].fn.apply(n[i].ctx,t);returnthis},off:function(e,t){varn=this.e||(this.e={}),i=n[e],o=[];if(i&&t)for(varr=0,a=i.length;r<a;r++)i[r].fn!==t&&i[r].fn._!==t&&o.push(i[r]);returno.length?n[e]=o:deleten[e],this}},t.exports=i},{}],7:[function(t,n,i){!function(o,r){if("function"==typeofe&&e.amd)e(["module","select"],r);elseif("undefined"!=typeofi)r(n,t("select"));else{vara={exports:{}};r(a,o.select),o.clipboardAction=a.exports}}(this,function(e,t){"use strict";functionn(e){returne&&e.__esModule?e:{default:e}}functioni(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}varo=n(t),r="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function