"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9487],{"7G/R":function(e,t,a){a.d(t,{Y:function(){return RiskScreenerEmbed}});var n=a("BGKE"),i=a("q1tI"),r=a("Eso5"),l=a("xjta"),o=a("p46w"),s=a.n(o),d=a("o6HM"),c=a("HdVw"),m=a("JuOI"),h=a("csLd"),p=a("hXNO"),g=a("P5LW"),u=a("rIrU");let RiskScreenerEmbed=e=>{let{data:t,primaryColor:a,onLoad:o,isFullContainer:f,isDisabledAnimationOnMobile:x,handleOnCloseMobile:v,typeoformId:b,...k}=e,{asPath:y,locale:T,query:Z}=(0,g.h)(),{ref:N,height:S}=(0,l.h)(),{state:C}=(0,h.b)(),{selectSubot:w=[],backgroundColor:B}=t,I=(0,p.d)(),E=(0,i.useMemo)(()=>{let e={...Z};return delete e.slug,e},[Z]);return(0,i.useEffect)(()=>{null==o||o(S>0)},[S]),(0,i.useEffect)(()=>{(B||a)&&console.warn("[Warning] Please remove the setting primaryColor and backgroundColor in the CMS. All these fields will be configured in SubotAdmin.")},[]),w.length>0?(0,n.tZ)(r.x,{ref:N,...k,children:(0,n.BX)(m.Z,{children:[(0,n.tZ)(d.a,{}),(0,n.tZ)(c.oh,{id:Number(w[0]),isFullContainer:f,isDisabledAnimationOnMobile:x,onCloseMobile:v,articleLink:y,userInfo:C.userInfo,typeFormProps:b?{id:b||"",params:{ga_client:s().get(u.ch),page_path:y,...E}}:void 0,isMobile:I,locale:T})]})}):null}},"4aBO":function(e,t,a){a.d(t,{B:function(){return RiskScreenerLayout}});var n=a("BGKE"),i=a("8wjV"),r=a("wp0n"),l=a("fdQd"),o=a("Eso5"),s=a("SPK5"),d=a("mYVa"),c=a("RZSM"),m=a("dDsW"),h=a("gHFm"),p=a("hXNO"),g=a("P5LW"),u=a("rIrU"),f=a("tQmg"),x=a("q1tI"),v=a("f8uB"),b=a("vaps"),k=a("ItJP"),y=a("/npG"),T=(0,y.k)((e,t)=>{let{opened:a}=t;return{root:{display:"flex",flexDirection:"column",gap:(0,d.h)(8)},targetBtn:{display:"flex",alignItems:"center",gap:(0,d.h)(8),cursor:"pointer"},dropdown:{display:a?"block":"none"},icon:{},arrowIcon:{},targetText:{},scrollThumb:{backgroundColor:"#D9D9D9"}}});let Disclaimer=e=>{let{heading:t,description:a,maxHeight:i,styles:l,className:s,classNames:d}=e,{formatMessage:c}=(0,m.Z)(),[h,p]=(0,x.useState)(!1),{cx:g,classes:u}=T({opened:h},{name:"ClickableSingleBanner__Disclaimer",styles:l,classNames:d});return(0,n.BX)(o.x,{className:g(u.root,s),children:[(0,n.BX)(o.x,{className:u.targetBtn,onClick:()=>p(e=>!e),children:[(0,n.tZ)(v.Z,{size:18,className:u.icon}),(0,n.tZ)(r.T,{size:"s4",className:u.targetText,children:t||c({id:"clickableSingleBanner.disclaimer.heading"})}),(0,n.tZ)(k.Z,{size:18,className:u.arrowIcon})]}),i?(0,n.tZ)(b.x,{mah:i,scrollbarSize:4,classNames:{thumb:u.scrollThumb},children:(0,n.tZ)(r.T,{size:"p5",className:u.dropdown,children:a||c({id:"clickableSingleBanner.disclaimer.description"})})}):(0,n.tZ)(r.T,{size:"p5",className:u.dropdown,children:a||c({id:"clickableSingleBanner.disclaimer.description"})})]})};var Z=(0,y.k)(e=>({root:{backgroundColor:e.colors.blue[0],paddingTop:(0,d.h)(80),paddingBottom:(0,d.h)(80),[e.fn.smallerThan("sm")]:{paddingTop:(0,d.h)(40),paddingBottom:(0,d.h)(40)}},container:{display:"flex",[e.fn.smallerThan("sm")]:{flexDirection:"column",gap:(0,d.h)(24)},[e.fn.largerThan("sm")]:{gap:(0,d.h)(48),justifyContent:"space-between"}},icon:{width:(0,d.h)(64)},iconWrapper:{flexShrink:0},heading:{},info:{display:"flex",gap:(0,d.h)(16),alignItems:"center",[e.fn.largerThan("sm")]:{flexDirection:"column",gap:(0,d.h)(24),alignItems:"flex-start"}},infoTop:{display:"flex",flexDirection:"column",gap:(0,d.h)(24)},infoCol:{display:"flex",flexDirection:"column",gap:(0,d.h)(24),maxWidth:(0,d.h)(360),justifyContent:"space-between"},imgCol:{[e.fn.largerThan("sm")]:{width:"100%",maxWidth:(0,d.h)(648)}},boxFrame:{borderRadius:(0,d.h)(12),[e.fn.largerThan("sm")]:{borderRadius:(0,d.h)(24)}},boxFrameInner:{borderRadius:"inherit"},imgHref:{display:"block"},img:{borderRadius:"inherit"},ctaBtn:{minWidth:(0,d.h)(180)},disclaimerRoot:{},disclaimerTargetBtn:{},disclaimerDropdown:{},disclaimerIcon:{}}));let RiskScreenerLayout=e=>{let{icon:t,title:a,description:x,disclaimer:v,reviewedBy:b,url:k,ctaTitle:y,ctaFn:T,ctaBtnProps:N,bodyRatio:S=648/486,children:C,styles:w,classNames:B,applyH1:I,...E}=e,D=(0,p.d)(),{locale:F}=(0,g.h)(),{formatMessage:L}=(0,m.Z)(),{classes:z}=Z(void 0,{name:"RiskScreenerLayout",styles:w,classNames:B}),M=k&&y?(0,n.tZ)(o.x,{className:z.ctaBtn,children:(0,n.tZ)(i.B,{fullWidth:!0,variant:"primary",onClick:T,...N,children:y})}):null,R={heading:(null==v?void 0:v.heading)||"",description:(null==v?void 0:v.description)||"",classNames:{root:z.disclaimerRoot,targetBtn:z.disclaimerTargetBtn,dropdown:z.disclaimerDropdown,icon:z.disclaimerIcon}};return(0,n.tZ)(o.x,{className:z.root,styles:w,...E,children:(0,n.BX)(h.W,{className:z.container,children:[(0,n.BX)(o.x,{className:z.infoCol,children:[(0,n.BX)(o.x,{className:z.infoTop,children:[(0,n.BX)(o.x,{className:z.info,children:[t&&(0,n.tZ)(o.x,{className:z.iconWrapper,children:(0,n.tZ)("img",{src:t,alt:a,loading:"lazy",className:z.icon,onError:e=>{e.currentTarget.style.display="none"}})}),a&&(0,n.tZ)(r.T,{size:"h1",as:I?"h1":"h2",className:z.heading,children:a})]}),x&&(0,n.tZ)(r.T,{size:"p3",children:x}),!D&&M,(null==b?void 0:b.reviewer)&&(0,n.BX)(s.k,{gap:12,sx:e=>({alignItems:"center",[e.fn.smallerThan("sm")]:{position:"relative",zIndex:1,alignItems:"flex-start"}}),children:[(0,n.tZ)(o.x,{children:(0,n.tZ)(l.A,{size:32,src:b.avatar,withIndicator:!0,indicatorConfig:{size:18,label:(0,n.tZ)("img",{loading:"lazy",width:"16",src:"".concat(u.Nr,"/reviewer-medical.svg"),alt:""})},styles:{root:{".mantine-Indicator-indicator":{bottom:"7px",right:"5px"},".mantine-Avatar-placeholder":{border:0}}}})}),(0,n.BX)(r.T,{size:D?"p3":"p4",color:"gray.6",as:"div",sx:e=>({lineHeight:"".concat((0,d.h)(24),"!important"),[e.fn.largerThan("sm")]:{div:{display:"inline"}}}),children:[(0,n.BX)("div",{children:[L({id:"articlePage.reviewed.factCheck"},{name:(0,n.BX)("div",{children:[(0,n.tZ)("a",{href:b.link||"#",style:{color:"#262626"},children:b.reviewer}),!D&&b.date&&" • "]})})," "]}),b.date&&(0,n.tZ)("div",{children:(0,f.m)(b.date,F)})]})]})]}),!D&&(null==v?void 0:v.heading)&&(null==v?void 0:v.description)&&(0,n.tZ)(Disclaimer,{maxHeight:90,...R})]}),(0,n.tZ)(o.x,{className:z.imgCol,children:"none"===S?(0,n.tZ)(o.x,{className:z.boxFrame,children:(0,n.tZ)(o.x,{className:z.boxFrameInner,children:C})}):(0,n.tZ)(c.o,{ratio:S,className:z.boxFrame,children:(0,n.tZ)(o.x,{className:z.boxFrameInner,children:C})})}),D&&(null==v?void 0:v.heading)&&(null==v?void 0:v.description)&&(0,n.BX)(n.HY,{children:[M,(0,n.tZ)(Disclaimer,{...R})]})]})})}},iI4N:function(e,t,a){a.d(t,{_:function(){return ScheduleEvent}});var n,i,r=a("BGKE"),l=a("q1tI"),o=a("0TCZ"),s=a("P5LW");(n=i||(i={})).LIVED="lived",n.LIVE="live",n.COMMING_SOON="comming",n.NOT_YET="notyet",n.NEAREST_COMMING="nearest_comming";let d="YYYY-MM-DD HH:mm:ss",c=(0,l.createContext)({});var m=a("hXNO"),h=a("LL/B"),p=a("wp0n"),g=a("R3fp"),u=a("Eso5"),f=a("25AQ"),x=a("Wgwc"),v=a.n(x),b=a("/npG"),k=(0,b.k)(e=>({root:{},body:{overflow:"hidden",paddingLeft:80,paddingTop:40},bodyInner:{display:"flex",flexDirection:"column",gap:40,backgroundColor:"#EDF4FF",borderRadius:24,padding:24,position:"relative","&:before, &:after":{content:'""',position:"absolute",left:42,top:40,bottom:30,width:4,backgroundColor:e.colors.neutral[1],transition:"height .3s ease"}},title:{textTransform:"capitalize",paddingLeft:64},group:{display:"flex",flexDirection:"column",gap:40,position:"relative",zIndex:1},header:{display:"flex",gap:24,alignItems:"center",justifyContent:"space-between"},headerLeft:{display:"flex",gap:24,alignItems:"center"},heading:{textTransform:"capitalize"},icon:{position:"relative",width:40,height:40,borderRadius:"100%",color:"#fff",display:"flex",alignItems:"center",justifyContent:"center",backgroundImage:"linear-gradient(139.59deg, #FFE16B 2.87%, #FFBA0F 58.46%, #FB8908 89.05%)"},cardWrapper:{position:"relative",paddingLeft:64},card:{position:"relative","&:before, &:after":{content:'""',position:"absolute",top:24,left:-51,width:12,height:12,borderRadius:"100%",backgroundImage:"linear-gradient(139.59deg, #FFE16B 2.87%, #FFBA0F 33.47%, #FB8908 89.05%)"}},desc:{position:"sticky",paddingTop:40,paddingBottom:40,top:56,left:0,display:"flex",flexDirection:"column",gap:24,width:256,float:"left"},listing:{display:"flex",flexDirection:"column",gap:40},info:{display:"flex",flexDirection:"column",gap:8},maskcot:{display:"flex",justifyContent:"center",alignItems:"center",borderRadius:"50%",backgroundColor:"#EDF4FF",width:120,height:120,img:{maxWidth:96,maxHeight:96}}})),y=a("RZSM"),T=a("S3OL"),Z=(0,b.k)(e=>({root:{borderRadius:8,border:"1px solid ".concat(e.colors.neutral[1]),boxShadow:e.shadows.sm,backgroundColor:"#fff"},info:{display:"flex",flexDirection:"column",padding:16,gap:12,[e.fn.smallerThan("sm")]:{},[e.fn.largerThan("sm")]:{width:320,flexShrink:0,justifyContent:"space-between",borderTopLeftRadius:"inherit",borderBottomLeftRadius:"inherit"}},topInfo:{display:"flex",flexDirection:"column",gap:8,alignItems:"flex-start"},countdown:{width:"100%",[e.fn.largerThan("sm")]:{order:2}},title:{[e.fn.smallerThan("sm")]:{textAlign:"center"},[e.fn.largerThan("sm")]:{order:1}},thumbFrame:{"&, *, img":{borderRadius:"inherit"}},thumbImg:{borderRadius:"inherit",display:"block"},action:{[e.fn.largerThan("sm")]:{display:"flex",alignItems:"center",justifyContent:"space-between"}}}));let EventCard=e=>{let{startCountdown:t,className:a,classNames:n,styles:i,item:l,...o}=e,{title:s,state:d,bannersDesktop:c,bannersMobile:h}=l,p=(0,m.d)(),{classes:g,cx:f}=Z(void 0,{name:"ScheduleEvent__EventCard",styles:i,classNames:n});return(0,r.tZ)(u.x,{"data-status":d,className:f(a,g.root,"event-card"),...o,children:(0,r.tZ)(y.o,{ratio:p?1:664/206,className:f("thumb-frame",g.thumbFrame),children:(0,r.tZ)(T.R,{src:p?h:c,alt:s||"",loading:"lazy",className:g.thumbImg,fill:!0})})})},DesktopLayout=e=>{let{groupByMothList:t,styles:a,classNames:n,className:i}=e,{maskcot:o,wrapperProps:d}=(0,l.useContext)(c),{locale:m}=(0,s.h)(),{classes:x,cx:b}=k(void 0,{name:"ScheduleEvent__EventList-GroupByStatus--Desktop",styles:a,classNames:n});return(0,r.BX)(u.x,{className:b(i,x.root),children:[(0,r.BX)(u.x,{className:x.desc,children:[(0,r.tZ)(u.x,{className:b(x.maskcot),children:(0,r.tZ)("img",{src:o,alt:"maskcot",loading:"lazy"})}),(0,r.BX)(u.x,{className:x.info,children:[(0,r.tZ)(p.T,{size:"h2",children:d.title}),(0,r.tZ)(p.T,{size:"p3",children:d.description})]})]}),(0,r.tZ)(u.x,{className:x.body,children:(0,r.tZ)(u.x,{className:x.bodyInner,children:t.monthArr.map(e=>{let a=t.listing[e]||[];return(0,r.BX)(u.x,{className:b(x.group),children:[(0,r.tZ)(u.x,{className:x.header,children:(0,r.BX)(u.x,{className:x.headerLeft,children:[(0,r.tZ)(u.x,{className:b(x.icon),children:(0,r.tZ)(g.Z,{size:24,color:"currentColor"})}),(0,r.tZ)(p.T,{size:"h2",as:"h2",className:x.heading,children:(0,f.Z)(new Date(2020,v()(e,"MM-YYYY").month(),1),"MMMM",{locale:h.g[m]})})]})}),(0,r.tZ)(u.x,{className:x.listing,children:a.map((e,t)=>(0,r.tZ)(u.x,{className:b(x.cardWrapper),children:(0,r.tZ)(EventCard,{item:e,className:b(x.card)})},t))})]},e)})})})]})};var N=a("rlLN"),S=(0,b.k)(e=>({root:{display:"flex",flexDirection:"column",gap:24},body:{},bodyInner:{},title:{textTransform:"capitalize",paddingLeft:64},group:{},heading:{textTransform:"capitalize"},card:{},listing:{display:"flex",flexDirection:"column",gap:40},info:{display:"flex",flexDirection:"column",gap:8},calendarImg:{display:"block"},monthGroup:{},monthList:{display:"flex"},monthItem:{flexGrow:1,backgroundColor:e.colors.neutral[0],height:52,borderRadius:0,paddingLeft:4,paddingRight:4,".text":{color:e.colors.neutral[5],textTransform:"capitalize"},"&,&:active":{border:"1px solid ".concat(e.colors.neutral[1]),borderTop:0},"&[data-active]":{"&,&:active":{backgroundColor:"#FFF5DC",borderLeftColor:"#FFE299",borderBottomColor:"#FFE299",borderRightColor:e.colors.neutral[1],".text":{color:"#262626"}}}}})),C=a("nGnw");function hasCommingCountdown(e){if(!e||!e.countdownStart)return!1;let t=v()(e.countdownStart,d).toDate();return e.state===i.NOT_YET&&v()().isAfter(t)}var w=a("raAP"),B=a("SjA+"),I=a("TYy9"),E=a.n(I);let MobileLayout=e=>{let{groupByMothList:t,styles:a,classNames:n,className:i}=e,{wrapperProps:o}=(0,l.useContext)(c),{locale:d}=(0,s.h)(),{classes:m,cx:g}=S(void 0,{name:"ScheduleEvent__EventList-GroupByStatus--Desktop",styles:a,classNames:n}),[x,b]=(0,l.useState)(t.monthArr[0]),[k,y]=(0,l.useState)(null),T=(0,w.U)(),Z=(0,l.useMemo)(()=>{let e=t.monthArr.slice(0,3),a=0,n={},i=E()(e.map((e,i)=>{n[e]=i+a;let r=t.listing[e]||[];return a=a+r.length-1,r}));return{monthList:e,listing:i,indexOfMonth:n}},[t]);return console.log({formatedList:Z}),(0,r.BX)(u.x,{className:g(i,m.root),children:[(0,r.BX)(u.x,{className:m.info,children:[(0,r.tZ)(p.T,{size:"h2",children:o.title}),(0,r.tZ)(p.T,{size:"p3",children:o.description})]}),(0,r.tZ)(u.x,{className:m.body,children:(0,r.tZ)(u.x,{className:m.bodyInner,children:(0,r.BX)(N.m,{classNames:{tab:m.monthItem},value:x,keepMounted:!0,onTabChange:e=>{b(e),e&&(null==k||k.scrollTo(Z.indexOfMonth[e])),e&&console.log({v:e,index:Z.indexOfMonth[e]})},styles:{root:{position:"relative",display:"flex",flexDirection:"column",gap:24},tabsList:{borderBottom:0},tab:{"&[data-active],&:focus":{borderColor:"transparent",outline:0}},panel:{display:"block !important",transition:"opacity 0.2s ease","&.inactive":{position:"absolute",top:0,left:0,right:0,opacity:0,zIndex:0},"&.active":{position:"relative",zIndex:1}}},children:[(0,r.tZ)(N.m.List,{children:(0,r.BX)(u.x,{className:m.monthGroup,children:[(0,r.tZ)("img",{src:C.C.getAssetPath("tiki/calendar-bar.png"),className:m.calendarImg,alt:"calendar",loading:"lazy"}),(0,r.tZ)(u.x,{className:m.monthList,children:Z.monthList.map((e,t)=>{let a=(0,f.Z)(new Date(2020,v()(e,"MM-YYYY").month(),1),"MMMM",{locale:h.g[d]});return(0,r.tZ)(N.m.Tab,{value:e,className:g(Number(e)===Number(v()().format("MM"))?"active":"",m.monthItem),"data-event-category":"Service Connection","data-event-action":"Livestream Schedule - ".concat(a),"data-event-label":T,children:(0,r.tZ)(p.T,{size:"s1",className:"text",children:a})},t)})})]})}),(0,r.tZ)(u.x,{sx:{position:"relative"},children:(0,r.BX)(u.x,{className:g(m.group),children:[(0,r.tZ)(B.Y,{percentOfEndSlideMobile:85,onSlideChange:e=>{var t;return b((null===(t=Z.listing[e])||void 0===t?void 0:t.monthKey)||null)},carouselSetting:{getEmblaApi:y},children:(0,r.tZ)(B.Y.Slider,{styles:()=>({progressRoot:{display:"none"}}),children:Z.listing.map((e,t)=>(0,r.tZ)(EventCard,{item:e,classNames:{root:m.card}},t))})}),(0,r.tZ)(u.x,{className:m.listing})]})})]})})})]})},GroupByStatus=e=>{let{listEvent:t=[],...a}=e,n=(0,m.d)(),i=(0,l.useMemo)(()=>{let e=function(e){let t={};return e.map(e=>{let a=v()(e.startDate,d).format("MM-YYYY"),n={...e,monthKey:a};if(Object.keys(t).includes(a)){let e=t[a]||[];t[a]=[...e,n]}else t[a]=[n]}),t}(t);return{listing:e,monthArr:Object.keys(e),monthLength:Object.keys(e).length}},[t]);return n?(0,r.tZ)(MobileLayout,{groupByMothList:i,...a}):(0,r.tZ)(DesktopLayout,{groupByMothList:i,...a})};var D=(0,b.k)(e=>({root:{[e.fn.largerThan("sm")]:{paddingTop:0}}})),F=a("kZvb");let EventList=e=>{let{className:t,classNames:a,styles:n}=e,{listEvent:o=[],wrapperProps:s}=(0,l.useContext)(c),{classes:d,cx:m}=D(void 0,{name:"ScheduleEvent__EventList",styles:n,classNames:a}),h=(0,l.useMemo)(()=>o.filter(e=>e.state===i.NOT_YET),[o]);return h.length>0?(0,r.tZ)(F.Z,{className:m(t,d.root),...s,title:"",description:"",children:(0,r.tZ)(GroupByStatus,{listEvent:h})}):null};var L=a("8wjV"),z=a("SPK5"),M=a("dDsW"),R=a("eDIe"),W=a("5SlL"),A=a("nYOs"),X=a("UcrG"),_=a("rIrU"),H=(0,b.k)(e=>({thumbFrame:{cursor:"pointer",[e.fn.smallerThan("sm")]:{width:"100%"},flexGrow:1,"&, img":{borderRadius:8}},img:{display:"block"}}));let Banner=e=>{let{event:t,status:a,handleOnClick:n,...i}=e,l=(0,m.d)(),{classes:o}=H(void 0,{name:"ScheduleEvent__UpcommingBanner__Banner"});return(0,r.tZ)(u.x,{component:"a",href:"live"===a?t.ctaUrl:"#",target:"_blank",className:o.thumbFrame,...i,onClick:e=>{e.preventDefault(),n(t,a)},children:(0,r.tZ)(y.o,{ratio:l?1:3.25,children:(0,r.tZ)(T.R,{alt:t.title||"",src:l?t.bannersMobile:t.bannersDesktop,loading:"lazy",className:o.img,fill:!0})})})};var Y=a("mYVa");let G={fontSize:40,fontWeight:750,color:"#fff",textShadow:"rgb(43, 191, 255) 0px 0px 0px, 0.5px 1px 2px #663C1D"};var O=(0,b.k)((e,t)=>{let{isLiveEvent:a,isEndLive:n}=t;return{root:{display:"flex",gap:40,alignItems:"center",[e.fn.smallerThan("sm")]:{flexDirection:"column",justifyContent:"center",gap:16}},heading:{fontSize:24,lineHeight:(0,Y.h)(32),fontWeight:700,textAlign:"center",marginBottom:8,color:e.colors.gray[7],[e.fn.largerThan("sm")]:{fontSize:26,lineHeight:(0,Y.h)(36)}},info:{display:"flex",flexDirection:"column",justifyContent:"center",gap:24,[e.fn.largerThan("sm")]:{width:360},[e.fn.smallerThan("sm")]:{width:"100%"}},topInfo:{display:"flex",flexDirection:"column",justifyContent:"center"},thumbFrame:{cursor:"pointer",[e.fn.smallerThan("sm")]:{width:"100%"},flexGrow:1,"&, img":{borderRadius:8}},statusBar:{display:"flex",alignItems:"center",backgroundImage:n?"linear-gradient(139.59deg, #BFC5CC 2.87%, #87909C 89.05%)":a?"linear-gradient(271.93deg, #E64728 25.89%, #FC8A09 131.8%)":"linear-gradient(139.59deg, #FFE16B 2.87%, #FFBA0F 58.46%, #FB8908 89.05%)",justifyContent:"center",height:76,marginTop:-10,borderRadius:12},liveBar:{display:"flex",alignItems:"center",gap:16},liveText:{color:"#fff",textTransform:"uppercase",fontSize:24,fontWeight:700,textShadow:"rgb(43, 191, 255) 0px 0px 0px, 0.5px 1px 2px #663C1D",[e.fn.largerThan("sm")]:{fontSize:32}},timer:{background:"transparent"},timerItem:{background:"transparent",width:50,height:"auto"},timerText:{...G},timerDivider:{...G,padding:"0 5px",marginTop:-5},timerUnit:{textTransform:"uppercase",fontSize:(0,Y.h)(12),color:"#fff",fontWeight:700},announceText:{color:"#fff",fontWeight:800,fontSize:18,textTransform:"uppercase"},action:{display:"flex",justifyContent:"center",[e.fn.smallerThan("sm")]:{display:"none"}},btn:{backgroundColor:"#FB8908 !important",height:48,[e.fn.smallerThan("sm")]:{fontSize:14,paddingLeft:0,paddingRight:0,textAlign:"center"}},sticky:{position:"fixed",bottom:0,left:0,right:0,zIndex:3,backgroundColor:"rgba(255,255,255,0.95)",backdropFilter:"blur(8px)",padding:16,display:"flex",gap:8,".action-btn":{width:"100%"}},share:{width:48,flexShrink:0}}});let P=["lived","about-lived"],HighlightEvent=e=>{var t,n;let{className:o,styles:p,classNames:g}=e,{locale:x}=(0,s.h)(),{formatMessage:b}=(0,M.Z)(),{applyH1:k,listEvent:T,openLeadModal:Z,setCampaign:N,setHighlightEvent:S}=(0,l.useContext)(c),B=(0,m.d)(),I=(0,w.U)(),[E,D]=(0,l.useState)(null),H=(0,l.useMemo)(()=>T.filter(e=>e.state===i.LIVE||e.state===i.NOT_YET),[]),[Y,G]=(0,l.useState)((()=>{let e=null==H?void 0:H[0];return{event:e,isLive:(null==e?void 0:e.state)===i.LIVE,isComming:(null==e?void 0:e.state)===i.NOT_YET,hasCountdownNow:hasCommingCountdown(e)}})()),[V,j]=(0,l.useState)(Y.isLive?"live":Y.isComming&&Y.hasCountdownNow?"commingWithCountDown":Y.isComming?"comming":"lived"),{classes:K,cx:U}=O({isLiveEvent:"live"===V,isEndLive:P.includes(V)},{name:"ScheduleEvent__HighlightEvent",styles:p,classNames:g});(0,l.useEffect)(()=>{Promise.all([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.t.bind(a,"S4a3",19)).then(e=>{D(e.default)})},[]);let q=(0,l.useCallback)((e,t)=>{"live"===t||"lived"===t?e.ctaUrl&&window.open(e.ctaUrl):Z()},[]),Q=(0,l.useMemo)(()=>{var e,t;return(0,r.tZ)(L.B,{size:"lg",variant:"primary",className:"action-btn",classNames:{root:K.btn},rightIcon:(0,r.tZ)(W.Z,{size:18,color:"#FB8908"}),"data-event-category":"Service Connection","data-event-action":"live"===V?"Watch Livestream Button":"Leadgen Livestream Button","data-event-label":I,onClick:()=>q(Y.event,V),children:b({id:"live"===V||"lived"===V?(null===(e=Y.event)||void 0===e?void 0:e.ctaTitle)||"common.clickToPlay":(null===(t=Y.event)||void 0===t?void 0:t.leadgenCampaign.ctaTitle)||"common.registerToPlayNow"})})},[V]);return((0,l.useEffect)(()=>{(Y.isLive||Y.isComming)&&S(Y.event)},[]),(0,l.useEffect)(()=>{if("comming"===V||"commingWithCountDown"===V)fetch(_.ENV.NEXT_PUBLIC_LEAD_API+"api/campaign/"+String(_.CX[x].SITE_ID||1),{method:"POST",headers:{"Content-Type":"application/json"}}).then(e=>e.json()).then(e=>{var t;N(((null===(t=e._data)||void 0===t?void 0:t.campaigns)||[]).find(e=>e.code===Y.event.leadgenCampaign.code))});else if("about-lived"===V){let e=function(e,t){let a=t.findIndex(t=>t.id===e.id);return t[a]}(Y.event,T);e?(j(hasCommingCountdown(e)?"commingWithCountDown":"comming"),G({event:e,isLive:e.state===i.LIVE,isComming:e.state===i.NOT_YET,hasCountdownNow:hasCommingCountdown(e)})):j("lived")}},[V]),Y.event)?(0,r.BX)(r.HY,{children:[(0,r.tZ)(F.Z,{title:"",description:"",styles:e=>({root:{background:P.includes(V)?e.colors.neutral[0]:"#FFFAED",[e.fn.smallerThan("sm")]:{paddingTop:24}}}),children:(0,r.BX)(u.x,{className:U(o,K.root),children:[(0,r.BX)(u.x,{className:K.info,children:[(0,r.BX)(u.x,{className:K.topInfo,children:[("commingWithCountDown"===V||"comming"===V)&&(0,r.tZ)(u.x,{component:k?"h1":"div",className:K.heading,children:"Đ\xf3n xem livestream"}),(0,r.BX)(y.o,{ratio:512/68,children:[(0,r.tZ)("img",{src:C.C.getAssetPath("tiki/annouce-bar.png"),alt:Y.event.title,loading:"lazy"}),(0,r.tZ)(z.k,{align:"center",justify:"center",sx:{paddingBottom:8},children:(0,r.tZ)(u.x,{className:K.announceText,children:(0,f.Z)(v()(null===(t=Y.event)||void 0===t?void 0:t.startDate,"YYYY-MM-DD HH:mm").toDate(),"eeee, dd.MM.yyyy",{locale:h.g[x]})})})]}),(0,r.tZ)(u.x,{className:K.statusBar,sx:{position:"relative"},children:"comming"===V?(0,r.BX)(r.HY,{children:[(0,r.tZ)(u.x,{className:K.liveBar,children:(0,r.tZ)(u.x,{className:K.liveText,children:b({id:"common.livestreamIsComming"})})}),(0,r.tZ)(X.W,{endDate:v()(Y.event.countdownStart||Y.event.startDate,d).toDate(),onEnd:()=>{j(Y.event.countdownStart?"commingWithCountDown":"live"),S(Y.event)},styles:{root:{display:"none"}}})]}):"commingWithCountDown"===V?(0,r.tZ)(X.W,{hasUnit:!0,endDate:v()(null===(n=Y.event)||void 0===n?void 0:n.startDate,d).toDate(),classNames:{root:K.timer,item:K.timerItem,divider:K.timerDivider,text:K.timerText,unit:K.timerUnit},onEnd:()=>j("live"),styles:{root:{height:62},heading:{display:"none"}}}):"live"===V?(0,r.BX)(r.HY,{children:[(0,r.BX)(u.x,{className:K.liveBar,children:[E&&(0,r.tZ)(A.Z,{animationData:E,style:{width:24,height:24},loop:!0}),(0,r.tZ)(u.x,{className:K.liveText,children:b({id:"common.livestreamIsLive"})})]}),(0,r.tZ)(X.W,{endDate:v()(Y.event.endDate,d).toDate(),onEnd:()=>j("about-lived"),styles:{root:{display:"none"}}})]}):"lived"===V?(0,r.tZ)(r.HY,{children:(0,r.tZ)(u.x,{className:K.liveBar,children:(0,r.tZ)(u.x,{className:K.liveText,children:b({id:"common.ended"})})})}):null})]}),(0,r.tZ)(u.x,{className:K.action,children:Q})]}),(0,r.tZ)(Banner,{status:V,event:Y.event,handleOnClick:q,"data-event-category":"Service Connection","data-event-action":Y.isLive?"Watch Livestream Banner":"Leadgen Livestream Banner","data-event-label":I})]})}),B&&(0,r.BX)(u.x,{className:K.sticky,children:[(0,r.tZ)(L.B,{size:"lg",variant:"tertiary",leftIcon:(0,r.tZ)(R.Z,{size:18,isOutline:!0}),className:K.share,"data-event-category":"Service Connection","data-event-action":"Share Livestream Button","data-event-label":I,onClick:()=>{var e;return navigator.share({url:I,title:"Đ\xf3n xem livestream ".concat(v()(null===(e=Y.event)||void 0===e?void 0:e.startDate,"YYYY-MM-DD HH:mm").format("DD.MM.YYYY"))})}}),Q]})]}):null};var V=a("k8Y/"),j=a.n(V),K=a("OB5W"),U=a("HC7W"),q=(0,b.k)(e=>({leadWrapper:{[e.fn.smallerThan("sm")]:{padding:0},[e.fn.largerThan("sm")]:{padding:"60px 0",backgroundImage:"linear-gradient(139.59deg, #182EF3 2.87%, #021575 89.05%)",position:"relative","&:before,&:after":{content:'""',position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:0,backgroundRepeat:"no-repeat",backgroundPosition:"top"},"&:before":{backgroundImage:"url(".concat(C.C.getAssetPath("tiki/top-bg.png"),")"),backgroundSize:"contain"},"&:after":{backgroundImage:"url(".concat(C.C.getAssetPath("tiki/icon-bg.png"),")"),backgroundSize:"95%"}},".mantine-LeadgenWithBanner-root":{position:"relative",zIndex:1}},leadRoot:{backgroundColor:"#fff !important",[e.fn.largerThan("sm")]:{paddingBottom:0,backgroundColor:"transparent !important"}},leadModalRoot:{ref:(0,U.A)("leadModalRoot"),".form-wrapper":{},".action-list":{display:"flex",justifyContent:"flex-end"},".banner-img":{[e.fn.largerThan("sm")]:{maxHeight:600}},".banner-wrapper,.form-wrapper":{flex:"none"},".mantine-Form-container":{justifyContent:"space-evenly"}},leadModalWrapper:{".banner-img":{maxHeight:500,maxWidth:450},".mantine-Form-container":{height:560},".mantine-Form-formFrame":{maxWidth:416},".mantine-Form-formSubmitBtnWrapper":{},".mantine-SuccessBox-description":{textAlign:"left"},".mantine-SuccessBox-img":{height:120}},leadInlineRoot:{backgroundColor:"#fff !important",[e.fn.smallerThan("sm")]:{padding:"0 !important",".banner-wrapper":{marginLeft:-16,marginRight:-16}},[e.fn.largerThan("sm")]:{backgroundColor:"transparent !important",padding:0},".banner-wrapper,.form-wrapper":{flex:"none"},".action-list":{display:"flex",justifyContent:"flex-end"},".banner-img":{[e.fn.largerThan("sm")]:{}},".mantine-SuccessBox-description":{textAlign:"left"}},leadFormFrame:{[e.fn.smallerThan("sm")]:{background:"#fff",padding:0,paddingBottom:16},[e.fn.largerThan("sm")]:{maxWidth:456}}})),Q=(0,b.k)(e=>({root:{padding:60,[e.fn.smallerThan("sm")]:{padding:0}},wrapper:{display:"flex",flexDirection:"column",alignItems:"center",gap:24,position:"relative",padding:"0 0 24px 0",[e.fn.largerThan("sm")]:{padding:"0 80px",backgroundImage:"linear-gradient(90deg, rgba(180, 214, 249, 0) 0%, rgba(180, 214, 249, 0.25) 50.5%, rgba(180, 214, 249, 0) 100%)"}},border:{[e.fn.smallerThan("sm")]:{display:"none"},[e.fn.largerThan("sm")]:{position:"relative",width:"100%","&:before":{content:'""',position:"absolute",left:0,right:0,height:2,top:1,backgroundImage:"linear-gradient(90deg, rgba(32, 202, 255, 0) 0%, #20CAFF 54.74%, rgba(32, 202, 255, 0) 110.59%)"},"&:after":{content:'""',height:4,width:"100%",filter:"blur(8px)",display:"block",backgroundImage:"linear-gradient(90deg, rgba(32, 202, 255, 0) 0%, #20CAFF 54.74%, rgba(32, 202, 255, 0) 110.59%)"}}},ruleBoxTitle:{color:"#fff"},header:{textAlign:"center",padding:"12px 24px",boxShadow:"2px 4px 8px 0px #031676",borderRadius:24,position:"relative",backgroundImage:"linear-gradient(162.6deg, #20CAFF -3.27%, #4297FC 113.89%)","&:before":{content:'""',position:"absolute",borderRadius:"inherit",top:1,left:1,right:1,bottom:1,zIndex:0,backgroundColor:"#0C2498"}},heading:{position:"relative",fontSize:32,lineHeight:"40px",textTransform:"uppercase",color:"#fff",backgroundImage:"linear-gradient(350.43deg, #FFE16B -30.23%, #FFFFFF 90.17%)",backgroundClip:"text","-webkit-text-fill-color":"transparent",textShadow:"1px 2px 4px 0px #000622"},listing:{display:"flex",[e.fn.smallerThan("sm")]:{flexDirection:"column",gap:16},[e.fn.largerThan("sm")]:{gap:80}},item:{display:"flex",flexDirection:"column",gap:8,position:"relative",color:"#fff",p:{margin:"10px 0"},[e.fn.smallerThan("sm")]:{paddingLeft:24,"&:before":{content:'""',position:"absolute",top:18,left:0,width:8,height:8,borderRadius:"50%",backgroundImage:"linear-gradient(139.59deg, #FFE16B 2.87%, #FFBA0F 58.46%, #FB8908 89.05%)"}},[e.fn.largerThan("sm")]:{"&:before":{content:'""',position:"absolute",top:"50%",transform:"translate(0, -50%)",left:-40,height:"50%",maxHeight:80,width:1,background:e.colors.neutral[1]},"&:first-child":{"&:before":{content:"none"}}}},bannerWrapper:{[e.fn.smallerThan("sm")]:{margin:"0 -10px 0 -16px"},[e.fn.largerThan("sm")]:{display:"none"}},banner:{display:"block"}}));let GameRules=e=>{let{className:t,classNames:a,styles:n,...i}=e,{wrapperProps:o}=(0,l.useContext)(c),{classes:s}=Q(void 0,{name:"ScheduleEvent__GameRules",styles:n,classNames:a});return(0,r.tZ)(F.Z.Wrapper,{className:t,classNames:{root:s.root},...o,children:(0,r.BX)(u.x,{className:s.wrapper,...i,children:[(0,r.tZ)(u.x,{className:s.border}),(0,r.tZ)(u.x,{className:s.bannerWrapper,children:(0,r.tZ)("img",{src:C.C.getAssetPath("tiki/game-rules.png"),loading:"lazy",className:s.banner,alt:"THỂ LỆ MINI GAME"})}),(0,r.tZ)(u.x,{className:s.header,children:(0,r.tZ)("h3",{className:s.heading,children:"THỂ LỆ MINIGAME"})}),(0,r.BX)(u.x,{className:s.listing,children:[(0,r.tZ)(p.T,{size:"p3",className:s.item,as:"div",children:(0,r.tZ)("div",{dangerouslySetInnerHTML:{__html:"

