1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e.SENTRY_RELEASE={id:"medbillai-web@7bdf109"};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="12ad7f1c-e832-4da9-8bf3-6d2aea21e415",e._sentryDebugIdIdentifier="sentry-dbid-12ad7f1c-e832-4da9-8bf3-6d2aea21e415")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6366],{2096:(e,t,r)=>{"use strict";r.d(t,{b:()=>o});var n=r(60004),a=r(23162),i=r(93692),s=r(60072);let o=(0,i.S)((0,n.memo)(function(e){let{color:t="black",size:r=24,...n}=e;return(0,s.jsx)(a.BS,{width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...n,children:(0,s.jsx)(a.wA,{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",stroke:t})})}))},3627:()=>{},4033:(e,t,r)=>{"use strict";r.d(t,{o:()=>o});var n=r(60004),a=r(23162),i=r(93692),s=r(60072);let o=(0,i.S)((0,n.memo)(function(e){let{color:t="black",size:r=24,...n}=e;return(0,s.jsx)(a.BS,{width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...n,children:(0,s.jsx)(a.wA,{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",stroke:t})})}))},4917:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});let n={src:"/_next/static/media/linkSuccess.c3722687.png",height:503,width:436,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAICAMAAAAC2hU0AAAAM1BMVEVMaXH7+vj19PT29fb39vT6+vn5+fb///9sbGwcHBz//f74/PLy8e7G3KDe68X39/T///YaBZvNAAAAEHRSTlMAgMjTUukl/gYNnPlk+flbccFIEAAAAAlwSFlzAAAWJQAAFiUBSVIk8AAAADZJREFUCJk1ykESABEMRcEXEl8wU+5/WmWh1w3NbTToISkWve5/ymDsb2qBSZKDRyn1xsxMngMsGAEzqzBRSQAAAABJRU5ErkJggg==",blurWidth:7,blurHeight:8}},14643:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f});var n=r(60072),a=r(41264),i=r(98924),s=r(74263),o=r(97656),l=r(74771),c=r(87371),d=r(67978),u=r(91818);let g=(0,c.I)(d.Se,{name:"StyledCard",backgroundColor:"$surface2",borderColor:"$borderDefault",variants:{variant:{outlined:{borderWidth:"$border2"},elevated:{borderWidth:"$border1",...u.r.light}},size:{small:{borderRadius:"$br2",padding:"$sp2"},large:{borderRadius:"$br3",padding:"$sp3"}},interactive:{true:{cursor:"pointer",color:"inherit",hoverStyle:{backgroundColor:"$surface2Hover",borderColor:"$borderDefaultHover"},pressStyle:{backgroundColor:"$surface2Hover",borderColor:"$borderDefaultHover",scale:.98}},false:{}},disabled:{true:s.bz,false:{}}},defaultVariants:{variant:"outlined",size:"small",interactive:!1}});r(27281);let m=a.default.createAnimatedComponent(g),h={...s.Mj,...s.sD},f=({kind:e,onPress:t,href:r,replace:a,scroll:c,shallow:d,disabled:u,...g})=>{let{isInteractive:f,renderTag:A,interactiveProps:p}=(0,o.k)({kind:e,onPress:t,href:r,replace:a,scroll:c,shallow:d,disabled:u}),y=f?u?s.sD:h:{},{animatedStyle:x,onPressIn:k,onPressOut:b}=(0,l.P)(!f||u);return(0,n.jsx)(m,{interactive:f,disabled:u,...y,...A?{render:A}:{},...p,...f&&!u?{onPressIn:k,onPressOut:b}:{},style:i.HZ?"a"===A?{textDecoration:"none"}:void 0:x,...g,"data-sentry-element":"AnimatedStyledCard","data-sentry-component":"Card","data-sentry-source-file":"Card.tsx"},A??"static")}},17915:(e,t,r)=>{"use strict";r.d(t,{i:()=>o});var n=r(60004),a=r(23162),i=r(93692),s=r(60072);let o=(0,i.S)((0,n.memo)(function(e){let{color:t="black",size:r=24,...n}=e;return(0,s.jsxs)(a.BS,{width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...n,children:[(0,s.jsx)(a.rw,{width:"10",height:"14",x:"3",y:"8",rx:"2",stroke:t}),(0,s.jsx)(a.wA,{d:"M5 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2h-2.4",stroke:t}),(0,s.jsx)(a.wA,{d:"M8 18h.01",stroke:t})]})}))},23433:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});let n={src:"/_next/static/media/billUploadSuccess.0d95b300.png",height:499,width:425,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAICAMAAAAC2hU0AAAAQlBMVEXGxsbz8/Pv7+vp6enz8vH19vb39/f4+PdmYmL69/mXl5f39/fz8vLy7+zL0NbDwcLw7OjM4aXC4Jf5+/T///+jkJB5sMShAAAAE3RSTlMBFcn716xa/BQtIInh+vz4RZ073a3ZFgAAAAlwSFlzAAAWJQAAFiUBSVIk8AAAADdJREFUCJk1wUkCgCAMBMFmnQQUF/D/X/VEFRD8eYFypRkd4je0KhQl6Ya+zimHqnzkADQzY/sBNAMBaen0zO
1sAAAAASUVORK5CYII=",blurWidth:7,blurHeight:8}},25133:(e,t,r)=>{"use strict";r.d(t,{e:()=>b});var n=r(60072),a=r(6050),i=r(60004),s=r(87371),o=r(77141),l=r(98924),c=r(45447),d=r(29557),u=r(74264),g=r(56588),m=r(66212);let h={neutral:{bg:"$surface0",text:"$textDefault",icon:"$iconDefault"},positive:{bg:"$bgPositive",text:"$textPositive",icon:"$iconPositive"},negative:{bg:"$bgNegative",text:"$textNegative",icon:"$iconNegative"},warning:{bg:"$bgWarning",text:"$textWarning",icon:"$iconWarning"},info:{bg:"$bgAccent",text:"$textAccent",icon:"$iconAccent"}},f={size:{small:{height:"$si4",width:"$si4"},medium:{height:"$si6",width:"$si6"},large:{height:"$si8",width:"$si8"}},shape:{circle:{borderRadius:"$brFull"},square:{}},status:{neutral:{backgroundColor:h.neutral.bg},positive:{backgroundColor:h.positive.bg},negative:{backgroundColor:h.negative.bg},warning:{backgroundColor:h.warning.bg},info:{backgroundColor:h.info.bg}}},A=(0,s.I)(o.Ss2,{name:"Avatar",variants:f,alignItems:"center",justifyContent:"center",defaultVariants:{shape:"circle",status:"neutral"}}),p={large:"$iconXLarge",medium:"$iconLarge",small:"$iconSmall"},y={small:"$br1",medium:"$br2",large:"$br2"},x={mixBlendMode:"multiply"},k={large:(0,s.I)(m.Km,{name:"AvatarTextLarge"}),medium:(0,s.I)(m.Dk,{name:"AvatarTextMedium"}),small:(0,s.I)(m.D1,{name:"AvatarTextSmall"})},b=e=>{let{icon:t,initials:r,image:s,loading:o,skeleton:m,size:f="medium",shape:b="circle",status:S="neutral",objectFit:v="contain",...w}=e,j=h[S],$="string"==typeof s||"number"==typeof s?s:s?.uri,[L,C]=(0,i.useState)(void 0),E=null!=s&&null==$||null!=L&&L===$,M=(0,i.useCallback)(()=>{C($);let e="string"==typeof s?"string":"number"==typeof s?"number":"uri-object";a.Cp(Error("Avatar image failed to load"),{level:"warning",extra:{imageSourceType:e}})},[s,$]),B=null==s?void 0:"string"==typeof s?{uri:s}:s,I="string"==typeof s?s:"object"==typeof s&&null!=s&&"uri"in s?s.uri:void 0,D=k[f];return(0,n.jsx)(A,{overflow:"hidden",size:f,shape:b,status:S,..."square"===b?{borderRadius:y[f]}:{},...w,"data-sentry-element":"StyledAvatar","data-sentry-component":"Avatar","data-sentry-source-file":"Avatar.tsx",children:m?(0,n.jsx)(g.r,{radius:0}):o?(0,n.jsx)(u.a,{size:p[f],color:j.icon}):s&&!E&&(l.HZ?null!=I:null!=B)?(0,n.jsx)(d._,{src:l.HZ?I:B,onError:M,width:"100%",height:"100%",objectFit:v,...l.HZ?{style:x}:null}):r?(0,n.jsx)(D,{color:j.text,children:r}):t?(0,n.jsx)(c.I,{icon:t,size:p[f],color:j.icon}):null})};r(3627)},27281:()=>{},30874:(e,t,r)=>{"use strict";r.d(t,{S:()=>l});var n=r(60072),a=r(79079),i=r(94131),s=r(66212);let o=()=>(0,n.jsxs)(i.Se,{justifyContent:"flex-end",alignItems:"center",gap:"$2","$platform-web":{paddingBottom:"$4.5"},"data-sentry-element":"YStack","data-sentry-component":"PrivacyFooter","data-sentry-source-file":"LinkingProgressLayout.t
1sx",children:[(0,n.jsx)(a.c,{color:"$iconSubtle",size:12,strokeWidth:2.5,"data-sentry-element":"LockIcon","data-sentry-source-file":"LinkingProgressLayout.tsx"}),(0,n.jsx)(s._I,{theme:"alt1",maxWidth:260,textAlign:"center","data-sentry-element":"ParagraphSmall","data-sentry-source-file":"LinkingProgressLayout.tsx",children:"Granted fully encrypts all your data and safely stores your login information."})]}),l=({topSection:e,bottomSection:t})=>(0,n.jsxs)(i.Se,{f:1,position:"relative","data-sentry-element":"YStack","data-sentry-component":"LinkingProgressLayout","data-sentry-source-file":"LinkingProgressLayout.tsx",children:[(0,n.jsx)(i.Se,{position:"absolute",top:0,left:0,right:0,height:"50%",jc:"center",ai:"center","data-sentry-element":"YStack","data-sentry-source-file":"LinkingProgressLayout.tsx",children:e}),(0,n.jsxs)(i.Se,{position:"absolute",bottom:0,left:0,right:0,height:"50%",ai:"center",jc:"space-between",gap:"$4","data-sentry-element":"YStack","data-sentry-source-file":"LinkingProgressLayout.tsx",children:[(0,n.jsx)(i.Se,{jc:"center",ai:"center",f:1,"data-sentry-element":"YStack","data-sentry-source-file":"LinkingProgressLayout.t
1sx",children:t}),(0,n.jsx)(o,{"data-sentry-element":"PrivacyFooter","data-sentry-source-file":"LinkingProgressLayout.tsx"})]})]})},34887:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});let n={src:"/_next/static/media/billingErrorFound.4699c7fc.png",height:712,width:760,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAHCAMAAAACh/xsAAAAMFBMVEXu7+5MaXHy8vL////5+fn6+vrU1Nb+/v7a2tjd4ODo7O7z9e/Kx8W8urr39/f///+StHRLAAAAD3RSTlP9AAZk/dlH46wp5F6lne5E/IFoAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAMUlEQVQImS3BCw4AEAxEwbdaf9L731aIGbQc2KKPcI/RmVwxUas51yZUzMyKUHqEvgMkFADraxXyWgAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:7}},42872:(e,t,r)=>{"use strict";r.d(t,{T:()=>$});var n=r(60072),a=r(60004),i=r(78863),s=r(45819),o=r(79079),l=r(98924),c=r(94131),d=r(49131),u=r(14643),g=r(55240),m=r(66212),h=r(1511),f=r(48226),A=r(56437),p=r(88328);let y=f.SB.short,x="300ms ease",k=({step:e})=>(0,n.jsx)(c.Se,{flex:1,$gtSm:{flex:0},"data-sentry-element":"YStack","data-sentry-component":"StepBody","data-sentry-source-file":"FakeDoorMmfaStep.tsx",children:e.content}),b=({step:e})=>e.title||e.subtitle?(0,n.jsxs)(c.Se,{paddingHorizontal:"$sp3",alignItems:"center",gap:"$sp1","data-sentry-element":"YStack","data-sentry-component":"StepTitle","data-sentry-source-file":"FakeDoorMmfaStep.tsx",children:[e.title?(0,n.jsx)(m.Kc,{textAlign:"center",children:e.title}):null,e.subtitle?(0,n.jsx)(m.cR,{color:"$textSubtle",textAlign:"center",children:e.subt
1itle}):null]}):null,S=({progress:e,title:t,showBackButton:r,onBackPress:a,onClosePress:i,footer:s,children:o})=>(0,n.jsxs)(p.oz,{pinnedFooter:!1,"data-sentry-element":"OnboardingScreen","data-sentry-component":"StepChrome","data-sentry-source-file":"FakeDoorMmfaStep.tsx",children:[(0,n.jsx)(A.lb,{variant:"progressBar",progress:e,title:t,showBackButton:r,onBackPress:a,onClosePress:i,"data-sentry-element":"NavHeader","data-sentry-source-file":"FakeDoorMmfaStep.tsx"}),(0,n.jsx)(p.oz.Content,{"data-sentry-element":"OnboardingScreen.Content","data-sentry-source-file":"FakeDoorMmfaStep.tsx",children:o}),s]}),v=({step:e,progress:t,canGoBack:r,onAction:i,onBack:s,onDismiss:o})=>{let[l,d]=(0,a.useState)({step:e,progress:t,canGoBack:r}),[u,g]=(0,a.useState)(!1);(0,a.useEffect)(()=>{if(e.id===l.step.id){d({step:e,progress:t,canGoBack:r}),g(!1);return}g(!0);let n=setTimeout(()=>{d({step:e,progress:t,canGoBack:r}),g(!1)},y);return()=>clearTimeout(n)},[e,t,r,l.step.id]);let m=l.step;(0,a.useEffect)(()=>{if("thank_you"!==m.id)return;let e=setTimeout(o,2500);return()=>clearTimeout(e)},[m.id,o]);let h="thank_you"===m.id,f=m.title??"",{primary:A,secondary:v}=m,w=!h&&A?(0,n.jsxs)(p.oz.Footer,{isFading:u,children:[(0,n.jsx)(p.oz.PrimaryAction,{disabled:u,onPress:()=>i(A.action),children:A.label}),v?(0,n.jsx)(p.oz.TertiaryAction,{disabled:u,onPress:()=>i(v.action),children:v.label}):null]}):void 0;return(0,n.jsx)(S,{progress:l.progress,title:f,showBackButton:l.canGoBack,onBackPress:s,onClosePress:o,footer:w,"data-sentry-element":"StepChrome","data-sentry-component":"FakeDoorMmfaStep","data-sentry-source-file":"FakeDoorMmfaStep.tsx",children:h?(0,n.jsx)(c.Se,{opacity:+!u,transition:x,children:m.content}):(0,n.jsxs)(c.Se,{flex:1,opacity:+!u,transition:x,gap:"$sp7",children:[(0,n.jsx)(b,{step:m}),(0,n.jsx)(k,{step:m})]})})};var w=r(58632);let j={id:"thank_you",title:"Thank you",content:(0,n.jsxs)(c.Se,{flex:1,alignItems:"center",justifyContent:"center",gap:"$sp4",marginTop:"$sp10",children:[(0,n.jsx)(h.z8,{width:"$si11",height:"$si11"}),(0,n.jsx)(m.Kc,{textAlign:"center",children:"Thank you for your response"})]})},$=({variant:e,payerName:t,onExit:m})=>{let{currentStep:h,progress:f,canGoBack:A,runAction:p,handleBack:y,handleDismiss:x}=(({steps:e,thankYouStep:t,variant:r,onExit:n})=>{let[i,s]=(0,a.useState)(0),[o,l]=(0,a.useState)(!1),{trackEvent:c}=(0,w.F)(),d=o?t:e[i],u=o?100:Math.round((i+1)/e.length*100),g=!o&&i>0,m=(0,a.useRef)(new Set),h=(0,a.useRef)(!1),f=(0,a.useRef)(d.id);(0,a.useEffect)(()=>{f.current=d.id},[d.id]),(0,a.useEffect)(()=>{let e=d.id;"thank_you"!==e&&(m.current.has(e)||(m.current.add(e),c("FakeDoorMmfaViewed",{variant:r,step:e})))},[d.id,r,c]),(0,a.useEffect)(()=>()=>{if(h.current)return;let e=f.current;"thank_you"!==e&&c("FakeDoorMmfaDismissed",{variant:r,step:e})},[r,c]);let A=(0,a.useCallback)(t=>{let a=d.id;if("continue"===t){"waitlist"!==a&&"thank_you"!==a&&c("FakeDoorMmfaContinued",{variant:r,step:a}),i+1<e.length&&s(i+1);return}if("skip"===t){if("claim_monitoring"===a){c("FakeDoorMmfaSkipped",{variant:r,step:a}),c("FakeDoorMmfaCompleted",{variant:r}),h.current=!0,l(!0);return}"email_action"===a&&c("FakeDoorMmfaSkipped",{variant:r,step:a}),h.current=!0,n();return}"done"===t&&(c("FakeDoorMmfaCompleted",{variant:r}),h.current=!0,n())},[i,e.length,r,d.id,c,n]),p=(0,a.useCallback)(()=>{i>0&&s(i-1)},[i]),y=(0,a.useCallback)(()=>{let e=d.id;"thank_you"!==e&&c("FakeDoorMmfaDismissed",{variant:r,step:e}),h.current=!0,n()},[d.id,r,c,n]);return{currentStep:d,progress:u,canGoBack:g,runAction:A,handleBack:p,handleDismiss:y}})({steps:(0,a.useMemo)(()=>[{id:"success_linked",title:"Insurance successfully linked!",subtitle:"Personalized answers about your coverage, costs and care will be available in a few minutes.",content:(0,n.jsx)(c.Se,{alignItems:"center",justifyContent:"center",children:(0,n.jsx)(d.w,{src:{web:"/static/linkSuccess.png",native:r(4917)},alt:"Link success",width:l.HZ?240:220,height:l.HZ?240:220})}),primary:{label:"Continue",action:"continue"}},{id:"claim_monitoring",title:"Enable claim monitoring",subtitle:"Get alerted when we detect claims, errors or overcharges.",content:(0,n.jsx)(d.w,{src:{web:"/static/billingErrorFound.png",native:r(34887)},alt:"Billing error found"}),primary:{label:"Continue",action:"continue"},secondary:{label:"Skip for now",action:"skip"}},"connect_existing"===e?{id:"email_action",title:"Connect your email",subtitle:`${t} sends a one-time code each time we check for new claims. By connecting your email, Granted can handle those codes automatically â we only ever read emails from ${t}, nothing else.`,content:(0,n.jsx)(d.w,{src:{web:"/static/connectYourEmail.png",native:r(45129)},alt:"Claim monitoring"}),primary:{label:"Connect email",action:"continue"},secondary:{label:"Skip for now",action:"skip"}}:{id:"email_action",title:"Add a new email to catch every claim",subtitle:"Hereâs how it works:",content:(0,n.jsxs)(u.Z,{size:"large",flexDirection:"column",gap:"$sp2",paddingLeft:"$sp2",variant:"elevated",children:[(0,n.jsx)(g.B,{icon:i.O,title:"A dedicated email, just for claims",description:"We generate an alias address for you (ex:
1[email protected])."}),(0,n.jsx)(g.B,{icon:s.e,title:"Automatic claim tracking",description:`That address gets added to your ${t} account, so Granted can track new claims automatically.`}),(0,n.jsx)(g.B,{icon:o.c,title:"Private by design",description:`We only use this address for ${t}. You can remove it and delete your data at any time.`})]}),primary:{label:"Yes, add new email",action:"continue"},secondary:{label:"Maybe later",action:"skip"}},{id:"waitlist",title:"Youâre on the waitlist",subtitle:`The feature is currently in beta with ${t}. You are on the waitlist. Weâll let you know when itâs ready for you to enable.`,content:(0,n.jsx)(c.Se,{alignItems:"center",justifyContent:"center",children:(0,n.jsx)(d.w,{src:{web:"/static/billUploadSuccess.png",native:r(23433)},alt:"Bill upload success",width:l.HZ?240:220,height:l.HZ?240:220})}),primary:{label:"Done",action:"done"}}],[e,t]),thankYouStep:j,variant:e,onExit:m});return(0,n.jsx)(v,{step:h,progress:f,canGoBack:A,onAction:p,onBack:y,onDismiss:x,"data-sentry-element":"FakeDoorMmfaStep","data-sentry-component":"FakeDoorMmfaFlow","data-sentry-source-file":"FakeDoorMmfaFlow.tsx"})}},45129:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});let n={src:"/_next/static/media/connectYourEmail.16beeb0f.png",height:633,width:780,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAMAAADJ2y/JAAAANlBMVEXq7Oju7+/r7Ov79/Xm7Obc3Nzc3NxMaXHq6un49/Ly9vT49Pjv8ee/v7/s6ub7+/2qqqrp6uiR5FioAAAAEnRSTlNSPKF+FD+4AHgtwkayBN6aA2oQrESCAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAMklEQVQImR3BCQ4AIAgDsIHAwPv/rzWxRbXMzFYYOyJmHzBxdxEDyXVJorqqnlkwfPYAI8kBK3fyaTgAAAAASUVORK5CYII=",blurWidth:8,blurHeight:6}},45293:(e,t,r)=>{"use strict";r.d(t,{v:()=>d});var n=r(60072),a=r(98924),i=r(94131),s=r(29557),o=r(66212),l=r(59037),c=r(29531);let d=({endpoint:e,style:t,imageStyle:r,orgSlug:d,maintainAspectRatio:u=!1})=>{let g=(0,l.xd)(e,d),m=(0,l.EN)(e,d),h=r?.height||43,f=c.N[g],A=f?.aspectRatio||1,p=u?h*A:h,y=a.HZ?!!f:!!f?.asset;return(0,n.jsx)(i.Ss,{overflow:"hidden",alignSelf:u?"flex-start":void 0,...t,"data-sentry-element":"View","data-sentry-component":"AccountLogo","data-sentry-source-file":"AccountLogo.tsx",children:y?a.HZ?(0,n.jsx)(s._,{src:`/static/logos/${g}.png`,width:p,height:h,objectFit:"contain",backgroundColor:"transparent",...r}):(0,n.jsx)(s._,{src:f.asset,width:p,height:h,objectFit:"contain",backgroundColor:"white",...r}):(0,n.jsx)(i.Se,{width:p,height:h,justifyContent:"center",alignItems:"center",...r,children:(0,n.jsx)(o.EY,{fontFamily:"$text",fontSize:r?.height?(r?.height||0)-20:a.HZ?"$3":"$5",bold:!0,children:m})})})}},45715:(e,t,r)=>{"use strict";r.d(t,{k:()=>u});var n=r(60072),a=r(30568),i=r(74788),s=r(99715),o=r(94131),l=r(66212),c=r(57585);let d=({state:e})=>{switch(e){case"failure":return(0,n.jsx)(a.X,{});case"loading":return(0,n.jsx)(s.y,{size:"small",color:"$color13"});case"success":return(0,n.jsx)(i.J,{});default:return(0,c.assertNever)(e,"Invalid linking progress state value")}},u=({state:e,statusText:t})=>(0,n.jsxs)(o.Se,{alignItems:"center",gap:"$4","data-sentry-element":"YStack","data-sentry-component":"StatusIndicator","data-sentry-source-file":"StatusIndicator.tsx",children:[(0,n.jsx)(o.Se,{backgroundColor:"$cream7",borderRadius:100,width:72,height:72,alignItems:"center",justifyContent:"center","data-sentry-element":"YStack","data-sentry-source-file":"StatusIndicator.tsx",children:(0,n.jsx)(d,{state:e,"data-sentry-element":"IndicatorIcon","data-sentry-source-file":"StatusIndicator.tsx"})}),t?(0,n.jsx)(l.Xd,{textAlign:"center",children:t}):null]})},45819:(e,t,r)=>{"use strict";r.d(t,{e:()=>o});var n=r(60004),a=r(23162),i=r(93692),s=r(60072);let o=(0,i.S)((0,n.memo)(function(e){let{color:t="black",size:r=24,...n}=e;return(0,s.jsxs)(a.BS,{width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...n,children:[(0,s.jsx)(a.wA,{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",stroke:t}),(0,s.jsx)(a.wA,{d:"M21 3v5h-5",stroke:t}),(0,s.jsx)(a.wA,{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",stroke:t}),(0,s.jsx)(a.wA,{d:"M8 16H3v5",stroke:t})]})}))},49131:(e,t,r)=>{"use strict";r.d(t,{w:()=>l});
1var n=r(60072),a=r(60004),i=r(67978),s=r(29557);let o=(e,t)=>null!=t?t:"object"==typeof e&&null!=e.width&&null!=e.height&&e.height>0?e.width/e.height:1.5,l=({src:e,objectFit:t="contain",alt:r,testID:l,aspectRatio:c,width:d,height:u,maxWidth:g,maxHeight:m,minWidth:h,minHeight:f,...A})=>{let p="object"==typeof e&&null!==e&&"web"in e&&"native"in e?e.web:e,[y,x]=(0,a.useState)(()=>o(p,c));(0,a.useEffect)(()=>{x(o(p,c))},[p,c]);let k="string"==typeof p?p:"object"==typeof p&&null!=p.uri?p.uri:void 0;return(0,n.jsx)(i.Se,{...A,width:d??"100%",height:u,maxWidth:g,maxHeight:m,minWidth:h,minHeight:f,aspectRatio:y,"data-sentry-element":"YStack","data-sentry-component":"ResponsiveImage","data-sentry-source-file":"ResponsiveImage.tsx",children:(0,n.jsx)(s._,{src:k,alt:r,testID:l,objectFit:t,width:"100%",height:"100%",onLoad:e=>{null==c&&e.target instanceof HTMLImageElement&&e.target.naturalWidth>0&&e.target.naturalHeight>0&&x(e.target.naturalWidth/e.target.naturalHeight)},"data-sentry-element":"Image","data-sentry-source-file":"ResponsiveImage.tsx"})})}},55240:(e,t,r)=>{"use strict";r.d(t,{B:()=>o});var n=r(60072),a=r(25133),i=r(94363),s=r(66212);let o=({icon:e,title:t,description:r})=>(0,n.jsx)(i.T,{alignItems:"flex-start",leading:(0,n.jsx)(a.e,{icon:e,size:"medium",flexShrink:0}),primary:(0,n.jsx)(s.M7,{color:"$textDefault",children:t}),secondary:(0,n.jsx)(s.jz,{color:"$textSubtle",children:r}),"data-sentry-element":"RowLayout","data-sentry-component":"InfoRow","data-sentry-source-file":"InfoRow.tsx"})},56588:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l,r:()=>o});var n=r(60072),a=r(77141),i=r(88560),s=r(54750);function o({width:e="100%",height:t="100%",radius:r=8}){let l,{rest:c,highlight:d,restTransparent:u,radiusPx:g}={rest:l=String((0,i.N8)("$surface0","color")),highlight:String((0,i.N8)("$surface1","color")),restTransparent:(0,s.f)(l,0),radiusPx:"number"==typeof r?r:(0,i.N8)(r,"radius")};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("style",{href:"skeleton-shimmer",precedence:"default",children:` 2 @keyframes skeleton-shimmer { 3 0% { transform: translateX(-100%); } 4 100% { transform: translateX(100%); } 5 } 6 .skeleton-shimmer { 7 animation: skeleton-shimmer 1.4s ease-in-out infinite; 8 } 9 @media (prefers-reduced-motion: reduce) { 10 .skeleton-shimmer { display: none; } 11 } 12 `}),(0,n.jsx)(a.Ss2,{width:e,height:t,borderRadius:g,overflow:"hidden",style:{backgroundColor:c},"data-sentry-element":"View","data-sentry-source-file":"SkeletonShimmer.tsx",children:(0,n.jsx)("div",{className:"skeleton-shimmer",style:{position:"absolute",inset:0,backgroundImage:`linear-gradient(90deg, ${u} 0%, ${d} 50%, ${u} 100%)`}})})]})}let l=({width:e="100%",height:t,radius:r=8})=>(0,n.jsx)(o,{width:e,height:t,radius:r,"data-sentry-element":"SkeletonShimmer","data-sentry-component":"SkeletonBlock","data-sentry-source-file":"SkeletonShimmer.tsx"})},59729:(e,t,r)=>{"use strict";r.d(t,{vA:()=>a,xb:()=>i});class n extends Error{constructor(e){super(e),this.name="AssertionError"}}function a(e,t){if(!e)throw new n(t)}function i(e,t){throw new n(t)}},67025:(e,t,r)=>{"use strict";r.d(t,{k:()=>i});var n=r(60004);let a=(e,t)=>{let r=e instanceof Map?e:new Map(e.entries()),n=t instanceof Map?t:new Map(t.entries());if(r.size!==n.size)return!1;for(let[e,t]of r)if(!Object.is(t,n.get(e)))return!1;return!0};function i(e){let t=n.useRef(void 0);return r=>{let n=e(r);return!function(e,t){if(Object.is(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;if(!(Symbol.iterator in e)||!(Symbol.iterator in t))return a({entries:()=>Object.entries(e)},{entries:()=>Object.entries(t)});if("entries"in e&&"entries"in t)return a(e,t);let r=e[Symbol.iterator](),n=t[Symbol.iterator](),i=r.next(),s=n.next();for(;!i.done&&!s.done;){if(!Object.is(i.value,s.value))return!1;i=r.next(),s=n.next()}return!!i.done&&!!s.done}(t.current,n)?t.current=n:t.current}}},73018:(e,t,r)=>{"use strict";r.d(t,{a:()=>o,sE:()=>a,ve:()=>i,zk:()=>s});var n=r(45994);let a=(0,n.J)(` 13 query GetInsuranceLinks { 14 me { 15 id 16 flexpaLinks { 17 id 18 active 19 createdAt 20 lastSyncedAt 21 patientName 22 patientDOB 23 deactivatedReason 24 endpoint { 25 displayName 26 id 27 slug 28 isActive 29 organization { 30 __typename 31 id 32 displayName 33 slug 34 } 35 } 36 } 37 webAgentLinks { 38 __typename 39 id 40 active 41 createdAt 42 lastSyncedAt 43 patientName 44 patientId 45 patientDOB 46 latestExecution { 47 id 48 ingestions { 49 id 50 startedAt 51 endedAt 52 status 53 resources { 54 id 55 } 56 } 57 } 58 executions(order: { createdAt: { dir: DESC } }) { 59 id 60 createdAt 61 ingestions(filter: { status: { in: [COMPLETED, PARTIAL] } }, order: { startedAt: { dir: DESC } }, first: 1) { 62 id 63 startedAt 64 endedAt 65 status 66 } 67 } 68 deactivatedAt 69 deactivatedReason 70 endpoint { 71 __typename 72 displayName 73 id 74 slug 75 isActive 76 organization { 77 __typename 78 id 79 displayName 80 slug 81 } 82 } 83 } 84 } 85 } 86`),i=(0,n.J)(` 87 query GetWebAgentEndpointsP012 { 88 webAgent__Endpoint( 89 filter: { 90 and: [ 91 { isActive: { eq: true } } 92 { currentSupportLevel: { supportLevel: { in: [P0, P1, P2] } } } 93 ] 94 } 95 ) { 96 isActive 97 __typename 98 id 99 type 100 displayName 101 displayUrl 102 slug 103 loginUrl 104 portalGuideUrl 105 currentSupportLevel { 106 supportLevel 107 } 108 metadata 109 organization { 110 id 111 displayName 112 slug 113 } 114 } 115 } 116`),s=(0,n.J)(` 117 query GetWebAgentEndpointsAll { 118 webAgent__Endpoint(filter: { isActive: { eq: true } }) { 119 __typename 120 id 121 type 122 isActive 123 displayName 124 displayUrl 125 slug 126 loginUrl 127 metadata 128 portalGuideUrl 129 currentSupportLevel { 130 supportLevel 131 } 132 organization { 133 id 134 displayName 135 slug 136 } 137 } 138 } 139`),o=(0,n.J)(` 140 query HasAnyCases { 141 me { 142 id 143 # Unfiltered on purpose: closed cases still count, and a narrowing arg 144 # would clobber the shared cache entry (User_Type.issues keyArgs: 145 # ["filter"], replace-merge). 146 issues { 147 id 148 } 149 } 150 } 151`)},74593:(e,t,r)=>{"use strict";r.d(t,{a:()=>o});var n=r(60004),a=r(23162),i=r(93692),s=r(60072);
151let o=(0,i.S)((0,n.memo)(function(e){let{color:t="black",size:r=24,...n}=e;return(0,s.jsxs)(a.BS,{width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...n,children:[(0,s.jsx)(a.jl,{cx:"12",cy:"12",r:"1",stroke:t}),(0,s.jsx)(a.jl,{cx:"19",cy:"12",r:"1",stroke:t}),(0,s.jsx)(a.jl,{cx:"5",cy:"12",r:"1",stroke:t})]})}))},74771:(e,t,r)=>{"use strict";r.d(t,{P:()=>a});let n=()=>{},a=(e,t)=>({animatedStyle:void 0,onPressIn:n,onPressOut:n})},75919:(e,t,r)=>{"use strict";r.d(t,{Yr:()=>a});var n=r(59729);let a=e=>{let t=e.match(/execution_([0-9a-f-]+)/)?.[1];return(0,n.vA)(t,`Invalid workflowId: ${e}`),t}},76977:(e,t,r)=>{"use strict";r.d(t,{$:()=>j,S:()=>$});var n=r(60072),a=r(32006),i=r(60004),s=r(68312),o=r(67025),l=r(93899),c=r(94131),d=r(66212),u=r(75919),g=r(62274),m=r(80418),h=r(58632),f=r(59037),A=r(75026),p=r(76894),y=r(52953),x=r(45293),k=r(30874),b=r(45715),S=r(42872),v=r(97095),w=r(73018);let j=({insuranceSlug:e})=>(0,n.jsxs)(c.Se,{f:1,jc:"center",ai:"center",pb:"$6",gap:"$8","data-sentry-element":"YStack","data-sentry-component":"SuccessContent","data-sentry-source-file":"success.tsx",children:[(0,n.jsx)(x.v,{orgSlug:e,style:{borderRadius:"$12",borderColor:"$strokeSecondary",backgroundColor:"$background",borderWidth:"$0.5",justifyContent:"center",alignItems:"center",height:70,width:70,zIndex:2},imageStyle:{scale:e?1.2:1.6},"data-sentry-element":"AccountLogo","data-sentry-source-file":"success.tsx"}),(0,n.jsx)(d.mk,{marginHorizontal:"$8",textAlign:"center","data-sentry-element":"Headline1","data-sentry-source-file":"success.tsx",children:"Your account is now linked!"})]});function $(){let{push:e}=(0,s.r)(),t=(0,a.m)(),r=(0,f.JG)(),{trackEvent:d}=(0,h.F)(),x=(0,v.F)(),$=null!==x,L=(0,m.c)((0,o.k)(e=>e.selectedAccountLinkEndpoint)),C=(0,m.c)(e=>e.workflowId),E=(0,A.$)(),M=(0,i.useCallback)(()=>{e(r.webAgent.notifications)},[r,e]),B=(0,i.useCallback)(()=>{e(r.exit)},[r.exit,e]);(0,i.useEffect)(()=>{t.refetchQueries({include:[w.sE]});let e=C&&(0,u.Yr)(C);if(E.trackInsuranceLinkAttempt({status:l.dzQ.COMPLETED,baseEndpointId:L?.id,webAgentExecutionId:e}),p.N.event(y.D.insuranceLinkSuccess),d("FinishedInsuranceLinking",{linkType:"WEB_AGENT",status:"SUCCESS"}),!$){let e=setTimeout(M,3e3);return()=>clearTimeout(e)}},[t,E,$,M,L?.id,d,C]);let I=L?.displayName??"your provider";return $&&x?(0,n.jsx)(S.T,{variant:x,payerName:I,onExit:B}):(0,n.jsx)(g.qM,{extraPadding:!0,centerHorizontal:!0,backgroundRadialGradient:!0,scrollViewProps:{"$platform-web":{height:"100%",flex:1}},"data-sentry-element":"ScreenView","data-sentry-component":"SuccessScreen","data-sentry-source-file":"success.tsx",children:(0,n.jsx)(c.Se,{f:1,onPress:M,"data-sentry-element":"YStack","data-sentry-source-file":"success.tsx",children:(0,n.jsx)(k.S,{topSection:(0,n.jsx)(j,{insuranceSlug:L?.slug??void 0}),bottomSection:(0,n.jsx)(b.k,{state:"success",statusText:"Connected"}),"data-sentry-element":"LinkingProgressLayout","data-sentry-source-file":"success.tsx"})})})}},78863:(e,t,r)=>{"use strict";r.d(t,{O:()=>o});var n=r(60004),a=r(23162),i=r(93692),s=r(60072);let o=(0,i.S)((0,n.memo)(function(e){let{color:t="black",size:r=24,...n}=e;return(0,s.jsxs)(a.BS,{width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...n,children:[(0,s.jsx)(a.wA,{d:"M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8",stroke:t}),(0,s.jsx)(a.wA,{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",stroke:t}),(0,s.jsx)(a.wA,{d:"m16 19 2 2 4-4",stroke:t})]})}))},79079:(e,t,r)=>{"use strict";r.d(t,{c:()=>o});var n=r(60004),a=r(23162),i=r(93692),s=r(60072);let o=(0,i.S)((0,n.memo)(function(e){let{color:t="black",size:r=24,...n}=e;return(0,s.jsxs)(a.BS,{width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...n,children:[(0,s.jsx)(a.rw,{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",stroke:t}),(0,s.jsx)(a.wA,{d:"M7 11V7a5 5 0 0 1 10 0v4",stroke:t})]})}))},84279:(e,t,r)=>{"use strict";r.d(t,{g:()=>o});var n=r(60004),a=r(23162),i=r(93692),s=r(60072);
151let o=(0,i.S)((0,n.memo)(function(e){let{color:t="black",size:r=24,...n}=e;return(0,s.jsxs)(a.BS,{width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...n,children:[(0,s.jsx)(a.wA,{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",stroke:t}),(0,s.jsx)(a.rw,{x:"2",y:"4",width:"20",height:"16",rx:"2",stroke:t})]})}))},84761:(e,t,r)=>{"use strict";r.d(t,{r:()=>d});var n=r(60004),a=r(55761),i=r(19816),s=r(99837),o=r(88865),l=r(37167),c=r(64924);function d(){let e=(0,o.h)(),t=(0,l.c)(),r=(0,c.useRouter)(),d=(0,n.useContext)(s.SD);return(0,n.useMemo)(()=>({push:(t,n)=>{if("web"===a.Platform.OS)r?.push(t,n);else{let r=(0,i.o)(t);r&&e(r)}},replace:(n,o)=>{if("web"===a.Platform.OS)r?.replace(n,o);else{let r=(0,i.o)(n);if(r)if(o?.experimental?.nativeBehavior==="stack-replace")if(d?.options){let{options:e}=d,n=e?.getStateFromPath?e.getStateFromPath(r,e.config):(0,s.Bd)(r,e?.config);if(n){let r=(0,s.U6)(n,e?.config);if(void 0!==r)if("payload"in r&&r.payload&&"name"in r.payload&&r.payload.name){let{name:e,params:n}=r.payload;o?.experimental?.isNestedNavigator&&n&&"screen"in n&&n.screen?t?.dispatch(s.y9.replace(n.screen,n.params)):t?.dispatch(s.y9.replace(e,n))}else t?.dispatch(r);else t?.reset(n)}}else console.warn(`[solito] replace("${r}") faced an issue. You should still see your new screen, but it probably didn't replace the previous one. This may be due to a breaking change in React Navigation. 152 Please open an issue at https://github.com/nandorojo/solito and report how this happened. Thanks!`),e(r);else e(r)}},back:()=>{"web"===a.Platform.OS?r?.back():t?.goBack()},parseNextPath:i.o}),[e,t])}},97095:(e,t,r)=>{"use strict";r.d(t,{F:()=>s});var n=r(23817),a=r(49392);let i={connect_existing:"connect_existing",create_email:"create_email"},s=()=>i[(0,a.EA)(n.lN.FAKE_DOOR_MMFA,"control")]??null}}]); 153//# sourceMappingURL=6366-9dcef85c581bca48.js.map
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.