1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5525,9359],{18466:(e,t,i)=>{"use strict";i.r(t),i.d(t,{CSManagementTeamCard:()=>em,default:()=>ep});var o,n,a,l=i(12429),r=i(3632),d=i(43e3),c=i(60004),s=i(73464),u=i(36720),m=i(57600),p=i(2956),h=i(62995),g=i(14936),v=i(39359),f=i(23488),b=i(78453),y=i(13026),w=i.n(y),x=i(66995),_=i(497),C=i(60476),I=i(50926),k=i(96229),j=i(66338),P=i(60072);function T(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function N(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?T(Object(i),!0).forEach(function(t){(0,l.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):T(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}var A=function(e){return(0,P.jsx)("svg",N(N({},e),{},{children:(0,P.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.39 7.893L.293 1.93c-.39-.456-.39-1.197 0-1.654L.528 0 5.39 5.688 10.252 0l.236.276c.39.457.39 1.198 0 1.654L5.39 7.893z",fill:"#E87722"})}))};A.defaultProps={width:"11",height:"8",viewBox:"0 0 11 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var M=x.Ay.section.withConfig({displayName:"ManagementTeamCard__Section",componentId:"sc-1orkus-0"})(["background-color:",";position:relative;"],function(e){return(null==e?void 0:e.color)||s.wm.fwdWhite}),E=x.Ay.div.withConfig({displayName:"ManagementTeamCard__Container",componentId:"sc-1orkus-1"})(["max-width:1288px;padding:3rem 1rem;margin:0 auto;",""],(0,s.C9)("md")(o||(o=(0,d.A)(["\n padding: 4rem 2rem;\n "])))),S=x.Ay.div.withConfig({displayName:"ManagementTeamCard__GridContainer",componentId:"sc-1orkus-2"})(["display:flex;flex-wrap:wrap;"]),R=x.Ay.div.withConfig({displayName:"ManagementTeamCard__VariantContainer",componentId:"sc-1orkus-3"})(["flex:0 1 66.66%;"]),B=x.Ay.div.withConfig({displayName:"ManagementTeamCard__VariantTitleContainer",componentId:"sc-1orkus-4"})(["font-weight:700;margin-bottom:24px;"]),O=x.Ay.h2.withConfig({displayName:"ManagementTeamCard__VariantTitle",componentId:"sc-1orkus-5"})(["font-weight:bold;font-size:39px;"]),D=x.Ay.p.withConfig({displayName:"ManagementTeamCard__VariantDescription",componentId:"sc-1orkus-6"})(["white-space:pre-line;"]),L=x.Ay.div.withConfig({displayName:"ManagementTeamCard__Divider",componentId:"sc-1orkus-7"})(["border-bottom:1px solid;border-bottom-color:#dbdfe1;"]),V=x.Ay.div.withConfig({displayName:"ManagementTeamCard__TeamContainer",componentId:"sc-1orkus-8"})(["padding-bottom:0;",""],(0,s.C9)("md")(n||(n=(0,d.A)(["\n padding-bottom: 4rem;\n "])))),F=x.Ay.div.withConfig({displayName:"ManagementTeamCard__TeamTitle",componentId:"sc-1orkus-9"})(["padding-top:",";padding-bottom:",";h4{font-weight:700;font-size:20px;","}"],function(e){return e.isMobile?"48px":"64px"},function(e){return e.isMobile?"24px":"48px"},(0,s.C9)("sm")(a||(a=(0,d.A)(["\n font-size: 25px;\n "])))),U=x.Ay.div.withConfig({displayName:"ManagementTeamCard__LinkWrapper",componentId:"sc-1orkus-10"})(["margin-top:48px;text-align:center;"]),z=x.Ay.div.withConfig({displayName:"ManagementTeamCard__GridProfileContainer",componentId:"sc-1orkus-11"})(["display:",";flex-wrap:wrap;width:calc(100% + 24px);margin:-12px;"],function(e){return e.isMobile?"block":"flex"}),W=x.Ay.div.withConfig({displayName:"ManagementTeamCard__ProfileContainer",componentId:"sc-1orkus-12"})(["padding:12px;",""],function(e){return e.variant===v.TP.SMALL?{flex:"0 1 25%"}:e.variant===v.TP.MEDIUM?{flex:"0 1 33.33%"}:e.variant===v.TP.LARGE?{flex:"0 1 50%"}:{flex:"0 1 33.33%"}}),G=x.Ay.div.withConfig({displayName:"ManagementTeamCard__ProfileClickableContainer",componentId:"sc-1orkus-13"})(["padding:12px;cursor:pointer;p{margin-bottom:0;}&:hover{background-color:",';content:"";border-radius:16px;color:',";}",""],s.wm.fwdOrange,s.wm.fwdWhite,function(e){return e.variant===v.TP.SMALL?{flex:"0 1 25%"}:e.variant===v.TP.MEDIUM?{flex:"0 1 33.33%"}:e.variant===v.TP.LARGE?{flex:"0 1 50%",marginBottom:"24px"}:{flex:"0 1 33.33%"}}),$=x.Ay.img.withConfig({displayName:"ManagementTeamCard__ProfileImage",componentId:"sc-1orkus-14"})(["width:100%;border-radius:15px;object-fit:cover;"]),H=x.Ay.img.withConfig({displayName:"ManagementTeamCard__PreviewProfileImage",componentId:"sc-1orkus-15"})(["width:64px;
1height:64px;border:2px solid #e87722;object-fit:cover;object-position:center;border-radius:4px;cursor:pointer;opacity:",";&:hover{opacity:1;}"],function(e){return e.selected?1:.2}),Y=x.Ay.img.withConfig({displayName:"ManagementTeamCard__DetailProfilePicture",componentId:"sc-1orkus-16"})(["animation:scaleUpAndFadeIn 0.6s cubic-bezier(0.86,0,0.07,1);border-radius:15px;margin-top:48px;max-width:100%;max-height:100%;width:100%;"]),K=x.Ay.div.withConfig({displayName:"ManagementTeamCard__DetailProfileVideo",componentId:"sc-1orkus-17"})(["animation:scaleUpAndFadeIn 0.6s cubic-bezier(0.86,0,0.07,1);padding-top:52px;height:100%;overflow-y:hidden;.MuiCard-mediaContainer{height:0;padding-top:56.25%;position:relative;video{height:100%;position:absolute;top:0;bottom:0;object-fit:cover;}}"]),q=x.Ay.h5.withConfig({displayName:"ManagementTeamCard__ProfileTitle",componentId:"sc-1orkus-18"})(["padding-top:8px;font-weight:700;"]),X=x.Ay.div.withConfig({displayName:"ManagementTeamCard__ViewDetailProfileModal",componentId:"sc-1orkus-19"})(["animation:fadeIn 0.3s cubic-bezier(0.23,1,0.32,1);"]),Q=(0,x.Ay)(p.A).withConfig({displayName:"ManagementTeamCard__ViewDetailPaper",componentId:"sc-1orkus-20"})(["width:100%;height:100%;overflow:scroll;background-color:",";"],s.wm.fwdWhite),J=x.Ay.div.withConfig({displayName:"ManagementTeamCard__PaperContainer",componentId:"sc-1orkus-21"})(["max-width:1288px;padding:32px;margin:0 auto;"]),Z=x.Ay.div.withConfig({displayName:"ManagementTeamCard__CloseButtonWrap",componentId:"sc-1orkus-22"})(["display:flex;justify-content:flex-end;"]),ee=(0,x.Ay)(u.$).withConfig({displayName:"ManagementTeamCard__CloseButton",componentId:"sc-1orkus-23"})(['cursor:"pointer";z-index:9;width:32px !important;height:32px !important;min-width:32px !important;min-height:32px !important;border-radius:50% !important;position:fixed !important;padding:0 !important;border:0;top:',";right:48px;box-shadow:0 2px 4px 0 rgba(0,0,0,0.2) !important;.MuiSvgIcon-root{width:16px !important;height:16px !important;}"],function(e){return e.isSticky?"16px":"48px"}),et=x.Ay.div.withConfig({displayName:"ManagementTeamCard__DetailProfile",componentId:"sc-1orkus-24"})(["max-width:600px;margin:0 auto;"]),ei=x.Ay.div.withConfig({displayName:"ManagementTeamCard__DetailProfileDescriptionContainer",componentId:"sc-1orkus-25"})(["animation:moveUpAndFadeIn 0.6s cubic-bezier(0.755,0.05,0.855,0.06);margin-top:48px;"]),eo=x.Ay.img.withConfig({displayName:"ManagementTeamCard__PictogramImage",componentId:"sc-1orkus-26"})(["width:64px;height:64px;"]),en=x.Ay.div.withConfig({displayName:"ManagementTeamCard__DetailProfileDescription",componentId:"sc-1orkus-27"})(["margin-top:",";margin-bottom:96px;font-size:1.25rem;font-weight:300;line-height:1.875rem;white-space:pre-line;"],function(e){return e.hasPictogram?"16px":"48px"}),ea=x.Ay.h3.withConfig({displayName:"ManagementTeamCard__SelectedProfileTitle",componentId:"sc-1orkus-28"})(["font-size:31px;"]),el=x.Ay.div.withConfig({displayName:"ManagementTeamCard__PreviewListProfile",componentId:"sc-1orkus-29"})(["margin:auto;.swiper{width:100%;height:100%;}.swiper-wrapper{}.swiper-slide{background-color:transparent;width:64px !important;margin:0 1px;}"]),er=x.Ay.div.withConfig({displayName:"ManagementTeamCard__SwiperWrapper",componentId:"sc-1orkus-30"})(["width:100%;justify-content:center;margin:0 auto;",""],function(e){if(e.isSticky)return{position:"fixed",top:0,left:0,transform:"translate(calc(50vw - 50%))",maxWidth:"650px"}}),ed=x.Ay.div.withConfig({displayName:"ManagementTeamCard__SwiperContainer",componentId:"sc-1orkus-31"})(["animation:moveDownAndFadeIn 0.6s cubic-bezier(0.755,0.05,0.855,0.06);display:flex;max-width:600px;z-index:1;"," .IconButton-module_primary__oXHIb{margin-top:20px;}.IconButton-module_sm__29iL_{width:24px;height:24px;padding:4px !important;}"],function(e){if(e.isSticky)return{width:"100%",maxWidth:"100%",backgroundColor:"#FFFFFF",boxShadow:"0 2px 8px 0 rgba(0,0,0,0.24)",position:"fixed",top:0,left:0,height:"64px"}}),ec=(0,x.Ay)(A).withConfig({displayName:"ManagementTeamCard__SwiperButtonNext",componentId:"sc-1orkus-32"})(["transform:rotate(-90deg);"]),es=(0,x.Ay)(A).withConfig({displayName:"ManagementTeamCard__SwiperButtonPrev",componentId:"sc-1orkus-33"})(["transform:rotate(90deg);"]),eu=function(e){var t,i,o,n,a,l,d=e.data,u=(0,c.useMemo)(function(){var e;return null!=(e=null==d?void 0:d.cssId)?e:null==d?void 0:d.anchoringId},[null==d?void 0:d.cssId,null==d?void 0:d.anchoringId]),p=(0,c.useContext)(f.A),g=(0,s.Qs)({breakpoint:"xlg"}),v=(0,s.Qs)({breakpoint:"sm"}),y=(0,c.useState)(null),w=y[0],x=y[1],T=(0,c.useState)(!1),A=T[0],eu=T[1],em=(0,c.useState)(!0),ep=em[0],eh=em[1],eg=(0,c.useState)([]),ev=eg[0],ef=eg[1],eb=(0,c.useState)(void 0),ey=eb[0],ew=eb[1],ex=(0,c.useState)(void 0),e_=ex[0],eC=ex[1],eI=(0,c.useState)([]),ek=eI[0],ej=eI[1],eP=(0,c.useState)(!1),eT=eP[0],eN=eP[1],eA=[],eM=(0,c.useState)(!1),eE=eM[0],eS=eM[1],eR=(0,c.useState)(!1),eB=eR[0],eO=eR[1],eD=function(e){if(e_&&e_.length){var t=ev[e].map(function(t,i){return!(i<e_[e])});ev[e]=(0,r.A)(t),ew(e),ef((0,r.A)(ev))}};return(0,c.useEffect)(function(){(0,I.F$)(),eB&&eA.length>9&&eS(!0)},[eB,eA.length]),(0,c.useEffect)(function(){null!=d&&d.teamList.length&&ef(null==d?void 0:d.teamList.map(function(e){var t,i,o;return null!=e&&null!=(t=e.showMore)&&t.isShow?null==e||null==(o=e.profile)?void 0:o.map(function(e){return!0}):null==e||null==(i=e.profile)?void 0:i.map(function(e){return!1})}))},[]),(0,c.useEffect)(function(){if(null!=d&&d.teamList.length){var e=e_||[];ej(null==d?void 0:d.teamList.map(function(t,i){if(ev.length&&ev[i]){var o;if(o=t.showMore.length||t.profile.length,!v&&t.showMore.mobileLength&&(o=t.showMore.mobileLength),e_?i===ey&&(e[i]=e_[i]+o,eC(e)):(e[i]=o,eC(e)),e&&e.length&&e[i])return t.profile.slice(0,e[i])}return t.profile}))}},[ev,ey,null==d?void 0:d.teamList,e_,v]),(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(M,N(N({color:(null==d?void 0:d.backgroundColor)||""},u?{id:u}:{}),{},{children:(0,P.jsxs)(E,{children:[(0,P.jsx)(S,{children:(0,P.jsxs)(R,{children:[(null==d?void 0:d.variantTitle)&&(0,P.jsx)(B,{children:(0,P.jsx)(O,{children:null==d?void 0:d.variantTitle})}),(null==d?void 0:d.variantDescription)&&(0,P.jsx)(D,{children:(0,P.jsx)("div",{dangerouslySetInnerHTML:{__html:b.Ay.sanitize((0,I.wW)(null==d?void 0:d.variantDescription,p))}})})]})}),(null==d||null==(t=d.teamList)?void 0:t.length)>0&&(null==d||null==(i=d.teamList)?void 0:i.map(function(e,t){return(0,P.jsxs)(P.Fragment,{children:[(0,P.jsxs)(V,{children:[e.contentTitle&&(0,P.jsx)(F,{isMobile:!v,children:(0,P.jsxs)("h4",{children:[e.contentTitle," "]})}),ek&&ek.length&&ek[t]&&ek[t].length<=e.profile.length&&(0,P.jsx)(z,{isMobile:!v,children:ek[t].map(function(i,o){return i.clickable?(eA.push(N({id:"team-".concat(t,"-profile-").concat(o),teamIndex:"team-".concat(t)},i)),(0,P.jsxs)(G,{variant:e.variant,onClick:function(){eO(!0),x(N({id:"team-".concat(t,"-profile-").concat(o),teamIndex:"team-".concat(t)},i))},children:[(0,P.jsx)($,{src:i.image,alt:i.alt}),(0,P.jsx)(q,{children:i.name}),(0,P.jsx)("p",{children:i.jobTitle})]})):(0,P.jsxs)(W,{variant:e.variant,children:[(0,P.jsx)($,{src:i.image,alt:i.alt}),(0,P.jsx)(q,{children:i.name}),(0,P.jsx)("p",{children:i.jobTitle})]})})}),ev&&ev.length&&ev[t]&&e_&&e_[t]<ev[t].length&&(0,P.jsx)(U,{children:(0,P.jsx)(m.N,{underline:"none",size:"small",variant:"body1",color:"white",icon:e.showMore.icon,component:"div",linkMode:"SimplePrimaryLink",onClick:function(){eD(t)},children:e.showMore.name})})]}),t<(null==d?void 0:d.teamList.length)-1&&(0,P.jsx)(L,{})]})}))]})})),w&&(0,P.jsx)(X,{children:(0,P.jsx)(h.A,{open:eB,onClose:function(){eO(!1)},children:(0,P.jsx)(Q,{elevation:0,id:"view-detail-paper",onScroll:function(){var e=document.getElementById("view-detail-paper");e&&void 0!==e.scrollTop&&eN(e.scrollTop>20)},children:(0,P.jsxs)(J,{children:[(0,P.jsx)(Z,{children:(0,P.jsx)(ee,{title:"Close","aria-label":"Close",onClick:function(){eO(!1)},icon:"close",alt:"close",color:s.wm.darkGreen,disableFocusRipple:!0,hasMotionElevate:!1,isSticky:eT})}),(0,P.jsx)(et,{children:(0,P.jsxs)(el,{children:[(0,P.jsxs)(ed,{isSticky:eT,children:[(0,P.jsx)("div",{className:"swiper-button-prev-config",style:{display:A&&eE&&g?"block":"none",position:"relative",right:"24px",marginLeft:"".concat(eT?"calc(50% - 349px)":"-24px")},children:(0,P.jsx)(s.K0,{className:"",icon:es,size:s.Tp.Small,shape:s.lq.Square,plain:!0,primary:!0})}),(0,P.jsx)(er,{isSticky:eT,children:(0,P.jsx)(C.RC,{modules:[_.Vx,_.FJ,_.s3],navigation:{prevEl:".swiper-button-prev-config",nextEl:".swiper-button-next-config"},mousewheel:!0,keyboard:!0,slidesPerView:g?9:5,onSlideChange:function(e){eu(!e.isBeginning),eh(!e.isEnd)},children:!!eA.length&&eA.filter(function(e){return e.teamIndex===w.teamIndex}).map(function(e,t){return(0,P.jsx)(C.qr,{children:(0,P.jsx)(H,{src:e.image,selected:w.id===e.id,onClick:function(){x(e)},alt:e.alt,title:e.name})},"preview-profile-".concat(t))})})}),(0,P.jsx)("div",{className:"swiper-button-next-config",style:{display:ep&&eE&&g?"block":"none",position:"relative",left:"".concat(eT?"calc(50% + 349px)":"24px")}
1,children:(0,P.jsx)(s.K0,{className:"swiper-button-next-config",icon:ec,size:s.Tp.Small,shape:s.lq.Square,plain:!0,primary:!0})})]}),w.videoId?(0,P.jsx)(P.Fragment,{children:(0,P.jsx)(K,{children:(0,P.jsx)(k.b,{thumbnailUrl:null!=(o=w.thumbnailUrl)?o:w.image,videoId:w.videoId})})}):null!=(n=w.brightcove)&&n.accountId?(0,P.jsx)(K,{children:(0,P.jsx)(k.b,{thumbnailUrl:null!=(a=w.thumbnailUrl)?a:w.image,brightcove:w.brightcove},w.id)}):w.videoUrl?(0,P.jsx)(K,{children:(0,P.jsx)(k.b,{thumbnailUrl:null!=(l=w.thumbnailUrl)?l:w.image,videoUrl:w.videoUrl,autoPlay:!1},w.id)}):(0,P.jsx)(Y,{src:w.image,alt:w.alt}),(0,P.jsxs)(ei,{children:[(0,P.jsx)(ea,{children:w.name}),(0,P.jsx)("p",{children:w.jobTitle}),w.pictogram&&(0,P.jsx)(j.z,{icon:w.pictogram.includes("https://")?"":w.pictogram,iconUrl:w.pictogram.includes("https://")?w.pictogram:"",width:64,height:64,size:"xxl",shape:"default",hasHoverEffect:!1}),!w.pictogram&&w.globalPictogram&&(0,P.jsx)(eo,{src:w.globalPictogram}),(0,P.jsx)(en,{hasPictogram:!!w.pictogram||!!w.globalPictogram,children:(0,P.jsx)("div",{dangerouslySetInnerHTML:{__html:b.Ay.sanitize((0,I.wW)(w.description,p),{ADD_ATTR:["target"]})}})})]})]})})]})})})})]})},em=function(e){var t,i,o,n,a,l,r=null==(t=e.data)||null==(t=t.reference)?void 0:t[0];if(!r)return null;var d=null==r||null==(i=r.team)?void 0:i.map(function(e){var t,i,o,n,a,l,r,d;return{contentTitle:null!=(t=null==e?void 0:e.content_title)?t:"",variant:null!=(i=null==e?void 0:e.variant)?i:"",showMore:{isShow:null==e||null==(o=e.show_more)?void 0:o.is_show,name:null==e||null==(n=e.show_more)?void 0:n.name,icon:null==e||null==(a=e.show_more)?void 0:a.icon,length:null==e||null==(l=e.show_more)?void 0:l.length,mobileLength:null==e||null==(r=e.show_more)?void 0:r.mobile_length},profile:null==e||null==(d=e.profile)?void 0:d.map(function(t){var i,o,n,a,l,r,d,c,s,u,m,p,h,v,f,b,y,w,x,_,C;return{clickable:null==(i=null==t?void 0:t.clickable)||i,pictogram:null==t?void 0:t.pictogram,globalPictogram:(0,g.$h)(null==e||null==(o=e.pictogram)?void 0:o.url),image:(0,g.$h)(null!=(n=null==t||null==(a=t.image)?void 0:a.url)?n:""),description:null!=(l=null==t?void 0:t.description)?l:"",jobTitle:null!=(r=null==t?void 0:t.job_title)?r:"",name:null!=(d=null==t?void 0:t.name)?d:"",alt:null!=(c=null==t||null==(s=t.image)?void 0:s.description)?c:"",videoId:null!=(u=null==t?void 0:t.video_id)?u:"",brightcove:{playerId:(null==t||null==(m=t.video)||null==(m=m.brightcove_video)||null==(m=m[0])?void 0:m.player_id)||"",accountId:(null==t||null==(p=t.video)||null==(p=p.brightcove_video)||null==(p=p[0])?void 0:p.brightcove_account_id)||"",videoId:(null==t||null==(h=t.video)||null==(h=h.brightcove_video)||null==(h=h[0])?void 0:h.video_id)||""},videoUrl:(0,g.$h)(null!=(v=null!=(f=null==t||null==(b=t.video)||null==(b=b.video)?void 0:b.url)?f:null==t||null==(y=t.video)?void 0:y.video_url)?v:""),thumbnailUrl:(0,g.$h)(null!=(w=null!=(x=null==t||null==(_=t.video)||null==(_=_.thumbnail)?void 0:_.url)?x:null==t||null==(C=t.image)?void 0:C.url)?w:""),autoPlay:!1}})}}),c={backgroundColor:w()(r,"background_color_new"),variantTitle:null!=(o=null==r?void 0:r.variant_title)?o:"",variantDescription:null!=(n=null==r?void 0:r.variant_description)?n:"",anchoringId:null!=(a=null==r?void 0:r.anchoring)?a:"",teamList:null!=d&&d.length?d:[],cssId:null==e||null==(l=e.data)?void 0:l.css_id};return(0,P.jsx)(eu,{data:c})};let ep=eu},25302:(e,t,i)=>{"use strict";i.d(t,{N:()=>_});var o=i(89051),n=i(60004),a=i(13026),l=i.n(a),r=i(16471),d=i.n(r),c=i(35695),s=i(21174),u=i(41368),m=i(51150),p=i.n(m),h=i(78937),g=i(45342),v=i(52542),f=i(75125),b=i(18416),y=i(61948),w=i(59898),x=n.forwardRef(function(e,t){var a=e.image,r=e.playVideoInBackground,s=e.isYoutube,m=e.videoYouTubeID,x=e.componentName,_=e.variant,C=e.classes,I=e.autoPlay,k=e.id,j=e.objectFit,P=void 0===j?null:j,T=e.hasBorderRadius,N=void 0===T||T,A=e.gaCategoryName,M=e.color,E=void 0===M?"white":M,S=e.gaLabelName,R=void 0===S?"":S,B=e.brightcoveVideoInfo,O=void 0===B?{}:B,D=e.isArticleDetail,L=void 0!==D&&D,V=e.isBrightcoveAutoplay,F=void 0!==V&&V,U=e.onCanPlay,z=void 0===U?null:U,W=e.showControlInBackgroun
1d,G=void 0===W||W,$=(0,n.useState)(!1),H=(0,o.c)($,2),Y=H[0],K=H[1],q=(0,n.useState)(!1),X=(0,o.c)(q,2),Q=X[0],J=X[1],Z=(0,u.A)("(max-width:".concat(h.fi.values.lg,"px)"),{noSsr:!0}),ee=Z&&!d()(l()(e,"mobileVideoSource","")),et=!d()(l()(e,"mobileVideoSource","")),ei=l()(O,"fields.videoID.value",null),eo=l()(O,"fields.playerID.value","default"),en=l()(e,"brightCoveAccId",""),ea=!d()(O),el=ea?"https://players.brightcove.net/".concat(en,"/").concat(eo,"_default/index.html?videoId=").concat(ei):s?"https://www.youtube.com/embed/".concat(m,"?mute=1&enablejsapi=1&playlist=").concat(m):l()(e,ee?"mobileVideoSource":"videoSource",null),er=l()(a,"aspectRatio.mobile","16-9"),ed=l()(a,"aspectRatio.desktop",er),ec=l()(a,"aspectRatio.tablet",ed),es=(0,y.A)().useKeyBoard;if(s&&"undefined"!=typeof document&&!document.getElementById("youtubeiframeapi")){var eu=document.createElement("script");eu.setAttribute("id","youtubeiframeapi"),eu.src="https://www.youtube.com/iframe_api";var em=document.getElementsByTagName("script")[0];em&&em.parentNode.insertBefore(eu,em)}i(57814),window.onYouTubeIframeAPIReady=function(){window.youTubeIframeAPIReady=!0};var ep=(0,n.useRef)(),eh=(0,n.useRef)(),eg=function(t){if(!en||!ei||!eo)return n.createElement(g.P,{id:"posterImage",media:(0,o.a)((0,o.a)({},a),{},{aspectRatio:t.inModal?{mobile:"16-9",desktop:"16-9",tablet:"16-9"}:a.aspectRatio}),className:(0,c.default)(e.className,(0,o._)({},C.brightcoveFallbackImageModal,t.inModal)),hasBorderRadius:t.inModal?!Z:N});var i,l=r&&G?C.backgroundBrightcoveWithControlPanel:C.backgroundBrightcove;return r?n.createElement("div",{"data-locator":"".concat(x,"-brightcove"),style:{fontFamily:"unset"},className:(0,c.default)(!G&&C.hideBrightcovePlayIcon,!G&&C.backgroundVideo,C.mediaContainer)},n.createElement(w.A,{accountId:en,videoId:ei,playerId:eo,poster:null==a||null==(i=a.image)||null==(i=i.value)?void 0:i.src,options:{muted:!!t.muted&&t.muted,loop:!!t.loop&&t.loop,autoplay:!!t.autoPlay&&t.autoPlay,playsinline:!0,controls:!0},embedOptions:{responsive:!Z},attrs:{className:l},className:(0,c.default)(C.iframeVideoModal)})):n.createElement("iframe",{width:"100%",height:"100%",src:"".concat(el).concat(t.autoPlay?"&autoplay":"").concat(t.muted?"&muted":"").concat(t.loop?"&loop":""),title:el,id:k,frameBorder:"0",allow:"autoplay; fullscreen",allowFullScreen:!0,"data-locator":"".concat(x,"-brightcove"),className:C.iframeVideoModal,ref:eh})},ev=function(e){return n.createElement("iframe",{width:"100%",height:"100%",src:"".concat(el).concat(e.autoPlay?"&autoplay=1&loop=1":""),title:"".concat(el).concat(e.autoPlay?"&autoplay=1&loop=1":""),id:k,frameBorder:"0",allow:"autoplay; fullscreen",allowFullScreen:!0,"data-locator":"".concat(x,"-youtube"),className:C.iframeVideoModal,ref:eh})},ef=function(e){var t;return n.createElement("div",{className:(0,c.default)(C.mediaContainer,N?(0,o.m)("medium"):"")},el?n.createElement("video",(0,o.f)({width:"100%",autoPlay:l()(e,"autoPlay",!0),playsInline:!0,id:k,"data-locator":l()(e,"dataLocator","".concat(x,"-video")),"data-object-fit":"cover",controls:l()(e,"controls",!1),muted:l()(e,"muted",!1),loop:l()(e,"loop",!1),onError:function(){return J(!0)},className:N?(0,o.m)("medium"):"",onCanPlay:z},a?{poster:null==(t=l()(e,"image",null))||null==(t=t.image)||null==(t=t.value)?void 0:t.src}:{}),n.createElement("source",{src:el,type:"video/mp4"})):n.createElement(g.P,{id:"posterImage",media:a,hasBorderRadius:N,hideFallbackImage:!0}))};return(0,n.useLayoutEffect)(function(){window.objectFitPolyfill&&window.objectFitPolyfill()},[]),n.createElement("div",{"data-locator":"".concat(x,"-video-container"),ref:t,className:(0,c.default)(C.videoWrapper,e.className,e.videoWrapperClassName,(0,o._)((0,o._)({},C.hasMobileVideo,et),C.videoError,Q))},function(){switch(console.log("@@@ test",_),_){case"gallery":return n.createElement(n.Fragment,null,n.createElement(g.P,{id:"posterImage",media:a,className:e.className,hasBorderRadius:N}),el&&n.createElement(v.j,{tabindex:"0",onClick:function(){(0,b.P)({event:"buttonClick",buttonTitle:R||(0,b.g)(void 0,"".concat(x,"-playButton")),componentName:A||"".concat(x),destinationUrl:el})},onKeyPress:function(e){"Enter"===e.key&&(0,b.P)({event:"buttonClick",buttonTitle:R||
1(0,b.g)(void 0,"".concat(x,"-playButton")),componentName:A||"".concat(x),destinationUrl:el})},className:(0,c.default)(C.playIcon,C["videoIcon-".concat(E)],(0,o._)({},"hideFocusonClick",!es)),"data-locator":"".concat(x,"-playButton")}));case"gallery-modal":return ea?n.createElement("div",{className:(0,c.default)(C["aspectRatio--m__16-9"],C["aspectRatio--d__16-9"])},n.createElement(eg,{autoPlay:!1,loop:!1,inModal:!0,showControlInBackground:!0,showVideoInBackground:!0})):s?n.createElement("div",{className:(0,c.default)(C["aspectRatio--m__16-9"],C["aspectRatio--d__16-9"])},n.createElement("div",{className:"youtube-iframe",width:"100%",height:"100%",src:el,title:el,id:k,frameBorder:"0",allow:"autoplay; fullscreen",allowFullScreen:!0,"data-locator":"".concat(x,"-youtube")})):n.createElement(ef,{controls:!0,autoPlay:I,image:a});default:if(r&&!L)return ea?n.createElement("div",{className:(0,c.default)(er&&C["aspectRatio--m__".concat(er)],ec&&C["aspectRatio--t__".concat(ec)],ed&&C["aspectRatio--d__".concat(ed)])},n.createElement(eg,{autoPlay:F,muted:!0,loop:!0,showControlInBackground:!0,showVideoInBackground:!0})):s?n.createElement("div",{className:(0,c.default)(er&&C["aspectRatio--m__".concat(er)],ec&&C["aspectRatio--t__".concat(ec)],ed&&C["aspectRatio--d__".concat(ed)])},n.createElement(ev,{autoPlay:I,muted:!0,loop:!0})):n.createElement(n.Fragment,null,n.createElement(g.P,{id:"posterImage",media:a,className:(0,c.default)(C.nativeVideoImage,e.className),hasBorderRadius:N}),n.createElement("div",{className:(0,c.default)(C.nativeVideoWrapper,e.className,(0,o._)((0,o._)((0,o._)({},C["aspectRatio--m__".concat(er)],null!==er),C["aspectRatio--t__".concat(ec)],null!==ec),C["aspectRatio--d__".concat(ed)],null!==ed))},n.createElement(ef,{dataLocator:"".concat(x,"-video-background"),loop:!0,muted:!0,image:a})));return n.createElement(n.Fragment,null,n.createElement(g.P,{media:(0,o.a)((0,o.a)({},a),{},{image:a.image&&p()({value:(0,o.a)((0,o.a)({},a.image.value),a.image.value.Large)}),mobileImage:a.mobileImage&&p()({value:(0,o.a)((0,o.a)({},a.mobileImage.value),a.mobileImage.value.Large)})}),className:e.className,onClick:function(){el&&K(!0)},objectFit:P,hasBorderRadius:N}),el&&n.createElement(v.j,{tabindex:"0",onKeyPress:function(e){"Enter"===e.key&&((0,b.P)({event:"buttonClick",buttonTitle:R||(0,b.g)(void 0,"".concat(x,"-playButton")),componentName:A||"".concat(x),destinationUrl:el}),K(!0))},onClick:function(){(0,b.P)({event:"buttonClick",buttonTitle:R||(0,b.g)(void 0,"".concat(x,"-playButton")),componentName:A||"".concat(x),destinationUrl:el}),el&&K(!0)},className:(0,c.default)(C.playIcon,C["videoIcon-".concat(E)],(0,o._)({},"hideFocusonClick",!es)),"data-locator":"".concat(x,"-playButton")}),n.createElement(f.D,{open:Y,fullScreen:!0,onClose:function(){ep&&ep.current&&ep.current.classList.add("modalDialogClosing"),eh&&eh.current&&eh.current.classList.add("iframeVideoModalClosing")},onAnimationEnd:function(){ep&&ep.current&&ep.current.classList.contains("modalDialogClosing")&&K(!1),eh&&eh.current&&eh.current.classList.contains("iframeVideoModalClosing")&&K(!1)},darkMode:!0,transparent:!0,verticallyAlign:"center",md:10,lg:8,isFixed:!0,mobileFluid:!0,color:"darkGreen",ref:ep,className:C.modalDialog},ea?n.createElement("div",{className:(0,c.default)(C["aspectRatio--m__16-9"],C["aspectRatio--d__16-9"]),"data-locator":"".concat(x,"-modal-brightcove")},n.createElement(eg,{autoPlay:!0,loop:!1,inModal:!0,showControlInBackground:!0,showVideoInBackground:!0})):s?n.createElement("div",{className:(0,c.default)(C["aspectRatio--m__16-9"],C["aspectRatio--d__16-9"]),"data-locator":"".concat(x,"-modal-youtube")},n.createElement(ev,{autoPlay:!0})):n.createElement(ef,{controls:!0,image:a})))}}())}),_=(0,s.A)(function(e){var t=e.palette.colors||{},i=e.palette,n={};return Object.keys(t).forEach(function(e){var a=i[t[e].icon].icon.videoIcon;n["videoIcon-".concat(e)]={"& path":{transition:o.o.colorTransition,transitionProperty:"fill"},"& path:nth-child(1)":{fill:a.background.default},"& path:nth-child(2)":{fill:a.contrastText.default},"&:hover":{"& path:nth-child(1)":{fill:a.background.hover},"& path:nth-child(2)":{fill:a.contrastText.hover}},"&:active":{"& path:nth-child(1)":{fill:a.background.active},"& path:nth-child(2)":{fill:a.contrastText.active}}}}),(0,o.a)((0,o.a)((0,o.a)({},n),[{size:"m",bp:"md",dir:"down"},{size:"t",bp:"md",dir:"up"},{size:"d",bp:"lg",dir:"up"}].reduce(function(t,i){return(0,o.a)((0,o.a)({},t),[{ratio:"1-1",paddingTop:"100%"},{ratio:"2-1",paddingTop:"50%"},{ratio:"3-1",paddingTop:"33.333%"},{ratio:"16-9",paddingTop:"56.25%"}].reduce(function(t,n){return(0,o.a)((0,o.a)({},t),(0,o._)({},"aspectRatio--".concat(i.size,"__").concat(n.ratio),(0,o._)({},e.breakpoints[i.dir](i.bp),{paddingTop:n.paddingTop,overflow:"hidden",position:"relative","& video, & iframe":{width:"100%",height:"100%",position:"absolute",top:"0",left:"0",right:"0",backgroundColor:"black"}})))},{}))},{})),{},{backgroundVideo:{position:"absolute",top:"0",bottom:"0",left:"0",right:"0",width:"100%",height:"100%"},videoWrapper:{position:"relative",height:"100%","& svg":{borderRadius:"50%",boxShadow:e.shadows[5]}},playIcon:(0,o._)({position:"absolute",top:"50%",left:"50%",transform:"translateX(-50%) translateY(-50%)",cursor:"pointer",height:"48px",width:"48px"},e.breakpoints.up("lg"),{height:"80px",width:"80px"}
1),nativeVideoWrapper:(0,o._)({display:"none","& video":{width:"100%",height:"100%",objectFit:"cover",objectPosition:"center"}},e.breakpoints.up("lg"),{display:"block"}),nativeVideoImage:(0,o._)({display:"block"},e.breakpoints.up("lg"),{display:"none"}),hasMobileVideo:(0,o._)({},e.breakpoints.down("md"),{"& $nativeVideoWrapper":{display:"block"},"& $nativeVideoImage":{display:"none"}}),videoError:{"& $nativeVideoWrapper":{display:"none"},"& $nativeVideoImage":{display:"block"}},hideBrightcovePlayIcon:{"& .vjs-big-play-button":{display:"none"}},mediaContainer:{backgroundColor:h.wu.greyDark},modalDialog:{animation:o.h.fadeIn,"& .MuiDialog-container, & .MuiDialog-paper, & .MuiBackdrop-root":{transition:"none !important"},"&.modalDialogClosing":{animation:o.h.fadeOut},"& [data-locator=DialogArticleMedia-modal-brightcove]":(0,o._)((0,o._)({},e.breakpoints.up("sm"),{borderRadius:e.spacing(2)}),"& .fallbackPic",{position:"absolute",top:0,left:0})},iframeVideoModal:(0,o._)((0,o._)((0,o._)({animation:o.h.scaleUpAndFadeIn.desktop,borderRadius:e.spacing(2)},e.breakpoints.down("md"),{animation:o.h.scaleUpAndFadeIn.mobile}),e.breakpoints.down("sm"),{borderRadius:0}),"&.iframeVideoModalClosing",(0,o._)({animation:o.h.scaleDownAndFadeOut.desktop},e.breakpoints.down("md"),{animation:o.h.scaleDownAndFadeOut.mobile})),backgroundBrightcove:{width:"100%",height:"100%","& video":{objectFit:"cover"},"& video-js":{height:"100%",width:"100%",overflow:"initial",pointerEvents:"none"}},backgroundBrightcoveWithControlPanel:{width:"100%",height:"100%","& video":{objectFit:"cover"},"& video-js":{height:"100%",width:"100%",overflow:"hidden",position:"initial"}},modalBrightcove:{"& video":{objectFit:"cover"},"& video-js":{height:"100%",width:"100%",overflow:"hidden",position:"initial"}},brightcoveFallbackImageModal:{top:0,width:"100%",height:"100%",position:"absolute",paddingTop:0}})},{name:"MuiCard"})(x)},39359:(e,t,i)=>{"use strict";i.d(t,{IM:()=>n,TP:()=>o,_f:()=>a});var o=function(e){return e.SMALL="small",e.MEDIUM="medium",e.LARGE="large",e}({}),n=function(e){return e.GRID="grid",e.SWIPER="swiper",e.FEATURED="featured",e.POPULAR="popular",e.SWIPER_WITH_CATEGORY_BUTTONS="swiper_with_category_buttons",e.SWIPER_WITH_CATEGORY="swiper_with_category",e}({}),a=function(e){return e[e.ON_PAGE_CHECKBOX=1]="ON_PAGE_CHECKBOX",e[e.ON_PAGE_SCROLL=2]="ON_PAGE_SCROLL",e}({})},45567:(e,t,i)=>{"use strict";i.d(t,{C:()=>a});var o=i(25302),n=i(2182);i(60004),i(13026),i(16471),i(51150),i(43724),i(84033),i(6836),i(14770),i(59898);var a=(0,n.w)(o.N)},53524:()=>{},57600:(e,t,i)=>{"use strict";i.d(t,{N:()=>a});var o=i(74453),n=i(2182);i(60004),i(13026);var a=(0,n.w)(o.N)},66338:(e,t,i)=>{"use strict";i.d(t,{z:()=>a});var o=i(32348),n=i(2182);i(60004);var a=(0,n.w)(o.B)},96229:(e,t,i)=>{"use strict";i.d(t,{b:()=>y});var o=i(12429),n=i(45567),a=i(78453),l=i(60004),r=i(66995),d=i(60072);function c(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,o)}return i}function s(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?c(Object(i),!0).forEach(function(t){(0,o.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):c(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}var u=function(e){return(0,d.jsx)("svg",s(s({},e),{},{children:(0,d.jsx)("path",{fill:"#E87722",fillRule:"evenodd",d:"M12 23c6.075 0 11-4.925 11-11S18.075 1 12 1 1 5.925 1 12s4.925 11 11 11zm-2.217-7.058A.541.541 0 0 1 9 15.457l.002-6.915c0-.402.424-.664.784-.484l6.917 3.458a.542.542 0 0 1 0 .969l-6.92 3.457z",clipRule:"evenodd"})}))};u.defaultProps={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"};var m=r.Ay.div.withConfig({displayName:"VideoContent__DivWrapperVideo",componentId:"sc-322clu-0"})(['div[class^="MuiCard-aspectRatio"]{',";}"],function(e){return null!=e&&e.videoId?"":"padding-top:0px;"}
1),p=r.Ay.div.withConfig({displayName:"VideoContent__MediaFooter",componentId:"sc-322clu-1"})(["display:flex;margin-top:1rem;align-items:flex-start;"]),h=r.Ay.div.withConfig({displayName:"VideoContent__MediaCaption",componentId:"sc-322clu-2"})(["max-width:100%;font-size:14px;"]),g=r.Ay.div.withConfig({displayName:"VideoContent__ThumbnailWapper",componentId:"sc-322clu-3"})(["width:100%;background-color:white;position:relative;overflow:hidden;display:flex;justify-content:center;align-items:center;height:500px;@media (max-width:600px){height:200px;}"]),v=r.Ay.img.withConfig({displayName:"VideoContent__ThumbnailImg",componentId:"sc-322clu-4"})(["width:100%;height:100%;object-fit:cover;object-position:center "]),f=r.Ay.div.withConfig({displayName:"VideoContent__DivOverlay",componentId:"sc-322clu-5"})(["position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,0.5);z-index:1;opacity:50%;"]),b=r.Ay.a.withConfig({displayName:"VideoContent__PlayButton",componentId:"sc-322clu-6"})(["position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background-color:white;border:1px solid gray;color:white;width:80px;font-size:16px;text-decoration:none;cursor:pointer;border-radius:48%;z-index:2;display:flex;justify-content:center;align-items:center"]),y=function(e){var t,i=e.videoId?"https://img.youtube.com/vi/".concat(e.videoId,"/maxresdefault.jpg"):"",o=e.thumbnailUrl||i,r=(e.videoId||"").length>0,c=(0,l.useState)(null!=(t=null==e?void 0:e.autoPlay)&&t),y=c[0],w=c[1],x=(0,l.useMemo)(function(){return(0,d.jsx)("div",{children:(0,d.jsx)(n.C,s(s(s({image:y?{}:{image:{value:{src:o,x1:o,x2:o}},mobileImage:{value:{src:o,x1:o,x2:o}},aspectRatio:{mobile:"16-9",tablet:"16-9",desktop:"16-9"}},hasBorderRadius:!0,title:"",isYoutube:r,videoYouTubeID:e.videoId},e.videoUrl&&{videoSource:e.videoUrl}),{},{variant:e.variant},e.brightcove&&!r&&{brightCoveAccId:e.brightcove.accountId,brightcoveVideoInfo:{fields:{videoID:{value:e.brightcove.videoId},playerID:{value:e.brightcove.playerId}}}}),{},{isBrightcoveAutoplay:y,playVideoInBackground:y,autoPlay:y}))})},[y,r,e.brightcove,e.variant,e.videoId,e.videoUrl,o]);return(0,d.jsxs)(m,{videoId:e.videoId,children:[y?x:(0,d.jsx)(function(e){var t=e.thumbnailUrl,i=(0,l.useState)(!1),o=i[0],n=i[1],a=(0,l.useRef)(null);return(0,l.useEffect)(function(){var e=new IntersectionObserver(function(t){t.forEach(function(t){t.isIntersecting&&(n(!0),null!=a&&a.current&&e.unobserve(null==a?void 0:a.current))})},{threshold:.1});return a.current&&e.observe(a.current),function(){a.current&&e.unobserve(a.current)}},[]),(0,d.jsx)(g,{ref:a,children:o&&(0,d.jsxs)(d.Fragment,{children:[" ",t?(0,d.jsx)(v,{src:t,onClick:function(){return w(!0)},alt:"thumbnail"}):(0,d.jsx)("div",{style:{width:"100%",height:"100%",backgroundColor:"white"},children:"\xa0"}),(0,d.jsx)(f,{}),(0,d.jsx)(b,{href:"javascript:void(0);",onClick:function(){return w(!0)},children:(0,d.jsx)(u,{})})]})})},{thumbnailUrl:o}),e.caption&&(0,d.jsx)(p,{onClick:function(e){return e.stopPropagation()},children:e.caption&&(0,d.jsx)(h,{children:(0,d.jsx)("div",{dangerouslySetInnerHTML:{__html:a.Ay.sanitize(e.caption,{ADD_ATTR:["target"]})}})})})]})}}}]); 2//# sourceMappingURL=5525.85da6848b5aff6c6.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.