PageSourceSearch

https://gaiafamily.com/en-us/_next/static/chunks/app/portal/login/…?dpl=dpl_8Y2gr8rVz4HYaeYV89p2xwTSGraa

js gaiafamily.com collected 2026-10-02 10:06:43 UTC 16,472 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ed1de733-3253-4f45-9b2d-cbba0fd0f2cd",e._sentryDebugIdIdentifier="sentry-dbid-ed1de733-3253-4f45-9b2d-cbba0fd0f2cd")}catch(e){}{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=Object.assign({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:gaia-app":!0})}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7183],{5039:(e,t,n)=>{"use strict";n.d(t,{o:()=>a});let a="/en-us"},15679:(e,t,n)=>{"use strict";n.d(t,{_:()=>s});var a=n(65069),r=n(15653),i=n(87358);let s=(0,a.w)({server:{NEXTAUTH_SECRET:r.z.string(),NEXTAUTH_URL:r.z.string(),SENTRY_PROJECT:r.z.string(),STRIPE_SECRET_KEY:r.z.string(),JWT_SECRET:r.z.string(),FRAPPE_API_TOKEN:r.z.string(),FRAPPE_SERVER:r.z.string(),MOCK_STRIPE:r.z.enum(["true","false"]).transform(e=>"true"===e),GOOGLE_PLACES_API_KEY:r.z.string(),PLAID_CLIENT_ID:r.z.string().optional(),PLAID_SECRET:r.z.string().optional(),PLAID_ENV:r.z.enum(["sandbox","production"]).default("sandbox"),PLAID_IDV_TEMPLATE_ID:r.z.string(),MONOREPO_APP_URL:r.z.string(),CALENDLY_API_TOKEN:r.z.string().optional(),SESSION_ROLLING_REFRESH_HOURS:r.z.coerce.number().positive().optional()},client:{NEXT_PUBLIC_WEBFLOW_URL:r.z.string(),NEXT_PUBLIC_APP_URL:r.z.string(),NEXT_PUBLIC_GOOGLE_TAG_MANAGER_ID:r.z.string(),NEXT_PUBLIC_SENTRY_DSN:r.z.string(),NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY:r.z.string(),NEXT_PUBLIC_HUBSPOT_PORTAL_ID:r.z.string().optional(),NEXT_PUBLIC_GOOGLE_PLACES_API_KEY:r.z.string(),NEXT_PUBLIC_MEMBER_SUPPORT_ADVOCATE_CALENDLY_URL:r.z.string().default("https://calendly.com/d/ctmp-wmb-hpp/talk-to-member-support"),NEXT_PUBLIC_MEMBER_GROWTH_ADVOCATE_CALENDLY_URL:r.z.string().default("https://calendly.com/d/cnzx-vx7-56m/talk-to-a-gaia-advocate"),NEXT_PUBLIC_SHOW_QUIZ_RESULTS_PAGE_PRICING_ESTIMATE:r.z.enum(["true","false"]).default("true").transform(e=>"true"===e)},experimental__runtimeEnv:{NEXT_PUBLIC_WEBFLOW_URL:"https://webflow-preview.gaiafamily.com",NEXT_PUBLIC_APP_URL:"http://localhost:3000",NEXT_PUBLIC_GOOGLE_TAG_MANAGER_ID:"GTM-WC7FLMF",NEXT_PUBLIC_SENTRY_DSN:"https://[email protected]/4509038192033792",NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY:"pk_live_51PRF2K2m8ZoZPULtAJp1J7DGVrwWrjg8qDEsTxX7s0gHt5GjVFBVqCIVbRqsb7iug4KXPzpJDpur2MnMSm8jWJaE006AhFXSqC",NEXT_PUBLIC_HUBSPOT_PORTAL_ID:"26653268",NEXT_PUBLIC_GOOGLE_PLACES_API_KEY:"AIzaSyDZOLRdmCxvY2iSsazmfuOzan2ybdAxUOc",NEXT_PUBLIC_MEMBER_SUPPORT_ADVOCATE_CALENDLY_URL:i.env.NEXT_PUBLIC_MEMBER_SUPPORT_ADVOCATE_CALENDLY_URL,NEXT_PUBLIC_MEMBER_GROWTH_ADVOCATE_CALENDLY_URL:i.env.NEXT_PUBLIC_MEMBER_GROWTH_ADVOCATE_CALENDLY_URL,NEXT_PUBLIC_SHOW_QUIZ_RESULTS_PAGE_PRICING_ESTIMATE:"false",...i.env}})},32813:(e,t,n)=>{"use strict";n.d(t,{Xx:()=>o,Yo:()=>c,Tr:()=>d});var a=n(5039);n(15679),n(44959),n(9785);var r=n(36489);async function i(e,t){let n=await fetch(e,t);if(401===n.status){let e=await n.clone().json().catch(()=>null);if((null==e?void 0:e.code)==="SESSION_EXPIRED")throw await (0,r.signOut)({callbackUrl:"".concat(a.o,"/portal/login")}),Error("Session expired")}return n}var s=n(78559),l=n(27122);async function o(){let e=await i("/en-us/api/patient-portal/home",{cache:"no-store"});if(!e.ok)throw l.wd("Failed to fetch patient portal home",{extra:{status:e.status,statusText:e.statusText}}),Error("Failed to fetch patient portal home");return s.q2.parse(await e.json())}async function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=await i("/en-us/api/patient-portal/request-plan-change",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({change_type:e,addons:t.addons,embryo_pgt_type:t.embryoPgtType,banking_scenario:t.bankingScenario,conventional_scenario:t.conventionalSce
1nario}),cache:"no-store"});if(!n.ok)throw l.wd("Failed to submit patient portal plan change request",{extra:{status:n.status,statusText:n.statusText}}),Error("Failed to submit plan change request")}async function d(e){let t=await fetch("/en-us/api/patient-portal/send-magic-link",{method:"POST",body:JSON.stringify({email:e}),headers:{"Content-Type":"application/json"},cache:"no-store",keepalive:!0});if(!t.ok)throw l.wd("Failed to send patient portal magic link",{extra:{status:t.status,statusText:t.statusText}}),Error("Failed to send magic link");return t.json()}},42307:(e,t,n)=>{"use strict";n.d(t,{p:()=>o});var a=n(95155),r=n(49692),i=n(35299),s=n(12115);let l="file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground flex w-full min-w-0 p-4 rounded-3 border border-gaia-soft-black bg-transparent text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 aria-invalid:border-destructive",o=(0,s.forwardRef)((e,t)=>{let{className:n,type:s,isLoading:o,icon:c,...d}=e;return o||c?(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("input",{ref:t,type:s,"data-slot":"input",disabled:o,className:(0,r.cn)(l,o&&"pl-12",n),...d,value:o?"Loading...":d.value}),(0,a.jsxs)("div",{className:"absolute left-4 top-1/2 -translate-y-1/2 flex items-center gap-2",children:[!o&&c,o&&(0,a.jsx)(i.A,{className:"h-4 w-4 animate-spin"})]})]}):(0,a.jsx)("input",{ref:t,type:s,"data-slot":"input",className:(0,r.cn)(l,n),...d})});o.displayName="Input"},54626:(e,t,n)=>{"use strict";n.d(t,{PatientPortalLogin:()=>E});var a=n(95155),r=n(76924),i=n(3595),s=n(57817),l=n(42307),o=n(66942),c=n(11149),d=n.n(c),u=n(12115),_=n(22544),m=n(15653);let g=m.z.object({email:m.z.string().email({message:"Please enter a valid email address"})}),p=e=>{let{onSubmit:t,isLoading:n=!1}=e,[c,m]=(0,u.useState)(null),p=(0,_.mN)({resolver:(0,o.u)(g),defaultValues:{email:""}}),b=p.handleSubmit(e=>{if(!c){let t=d().run({email:e.email});if(null==t?void 0:t.full)return void m(t.full)}t(e.email)});return(0,a.jsxs)(s.lV,{...p,children:[(0,a.jsx)("h1",{className:"text-4xl",children:"Log in to Gaia"}),(0,a.jsxs)("form",{className:"flex flex-col gap-y-6",onSubmit:b,children:[(0,a.jsx)(s.zB,{control:p.control,name:"email",render:e=>{let{field:t}=e;return(0,a.jsxs)(s.eI,{children:[(0,a.jsx)(s.lR,{className:"text-base",children:"Email address"}),(0,a.jsx)(s.MJ,{children:(0,a.jsx)(l.p,{type:"email",placeholder:"[email protected]",...t,onChange:e=>{t.onChange(e),m(null)},onBlur:e=>{var n;t.onBlur();let a=d().run({email:e.target.value});m(null!=(n=null==a?void 0:a.full)?n:null)},className:"w-full bg-white",disabled:n})}),(0,a.jsx)(s.C5,{}),c&&(0,a.jsxs)("button",{type:"button",onClick:()=>{p.setValue("email",c,{shouldValidate:!0}),m(null)},className:"justify-self-start text-left cursor-pointer font-sans text-sm leading-140 text-gaia-soft-black-700 underline underline-offset-2 rounded-3 transition-colors hover:text-gaia-soft-black outline-none focus-visible:ring-2 focus-visible:ring-ring/50",children:["Did you mean ",c,"?"]})]})}}),(0,a.jsx)(i.$,{type:"submit",className:"w-full",loading:n,loadingText:"Sending...",children:"Send Magic Link"})]}),(0,a.jsx)(r.a3,{className:"text-center text-gaia-soft-black-700",children:"We’ll email you a link to log in to Gaia."})]})},b=e=>{let{email:t,resend:n,isLoading:r=!1}=e,[s,l]=(0,u.useState)(20);(0,u.useEffect)(()=>{let e;return s>0&&(e=setInterval(()=>{l(e=>e-1)},1e3)),()=>{e&&clearInterval(e)}},[s]);let o=r||s>0,c=(0,u.useMemo)(()=>r?"Sending...":s>0?"Please check your email (".concat(s,"s)"):"Didn't receive an email? Click here",[r,s]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("img",{src:"/en-us/images/letter.webp",alt:"Mail letter",className:"w-[144px] mx-auto"}),(0,a.jsx)("h1",{className:"text-center text-4xl",children:"Check your email"}),(0,a.jsxs)("div",{className:"flex flex-col gap-y-2 text-center",children:[(0,a.jsxs)("p",{className:"text-pretty leading-140",children:["We’ve sent a login link to ",(0,a.jsx)("span",{className:"font-medium leading-140",children:t})]}),(0,a.jsx)("p",{className:"text-pretty max-w-sm mx-auto leading-140",children:"Click on the link in the email to log in to Gaia."}),(0,a.jsx)(i.$,{variant:"link",size:"sm",type:"button",onClick:()=>{n(),l(20)},className:"mt-4",disabled:o,children:c})]})]})};var f=n(32813),z=n(27122),x=n(80549);let E=()=>{let[e,t]=(0,u.useState)(""),n=(0,x.n)({mutationFn:f.Tr,onSuccess:(e,n)=>{t(n)},onError:e=>{z.Cp(e,{tags:{location:"PatientPortalLogin",action:"sendMagicLink"}})}});return e?(0,a.jsx)(b,{email:e,resend:()=>n.mutate(e),isLoading:n.isPending}):(0,a.jsx)(p,{onSubmit:e=>n.mutate(e),isLoading:n.isPending})}},57817:(e,t,n)=>{"use strict";n.d(t,{C5:()=>z,MJ:()=>b,Rr:()=>f,Wd:()=>_,eI:()=>g,lR:()=>p,lV:()=>c,zB:()=>u});var a=n(95155),r=n(97241),i=n(49692),s=n(32467),l=n(12115),o=n(22544);let c=o.Op,d=l.createContext({}),u=e=>{let{...t}=e;return(0,a.jsx)(d.Provider,{value:{name:t.name},children:(0,a.jsx)(o.xI,{...t})})},_=()=>{let e=l.useContext(d),t=l.useContext(m),{getFieldState:n}=(0,o.xW)(),a=(0,o.lN)({name:e.name}),r=n(e.name,a);if(!e)throw Error("useFormField should be used within <FormField>");let{id:i}=t;return{id:i,name:e.name,formItemId:"".concat(i,"-form-item"),formDescriptionId:"".concat(i,"-form-item-description"),formMessageId:"".concat(i,"-form-item-message"),...r}},m=l.createContext({});function g(e){let{className:t,...n}=e,r=l.useId();return(0,a.jsx)(m.Provider,{value:{id:r},children:(0,a.jsx)("div",{"data-slot":"form-item",className:(0,i.cn)("grid gap-2",t),...n})})}function p(e){let{className:t,...n}=e,{error:s,formItemId:l}=_();return(0,a.jsx)(r.J,{"data-slot":"form-label","data-error":!!s,className:(0,i.cn)("data-[error=true]:text-destructive",t),htmlFor:l,...n})}function b(e){let{...t}=e,{error:n,formItemId:r,formDescriptionId:i,formMessageId:l}=_();return(0,a.jsx)(s.Slot,{"data-slot":"form-control",id:r,"aria-describedby":n?"".concat(i," ").concat(l):"".concat(i),"aria-invalid":!!n,...t})}function f(e){let{className:t,...n}=e,{formDescriptionId:r}=_();return(0,a.jsx)("p",{"data-slot":"form-description",id:r,className:(0,i.cn)("text-muted-foreground text-sm",t),...n})}function z(e){var t;let{className:n,...r}=e,{error:s,formMessageId:l}=_(),o=s?String(null!=(t=null==s?void 0:s.message)?t:""):r.children;return o?(0,a.jsx)("p",{"data-slot":"form-message",id:l,className:(0,i.cn)("text-destructive text-sm",n),...r,children:o}):null}},76924:(e,t,n)=>{"use strict";n.d(t,{F_:()=>o,IT:()=>l,ZB:()=>d,_x:()=>i,a3:()=>u,dJ:()=>s,zi:()=>c});var a=n(95155),r=n(49692);function i(e){let{children:t,className:n=""}=e;return(0,a.jsx)("span",{className:"font-title leading-[1.1] text-[21px] ".concat(n),children:t})}function s(e){let{children:t,className:n="",id:i}=e;return(0,a.jsx)("h2",{id:i,className:(0,r.cn)("font-title font-bold text-[26px] leading-[1.0] tracking-[-0.02em] text-gaia-soft-black",n),children:t})}function l(e){let{children:t,className:n=""}=e;return(0,a.jsx)("span",{className:"font-mono uppercase tracking-[0.07em] leading-[1.3] text-sm ".concat(n),children:t})}function o(e){let{children:t,className:n=""}=e;return(0,a.jsx)("span",{className:"font-mono uppercase tracking-[0.07em] leading-[1.3] text-xs ".concat(n),children:t})}function c(e){let{children:t,className:n=""}=e;return(0,a.jsx)("span",{className:"font-sans leading-[1.2] text-base ".concat(n),children:t})}function d(e){let{children:t,className:n=""}=e;return(0,a.jsx)("span",{className:"font-sans leading-[1.2] text-base font-medium ".concat(n),children:t})}function u(e){let{children:t,className:n,role:i}=e;
1return(0,a.jsx)("p",{role:i,className:(0,r.cn)("font-sans text-base/[1.4]",n),children:t})}},78559:(e,t,n)=>{"use strict";n.d(t,{Lm:()=>g,q2:()=>x});var a=n(15653);a.z.object({email:a.z.string().email("Invalid email address")});let r=a.z.object({whats_included:a.z.record(a.z.string(),a.z.array(a.z.string())),outside_plan_items:a.z.array(a.z.string()),exclusions_note:a.z.string(),exclusions:a.z.array(a.z.string())}),i=a.z.object({question:a.z.string(),answer:a.z.string(),exclusion_examples:a.z.array(a.z.string()),note:a.z.string().nullable()}),s=a.z.object({description:a.z.string(),repurchase_note:a.z.string().nullable(),good_to_know:a.z.array(i),covered:a.z.array(a.z.string()),exclusions:a.z.array(a.z.string())}),l=a.z.object({pgt_type:a.z.string(),description:a.z.string(),included:a.z.array(a.z.string()),not_included:a.z.array(a.z.string()),repurchase_note:a.z.string().nullable(),good_to_know:a.z.string()}),o=a.z.object({label:a.z.string().nullable(),benefit:a.z.string()}),c=a.z.object({heading:a.z.string(),items:a.z.array(o),applies_to_scenarios:a.z.array(a.z.string()).nullable().default(null)}),d=a.z.object({intro:a.z.string().nullable(),groups:a.z.array(c)}),u=a.z.object({cycle_numbers:a.z.array(a.z.number()),is_current:a.z.boolean(),is_outcome_protection:a.z.boolean(),plan_content:r.nullable(),medication_content:s.nullable(),embryo_testing_content:l.nullable()}),_=a.z.enum(["switch_to_fresh_ivf","switch_to_freeze_all_ivf","switch_to_banking_ivf","switch_to_conventional_ivf","change_embryo_testing_addon","remove_embryo_testing_addon","remove_medication_addon","new_addon"]),m=a.z.enum(["embryo_testing","medication"]),g=a.z.enum
1(["core_procedures_and_essentials","fertility_medications","embryo_genetic_testing","outcome_protection","nutritionist_guidance","fertility_counseling","fertility_nurse","gaia_advocate_support","request_change","refer_a_friend","email_advocate","request_medication_addon_change","request_embryo_testing_addon_change","request_banking_change","request_transfer_type_change"]);a.z.enum(["not_started","no_viable_embryos","embryos_ready"]),a.z.enum(["not_started","no_viable_embryos","embryos_ready"]);let p=a.z.object({change_type:_,group:a.z.enum(["procedure","addon"]),addable_addons:a.z.array(m).default([]),new_plan_outcome_protection:d.nullable().default(null)}),b=a.z.object({membership_id:a.z.string(),variant:a.z.enum(["atlas","extend_egg_freezing","not_atlas","iui"]),status:a.z.enum(["active","ended"]),display_name:a.z.string(),transfer_type:a.z.string().nullable(),transfer_type_tooltip:a.z.string().nullable(),outcome_protection_content:d.nullable(),coverage_groups:a.z.array(u),plan_change_options:a.z.array(p),clinic_name:a.z.string(),clinic_logo:a.z.string().nullable(),prescription_routing:a.z.enum(["pbm","direct_to_pharmacy","internal_pharmacy"]),pharmacy_name:a.z.string().nullable(),pharmacy_contact:a.z.object({phone_number:a.z.string().nullable(),email:a.z.string().nullable(),website:a.z.string().nullable()}).nullable(),member_names:a.z.array(a.z.string()),coverage_start_date:a.z.string().nullable(),coverage_end_date:a.z.string().nullable(),top_faq_ids:a.z.array(a.z.string()),frozen_tissue_type:a.z.enum
1(["eggs","embryos"]).nullable(),is_banking_plan:a.z.boolean(),addable_medication_content:s.nullable()}),f=a.z.object({first_name:a.z.string(),last_name:a.z.string()}),z=a.z.object({display_name:a.z.string(),photo_url:a.z.string().nullable(),bio:a.z.string().nullable(),timezone:a.z.string().nullable(),calendly_url:a.z.string().nullable()}),x=a.z.object({user:f,membership:b.nullable(),support_owner:z.nullable().default(null)})},79936:(e,t,n)=>{Promise.resolve().then(n.bind(n,32467)),Promise.resolve().then(n.t.bind(n,52619,23)),Promise.resolve().then(n.t.bind(n,81356,23)),Promise.resolve().then(n.bind(n,54626)),Promise.resolve().then(n.bind(n,74468)),Promise.resolve().then(n.bind(n,14441))},97241:(e,t,n)=>{"use strict";n.d(t,{J:()=>s});var a=n(95155),r=n(49692),i=n(32894);function s(e){let{className:t,...n}=e;return(0,a.jsx)(i.b,{"data-slot":"label",className:(0,r.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",t),...n})}n(12115)}},e=>{e.O(0,[4909,1356,7353,5653,3421,3972,5333,9951,3106,6489,3363,385,9692,7172,4850,8441,8229,7956,7358],()=>e(e.s=79936)),_N_E=e.O()}]);

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.