!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,o){functioni(a,c){if(!n[a]){if(!t[a]){varl="function"==typeofrequire&&require;if(!c&&l)returnl(a,!0);if(r)returnr(a,!0);varu=newError("Cannot find module '"+a+"'");throwu.code="MODULE_NOT_FOUND",u}vars=n[a]={exports:{}};t[a][0].call(s.exports,function(e){varn=t[a][1][e];returni(n?n:e)},s,s.exports,e,t,n,o)}returnn[a].exports}for(varr="function"==typeofrequire&&require,a=0;a<o.length;a++)i(o[a]);returni}({1:[function(e,t,n){functiono(e,t){for(;e&&e.nodeType!==i;){if(e.matches(t))returne;e=e.parentNode}}vari=9;if("undefined"!=typeofElement&&!Element.prototype.matches){varr=Element.prototype;r.matches=r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}t.exports=o},{}],2:[function(e,t,n){functiono(e,t,n,o,r){vara=i.apply(this,arguments);returne.addEventListener(n,a,r),{destroy:function(){e.removeEventListener(n,a,r)}}}functioni(e,t,n,o){returnfunction(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&o.call(e,n)}}varr=e("./closest");t.exports=o},{"./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){functiono(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))returni(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")}functioni(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=o},{"./is":3,delegate:2}],5:[function(e,t,n){functiono(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();varo=window.getSelection(),i=document.createRange();i.selectNodeContents(e),o.removeAllRanges(),o.addRange(i),t=o.toString()}returnt}t.exports=o},{}],6:[function(e,t,n){functiono(){}o.prototype={on:function(e,t,n){varo=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){functiono(){i.off(e,o),t.apply(n,arguments)}vari=this;returno._=t,this.on(e,o,n)},emit:function(e){vart=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,i=n.length;for(o;o<i;o++)n[o].fn.apply(n[o].ctx,t);returnthis},off:function(e,t){varn=this.e||(this.e={}),o=n[e],i=[];if(o&&t)for(varr=0,a=o.length;r<a;r++)o[r].fn!==t&&o[r].fn._!==t&&i.push(o[r]);returni.length?n[e]=i:deleten[e],this}},t.exports=o},{}],7:[function(t,n,o){!function(i,r){if("function"==typeofe&&e.amd)e(["module","select"],r);elseif("undefined"!=typeofo)r(n,t("select"));else{vara={exports:{}};r(a,i.select),i.clipboardAction=a.exports}}(this,function(e,t){"use strict";functionn(e){returne&&e.__esModule?e:{default:e}}functiono(e,t){if(!(einstanceoft))thrownewTypeErr