PageSourceSearch

https://www.trtarabi.com/_next/static/chunks/2672-b6c197a70d5d5124.js

js trtarabi.com collected 2026-10-02 11:00:27 UTC 59,742 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2672],{34573:function(e,t,l){l.r(t),l.d(t,{MainHeaderSidebar:function(){return w}});var a=l(74023),n=l(72122),s=l(12173),r=l(84358),o=l(73765),i=l(68947),c=l(61845),d=l(94970),u=l(83641);let g=(0,u.forwardRef)((e,t)=>{let{topLogoContainerClassName:l,logoVariant:n,ChannelLogo:u}=e;return(0,a.jsxs)("div",{id:r.uM,className:(0,s.cn)("sm:ps-0 ps-5 w-full flex justify-between items-center bg-grey-2","xl:h-globalTopHeaderXlH lg:h-globalTopHeaderLgH h-globalTopHeaderH",l),ref:t,children:[(0,a.jsx)(o.LinkWithChannelLink,{href:"/",className:(0,s.cn)("w-full ml-0 md:mx-auto md:w-fit flex flex-col items-center justify-center lg:gap-3 gap-2"),children:u}),i.Y.aiSearch?(0,a.jsx)(c.default,{dir:"inherit",href:"/ai-search",className:(0,s.cn)("cursor-pointer xl:end-[57px] me-5 sm:hidden flex items-center justify-center"),children:(0,a.jsx)(d.W1,{className:"dark"===n?"text-grey-11":"text-white"})}):null]})});var x=l(18806),p=l(74922),m=l(64439),h=l(74322),f=l(2668);let v=e=>{let{menu:t,sideMenu:l,pageTitle:o,parentTitle:i,titleClassName:c,languageSelectionWrapperClassName:d,hamburgerMenuWrapperClassName:u,isSecondary:g,stickyClassName:v,logoVariant:C,variant:y,ChannelLogo:j,isSticky:b,landing:w}=e;return(0,a.jsx)("div",{id:r.zX,className:(0,s.cn)("sticky top-0 bg-grey-2 z-[11] w-full items-center flex flex-row border-y border-y-[#E9E9E9]","xl:h-header2xlH lg:h-headerLgH h-headerDefaultH",v),children:(0,a.jsxs)(x.p,{children:[(0,a.jsx)(m.I,{pageTitle:o,parentTitle:i,wrapperClassName:u,ChannelLogo:j,isSticky:b,logoVariant:C,landing:w}),(0,a.jsx)(f.V,{menu:t,sideMenu:l}),g?(0,a.jsx)(p.SecondRowMenuWrapper,{menu:t,withMarginBottom:!1,className:"block !top-0 border-none"}):(0,a.jsx)(h.Q,{pageTitle:o,parentTitle:i,languageSelectionWrapperClassName:d,menu:t,titleClassName:c,variant:y,iconColor:y===n.YY.Light?"text-grey-2":void 0})]})})};var C=l(40015),y=l(90733),j=l(95488),b=l(45450);function w(e){let{topLogoContainerClassName:t,logoVariant:l=n.YY.Dark,landing:o=!1,...i}=e,c=(0,y.MS)(),d=(0,u.useRef)(null),{isMobile:x}=(0,b.B)(),p=(0,j.Z)({target:r.uM,threshold:0,initialState:!0}),m=(0,u.useMemo)(()=>x?n.YY.Dark:l,[x,l]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(g,{ref:d,topLogoContainerClassName:t,logoVariant:l,ChannelLogo:(0,a.jsx)(C.n,{languageName:c.name,languageCode:c.languageCode,className:"w-fit text-white h-[24px] [&_svg]:w-[210px] [&_svg]:h-full",logoVariant:l})}),(0,a.jsx)(v,{...i,logoVariant:m,isSticky:p,ChannelLogo:(0,a.jsx)(C.n,{languageName:c.name,languageCode:c.languageCode,className:(0,s.cn)("w-fit sm:w-full text-white h-[20px] [&_svg]:w-[70%] [&_svg]:h-full w-auto",{"opacity-0":p}),logoVariant:m}),landing:x&&o})]})}},72672:function(e,t,l){l.r(t),l.d(t,{PlatformGlobalHeader:function(){return ez}});var a=l(74023),n=l(12101),s=l(72122),r=l(83641);l(41511),l(94267);var o=l(34573);l(74618);var i=l(12173);let c=async e=>{let{title:t,menu:l,titleClassName:n,logoVariant:s,topLogoContainerClassName:r}=e;return(0,a.jsx)(o.MainHeaderSidebar,{titleClassName:(0,i.cn)("text-grey-13",n),pageTitle:t,menu:l,logoVariant:s,topLogoContainerClassName:r})};var d=l(61845),u=l(79132),g=l(79522),x=l(94970),p=l(68947),m=l(40015),h=l(73765),f=l(36294),v=l.n(f);let C=(0,r.forwardRef)((e,t)=>{let{color:l="currentColor",...n}=e;return(0,a.jsxs)("svg",{ref:t,fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"371",height:"32",viewBox:"0 0 371 32",color:l,...n,children:[(0,a.jsx)("path",{d:"M89.9613 31.4269C98.633 31.4269 105.663 24.3971 105.663 15.7254C105.663 7.05372 98.633 0.0239258 89.9613 0.0239258C81.2896 0.0239258 74.2598 7.05372 74.2598 15.7254C74.2598 24.3971 81.2896 31.4269 89.9613 31.4269Z",fill:"#37A3D4"}),(0,a.jsx)("path",{d:"M52.8294 31.4269C61.5011 31.4269 68.5309 24.3971 68.5309 15.7254C68.5309 7.05372 61.5011 0.0239258 52.8294 0.0239258C44.1577 0.0239258 37.1279 7.05372 37.1279 15.7254C37.1279 24.3971 44.1577 31.4269 52.8294 31.4269Z",fill:"#44AFD6"}),(0,a.jsx)("path",{d:"M15.7015 31.4269C24.3732 31.4269 31.403 24.3971 31.403 15.7254C31.403 7.05373 24.3732 0.0239258 15.7015 0.0239258C7.0298 0.0239258 0 7.05373 0 15.7254C0 24.3971 7.0298 31.4269 15.7015 31.4269Z",fill:"#54BEDA"}),(0,a.jsx)("path",{d:"M165.807 22.2615L166.559 21.7887C169.593 19.8907 171.629 15.9015 171.629 11.8605C171.632 3.75784 165.107 0.0688477 159.043 0.0688477H145.143C143.942 0.0688477 142.966 1.042 142.966 2.24635V31.4304H148.328C149.937 31.4304 151.241 30.126 151.241 28.5179V23.7074H157.908L163.316 31.4304H172.288L165.811 22.2649L165.807 22.2615ZM159.137 16.0809H151.196V7.55035H159.137C161.935 7.55035 163.402 9.6968 163.402 11.8156C163.402 13.4652 162.246 16.0809 159.137 16.0809Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M112.729 1.6597V7.64698H122.778V31.4304H128.141C129.749 31.4304 131.054 30.126 131.054 28.5179V7.64698H138.625C139.995 7.64698 141.103 6.5358 141.103 5.16925V0.0688477H114.32C113.44 0.0688477 112.729 0.779729 112.729 1.6597Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M174.273 0.0688477C173.393 0.0688477 172.682 0.779729 172.682 1.6597V7.64698H182.731V31.4304H188.093C189.701 31.4304 191.006 30.126 191.006 28.5179V7.64698H198.577C199.947 7.64698 201.055 6.5358 201.055 5.16925V0.0688477H174.273Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M238.567 14.856V17.2302C238.567 21.6267 237.159 25.188 234.346 27.9107C231.534 30.6369 227.9 32 223.445 32C218.696 32 214.762 30.454 211.643 27.362C208.523 24.27 206.96 20.4982 206.96 16.0431C206.96 11.5881 208.506 7.76448 211.598 4.65869C214.69 1.5529 218.52 0 223.093 0C225.964 0 228.587 0.652216 230.961 1.95665C233.335 3.26108 235.181 4.99687 236.5 7.16402L231.313 10.1525C230.581 8.89291 229.474 7.868 227.993 7.07775C226.513 6.2875 224.863 5.89065 223.048 5.89065C220.118 5.89065 217.706 6.84999 215.818 8.76868C213.927 10.6874 212.982 13.1133 212.982 16.0431C212.982 18.9729 213.941 21.3402 215.86 23.2313C217.778 25.1224 220.322 26.0679 223.486 26.0679C225.829 26.0679 227.772 25.5469 229.311 24.5081C230.85 23.4694 231.896 22.0408 232.455 20.2221H223.138V14.8595H238.567V14.856Z",fill:"url(#paint0_linear_8524_39508)"}),(0,a.jsx)("path",{d:"M248.94 25.5814H260.676V31.3823H242.873V0.614258H248.94V25.5814Z",fill:"url(#paint1_linear_8524_39508)"}),(0,a.jsx)("path",{d:"M288.104 27.362C284.998 30.454 281.216 32 276.764 32C272.313 32 268.538 30.454 265.446 27.362C262.354 24.27 260.808 20.4844 260.808 16.
10017C260.808 11.519 262.354 7.72997 265.446 4.63798C268.538 1.54599 272.309 0 276.764 0C281.22 0 284.998 1.54599 288.104 4.63798C291.21 7.72997 292.763 11.5156 292.763 16.0017C292.763 20.4879 291.21 24.2735 288.104 27.362ZM269.687 23.2313C271.592 25.1224 273.952 26.0679 276.764 26.0679C279.577 26.0679 281.937 25.1224 283.842 23.2313C285.747 21.3402 286.7 18.9315 286.7 16.0017C286.7 13.0719 285.747 10.6529 283.842 8.74798C281.937 6.84309 279.577 5.89065 276.764 5.89065C273.952 5.89065 271.592 6.84309 269.687 8.74798C267.782 10.6529 266.829 13.0719 266.829 16.0017C266.829 18.9315 267.782 21.3437 269.687 23.2313Z",fill:"url(#paint2_linear_8524_39508)"}),(0,a.jsx)("path",{d:"M315.621 15.4289C318.316 16.9818 319.666 19.3249 319.666 22.4618C319.666 25.0706 318.741 27.2067 316.898 28.877C315.052 30.5472 312.781 31.3823 310.086 31.3823H297.031V0.614258H309.165C311.801 0.614258 314.023 1.42867 315.825 3.05403C317.626 4.68284 318.527 6.75337 318.527 9.27251C318.527 11.7917 317.561 13.8725 315.625 15.4254L315.621 15.4289ZM309.161 6.28405H303.094V13.0547H309.161C310.1 13.0547 310.883 12.7303 311.511 12.0884C312.143 11.4431 312.457 10.6391 312.457 9.66936C312.457 8.69967 312.15 7.89561 311.535 7.25375C310.921 6.60843 310.127 6.2875 309.161 6.2875V6.28405ZM310.082 25.7125C311.107 25.7125 311.956 25.3674 312.633 24.6807C313.306 23.9905 313.644 23.1209 313.644 22.0649C313.644 21.0089 313.306 20.1842 312.633 19.494C311.96 18.8073 311.107 18.4622 310.082 18.4622H303.094V25.7159H310.082V25.7125Z",fill:"url(#paint3_linear_8524_39508)"}),(0,a.jsx)("path",{d:"M343.846 31.3857L341.889 25.8471H329.249L327.402 31.3857H320.853L331.623 0.614258H339.139L349.995 31.3823H343.846V31.3857ZM331.226 20.1738H339.884L335.443 7.60229L331.222 20.1738H331.226Z",fill:"url(#paint4_linear_8524_39508)"}),(0,a.jsx)("path",{d:"M359.051 25.5814H370.787V31.3823H352.984V0.614258H359.051V25.5814Z",fill:"url(#paint5_linear_8524_39508)"}),(0,a.jsxs)("defs",{children:[(0,a.jsxs)("linearGradient",{id:"paint0_linear_8524_39508",x1:"228.173",y1:"15.9983",x2:"348.895",y2:"15.9983",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"#54BEDA"}),(0,a.jsx)("stop",{offset:"0.52",stopColor:"#44AFD6"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#37A3D4"})]}),(0,a.jsxs)("linearGradient",{id:"paint1_linear_8524_39508",x1:"228.172",y1:"15.9983",x2:"348.894",y2:"15.9983",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"#54BEDA"}),(0,a.jsx)("stop",{offset:"0.52",stopColor:"#44AFD6"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#37A3D4"})]}),(0,a.jsxs)("linearGradient",{id:"paint2_linear_8524_39508",x1:"228.173",y1:"0",x2:"348.895",y2:"0",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"#54BEDA"}),(0,a.jsx)("stop",{offset:"0.52",stopColor:"#44AFD6"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#37A3D4"})]}),(0,a.jsxs)("linearGradient",{id:"paint3_linear_8524_39508",x1:"228.172",y1:"15.9983",x2:"348.895",y2:"15.9983",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"#54BEDA"}),(0,a.jsx)("stop",{offset:"0.52",stopColor:"#44AFD6"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#37A3D4"})]}),(0,a.jsxs)("linearGradient",{id:"paint4_linear_8524_39508",x1:"228.172",y1:"15.9983",x2:"348.894",y2:"15.9983",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"#54BEDA"}),(0,a.jsx)("stop",{offset:"0.52",stopColor:"#44AFD6"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#37A3D4"})]}),(0,a.jsxs)("linearGradient",{id:"paint5_linear_8524_39508",x1:"228.173",y1:"15.9983",x2:"348.895",y2:"15.9983",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"#54BEDA"}),(0,a.jsx)("stop",{offset:"0.52",stopColor:"#44AFD6"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#37A3D4"})]})]})]})});C.displayName="HeaderLogo";let y=(0,r.forwardRef)((e,t)=>{let{color:l="currentColor",...n}=e;return(0,a.jsxs)("svg",{ref:t,fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"348",height:"30",viewBox:"0 0 348 30",color:l,...n,children:[(0,a.jsx)("path",{d:"M84.3383 29.463C92.468 29.463 99.0585 22.8726 99.0585 14.7429C99.0585 6.61314 92.468 0.0227051 84.3383 0.0227051C76.2086 0.0227051 69.6182 6.61314 69.6182 14.7429C69.6182 22.8726 76.2086 29.463 84.3383 29.463Z",fill:"#37A3D4"}),(0,a.jsx)("path",{d:"M49.5278 29.463C57.6575 29.463 64.2479 22.8726 64.2479 14.7429C64.2479 6.61314 57.6575 0.0227051 49.5278 0.0227051C41.3981 0.0227051 34.8076 6.61314 34.8076 14.7429C34.8076 22.8726 41.3981 29.463 49.5278 29.463Z",fill:"#44AFD6"}),(0,a.jsx)("path",{d:"M14.7202 29.463C22.8499 29.463 29.4403 22.8726 29.4403 14.7429C29.4403 6.61314 22.8499 0.0227051 14.7202 0.0227051C6.59044 0.0227051 0 6.61314 0 14.7429C0 22.8726 6.59044 29.463 14.7202 29.463Z",fill:"#54BEDA"}),(0,a.jsx)("path",{d:"M155.445 20.8703L156.15 20.427C158.994 18.6477 160.903 14.9078 160.903 11.1194C160.906 3.52313 154.788 0.0646973 149.104 0.0646973H136.073C134.947 0.0646973 134.031 0.977024 134.031 2.10611V29.4662H139.059C140.566 29.4662 141.789 28.2433 141.789 26.7357V22.2258H148.04L153.109 29.4662H161.521L155.448 20.8735L155.445 20.8703ZM149.191 15.076H14
11.747V7.07861H149.191C151.815 7.07861 153.19 9.09091 153.19 11.0773C153.19 12.6237 152.106 15.076 149.191 15.076Z",fill:"white"}),(0,a.jsx)("path",{d:"M105.684 1.55612V7.1692H115.105V29.4662H120.133C121.64 29.4662 122.863 28.2433 122.863 26.7357V7.1692H129.961C131.246 7.1692 132.284 6.12746 132.284 4.84632V0.0646973H107.176C106.351 0.0646973 105.684 0.731148 105.684 1.55612Z",fill:"white"}),(0,a.jsx)("path",{d:"M163.381 0.0646973C162.556 0.0646973 161.889 0.731148 161.889 1.55612V7.1692H171.31V29.4662H176.338C177.845 29.4662 179.068 28.2433 179.068 26.7357V7.1692H186.166C187.451 7.1692 188.489 6.12746 188.489 4.84632V0.0646973H163.381Z",fill:"white"}),(0,a.jsx)("path",{d:"M223.656 13.9275V16.1533C223.656 20.275 222.336 23.6137 219.699 26.1663C217.062 28.7221 213.656 30 209.479 30C205.027 30 201.339 28.5506 198.415 25.6519C195.49 22.7532 194.025 19.2171 194.025 15.0404C194.025 10.8638 195.474 7.2792 198.373 4.36752C201.271 1.45584 204.862 0 209.149 0C211.841 0 214.3 0.611453 216.525 1.83436C218.751 3.05726 220.482 4.68457 221.718 6.71627L216.855 9.51795C216.169 8.33711 215.131 7.37625 213.743 6.63539C212.355 5.89453 210.809 5.52248 209.107 5.52248C206.36 5.52248 204.099 6.42187 202.329 8.22064C200.556 10.0194 199.67 12.2938 199.67 15.0404C199.67 17.7871 200.569 20.0065 202.368 21.7794C204.167 23.5522 206.551 24.4387 209.518 24.4387C211.715 24.4387 213.536 23.9502 214.979 22.9764C216.422 22.0026 217.402 20.6632 217.926 18.9583H209.191V13.9308H223.656V13.9275Z",fill:"url(#paint0_linear_20610_6403)"}),(0,a.jsx)("path",{d:"M233.381 23.9825H244.384V29.4208H227.693V0.575806H233.381V23.9825Z",fill:"url(#paint1_linear_20610_6403)"}),(0,a.jsx)("path",{d:"M270.097 25.6519C267.185 28.5506 263.64 30 259.466 30C255.293 30 251.753 28.5506 248.855 25.6519C245.956 22.7532 244.507 19.2041 244.507 15.0016C244.507 10.7991 245.956 7.24685 248.855 4.34811C251.753 1.44937 255.29 0 259.466 0C263.643 0 267.185 1.44937 270.097 4.34811C273.009 7.24685 274.465 10.7959 274.465 15.0016C274.465 19.2074 273.009 22.7564 270.097 25.6519ZM252.831 21.7794C254.617 23.5522 256.829 24.4387 259.466 24.4387C262.103 24.4387 264.316 23.5522 266.102 21.7794C267.887 20.0065 268.78 17.7483 268.78 15.0016C268.78 12.2549 267.887 9.98706 266.102 8.20123C264.316 6.4154 262.103 5.52248 259.466 5.52248C256.829 5.52248 254.617 6.4154 252.831 8.20123C251.045 9.98706 250.152 12.2549 250.152 15.0016C250.152 17.7483 251.045 20.0097 252.831 21.7794Z",fill:"url(#paint2_linear_20610_6403)"}),(0,a.jsx)("path",{d:"M295.894 14.4645C298.421 15.9204 299.686 18.1171 299.686 21.0578C299.686 23.5037 298.819 25.5062 297.091 27.0721C295.361 28.6379 293.232 29.4208 290.705 29.4208H278.466V0.575806H289.841C292.313 0.575806 294.397 1.33931 296.085 2.86309C297.774 4.39011 298.618 6.33122 298.618 8.69292C298.618 11.0546 297.713 13.0054 295.898 14.4613L295.894 14.4645ZM289.838 5.89124H284.151V12.2387H289.838C290.718 12.2387 291.453 11.9346 292.041 11.3328C292.633 10.7279 292.928 9.97406 292.928 9.06497C292.928 8.15588 292.64 7.40207 292.064 6.80033C291.488 6.19535 290.744 5.89447 289.838 5.89447V5.89124ZM290.702 24.1054C291.663 24.1054 292.459 23.7819 293.093 23.1381C293.724 22.491 294.041 21.6758 294.041 20.6858C294.041 19.6958 293.724 18.9226 293.093 18.2756C292.462 17.6318 291.663 17.3083 290.702 17.3083H284.151V24.1086H290.702V24.1054Z",fill:"url(#paint3_linear_20610_6403)"}),(0,a.jsx)("path",{d:"M322.355 29.4241L320.521 24.2316H308.67L306.939 29.4241H300.799L310.896 0.575806H317.942L328.12 29.4208H322.355V29.4241Z
1M310.524 18.9129H318.641L314.477 7.12708L310.521 18.9129H310.524Z",fill:"url(#paint4_linear_20610_6403)"}),(0,a.jsx)("path",{d:"M336.61 23.9825H347.613V29.4208H330.922V0.575806H336.61V23.9825Z",fill:"url(#paint5_linear_20610_6403)"}),(0,a.jsxs)("defs",{children:[(0,a.jsxs)("linearGradient",{id:"paint0_linear_20610_6403",x1:"213.911",y1:"14.9984",x2:"327.088",y2:"14.9984",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"#54BEDA"}),(0,a.jsx)("stop",{offset:"0.52",stopColor:"#44AFD6"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#37A3D4"})]}),(0,a.jsxs)("linearGradient",{id:"paint1_linear_20610_6403",x1:"213.911",y1:"14.9983",x2:"327.088",y2:"14.9983",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"#54BEDA"}),(0,a.jsx)("stop",{offset:"0.52",stopColor:"#44AFD6"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#37A3D4"})]}),(0,a.jsxs)("linearGradient",{id:"paint2_linear_20610_6403",x1:"213.911",y1:"0",x2:"327.088",y2:"0",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"#54BEDA"}),(0,a.jsx)("stop",{offset:"0.52",stopColor:"#44AFD6"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#37A3D4"})]}),(0,a.jsxs)("linearGradient",{id:"paint3_linear_20610_6403",x1:"213.911",y1:"14.9983",x2:"327.088",y2:"14.9983",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"#54BEDA"}),(0,a.jsx)("stop",{offset:"0.52",stopColor:"#44AFD6"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#37A3D4"})]}),(0,a.jsxs)("linearGradient",{id:"paint4_linear_20610_6403",x1:"213.911",y1:"14.9983",x2:"327.088",y2:"14.9983",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"#54BEDA"}),(0,a.jsx)("stop",{offset:"0.52",stopColor:"#44AFD6"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#37A3D4"})]}),(0,a.jsxs)("linearGradient",{id:"paint5_linear_20610_6403",x1:"213.912",y1:"14.9983",x2:"327.088",y2:"14.9983",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"#54BEDA"}),(0,a.jsx)("stop",{offset:"0.52",stopColor:"#44AFD6"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#37A3D4"})]})]})]})});y.displayName="HeaderLogo";var j=l(90733),b=l(84358);function w(e){let{bgColor:t="#1F2121",elementID:l=b.Vu,setIsStickyScroll:a}=e,n=(0,r.useRef)(null),s=(0,r.useCallback)(e=>{e.style.background=t,e.classList.add("border-y-0"),e.classList.add("text-white"),e.classList.remove("!bg-transparent")},[t]),o=(0,r.useCallback)(e=>{e.style.background="transparent",e.classList.remove("border-y-0"),e.classList.add("text-white"),e.classList.add("!bg-transparent")},[]);return(0,r.useEffect)(()=>{n.current=document.getElementById(l);let e=()=>{let e=n.current;e&&(window.scrollY>50?(s(e),a&&a(!0)):(o(e),a&&a(!1)))};return e(),window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[s,o]),null}let H=e=>{let{menu:t,noChannelList:l,sideMenu:n,withSecondaryMenu:s,theme:o="light",logoVariant:c,topLogoContainerClassName:f,isStickyScrollBgColor:H,stickyScrollBgColor:N}=e,L=(0,j.MS)(),[M,k]=(0,r.useState)(!1),[S,Y]=(0,r.useState)(!1),_=()=>{k(e=>!e)},{containerClassname:V}={light:{Logo:C,containerClassname:"bg-grey-2 border-b-grey-4"},dark:{Logo:y,containerClassname:"bg-grey-13 border-b-grey-9"},transparent:{Logo:C,containerClassname:"bg-transparent border-b-grey-4/20"}}[o];return(0,a.jsxs)("div",{id:b.Fg,className:(0,i.cn)("sticky z-[19] top-0 w-full border-b border-b-[2px] px-6 py-3 flex align-center lg:h-articleGlobalHeaderLgH h-articleGlobalHeaderH",f,V),children:[H?(0,a.jsx)(w,{elementID:b.Fg,bgColor:N,setIsStickyScroll:Y}):null,(0,a.jsx)("div",{className:(0,i.cn)("flex items-center justify-center z-10"),children:(0,a.jsx)("div",{onClick:()=>_(),className:(0,i.cn)("w-8 h-6 flex items-center justify-center cursor-pointer opacity-50 hover:opacity-100",{"text-white":"light"===c},{[v().lightChannelLogoFilterEffect]:"dark"===o}),children:M?(0,a.jsx)(x.Tw,{className:(0,i.cn)("cursor-pointer",{[v().lightChannelLogoFilterEffect]:H&&S})}):(0,a.jsx)(x.RY,{className:(0,i.cn)("cursor-pointer",{[v().lightChannelLogoFilterEffect]:H&&S})})})}),(0,a.jsx)("div",{className:"static sm:absolute self-center left-1/2 transform sm:-translate-x-1/2 top-1/2  sm:-translate-y-1/2 flex flex-col justify-center items-center",children:(0,a.jsx)(h.LinkWithChannelLink,{href:"/",className:"flex flex-col gap-1 justify-center items-center",children:(0,a.jsx)(m.n,{logoVariant:c,languageName:L.name,languageCode:L.languageCode,className:(0,i.cn)("w-fit sm:w-full text-white xl:h-[40px] lg:h-[32px] md:h-[28px] h-[24px]",{[v().lightChannelLogoFilterEffect]:H&&S})})})}),p.Y.aiSearch?(0,a.jsx)(d.default,{href:"/ai-search",className:(0,i.cn)("cursor-pointer flex items-center justify-center opacity-50 hover:opacity-100"),children:(0,a.jsx)(x.W1,{})}):null,M&&(0,a.jsx)(u.xc,{menu:n||t,noChannelList:l,onCloseMenu:_,isArticlePage:!0,sideMenuClassName:(0,i.cn)({"xl:!top-articleGlobalHeaderLgH lg:!top-articleGlobalHeaderLgH !top-articleGlobalHeaderH":!s,"xl:!top-articleGlobalHeaderWithMenuLgH lg:!top-articleGlobalHeaderWithMenuLgH !top-articleGlobalHeaderWithMenuH":s})}),M&&(0,a.jsx)(g.J,{onCloseMenu:_,menu:n||t,noChannelList:l,className:"top-articleGlobalHeaderWithMenuH",wrapperClassName:"pb-20"})]})};var N=l(74922),L=l(8247);async function M(e){let{page:t}=e,l=await (0,L.yk)(),n=null==t?void 0:t.menu,s=!!(n&&((null==n?void 0:n.primaryMenuItems)||(null==n?void 0:n.secondaryMenuItems)));return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(H,{menu:l,withSecondaryMenu:s,theme:"dark"}),s?(0,a.jsx)(N.SecondRowMenuWrapper,{menu:n,withMarginBottom:!1,className:"block border-t-[1px] lg:!top-articleGlobalHeaderLgH !top-articleGlobalHeaderH z-[18]",theme:"dark"}):null]})}var k=l(55575),S=l(31930);async function Y(e){var t;let{pageTitle:l,headerMenu:n,sidebarMenu:r,logoVariant:c=s.YY.Dark,titleClassName:d}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.MainHeaderSidebar,{pageTitle:l,logoVariant:c,menu:r,
1stickyClassName:(0,i.cn)("top-[-1px] transition-colors mb-4",{"border-b-0 mb-0":(null===(t=(0,S.A$)(n))||void 0===t?void 0:t.length)>0}),topLogoContainerClassName:"relative z-10",titleClassName:d}),(0,a.jsx)(N.SecondRowMenuWrapper,{menu:n,className:"border-t-[3px]"})]})}var _=l(18806),V=l(2668),T=l(72058),E=l(53883),D=l(69577),B=l(57784),A=l(97769);let F=[{label:"TV Shows",value:"tv-shows",color:"radial-gradient(82.48% 107.57% at 91.17% 90.92%, #5BB79F 0%, #366D6D 100%)",link:"video/tv/vod/browse/shows",slug:"video/tv/shows"},{label:"Interviews",value:"interviews",color:"radial-gradient(82.48% 107.57% at 91.17% 90.92%, #7C15A1 0%, #460A5B 100%)",link:"video/tv/vod/browse/interviews",slug:"video/tv/interviews"},{label:"Documentaries",value:"documentaries",color:"radial-gradient(82.48% 107.57% at 91.17% 90.92%, #017CBA 0%, #003186 100%)",link:"video/tv/vod/browse/documentaries",slug:"video/tv/documentaries"},{label:"Explainers",value:"explainers",color:"radial-gradient(82.48% 107.57% at 91.17% 90.92%, #B45BB7 0%, #690064 100%)",link:"video/tv/vod/browse/explainers",slug:"video/tv/explainers"},{label:"Personalities",value:"personalities",color:"radial-gradient(82.48% 107.57% at 91.17% 90.92%, #B8A200 0%, #705F00 100%)",link:"video/tv/vod/browse/personalities",slug:"video/tv/personalities"},{label:"News Clips",value:"news-clips",color:"radial-gradient(82.48% 107.57% at 91.17% 90.92%, #A35F01 0%, #432500 100%)",link:"video/tv/vod/browse/news-clips",slug:"video/tv/news-clips"},{label:"Digital Doc Series",value:"digital-doc-series",color:"radial-gradient(82.48% 107.57% at 91.17% 90.92%, #00722A 0%, #004B33 100%)",link:"video/tv/vod/browse/digital-doc-series",slug:"video/tv/digital-doc-series"},{label:"Investigating Series",value:"investigating-series",color:"radial-gradient(82.48% 107.57% at 91.17% 90.92%, #B4153D 0%, #4B0001 100%)",link:"video/tv/vod/browse/investigating-series",slug:"video/tv/investigating-series"},{label:"Playlists",value:"playlists",color:"radial-gradient(80.39% 102.47% at 91.17% 90.92%, #E5B000 0%, #764F00 100%)",link:"video/tv/vod/browse/playlists",slug:"video/tv/playlists"},{label:"Latest",value:"latest",color:"radial-gradient(82.48% 107.57% at 91.17% 90.92%, #AA417A 0%, #4F1E39 100%)",link:"video/tv/vod/browse/latest",slug:"video/tv/latest"}],I=e=>{let{items:t,isHovered:l,setIsHovered:n,timeoutRef:s,className:r}=e,o=(0,A.useRouter)();return(0,a.jsx)(B.yK,{className:(0,i.cn)("fixed left-0 xl:top-globalTopHeaderXlH lg:top-globalTopHeaderLgH sm:top-globalTopHeaderH top-vodMobileglobalTopHeaderH w-full bg-darkRadial py-13 overflow-hidden pointer-events-none","xl:max-h-landingPageHeightXlH lg:max-h-landingPageHeightLgH sm:max-h-landingPageHeightH max-h-vodMobileLandingPageHeightH scrollbar-none overflow-auto",r),initial:{y:"-100%",opacity:0}
1,animate:{y:l?0:"-100%",opacity:l?1:0},transition:{type:"spring",stiffness:85,damping:15,mass:1},onMouseEnter:()=>{s.current&&(clearTimeout(s.current),s.current=null),n(!0)},onMouseLeave:()=>{s.current=setTimeout(()=>{n(!1)},100)},style:{pointerEvents:l?"auto":"none",zIndex:10},children:(0,a.jsx)("div",{className:(0,i.cn)("flex flex-wrap gap-x-[25px] gap-y-[34px] items-center justify-center xl:max-w-[1631px] lg:max-w-[1390px] mx-auto"),children:t.map((e,t)=>{let l=F[t%F.length].color;return(0,a.jsxs)(B.MZ,{className:(0,i.cn)("dropdown-item text-1.5xl text-white w-full rounded-lg h-full py-10 lg:py-0 text-sm font-medium flex items-center justify-center","w-[163px] h-[103px]","sm:w-[236px] sm:h-[158px]","xl:w-[283px] xl:h-[176px]","relative overflow-hidden group"),style:{backgroundColor:"#1F2121"},initial:{scale:1},whileHover:{scale:1.05},transition:{scale:{duration:.2,ease:"easeInOut"}},onClick:()=>{o.push("/video/tv/vod/category/".concat(e.id))},children:[(0,a.jsx)("div",{className:"absolute inset-0 rounded-lg opacity-100 group-hover:opacity-0 transition-opacity duration-200 ease-in-out",style:{backgroundColor:"rgba(31, 33, 33, 1)"}}),(0,a.jsx)("div",{className:"absolute inset-0 rounded-lg opacity-0 group-hover:opacity-100 transition-opacity duration-200 ease-in-out",style:{backgroundImage:l}}),(0,a.jsx)("span",{className:"relative z-1",children:e.title})]},e.id)})})})},Z=e=>{let{isBrowseHovered:t,isHotTopicsHovered:l,browseTimeoutRef:n,hotTopicsTimeoutRef:s,setIsBrowseHovered:r,setIsHotTopicsHovered:o}=e;return(0,a.jsx)(B.yK,{className:"fixed inset-0 top-globalTopHeaderH xl:top-globalTopHeaderXlH lg:top-globalTopHeaderLgH w-full h-full bg-backdrop pointer-events-none",initial:{opacity:0}
1,animate:{opacity:t||l?1:0},transition:{type:"spring",stiffness:100,damping:15,mass:1},style:{pointerEvents:t||l?"auto":"none",zIndex:9},onMouseEnter:()=>{},onMouseLeave:()=>{n.current&&clearTimeout(n.current),s.current&&clearTimeout(s.current),n.current=setTimeout(()=>{r(!1)},100),s.current=setTimeout(()=>{o(!1)},100)}})},R=e=>{let{isBrowseHovered:t,setIsBrowseHovered:l,isHotTopicsHovered:n,setIsHotTopicsHovered:s,categories:o}=e,c=(0,r.useRef)(null),d=(0,r.useRef)(null);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{onMouseEnter:()=>{c.current&&(clearTimeout(c.current),c.current=null),l(!0)},onMouseLeave:()=>{c.current=setTimeout(()=>{l(!1)},100)},className:"relative z-[20]",children:(0,a.jsxs)("button",{className:(0,i.cn)("flex items-center gap-x-[5px] !text-grey-1 h-full px-2 text-xs2 sm:text-sm font-body text-grey-13 sm:text-white font-bold !leading-normal uppercase",{"!text-primary-4":t}),children:["BROWSE"," ",(0,a.jsx)(D.Z,{className:(0,i.cn)("w-4 h-4 transition-transform duration-300",t&&"rotate-180")})]})}),(null==o?void 0:o.length)?(0,a.jsx)(I,{items:o,isHovered:t,setIsHovered:l,timeoutRef:c}):null,(0,a.jsx)(Z,{isBrowseHovered:t,isHotTopicsHovered:n,browseTimeoutRef:c,hotTopicsTimeoutRef:d,setIsBrowseHovered:l,setIsHotTopicsHovered:s})]})};var U=l(64439),z=l(2889),G=l(49442),X=l.n(G);let W=e=>{let{isSticky:t}=e,{isLanguageSelectionOpen:l,setIsLanguageSelectionOpen:n,isVisible:r}=(0,_.X)(),o=(0,j.MS)(),{subDomainSubPath:i}=(0,E.mX)((0,E.cG)(o));if(i)return(0,a.jsx)(T.r,{isLanguageSelectionOpen:l,setIsLanguageSelectionOpen:n,isMainLogoInView:r,isSticky:t,logoVariant:s.YY.Light})},O=e=>{let{menu:t,sideMenu:l,pageTitle:n,parentTitle:o,hamburgerMenuWrapperClassName:c,stickyClassName:u,logoVariant:g,landing:f,categories:v}=e,C=(0,j.MS)(),[y,w]=(0,r.useState)(!1),[H,N]=(0,r.useState)(!1),[L,M]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let e=()=>{M((window.scrollY||window.pageYOffset)>.5*window.innerHeight)},t=X()(e,500);return e(),window.addEventListener("scroll",t,{passive:!0}),()=>{window.removeEventListener("scroll",t)}},[]),(0,a.jsx)(_.p,{children:(0,a.jsxs)("div",{className:(0,i.cn)("w-full fixed top-0 bg-transparent w-full z-[100] flex flex-col transition-all duration-300","xl:h-globalTopHeaderXlH lg:h-globalTopHeaderLgH h-globalTopHeaderH",L&&u,L||y||H?"bg-black-op-94 backdrop-blur-8":"bg-gradient-vod-header",{"pointer-events-none":!L}),children:[(0,a.jsx)("div",{id:b.zX,className:(0,i.cn)("px-5 flex flex-1"),children:(0,a.jsxs)("div",{className:"w-full flex justify-between items-center",children:[(0,a.jsxs)("div",{className:"flex gap-4 items-center justify-center z-[100] pointer-events-auto",children:[(0,a.jsx)(U.I,{pageTitle:n,parentTitle:o,wrapperClassName:(0,i.cn)(c,"!fixed sm:!relative !px-4 sm:!px-0 py-3 rounded-[4px]"),svgClassName:"opacity-50 hover:opacity-100 text-grey-13 sm:text-white",ChannelLogo:(0,a.jsx)(a.Fragment,{}),isSticky:L,logoVariant:g,landing:f,newDesign:!0}),(0,a.jsx)(V.V,{menu:t,sideMenu:l,sideMenuClassName:"fixed left-0 xl:!top-globalTopHeaderXlH lg:!top-globalTopHeaderLgH sm:!top-globalTopHeaderH !top-vodMobileglobalTopHeaderH pb-10",mobileSideMenuClassName:"xl:!top-mainHeaderXl lg:!top-mainHeaderLg !top-mainHeader pb-20"}),(0,a.jsx)(h.LinkWithChannelLink,{href:"/video/tv/vod",children:(0,a.jsx)(m.n,{languageName:C.name,languageCode:C.languageCode,className:(0,i.cn)("w-fit sm:w-full text-white h-[20px] [&_svg]:w-[70%] [&_svg]:h-full w-auto"),logoVariant:s.YY.Light})}),(0,a.jsx)(W,{isSticky:L})]}),(null==v?void 0:v.length)&&p.Y.vodCategory?(0,a.jsx)("div",{className:"hidden sm:flex items-center gap-x-[20px] color-white h-full pointer-events-auto",children:(0,a.jsx)(R,{categories:v,isBrowseHovered:y,setIsBrowseHovered:w,isHotTopicsHovered:H,setIsHotTopicsHovered:N})}):null,(0,a.jsx)("div",{className:"flex gap-6 pointer-events-auto",children:p.Y.vodSearch?(0,a.jsx)(d.default,{href:(0,z._S)("/video/tv/vod/search",C),className:(0,i.cn)("cursor-pointer flex items-center justify-center opacity-50 hover:opacity-100"),children:(0,a.jsx)(x.W1,{className:"text-white"})}):null})]})}),(null==v?void 0:v.length)&&p.Y.vodCategory?(0,a.jsx)("div",{className:"flex justify-center flex-1 w-full items-center sm:hidden gap-2 pointer-events-auto",children:(0,a.jsx)(R,{categories:v,isBrowseHovered:y,setIsBrowseHovered:w,isHotTopicsHovered:H,setIsHotTopicsHovered:N})}):null]})})};var P=l(95488);let q=(0,r.createContext)({}),K=e=>{let{children:t}=e,[l,n]=(0,r.useState)(!1),[s,o]=(0,r.useState)(!1),i=(0,P.Z)({target:b.uM,threshold:0});return(0,a.jsx)(q.Provider,{value:{isMenuOpen:l,isLanguageSelectionOpen:s,setIsLanguageSelectionOpen:o,isVisible:i,onMenuClick:()=>{n(e=>!e)}},children:t})};function $(){return(0,r.useContext)(q)}var J=l(43755),Q=l(31652),ee=l(96037),et=l(24119),el=l(757),ea=l(93420),en=l(72862),es=l(43388),er=l(93882),eo=l(22188),ei=l(34360);function ec(e){var t;let{className:l,liveClassName:n}=e,s=(0,Q.useTranslations)(),{setStaticData:r,setPaused:o}=(0,eo.qC)(),{playerRef:c}=(0,eo.qC)(),{channel:d,liveStream:u,program:g,epgRadio:x}=(0,en.j)();return(null==d?void 0:null===(t=d.streamingOptions)||void 0===t?void 0:t.active)?(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("button",{className:(0,i.cn)("flex gap-2 !text-xxs2 rounded-lg leading-normal font-bold items-center text-grey-1 bg-categories-live font-body leading-4 px-2 py-[6px]",n),onClick:()=>{var e,t,l,a,n,s,i,p,m;if((0,es.R)(er.w,"1"),null==c?void 0:c.current){c.current.requestFullscreen(),c.current.on("fullscreenchange",(0,ei.v)(c));return}let h=document.getElementById(ea.ie);if(h){h.click();return}let f=document.getElementById(ea.E5);if(f){let e=f.querySelector("svg");if(e){let t=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});e.dispatchEvent(t)}else{let e=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});f.dispatchEvent(e)}return}r({videoSrc:null==u?void 0:u.streamUrl,title:null!==(s=null!==(n=null==g?void 0:g.programName)&&void 0!==n?n:null==x?void 0:null===(e=x.now_playing.song)||void 0===e?void 0:e.custom_fields.title)&&void 0!==s?s:d.name,description:null!==(p=null!==(i=null==g?void 0:g.synopsis)&&void 0!==i?i:null==x?void 0:null===(t=x.now_playing.song)||void 0===t?void 0:t.custom_fields.description)&&void 0!==p?p:d.name,background:null!==(m=null==g?void 0:null===(a=g.programMedias)||void 0===a?void 0:null===(l=a[
10])||void 0===l?void 0:l.link)&&void 0!==m?m:"",closed:!1}),setTimeout(()=>{o(!1)},500)},children:[(0,a.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("circle",{cx:"6",cy:"6",r:"6",fill:"currentColor"})}),s("live-tv")]})}):null}function ed(e){var t,l;let{menu:n,noChannelList:s,noLiveTv:r,onCloseMenu:o,className:c,wrapperClassName:d}=e,u=(0,Q.useTranslations)(),g=[...(null==n?void 0:null===(t=n.primaryMenuItems)||void 0===t?void 0:t.map(e=>e))||[],...(null==n?void 0:null===(l=n.secondaryMenuItems)||void 0===l?void 0:l.map(e=>e))||[]];return(0,a.jsxs)("div",{className:(0,i.cn)("w-full pb-6 absolute xl:top-header2xlH lg:top-headerLgH top-headerDefaultH h-full bg-grey-2 z-[4] left-0 min-h-screen flex flex-col",c),children:[(0,a.jsx)(J.default,{onCloseMenu:o}),(0,a.jsxs)("div",{className:(0,i.cn)("flex flex-col bg-white h-full overflow-y-scroll scrollbar-none pb-15",d),children:[r?null:(0,a.jsx)("div",{children:(0,a.jsx)(ec,{liveClassName:"!bg-transparent w-full !text-[#D20200] font-body !font-normal !text-base leading-normal py-4 px-4 border-b"})},"liveTvItem"),s?null:(0,a.jsx)(ee.bn,{onCloseMenu:o,listType:"channel",title:u(et.E.name)}),null==g?void 0:g.map((e,t)=>{var l;return e.menuItems&&(null===(l=e.menuItems)||void 0===l?void 0:l.length)>0?(0,a.jsx)(ee.bn,{onCloseMenu:o,listType:"list",menuItems:e.menuItems,title:e.name},"".concat(e.id,"-").concat(t)):(0,a.jsx)(el.A,{menu:e,sideMenu:!0,children:(0,a.jsx)("div",{className:"flex flex-col justify-between text-grey-8 font-body text-base leading-normal py-4 px-4",children:e.name})},"".concat("".concat(e.id,"-").concat(t)))})]})]})}let eu=e=>{let{menu:t,sideMenu:l,mobileSideMenuClassName:n,noChannelList:s=!0,noLiveTv:r}=e,{isMenuOpen:o,onMenuClick:i}=$();return(0,a.jsx)(a.Fragment,{children:o&&(0,a.jsx)(ed,{onCloseMenu:i,menu:l||t,className:n,noChannelList:s,noLiveTv:r})})};var eg=l(9003),ex=l(97213),ep=l(58845);function em(e){var t,l;let{isLanguageSelectionOpen:n,setIsLanguageSelectionOpen:o,isMainLogoInView:c,isSticky:d,logoVariant:u}=e,g=(0,j.MS)(),{groupedChannels:p,channelsOriginMap:m}=(0,j.HA)(),{subDomainSubPath:h,firstPathHalfName:f}=(0,E.mX)((0,E.cG)(g)),v=(0,eg.U)(m),{currentChannel:C,worldChannel:y}=(0,j.ML)(),b=(0,r.useRef)(null),[w,H]=(0,r.useState)(!1),[N,L]=(0,r.useState)(0),[M,k]=(0,r.useState)(0),S=()=>{H(!1)},Y=e=>{v(e,C||y),o(!1)},_=null==p?void 0:p.find(e=>e.languageCode===f),V=null==p?void 0:p.find(e=>e.languageCode===f);return(null==_?void 0:_.children)?(0,a.jsxs)("div",{onClick:()=>o(e=>!e),className:(0,i.cn)("py-1.5 pe-2 gap-1 whitespace-nowrap grid-cols-[auto_auto_1fr] items-center justify-center cursor-pointer group transition-all ease-out duration-120 sm:grid hidden z-10",{"me-[35px]":c&&!h}),children:[(0,a.jsxs)("div",{className:(0,i.cn)("font-body text-grey-13 text-base font-regular uppercase leading-4",{"text-grey-1":u===s.YY.Light}),children:[(0,a.jsxs)("span",{className:(0,i.cn)("text-grey-7",{"opacity-0":d}),children:[" ","|"," "]})," ",(0,a.jsx)(ex.V,{children:g.name})]}),n?(0,a.jsx)(x.wy,{color:"currentColor",className:(0,i.cn)("group-hover:text-grey-13 text-grey-6",{"group-hover:text-grey-1":u===s.YY.Light})}):(0,a.jsx)(x.XC,{width:16,height:16,color:"currentColor",className:(0,i.cn)("group-hover:text-grey-13 text-grey-6",{"group-hover:text-grey-1":u===s.YY.Light})}),n?(0,a.jsx)("div",{ref:b,className:(0,i.cn)("flex flex-row overflow-x-auto scrollbar-none bg-grey-1 md:bg-transparent select-none",w?"cursor-grabbing":"cursor-grab",{"bg-grey-13":u===s.YY.Light}),onMouseDown:e=>{b.current&&(H(!0),L(e.pageX-b.current.offsetLeft),k(b.current.scrollLeft))},onMouseMove:e=>{if(!w||!b.current)return;e.preventDefault();let t=e.pageX-b.current.offsetLeft;b.current.scrollLeft=M-(t-N)*2},onMouseUp:S,onMouseLeave:S,children:null==V?void 0:null===(l=V.children)||void 0===l?void 0:null===(t=l.sort((e,t)=>(0,ep.k)(e,t,g.name)))||void 0===t?void 0:t.filter(e=>(0,E.cG)(e)!==(0,E.cG)(g)).map((e,t)=>(0,a.jsx)("button",{className:(0,i.cn)("text-grey-12 p-3 flex items-center justify-center font-body text-sm font-bold uppercase leading-4 cursor-pointer",{"text-grey-6 hover:text-grey-1":u===s.YY.Light}),onClick:()=>Y(e),children:(0,a.jsx)(ex.V,{children:e.name})},t))}):(0,a.jsx)("div",{})]}):null}var eh=l(31946),ef=l(12882);function ev(e){let{wrapperClassName:t,variant:l,svgClassName:n}=e,{isMenuOpen:r,onMenuClick:o}=$();return(0,a.jsx)("div",{id:ef.a4,className:(0,i.cn)("",t),children:(0,a.jsx)("div",{onClick:()=>o(),className:(0,i.cn)("text-grey-11 w-8 h-8 flex items-center justify-center cursor-pointer",{"text-grey-1":l===s.YY.Light},n),children:r?(0,a.jsx)(x.Tw,{className:"cursor-pointer",width:18,height:18}):(0,a.jsx)(x.RY,{className:"cursor-pointer",width:32,height:32})})})}let eC=e=>{let{isSticky:t}=e,{isLanguageSelectionOpen:l,setIsLanguageSelectionOpen:n,isVisible:r}=$(),o=(0,j.MS)(),{subDomainSubPath:i}=(0,E.mX)((0,E.cG)(o));if(i)return(0,a.jsx)(em,{isLanguageSelectionOpen:l,setIsLanguageSelectionOpen:n,isMainLogoInView:r,isSticky:t,logoVariant:s.YY.Light})},ey=e=>{let{menu:t,sideMenu:l,stickyClassName:n,logoVariant:o=s.YY.Light,categories:c,hideTopSticky:u}=e,g=(0,j.MS)(),[m,f]=(0,r.useState)(!1),[v,C]=(0,r.useState)(!1),[y,w]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{let e=()=>{w((window.scrollY||window.pageYOffset)>.5*window.innerHeight)},t=X()(e,500);return e(),window.addEventListener("scroll",t,{passive:!0}),()=>{window.removeEventListener("scroll",t)}},[]),u)?null:(0,a.jsx)(K,{children:(0,a.jsxs)("div",{className:(0,i.cn)("w-full fixed top-0 bg-transparent w-full z-[100] flex flex-col transition-all duration-300","xl:h-globalTopHeaderXlH lg:h-globalTopHeaderLgH h-globalTopHeaderH",y&&n,y||m||v?"bg-black-op-94 backdrop-blur-8":"bg-gradient-vod-header",{"pointer-events-none":!y}),children:[(0,a.jsx)("div",{id:b.zX,className:(0,i.cn)("px-5 flex flex-1"),children:(0,a.jsxs)("div",{className:"w-full flex justify-between items-center",children:[(0,a.jsxs)("div",{className:"flex gap-4 items-center justify-center z-[100] pointer-events-auto",children:[(0,a.jsx)(ev,{variant:o,svgClassName:"opacity-50 hover:opacity-100 text-white"}),(0,a.jsx)(eu,{menu:t,sideMenu:l,sideMenuClassName:"fixed left-0 xl:!top-globalTopHeaderXlH lg:!top-globalTopHeaderLgH sm:!top-globalTopHeaderH !top-vodMobileglobalTopHeaderH pb-10",mobileSideMenuClassName:"xl:!top-mainHeaderXl lg:!top-mainHeaderLg !top-mainHeader pb-20",noLiveTv:!0}),(0,a.jsx)(h.LinkWithChannelLink,{href:"/",children:(0,a.jsx)(eh.n,{languageName:g.name,languageCode:g.languageCode,className:(0,i.cn)("w-fit sm:w-full text-white h-[20px] [&_svg]:w-[70%] [&_svg]:h-full w-auto"),logoVariant:o})}),(0,a.jsx)(eC,{isSticky:y})]}),(null==c?void 0:c.length)&&p.Y.vodCategory?(0,a.jsx)("div",{className:"hidden sm:flex items-center gap-x-[20px] color-white h-full pointer-events-auto",children:(0,a.jsx)(R,{categories:c,isBrowseHovered:m,setIsBrowseHovered:f,isHotTopicsHovered:v,setIsHotTopicsHovered:C})}):null,(0,a.jsx)("div",{className:"flex gap-6 pointer-events-auto",children:p.Y.vodSearch?(0,a.jsx)(d.default,{href:(0,z._S)("/video/tv/vod/search",g),className:(0,i.cn)("cursor-pointer flex items-center justify-center opacity-50 hover:opacity-100"),children:(0,a.jsx)(x.W1,{className:"text-white"})}):null})]})}),(null==c?void 0:c.length)&&p.Y.vodCategory?(0,a.jsx)("div",{className:"flex justify-center flex-1 w-full items-center sm:hidden gap-2 pointer-events-auto",children:(0,a.jsx)(R,{categories:c,isBrowseHovered:m,setIsBrowseHovered:f,isHotTopicsHovered:v,setIsHotTopicsHovered:C})}):null]})})};function ej(e){let{variant:t,className:l}=e,n=(0,A.useRouter)();return(0,a.jsx)("button",{type:"button",onClick:()=>n.back(),className:(0,i.cn)("items-center justify-center px-3 rounded",l),children:(0,a.jsx)(x.K,{className:(0,i.cn)("text-black w-5 h-5 rotate-90 rtl:-rotate-90",{"text-white":"light"===t})})})}let eb=(0,r.forwardRef)((e,t)=>{let{topLogoContainerClassName:l,ChannelLogo:n,menu:s,sideMenu:r,logoVariant:o,isStickyScrollBgColor:c,stickyScrollBgColor:d,theme:u}=e;return(0,a.jsxs)("div",{id:b.Vu,ref:t,className:(0,i.cn)("sticky top-0 z-20 flex w-full items-center justify-between bg-grey-2 px-5","h-globalTopHeaderH",{"!bg-transparent":"transparent"===u}
1,l),children:[c?(0,a.jsx)(w,{bgColor:d}):null,(0,a.jsx)(ej,{className:"!px-0",variant:o}),(0,a.jsx)(h.LinkWithChannelLink,{href:"/",className:(0,i.cn)("w-full md:mx-auto md:w-fit flex flex-col items-center justify-center lg:gap-3 gap-2"),children:n}),(0,a.jsx)(K,{children:(0,a.jsxs)("div",{children:[(0,a.jsx)(ev,{variant:o}),(0,a.jsx)(eu,{menu:s,sideMenu:r,sideMenuClassName:"absolute left-0 xl:!top-mainHeaderXl lg:!top-mainHeaderLg !top-mainHeader pb-10",mobileSideMenuClassName:"xl:!top-mainHeaderXl lg:!top-mainHeaderLg !top-mainHeader pb-20",noChannelList:!0})]})})]})});var ew=l(18460),eH=l(69234);function eN(e){let{menu:t,className:l,withMarginBottom:n=!0,itemsWrapperClassName:s,theme:r="light",...o}=e,c=(0,S.A$)(t),d=(0,A.usePathname)(),u=(0,j.MS)(),{containerClassname:g}={light:{containerClassname:"bg-grey-2 border-b-grey-4 border-t-grey-4"},dark:{containerClassname:"bg-grey-13 border-b-grey-4"}}[r];return(0,a.jsx)(a.Fragment,{children:c&&c.length>0&&(0,a.jsx)("div",{className:(0,i.cn)("w-full flex sticky xl:top-header2xlH lg:top-headerLgH top-headerDefaultH z-[10] translate-y-[-1px] lg:justify-center justify-start items-center scrollbar-none overflow-scroll","border-b border-t-2",l,n?"mb-8 lg:mb-10 xl:mb-12 xl:mb-16":"",g),id:b.cc,...o,children:(0,a.jsx)("ul",{className:(0,i.cn)('px-5 m-auto w-max flex overflow-x-auto gap-3.5 py-1.5 scrollbar-none [html[lang="ur"]_&]:font-bold items-center',s),children:c.map((e,t)=>{if(e.menuItems&&e.menuItems.filter(S.zi).length>0){var l;return(0,a.jsx)(ew.Y,{secondaryClassName:(0,i.cn)({"text-grey-7 data-[state=delayed-open]:!text-grey-7 data-[state=instant-open]:!text-grey-7 data-[state=open]:!text-grey-7 hover:text-grey-7 group-hover:text-grey-7 select-none":"light"===r,"text-grey-1 data-[state=delayed-open]:!text-grey-1  data-[state=instant-open]:!text-grey-1 data-[state=open]:!text-grey-1 hover:text-grey-1 group-hover:text-grey-1 select-none":"dark"===r}),Parent:(0,a.jsxs)("span",{className:"flex justify-center items-center gap-3",children:[t>0&&(0,a.jsx)("span",{className:(0,i.cn)("w-1 h-1 rounded-full my-3.5",{"bg-grey-7":"light"===r,"bg-grey-1":"dark"===r})}),(0,a.jsx)("span",{className:(0,i.cn)("font-body text-sm leading-8 article-hover-effect whitespace-nowrap",{"text-grey-10":"light"===r,"text-grey-1":"dark"===r}),children:(0,a.jsx)(eH.LocaleUppercase,{children:e.name||e.title})})]}),children:null===(l=e.menuItems)||void 0===l?void 0:l.map(e=>(0,a.jsx)(el.A,{menu:e,children:(0,a.jsx)("div",{className:(0,i.cn)("text-sm leading-4.5 font-medium px-2 py-3 rounded-custom",{"bg-grey-1 hover:bg-grey-3 text-grey-12":"light"===r,"bg-grey-13 hover:bg-grey-11 text-grey-1":"dark"===r}),children:e.name})},e.id))},e.id)}let n="/".concat((0,E.cG)(u)).concat((0,S.W6)(e))===d;return(0,a.jsx)(el.A,{menu:e,variant:"secondary",disabled:n,children:(0,a.jsxs)("span",{className:"flex justify-center items-center gap-3",children:[t>0&&(0,a.jsx)("span",{className:(0,i.cn)("w-1 h-1 rounded-full my-3.5",{"bg-grey-7":"light"===r,"bg-grey-1":"dark"===r})}),(0,a.jsx)("span",{className:(0,i.cn)("font-body text-sm leading-8 article-hover-effect",{"text-grey-10":"light"===r,"text-grey-1":"dark"===r}),children:(0,a.jsx)("span",{className:(0,i.cn)("opacity-85 whitespace-nowrap",{"underline opacity-85":n}),children:(0,a.jsx)(eH.LocaleUppercase,{children:e.name||e.title})})})]})},e.id)})})})})}var eL=l(52331),eM=l(53422);function ek(e){let{className:t,pageTitle:l,titleClassName:n,parentTitle:s,parentTitleClassName:r}=e;return(0,a.jsxs)("div",{className:(0,i.cn)("flex flex-col justify-center items-center",t),children:[s?(0,a.jsx)("p",{className:(0,i.cn)("font-body text-sm text-grey-8",r),children:(0,a.jsx)(eH.LocaleUppercase,{children:s})}):null,(0,a.jsx)("div",{className:(0,i.cn)("text-opinion-gold font-primary xl:text-4.5xl md:text-4xl lg:text-3.5xl text-2xl leading-9 font-bold uppercase",n),children:(0,a.jsx)(eH.LocaleUppercase,{children:l})})]})}function eS(e){var t,l,n,r,o;let{pageTitle:c,titleClassName:u,parentTitle:g,menu:m,variant:h,iconColor:f,languageSelectionWrapperClassName:v,className:C}=e,y=(0,j.MS)(),{groupedChannels:b,channelsOriginMap:w}=(0,j.HA)(),H=(0,eg.U)(w),N=(0,eM.cG)(y),{firstPathHalfName:L}=(0,eM.mX)(N),M=null==b?void 0:b.find(e=>e.languageCode===L),{isLanguageSelectionOpen:k,setIsLanguageSelectionOpen:Y}=$(),_=null==m?void 0:null===(t=m.primaryMenuItems)||void 0===t?void 0:t.map(e=>e),V=null==m?void 0:m.liveMenu,T=null==V?void 0:null===(l=V.menuItems)||void 0===l?void 0:l.map(e=>e),{currentChannel:E,worldChannel:D}=(0,j.ML)(),B=e=>{H(e,E||D),Y(!1)};return k?(0,a.jsx)("div",{className:"flex flex-row sm:ms-10 ms-8 overflow-x-auto scrollbar-none text-nowrap",children:null==M?void 0:null===(o=M.children)||void 0===o?void 0:null===(r=o.sort((e,t)=>
1(0,ep.k)(e,t,y.name)))||void 0===r?void 0:null===(n=r.filter(e=>e.languageCode!==y.languageCode))||void 0===n?void 0:n.map((e,t)=>(0,a.jsx)("button",{className:(0,i.cn)("text-grey-12 p-3 flex items-center justify-center font-body text-sm font-bold uppercase leading-4 cursor-pointer",v),onClick:()=>B(e),children:e.name},"".concat(e.languageCode,"-").concat(t)))}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:(0,eL.Z)("flex sm:gap-x-6 gap-x-4 text-nowrap xl:mx-8 mx-4 items-center w-full h-6",C,{"justify-center":c,"lg:justify-center justify-start overflow-x-auto scrollbar-none":!c}),children:c?(0,a.jsx)(ek,{pageTitle:c,titleClassName:u,parentTitle:g}):(0,a.jsxs)(a.Fragment,{children:[null==_?void 0:_.map((e,t)=>{var l,n;return e.menuItems&&(null==e?void 0:null===(l=e.menuItems)||void 0===l?void 0:l.filter(S.zi).length)?(0,a.jsx)(ew.Y,{Parent:(0,a.jsx)("span",{className:"cursor-pointer font-body text-sm font-bold leading-4",children:(0,a.jsx)(eH.LocaleUppercase,{children:e.name})}),secondaryClassName:(0,i.cn)({"text-grey-1":h===s.YY.Light}),withHoverEffect:!0,children:null==e?void 0:null===(n=e.menuItems)||void 0===n?void 0:n.map(e=>(0,a.jsx)(el.A,{menu:e,children:(0,a.jsx)("div",{className:"bg-grey-1 hover:bg-grey-3 text-grey-12 rounded-custom text-sm leading-4.5 font-medium px-2 py-3",children:e.name})},e.id))},"".concat(e.id,"-").concat(t)):(0,a.jsx)(el.A,{menu:e,children:(0,a.jsx)("span",{id:"primary-menu-item",className:(0,i.cn)("text-grey-12 hover:text-primary-4 font-body text-sm font-bold leading-4 whitespace-nowrap",{"text-grey-1":h===s.YY.Light}),children:(0,a.jsx)(eH.LocaleUppercase,{children:e.name})})},"".concat(e.id,"-").concat(t))}),(null==V?void 0:V.active)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"min-w-[1px] h-4 bg-grey-6"}),(0,a.jsxs)("div",{className:"flex flex-row gap-1.5 items-center",children:[(0,a.jsx)("div",{className:"rounded-full w-1.5 h-1.5 bg-[#FF3F3F]"}),(0,a.jsx)("div",{className:(0,eL.Z)("text-[#FF3F3F] font-bold font-body text-sm leading-4"),children:(0,a.jsx)(eH.LocaleUppercase,{children:V.label})})]})]}),(null==V?void 0:V.active)&&(null==T?void 0:T.map((e,t)=>(0,a.jsx)(el.A,{menu:e,children:(0,a.jsx)("span",{className:"flex flex-row gap-1.5 items-center text-grey-12 font-body text-sm leading-4",children:(0,a.jsx)(eH.LocaleUppercase,{children:e.name})})},"".concat(e.id,"-").concat(t))))]})}),p.Y.aiSearch?(0,a.jsx)(d.default,{dir:"inherit",href:"/ai-search",className:(0,eL.Z)("cursor-pointer xl:end-[57px] end-5 sm:flex hidden items-center justify-center lg:absolute p-2",{absolute:c}),children:(0,a.jsx)(x.W1,{className:null!=f?f:"text-grey-11"})}):null]})}let eY=e=>{let{menu:t,pageTitle:l,parentTitle:n,titleClassName:r,languageSelectionWrapperClassName:o,isSecondary:c,stickyClassName:d,className:u,variant:g,nonSticky:x,isStickyScrollBgColor:p,stickyScrollBgColor:m}=e;return(0,a.jsxs)("div",{id:b.g5,className:(0,i.cn)("sticky bg-grey-2 z-[10] w-full items-center flex flex-row border-y border-y-[#E9E9E9] h-headerDefaultH",d,{"bg-grey-13 border-y-[#484848]":g===s.YY.Light,"!static":x}),children:[p?(0,a.jsx)(w,{elementID:b.g5,bgColor:m}):null,(0,a.jsx)(K,{children:c?(0,a.jsx)(eN,{menu:t,withMarginBottom:!1,className:(0,i.cn)("block !top-0 border-none py-2",u,{"bg-grey-13":g===s.YY.Light}),theme:g===s.YY.Light?"dark":"light"}):(0,a.jsx)(eS,{pageTitle:l,parentTitle:n,languageSelectionWrapperClassName:o,menu:t,variant:g,titleClassName:r,className:"",iconColor:g===s.YY.Light?"text-grey-2":void 0})})]})},e_=(0,r.forwardRef)((e,t)=>{let{topLogoContainerClassName:l,menu:n,sideMenu:r,showSecondMenuRow:o=!1,theme:c,hideTopSticky:d=!1,page:u}=e,g=(0,j.MS)();return(0,a.jsxs)(a.Fragment,{children:[d?null:(0,a.jsx)(eb,{ref:t,menu:n,sideMenu:r,theme:c,logoVariant:s.YY.Light,topLogoContainerClassName:(0,i.cn)("!sticky bg-grey-13 border-b-grey-9 border-b",l),ChannelLogo:(0,a.jsx)(eh.n,{languageName:g.name,languageCode:g.languageCode,className:"w-31 sm:w-fit text-white h-[24px] [&_svg]:w-[210px] [&_svg]:h-full",logoVariant:s.YY.Light})}),o?(0,a.jsx)(eY,{menu:null==u?void 0:u.menu,variant:s.YY.Light,stickyClassName:(0,i.cn)("!top-[60px] z-20 !sticky !font-body uppercase bg-grey-13",{"!top-0":d})}):null]})}),eV=e=>{let{menu:t,pageTitle:l,parentTitle:n,titleClassName:r,stickyClassName:o,className:c,variant:d,nonSticky:u}=e;return(0,a.jsx)("div",{id:b.g5,className:(0,i.cn)("sticky bg-grey-2 z-[10] w-full mb-8 lg:mb-10 xl:mb-12 items-center flex flex-col border-t border-t-[#E9
1E9E9]",o,{"bg-grey-13 border-y-[#484848]":d===s.YY.Light,"!static":u}),children:(0,a.jsxs)(K,{children:[(0,a.jsx)(ek,{pageTitle:l,parentTitle:n,titleClassName:(0,i.cn)("pb-2 pt-1 border-b border-b-0",r)}),(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)(eN,{withMarginBottom:!1,menu:t,className:(0,i.cn)("block py-1 !h-[48px]",c,{"bg-grey-13":d===s.YY.Light}),theme:d===s.YY.Light?"dark":"light"})})]})})},eT=(0,r.forwardRef)((e,t)=>{let{pageTitle:l,titleClassName:n,logoVariant:s,topLogoContainerClassName:r,menu:o,sideMenu:c,showSecondMenuRow:d=!0,isSecondaryMenuRow:u=!1,isStickyScrollBgColor:g,menuRowWrapperClassName:x,theme:p,hideTopSticky:m=!1,stickyScrollBgColor:h}=e,f=(0,j.MS)();return(0,a.jsxs)(a.Fragment,{children:[m?null:(0,a.jsx)(eb,{ref:t,menu:o,sideMenu:c,theme:p,logoVariant:s,isStickyScrollBgColor:g,stickyScrollBgColor:h,topLogoContainerClassName:(0,i.cn)("!sticky",r,{"border-b border-b-[#E9E9E9]":!d}),ChannelLogo:(0,a.jsx)(eh.n,{languageName:f.name,languageCode:f.languageCode,className:"w-31 sm:w-fit text-white h-[24px] [&_svg]:w-[210px] [&_svg]:h-full",logoVariant:s})}),l&&d?(0,a.jsx)(eV,{menu:o,pageTitle:l,titleClassName:n,variant:s,stickyClassName:(0,i.cn)(x,{"!top-0 z-20":m})}):l||d?(0,a.jsx)(eY,{menu:o,pageTitle:l,titleClassName:n,isSecondary:u,variant:s,stickyClassName:(0,i.cn)(x,{"!top-0 z-20":m}),isStickyScrollBgColor:m&&g,stickyScrollBgColor:h}):null]})});var eE=l(45450);let eD=e=>{let{menu:t,pageTitle:l,parentTitle:n,titleClassName:r,languageSelectionWrapperClassName:o,isSecondary:c,stickyClassName:d,className:u,variant:g,nonSticky:x}=e;return(0,a.jsx)("div",{id:b.zX,className:(0,i.cn)("sticky bg-grey-2 z-[10] w-full items-center flex flex-row border-y border-y-[#E9E9E9]","xl:h-header2xlH lg:h-headerLgH h-headerDefaultH","xl:top-globalTopHeaderXlH lg:top-globalTopHeaderLgH top-globalTopHeaderH",d,{"bg-grey-13 !border-y-[#484848]":g===s.YY.Light,"!static":x}),children:(0,a.jsx)(K,{children:c?(0,a.jsx)(eN,{menu:t,withMarginBottom:!1,className:(0,i.cn)("block !top-0 border-none",u,{"bg-grey-13":g===s.YY.Light}),theme:g===s.YY.Light?"dark":"light"}):(0,a.jsx)(eS,{pageTitle:l,parentTitle:n,languageSelectionWrapperClassName:o,menu:t,variant:g,titleClassName:r,className:u,iconColor:g===s.YY.Light?"text-grey-2":void 0})})})},eB=e=>{var t;let{liveClassName:l,variant:n}=e,r=(0,j.MS)(),o=(0,Q.useTranslations)();if(!r)return null;let c=window.location.host.includes("trtglobal.io")||window.location.host.includes("localhost");return(0,a.jsxs)(a.Fragment,{children:[c?(0,a.jsxs)(h.LinkWithChannelLink,{href:"/video/tv/vod",className:(0,i.cn)("flex uppercase gap-1 text-xxs2 rounded-lg leading-normal hover:opacity-80 font-bold items-center text-grey-13  font-body text-sm leading-4 py-[6px]",{"text-grey-2":n===s.YY.Light}),children:[(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M6.66699 5.68295V14.3163C6.66699 14.9746 7.39199 15.3746 7.95033 15.0163L14.7337 10.6996C14.8524 10.6245 14.9502 10.5205 15.018 10.3974C15.0858 10.2742 15.1214 10.136 15.1214 9.99545C15.1214 9.8549 15.0858 9.71664 15.018 9.59353C14.9502 9.47041 14.8524 9.36644 14.7337 9.29128L7.95033 4.98295C7.82463 4.90165 7.67933 4.85579 7.52974 4.85019C7.38015 4.8446 7.23183 4.87948 7.10041 4.95116C6.969 5.02284 6.85937 5.12866 6.78308 5.25746C6.7068 5.38626 6.66669 5.53325 6.66699 5.68295Z",fill:n===s.YY.Light?"#FFFFFF":"#0C0E0E"})}),o("watch")]}):null,(null==r?void 0:null===(t=r.streamingOptions)||void 0===t?void 0:t.liveStream)?(0,a.jsx)(ec,{liveClassName:l}):null]})},eA=e=>{let{menu:t,sideMenu:l,stickyClassName:r,logoVariant:o,variant:c,ChannelLogo:u,isSticky:g}=e,{isLanguageSelectionOpen:p,setIsLanguageSelectionOpen:m,isVisible:h}=$(),f=(0,j.MS)(),{channelsOriginMap:v}=(0,j.HA)(),{subDomainSubPath:C}=(0,E.mX)((0,E.cG)(f)),{isWebView:y}=(0,n.F)();return(0,a.jsx)("div",{className:(0,i.cn)("w-full bg-grey-2 sticky top-0 z-[11] w-full items-center justify-center flex flex-row border-y border-y-[#E9E9E9]","xl:h-globalTopHeaderXlH lg:h-globalTopHeaderLgH h-globalTopHeaderH",r,{"bg-grey-13 border-y-[1]":c===s.YY.Light}),style:c===s.YY.Light?{borderColor:"#303232"}:{},children:(0,a.jsx)("div",{id:b.zX,className:(0,i.cn)("section-container"),children:(0,a.jsxs)("div",{className:"w-full flex justify-between items-center p",children:[(0,a.jsxs)("div",{className:"flex gap-4 items-center justify-center",children:[(0,a.jsx)(d.default,{href:"/",children:u}),(0,a.jsx)(eu,{menu:t,sideMenu:l,sideMenuClassName:"absolute left-0 xl:!top-mainHeaderXl lg:!top-mainHeaderLg !top-mainHeader pb-10",mobileSideMenuClassName:"xl:!top-mainHeaderXl lg:!top-mainHeaderLg !top-mainHeader pb-20",noChannelList:y}),C&&(0,a.jsx)(em,{isLanguageSelectionOpen:p,setIsLanguageSelectionOpen:m,isMainLogoInView:h,isSticky:g,logoVariant:o})]}),(0,a.jsxs)("div",{className:"flex gap-3 sm:gap-6",children:[(0,a.jsx)(eB,{variant:c}),(0,a.jsx)(d.default,{href:(0,z.mi)(v,"/search",f),className:(0,i.cn)("cursor-pointer flex items-center justify-center opacity-50 hover:opacity-100"),children:(0,a.jsx)(x.W1,{className:(0,i.cn)({"text-grey-2":c===s.YY.Light})})}),(0,a.jsx)(ev,{})]})]})})})};function eF(e){let{logoVariant:t,nonSticky:l,isSecondaryMenuRow:n,...o}=e,c=(0,j.MS)(),{isMobile:d}=(0,eE.B)(),u=(0,r.useMemo)(()=>d&&o.variant!==s.YY.Light?s.YY.Dark:t,[d,o.variant,t]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(K,{children:(0,a.jsx)(eA,{...o,logoVariant:u,ChannelLogo:(0,a.jsx)(m.n,{languageName:c.name,languageCode:c.languageCode,className:(0,i.cn)("transform scale-110"),logoVariant:u}),landing:!0,newDesign:!0})}),(0,a.jsx)(eD,{...o,nonSticky:l,isSecondary:n,className:"section-container !mx-auto",logoVariant:u,ChannelLogo:(0,a.jsx)(m.n,{languageName:c.name,languageCode:c.languageCode,className:(0,i.cn)("w-fit sm:w-full text-white h-[20px] [&_svg]:w-[70%] [&_svg]:h-full w-auto"),logoVariant:u})})]})}let eI=(0,r.forwardRef)((e,t)=>{let{logoVariant:l,menu:n,sideMenu:s,theme:r,hideTopSticky:o=!1,stickyClassName:c,className:d,...u}=e,g=(0,j.MS)();return(0,a.jsxs)(a.Fragment,{children:[o?null:(0,a.jsx)(eb,{ref:t,...u,menu:n,sideMenu:s,theme:r,logoVariant:l,topLogoContainerClassName:(0,i.cn)("!sticky  !z-[2000] !top-0 bg-black",d),ChannelLogo:(0,a.jsx)(eh.n,{languageName:g.name,languageCode:g.languageCode,className:"w-31 sm:w-fit text-white h-[24px] [&_svg]:w-[210px] [&_svg]:h-full",logoVariant:l})}),(0,a.jsx)(eY,{...u,menu:n,variant:l,className:"section-container !mx-auto",stickyClassName:(0,i.cn)("sticky top-0 border-y !border-y-[#484848] py-2",c)})]})}),eZ=(0,r.forwardRef)((e,t)=>{let{menu:l,sideMenu:n,theme:s,logoVariant:r,topLogoContainerClassName:o,isStickyScrollBgColor:c,stickyScrollBgColor:d,hideTopSticky:u=!1}=e,g=(0,j.MS)();return u?null:(0,a.jsx)(eb,{ref:t,menu:l,sideMenu:n,theme:s,logoVariant:r,isStickyScrollBgColor:c,stickyScrollBgColor:d,topLogoContainerClassName:(0,i.cn)("!sticky border-b border-b-[#E9E9E9]",o),ChannelLogo:(0,a.jsx)(eh.n,{languageName:g.name,languageCode:g.languageCode,className:"w-31 sm:w-fit text-white h-[24px] [&_svg]:w-[210px] [&_svg]:h-full",logoVariant:r})})});function eR(e){let{menu:t,sideMenu:l,pageTitle:n,isSecondaryMenuRow:r,titleClassName:i,headerVariant:d,topLogoContainerClassName:u,logoVariant:g,categories:x,isStickyScrollBgColor:p,theme:m,stickyScrollBgColor:h,nonSticky:f,stickyClassName:v,className:C,page:y,rest:j}=e;switch(d){case"main-header":return(0,a.jsx)(o.MainHeaderSidebar,{titleClassName:"text-grey-13",pageTitle:n,menu:t,logoVariant:g});case"topic-header":return(0,a.jsx)(Y,{titleClassName:"text-grey-13 text-current font-primary transition-colors",pageTitle:null!=n?n:"",headerMenu:t,sidebarMenu:l,logoVariant:g});case"secondary-header":return(0,a.jsx)(c,{menu:t,titleClassName:i,title:null!=n?n:"",logoVariant:g,topLogoContainerClassName:u});case"simple-header":return(0,a.jsx)(H,{menu:t,theme:m,logoVariant:g,isStickyScrollBgColor:p,stickyScrollBgColor:h,topLogoContainerClassName:u});case"vod-header":return(0,a.jsx)(O,{categories:x});case"tv-header":return(0,a.jsx)(M,{page:y});case"interactive-header":return(0,a.jsx)(k.E,{logoVariant:s.YY.Light,variant:s.YY.Light,sideMenu:t,menu:t,nonSticky:!0,className:C,stickyClassName:v});default:return(0,a.jsx)(k.E,{sideMenu:t,menu:t,isSecondary:r,nonSticky:f,...j})}}function eU(e){let{menu:t,sideMenu:l,pageTitle:n,showSecondMenuRow:r,isSecondaryMenuRow:o,titleClassName:i,headerVariant:c,topLogoContainerClassName:d,logoVariant:u,categories:g,isStickyScrollBgColor:x,menuRowWrapperClassName:p,theme:m,stickyScrollBgColor:h,stickyClassName:f,className:v,page:C,hideTopSticky:y}=e;switch(c){case"main-header":case"topic-header":return(0,a.jsx)(eT,{menu:t,pageTitle:n,showSecondMenuRow:r,isSecondaryMenuRow:o,titleClassName:i,menuRowWrapperClassName:"topic-header"===c?p:void 0,hideTopSticky:y});case"secondary-header":return(0,a.jsx)(eT,{menu:t,pageTitle:n,showSecondMenuRow:!1,titleClassName:i,topLogoContainerClassName:d,logoVariant:u,isStickyScrollBgColor:x,stickyScrollBgColor:h,menuRowWrapperClassName:p,hideTopSticky:y});case"simple-header":return(0,a.jsx)(eZ,{menu:t,theme:m,logoVariant:u,isStickyScrollBgColor:x,stickyScrollBgColor:h,topLogoContainerClassName:d,hideTopSticky:y});case"vod-header":return(0,a.jsx)(ey,{logoVariant:s.YY.Light,categories:g,hideTopSticky:y});case"detail-header":return(0,a.jsx)(eT,{menu:t,titleClassName:i,showSecondMenuRow:r,topLogoContainerClassName:d,logoVariant:u,isStickyScrollBgColor:x,hideTopSticky:y,isSecondaryMenuRow:o});case"tv-header":return(0,a.jsx)(e_,{menu:t,page:C,hideTopSticky:y,showSecondMenuRow:r});case"interactive-header":return(0,a.jsx)(eI,{logoVariant:s.YY.Light,variant:s.YY.Light,menu:t,sideMenu:l,className:v,stickyClassName:f,hideTopSticky:y});default:return(0,a.jsx)(eF,{sideMenu:t,menu:t,isSecondaryMenuRow:o})}}function ez(e){let{headerVariant:t="home-header",logoVariant:l=s.YY.Dark,...r}=e,{isWebView:o,platform:i}=(0,n.F)(),c={...r,logoVariant:l,headerVariant:t,hideTopSticky:"ios-webview"===i};return o?(0,a.jsx)(eU,{...c}):(0,a.jsx)(eR,{...c})}},12101:function(e,t,l){l.d(t,{F:function(){return o},P:function(){return r}});var a=l(74023),n=l(83641);let s=(0,n.createContext)(void 0);function r(e){let{platform:t,children:l}=e;return(0,a.jsx)(s.Provider,{value:{platform:t,isWebView:"browser"!==t},children:l})}function o(){let e=(0,n.useContext)(s);if(!e)throw Error("usePlatform must be used within PlatformProvider");return e}}}]);

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.