varn;n=function(){returnfunction(t){vare={};functionr(n){if(e[n])returne[n].exports;varo=e[n]={i:n,l:!1,exports:{}};returnt[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}returnr.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeofSymbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)returnt;if(4&e&&"object"==typeoft&&t&&t.__esModule)returnt;varn=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeoft)for(varoint)r.d(n,o,function(e){returnt[e]}.bind(null,o));returnn},r.n=function(t){vare=t&&t.__esModule?function(){returnt.default}:function(){returnt};returnr.d(e,"a",e),e},r.o=function(t,e){returnObject.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=0)}([function(t,e,r){"use strict";varn="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(t){returntypeoft}:function(t){returnt&&"function"==typeofSymbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft},o=function(){functiont(t,e){for(varr=0;r<e.length;r++){varn=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"inn&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}returnfunction(e,r,n){returnr&&t(e.prototype,r),n&&t(e,n),e}}(),i=s(r(1)),u=s(r(3)),c=s(r(4));functions(t){returnt&&t.__esModule?t:{default:t}}vara=function(t){functione(t,r){!function(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}(this,e);varn=function(t,e){if(!t)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeofe&&"function"!=typeofe?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));returnn.resolveOptions(r),n.listenClick(t),n}returnfunction(t,e){if("function"!=typeofe&&null!==e)thrownewTypeError("Super expression must either be null or a function, not "+typeofe);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"resolveOptions",value:function(){vart=arguments.length>0&&void0!==arguments[0]?arguments[0]:{};this.action="function"==typeoft.action?t.action:this.defaultAction,this.target="function"==typeoft.target?t.target:this.defaultTarget,this.text="function"==typeoft.text?t.text:this.defaultText,this.container="object"===n(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){vare=this;this.listener=(0,c.default)(t,"click",(function(t){returne.onClick(t)}))}},{key:"onClick",value:function(t){vare=t.delegateTarget||t.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=newi.default({action:this.action(e),target:this.target(e),text:this.text(e),container:this.container,trigger:e,emitter:this})}},{key:"defaultAction",value:function(t){returnl("action",t)}},{key:"defaultTarget",value:function(t){vare=l("target",t);if(e)returndocument.querySelector(e)}},{key:"defaultText",value:function(t){returnl("text",t)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){vart=arguments.length>0&&void0!==arguments[0]?arguments[0]:["copy","cut"],e="string"==typeoft?[t]:t,r=!!document.queryCommandSupported;returne.forEach((function(t){r=r&&!!document.queryCommandSupported(t)})),r}}]),e}(u.default);functionl(t,e){varr="data-clipboard-"+t;if(e.hasAttribute(r))returne.getAttribute(r)}t.exports=a},function(t,e,r){"use strict";varn,o="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(t){returntypeoft}:function(t){returnt&&"function"==typeofSymbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft},i=function(){functiont(t,e){for(varr=0;r<e.length;r++){varn=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"