!async function(){try{let e=0;for(;(!window.Clerk||!window.Clerk.session)&&e<20;)await new Promise(e=>setTimeout(e,500)),e++;if(window.Clerk&&window.Clerk.session){const e=await window.Clerk.session.getToken();return window.postMessage({type:"SUNO_OFFLINE_TOKEN",token:e},"*"),{success:!0,token:e}}return window.postMessage({type:"SUNO_OFFLINE_TOKEN",error:"Clerk not available - are you logged in?"},"*"),{success:!1,error:"Clerk not available"}}catch(e){return window.postMessage({type:"SUNO_OFFLINE_TOKEN",error:e.message},"*"),{success:!1,error:e.message}}}();