"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4067],{gHdQ:function(e,t,a){a.d(t,{Y:function(){return r}});var n=a("q1tI");let r=(0,n.createContext)({})},kdtb:function(e,t,a){a.r(t),a.d(t,{Form:function(){return Form}});var n=a("BGKE"),r=a("q1tI"),o=a("6MGn"),i=a("Eso5"),l=a("Wgwc"),s=a.n(l),d=a("dDsW"),c=a("UcrG"),h=a("hH53"),m=a("VjYe"),p=a("JuOI"),g=a("iv2E"),u=a("raAP"),f=a("hXNO"),b=a("P5LW"),v=a("rIrU"),x=a("o0qI"),w=a("/npG"),C=a("mYVa"),y=(0,w.k)(e=>({root:{".mantine-Modal-body":{[e.fn.smallerThan("sm")]:{paddingBottom:0}},".mobile-template-wrapper":{[e.fn.smallerThan("sm")]:{position:"relative",paddingBottom:(0,C.h)(10)}},".mantine-Modal-header":{display:"none"}},body:{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:(0,C.h)(16),".mantine-SuccessBox-root + .mantine-Form-header":{display:"none"}},formRoot:{display:"flex",[e.fn.smallerThan("sm")]:{flexDirection:"column",gap:(0,C.h)(24)},[e.fn.largerThan("sm")]:{flexWrap:"wrap",padding:0}},formContainer:{},header:{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:(0,C.h)(16),[e.fn.largerThan("sm")]:{width:"100%"}},heading:{},formHeader:{display:"none"},formControlList:{display:"flex",flexDirection:"column",gap:(0,C.h)(16),width:"100%",[e.fn.largerThan("sm")]:{paddingBottom:60},".tnc-block":{marginTop:0}},formControl:{"&.mantine-RadioGroup-root":{display:"flex",flexWrap:"wrap",gap:(0,C.h)(8),".mantine-InputWrapper-label":{width:"100%"},".mantine-InputWrapper-error":{width:"100%"}},".mantine-Radio-label":{paddingRight:(0,C.h)(24),fontSize:(0,C.h)(14)},".PhoneInputInput,.mantine-Radio-radio, .mantine-Radio-radio:checked":{backgroundColor:"#fff"}},formSubmitBtn:{[e.fn.smallerThan("sm")]:{width:"100%"},[e.fn.largerThan("sm")]:{minWidth:160}},formSubmitBtnWrapper:{[e.fn.largerThan("sm")]:{backgroundColor:"#fff",position:"absolute",left:0,right:0,bottom:0,display:"flex",justifyContent:"flex-end",paddingRight:20,paddingTop:20}},otpRoot:{display:"flex",flexDirection:"column",gap:(0,C.h)(16),[e.fn.largerThan("sm")]:{gap:(0,C.h)(24)}},otpHeader:{textAlign:"center"},otpActions:{display:"flex",gap:(0,C.h)(12),justifyContent:"center"},successBtn:{minWidth:(0,C.h)(120)}}));let Form=e=>{let{campaign:t,thankYouMessage:a,onClose:l,styles:w,classNames:C,isModal:Z,isSkippable:k,onEndCountDown:B,onShowThankyou:T,...I}=e,{state:{userInfo:S}}=(0,r.useContext)(x.I),{formatMessage:N}=(0,d.Z)(),{locale:L}=(0,b.h)(),{classes:_,cx:P}=y(void 0,{name:"Form",styles:w,classNames:C}),E=(0,f.d)(),D=(0,u.U)();return t?(0,n.BX)(p.Z,{children:[(0,n.tZ)(i.x,{...I,children:(0,n.tZ)(o.LeadGen,{apiUrl:v.ENV.NEXT_PUBLIC_LEAD_API||"https://lead.hellohealthgroup.com/",apiSubotUrl:(v.ENV.NEXT_PUBLIC_SUBOT_API||"https://subot.hellohealthgroup.com/frontend/api/").replace("frontend/api/",""),siteDomain:g.domainLocales[L],siteId:String(v.CX[L].SITE_ID||1),locale:L,forceCampaign:t,children:(0,n.BX)(i.x,{className:_.body,children:[(0,n.tZ)(o.LeadGen.Thankyou,{children:(e,t)=>(0,n.tZ)(h._,{heading:a.title||e.title||"",description:(a.description||e.subtitle||"").split("\n").map((e,t,a)=>{let r=tnull==T?void 0:T(),ctaText:Z?N({id:"spotlight.landing.workshopForm.thankyou.finish"}):N({id:"carePathLead.form.submitAnotherBtn"}),onClose:()=>l(t)})}),(0,n.BX)(i.x,{className:_.header,children:[(0,n.tZ)(o.LeadGen.Heading,{className:P(_.heading,"form-heading")}),(0,n.tZ)(o.LeadGen.Description,{}),t.ended_at&&(0,n.tZ)(c.W,{label:N({id:"common.endAt"}),endDate:s()(t.ended_at,"YYYY-MM-DD HH:mm:ss").toDate(),onEnd:B})]}),(0,n.tZ)(o.LeadGen.Form,{fillInfo:{email:(null==S?void 0:S.email)||"",phone:(null==S?void 0:S.phone)?((null==S?void 0:S.area_code)||"")+S.phone:""},classNames:{root:_.formRoot,container:_.formContainer,header:_.formHeader,controlList:_.formControlList,control:_.formControl,submitBtn:_.formSubmitBtn,submitBtnWrapper:_.formSubmitBtnWrapper},popoverProps:{...!E&&{withinPortal:!0,portalProps:{target:"#datepicker-popover-target"}}},submitProps:{dataEventCategory:"Leadgen Pop Up",dataEventAction:"Submit Click",dataEventLabel:D}}),(0,n.tZ)(o.LeadGen.OtpForm,{classNames:{root:_.otpRoot,header:_.otpHeader,controlList:_.otpControlList,control:_.otpControl,submitBtn:_.otpSubmitBtn,actions:_.otpActions}})]})})}),(0,n.tZ)(m.x,{})]}):null}},OB5W:function(e,t,a){a.d(t,{Z:function(){return ee}});var n=a("BGKE"),r=a("q1tI"),o=a("nGnw"),i=a("fNFL"),l=a("kfjY"),s=a("Iblh"),d=a("Vvt1"),c=a.n(d),h=a("mU93"),m=a("hXNO"),p=a("P5LW"),g=a("rIrU"),u=a("Eso5"),f=a("vaps"),b=a("/npG"),v=a("mYVa"),x=(0,b.k)((e,t)=>{let{isModal:a,modalStyle:n,bgColor:r}=t;return{root:{},wrapper:{...a&&"fullscreen"===n&&{maxHeight:"100%",overflowY:"auto"},[e.fn.smallerThan("sm")]:{...a&&{height:"calc(100% - 70px)"}}},container:{display:"flex",gap:(0,v.h)(16),alignItems:"center",[e.fn.smallerThan("sm")]:{flexDirection:"column",alignItems:"stretch",gap:(0,v.h)(16)},[e.fn.largerThan("sm")]:{alignItems:"center",justifyContent:"space-evenly"}},bannerWrapper:{[e.fn.smallerThan("sm")]:{margin:"0 ".concat((0,v.h)(-16))},[e.fn.largerThan("sm")]:{display:"flex",justifyContent:"center"}},bannerFrame:{[e.fn.largerThan("sm")]:{maxWidth:(0,v.h)(552)}},bannerImg:{margin:0,[e.fn.smallerThan("sm")]:{"&.desktop":{display:"none"}},[e.fn.largerThan("sm")]:{maxHeight:640,"&.mobile":{display:"none"}}},formContainer:{},formWrapper:{},formFrame:{[e.fn.largerThan("sm")]:{backgroundColor:"#fff",maxWidth:(0,v.h)(460),width:"100%",borderRadius:(0,v.h)(20),border:"1px solid ".concat(r?"transparent":e.colors.neutral[1]),paddingTop:24,paddingLeft:32,paddingBottom:16,"&.has-scroll":{paddingRight:6,paddingBottom:32}}},form:{},formHeading:{fontSize:20,lineHeight:(0,v.h)(26),[e.fn.largerThan("sm")]:{fontSize:22,lineHeight:(0,v.h)(32)}},formControlList:{gap:12,[e.fn.largerThan("sm")]:{paddingTop:0}},formSubmitBtnWrapper:{paddingTop:8},formRoot:{},modal:{position:"fixed",top:0,left:0,right:0,bottom:0},skipBtn:{backgroundColor:"transparent",color:e.colors.gray[8],[e.fn.largerThan("sm")]:{color:"#8C8C8C"}},closeBtn:{position:"absolute",borderColor:"transparent",top:0,right:0},closeWithIconBtn:{top:"10px !important",right:"10px !important",width:32,height:32,borderRadius:"50%",backgroundColor:"#fff","&:hover":{backgroundColor:e.colors.neutral[0]}},scrollAreaThumb:{backgroundColor:"#D9D9D9"},scrollAreaViewport:{[e.fn.largerThan("sm")]:{paddingRight:(0,v.h)(29),paddingBottom:0}},scrollAreaScrollbar:{[e.fn.largerThan("sm")]:{'&[data-orientation="vertical"]':{bottom:"50px !important"}},'&[data-orientation="horizontal"]':{display:"none"}}}}),w=a("gHdQ"),C=a("DEkF"),y=a("wp0n"),Z=a("fdQd"),k=a("u7wK"),B=a("8wjV"),T=a("aDCK"),I=a("cChf"),S=a("Tabs"),N=a("Wgwc"),L=a.n(N),_=a("p46w"),P=a.n(_),E=a("dDsW"),D=a("09QT"),A=a("oQBk"),R=a("0VOb"),W=a("hH53"),z=a("KsjV"),M=a("raAP"),F=a("q0An");let generateSchema=e=>F.Ry().shape({name:F.Z_().required(e({id:"onboarding.errorMessage.requiredName",defaultMessage:"Please fill your name"})),child_dob:F.hT().required(e({id:"bmi.ageInput.error",defaultMessage:"Please enter a valid age"})),phone:F.Z_().required(e({id:"carePathLead.form.requiredPhone",defaultMessage:"Please provide your phone number"})).min(12,e({id:"onboarding.updatePhone.error"})).max(15,e({id:"onboarding.updatePhone.error"})),term:F.Xg().required(e({id:"onboarding.friso.term.error"})).oneOf([!0],e({id:"onboarding.friso.term.error"}))});var X=(0,b.k)(e=>({root:{".PhoneInputInput":{backgroundColor:"#fff"}},wrapper:{display:"flex",flexDirection:"column",gap:(0,v.h)(24)},controlList:{display:"flex",flexWrap:"wrap",gap:(0,v.h)(12),[e.fn.smallerThan("sm")]:{flexDirection:"column"},[e.fn.largerThan("sm")]:{justifyContent:"space-between"},".phone-input":{"&,& .PhoneInput":{marginBottom:0}}},control:{flex:"0 0 48%"},nameControl:{flex:"none",width:"100%"},controlErr:{fontSize:(0,v.h)(14)},hint:{textAlign:"center"},actionList:{display:"flex",[e.fn.smallerThan("sm")]:{flexDirection:"column",gap:"inherit"},[e.fn.largerThan("sm")]:{justifyContent:"space-between",alignItems:"center",gap:(0,v.h)(16),width:"100%"}},submitBtn:{},successBox:{display:"flex",flexDirection:"column",gap:(0,v.h)(8),alignItems:"center"},successImg:{width:(0,v.h)(160)}}));let SoyaForm=e=>{let{title:t,description:a,ctaTitle:o,campaignCode:l,styles:s,classNames:d,className:c,primaryColor:h,thankYouMessage:p,onDone:f}=e,b=(0,M.U)(),x=(0,m.d)(),{formatMessage:w}=(0,E.Z)(),{classes:N,cx:_}=X(void 0,{name:"LeadgenWithBannerForm",styles:s,classNames:d}),[F,H]=(0,r.useState)(!1),[G,U]=(0,r.useState)(!1),Y=(0,I.c)({validate:(0,S.X)(generateSchema(w))});return(0,n.BX)(n.HY,{children:[(0,n.tZ)(u.x,{className:_(N.root,c),children:(0,n.BX)("form",{className:N.wrapper,onSubmit:Y.onSubmit(e=>{if(!l)return;let t={...e,child_dob:e.child_dob?L()(e.child_dob).format("YYYY-MM-DD"):""};U(!0),(0,z.oU)(e.phone,l).then(async e=>{var a;if((null==e?void 0:null===(a=e._messages)||void 0===a?void 0:a[0])==="Phone was exist")Y.setFieldError("phone",w({id:"carePathLead.form.existingVoucher",defaultMessage:"This phone received the voucher."})),U(!1);else{let e=await (0,D.d)(A.y.LEADGEN.POST_LEAD_LEAD,{method:"POST",params:{campaignCode:l},data:{url:window.location.href,title_article:document.title,referrer:window.location.href,meta:Object.keys(t).filter(e=>"term"!==e).map(e=>({key:e,value:t[e],control:"text"})),ga_client_id:P().get(g.ch)}},"lead");(null==e?void 0:e._status)===1?(H(!0),Y.setValues({name:"",child_dob:null,email:"",phone:"",term:!1})):(0,R.c)({title:w({id:"notification.comment.somethingWrong"}),message:"",type:"danger"}),U(!1)}})}),children:[t&&(0,n.tZ)(C.H,{tag:"h3",children:t}),a&&(0,n.tZ)(y.T,{size:"p3",children:a}),(0,n.BX)(u.x,{className:N.controlList,children:[(0,n.tZ)(Z.I,{className:_(N.control,N.nameControl),"data-event-category":"Chatbot","data-event-action":"Form Filling","data-event-label":b,label:(0,n.tZ)(y.T,{size:"s4",as:"label",children:w({id:"carePathLead.form.name",defaultMessage:"Name"})}),withAsterisk:!0,...Y.getInputProps("name")}),(0,n.BX)(T.I.Wrapper,{className:N.control,withAsterisk:!0,label:(0,n.tZ)(y.T,{size:"s4",as:"label",children:w({id:"carePathLead.form.phone",defaultMessage:"Phone number"})}),children:[(0,n.tZ)(Z.P,{defaultCountry:"ID","data-event-category":"Chatbot","data-event-action":"Form Filling","data-event-label":b,...Y.getInputProps("phone")}),(0,n.tZ)(T.I.Error,{size:"md",children:Y.errors.phone})]}),(0,n.tZ)(k.D,{"data-event-category":"Chatbot","data-event-action":"Form Filling","data-event-label":b,classNames:{root:N.control},label:(0,n.tZ)(y.T,{size:"s4",as:"label",children:w({id:"carePathLead.form.dob",defaultMessage:"Child of DOB "})}),placeholder:"DD/MM/YYYY",maxDate:L()().toDate(),popoverProps:{...!x&&{withinPortal:!0,portalProps:{target:"#datepicker-popover-target"}}},...Y.getInputProps("child_dob")}),(0,n.BX)(u.x,{className:N.actionList,children:[(0,n.tZ)(Z.d,{classNames:{error:N.controlErr},label:(0,n.BX)("div",{children:["Saya sudah membaca dan menyetujui"," ",(0,n.tZ)("a",{href:"https://www.generasimaju.co.id/event-dan-promo/promo/program-promo-voucher-sgm-soya-dengan-hello-sehat",target:"_blank",children:"Syarat dan Ketentuan Program."})]}),color:h,"data-event-category":"Chatbot","data-event-action":"Form Filling","data-event-label":b,...Y.getInputProps("term",{type:"checkbox"}),sx:{a:{color:h}}}),(0,n.tZ)(B.B,{className:N.submitBtn,size:x?"md":"lg",variant:"primary",type:"submit",loading:G,color:h,fullWidth:x,"data-event-category":"Chatbot","data-event-action":"Form Submit","data-event-label":b,children:o||w({id:"carePathLead.form.submitBtn"})})]})]})]})}),(0,n.tZ)(i.M,{target:g.Hh,size:(0,v.h)(408),opened:F,withCloseButton:!0,zIndex:303,styles:{header:{border:0,paddingBottom:0},body:{padding:(0,v.h)(32)}},onClose:()=>{H(!1),null==f||f()},children:(0,n.tZ)(W._,{heading:p.title,description:p.description,onClose:()=>{H(!1),null==f||f()},styles:{button:{width:"100%",'&[data-variant="primary"],&[data-primary-btn="true"]':{"&:not(:disabled)":{backgroundColor:h,"&:hover":{backgroundColor:h}}}}}})})]})};var H=a("q9DY"),G=a("agnc"),U=a("kZvb");let Y=c()(()=>Promise.all([a.e(7034),a.e(2602),a.e(9409),a.e(6259),a.e(1818),a.e(7519),a.e(761),a.e(2189),a.e(5231),a.e(7797),a.e(5454),a.e(5481),a.e(140),a.e(5718),a.e(3684),a.e(5349),a.e(4148),a.e(2509),a.e(1533),a.e(1108),a.e(9124),a.e(4190),a.e(2582),a.e(6509),a.e(5308),a.e(4125),a.e(9715),a.e(7730),a.e(3929),a.e(891),a.e(137),a.e(4414),a.e(1079),a.e(7613),a.e(8098),a.e(3416),a.e(2500),a.e(1570),a.e(3506),a.e(1413),a.e(2138),a.e(9467),a.e(4467),a.e(6966),a.e(5243),a.e(8132),a.e(1375),a.e(4561),a.e(1448),a.e(5465),a.e(1217),a.e(5480),a.e(731),a.e(2050),a.e(2008),a.e(8469),a.e(8214),a.e(1482),a.e(6817),a.e(467),a.e(5951),a.e(9357),a.e(747),a.e(5675),a.e(6753),a.e(4802),a.e(3046),a.e(5745),a.e(3437),a.e(252),a.e(6839),a.e(9424),a.e(5702),a.e(8922),a.e(6399),a.e(553),a.e(2902),a.e(4969),a.e(3257),a.e(6611),a.e(7538),a.e(6894),a.e(5341),a.e(4846),a.e(2233),a.e(1058),a.e(3295),a.e(1538),a.e(7152),a.e(5684),a.e(2574),a.e(9884),a.e(7644),a.e(6962),a.e(8767),a.e(6638),a.e(7741),a.e(3434),a.e(2433),a.e(5385),a.e(3564),a.e(7082),a.e(3158),a.e(5641),a.e(7454),a.e(7004),a.e(4758),a.e(6219),a.e(17),a.e(8990),a.e(4067),a.e(9487),a.e(9083),a.e(1520),a.e(270),a.e(7596),a.e(8217),a.e(7543),a.e(2835),a.e(2507),a.e(6885),a.e(7859),a.e(690),a.e(2730),a.e(6287),a.e(7682),a.e(1551),a.e(4870),a.e(9922),a.e(3133),a.e(612),a.e(2002),a.e(1880),a.e(7471),a.e(7165),a.e(5451),a.e(8612)]).then(a.bind(a,"kdtb")).then(e=>e.Form),{loadableGenerated:{webpack:()=>["kdtb"]},ssr:!1}),Body=e=>{let{onDone:t,className:a,styles:o,classNames:i,scrollHeight:l=640}=e,s=(0,m.d)(),d=(0,M.U)(),{formatMessage:c}=(0,E.Z)(),{detectPage:p}=(0,r.useContext)(h.F),{isSoya:g}=p,{modalBanner:b,isModal:v,modalStyle:C,data:y,primaryColor:Z,onCloseForm:k,close:T,isFullscreenModal:I,scrollable:S,closeBtnProps:N}=(0,r.useContext)(w.Y),{classes:L,cx:_}=x({isModal:v,modalStyle:C},{name:"Form",styles:o,classNames:i}),{title:P,description:D,ctaButtonTitle:A,campaigns:R,campaignCode:W,banner:z,termAndCondition:F,thankYouMessage:X,isSkippable:O}=y,j=g?(0,n.tZ)(SoyaForm,{className:L.form,title:P,description:D,ctaTitle:A,campaignCode:W,term:F,thankYouMessage:X,primaryColor:Z,onDone:t}):(0,n.tZ)(Y,{isModal:v,classNames:{root:L.form,container:L.formContainer,controlList:L.formControlList,formFrame:L.formFrame,formSubmitBtnWrapper:L.formSubmitBtnWrapper,heading:L.formHeading},campaign:R,thankYouMessage:X,isSkippable:O,onClose:e=>{e(),v&&T(),null==k||k()}}),V={dataEventCategory:"Leadgen Pop Up",dataEventAction:"Close Click",dataEventLabel:d,onClick:()=>T(),...N},q=b?U.Z.Wrapper:u.x;return(0,n.BX)(u.x,{className:_(a,L.root),children:[(0,n.BX)(u.x,{className:L.wrapper,children:[b&&b,(0,n.tZ)(q,{children:(0,n.BX)(u.x,{className:L.container,children:[(0,n.BX)(u.x,{className:_(L.bannerWrapper,"banner-wrapper"),children:[(0,n.tZ)("img",{className:_(L.bannerImg,"banner-img","desktop"),src:z.desktop,loading:"lazy",alt:""}),(0,n.tZ)("img",{className:_(L.bannerImg,"banner-img","mobile"),src:z.mobile,loading:"lazy",alt:""})]}),(0,n.BX)(u.x,{className:_(L.formWrapper,"form-wrapper"),children:[!s&&(0,n.tZ)(u.x,{id:"datepicker-popover-target",sx:{position:"relative",zIndex:1e3}}),s||!S?(0,n.tZ)("div",{className:L.formFrame,children:j}):(0,n.tZ)(f.x.Autosize,{mah:s?"100%":l,mx:"auto",className:_(L.formFrame,"has-scroll"),scrollbarSize:6,type:"always",classNames:{thumb:L.scrollAreaThumb,viewport:L.scrollAreaViewport,scrollbar:L.scrollAreaScrollbar},children:j})]})]})})]}),O&&v?!s&&I?(0,n.tZ)(B.B,{...V,variant:"white",size:"lg",className:_(L.skipBtn,L.closeBtn),rightIcon:(0,n.tZ)(G.Z,{size:18,color:"currentColor"}),children:c({id:"common.skip"})}):(0,n.tZ)(B.B,{...V,className:_(L.closeWithIconBtn,L.closeBtn),dataEventCategory:"Leadgen Pop Up",rightIcon:(0,n.tZ)(H.Z,{size:s?18:24})}):null]})};var O=a("doQp"),j=a.n(O),V=a("5t9f"),q=a("RZSM"),K=(0,b.k)((e,t)=>{let{isFullScreen:a,showBanner:n}=t;return{root:{},topArea:{position:"relative"},dragHandler:{position:"absolute",top:0,left:0,right:0},drawerBody:{position:"relative",padding:0,...!n&&{height:"100%",display:"flex",alignItems:"center",".mantine-SuccessBox-root,.mantine-SuccessBox-body":{gap:24}},".mantine-SuccessBox-description":{textAlign:"left"}},drawerContent:{transitionProperty:"transform, opacity,height !important",...!a&&{borderTopLeftRadius:24,borderTopRightRadius:24}},bannerImg:{...!a&&{borderTopLeftRadius:8,borderTopRightRadius:8}},formArea:{padding:16},form:{},closeWithIconBtn:{position:"absolute",top:"10px !important",right:"10px !important",zIndex:1,width:40,height:40,borderRadius:"50%",backgroundColor:"#fff","&:hover":{backgroundColor:e.colors.neutral[0]}}}});let Q=c()(()=>Promise.all([a.e(7034),a.e(2602),a.e(9409),a.e(6259),a.e(1818),a.e(7519),a.e(761),a.e(2189),a.e(5231),a.e(7797),a.e(5454),a.e(5481),a.e(140),a.e(5718),a.e(3684),a.e(5349),a.e(4148),a.e(2509),a.e(1533),a.e(1108),a.e(9124),a.e(4190),a.e(2582),a.e(6509),a.e(5308),a.e(4125),a.e(9715),a.e(7730),a.e(3929),a.e(891),a.e(137),a.e(4414),a.e(1079),a.e(7613),a.e(8098),a.e(3416),a.e(2500),a.e(1570),a.e(3506),a.e(1413),a.e(2138),a.e(9467),a.e(4467),a.e(6966),a.e(5243),a.e(8132),a.e(1375),a.e(4561),a.e(1448),a.e(5465),a.e(1217),a.e(5480),a.e(731),a.e(2050),a.e(2008),a.e(8469),a.e(8214),a.e(1482),a.e(6817),a.e(467),a.e(5951),a.e(9357),a.e(747),a.e(5675),a.e(6753),a.e(4802),a.e(3046),a.e(5745),a.e(3437),a.e(252),a.e(6839),a.e(9424),a.e(5702),a.e(8922),a.e(6399),a.e(553),a.e(2902),a.e(4969),a.e(3257),a.e(6611),a.e(7538),a.e(6894),a.e(5341),a.e(4846),a.e(2233),a.e(1058),a.e(3295),a.e(1538),a.e(7152),a.e(5684),a.e(2574),a.e(9884),a.e(7644),a.e(6962),a.e(8767),a.e(6638),a.e(7741),a.e(3434),a.e(2433),a.e(5385),a.e(3564),a.e(7082),a.e(3158),a.e(5641),a.e(7454),a.e(7004),a.e(4758),a.e(6219),a.e(17),a.e(8990),a.e(4067),a.e(9487),a.e(9083),a.e(1520),a.e(270),a.e(7596),a.e(8217),a.e(7543),a.e(2835),a.e(2507),a.e(6885),a.e(7859),a.e(690),a.e(2730),a.e(6287),a.e(7682),a.e(1551),a.e(4870),a.e(9922),a.e(3133),a.e(612),a.e(2002),a.e(1880),a.e(7471),a.e(7165),a.e(5451),a.e(8612)]).then(a.bind(a,"kdtb")).then(e=>e.Form),{loadableGenerated:{webpack:()=>["kdtb"]},ssr:!1}),DrawerModal=e=>{let{opened:t}=e,{isModal:a,data:o,close:i}=(0,r.useContext)(w.Y),{campaigns:l,banner:s,thankYouMessage:d,isSkippable:c}=o,h=(0,M.U)(),m=(0,r.useRef)(null),p=(0,r.useMemo)(()=>.8*window.innerHeight,[]),[f,b]=(0,r.useState)(p),[v,x]=(0,r.useState)(!0),{classes:C}=K({isFullScreen:"100%"===f,showBanner:v},{name:"DrawerModal"});return(0,r.useEffect)(()=>{t||(b(p),x(!0));let e=["INPUT","SELECT"],handleFocus=function(){let t=document.activeElement;e.includes((null==t?void 0:t.tagName)||"")&&b("100%")};return setTimeout(()=>{var e;return null===(e=m.current)||void 0===e?void 0:e.addEventListener("click",handleFocus)},1e3),()=>{var e;null===(e=m.current)||void 0===e||e.removeEventListener("click",handleFocus)}},[t]),(0,n.BX)(V.d.Root,{target:g.Hh,opened:t,position:"bottom",closeOnClickOutside:!0,onClose:i,children:[(0,n.tZ)(V.d.Overlay,{}),(0,n.tZ)(V.d.Content,{className:C.drawerContent,sx:{height:f},onScroll:()=>b("100%"),children:(0,n.BX)(V.d.Body,{className:C.drawerBody,children:[(0,n.tZ)(B.B,{variant:"white",className:C.closeWithIconBtn,dataEventCategory:"Leadgen Pop Up",dataEventAction:"Close Click",dataEventLabel:h,rightIcon:(0,n.tZ)(H.Z,{size:18}),onClick:()=>i()}),v&&(0,n.BX)(u.x,{className:C.topArea,children:[(0,n.tZ)(q.o,{ratio:1.5,children:(0,n.tZ)("img",{src:s.mobile,className:C.bannerImg,alt:"Đăng k\xfd xem Livestream ngay!",loading:"lazy"})}),(0,n.tZ)(u.x,{className:C.dragHandler,style:{display:"100%"===f?"none":"block"},children:(0,n.tZ)(j(),{axis:"y",onDrag:(e,t)=>{t.lastY<0&&b(f-t.lastY)},onStop:()=>{let e=window.innerHeight;b(f{e(),a&&i()},onShowThankyou:()=>x(!1)})})]})})]})};var J=(0,b.k)((e,t)=>{let{bgColor:a}=t;return{root:{height:"100%",[e.fn.smallerThan("sm")]:{backgroundColor:"#fff",paddingTop:0},[e.fn.largerThan("sm")]:{backgroundColor:a||e.colors.neutral[0]}},wrapper:{},formFrame:{},bannerImg:{},container:{},modalBody:{}}});let $=c()(()=>Promise.all([a.e(7034),a.e(2602),a.e(9409),a.e(6259),a.e(1818),a.e(7519),a.e(761),a.e(2189),a.e(5231),a.e(7797),a.e(5454),a.e(5481),a.e(140),a.e(5718),a.e(3684),a.e(5349),a.e(4148),a.e(2509),a.e(1533),a.e(1108),a.e(9124),a.e(4190),a.e(2582),a.e(6509),a.e(5308),a.e(4125),a.e(9715),a.e(7730),a.e(3929),a.e(891),a.e(137),a.e(4414),a.e(1079),a.e(7613),a.e(8098),a.e(3416),a.e(2500),a.e(1570),a.e(3506),a.e(1413),a.e(2138),a.e(9467),a.e(4467),a.e(6966),a.e(5243),a.e(8132),a.e(1375),a.e(4561),a.e(1448),a.e(5465),a.e(1217),a.e(5480),a.e(731),a.e(2050),a.e(2008),a.e(8469),a.e(8214),a.e(1482),a.e(6817),a.e(467),a.e(5951),a.e(9357),a.e(747),a.e(5675),a.e(6753),a.e(4802),a.e(3046),a.e(5745),a.e(3437),a.e(252),a.e(6839),a.e(9424),a.e(5702),a.e(8922),a.e(6399),a.e(553),a.e(2902),a.e(4969),a.e(3257),a.e(6611),a.e(7538),a.e(6894),a.e(5341),a.e(4846),a.e(2233),a.e(1058),a.e(3295),a.e(1538),a.e(7152),a.e(5684),a.e(2574),a.e(9884),a.e(7644),a.e(6962),a.e(8767),a.e(6638),a.e(7741),a.e(3434),a.e(2433),a.e(5385),a.e(3564),a.e(7082),a.e(3158),a.e(5641),a.e(7454),a.e(7004),a.e(4758),a.e(6219),a.e(17),a.e(8990),a.e(4067),a.e(9487),a.e(9083),a.e(1520),a.e(270),a.e(7596),a.e(8217),a.e(7543),a.e(2835),a.e(2507),a.e(6885),a.e(7859),a.e(690),a.e(2730),a.e(6287),a.e(7682),a.e(1551),a.e(4870),a.e(9922),a.e(3133),a.e(612),a.e(2002),a.e(1880),a.e(7471),a.e(7165),a.e(5451),a.e(8612)]).then(a.bind(a,"mXRC")).then(e=>e.LeadgenBody),{loadableGenerated:{webpack:()=>["mXRC"]},ssr:!1});var ee=(0,r.forwardRef)((e,t)=>{let{data:a,isModal:d,modalStyle:c="fullscreen",desktopModalType:u="normal",mobileModalType:f="fullscreen",onCloseForm:b,modalBanner:v,primaryColor:x,styles:C,className:y,classNames:Z,hashToOpenModal:k="open-lead",onDone:B,autoOpen:T,scrollable:I,closeBtnProps:S,submitBtnProps:N}=e,{detectPage:L}=(0,r.useContext)(h.F),{isSoya:_,isTiki:P}=L,E=(0,m.d)(),D=E?f:u,A="fullscreen"===D,{campaigns:R,backgroundColor:W,isSkippable:z}=a,{classes:M,cx:F,theme:X}=J({bgColor:W},{name:"LeadgenWithBanner",styles:C,classNames:Z}),H=(0,p.h)(),{asPath:G}=H,[Y,{open:O,close:j}]=(0,s.q)(!1);(0,r.useImperativeHandle)(t,()=>({openModal:O,closeModal:j,isOpened:Y})),(0,r.useEffect)(()=>{if(d&&T&&(null==R||R.rules,1)){var e,t;let a=1e3*(Number(null===(t=((null==R?void 0:R.rules)||[]).filter(e=>"time"===e.rule))||void 0===t?void 0:null===(e=t[0])||void 0===e?void 0:e.value)||30);setTimeout(()=>{O()},a)}},[R]),(0,r.useEffect)(()=>{if(_&&d){var e;let t=null===(e=(window.location.hash||"").substring(1).toLowerCase().split("?"))||void 0===e?void 0:e[0];t.includes(k)?O():j()}},[G]),(0,r.useEffect)(()=>{if(d&&_){let onhashchange=()=>{window.location.hash==="#".concat(k)?O():j()};return window.addEventListener("hashchange",onhashchange,{passive:!0}),()=>window.removeEventListener("hashchange",onhashchange)}},[]);let V={root:M.wrapper,formFrame:M.formFrame,bannerImg:M.bannerImg,container:M.container};return _||!_&&R?(0,n.tZ)(w.Y.Provider,{value:{modalBanner:v,onDone:B,modalStyle:c,isModal:d,data:a,primaryColor:x,close:j,onCloseForm:b,isFullscreenModal:A,modalType:D,scrollable:I,closeBtnProps:S,submitBtnProps:N},children:d?_?"drawer"===D?(0,n.tZ)(DrawerModal,{opened:Y}):(0,n.tZ)(i.M,{target:g.Hh,opened:Y,closeOnClickOutside:z,fullScreen:"fullscreen"===u,zIndex:302,size:P?960:void 0,classNames:{body:M.modalBody},transitionProps:{transition:"pop"},styles:{header:{border:0,paddingBottom:0,display:"none"},body:{padding:0,height:"100%",...P&&{backgroundImage:"linear-gradient(139.59deg, #182EF3 2.87%, #021575 89.05%)",position:"relative",[X.fn.largerThan("sm")]:{height:"auto","&:before,&:after":{content:'""',position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:0,backgroundRepeat:"no-repeat",backgroundPosition:"top"},"&:before":{backgroundImage:"url(".concat(o.C.getAssetPath("tiki/top-bg.png"),")"),backgroundSize:"contain"},"&:after":{backgroundImage:"url(".concat(o.C.getAssetPath("tiki/icon-bg-modal.png"),")"),backgroundSize:"contain",backgroundPosition:"left center"}},".mantine-LeadgenWithBanner-wrapper":{position:"relative",zIndex:1}}},inner:{height:"100%"},content:{height:P?"auto":"100% !important",...A&&{borderRadius:0}}},onClose:()=>{},children:(0,n.tZ)(Body,{classNames:V,scrollHeight:480,onDone:()=>{j(),null==B||B()}})}):(0,n.tZ)(l.u,{mounted:Y,transition:"fade",children:e=>(0,n.tZ)("div",{style:e,children:(0,n.tZ)($,{onDone:()=>{j(),null==B||B()}})})}):(0,n.tZ)(U.Z.Wrapper,{className:F(y,M.root),"data-inline":"true",children:(0,n.tZ)(Body,{classNames:V})})}):null})},mXRC:function(e,t,a){a.r(t),a.d(t,{LeadgenBody:function(){return LeadgenBody}});var n=a("BGKE"),r=a("q1tI"),o=a("6MGn"),i=a("VjYe"),l=a("JuOI"),s=a("iv2E"),d=a("P5LW"),c=a("rIrU"),h=a("27Mu");let m=c.Mw?["755vh82ncfajvtk"]:["nvt4nsfbdg9v75b"],saveLeadGenCarePathLead=(e,t)=>{if(!e)return;let a=btoa(JSON.stringify(e));(0,h.d8)("hhgCarePathLead",a,t)};var p=a("gHdQ");let LeadgenBody=e=>{let{onDone:t}=e,{locale:a}=(0,d.h)(),{data:h}=(0,r.useContext)(p.Y),g=(0,r.useMemo)(()=>s.domainLocales[a],[a]),{campaigns:u}=h,f=(0,r.useMemo)(()=>{if(null==u?void 0:u.code)return m.includes(u.code)},[null==u?void 0:u.code]),b=(0,r.useCallback)(e=>{e&&f&&saveLeadGenCarePathLead(e,{domain:".".concat(g),minutes:15,path:"/"})},[g,f]);return u?(0,n.BX)(l.Z,{children:[(0,n.tZ)(o.LeadGen,{apiUrl:c.ENV.NEXT_PUBLIC_LEAD_API||"https://lead.hellohealthgroup.com/",apiSubotUrl:(c.ENV.NEXT_PUBLIC_SUBOT_API||"https://subot.hellohealthgroup.com/frontend/api/").replace("frontend/api/",""),siteDomain:g,siteId:String(c.CX[a].SITE_ID||1),locale:a,forceCampaign:u,excludeExitRulesHandler:!0,onClose:t,onSubmit:b}),(0,n.tZ)(i.x,{})]}):null}},tddD:function(e,t,a){a.d(t,{a:function(){return MultiRiskScreenerEmbed}});var n=a("BGKE"),r=a("q1tI"),o=a("uuQu"),i=a("wp0n"),l=a("Eso5"),s=a("OAL+"),d=a("SPK5"),c=a("M1QZ"),h=a("gHFm"),m=a("NeDJ"),p=a("7Zqm"),g=a("3HKn"),u=a("nGnw"),f=a("/npG"),b=a("mYVa"),v=a("HC7W"),x=(0,f.k)((e,t)=>{let{layout:a,carouselItemLayout:n,itemLength:r}=t,o="vertical"===a,i="horizontal"===a&&"group"===n,l="horizontal"===a&&"inline"===n;return{root:{display:"flex",[e.fn.smallerThan("sm")]:{flexDirection:"column",gap:8},[e.fn.largerThan("sm")]:{gap:(0,b.h)(24),alignItems:"center",justifyContent:"center",...o&&{flexDirection:"column",gap:56},...l&&{gap:80}}},listing:{display:"flex",gap:(0,b.h)(16),..."horizontal"===a&&{flexShrink:0},...(o||l)&&{".carouselCard":{width:"100%"}},[e.fn.smallerThan("sm")]:{flexDirection:"column"},[e.fn.largerThan("sm")]:{flexWrap:"wrap",gap:(0,b.h)(24),...i&&{order:1,maxWidth:(0,b.h)(648)},...o&&{width:"100%"},...l&&{flex:1},".slide-item":{..."group"===n&&{height:"auto",'&[data-item="4"]':{paddingBottom:80,[".".concat((0,v.A)("item"))]:{"&:nth-child(even)":{transform:"translate(0, ".concat((0,b.h)(80),")")}}},'&[data-item="3"]':{justifyContent:"flex-end",[".".concat((0,v.A)("item"))]:{"&:nth-child(1)":{transform:"translate(0, 50%)"}}},'&[data-item="2"]':{[".".concat((0,v.A)("item"))]:{"&:nth-child(2)":{marginTop:80}}},...1===r&&{'&[data-item="1"]':{"& > div":{flex:"0 0 100%",maxWidth:"100%"}}}}}}},carousel:{},info:{[e.fn.largerThan("sm")]:{...i&&{width:"100%",order:2},...l&&{flex:1}}},infoInner:{gap:0,[e.fn.largerThan("sm")]:{...i&&{width:(0,b.h)(360),...r>1?{margin:"0 auto"}:{marginLeft:40}}}},title:{[e.fn.largerThan("sm")]:{...o&&{textAlign:"center"}}},item:{ref:(0,v.A)("item"),[e.fn.largerThan("sm")]:{..."group"===n&&{flex:"0 0 calc(50% - 12px)"}}},embedItem:{[e.fn.largerThan("sm")]:{..."group"===n&&{height:354},..."inline"===n&&{height:1===r||2===r?320:3===r?332:386}}},editorContent:{"p, ul":{margin:"".concat((0,b.h)(16)," 0")},li:{position:"relative",paddingLeft:(0,b.h)(44),marginTop:(0,b.h)(16),"&:first-of-type":{marginTop:0},"&:before":{content:'""',display:"inline-block",width:(0,b.h)(28),height:(0,b.h)(28),background:"url(".concat(u.C.getAssetPath("check-green.svg"),")"),backgroundPosition:"center",backgroundColor:e.colors.green[0],backgroundRepeat:"no-repeat",borderRadius:"50%",position:"absolute",top:(0,b.h)(-2),left:0}}}}}),w=a("DEkF"),C=a("fdQd"),y=a("8wjV"),Z=a("iZ8j"),k=a("RZSM"),B=a("dDsW"),T=a("WFk/"),I=a("hXNO"),S=a("rIrU");let N=(0,f.k)((e,t)=>{let{color:a}=t;return{root:{borderRadius:"50%",background:a}}}),Circle=e=>{let{color:t,...a}=e,{classes:r,cx:o}=N({color:t});return(0,n.tZ)(l.x,{className:o(r.root),sx:{borderRadius:"50%",background:t},...a})};var L=(0,f.k)((e,t)=>{let{color:a}=t;return{root:{position:"relative",backgroundColor:a,borderRadius:(0,b.h)(20),overflow:"hidden"},circle:{position:"absolute",top:0,right:0,zIndex:1,opacity:.5,transform:"translate(50%, -50%)"},wrapper:{position:"relative",zIndex:2,padding:"".concat((0,b.h)(16)," ").concat((0,b.h)(24)),display:"flex",flexDirection:"column",gap:(0,b.h)(8),height:"100%",[e.fn.largerThan("sm")]:{justifyContent:"space-between",padding:(0,b.h)(24)}},inner:{display:"flex",flexDirection:"column",gap:(0,b.h)(8)},header:{display:"flex",gap:(0,b.h)(16),[e.fn.smallerThan("sm")]:{alignItems:"center"},[e.fn.largerThan("sm")]:{gap:(0,b.h)(24),flexDirection:"column"}},actions:{[e.fn.smallerThan("sm")]:{display:"none"}},imgWrapper:{width:(0,b.h)(48),borderRadius:"50%",overflow:"hidden",background:"#fff",flexShrink:0,[e.fn.largerThan("sm")]:{width:(0,b.h)(80)}},reviewer:{}}});let RiskScreenerEmbedItem=e=>{let{color:t,styles:a,className:o,thumbnail:s,title:c,reviewerAvatar:h,reviewerName:m,reviewerSpecialty:p,reviewerHospital:g,langdingPageUrlPrefix:f,landingPageUrlSlug:b,...v}=e,{formatMessage:x}=(0,B.Z)(),{classes:N,cx:_,theme:P}=L({color:t},{name:"RiskScreenerEmbedItem",styles:a}),E=(0,I.d)(),D=[p&&"".concat(p,""),g&&"".concat(g,"")].filter(Boolean),[A,R]=(0,r.useState)("".concat(f).concat(b)),W={href:A,target:"_blank","data-event-category":"Service Connection","data-event-action":"Risk Screening Banner Click","data-event-label":A},z=(0,n.BX)(l.x,{className:_(N.root,o),...v,children:[(0,n.tZ)(l.x,{className:N.circle,children:(0,n.tZ)(Circle,{color:P.fn.lighten(t,.23),sx:e=>({width:120,height:120,[e.fn.largerThan("sm")]:{width:240,height:240}})})}),(0,n.BX)(l.x,{className:N.wrapper,children:[(0,n.BX)(l.x,{className:N.inner,children:[(0,n.BX)(l.x,{className:N.header,children:[(0,n.tZ)(l.x,{children:(0,n.tZ)(k.o,{ratio:1,className:N.imgWrapper,children:(0,n.tZ)("img",{src:s||u.C.getAssetPath("stethoscop.png"),alt:c,loading:"lazy",style:{objectFit:"cover",width:"100%",height:"100%"}})})}),c&&(0,n.tZ)(l.x,{sx:e=>({[e.fn.largerThan("sm")]:{".item-title":{display:"-webkit-box","-webkit-line-clamp":"2","-webkit-box-orient":"vertical",overflow:"hidden"}}}),children:(0,n.tZ)("a",{...W,children:(0,n.tZ)(w.H,{tag:"h4",className:"item-title",color:"#fff",children:c})})})]}),m&&(0,n.BX)(d.k,{gap:8,align:"center",className:N.reviewer,children:[(0,n.tZ)(C.A,{src:h,size:32,withIndicator:!0,indicatorConfig:{size:18,label:(0,n.tZ)("img",{src:"".concat(S.Nr,"/reviewer-medical.svg"),loading:"lazy",alt:"badge"}),offset:6},styles:{root:{backgroundColor:"white",borderRadius:"50%"},placeholder:{border:0}}}),(0,n.BX)(l.x,{children:[(0,n.tZ)(i.T,{size:"p4",color:"#fff",as:"div",sx:{".si-review-by-name":{"strong,b":{fontWeight:600},a:{color:"inherit","&:hover":{color:"#2d87f3"}}}},children:(0,n.tZ)(T.U,{children:m})}),D.length>0&&(0,n.tZ)(l.x,{sx:{color:"#fff",fontSize:"12px",lineHeight:"140%","span + span":{" &:before ":{content:'" \xb7 "'}}},children:(0,n.tZ)("div",{dangerouslySetInnerHTML:{__html:D.join("")}})})]})]})]}),(0,n.tZ)(l.x,{className:N.actions,children:(0,n.tZ)(y.B,{component:"a",...W,variant:"white",rightIcon:(0,n.tZ)(Z.Z,{size:16,color:t}),styles:e=>({root:{background:e.fn.lighten(t,.9),"&:hover":{background:"#fff"}}}),"data-event-category":"Service Connection","data-event-action":"Risk Screening Banner Click","data-event-label":A,onClick:()=>window.open(A),children:(0,n.tZ)(i.T,{size:"s4",weight:"semiBold",color:t,children:x({id:"multiRiskEmbed.cta",defaultMessage:"Assess your risk here"})})})})]})]});return(0,r.useEffect)(()=>{R(e=>"".concat(e,"?source_link=").concat(encodeURIComponent(window.location.href)))},[]),E?(0,n.tZ)("a",{href:A,target:"_blank",children:z}):z},MultiRiskScreenerEmbed=e=>{let{sessionProps:t,className:a,classNames:u,styles:f,colorShade:b,applyH1:v,...w}=e,{listSubot:C=[],horizontalDisplay:y}=t,[Z,k]=(0,r.useState)([]),{classes:B,cx:T,theme:I}=x({layout:y&&Z.length>1?"vertical":"horizontal",carouselItemLayout:y?"inline":"group",itemLength:Z.length},{name:"MultiRiskScreenerEmbed",classNames:u,styles:f}),S=["primary","secondary","tertiary","quaternary"],N=(0,r.useMemo)(()=>({defaultItemsPerRow:y?1:2,defaultRowsPerSlide:y?1:2,slideSize:y?"".concat(100/Math.min(Z.length,4),"%"):"100%"}),[y,Z]),fetchListSubot=async()=>{try{let e=await Promise.all(C.map(e=>(0,p.TN)(e.id))),t=e.map((e,t)=>{var a,n,r,o,i,l,s,d;return(null==e?void 0:e._data)&&{bgColor:C[t].backgroundColor,thumbnail:(null==e?void 0:null===(a=e._data)||void 0===a?void 0:a.landing_page_image)||"",title:(null==e?void 0:null===(n=e._data)||void 0===n?void 0:n.landing_page_title)||"",reviewerName:(null==e?void 0:null===(r=e._data)||void 0===r?void 0:r.landing_page_reviewer)||"",reviewerAvatar:(null==e?void 0:null===(o=e._data)||void 0===o?void 0:o.landing_page_avatar)||"",reviewerHospital:(null==e?void 0:null===(i=e._data)||void 0===i?void 0:i.landing_page_hospital_name)||"",reviewerSpecialty:(null==e?void 0:null===(l=e._data)||void 0===l?void 0:l.landing_page_speciality)||"",langdingPageUrlPrefix:(null==e?void 0:null===(s=e._data)||void 0===s?void 0:s.landing_page_url_prefix)||"",landingPageUrlSlug:(null==e?void 0:null===(d=e._data)||void 0===d?void 0:d.landing_page_url_slug)||""}}).filter(e=>""!==e.title);k(t)}catch(e){}};return(0,r.useEffect)(()=>{C.length>0&&fetchListSubot()},[]),Z.length>0?(0,n.tZ)(h.W,{children:(0,n.BX)(l.x,{className:T(B.root,a),...w,children:[(t.title||t.description)&&(0,n.tZ)(l.x,{className:B.info,children:(0,n.BX)(s.K,{className:B.infoInner,children:[t.title&&(0,n.tZ)(i.T,{size:"h2",as:v?"h1":"h2",className:B.title,children:t.title}),t.description&&(0,n.tZ)(l.x,{children:(0,n.tZ)(i.T,{size:"p4",as:"div",children:(0,n.tZ)(l.x,{className:B.editorContent,dangerouslySetInnerHTML:{__html:t.description}})})})]})}),(0,n.tZ)(l.x,{className:B.listing,children:(0,n.tZ)(c.Z,{containScroll:"trimSnaps",className:B.carousel,slideSize:N.slideSize,breakpoints:[{maxWidth:o.B.BREAK_POINT_TABLET,slideSize:"100%"}],slideGap:24,align:"start",withIndicators:!y,styles:e=>({indicators:{position:"static",paddingTop:24,[e.fn.smallerThan("sm")]:{display:"none"}}}),children:(0,n.BX)(s.K,{spacing:24,sx:{...y&&{width:"100%"},position:"relative",".arrow":{position:"absolute",top:"50%",transform:"translate(0, -50%)",border:"1px solid ".concat(I.colors.gray[1]),width:40,height:40,boxShadow:"0px 0px 1px 0px #0000000A,0px 2px 8px 0px #0000000A,0px 10px 16px 0px #0000000A","&.arrow-prev":{left:-64},"&.arrow-next":{right:-64}}},children:[(0,n.tZ)(c.Z.Body,{children:(0,n.tZ)(m.C,{breakpoints:{base:{itemsPerGroup:Z.length,GroupWrapper:e=>(0,n.tZ)(c.Z.Slide,{children:(0,n.tZ)(s.K,{spacing:16,children:e})})},md:{itemsPerGroup:y?1:4,GroupWrapper:e=>(0,n.tZ)(c.Z.Slide,{children:y?e:(0,n.tZ)(d.k,{gap:24,wrap:"wrap",className:"slide-item","data-item":(0,g.b)(e).length,children:e})})}},items:Z.map((e,t)=>(0,n.tZ)(RiskScreenerEmbedItem,{className:B.embedItem,color:e.bgColor||b[S[t%S.length]],...e},String(t))),ItemWrapper:e=>(0,n.tZ)(l.x,{className:B.item,children:e})})}),(0,n.tZ)(c.Z.Control,{className:"arrow arrow-prev",direction:"prev"}),(0,n.tZ)(c.Z.Control,{className:"arrow arrow-next",direction:"next"})]})})})]})}):null}},"2Xpg":function(e,t,a){a.d(t,{m:function(){return Quotations}});var n=a("BGKE"),r=a("KeOA"),o=a("C/sX"),i=a("C2TE"),l=a("hXNO"),s=(0,a("/npG").k)(()=>({root:{},innerClass:{}})),d=a("vODv"),c=a("kZvb");let Quotations=e=>{let{data:t=[],wrapperProps:a,className:h,classNames:m,styles:p,color:g,...u}=e,{theme:f}=s(void 0,{name:"ServiceConnections__Quotations",styles:p,classNames:m}),b=(0,l.d)(),{title:v,description:x}=a;return t.length>0?(0,n.tZ)(c.Z,{layout:"withIcon",...a,...u,bgColor:f.colors.neutral[0],styles:{header:{[f.fn.largerThan("sm")]:{...1===t.length&&(v||x)&&{width:456,flexShrink:0}}},innerClass:{[f.fn.largerThan("sm")]:{...1===t.length&&{flexDirection:"row",gap:32}}}},children:(0,n.tZ)(d.jx,{lengthToCarouselDesktop:2,showFullSlide:!b,percentOfEndSlideMobile:87,carouselSetting:{loop:!1,withIndicators:!1,...b&&{slideGap:0}},children:(0,n.tZ)(d.jx.Slider,{styles:{carouselViewport:{[f.fn.smallerThan("sm")]:{"&:before, &:after":{boxShadow:"none !important"}}},progressRoot:{[f.fn.smallerThan("sm")]:{marginTop:0}},sliderWrapper:{padding:"24px 10px 24px 5px",[f.fn.largerThan("sm")]:{padding:"24px 16px"}}},children:b?t.map((e,t)=>(0,n.tZ)(i.C,{iconColor:g,...e},t)):t.length>3?[...Array(Math.ceil(t.length/6))].map((e,a)=>(0,n.tZ)(r.M,{spacing:24,cols:3,children:t.slice(6*a,6*a+6).map((e,t)=>(0,n.tZ)(i.C,{iconColor:g,...e},t))},a)):(0,n.tZ)(o.r,{gutter:24,grow:!0,children:t.map((e,t)=>(0,n.tZ)(o.r.Col,{span:4,children:(0,n.tZ)(i.C,{iconColor:g,...e})},t))})})})}):null}}}]);