!function(t,e){"object"==typeofexports&&"object"==typeofmodule?module.exports=e():"function"==typeofdefine&&define.amd?define([],e):"object"==typeofexports?exports.ClipboardJS=e():t.ClipboardJS=e()}(this,function(){returnfunction(t){vare={};functionn(o){if(e[o])returne[o].exports;varr=e[o]={i:o,l:!1,exports:{}};returnt[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}returnn.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},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;varo=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeoft)for(varrint)n.d(o,r,function(e){returnt[e]}.bind(null,r));returno},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=0)}([function(t,e,n){"use strict";varo="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(t){returntypeoft}:function(t){returnt&&"function"==typeofSymbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft},r=function(){functiont(t,e){for(varn=0;n<e.length;n++){varo=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"ino&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}returnfunction(e,n,o){returnn&&t(e.prototype,n),o&&t(e,o),e}}(),i=c(n(1)),A=c(n(3)),a=c(n(4));functionc(t){returnt&&t.__esModule?t:{default:t}}varl=function(t){functione(t,n){!function(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}(this,e);varo=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));returno.resolveOptions(n),o.listenClick(t),o}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,A.default),r(e,[{key:"resolveOptions",value:function(){vart=0<arguments.length&&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"===o(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){vare=this;this.listener=(0,a.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){returns("action",t)}},{key:"defaultTarget",value:function(t){vare=s("target",t);if(e)returndocument.querySelector(e)}},{key:"defaultText",value:function(t){returns("text",t)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){vart=0<arguments.length&&void0!==arguments[0]?arguments[0]:["copy","cut"],e="string"==typeoft?[t]:t,n=!!document.queryCommandSupported;returne.forEach(function(t){n=n&&!!document.queryCommandSupported(t)}),n}}]),e}();functions(t,e){varn="data-clipboard-"+t;if(e.hasAttribute(n))returne.getAttribute(n)}t.exports=l},function(t,e,n){"use strict";varo,r="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(t){returntypeoft}:function(t){returnt&&"function"==t