PageSourceSearch

https://getvsble.com/assets/GoRedirect-DMMXAGRr.js

js getvsble.com collected 2026-10-09 04:55:44 UTC 1,087 bytes, 1 lines download raw bytes

1import{b2 as x,a as p,u as h,r as o,s as g,j as e,L as f,cI as m}from"./index-ByYYWl6V.js";const j={seo:"seo?tab=optimization",billing:"account?scroll=plans"};function v(){const{target:c}=x(),l=p(),{user:r,loading:n}=h(),[t,i]=o.useState(null),[b,u]=o.useState(!1);if(o.useEffect(()=>{if(n||!r||t)return;const s=j[c??""];if(!s){i("/dashboard");return}let d=!1;return u(!0),(async()=>{const{data:a}=await g.from("websites").select("id").is("deleted_at",null).order("created_at",{ascending:!0}).limit(1).maybeSingle();d||(a!=null&&a.id?i(`/sites/${a.id}/${s}`):i("/dashboard"),u(!1))})(),()=>{d=!0}},[n,r,c,t]),n)return e.jsx("div",{className:"flex h-screen w-full items-center justify-center",children:e.jsx(f,{className:"h-8 w-8 animate-spin text-muted-foreground"})});if(!r){const s=encodeURIComponent(l.pathname+l.search);return e.jsx(m,{to:`/auth?redirect=${s}`,replace:!0})}return t?e.jsx(m,{to:t,replace:!0}):e.jsx("div",{className:"flex h-screen w-full items-center justify-center",children:e.jsx(f,{className:"h-8 w-8 animate-spin text-muted-foreground"})})}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.