1import{r as u}from"./react-DJiDbFd1.js";import{s as m}from"./index-CUcKvafI.js";import"./query-Df3p_a-z.js";import"./router-B1PQ6IJb.js";import"./radix-CNUJXOwZ.js";import"./supabase-CfLgG-5A.js";const g=()=>(u.useEffect(()=>{let r=!1;const c=()=>{r||(async()=>{const{data:e}=await m.from("site_settings").select("value").eq("key","clarity_project_id").maybeSingle(),d=e?.value?.trim();if(r||!d||document.getElementById("ms-clarity-script"))return;const t=document.createElement("script");t.id="ms-clarity-script",t.async=!0,t.defer=!0,t.innerHTML=` 2 (function(c,l,a,r,i,t,y){ 3 c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; 4 t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; 5 y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); 6 })(window, document, "clarity", "script", "${d}"); 7 `,document.head.appendChild(t)})()},i=window;let s=!1;const o=["scroll","pointerdown","keydown","touchstart","mousemove"],n=()=>{s||r||(s=!0,o.forEach(e=>window.removeEventListener(e,n)),window.clearTimeout(a),typeof i.requestIdleCallback=="function"?i.requestIdleCallback(c,{timeout:4e3}):c())};let a=0;const l=()=>{o.forEach(e=>window.addEventListener(e,n,{once:!0,passive:!0})),a=window.setTimeout(n,8e3)};return document.readyState==="complete"?l():window.addEventListener("load",l,{once:!0}),()=>{r=!0,o.forEach(e=>window.removeEventListener(e,n)),window.clearTimeout(a)}},[]),null);export{g as default};
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.