"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5297],{kZvb:function(e,t,n){n.d(t,{Z:function(){return g}});var r=n("BGKE"),a=n("pMur"),i=n("Eso5"),o=n("RZSM"),l=n("SPK5"),s=n("hXNO"),c=n("/npG"),d=(0,c.k)(e=>({root:{"&.with-icon-style":{display:"flex",gap:16,[e.fn.smallerThan("sm")]:{gap:8,flexDirection:"column"},".inner":{display:"flex",gap:16,alignItems:"flex-start",[e.fn.smallerThan("sm")]:{alignItems:"center"}},".info":{display:"flex",flexDirection:"column",gap:4,[e.fn.largerThan("sm")]:{"&.no-desc":{minHeight:80,justifyContent:"center"}}},".desc-mobile":{[e.fn.largerThan("sm")]:{display:"none"}},".desc-desktop":{[e.fn.smallerThan("sm")]:{display:"none"}},".icon":{flexGrow:0},".icon-wrapper":{background:"#fff",borderRadius:"100%",border:"1px solid ".concat(e.colors.neutral[1]),img:{maxWidth:"80%"}}}}}));let Header=e=>{let{title:t,titleAs:n,description:c,icon:p,layout:h="normal",children:m,className:u,styles:g,classNames:f,...v}=e,x=(0,s.d)(),{classes:b,cx:y,theme:S}=d(void 0,{name:"ServiceConnections__SectionWrapper",styles:g,classNames:f});return"normal"===h?(0,r.BX)(i.x,{className:y(u,b.root,"normal-style","header"),...v,children:[t&&(0,r.tZ)(a.T,{size:"h2",weight:"semiBold",variant:"primary",as:n||"h2",className:"heading-title title",children:t}),c&&(0,r.tZ)(a.T,{size:"p2",className:"description",variant:"tertiary",children:c}),m]}):"withIcon"===h?(0,r.BX)(i.x,{className:y(u,b.root,"with-icon-style"),...v,children:[(0,r.BX)(i.x,{className:"inner",children:[p&&(0,r.tZ)(i.x,{className:"icon",children:(0,r.tZ)(o.o,{ratio:1,sx:{width:40,[S.fn.largerThan("sm")]:{width:80}},children:(0,r.tZ)(l.k,{justify:"center",align:"center",className:"icon-wrapper",children:(0,r.tZ)("img",{src:p,alt:t,loading:"lazy"})})})}),(t||c)&&(0,r.BX)(i.x,{className:"info ".concat(c?"":"no-desc"),children:[t&&(0,r.tZ)(a.T,{size:"h3",as:n||"h2",className:"heading-title title",children:t}),!x&&c&&(0,r.tZ)(a.T,{size:"p3",className:"desc desc-desktop",children:c})]})]}),x&&c&&(0,r.tZ)(a.T,{size:"p3",className:"desc desc-mobile",children:c})]}):null};var p=(0,c.k)(()=>({root:{},header:{},innerClass:{}})),h=n("OAL+"),m=(0,c.k)((e,t)=>{let{hasColor:n,bgColor:r,noPadding:a}=t;return{root:{backgroundColor:r,...!a&&{paddingTop:n?80:40,paddingBottom:n?80:40,[e.fn.smallerThan("sm")]:{paddingTop:32,paddingBottom:32}}},innerClass:{gap:16,[e.fn.largerThan("sm")]:{gap:24}},withIconLayout:{display:"flex",gap:16,[e.fn.smallerThan("sm")]:{gap:8,flexDirection:"column"},".inner":{display:"flex",gap:16,[e.fn.smallerThan("sm")]:{alignItems:"center"}},".info":{display:"flex",flexDirection:"column",gap:4},".desc-mobile":{[e.fn.largerThan("sm")]:{display:"none"}},".desc-desktop":{[e.fn.smallerThan("sm")]:{display:"none"}}}}}),u=n("q1tI");let Wrapper=e=>{let{title:t,titleAs:n,description:a,icon:o,children:l,bgColor:s,className:c,classNames:d,layout:p,styles:g,innerClass:f="hhg-page-container",noPadding:v,defaultColor:x="transparent",...b}=e,y=(0,u.useMemo)(()=>s||x,[]),S=0===["","#fff","#fff","transparent"].filter(e=>e===y.toLowerCase()).length,{classes:w,cx:Z}=m({bgColor:y,noPadding:v,hasColor:S},{name:"ServiceConnections__SectionWrapper-Wrapper",styles:g,classNames:d});return(0,r.tZ)(i.x,{className:Z(w.root,c),"data-has-color":S,...S&&{"data-color":y},...b,children:(0,r.tZ)(h.K,{className:Z(f,w.innerClass),children:l})})},SectionWrapper=e=>{let{title:t,titleAs:n,description:a,icon:i,children:o,layout:l="normal",innerClass:s,styles:c,className:d,classNames:h,applyH1:m,...u}=e,{classes:g,cx:f}=p(void 0,{name:"ServiceConnections__SectionWrapper",styles:c,classNames:h});return(0,r.BX)(Wrapper,{classNames:{root:f(d,"section-wrapper",g.root),innerClass:g.innerClass},...u,children:[(t||a)&&(0,r.tZ)(Header,{className:g.header,title:t,description:a,icon:i,titleAs:n||(m?"h1":void 0),layout:l}),o||o]})};SectionWrapper.Header=Header,SectionWrapper.Wrapper=Wrapper;var g=SectionWrapper},E7r1:function(e,t,n){n.r(t),n.d(t,{StickyMenuScrollContainer:function(){return StickyMenuScrollContainer},default:function(){return StickyNavWrapper}});var r=n("BGKE"),a=n("q1tI"),i=n("Nels"),o=n("le9Y"),l=n("mYVa"),s=n("Eso5"),c=n("vaps"),d=n("Gwuz"),p=n("5fZt"),h=n("mU93"),m=n("77u+"),u=n("ZpEA"),g=n("hXNO"),f=n("GwGV"),v=n("e0pn"),x=n("SPK5"),b=n("/npG"),y=(0,b.k)(e=>({dropdown:{padding:"".concat((0,l.h)(10)," ").concat((0,l.h)(12)),backgroundColor:"#fff",cursor:"pointer",width:(0,l.h)(250),[e.fn.smallerThan("sm")]:{width:"100%"}},selectedItem:{padding:0,width:"90%"},selectedItemTitle:{fontWeight:600},navigatorRoot:{paddingTop:(0,l.h)(4),flexDirection:"column",gap:(0,l.h)(4)},item:{paddingTop:(0,l.h)(10),paddingBottom:(0,l.h)(10),borderRadius:0,"&.active":{backgroundColor:e.colors.gray[1]}},app:{borderRadius:8,overflow:"hidden"},appImg:{height:40,display:"block"}})),S=n("uzt2"),w=n("/ch6"),Z=n("+9w5"),k=n("kSP5");let Dropdown=e=>{var t,n;let{navigating:i=[],mappingIconList:o,colorArr:c,onNavClick:d,selectedSection:p,hideIcon:h,isApp:u,logo:g,...b}=e,{classes:I,cx:T}=y(void 0,{name:"CarePathHeroBannerNavigator__Dropdown"}),[C,N]=(0,a.useState)(0),[B,W]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{let e=i.findIndex(e=>p===e.idScroll);-1!==e&&N(e)},[p]),(0,r.BX)(s.x,{sx:{position:"relative",userSelect:"none"},...b,children:[(0,r.BX)(x.k,{className:I.dropdown,align:"center",justify:"space-between",onClick:()=>W(!B),children:[(0,r.tZ)(Z.h,{hideIcon:h,icon:(null==o?void 0:o[null==i?void 0:null===(t=i[C])||void 0===t?void 0:t.sessionLayout])||(0,r.tZ)(f.Z,{}),title:null==i?void 0:null===(n=i[C])||void 0===n?void 0:n.title,bgColor:null==c?void 0:c[C%4],classNames:{root:I.selectedItem,title:I.selectedItemTitle}}),(0,r.tZ)(v.Z,{size:18})]}),(0,r.BX)(s.x,{sx:e=>({display:B?"block":"none",position:"absolute",top:(0,l.h)(39),width:"100%",background:"#fff",border:"1px solid ".concat(e.colors.gray[1]),zIndex:1}),children:[(0,r.tZ)(S.C3,{mappingIconList:o,classNames:{root:I.navigatorRoot},colorArr:c,navigating:i,onNavClick:d,dataActionBySession:(()=>{let e={};return Object.keys(m.e).map(t=>{e[t]="".concat(m.e[t]," - Header Navigate")}),e})(),children:i.map((e,t)=>(0,r.tZ)(w.j,{className:T(I.item,C===t?"active":""),displayAs:e=>(0,r.tZ)(Z.h,{...e,hideIcon:h,isActive:C===t}),onClick:()=>{N(t),W(!1)}},String(t)))}),u&&(0,r.BX)(x.k,{align:"center",gap:16,sx:{padding:14},children:[(0,r.tZ)("a",{href:null==g?void 0:g.url,target:"_blank",children:(0,r.tZ)("div",{className:I.app,children:(0,r.tZ)("img",{src:k.C.getAssetPath("appIntro/app-store.png"),className:I.appImg,loading:"lazy",alt:"App Store"})})}),(0,r.tZ)("a",{href:null==g?void 0:g.url,target:"_blank",children:(0,r.tZ)("div",{className:I.app,children:(0,r.tZ)("img",{src:k.C.getAssetPath("appIntro/google-play.png"),className:I.appImg,loading:"lazy",alt:"Google Play"})})})]})]})]})};var I=(0,b.k)((e,t)=>{let{hasSponsor:n}=t;return{root:{},wrapper:{display:"flex",[e.fn.smallerThan("sm")]:{flexDirection:"column"},[e.fn.largerThan("sm")]:{padding:n?"0 ".concat((0,l.h)(16)):void 0,gap:(0,l.h)(24),alignItems:"center"}},sponsor:{},menuScrollContainer:{flex:1,minWidth:0,width:"100%"},navigator:{gap:(0,l.h)(8),flexWrap:"nowrap",width:"max-content",justifyContent:"flex-start",alignItems:"flex-start"},navigatorItem:{img:{height:18},flexShrink:0},buttonItemTitle:{whiteSpace:"nowrap",maxWidth:"unset",overflow:"visible",textOverflow:"unset"}}}),T=n("d9F/"),C=(0,a.forwardRef)((e,t)=>{let{sponsoredBy:n=[],onNavClick:i,children:o,styles:c,classNames:f,isAppPage:v,logo:x,...b}=e,{colorArr:y,navigating:Z=[],mappingIconList:k}=(0,a.useContext)(h.F),C=(n||[]).length>0,{classes:N}=I({hasSponsor:C},{name:"StickyNavigator",classNames:f,styles:c}),B=(0,g.d)(),[W,E]=(0,a.useState)(""),z=(0,a.useMemo)(()=>Z.filter(e=>"comming_soon"!==e.type),[Z]);(0,a.useImperativeHandle)(t,()=>({setSelectedSection:E}));let L=(0,u.t)(z.map(e=>e.url)),X={};return z.map((e,t)=>{X[e.idScroll]=L[t]}),z.length>0?(0,r.BX)(p.b,{className:N.wrapper,sx:e=>({position:"absolute",width:"100%",borderBottom:"1px solid ".concat(e.colors.neutral[1]),transform:"translateY(".concat(""!==W?0:"-100%",")"),transition:"transform .3s ease",[e.fn.largerThan("sm")]:{padding:"".concat((0,l.h)(8)," 0"),display:"flex",justifyContent:"stretch"}}),children:[C&&!B&&(0,r.tZ)(s.x,{className:N.sponsor,sx:{order:2,flexShrink:0,marginLeft:"auto",paddingRight:(0,l.h)(16)},children:(0,r.tZ)(d.StickySponsoredBy,{isCollapsed:!1,sponsoredType:"content",sponsoredBy:n,isMobile:B,styles:e=>({root:{position:"relative",zIndex:1,backgroundColor:"transparent",border:0,[e.fn.largerThan("sm")]:{padding:0}},logoWrapper:{marginLeft:(0,l.h)(12)},logo:{[e.fn.largerThan("sm")]:{height:(0,l.h)(32)}},container:{[e.fn.largerThan("sm")]:{padding:0}}})})}),"function"==typeof o?null==o?void 0:o(i,W):B?(0,r.tZ)(Dropdown,{navigating:z,mappingIconList:k,colorArr:y,selectedSection:W,onNavClick:i,hideIcon:v,logo:x,isApp:v}):(0,r.tZ)(StickyMenuScrollContainer,{className:N.menuScrollContainer,sx:C?{order:1}:void 0,children:(0,r.tZ)(S.C3,{className:N.navigator,colorArr:y,navigating:z,iconSize:24,selectedSection:W,mappingIconList:k,dataActionBySession:(()=>{let e={};return Object.keys(m.e).map(t=>{e[t]="".concat(m.e[t]," - Header Navigate")}),e})(),onNavClick:i,...b,children:z.map((e,t)=>{var n,a;return(0,r.tZ)(w.j,{classNames:{root:N.navigatorItem,title:N.buttonItemTitle},displayAs:T.y,iconSize:18,isExternalUrl:null===(n=X[e.idScroll])||void 0===n?void 0:n.isExternalSite,target:(null===(a=X[e.idScroll])||void 0===a?void 0:a.isExternalUrl)?"_blank":"_self"},String(t))})})})]}):null});function StickyMenuScrollContainer(e){let{children:t,enabled:n=!0,className:d,sx:p,...h}=e,m=(0,a.useRef)(null),u=(0,a.useRef)(null),g=(0,a.useRef)(!1),f=(0,a.useRef)({pending:!1,active:!1,pointerId:-1,startX:0,startScrollLeft:0,hasDragged:!1}),[v,x]=(0,a.useState)(!1),[b,y]=(0,a.useState)(!1),[S,w]=(0,a.useState)(0),[Z,k]=(0,a.useState)(0),[I,T]=(0,a.useState)(0),C=(0,a.useCallback)(()=>{let e=m.current;if(!e)return;let t=e.scrollWidth>e.clientWidth+1;x(t),g.current=t,w(e.scrollLeft),k(e.clientWidth),T(e.scrollWidth)},[]);(0,a.useEffect)(()=>{if(!n)return;let e=m.current,t=u.current;if(!e)return;let runUpdate=()=>{requestAnimationFrame(C)};runUpdate();let r=new ResizeObserver(runUpdate);return r.observe(e),t&&r.observe(t),window.addEventListener("resize",runUpdate),()=>{r.disconnect(),window.removeEventListener("resize",runUpdate)}},[n,t,C]);let N=(0,a.useCallback)(()=>{f.current={pending:!1,active:!1,pointerId:-1,startX:0,startScrollLeft:0,hasDragged:!1}},[]),B=(0,a.useCallback)(e=>{if(!f.current.pending||e.pointerId!==f.current.pointerId)return;let t=m.current;if(!t)return;let n=e.clientX-f.current.startX;!f.current.active&&Math.abs(n)>8&&(f.current.active=!0,f.current.hasDragged=!0,y(!0),t.setPointerCapture(e.pointerId)),f.current.active&&(e.preventDefault(),t.scrollLeft=f.current.startScrollLeft-n)},[]),W=(0,a.useCallback)(e=>{if(!f.current.pending||e.pointerId!==f.current.pointerId)return;let t=m.current,n=f.current.hasDragged;window.removeEventListener("pointermove",B),window.removeEventListener("pointerup",W),window.removeEventListener("pointercancel",W),(null==t?void 0:t.hasPointerCapture(e.pointerId))&&t.releasePointerCapture(e.pointerId),N(),y(!1),n&&window.addEventListener("click",e=>{e.preventDefault(),e.stopPropagation()},{capture:!0,once:!0})},[B,N]),E=(0,a.useCallback)(()=>{window.removeEventListener("pointermove",B),window.removeEventListener("pointerup",W),window.removeEventListener("pointercancel",W)},[B,W]);(0,a.useEffect)(()=>()=>{E()},[E]);let z=(0,a.useCallback)(e=>{if(!g.current||0!==e.button||"mouse"!==e.pointerType)return;let t=m.current;t&&(f.current={pending:!0,active:!1,pointerId:e.pointerId,startX:e.clientX,startScrollLeft:t.scrollLeft,hasDragged:!1},window.addEventListener("pointermove",B),window.addEventListener("pointerup",W),window.addEventListener("pointercancel",W))},[B,W]),L=(0,a.useCallback)(()=>{E(),N(),y(!1)},[E,N]),scrollBy=e=>{let t=m.current;if(!t)return;let n=.6*t.clientWidth;t.scrollTo({left:t.scrollLeft+("left"===e?-n:n),behavior:"smooth"})};if(!n)return(0,r.tZ)(r.HY,{children:t});let X={position:"absolute",top:"50%",display:"flex",alignItems:"center",justifyContent:"center",width:(0,l.h)(32),height:(0,l.h)(32),borderRadius:"50%",cursor:"pointer",backgroundColor:"#fff",border:"1px solid #e4e8ec",boxShadow:"0 2px 6px rgba(0, 0, 0, 0.08)",color:"#404040",padding:0,pointerEvents:"auto",transform:"translateY(-50%)",transition:"background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease","&:hover":{backgroundColor:"#fafafa",boxShadow:"0 4px 12px rgba(0, 0, 0, 0.12)",transform:"translateY(-50%) scale(1.05)"},"&:active":{transform:"translateY(-50%) scale(0.95)",boxShadow:"0 1px 4px rgba(0, 0, 0, 0.08)"}},renderScrollButton=(e,t)=>(0,r.tZ)(s.x,{component:"button",type:"button","aria-label":t,onClick:()=>scrollBy(e),sx:{...X,..."left"===e?{left:5}:{right:5}},children:"left"===e?(0,r.tZ)(i.Z,{size:18}):(0,r.tZ)(o.Z,{size:18})});return(0,r.BX)(s.x,{className:d,sx:[{position:"relative",flex:1,minWidth:0,display:"flex",alignItems:"center"},...Array.isArray(p)?p:p?[p]:[]],...h,children:[(0,r.tZ)(c.x,{viewportRef:m,onScrollPositionChange:e=>{let{x:t}=e;w(t),C()},viewportProps:{onPointerDownCapture:z,onLostPointerCapture:L},scrollbarSize:0,type:"never",offsetScrollbars:!1,sx:{flex:1,minWidth:0,width:"100%",marginLeft:v?45:0,marginRight:v?45:0},styles:{root:{overflow:"hidden"},viewport:{overflowX:"auto",overflowY:"hidden",touchAction:"pan-x",WebkitOverflowScrolling:"touch",overscrollBehaviorX:"contain",cursor:v?b?"grabbing":"grab":"default",userSelect:b?"none":void 0,"& .sticky-nav-item, & a":{touchAction:"pan-x",WebkitUserDrag:"none",pointerEvents:"auto",cursor:v?b?"grabbing":"grab":"pointer"},"& .sticky-nav-item > *":{pointerEvents:"auto"}},scrollbar:{display:"none"},corner:{display:"none"}},children:(0,r.tZ)(s.x,{ref:u,sx:{display:"flex",width:"max-content",minWidth:"100%",flexShrink:0,justifyContent:"center",boxSizing:"border-box"},children:t})}),v&&(0,r.BX)(s.x,{sx:{position:"absolute",inset:0,pointerEvents:"none",zIndex:3},children:[v&&S>1&&renderScrollButton("left","Scroll menu left"),v&&S+Z{let{url:t,...n}=e;return(0,r.tZ)(p.x,{component:"iframe",src:t,...n,allow:"camera; microphone; autoplay; encrypted-media;",loading:"lazy",title:"Typeform"})};var g=n("RZSM"),f=n("SPK5"),v=n("OAL+"),x=(0,n("/npG").k)(e=>({root:{position:"relative",padding:"".concat((0,h.h)(40)," 0"),[e.fn.largerThan("sm")]:{padding:"".concat((0,h.h)(80)," 0")}},inner:{display:"flex",flexDirection:"column",gap:30,position:"relative"},header:{display:"flex",alignItems:"flex-start",gap:(0,h.h)(12),[e.fn.largerThan("sm")]:{gap:(0,h.h)(24)}},headerContent:{flex:1,minWidth:0,display:"flex",flexDirection:"column",gap:(0,h.h)(10)},headerIcon:{flexShrink:0,width:48,[e.fn.largerThan("sm")]:{width:64}},headingWrapper:{minHeight:(0,h.h)(48),display:"flex",alignItems:"center",[e.fn.largerThan("sm")]:{minHeight:(0,h.h)(64)}},headerInfo:{},medicalAvatar:{flexShrink:0,width:32,[e.fn.largerThan("sm")]:{width:40}},medicalReview:{},medicalTitle:{fontSize:(0,h.h)(14),lineHeight:"150%",letterSpacing:"-0.07px",color:"#595959"},medicalSubTitle:{fontSize:(0,h.h)(12),lineHeight:"140%",letterSpacing:"-0.07px",color:"#595959"},iframeWrapper:{height:"80vh",backgroundColor:"#fff",position:"relative",[e.fn.smallerThan("sm")]:{marginLeft:-16,marginRight:-16},[e.fn.largerThan("sm")]:{height:550,borderRadius:20}},iframe:{position:"relative",width:"100%",height:"100%",borderRadius:"inherit"},disclaimer:{},skeleton:{position:"absolute",inset:0,zIndex:0,borderRadius:0,[e.fn.largerThan("sm")]:{borderRadius:20}}}));let TypeFormInlineHeader=e=>{let{headline:t,headlineIcon:n,medicalInfo:a}=e,{classes:i}=x(void 0,{name:"TypeFormInlineInlineScreen"}),o=!!(null==a?void 0:a.icon),l=!!(null==a?void 0:a.doctorInfo),s=!!(null==a?void 0:a.subText),d=o||l||s,h=!!(t||n&&d),m=h||d;return n||m?(0,r.BX)(p.x,{className:i.header,children:[n&&(0,r.tZ)(p.x,{className:i.headerIcon,children:(0,r.tZ)(g.o,{ratio:1,children:(0,r.tZ)("img",{loading:"lazy",src:n,alt:t})})}),m&&(0,r.BX)(p.x,{className:i.headerContent,children:[h&&(0,r.tZ)("div",{className:i.headingWrapper,children:t&&(0,r.tZ)(c.T,{size:"h2",weight:"semiBold",variant:"primary",children:t})}),d&&(0,r.BX)(f.k,{gap:12,align:"center",className:i.medicalReview,children:[o&&(0,r.tZ)(p.x,{className:i.medicalAvatar,children:(0,r.tZ)(g.o,{ratio:1,children:(0,r.tZ)("img",{loading:"lazy",src:a.icon,alt:a.doctorInfo})})}),(l||s)&&(0,r.BX)(v.K,{spacing:4,children:[l&&(0,r.tZ)(p.x,{...a.url&&{component:"a",href:a.url,target:"_blank"},"data-event-category":"Reviewer Name","data-event-action":"Click text","data-event-label":a.url,className:i.medicalTitle,children:a.doctorInfo}),s&&(0,r.tZ)(p.x,{className:i.medicalSubTitle,children:a.subText})]})]})]})]}):null},FullScreen=e=>{let{data:t,url:n}=e,{disclaimer:a,headline:i,headlineIcon:o,medicalInfo:l}=t||{};return(0,r.BX)(p.x,{sx:e=>({display:"flex",flexDirection:"column",height:"calc(100vh - 53px)",minHeight:500,paddingBottom:(0,h.h)(40),[e.fn.largerThan("sm")]:{paddingBottom:(0,h.h)(80)}}),children:[(0,r.tZ)(m.W,{children:(0,r.tZ)(TypeFormInlineHeader,{headline:i,headlineIcon:o,medicalInfo:l})}),(0,r.BX)(p.x,{sx:{flex:1,minHeight:0,display:"flex",flexDirection:"column",gap:(0,h.h)(30)},children:[(0,r.tZ)(p.x,{sx:{flex:1,minHeight:0},children:(0,r.tZ)(TypeformEmbed,{url:n,style:{width:"100%",height:"100%",border:"none"}})}),a&&(0,r.tZ)(m.W,{children:(0,r.tZ)(u.E,{contentSize:"n1",bordered:!1,description:a,HeadingWrapper:e=>(0,r.tZ)(c.T,{...e,size:"p2",sx:{textTransform:"none"}}),ContentWrapper:e=>(0,r.tZ)(c.T,{...e,size:"p3"}),icon:(0,r.tZ)(d.Z,{color:"#FE921D",size:20}),expand:!1})})]})]})};var b=n("YXre"),y=n("0D4Z");let InlineScreen=e=>{let{data:t,url:n}=e,{headline:a,headlineIcon:i,disclaimer:o,backgroundColor:l,medicalInfo:s}=t||{},{classes:h}=x(void 0,{name:"TypeFormInlineInlineScreen"});return(0,r.tZ)(b.T,{variant:b.C.LEADGEN,children:(0,r.tZ)(p.x,{bg:l,className:h.root,children:(0,r.BX)(m.W,{className:h.inner,children:[(0,r.tZ)(TypeFormInlineHeader,{headline:a,headlineIcon:i,medicalInfo:s}),(0,r.BX)(p.x,{className:h.iframeWrapper,children:[(0,r.tZ)(y.O,{visible:!0,className:h.skeleton}),(0,r.tZ)(TypeformEmbed,{url:n,className:h.iframe})]}),o&&(0,r.tZ)(p.x,{className:h.disclaimer,children:(0,r.tZ)(u.E,{contentSize:"n1",bordered:!1,description:o,HeadingWrapper:e=>(0,r.tZ)(c.T,{...e,size:"p2",sx:{textTransform:"none"}}),ContentWrapper:e=>(0,r.tZ)(c.T,{...e,size:"p3"}),icon:(0,r.tZ)(d.Z,{color:"#FE921D",size:20}),expand:!1})})]})})})},TypeFormInline=e=>{var t;let n,{data:i}=e,{formId:c,displayFull:d,utmParams:p}=i||{},{query:h,asPath:m}=(0,l.h)(),u=(0,a.useMemo)(()=>{let e={...h};return delete e.slug,e},[h]);if(!c)return null;let g=p.split("&").filter(Boolean),f=g.reduce((e,t)=>{let[n,r]=t.split("=");return n&&(e[n]=r),e},{}),v="https://form.typeform.com/to/".concat(c,"?").concat((t={ga_client:o().get(s.ch),page_path:m,...u,...f},n="",t&&(n=Object.keys(t).map(e=>e+"="+t[e]).join("&")),n));return d?(0,r.tZ)(FullScreen,{data:i,url:v}):(0,r.tZ)(InlineScreen,{data:i,url:v})}}}]);