PageSourceSearch

https://www.jointrellishealth.com/_next/static/chunks/4116.ade0f608ef6582df.js

js jointrellishealth.com collected 2026-09-24 22:05:30 UTC 4,369 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4116],{2854:(e,r,t)=>{t.d(r,{p:()=>n});var a=t(95155);t(12115);var l=t(96629);function n(e){let{className:r,label:t,error:n,hint:o,id:i,...c}=e,s=null!=i?i:c.name;return(0,a.jsxs)("div",{className:"flex min-w-0 flex-col gap-1.5",children:[t&&(0,a.jsx)("label",{htmlFor:s,className:"font-beltram text-[12px] tracking-[0.12px] text-[var(--color-data-blue)]/60",children:t}),(0,a.jsx)("input",{id:s,className:(0,l.cn)("h-12 w-full max-w-full min-w-0 rounded-[12px] px-5 py-3 transition-colors outline-none","border-[0.25px] border-solid border-[var(--color-data-blue)]","bg-[rgba(255,255,255,0.05)] backdrop-blur-[20px]","font-beltram text-[18px] tracking-[0.36px] text-[var(--color-data-blue)]","placeholder:text-[var(--color-data-blue)]/40","focus:border-[var(--color-data-blue)]/80 focus:bg-[rgba(255,255,255,0.08)]",n&&"border-[var(--color-error-red)]",r),...c}),n&&(0,a.jsx)("p",{className:"font-beltram text-[12px] text-[var(--color-error-red)]",children:n}),o&&!n&&(0,a.jsx)("p",{className:"font-beltram text-[12px] text-[var(--color-data-blue)]/60",children:o})]})}},4116:(e,r,t)=>{t.r(r),t.d(r,{BirthHistoryScreen:()=>p});var a=t(95155),l=t(12115),n=t(1134),o=t(2854),i=t(65963),c=t(95688),s=t(98285),d=t(75691),x=t(28357),u=t(81724),b=t(80311);function p(){var e;let{form:r,updateField:t,navigate:p}=(0,d.L1)(),f=(0,x.h)(),h=(0,b.st)(),[v,m]=(0,l.useState)(null!==(e=r.pregnancy_delivery_date)&&void 0!==e?e:""),g=(0,u.AO)(v);function j(e,r){t("pregnancy_delivery_date",e),h.trackOnboarding("on-birth-history",{skipped:r}),p(null!=f?f:"review")}return(0,a.jsx)(c.z,{header:(0,a.jsx)(i.r,{step:7,onBack:()=>p("dob")}),footer:(0,a.jsx)(n.$,{onClick:function(){j(g?v:null,!1)},disabled:!g,children:"Continue"}),children:(0,a.jsxs)("div",{className:"flex flex-1 flex-col gap-[100px]",children:[(0,a.jsxs)(s.IW,{className:"flex flex-col gap-6",children:[(0,a.jsx)("h1",{className:"font-stk-bureau-serif text-[32px] leading-[1.1] font-light tracking-[-1.28px] text-[var(--color-data-blue)]",children:"Have you given birth in the last few years?"}),(0,a.jsx)("p",{className:"font-beltram text-[14px] leading-[1.4] tracking-[0.14px] text-[var(--color-data-blue)]",children:"If yes, please confirm the date you gave birth below."})]}),(0,a.jsxs)(s.or,{className:"flex flex-col gap-6",children:[(0,a.jsx)(o.p,{name:"birth_history_date",type:"date",autoFocus:!0,value:v,onChange:e=>m(e.target.value)}),(0,a.jsx)("button",{type:"button",onClick:function(){j(null,!0)},className:"font-beltram text-center text-[14px] leading-[1.4] tracking-[0.14px] text-[var(--color-data-blue)] underline",children:"Skip"})]})]})})}},28357:(e,r,t)=>{t.d(r,{h:()=>n});var a=t(35695),l=t(89892);function n(){let e=(0,a.useSearchParams)();return(0,l.Fr)(e.get("returnTo"))}},65963:(e,r,t)=>{t.d(r,{r:()=>i});var a=t(95155);t(12115);
1var l=t(46911),n=t(96629);function o(e){let{currentStep:r,totalSteps:t=9,className:l}=e;return(0,a.jsx)("div",{className:(0,n.cn)("flex w-full items-center gap-1",l),role:"progressbar","aria-valuenow":r,"aria-valuemin":1,"aria-valuemax":t,"aria-label":"Step ".concat(r," of ").concat(t),children:Array.from({length:t},(e,t)=>{let l=t+1,o=l===r,i=l<r;return(0,a.jsx)("span",{className:(0,n.cn)("h-2 rounded-[10px] border-[0.5px] border-[var(--color-data-blue)]/40",o&&"w-4 border-dashed bg-[var(--color-data-blue)]",i&&"size-2 border-solid bg-[var(--color-data-blue)]",!o&&!i&&"size-2 border-solid"),"aria-hidden":!0},l)})})}function i(e){let{step:r,onBack:t,hideBack:n,backDirection:i="up"}=e;return(0,a.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,a.jsx)(l.o,{onClick:t,hidden:n,direction:i}),(0,a.jsx)(o,{currentStep:r})]})}},98285:(e,r,t)=>{t.d(r,{IW:()=>s,or:()=>d,s8:()=>c});var a=t(95155),l=t(78343),n=t(24249),o=t(55097),i=t(7470);function c(e){let{children:r,...t}=e,c=(0,l.I)(),s=(0,i.f)();return(0,a.jsx)(n.P.h1,{custom:s,variants:c?o.Nx:o.VJ,initial:"enter",animate:"center",exit:"exit",...t,children:r})}function s(e){let{children:r,...t}=e,c=(0,l.I)(),s=(0,i.f)();return(0,a.jsx)(n.P.div,{custom:s,variants:c?o.Nx:o.VJ,initial:"enter",animate:"center",exit:"exit",...t,children:r})}function d(e){let{children:r,...t}=e,c=(0,l.I)(),s=(0,i.f)();return(0,a.jsx)(n.P.div,{custom:s,variants:c?o.Nx:o.ll,initial:"enter",animate:"center",exit:"exit",...t,children:r})}}}]);

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.