PageSourceSearch

https://www.framecompose.com/_next/static/chunks/884.4a26b53272279626.js

js framecompose.com collected 2026-09-24 14:44:34 UTC 3,905 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="615679fe-4a80-4bd0-9748-0fbb8693e1b7",e._sentryDebugIdIdentifier="sentry-dbid-615679fe-4a80-4bd0-9748-0fbb8693e1b7")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[884],{60884:(e,t,r)=>{r.r(t),r.d(t,{default:()=>l});var s=r(95155),n=r(12115),a=r(73321),i=r(54921),c=r(96412),o=r(87053);function l(){let e=(0,a.useSearchParams)(),t=e?.get("token")||"",r=e?.get("callbackUrl")||"/",[l,u]=(0,n.useState)(!1),d=(0,n.useRef)(!1),h=window.location.origin,m=(0,o.yx)(r,h);return(0,n.useEffect)(()=>{if(d.current)return;d.current=!0;let e=()=>{u(!0),(0,c.trackEvent)("auth_magic_link_invalid")};t?(async()=>{try{let r=await (0,i.Jv)("magic-link",{token:t,redirect:!1});r?.ok&&!r.error?window.location.assign(m):e()}catch{e()}})():e()},[t,m]),(0,s.jsx)("div",{className:"flex min-h-screen items-center justify-center bg-slate-950 px-4 py-10",children:(0,s.jsxs)("div",{className:"w-full max-w-sm text-center",children:[(0,s.jsxs)("div",{className:"mb-8 text-2xl font-semibold tracking-tight text-white",children:["Frame",(0,s.jsx)("span",{className:"text-[#E6B83F]",children:"Compose"})]}),(0,s.jsx)("div",{className:"rounded-2xl border border-white/10 bg-slate-900/70 p-8 shadow-[0_20px_60px_rgba(2,6,23,0.6)]",children:l?(0,s.jsxs)("div",{"data-testid":"magic-link-invalid",children:[(0,s.jsx)("p",{className:"text-sm font-medium text-white",children:"This sign-in link is invalid or has expired."}),(0,s.jsx)("p",{className:"mt-2 text-sm leading-6 text-slate-400",children:"Sign-in links expire after 15 minutes. Request a fresh one and try again."}),(0,s.jsx)("a",{href:"/auth/signin",className:"mt-4 inline-block text-sm font-medium text-[#E6B83F] underline-offset-4 hover:underline",children:"Back to sign-in"})]}):(0,s.jsxs)("div",{"data-testid":"magic-link-signing-in",className:"flex items-center justify-center gap-3 text-sm text-slate-200",children:[(0,s.jsxs)("svg",{className:"h-5 w-5 animate-spin text-[#E6B83F]",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:[(0,s.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,s.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v4a4 4 0 00-4 4H4z"})]}),(0,s.jsx)("span",{children:"Signing you in..."})]})})]})})}},73321:(e,t,r)=>{var s=r(74645);r.o(s,"redirect")&&r.d(t,{redirect:function(){return s.redirect}}),r.o(s,"useParams")&&r.d(t,{useParams:function(){return s.useParams}}),r.o(s,"usePathname")&&r.d(t,{usePathname:function(){return s.usePathname}}),r.o(s,"useRouter")&&r.d(t,{useRouter:function(){return s.useRouter}}),r.o(s,"useSearchParams")&&r.d(t,{useSearchParams:function(){return s.useSearchParams}})},87053:(e,t,r)=>{r.d(t,{U2:()=>u,yx:()=>l});let s=new Set(["auto-shorts-web-app.vercel.app"]),n=new Set(["www.framecompose.com","framecompose.com","auto-shorts-web-app.vercel.app"]),a=new Set(["localhost","127.0.0.1","0.0.0.0"]);function i(e){return e.toLowerCase().split(":")[0]||""}function c(e){let t=i(e);return n.has(t)||a.has(t)}function o(e){return`${e.pathname||"/"}${e.search}${e.hash}`}function l(e,t){let r,n;if(!e||!e.trim())return"/";try{r=new URL(t)}catch{return"/"}let a=e.trim();if(a.startsWith("/"))return a.startsWith("//")?"/":a;try{n=new URL(a)}catch{return"/"}if("http:"!==n.protocol&&"https:"!==n.protocol)return"/";let l=i(n.host),u=i(r.host);return n.origin===r.origin||s.has(l)&&c(u)||c(l)&&c(u)?o(n):"/"}function u(e){if(!e.startsWith("/")||e.startsWith("//"))return"/projects";try{let t=new URL(e,"https://framecompose.local"),r=t.pathname.split("/").filter(Boolean);return"projects"===r[0]&&r.length>=2&&"create"!==r[1]?"/projects":o(t)}catch{return"/projects"}}}}]);

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.