PageSourceSearch

https://www.trtarabi.com/_next/static/chunks/9004-8c11661b22798232.js

js trtarabi.com collected 2026-09-24 22:47:57 UTC 35,292 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9004],{58723:function(e,t,n){"use strict";n.r(t),n.d(t,{ScheduleCard:function(){return H}});var o=n(74023),l=n(12173),i=n(10193),a=n(31652),r=n(94970),s=n(22188),d=n(45450);let c=e=>{let{liveStream:t,program:n}=e,i=(0,a.useTranslations)(),{setStaticData:c,setPaused:u}=(0,s.qC)(),{isMobile:p}=(0,d.B)();return(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)("button",{onClick:()=>{var e,o,l,i,a;c({videoSrc:null==t?void 0:t.streamUrl,title:null!==(l=null==n?void 0:n.programName)&&void 0!==l?l:"",description:null!==(i=null==n?void 0:n.synopsis)&&void 0!==i?i:"",background:null!==(a=null==n?void 0:null===(o=n.programMedias)||void 0===o?void 0:null===(e=o[0])||void 0===e?void 0:e.link)&&void 0!==a?a:"",closed:!1}),setTimeout(()=>{u(!1),p||u(!1)},500),setTimeout(()=>{let e=new Event("custom",{bubbles:!0,cancelable:!0});window.dispatchEvent(e)},1e3)},className:"py-2 pl-3 pr-4 flex flex-row gap-2 w-fit bg-categories-live rounded",children:[(0,o.jsx)(r.o1,{className:(0,l.cn)("text-white","rtl:rotate-180")}),(0,o.jsx)("span",{className:"my-auto font-body text-white font-bold text-xs2 leading-normal tracking-[0.65px]",children:i("watch-live")})]})})};var u=n(75425),p=n(84358),m=n(83641);let x=()=>((0,m.useEffect)(()=>{let e=document.getElementById(p.DK);e&&e.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})},[]),null);var v=n(54059),g=n.n(v),h=n(35323),w=n.n(h);let f=e=>{let{...t}=e;return(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 245.657",...t,children:(0,o.jsx)("path",{d:"M167.084 130.514c-.308-31.099 25.364-46.022 26.511-46.761-14.429-21.107-36.91-24.008-44.921-24.335-19.13-1.931-37.323 11.27-47.042 11.27-9.692 0-24.67-10.98-40.532-10.689-20.849.308-40.07 12.126-50.818 30.799-21.661 37.581-5.54 93.281 15.572 123.754 10.313 14.923 22.612 31.688 38.764 31.089 15.549-.612 21.433-10.073 40.242-10.073s24.086 10.073 40.546 9.751c16.737-.308 27.34-15.214 37.585-30.187 11.855-17.318 16.714-34.064 17.009-34.925-.372-.168-32.635-12.525-32.962-49.68l.045-.013zm-30.917-91.287C144.735 28.832 150.524 14.402 148.942 0c-12.344.503-27.313 8.228-36.176 18.609-7.956 9.216-14.906 23.904-13.047 38.011 13.786 1.075 27.862-7.004 36.434-17.376z"})})},y=e=>{let{...t}=e;return(0,o.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 200",...t,children:[(0,o.jsx)("path",{d:"M152.637 47.363H47.363v105.273h105.273z",fill:"#fff"}),(0,o.jsx)("path",{d:"M152.637 200L200 152.637h-47.363z",fill:"#f72a25"}),(0,o.jsx)("path",{d:"M200 47.363h-47.363v105.273H200z",fill:"#fbbc04"}),(0,o.jsx)("path",{d:"M152.637 152.637H47.363V200h105.273z",fill:"#34a853"}),(0,o.jsx)("path",{d:"M0 152.637v31.576A15.788 15.788 0 0 0 15.788 200h31.576v-47.363z",fill:"#188038"}),(0,o.jsx)("path",{d:"M200 47.363V15.788A15.79 15.79 0 0 0 184.212 0h-31.575v47.363z",fill:"#1967d2"}),(0,o.jsx)("path",{d:"M15.788 0A15.79 15.79 0 0 0 0 15.788v136.849h47.363V47.363h105.274V0z",fill:"#4285f4"}),(0,o.jsx)("path",{d:"M68.962 129.02c-3.939-2.653-6.657-6.543-8.138-11.67l9.131-3.76c.83 3.158 2.279 5.599 4.346 7.341 2.051 1.742 4.557 2.588 7.471 2.588 2.995 0 5.55-.911 7.699-2.718 2.148-1.823 3.223-4.134 3.223-6.934 0-2.865-1.139-5.208-3.402-7.031s-5.111-2.718-8.496-2.718h-5.273v-9.033h4.736c2.913 0 5.387-.781 7.389-2.376 2.002-1.579 2.995-3.743 2.995-6.494 0-2.441-.895-4.395-2.686-5.859s-4.053-2.197-6.803-2.197c-2.686 0-4.818.716-6.396 2.148s-2.767 3.255-3.451 5.273l-9.033-3.76c1.204-3.402 3.402-6.396 6.624-8.984s7.34-3.89 12.337-3.89c3.695 0 7.031.716 9.977 2.148s5.257 3.418 6.934 5.941c1.676 2.539 2.507 5.387 2.507 8.545 0 3.223-.781 5.941-2.327 8.187-1.546 2.23-3.467 3.955-5.729 5.143v.537a17.39 17.39 0 0 1 7.34 5.729c1.904 2.572 2.865 5.632 2.865 9.212s-.911 6.771-2.718 9.57c-1.823 2.799-4.329 5.013-7.52 6.624s-6.787 2.425-10.775 2.425c-4.622 0-8.887-1.318-12.826-3.988zm56.087-45.312l-10.026 7.243-5.013-7.601 17.985-12.972h6.901v61.198h-9.847z",fill:"#1a73e8"})]})},j=e=>{let{...t}=e;return(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 239.766",...t,children:(0,o.jsx)("path",{d:"M200 219.785l-.021-.012V20.591L128.615 0 .322 48.172 0 48.234.016 192.257l43.78-17.134V57.943l84.819-20.279-.012 172.285L.088 192.257l128.515 47.456v.053l71.376-19.753v-.227z"})})},b=e=>{let{...t}=e;return(0,o.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 175",...t,children:[(0,o.jsx)("path",{d:"M178.725 0H71.275A8.775 8.775 0 0 0 62.5 8.775v9.975l60.563 18.75L187.5 18.75V8.775A8.775 8.775 0 0 0 178.725 0z",fill:"#0364b8"}),(0,o.jsx)("path",{d:"M197.813 96.281c.915-2.878 2.187-5.855 2.187-8.781-.002-1.485-.795-2.857-1.491-3.26l-68.434-38.99a9.37 9.37 0 0 0-9.244-.519c-.312.154-.614.325-.906.512l-67.737 38.6-.025.013-.075.044a4.16 4.16 0 0 0-2.088 3.6c.541 2.971 1.272 5.904 2.188 8.781l71.825 52.532z",fill:"#0a2767"}),(0,o.jsx)("path",{d:"M150 18.75h-43.75L93.619 37.5l12.631 18.75L150 93.75h37.5v-37.5z",fill:"#28a8ea"}
1),(0,o.jsx)("path",{d:"M150 18.75h37.5v37.5H150z",fill:"#50d9ff"}),(0,o.jsx)("path",{d:"M150 93.75l-43.75-37.5H62.5v37.5l43.75 37.5 67.7 11.05z",fill:"#0364b8"}),(0,o.jsx)("path",{d:"M106.25 56.25v37.5H150v-37.5zM150 93.75v37.5h37.5v-37.5zm-87.5-75h43.75v37.5H62.5z",fill:"#0078d4"}),(0,o.jsx)("path",{d:"M62.5 93.75h43.75v37.5H62.5z",fill:"#064a8c"}),(0,o.jsx)("path",{d:"M126.188 145.113l-73.706-53.75 3.094-5.438 68.181 38.825a3.3 3.3 0 0 0 2.625-.075l68.331-38.937 3.1 5.431z",fill:"#0a2767",opacity:".5"}),(0,o.jsx)("path",{d:"M197.919 91.106l-.088.05-.019.013-67.738 38.588c-2.736 1.764-6.192 1.979-9.125.569l23.588 31.631 51.588 11.257v-.001c2.434-1.761 3.876-4.583 3.875-7.587V87.5c.001 1.488-.793 2.862-2.081 3.606z",fill:"#1490df"}),(0,o.jsx)("path",{d:"M200 165.625v-4.613l-62.394-35.55-7.531 4.294a9.356 9.356 0 0 1-9.125.569l23.588 31.631 51.588 11.231v.025a9.362 9.362 0 0 0 3.875-7.588z",opacity:".05"}),(0,o.jsx)("path",{d:"M199.688 168.019l-68.394-38.956-1.219.688c-2.734 1.766-6.19 1.984-9.125.575l23.588 31.631 51.587 11.256v.001a9.38 9.38 0 0 0 3.562-5.187z",opacity:".1"}),(0,o.jsx)("path",{d:"M51.455 90.721c-.733-.467-1.468-1.795-1.455-3.221v78.125c-.007 5.181 4.194 9.382 9.375 9.375h131.25c1.395-.015 2.614-.366 3.813-.813.638-.258 1.252-.652 1.687-.974z",fill:"#28a8ea"}),(0,o.jsx)("path",{d:"M112.5 141.669V39.581a8.356 8.356 0 0 0-8.331-8.331H62.687v46.6l-10.5 5.987-.031.012-.075.044A4.162 4.162 0 0 0 50 87.5v.031-.031V150h54.169a8.356 8.356 0 0 0 8.331-8.331z",opacity:".1"}),(0,o.jsx)("path",{d:"M106.25 147.919V45.831a8.356 8.356 0 0 0-8.331-8.331H62.687v40.35l-10.5 5.987-.031.012-.075.044A4.162 4.162 0 0 0 50 87.5v.031-.031 68.75h47.919a8.356 8.356 0 0 0 8.331-8.331z",opacity:".2"}),(0,o.jsx)("path",{d:"M106.25 135.419V45.831a8.356 8.356 0 0 0-8.331-8.331H62.687v40.35l-10.5 5.987-.031.012-.075.044A4.162 4.162 0 0 0 50 87.5v.031-.031 56.25h47.919a8.356 8.356 0 0 0 8.331-8.331z",opacity:".2"}),(0,o.jsx)("path",{d:"M100 135.419V45.831a8.356 8.356 0 0 0-8.331-8.331H62.687v40.35l-10.5 5.987-.031.012-.075.044A4.162 4.162 0 0 0 50 87.5v.031-.031 56.25h41.669a8.356 8.356 0 0 0 8.331-8.331z",opacity:".2"}),(0,o.jsx)("path",{d:"M8.331 37.5h83.337A8.331 8.331 0 0 1 100 45.831v83.338a8.331 8.331 0 0 1-8.331 8.331H8.331A8.331 8.331 0 0 1 0 129.169V45.831A8.331 8.331 0 0 1 8.331 37.5z",f
1ill:"#0078d4"}),(0,o.jsx)("path",{d:"M24.169 71.675a26.131 26.131 0 0 1 10.263-11.337 31.031 31.031 0 0 1 16.313-4.087 28.856 28.856 0 0 1 15.081 3.875 25.875 25.875 0 0 1 9.988 10.831 34.981 34.981 0 0 1 3.5 15.938 36.881 36.881 0 0 1-3.606 16.662 26.494 26.494 0 0 1-10.281 11.213 30 30 0 0 1-15.656 3.981 29.556 29.556 0 0 1-15.425-3.919 26.275 26.275 0 0 1-10.112-10.85 34.119 34.119 0 0 1-3.544-15.744 37.844 37.844 0 0 1 3.481-16.563zm10.938 26.613a16.975 16.975 0 0 0 5.769 7.463 15.069 15.069 0 0 0 9.019 2.719 15.831 15.831 0 0 0 9.631-2.806 16.269 16.269 0 0 0 5.606-7.481 28.913 28.913 0 0 0 1.787-10.406 31.644 31.644 0 0 0-1.687-10.538 16.681 16.681 0 0 0-5.413-7.75 14.919 14.919 0 0 0-9.544-2.956 15.581 15.581 0 0 0-9.231 2.744 17.131 17.131 0 0 0-5.9 7.519 29.85 29.85 0 0 0-.044 21.5z",fill:"#fff"})]})};var C=n(20098),_=n(80083),N=n(87197),T=n(97093);let k=e=>e.toISOString().replace(/[-:]/g,"").split(".")[0]+"Z";function M(e){return"".concat(e,"/tv-schedule")}function z(e,t){return new Date(e.getTime()+t)}function I(e,t,n,o){let l=window.location.origin;return"/api/calendar?date=".concat(e.toISOString(),"&title=").concat(encodeURIComponent(t),"\n    &description=").concat(encodeURIComponent(n+"\\nWatch Live: ".concat(M(l))),"\n    &durationInMilisecond=").concat(o)}let S=e=>{let{date:t,title:n,description:l,durationInMilisecond:i}=e,r=(0,a.useTranslations)();return(0,o.jsxs)(_.fC,{children:[(0,o.jsx)(_.xz,{asChild:!0,children:(0,o.jsxs)("button",{className:"flex items-center flex-row gap-x-2 border border-[0.5px] border-grey-6 text-grey-11 rounded-[3px] px-2 py-[6px] self-end",children:[(0,o.jsx)(N.Z,{className:"w-4 h-4"}),(0,o.jsx)("span",{className:"text-xs2 leading-normal font-medium",children:r("add-to-calendar")})]})}),(0,o.jsx)(_.h_,{children:(0,o.jsx)(_.VY,{side:"bottom",className:"w-52 relative z-[100] bg-white shadow-share py-3 rounded-lg",children:(0,o.jsxs)("div",{className:"grid",children:[(0,o.jsxs)(P,{onClick:async()=>{(0,C.j)({action:"add_to_calendar_apple",category:"Add to Calendar",label:"Apple",value:0})},title:n,href:I(t,n,l,i),children:[(0,o.jsx)(f,{width:16,height:16}),"Apple"]}),(0,o.jsxs)(D,{onClick:()=>{!function(e,t,n,o){let l=window.location.origin,i=z(e,o),a="https://calendar.google.com/calendar/render?action=TEMPLATE&text=".concat(encodeURIComponent(t),"&dates=").concat(k(e),"/").concat(k(i),"&details=").concat(encodeURIComponent(n+"\\nWatch Live: ".concat(M(l))),"&location=").concat(encodeURIComponent(M(l)));window.open(a,"_blank")}(t,n,l,i),(0,C.j)({action:"add_to_calendar_google",category:"Add to Calendar",label:"Google Calendar",value:0})},children:[(0,o.jsx)(y,{width:16,height:16}),"Google Calendar"]}),(0,o.jsxs)(D,{onClick:()=>{!function(e,t,n,o){let l=z(e,o),i=window.location.origin,a="https://outlook.live.com/calendar/0/deeplink/compose?subject=".concat(encodeURIComponent(t),"&body=").concat(encodeURIComponent(n+"\\nWatch Live: ".concat(M(i))),"&startdt=").concat(e.toISOString(),"&enddt=").concat(l.toISOString(),"&location=").concat(encodeURIComponent(M(i)));window.open(a,"_blank")}(t,n,l,i),(0,C.j)({action:"add_to_calendar_outlook",category:"Add to Calendar",label:"Outlook",value:0})},children:[(0,o.jsx)(b,{width:16,height:16}),"Outlook.com"]}),(0,o.jsxs)(D,{onClick:()=>{!function(e,t,n,o){let l=z(e,o),i=window.location.origin,a="https://outlook.office.com/calendar/0/deeplink/compose\n    ?subject=".concat(encodeURIComponent(t),"\n    &body=").concat(encodeURIComponent(n+"\\nWatch Live: ".concat(M(i))),"\n    &startdt=").concat(e.toISOString(),"\n    &enddt=").concat(l.toISOString(),"\n    &location=").concat(encodeURIComponent(M(i)));window.open(a,"_blank")}(t,n,l,i),(0,C.j)({action:"add_to_calendar_microsoft",category:"Add to Calendar",label:"Microsoft 365",value:0})},children:[(0,o.jsx)(j,{width:16,height:16,fill:"#ea3e23"}),"Microsoft 365"]}),(0,o.jsxs)(P,{href:I(t,n,l,i),title:n,children:[(0,o.jsx)(T.Z,{width:16,height:16}),"iCal File"]})]})})})]})},A="flex hover:bg-grey-2 items-center flex-row gap-x-2 border-b border-b-[0.5px] border-grey-6 text-grey-11 rounded-[3px] px-5 py-[6px] self-end last:border-none",P=e=>{let{children:t,...n}=e;return(0,o.jsx)("a",{download:"".concat(n.title,".ics"),className:A,...n,children:t})},D=e=>{let{children:t,...n}=e;return(0,o.jsx)("button",{className:A,...n,children:t})};var V=n(81243);function H(e){var t,n,r;let{gmtDateTime:s,programMedias:d,channel:m,programs:v,id:h,...w}=e,f=(0,V.p)(e=>
1e.currentProgramId)===h,y=(0,a.useTranslations)(),j=g().utc(s),b=j.isAfter(g()()),C=u.$[null==m?void 0:m.languageCode]||{},_=C.programName in w?C.programName:u.$.en.programName,N=C.synopsis in w?C.synopsis:u.$.en.synopsis,T=d.filter(e=>e.link&&e.link).sort((e,t)=>e.width-t.width);return(0,o.jsxs)("div",{...f&&{id:p.DK},className:(0,l.cn)("w-full flex flex-row gap-4 ps-3 sm:ps-4 pe-4 sm:pe-[30px] lg:ps-8",{"bg-grey-11 rounded-[5px]":f,"bg-transparent":!f}),children:[(0,o.jsxs)("div",{className:"flex flex-col gap-[11px]",children:[(0,o.jsx)("div",{className:(0,l.cn)("h-[calc(100%-220px)] sm:h-full  bg-grey-6 mx-6 w-[1px]",{"bg-grey-8":f,"bg-grey-6":!f})}),(0,o.jsxs)("div",{className:(0,l.cn)("font-body font-normal flex flex-col uppercase tracking-[1px]",{"text-white":f,"text-grey-11":!f}),children:[(0,o.jsx)("span",{className:"text-sm sm:text-base sm:leading-tight",children:null==j?void 0:j.format("HH:mm")}),(0,o.jsx)("span",{className:"font-medium text-xs leading-loose",children:"( GMT )"})]}),(0,o.jsx)("div",{className:(0,l.cn)("h-full bg-grey-6 mx-6 w-[1px]",{"bg-grey-8":f,"bg-grey-6":!f})})]}),(0,o.jsxs)("div",{className:"w-full grid grid-cols-1 sm:grid-cols-[240px_1fr] lg:grid-cols-[266px_1fr] flex-col sm:flex-row gap-4 py-8",children:[f&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(x,{}),(0,o.jsx)("div",{className:"block sm:hidden uppercase text-white font-body text-xs2 font-bold tracking-[0.65px] leading-normal px-2 border rounded border-grey-3 w-fit",children:y("now-playing")})]}),(0,o.jsx)("div",{className:"my-auto w-full",children:(0,o.jsx)(i.default,{src:((r=null==T?void 0:null===(t=T[0])||void 0===t?void 0:t.link)?"/api/proxy/tv-schedule-image?url=".concat(encodeURIComponent(r)):"")||"/png/placeholder.png",className:"w-full h-auto rounded-custom object-cover aspect-video",alt:"schedule",width:520,height:292})}),(0,o.jsxs)("div",{className:"flex flex-col gap-7 w-full",children:[(0,o.jsxs)("div",{className:"flex flex-col gap-4",children:[f&&(0,o.jsx)("div",{className:"hidden sm:block uppercase text-white font-body text-xs2 font-bold tracking-[0.65px] leading-normal px-2 border rounded border-grey-3 w-fit",children:y("now-playing")}),(0,o.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,o.jsx)("div",{className:(0,l.cn)("font-primary text-lg leading-[23px] sm:text-xl sm:leading-6.5 lg:text-2xl font-bold lg:leading-7.5",{"text-white":f,"text-grey-12":!f}),children:w[_]}),(0,o.jsx)("div",{className:(0,l.cn)("font-body text-base text-sm lg:text-base leading-6 mb-5",{"text-white":f,"text-grey-10":!f}),children:w[N]}),b?(0,o.jsx)(S,{date:j.toDate(),title:w[_]||"",description:w[N]||"",durationInMilisecond:(null==w?void 0:w.planDurationMilisecond)||0}):null]})]}),f&&(0,o.jsx)("div",{className:"w-full flex justify-end",children:(0,o.jsx)(c,{liveStream:null==m?void 0:null===(n=m.streamingOptions)||void 0===n?void 0:n.liveStream,program:w})})]})]})]})}g().extend(w())},35e3:function(e,t,n){"use strict";n.r(t),n.d(t,{VodHorizontalAnimatedCard:function(){return u}});var o=n(74023),l=n(31930),i=n(16395),a=n(12173),r=n(23306),s=n.n(r),d=n(79313),c=n(89814);
1function u(e){let{content:t,blockName:n,className:r,isHovered:u,withTitle:p,cardClassName:m}=e,{mobileContentMetadata:x,desktopContentMetadata:v}=(0,l.T$)((null==t?void 0:t.promoContent)||t),g=(0,c.C)(null==t?void 0:t.genre),h=(0,d.Gk)(),w=(0,d.ks)();return(0,o.jsxs)("div",{"data-block":n,"data-state":u?"delayed-open":void 0,className:(0,a.cn)("w-full relative grid gap-4 no-underline",r,s().vodContainer,s().vodHorizontalContainer,{"z-[2]":u}),children:[(0,o.jsx)("div",{className:(0,a.cn)("w-full relative transition-shadow duration-300 ease-in-out",{"shadow-vodContainer rounded-[8px] overflow-hidden":u}),children:(0,o.jsxs)("div",{"data-block":"vod_horizontal_animated_card",className:"w-full grid gap-y-1 sm:gap-y-[6px] lg:gap-y-[14px] no-underline content-baseline cursor-pointer",onClick:()=>{w(t)},children:[(0,o.jsx)(i.q5,{content:t,width:634,height:356,isHovered:u,className:(0,a.cn)({"rounded-[8px] overflow-hidden":!u}),resolution:"540p",poster:null==t?void 0:t.posterLandscape,covervideo:!0}),p?(0,o.jsx)(i.Ow,{mobileContentMetadata:x,desktopContentMetadata:v,className:(0,a.cn)("font-primary font-medium !text-grey-1 text-xs2 sm:text-base lg:text-lg !leading-normal",s().vodTitleAnimation)}):null]})}),(0,o.jsxs)("div",{className:(0,a.cn)("absolute opacity-0 grid gap-y-1.5 cursor-pointer overflow-hidden z-[3] bg-grey-13 px-3 py-4 text-grey-1 rounded-b-[8px]","w-[200px] sm:w-[219px] lg:w-[304px] top-[100px] sm:top-[110px] lg:top-[155px]",m,{[s().horizontalVodAnimation]:u,[s().bottomSideShadow]:u,"opacity-100":u,"pointer-events-none":!u}),children:[(0,o.jsx)(i.Ow,{mobileContentMetadata:x,desktopContentMetadata:v,className:"font-primary font-medium mb-1 !text-grey-1 text-xs2 sm:text-base lg:text-lg !leading-normal"}),g?(0,o.jsx)("div",{className:"font-body !leading-normal text-xs text-grey-1 opacity-50",children:g}):null,(0,o.jsx)("span",{className:"font-body !leading-normal text-xs text-grey-4 line-clamp-2 mb-1",children:(0,o.jsx)(i.Y9,{mobileContentMetadata:x,desktopContentMetadata:v})}),(0,o.jsx)(d.vc,{className:"w-full",onClick:e=>{e.stopPropagation(),h(t)}})]})]})}},33986:function(e,t,n){"use strict";n.r(t),n.d(t,{VodHorizontalListCard:function(){return u}});var o=n(74023),l=n(31930),i=n(16395),a=n(12173),r=n(23306),s=n.n(r),d=n(79313),c=n(89814);
1function u(e){let{content:t,blockName:n,className:r,isHovered:u,withTitle:p,cardClassName:m}=e,{mobileContentMetadata:x,desktopContentMetadata:v}=(0,l.T$)((null==t?void 0:t.promoContent)||t),g=(0,c.C)(null==t?void 0:t.genre),h=(0,d.Gk)();return(0,o.jsxs)("div",{"data-block":n,"data-state":u?"delayed-open":void 0,className:(0,a.cn)("w-full relative grid gap-4 no-underline",r,s().vodContainer,s().vodHorizontalContainer,{"z-[2]":u}),children:[(0,o.jsx)("div",{className:(0,a.cn)("w-full relative transition-shadow duration-300 ease-in-out",{"shadow-vodContainer rounded-[8px] overflow-hidden":u}),children:(0,o.jsxs)("div",{"data-block":"vod_horizontal_animated_card",className:"w-full grid gap-y-1 sm:gap-y-[6px] lg:gap-y-[14px] no-underline content-baseline cursor-pointer",children:[(0,o.jsx)(i.q5,{content:t,width:634,height:356,isHovered:u,className:(0,a.cn)({"rounded-[8px] overflow-hidden":!u}),resolution:"540p",poster:null==t?void 0:t.posterLandscape,covervideo:!0}),p?(0,o.jsx)(i.Ow,{mobileContentMetadata:x,desktopContentMetadata:v,className:(0,a.cn)("font-primary font-medium !text-grey-1 text-xs2 sm:text-base lg:text-lg !leading-normal",s().vodTitleAnimation)}):null]})}),(0,o.jsxs)("div",{className:(0,a.cn)("absolute opacity-0 grid gap-y-1.5 cursor-pointer overflow-hidden z-[3] bg-grey-13 px-3 py-4 text-grey-1 rounded-b-[8px]","w-[200px] sm:w-[219px] lg:w-[304px] top-[100px] sm:top-[110px] lg:top-[155px]",m,{[s().horizontalVodAnimation]:u,[s().bottomSideShadow]:u,"opacity-100":u,"pointer-events-none":!u}),children:[(0,o.jsx)(i.Ow,{mobileContentMetadata:x,desktopContentMetadata:v,className:"font-primary font-medium mb-1 !text-grey-1 text-xs2 sm:text-base lg:text-lg !leading-normal"}),g?(0,o.jsx)("div",{className:"font-body !leading-normal text-xs text-grey-1 opacity-50",children:g}):null,(0,o.jsx)("span",{className:"font-body !leading-normal text-xs text-grey-4 line-clamp-2 mb-1",children:(0,o.jsx)(i.Y9,{mobileContentMetadata:x,desktopContentMetadata:v})}),(0,o.jsx)(d.vc,{className:"w-full text-xs sm:text-sm h-[42px] sm:h-12",onClick:e=>{e.stopPropagation(),h(t)}})]})]})}},63129:function(e,t,n){"use strict";n.r(t),n.d(t,{VodVerticalAnimatedCard:function(){return c}});var o=n(74023),l=n(16395),i=n(12173),a=n(23306),r=n.n(a),s=n(79313),d=n(89814);function c(e){var t,n,a,c;let{content:u,blockName:p,className:m,isHovered:x}=e,v=(0,d.C)(null==u?void 0:u.genre),g=(0,s.Gk)();return(0,o.jsxs)("div",{"data-block":p,"data-state":x?"delayed-open":void 0,className:(0,i.cn)("w-full relative grid gap-4 no-underline",m,r().vodContainer,r().vodVerticalContainer,{"rounded-b-[8px] z-[2]":x}),children:[(0,o.jsx)("div",{className:(0,i.cn)("w-full relative"),children:(0,o.jsx)("div",{"data-block":"vod_vertical_animated_card",className:"w-full grid gap-y-3 no-underline content-baseline",children:(0,o.jsx)(l.q5,{content:u,width:882,height:1176,isHovered:x,className:(0,i.cn)({"rounded-[8px] overflow-hidden":!x,"rounded-[8px] overflow-hidden ":x}),resolution:"540p",poster:null==u?void 0:u.posterVertical,covervideo:!0})})}),(0,o.jsxs)("div",{className:(0,i.cn)("absolute top-0 grid content-end bg-gradient-vod-vertical opacity-0 cursor-pointer overflow-hidden z-[3] shadow-vodContainerVertical p-3 text-grey-1 rounded-[8px]","w-[178px] pt-[102px] min-h-[282px] gap-y-2","sm:w-[210px] sm:pt-[116px] sm:min-h-[320px] sm:gap-y-2","md:w-[234px] md:pt-[140px] md:min-h-[354px] md:gap-y-[14px]","xl:w-[270px] xl:pt-[169px] xl:min-h-[400px] xl:gap-y-4",{[r().verticalVodAnimation]:x,"opacity-100":x}),children:[(0,o.jsx)("span",{className:(0,i.cn)("font-primary font-bold leading-6 text-sm2 sm:text-base sm:leading-5 md:text-lg md:leading-6 xl:text-xl xl:leading-6"),children:(null==u?void 0:null===(t=u.categoryItem)||void 0===t?void 0:t.title)||(null==u?void 0:null===(n=u.seriesEpisode)||void 0===n?void 0:n.title)||(null==u?void 0:u.title)}),v?(0,o.jsx)("div",{className:"font-body !leading-normal text-xs text-grey-1 opacity-50 mb-[6px] xl:mb-2",children:v}):null,(0,o.jsx)("span",{className:"font-body !leading-normal text-xs xl:text-sm text-grey-4 line-clamp-2",children:(null==u?void 0:null===(a=u.categoryItem)||void 0===a?void 0:a.synopsis)||(null==u?void 0:null===(c=u.seriesEpisode)||void 0===c?void 0:c.synopsis)||(null==u?void 0:u.synopsis)}),(0,o.jsx)(s.vc,{className:"w-full",onClick:e=>{e.stopPropagation(),g(u)}})]})]})}},44976:function(e,t,n){"use strict";n.d(t,{D:function(){return d}});var o=n(74023),l=n(36754),i=n(73395),a=n.n(i),r=n(17450),s=n(12173);let d=e=>{let{elementId:t,children:n,tvShow:i,className:d,blockName:c}=e;return(0,o.jsx)(l.Provider,{children:(0,o.jsxs)(l.Root,{children:[(0,o.jsx)(l.Trigger,{asChild:!0,children:(0,o.jsx)("div",{id:t,"data-block":c,className:(0,s.cn)("w-full relative h-full grid gap-4 no-underline",d,a().tvShowContainer),children:n})}),(0,o.jsx)(l.Portal,{children:(0,o.jsx)(l.Content,{side:"bottom",avoidCollisions:!1,className:"z-[20]",children:(0,o.jsx)(r.TVShowsDescriptionAnimation,{tvShow:i,elementId:t})})})]})})}},17450:function(e,t,n){"use strict";n.d(t,{TVShowsDescriptionAnimation:function(){return d}});var o=n(74023),l=n(94970),i=n(12173),a=n(83641),r=n(73395),s=n.n(r);let d=e=>{let{tvShow:t,elementId:n}=e,r=(0,a.useRef)(null);return(0,a.useEffect)(()=>
1{if(!n||!(null==t?void 0:t.id))return;let e=document.getElementById(n);if(!e)return;let o=e.getBoundingClientRect();return r.current&&(r.current.style.width="".concat(o.width,"px")),()=>{}},[n,null==t?void 0:t.id]),(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)("div",{ref:r,className:(0,i.cn)("grid gap-y-2 cursor-pointer overflow-hidden bg-tvshow shadow-tvshow top-0 z-[20] w-full p-3 text-grey-1 rounded-b-custom relative",s().tvShowAnimaition),children:[(0,o.jsx)("span",{className:"font-primary font-bold leading-6 text-lg",children:null==t?void 0:t.title}),(0,o.jsx)("span",{className:"font-body leading-4.5 text-xs2 text-grey-4",children:null==t?void 0:t.description}),(0,o.jsx)("div",{className:"flex items-center justify-center w-7 h-7 bg-[#FFFFFF33] rounded-full relative",children:(0,o.jsx)(l.o1,{})})]})})}},79313:function(e,t,n){"use strict";n.d(t,{Gk:function(){return p},kW:function(){return c},ks:function(){return x},vc:function(){return u}});var o=n(74023),l=n(12173),i=n(94970),a=n(31652),r=n(64710),s=n(31930),d=n(45450);let c="w-5 h-5 sm:w-[22px] sm:h-[22px] lg:w-6 lg:h-6 xl:w-7 xl:h-7",u=e=>{let{className:t,children:n,...r}=e,s=(0,a.useTranslations)();return(0,o.jsxs)("button",{...r,className:(0,l.cn)("whitespace-nowrap rtl:flex-row-reverse flex items-center justify-center gap-2 rounded font-body","hover:!text-grey-1 !text-grey-13 bg-white hover:bg-primary-1 transition-colors duration-300","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",t),children:[(0,o.jsx)(i.KO,{className:c}),(0,o.jsx)(o.Fragment,{children:n||s("watchNow")})]})};function p(){let{setCategoryItem:e}=(0,r.Y3)(),{isMobile:t}=(0,d.B)(),{setFullScreenPlayerContent:n}=(0,r.sO)();return async o=>{var l;o.media?n(o):(null==o?void 0:null===(l=o.categoryItem)||void 0===l?void 0:l.type)==="series"&&(await m(o,t),e(o))}}function m(e,t){let n=[];if(t&&e.posterVertical){let t=(0,s.fi)(e.posterVertical,40,72,"blur");t&&n.push(t)}if(!t&&e.posterLandscape){let t=(0,s.fi)(e.posterLandscape,40,72,"blur");t&&n.push(t)}if(0===n.length)return Promise.resolve();let o=n.map(e=>new Promise((t,n)=>{let o=new Image;o.onload=()=>t(),o.onerror=()=>n(),o.src=e})),l=new Promise(e=>{setTimeout(e,2e3)});return Promise.race([Promise.all(o).then(()=>void 0),l])}function x(){let{setCategoryItem:e}=(0,r.Y3)(),{isMobile:t}=(0,d.B)();return async n=>{var o;((null==n?void 0:null===(o=n.categoryItem)||void 0===o?void 0:o.id)||(null==n?void 0:n.id))&&(await m(n,t),e(n))}}},9004:function(e,t,n){"use strict";n.d(t,{GU:function(){return s.ScheduleCard},yl:function(){return r},xi:function(){return c},HC:function(){return u.VodHorizontalListCard}});var o=n(74023),l=n(16395),i=n(31930),a=n(12173);function r(e){let{content:t,isHovered:n,noLink:r,resolution:s}=e,{mobileContentMetadata:d,desktopContentMetadata:c}=(0,i.T$)(t),u=(0,i.Dr)(null==t?void 0:t.duration);return(0,o.jsx)("div",{className:"w-full flex flex-col gap-4 no-underline article-hover-effect cursor-pointer",children:(0,o.jsxs)("div",{className:"w-full flex flex-col gap-3",children:[(0,o.jsxs)("div",{className:"relative",children:[(0,o.jsx)(l.j,{mobileContentMetadata:d,desktopContentMetadata:c,width:300,height:160,viewInDetailPage:!0,hidePlaceholder:!0,horizontalClassName:"video-card-wrapper",isHovered:n,noLink:r,resolution:s}),u?(0,o.jsx)("div",{className:"absolute bottom-0 left-0 bg-[#171717b3] p-1 rounded-tr-md text-white",children:u}):null]}),(0,o.jsx)("div",{className:(0,a.cn)("font-primary !text-white font-bold text-sm2","sm:text-xs2","lg:text-base lg:leading-5.5","xl:text-lg xl:leading-6"),children:(0,o.jsx)(l.Ow,{mobileContentMetadata:d,desktopContentMetadata:c})})]})})}var s=n(58723);n(44976);var d=n(53387);function c(e){let{tvShow:t,content:n,withShowName:a}=e,{mobileContentMetadata:r,desktopContentMetadata:s}=(0,i.T$)(n);return(0,o.jsx)(o.Fragment,{children:(0,o.jsx)("div",{className:"w-full relative inline-table",children:(0,o.jsxs)(d.TVShowPlayLink,{slug:t.id,contentSlug:n.slug,"data-block":"tv_show_content_card",className:"w-full h-full grid gap-y-3 no-underline content-baseline",children:[(0,o.jsx)(l.j,{mobileContentMetadata:r,desktopContentMetadata:s,width:604,height:320,viewInDetailPage:!0,containerClassName:"relative pointer-events-none",noLink:!0,covervideo:!0}),a?(0,o.jsx)("p",{className:"text-xs font-body leading-8 text-grey-8",children:null==t?void 0:t.t
1itle}):null,(0,o.jsx)(l.Ow,{mobileContentMetadata:r,desktopContentMetadata:s,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"})]})})})}n(35e3);var u=n(33986);n(63129)},75425:function(e,t,n){"use strict";n.d(t,{$:function(){return o}});let o={en:{synopsis:"synopsis",programName:"programName"},ar:{synopsis:"promoSynopsisEpgArabic",programName:"programNameArabic"}}},81243:function(e,t,n){"use strict";n.d(t,{p:function(){return a}});var o=n(45401),l=n(7673);let i=e=>{let t=(0,l.jv)().toDate();return e.find(e=>{let n=new Date(e.gmtDateTime),o=new Date(new Date(e.gmtDateTime).getTime()+e.planDurationMilisecond);return t>=n&&t<=o})},a=(0,o.U)((e,t)=>({programs:[],currentProgramId:null,currentDay:(0,l.jv)().format("YYYY-MM-DD"),miniPlayerData:null,setPrograms:n=>{e({programs:n}),t().updateCurrentProgram()},updateCurrentProgram:()=>{let{programs:n}=t();if(!n||0===n.length){e({currentProgramId:null});return}let o=i(n);e({currentProgramId:(null==o?void 0:o.id)||null})},checkDayChange:()=>{let{currentDay:n}=t(),o=(0,l.jv)().format("YYYY-MM-DD");return n!==o&&(e({currentDay:o}),!0)},setMiniPlayer:t=>{e({miniPlayerData:t})}}))},89814:function(e,t,n){"use strict";function o(e){var t;return e&&0!==e.length?null==e?void 0:null===(t=e[0])||void 0===t?void 0:t.title:""}n.d(t,{C:function(){return o}})},52896:function(e,t,n){"use strict";n.d(t,{s:function(){return a}});var o=n(45401),l=n(40284);let i={...l.T,blockContent:[],fullScreenPlayerContent:null,isTransitioning:!1},a=(0,o.U)((e,t)=>({...i,progressPercent:0,...(0,l.u)(e,t),setCurrentTime:n=>{let{duration:o}=t();e({currentTime:n,progressPercent:o>0?n/o*100:0})},setDuration:n=>{let{currentTime:o}=t();e({duration:n,progressPercent:n>0?o/n*100:0})},setBlockContent:t=>e({blockContent:t}),setFullScreenPlayerContent:t=>{e({fullScreenPlayerContent:t,isPaused:null===t,isPlaying:null!==t})},setIsTransitioning:t=>e({isTransitioning:t}),handleSeek:e=>{let{playerRef:n,currentTime:o,duration:l}=t();n&&n.currentTime(Math.max(0,Math.min(l,o+e)))},handleProgressClick:e=>{let{playerRef:n,duration:o}=t();n&&o&&n.currentTime(e*o)},reset:()=>e(i)}))},97660:function(e,t,n){"use strict";n.d(t,{N:function(){return a},Y:function(){return s}});var o=n(45401);function l(e){e.title&&(document.title=e.title);let t={};if(e.description&&(t["name:description"]=e.description),e.ogTitle&&(t["property:og:title"]=e.ogTitle),e.ogDescription&&(t["property:og:description"]=e.ogDescription),e.ogUrl&&(t["property:og:url"]=e.ogUrl),e.ogImage&&(t["property:og:image"]=e.ogImage),e.ogImageWidth&&(t["property:og:image:width"]=e.ogImageWidth.toString()),e.ogImageHeight&&(t["property:og:image:height"]=e.ogImageHeight.toString()),e.ogType&&(t["property:og:type"]=e.ogType),e.twitterCard&&(t["name:twitter:card"]=e.twitterCard),e.twitterTitle&&(t["name:twitter:title"]=e.twitterTitle),e.twitterDescription&&(t["name:twitter:description"]=e.twitterDescription),e.twitterImage&&(t["name:twitter:image"]=e.twitterImage),Object.entries(t).forEach(e=>{let[t,n]=e,[o,l]=t.split(":"),i=document.querySelector("meta[".concat(o,'="').concat(l,'"]'));i||((i=document.createElement("meta")).setAttribute(o,l),document.head.appendChild(i)),i.setAttribute("content",n)}),e.canonicalUrl){let t=document.querySelector('link[rel="canonical"]');t||((t=document.createElement("link")).setAttribute("rel","canonical"),document.head.appendChild(t)),t.setAttribute("href",e.canonicalUrl)}}function i(){var e;let t=null===(e=document.querySelector('meta[property="og:title"]'))||void 0===e?void 0:e.getAttribute("content");if(t){let e=t.match(/TRT\s+(\w+)/);if(e)return e[1]}let n=document.title.match(/TRT\s+(\w+)/);return n?n[1]:"World"}async function a(e){let t=new URL(window.location.href);t.pathname=e,t.search="";let n=window.scrollY;"/video/tv/vod"===e&&l(function(e){let t=i(),n="".concat("VOD"," - TRT ").concat(t),o="".concat("VOD"," - TRT ").concat(t),l="".concat(window.location.origin,"/video/tv/vod");return{title:n,description:o,ogTitle:n,ogDescription:o,ogUrl:l,ogType:"website",twitterCard:"summary_large_image",twitterTitle:n,twitterDescription:o,canonicalUrl:l}}()),window.history.replaceState(window.history.state,"",t.toString()),setTimeout(()=>{window.scrollTo(0,n)},0)}let r={vodCategoryItem:null},s=(0,o.U)(e=>({...r,setCategoryItem:async t=>{var n,o;if(e({vodCategoryItem:t}),!t){await a("/video/tv/vod");return}let r=(null==t?void 0:null===(n=t.categoryItem)||void 0===n?void 0:n.id)||(null==t?void 0:null===(o=t.seriesEpisode)||void 0===o?void 0:o.id);if(r){let e="/video/tv/vod/".concat(r),n=window.scrollY;l(function(e,t,n){var o,l,a,r,s;let d=i(),c=(null==e?void 0:null===(o=e.promoContent)||void 0===o?void 0:o.title)||(null==e?void 0:e.title)||"",u=(null==e?void 0:null===(l=e.promoContent)||void 0===l?void 0:l.description)||(null==e?void 0:e.synopsis)||"",p=null==e?void 0:e.coverImage,m=null==p?void 0:null===(a=p.media)||void 0===a?void 0:a.originalUrl,x=c?"".concat(c," - TRT ").concat(d):"",v="".concat(window.location.origin,"/video/tv/vod/").concat(t);return{title:x,description:u,ogTitle:x,ogDescription:u,ogUrl:v,ogType:"video.tv_show",...m&&{ogImage:m,ogImageWidth:(null==p?void 0:null===(r=p.media)||void 0===r?void 0:r.width)||1200,ogImageHeight:(null==p?void 0:null===(s=p.media)||void 0===s?void 0:s.height)||630},twitterCard:"summary_large_image",twitterTitle:x,twitterDescription:u,...m&&{twitterImage:m},canonicalUrl:v}}(t,r)),window.history.replaceState(window.history.state,"",e),setTimeout(()=>{window.scrollTo(0,n)},0)}},reset:()=>e(r)}))},64710:function(e,t,n){"use strict";n.d(t,{kK:function(){return r},sO:function(){return o.s},Y3:function(){return s.Y}});var o=n(52896),l=n(45401),i=n(40284);let a={...i.T,live:null,showSchedule:!1},r=(0,l.U)((e,t)=>({...a,...(0,i.u)(e,t),setLive:t=>
1e({live:t,isPaused:null===t,isPlaying:null!==t}),setShowSchedule:t=>e({showSchedule:t}),reset:()=>e(a)}));var s=n(97660)},40284:function(e,t,n){"use strict";n.d(t,{T:function(){return o},u:function(){return l}});let o={isPlaying:!1,currentTime:0,duration:0,isPaused:!0,isMuted:!1,isFullscreen:!1,showControls:!0,playerRef:null,controlsTimeoutRef:null},l=(e,t)=>({setIsPlaying:t=>e({isPlaying:t}),setCurrentTime:t=>{e({currentTime:t})},setDuration:t=>{e({duration:t})},setIsPaused:t=>e({isPaused:t}),setIsMuted:t=>e({isMuted:t}),setIsFullscreen:t=>e({isFullscreen:t}),setShowControls:t=>e({showControls:t}),setPlayerRef:t=>e({playerRef:t}),setControlsTimeoutRef:t=>e({controlsTimeoutRef:t}),handlePlayPause:()=>{let{playerRef:e,isPaused:n}=t();e&&(n?e.play():e.pause())},handleMuteToggle:()=>{let{playerRef:e}=t();if(!e)return;let n=e.muted();e.muted(!n)},toggleFullscreen:()=>{document.fullscreenElement?document.exitFullscreen():document.documentElement.requestFullscreen()},resetControlsTimeout:()=>{let{clearControlsTimeout:e,isPlaying:n,setShowControls:o,setControlsTimeoutRef:l}=t();e(),o(!0),l(setTimeout(()=>{n&&o(!1)},1500))},clearControlsTimeout:()=>{let{controlsTimeoutRef:e,setControlsTimeoutRef:n}=t();e&&(clearTimeout(e),n(null))}})},23306:function(e){e.exports={tvShowAnimaition:"tv-show_tvShowAnimaition__W_PCs",slideDown:"tv-show_slideDown__mVxXl",tvShowContainer:"tv-show_tvShowContainer__jahCj",tvShowContent:"tv-show_tvShowContent__tcGeN",horizontalVodAnimation:"tv-show_horizontalVodAnimation__k1RoZ",slideDownHorizontal:"tv-show_slideDownHorizontal__nlITc",verticalVodAnimation:"tv-show_verticalVodAnimation__KmH1K",slideUp:"tv-show_slideUp__fpCK5",vodTitleAnimation:"tv-show_vodTitleAnimation__5CXYZ",vodContainer:"tv-show_vodContainer__AXAfM",vodHorizontalContainer:"tv-show_vodHorizontalContainer__A3v8_",vodVerticalContainer:"tv-show_vodVerticalContainer__HBcBb",slideDownTitle:"tv-show_slideDownTitle__CRMo5",vodTitleUpAnimation:"tv-show_vodTitleUpAnimation__a3OdU",vodPodcastContainer:"tv-show_vodPodcastContainer__nPbE1",vodPlaylistExpand:"tv-show_vodPlaylistExpand__uzVf0",expandHeight:"tv-show_expandHeight__wcjsq",vodPlaylistCollapse:"tv-show_vodPlaylistCollapse__TYdBj",collapseHeight:"tv-show_collapseHeight__7aOXz",chevronBottomRight:"tv-show_chevronBottomRight__BjmRM",chevronCenterAnimation:"tv-show_chevronCenterAnimation__4epfG",bottomSideShadow:"tv-show_bottomSideShadow__Q_rTI",slideUpTitle:"tv-show_slideUpTitle__Fp_wL"}},73395:function(e){e.exports={tvShowAnimaition:"tv-show_tvShowAnimaition__FaBo7",slideDown:"tv-show_slideDown__a1o88",tvShowContainer:"tv-show_tvShowContainer__ZaXxq"}}}]);

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.