\n\t\t\t',e=document.getElementById("errors"));const o=document.createElement("details");o.innerHTML=`\n\t\t
\n\t\t
\n\t\t\tERROR CODE: ${t}\n\t\t\n\t\t${JSON.stringify(n)}`,e.appendChild(o),async function(t){const n=document.createElement("style");n.appendChild(document.createTextNode(t)),document.head.appendChild(n)}("\n\t\t* {\n\t\t\tfont-family: Roboto,HelveticaNeue,Arial,sans-serif;\n\t\t}\n\n\t\t#iceshrimp_app,\n\t\t#splash {\n\t\t\tdisplay: none !important;\n\t\t}\n\n\t\tbody,\n\t\thtml {\n\t\t\tbackground-color: #3b364c;\n\t\t\tcolor: rgb(231, 237, 255);\n\t\t\tjustify-content: center;\n\t\t\tmargin: auto;\n\t\t\tpadding: 10px;\n\t\t\ttext-align: center;\n\t\t}\n\n\t\tbutton {\n\t\t\tborder-radius: 999px;\n\t\t\tpadding: 0px 12px 0px 12px;\n\t\t\tborder: none;\n\t\t\tcursor: pointer;\n\t\t\tmargin-bottom: 12px;\n\t\t}\n\n\t\t.button-big {\n\t\t\tbackground: linear-gradient(-45deg, rgb(154, 146, 255), rgb(131, 114, 245));\n\t\t\tline-height: 50px;\n\t\t}\n\n\t\t.button-big:hover {\n\t\t\tbackground: rgb(201, 197, 255);\n\t\t}\n\n\t\t.button-small {\n\t\t\tbackground: #544d77;\n\t\t\tline-height: 40px;\n\t\t}\n\n\t\t.button-small:hover {\n\t\t\tbackground: #504967;\n\t\t}\n\n\t\t.button-label-big {\n\t\t\tcolor: #3b364c;\n\t\t\tfont-weight: bold;\n\t\t\tfont-size: 2em;\n\t\t\tpadding: 12px;\n\t\t}\n\n\t\t.button-label-small {\n\t\t\tcolor: rgb(231, 237, 255);\n\t\t\tfont-size: 16px;\n\t\t\tpadding: 12px;\n\t\t}\n\n\t\ta {\n\t\t\tcolor: rgb(255, 123, 114);\n\t\t\ttext-decoration: none;\n\t\t}\n\n\t\tp,\n\t\tli {\n\t\t\tfont-size: 16px;\n\t\t}\n\n\t\t.dont-worry,\n\t\t#msg {\n\t\t\tfont-size: 18px;\n\t\t}\n\n\t\t.icon-warning {\n\t\t\tcolor: rgb(236, 182, 55);\n\t\t\theight: 4rem;\n\t\t\tpadding-top: 2rem;\n\t\t}\n\n\t\th1 {\n\t\t\tfont-size: 32px;\n\t\t}\n\n\t\tcode {\n\t\t\tfont-family: Fira, FiraCode, monospace;\n\t\t}\n\n\t\tdetails {\n\t\t\tbackground: #423c55;\n\t\t\tmargin-bottom: 2rem;\n\t\t\tpadding: 0.5rem 1rem;\n\t\t\twidth: 40rem;\n\t\t\tborder-radius: 10px;\n\t\t\tjustify-content: center;\n\t\t\tmargin: auto;\n\t\t}\n\n\t\tsummary {\n\t\t\tcursor: pointer;\n\t\t}\n\n\t\tsummary > * {\n\t\t\tdisplay: inline;\n\t\t}\n\n\t\t@media screen and (max-width: 500px) {\n\t\t\tdetails {\n\t\t\t\twidth: 50%;\n\t\t\t}\n\t\t")}async function m(){try{const n=await fetch("/api/meta",{method:"POST",cache:"no-cache"}),e=await n.json();e.version!=t&&(localStorage.setItem("v",e.version),function(){try{navigator.serviceWorker.controller.postMessage("clear"),navigator.serviceWorker.getRegistrations().then((t=>{t.forEach((t=>t.unregister()))}))}catch(t){console.error(t)}location.reload()}())}catch(t){throw console.error(t),d("UPDATE_CHECK",t),t}}})();Loading...