!function(){"use strict";var e,t,n,o,c;function r(e){const t=document.createElement("script");document.documentElement.appendChild(t),t.innerHTML=`\n    (new Promise((resolve, reject) => {\n      resolve()\n    })).then(() => {\n      ${e}\n    })\n  `,t.remove()}(e||(e={})).EMIT_CODE="EMIT_CODE",(n=t||(t={})).ABOUT_XSS="about-xss",n.EXPORT_SCRIPTS="export-scripts",(c=o||(o={})).LIGHT="light",c.DARK="dark",chrome.storage.local.get(["scripts"],(e=>{e.scripts&&e.scripts.forEach((e=>{e.autoExecute&&e.code&&r(e.code)}))})),chrome.runtime.onMessage.addListener(((t,n,o)=>{if(t.type===e.EMIT_CODE)r(t.code),o("ok")}))}();
