1import{a as s,j as n}from"./vendor-query-BxlSJxfF.js";import{a as m,i as d,bm as f,bn as i,bk as x,bo as b,al as w,bl as h}from"./index-DO0aGFYL.js";import{d as g,u as j}from"./vendor-react-DdNhUK9-.js";import"./vendor-supabase-Csx7YFID.js";function v(){const[o]=g(),r=j(),{tr:a}=m(),[l,p]=s.useState(!1),e=s.useMemo(()=>{const t=o.get("to")??"/";return t.startsWith("/")&&!t.startsWith("//")?t:"/"},[o]);return s.useEffect(()=>{if(d()||!f()&&!i()){r(e,{replace:!0});return}const t=x(e);i()&&(window.location.href=b(e));const c=window.setTimeout(()=>p(!0),1200),u=window.setTimeout(()=>r(e,{replace:!0}),2500);return()=>{window.clearTimeout(c),window.clearTimeout(u),t()}},[e,r]),n.jsxs("main",{className:"flex min-h-screen flex-col items-center justify-center gap-4 px-6 text-center",children:[n.jsx(w,{className:"h-8 w-8 text-primary","aria-hidden":!0}),n.jsx("h1",{className:"text-lg font-semibold text-foreground",children:a("openInApp.label")}),l&&n.jsx("button",{type:"button",onClick:()=>h(e),className:"rounded-full bg-primary px-5 py-2.5 text-sm font-semibold text-primary-foreground",children:a("openInApp.cta")}),n.jsx("button",{type:"button",onClick:()=>r(e,{replace:!0}),className:"text-sm text-muted-foreground underline",children:a("openInApp.continueWeb")})]})}export{v 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.