import{r as e}from"./chunk/buildConstants.js";const t=Array.from(document.getElementsByTagName(`input`)),n=document.getElementsByTagName(`button`)[0];function r(){n.disabled=!t.every(e=>e.checked)}window.addEventListener(`message`,e=>{if(e.data===`port`){let i=e.ports[0];t.forEach(e=>{e.addEventListener(`change`,()=>{r()})}),n.addEventListener(`click`,()=>{i.postMessage(null)}),i.onmessage=e=>{let t=e.data;Array.from(document.getElementsByClassName(`beta-only`)).forEach(e=>{e.hidden=t}),Array.from(document.getElementsByClassName(`alpha-only`)).forEach(e=>{e.hidden=!t})}}}),window.addEventListener(`load`,()=>{Array.from(document.getElementsByClassName(`desktop-only`)).forEach(t=>{t.hidden=e}),Array.from(document.getElementsByClassName(`lite-only`)).forEach(t=>{t.hidden=!e})});