document.addEventListener("DOMContentLoaded",(()=>{const e=document.createElement("input");e.type="text",e.id="copy-text-hidden",e.style.position="absolute",e.style.left="-9999px",document.body.appendChild(e);document.querySelectorAll(".copy-shortcode").forEach((t=>{t.addEventListener("click",(()=>{const o=t.id;var d;d=`[real3dflipbook id='${o}']`,e.value=d,e.select(),document.execCommand("copy"),e.blur(),console.log("Text copied to clipboard")}))}))}));