200 bạn may mắn đăng k\xfd đầu ti\xean sẽ được nhận m\xe3 Coupon th\xf4ng qua tin nhắn của HelloBACSI.

Ngo\xe0i ra, HelloBACSI sẽ gửi tin nhắn SMS nhắc nhở k\xe8m đường dẫn xem livestream 15 ph\xfat trước khi chương tr\xecnh bắt đầu cho c\xe1c bạn đăng k\xfd th\xe0nh c\xf4ng.

"}})}),(0,r.tZ)(p.T,{size:"p3",className:s.item,as:"div",children:(0,r.tZ)("div",{dangerouslySetInnerHTML:{__html:"

Trị gi\xe1 coupon: Giảm 50% tối đa 100K \xe1p dụng cho to\xe0n bộ sản phẩm tại Tiki.vn. Mỗi bạn c\xf3 1 m\xe3 ri\xeang, 1 số điện thoại chỉ nhận được 1 m\xe3 duy nhất.

\n

Thời hạn sử dụng coupon: 01.11.2024 - 14.11.2024.

"}})})]}),(0,r.tZ)(u.x,{className:s.border})]})})};var J=(0,l.forwardRef)((e,t)=>{let{campaign:a,event:n,styles:i,classNames:l}=e,{classes:o,theme:s}=q(void 0,{name:"ScheduleEvent___LeadgenSection",styles:i,classNames:l}),d={isSkippable:!0,campaignCode:a.code,banner:{desktop:(null==n?void 0:n.leadgenCampaign.bannerDesktop)||"",mobile:(null==n?void 0:n.leadgenCampaign.bannerMobile)||""},thankYouMessage:(()=>{var e,t,n,i,r;let l=JSON.parse((null===(e=a.extra_fields)||void 0===e?void 0:e.listBlockThankyou)||null);return{title:(null==l?void 0:null===(n=l.find(e=>"TitleBlock"==e.name))||void 0===n?void 0:null===(t=n.data)||void 0===t?void 0:t.value)||"",description:(null==l?void 0:null===(r=l.find(e=>"SubtitleBlock"==e.name))||void 0===r?void 0:null===(i=r.data)||void 0===i?void 0:i.value)||""}})(),campaigns:a};return(0,r.BX)(r.HY,{children:[n.leadgenCampaign.enableLeadgenInline&&(0,r.BX)(u.x,{className:o.leadWrapper,children:[(0,r.tZ)(K.Z,{classNames:{root:o.leadInlineRoot,formFrame:o.leadFormFrame},scrollable:!0,data:d}),(0,r.tZ)(GameRules,{styles:{root:{[s.fn.smallerThan("sm")]:{backgroundImage:"linear-gradient(139.59deg, #2338F7 2.87%, #021575 89.05%)"},[s.fn.largerThan("sm")]:{paddingBottom:0}}}})]}),(0,r.tZ)(K.Z,{isModal:!0,scrollable:!0,desktopModalType:"normal",mobileModalType:"drawer",ref:t,classNames:{root:o.leadModalRoot,formFrame:o.leadFormFrame,wrapper:o.leadModalWrapper},data:d})]})});let ScheduleEvent=e=>{let{locale:t}=(0,s.h)(),{listEvent:a,wrapperProps:n}=e,m=(0,l.useMemo)(()=>{let e=a.map(e=>({...e,timestamp:v()(e.startDate,d).unix()}));return j()(e,["timestamp"],["asc"])},[a]),[p,g]=(0,o.n)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return e.map((e,a)=>{var n,r;let l=(n=v()(e.startDate,d).toDate(),r=v()(e.endDate,d).toDate(),v()().isAfter(r)?i.LIVED:v()().isBetween(n,r)?i.LIVE:i.NOT_YET),o={...e,state:l,title:(0,f.Z)(v()(e.startDate,d).toDate(),"HH:mm - eeee, dd.MM.YYY",{locale:h.g[t]}),episode:a+1};return o})}(m,t)),[u,x]=(0,l.useState)(),[b,k]=(0,l.useState)(null),y=(0,l.useRef)(),T=(0,l.useCallback)(()=>{var e;null==y||null===(e=y.current)||void 0===e||e.openModal()},[]),Z=(0,l.useCallback)(e=>{let t=a.findIndex(t=>t.id===e.id);t>-1&&g.setItemProp(t,"state",i.LIVED)},[p]),N=(0,l.useCallback)(e=>{let t=a.findIndex(t=>t.id===e.id);t>-1&&g.setItemProp(t,"state",i.LIVE)},[p]);return(0,l.useEffect)(()=>{setTimeout(()=>T(),1e3)},[]),(0,l.useEffect)(()=>{g.filter(e=>e.id!==(null==b?void 0:b.id)),x(null)},[b]),(0,r.BX)(c.Provider,{value:{...e,listEvent:p,wrapperProps:n,changeToLivedEvent:Z,changeToLiveEvent:N,openLeadModal:T,campaign:u,setCampaign:x,highlightEvent:b,setHighlightEvent:k},children:[(0,r.tZ)(HighlightEvent,{}),(0,r.tZ)(EventList,{}),u&&b&&(0,r.tZ)(J,{ref:y,event:b,campaign:u})]})}},kZvb:function(e,t,a){a.d(t,{Z:function(){return u}});var n=a("BGKE"),i=a("wp0n"),r=a("Eso5"),l=a("RZSM"),o=a("SPK5"),s=a("hXNO"),d=a("/npG"),c=(0,d.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:a,description:d,icon:m,layout:h="normal",children:p,className:g,styles:u,classNames:f,...x}=e,v=(0,s.d)(),{classes:b,cx:k,theme:y}=c(void 0,{name:"ServiceConnections__SectionWrapper",styles:u,classNames:f});return"normal"===h?(0,n.BX)(r.x,{className:k(g,b.root,"normal-style","header"),...x,children:[t&&(0,n.tZ)(i.T,{size:"h1",as:a||"h2",className:"heading-title title",children:t}),d&&(0,n.tZ)(i.T,{size:"s3",className:"description",children:d}),p]}):"withIcon"===h?(0,n.BX)(r.x,{className:k(g,b.root,"with-icon-style"),...x,children:[(0,n.BX)(r.x,{className:"inner",children:[m&&(0,n.tZ)(r.x,{className:"icon",children:(0,n.tZ)(l.o,{ratio:1,sx:{width:40,[y.fn.largerThan("sm")]:{width:80}},children:(0,n.tZ)(o.k,{justify:"center",align:"center",className:"icon-wrapper",children:(0,n.tZ)("img",{src:m,alt:t,loading:"lazy"})})})}),(t||d)&&(0,n.BX)(r.x,{className:"info ".concat(d?"":"no-desc"),children:[t&&(0,n.tZ)(i.T,{size:"h3",as:a||"h2",className:"heading-title title",children:t}),!v&&d&&(0,n.tZ)(i.T,{size:"p3",className:"desc desc-desktop",children:d})]})]}),v&&d&&(0,n.tZ)(i.T,{size:"p3",className:"desc desc-mobile",children:d})]}):null};var m=(0,d.k)(()=>({root:{},header:{},innerClass:{}})),h=a("OAL+"),p=(0,d.k)((e,t)=>{let{hasColor:a,bgColor:n,noPadding:i}=t;return{root:{backgroundColor:n,...!i&&{paddingTop:a?80:40,paddingBottom:a?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"}}}}}),g=a("q1tI");let Wrapper=e=>{let{title:t,titleAs:a,description:i,icon:l,children:o,bgColor:s,className:d,classNames:c,layout:m,styles:u,innerClass:f="hhg-page-container",noPadding:x,defaultColor:v="transparent",...b}=e,k=(0,g.useMemo)(()=>s||v,[]),y=0===["","#fff","#fff","transparent"].filter(e=>e===k.toLowerCase()).length,{classes:T,cx:Z}=p({bgColor:k,noPadding:x,hasColor:y},{name:"ServiceConnections__SectionWrapper-Wrapper",styles:u,classNames:c});return(0,n.tZ)(r.x,{className:Z(T.root,d),"data-has-color":y,...y&&{"data-color":k},...b,children:(0,n.tZ)(h.K,{className:Z(f,T.innerClass),children:o})})},SectionWrapper=e=>{let{title:t,titleAs:a,description:i,icon:r,children:l,layout:o="normal",innerClass:s,styles:d,className:c,classNames:h,applyH1:p,...g}=e,{classes:u,cx:f}=m(void 0,{name:"ServiceConnections__SectionWrapper",styles:d,classNames:h});return(0,n.BX)(Wrapper,{classNames:{root:f(c,"section-wrapper",u.root),innerClass:u.innerClass},...g,children:[(t||i)&&(0,n.tZ)(Header,{className:u.header,title:t,description:i,icon:r,titleAs:a||(p?"h1":void 0),layout:o}),l||l]})};SectionWrapper.Header=Header,SectionWrapper.Wrapper=Wrapper;var u=SectionWrapper},"62e8":function(e,t,a){a.d(t,{e:function(){return ShortReelList}});var n=a("BGKE"),i=a("q1tI"),r=a("nGnw"),l=a("wp0n"),o=a("Eso5"),s=a("OAL+"),d=a("mYVa"),c=a("RZSM"),m=a("09QT"),h=a("oQBk"),p=a("gHFm"),g=a("S3OL"),u=a("KX2h"),f=a("raAP"),x=a("hXNO"),v=(0,a("/npG").k)((e,t)=>{let{hasSlider:a}=t;return{root:{position:"relative",backgroundImage:"linear-gradient(162.45deg, #DDF0FF 2.18%, #80BDFF 99.05%)",[e.fn.smallerThan("sm")]:{padding:"".concat((0,d.h)(24)," 0")},[e.fn.largerThan("sm")]:{"&:before":{content:'""',position:"absolute",top:0,left:0,right:0,bottom:0,backgroundImage:"url(".concat(r.C.getAssetPath("tiki/circle-patter.png"),")"),backgroundSize:"contain",backgroundRepeat:"no-repeat"}}},container:{},heading:{},body:{display:"flex",alignItems:"center",...!a&&{justifyContent:"center"},[e.fn.smallerThan("sm")]:{flexDirection:"column"},[e.fn.largerThan("sm")]:{gap:a?24:80}},listing:{position:"relative",...a&&{width:"100%"},[e.fn.smallerThan("sm")]:{width:"100%"},".arrow":{width:40,height:40},".arrow-next":{right:-60},".arrow-prev":{left:-60}},thumbnail:{position:"relative",[e.fn.largerThan("sm")]:{width:456,minHeight:585,flexShrink:0}},item:{display:"block",transition:"all .3s ease","&, & *":{borderRadius:8},[e.fn.largerThan("sm")]:{...!a&&{width:240},"&:hover":{".item-title":{transform:"translateY(-10px)"},".item-overlay-wrapper":{backgroundColor:"rgba(0,0,0,0.4)"}}}},itemThumbImg:{},itemThumb:{},overlayWrapper:{transition:"all .3s ease"},overlay:{position:"absolute",left:0,bottom:0,right:0,backgroundImage:"linear-gradient(180deg, rgba(17, 17, 17, 0) 0%, #111111 100%)",minHeight:96,padding:"16px 12px",display:"flex",alignItems:"flex-end"},title:{transition:"all .3s ease"}}}),b=a("vODv");let ShortReelList=e=>{let{sessionProps:t,styles:a,...k}=e,y=(0,x.d)(),[T,Z]=(0,i.useState)([]),N=(0,i.useMemo)(()=>T.length>2,[T]),{classes:S,cx:C}=v({hasSlider:N},{name:"ShortReelList",styles:a}),{title:w,videoList:B=[]}=t,I=(0,f.U)(),[E,D]=(0,i.useState)(!1),F=(0,i.useCallback)(async()=>{try{D(!0);let e=await Promise.all(B.map(e=>(0,m.d)(h.y.TOGETHER.FETCH_PREVIEW,{method:"POST",data:{link:e.urlVideo}},"together")));D(!1);let t=e.map((e,t)=>(null==e?void 0:e.data)&&{...e.data,url:B[t].urlVideo,title:B[t].videoTitle||e.title}).filter(Boolean);t.length>0&&Z(t)}catch(e){console.log(e),D(!1)}},[]);return(0,i.useEffect)(()=>{B.length>0&&F()},[]),B.length>0?(0,n.tZ)(o.x,{className:S.root,...k,children:(0,n.tZ)(p.W,{className:S.container,children:(0,n.BX)(s.K,{spacing:(0,d.h)(40),sx:e=>({gap:(0,d.h)(24),[e.fn.largerThan("sm")]:{gap:(0,d.h)(40)}}),children:[w&&(0,n.tZ)(l.T,{size:"h2",as:"h2",className:S.heading,children:w}),E?(0,n.tZ)(u.g,{}):T.length>0?(0,n.BX)(o.x,{className:S.body,children:[(0,n.tZ)(o.x,{className:S.thumbnail,children:(0,n.tZ)("img",{src:r.C.getAssetPath(y?"tiki/tamdiem-mb.png":"tiki/tamdiem-desktop.png"),alt:"T\xe2m điểm",loading:"lazy"})}),(0,n.tZ)(o.x,{className:S.listing,children:(0,n.tZ)(b.jx,{lengthToCarouselDesktop:3,gapDesktop:24,carouselSetting:{withIndicators:!1},children:(0,n.tZ)(b.jx.Slider,{children:T.map((e,t)=>(0,n.tZ)("a",{href:e.url,target:"_blank",className:S.item,"data-event-category":"Service Connection","data-event-action":"Livestream highlight Video","data-event-label":I,children:(0,n.BX)(c.o,{ratio:240/431,className:S.itemThumb,children:[(0,n.tZ)(g.R,{src:e.image||"",className:S.itemThumbImg,alt:e.title,loading:"lazy",fill:!0}),(0,n.tZ)(o.x,{className:C(S.overlayWrapper,"item-overlay-wrapper"),children:(0,n.tZ)(o.x,{className:C(S.overlay,"item-overlay"),children:(0,n.tZ)(l.T,{size:"s3",color:"#fff",className:C(S.title,"item-title"),children:e.title})})})]})},t))})})})]}):null]})})}):null}},E7r1:function(e,t,a){a.r(t),a.d(t,{default:function(){return StickyNavWrapper}});var n=a("BGKE"),i=a("q1tI"),r=a("mYVa"),l=a("Gwuz"),o=a("5fZt"),s=a("mU93"),d=a("77u+"),c=a("ZpEA"),m=a("hXNO"),h=a("GwGV"),p=a("e0pn"),g=a("Eso5"),u=a("SPK5"),f=a("/npG"),x=(0,f.k)(e=>({dropdown:{padding:"".concat((0,r.h)(10)," ").concat((0,r.h)(12)),backgroundColor:"#fff",cursor:"pointer",width:(0,r.h)(250),[e.fn.smallerThan("sm")]:{width:"100%"}},selectedItem:{padding:0,width:"90%"},selectedItemTitle:{fontWeight:600},navigatorRoot:{paddingTop:(0,r.h)(4),flexDirection:"column",gap:(0,r.h)(4)},item:{paddingTop:(0,r.h)(10),paddingBottom:(0,r.h)(10),borderRadius:0,"&.active":{backgroundColor:e.colors.gray[1]}},app:{borderRadius:8,overflow:"hidden"},appImg:{height:40,display:"block"}})),v=a("uzt2"),b=a("/ch6"),k=a("+9w5"),y=a("nGnw");let Dropdown=e=>{var t,a;let{navigating:l=[],mappingIconList:o,colorArr:s,onNavClick:c,selectedSection:m,hideIcon:f,isApp:T,logo:Z,...N}=e,{classes:S,cx:C}=x(void 0,{name:"CarePathHeroBannerNavigator__Dropdown"}),[w,B]=(0,i.useState)(0),[I,E]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let e=l.findIndex(e=>m===e.idScroll);-1!==e&&B(e)},[m]),(0,n.BX)(g.x,{sx:{position:"relative",userSelect:"none"},...N,children:[(0,n.BX)(u.k,{className:S.dropdown,align:"center",justify:"space-between",onClick:()=>E(!I),children:[(0,n.tZ)(k.h,{hideIcon:f,icon:(null==o?void 0:o[null==l?void 0:null===(t=l[w])||void 0===t?void 0:t.sessionLayout])||(0,n.tZ)(h.Z,{}),title:null==l?void 0:null===(a=l[w])||void 0===a?void 0:a.title,bgColor:null==s?void 0:s[w%4],classNames:{root:S.selectedItem,title:S.selectedItemTitle}}),(0,n.tZ)(p.Z,{size:18})]}),(0,n.BX)(g.x,{sx:e=>({display:I?"block":"none",position:"absolute",top:(0,r.h)(39),width:"100%",background:"#fff",border:"1px solid ".concat(e.colors.gray[1]),zIndex:1}),children:[(0,n.tZ)(v.C3,{mappingIconList:o,classNames:{root:S.navigatorRoot},colorArr:s,navigating:l,onNavClick:c,dataActionBySession:(()=>{let e={};return Object.keys(d.e).map(t=>{e[t]="".concat(d.e[t]," - Header Navigate")}),e})(),children:l.map((e,t)=>(0,n.tZ)(b.j,{className:C(S.item,w===t?"active":""),displayAs:e=>(0,n.tZ)(k.h,{...e,hideIcon:f,isActive:w===t}),onClick:()=>{B(t),E(!1)}},String(t)))}),T&&(0,n.BX)(u.k,{align:"center",gap:16,sx:{padding:14},children:[(0,n.tZ)("a",{href:null==Z?void 0:Z.url,target:"_blank",children:(0,n.tZ)("div",{className:S.app,children:(0,n.tZ)("img",{src:y.C.getAssetPath("appIntro/app-store.png"),className:S.appImg,loading:"lazy",alt:"App Store"})})}),(0,n.tZ)("a",{href:null==Z?void 0:Z.url,target:"_blank",children:(0,n.tZ)("div",{className:S.app,children:(0,n.tZ)("img",{src:y.C.getAssetPath("appIntro/google-play.png"),className:S.appImg,loading:"lazy",alt:"Google Play"})})})]})]})]})};var T=(0,f.k)((e,t)=>{let{hasSponsor:a}=t;return{root:{},wrapper:{display:"flex",[e.fn.smallerThan("sm")]:{flexDirection:"column"},[e.fn.largerThan("sm")]:{gap:(0,r.h)(24)}},sponsor:{},navigator:{gap:(0,r.h)(8)},navigatorItem:{img:{height:18}},buttonItemTitle:{...a&&{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:(0,r.h)(180)}}}}),Z=a("d9F/"),N=(0,i.forwardRef)((e,t)=>{let{sponsoredBy:a=[],onNavClick:h,children:p,styles:g,classNames:u,isAppPage:f,logo:x,...k}=e,{colorArr:y,navigating:N=[],mappingIconList:S}=(0,i.useContext)(s.F),C=(a||[]).length>0,{classes:w}=T({hasSponsor:C},{name:"StickyNavigator",classNames:u,styles:g}),B=(0,m.d)(),[I,E]=(0,i.useState)(""),D=(0,i.useMemo)(()=>N.filter(e=>"comming_soon"!==e.type),[N]);(0,i.useImperativeHandle)(t,()=>({setSelectedSection:E}));let F=(0,c.t)(D.map(e=>e.url)),L={};return D.map((e,t)=>{L[e.idScroll]=F[t]}),D.length>0?(0,n.BX)(o.SubHeader,{className:w.wrapper,sx:e=>({position:"absolute",width:"100%",borderBottom:"1px solid ".concat(e.colors.neutral[1]),transform:"translateY(".concat(""!==I?0:"-100%",")"),transition:"transform .3s ease",[e.fn.largerThan("sm")]:{padding:"".concat((0,r.h)(8)," 0"),display:"flex",justifyContent:"center"}}),children:["function"==typeof p?null==p?void 0:p(h,I):B?(0,n.tZ)(Dropdown,{navigating:D,mappingIconList:S,colorArr:y,selectedSection:I,onNavClick:h,hideIcon:f,logo:x,isApp:f}):(0,n.tZ)(v.C3,{colorArr:y,navigating:D,iconSize:24,selectedSection:I,mappingIconList:S,dataActionBySession:(()=>{let e={};return Object.keys(d.e).map(t=>{e[t]="".concat(d.e[t]," - Header Navigate")}),e})(),onNavClick:h,...k,children:D.map((e,t)=>{var a,i;return(0,n.tZ)(b.j,{classNames:{root:w.navigatorItem},displayAs:Z.y,iconSize:18,isExternalUrl:null===(a=L[e.idScroll])||void 0===a?void 0:a.isExternalSite,target:(null===(i=L[e.idScroll])||void 0===i?void 0:i.isExternalUrl)?"_blank":"_self"},String(t))})}),C&&!B&&(0,n.tZ)(l.StickySponsoredBy,{className:w.sponsor,isCollapsed:!1,sponsoredType:"content",sponsoredBy:a,isMobile:B,styles:e=>({root:{position:"relative",zIndex:1,backgroundColor:"transparent",border:0,[e.fn.largerThan("sm")]:{padding:0}},logoWrapper:{marginLeft:(0,r.h)(12)},logo:{[e.fn.largerThan("sm")]:{height:(0,r.h)(32)}},container:{[e.fn.largerThan("sm")]:{padding:0}}})})]}):null});function StickyNavWrapper(e){let{stickyRef:t,...a}=e;return(0,n.tZ)(N,{...a,ref:t})}},yw3m:function(e,t,a){a.d(t,{i:function(){return TypeFormInline}});var n=a("BGKE"),i=a("q1tI"),r=a("p46w"),l=a.n(r),o=a("iv2E"),s=a("P5LW"),d=a("rIrU"),c=a("Eso5");let FullScreen=e=>{let{url:t}=e;return(0,n.tZ)(c.x,{sx:{height:"calc(100vh - 53px)",minHeight:500},children:(0,n.tZ)(c.x,{component:"iframe",src:t,width:"100%",height:"100%",sx:{display:"block",border:"none",borderRadius:"inherit"},allowFullScreen:!0})})};var m=a("ZLal"),h=a("wp0n"),p=a("J+gj"),g=a("RZSM"),u=a("SPK5"),f=a("OAL+"),x=a("0D4Z"),v=a("gHFm"),b=a("usqR"),k=a("/npG"),y=a("mYVa"),T=(0,k.k)(e=>({root:{position:"relative",padding:"".concat((0,y.h)(40)," 0"),[e.fn.largerThan("sm")]:{padding:"".concat((0,y.h)(80)," 0")}},inner:{display:"flex",flexDirection:"column",gap:30,position:"relative"},header:{display:"flex",gap:24,[e.fn.smallerThan("sm")]:{flexDirection:"column"}},headerIcon:{flexShrink:0,width:64},heading:{fontWeight:400,fontSize:(0,y.h)(28),lineHeight:1.2,[e.fn.largerThan("sm")]:{fontSize:(0,y.h)(40),lineHeight:(0,y.h)(48),letterSpacing:"-0.88px"}},headerInfo:{},medicalAvatar:{width:40},medicalReview:{},medicalTitle:{fontSize:(0,y.h)(14),lineHeight:"150%",letterSpacing:"-0.07px",color:"#595959"},medicalSubTitle:{fontSize:(0,y.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"},disclaimer:{},skeleton:{position:"absolute",inset:0,zIndex:0,borderRadius:0,[e.fn.largerThan("sm")]:{borderRadius:20}}}));let InlineScreen=e=>{let{data:t,url:a}=e,{headline:i,headlineIcon:r,disclaimer:l,backgroundColor:o,medicalInfo:s}=t||{},{classes:d}=T(void 0,{name:"TypeFormInlineInlineScreen"});return(0,n.tZ)(m.T,{variant:m.C.LEADGEN,children:(0,n.tZ)(c.x,{bg:o,className:d.root,children:(0,n.BX)(v.W,{className:d.inner,children:[(r||r)&&(0,n.BX)(c.x,{className:d.header,children:[r&&(0,n.tZ)(c.x,{className:d.headerIcon,children:(0,n.tZ)(g.o,{ratio:1,children:(0,n.tZ)("img",{loading:"lazy",src:r,alt:i})})}),(i||s)&&(0,n.BX)(u.k,{direction:"column",gap:24,className:d.headerInfo,children:[i&&(0,n.tZ)("h2",{className:d.heading,children:i}),s&&(0,n.BX)(u.k,{gap:12,align:"center",className:d.medicalReview,children:[(0,n.tZ)(c.x,{className:d.medicalAvatar,children:(0,n.tZ)(g.o,{ratio:1,children:(0,n.tZ)("img",{loading:"lazy",src:s.icon,alt:s.doctorInfo})})}),(0,n.BX)(f.K,{spacing:4,children:[(0,n.tZ)(c.x,{...s.url&&{component:"a",href:s.url,target:"_blank"},"data-event-category":"Reviewer Name","data-event-action":"Click text","data-event-label":s.url,className:d.medicalTitle,children:s.doctorInfo}),(0,n.tZ)(c.x,{className:d.medicalSubTitle,children:s.subText})]})]})]})]}),(0,n.BX)(c.x,{className:d.iframeWrapper,children:[(0,n.tZ)(x.O,{visible:!0,className:d.skeleton}),(0,n.tZ)(c.x,{component:"iframe",src:a,width:"100%",height:"100%",className:d.iframe,sx:{display:"block",border:"none",borderRadius:"inherit"},allowFullScreen:!0})]}),l&&(0,n.tZ)(c.x,{className:d.disclaimer,children:(0,n.tZ)(b.E,{contentSize:"n1",bordered:!1,description:l,HeadingWrapper:e=>(0,n.tZ)(h.T,{...e,size:"p2",sx:{textTransform:"none"}}),ContentWrapper:e=>(0,n.tZ)(h.T,{...e,size:"p3"}),icon:(0,n.tZ)(p.Z,{color:"#FE921D",size:20}),expand:!1})})]})})})},TypeFormInline=e=>{var t;let a,{data:r}=e,{formId:c,displayFull:m,utmParams:h}=r||{},{locale:p,query:g,asPath:u}=(0,s.h)(),f=(0,i.useMemo)(()=>{let e={...g};return delete e.slug,e},[g]);if(!c)return null;let x=h.split("&").filter(Boolean),v=x.reduce((e,t)=>{let[a,n]=t.split("=");return a&&(e[a]=n),e},{}),b="https://".concat(d.Mw?"":"discover.").concat(o.domainLocales[p],"/typeform.html?").concat((t={id:c,ga_client:l().get(d.ch),page_path:u,...f,...v},a="",t&&(a=Object.keys(t).map(e=>e+"="+t[e]).join("&")),a));return m?(0,n.tZ)(FullScreen,{url:b}):(0,n.tZ)(InlineScreen,{data:r,url:b})}},sG5X:function(e,t,a){a.d(t,{y:function(){return VideoLibrary}});var n=a("BGKE"),i=a("q1tI"),r=a("2rpi"),l=a("DEkF"),o=a("wp0n"),s=a("fdQd"),d=a("8vDj"),c=a("mYVa"),m=a("Eso5"),h=a("OAL+"),p=a("SPK5"),g=a("vaps"),u=a("4wSK"),f=a("dDsW"),x=a("09QT"),v=a("oQBk"),b=a("gHFm"),k=a("KX2h"),y=a("hXNO"),T=(0,a("/npG").k)((e,t)=>{let{bgColor:a}=t;return{root:{backgroundColor:a||e.colors.neutral[0],padding:"".concat((0,c.h)(24)," 0"),[e.fn.largerThan("sm")]:{padding:"".concat((0,c.h)(80)," 0")}},heading:{}}}),Z=a("nGnw"),N=a("RZSM"),S=a("rIrU");let VideoItem=e=>{let{title:t,image:a,active:i,url:r,indexNumber:l,showIndex:s,...d}=e,{formatMessage:h}=(0,f.Z)();return(0,n.tZ)(m.x,{...d,children:(0,n.BX)(p.k,{className:"pointer-event-child-none","data-event-category":"Service Connection","data-event-action":"Video List Click","data-event-label":r,gap:(0,c.h)(8),align:"center",sx:e=>({[e.fn.smallerThan("sm")]:{flexDirection:"column",alignItems:"stretch"}}),children:[s&&(0,n.tZ)(m.x,{children:(0,n.tZ)(o.T,{size:"s4",weight:"semiBold",children:l})}),(0,n.BX)(m.x,{sx:e=>({position:"relative",[e.fn.largerThan("sm")]:{width:(0,c.h)(120)}}),children:[(0,n.tZ)(N.o,{ratio:120/68,children:(0,n.tZ)("img",{loading:"lazy",src:a,alt:t,onError:e=>{e.currentTarget.src="".concat(S.Nr,"/default-image.jpg")}})}),(0,n.tZ)(p.k,{align:"center",justify:"center",sx:{position:"absolute",top:0,left:0,right:0,bottom:0,backgroundColor:i?"rgba(0, 0, 0, .5)":"transparent",transition:"all .2s ease"},children:i?(0,n.tZ)(o.T,{size:"s4",weight:"semiBold",color:"#fff",children:h({id:"common.playing",defaultMessage:"Playing ..."})}):(0,n.tZ)("img",{src:Z.C.getAssetPath("play-circle-bg.svg"),alt:"play",loading:"lazy"})})]}),(0,n.tZ)(m.x,{sx:e=>({[e.fn.largerThan("sm")]:{width:"calc(100% - 128px)"}}),children:(0,n.tZ)(o.T,{size:"s3",weight:"semiBold",color:i?"blue.6":void 0,sx:{display:"-webkit-box","-webkit-line-clamp":"2","-webkit-box-orient":"vertical",overflow:"hidden"},children:t})})]})})},VideoLibrary=e=>{let{sessionProps:t,styles:a,autoPlay:Z=!1,applyH1:N,...S}=e,{backgroundColor:C}=t,{classes:w}=T({bgColor:C},{name:"VideoLibrary",styles:a}),{formatMessage:B}=(0,f.Z)(),{title:I,videoList:E=[]}=t,[D,F]=(0,i.useState)([]),[L,z]=(0,i.useState)(!1),[M,R]=(0,i.useState)((null==E?void 0:E[0])?{title:E[0].videoTitle,url:E[0].urlVideo}:null),[W,A]=(0,i.useState)(Z),[X,_]=(0,i.useState)(1),H=(0,y.d)(),Y=(0,d.rZ)(),G=D.length>1,{ref:O,entry:P}=(0,u.s)({threshold:1}),V=(0,i.useCallback)(async()=>{try{z(!0);let e=await Promise.all(E.map(e=>(0,x.d)(v.y.TOGETHER.FETCH_PREVIEW,{method:"POST",data:{link:e.urlVideo}},"together")));z(!1);let t=e.map((e,t)=>(null==e?void 0:e.data)&&{...e.data,url:E[t].urlVideo,title:E[t].videoTitle||e.title}).filter(Boolean);t.length>0&&(R(null==t?void 0:t[0]),F(t))}catch(e){console.log(e),z(!1)}},[]);(0,i.useEffect)(()=>{E.length>0&&V()},[]),(0,i.useEffect)(()=>{if(P&&W){var e,t,a;null==P||null===(a=P.target)||void 0===a||null===(t=a.querySelector("iframe"))||void 0===t||null===(e=t.contentWindow)||void 0===e||e.postMessage('{"event":"command","func":"'.concat(P.isIntersecting?"playVideo":"pauseVideo",'","args":""}'),"*")}},[P]);let j={slidesToScroll:1,slideSize:"45%",slideGap:(0,c.h)(8),withIndicators:!0,withControls:!1,align:"start",loop:!0,styles:()=>({indicators:{bottom:"auto",top:"calc(100% + 30px - 8px)"},indicator:{width:"8px",height:"8px",opacity:1,backgroundColor:Y.colors.neutral[5],"&[data-active]":{backgroundColor:Y.colors.blue[7]},".mantine-Carousel-control[data-inactive]":{opacity:0,cursor:"default"}}})},K=!L&&E.length>1?(0,n.tZ)(o.T,{size:"s4",children:B({id:"common.currentOnTotalVideo",defaultMessage:"Total video {number}/{count}"},{number:X,count:E.length})}):null;return E.length>0?(0,n.tZ)(m.x,{className:w.root,...S,children:(0,n.tZ)(b.W,{children:(0,n.BX)(h.K,{spacing:(0,c.h)(40),sx:e=>({gap:(0,c.h)(24),[e.fn.largerThan("sm")]:{gap:(0,c.h)(40)}}),children:[I&&(0,n.BX)(h.K,{spacing:(0,c.h)(8),children:[I&&(0,n.tZ)(o.T,{size:"h2",as:N?"h1":"h2",className:w.heading,children:I}),H&&K]}),L?(0,n.tZ)(k.g,{}):D.length>0?(0,n.BX)(p.k,{ref:O,gap:(0,c.h)(24),sx:e=>({[e.fn.smallerThan("sm")]:{flexDirection:"column",gap:(0,c.h)(8)}}),children:[M&&(0,n.BX)(h.K,{spacing:(0,c.h)(16),sx:e=>({backgroundColor:G?"#000":"transparent",[e.fn.largerThan("sm")]:{width:G?"65%":"100%"}}),children:[(0,n.tZ)(r.S,{url:M.url||"",autoPlay:W},M.url),!G&&(0,n.tZ)(l.H,{tag:"h3",children:M.title})]}),G&&(H?(0,n.tZ)(m.x,{sx:{paddingBottom:(0,c.h)(30)},children:(0,n.tZ)(s.a,{...j,children:D.map((e,t)=>(0,n.tZ)(s.a.Slide,{children:(0,n.tZ)(VideoItem,{title:e.title,url:e.url,image:e.image,active:e.url===(null==M?void 0:M.url),onClick:()=>{A(!0),R(e)},sx:{cursor:"pointer"}})},String(t)))})}):(0,n.BX)(m.x,{sx:{position:"relative",width:"35%"},children:[K,(0,n.tZ)(m.x,{sx:e=>({[e.fn.largerThan("sm")]:{position:"absolute",top:(0,c.h)(30),left:0,right:0,bottom:0}}),children:(0,n.tZ)(g.x,{h:"100%",type:"always",offsetScrollbars:!0,scrollbarSize:8,children:(0,n.tZ)(p.k,{sx:e=>({gap:(0,c.h)(8),[e.fn.largerThan("sm")]:{flexDirection:"column",gap:(0,c.h)(24)}}),children:D.map((e,t)=>(0,n.tZ)(VideoItem,{indexNumber:t+1,showIndex:!H,title:e.title,url:e.url,image:e.image,active:e.url===(null==M?void 0:M.url),onClick:()=>{_(t+1),A(!0),R(e)},sx:{cursor:"pointer"}},String(t)))})})})]}))]}):null]})})}):null}},S4a3:function(e){e.exports=JSON.parse('{"nm":"Group 38793 (1)","ddd":0,"h":512,"w":512,"meta":{"g":"LottieFiles AE 3.5.9"},"layers":[{"ty":4,"nm":"Shape Layer 2","sr":1,"st":0,"op":1800,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[252,248,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":0,"k":100,"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"mn":"ADBE Vector Group","nm":"Ellipse 1","ix":1,"cix":2,"np":3,"it":[{"ty":"el","bm":0,"hd":false,"mn":"ADBE Vector Shape - Ellipse","nm":"Ellipse Path 1","d":1,"p":{"a":0,"k":[0,0],"ix":3},"s":{"a":0,"k":[462,462],"ix":2}},{"ty":"gs","bm":0,"hd":false,"mn":"ADBE Vector Graphic - G-Stroke","nm":"Gradient Stroke 1","e":{"a":0,"k":[234,-227],"ix":5},"g":{"p":3,"k":{"a":0,"k":[0,1,1,1,0.5,1,1,1,1,1,1,1],"ix":8}},"t":1,"a":{"a":0,"k":0},"h":{"a":0,"k":0},"s":{"a":0,"k":[-230,237],"ix":4},"lc":1,"lj":1,"ml":4,"o":{"a":0,"k":100,"ix":9},"w":{"a":0,"k":50,"ix":10}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[4,8],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":1},{"ty":4,"nm":"Shape Layer 1","sr":1,"st":0,"op":1800,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[252,248,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":1,"k":[{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[100],"t":0},{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[0],"t":15},{"s":[100],"t":30}],"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"mn":"ADBE Vector Group","nm":"Ellipse 1","ix":1,"cix":2,"np":3,"it":[{"ty":"el","bm":0,"hd":false,"mn":"ADBE Vector Shape - Ellipse","nm":"Ellipse Path 1","d":1,"p":{"a":0,"k":[0,0],"ix":3},"s":{"a":0,"k":[205,205],"ix":2}},{"ty":"gf","bm":0,"hd":false,"mn":"ADBE Vector Graphic - G-Fill","nm":"Gradient Fill 1","e":{"a":0,"k":[253,-255],"ix":6},"g":{"p":3,"k":{"a":0,"k":[0,1,1,1,0.5,1,1,1,1,1,1,1],"ix":9}},"t":1,"a":{"a":0,"k":0},"h":{"a":0,"k":0},"s":{"a":0,"k":[-253,253],"ix":5},"r":1,"o":{"a":0,"k":100,"ix":10}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[4,8],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":2}],"v":"4.8.0","fr":30,"op":31,"ip":0,"assets":[]}')}}]);