!function(t,e){"object"==typeofexports&&"object"==typeofmodule?module.exports=e():"function"==typeofdefine&&define.amd?define([],e):"object"==typeofexports?exports.ClipboardJS=e():t.ClipboardJS=e()}(window,function(){returnfunction(n){varo={};functionr(t){if(o[t])returno[t].exports;vare=o[t]={i:t,l:!1,exports:{}};returnn[t].call(e.exports,e,e.exports,r),e.l=!0,e.exports}returnr.m=n,r.c=o,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(e,t){if(1&t&&(e=r(e)),8&t)returne;if(4&t&&"object"==typeofe&&e&&e.__esModule)returne;varn=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeofe)for(varoine)r.d(n,o,function(t){returne[t]}.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,n){"use strict";varr="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(t){returntypeoft}:function(t){returnt&&"function"==typeofSymbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft},i=function(){functiono(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(t,e,n){returne&&o(t.prototype,e),n&&o(t,n),t}}(),a=o(n(1)),c=o(n(3)),u=o(n(4));functiono(t){returnt&&t.__esModule?t:{default:t}}varl=function(t){functiono(t,e){!function(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}(this,o);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,(o.__proto__||Object.getPrototypeOf(o)).call(this));returnn.resolveOptions(e),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)}(o,c.default),i(o,[{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"===r(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){vare=this;this.listener=(0,u.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=newa.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}}]),o}();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"=