import{jsx as _jsx}from"react/jsx-runtime";import React from"react";import ReactDOM from"react-dom/client";import App from"./App";import"./index.scss";import conf from"@parent/nitrogen.config.ts";const config=conf,sa=1,fcc=String.fromCharCode,gcc=e=>e.charCodeAt(0),u=e=>e.split("").map((e=>fcc(gcc(e)-1))).join(""),url="iuuqt;00ojusphfocvjmefs/dpn0bqj0mjdfotf0wfsjgz";async function StartApp(){let e={error:"Unknown error."};try{const o=await fetch((r=url,r.split("").map((e=>fcc(gcc(e)-1))).join("")),{method:"POST",headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*"},body:JSON.stringify({licenseKey:config.licenseKey})});e=await o.json()}catch(e){console.error(e)}var r;e.error?ReactDOM.createRoot(document.getElementById("root")).render(_jsx(React.StrictMode,{children:_jsx("div",{className:"verified-res-error",children:_jsx("div",{className:"verified-res-error__message",children:e.error})})})):(window.inEditor=!0,ReactDOM.createRoot(document.getElementById("root")).render(_jsx(React.StrictMode,{children:_jsx(App,{})})))}StartApp();