const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./ws-Dl8XkIy4.js","./rolldown-runtime-DAXXjFlN.js","./vendor-Dnfj1twE.js","./vendor-BJaREVC_.css","./vendor-vue--4CNL3BY.js","./vendor-quasar-BP3JemFi.js","./vendor-quasar-0mkwHnJZ.css","./TokenManager-7Ay6nr15.js","./vendor-lodash-C2wwRdEA.js","./IPCRegistry-CMHLtHVv.js","./client-api-D-UNvPyj.js","./vendor-musicmeta-BI7rY5IM.js","./cider_wasm-CaWHdi-p.js","./wasm-init-Ce1bFu5Z.js","./useNotifications-6khsAMfM.js","./vendor-hls-Dfw4y8Ys.js","./PlaybackEventBus--BJS1dhm.js","./vendor-parse-D7xTgFla.js","./vendor-socketio-CGgB_yva.js","./ws-9n_OqWXN.css"])))=>i.map(i=>d[i]);
import{dn as e,gr as t}from"./vendor-Dnfj1twE.js";import{d as n,l as r}from"./client-api-D-UNvPyj.js";import{i,r as a}from"./vendor-musicmeta-BI7rY5IM.js";e(),n(),i();var o=`windowing.fallbackNoticedReason`,s=!1;function c(e){try{return localStorage.getItem(o)===e}catch{return!1}}function l(e){try{localStorage.setItem(o,e)}catch{}}function u(e,n=2e4){return e()?Promise.resolve():new Promise(r=>{let i=!1,a=()=>{i||(i=!0,o(),s!=null&&clearTimeout(s),r())},o=t(e,e=>{e&&a()}),s=n>0?setTimeout(a,n):null})}async function d(){if(typeof window>`u`||s)return;let e=r();if(!e)return;if(c(e.reason)){s=!0;return}let[{whenLanguageReady:t,$lz:n},{ciderNotify:i},{useAppState:o}]=await Promise.all([a(()=>import(`./ws-Dl8XkIy4.js`).then(e=>(e.So(),e.Co)),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),a(()=>import(`./useNotifications-6khsAMfM.js`).then(e=>(e.r(),e.i)),__vite__mapDeps([14,1,2,3,4,10,8,9]),import.meta.url),a(()=>import(`./ws-Dl8XkIy4.js`).then(e=>(e.Lr(),e.Pr)),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url)]);await t();let d=o();await u(()=>d.bootRevealed),!s&&(s=!0,l(e.reason),i({type:`warning`,title:n(`New rendering mode isn't supported on this system`,`settings.option.visual.windowingMode.fallbackNotice.title`),subtitle:n(`Cider is using the Old mode instead.`,`settings.option.visual.windowingMode.fallbackNotice.body`),duration:8e3}))}export{d as notifyWindowingFallbackOnce};