const t="openchamber-mobile-layout",r=e=>e==="default"?"default":"new",n=()=>{if(typeof window>"u")return"new";try{return r(window.localStorage.getItem(t))}catch{return"new"}},o=e=>{if(typeof window>"u")return!1;try{return window.localStorage.setItem(t,e),!0}catch{return!1}};export{n as g,o as s};
