navigator.serviceWorker.register("./sw.js", { scope: __scramjet$config.prefix }) BareMux.SetTransport("BareMod.BareClient", (location.protocol === "https:" ? "https" : "http") + "://" + location.host + "/bare/") const flex = css`display: flex;`; const col = css`flex-direction: column;`; const store = $store({ url: "https://google.com", wispurl: "wss://wisp.mercurywork.shop/", bareurl: (location.protocol === "https:" ? "https" : "http") + "://" + location.host + "/bare/", }, { ident: "settings", backing: "localstorage", autosave: "auto" }); BareMux.SetTransport("BareMod.BareClient", (location.protocol === "https:" ? "https" : "http") + "://" + location.host + "/bare/") function App() { this.urlencoded = ""; this.css = ` width: 100%; height:100%; color: #e0def4; display: flex; align-items: center; justify-content: center; flex-direction:column; h1 { font-family: "Inter"; text-align: center; } iframe { border: 8px solid #11528f; background-color: #11528f; border-radius: 25px; margin: 2em; width: calc(100% - 4em); height: calc(100% - 8em); } input.bar { border: none; outline: none; color: #191724; height:2em; width:60%; text-align:center; border-radius: 5px; background-color: #eb6f92; } .cfg * { margin: 2px; } .buttons button { border: 4px solid #11528f; background-color: #eb6f92; color: #191724; } .cfg input { border: 3px solid #3d84a8; background-color: #eb6f92; outline: none; } `; return html`