import{q as c}from"./qrcode-Cl52YOFy.js";document.addEventListener("DOMContentLoaded",function(){const n=window.twoFactorConfig||{};if(n.qrUri){const e=document.getElementById("qrcode");if(e){const t=c(0,"M");t.addData(n.qrUri),t.make(),e.innerHTML=t.createSvgTag(5,0)}}const i=document.getElementById("copy-secret");i&&i.addEventListener("click",function(){const e=document.getElementById("secret-key");e&&navigator.clipboard.writeText(e.value),this.innerHTML='<i class="fas fa-check"></i>',setTimeout(()=>{this.innerHTML='<i class="fas fa-copy"></i>'},2e3)})});
