function GSshowSnackbar(e){var a=document.getElementById(e);a.classList.add("show"),setTimeout(function(){a.classList.remove("show")},3e3)}async function GSwriteClipboardText(e){if(navigator.clipboard&&navigator.clipboard.writeText)try{await navigator.clipboard.writeText(e)}catch(a){console.error(a.message)}else{var t=document.createElement("textarea");t.value=e,document.body.appendChild(t),t.select();try{document.execCommand("copy")}catch(r){console.error("Failed to copy using execCommand: ",r)}document.body.removeChild(t)}}