"use strict";var VApi,VimiumInjector=null;(()=>{let e,t=chrome,o=document.currentScript.parentElement,n=[],l=t.runtime.getURL(""),m=location.pathname.replace("/pages/","").split(".")[0],i=t.runtime.getManifest().content_scripts[0].js;for(let e of i){let t=document.createElement("script");t.async=!1,t.src=e[0]==="/"||e.lastIndexOf(l,0)===0?e:"/"+e,n.push(t)}if(n[n.length-1].onload=()=>{for(let e=n.length;0<=--e;)n[e].remove();VApi&&(VApi.$r=e=>{e===4&&document.dispatchEvent(new CustomEvent("VimiumC"))},VApi.v=function t(o){return e=e||new Promise(e=>{let t=document.createElement("script");t.src="/lib/simple_eval.js",t.onload=()=>{t.remove(),e()},document.head.append(t)}),e.then(()=>VApi.v!==t?(VApi.v=VApi.v.tryEval||VApi.v)(o):void 0)})},setTimeout(()=>{o.append(...n)},m==="options"?32:100),m==="blank"&&(t.storage.local.get("autoDarkMode",e=>{let o=e&&e.autoDarkMode;if(o===!1||o===1){let e=document.head.querySelector("meta[name=color-scheme]");e&&(e.content=o===1?"dark":"light")}return t.runtime.lastError}),t.i18n.getMessage("lang1"))){let e=t.i18n.getMessage("vblank");e&&(document.title=e)}})();