1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1906],{99384:function(e,t,l){"use strict";l.d(t,{Z:function(){return i}});let i=(0,l(30518).Z)("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},75096:function(e,t,l){"use strict";l.d(t,{PaginationTVContent:function(){return c}});var i=l(74023),a=l(83641),n=l(31652),s=l(33533),o=l(12173),r=l(9004),d=l(63430);let c=e=>{var t;let{channel:l,initialRecords:c,tvShowSlug:x,existingIds:u=[]}=e,m=(0,n.useTranslations)(),p=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t={existingIds:u,tvShowSlug:x,languageCode:l.languageCode,channelId:l.id,page:e},i=await fetch("/api/load-more-tv-contents",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(t)});if(200===i.status)return await i.json();throw Error("Failed to load more updates")},{isLoading:v,isFetching:g,fetchNextPage:h,data:f,error:b,isError:y,refetch:j,hasNextPage:w}=(0,d.N)({queryKey:["tv-contents",x],queryFn:e=>{let{pageParam:t}=e;return p(t.page)},getNextPageParam:e=>(null==e?void 0:e.hasNextPage)?{page:e.page+1,hasNextPage:e.hasNextPage}:void 0,initialPageParam:{page:null==c?void 0:c.page,hasNextPage:null==c?void 0:c.hasNextPage},maxPages:null==c?void 0:c.totalPages,retry:5,initialData:{pages:[c],pageParams:[{page:null==c?void 0:c.page,hasNextPage:null==c?void 0:c.hasNextPage}]},retryDelay:2e3,refetchOnWindowFocus:!1,refetchOnMount:!1,refetchOnReconnect:!1});return(0,a.useEffect)(()=>{},[b]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:(0,o.cn)("grid grid-cols-2 gap-y-6 gap-x-4","sm:grid-cols-3","md:gap-x-6 md:grid-cols-4","lg:grid-cols-5","xl:gap-y-6 xl:gap-x-8"),children:f&&(null==f?void 0:f.pages)?null==f?void 0:null===(t=f.pages)||void 0===t?void 0:t.map((e,t)=>{var l;return(0,i.jsx)(a.Fragment,{children:null==e?void 0:null===(l=e.docs)||void 0===l?void 0:l.map(e=>e.tvShow?(0,i.jsx)(r.xi,{content:e,tvShow:e.tvShow,index:t},"tv-contents-pagination-card-".concat(null==e?void 0:e.id,"-").concat(t)):null)},"tv-contents-pagination".concat(t))}):null}),w?(0,i.jsx)("div",{className:"flex justify-center items-center w-full py-14",children:(0,i.jsxs)("button",{className:(0,o.cn)("flex justify-center bg-primary-4 items-center gap-4 text-grey-1 rounded-xl px-4 py-3",{"cursor-wait":v||g}),disabled:v||g,onClick:()=>{y?j():h()},children:[m("view-more")," ",v||g&&(0,i.jsx)(s.A,{})]})}):null]})}},19581:function(e,t,l){"use strict";l.d(t,{PaginationTVShow:function(){return c}});var i=l(74023),a=l(12173),n=l(31930),s=l(16395),o=l(53387),r=l(44976);function d(e){let{tvShow:t,content:l,withShowName:a}=e,d="tv-show-with-title-".concat(t.id,"-").concat(null==l?void 0:l.id),{mobileContentMetadata:c,desktopContentMetadata:x}=(0,n.T$)(t);return(0,i.jsxs)(o.TVShowPlayLink,{slug:t.id,contentSlug:l.slug,"data-block":"tv_show_with_title",className:"w-full h-full grid gap-y-3 no-underline content-baseline",children:[(0,i.jsx)(r.D,{elementId:d,tvShow:t,className:"w-full relative",blockName:"tv-show-list-card-with-title",children:(0,i.jsx)(s.j,{mobileContentMetadata:c,desktopContentMetadata:x,width:604,height:320,viewInDetailPage:!0,hidePlaceholder:!0,containerClassName:"relative pointer-events-none",noLink:!0})}),a?(0,i.jsx)("p",{className:"text-xs font-body text-grey-8",children:null==t?void 0:t.title}):null,(0,i.jsx)(s.Ow,{mobileContentMetadata:c,desktopContentMetadata:x,className:"font-primary font-semibold !text-grey-1 sm:text-grey-1 text-sm2 leading-5 lg:text-lg lg:leading-normal xl:text-xl xl:leading-6.5"})]})}let c=e=>{var t,l;let{initialTvShows:n}=e;return(0,i.jsx)("div",{className:(0,a.cn)("grid grid-cols-2 gap-y-6 gap-x-4","sm:grid-cols-3","md:gap-x-6 md:grid-cols-4","lg:grid-cols-5","xl:gap-y-6 xl:gap-x-8"),children:null==n?void 0:null===(l=n.TvShows)||void 0===l?void 0:null===(t=l.docs)||void 0===t?void 0:t.map((e,t)=>(0,i.jsx)("div",{className:"w-full",children:(0,i.jsx)(d,{tvShow:e,content:e,index:t})},e.id))})}},20091:function(e,t,l){"use strict";l.d(t,{HeroHeader:function(){return g}});var i=l(74023),a=l(91900),n=l(83641),s=l(12173),o=l(99384),r=l(79313),d=l(8247),c=l(26092),x=l(31652);let u=e=>{var t,l;let{playingIndex:a,index:n,item:o}=e,r=a===n;return(0,i.jsxs)("div",{className:(0,s.cn)("flex flex-col justify-between h-full mb-6 sm:mb-10","max-w-none sm:max-w-[504px] md:max-w-[530px] lg:max-w-[620px]"),children:[(0,i.jsx)("div",{className:(0,s.cn)("font-primary text-center md:text-start text-white font-bold line-clamp-4","text-3xl leading-9","sm:text-4.5xl sm:leading-11.5","md:text-4.5xl2 md:leading-14.5","lg:text-5xl lg:leading-15-63","xl:text-5xl-52 xl:leading-tight","transition-all duration-[1500ms] ease-out will-change-transform","md:origin-bottom-left md:rtl:origin-bottom-right origin-center-center"),style:{scale:r?"0.7":"1",transform:r?"translateY(20px)":"translateY(0%)"},children:(0,i.jsx)("span",{className:(0,s.cn)("block "),children:null==o?void 0:null===(t=o.promoContent)||void 0===t?void 0:t.t
1itle})}),(0,i.jsx)("div",{className:(0,s.cn)("overflow-hidden transition-all duration-[1500ms] ease-out","opacity-100 mt-4 sm:mt-7 md:mt-4 lg:mt-5 xl:mt-6",r?" mt-3 sm:mt-5 md:mt-3 lg:mt-3 xl:mt-4":" mt-4 sm:mt-7 md:mt-4 lg:mt-5 xl:mt-6","md:origin-bottom-left md:rtl:origin-bottom-right origin-center-center"),style:{scale:r?"0.8":"1"},children:(0,i.jsx)("p",{className:"font-body text-center md:text-start text-white text-sm sm:text-base !leading-normal xl:text-lg xl:!leading-6.25 6.25 line-clamp-4",children:null==o?void 0:null===(l=o.promoContent)||void 0===l?void 0:l.description})})]})};var m=l(16395);let p="h-[38px] sm:px-0 sm:h-[40px] xl:h-[44px] px-[14px] sm:px-5 py-0",v="text-xs2 sm:text-sm xl:text-base !leading-4 !font-semibold rtl:flex-row-reverse",g=e=>{let{block:t}=e,l=(0,n.useMemo)(()=>{var e;return(null===(e=(0,d.Qr)(t))||void 0===e?void 0:e.filter(e=>e.id))||[]},[t]),g=(0,x.useTranslations)(),[h,f]=(0,n.useState)(null),[b,y]=(0,n.useState)(0),[j,w]=(0,n.useState)(-1),[N,k]=(0,n.useState)(null);(0,c.Q)(!0,l[b]);let C=(0,r.Gk)(),P=(0,r.ks)(),M=(0,n.useCallback)(()=>{h&&y(h.selectedScrollSnap())},[h]);return((0,n.useEffect)(()=>{let e=setTimeout(()=>{l[b]&&w(b)},1500);return()=>{e&&clearTimeout(e)}},[b,M,l]),(0,n.useEffect)(()=>{if(h)return h.on("select",M),M(),()=>{h.off("select",M)}},[h,M]),l)?(0,i.jsx)("div",{className:"bg-grey-13 w-[calc(100vw-17px)] mdw-full md:max-w-[calc(100vw-17px)] relative",children:(0,i.jsxs)(a.Carousel,{setApi:f,opts:{align:"start",loop:!0},className:"w-full relative",children:[(0,i.jsx)(a.CarouselContent,{className:"",children:l.map((e,t)=>(0,i.jsxs)(a.CarouselItem,{className:"pl-0 basis-full relative w-full flex items-end justify-start",children:[(0,i.jsx)("div",{className:"absolute inset-0",children:(0,i.jsx)(m.q5,{loop:!1,content:e,width:1920,height:1080,isHovered:j===t&&b===t,poster:null==e?void 0:e.posterLandscape,covervideo:!0,onStartCallback:()=>k(t),onEndCallback:()=>k(null),muted:!0})}),(0,i.jsx)("div",{className:"hero-header-gradient-bottom absolute z-2 bottom-0 left-0 right-0 pointer-events-none"}),(0,i.jsx)("div",{className:"w-[504px] md:w-[530px] lg:w-[620px] hero-header-gradient-left absolute z-2 top-0 bottom-0 left-0 pointer-events-none rtl:hidden"}),(0,i.jsx)("div",{className:"w-[504px] md:w-[530px] lg:w-[620px] hero-header-gradient-right absolute z-2 top-0 bottom-0 right-0 pointer-events-none ltr:hidden"}),(0,i.jsx)("div",{className:(0,s.cn)("relative z-10 flex items-end hero-header-overlay w-full md:w-auto"),children:(0,i.jsx)("div",{className:"w-full vod-section-container !pb-14 sm:!pb-16 md:!pb-[120px] lg:!pb-[150px] xl:!pb-[180px]",children:(0,i.jsxs)("div",{className:(0,s.cn)("flex mx-auto md:mx-0 flex-col items-center md:items-start justify-between h-full"),children:[(0,i.jsx)(u,{playingIndex:N,index:t,item:e}),(0,i.jsxs)("div",{className:"flex flex-row justify-start gap-3",children:[(0,i.jsx)(r.vc,{className:(0,s.cn)(p,v),onClick:t=>{t.stopPropagation(),C(e)}}),(0,i.jsxs)("button",{onClick:()=>{P(e)},dir:"inherit",className:(0,s.cn)("whitespace-nowrap w-auto flex items-center justify-center gap-2 bg-grey-10 text-grey-1 rounded font-body font-medium hover:bg-grey-7 group",p,v),children:[(0,i.jsx)(o.Z,{className:(0,s.cn)("fill-white stroke-grey-10 group-hover:stroke-grey-7",r.kW)}),(0,i.jsx)("span",{className:"text-grey-1",children:g("moreInfo")})]})]})]})})})]},"".concat(e.id,"-").concat(t)))}),l.length>1&&(0,i.jsx)("div",{className:"absolute left-0 right-0 z-20 mb-28 sm: md: hero-header-wrapper",children:(0,i.jsx)("div",{className:"flex justify-center items-center gap-[6px] sm:gap-2 md:gap-4",children:l.map((e,t)=>(0,i.jsx)("button",{onClick:()=>{h&&h.scrollTo(t)},"aria-label":"Go to slide ".concat(t+1),className:(0,s.cn)("bg-white rounded-full ease-in-out duration-500 transition-all cursor-pointer hover:opacity-75",{"w-3 h-3 md:w-3.5 md:h-3.5":t===b,"w-2.5 h-2.5 md:w-3 md:h-3 opacity-50":t!==b})},t))})}),l.length>1&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a.CarouselPrevious,{className:"hidden md:block absolute start-4 top-1/2 -translate-y-1/2 text-white border-none h-12 w-12",arrowClassName:"h-6 w-6"}),(0,i.jsx)(a.CarouselNext,{className:"hidden md:block absolute end-4 top-1/2 -translate-y-1/2 text-white border-none h-12 w-12",arrowClassName:"h-6 w-6"})]})]})}):null}},45311:function(e,t,l){"use strict";l.r(t),l.d(t,{AllEpisodes:function(){return p}});var i=l(74023),a=l(83641),n=l(31652),s=l(33533),o=l(12173),r=l(9004),d=l(63430),c=l(33481),x=l(90733),u=l(80375),m=l(32205);let p=e=>{var t,l;let{block:p,hideTopBorder:v,blockConfig:g,vodPage:h}=e,f=(0,n.useTranslations)(),{theme:b}
1=(null==g?void 0:g.all_episodes)||{theme:"light"},y=null===(t=(0,c.T)(null==p?void 0:p.blockElements))||void 0===t?void 0:t.filter(e=>null==e?void 0:e.id),j=null==p?void 0:p.tvShow,w={docs:y.map(e=>e.content),hasNextPage:!0,hasPrevPage:!1,page:0,totalPages:0,totalDocs:y.length,limit:10,offset:0,pagingCounter:1},N=(0,x.MS)(),k=(null==y?void 0:y.map(e=>(null==e?void 0:e.id)||""))||[],C=null==j?void 0:j.id,P=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t={existingIds:k,tvShowSlug:C,languageCode:N.languageCode,channelId:N.id,page:e},l=await fetch("/api/load-more-tv-contents",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(t)});if(200===l.status)return await l.json();throw Error("Failed to load more updates")},{isLoading:M,isFetching:S,fetchNextPage:T,data:E,error:F,isError:L,refetch:D,hasNextPage:z}=(0,d.N)({queryKey:["tv-contents",C],queryFn:e=>{let{pageParam:t}=e;return P(t.page)},getNextPageParam:e=>(null==e?void 0:e.hasNextPage)?{page:e.page+1,hasNextPage:e.hasNextPage}:void 0,initialPageParam:{page:0,hasNextPage:!0},retry:5,initialData:{pages:[w],pageParams:[{page:0,hasNextPage:!0}]},retryDelay:2e3,refetchOnWindowFocus:!1,refetchOnMount:!1,refetchOnReconnect:!1});return(0,a.useEffect)(()=>{},[F]),(0,i.jsxs)(u.FE,{children:[(0,i.jsx)(m.H,{title:null==p?void 0:p.name,className:(0,o.cn)("border-t-grey-9 text-grey-9",{"text-grey-2":"dark"!==b}),hideTopBorder:v,vodPage:h}),(0,i.jsx)("div",{className:(0,o.cn)("grid grid-cols-2 gap-y-6 gap-x-4","sm:grid-cols-3","md:gap-x-6 md:grid-cols-4","lg:grid-cols-5","xl:gap-y-6 xl:gap-x-8"),children:E&&(null==E?void 0:E.pages)?null==E?void 0:null===(l=E.pages)||void 0===l?void 0:l.map((e,t)=>{var l;return(0,i.jsx)(a.Fragment,{children:null==e?void 0:null===(l=e.docs)||void 0===l?void 0:l.map(e=>j||(null==e?void 0:e.tvShow)?(0,i.jsx)(r.xi,{content:e,tvShow:(null==e?void 0:e.tvShow)||j,index:t},"tv-contents-pagination-card-".concat(null==e?void 0:e.id,"-").concat(t)):null)},"tv-contents-pagination".concat(t))}):null}),j&&z?(0,i.jsx)("div",{className:"flex justify-center items-center w-full py-14",children:(0,i.jsxs)("button",{className:(0,o.cn)("flex justify-center bg-primary-4 items-center gap-4 text-grey-1 rounded-xl px-4 py-3",{"cursor-wait":M||S}),disabled:M||S,onClick:()=>{L?D():T()},children:[f("view-more")," ",M||S&&(0,i.jsx)(s.A,{})]})}):null]})}},16398:function(e,t,l){"use strict";l.r(t),l.d(t,{DigitalHeaderVideo:function(){return u}});var i=l(74023),a=l(80375),n=l(8247),s=l(2889),o=l(16395),r=l(31930),d=l(31652),c=l(61856),x=l(90733);let u=e=>{let{block:t}=e,{channelsOriginMap:l}=(0,x.HA)(),u=(0,x.MS)(),m=(0,d.useTranslations)();if(!t)return null;let p=(0,n.XG)(t);if(!(null==p?void 0:p.length))return null;let v=null==p?void 0:p.slice(1),g=p[0],{mobileContentMetadata:h,desktopContentMetadata:f}=(0,r.T$)(g),b="".concat((0,s.mi)(l,(0,s.rp)(null==g?void 0:g.slug),u));return(0,i.jsx)(a.FE,{children:(0,i.jsx)(c.N,{sideContents:v,mainContent:g,title:m("recommended"),displayTime:"date",hideMainTitle:!0,shareUrl:b,Chip:(0,i.jsx)("div",{className:"font-primary font-semibold text-white text-xl leading-custom_5 sm:text-1.5xl lg:text-2xl",children:(0,i.jsx)(o.Ow,{desktopContentMetadata:f,mobileContentMetadata:h})})})})}},2389:function(e,t,l){"use strict";l.r(t),l.d(t,{DigitalTenVideos:function(){return c}});var i=l(74023),a=l(20689),n=l(8247),s=l(12173),o=l(32205),r=l(9004),d=l(198);function c(e){var t;let{block:l,hideTopBorder:c,theme:x,vodPage:u}=e,m=(0,n.XG)(l),{handleMouseEnter:p,handleMouseLeave:v,handleOpenModal:g,handleCloseModal:h,isHovered:f,videoIndex:b}=(0,d.L)();return l&&(null==m?void 0:m.length)?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("section",{className:"flex w-full",children:(0,i.jsx)(a.Uq,{className:"section-container section-container--carousel",children:(0,i.jsxs)("div",{className:"w-full flex flex-col gap-4 lg:gap-6 xl:gap-8",onMouseLeave:v,children:[(0,i.jsx)(o.H,{title:null==l?void 0:l.name,className:(0,s.cn)("border-t-grey-9 text-grey-9 font-primary",{"text-grey-2":"dark"===x}),hideTopBorder:c,vodPage:u}),(0,i.jsx)("div",{className:(0,s.cn)("grid grid-cols-2 gap-y-6 gap-x-4","sm:grid-cols-3","md:gap-x-6 md:grid-cols-4","lg:grid-cols-5","xl:gap-y-6 xl:gap-x-8"),children:null==m?void 0:m.map((e,t)=>(0,i.jsx)("div",{onMouseEnter:()=>p(e),onMouseLeave:v,onClick:()=>g(t),children:(0,i.jsx)(r.yl,{content:e,isHovered:!!(f&&(null==f?void 0:f.id)===e.id),noLink:!0})},"digital-ten-videos-card-".concat(null==e?void 0:e.id)))})]})})}),(0,i.jsx)(a.dS,{videoIndex:b,onClose:h,initialSlide:m&&b,contents:null!==(t=null==m?void 0:m.filter(e=>null==e?void 0:e.id))&&void 0!==t?t:[]})]}):null}},20726:function(e,t,l){"use strict";l.d(t,{ListenRadioLarge:function(){return S}});var i=l(74023),a=l(32205),n=l(33481),s=l(83641),o=l(20689),r=l(91900),d=l(12173),c=l(31930),x=l(10193),u=l(54059),m=l.n(u),p=l(29413),v=l(7470),g=l(94970),h=l(52331),f=l(98873),b=l(33533),y=l(73765);function j(e){var t,l,a;let{content:n,hideDetailPageArrow:o,isAudioCarousel:r=!0}=e,{title:u,description:j,createdAt:w}=n||{},N=(0,c.fi)(null==n?void 0:n.coverImage,720,720),{isVideo:k,isAudio:C}=(0,c.EO)(n),P=null==n?void 0:null===(t=n.primaryTopics)||void 0===t?void 0:t.t
1itle,M=null==n?void 0:null===(a=n.media)||void 0===a?void 0:null===(l=a.media)||void 0===l?void 0:l.originalUrl,{audioRef:S,setStaticData:T,setAudioSrc:E,setDuration:F,play:L,togglePause:D,isPaused:z,isLoading:V,audioSrc:H,timeLeft:_}=(0,p.nP)(),{isCurrentPlayer:I,isPlaying:B,showLoading:A}=(0,s.useMemo)(()=>{if(!M)return{isCurrentPlayer:!1,isPlaying:!1,showLoading:!1};let e=H===M,t=e&&!z,l=e&&V;return{isCurrentPlayer:e,isPlaying:t,showLoading:l}},[H,M,z,V]),R=(0,s.useCallback)(()=>{if(M&&n){if(H!==M){if(null==S?void 0:S.current){if(T({title:u||"",topic:P||"",description:j||"",isAudioCarousel:r,background:N,vjsPlayer:!1}),null==n?void 0:n.duration){let e=(0,v.R)(n.duration);e&&F(e)}E(M),S.current.src=M,S.current.load();let e=()=>{var t,l;(null==S?void 0:null===(t=S.current)||void 0===t?void 0:t.duration)&&!(null==n?void 0:n.duration)&&F(S.current.duration),L(),null==S||null===(l=S.current)||void 0===l||l.removeEventListener("canplaythrough",e)};S.current.addEventListener("canplaythrough",e)}}else D()}},[M,H,n,u,P,j,r,N,S,T,F,E,L,D]);return(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{className:"w-full h-full aspect-square rounded-custom overflow-hidden bg-no-repeat relative cursor-pointer video-container","data-title":u||"","data-topic":P||"","data-description":j||"","data-is-audio":r,"data-background":N,"data-vjs-player":!0,children:[(0,i.jsx)(x.default,{src:N,alt:(null==n?void 0:n.title)||"",fill:!0,className:"object-cover h-full w-full",quality:80}),(0,i.jsx)("div",{onClick:R,className:"w-full h-full absolute bottom-0 bg-gradient-to-b -from-[0%] to-[100%] from-[#00000000] to-[#000000E5] rounded-custom"}),(0,i.jsx)("div",{className:"absolute bottom-4 left-4 right-4 flex flex-col gap-4 z-10",children:(k||C)&&n?(0,i.jsxs)("div",{className:"flex flex-row justify-between",children:[(0,i.jsxs)("div",{onClick:R,className:"flex gap-2 relative w-full",children:[A?(0,i.jsx)("div",{className:"flex z-10 items-center justify-center",children:(0,i.jsx)(b.A,{className:"z-10 text-black m-auto",color:"white"})}):(0,i.jsx)("div",{className:(0,d.cn)("w-7 h-7 rounded-full flex items-center justify-center",{"bg-white":B,"bg-[#FFFFFF4D]":!B}),children:B?(0,i.jsx)(f.Z,{fill:"#000",stroke:"transparent",size:18}):(0,i.jsx)(g.g4,{content:n,className:(0,h.Z)("text-white",{"w-5 h-5":k,"w-4 h-4":C})})}),(0,i.jsx)("div",{className:"font-body text-sm font-medium text-grey-2 uppercase my-auto",children:I?(0,v.L)(_):null==n?void 0:n.duration})]}),!o&&(0,i.jsx)(y.LinkWithChannelLink,{href:"/audio/".concat(null==n?void 0:n.slug),className:"flex relative z-10 rtl:rotate-180",children:(0,i.jsx)(g.J5,{color:"white"})})]}):null})]}),(0,i.jsxs)("div",{className:"flex flex-col gap-4 mt-4",children:[(0,i.jsx)("p",{className:"px-1 text-grey-12 bg-grey-5 self-start font-extrabold text-black-10 text-base font-primary",children:m()(w).format("DD.MM.YYYY")}),(0,i.jsx)("div",{onClick:R,className:"font-primary xl:text-xl xl:leading-7 lg:text-lg lg:leading-6 md:text-base md:leading-5.5 text-xl leading-7 font-semibold text-grey-12 line-clamp-4",children:u})]})]})}let w={skipSnaps:!0,align:"center"},N=e=>{var t;let{blockElements:l,onSelectedBlock:a}=e;return(0,i.jsx)(o.Uq,{className:"mt-20 section-container--carousel",children:(0,i.jsxs)(r.Carousel,{opts:w,children:[(0,i.jsx)(r.CarouselContent,{className:(0,d.cn)("gap-4 md:gap-6 xl:gap-8"),containerClassName:"overflow-unset md:!overflow-hidden",children:null==l?void 0:null===(t=l.filter(e=>{var t;return null===(t=e.radioPlaylist)||void 0===t?void 0:t.id}))||void 0===t?void 0:t.map(e=>(0,i.jsx)(r.CarouselItem,{className:(0,d.cn)("basis-[78%] sm:basis-5/12 md:basis-[250px] lg:basis-[256px] xl:basis-[302px]"),onClick:()=>a(e),children:(0,i.jsx)(j,{content:e.radioPlaylist,hideDetailPageArrow:!0})},e.id))}),(0,i.jsx)(r.CarouselPrevious,{className:"absolute start-3 text-white hidden md:block"}),(0,i.jsx)(r.CarouselNext,{className:"absolute end-3 text-white hidden md:block"})]})})};var k=l(80375),C=l(90733),P=l(64536);let M=e=>{var t;let{radioPlaylistId:l,channel:a,title:n}=e,[o,r]=(0,s.useState)(),[d,c]=(0,s.useState)(!0),u=(0,s.useRef)(null),[m,p]=(0,s.use
1State)(),v=(0,s.useCallback)(async e=>{try{var t,i,n,s;c(!0);let o=await fetch("/api/radio-content?channel=".concat(a.id,"&radioPlaylistId=").concat(e)),d=await o.json(),x=null==d?void 0:null===(i=d.RadioContents)||void 0===i?void 0:null===(t=i.docs)||void 0===t?void 0:t.map(e=>({...e,subType:"podcastEpisode"})),u=(null==x?void 0:null===(s=x[0].radioPlaylist)||void 0===s?void 0:null===(n=s.find(e=>e.id===l))||void 0===n?void 0:n.radioContentsOrder)||[],m=new Map(null==u?void 0:u.map(e=>[e.radioContent.id,e.radioContentOrder])),v=x.map(e=>e).sort((e,t)=>{var l,i;return(null!==(l=m.get(e.id))&&void 0!==l?l:1/0)-(null!==(i=m.get(t.id))&&void 0!==i?i:1/0)});r(v),p(null==x?void 0:x[0]),c(!1)}catch(e){c(!1)}finally{c(!1)}},[a.id]);return(0,s.useEffect)(()=>{var e;null===(e=u.current)||void 0===e||e.play()},[null==m?void 0:m.id]),(0,s.useEffect)(()=>{v(l)},[l,v]),(0,i.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-[380px_1fr] gap-8 bg-grey-3 p6 sm:p-12",children:[(0,i.jsx)("div",{className:"aspect-square w-full",children:(null==m?void 0:m.id)?(0,i.jsx)(P.PB,{content:m,hideDetailPageArrow:!0,ref:u},null==m?void 0:m.id):(0,i.jsx)(x.default,{className:"w-full aspect-square",src:"/png/placeholder.png",alt:"",width:200,height:200})}),(0,i.jsxs)("div",{className:"h-fit flex flex-col items-start",children:[(0,i.jsx)("span",{className:"font-body text-grey-13 text-xl line-clamp-2 bg-grey-5 p-[10px] mb-4",children:n}),(0,i.jsx)("div",{className:"grid gap-bh-4",children:null==o?void 0:null===(t=o.filter(e=>e.id))||void 0===t?void 0:t.map(e=>(0,i.jsxs)("div",{className:"grid gap-4 grid-cols-1 sm:grid-cols-[266px_1fr] cursor-pointer",onClick:()=>{p(e)},children:[(0,i.jsx)("div",{className:"font-extrabold text-black-10 text-xl font-primary",children:(0,i.jsx)("div",{className:"overflow-hidden line-clamp-1",children:null==e?void 0:e.title})}),(0,i.jsx)("div",{className:"p-2 text-grey-12 text-xl font-body",children:(0,i.jsx)("div",{className:"overflow-hidden line-clamp-1 ",children:null==e?void 0:e.description})})]},null==e?void 0:e.id))})]})]})},S=e=>{var t,l,o;let{block:r,hideTopBorder:d,vodPage:c}=e,x=(0,C.MS)(),u=null===(t=(0,n.T)(null==r?void 0:r.blockElements))||void 0===t?void 0:t.filter(e=>null==e?void 0:e.id),[m,p]=(0,s.useState)(u[0]);if(!(null==u?void 0:u.length))return null;let v=null==m?void 0:null===(l=m.radioPlaylist)||void 0===l?void 0:l.title;return(0,i.jsxs)("div",{className:"w-full flex flex-col gap-8",children:[(0,i.jsxs)(k.Uq,{"data-block":"listen_radio_large-authors",className:"grid gap-3 md:gap-5 xl:gap-7",children:[(0,i.jsx)(a.H,{title:null==r?void 0:r.name,hideTopBorder:d,vodPage:c}),(0,i.jsx)(M,{title:v,radioPlaylistId:null==m?void 0:null===(o=m.radioPlaylist)||void 0===o?void 0:o.id,channel:x})]},r.id),(0,i.jsx)(N,{blockElements:u,onSelectedBlock:p})]})}},46135:function(e,t,l){"use strict";l.r(t),l.d(t,{TVNewsForTopic:function(){return p}});var i=l(74023),a=l(20689),n=l(8247),s=l(91900),o=l(12173),r=l(69959),d=l(9004),c=l(198),x=l(32205),u=l(83641);let m={skipSnaps:!0,align:"start"};function p(e){var t,l;let{block:p,carouselItemClassName:v,hideTopBorder:g,vodPage:h}=e,f=(0,n.XG)(p),b=(0,u.useRef)((0,r.Y)()),{handleMouseEnter:y,handleMouseLeave:j,handleOpenModal:w,handleCloseModal:N,isHovered:k,videoIndex:C}=(0,c.L)();return p&&(null==f?void 0:f.length)?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("section",{className:"flex justify-center w-full","data-block":"tv_news_for_a_topic",children:(0,i.jsx)(a.Uq,{className:"section-container section-container--carousel",children:(0,i.jsxs)("div",{className:"w-full flex flex-col gap-4 lg:gap-6 xl:gap-8",children:[(0,i.jsx)(x.H,{hideTopBorder:g,title:null==p?void 0:p.name,className:"border-t-grey-1 text-grey-1",vodPage:h}),(0,i.jsxs)(s.Carousel,{opts:m,plugins:[b.current],children:[(0,i.jsx)(s.CarouselContent,{className:"gap-4 md:gap-6 xl:gap-8",containerClassName:"overflow-unset md:!overflow-hidden",children:null==f?void 0:null===(t=f.filter(e=>null==e?void 0:e.id))||void 0===t?void 0:t.map((e,t)=>(0,i.jsx)(s.CarouselItem,{className:(0,o.cn)("basis-[214px] md:basis-[250px] lg:basis-[256px] xl:basis-[302px]",v),onMouseEnter:()=>y(e),onMouseLeave:j,onClick:()=>w(t),children:(0,i.jsx)(d.yl,{content:e,isHovered:!!(k&&(null==k?void 0:k.id)===e.id),noLink:!0})},"tv_news_for_a_topic-".concat(e.id)))}),(0,i.jsx)(s.CarouselPrevious,{className:"absolute start-3 text-white hidden md:block"}),(0,i.jsx)(s.CarouselNext,{className:"absolute end-3 text-white hidden md:block"})]})]})})}),(0,i.jsx)(a.dS,{videoIndex:C,onClose:N,initialSlide:f&&C,contents:null!==(l=null==f?void 0:f.filter(e=>null==e?void 0:e.id))&&void 0!==l?l:[]})]}):null}},75037:function(e,t,l){"use strict";l.r(t),l.d(t,{TopVideos:function(){return C}});var i=l(74023),a=l(80375),n=l(8247),s=l(2889),o=l(16395),r=l(31930),d=l(31652),c=l(12173),x=l(32205),u=l(83641),m=l(80960),p=l(50842),v=l(91900);let g={skipSnaps:!0,align:"center"},h="text-grey-1 font-semibold border border-grey-1 rounded w-full text-center hover:bg-grey-1 hover:text-grey-13";function f(e){var t;let{programs:l,Card:a,children:n,title:s,BottomLink:o}=e;return(0,i.jsxs)("section",{className:"w-full flex flex-col gap-5 relative",children:[(0,i.jsx)("div",{className:"w-fit p-[9px] h-fit flex justify-center items-center",children:(0,i.jsx)("span",{className:"font-body text-xl leading-custom_2 uppercase text-white",children:s})}),(0,i.jsxs)("div",{className:"flex sm:hidden lg:flex flex-col md:h-auto lg:h-[594px] xl:h-[662px] overflow-auto relative scrollbar-none px-1",children:[null==l?void 0:l.map(e=>(0,u.createElement)(a,{...e,key:e.id})),o?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:(0,
1c.cn)("invisible",h),children:o}),(0,i.jsx)("div",{className:(0,c.cn)("sticky z-10 bottom-0 ",h),children:o})]}):(0,i.jsx)("div",{className:"invisible opacity-0 mb-10",children:(0,i.jsx)(a,{...l[l.length-1]})})]}),(0,i.jsx)("div",{className:"hidden lg:block pointer-events-none absolute w-full h-[20%] bottom-0",style:{background:"linear-gradient(180deg, rgba(12, 14, 14, 0) 0%, #0C0E0E 100%)"}}),(0,i.jsxs)("div",{className:"hidden sm:block lg:hidden w-full",children:[(0,i.jsxs)(v.Carousel,{opts:g,className:"section-container section-container--carousel",children:[(0,i.jsxs)(v.CarouselContent,{className:"gap-4 md:gap-6 xl:gap-8",containerClassName:"overflow-unset md:!overflow-hidden",children:[n,null==l?void 0:null===(t=l.filter(e=>null==e?void 0:e.id))||void 0===t?void 0:t.map(e=>(0,i.jsx)(v.CarouselItem,{className:(0,c.cn)("basis-[78%] sm:basis-5/12 md:basis-[250px] lg:basis-[256px] xl:basis-[302px]"),children:(0,u.createElement)(a,{...e,key:e.id})},e.id))]}),(0,i.jsx)(v.CarouselPrevious,{className:"absolute start-3 text-white hidden md:block"}),(0,i.jsx)(v.CarouselNext,{className:"absolute end-3 text-white hidden md:block"})]}),o?(0,i.jsx)("div",{className:(0,c.cn)("w-full inline-block mt-7",h),children:o}):null]})]})}var b=l(94970);function y(e){let{title:t,Media:l,duration:a}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"w-full relative",children:[l,a?(0,i.jsxs)("div",{className:"flex items-center gap-1 absolute bottom-0 left-0 bg-[#171717b3] p-1 rounded-tr-md text-white",children:[(0,i.jsx)(b.o1,{className:"w-4 h-4"}),a]}):null]}),(0,i.jsx)("div",{className:"w-full flex flex-col gap-3",children:(0,i.jsx)("div",{className:(0,c.cn)("font-primary font-bold text-ellipsis overflow-hidden text-white","sm:text-lg sm:leading-6 sm:font-semibold ","lg:text-base ","xl:text-lg xl:leading-6"),children:t})})]})}function j(e){let{HeroMainVideo:t,HeroFeaturedSideVideo:l}=e;return(0,i.jsxs)("section",{className:"w-full grid grid-cols-1 lg:grid-cols-[937px_222px] xl:grid-cols-[1122px_281px] gap-y-6 lg:gap-x-5 xl:gap-x-8",children:[(0,i.jsx)("div",{className:"w-full",children:t}),(0,i.jsx)("div",{className:"w-full",children:l})]})}var w=l(73765);function N(e){let{mainContent:t,sideContents:l,title:a,Chip:n,displayTime:s="date",hideMainTitle:c}=e,x=(0,d.useTranslations)(),v=(0,u.useMemo)(()=>{var e;return null===(e=l||[])||void 0===e?void 0:e.map((e,t)=>{let l=e.duration,a=e.publishedAt||e.createdAt,{mobileContentMetadata:n,desktopContentMetadata:d}=(0,r.T$)(e);return{id:e.id||"".concat(t),title:e.title,description:e.description,date:"duration"===s?void 0:a,duration:l,mobileContentMetadata:n,desktopContentMetadata:d,Media:(0,i.jsx)(o.j,{mobileContentMetadata:n,desktopContentMetadata:d,containerClassName:"h-auto",width:185,height:104,noLink:!0,viewInDetailPage:!0,hidePlaceholder:!0,coverposter:!0})}})},[l,s]);return(0,i.jsx)(j,{HeroMainVideo:(0,i.jsx)(m.W,{content:t,Chip:n,hideMainTitle:c}),HeroFeaturedSideVideo:(0,i.jsx)(f,{programs:v,Card:e=>(0,i.jsx)(p.y,{containerClassName:"py-4 first:pt-0 no-underline article-hover-effect cursor-pointer",className:"w-full grid grid-cols-[132px_auto] sm:grid-cols-1 gap-3",mobileContentMetadata:e.mobileContentMetadata,desktopContentMetadata:e.desktopContentMetadata,children:(0,u.createElement)(y,{...e,key:e.id})}),title:a,BottomLink:(0,i.jsx)(w.LinkWithChannelLink,{href:"/video/tv",className:"inline-block w-full h-full p-3 bg-white text-grey-13 hover:bg-grey-4",children:x("watch-more-videos")})})})}var k=l(90733);let C=e=>{let{block:t,vodPage:l}=e,u=(0,d.useTranslations)(),{channelsOriginMap:m}=(0,k.HA)(),p=(0,k.MS)();if(!t)return null;let v=(0,n.XG)(t);if(!(null==v?void 0:v.length))return null;let g=null==v?void 0:v.slice(1),h=v[0],{mobileContentMetadata:f,desktopContentMetadata:b}=(0,r.T$)(h),y="".concat((0,s.mi)(m,(0,s.rp)(null==h?void 0:h.slug),p));return(0,i.jsx)("section",{className:(0,c.cn)("bg-grey-13 w-full","py-6 sm:py-[70px]"),children:(0,i.jsxs)(a.FE,{children:[(0,i.jsx)(x.H,{className:"py-3 mb-4 sm:mb-6 text-grey-2 !pb-0 text-2xl sm:text-3.5xl lg:text-4xl !leading-normal border-t-grey-2","data-testid":"main:title",vodPage:l,children:null==t?void 0:t.name}),(0,i.jsx)(N,{sideContents:g,mainContent:h,title:u("on-next"),displayTime:"date",hideMainTitle:!0,shareUrl:y,Chip:(0,i.jsx)("div",{className:"font-primary font-semibold text-white text-xl leading-custom_5 sm:text-1.5xl lg:text-2xl",children:(0,i.jsx)(o.Ow,{desktopContentMetadata:b,mobileContentMetadata:f})})})]})})}},30272:function(e,t,l){"use strict";l.r(t),l.d(t,{Topic4Column:function(){return v}});var i=l(74023),a=l(31930),n=l(16395),s=l(91900),o=l(80375),r=l(12173),d=l(50842),c=l(61845),x=l(73765),u=l(32205),m=l(45450);let p=e=>{var t,l;let{blockElement:s}=e,o=(0,x.useGetChannelLink)(),m=null==s?void 0:s[0],p=null==m?void 0:null===(t=m.topics)||void 0===t?void 0:t[0],v=null==p?void 0:p.title,g=null==p?void 0:null===(l=p.page)||void 0===l?void 0:l.slug,h=null==m?void 0:m.content,f=null==s?void 0:s.slice(1),{mobileContentMetadata:b,de
1sktopContentMetadata:y}=(0,a.T$)(h);return(0,i.jsxs)("div",{children:[(0,i.jsx)(u.H,{className:(0,r.cn)("!text-xl sm:!text-2xl md:!text-2.5xl lg:!text-2xl !leading-normal sm:!leading-normal md:!leading-normal lg:!leading-normal text-grey-9","border-t border-grey-9 pt-2 border-t-[1px]"),children:(0,i.jsx)(c.default,{href:o("/".concat(g)),children:v})}),(0,i.jsx)("div",{className:"relative","data-testid":"headiline",children:(0,i.jsx)(n.j,{desktopContentMetadata:y,mobileContentMetadata:b,href:"/article/".concat(null==h?void 0:h.slug),className:"w-full h-full object-cover rounded-custom",alt:h.title,width:984,height:675,withDataTestId:!0})}),(0,i.jsxs)("div",{className:"relative grid grid-cols-1 gap-bh-8 mt-4",children:[(0,i.jsx)("div",{className:"flex flex-col gap-2",children:(0,i.jsx)(d.y,{className:(0,r.cn)("text-grey-11 font-primary font-bold","md:text-xl md:leading-6.5","lg:text-lg lg:leading-6","xl:text-xl xl:leading-6.5"),desktopContentMetadata:y,mobileContentMetadata:b,children:(0,i.jsx)(n.Ow,{desktopContentMetadata:y,mobileContentMetadata:b,dataTestId:"headiline:title"})})}),f.map((e,t)=>{let{mobileContentMetadata:l,desktopContentMetadata:s}=(0,a.T$)(e.content);return(0,i.jsx)(d.y,{className:(0,r.cn)("text-grey-11 font-primary font-semibold lg:text-base lg:leading-5.5","sm:leading-6 sm:text-lg","lg:text-base lg:leading-5.5","xl:leading-6 xl:text-lg"),desktopContentMetadata:s,mobileContentMetadata:l,children:(0,i.jsx)(n.Ow,{desktopContentMetadata:s,mobileContentMetadata:l})},"".concat(null==e?void 0:e.id,"-").concat(t))})]})]})};function v(e){let{block:t}=e,{isMobile:l}=(0,m.B)();if(!t)return null;let a=null==t?void 0:t.blockElements,n=[[null==a?void 0:a[0],null==a?void 0:a[4],null==a?void 0:a[8]],[null==a?void 0:a[1],null==a?void 0:a[5],null==a?void 0:a[9]],[null==a?void 0:a[2],null==a?void 0:a[6],null==a?void 0:a[10]],[null==a?void 0:a[3],null==a?void 0:a[7],null==a?void 0:a[11]]].filter(e=>(null==e?void 0:e.length)>0);return(0,i.jsx)("section",{"data-block":"topic-4-column","data-testid":"topic-4-column",children:(0,i.jsx)(o.Uq,{className:"section-container section-container--carousel",children:l?(0,i.jsx)(s.Carousel,{children:(0,i.jsx)(s.CarouselContent,{className:"grid gap-6 grid-cols-[78%_78%_78%_78%]",containerClassName:"overflow-unset md:!overflow-hidden",children:null==n?void 0:n.map((e,t)=>{var l;return(0,i.jsx)(s.CarouselItem,{children:(0,i.jsx)(p,{blockElement:e,index:0})},"".concat(null==e?void 0:null===(l=e[0])||void 0===l?void 0:l.id,"-").concat(t))})})}):(0,i.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-[24px] md:gap-[35px] lg:gap-[24px] xl:gap-[30px]",children:null==n?void 0:n.map((e,t)=>{var l;return(0,i.jsx)("div",{children:(0,i.jsx)(p,{blockElement:e,index:t})},"".concat(null==e?void 0:null===(l=e[0])||void 0===l?void 0:l.id,"-").concat(t))})})})})}},53003:function(e,t,l){"use strict";l.d(t,{TvHeader:function(){return m}});var i=l(74023),a=l(80375),n=l(8247),s=l(2889),o=l(16395),r=l(31930),d=l(73765),c=l(31652),x=l(61856),u=l(90733);let m=e=>{let{block:t,blockConfig:l,vodPage:m}=e,{title:p,bottomLink:v,bottomLinkText:g}=(null==l?void 0:l.tv_header)||{},h=(0,c.useTranslations)(),{channelsOriginMap:f}=(0,u.HA)(),b=(0,u.MS)();if(!t)return null;let y=(0,n.XG)(t);if(!(null==y?void 0:y.length))return null;let j=null==y?void 0:y.slice(1),w=y[0],{mobileContentMetadata:N,desktopContentMetadata:k}=(0,r.T$)(w),C="".concat((0,s.mi)(f,(0,s.rp)(null==w?void 0:w.slug),b));return(0,i.jsx)(a.FE,{children:(0,i.jsx)(x.N,{sideContents:j,mainContent:w,title:p||h("featuredEpisode"),displayTime:"date",hideMainTitle:!0,vodPage:m,shareUrl:C,Chip:(0,i.jsx)("div",{className:"font-primary font-semibold text-white text-xl leading-custom_5 sm:text-1.5xl lg:text-2xl",children:(0,i.jsx)(o.Ow,{desktopContentMetadata:k,mobileContentMetadata:N})}),...v&&{BottomLink:(0,i.jsx)(d.LinkWithChannelLink,{href:v,className:"inline-block w-full h-full p-3",children:g||h("view-full-schedule")})}})})}},31195:function(e,t,l){"use strict";l.d(t,{LiveTvHeaderClient:function(){return w}});var i=l(74023),a=l(20689),n=l(83641),s=l(63694),o=l(71552),r=l(70049),d=l(83476);function c(e){let{title:t,description:l,date:a,Media:n}=e;return(0,i.jsxs)("div",{className:"w-full grid grid-cols-1 md:grid-cols-[128px_1fr] lg:grid-cols-[185px_1fr] gap-3 py-5 border-b border-b-grey-10 first:pt-0 last:border-none last:pb-0 no-underline article-hover-effect cursor-pointer",children:[(0,i.jsx)("div",{className:"w-full",children:n}),(0,i.jsxs)("div",{className:"w-full flex flex-col gap-3",children:[(0,i.jsx)("div",{className:"font-alt text-base font-semibold leading-custom_4 text-ellipsis overflow-hidden text-white",children:t}),(0,i.jsx)("div",{className:"font-body text-xs2 font-normal text-grey-4 line-clamp-4 lg:line-clamp-3",children:l}),(0,i.jsx)("div",{className:"font-body text-xs font-medium tracking-[0.6px] uppercase text-grey-7",children:a})]})]})}var x=l(73765),u=l(12173);function m(e){let{title:t,className:l}=e;return(0,i.jsx)("div",{className:(0,u.cn)("w-fit px-2 py-1 rounded text-white items-center flex justify-center",l),children:(0,i.jsx)("span",{className:"font-body text-xs2 font-bold uppercase tracking-[0.65px] text-white",children:t})})}var p=l(31652),v=l(54059),g=l.n(v),h=l(10193);let f=e=>{var t;return null===(t=e||[])||void 0===t?void 0:t.map((e,t)=>{var l;let a=g().utc(e.planDateTime),n=e.programMedias.filter(e=>e.link&&e.link).sort((e,t)=>
1e.width-t.width),s=null==a?void 0:a.format("HH:mm");return{id:e.id||"".concat(t),title:e.programName,description:e.synopsis,date:s,Media:(0,i.jsx)(h.default,{className:"w-full aspect-video rounded-custom",width:100,height:50,quality:60,src:(null==n?void 0:null===(l=n[0])||void 0===l?void 0:l.link)||"/png/placeholder.png",alt:"show"})}})};function b(e){var t;let{live:l,liveStream:a,shareUrl:u}=e,v=(0,p.useTranslations)(),g=null==l?void 0:l.currentProgram,h=f(null==l?void 0:null===(t=l.data)||void 0===t?void 0:t.filter(e=>{var t;return e.id!==(null==l?void 0:null===(t=l.currentProgram)||void 0===t?void 0:t.id)&&new Date(null==e?void 0:e.planDateTime).getTime()>new Date().getTime()}));return(0,i.jsx)(s.f,{HeroMainVideo:(0,i.jsx)(r.C,{MainVideo:(0,i.jsx)(o.RJ,{className:"w-full h-full rounded-none aspect-[980/550] show-mini-player",autoplay:!0,muted:!0,src:null==a?void 0:a.streamUrl,dataset:{title:(null==g?void 0:g.programName)||"",description:(null==g?void 0:g.synopsis)||"",type:"tv"}}),shareUrl:u,title:null==g?void 0:g.programName,description:null==g?void 0:g.synopsis,Chip:(0,i.jsx)(m,{title:v("now-playing"),className:"bg-live"})}),HeroFeaturedSideVideo:(0,i.jsx)(d.g,{programs:h,Card:e=>(0,n.createElement)(c,{...e,key:e.id}),title:v("upcomming"),BottomLink:(0,i.jsx)(x.LinkWithChannelLink,{href:"/tv-schedule",className:"inline-block w-full h-full p-3",children:v("view-full-schedule")})})})}let y=e=>{let{live:t,liveStream:l,channel:n,shareUrl:s}=e;return l?(0,i.jsx)("div",{className:"w-full bg-grey-13 py-14",children:(0,i.jsx)(a.FE,{children:(0,i.jsx)(b,{live:t,liveStream:l,channel:n,shareUrl:s})})}):null};var j=l(9102);let w=e=>{let{liveStream:t,channel:l}=e,a=(0,n.useMemo)(()=>new Date().toISOString(),[]),{data:s}=(0,j.s)(a);return(0,i.jsx)("div",{children:(0,i.jsx)(y,{live:s,liveStream:t,channel:l,shareUrl:"/tv-schedule"})})}},38352:function(e,t,l){"use strict";l.d(t,{PromotionVideo:function(){return c}});var i=l(74023),a=l(49442),n=l.n(a),s=l(83641),o=l(12173),r=l(31652),d=l(61845);let c=e=>{let{src:t,size:l,redirectUrl:a,actionButtonLabel:c}=e,{size:x}=function(){let[e,t]=(0,s.useState)(void 0);(0,s.useEffect)(()=>{let e=()=>t(window.innerWidth),l=n()(e,100);return e(),window.addEventListener("resize",l),()=>window.removeEventListener("resize",l)},[]);let{isXs:l,isSm:i,isMd:a,isLg:o,isXl:r}=(0,s.useMemo)(()=>{let t=e?e<670:void 0,l=e?e<884:void 0;return{isXs:t,isSm:l,isMd:e?e<1240:void 0,isLg:e?e<1584:void 0,isXl:e?e>=1584:void 0}},[e]);return{width:e,isXs:l,isSm:i,isMd:a,isLg:o,isXl:r,size:l?"xs":i?"sm":a?"md":o?"lg":r?"xl":void 0}}(),u=(0,s.useRef)(null),m=(0,r.useTranslations)();return x!==l?null:(0,i.jsxs)("div",{className:"relative group",children:[(0,i.jsx)("video",{ref:u,onClick:()=>{if(u.current){var e;(null===(e=u.current)||void 0===e?void 0:e.paused)?u.current.play():u.current.pause()}},src:t,controls:!1,muted:!0,preload:"none",autoPlay:!0,className:(0,o.cn)("overflow-hidden object-cover w-full h-full rounded-xl shadow-2xl",{"aspect-[21/9]":"xl"===x,"aspect-[16/9]":"lg"===x||"md"===x,"aspect-[4/3]":"sm"===x,"aspect-[3/4]":"xs"===x})}),a?(0,i.jsxs)("div",{className:"w-full flex absolute justify-center bottom-0 left-0 opacity-0 p-8 group-hover:opacity-100 transition-opacity duration-700",children:[(0,i.jsx)(d.default,{href:a,className:"z-[1] self-end bg-zinc-200 text-grey-13 px-6 py-3 rounded-xl font-semibold text-base hover:bg-zinc-300 hover:scale-[1.03] transition-transform font-body underline text-grey-1 text-sm font-semibold leading-6.5",children:c||m("view-details")}),(0,i.jsx)("div",{className:"w-full h-[40vh] absolute bottom-0 bg-gradient-to-b -from-[0%] to-[100%] from-[#00000000] to-[#000000E5] rounded-custom",onClick:()=>{if(u.current){var e;(null===(e=u.current)||void 0===e?void 0:e.paused)?u.current.play():u.current.pause()}}})]}):null]})}},29385:function(e,t,l){"use strict";l.r(t),l.d(t,{CarouselHorizontalVideo:function(){return p}});var i=l(74023),a=l(20689),n=l(8247),s=l(91900),o=l(12173),r=l(69959),d=l(32205),c=l(9004),x=l(198),u=l(83641);let m={skipSnaps:!0,align:"center"};function p(e){var t,l;let{block:p,carouselItemClassName:v,hideTopBorder:g,theme:h,vodPage:f}=e,b=(0,n.XG)(p),y=(0,u.useRef)((0,r.Y)()),{handleMouseEnter:j,handleMouseLeave:w,handleOpenModal:N,handleCloseModal:k,isHovered:C,videoIndex:P}=(0,x.L)();return p&&(null==b?void 0:b.length)?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("section",{className:"flex w-full section-container section-container--carousel",children:(0,i.jsx)(a.Uq,{className:"section-container section-container--carousel",children:(0,i.jsxs)("div",{className:"w-full flex flex-col gap-4 lg:gap-6 xl:gap-8",onMouseLeave:w,children:[(0,i.jsx)(d.H,{title:null==p?void 0:p.name,className:(0,o.cn)("border-t-grey-9 text-grey-9",{"text-grey-2":"dark"===h}),hideTopBorder:g,vodPage:f}),(0,i.jsxs)(s.Carousel,{opts:m,plugins:[y.current],children:[(0,i.jsx)(s.CarouselContent,{className:"gap-4 md:gap-6 xl:gap-8",containerClassName:"overflow-unset md:!overflow-hidden",children:null==b?void 0:null===(t=b.filter(e=>null==e?void 0:e.id))||void 0===t?void 0:t.map((e,t)=>(0,i.jsx)(s.CarouselItem,{className:(0,o.cn)("basis-[78%] sm:basis-5/12 md:basis-[250px] lg:basis-[256px] xl:basis-[302px]",v),onMouseEnter:()=>j(e),onMouseLeave:w,onClick:()=>N(t),children:(0,i.jsx)(c.yl,{content:e,isHovered:!!(C&&(null==C?void 0:C.id)===e.id),noLink:!0})},"video-horizontal".concat(e.id)))}),(0,i.jsx)(s.CarouselPrevious,{className:"absolute start-3 text-white hidden md:block"}),(0,i.jsx)(s.CarouselNext,{className:"absolute end-3 text-white hidden md:block"})]})]})})}),(0,i.jsx)(a.dS,{videoIndex:P,onClose:k,initialSlide:b&&P,contents:null!==(l=null==b?void 0:b.filter(e=>null==e?void 0:e.id))&&void 0!==l?l:[]})]}):null}},77671:function(e,t,l){"use strict";l.r(t),l.d(t,{CarouselVerticalVideo:function(){return p}});var i=l(74023),a=l(64536),n=l(20689),s=l(8247),o=l(91900),r=l(12173),d=l(69959),c=l(32205),x=l(198),u=l(83641);let m={skipSnaps:!0,align:"center"};function p(e){var t,l;let{block:p,carouselItemClassName:v,hideTopBorder:g,theme:h,vodPage:f}=e,b=(0,s.XG)(p),y=(0,u.useRef)((0,d.Y)()),{handleMouseEnter:j,handleMouseLeave:w,handleOpenModal:N,handleCloseModal:k,isHovered:C,videoIndex:P}=(0,x.L)();return p&&(null==b?void 0:b.length)?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("section",{className:"flex w-full",children:(0,i.jsx)(n.Uq,{className:"section-container--carousel",children:(0,i.jsxs)("div",{className:"w-full flex flex-col gap-4 lg:gap-6 xl:gap-8",onMouseLeave:w,children:[(0,i.jsx)(c.H,{title:null==p?void 0:p.name,className:(0,r.cn)("border-t-grey-9 text-grey-9",{"text-grey-2":"dark"===h}),hideTopBorder:g,vodPage:f}),(0,i.jsxs)(o.Carousel,{opts:m,plugins:[y.current],children:[(0,i.jsx)(o.CarouselContent,{className:"gap-4 md:gap-6 xl:gap-8",containerClassName:"overflow-unset md:!overflow-hidden",children:null==b?void 0:null===(t=b.filter(e=>null==e?void 0:e.id))||void 0===t?void 0:t.map((e,t)=>(0,i.jsx)(o.CarouselItem,{className:(0,r.cn)("basis-[78%] sm:basis-5/12 md:basis-[250px] lg:basis-[256px] xl:basis-[302px]",v),onMouseEnter:()=>j(e),onMouseLeave:w,children:(0,i.jsx)(a.cB,{index:t,handleOpenModal:N,content:e,isHover:(null==C?void 0:C.id)===e.id&&!!e.media})},"video-vertical".concat(e.id)))}),(0,i.jsx)(o.CarouselPrevious,{className:"absolute start-3 text-white hidden md:block"}),(0,i.jsx)(o.CarouselNext,{className:"absolute end-3 text-white hidden md:block"})]})]})})}),(0,i.jsx)(n.dS,{videoIndex:P,onClose:k,initialSlide:b&&P,contents:null!==(l=null==b?void 0:b.filter(e=>null==e?void 0:e.id))&&void 0!==l?l:[]})]}):null}},37769:function(e,t,l){"use strict";l.r(t),l.d(t,{VODCategories:function(){return v}});var i=l(74023),a=l(20689),n=l(91900),s=l(12173),o=l(69959),r=l(32205),d=l(34997),c=l(31930),x=l(16395),u=l(83641);let m=["linear-gradient(180deg, #DD00C2 0%, #31002B 100%)","linear-gradient(180deg, #097936 0%, #002F13 100%)","linear-gradient(360deg, #002071 0%, #1B52DD 86.45%)","linear-gradient(0deg, #783D00 0%, #FF8300 100%)","linear-gradient(360deg, #350003 0%, #960912 100%)"],p={skipSnaps:!0,align:"start"};function v(e){var t;let{block:l,hideTopBorder:v,vodPage:g}=e,h=(null===(t=(0,d.up)(l))||void 0===t?void 0:t.filter(e=>e.id))||[],f=(0,u.useRef)((0,o.Y)());return l&&(null==h?void 0:h.length)?(0,i.jsx)("section",{className:(0,s.cn)("w-full flex flex-col vod-section-wrapper"),"data-block":"vod-categories",children:(0,i.jsxs)(a.b2,{"data-block":"tv-show-list",className:(0,s.cn)("overflow-unset carousel-wrapper vod-wrapper clip-right-carousel-vertical flex flex-col gap-4"),children:[(0,i.jsx)(r.H,{title:null==l?void 0:l.name,className:"border-t-grey-1 text-grey-1 font-primary",hideTopBorder:v,vodPage:g}),(0,i.jsx)(n.Carousel,{opts:p,plugins:[f.current],children:(0,i.jsx)(n.CarouselContent,{className:"gap-x-4",containerClassName:"overflow-unset",children:null==h?void 0:h.map((e,t)=>{let{mobileContentMetadata:l,desktopContentMetadata:a}=(0,c.T$)(e);return(0,i.jsxs)(n.CarouselItem,{className:(0,s.cn)("relative basis-[214px] md:basis-[250px] lg:basis-[256px] xl:basis-[302px]"),children:[(0,i.jsx)(x.j,{mobileContentMetadata:l,desktopContentMetadata:a,width:588,height:784,className:"w-full",viewInDetailPage:!0,hidePlaceholder:!0,noLink:!0}),(0,i.jsx)("div",{className:"w-full h-full opacity-75 absolute top-0 pointer-events-none",style:{background:"".concat(m[t%m.length])}}),(0,i.jsx)("div",{className:"absolute bottom-0 left-0 w-full p-3 md:p-6 z-[2] text-2xl2 text-white font-alt font-semibold",children:e.title})]},"".concat(e.id,"-").concat(t))})})})]})}):null}},32589:function(e,t,l){"use strict";l.r(t),l.d(t,{VODGenreBlock:function(){return u}});var i=l(74023),a=l(20689),n=l(91900),s=l(12173),o=l(69959),r=l(32205),d=l(83641),c=l(57784);let x={skipSnaps:!0,align:"start"};function u(e){var t;let{block:l,hideTopBorder:u,vodPage:p}=e,v=(null==l?void 0:null===(t=l.blockElements)||void 0===t?void 0:t.filter(e=>e.id))||[],g=(0,d.useRef)((0,o.Y)()),[h,f]=(0,d.useState)(null);return l&&(null==v?void 0:v.length)?(0,i.jsx)("section",{className:(0,s.cn)("w-full flex flex-col vod-section-wrapper"),"data-block":"vod-categories",children:(0,i.jsxs)(a.b2,{"data-block":"tv-show-list",className:(0,s.cn)("overflow-unset carousel-wrapper vod-wrapper clip-right-carousel-vertical flex flex-col gap-4"),children:[(0,i.jsx)(r.H,{title:null==l?void 0:l.name,className:"border-t-grey-1 text-grey-1 font-primary",hideTopBorder:u,vodPage:p}),(0,i.jsx)(n.Carousel,{opts:x,plugins:[g.current],children:(0,i.jsx)(n.CarouselContent,{className:"gap-x-4",containerClassName:"overflow-unset",children:null==v?void 0:v.map((e,t)=>{var l;let a=String(null!==(l=e.id)&&void 0!==l?l:t),o=m[t%m.length][0],r=m[t%m.length][1];return(0,i.jsx)(n.CarouselItem,{className:(0,s.cn)("group relative basis-[214px] md:basis-[250px] lg:basis-[256px] xl:basis-[304px] aspect-[304/171] overflow-hidden cursor-pointer"),onMouseEnter:()=>f(a),onMouseLeave:()=>f(null),children:(0,i.jsxs)("div",{className:"relative h-full w-full overflow-hidden rounded-[8px] bg-white shadow-[0_0_20px_rgba(91,91,91,0.25)]",children:[(0,i.jsx)("div",{className:"pointer-events-none absolute inset-0",children:(0,i.jsx)(c.yK,{className:" absolute left-1/2 top-1/2 h-[446px] w-[446px] -translate-x-1/2 -translate-y-1/2 ",animate:{background:h===a?r:o},transition:{duration:.2,ease:"easeOut"},style:{background:o,filter:"blur(26.8844px)"}})}),(0,i.jsx)("div",{className:"absolute bottom-0 left-0 w-full p-3 md:p-7 z-[2] text-3.5xl text-white font-primary font-semibold",children:e.title})]})},"".concat(e.id,"-").concat(t))})})})]})}):null}let m=[["linear-gradient(204.88deg, #000000 38.15%, #690073 78.78%)","linear-gradient(204.76deg, #000000 38.33%, #780083 60.
108%)"],["linear-gradient(204.77deg, #000000 37.77%, #01442A 77.37%)","linear-gradient(204.76deg, #000000 38.33%, #015031 56.35%)"],["linear-gradient(206.04deg, #000000 38.03%, #665203 77.73%)","linear-gradient(204.76deg, #000000 38.33%, #786000 61.15%)"],["linear-gradient(206.04deg, #000000 38.03%, #014164 77.73%)","linear-gradient(204.76deg, #000000 38.33%, #004971 61.15%)"],["linear-gradient(206.04deg, #000000 38.03%, #710107 77.73%)","linear-gradient(204.76deg, #000000 38.33%, #800007 63.28%)"],["linear-gradient(206.04deg, #000000 38.03%, #A11A55 77.73%)","linear-gradient(204.76deg, #000000 38.33%, #B2175A 61.95%)"]]},1373:function(e,t,l){"use strict";l.r(t),l.d(t,{VODHorizontalContentBlock:function(){return p}});var i=l(74023),a=l(20689),n=l(8247),s=l(91900),o=l(12173),r=l(69959),d=l(198),c=l(32205),x=l(35e3),u=l(83641);let m={skipSnaps:!0,align:"center"};function p(e){var t;let{block:l,carouselItemClassName:p,hideTopBorder:v,theme:g,withTitle:h,vodPage:f}=e,b=(0,u.useMemo)(()=>{var e;return(null===(e=(0,n.Qr)(l))||void 0===e?void 0:e.filter(e=>e.id))||[]},[l]),y=(0,u.useRef)((0,r.Y)()),{handleMouseEnter:j,handleMouseLeave:w,isHovered:N}=(0,d.L)();return l&&(null==b?void 0:b.length)?(0,i.jsx)("section",{className:(0,o.cn)("w-full flex flex-col vod-section-wrapper",{"z-[20]":!!N}),"data-block":"vod-horizontal-content-block",children:(0,i.jsx)(a.b2,{className:(0,o.cn)("overflow-unset carousel-wrapper vod-wrapper clip-right-carousel-vertical"),children:(0,i.jsxs)("div",{className:"w-full flex flex-col gap-2 lg:gap-[14px]",onMouseLeave:w,children:[(0,i.jsx)(c.H,{title:null==l?void 0:l.name,className:(0,o.cn)("carousel-title font-primary border-t-grey-2 text-grey-1",{"text-grey-9 border-t-grey-9":"light"===g}),hideTopBorder:v,vodPage:f}),(0,i.jsx)(s.Carousel,{opts:m,plugins:[y.current],children:(0,i.jsx)(s.CarouselContent,{className:"gap-2 sm:gap-[10px] md:gap-[13px] lg:gap-[14px] xl:gap-4",containerClassName:"overflow-unset",children:null==b?void 0:null===(t=b.filter(e=>null==e?void 0:e.id))||void 0===t?void 0:t.map((e,t)=>{let l="vod-video-horizontal-".concat(e.id);return(0,i.jsx)(s.CarouselItem,{className:(0,o.cn)("basis-[200px] sm:basis-[219px] lg:basis-[304px]",p),onMouseEnter:()=>j(e),onMouseLeave:w,children:(0,i.jsx)(x.VodHorizontalAnimatedCard,{elementId:l,blockName:"video-horizontal",className:"w-full relative h-full grid gap-2 no-underline",content:e,isHovered:!!(N&&(null==N?void 0:N.id)===e.id),withTitle:h})},"vod-video-horizontal-".concat(t,"-").concat(e.id))})})})]})})}):null}},65079:function(e,t,l){"use strict";l.r(t),l.d(t,{VODPlaylist:function(){return L}});var i=l(74023),a=l(20689),n=l(8247),s=l(91900),o=l(12173),r=l(69959),d=l(198),c=l(32205),x=l(83641),u=l(31930),m=l(16395),p=l(23306),v=l.n(p),g=l(69577),h=l(33533),f=l(89814);function b(e){var t,l;let{content:a,blockName:n,className:s,isHovered:r,isLoading:d,isFocused:c}=e,{mobileContentMetadata:x,desktopContentMetadata:p}=(0,u.T$)(a),b=(0,f.C)(null==a?void 0:a.genre);return(0,i.jsxs)("div",{"data-block":n,"data-state":r?"delayed-open":void 0,className:(0,o.cn)("w-full relative grid no-underline rounded-[8px] overflow-hidden",s,v().vodPodcastContainer),children:[(0,i.jsx)("div",{className:(0,o.cn)("w-full relative"),children:(0,i.jsxs)("div",{"data-block":"vod_playlist_animated_card",className:"w-full grid no-underline content-baseline",children:[(0,i.jsx)(m.q5,{content:a,width:882,height:882,isHovered:r,resolution:"540p",...!(null==a?void 0:null===(l=a.coverImage)||void 0===l?void 0:null===(t=l.media)||void 0===t?void 0:t.originalUrl)&&{poster:null==a?void 0:a.posterLandscape},covervideo:!0}),(0,i.jsxs)("div",{dir:"inherit",className:"absolute grid grid-cols-[1fr_24px] gap-1 items-start bottom-0 left-0 w-full px-3 py-3 pt-6 bg-gradient-vod-podcast",children:[(0,i.jsx)(m.Ow,{mobileContentMetadata:x,desktopContentMetadata:p,className:(0,o.cn)("font-primary text-sm lg:text-xl font-medium !text-grey-1 !leading-normal line-clamp-1",v().vodTitleUpAnimation)}),d?(0,i.jsx)(h.A,{color:"white",className:(0,o.cn)("text-grey-1 end-2 bottom-2 absolute",{"bottom-2 end-[45%] transition-all duration-300 z-[4]":r})}):(0,i.jsx)(g.Z,{className:(0,o.cn)("text-grey-1 end-2 bottom-2 absolute",{"bottom-2 end-[45%] translate-x-[-50%] transition-all duration-300 z-[4]":r,"!rotate-180":c}
1)})]})]})}),(0,i.jsxs)("div",{className:(0,o.cn)("absolute grid h-full bg-gradient-vod-vertical opacity-0 cursor-pointer overflow-hidden z-[3] shadow-vodContainer top-0 p-3 text-grey-1 rounded-[8px]","items-end content-end ","w-[284px] sm:w-[282px] lg:w-[368px] xl:w-[390px]",{[v().verticalVodAnimation]:r,"opacity-100":r}),children:[(0,i.jsx)("div",{className:"font-primary font-bold leading-5 text-sm2 sm:text-lg lg:text-xl mb-[10px] sm:mb-3",children:(0,i.jsx)(m.Ow,{mobileContentMetadata:x,desktopContentMetadata:p,className:"font-primary font-bold !text-grey-1 sm:text-grey-1 text-lg !leading-normal line-clamp-1"})}),b?(0,i.jsx)("div",{className:"font-body !leading-normal text-xs md:text-xs2 text-grey-1 mb-2 opacity-50 mb-2",children:b}):null,(0,i.jsx)("span",{className:"font-body !leading-normal text-xs text-grey-1 line-clamp-2 mb-2 text-xs sm:text-xs2 lg:text-sm",children:(0,i.jsx)(m.Y9,{mobileContentMetadata:x,desktopContentMetadata:p})}),(0,i.jsx)("div",{className:"h-5"})]})]})}var y=l(69832),j=l(99384),w=l(79313),N=l(94970),k=l(31652),C=l(460);function P(e){var t,l,a,n,s;let{content:r,onClick:d}=e,{mobileContentMetadata:c,desktopContentMetadata:x}=(0,u.T$)(r),p=(0,u.Dr)((null===(t=r.seriesEpisode)||void 0===t?void 0:t.duration)||(null===(l=r.categoryItem)||void 0===l?void 0:l.duration));return(0,i.jsx)("div",{onClick:d,className:"cursor-pointer group",children:(0,i.jsxs)("div",{className:"block no-underline grid grid-cols-1 sm:grid-cols-[288px_1fr] gap-4",children:[(0,i.jsxs)("div",{className:"relative rounded overflow-hidden",children:[(0,i.jsx)(m.j,{mobileContentMetadata:c,desktopContentMetadata:x,width:576,height:324,noLink:!0,coverposter:!0,covervideo:!0,autoplay:!1,className:"w-full h-full object-cover transition-transform duration-300 rounded-[8px] overflow-hidden",poster:null==r?void 0:null===(a=r.categoryItem)||void 0===a?void 0:a.posterLandscape}),(0,i.jsx)("div",{className:"absolute inset-0 flex items-center justify-center w-full h-full opacity-0 group-hover:opacity-100 transition-opacity duration-300 bg-black/30",children:(0,i.jsx)(N.EQ,{className:"w-10 h-10"})})]}),(0,i.jsxs)("div",{className:(0,o.cn)("flex flex-col gap-2 sm:gap-1 md:gap-4 lg:gap-1 xl:gap-2 justify-startr"),children:[(0,i.jsx)("h3",{className:(0,o.cn)("font-primary font-bold text-white line-clamp-2","text-base leading-5.5 sm:text-lg sm:leading-6 md:text-xl md:leading-6 lg:text-lg lg:leading-6 xl:leading-normal xl:text-xl"),children:null==r?void 0:null===(n=r.promoContent)||void 0===n?void 0:n.title}),(0,i.jsx)("p",{className:"font-body text-xs sm:text-xs2 md:text-sm lg:text-xs2 xl:text-sm text-grey-7 line-clamp-3 !leading-normal",children:null==r?void 0:null===(s=r.promoContent)||void 0===s?void 0:s.description}),p&&(0,i.jsxs)("div",{className:"flex items-center gap-2 text-grey-7 text-xs font-medium",children:[(0,i.jsx)(y.Z,{className:"w-4 h-4"}),p]})]})]})})}function M(e){var t;let{onClose:l,contents:a,playlist:n}=e,[s,r]=(0,x.useState)(!1),[d,c]=(0,x.useState)(!0),u=(0,w.Gk)(),p=(0,w.ks)(),g=(0,x.useRef)(null),h=(0,k.useTranslations)();(0,x.useEffect)(()=>{c(!0);let e=setTimeout(()=>{c(!1)},300);return()=>clearTimeout(e)},[]);let b=()=>{r(!0),setTimeout(()=>{null==l||l()},300)},y=(0,f.C)(null==n?void 0:n.genre);if(!a||0===a.length)return null;let M=null==n?void 0:null===(t=n.seriesEpisode)||void 0===t?void 0:t.series;return(0,i.jsx)("div",{className:(0,o.cn)("text-white w-full overflow-hidden max-w-[100vw-18px] md:max-w-[1696px] md:mx-auto",{[v().vodPlaylistExpand]:d&&!s,[v().vodPlaylistCollapse]:s}),children:(0,i.jsxs)("div",{className:(0,o.cn)("w-[calc(100vw-18px)] sm:w-full h-full grid grid-cols-1 lg:grid-cols-[1fr_756px] xl:grid-cols-[1fr_934px]","gap-0","sm:gap-8"),children:[(0,i.jsxs)("div",{className:"mt-6 sm:mt-0 w-full flex-shrink-0 order-2 lg:order-1 flex flex-col",children:[(0,i.jsx)("button",{onClick:()=>{b()},className:"hidden lg:ms-8 lg:flex lg:relative top-8 right-8 lg:right-0 lg:top-0 w-9 h-9 md:w-10 md:h-10 mb-6 border border-[rgba(255, 255, 255, 0.24)] rounded-[4px] flex items-center justify-center text-white hover:bg-white/20 transition-colors","aria-label":"Close",children:(0,i.jsx)(N.Tw,{className:"w-5 h-5"})}),(0,i.jsxs)("div",{className:"relative w-full",children:[(0,i.jsx)("div",{ref:g,className:(0,o.cn)("relative w-full px-4 sm:px-9 md:px-0 grid gap-9 sm:gap-bh-12 sm:gap-bh-grey-11 lg:overflow-y-auto lg:max-h-[606px] scrollbar-none","md:ps-[46px] md:pe-[48px] ","lg:max-w-none lg:ps-8 lg:pe-3"),children:a.map(e=>(0,i.jsx)(P,{content:e,onClick:()=>{u(e)}},e.id))}),(0,i.jsx)(C.CustomScrollbar,{containerRef:g,className:"lg:block hidden",thumbColor:"rgba(255, 255, 255, 1)",trackColor:"rgba(255, 255, 255, 0.1)",width:4})]})]}),(0,i.jsxs)("div",{className:"w-full relative flex-1 flex flex-col lg:flex-row bg-grey-12 min-h-0 order-1 lg:order-2",children:[(0,i.jsx)("button",{onClick:()=>{b()},className:"lg:hidden z-[3] flex absolute top-4 start-6 w-10 h-10 border border-[rgba(255, 255, 255, 0.24)] rounded-[4px] flex items-center justify-center text-white hover:bg-white/20 transition-colors","aria-label":"Close",children:(0,i.jsx)(N.Tw,{className:"w-5 h-5"})}),(0,i.jsx)(m.q5,{content:n,width:1200,height:800,mobileWidth:400,mobileHeight:600,isHovered:!0,resolution:"540p",poster:null==n?void 0:n.posterLandscape,covervideo:!0,className:"w-full h-full object-cover"}),(0,i.jsx)("div",{className:"ltr:bg-gradient-ltr rtl:bg-gradient-rtl absolute inset-0 flex flex-col justify-end p-4 sm:p-9 md:p-[46px] lg:p-8 xl:p-10 z-[2]",children:(0,i.jsxs)("div",{className:"flex flex-col",children:[(0,i.jsx)("h3",{className:(0,o.cn)("font-primary text-white font-semibold !leading-normal mb-6","text-2xl sm:text-4xl md:text-4.5xl lg:text-4.5xl2 xl:text-5xl"),children:null==n?void 0:n.title}),y?(0,i.jsx)("div",{className:"font-body !leading-normal text-xs text-grey-1 opacity-50",children:y}):null,(0,i.jsx)("p",{className:"font-body text-xs leading-normal smleading-normal sm:text-sm md:text-base text-grey-1 mb-8",children:null==n?void 0:n.description}),(0,i.jsxs)("div",{className:"flex flex-row flex-wrap gap-3 justify-start mt-2",children:[(0,i.jsx)(w.vc,{className:"w-auto w-full sm:w-auto",onClick:e=>{e.stopPropagation(),u(a[0])}}),M?(0,i.jsxs)("button",{onClick:()=>{p(n)},className:(0,o.cn)("whitespace-nowrap w-auto flex items-center justify-center gap-2 bg-grey-10 text-white rounded font-body hover:bg-grey-7 group","h-[38px] sm:px-0 sm:h-[40px] xl:h-[44px] px-[14px] sm:px-5 py-0","text-xs2 sm:text-sm xl:text-base !leading-4 !font-semibold rtl:flex-row-reverse"),children:[(0,i.jsx)(j.Z,{className:(0,o.cn)("fill-white stroke-grey-10 group-hover:stroke-grey-7",w.kW)}),(0,i.jsx)("span",{children:h("moreInfo")})]}):null]})]})})]})]})})}var S=l(35472),T=l(2934);let E=(e,t,l,i)=>{var a,n;let{data:s,...o}=(0,S.a)({queryKey:["playlist-items",t,l,i],queryFn:async()=>
1{if(!t)return{PlaylistItems:{docs:[]}};let e=new URLSearchParams({playlistId:t});l&&e.append("limit",l.toString()),i&&e.append("page",i.toString());let a=await fetch("/api/get-playlist-items?".concat(e.toString()));if(!a.ok)throw Error("Failed to fetch playlist items");return a.json()},enabled:e&&!!t});return{data:(null==s?void 0:s.PlaylistItems)?null==s?void 0:null===(n=s.PlaylistItems.docs)||void 0===n?void 0:null===(a=n.filter(e=>{var t,l;return(e.seriesEpisode||e.categoryItem)&&(null===(t=e.seriesEpisode)||void 0===t?void 0:t.status)!=="draft"&&(null===(l=e.categoryItem)||void 0===l?void 0:l.status)!=="draft"}))||void 0===a?void 0:a.map(e=>(0,T.V)(e)):[],...o}},F={skipSnaps:!0,align:"center"};function L(e){var t,l;let{block:u,carouselItemClassName:m,hideTopBorder:p,theme:v,vodPage:g}=e,h=(0,x.useMemo)(()=>{var e;return(null===(e=(0,n.H9)(u))||void 0===e?void 0:e.filter(e=>e.id))||[]},[u]),f=(0,x.useRef)((0,r.Y)()),{handleMouseEnter:y,handleMouseLeave:j,handleOpenModal:w,handleCloseModal:N,isHovered:k,videoIndex:C}=(0,d.L)(),{data:P,isLoading:S}=E(void 0!==C,void 0!==C?null===(t=h[C])||void 0===t?void 0:t.id:void 0);return u&&(null==h?void 0:h.length)?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("section",{className:(0,o.cn)("w-full flex flex-col vod-section-wrapper",{"z-[20]":!!k}),"data-block":"vod-playlist",children:(0,i.jsx)(a.b2,{className:"overflow-unset carousel-wrapper clip-right-carousel-vertical",children:(0,i.jsxs)("div",{className:"w-full flex flex-col gap-2 lg:gap-[14px] !max-w-[calc(100vw-44px)]",onMouseLeave:j,children:[(0,i.jsx)(c.H,{title:null==u?void 0:u.name,className:(0,o.cn)("carousel-title font-primary border-t-grey-2 text-grey-2",{"text-grey-9 border-t-grey-9":"light"===v}),hideTopBorder:p,vodPage:g}),(0,i.jsx)(s.Carousel,{opts:F,plugins:[f.current],children:(0,i.jsx)(s.CarouselContent,{className:"gap-4",containerClassName:"overflow-unset",children:null==h?void 0:null===(l=h.filter(e=>null==e?void 0:e.id))||void 0===l?void 0:l.map((e,t)=>{let l=!!(k&&(null==k?void 0:k.id)===e.id),a=C===t;return(0,i.jsx)(s.CarouselItem,{className:(0,o.cn)("basis-[284px] sm:basis-[282px] lg:basis-[368px] xl:basis-[390px] aspect-square",m,{"z-[2]":a,"z-[3]":l}),onMouseEnter:()=>y(e),onMouseLeave:j,onClick:()=>{w(t)},children:(0,i.jsx)(b,{blockName:"video-podcast",className:"w-full relative h-full grid gap-4 no-underline",content:e,isHovered:l||a,isLoading:a&&S,isFocused:a})},"vod-playlist-video-vertical".concat(e.id))})})})]})})}),void 0===C?null:(0,i.jsx)(M,{contents:P,onClose:N,playlist:h[C]})]}):null}},92305:function(e,t,l){"use strict";l.r(t),l.d(t,{VODPromotion:function(){return y}});var i=l(74023),a=l(94970),n=l(12173),s=l(64710),o=l(31652),r=l(10193),d=l(38352),c=l(72793),x=l(31930),u=l(26092),m=l(79313),p=l(83641),v=l(2934);let g=()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"left-0 right-0 absolute bg-gradient-vod-podcast md:ltr:bg-gradient-ltr rtl:md:bg-gradient-rtl z-[3] w-full h-full inset-0"}),(0,i.jsx)("div",{className:"hero-header-gradient-bottom absolute bottom-0 left-0 right-0 pointer-events-none z-[1] block sm:hidden"})]}),h=e=>{let{src:t,size:l,containerClassName:a,children:s}=e;return(0,i.jsxs)("div",{className:(0,n.cn)("relative vod-section-container !overflow-visible",a),children:[s,(0,i.jsx)(d.PromotionVideo,{src:t,size:l})]})},f=e=>{let{src:t,alt:l,backgroundColor:a,size:s,containerClassName:o,children:d}=e;return(0,i.jsxs)("div",{className:(0,n.cn)("vod-section-container !overflow-visible relative w-full",o),children:[a&&t?(0,i.jsx)(r.default,{src:t,className:"w-full h-full object-cover rounded-3xl brightness-50 grayscale blur-lg",fill:!0,alt:l||""}):null,t?(0,i.jsxs)("div",{className:(0,n.cn)("relative z-[2] w-full rounded-3xl overflow-hidden",{"aspect-[21/9]":"xl"===s,"aspect-[16/9]":"lg"===s,"aspect-[4/3]":"md"===s,"aspect-[9/16]":"sm"===s,"aspect-[3/4]":"xs"===s}),children:[d,(0,i.jsx)(r.default,{src:t,className:"w-full h-full object-cover",fill:!0,alt:l||""})]}):null]})},b=e=>{let{mediaType:t,className:l,backgroundColor:a,...s}=e;return s.src?(0,i.jsx)("div",{className:(0,n.cn)("relative",l),...a&&{style:{backgroundColor:a}},children:"VIDEO"===t?(0,i.jsx)(h,{...s}):(0,i.jsx)(f,{...s,backgroundColor:a,size:s.size})}):null};function y(e){var t,l,r,d,h,f;let{block:y}=e,j=(0,p.useMemo)(()=>{var e;return(0,v.V)(null==y?void 0:null===(e=y.blockElements)||void 0===e?void 0:e[0])},[y]),w=(null==j?void 0:null===(t=j.categoryItem)||void 0===t?void 0:t.synopsis)||(null==j?void 0:j.synopsis),N=(null==j?void 0:null===(l=j.categoryItem)||void 0===l?void 0:l.title)||(null==j?void 0:j.title),{data:k}=(0,u.Q)(!0,j,1),C=(0,m.ks)(),P=null==k?void 0:k[0],{setFullScreenPlayerContent:M}=(0,s.sO)(),S=(0,o.useTranslations)(),T=()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(g,{}),(0,i.jsx)("div",{dir:"ltr",className:(0,n.cn)("absolute max-w-[1536px] w-full h-full z-[4] grid px-5 sm:px-0 pb-10 sm:pb-16 md:pb-0 content-end sm:content-center md:top-0 bottom-0 start-[22px] sm:start-[60px] md:start-[106px] overflow-hidden"),children:(0,i.jsxs)("div",{className:(0,n.cn)("w-full md:w-auto z-[5] flex flex-col items-start overflow-hidden","max-w-none ps-4 pe-4","sm:max-w-[570px] sm:ps-16 sm:pe-2","md:max-w-[509px] md:me-[45px] sm:ps-0 sm:pe-0","lg:max-w-[593px]","xl:max-w-[709px]"),children:[(0,i.jsx)("div",{className:(0,n.cn)("font-primary text-white font-black !leading-normal text-3.5xl mb-3 line-clamp-3","sm:text-5xl-52","md:text-5xl-50","lg:text-5xl-54","xl:text-6.5xl"),children:N}),(0,i.jsx)("p",{className:(0,n.cn)("font-body text-primary-blue-5 text-sm md:text-base lg:text-lg font-bold leading-normal mb-6 line-clamp-5 text-2xl","sm:text-2.5xl sm:leading-normal","lg:text-3.5xl lg:leading-tight","xl:text-4.5xl xl:leading-tight"),children:w}),(0,i.jsxs)("div",{className:"flex flex-row flex-wrap gap-4 mt-4",children:[P?(0,i.jsxs)("button",{className:(0,n.cn)("whitespace-nowrap w-auto h-auto md:h-[42px] rounded","flex items-center justify-center gap-2","bg-primary-3 hover:bg-primary-3-hover","transition-colors duration-200","font-body text-white text-xs sm:text-xs2 md:text-sm2 font-medium uppercase","h-[48px] sm:h-[42px] md:h-[52px] px-6 sm:px-9 md:px-12 rtl:flex-row-reverse"),"aria-label":"Play the latest episode",onClick:()=>{M(P)},children:[(0,i.jsx)(a.o1,{className:"w-6 h-6 text-white"}),(0,i.jsx)("span",{children:S("playTheLatest")})]}):null,(0,i.jsxs)("button",{className:(0,n.cn)("whitespace-nowrap w-auto h-auto md:h-[42px] rounded","flex items-center justify-center gap-2","bg-white group hover:text-primary-3-hover","transition-colors duration-200","font-body text-grey-13 text-xs sm:text-xs2 md:text-sm2 font-medium uppercase","h-[48px] sm:h-[42px] md:h-[52px] px-7 rtl:flex-row-reverse"),"aria-label":"View all episodes",onClick:e=>{e.stopPropagation(),C(j)},children:[(0,i.jsx)(a.lJ,{className:"w-6 h-6 text-grey-13 group-hover:text-primary-3-hover",color:"currentColor"}),(0,i.jsx)("span",{children:S("episodes")})]})]})]})})]});if(!y)return null;let E=null==y?void 0:null===(d=y.blockElements)||void 0===d?void 0:null===(r=d[0])||void 0===r?void 0:r.coverMedia,F=(null==y?void 0:y.backgroundColor)||"",L=[{index:0,size:"xl"},{index:1,size:"lg"},{index:2,size:"md"},{index:3,size:"sm"},{index:4,size:"xs"}],D=e=>{var t,l,i,a;let n=L.find(t=>t.size===e),s=null==E?void 0:null===(t=E[null!==(a=null==n?void 0:n.index)&&void 0!==a?a:1])||void 0===t?void 0:t.media,o=null==E?void 0:null===(l=E[1])||void 0===l?void 0:l.media,r=s||o;if(!r)return{src:"",mediaType:"",size:e};let d=null==r?void 0:null===(i=r.media)||void 0===i?void 0:i.type;return{src:"IMAGE"===d?(0,x.fi)(r):(0,c.To)(r),mediaType:d,size:e}},z=(null==E?void 0:null===(f=E[0])||void 0===f?void 0:null===(h=f.media)||void 0===h?void 0:h.caption)||"";return(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("section",{className:(0,n.cn)("w-full !px-0 relative vod-section-container vod-section-wrapper lg:rou
1nded-[14px] overflow-hidden"),children:[(0,i.jsx)(b,{className:"hidden xl:block relative",...D("xl"),alt:z,backgroundColor:F,children:(0,i.jsx)(T,{})}),(0,i.jsx)(b,{className:"hidden lg:block xl:hidden relative",...D("lg"),alt:z,backgroundColor:F,children:(0,i.jsx)(T,{})}),(0,i.jsx)(b,{className:"hidden md:block lg:hidden relative",...D("md"),alt:z,backgroundColor:F,children:(0,i.jsx)(T,{})}),(0,i.jsx)(b,{className:"hidden sm:block md:hidden relative",...D("sm"),alt:z,backgroundColor:F,children:(0,i.jsx)(T,{})}),(0,i.jsx)(b,{className:"block sm:hidden relative",...D("xs"),alt:z,backgroundColor:F,children:(0,i.jsx)(T,{})})]})})}},53062:function(e,t,l){"use strict";l.r(t),l.d(t,{VODVerticalContentBlock:function(){return v}});var i=l(74023),a=l(20689),n=l(8247),s=l(91900),o=l(12173),r=l(69959),d=l(198),c=l(32205),x=l(63129),u=l(83641),m=l(79313);let p={skipSnaps:!0,align:"center"};function v(e){var t;let{block:l,carouselItemClassName:v,hideTopBorder:g,theme:h,vodPage:f}=e,b=(0,u.useMemo)(()=>{var e;return(null===(e=(0,n.Qr)(l))||void 0===e?void 0:e.filter(e=>e.id))||[]},[l]),[y,j]=(0,u.useState)(null),w=(0,u.useRef)((0,r.Y)()),{handleMouseEnter:N,handleMouseLeave:k,isHovered:C}=(0,d.L)(),P=(0,m.ks)();return l&&(null==b?void 0:b.length)?(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("section",{className:(0,o.cn)("w-full flex flex-col vod-section-wrapper",{"z-[20]":!!C}),"data-block":"vod-vertical-content-block",children:(0,i.jsx)(a.b2,{className:"overflow-unset carousel-wrapper clip-right-carousel-vertical",children:(0,i.jsxs)("div",{className:"w-full flex flex-col gap-2 lg:gap-[14px] !max-w-[calc(100vw-44px)]",onMouseLeave:k,children:[(0,i.jsx)(c.H,{title:null==l?void 0:l.name,className:(0,o.cn)("carousel-title font-primary border-t-grey-2 text-grey-2",{"text-grey-9 border-t-grey-9":"light"===h}),hideTopBorder:g,vodPage:f}),(0,i.jsx)(s.Carousel,{opts:p,setApi:j,plugins:[w.current],children:(0,i.jsx)(s.CarouselContent,{className:"gap-4",containerClassName:"overflow-unset",children:null==b?void 0:null===(t=b.filter(e=>null==e?void 0:e.id))||void 0===t?void 0:t.map(e=>(0,i.jsx)(s.CarouselItem,{className:(0,o.cn)("basis-[178px] sm:basis-[210px] md:basis-[234px] xl:basis-[270px]",v),onMouseEnter:()=>N(e),onMouseLeave:k,onClick:()=>{P(e)},children:(0,i.jsx)(x.VodVerticalAnimatedCard,{blockName:"video-horizontal",className:"w-full relative h-full grid gap-4 no-underline",content:e,isHovered:!!(C&&(null==C?void 0:C.id)===e.id)})},"vod-video-vertical".concat(e.id)))})})]})})})}):null}},78893:function(e,t,l){"use strict";l.d(t,{FromNowDateClient:function(){return s}});var i=l(90733),a=l(7673),n=l(83641);let s=e=>{let{date:t,languageCode:l,onDateFound:s}=e,o=(0,i.MS)(),[r,d]=(0,n.useState)("");return(0,n.useEffect)(()=>{(async function(){d(await (0,a.tJ)(t,l||o.languageCode))})().then(()=>null==s?void 0:s())},[t,l]),r}},87613:function(e,t,l){"use strict";l.r(t),l.d(t,{AudioNarration:function(){return v}});var i=l(74023),a=JSON.parse('{"v":"5.7.11","fr":29.9700012207031,"ip":0,"op":70.0000028511585,"w":1080,"h":1080,"nm":"Comp 7","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"Shape Layer 6","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[540,540,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":1,"k":[{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0.167]},"t":0,"s":[65.781,455.249]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0.167]},"t":10,"s":[65.781,235.249]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0.167]},"t":20,"s":[65.781,591.249]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0.167]},"t":30,"s":[65.781,311.249]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0.167]},"t":40,"s":[65.781,278.249]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0.167]},"t":50,"s":[65.781,412.249]},{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":60,"s":[65.781,485.249]},{"t":69.0000028104276,"s":[65.781,455]}],"ix":2},"p":{"a":0,"k":[400,0],"ix":3},"r":{"a":0,"k":106,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.709803921569,0.203921568627,0.443137254902,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-289.109,15.32],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":70.0000028511585,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Shape Layer 5","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[540,540,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":1,"k":[{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0.167]},"t":0,"s":[65.781,455.249]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0.167]},"t":10,"s":[65.781,447.249]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0.167]},"t":20,"s":[65.781,480.249]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0.167]},"t":30,"s":[65.781,189.249]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0.167]},"t":40,"s":[65.781,438.249]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0.167]},"t":50,"s":[65.781,617.249]},{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":60,"s":[65.781,165.249]},{"t":69.0000028104276,"s":[65.781,455]}],"ix":2},"p":{"a":0,"k":[300,0],"ix":3},"r":{"a":0,"k":106,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.709803921569,0.203921568627,0.443137254902,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-289.109,15.32],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":180.00000733155,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"Shape Layer 4","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[540,540,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":1,"k":[{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0.167]},"t":0,"s":[65.781,455.249]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0.167]},"t":10,"s":[65.781,561.249]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0.167]},"t":20,"s":[65.781,318.249]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0.167]},"t":30,"s":[65.781,464.249]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0.167]},"t":40,"s":[65.781,195.249]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0.167]},"t":50,"s":[65.781,543.249]},{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":60,"s":[65.781,357.249]},{"t":69.0000028104276,"s":[65.781,455]}],"ix":2},"p":{"a":0,"k":[500,0],"ix":3},"r":{"a":0,"k":106,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.709803921569,0.203921568627,0.443137254902,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-289.109,15.32],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":180.00000733155,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"Shape Layer 3","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[540,540,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":1,"k":[{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0.167]},"t":0,"s":[65.781,455.249]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0.167]},"t":10,"s":[65.781,235.249]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0.167]},"t":20,"s":[65.781,591.249]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0.167]},"t":30,"s":[65.781,311.249]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0.167]},"t":40,"s":[65.781,278.249]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0.167]},"t":50,"s":[65.781,412.249]},{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":60,"s":[65.781,485.249]},{"t":69.0000028104276,"s":[65.781,455]}],"ix":2},"p":{"a":0,"k":[200,0],"ix":3},"r":{"a":0,"k":106,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.709803921569,0.203921568627,0.443137254902,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-289.109,15.32],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":180.00000733155,"st":0,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"Shape Layer 2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[540,540,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":1,"k":[{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0.167]},"t":0,"s":[65.781,455.249]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0.167]},"t":10,"s":[65.781,447.249]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0.167]},"t":20,"s":[65.781,480.249]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0.167]},"t":30,"s":[65.781,189.249]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0.167]},"t":40,"s":[65.781,438.249]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0.167]},"t":50,"s":[65.781,617.249]},{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":60,"s":[65.781,165.249]},{"t":69.0000028104276,"s":[65.781,455]}],"ix":2},"p":{"a":0,"k":[100,0],"ix":3},"r":{"a":0,"k":106,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.709803921569,0.203921568627,0.443137254902,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-289.109,15.32],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":180.00000733155,"st":0,"bm":0},{"ddd":0,"ind":6,"ty":4,"nm":"Shape Layer 1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[540,540,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":1,"k":[{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0.167]},"t":0,"s":[65.781,455.249]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0.167]},"t":10,"s":[65.781,561.249]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0.167]},"t":20,"s":[65.781,318.249]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0.167]},"t":30,"s":[65.781,464.249]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0.167]},"t":40,"s":[65.781,195.249]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.167,0.167],"y":[0,0.167]},"t":50,"s":[65.781,543.249]},{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":60,"s":[65.781,357.249]},{"t":69.0000028104276,"s":[65.781,455]}],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":106,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.709803921569,0.203921568627,0.443137254902,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-289.109,15.32],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":180.00000733155,"st":0,"bm":0}],"markers":[]}'),n=l(92264),s=l(10681);let o=e=>{let{isPlaying:t,style:l,className:o,keyID:r,...d}=e,{lottieContainer:c}=(0,s.k)({...d,animationData:(0,n.Y)(a,d.color||"#000000")},t);return(0,i.jsx)("div",{ref:c,style:l,className:o},r)};var r=l(94970),d=l(27421),c=l(12173),x=l(7470),u=l(31652),m=l(83641),p=l(33533);let v=e=>{var t;let{audioNarration:l,duration:a,variant:n="dark",PlayIcon:s=(0,i.jsx)(r.o1,{}),noStatusText:v,keyID:g}=e,h=(0,u.useTranslations)(),[f,b]=(0,m.useState)(h("playNarration")),{colorClassName:y,animationColor:j}=(0,m.useMemo)(()=>({colorClassName:"dark"===n?"text-black":"text-white",animationColor:"dark"===n?"#000000":"#FFFFFF"}),[n]),{onEnded:w,timeLeft:N,togglePause:k,isPlaying:C,audioRef:P,isLoading:M,play:S,onLoadedMetadata:T}=(0,d.zG)(a);if(null==l?void 0:l.location)return(0,i.jsxs)("div",{className:(0,
1c.cn)("flex items-center flex-row",y,{"gap-2":!v}),children:[(0,i.jsxs)("button",{className:(0,c.cn)("flex items-center h-10",{"hover:text-primary-1":!C}),onClick:()=>{k(),C?b(h("continueNarration")):b(h("playingNarration"))},children:[M?(0,i.jsx)("div",{className:"flex z-10 items-center justify-center",children:(0,i.jsx)(p.A,{className:"z-10 text-black m-auto",color:"white"})}):C?(0,i.jsx)(r.fp,{}):s,v?null:f,(0,i.jsx)(o,{className:(0,c.cn)("h-10 transition-all",{"w-10":C,"invisible opacity-0 w-0":!C}),keyID:g,isPlaying:C,color:j})]}),(0,i.jsxs)("audio",{ref:P,onCanPlayThrough:()=>{T(),S()},preload:"none",onEnded:()=>{w(),b(h("playNarration"))},...a&&{onLoadedMetadata:T},children:[(0,i.jsx)("source",{src:l.location}),"Your browser does not support the audio element."]}),(0,i.jsx)("div",{className:"font-body text-sm font-semibold"}),(0,i.jsx)("div",{className:(0,c.cn)("font-body text-sm font-light opacity-80",y),children:N?(0,x.L)(N):a||(0,x.L)((null==P?void 0:null===(t=P.current)||void 0===t?void 0:t.duration)||"")})]},g)}},29132:function(e,t,l){"use strict";l.d(t,{BannerPlayerShareButtons:function(){return r}});var i=l(74023),a=l(94970),n=l(61947),s=l(12173),o=l(83641);let r=e=>{let{url:t,title:l}=e,[r,d]=(0,o.useState)(!1);return(0,i.jsxs)("div",{className:"hidden md:flex flex-row gap-4",children:[(0,i.jsx)("button",{onClick:()=>(0,n.pu)(t),children:(0,i.jsx)(a.Vq,{className:"text-white"})}),(0,i.jsx)("button",{onClick:()=>(0,n.xe)(t,l),children:(0,i.jsx)(a.b0,{className:"text-white"})}),(0,i.jsx)("button",{onClick:()=>(0,n.Uc)(t,null==l?void 0:l.toString()),children:(0,i.jsx)(a.YG,{className:"text-white"})}),(0,i.jsx)("button",{onClick:()=>(0,n.FF)(t,null==l?void 0:l.toString()),children:(0,i.jsx)(a.ud,{className:"text-white"})}),(0,i.jsxs)("button",{className:"relative",onClick:()=>{(0,n.fv)(t),d(!0),setTimeout(()=>{d(!1)},5e3)},children:[(0,i.jsx)(a.Od,{className:"text-white"}),(0,i.jsx)("div",{className:(0,s.cn)("absolute left-1/2 transform -translate-x-1/2 top-10 mt-2 px-3 py-1 text-sm text-white bg-gray-800 rounded shadow opacity-0 transition-opacity duration-300",{"opacity-1":r}),children:"Copied!"})]})]})}},4226:function(e,t,l){"use strict";l.d(t,{ExpandableDescription:function(){return r}});var i=l(74023),a=l(12173),n=l(31652),s=l(83641);let o="cursor-pointer nont-notosans text-white text-base leading-6 lg:text-lg font-bold underline";function r(e){let{children:t}=e,[l,r]=(0,s.useState)(!1),[d,c]=(0,s.useState)(!1),x=(0,n.useTranslations)(),u=(0,s.useRef)(null);return(0,s.useLayoutEffect)(()=>{u.current&&c(u.current.scrollHeight>u.current.clientHeight)},[]),(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("div",{className:(0,a.cn)("relative"),children:(0,i.jsxs)("div",{className:(0,a.cn)("inline font-body transition-all ease-linear text-white text-base leading-6 lg:text-lg",{"line-clamp-3":!l}),ref:u,children:[t,(0,i.jsx)("span",{className:(0,a.cn)("absolute right-0 bottom-0 ps-[2px] bg-grey-13",{invisible:!d,static:l}),children:l?(0,i.jsx)("span",{className:o,onClick:()=>{r(e=>!e)},children:x("collapse")}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(i.Fragment,{children:"... "}),(0,i.jsx)("span",{className:o,onClick:()=>{r(e=>!e)},children:x("read-more")})]})})]})})})}},70049:function(e,t,l){"use strict";l.d(t,{C:function(){return s}});var i=l(74023),a=l(29132),n=l(4226);function s(e){let{title:t,description:l,Chip:s,MainVideo:o,shareUrl:r}=e;return(0,i.jsxs)("section",{className:"w-full grid gap-y-4 lg:gap-y-6",children:[o,(0,i.jsxs)("div",{className:"grid gap-y-2 lg:gap-y-3",children:[(0,i.jsxs)("div",{className:"w-full flex justify-between gap-x-2",children:[s||null,r?(0,i.jsx)(a.BannerPlayerShareButtons,{url:r,title:t}):null]}),t?(0,i.jsx)("div",{className:"font-primary font-semibold text-white text-xl leading-custom_5 sm:text-1.5xl lg:text-2xl",children:t}):null,(0,i.jsx)(n.ExpandableDescription,{children:l})]})]})}},63694:function(e,t,l){"use strict";l.d(t,{f:function(){return a}});var i=l(74023);function a(e){let{HeroMainVideo:t,HeroFeaturedSideVideo:l}=e;return(0,i.jsxs)("section",{className:"w-full grid grid-cols-1 md:grid-cols-12 xl:grid-cols-3 gap-y-6 md:gap-x-6 xl:gap-x-8",children:[(0,i.jsx)("div",{className:"w-full md:col-span-7 xl:col-span-2",children:t}),(0,i.jsx)("div",{className:"w-full md:col-span-5 xl:col-span-1",children:l})]})}},83476:function(e,t,l){"use strict";l.d(t,{g:function(){return d}});var i=l(74023),a=l(83641),n=l(91900),s=l(12173);
1let o={skipSnaps:!0,align:"center"},r="text-grey-1 font-semibold border border-grey-1 rounded w-full text-center hover:bg-grey-1 hover:text-grey-13";function d(e){var t;let{programs:l,Card:d,children:c,title:x,BottomLink:u}=e;return(0,i.jsxs)("section",{className:"w-full flex flex-col gap-5 relative",children:[(0,i.jsx)("div",{className:"w-fit p-[9px] h-fit border border-solid border-white flex justify-center items-center",children:(0,i.jsx)("span",{className:"font-alt text-xl leading-custom_2 uppercase text-white",children:x})}),(0,i.jsxs)("div",{className:"hidden md:flex flex-col md:h-80 lg:h-128 xl:h-custom_1 overflow-auto relative scrollbar-none px-1",children:[null==l?void 0:l.map(e=>(0,a.createElement)(d,{...e,key:e.id})),u?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:(0,s.cn)("invisible",r),children:u}),(0,i.jsx)("div",{className:(0,s.cn)("sticky z-10 bottom-0 ",r),children:u})]}):(0,i.jsx)("div",{className:"invisible opacity-0 mb-10",children:(0,i.jsx)(d,{...l[l.length-1]})})]}),(0,i.jsx)("div",{className:"hidden md:block pointer-events-none absolute w-full h-[40%] bottom-0",style:{background:"linear-gradient(180deg, rgba(12, 14, 14, 0) 0%, #0C0E0E 100%)"}}),(0,i.jsxs)("div",{className:"block md:hidden w-full",children:[(0,i.jsxs)(n.Carousel,{opts:o,children:[(0,i.jsxs)(n.CarouselContent,{className:"gap-4 md:gap-6 xl:gap-8",containerClassName:"overflow-unset md:!overflow-hidden",children:[c,null==l?void 0:null===(t=l.filter(e=>null==e?void 0:e.id))||void 0===t?void 0:t.map(e=>(0,i.jsx)(n.CarouselItem,{className:(0,s.cn)("basis-[78%] sm:basis-5/12 md:basis-[250px] lg:basis-[256px] xl:basis-[302px]"),children:(0,a.createElement)(d,{...e,key:e.id})},e.id))]}),(0,i.jsx)(n.CarouselPrevious,{className:"absolute start-3 text-white hidden md:block"}),(0,i.jsx)(n.CarouselNext,{className:"absolute end-3 text-white hidden md:block"})]}),u?(0,i.jsx)("div",{className:(0,s.cn)("w-full inline-block mt-7",r),children:u}):null]})]})}},80960:function(e,t,l){"use strict";l.d(t,{W:function(){return o}});var i=l(74023),a=l(70049),n=l(16395),s=l(31930);function o(e){let{content:t,Chip:l,shareUrl:o,hideMainTitle:r}=e,{desktopContentMetadata:d,mobileContentMetadata:c}=(0,s.T$)(t);return(0,i.jsx)(a.C,{MainVideo:(0,i.jsx)(n.j,{mobileContentMetadata:c,desktopContentMetadata:d,href:"/article/".concat(null==t?void 0:t.slug),alt:null==t?void 0:t.title,width:428,height:241,noLink:!0,withDefaultControlBar:!0,hidePlaceholder:!0,coverposter:!0}),shareUrl:o,Chip:l,title:r?"":(0,i.jsx)(n.Ow,{desktopContentMetadata:d,mobileContentMetadata:c}),description:(0,i.jsx)(n.Y9,{desktopContentMetadata:d,mobileContentMetadata:c})})}l(11537)},61856:function(e,t,l){"use strict";l.d(t,{N:function(){return m}});var i=l(74023),a=l(83641),n=l(63694),s=l(31930),o=l(16395),r=l(83476),d=l(80960),c=l(50842),x=l(78893);function u(e){let{title:t,description:l,date:a,duration:n,Media:s}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"w-full",children:s}),(0,i.jsxs)("div",{className:"w-full flex flex-col gap-3",children:[(0,i.jsx)("div",{className:"font-notoserif text-base font-semibold leading-custom_4 text-ellipsis overflow-hidden text-white",children:t}),(0,i.jsx)("div",{className:"font-body text-xs2 font-normal text-grey-4 line-clamp-4 lg:line-clamp-3",children:l}),(0,i.jsx)("div",{className:"font-sf text-xs font-medium tracking-[0.6px] uppercase text-grey-7",children:n||(0,i.jsx)(x.FromNowDateClient,{date:a})})]})]})}function m(e){let{mainContent:t,sideContents:l,title:x,Chip:m,shareUrl:p,displayTime:v="date",hideMainTitle:g,BottomLink:h}=e,[f,b]=(0,a.useState)([]),y=(0,a.useCallback)(async()=>{var e;return await Promise.all(null===(e=l||[])||void 0===e?void 0:e.map(async(e,t)=>{let l=e.duration,a=e.publishedAt||e.createdAt,{mobileContentMetadata:n,desktopContentMetadata:r}=(0,s.T$)(e);return{id:e.id||"".concat(t),title:e.title,description:e.description,date:"duration"===v?void 0:a,duration:"duration"===v?l:void 0,mobileContentMetadata:n,desktopContentMetadata:r,Media:(0,i.jsx)(o.j,{mobileContentMetadata:n,desktopContentMetadata:r,containerClassName:"h-auto",width:185,height:104,noLink:!0,viewInDetailPage:!0,hidePlaceholder:!0})}}))},[l,v]);return(0,a.useEffect)(()=>{y().then(b)},[y]),(0,i.jsx)(n.f,{HeroMainVideo:(0,i.jsx)(d.W,{content:t,Chip:m,shareUrl:p,hideMainTitle:g}),HeroFeaturedSideVideo:(0,i.jsx)(r.g,{programs:f,Card:e=>(0,i.jsx)(c.y,{containerClassName:"py-5 border-b border-b-grey-10 first:pt-0 no-underline article-hover-effect cursor-pointer",className:"w-full grid grid-cols-1 gap-x-3 md:grid-cols-[128px_1fr] lg:grid-cols-[185px_1fr] ",mobileContentMetadata:e.mobileContentMetadata,desktopContentMetadata:e.desktopContentMetadata,children:(0,a.createElement)(u,{...e,key:e.id})}),title:x,BottomLink:h})})}},24796:function(e){e.exports={sideTitle:"seven-spotlight_sideTitle__L31Rd"}},18357:function(e,t,l){"use strict";l.d(t,{Gm:function(){return a},Qy:function(){return o},ZF:function(){return r}});var i=l(69504);function a(e){return{onFetch:(t,l)=>
1{let a=t.options,o=t.fetchOptions?.meta?.fetchMore?.direction,r=t.state.data?.pages||[],d=t.state.data?.pageParams||[],c={pages:[],pageParams:[]},x=0,u=async()=>{let l=!1,u=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(t.signal.aborted?l=!0:t.signal.addEventListener("abort",()=>{l=!0}),t.signal)})},m=(0,i.cG)(t.options,t.fetchOptions),p=async(e,a,n)=>{if(l)return Promise.reject();if(null==a&&e.pages.length)return Promise.resolve(e);let s=(()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:a,direction:n?"backward":"forward",meta:t.options.meta};return u(e),e})(),o=await m(s),{maxPages:r}=t.options,d=n?i.Ht:i.VX;return{pages:d(e.pages,o,r),pageParams:d(e.pageParams,a,r)}};if(o&&r.length){let e="backward"===o,t={pages:r,pageParams:d},l=(e?s:n)(a,t);c=await p(t,l,e)}else{let t=e??r.length;do{let e=0===x?d[0]??a.initialPageParam:n(a,c);if(x>0&&null==e)break;c=await p(c,e),x++}while(x<t)}return c};t.options.persister?t.fetchFn=()=>t.options.persister?.(u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},l):t.fetchFn=u}}}function n(e,{pages:t,pageParams:l}){let i=t.length-1;return t.length>0?e.getNextPageParam(t[i],t,l[i],l):void 0}function s(e,{pages:t,pageParams:l}){return t.length>0?e.getPreviousPageParam?.(t[0],t,l[0],l):void 0}function o(e,t){return!!t&&null!=n(e,t)}function r(e,t){return!!t&&!!e.getPreviousPageParam&&null!=s(e,t)}},63430:function(e,t,l){"use strict";l.d(t,{N:function(){return o}});var i=l(69114),a=l(18357),n=class extends i.z{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){super.setOptions({...e,behavior:(0,a.Gm)()})}getOptimisticResult(e){return e.behavior=(0,a.Gm)(),super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){let{state:l}=e,i=super.createResult(e,t),{isFetching:n,isRefetching:s,isError:o,isRefetchError:r}=i,d=l.fetchMeta?.fetchMore?.direction,c=o&&"forward"===d,x=n&&"forward"===d,u=o&&"backward"===d,m=n&&"backward"===d;return{...i,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:(0,a.Qy)(t,l.data),hasPreviousPage:(0,a.ZF)(t,l.data),isFetchNextPageError:c,isFetchingNextPage:x,isFetchPreviousPageError:u,isFetchingPreviousPage:m,isRefetchError:r&&!c&&!u,isRefetching:s&&!x&&!m}}},s=l(50230);function o(e,t){return(0,s.r)(e,n,t)}}}]);
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.