!function(t,e){for(var o in e)t[o]=e[o]}(window,function(t){var e={};function o(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}return o.m=t,o.c=e,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=564)}({564:function(t,e,o){o(565)},565:function(t,e){function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function r(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function i(t,e,o){return(i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,o){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=c(t)););return t}(t,e);if(n){var r=Object.getOwnPropertyDescriptor(n,e);return r.get?r.get.call(o):r.value}})(t,e,o||t)}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var l=$.fn.bootstrapTable.utils;$.extend($.fn.bootstrapTable.defaults.icons,{copy:{bootstrap3:"glyphicon-copy icon-pencil",materialize:"content_copy"}[$.fn.bootstrapTable.theme]||"fa-copy"});$.extend($.fn.bootstrapTable.defaults,{showCopyRows:!1,copyWithHidden:!1,copyDelimiter:", ",copyNewline:"\n"}),$.fn.bootstrapTable.methods.push("copyColumnsToClipboard"),$.BootstrapTable=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),r(this,c(e).apply(this,arguments))}var o,a,p;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(e,$.BootstrapTable),o=e,(a=[{key:"initToolbar",value:function(){for(var t,o=this,n=arguments.length,r=new Array(n),u=0;u<n;u++)r[u]=arguments[u];(t=i(c(e.prototype),"initToolbar",this)).call.apply(t,[this].concat(r));var a=this.$toolbar.find(">.columns");this.options.showCopyRows&&this.header.stateField&&(this.$copyButton=$('\n        <button class="'.concat(this.constants.buttonsClass,'">\n        ').concat(l.sprintf(this.constants.html.icon,this.options.iconsPrefix,this.options.icons.copy),"\n        </button>\n      ")),a.append(this.$copyButton),this.$copyButton.click((function(){o.copyColumnsToClipboard()})),this.updateCopyButton())}},{key:"copyColumnsToClipboard",value:function(){var t=this,e=[];$.each(this.getSelections(),(function(o,n){var r=[];$.each(t.options.columns[0],(function(e,i){i.field!==t.header.stateField&&(!t.options.copyWithHidden||t.options.copyWithHidden&&i.visible)&&null!==n[i.field]&&r.push(l.calculateObjectValue(i,t.header.formatters[e],[n[i.field],n,o],n[i.field]))})),e.push(r.join(t.options.copyDelimiter))})),function(t){var e=document.createElement("textarea");$(e).html(t),document.body.appendChild(e),e.select();try{document.execCommand("copy")}catch(t){console.log("Oops, unable to copy")}$(e).remove()}(e.join(this.options.copyNewline))}},{key:"updateSelected",value:function(){i(c(e.prototype),"updateSelected",this).call(this),this.updateCopyButton()}},{key:"updateCopyButton",value:function(){this.$copyButton.prop("disabled",!this.getSelections().length)}}])&&n(o.prototype,a),p&&n(o,p),e}()}}));