{"version":3,"file":"AccountSettingsWirer.Dh_b__W9.mjs","names":["React.useRef","createClient","__esmMin","le","init_ssg_sandbox_shims","window","c","init_jsx_runtime","ce","init_npm_react_18_3_1","de","RenderTarget","addPropertyControls","init_framer_BpuvUAiZ","ControlType","init_supabase_js_2","Ee","isInFramerEditor","t","AccountSettingsWirer","props","unhideAccountCardRef","unhidePlaceholdersRef","syncPatchPlaceholders","card","findAccountInfoCard","unhideCard","prevVisibility","safety","supabaseUrl","supabaseAnonKey","supabase","cleanup","cancelled","session","userId","email","profile","fullName","role","replaceEmailPlaceholder","replaceNavAvatarName","hidePaymentCard","replacePrivacySubtitle","handler","target","e","label","findButtonLabel","showToast","redirectTo","resetPasswordPath","resetErr","qs","url","contactPath","openDeactivateConfirm","handleDeactivate","accountSelfDeletePath","resp","stripeOnboardingLinkPath","body","fn","style","realEmail","candidates","el","txt","p","i","leaf","placeholders","btn","aria","title","img","hidden","cachedName","cachedEmail","k","raw","parsed","user","PLACEHOLDER_NAMES","PLACEHOLDER_EMAIL_RE","hide","walker","n","s","alt","header","parent","targets","from","modal","CONFIRM_MODAL_ID","sheet","escapeHtml","opts","actions","cancel","confirmBtn","deletePath","accessToken","TOAST_ID","kind","message","TOAST_TIMEOUT_MS","init_AccountSettingsWirer"],"sources":["https:/framerusercontent.com/modules/n9hie8y31z97OabpStAh/4dT71B2YZiRaG87ZYWN7/AccountSettingsWirer.js"],"sourcesContent":["// Connect-4Care — AccountSettingsWirer\n//\n// Headless Framer code component dropped ONCE on both the\n// `/careseeker-account-settings` and `/caregiver-account-settings`\n// pages. Renders a 1x1 invisible helper.\n//\n// What this does on mount:\n//   1. Resolves the signed-in user via Supabase (RoleGuard already\n//      bounces signed-out users; this component assumes a session is\n//      present and silently no-ops otherwise).\n//   2. Fetches the user's `profiles.full_name` + `profiles.role` so the\n//      Contact Support link can prefill the /contact form.\n//   3. Replaces the design-time Email placeholder (an `@`-containing\n//      text leaf inside the Account Information card) with the real\n//      authenticated email.\n//   4. If `profiles.role` is NOT `caregiver` (so family / admin), HIDES\n//      the \"Payment & Stripe Integration\" card entirely — careseekers\n//      don't have Stripe Connect accounts under the D-115 pay-up-front\n//      model, so the designer's mocked-up \"Connected\" badge + Manage Stripe\n//      Account button were misleading.\n//   5. Intercepts capture-phase pointerdown on four buttons:\n//        - \"Reset Password\" (A tag) → navigate to `/reset-password`.\n//        - \"Deactivate Account\" (BUTTON) → open a self-rendered confirm\n//          modal; on confirmed, call the `account-self-delete` Edge\n//          Function with the user's JWT, sign out, redirect to `/`.\n//        - \"Contact Support\" (A tag) → navigate to\n//          `/contact?name=<full_name>&email=<email>`. The /contact page\n//          has `ContactFormPrefill` dropped on it which reads those\n//          query params on mount and fills the Name + Email inputs.\n//        - \"Manage Stripe Account\" (CAREGIVER ROLE ONLY) → POST to the\n//          `stripe-caregiver-onboarding-link` Edge Function with the\n//          user's JWT, redirect to the returned Stripe-hosted URL.\n//          Mirrors the fetch pattern CaregiverStripeOnboardingTrigger\n//          uses on the dashboard, inlined here so only one component\n//          needs an instance on each account-settings page (otherwise\n//          the designer had to drop both and keep both anon keys in sync).\n//\n// Why self-rendered confirm instead of window.confirm():\n//   browser confirm() blocks the Framer runtime and interrupts other\n//   components. A styled modal matches the rest of our toast / modal\n//   components (OnboardingSubmit, CaregiverBgCheckUpload modal).\n//\n// Capture-phase click interception matches StepGatekeeper's pattern —\n// we must call stopPropagation + preventDefault to beat the designer's own\n// Framer interactions on the same button (e.g. hover / press variants).\nimport{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{createClient}from\"https://esm.sh/@supabase/supabase-js@2\";const CONFIRM_MODAL_ID=\"c4c-deactivate-confirm-modal\";const TOAST_ID=\"c4c-account-settings-toast\";const TOAST_TIMEOUT_MS=5e3;function isInFramerEditor(){try{const t=RenderTarget.current();return t===RenderTarget.canvas||t===RenderTarget.thumbnail;}catch{return false;}}export default function AccountSettingsWirer(props){const{supabaseUrl,supabaseAnonKey,accountSelfDeletePath,resetPasswordPath,contactPath,stripeOnboardingLinkPath,style}=props;const unhideAccountCardRef=React.useRef(null);const unhidePlaceholdersRef=React.useRef(null);// Sync pre-paint patch: rewrite the nav chip / aria / alt / title and\n// every \"Sarah Jenkins\" + placeholder-email text leaf with the user's\n// cached session data (localStorage) before the browser paints. Also\n// hide the Account Information card for the (rare) case where there's\n// nothing cached. The async effect below unhides anything we had to\n// hide once real data lands. Safety timeout unhides regardless.\nReact.useLayoutEffect(()=>{if(typeof window===\"undefined\")return;if(isInFramerEditor())return;// 1. Fire the broad sync patch across the whole page (nav chip\n//    text / aria / alt / title + placeholder email leaves).\nunhidePlaceholdersRef.current=syncPatchPlaceholders();// 2. Hide the Account Information card specifically — email on\n//    first paint is sometimes present in cached session but the\n//    design-time literal \"sarah.jenkins@care.com\" wraps the real\n//    email in a different DOM tree, so a card-level hide keeps\n//    the swap atomic.\nconst card=findAccountInfoCard();let unhideCard=null;if(card){const prevVisibility=card.style.visibility;card.style.visibility=\"hidden\";unhideCard=()=>{card.style.visibility=prevVisibility;};}const safety=window.setTimeout(()=>{if(unhideCard)unhideCard();if(unhidePlaceholdersRef.current){unhidePlaceholdersRef.current();unhidePlaceholdersRef.current=null;}},3e3);unhideAccountCardRef.current=()=>{window.clearTimeout(safety);if(unhideCard)unhideCard();unhideAccountCardRef.current=null;};return()=>{window.clearTimeout(safety);if(unhideCard)unhideCard();if(unhidePlaceholdersRef.current){unhidePlaceholdersRef.current();unhidePlaceholdersRef.current=null;}unhideAccountCardRef.current=null;};},[]);React.useEffect(()=>{if(typeof window===\"undefined\")return;if(isInFramerEditor())return;if(!supabaseUrl||!supabaseAnonKey)return;const supabase=createClient(supabaseUrl,supabaseAnonKey);let cleanup=[];let cancelled=false;(async()=>{const{data:{session}}=await supabase.auth.getSession();if(cancelled)return;if(!session)return;// RoleGuard will handle the redirect\nconst userId=session.user.id;const email=session.user.email||\"\";// Pull profile for name + role.\nconst{data:profile}=await supabase.from(\"profiles\").select(\"full_name, role\").eq(\"id\",userId).single();if(cancelled)return;const fullName=(profile?.full_name)||\"\";const role=(profile?.role)||\"family\";// 1. Replace the Email placeholder text node with the real email,\n// then unhide the Account Information card the layout effect hid.\nreplaceEmailPlaceholder(email);unhideAccountCardRef.current?.();// 1b. Patch the nav-avatar placeholder — the dashboard hydrator\n// only runs on /careseeker-dashboard, so on the account-settings\n// pages the nav chip stays stuck on \"Sarah Jenkins\" text + aria\n// + img alt until this component runs. Patches ONLY the a11y\n// attributes + visible text; avatar image swap stays with the\n// dashboard hydrator (it needs the storage URL join).\nif(fullName){replaceNavAvatarName(fullName);}// Unhide anything the layout-effect sync patch hid for lack\n// of cached data — real email + name are in the DOM now.\nif(unhidePlaceholdersRef.current){unhidePlaceholdersRef.current();unhidePlaceholdersRef.current=null;}// 2. Hide the Payment & Stripe Integration card for careseekers\n//    only (D-131). Caregivers keep it as a status + \"Manage\n//    Stripe Account\" entry; the richer CaregiverPayoutsCard\n//    (D-150) sits BELOW the whole settings grid as a separate\n//    block so the 2x2 doesn't lose a slot.\nif(role!==\"caregiver\"){hidePaymentCard();}// 2b. Replace the designer's \"Deactivating your profile hides it\n// from all public search results.\" subtitle on the Privacy &\n// Security card. The copy was mocked assuming a soft-delete\n// behavior; we hard-delete under D-131, so the subtitle has\n// to reflect that or the user is misled before they click.\nreplacePrivacySubtitle();// 3. Wire the four buttons via capture-phase pointerdown.\nconst handler=async e=>{const target=e.target;if(!target)return;const label=findButtonLabel(target);if(!label)return;if(label===\"reset password\"){e.stopPropagation();e.preventDefault();// The signed-in user doesn't need the recovery-token\n// landing page — that's for people clicking a link\n// from their email. Fire resetPasswordForEmail with\n// their own address so Supabase sends them the link,\n// and surface a toast confirming the send. The link\n// routes back to /reset-password with the token, so\n// the existing page handles the rest.\nif(!email){showToast(\"We couldn't find an email on your account. Please contact support.\",\"error\");return;}showToast(\"Sending a reset link to your email…\",\"info\");try{const redirectTo=`${window.location.origin}${resetPasswordPath}`;const{error:resetErr}=await supabase.auth.resetPasswordForEmail(email,{redirectTo});if(resetErr){showToast(\"Couldn't send the reset email. Please try again or contact support.\",\"error\");return;}showToast(`Check ${email} for a link to reset your password.`,\"success\");}catch{showToast(\"Couldn't send the reset email. Please try again or contact support.\",\"error\");}return;}if(label===\"contact support\"){e.stopPropagation();e.preventDefault();const qs=new URLSearchParams;if(fullName)qs.set(\"name\",fullName);if(email)qs.set(\"email\",email);const url=qs.toString()?`${contactPath}?${qs.toString()}`:contactPath;window.location.assign(url);return;}if(label===\"deactivate account\"){e.stopPropagation();e.preventDefault();openDeactivateConfirm({email,onConfirm:async()=>{await handleDeactivate(supabase,session.access_token,supabaseUrl,accountSelfDeletePath);}});return;}if(label===\"manage stripe account\"&&role===\"caregiver\"){// Caregiver side only. The careseeker payment card is\n// already hidden above, so this branch wouldn't be\n// reached for a family role anyway — the role guard\n// is defensive against future design changes.\n//\n// We duplicate the fetch pattern from\n// CaregiverStripeOnboardingTrigger (not an import —\n// Framer code components can't share runtime imports\n// cleanly). If the designer already dropped that trigger\n// on this page, the extra click handler is a no-op\n// (we're inside stopPropagation + preventDefault)\n// but doesn't cause a duplicate fetch because that\n// trigger uses capture-phase too and the first one\n// registered wins. Centralising here means one less\n// component instance for the designer to configure per\n// launch day.\ne.stopPropagation();e.preventDefault();showToast(\"Opening payouts setup…\",\"info\");try{const resp=await fetch(`${supabaseUrl.replace(/\\/$/,\"\")}${stripeOnboardingLinkPath}`,{method:\"POST\",headers:{Authorization:`Bearer ${session.access_token}`,apikey:supabaseAnonKey,\"Content-Type\":\"application/json\"},body:JSON.stringify({})});const body=await resp.json();if(!resp.ok||!body?.url){const msg=body?.error?.message||`Payouts setup failed (${resp.status}). Please try again or contact support.`;showToast(msg,\"error\");return;}// Hand off to Stripe's hosted onboarding/management UI.\nwindow.location.assign(body.url);}catch(err){showToast(\"Couldn't reach Stripe just now. Please try again.\",\"error\");}return;}};document.addEventListener(\"pointerdown\",handler,{capture:true});cleanup.push(()=>{document.removeEventListener(\"pointerdown\",handler,{capture:true});});})();return()=>{cancelled=true;cleanup.forEach(fn=>fn());};},[supabaseUrl,supabaseAnonKey,accountSelfDeletePath,resetPasswordPath,contactPath,stripeOnboardingLinkPath]);return /*#__PURE__*/_jsx(\"div\",{style:{width:1,height:1,overflow:\"hidden\",pointerEvents:\"none\",...style},\"aria-hidden\":\"true\"});}function replaceEmailPlaceholder(realEmail){if(!realEmail)return;// Find text leaves containing an @ and a dot in a plausible email shape,\n// excluding leaves inside anchors (which are likely the \"Contact Us\"\n// mailto in the footer or nav user menu).\nconst candidates=Array.from(document.querySelectorAll(\"*\")).filter(el=>{if(el.children.length!==0)return false;const txt=(el.textContent||\"\").trim();if(txt.length>100)return false;if(!/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/.test(txt))return false;// Skip if inside an anchor\nlet p=el;for(let i=0;i<6&&p;i++){if(p.tagName===\"A\")return false;p=p.parentElement;}return true;});for(const el of candidates){if((el.textContent||\"\").trim()!==realEmail){el.textContent=realEmail;}}}function replacePrivacySubtitle(){// Find the exact design-time copy and swap it to accurate-for-D-131\n// text. We DON'T partial-match (\"startsWith Deactivating\") because\n// if a future design copy changes we'd rather silently no-op than\n// overwrite with the wrong replacement.\nconst target=\"Deactivating your profile hides it from all public search results.\";const replacement=\"Deactivating permanently deletes your account — your profile, your messages, your bookings. This cannot be undone.\";const leaf=Array.from(document.querySelectorAll(\"*\")).find(el=>{if(el.children.length!==0)return false;return(el.textContent||\"\").trim()===target;});if(leaf){leaf.textContent=replacement;}}function replaceNavAvatarName(fullName){const placeholders=[\"Sarah Jenkins\",\"Margaret Thompson\"];// Visible text leaves.\nfor(const el of Array.from(document.querySelectorAll(\"*\"))){if(el.children.length!==0)continue;const txt=(el.textContent||\"\").trim();if(txt.length>50)continue;if(placeholders.includes(txt)){el.textContent=fullName;}}// Account-menu button aria-label + title.\nfor(const btn of Array.from(document.querySelectorAll(\"button\"))){const aria=btn.getAttribute(\"aria-label\")||\"\";if(placeholders.some(p=>aria.includes(p))){btn.setAttribute(\"aria-label\",aria.replace(/Sarah Jenkins|Margaret Thompson/g,fullName));}const title=btn.getAttribute(\"title\")||\"\";if(placeholders.some(p=>title.includes(p))){btn.setAttribute(\"title\",title.replace(/Sarah Jenkins|Margaret Thompson/g,fullName));}}// Avatar <img> alt + title.\nfor(const img of Array.from(document.querySelectorAll(\"img\"))){if(placeholders.includes((img.alt||\"\").trim())){img.alt=fullName;}const t=img.getAttribute(\"title\")||\"\";if(placeholders.includes(t.trim())){img.setAttribute(\"title\",fullName);}}}// Sync pre-paint patch. Reads the Supabase auth token already in\n// localStorage, extracts full_name + email, rewrites every design-time\n// \"Sarah Jenkins\" / \"Margaret Thompson\" / \"sarah.jenkins@care.com\" leaf\n// + button[title] + button[aria-label] + img[alt] + img[title] in the\n// current DOM. Elements with no cached replacement get visibility:\n// hidden until the async effect writes the real data; the returned\n// callback unhides them.\nfunction syncPatchPlaceholders(){if(typeof document===\"undefined\")return()=>{};const hidden=[];let cachedName=null;let cachedEmail=null;try{for(const k of Object.keys(localStorage)){if(!k.startsWith(\"sb-\")||!k.includes(\"auth-token\"))continue;const raw=localStorage.getItem(k);if(!raw)continue;try{const parsed=JSON.parse(raw);const user=parsed?.user||parsed?.currentSession?.user;if(user){cachedName=(user.user_metadata?.full_name)||null;cachedEmail=user.email||null;if(cachedName||cachedEmail)break;}}catch{/* skip malformed token entry */}}}catch{/* private-browsing quirks */}const PLACEHOLDER_NAMES=[\"Sarah Jenkins\",\"Margaret Thompson\"];const PLACEHOLDER_EMAIL_RE=/^(sarah\\.jenkins|margaret\\.thompson)@/i;const hide=el=>{if(el.dataset.c4cHydrateHidden===\"1\")return;el.dataset.c4cHydrateHidden=\"1\";el.style.visibility=\"hidden\";hidden.push(el);};try{const walker=document.createTreeWalker(document.body,NodeFilter.SHOW_TEXT,null);let n;while(n=walker.nextNode()){const txt=(n.nodeValue||\"\").trim();if(!txt)continue;if(PLACEHOLDER_NAMES.includes(txt)){if(cachedName){n.nodeValue=cachedName;}else{const el=n.parentElement;if(el)hide(el);}}else if(PLACEHOLDER_EMAIL_RE.test(txt)){if(cachedEmail){n.nodeValue=cachedEmail;}else{const el=n.parentElement;if(el)hide(el);}}}document.querySelectorAll(\"button\").forEach(btn=>{const title=(btn.getAttribute(\"title\")||\"\").trim();if(PLACEHOLDER_NAMES.includes(title)&&cachedName){btn.setAttribute(\"title\",cachedName);}const aria=btn.getAttribute(\"aria-label\")||\"\";if(PLACEHOLDER_NAMES.some(p=>aria.includes(p))&&cachedName){btn.setAttribute(\"aria-label\",PLACEHOLDER_NAMES.reduce((s,p)=>s.split(p).join(cachedName),aria));}});document.querySelectorAll(\"img\").forEach(img=>{const alt=(img.alt||\"\").trim();const title=(img.getAttribute(\"title\")||\"\").trim();if(PLACEHOLDER_NAMES.includes(alt)){if(cachedName){img.alt=cachedName;}else{hide(img);}}if(PLACEHOLDER_NAMES.includes(title)&&cachedName){img.setAttribute(\"title\",cachedName);}});}catch{/* readonly DOM / private-browsing quirks */}return()=>{for(const el of hidden){try{delete el.dataset.c4cHydrateHidden;el.style.visibility=\"\";}catch{/* ignore */}}};}function findAccountInfoCard(){const header=Array.from(document.querySelectorAll(\"*\")).find(el=>{if(el.children.length!==0)return false;return(el.textContent||\"\").trim()===\"Account Information\";});if(!header)return null;let card=header;for(let i=0;i<8&&card;i++){const txt=(card.textContent||\"\").trim();if(txt.startsWith(\"Account Information\")&&txt.length>100)break;card=card.parentElement;}return card;}function hidePaymentCard(){// Locate the \"Payment & Stripe Integration\" header text leaf, then\n// walk UP as long as the parent's textContent still starts with\n// \"Payment & Stripe\". The last ancestor that passes this test is\n// the outermost wrapper of the Payment card — its parent is the\n// page-level grid that holds this + the Account Information card\n// + others, so its textContent begins with \"Account Information…\"\n// and the loop stops there. Previous version used a `length > 100`\n// heuristic that silently no-op'd when the card body was shorter\n// than 100 chars (D-150 regression).\nconst header=Array.from(document.querySelectorAll(\"*\")).find(el=>{if(el.children.length!==0)return false;return(el.textContent||\"\").trim()===\"Payment & Stripe Integration\";});if(!header)return;let card=header;for(let i=0;i<10;i++){const parent=card.parentElement;if(!parent)break;const parentText=(parent.textContent||\"\").trim();if(!parentText.startsWith(\"Payment & Stripe\"))break;card=parent;}card.style.display=\"none\";}function findButtonLabel(from){const targets=new Set([\"reset password\",\"deactivate account\",\"contact support\",\"manage stripe account\"]);let el=from;for(let i=0;i<6&&el;i++){const txt=(el.textContent||\"\").trim().toLowerCase();if(txt.length<50&&targets.has(txt))return txt;el=el.parentElement;}return null;}function openDeactivateConfirm(opts){let modal=document.getElementById(CONFIRM_MODAL_ID);if(modal)modal.remove();modal=document.createElement(\"div\");modal.id=CONFIRM_MODAL_ID;Object.assign(modal.style,{position:\"fixed\",inset:\"0\",background:\"rgba(21, 82, 89, 0.45)\",zIndex:\"999999\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",padding:\"24px\",font:\"500 15px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif\"});const sheet=document.createElement(\"div\");Object.assign(sheet.style,{background:\"#FFFFFF\",borderRadius:\"16px\",maxWidth:\"440px\",width:\"100%\",padding:\"28px\",boxShadow:\"0 20px 60px rgba(0,0,0,0.2)\",color:\"#1F2A2E\"});const title=document.createElement(\"h2\");title.textContent=\"Deactivate your account?\";Object.assign(title.style,{margin:\"0 0 12px 0\",fontSize:\"20px\",fontWeight:\"700\",color:\"#7A1F1F\"});const body=document.createElement(\"p\");body.innerHTML=`This permanently deletes <strong>${escapeHtml(opts.email)}</strong> and everything attached to it — your profile, your messages, your bookings. This cannot be undone.`;Object.assign(body.style,{margin:\"0 0 20px 0\",lineHeight:\"1.5\",color:\"#1F2A2E\",// Long email addresses (e.g. test aliases on long domains) would\n// otherwise overflow the 440px modal; let them wrap mid-word.\noverflowWrap:\"anywhere\",wordBreak:\"break-word\"});const actions=document.createElement(\"div\");Object.assign(actions.style,{display:\"flex\",gap:\"12px\",justifyContent:\"flex-end\"});const cancel=document.createElement(\"button\");cancel.textContent=\"Cancel\";Object.assign(cancel.style,{padding:\"10px 20px\",borderRadius:\"999px\",border:\"1px solid #C8D4D3\",background:\"#FFFFFF\",color:\"#1F2A2E\",fontWeight:\"600\",cursor:\"pointer\",font:\"inherit\"});cancel.addEventListener(\"click\",()=>modal?.remove());const confirmBtn=document.createElement(\"button\");confirmBtn.textContent=\"Yes, deactivate\";Object.assign(confirmBtn.style,{padding:\"10px 20px\",borderRadius:\"999px\",border:\"0\",background:\"#7A1F1F\",color:\"#FFFFFF\",fontWeight:\"700\",cursor:\"pointer\",font:\"inherit\"});confirmBtn.addEventListener(\"click\",async()=>{confirmBtn.disabled=true;confirmBtn.textContent=\"Deactivating…\";try{await opts.onConfirm();modal?.remove();}catch(err){confirmBtn.disabled=false;confirmBtn.textContent=\"Yes, deactivate\";showToast(\"Couldn't deactivate just now. Please try again or contact support.\",\"error\");}});actions.appendChild(cancel);actions.appendChild(confirmBtn);sheet.appendChild(title);sheet.appendChild(body);sheet.appendChild(actions);modal.appendChild(sheet);document.body.appendChild(modal);}async function handleDeactivate(supabase,accessToken,supabaseUrl,deletePath){const url=`${supabaseUrl.replace(/\\/$/,\"\")}${deletePath}`;const resp=await fetch(url,{method:\"POST\",headers:{\"Content-Type\":\"application/json\",Authorization:`Bearer ${accessToken}`}});if(!resp.ok){const body=await resp.text();throw new Error(`account-self-delete returned ${resp.status}: ${body}`);}try{await supabase.auth.signOut();}catch{/* best effort — the session is dead regardless */}// Hard reload to clear any in-memory React state.\nwindow.location.assign(\"/\");}function escapeHtml(s){return s.replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\").replace(/\"/g,\"&quot;\").replace(/'/g,\"&#39;\");}function showToast(message,kind){if(typeof document===\"undefined\")return;let el=document.getElementById(TOAST_ID);if(!el){el=document.createElement(\"div\");el.id=TOAST_ID;Object.assign(el.style,{position:\"fixed\",left:\"50%\",bottom:\"24px\",transform:\"translateX(-50%)\",padding:\"12px 16px\",borderRadius:\"8px\",font:\"500 14px/1.4 -apple-system, BlinkMacSystemFont, sans-serif\",boxShadow:\"0 4px 20px rgba(0,0,0,0.15)\",maxWidth:\"460px\",zIndex:\"999999\",pointerEvents:\"none\"});document.body.appendChild(el);}if(kind===\"error\"){el.style.background=\"rgba(255, 235, 235, 0.98)\";el.style.color=\"#7a1f1f\";el.style.border=\"1px solid rgba(180, 60, 60, 0.35)\";}else if(kind===\"info\"){el.style.background=\"rgba(224, 240, 243, 0.98)\";el.style.color=\"#155259\";el.style.border=\"1px solid rgba(21, 82, 89, 0.35)\";}else{el.style.background=\"rgba(232, 245, 233, 0.98)\";el.style.color=\"#1b4332\";el.style.border=\"1px solid rgba(46, 125, 50, 0.35)\";}el.textContent=message;el.__c4cTimer&&clearTimeout(el.__c4cTimer);el.__c4cTimer=setTimeout(()=>{if(el&&el.parentElement)el.parentElement.removeChild(el);},TOAST_TIMEOUT_MS);}AccountSettingsWirer.defaultProps={supabaseUrl:\"https://xkatbssxeyumhfieshcu.supabase.co\",supabaseAnonKey:\"\",accountSelfDeletePath:\"/functions/v1/account-self-delete\",resetPasswordPath:\"/reset-password\",contactPath:\"/contact\",stripeOnboardingLinkPath:\"/functions/v1/stripe-caregiver-onboarding-link\"};addPropertyControls(AccountSettingsWirer,{supabaseUrl:{type:ControlType.String,title:\"Supabase URL\",defaultValue:\"https://xkatbssxeyumhfieshcu.supabase.co\"},supabaseAnonKey:{type:ControlType.String,title:\"Supabase Anon Key\",defaultValue:\"\",description:\"Public anon key. Safe in the browser.\"},accountSelfDeletePath:{type:ControlType.String,title:\"Account Self-Delete Path\",defaultValue:\"/functions/v1/account-self-delete\"},resetPasswordPath:{type:ControlType.String,title:\"Reset Password Path\",defaultValue:\"/reset-password\"},contactPath:{type:ControlType.String,title:\"Contact Path\",defaultValue:\"/contact\"},stripeOnboardingLinkPath:{type:ControlType.String,title:\"Stripe Onboarding Link Path\",defaultValue:\"/functions/v1/stripe-caregiver-onboarding-link\",description:\"Caregiver-only. Returns { url } for the Stripe-hosted onboarding/management flow. On caregiver pages, Manage Stripe Account calls this and redirects.\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AccountSettingsWirer\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AccountSettingsWirer.map"],"mappings":"A,sQA6CsU,SAASiB,GAAkB,CAAC,GAAG,CAAC,IAAMC,EAAEP,EAAa,QAAQ,EAAE,OAAOO,IAAIP,EAAa,QAAQO,IAAIP,EAAa,SAAU,MAAM,CAAC,MAAO,EAAM,CAAC,CAAC,SAAwBQ,EAAqB,EAAM,CAAC,GAAK,CAAC,cAAY,kBAAgB,wBAAsB,oBAAkB,cAAY,2BAAyB,SAAOC,EAAYC,EAAqBrB,EAAa,IAAI,EAAQsB,EAAsBtB,EAAa,IAAI,EA4DjS,OAtDhcG,MAA0B,CAAuC,GAA5BE,IAAS,QAAsBY,EAAiB,EAAE,OAEvF,EAAsB,QAAQM,EAAsB,EAKpD,IAAMC,EAAKC,EAAoB,EAAMC,EAAW,KAAK,GAAGF,EAAK,CAAC,IAAMG,EAAeH,EAAK,MAAM,WAAW,EAAK,MAAM,WAAW,SAAS,MAAe,CAAC,EAAK,MAAM,WAAWG,CAAe,CAAE,CAAC,IAAMC,EAAOvB,EAAO,eAAe,CAAIqB,GAAWA,EAAW,EAAE,AAAkEJ,EAAsB,WAAtDA,EAAsB,QAAQ,EAAgC,KAAM,EAAE,GAAG,EAA+H,MAA7H,GAAqB,YAAY,CAACjB,EAAO,aAAauB,CAAM,EAAKF,GAAWA,EAAW,EAAE,EAAqB,QAAQ,IAAK,MAAY,CAACrB,EAAO,aAAauB,CAAM,EAAKF,GAAWA,EAAW,EAAE,AAAkEJ,EAAsB,WAAtDA,EAAsB,QAAQ,EAAgC,MAAM,EAAqB,QAAQ,IAAK,CAAE,EAAE,CAAC,CAAC,EAAEd,MAAoB,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