{"version":3,"file":"GlobalAuthWrapper.BOhdjVim.mjs","names":["p","React.useState","React.useRef","React.useCallback","u","React.useMemo","React.useContext","u","React.useState","React.useMemo","React.useRef","React.useCallback"],"sources":["https:/framerusercontent.com/modules/v1dpmRUMkauE3jwKfw66/zwJeOlqusyc0OFZWwOK7/AuthProvider.js","https:/framerusercontent.com/modules/2pnk8stdJrmqBVZ6wFcr/yvHCj3WksqEyGPsAcZ2Y/api.js","https:/framerusercontent.com/modules/DMBgLftSpiNDAcHOQnPK/psIlRhY9b828IehufJcB/FramerAuthBridge.js","https:/framerusercontent.com/modules/isYrSy1jHN7Hqn6BOsPQ/h1BHeY7FuR8bN2c0xWzP/GlobalAuthWrapper.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";const Ctx=/*#__PURE__*/React.createContext(undefined);// keys\nconst K_JWT=\"ss_jwt\";const K_USER=\"ss_user\";(function migrate(){if(typeof window===\"undefined\")return;const legacyJwt=localStorage.getItem(\"jwt\");const legacyEmail=localStorage.getItem(\"email\");if(legacyJwt&&!localStorage.getItem(K_JWT)){localStorage.setItem(K_JWT,legacyJwt);}if(legacyEmail&&!localStorage.getItem(K_USER)){localStorage.setItem(K_USER,JSON.stringify({email:legacyEmail}));}})();function readLocal(k,fallback=null){if(typeof window===\"undefined\")return fallback;const v=window.localStorage.getItem(k);if(v==null)return fallback;try{return JSON.parse(v);}catch{return v??fallback;}}function writeLocal(k,v){if(typeof window===\"undefined\")return;if(typeof v===\"string\")window.localStorage.setItem(k,v);else window.localStorage.setItem(k,JSON.stringify(v));}/** Remove our keys + common FramerAuth keys. Keeps unrelated app data intact. */function clearAuthStorage(){try{// our keys\nlocalStorage.removeItem(K_JWT);localStorage.removeItem(K_USER);sessionStorage.removeItem(\"pp_sub_temp_id:ss\");localStorage.removeItem(\"pp_sub_temp_id\");sessionStorage.removeItem(\"ss_synced_email\");// FramerAuth.com keys (best-effort; they may change names over time)\nconst faPrefixes=[\"fa-\",\"framerauth\",\"framer-auth\",\"framerAuth\"];for(const k of Object.keys(localStorage)){if(faPrefixes.some(p=>k.startsWith(p)))localStorage.removeItem(k);}}catch{}}/** Try to sign out from FramerAuth.com SDK if present. */async function framerAuthSignOut(){try{const w=window;// common method names\nif(w.framerauth?.signOut)await w.framerauth.signOut();else if(w.framerauth?.logout)await w.framerauth.logout();else if(w.framerauth?.signout)await w.framerauth.signout();}catch{/* ignore */}}/** Broadcast logout to other tabs/windows. */const bc=typeof window!==\"undefined\"&&\"BroadcastChannel\"in window?new BroadcastChannel(\"ss-auth\"):null;export default function AuthProvider({children}){const[jwt,setJwt]=React.useState(()=>{if(typeof window===\"undefined\")return null;return window.localStorage.getItem(K_JWT);});const[user,setUser]=React.useState(()=>{if(typeof window===\"undefined\")return null;return readLocal(K_USER,null);});const jwtRef=React.useRef(jwt);React.useEffect(()=>{jwtRef.current=jwt;},[jwt]);const userRef=React.useRef(user);React.useEffect(()=>{userRef.current=user;},[user]);// cross-tab sync (storage)\nReact.useEffect(()=>{if(typeof window===\"undefined\")return;const onStorage=e=>{if(e.key===K_JWT){if(e.newValue!==jwtRef.current)setJwt(e.newValue);}if(e.key===K_USER){const next=readLocal(K_USER,null);const prev=userRef.current;const same=JSON.stringify(next)===JSON.stringify(prev);if(!same)setUser(next);}};window.addEventListener(\"storage\",onStorage);return()=>window.removeEventListener(\"storage\",onStorage);},[]);// cross-tab sync (BroadcastChannel)\nReact.useEffect(()=>{if(!bc)return;const handler=ev=>{if(ev.data?.type===\"logout\"){setJwt(null);setUser(null);}if(ev.data?.type===\"setAuth\"){setJwt(ev.data.jwt||null);setUser(ev.data.user||null);}};bc.addEventListener(\"message\",handler);return()=>bc.removeEventListener(\"message\",handler);},[]);const setAuth=React.useCallback((j,u)=>{if(j!==jwtRef.current){setJwt(j);localStorage.setItem(K_JWT,j);}const same=JSON.stringify(u)===JSON.stringify(userRef.current);if(!same){setUser(u);writeLocal(K_USER,u);}// notify other tabs\ntry{bc?.postMessage({type:\"setAuth\",jwt:j,user:u});}catch{}},[]);const logout=React.useCallback(async opts=>{// 1) Tell FramerAuth.com first (so its hooks fire and fa-* get cleared)\nawait framerAuthSignOut();// 2) Clear storage (our keys + FA keys + temp ids)\nclearAuthStorage();// 3) Reset state locally + notify other tabs\nsetJwt(null);setUser(null);try{bc?.postMessage({type:\"logout\"});}catch{}// 4) Optional hard reload to flush any lingering in-memory state\nif(opts?.hard){try{(window.top||window).location.reload();}catch{location.reload();}}},[]);const value=React.useMemo(()=>({jwt,user,setAuth,logout}),[jwt,user,setAuth,logout]);return /*#__PURE__*/_jsx(Ctx.Provider,{value:value,children:children});}export function useAuth(){const ctx=React.useContext(Ctx);if(!ctx){if(typeof window!==\"undefined\"){console.warn(\"useAuth used outside <AuthProvider /> — wrap page with your AuthRoot.\");}// strict fallback: no-op setAuth/logout to avoid crashes\nreturn{jwt:null,user:null,setAuth:()=>{},logout:()=>{}};}return ctx;}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AuthProvider\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"useAuth\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AuthProvider.map","// framer/api.ts — Framer-safe API helper (no Node 'process' usage)\nexport const API=typeof window!==\"undefined\"&&window.SS_API_BASE||typeof import.meta!==\"undefined\"&&import.meta.env&&import.meta.env.VITE_API_BASE||\"https://clara.salessuperstarai.com\";export const PAYPAL_PLANS={basic:{planId:\"P-26P77595EW568120SNDGEINY\",label:\"BASIC PLAN\"},pro:{planId:\"P-2BT246863R564545JNDGEIDY\",label:\"PRO PLAN\"},enterprise:{planId:null,label:\"ENTERPRISE PLAN\"}};export function getPayPalPlans(){return PAYPAL_PLANS;}export function getPayPalPlanIdByKey(key){return PAYPAL_PLANS[key]?.planId??null;}/* ---------------- JSON helper ---------------- */async function jsonOrError(res){let data=null;try{data=await res.json();}catch{data=null;}if(!res.ok){return{error:data?.error||`HTTP ${res.status}`,status:res.status};}return data??{};}/* ---------------- Persist PayPal temp id ---------------- */const TEMP_KEY_LS=\"pp_sub_temp_id\";const TEMP_KEY_SS=\"pp_sub_temp_id:ss\";function rememberTempSubId(id){if(!id)return;try{sessionStorage.setItem(TEMP_KEY_SS,id);}catch{}try{localStorage.setItem(TEMP_KEY_LS,id);}catch{}}export function consumeTempSubId(){try{const ss=sessionStorage.getItem(TEMP_KEY_SS);if(ss){sessionStorage.removeItem(TEMP_KEY_SS);try{localStorage.removeItem(TEMP_KEY_LS);}catch{}return ss;}}catch{}try{const ls=localStorage.getItem(TEMP_KEY_LS);if(ls){localStorage.removeItem(TEMP_KEY_LS);return ls;}}catch{}return null;}/* ---------------- Auth ---------------- */export async function signup(payload){const r=await fetch(API+\"/auth/signup\",{method:\"POST\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify(payload)});return jsonOrError(r);}export async function login(email,password){const r=await fetch(API+\"/auth/login\",{method:\"POST\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify({email,password})});return jsonOrError(r);}/** 🔗 Framer SSO bridge: find-or-create by email and return your JWT */export async function authSync(email,name,framerUserId,ref){const r=await fetch(API+\"/auth/sync\",{method:\"POST\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify({email,name,framerUserId,ref})});return jsonOrError(r);}export async function getUsage(jwt){const r=await fetch(API+\"/usage/me\",{headers:{Authorization:\"Bearer \"+jwt}});return jsonOrError(r);}/* ---------------- Chat ---------------- */export async function chat(jwt,messages,mode=\"short\"){const r=await fetch(API+\"/ai/chat\",{method:\"POST\",headers:{\"Content-Type\":\"application/json\",...jwt?{Authorization:\"Bearer \"+jwt}:{},Accept:\"application/json\"},body:JSON.stringify({messages,mode})});return jsonOrError(r);}// --- Streaming chat (SSE / NDJSON tolerant) ---\nexport async function chatStream(jwt,messages,mode=\"deep\",onEvent){const ctrl=new AbortController;const url=API+\"/ai/chat-stream\"// backend SSE route\n;let resp=null;try{resp=await fetch(url,{method:\"POST\",headers:{...jwt?{Authorization:\"Bearer \"+jwt}:{},\"Content-Type\":\"application/json\",Accept:\"text/event-stream, application/x-ndjson, application/json\"},body:JSON.stringify({messages,mode}),signal:ctrl.signal});}catch(e){onEvent?.({type:\"error\",error:e?.message||\"Network error\"});onEvent?.({type:\"done\"});return()=>ctrl.abort();}if(!resp.ok||!resp.body){let errMsg=`HTTP ${resp.status}`;try{const j=await resp.json();if(j?.error)errMsg=j.error;}catch{/* ignore */}onEvent?.({type:\"error\",error:errMsg});onEvent?.({type:\"done\"});return()=>ctrl.abort();}const reader=resp.body.getReader();const dec=new TextDecoder;let buffer=\"\";const pump=async()=>{const{done,value}=await reader.read();if(done){if(buffer.trim())parseLine(buffer);onEvent?.({type:\"done\"});return;}buffer+=dec.decode(value,{stream:true});const parts=buffer.split(/\\r?\\n/);buffer=parts.pop()||\"\";for(const line of parts)parseLine(line);return pump();};function parseLine(line){const raw=line.trim();if(!raw)return;// Support SSE: \"data: {...}\"\nconst sse=raw.startsWith(\"data:\")?raw.replace(/^data:\\s*/i,\"\"):raw;if(sse===\"[DONE]\"||sse===\"DONE\"){onEvent?.({type:\"done\"});return;}try{const evt=JSON.parse(sse);if(evt?.type===\"content\"&&typeof evt.text===\"string\"){onEvent?.({type:\"content\",text:evt.text});}else if(evt?.type===\"usage\"){onEvent?.({type:\"usage\",usage:evt.usage||evt});}else if(typeof evt.delta===\"string\"){onEvent?.({type:\"content\",text:evt.delta});}else if(typeof evt.text===\"string\"){onEvent?.({type:\"content\",text:evt.text});}}catch{// Treat as raw token\nonEvent?.({type:\"content\",text:sse});}}pump().catch(()=>{onEvent?.({type:\"done\"});});return()=>ctrl.abort();}/* ---------------- PayPal ---------------- */export async function createPayPalSubscription(email,planId){const r=await fetch(API+\"/paypal/subscription/create\",{method:\"POST\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify({email,planId})});const data=await jsonOrError(r);try{const id=data?.subscriptionTempId;if(id)rememberTempSubId(id);}catch{}return data;}export async function createPayPalSubscriptionByKey(email,key){const planId=getPayPalPlanIdByKey(key);if(!planId)throw new Error(`Unknown or unset plan for key: ${key}`);return createPayPalSubscription(email,planId);}export async function captureSubscription(email,subscription_id){const r=await fetch(API+\"/paypal/subscription/capture?email=\"+encodeURIComponent(email)+\"&subscription_id=\"+encodeURIComponent(subscription_id));return jsonOrError(r);}export async function syncSubscription(params){const r=await fetch(API+\"/paypal/subscription/sync\",{method:\"POST\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify(params||{})});return jsonOrError(r);}/* ---------------- Voice ---------------- */export async function transcribe(jwt,blob,durationSec,language){const fd=new FormData;fd.append(\"audio\",blob,blob.name||(blob.type.includes(\"wav\")?\"audio.wav\":\"audio.webm\"));if(durationSec!=null)fd.append(\"durationSec\",String(Math.round(durationSec)));if(language)fd.append(\"language\",language);const r=await fetch(API+\"/voice/transcribe\",{method:\"POST\",headers:{Authorization:\"Bearer \"+jwt},body:fd});const data=await r.json().catch(()=>null);if(!r.ok)throw new Error(data?.error||\"Transcription failed\");return data;}export async function tts(jwt,text,voice){const r=await fetch(API+\"/voice/tts\",{method:\"POST\",headers:{\"Content-Type\":\"application/json\",Authorization:\"Bearer \"+jwt},body:JSON.stringify({text,voice})});const ct=r.headers.get(\"Content-Type\")||\"\";if(ct.startsWith(\"audio/\")){const buf=await r.arrayBuffer();return new Blob([buf],{type:ct});}const data=await r.json().catch(()=>null);if(data?.error===\"tts_not_configured\")return null;throw new Error(data?.error||\"TTS failed\");}\nexport const __FramerMetadata__ = {\"exports\":{\"createPayPalSubscription\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getPayPalPlans\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"signup\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"tts\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getPayPalPlanIdByKey\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"captureSubscription\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PlanKey\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getUsage\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"transcribe\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"createPayPalSubscriptionByKey\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"login\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"authSync\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"API\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"consumeTempSubId\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"chatStream\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"chat\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PAYPAL_PLANS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"syncSubscription\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./api.map","// FramerAuthBridge.tsx\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{authSync}from\"https://framerusercontent.com/modules/2pnk8stdJrmqBVZ6wFcr/yvHCj3WksqEyGPsAcZ2Y/api.js\";import{useAuth}from\"https://framerusercontent.com/modules/v1dpmRUMkauE3jwKfw66/zwJeOlqusyc0OFZWwOK7/AuthProvider.js\";function readFaUserFromLocal(){try{const isLoaded=localStorage.getItem(\"fa-isLoaded\")===\"true\";const isAuthed=localStorage.getItem(\"fa-isAuthenticated\")===\"true\";if(!isLoaded||!isAuthed)return null;const raw=localStorage.getItem(\"fa-user\");if(!raw)return null;const u=JSON.parse(raw);const email=u?.email;const name=u?.name||[u?.first_name,u?.last_name].filter(Boolean).join(\" \")||u?.displayName||undefined;if(!email)return null;return{email,name};}catch{return null;}}function readUserSync(){if(typeof window===\"undefined\")return null;const w=window;if(w.framerauth?.user?.email){const u=w.framerauth.user;return{email:u.email,name:u.name||u.fullName||u.displayName};}const fa=readFaUserFromLocal();if(fa?.email)return fa;return null;}async function readUserAsync(){if(typeof window===\"undefined\")return null;const w=window;try{if(w.framerauth?.getUser){const u=await w.framerauth.getUser();if(u?.email)return{email:u.email,name:u.name||u.fullName||u.displayName};}if(w.framerauth?.currentUser){const u=await w.framerauth.currentUser();if(u?.email)return{email:u.email,name:u.name||u.fullName||u.displayName};}}catch{}return readFaUserFromLocal();}export default function FramerAuthBridge(props){const{jwt,setAuth}=useAuth();const[status,setStatus]=React.useState(\"idle\");const[msg,setMsg]=React.useState(\"\");// Detect if we’re inside a real provider or the fallback\nconst isRealProvider=React.useMemo(()=>{return setAuth&&setAuth!==(()=>{});},[setAuth]);const syncingRef=React.useRef(false);// ──────────────────────────────────────────────────────────\n// Immediate sync helper (call this when FA flips in SAME TAB)\n// ──────────────────────────────────────────────────────────\nconst immediateSync=React.useCallback(async()=>{if(syncingRef.current)return;if(jwt)return;// already authed\nconst uSync=readUserSync();const u=uSync?.email?uSync:await readUserAsync();const email=(u?.email||\"\").toLowerCase();if(!email)return;syncingRef.current=true;setStatus(\"syncing\");setMsg(\"\");try{const resp=await authSync(email,u?.name);if(resp?.error||!resp?.token){setStatus(\"error\");setMsg(resp?.error||\"No token from /auth/sync\");return;}if(!isRealProvider){setStatus(\"error\");setMsg(\"AuthProvider not mounted — wrap site with AuthRoot/GlobalAuthWrapper.\");return;}setAuth(resp.token,resp.user||{email,name:u?.name});// quick verify\ntry{const t0=Date.now();let wrote=false;while(Date.now()-t0<500){if(localStorage.getItem(\"ss_jwt\")){wrote=true;break;}await new Promise(r=>setTimeout(r,30));}if(!wrote){setStatus(\"error\");setMsg(\"Failed to persist ss_jwt — check AuthProvider wiring.\");return;}}catch{}setStatus(\"done\");setMsg(\"Synced\");if(props.redirectPath){// do not hard-reload; use client nav (Framer link) if present\ntry{const a=document.createElement(\"a\");a.href=props.redirectPath;a.style.display=\"none\";a.setAttribute(\"data-framer-page-link\",\"\");a.setAttribute(\"data-framer-page-link-replace\",\"true\");document.body.appendChild(a);a.click();a.remove();}catch{(window.top||window).location.replace(props.redirectPath);}}}catch(e){setStatus(\"error\");setMsg(e?.message||\"Sync failed\");}finally{syncingRef.current=false;}},[jwt,isRealProvider,props.redirectPath,setAuth]);// ──────────────────────────────────────────────────────────\n// Install SAME-TAB triggers:\n// 1) framerauth.onAuthStateChange if available\n// 2) Monkey-patch localStorage setItem/removeItem to catch fa-* flips\n// ──────────────────────────────────────────────────────────\nReact.useEffect(()=>{if(typeof window===\"undefined\")return;const w=window;// 1) Native FA callback (best case)\nlet unsub=null;try{if(typeof w.framerauth?.onAuthStateChange===\"function\"){unsub=w.framerauth.onAuthStateChange(()=>{// call immediately when FA toggles\nimmediateSync();});}}catch{}// 2) Patch localStorage for same-tab detection of fa-* updates\nconst origSet=localStorage.setItem.bind(localStorage);const origRem=localStorage.removeItem.bind(localStorage);const shouldKick=k=>!!k&&(k===\"fa-isAuthenticated\"||k===\"fa-user\");localStorage.setItem=(k,v)=>{origSet(k,v);if(shouldKick(k))immediateSync();};localStorage.removeItem=k=>{origRem(k);if(shouldKick(k))immediateSync();};return()=>{// cleanup\ntry{localStorage.setItem=origSet;localStorage.removeItem=origRem;}catch{}try{unsub?.();}catch{}};},[immediateSync]);// ──────────────────────────────────────────────────────────\n// Your existing polling as a safety net (kept as-is)\n// ──────────────────────────────────────────────────────────\nReact.useEffect(()=>{let cancelled=false;let timer=null;const until=Date.now()+(props.detectWindowMs??1e4);const go=(path,replace=true)=>{if(!path)return;try{const a=document.createElement(\"a\");a.href=path;a.style.display=\"none\";a.setAttribute(\"data-framer-page-link\",\"\");if(replace)a.setAttribute(\"data-framer-page-link-replace\",\"true\");document.body.appendChild(a);a.click();a.remove();}catch{if(replace)(window.top||window).location.replace(path);else(window.top||window).location.href=path;}};const done=()=>{cancelled=true;if(timer)clearTimeout(timer);};const syncToBackend=async u=>{const email=(u?.email||\"\").toLowerCase();if(!email)return false;if(syncingRef.current)return false;syncingRef.current=true;setStatus(\"syncing\");setMsg(\"\");try{const resp=await authSync(email,u?.name);if(resp?.error||!resp?.token){setStatus(\"error\");setMsg(resp?.error||\"No token from /auth/sync\");return false;}if(!isRealProvider){setStatus(\"error\");setMsg(\"AuthProvider not mounted — wrap site with AuthRoot/GlobalAuthWrapper.\");return false;}setAuth(resp.token,resp.user||{email,name:u?.name});// verify write\nlet wrote=false;try{const t0=Date.now();while(Date.now()-t0<500){if(localStorage.getItem(\"ss_jwt\")){wrote=true;break;}await new Promise(r=>setTimeout(r,30));}}catch{}if(!wrote){setStatus(\"error\");setMsg(\"Failed to persist ss_jwt — check AuthProvider wiring.\");return false;}setStatus(\"done\");setMsg(\"Synced\");done();if(props.redirectPath)setTimeout(()=>go(props.redirectPath,true),0);return true;}catch(e){setStatus(\"error\");setMsg(e?.message||\"Sync failed\");return false;}finally{syncingRef.current=false;}};async function tryDetectOnce(){if(jwt){setStatus(\"done\");setMsg(\"Already authenticated\");done();return true;}const uSync=readUserSync();if(uSync?.email)return await syncToBackend(uSync);const uAsync=await readUserAsync();if(uAsync?.email)return await syncToBackend(uAsync);return false;}setStatus(\"waiting\");const poll=async()=>{if(cancelled)return;const ok=await tryDetectOnce();if(ok)return;if(Date.now()>until){setStatus(\"error\");setMsg(\"Auth user not detected. Check site-id, Allowed Domains, and that you’re signed in.\");return;}timer=setTimeout(poll,props.detectEveryMs??400);};poll();return()=>{cancelled=true;if(timer)clearTimeout(timer);};},[jwt,setAuth,isRealProvider,props.detectEveryMs,props.detectWindowMs,props.redirectPath]);if(!props.showStatus)return null;const color=status===\"error\"?\"#b91c1c\":status===\"done\"?\"#166534\":\"#4b5563\";return /*#__PURE__*/_jsxs(\"div\",{style:{fontSize:12,color,padding:8,border:\"1px dashed #e5e7eb\",borderRadius:8},children:[\"FramerAuthBridge: \",/*#__PURE__*/_jsx(\"b\",{children:status}),\" \",msg?`• ${msg}`:\"\"]});}addPropertyControls(FramerAuthBridge,{autoInjectScript:{type:ControlType.Boolean,title:\"Inject Framer script\",defaultValue:false},detectWindowMs:{type:ControlType.Number,title:\"Detect Window (ms)\",defaultValue:1e4,min:500,max:6e4,unit:\"ms\"},detectEveryMs:{type:ControlType.Number,title:\"Poll every (ms)\",defaultValue:400,min:100,max:5e3,unit:\"ms\"},redirectPath:{type:ControlType.String,title:\"Redirect after sync\",defaultValue:\"\"},showStatus:{type:ControlType.Boolean,title:\"Show status\",defaultValue:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerAuthBridge\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// GlobalAuthWrapper.tsx\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import AuthProvider from\"https://framerusercontent.com/modules/v1dpmRUMkauE3jwKfw66/zwJeOlqusyc0OFZWwOK7/AuthProvider.js\";import FramerAuthBridge from\"https://framerusercontent.com/modules/DMBgLftSpiNDAcHOQnPK/psIlRhY9b828IehufJcB/FramerAuthBridge.js\";/**\n * Mount once near the top of the page tree.\n * Uses `display: contents` so it doesn't create its own box\n * and won't interfere with responsive layout.\n */export default function GlobalAuthWrapper({children,showStatus=false,autoInjectScript=false,redirectPath=\"\"}){return /*#__PURE__*/_jsx(\"div\",{style:{display:\"contents\",width:\"100%\",height:\"100%\"},children:/*#__PURE__*/_jsxs(AuthProvider,{children:[/*#__PURE__*/_jsx(FramerAuthBridge,{showStatus:showStatus,autoInjectScript:autoInjectScript,redirectPath:redirectPath}),children??null]})});}/* ---- Make it behave like a container on the canvas ---- */GlobalAuthWrapper.defaultProps={width:\"100%\",height:\"100%\",showStatus:false,autoInjectScript:false,redirectPath:\"\"};addPropertyControls(GlobalAuthWrapper,{children:{type:ControlType.ComponentInstance,title:\"Children\"},showStatus:{type:ControlType.Boolean,title:\"Show Bridge Status\",defaultValue:false},autoInjectScript:{type:ControlType.Boolean,title:\"Inject Framer script\",defaultValue:false},redirectPath:{type:ControlType.String,title:\"Redirect after sync\",defaultValue:\"\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GlobalAuthWrapper\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"gWAC2Y,SAAS,EAAU,EAAE,EAAS,KAAK,CAAC,GAAU,IAAS,OAAY,OAAO,EAAS,IAAM,EAAE,EAAO,aAAa,QAAQ,EAAE,CAAC,GAAG,GAAG,KAAK,OAAO,EAAS,GAAG,CAAC,OAAO,KAAK,MAAM,EAAE,MAAO,CAAC,OAAO,GAAG,GAAW,SAAS,EAAW,EAAE,EAAE,CAAW,IAAS,SAAsB,OAAO,GAAI,SAAS,EAAO,aAAa,QAAQ,EAAE,EAAE,CAAM,EAAO,aAAa,QAAQ,EAAE,KAAK,UAAU,EAAE,CAAC,EAAmF,SAAS,GAAkB,CAAC,GAAG,CACn3B,aAAa,WAAW,EAAM,CAAC,aAAa,WAAW,EAAO,CAAC,eAAe,WAAW,oBAAoB,CAAC,aAAa,WAAW,iBAAiB,CAAC,eAAe,WAAW,kBAAkB,CACpM,IAAM,EAAW,CAAC,MAAM,aAAa,cAAc,aAAa,CAAC,IAAI,IAAM,KAAK,OAAO,KAAK,aAAa,CAAK,EAAW,KAAK,GAAG,EAAE,WAAWA,EAAE,CAAC,EAAC,aAAa,WAAW,EAAE,MAAQ,GAA6D,eAAe,GAAmB,CAAC,GAAG,CAAC,IAAM,EAAE,EAC7R,EAAE,YA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