(()=>{function e(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var n=function(){function n(){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n)}var t,r;return t=n,(r=[{key:"init",value:function(){var e=document.getElementById("txt-report").value;e=(e=(e=e.replace(/(^\s*)|(\s*$)/gi,"")).replace(/[ ]{2,}/gi," ")).replace(/\n /,"\n"),document.getElementById("txt-report").value=e,$("#btn-report").on("click",(function(){$("#report-wrapper").slideToggle()})),$("#copy-report").on("click",(function(){$("#txt-report").select(),document.execCommand("copy")}))}}])&&e(t.prototype,r),n}();$(document).ready((function(){(new n).init()}))})();
