1import{u as o}from"./i18n-fRvqu9Qx.js";import{R as r,s as i}from"./index-Dgv2xMGN.js";const s=5*60*1e3,c=3e3;async function u(){const t=new AbortController,e=setTimeout(()=>t.abort(),c);try{const{data:{session:a}}=await i.auth.getSession();if(!(a!=null&&a.access_token))return{};const n=await fetch("https://ltwnshkruuotjdcqikgf.supabase.co/functions/v1/evaluate-flags",{method:"POST",headers:{Authorization:`Bearer ${a.access_token}`,"Content-Type":"application/json",apikey:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Imx0d25zaGtydXVvdGpkY3Fpa2dmIiwicm9sZSI6ImFub24iLCJpYXQiOjE3Nzc0MTA4NTIsImV4cCI6MjA5Mjk4Njg1Mn0.CZiXizENXgdm_0E5B3OeYrzUy1t6meiSc_kQ4QWcawk"},signal:t.signal});return n.ok?await n.json():{}}catch{return{}}finally{clearTimeout(e)}}function l(t){const{data:e}=o({queryKey:["feature-flags"],queryFn:u,staleTime:s,gcTime:s,refetchOnWindowFocus:!0,retry:!1});return(e==null?void 0:e[t])??!1}function I({flag:t,children:e}){return l(t)?r.createElement(r.Fragment,null,e):null}export{I as F,l as u};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.