"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6962],{"9UvD":function(e,t,a){a.d(t,{c:function(){return ClosingMessage}});var i=a("BGKE");a("q1tI");var r=a("oZWv"),n=a("SPK5"),o=a("OAL+"),l=a("Q7Fe");let ClosingMessage=e=>{let{title:t,content:a}=e;return a&&t?(0,i.BX)(n.k,{gap:10,w:"100%",sx:e=>({borderRadius:8,padding:"12px 16px",backgroundColor:e.colors.yellow50}),children:[(0,i.tZ)("div",{children:(0,i.tZ)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,i.tZ)("path",{d:"M22.2389 18.451L13.4419 3.816C13.1349 3.305 12.5959 3 11.9999 3C11.4039 3 10.8649 3.305 10.5589 3.815L1.76088 18.451C1.44888 18.97 1.44088 19.619 1.73888 20.146C2.03588 20.673 2.59688 21 3.20288 21H20.7979C21.4029 21 21.9649 20.673 22.2619 20.146C22.5599 19.619 22.5509 18.97 22.2389 18.451ZM12.4999 18H11.4999C11.2239 18 10.9999 17.776 10.9999 17.5V16.5C10.9999 16.224 11.2239 16 11.4999 16H12.4999C12.7759 16 12.9999 16.224 12.9999 16.5V17.5C12.9999 17.776 12.7759 18 12.4999 18ZM11.9999 14C11.4479 14 10.9999 13.552 10.9999 13V10C10.9999 9.448 11.4479 9 11.9999 9C12.5519 9 12.9999 9.448 12.9999 10V13C12.9999 13.552 12.5519 14 11.9999 14Z",fill:"#FE921D"})})}),(0,i.BX)(o.K,{spacing:12,children:[t&&(0,i.tZ)(r.T,{size:"p2",weight:"semiBold",children:t}),a&&(0,i.tZ)(l.G,{size:"p2",content:a})]})]}):null}},"DN/R":function(e,t,a){a.r(t),a.d(t,{CollapsibleFaqs:function(){return CollapsibleFaqs}});var i=a("BGKE"),r=a("q1tI"),n=a("uwjA"),o=a("UicF"),l=a("dDsW"),c=a("Q7Fe"),s=a("iv2E"),d=a("sJ9w"),h=a("P5LW"),p=a("rIrU"),m=a("rBCA"),u=a("iBNF"),g=a("Efqo");let v=(0,m.Z)("div",{target:"e16m9hch0"})("position:relative;display:flex;justify-content:space-between;padding:12px 16px;background-color:white;cursor:pointer;transition:background-color 300ms ease-out;&:hover{background-color:",u.r.colors.neutral50,";}.icon{width:10%;margin-top:4px;text-align:end;",g.M.mbUp,"{width:5%;}&[data-is-hidden='false']{img{transform:rotate(180deg);}}img{width:24px;height:24px;transition:transform 300ms ease-out;}}"),f=(0,m.Z)("div",{target:"e16m9hch1"})(".content-wrapper{padding:24px;background:",u.r.colors.neutral50,";border-radius:",u.r.borderRadius,";.learn-more{margin-top:10px;p{display:inline;}a{text-decoration:none;}}}"),x=(0,m.Z)("div",{target:"e16m9hch2"})("margin-block:16px;background-color:",u.r.colors.teal50,";padding:16px;.faq-title{margin-bottom:16px;font-size:20px;padding:16px 0 16px 20px;&:after{height:40px;top:50%;transform:translateY(-50%);}}"),CollapsibleFaqsCard=e=>{var t;let{postContent:a,onShowClick:o,isShowed:m}=e,u=(0,r.useRef)(null),{formatMessage:g}=(0,l.Z)();(0,d.b)(u,m);let{locale:x,router:{asPath:y}}=(0,h.h)();return(0,i.BX)(i.HY,{children:[(0,i.BX)(v,{onClick:()=>{void 0!==o&&o(m?"hide":"show")},children:[(0,i.tZ)(n.T,{size:"lg",type:"bold",className:"heading",children:a.title}),(0,i.tZ)("div",{className:"icon","data-is-hidden":!m,children:(0,i.tZ)("img",{loading:"lazy",src:"".concat(p.Nr,"/chevronDown.svg"),alt:"Icon Chevron","data-event-category":"FAQ","data-event-action":"Arrow Click","data-event-label":"https://".concat(s.domainLocales[x]).concat(p.sb).concat(y)})})]}),(0,i.tZ)(f,{ref:u,children:(0,i.BX)("div",{className:"content-wrapper",children:[(0,i.tZ)("div",{className:"content",children:(0,i.tZ)(c.G,{size:"c1",content:a.content})}),a.learnMore?(0,i.BX)("div",{className:"learn-more",children:[(0,i.tZ)(n.T,{size:"c1",type:"bold",children:"".concat(g({id:"categoryPage.faqs.learnMore",defaultMessage:"Learn More"}),": ")}),(0,i.tZ)("a",{href:a.learnMore.permalink,children:(0,i.tZ)(n.T,{size:"c1",color:"#2685f1",children:(0,i.tZ)("span",{"data-event-category":"FAQ","data-event-action":"Internal Link Click","data-event-label":"https://".concat(s.domainLocales[x]).concat(p.sb).concat(a.learnMore.permalink),dangerouslySetInnerHTML:{__html:null==a?void 0:null===(t=a.learnMore)||void 0===t?void 0:t.title}})})})]}):null]})})]})},CollapsibleFaqs=e=>{let{isMobile:t,posts:a,title:n}=e,{formatMessage:c}=(0,l.Z)(),[s,d]=(0,r.useState)(-1),handleShowFAQ=(e,t)=>{d("show"===e?t:-1)};return(0,i.BX)(x,{children:[(0,i.tZ)(o.a,{size:"lg",className:"faq-title",children:n||c({id:"categoryPage.faqs",defaultMessage:"FAQs"})}),(0,i.tZ)("div",{children:a.map((e,a)=>(0,i.tZ)(CollapsibleFaqsCard,{isMobile:t,postContent:e,onShowClick:e=>{handleShowFAQ(e,a)},isShowed:s===a},a))})]})}},"gMY+":function(e,t,a){a.d(t,{f:function(){return CommunityBanner}});var i=a("BGKE"),r=a("q1tI"),n=a("ake8"),o=a("iBNF"),l=a("8ANI"),c=a("XDLp"),s=a("oZWv"),d=a("Eso5"),h=a("SPK5"),p=a("Wgwc"),m=a.n(p),u=a("dDsW"),g=a("09QT"),v=a("oQBk"),f=a("CJtR"),x=a("7mej"),y=a("hXNO"),b=a("P5LW"),C=a("rIrU"),w=a("rBCA"),Z=a("Efqo");let k=(0,w.Z)("div",{target:"ejjtm1q0"})("width:100%;display:flex;flex-direction:column;align-items:flex-start;padding:24px;gap:16px;",Z.M.mbDown,"{padding:16px;}.community{width:100%;display:flex;align-items:flex-start;gap:24px;}background:",o.r.colors.primary50,";border-radius:",o.r.borderRadius,";.thumbnail-header{width:80px;background:transparent;/* White */\n border:4px solid #ffffff;border-radius:8px;",Z.M.mbDown,"{width:48px;}}.detail{width:100%;}.detail-general{min-height:50px;width:100%;display:flex;",Z.M.mbUp,"{justify-content:space-between;}}"),B=(0,w.Z)(h.k,{target:"ejjtm1q1"})("border-radius:8px;.thumbnail{display:block;min-width:48px;width:48px;height:48px;img{border-radius:8px;}}"),Desktop=e=>{let{topics:t,dueDate:a}=e,{formatMessage:d}=(0,u.Z)(),h=(0,r.useMemo)(()=>t[0],[t]),{locale:p}=(0,b.h)();(0,r.useEffect)(()=>{h.joined||((0,g.d)(v.y.TOGETHER.POST_TOGETHER_JOIN_TOPIC,{method:"POST",data:{ids:[h.id]}},"together"),h.joined=!0)},[h.joined]);let{countMembers:y,countPosts:w,community:Z}=h;return(0,i.BX)(k,{children:[(0,i.BX)("div",{className:"community",children:[(0,i.tZ)("div",{className:"thumbnail-header",children:(0,i.tZ)("a",{href:"/community/".concat(Z.slug,"/").concat(h.slug),"data-event-category":"Health Tool","data-event-action":"Together Topic Click","data-event-label":"".concat((0,f.UC)(p),"/community/").concat(Z.slug,"/").concat(h.slug),children:(0,i.tZ)("img",{loading:"lazy",className:"thumbnail",src:h.thumbnail||"".concat(C.Nr,"/pregnancy-community.svg"),alt:"thumbnail"})})}),(0,i.tZ)("div",{className:"detail",children:(0,i.BX)("div",{className:"detail-general",children:[(0,i.BX)("div",{children:[(0,i.tZ)("a",{href:"/community/".concat(Z.slug,"/").concat(h.slug),className:"pointer-event-child-none","data-event-category":"Health Tool","data-event-action":"Together Topic Click","data-event-label":"".concat((0,f.UC)(p),"/community/").concat(Z.slug,"/").concat(h.slug),children:(0,i.tZ)(n.H,{tag:"h4",fontWeight:"bold",color:o.r.colors.gray800,className:"grow",children:h.name})}),(0,i.tZ)(x.g,{postsCount:w,membersCount:y})]}),(0,i.tZ)("a",{href:"/community/".concat(Z.slug,"/").concat(h.slug),"data-event-category":"Health Tool","data-event-action":"Together Discussion Click","data-event-label":"".concat((0,f.UC)(p),"/community/").concat(Z.slug,"/").concat(h.slug),className:"pointer-event-child-none",children:(0,i.tZ)(c.B,{bg:"#e0f8ee",size:"md",leftIcon:(0,i.tZ)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:(0,i.tZ)("path",{d:"M14.9852 4.49251C14.7904 4.49832 14.6054 4.57975 14.4696 4.71956L6.74988 12.4393L4.28015 9.96956C4.21104 9.89758 4.12827 9.84012 4.03667 9.80053C3.94508 9.76094 3.8465 9.74003 3.74672 9.73901C3.64694 9.73799 3.54796 9.7569 3.45558 9.79462C3.36319 9.83233 3.27926 9.8881 3.20871 9.95866C3.13815 10.0292 3.08238 10.1132 3.04466 10.2055C3.00694 10.2979 2.98804 10.3969 2.98905 10.4967C2.99007 10.5965 3.01098 10.695 3.05057 10.7866C3.09016 10.8782 3.14763 10.961 3.21961 11.0301L6.21961 14.0301C6.36026 14.1707 6.551 14.2497 6.74988 14.2497C6.94876 14.2497 7.1395 14.1707 7.28015 14.0301L15.5302 5.78011C15.6385 5.67476 15.7126 5.53913 15.7425 5.39099C15.7725 5.24285 15.757 5.08912 15.6981 4.94993C15.6392 4.81074 15.5396 4.69259 15.4124 4.61097C15.2852 4.52935 15.1363 4.48806 14.9852 4.49251Z",fill:"#008C50"})}),children:(0,i.tZ)(s.T,{c:"#008c50",children:d({id:"together.embed.topicCard.joinDiscussion",defaultMessage:"Join Discussion"})})})})]})})]}),(0,i.tZ)(s.T,{size:"p4",color:o.r.colors.gray800,children:d({id:"pregnancyTool.communityBanner.message",defaultMessage:"Looking for other moms who may give birth in ? Connect with parents-to-be and share your stories in the ."},{"due-date":function(){return(0,i.tZ)(s.T,{as:"span",size:"p4",color:o.r.colors.gray800,weight:"semiBold",children:m()(a).format(C.DH)})},member:function(){return y>=1e3?(0,i.tZ)(s.T,{as:"span",size:"p4",color:o.r.colors.gray800,weight:"semiBold",children:(0,l.a)(y)}):null},topicName:function(){return(0,i.tZ)(s.T,{as:"span",size:"p4",color:o.r.colors.gray800,weight:"semiBold",children:h.name})}})})]})},Mobile=e=>{let{topics:t,dueDate:a}=e,{formatMessage:h}=(0,u.Z)(),p=(0,r.useMemo)(()=>t[0],[t]),{locale:y}=(0,b.h)();(0,r.useEffect)(()=>{p.joined||((0,g.d)(v.y.TOGETHER.POST_TOGETHER_JOIN_TOPIC,{method:"POST",data:{ids:[p.id]}},"together"),p.joined=!0)},[p.joined]);let{countMembers:w,countPosts:Z,community:B}=p;return(0,i.BX)(k,{children:[(0,i.BX)("div",{className:"community",children:[(0,i.tZ)("div",{className:"thumbnail-header",children:(0,i.tZ)("a",{href:"/community/".concat(B.slug,"/").concat(p.slug),className:"pointer-event-child-none","data-event-category":"Health Tool","data-event-action":"Together Topic Click","data-event-label":"".concat((0,f.UC)(y),"/community/").concat(B.slug,"/").concat(p.slug),children:(0,i.tZ)("img",{loading:"lazy",className:"thumbnail",src:p.thumbnail||"".concat(C.Nr,"/pregnancy-community.svg"),alt:"thumbnail"})})}),(0,i.tZ)("div",{className:"detail",children:(0,i.tZ)("div",{className:"detail-general",children:(0,i.BX)("div",{children:[(0,i.tZ)("a",{href:"/community/".concat(B.slug,"/").concat(p.slug),className:"pointer-event-child-none","data-event-category":"Health Tool","data-event-action":"Together Topic Click","data-event-label":"".concat((0,f.UC)(y),"/community/").concat(B.slug,"/").concat(p.slug),children:(0,i.tZ)(n.H,{tag:"h4",fontWeight:"bold",color:o.r.colors.gray800,className:"grow",children:p.name})}),(0,i.tZ)(x.g,{postsCount:Z,membersCount:w})]})})})]}),(0,i.tZ)("div",{className:"detail-message",children:(0,i.tZ)(s.T,{size:"p4",color:o.r.colors.gray800,children:h({id:"pregnancyTool.communityBanner.message",defaultMessage:"Looking for other moms who may give birth in ? Connect with parents-to-be and share your stories in the ."},{"due-date":function(){return(0,i.tZ)(s.T,{as:"span",size:"p4",color:o.r.colors.gray800,weight:"semiBold",children:m()(a).format(C.DH)})},member:function(){return w>=1e3?(0,i.tZ)(s.T,{as:"span",size:"p4",color:o.r.colors.gray800,weight:"semiBold",children:(0,l.a)(w)}):null},topicName:function(){return(0,i.tZ)(s.T,{as:"span",size:"p4",color:o.r.colors.gray800,weight:"semiBold",children:p.name})}})})}),(0,i.tZ)(d.x,{w:"100%",children:(0,i.tZ)("a",{href:"/community/".concat(B.slug,"/").concat(p.slug),className:"pointer-event-child-none","data-event-category":"Health Tool","data-event-action":"Together Discussion Click","data-event-label":"".concat((0,f.UC)(y),"/community/").concat(B.slug,"/").concat(p.slug),children:(0,i.tZ)(c.B,{fullWidth:!0,size:"md",bg:"#e0f8ee",className:"ask",leftIcon:(0,i.tZ)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:(0,i.tZ)("path",{d:"M14.9852 4.49251C14.7904 4.49832 14.6054 4.57975 14.4696 4.71956L6.74988 12.4393L4.28015 9.96956C4.21104 9.89758 4.12827 9.84012 4.03667 9.80053C3.94508 9.76094 3.8465 9.74003 3.74672 9.73901C3.64694 9.73799 3.54796 9.7569 3.45558 9.79462C3.36319 9.83233 3.27926 9.8881 3.20871 9.95866C3.13815 10.0292 3.08238 10.1132 3.04466 10.2055C3.00694 10.2979 2.98804 10.3969 2.98905 10.4967C2.99007 10.5965 3.01098 10.695 3.05057 10.7866C3.09016 10.8782 3.14763 10.961 3.21961 11.0301L6.21961 14.0301C6.36026 14.1707 6.551 14.2497 6.74988 14.2497C6.94876 14.2497 7.1395 14.1707 7.28015 14.0301L15.5302 5.78011C15.6385 5.67476 15.7126 5.53913 15.7425 5.39099C15.7725 5.24285 15.757 5.08912 15.6981 4.94993C15.6392 4.81074 15.5396 4.69259 15.4124 4.61097C15.2852 4.52935 15.1363 4.48806 14.9852 4.49251Z",fill:"#008C50"})}),children:(0,i.tZ)(s.T,{c:"#008c50",children:h({id:"together.embed.topicCard.joinDiscussion",defaultMessage:"Join Discussion"})})})})})]})},Revamp=e=>{let{topics:t,dueDate:a}=e,n=(0,y.d)(),{formatMessage:d}=(0,u.Z)(),p=(0,r.useMemo)(()=>t[0],[t]),{locale:w}=(0,b.h)();(0,r.useEffect)(()=>{p.joined||((0,g.d)(v.y.TOGETHER.POST_TOGETHER_JOIN_TOPIC,{method:"POST",data:{ids:[p.id]}},"together"),p.joined=!0)},[p.joined]);let{countMembers:Z,countPosts:k,community:T}=p;return(0,i.BX)(B,{p:16,gap:16,bg:o.r.colors.blue50,direction:"column",children:[(0,i.BX)(h.k,{gap:16,children:[(0,i.tZ)("a",{href:"/community/".concat(T.slug,"/").concat(p.slug),className:"thumbnail pointer-event-child-none","data-event-category":"Health Tool","data-event-action":"Together Topic Click","data-event-label":"".concat((0,f.UC)(w),"/community/").concat(T.slug,"/").concat(p.slug),children:(0,i.tZ)("img",{loading:"lazy",src:p.thumbnail||"".concat(C.Nr,"/pregnancy-community.svg"),alt:"thumbnail",width:48,height:48})}),(0,i.BX)(h.k,{gap:4,direction:"column",children:[(0,i.tZ)("a",{href:"/community/".concat(T.slug,"/").concat(p.slug),className:"pointer-event-child-none","data-event-category":"Health Tool","data-event-action":"Together Topic Click","data-event-label":"".concat((0,f.UC)(w),"/community/").concat(T.slug,"/").concat(p.slug),children:(0,i.tZ)(s.T,{size:n?"h4":"h5",as:"p",weight:"bold",color:o.r.colors.gray800,children:p.name})}),(0,i.tZ)(x.g,{postsCount:k,membersCount:Z,size:"small"})]})]}),(0,i.tZ)(s.T,{size:n?"p3":"p4",color:o.r.colors.gray800,children:d({id:"pregnancyTool.communityBanner.message",defaultMessage:"Looking for other moms who may give birth in ? Connect with parents-to-be and share your stories in the ."},{"due-date":function(){return(0,i.tZ)(s.T,{as:"span",size:n?"p3":"p4",color:o.r.colors.gray800,weight:"semiBold",children:m()(a).format(C.DH)})},member:function(){return Z>=1e3?(0,i.tZ)(s.T,{as:"span",size:n?"p3":"p4",color:o.r.colors.gray800,weight:"semiBold",children:(0,l.a)(Z)}):null},topicName:function(){return(0,i.tZ)(s.T,{as:"span",size:n?"p3":"p4",color:o.r.colors.gray800,weight:"semiBold",children:p.name})}})}),(0,i.tZ)("a",{href:"/community/".concat(T.slug,"/").concat(p.slug),className:"pointer-event-child-none","data-event-category":"Health Tool","data-event-action":"Due Date - Guide and Support - Join Community","data-event-label":"".concat((0,f.UC)(w),"/community/").concat(T.slug,"/").concat(p.slug),children:(0,i.tZ)(c.B,{fullWidth:!0,size:"md",variant:"secondary",leftIcon:(0,i.tZ)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:(0,i.tZ)("path",{d:"M14.9852 4.49251C14.7904 4.49832 14.6054 4.57975 14.4696 4.71956L6.74988 12.4393L4.28015 9.96956C4.21104 9.89758 4.12827 9.84012 4.03667 9.80053C3.94508 9.76094 3.8465 9.74003 3.74672 9.73901C3.64694 9.73799 3.54796 9.7569 3.45558 9.79462C3.36319 9.83233 3.27926 9.8881 3.20871 9.95866C3.13815 10.0292 3.08238 10.1132 3.04466 10.2055C3.00694 10.2979 2.98804 10.3969 2.98905 10.4967C2.99007 10.5965 3.01098 10.695 3.05057 10.7866C3.09016 10.8782 3.14763 10.961 3.21961 11.0301L6.21961 14.0301C6.36026 14.1707 6.551 14.2497 6.74988 14.2497C6.94876 14.2497 7.1395 14.1707 7.28015 14.0301L15.5302 5.78011C15.6385 5.67476 15.7126 5.53913 15.7425 5.39099C15.7725 5.24285 15.757 5.08912 15.6981 4.94993C15.6392 4.81074 15.5396 4.69259 15.4124 4.61097C15.2852 4.52935 15.1363 4.48806 14.9852 4.49251Z",fill:o.r.colors.primaryBase})}),children:(0,i.tZ)(s.T,{c:o.r.colors.primaryBase,children:d({id:"together.embed.topicCard.joinDiscussion",defaultMessage:"Join Discussion"})})})})]})},CommunityBanner=e=>{let t=(0,y.d)();return e.isRevamp?(0,i.tZ)(Revamp,{...e}):t?(0,i.tZ)(Mobile,{...e}):(0,i.tZ)(Desktop,{...e})}},I1O0:function(e,t,a){a.r(t),a.d(t,{default:function(){return v}});var i=a("BGKE"),r=a("q1tI"),n=a("oZWv"),o=a("XDLp"),l=a("h8tX"),c=a("Eso5"),s=a("Iblh"),d=a("dDsW"),h=a("VDZw"),p=a("Y5X8"),m=a("/npG"),u=a("mYVa"),g=(0,m.k)((e,t)=>{let{backgroundColor:a,desktopImage:i,mobileImage:r,buttonColor:n}=t;return{root:{backgroundColor:a||e.colors.blue[0],borderRadius:(0,u.h)(8),padding:(0,u.h)(16),[e.fn.largerThan("sm")]:{padding:(0,u.h)(40)}},modalBody:{backgroundColor:"transparent",padding:0},modalContent:{backgroundColor:"transparent",overflow:"hidden"},wrapper:{position:"relative",zIndex:1,display:"flex",flexDirection:"column",justifyContent:"space-between",gap:16,width:"calc(100% - 120px)",borderRadius:(0,u.h)(8),minHeight:(0,u.h)(200),[e.fn.largerThan("sm")]:{maxWidth:(0,u.h)(344),minHeight:(0,u.h)(240)}},bg:{position:"absolute",bottom:0,right:0,zIndex:0,width:(0,u.h)(132),height:(0,u.h)(180),backgroundImage:"url(".concat(r||p.C.getAssetPath("sc-pages/doctor-mobile.png"),")"),backgroundSize:"contain",backgroundRepeat:"no-repeat",backgroundPosition:"center right",[e.fn.largerThan("sm")]:{backgroundImage:"url(".concat(i||p.C.getAssetPath("sc-pages/doctor.png"),")"),right:(0,u.h)(40),width:(0,u.h)(320),height:(0,u.h)(320)}},info:{display:"flex",flexDirection:"column",gap:(0,u.h)(8)},heading:{textTransform:"uppercase"},content:{},exit:{position:"absolute",right:(0,u.h)(10),top:(0,u.h)(10),zIndex:1,backgroundColor:e.fn.lighten(n||e.fn.primaryColor(),.75),borderRadius:(0,u.h)(8),padding:"".concat((0,u.h)(5)," ").concat((0,u.h)(8))},exitText:{}}}),v=(0,r.forwardRef)((e,t)=>{let{title:a,message:p,messageColor:m,backgroundColor:u,buttonColor:v,titleColor:f,desktopImage:x,mobileImage:y,styles:b,className:C,classNames:w,onChange:Z,onItemClick:k,defaultSection:B,ctaBtn:T,...N}=e,{formatMessage:E}=(0,d.Z)(),[z,L]=(0,r.useState)(""),[A,{open:M,close:F}]=(0,s.q)(!1),{classes:I,cx:S,theme:D}=g({backgroundColor:u,desktopImage:x,mobileImage:y,buttonColor:v},{name:"ConfirmLeavePage",styles:b,classNames:w}),[X,R]=(0,r.useState)(),j=(null==T?void 0:T.label)&&(null==T?void 0:T.url),q=X||B,W=(0,r.useCallback)(e=>{e.preventDefault();let t=e.target.closest("a");t&&(M(),L(t.getAttribute("href")),null==Z||Z(!0))},[]);return(0,r.useImperativeHandle)(t,()=>({setSuggestSection:R})),(0,r.useEffect)(()=>(document.querySelectorAll('#navigation-v2 a:not([data-banner-navigate="true"]), footer a').forEach(e=>{e.addEventListener("click",W)}),()=>{document.querySelectorAll('#navigation-v2 a:not([data-banner-navigate="true"]), footer a').forEach(e=>e.removeEventListener("click",W))}),[]),(0,i.tZ)(i.HY,{children:(0,i.tZ)(l.u,{classNames:{body:I.modalBody,content:I.modalContent},opened:A,onClose:()=>{F(),null==Z||Z(!1)},centered:!0,zIndex:500,size:744,title:"",withCloseButton:!1,children:(0,i.BX)(c.x,{className:S(I.root,C),...N,children:[(0,i.BX)(c.x,{className:I.wrapper,children:[(0,i.BX)(c.x,{className:I.info,children:[(0,i.tZ)(n.T,{size:"h1",as:"h3",color:f||D.colors.blue[7],className:I.heading,children:a}),(0,i.tZ)(n.T,{className:I.content,size:"s1",color:m,children:p})]}),(0,i.tZ)(c.x,{children:(0,i.tZ)(o.B,{variant:"primary",color:v,...null==q?void 0:q.btnTracking,...j&&{dataEventAction:"".concat(T.label," - Intent popup"),dataEventLabel:T.url},onClick:()=>{j?T.url.startsWith("#")?window.location.href=T.url:window.open(T.url):(null==q?void 0:q.hash)&&(null==k||k(q.hash)),F()},children:j?T.label:(null==q?void 0:q.cta)||""})})]}),(0,i.tZ)(c.x,{className:I.exit,component:"a",href:z,children:(0,i.BX)(n.T,{size:"s4",color:v||D.colors.blue[7],className:I.exitText,children:[(0,i.tZ)(c.x,{sx:{display:"inline-block",verticalAlign:"middle"},onClick:()=>{F()},children:E({id:"confirmLeavingPopup.exit",defaultMessage:"Exit"})})," ",(0,i.tZ)(h.Z,{size:18,color:"currentColor",style:{verticalAlign:"middle"}})]})}),(0,i.tZ)(c.x,{className:I.bg})]})})})})},UcrG:function(e,t,a){a.d(t,{W:function(){return CountDownTimer}});var i=a("BGKE"),r=a("q1tI"),n=a("oZWv"),o=a("Eso5"),l=a("nCpW"),c=a("Wgwc"),s=a.n(c),d=a("dDsW"),h=a("H+I9"),p=(0,a("/npG").k)((e,t)=>{let{isEnd:a,hasUnit:i}=t;return{root:{backgroundColor:a?e.colors.gray[1]:"#FAF4E6",display:"flex",alignItems:"center",borderRadius:8,justifyContent:"space-between",padding:4},heading:{flexGrow:1,textAlign:"center",textTransform:"uppercase",padding:"0 10px"},listing:{display:"flex",alignItems:"center",...i&&{marginBottom:10}},item:{position:"relative",width:35,height:32,borderRadius:4,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",backgroundColor:a?"#BFBFBF":"#FDC42D"},divider:{"&:before":{content:'":"',display:"inline-block",marginLeft:4,marginRight:4},"&:first-child":{"&:before":{content:"none"}}},text:{fontWeight:600,textAlign:"center"},unit:{position:"absolute",left:0,right:0,top:"100%",textAlign:"center"}}});let CountDownTimer=e=>{let{endDate:t,onEnd:a,label:c,hasUnit:m,styles:u,classNames:g,className:v}=e,{formatMessage:f}=(0,d.Z)(),[x,y]=(0,r.useState)(0),[b,C]=(0,r.useState)(!1),{classes:w,cx:Z}=p({isEnd:b,hasUnit:m},{name:"CountDownTimer",styles:u,classNames:g}),k=(0,l.Y)(()=>y(e=>e+1),1e3),B=(0,r.useMemo)(()=>{let e=s().duration(s()(t).diff(s()()));return 1>Math.round(e.asSeconds())?(C(!0),null==a||a(),k.stop(),{day:0,hour:0,minute:0,second:0}):{day:Math.round(e.days()),hour:Math.round(e.hours()),minute:Math.round(e.minutes()),second:Math.round(e.seconds())}},[x]);return(0,r.useEffect)(()=>(k.start(),k.stop),[]),(0,i.BX)(o.x,{className:Z(v,w.root),children:[(0,i.tZ)(n.T,{size:"s4",className:w.heading,children:b?f({id:"common.ended"}):c||f({id:"common.startIn"})}),(0,i.BX)(o.x,{className:w.listing,children:[(0,i.BX)(o.x,{className:w.item,children:[(0,i.tZ)("span",{className:w.text,children:(0,h.yu)(B.day)}),m&&(0,i.tZ)("span",{className:w.unit,children:f({id:"common.day"})})]}),(0,i.tZ)(o.x,{className:w.divider}),(0,i.BX)(o.x,{className:w.item,children:[(0,i.tZ)("span",{className:w.text,children:(0,h.yu)(B.hour)}),m&&(0,i.tZ)("span",{className:w.unit,children:f({id:"common.hour"})})]}),(0,i.tZ)(o.x,{className:w.divider}),(0,i.BX)(o.x,{className:w.item,children:[(0,i.tZ)("span",{className:w.text,children:(0,h.yu)(B.minute)}),m&&(0,i.tZ)("span",{className:w.unit,children:f({id:"common.minute"})})]}),(0,i.tZ)(o.x,{className:w.divider}),(0,i.BX)(o.x,{className:w.item,children:[(0,i.tZ)("span",{className:w.text,children:(0,h.yu)(B.second)}),m&&(0,i.tZ)("span",{className:w.unit,children:f({id:"common.second"})})]})]})]})}},"RO+5":function(e,t,a){a.d(t,{tl:function(){return CtaAnimatedButton}});var i=a("BGKE"),r=a("q1tI"),n=a("oZWv"),o=a("W3Sf"),l=a("R9x8"),c=a("BayB"),s=a("33Gn"),d=a("77Rl"),h=a("zpUh"),p=a("E3fB"),m=a("5hJC"),u=a("uhFz"),g=a("SwZC"),v=a("9Rlq"),f=a("U46Q"),x=a("8vDj"),y=a("lSJj"),b=a("mYVa"),C=a("Eso5"),w=a("T2a8"),Z=a("lrkW"),k=a("/Ds5");function CtaPillPlatformIcon(e){let{kind:t,size:a=18,color:r="currentColor"}=e;switch(t){case"facebook":return(0,i.tZ)(l.Z,{size:a,color:r});case"instagram":return(0,i.tZ)(c.Z,{size:a,color:r});case"line":return(0,i.tZ)(s.Z,{size:a,color:r});case"linkedin":return(0,i.tZ)(d.Z,{size:a,color:r});case"messenger":return(0,i.tZ)(h.Z,{size:a,color:r});case"telegram":return(0,i.tZ)(p.Z,{size:a,color:r});case"twitter":return(0,i.tZ)(m.Z,{size:a,color:r});case"wechat":return(0,i.tZ)(u.Z,{size:a,color:r});case"whatsapp":return(0,i.tZ)(g.Z,{size:a,color:r});case"youtube":return(0,i.tZ)(v.Z,{size:a,color:r});case"zalo":return(0,i.tZ)(f.Z,{size:a,color:r});default:return null}}let B="".concat(-24,"px"),T="".concat(-22,"px"),N=[.4,0,.2,1],E=function(e,t,a,i){let r=3*e-3*a+1,n=3*a-6*e,o=3*e,l=3*t-3*i+1,c=3*i-6*t,s=3*t,sampleCurveX=e=>((r*e+n)*e+o)*e,sampleCurveY=e=>((l*e+c)*e+s)*e,sampleCurveDerivativeX=e=>(3*r*e+2*n)*e+o,solveCurveX=e=>{let t=e;for(let a=0;a<8;a++){let a=sampleCurveX(t)-e;if(1e-6>Math.abs(a))return t;let i=sampleCurveDerivativeX(t);if(1e-6>Math.abs(i))break;t-=a/i}let a=0,i=1;t=.5;for(let r=0;r<10;r++){let r=sampleCurveX(t);if(1e-6>Math.abs(r-e))break;e>r?a=t:i=t,t=(a+i)/2}return t};return e=>0===e||1===e?e:sampleCurveY(solveCurveX(e))}(.4,0,.2,1),z={duration:6.924,times:[0,.43327556325823224,.5,.9332755632582322,1],ease:N,repeat:1/0,repeatType:"loop"},L={type:"tween",duration:.462,ease:N},A=462,M=3e3,CtaAnimatedButton=e=>{let{href:t,pillLabel:a,ctaBtnText:l,showPillIcon:c,branchKind:s,startContent:d,isActive:h=!1,target:p="_blank",rel:m="noopener noreferrer"}=e,u=(0,x.rZ)(),g=(0,w.a)("(min-width: ".concat(u.breakpoints.sm,")"),!0),[v,f]=(0,r.useState)(!1);(0,r.useEffect)(()=>{g||f(!1)},[g]);let F=(0,r.useRef)(0),I=(0,r.useRef)(void 0),S=(0,r.useRef)(null),D=(0,r.useRef)(!1);(0,r.useLayoutEffect)(()=>{let e=I.current;h?(f(!1),S.current=null,!0!==e&&(D.current=!1)):!0===e&&!h&&c&&g&&(S.current=F.current,f(!0)),I.current=h},[h,g,c]);let X=(0,r.useMemo)(()=>g?-24:-22,[g]),R=(0,Z._)(),j=(0,Z._)(),q=(0,Z._)(),W=(0,Z._)(),H=(0,r.useRef)(null),U=(0,r.useRef)(null);return(0,r.useEffect)(()=>{if(c||!g){U.current&&(clearTimeout(U.current),U.current=null),W.stop(),g||W.set({x:0});return}let e=!1,sleep=e=>new Promise(t=>{U.current=setTimeout(()=>{U.current=null,t()},e)}),runBurst=async()=>{let t=performance.now()+3e3;for(;!e&&performance.now(){for(;!e&&(await runBurst(),!e);)await sleep(3e3)};return loop(),()=>{e=!0,U.current&&(clearTimeout(U.current),U.current=null),W.stop()}},[W,g,c]),(0,r.useEffect)(()=>{if(!h&&!v){if(R.stop(),j.stop(),q.stop(),!g){c&&(R.set({opacity:1,scale:1}),j.set({x:0}),q.set({opacity:0,scale:.35}));return}c&&(F.current=0,R.start({opacity:[1,1,0,0,1],scale:[1,1,.35,.35,1],transition:z}),j.start({x:[0,0,X,X,0],transition:z}),q.start({opacity:[0,0,1,1,0],scale:[.35,.35,1,1,.35],transition:z}))}},[q,R,j,h,v,g,c,X]),(0,r.useEffect)(()=>{if(!g||!h||!c)return;let e=H.current,t=function(e){let t=e&&"function"==typeof e.getAnimations&&e.getAnimations().length>0,a=t?function(e){if(!e||"function"!=typeof e.getAnimations)return 0;let t=e.getAnimations(),a=t[0];if(!a||null===a.currentTime)return 0;let i=Number(a.currentTime);if(!Number.isFinite(i))return 0;let r=i%6924;return r<0&&(r+=6924),r}(e):M;return a=3462?3462:a}(e);R.stop(),j.stop(),q.stop();let snapState2=()=>{F.current=1,D.current=!0,c?(R.set({opacity:0,scale:.35}),j.set({x:X})):j.set({x:0}),q.set({opacity:1,scale:1})};if(t>=3461.999999){snapState2();return}let a=A>0?Math.max(0,Math.min(1,(t-M)/A)):1;if(a>=1-1e-6){snapState2();return}let i=!1,r=0,n=0,o=performance.now(),cancelFrames=()=>{r&&cancelAnimationFrame(r),n&&cancelAnimationFrame(n),r=0,n=0};return a<=1e-6?((()=>{let step=()=>{if(i)return;let e=t+(performance.now()-o),a=Math.min(1,Math.max(0,A>0?(e-M)/A:1));F.current=a>=1-1e-6?1:a,a>=1-1e-6||(r=requestAnimationFrame(step))};r=requestAnimationFrame(step)})(),Promise.all([R.start({opacity:[1,0],scale:[1,.35],transition:L}),j.start({x:[0,X],transition:L}),q.start({opacity:[0,1],scale:[.35,1],transition:L})]).then(()=>{i||(F.current=1,D.current=!0,cancelFrames(),snapState2())}).catch(()=>void 0)):(()=>{let tick=()=>{if(i)return;let e=t+(performance.now()-o);if(A<=0||e>=3461.999999){snapState2();return}let a=Math.min(1,Math.max(0,(e-M)/A));F.current=a>=1-1e-6?1:a;let r=E(a);if(R.set({opacity:1+-1*r,scale:1+-.65*r}),j.set({x:0+(X-0)*r}),q.set({opacity:0+1*r,scale:.35+.65*r}),r>=1-1e-6){snapState2();return}n=requestAnimationFrame(tick)};n=requestAnimationFrame(tick)})(),()=>{i=!0,cancelFrames(),R.stop(),j.stop(),q.stop()}},[q,R,j,h,g,c,X]),(0,r.useEffect)(()=>{var e;if(!g||!v||!c)return;R.stop(),j.stop(),q.stop();let snapState1=()=>{F.current=0,D.current=!1,S.current=null,R.set({opacity:1,scale:1}),j.set({x:0}),q.set({opacity:0,scale:.35}),f(!1)},t=null!==(e=S.current)&&void 0!==e?e:F.current,a=Math.max(t,F.current);a<=1e-6&&D.current&&(a=1,F.current=1);let i=a>=.96;if(a<=1e-6){snapState1();return}let r=!1,n=0,cancelFrames=()=>{n&&cancelAnimationFrame(n),n=0};if(!i){let e=performance.now(),t=a,i=t*A,tickReverse=()=>{if(r)return;let a=performance.now()-e;if(a>=i-1e-6){snapState1();return}let o=t*(1-a/i);F.current=o;let l=E(o);R.set({opacity:1+-1*l,scale:1+-.65*l}),j.set({x:0+(X-0)*l}),q.set({opacity:0+1*l,scale:.35+.65*l}),n=requestAnimationFrame(tickReverse)};return n=requestAnimationFrame(tickReverse),()=>{r=!0,cancelFrames(),R.stop(),j.stop(),q.stop()}}return F.current=1,R.set({opacity:0,scale:.35}),j.set({x:X}),q.set({opacity:1,scale:1}),Promise.all([R.start({opacity:[0,1],scale:[.35,1],transition:L}),j.start({x:[X,0],transition:L}),q.start({opacity:[1,0],scale:[1,.35],transition:L})]).then(()=>{r||(cancelFrames(),snapState1())}).catch(()=>void 0),()=>{r=!0,cancelFrames(),R.stop(),j.stop(),q.stop()}},[q,R,j,v,g,c,X]),(0,i.tZ)(y.k,{component:"a",href:t,target:p,rel:m,"data-cta-hover":h?"true":void 0,"data-cta-active":h?"true":void 0,"data-cta-simple":c?void 0:"true","data-event-category":"Embedded video on article","data-event-action":"Click on Video","data-event-label":t,sx:{display:"block",width:"100%",textAlign:"left",textDecoration:"none",color:"inherit",backgroundColor:u.colors.neutral[0],padding:"".concat((0,b.h)(10)," ").concat((0,b.h)(16)),[u.fn.smallerThan("sm")]:{padding:"".concat((0,b.h)(8)," ").concat((0,b.h)(16)),WebkitTapHighlightColor:"transparent","&:active .social-video-cta-pill":{backgroundColor:u.colors.blue[6],color:u.white,transition:"none"}},border:"none",borderTop:"none",cursor:"pointer",transition:"background-color 0.2s ease",[u.fn.largerThan("sm")]:{'&[data-cta-hover="true"]':{userSelect:"none",WebkitUserSelect:"none","& *":{userSelect:"none",WebkitUserSelect:"none"}},'&[data-cta-hover="true"][data-cta-simple="true"] .social-video-cta-pill':{backgroundColor:u.colors.blue[6],color:u.white,transform:"none",boxShadow:"none",transition:"background-color 0.2s ease, color 0.2s ease"},'&[data-cta-hover="true"]:not([data-cta-simple="true"]) .social-video-cta-pill':{backgroundColor:u.colors.blue[6],color:u.white,transform:"translateY(-1px)",boxShadow:"none",transition:"transform ".concat(462,"ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow ").concat(462,"ms cubic-bezier(0.4, 0, 0.2, 1), background-color ").concat(462,"ms cubic-bezier(0.4, 0, 0.2, 1), color ").concat(462,"ms cubic-bezier(0.4, 0, 0.2, 1)")}}},children:(0,i.BX)(C.x,{sx:{display:"flex",alignItems:"center",gap:(0,b.h)(12),[u.fn.smallerThan("sm")]:{gap:(0,b.h)(8)},justifyContent:d?void 0:"flex-end"},children:[d,(0,i.tZ)(C.x,{className:"social-video-cta-pill",sx:{"--cta-text-shift":B,position:"relative",flexShrink:0,display:"inline-flex",alignItems:"center",justifyContent:"flex-start",overflow:"visible",padding:"".concat((0,b.h)(8)," ").concat((0,b.h)(14)),borderRadius:(0,b.h)(12),backgroundColor:u.colors.neutral[1],color:u.colors.gray[8],fontSize:(0,b.h)(14),fontWeight:600,lineHeight:1.2,...c?{transition:"transform ".concat(462,"ms cubic-bezier(0.4, 0, 0.2, 1), background-color ").concat(462,"ms cubic-bezier(0.4, 0, 0.2, 1), color ").concat(462,"ms cubic-bezier(0.4, 0, 0.2, 1)")}:{display:"flex",alignItems:"center",transition:"background-color 0.2s ease, color 0.2s ease"},[u.fn.smallerThan("sm")]:{"--cta-text-shift":T,padding:"".concat((0,b.h)(6)," ").concat((0,b.h)(14)),borderRadius:(0,b.h)(12),fontSize:(0,b.h)(12),transition:"none"}},children:c?(0,i.BX)(i.HY,{children:[(0,i.BX)(C.x,{sx:{display:"flex",alignItems:"center",justifyContent:"flex-start",flexShrink:0,minWidth:0,maxWidth:"100%",overflow:"visible",gap:(0,b.h)(2),[u.fn.smallerThan("sm")]:{gap:(0,b.h)(2)}},children:[(0,i.tZ)(C.x,{"aria-hidden":!0,sx:{width:(0,b.h)(22),minWidth:(0,b.h)(22),flexShrink:0,display:"flex",alignItems:"center",justifyContent:"flex-start",overflow:"visible",[u.fn.smallerThan("sm")]:{width:(0,b.h)(20),minWidth:(0,b.h)(20)}},children:(0,i.tZ)(C.x,{component:k.E.div,className:"social-video-cta-icon",animate:!!g&&R,initial:{opacity:1,scale:1},sx:{flexShrink:0,display:"inline-flex",alignItems:"center",justifyContent:"center",overflow:"visible",transformOrigin:"center center",backfaceVisibility:"hidden",willChange:g?"transform, opacity":void 0,"& svg":{display:"block",flexShrink:0,width:(0,b.h)(18),height:(0,b.h)(18)},[u.fn.smallerThan("sm")]:{"& svg":{width:(0,b.h)(16),height:(0,b.h)(16)}}},children:(0,i.tZ)(CtaPillPlatformIcon,{kind:s,size:18,color:"currentColor"})})}),(0,i.tZ)(C.x,{component:k.E.div,className:"social-video-cta-text",animate:!!g&&j,initial:{x:0},sx:{display:"inline-flex",alignItems:"center",justifyContent:"flex-start",flexShrink:0,minWidth:0,textAlign:"left",backfaceVisibility:"hidden",willChange:g?"transform":void 0},children:(0,i.tZ)(n.T,{size:"p2",weight:"halfBold",sx:{color:"inherit",textAlign:"left",[u.fn.smallerThan("sm")]:{fontSize:(0,b.h)(12)}},children:l||a})})]}),(0,i.tZ)(C.x,{"aria-hidden":!0,sx:{position:"absolute",right:(0,b.h)(10),top:"50%",transform:"translateY(-50%)",display:"flex",alignItems:"center",justifyContent:"center",lineHeight:0,pointerEvents:"none",[u.fn.smallerThan("sm")]:{right:(0,b.h)(6)}},children:(0,i.tZ)(C.x,{ref:H,component:k.E.span,className:"social-video-cta-arrow",animate:!!g&&q,initial:{opacity:0,scale:.35},sx:{display:"inline-flex",alignItems:"center",justifyContent:"center",transformOrigin:"center center",backfaceVisibility:"hidden",willChange:g?"transform, opacity":void 0,"& svg":{width:(0,b.h)(18),height:(0,b.h)(18)},[u.fn.smallerThan("sm")]:{"& svg":{width:(0,b.h)(16),height:(0,b.h)(16)}}},children:(0,i.tZ)(o.Z,{size:18,color:"currentColor"})})})]}):(0,i.BX)(C.x,{sx:{display:"flex",alignItems:"center",gap:(0,b.h)(10),width:"100%",minWidth:0,[u.fn.smallerThan("sm")]:{gap:(0,b.h)(8)}},children:[(0,i.tZ)(C.x,{className:"social-video-cta-text",sx:{flex:1,minWidth:0,display:"block",textAlign:"left"},children:(0,i.tZ)(n.T,{size:"p2",weight:"halfBold",sx:{color:"inherit",textAlign:"left",[u.fn.smallerThan("sm")]:{fontSize:(0,b.h)(12)}},children:l||a})}),(0,i.tZ)(C.x,{component:k.E.span,"aria-hidden":!0,className:"social-video-cta-arrow",animate:!!g&&W,initial:{x:0},sx:{flexShrink:0,display:"inline-flex",alignItems:"center",justifyContent:"center",lineHeight:0,transformOrigin:"center center",willChange:g?"transform":void 0,"& svg":{width:(0,b.h)(18),height:(0,b.h)(18)},[u.fn.smallerThan("sm")]:{"& svg":{width:(0,b.h)(16),height:(0,b.h)(16)}}},children:(0,i.tZ)(o.Z,{size:18,color:"currentColor"})})]})})]})})}},YbGd:function(e,t,a){a.d(t,{s:function(){return DropdownSearch}});var i=a("BGKE"),r=a("q1tI"),n=a("rBCA"),o=a("bk1f"),l=a("iBNF");let c=(0,n.Z)("div",{target:"e84i48q0"})("position:relative;border:1px solid ",l.r.colors.gray200,";background-position:right 16px center;border-radius:",l.r.borderRadius,";&[data-has-icons='true']{border:none;img,svg{display:inline-block;max-width:16px;}span{display:inline-block;vertical-align:middle;}&:hover{box-shadow:none;}> div{position:relative;display:flex;width:100%;box-sizing:border-box;align-items:center;}> div::after{position:absolute;z-index:0;padding:8px 16px;}&[data-is-open='false']{> div::after{top:50%;right:0;width:52px;height:36px;background-image:url(\"data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.99968 11.7259L6.81551 8.54171C6.47051 8.19671 5.91051 8.19671 5.56551 8.54171C5.22051 8.88671 5.22051 9.44671 5.56551 9.79171L9.41051 13.6367C9.73635 13.9625 10.2638 13.9625 10.5888 13.6367L14.4338 9.79171C14.7788 9.44671 14.7788 8.88671 14.4338 8.54171C14.0888 8.19671 13.5288 8.19671 13.1838 8.54171L9.99968 11.7259Z' fill='%23595959'/%3E%3C/svg%3E%0A\");background-position:center;background-repeat:no-repeat;content:'';transform:translateY(-50%);}}&[data-is-open='true']{> div::after{top:50%;right:0;width:52px;height:36px;background-image:url(\"data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1.66675 10.0001C1.66675 5.39175 5.39175 1.66675 10.0001 1.66675C14.6084 1.66675 18.3334 5.39175 18.3334 10.0001C18.3334 14.6084 14.6084 18.3334 10.0001 18.3334C5.39175 18.3334 1.66675 14.6084 1.66675 10.0001ZM12.4084 13.5834C12.7334 13.9084 13.2584 13.9084 13.5834 13.5834C13.9001 13.2584 13.9001 12.7251 13.5834 12.4084L11.1751 10.0001L13.5834 7.59175C13.9084 7.26675 13.9084 6.74175 13.5834 6.41675C13.2584 6.09175 12.7334 6.09175 12.4084 6.41675L10.0001 8.82508L7.59175 6.41675C7.26675 6.09175 6.74175 6.09175 6.41675 6.41675C6.2607 6.57244 6.17301 6.78382 6.17301 7.00425C6.17301 7.22468 6.2607 7.43606 6.41675 7.59175L8.82508 10.0001L6.41675 12.4084C6.2607 12.5641 6.17301 12.7755 6.17301 12.9959C6.17301 13.2163 6.2607 13.4277 6.41675 13.5834C6.74175 13.9084 7.26675 13.9084 7.59175 13.5834L10.0001 11.1751L12.4084 13.5834Z' fill='%238C8C8C'/%3E%3C/svg%3E%0A\");background-position:center;background-repeat:no-repeat;content:'';transform:translateY(-50%);}}}&:hover{box-shadow:0 0 2px 2px ",l.r.colors.primary200,";}"),s=(0,n.Z)("div",{target:"e84i48q1"})("cursor:pointer;&[data-dropdown-open]{padding:11px 15px 11px 15px;border:1px solid ",l.r.colors.primaryBase,";border-radius:",l.r.borderRadius,";box-shadow:0 0 2px 2px ",l.r.colors.primary200,";}"),d=(0,n.Z)("ul",{target:"e84i48q2"})("position:absolute;z-index:100;top:100%;right:0;left:0;display:block;max-height:500px;margin-top:4px;background:",l.r.colors.white,";border-radius:",l.r.borderRadius,";box-shadow:-1px 1px 2px rgba(67,70,74,0.0001),-2px 2px 5px rgba(67,86,100,0.123689);cursor:pointer;overflow-y:auto;&[data-has-icons='true']{border:1px solid ",l.r.colors.gray200,";background:white;box-shadow:none;filter:drop-shadow(0px 10px 16px rgba(0,0,0,0.04));}"),h=(0,n.Z)("li",{target:"e84i48q3"})("display:flex;width:100%;align-items:center;justify-content:flex-start;padding:6px 18px 6px 16px;&:hover,:active{background:",l.r.colors.gray100,";}.dropdown-label{line-height:20px;}&[data-disabled='true']{cursor:not-allowed;color:#bfbfbf;& > *{pointer-events:none;}}"),p=(0,n.Z)("div",{target:"e84i48q4"})("width:24px;height:24px;flex-shrink:0;"),m=(0,n.Z)(o.a,{target:"e84i48q5"})("input[data-icon='true']{padding-right:36px;padding-left:48px;}.displayIcon{img{width:24px;max-width:unset;height:24px;}}"),DropdownSearch=e=>{let{className:t,style:a,id:n,placeholder:o,placeholderIcon:l,onChange:u,value:g,options:v,dropdownLabelTrackingAttributes:f,disabled:x,onSearchChange:y,useSearchFilter:b=!0,onFocus:C,hasIcons:w=!0,keepSearch:Z=!1,...k}=e,[B,T]=(0,r.useState)(""),[N,E]=(0,r.useState)(!1),z=(0,r.useRef)(null),filterOptions=(e,t)=>{let a="".concat(t).toLowerCase();return e.filter(e=>"".concat(e.value).toLowerCase().includes(a)||"".concat(e.label).toLowerCase().includes(a))},L=(0,r.useMemo)(()=>B&&b?filterOptions(v,B):g?v.filter(e=>e.value!==g.value):v,[B,v,g]);return(0,i.BX)(c,{className:t,"data-dropdown-open":N||void 0,id:n,"data-has-icons":!0,"data-is-open":N,ref:z,onBlur:function(e){(!e.relatedTarget||"id"in e.relatedTarget&&e.relatedTarget.id!==n)&&E(!1)},style:a,tabIndex:0,...k,children:[(0,i.tZ)(s,{onClick:e=>{var t,a;(null===(a=e.target)||void 0===a?void 0:null===(t=a.getAttribute)||void 0===t?void 0:t.call(a,"data-is-open"))==="true"&&(T(""),u(null,""),null==y||y("")),x||E(!0)},"data-is-open":N,...f,children:(0,i.tZ)(m,{"data-icon":w,name:"dropdown-input",displayIcon:l,size:"md",onChange:e=>{u(null,e),T(e),null==y||y(B)},placeholder:o,value:g&&g.value?"".concat(g.label):B,isDisabled:x,onFocus:()=>{null==C||C()},onBlur:()=>{Z||setTimeout(()=>{T("")},300)},...f})}),N&&L.length>0&&(0,i.tZ)(d,{onClick:e=>{var t,a;(null===(a=e.target)||void 0===a?void 0:null===(t=a.getAttribute)||void 0===t?void 0:t.call(a,"data-is-open"))==="true"&&(T(""),u(null,"")),x||E(!N)},className:"dropdown-option","data-has-icons":w,children:L.map(e=>(0,i.BX)(h,{"data-selected":g&&g.value===e.value||void 0,onClick:()=>{e.disabled||x||null==u||u(e,e.value)},"data-disabled":!!e.disabled&&e.disabled,children:[e.icon&&(0,i.tZ)(p,{className:"option-icon",children:e.icon}),(0,i.tZ)("div",{className:"dropdown-label",children:e.label})]},"".concat(n,"-").concat(e.value)))})]})}},"t1+Z":function(e,t,a){a.d(t,{H6:function(){return c},Xc:function(){return o},YP:function(){return s},wh:function(){return l}});var i=a("rBCA"),r=a("iBNF"),n=a("Efqo");let o=(0,i.Z)("div",{target:"e11mfqw70"})("display:block;"),l=(0,i.Z)("div",{target:"e11mfqw71"})("position:relative;display:flex;align-items:center;justify-content:space-between;cursor:pointer;"),c=(0,i.Z)("div",{target:"e11mfqw72"})("padding:12px;background:",r.r.colors.neutral50,";border-radius:",r.r.borderRadius,";",n.M.mbUp,"{padding:1rem;}p{font-size:16px;font-style:normal;font-weight:normal;line-height:24px;}"),s=(0,i.Z)("div",{target:"e11mfqw73"})("overflow:hidden;height:0;transition:height 0.4s ease;margin-top:8px;overflow-wrap:anywhere;&[data-expand='true']{margin-bottom:0.5rem;",n.M.mbUp,"{margin-bottom:1rem;}}")},"+xBH":function(e,t,a){a.d(t,{l:function(){return ExpandedCard}});var i=a("BGKE"),r=a("q1tI"),n=a("uwjA"),o=a("CJtR"),l=a("WFk/"),c=a("Q7Fe"),s=a("P5LW"),d=a("NA5z"),h=a.n(d),p=a("+Qvv"),m=a.n(p),u=a("t1+Z");let ExpandedCard=e=>{let{title:t,content:a,contentString:d,isMobile:p,iconPosition:g,className:v,style:f,defaultExpand:x,isExpand:y,onChange:b,dataEventCategory:C,dataEventAction:w,dataEventLabel:Z,richTextProps:k}=e,{locale:B,router:T}=(0,s.h)(),[N,E]=(0,r.useState)(y||!1),[z,L]=(0,r.useState)(0),A=(0,r.useRef)(null);return(0,r.useEffect)(()=>{x&&setTimeout(()=>{E(x)},100)},[]),(0,r.useEffect)(()=>{var e;E(!!y),L((null===(e=A.current)||void 0===e?void 0:e.clientHeight)||0)},[y]),(0,i.BX)(u.Xc,{className:v,style:f,children:[(0,i.BX)(u.wh,{onClick:()=>{b?b(!N):E(e=>!e)},"data-event-category":C||"Expand Info","data-event-action":w||"Click","data-event-label":Z||(0,o.jw)({locale:B,slug:T.asPath}),children:[(0,i.tZ)("div",{style:{position:"absolute",right:"right"===g?0:"unset",left:"left"===g?0:"unset",display:"flex"},children:N?(0,i.tZ)(h(),{width:p?"16":"20",viewBox:"0 0 12 3"}):(0,i.tZ)(m(),{width:p?"16":"20",viewBox:"0 0 16 16"})}),(0,i.tZ)("div",{style:{flex:1,paddingRight:"right"===g?"28px":"0"},children:"string"==typeof t?(0,i.tZ)(n.T,{size:"p2",type:N?"bold":"regular",children:(0,i.tZ)(l.U,{children:t})}):t})]}),(0,i.BX)(u.YP,{"data-expand":N,style:N?{height:z+8}:{},children:[d?(0,i.tZ)(u.H6,{ref:A,children:(0,i.tZ)(c.G,{content:d,...k})}):null,!d&&a?(0,i.tZ)(u.H6,{ref:A,children:a}):null]})]})}},GO43:function(e,t,a){a.d(t,{B:function(){return ExpertAuthorCard}});var i=a("BGKE"),r=a("ake8"),n=a("/TW2"),o=a("StZb"),l=a("XDLp"),c=a("oZWv"),s=a("dHcq"),d=a("SPK5"),h=a("OAL+"),p=a("Eso5"),m=a("dDsW"),u=a("hXNO"),g=a("rIrU");let ExpertAuthorCard=e=>{let{expert:t}=e,{formatMessage:a}=(0,m.Z)(),v=(0,u.d)();return(0,i.tZ)(s.Z,{padding:8,pb:22,radius:16,sx:{border:"2px solid ".concat(n.t.neutral[0])},children:(0,i.BX)(d.k,{gap:24,children:[(0,i.tZ)("div",{children:(0,i.tZ)(o.A,{src:t.avatarThumbnail,withIndicator:!0,indicatorConfig:{size:18,label:(0,i.tZ)("img",{loading:"lazy",width:"18",height:"18",src:"".concat(g.Nr,"/article-").concat(t.role,".svg"),alt:""})}})}),(0,i.BX)(h.K,{spacing:8,w:"100%",pr:14,children:[(0,i.BX)(d.k,{justify:"space-between",align:"center",children:[(0,i.tZ)(r.H,{tag:"h5",children:t.displayName}),!v&&(0,i.tZ)(l.B,{variant:"ghost",size:"sm",compact:!0,rightIcon:(0,i.tZ)("svg",{width:"19",height:"18",viewBox:"0 0 19 18",fill:"none",children:(0,i.tZ)("path",{d:"M7.45117 13.5L11.9512 9L7.45117 4.5",stroke:"#2D87F3","stroke-width":"1.75","stroke-linecap":"round","stroke-linejoin":"round"})}),children:(0,i.tZ)("a",{href:t.profileUrl,children:a({id:"expert.content.readMore",defaultMessage:"View Profile"})})})]}),((null==t?void 0:t.organisation)||(null==t?void 0:t.specialty))&&(0,i.tZ)(p.x,{component:(null==t?void 0:t.organisationUrl)?"a":"span",href:null==t?void 0:t.organisationUrl,...(null==t?void 0:t.organisationUrl)&&{target:"_blank"},children:(0,i.tZ)(c.T,{size:"n1",color:n.t.gray[6],children:(0,i.tZ)("span",{dangerouslySetInnerHTML:{__html:"".concat((null==t?void 0:t.specialty)&&(null==t?void 0:t.specialty)).concat(t.organisation?" \xb7 ".concat(t.organisation,""):"")}})})}),(0,i.tZ)(c.T,{size:"p4",lineClamp:2,color:n.t.gray[4],children:(0,i.tZ)("span",{dangerouslySetInnerHTML:{__html:t.description}})}),v&&(0,i.tZ)(l.B,{variant:"ghost",size:"sm",compact:!0,w:"fit-content",rightIcon:(0,i.tZ)("svg",{width:"19",height:"18",viewBox:"0 0 19 18",fill:"none",children:(0,i.tZ)("path",{d:"M7.45117 13.5L11.9512 9L7.45117 4.5",stroke:"#2D87F3","stroke-width":"1.75","stroke-linecap":"round","stroke-linejoin":"round"})}),p:0,children:(0,i.tZ)("a",{href:t.profileUrl,children:a({id:"expert.content.readMore",defaultMessage:"View Profile"})})})]})]})})}},"w/Id":function(e,t,a){a.d(t,{T:function(){return ExpertRelativeArticleCard}});var i=a("BGKE"),r=a("q1tI"),n=a("iBNF"),o=a("+6Eu"),l=a("dDsW"),c=a("/tR3"),s=a("PEH3"),d=a("ns0B"),h=a.n(d),p=a("YFqc"),m=a.n(p),u=a("09QT"),g=a("oQBk"),v=a("UJaG"),f=a("4QfM"),x=a("iv2E"),y=a("P5LW"),b=a("rIrU"),C=a("o0qI"),w=a("KBam"),Z=a("05Ua"),k=a("uwjA"),B=a("ake8"),T=a("rBCA"),N=a("Efqo");let E=(0,T.Z)("h6",{target:"e1kexjbs0"})("color:",n.r.colors.gray600,";font-size:14px;font-weight:",n.r.sizes.fwBold,";line-height:22px;"),z=(0,T.Z)(m(),{target:"e1kexjbs1"})("display:inline-block;width:100%;height:100%;color:inherit;text-decoration:none;"),L=(0,T.Z)("article",{target:"e1kexjbs2"})("display:flex;width:100%;box-sizing:border-box;padding:16px 16px 16px 0;background-color:",n.r.colors.white,";cursor:pointer;.content{display:flex;width:100%;flex-direction:column;.inner-content{display:flex;flex-direction:column;a{text-decoration:none;}.title a{display:-webkit-box;overflow:hidden;margin-top:4px;-webkit-box-orient:vertical;-webkit-line-clamp:2;}.text{display:-webkit-box;overflow:hidden;max-width:100%;margin-top:4px;-webkit-box-orient:vertical;-webkit-line-clamp:2;}}}.footer{display:flex;.author{width:calc(100% - 20px);}.bookmark{display:flex;width:12px;height:16px;margin-left:8px;cursor:pointer;svg{width:100%;height:100%;}}}.banner{position:relative;min-width:100px;max-width:100px;max-width:100%;height:100%;max-height:100%;border-radius:",n.r.borderRadius,";img{width:100%;height:100%;border-radius:",n.r.borderRadius,";object-fit:cover;object-position:center;pointer-events:none;}}&[data-size='sm'][data-direction='horizontal']{padding:20px 0;.label{margin-bottom:0;}.banner{width:100px;height:100px;margin:0 16px 0 0;",N.M.mbDown,"{min-width:100px;max-width:100px;height:100px;margin:0 16px 0 0;}}.text{display:none;}}&[data-direction='horizontal']{.footer{margin-top:auto;}}&[data-size='md'][data-direction='horizontal']{padding:16px 0;.banner{min-width:200px;max-width:200px;height:150px;margin:0 24px 0 0;}",N.M.mbDown,"{.text{display:none;}.banner{min-width:100px;max-width:100px;height:100px;margin:0 16px 0 0;}.specialty{display:none;}}}&[data-direction='vertical']{flex-direction:column;padding:0 0 0 0;&[data-size='sm']{.banner{height:150px;}.text{display:none;}.title{margin-top:0;margin-bottom:12px;}}&[data-size='lg']{.banner{max-height:312px;",N.M.mbDown,"{max-height:192px;}}.content{margin-top:16px;}.footer{margin-top:16px;}.text{display:-webkit-box;margin-top:8px;margin-bottom:16px;-webkit-box-orient:vertical;-webkit-line-clamp:3;}}.banner{min-width:100%;height:468px;margin:0;}}&[data-is-expert]{.inner-content label.text{display:none;}.specialty > [data-tag='h6']{font-size:13px;font-weight:400;line-height:19px;}&[data-size='md'] .footer .author .avatar{margin-right:8px;}",N.M.mbUp,"{&[data-size='md'] .footer .author .avatar{width:40px;height:40px;margin-right:16px;}}.title{",N.M.mbDown,"{margin-bottom:8px;}}&[data-direction='horizontal']{.footer{margin-top:auto;}}}"),A=(0,T.Z)("div",{target:"e1kexjbs3"})("display:flex;width:100%;flex-direction:row;align-items:center;justify-content:space-between;margin-top:8px;.author{display:flex;align-items:center;.avatar,.expert-avatar{flex-shrink:0;img{width:100%;height:100%;border-radius:50%;}}.poster{display:flex;align-items:center;white-space:pre-wrap;p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;font-weight:400;-webkit-line-clamp:3;a{color:",n.r.colors.gray800,";text-decoration:none;}span{color:",n.r.colors.gray400,";}}}.expert{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;a{text-decoration:none;}}.avatar{width:24px;height:24px;margin-right:8px;",N.M.mbDown,"{margin-right:4px;}&[data-size='lg']{",N.M.mbUp,"{width:32px;height:32px;margin-right:12px;}}}.expert-avatar{",N.M.mbUp,"{width:40px;height:40px;margin-right:16px;}",N.M.mbDown,"{width:32px;height:32px;margin-right:8px;}&[data-size='lg']{",N.M.mbUp,"{width:64px;height:64px;margin-right:16px;}",N.M.mbDown,"{width:40px;height:40px;margin-right:16px;}}}}"),CardAuthor=e=>{let{avatarImg:t,authorName:a,authorLink:r,uploadTime:n,size:o}=e;return(0,i.tZ)(A,{children:(0,i.BX)("div",{className:"author",children:[(0,i.tZ)("div",{className:"avatar","data-size":o,children:t}),(0,i.tZ)("div",{className:"poster",children:(0,i.BX)(k.T,{size:"lg"===o?"p3":"p4",children:[(0,i.BX)(m(),{prefetch:!1,href:r||"",children:[a," •\xa0"]}),(0,i.tZ)("span",{children:n})]})})]})})},CardExpert=e=>{let{isMobile:t,avatarImg:a,name:r,link:o,size:l="lg",specialty:c}=e;return(0,i.tZ)(A,{children:(0,i.BX)("div",{className:"author",children:[(0,i.tZ)("div",{className:"expert-avatar","data-size":l,children:a}),(0,i.tZ)("div",{className:"expert",children:t?(0,i.tZ)(m(),{href:o||"",prefetch:!1,children:(0,i.BX)(i.HY,{children:[(0,i.tZ)(B.H,{tag:"h6",className:"expert__name",color:n.r.colors.gray600,children:r}),(0,i.tZ)(k.T,{color:n.r.colors.gray500,size:"p3",className:"specialty",children:c})]})}):(0,i.tZ)(m(),{href:o||"",prefetch:!1,children:"lg"===l?(0,i.BX)(i.HY,{children:[(0,i.tZ)(B.H,{tag:"h6",className:"expert__name",color:n.r.colors.gray600,children:r}),(0,i.tZ)(k.T,{color:n.r.colors.gray500,size:"p3",className:"specialty",children:c})]}):(0,i.BX)(i.HY,{children:[(0,i.tZ)(E,{color:n.r.colors.gray600,className:"expert__name",children:r}),(0,i.tZ)(k.T,{color:n.r.colors.gray500,size:"p4",className:"specialty",children:c})]})})})]})})},ExpertArticleCard=e=>{let{isMobile:t=!0,direction:a="horizontal",size:r="md",banner:n,isBookmarkDisplayed:o=!1,type:l="author",section:c="normal",onBookmark:s,categoryName:d,styleLabel:h,title:p,styleTitle:u,text:g,specialty:v,avatarImg:f,authorName:x,authorLink:y,articleLink:b,uploadTime:C,isBookmark:w=!1,className:Z,style:T,categoryLink:N,styleBanner:E,dataEventCategoryForCategory:A,dataEventActionForCategory:M,dataEventLabelForCategory:F,dataEventCategoryForTitle:I,dataEventActionForTitle:S,dataEventLabelForTitle:D,dataEventCategoryForBanner:X,dataEventActionForBanner:R,dataEventLabelForBanner:j,dataEventCategoryForBookmark:q,dataEventActionForBookmark:W,dataEventLabelForBookmark:H,onClickCategoryName:U}=e;return(0,i.BX)(L,{className:Z,"data-size":r,style:T,"data-direction":a,"data-is-expert":"expert"===l||void 0,children:[(0,i.tZ)("div",{className:"banner",style:E,children:(0,i.tZ)(z,{href:b||"#","data-event-category":X,"data-event-action":R,"data-event-label":j,children:n})}),(0,i.BX)("div",{className:"content",children:[(0,i.BX)("div",{className:"inner-content",children:[(0,i.BX)("div",{style:{display:"flex",justifyContent:"space-between"},children:[(0,i.tZ)(k.T,{style:h,className:"label",size:t||"home"!==c||"lg"!==r||"author"!==l?"c2":"c1",type:"caption",children:(0,i.tZ)(z,{"data-event-category":A,"data-event-action":M,"data-event-label":F,href:N||"#",onClick:e=>{U&&U(e)},children:d})}),o&&(0,i.tZ)("a",{"data-event-category":q,"data-event-action":W,"data-event-label":H,className:"bookmark",onClick:e=>{e.stopPropagation(),s&&s()},children:w?(0,i.tZ)("svg",{width:"14",height:"18",viewBox:"0 0 14 18",fill:"none",children:(0,i.tZ)("path",{d:"M13 17L7 12.5556L1 17V2.77778C1 2.30628 1.18061 1.8541 1.5021 1.5207C1.82359 1.1873 2.25963 1 2.71429 1H11.2857C11.7404 1 12.1764 1.1873 12.4979 1.5207C12.8194 1.8541 13 2.30628 13 2.77778V17Z",fill:"#2ED69E",stroke:"#2ED69E",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"})}):(0,i.tZ)("svg",{width:"14",height:"18",viewBox:"0 0 14 18",fill:"none",children:(0,i.tZ)("path",{d:"M13 17L7 12.5556L1 17V2.77778C1 2.30628 1.18061 1.8541 1.5021 1.5207C1.82359 1.1873 2.25963 1 2.71429 1H11.2857C11.7404 1 12.1764 1.1873 12.4979 1.5207C12.8194 1.8541 13 2.30628 13 2.77778V17Z",stroke:"#262626",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),(0,i.tZ)(B.H,{tag:"lg"===r&&"expert"===l?"h4":"lg"===r&&"home"===c?t?"h4":"h3":"lg"===r?"h4":"h5",style:u,className:"title",as:"lg"===r?"h2":"h3",children:(0,i.tZ)(z,{href:b||"#","data-event-category":I,"data-event-action":S,"data-event-label":D,children:p})}),g&&(0,i.tZ)(m(),{href:b||"#",prefetch:!1,children:(0,i.tZ)(k.T,{size:"lg"===r?"p3":"p4",className:"text",children:g})})]}),(0,i.tZ)("div",{className:"footer",children:"author"===l?(0,i.tZ)(CardAuthor,{size:r,avatarImg:f,authorName:x,authorLink:y,uploadTime:C}):(0,i.tZ)(CardExpert,{size:r,isMobile:t,avatarImg:f,specialty:v||"",name:x,link:y})})]})]})},ExpertArticleCardWrapper=e=>{let{article:t,avatarImg:a,avatarImgRenderer:n,authorName:o,authorLink:l,title:c,text:d,...p}=e,{state:k,dispatch:B}=(0,r.useContext)(C.I),{userInfo:T}=k||{},{bookmarks:N=[]}=T||{},[E,z]=(0,r.useState)(-1!==N.indexOf(t.id)),[L,A]=(0,r.useState)(!1),{locale:M}=(0,y.h)(),F=(0,f.X4)(t),I=(0,w.kO)({article:t,locale:M,version:"short"}),bookmarkArticle=e=>{if(null==T?void 0:T.id)z(e=>!e),E?(async()=>{let{_status:t}=await (0,u.d)(g.y.SSO.DELETE_BOOKMARK,{method:"DELETE",data:{host_name:x.domainLocales[M],post_ids:[e]}},"sso");1===t&&B({type:Z.H.REMOVE_BOOKMARKS,payload:{bookmarks:[e],bookmarkId:e}})})():(async()=>{let{_status:t,_data:a}=await (0,u.d)(g.y.SSO.CREATE_BOOKMARK,{method:"POST",data:{host_name:x.domainLocales[M],post_ids:[e]}},"sso");1===t&&B({type:Z.H.ADD_BOOKMARKS,payload:{bookmarks:[e],bookmarkId:e,isFirstTimeBookmark:a.first_time_bookmark}})})();else{let t=window.location.href,a=encodeURIComponent("".concat(t).concat(t.includes("?")?"&":"?","source=bookmark,").concat(e));b.Ew?s.u.getState().triggerLogin({source:"bookmark,".concat(e)}):window.location.href=b.MO?"".concat(b.MO,"?returnUrl=").concat(a):t}};return(0,r.useEffect)(()=>{A(!0)},[]),(0,r.useEffect)(()=>{z(-1!==N.indexOf(t.id))},[N.length]),(0,i.tZ)(ExpertArticleCard,{dataEventCategoryForBookmark:"Bookmark",dataEventActionForBookmark:"Click",dataEventLabelForBookmark:"https://".concat(x.domainLocales[M]).concat(t.permalinkDecode),...p,title:c?h()(c):"",text:d?h()(d):"",avatarImg:(0,i.tZ)(m(),{href:l||F.permalink,prefetch:!1,children:a||n&&n(F.avatar,F.name)||(0,i.tZ)("img",{loading:"lazy",src:F.avatar,alt:F.name})}),authorName:(0,i.tZ)(i.HY,{children:(0,i.tZ)(v.x,{...I})}),authorLink:l||F.permalink,isBookmarkDisplayed:L,isBookmark:E,onBookmark:()=>bookmarkArticle(t.id)})},M=(0,T.Z)("div",{target:"eh4dhtq0"})("display:flex;flex-direction:column;align-items:center;.see-more-btn{margin-top:16px;}"),F=(0,T.Z)("div",{target:"eh4dhtq1"})("margin-top:0px;& >:not(:last-child){margin-bottom:8px;}background-color:",n.r.colors.neutral50,";"),I=(0,T.Z)("div",{target:"eh4dhtq2"})("background-color:",n.r.colors.white,";.banner{width:100%;min-height:192px;}",N.M.mbUp,"{padding:24px 16px 24px 0;}",N.M.mbDown,"{padding:24px 0;}&[data-size='custom']{.avatar[data-size='lg']{width:unset;height:unset;margin-top:16px;margin-right:16px;}}"),S=(0,T.Z)("div",{target:"eh4dhtq3"})("padding:16px;",N.M.mbDown,"{padding:0;}background-color:",n.r.colors.white,";"),D=(0,T.Z)("div",{target:"eh4dhtq4"})("display:flex;align-items:flex-start;justify-content:space-between;padding:0;background-color:",n.r.colors.white,";> div{width:calc(50% - 8px);}"),X=(0,T.Z)("div",{target:"eh4dhtq5"})("display:flex;width:50%;align-self:stretch;justify-content:stretch;background-color:",n.r.colors.white,";justify-self:stretch;& > div > div{height:100%;}.banner{min-height:312px;}"),R=(0,T.Z)("div",{target:"eh4dhtq6"})("display:flex;width:50%;flex-direction:column;align-items:stretch;align-self:stretch;justify-content:center;padding-top:8px;background-color:",n.r.colors.white,";.banner{min-height:150px;}.content .new .text{margin:6px 0;}& >:last-child{flex:1;}"),j=(0,T.Z)("div",{target:"eh4dhtq7"})("padding:0 0 8px 0;background-color:",n.r.colors.neutral50,";marin-bottom:8px;&[data-size='custom']{.avatar[data-size='md']{width:40px;height:40px;margin-right:16px;}}"),q=(0,T.Z)("div",{target:"eh4dhtq8"})("width:50%;padding:0 16px 24px 0;background-color:",n.r.colors.white,";&[data-size='custom']{.avatar[data-size='md']{width:40px;height:40px;margin-right:16px;}}"),W=(0,T.Z)("div",{target:"eh4dhtq9"})("display:flex;flex-wrap:wrap;"),H=(0,T.Z)("div",{target:"e3jvn260"})("position:relative;img{border-radius:50%;}.avatar{object-fit:cover;}.badge{position:absolute;right:0;bottom:0;}"),ExpertRelativeArticleCard=e=>{let{isMobile:t,trendingPosts:a=[]}=e,{locale:s}=(0,y.h)(),{formatMessage:d}=(0,l.Z)(),[h,p]=(0,r.useState)(4),getAuthorUrl=e=>(0,c.Lb)(e);return(0,i.BX)(M,{children:[t?(0,i.BX)(F,{children:[a.slice(0,1).map((e,t)=>{var a,r,n;return(0,i.tZ)(I,{"data-size":"custom",children:(0,i.tZ)(ExpertArticleCardWrapper,{article:e,dataEventCategoryForTitle:"Top Article Title",dataEventActionForTitle:"Click ".concat(t+1),dataEventLabelForTitle:"https://".concat(x.domainLocales[s]).concat(e.permalinkDecode),dataEventCategoryForBanner:"Top Article Banner",dataEventActionForBanner:"Click ".concat(t+1),dataEventLabelForBanner:"https://".concat(x.domainLocales[s]).concat(e.permalinkDecode),dataEventCategoryForCategory:"Top Category Title",dataEventActionForCategory:"Click ".concat(t+1),dataEventLabelForCategory:"https://".concat(x.domainLocales[s]).concat(e.category.permalinkDecode),type:"expert",size:"lg",authorName:null==e?void 0:null===(a=e.author)||void 0===a?void 0:a.displayName,specialty:null==e?void 0:null===(r=e.author)||void 0===r?void 0:r.specialty,banner:(0,i.tZ)("img",{src:e.featureImageMobile||e.featureImage||b.YS,alt:e.postName,loading:"lazy"}),avatarImgRenderer:(t,a)=>{var r,n;return(0,i.BX)(H,{children:[(0,i.tZ)("img",{loading:"lazy",src:t,className:"avatar",alt:a}),(null==e?void 0:null===(r=e.author)||void 0===r?void 0:r.role)&&(0,i.tZ)("img",{loading:"lazy",src:"".concat(b.Nr,"/reviewer-").concat(null==e?void 0:null===(n=e.author)||void 0===n?void 0:n.role,".svg"),alt:"badge",className:"badge",style:{width:18,height:18}})]})},categoryLink:e.category.permalink,articleLink:e.permalink,direction:"vertical",categoryName:null===(n=e.category)||void 0===n?void 0:n.displayName,title:e.postName,text:e.excerpt,styleLabel:{color:e.category.textColor},uploadTime:e.modifiedTime,authorLink:getAuthorUrl(null==e?void 0:e.author)})},e.id)}),a.slice(1,h).map((e,t)=>{var a,r,n;return(0,i.tZ)(S,{children:(0,i.tZ)(ExpertArticleCardWrapper,{article:e,dataEventCategoryForTitle:"Top Article Title",dataEventActionForTitle:"Click ".concat(t+4),dataEventLabelForTitle:"https://".concat(x.domainLocales[s]).concat(e.permalinkDecode),dataEventCategoryForBanner:"Top Article Banner",dataEventActionForBanner:"Click ".concat(t+4),dataEventLabelForBanner:"https://".concat(x.domainLocales[s]).concat(e.permalinkDecode),dataEventActionForCategory:"Top Category Title",dataEventCategoryForCategory:"Click ".concat(t+4),dataEventLabelForCategory:"https://".concat(x.domainLocales[s]).concat(e.category.permalinkDecode),type:"expert",size:"md",authorName:null==e?void 0:null===(a=e.author)||void 0===a?void 0:a.displayName,specialty:null==e?void 0:null===(r=e.author)||void 0===r?void 0:r.specialty,banner:(0,i.tZ)("img",{src:e.featureImageMobileXs||e.featureImage||b.YS,loading:"lazy",style:{width:"100%",height:"100%"},alt:e.postName}),styleLabel:{color:e.category.textColor},categoryLink:e.category.permalink,articleLink:e.permalink,categoryName:null===(n=e.category)||void 0===n?void 0:n.displayName,title:e.postName,text:e.excerpt,avatarImgRenderer:(t,a)=>{var r,n;return(0,i.BX)(H,{children:[(0,i.tZ)("img",{loading:"lazy",src:t,className:"avatar",alt:a}),(null==e?void 0:null===(r=e.author)||void 0===r?void 0:r.role)&&(0,i.tZ)("img",{loading:"lazy",src:"".concat(b.Nr,"/reviewer-").concat(null==e?void 0:null===(n=e.author)||void 0===n?void 0:n.role,".svg"),alt:"badge",className:"badge",style:{width:16,height:16}})]})},uploadTime:e.modifiedTime,authorLink:getAuthorUrl(null==e?void 0:e.author)})},e.id)})]}):(0,i.BX)("div",{style:{backgroundColor:n.r.colors.white,width:"100%"},children:[(0,i.BX)(D,{children:[(0,i.tZ)(X,{children:a.slice(0,1).map(e=>{var t,a,r,n,o,l;return(0,i.tZ)(I,{"data-size":"custom",children:(0,i.tZ)(ExpertArticleCardWrapper,{article:e,dataEventCategoryForTitle:"Top Article Title",dataEventActionForTitle:"Click 1",dataEventLabelForTitle:"https://".concat(x.domainLocales[s]).concat(e.permalinkDecode),dataEventCategoryForCategory:"Top Category Title",dataEventActionForCategory:"Click 1",dataEventLabelForCategory:"https://".concat(x.domainLocales[s]).concat(e.category.permalinkDecode),dataEventCategoryForBanner:"Top Article Banner",dataEventActionForBanner:"Click 1",dataEventLabelForBanner:"https://".concat(x.domainLocales[s]).concat(e.permalinkDecode),type:"expert",direction:"vertical",size:"lg",authorName:null==e?void 0:null===(t=e.author)||void 0===t?void 0:t.displayName,specialty:null==e?void 0:null===(a=e.author)||void 0===a?void 0:a.specialty,banner:(0,i.tZ)("img",{src:e.featureImageMobile||e.featureImage||b.YS,alt:e.postName,style:{width:"100%",height:"100%"},loading:"lazy"},e.id),styleLabel:{color:e.category.textColor},categoryLink:e.category.permalink,articleLink:e.permalink,categoryName:null===(r=e.category)||void 0===r?void 0:r.displayName,title:e.postName,text:e.excerpt,avatarImg:(0,i.BX)(H,{children:[(0,i.tZ)("img",{loading:"lazy",src:null==e?void 0:null===(n=e.author)||void 0===n?void 0:n.thumbnailAvatar,className:"avatar",alt:d({id:"articlePage.authorAvatarAlt"}),style:{width:64,height:64}}),(null==e?void 0:null===(o=e.author)||void 0===o?void 0:o.role)&&(0,i.tZ)("img",{loading:"lazy",src:"".concat(b.Nr,"/reviewer-").concat(null==e?void 0:null===(l=e.author)||void 0===l?void 0:l.role,".svg"),alt:"badge",className:"badge",style:{width:24,height:24}})]}),uploadTime:e.modifiedTime,authorLink:getAuthorUrl(null==e?void 0:e.author)})},e.id)})}),(0,i.tZ)(R,{children:a.slice(1,4).map((e,t)=>{var a,r,n;return(0,i.tZ)(j,{"data-size":"custom",children:(0,i.tZ)(ExpertArticleCardWrapper,{article:e,dataEventCategoryForTitle:"Top Article Title",dataEventActionForTitle:"Click ".concat(t+4),dataEventLabelForTitle:"https://".concat(x.domainLocales[s]).concat(e.permalinkDecode),dataEventCategoryForBanner:"Top Article Banner",dataEventActionForBanner:"Click ".concat(t+4),dataEventLabelForBanner:"https://".concat(x.domainLocales[s]).concat(e.permalinkDecode),dataEventCategoryForCategory:"Top Category Title",dataEventActionForCategory:"Click ".concat(t+4),dataEventLabelForCategory:"https://".concat(x.domainLocales[s]).concat(e.category.permalinkDecode),type:"expert",size:"md",direction:"horizontal",authorName:null==e?void 0:null===(a=e.author)||void 0===a?void 0:a.displayName,specialty:null==e?void 0:null===(r=e.author)||void 0===r?void 0:r.specialty,banner:(0,i.tZ)("img",{loading:"lazy",src:e.featureImageMobileXs||e.featureImage||b.YS,alt:e.postName,style:{width:"100%",height:"100%"}}),categoryLink:e.category.permalink,articleLink:e.permalink,categoryName:null===(n=e.category)||void 0===n?void 0:n.displayName,title:e.postName,text:"",avatarImgRenderer:(t,a)=>{var r,n;return(0,i.BX)(H,{children:[(0,i.tZ)("img",{loading:"lazy",src:t,className:"avatar",alt:a}),(null==e?void 0:null===(r=e.author)||void 0===r?void 0:r.role)&&(0,i.tZ)("img",{loading:"lazy",src:"".concat(b.Nr,"/reviewer-").concat(null==e?void 0:null===(n=e.author)||void 0===n?void 0:n.role,".svg"),alt:"badge",className:"badge",style:{width:16,height:16}})]})},styleLabel:{color:e.category.textColor},uploadTime:e.modifiedTime,authorLink:getAuthorUrl(null==e?void 0:e.author)})},e.id)})})]}),(0,i.tZ)(W,{children:a.slice(4,h).map((e,t)=>{var a,r,n;return(0,i.tZ)(q,{"data-size":"custom",children:(0,i.tZ)(ExpertArticleCardWrapper,{article:e,dataEventCategoryForTitle:"Top Article Title",dataEventActionForTitle:"Click ".concat(t+4),dataEventLabelForTitle:"https://".concat(x.domainLocales[s]).concat(e.permalinkDecode),dataEventCategoryForBanner:"Top Article Banner",dataEventActionForBanner:"Click ".concat(t+4),dataEventLabelForBanner:"https://".concat(x.domainLocales[s]).concat(e.permalinkDecode),dataEventCategoryForCategory:"Top Category Title",dataEventActionForCategory:"Click ".concat(t+4),dataEventLabelForCategory:"https://".concat(x.domainLocales[s]).concat(e.category.permalinkDecode),type:"expert",size:"md",direction:"horizontal",authorName:null==e?void 0:null===(a=e.author)||void 0===a?void 0:a.displayName,specialty:null==e?void 0:null===(r=e.author)||void 0===r?void 0:r.specialty,banner:(0,i.tZ)("img",{loading:"lazy",src:e.featureImageMobileXs||e.featureImage||b.YS,alt:e.postName,style:{width:"100%",height:"100%"}}),categoryLink:e.category.permalink,articleLink:e.permalink,categoryName:null===(n=e.category)||void 0===n?void 0:n.displayName,title:e.postName,text:"",avatarImgRenderer:(t,a)=>{var r,n;return(0,i.BX)(H,{children:[(0,i.tZ)("img",{loading:"lazy",src:t,className:"avatar",alt:a}),(null==e?void 0:null===(r=e.author)||void 0===r?void 0:r.role)&&(0,i.tZ)("img",{loading:"lazy",src:"".concat(b.Nr,"/reviewer-").concat(null==e?void 0:null===(n=e.author)||void 0===n?void 0:n.role,".svg"),alt:"badge",className:"badge",style:{width:16,height:16}})]})},styleLabel:{color:e.category.textColor},uploadTime:e.modifiedTime,authorLink:getAuthorUrl(null==e?void 0:e.author)})},e.id)})})]}),a.length>h?(0,i.tZ)(o.B,{size:"md",className:"see-more-btn",onClick:()=>p(e=>e+4),children:d({id:"experts.moreArticles",defaultMessage:"More Articles"})}):null]})}},"2CO7":function(e,t,a){a.d(t,{m:function(){return ExploreCategoryWrapper}});var i=a("BGKE"),r=a("q1tI"),n=a("ake8"),o=a("+6Eu"),l=a("uwjA"),c=a("iBNF"),s=a("ns0B"),d=a.n(s),h=a("dDsW"),p=a("09QT"),m=a("/tR3"),u=a("oQBk"),g=a("CJtR"),v=a("hXNO"),f=a("P5LW"),x=a("rIrU"),y=a("Y+p1"),b=a.n(y),C=a("E27v"),w=a("A28A"),Z=a("VIdu"),k=a("rBCA");let B=(0,k.Z)("div",{target:"e1pyymsi0"})(".line{width:100%;border:none;border-top:1px dashed ",null===c.r||void 0===c.r?void 0:c.r.colors.neutral100,";&:last-child(){display:none;}}");var T=a("1LUM"),N=a("CBW8"),E=a("1KiM");let ExploreCategory=e=>{let{posts:t,categoryInfo:a}=e,{query:n,locale:o,asPath:l}=(0,f.h)(),handleClickSameCategory=e=>{e.preventDefault()},c=(0,v.d)(),s=(0,Z.od)({countryAdTag:(0,Z.Em)(o,{isMobile:!0}),contentAdTag:(0,Z.WV)(o,l.split("?")[0])});return(0,i.tZ)(B,{children:t.map((e,l)=>{let d=e.category.permalink.split("/").filter(Boolean),h=b()(n.slug,d);return(0,i.BX)(r.Fragment,{children:[(0,i.BX)("div",{className:"wrapper",children:[(0,i.tZ)(E.ArticleCardWrapper,{className:"article-card ".concat(h&&"no-replace-click"),type:"author",size:"md",direction:"horizontal",article:e,onClickCategoryName:h?handleClickSameCategory:()=>void 0},l),l===t.length-1?"":(0,i.tZ)("hr",{className:"line"})]}),1===l&&w.V.includes(o)&&(c?(0,i.tZ)(C.d,{}):(0,i.tZ)(C.P,{})),3===l&&c&&(0,i.tZ)(N.o,{children:(0,i.tZ)(T.AdBlock,{adUnitPath:s,size:[[300,250],[300,600]],divId:"div-gpt-ad-midbanner2-mobile-"+(null==a?void 0:a.termId),pos:["MidBanner2"]})})]},e.id)})})};var z=a("c6Yx");let L=(0,k.Z)("div",{target:"ec166x20"})("margin-bottom:24px;.title{display:flex;gap:20px;margin-bottom:24px;}.see-all{display:inline-flex;}"),ExploreCategoryWrapper=e=>{let{category:t,keywords:a,posts:s,...y}=e,{formatMessage:b}=(0,h.Z)(),C=(0,v.d)(),[w,Z]=(0,r.useState)(!1),{locale:k,router:{asPath:B}}=(0,f.h)(),T=decodeURI(B.replace(/\//gi,""))===x.rN[k],[N,E]=(0,r.useState)(),handleKeywordChange=async(e,t)=>{if(-1===e){Z(!1);return}let a=await (0,p.d)(u.y.ARTICLE.GET_ARTICLE_BY_TAG,{params:{categoryId:t,tagId:e}});E((0,m.Ex)(a)),Z(!0)},A=(0,r.useMemo)(()=>{var e;return T?w&&(null==N?void 0:null===(e=N.posts)||void 0===e?void 0:e.slice(0,3))||(null==s?void 0:s.slice(0,3)):w&&(null==N?void 0:N.posts.slice(0,3))||s},[w,T,null==N?void 0:N.posts,s]);return A&&0!==A.length?(0,i.BX)(L,{...y,children:[(0,i.BX)("div",{className:"title",children:[(0,i.tZ)(n.H,{tag:"h3",children:b({id:"categoryPage.explore"},{CatName:d()(t.categoryName)})}),!C&&T&&(0,i.tZ)("a",{href:t.permalink,className:"see-all pointer-event-child-none","data-event-category":"Category Tag","data-event-action":"See All Click","data-event-label":"".concat((0,g.UC)(k)).concat(t.permalink),children:(0,i.BX)(o.B,{color:"ghost",size:"sm",children:[(0,i.tZ)(l.T,{size:"s4",type:"semiBold",color:c.r.colors.primaryBase,children:b({id:"categoryPage.seeAll",defaultMessage:"See all"})}),(0,i.tZ)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:(0,i.tZ)("path",{d:"M9.80322 8.99999L6.93746 6.13424C6.62696 5.82374 6.62696 5.31974 6.93746 5.00924C7.24796 4.69874 7.75196 4.69874 8.06246 5.00924L11.523 8.46974C11.8162 8.76299 11.8162 9.23774 11.523 9.53024L8.06246 12.9907C7.75196 13.3012 7.24796 13.3012 6.93746 12.9907C6.62696 12.6802 6.62696 12.1762 6.93746 11.8657L9.80322 8.99999Z",fill:"#2D87F3"})})]})})]}),a&&a.length>0&&(0,i.tZ)(z.v,{keywords:a,onKeywordChange:e=>handleKeywordChange(e,t.termId)}),(0,i.tZ)(ExploreCategory,{posts:A,categoryInfo:{permalink:t.permalink,termId:String(t.termId)}}),C&&T&&(0,i.tZ)("a",{href:t.permalink,className:"pointer-event-child-none","data-event-category":"Category Tag","data-event-action":"See All Click","data-event-label":"".concat((0,g.UC)(k)).concat(t.permalink),children:(0,i.BX)(o.B,{color:"ghost",size:"sm",isBlock:!0,children:[(0,i.tZ)(l.T,{size:"s3",type:"semiBold",color:c.r.colors.primaryBase,children:b({id:"categoryPage.seeAll",defaultMessage:"See all"})}),(0,i.tZ)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:(0,i.tZ)("path",{d:"M9.80322 8.99999L6.93746 6.13424C6.62696 5.82374 6.62696 5.31974 6.93746 5.00924C7.24796 4.69874 7.75196 4.69874 8.06246 5.00924L11.523 8.46974C11.8162 8.76299 11.8162 9.23774 11.523 9.53024L8.06246 12.9907C7.75196 13.3012 7.24796 13.3012 6.93746 12.9907C6.62696 12.6802 6.62696 12.1762 6.93746 11.8657L9.80322 8.99999Z",fill:"#2D87F3"})})]})})]}):null}}}]);