1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[717],{7342:function(e,i,d){"use strict";var r=d(85893),a=d(49859),o=d.n(a),t=d(49855),n=d(73484),l=d(94313);d(41664);var s=d(67294),c=d(11163),u=d(4975),v=d(29417),p=d(5152),g=d.n(p),_=d(25675),P=d.n(_),w=d(6437),h=d(38606),G=d(62817),m=d(63102),y=d(58014),f=d(72120);let b=g()(()=>Promise.all([d.e(1994),d.e(7641),d.e(4721),d.e(6164),d.e(3704)]).then(d.bind(d,66164)),{loadableGenerated:{webpack:()=>[66164]}}),k=g()(()=>Promise.all([d.e(1994),d.e(8438),d.e(304)]).then(d.bind(d,58438)),{loadableGenerated:{webpack:()=>[58438]}}),R=g()(()=>Promise.all([d.e(1994),d.e(7615)]).then(d.bind(d,57615)),{loadableGenerated:{webpack:()=>[57615]}}),x=g()(()=>d.e(1653).then(d.bind(d,51653)),{loadableGenerated:{webpack:()=>[51653]}}),V=g()(()=>d.e(6905).then(d.bind(d,16905)),{loadableGenerated:{webpack:()=>[16905]}}),S=g()(()=>d.e(9388).then(d.bind(d,29388)),{loadableGenerated:{webpack:()=>[29388]}}),C=g()(()=>d.e(8528).then(d.bind(d,78528)),{loadableGenerated:{webpack:()=>[78528]}}),N=g()(()=>d.e(7266).then(d.bind(d,97266)),{loadableGenerated:{webpack:()=>[97266]}}),T=g()(()=>d.e(89).then(d.bind(d,20089)),{loadableGenerated:{webpack:()=>[20089]}}),I=g()(()=>d.e(5463).then(d.bind(d,95463)),{loadableGenerated:{webpack:()=>[95463]}}),D=g()(()=>d.e(6628).then(d.bind(d,36628)),{loadableGenerated:{webpack:()=>[36628]}}),j=g()(()=>d.e(9585).then(d.bind(d,59585)),{loadableGenerated:{webpack:()=>[59585]}}),A=g()(()=>d.e(510).then(d.bind(d,40510)),{loadableGenerated:{webpack:()=>[40510]}}),B=g()(()=>d.e(5668).then(d.bind(d,35668)),{loadableGenerated:{webpack:()=>[35668]}}),E=g()(()=>d.e(9902).then(d.bind(d,19902)),{loadableGenerated:{webpack:()=>[19902]}}),M=g()(()=>d.e(3048).then(d.bind(d,43048)),{loadableGenerated:{webpack:()=>[43048]}}),H=g()(()=>d.e(2746).then(d.bind(d,2746)),{loadableGenerated:{webpack:()=>[2746]}}),L=g()(()=>d.e(5351).then(d.bind(d,45351)),{loadableGenerated:{webpack:()=>[45351]}}),O=g()(()=>d.e(18).then(d.bind(d,70018)),{loadableGenerated:{webpack:()=>[70018]}}),q=g()(()=>d.e(8104).then(d.bind(d,78104)),{loadableGenerated:{webpack:()=>[78104]}}),F=g()(()=>d.e(7488).then(d.bind(d,47488)),{loadableGenerated:{webpack:()=>[47488]}}),W=g()(()=>d.e(4055).then(d.bind(d,34055)),{loadableGenerated:{webpack:()=>[34055]}}),BadgeText=e=>{let{badgeMarker:i}=e;return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("span",{className:o().rent,style:{backgroundColor:"#"+(null==i?void 0:i.bgColor),color:"#"+(null==i?void 0:i.textColor)},children:null==i?void 0:i.value})})};i.Z=e=>{var i,d,a,p,g,_;let{eleIndex:V,pagedata:S,item:C,cardType:N,cWidth:T,CHeight:I=0,noofCards:D,nofcardsperSlide:j,sectionData:A={},sectionInfo:B={},removeCard:E,favEditButton:M,searchTab:H,searchTitle:L,originMedium:O}=e,{state:{userDetails:q,NotificationBar:F,navigateFrom:W,cardPreviewData:Z,localLang:U},dispatch:J}=(0,u.oR)(),Y=(0,s.useRef)(null),[z,K]=(0,s.useState)(0),{mutate:X,data:Q}=(0,t.Z)(),{mutate:ee,data:ei}=(0,t.Z)(),[ed,er]=(0,s.useState)(!1),[ea,eo]=(0,s.useState)({}),[et,en]=(0,s.useState)({}),[el,es]=(0,s.useState)(C),[ec,eu]=(0,s.useState)(""),[ev,ep]=(0,s.use
1State)({}),[eg,e_]=(0,s.useState)(!1),eP=(0,s.useRef)(),ew=(0,s.useRef)(),eh=(0,c.useRouter)(),{onFavStatusChange:eG,favInfo:em}=(0,s.useContext)(m.e);(0,s.useEffect)(()=>{var e;K(null==Y?void 0:null===(e=Y.current)||void 0===e?void 0:e.clientHeight),prepareMarkers(C)},[S]),(0,s.useEffect)(()=>{var e;let i={};null==S||null===(e=S.data)||void 0===e||e.map(e=>{if(null==e?void 0:e.contentCode.includes("content_actors")){var d,r;null==e||null===(r=e.section)||void 0===r||null===(d=r.sectionData)||void 0===d||d.data.map(e=>{i[null==e?void 0:e.display.subtitle1]=null==e?void 0:e.display.title})}}),ep(i)},[S]),(0,s.useEffect)(()=>{eu((0,l.zs)(10))},[C]),(0,s.useEffect)(()=>{ec!=Z&&""!=ec&&null!=Z&&"expands_preview_poster"===N&&previewHide()},[Z]),(0,s.useEffect)(()=>{var e,i,d;if((null==Q?void 0:null===(e=Q.data)||void 0===e?void 0:e.response)&&(null===(i=Q.data)||void 0===i?void 0:i.status)){let e=(0,l.yz)(null==Q?void 0:null===(d=Q.data)||void 0===d?void 0:d.response);(0,f.hZ)({onWatchTimer:1}),window.open(e)}},[Q]);let myRecoAnalytics=e=>{var i,d,r,a,o,t,n,l,s;let c,u;(null==V?void 0:V.length)==2?([c,u]=V,c+=1):[c,u]=["",V],c=(null==c?void 0:c.toString())||"",u=(null==u?void 0:u.toString())||"";let v=(0,y.rV)("myRecotrackingid");(null==S?void 0:null===(i=S.info)||void 0===i?void 0:i.pageType)!=="details"&&(null==A?void 0:null===(d=A.sectionData)||void 0===d?void 0:d.myRecoTrackingId)&&(0,y.LS)("myRecotrackingid",A.sectionData.myRecoTrackingId);let p={contentPath:(null==e?void 0:null===(r=e.targetPath)||void 0===r?void 0:r.includes("play"))?null==e?void 0:e.targetPath.replace(/^\/+/,""):null==e?void 0:null===(a=e.target)||void 0===a?void 0:a.path.replace(/^\/+/,""),carouselPosition:c,contentPosition:u,trackingId:(null==S?void 0:null===(o=S.info)||void 0===o?void 0:o.pageType)==="details"&&(null==A?void 0:null===(t=A.sectionData)||void 0===t?void 0:t.myRecoTrackingId)==""?v||"":(null==A?void 0:null===(n=A.sectionData)||void 0===n?void 0:n.myRecoTrackingId)||"",originMedium:O};"S"==O&&""!=searchQuery?p.originName=searchQuery:p.originName=(null==A?void 0:null===(s=A.sectionInfo)||void 0===s?void 0:s.name)||"";let g={dataType:null==A?void 0:null===(l=A.sectionInfo)||void 0===l?void 0:l.dataType,pagePath:eh.asPath};(0,f.aB)(p,g),(0,y.LS)("myRecoAnalyticsData",p)};function getImagePath(e){try{return e?(0,n.ZY)(e):""}catch(e){}}let openProgInfoPopUp=(e,i)=>{var d,r,a,o,t,s,c,v,p;let g,_;if((null==V?void 0:V.length)==2?([g,_]=V,g+=1):[g,_]=["",V],g=(null==g?void 0:g.toString())||"",_=(null==_?void 0:_.toString())||"",eh.asPath.includes("search")){let e={...eventSearchAnalyticsData(H)};L&&(e.ctEventDataParam={category_name:L,tab:(0,y.rV)("tab")||"Home",category_postion:g}),(0,y.LS)("contentSectionName","Search"),(0,h.qP)("search_content_clicked",e)}else(0,h.qP)("rail_banner_clicked",{...eventAnalyticsData(),ctEventDataParam:{category_name:(0,y.rV)("contentSectionName"),tab:(0,y.rV)("tab")||"Home",category_postion:g}});let P={carouselPosition:g,contentPosition:_,trackingId:(null==A?void 0:null===(d=A.sectionData)||void 0===d?void 0:d.myRecoTrackingId)||"",contentPath:e.target.path};if((0,y.LS)("myRecoObj",P),(0,y.LS)("sectionInfo",null==B?void 0:null===(r=B.sectionData)||void 0===r?void 0:r.sectionInfo),myRecoAnalytics(e),sessionStorage.setItem("isInternalNaviagtion",!0),e.template){let i={};i.target_path=e.target.path;let d=(0,n.g7)();d.length>0?d.map(d=>{e.template===d.code&&(i.assignedTemplate=d,en(i),er(!0))}):J({type:u.Nw.o4,payload:{message:"Sorry template not found."}})}else if((null==e?void 0:null===(o=e.target)||void 0===o?void 0:null===(a=o.pageAttributes)||void 0===a?void 0:a.isDeeplinking)=="true")getDeeplinkInfo(e.target.path);else if((null==e?void 0:null===(t=e.target)||void 0===t?void 0:t.path)==="buy/packages-list"&&(null==q?void 0:null===(s=q.packages)||void 0===s?void 0:s.length)>0){let d=(0,l.$i)(null==q?void 0:q.packages);if(d){let e=i||window.event||null;e&&"function"==typeof e.preventDefault&&e.preventDefault(),eo({isActive:!0,type:"upgradePlan",title1:d,yesButton1:"Ok",yesButtonType:"primary",yesButtonTarget1:handleClose,close:!0,closeTarget:handleClose})}else eh.push(null==e?void 0:null===(c=e.target)||void 0===c?void 0:c.path)}else(0,y.LS)("playertargetpath",null==e?void 0:null===(v=e.target)||void 0===v?void 0:v.path),eh.push(null==e?void 0:null===(p=e.target)||void 0===p?void 0:p.path)},getDeeplinkInfo=e=>{let i="https://lukentv-api.revlet.net/service/api/v1/page/deeplink?"+(0,l.Yo)({path:e});try{X(i)}catch(e){}},prepareClickEventObj=e=>{var i,d,r,a,o,t,n,l,s,c;let u={content_name:null==el?void 0:null===(i=el.display)||void 0===i?void 0:i.title,content_type:null==el?void 0:null===(r=el.target)||void 0===r?void 0:null===(d=r.pageAttributes)||void 0===d?void 0:d.mediaContentType,studioName:(null==el?void 0:null===(o=el.target)||void 0===o?void 0:null===(a=o.pageAttributes)||void 0===a?void 0:a.networkName)||"NA",tab:(0,y.rV)("tab")||"Home",content_genre:(null==el?void 0:null===(n=el.target)||void 0===n?void 0:null===(t=n.pageAttributes)||void 0===t?void 0:t.genre)||"NA",rail_track_name:(null==A?void 0:null===(l=A.sectionInfo)||void 0===l?void 0:l.name)||"NA",producerName:(null==ev?void 0:ev["Producer/Director"])||"NA",isFree:(null==el?void 0:null===(c=el.info)||void 0===c?void 0:null===(s=c.attributes)||void 0===s?void 0:s.payType)==="F"};return"share"==e.button_label&&(u.shareSource="Home"),u},checkDeeplink=e=>{var i,d;(0,h.qP)("content_clicked",prepareClickEventObj({button_label:"Watch Now"})),(null==e?void 0:e.targetPath)==="deeplink"?getDeeplinkInfo(null==e?void 0:null===(i=e.target)||void 0===i?void 0:i.path):e.targetPath&&(analyticsData(),(null==e?void 0:null===(d=e.targetPath)||void 0===d?void 0:d.includes("play"))&&(0,h.qP)("play_button_clicked",analyticsData({event:"play"})),eh.push(e.targetPath))},prepareMarkers=e=>{var i,d,r,a;(null==e?void 0:null===(d=e.display)||void 0===d?void 0:null===(i=d.markers)||void 0===i?void 0:i.length)>
10&&e.display.markers.forEach(i=>{switch(i.markerType){case"rating":e.display.ratingMarker=i;break;case"tag":e.display.tagMarker=i,e.display.bgTagColor=getColorCode(i.bgColor),e.display.textTagColor=getColorCode(i.textColor);break;case"expiryInfo":e.display.expiryInfo=i,e.display.expiryInfoDisplay=i.value.split("@");break;case"badge":e.display.badgeMarker=i,e.display.bgColor=getColorCode(i.bgColor),e.display.textColor=getColorCode(i.textColor);break;case"special":"live_dot"==i.value&&(e.display.liveMarker=i),"now_playing"==i.value&&(e.display.nowPlayingMarker=i),"playable"==i.value&&(e.display.playableMarker=i);break;case"duration":e.display.durationMarker=i;break;case"seek":e.display.seekMarker=i,e.display.seekedValue=getSeekValue(i.value),e.display.textSeekColor=getColorCode(i.textColor),e.display.bgSeekColor=getColorCode(i.bgColor);break;case"startTime":e.display.startTime=i.value;break;case"exipiryDays":e.display.expiryMarker=i;break;case"available_soon":e.display.availableSoon=i;break;case"leftOverTime":e.display.leftOverTimeMarker=i,e.display.textLeftColor=getColorCode(i.textColor),e.display.bgLeftColor=getColorCode(i.bgColor);break;case"showtitle":"false"===i.value&&(e.display.showtitle=i),e.display.textColor=getColorCode(i.textColor),e.display.bgColor=getColorCode(i.bgColor)}}),(null==e?void 0:null===(a=e.hover)||void 0===a?void 0:null===(r=a.elements)||void 0===r?void 0:r.length)>0&&e.hover.elements.forEach(i=>{switch(i.key){case"name":e.name=i.value;break;case"description":e.description=i.value;break;case"subtitle":e.subtitle=i.value;break;case"subtitle1":e.subtitle1=i.value;break;case"showPlayButton":e.showPlayButton=i.value;break;case"targetPath":e.targetPath=i.value;break;case"showFavouriteButton":e.showFavouriteButton=i.value;break;case"isFavourite":e.isFavourite=i.value;break;case"showButton":e.showButton=i.value;break;case"ButtonText":e.ButtonText=i.value;break;case"showWatchButtonText":e.showWatchButtonText=i.value;break;case"favOnHoverText":e.favOnHoverText=i.value;break;case"shareOnHoverText":e.shareOnHoverText=i.value;break;case"favouriteTargetPath":e.favouriteTargetPath=i.value;break;case"showShareButton":e.showShareButton=i.value;break;case"showWatchButton":e.showWatchButton=i.value;break;case"previewUrl":e.previewUrl=i.value}}),es({...e})},getColorCode=e=>{if(!e)return null;try{return"#"+e.substring()}catch(e){}},getSeekValue=e=>{try{if("0"!=e&&"1"!=e){let i=(100*parseFloat(e)).toString().substring(0,2);return 0==parseInt(i)?1:parseInt(i)}if("1"!=e)return 100;return 0}catch(e){}},navigateToSignIn=()=>{J({type:u.Nw.t3,payload:eh.asPath}),handleClose(),eh.push("/signin")},handleClose=()=>{eo({})},shareDataSet=e=>{let i={type:"share",isActive:!0,targetpath:(null==e?void 0:e.targetPath)==="plans/list"||(null==e?void 0:e.targetPath)==="deeplink"?e.target.path:e.targetPath,img:v.e.appLogo,closeTarget:handleClose,anal
1yticsObj:{...analyticsData()}};(0,h.qP)("share",prepareClickEventObj({button_label:"share"})),(0,h.Oj)("share",branchData()),eo(i)},popupDataSet=()=>{var e,i,d;eo({type:"signin",isActive:!0,title1:(null===(e=G.kC[U])||void 0===e?void 0:e.Signin_To_Use)||"Please sign in to use this and more such features",yesButton1:(null===(i=G.kC[U])||void 0===i?void 0:i.Sign_In)||"Sign In",yesButtonType:"primary",yesButtonTarget1:navigateToSignIn,noButton1:(null===(d=G.kC[U])||void 0===d?void 0:d.Cancel)||"Cancel",noButtontarget1:onPopupCancel,noButtonType:"secondary",close:!0,closeTarget:handleClose})},getIsFavValue=e=>{var i,d;let r=(null==e?void 0:e.isFavourite)==="true";return(null==em?void 0:null===(i=em.added)||void 0===i?void 0:i[null==e?void 0:e.targetPath])&&(r=!0),(null==em?void 0:null===(d=em.removed)||void 0===d?void 0:d[null==e?void 0:e.targetPath])&&(r=!1),r},addTofav=e=>{let i=getIsFavValue(e),d="true"===i.toString()?2:1,r=e.favouriteTargetPath;if(q)try{let a="https://lukentv-api.revlet.net"+"/service/api/auth/user/favourite/item?path=".concat(r,"&action=").concat(d);ee(a),eG(e.targetPath,"true"===i.toString()?"remove":"add"),es({...el,isFavourite:"true"===i.toString()?"false":"true"}),(0,h.qP)("click_event",prepareClickEventObj({button_label:1==d?"watchlist_added":"watchlist_removed"}))}catch(e){console.error("Error:",e)}else popupDataSet()},onPopupCancel=()=>{handleClose()},isLeftCard=e=>document.querySelector("div[data-test-slide='slide-".concat(e[0],"-").concat(e[1],"']")).classList.contains("swiper-slide-active"),isRightCard=e=>document.querySelector("div[data-test-slide='slide-".concat(e[0],"-").concat(Math.abs(j-1-e[1]),"']")).classList.contains("swiper-slide-active"),previewShow=()=>{clearTimeout(eP.current),J({type:u.Nw.x4,payload:ec}),e_(!0),eP.current=setTimeout(()=>{if(eP.current=void 0,document.getElementById(ec)){if(document.querySelector("div.".concat(o().right_edge_card))&&document.querySelector("div.".concat(o().right_edge_card)).classList.remove(o().right_edge_card),document.querySelector("div.".concat(o().left_edge_card))&&document.querySelector("div.".concat(o().left_edge_card)).classList.remove(o().left_edge_card),document.getElementById(ec).classList.add("".concat(o().preview_hoverd)),!V)return;let e=document.querySelector("div[data-test-slide='slide-".concat(V[0],"-").concat(V[1],"'] .").concat(o().overlaypreview));e&&(isLeftCard(V)?e.classList.add(o().left_edge_card):isRightCard(V)&&e.classList.add(o().right_edge_card))}},500)},previewHide=()=>{var e;e_(!1),(null===(e=document.getElementById(ec))||void 0===e?void 0:e.classList.contains(o().preview_hoverd))&&document.getElementById(ec).classList.remove("".concat(o().preview_hoverd)),eP.current&&clearTimeout(eP.current)},loaderProp=e=>{let{src:i}=e;return i},branchData=()=>{var e,i,d,r,a,o,t,n,s,c,u,v,p,g,_,P,w,h,G,m,y,f,b,k,R,x;let V=(null==S?void 0:null===(e=S.info)||void 0===e?void 0:e.pageType)=="list",C={trayName:(null==A?void 0:null===(i=A.sectionInfo)||void 0===i?void 0:i.name)?null==A?void 0:null===(d=A.sectionInfo)||void 0===d?void 0:d.name:"-1",trayType:"courosel",containerName:(null==A?void 0:null===(r=A.sectionInfo)||void 0===r?void 0:r.name)?null==A?void 0:null===(a=A.sectionInfo)||void 0===a?void 0:a.name:"NA",contentType:null==el?void 0:null===(t=el.target)||void 0===t?void 0:null===(o=t.pageAttributes)||void 0===o?void 0:o.mediaContentType,contentTitle:null==el?void 0:null===(n=el.display)||void 0===n?void 0:n.title,contentGenre:null==el?void 0:null===(c=el.target)||void 0===c?void 0:null===(s=c.pageAttributes)||void 0===s?void 0:s.genre,directorName:"NA",isFree:(null==el?void 0:null===(v=el.info)||void 0===v?void 0:null===(u=v.attributes)||void 0===u?void 0:u.payType)==="F",isFreePreview:(null==el?void 0:null===(g=el.info)||void 0===g?void 0:null===(p=g.attributes)||void 0===p?void 0:p.payType)==="F",tabName:(0,l.Le)((0,l.mn)(eh.asPath.replace("/","")),null==S?void 0:S.info,V),watchedTime:"NA"};return(null==el?void 0:null===(P=el.target)||void 0===P?void 0:null===(_=P.pageAttributes)||void 0===_?void 0:_.tvShowName)&&(C.series_name=null==el?void 0:null===(f=el.target)||void 0===f?void 0:null===(y=f.pageAttributes)||void 0===y?void 0:y.tvShowName),(null==el?void 0:null===(h=el.target)||void 0===h?void 0:null===(w=h.pageAttributes)||void 0===w?void 0:w.seasonSeqNo)&&(C.season_number=null==el?void 0:null===(k=el.target)||void 0===k?void 0:null===(b=k.pageAttributes)||void 0===b?void 0:b.seasonSeqNo),(null==el?void 0:null===(m=el.target)||void 0===m?void 0:null===(G=m.pageAttributes)||void 0===G?void 0:G.episodeSeqNo)&&(C.episode_number=null==el?void 0:null===(x=el.target)||void 0===x?void 0:null===(R=x.pageAttributes)||void 0===R?void 0:R.episodeSeqNo),C},analyticsData=e=>
1{var i,d,r,a,o,t,n,s,c,u,v,p,g,_,P,w,h,G,m,y,f,b,k,R,x,V,C,N;let T=(null==S?void 0:null===(i=S.info)||void 0===i?void 0:i.pageType)=="list";(0,l.Le)((0,l.mn)(eh.asPath.replace("/","")),null==S?void 0:S.info,T);let I={contentId:null==el?void 0:null===(r=el.target)||void 0===r?void 0:null===(d=r.pageAttributes)||void 0===d?void 0:d.contentID,railTrackName:(null==A?void 0:null===(a=A.sectionInfo)||void 0===a?void 0:a.name)?null==A?void 0:null===(o=A.sectionInfo)||void 0===o?void 0:o.name:"-1",contentTitle:null==el?void 0:null===(t=el.display)||void 0===t?void 0:t.title,contentType:(null==el?void 0:null===(s=el.target)||void 0===s?void 0:null===(n=s.pageAttributes)||void 0===n?void 0:n.mediaContentType)||"NA",contentGenre:(null==el?void 0:null===(u=el.target)||void 0===u?void 0:null===(c=u.pageAttributes)||void 0===c?void 0:c.genre)||"NA",contentDuration:(null==el?void 0:null===(p=el.target)||void 0===p?void 0:null===(v=p.pageAttributes)||void 0===v?void 0:v.contentDuration)||"NA",featuring:ev.Crew||"NA",isFree:(null==el?void 0:null===(_=el.target)||void 0===_?void 0:null===(g=_.pageAttributes)||void 0===g?void 0:g.payType)=="f"?"true":"false",studioName:(null==el?void 0:null===(w=el.target)||void 0===w?void 0:null===(P=w.pageAttributes)||void 0===P?void 0:P.networkName)||"NA",producerName:(null==ev?void 0:ev["Producer/Director"])||"NA",topNavigationName:localStorage.getItem("tab")||"Home"};return(null==e?void 0:e.event)==="play"&&(I.CCenabled="NA",I.playbackSpeed="NA",I.bufferTime="NA",I.watchedTime="NA"),(null==el?void 0:null===(G=el.target)||void 0===G?void 0:null===(h=G.pageAttributes)||void 0===h?void 0:h.tvShowName)&&(I.series_name=null==el?void 0:null===(R=el.target)||void 0===R?void 0:null===(k=R.pageAttributes)||void 0===k?void 0:k.tvShowName),(null==el?void 0:null===(y=el.target)||void 0===y?void 0:null===(m=y.pageAttributes)||void 0===m?void 0:m.seasonSeqNo)&&(I.season_number=null==el?void 0:null===(V=el.target)||void 0===V?void 0:null===(x=V.pageAttributes)||void 0===x?void 0:x.seasonSeqNo),(null==el?void 0:null===(b=el.target)||void 0===b?void 0:null===(f=b.pageAttributes)||void 0===f?void 0:f.episodeSeqNo)&&(I.episode_number=null==el?void 0:null===(N=el.target)||void 0===N?void 0:null===(C=N.pageAttributes)||void 0===C?void 0:C.episodeSeqNo),I},eventAnalyticsData=e=>{var i,d,r,a,o,t,n,l,s,c,u,v;(null==A?void 0:null===(i=A.sectionInfo)||void 0===i?void 0:i.name)!="Season 1"&&(0,y.LS)("contentSectionName",null==A?void 0:null===(v=A.sectionInfo)||void 0===v?void 0:v.name);let p="/favorites"==eh.asPath?"Watchlist":"";return{rail_name:(null==A?void 0:null===(d=A.sectionInfo)||void 0===d?void 0:d.name)?null==A?void 0:null===(r=A.sectionInfo)||void 0===r?void 0:r.name:"NA",content_name:null==el?void 0:null===(a=el.display)||void 0===a?void 0:a.title,content_type:(null==el?void 0:null===(t=el.target)||void 0===t?void 0:null===(o=t.pageAttributes)||void 0===o?void 0:o.mediaContentType)||"NA",content_genre:(null==el?void 0:null===(s=el.target)||void 0===s?void 0:null===(l=s.pageAttributes)||void 0===l?void 0:null===(n=l.genre)||void 0===n?void 0:n.replace(/[â¢]/g,","))||"NA",content_partner_name:(null==el?void 0:null===(u=el.target)||void 0===u?void 0:null===(c=u.pageAttributes)||void 0===c?void 0:c.networkName)||"NA",tab:p||(0,y.rV)("tab")||"Home",action:"NA"}},eventSearchAnalyticsData=e=>{var i,d,r,a,o,t,n,l;return{rail_name:(null==A?void 0:null===(i=A.sectionInfo)||void 0===i?void 0:i.name)?null==A?void 0:null===(d=A.sectionInfo)||void 0===d?void 0:d.name:"NA",content_name:null==el?void 0:null===(r=el.display)||void 0===r?void 0:r.title,content_type:(null==el?void 0:null===(o=el.target)||void 0===o?void 0:null===(a=o.pageAttributes)||void 0===a?void 0:a.mediaContentType)||"NA",search_category:e,content_partner_name:(null==el?void 0:null===(n=el.target)||void 0===n?void 0:null===(t=n.pageAttributes)||void 0===t?void 0:t.networkName)||"NA",search_query:(null===(l=eh.query)||void 0===l?void 0:l.search)||"NA"}},ey=getIsFavValue(el);return(0,r.jsxs)(r.Fragment,{children:[el&&(0,r.jsxs)("div",{className:"".concat(o().cardsHome," cardsHome"),children:["expands_preview_poster"!==N&&(0,r.jsx)(DynamicCardComponent,{eleIndex:V,addTofav:addTofav,BadgeText:BadgeText,cardData:el,cardType:N,checkDeeplink:checkDeeplink,CHeight:I,cWidth:T,loaderProp:loaderProp,previewShow:previewShow,previewHide:previewHide,shareDataSet:shareDataSet,timer:eP,openProgInfoPopUp:openProgInfoPopUp,removeCard:E,sectionInfo:B,item:C,favEditButton:M}),"expands_preview_poster"===N&&(0,r.jsx)("div",{className:"".concat(o().expands_preview_poster),onMouseEnter:previewShow,onMouseLeave:()=>{eP.current&&previewHide()},children:(0,r.jsx)("div",{className:"".concat(o().card_inner),style:{height:I+z,width:T},children:(0,r.jsx)("div",{style:{height:I+z,width:T},children:(0,r.jsxs)("div",{className:"".concat(o().card_header),onClick:()=>
1openProgInfoPopUp(el),children:[(0,r.jsx)(P(),{className:" ".concat(o().main_img),alt:null==el?void 0:el.display.title,loader:loaderProp,src:getImagePath(null==el?void 0:el.display.imageUrl),width:T||0,height:I||0,onError:e=>{let{currentTarget:i}=e;i.onerror=null,i.srcset="".concat(w.Z.defaultMoviePoster)}}),!!(null==el?void 0:null===(i=el.display)||void 0===i?void 0:i.badgeMarker)&&(0,r.jsx)(BadgeText,{badgeMarker:el.display.badgeMarker}),(0,r.jsx)("div",{className:" ".concat(o().text_scroll),ref:Y,children:(0,r.jsxs)("div",{className:" ".concat(o().top_section),children:[(0,r.jsx)("h3",{children:null==el?void 0:el.display.title}),(0,r.jsx)("h6",{children:null==el?void 0:el.display.subtitle1})]})})]})})})})]}),"expands_preview_poster"===N&&(0,r.jsx)("div",{className:"".concat(o().overlaypreview),id:ec,onMouseLeave:previewHide,ref:ew,children:(0,r.jsx)("div",{className:"".concat(o().overlaypreview_info),children:(0,r.jsxs)("div",{className:"".concat(o().overlaypreview_inner),children:[(0,r.jsxs)("div",{className:"".concat(o().expand_header),children:[eg&&(0,r.jsx)(x,{preview_url:null==el?void 0:el.previewUrl,posterImg:getImagePath(null==el?void 0:el.display.imageUrl)}),!!(null==el?void 0:null===(d=el.display)||void 0===d?void 0:d.badgeMarker)&&(0,r.jsx)(BadgeText,{badgeMarker:el.display.badgeMarker})]}),(0,r.jsxs)("div",{className:"".concat(o().expand_info),children:[(0,r.jsxs)("div",{className:" ".concat(o().actions),children:[(0,r.jsx)("button",{onClick:()=>{checkDeeplink(el)},className:" ".concat(o().defaultBtn," primary ").concat(el.showButton==="".concat(o().playBtn)?"hello":""),children:(null==el?void 0:null===(a=el.ButtonText)||void 0===a?void 0:a.includes(" "))?null==el?void 0:null===(p=el.ButtonText)||void 0===p?void 0:p.split(" ")[0]:null==el?void 0:el.ButtonText}),(0,r.jsxs)("div",{className:"".concat(o().share_like),children:[!!el.showFavouriteButton&&(0,r.jsxs)("button",{className:" ".concat(o().like),onClick:()=>addTofav(el),children:[ey&&(0,r.jsx)("img",{src:"".concat(w.Z.card.favoriteActive),alt:"favorite"}),!ey&&(0,r.jsx)("img",{src:"".concat(w.Z.card.favorite),alt:"favorite"}),(0,r.jsx)("span",{children:null==el?void 0:el.favOnHoverText})]}),!!el.showShareButton&&(0,r.jsxs)("button",{className:" ".concat(o().share),onClick:()=>shareDataSet(el),children:[(0,r.jsx)("img",{fill:!0,src:"".concat(w.Z.card.share),alt:"share"}),(0,r.jsx)("span",{children:null==el?void 0:el.shareOnHoverText})]})]})]}),(0,r.jsx)("h3",{children:null==el?void 0:el.display.title}),(0,r.jsx)("div",{className:"".concat(o().expand_category),children:(null==el?void 0:null===(g=el.display.subtitle1)||void 0===g?void 0:g.includes("|"))?null==el?void 0:null===(_=el.display.subtitle1)||void 0===_?void 0:_.split("|").map(e=>(0,r.jsx)("span",{children:e})):(0,r.jsx)("span",{children:null==el?void 0:el.display.subtitle1})}),(0,r.jsx)("p",{className:" ".concat(o().sm_title),children:null==el?void 0:el.subtitle2})]})]})})}),ed&&(0,r.jsx)(b,{open:ed,onClose:()=>er(!1),templateData:et}),ea.isActive&&"share"!=ea.type&&(0,r.jsx)(R,{popupData:ea}),ea.isActive&&"share"===ea.type&&(0,r.jsx)(k,{popupData:ea})]})};let DynamicCardComponent=e=>{let i={circle_poster:A,sheet_poster:V,top10_landscape_poster:O,overlayIcon_poster:S,network_poster:C,icon_poster:N,edge_poster:I,square_poster:T,large_poster:D,promo_poster:j,content_poster:B,roller_poster:E,shorts_roller_poster:H,top10_portrait_poster:E,expands_poster:M,expand_roller_poster:H,expand_action_poster:L,overlay_poster:O,expand_poster:O,live_poster:W,default:V,event_content_poster:q,sheet_poster_list:F},d=(null==i?void 0:i[null==e?void 0:e.cardType])||(null==i?void 0:i.default);return(0,r.jsx)(d,{...e})}},32381:function(e,i,d){"use strict";d.d(i,{W:function(){return l}});var r=d(85893),a=d(4975),o=d(67294),t=d(81123),n=d.n(t);let l=(0,o.createContext)(null);i.Z=function(e){let i=(0,o.useRef)(null),d=(0,o.useRef)(null),{dispatch:t}=(0,a.oR)(),{children:s}=e;function destroypreviewplayer(){let e=null==i?void 0:i.current;async function destroy(){e&&await e.destroy()}i.current=void 0,destroy()}function attachMedia(e,r,o){void 0!==i.current&&destroypreviewplayer(),i.current=ne
1w(n()).Player,d.current=new(n()).util.EventManager,r.includes(".m3u8")&&(i.current.getNetworkingEngine().registerRequestFilter(function(e,i){e===n().net.NetworkingEngine.RequestType.SEGMENT&&(i.method="GET")}),i.current.configure({streaming:{lowLatencyMode:!0,inaccurateManifestTolerance:0,rebufferingGoal:.01,segmentPrefetchLimit:2}})),async function(){try{d.current.listen(i.current,"onstatechange",e=>{o(e)}),t({type:a.Nw.lX,payload:!0}),await i.current.attach(e,!0),await i.current.load(r)}catch(e){}}()}function detachMedia(){i.current&&(!async function(){await d.current.removeAll()}(),t({type:a.Nw.lX,payload:!1}))}return(0,o.useEffect)(()=>(n().polyfill.installAll(),n().Player.isBrowserSupported(),()=>{destroypreviewplayer()}),[]),(0,r.jsx)(l.Provider,{value:(0,o.useMemo)(()=>({attachMedia,detachMedia}),[]),children:s})}},70717:function(e,i,d){"use strict";d.d(i,{Z:function(){return sections_component}});var r=d(85893),a=d(4975),o=d(67294),t=d(33529),n=d.n(t),l=d(2261),s=d(55029),c=d(7026),u=d(49855),v=d(94313),p=d(7342),g=d(83467),_=d(30327),curosal_component=function(e){var i,d,a;let{curosalData:t,PageData:P,rowIndex:w,removeSection:h}=e,G=(0,o.useRef)(null),m=(0,o.useRef)(null),[y,f]=(0,o.useState)(null),[b,k]=(0,o.useState)("sheet_poster"),[R,x]=(0,o.useState)(null),[V,S]=(0,o.useState)(null),[C,N]=(0,o.useState)(0),T=(0,o.useRef)(),[I,D]=(0,o.useState)(null),{mutate:j,data:A}=(0,_.Z)(),{mutate:B,data:E}=(0,u.Z)(),M=(0,o.useRef)(!1),H=["top-10","top-10-landscape","top-10-movies","top10-haryanvi","demo-top10","demo-top10-landscape","trending-on-heartland-series"];(0,o.useEffect)(()=>{var e,i,d,r,a,o,n,l,s,c,u;k((0,g.fe)().includes(null==t?void 0:null===(d=t.sectionData)||void 0===d?void 0:null===(i=d.data)||void 0===i?void 0:null===(e=i[0])||void 0===e?void 0:e.cardType)?null==t?void 0:null===(o=t.sectionData)||void 0===o?void 0:null===(a=o.data)||void 0===a?void 0:null===(r=a[0])||void 0===r?void 0:r.cardType:"sheet_poster");let p=(0,g.Wh)(null==t?void 0:null===(s=t.sectionData)||void 0===s?void 0:null===(l=s.data)||void 0===l?void 0:null===(n=l[0])||void 0===n?void 0:n.cardType,null==t?void 0:null===(u=t.sectionData)||void 0===u?void 0:null===(c=u.data)||void 0===c?void 0:c[0]);S(p),f({...t});let _=(0,v.nM)(set_hover_class_data,500),P=new ResizeObserver(()=>{_(p)});return T.current&&P.observe(T.current),()=>{P.disconnect()}},[t]),(0,o.useEffect)(()=>{var e;(null==A?void 0:null===(e=A.data)||void 0===e?void 0:e.status)&&f(e=>{let i=e.sectionData.data.filter((e,i)=>i!==I);return{...e,sectionData:{...e.sectionData,data:i}}})},[A]),(0,o.useEffect)(()=>{var e,i;(null==y?void 0:null===(e=y.sectionData)||void 0===e?void 0:e.data.length)==0&&h(null==y?void 0:null===(i=y.sectionInfo)||void 0===i?void 0:i.code)},[null==y?void 0:null===(i=y.sectionData)||void 0===i?void 0:i.data]);let calculateHeight=e=>{let i=e*(0,g.TP)(b);y.width=e,y.height=i,f({...y})},eleHandle=e=>{e.params.navigation.prevEl=G.current,e.params.navigation.nextEl=m.current,e.navigation.init(),e.navigation.update();let i=e.activeIndex,d=e.slides[i];calculateHeight(null==d?void 0:d.clientWidth)};(0,o.useEffect)(()=>{var e,i;if(null==E?void 0:null===(i=E.data)||void 0===i?void 0:null===(e=i.response)||void 0===e?void 0:e[0]){let e=E.data.response[0];f(i=>{var d;return{...i,sectionData:{...e,data:[...(null==i?void 0:null===(d=i.sectionData)||void 0===d?void 0:d.data)||[],...(null==e?void 0:e.data)||[]]}}}),M.current=!1}},[E]),(0,o.useEffect)(()=>{var e;R&&!R.el.style.paddingLeft&&H.includes(null==t?void 0:null===(e=t.sectionInfo)||void 0===e?void 0:e.code)&&(R.el.style.paddingLeft="50px",R.update())},[R,t]);let set_hover_class_data=e=>{var i;let d;if(!T.current)return;let r=Object.keys(e).map(e=>Number(e));r.sort((e,i)=>i-e);for(let e=0;e<r.length;e++)if(r[e]<=T.current.clientWidth){d=r[e];break}(null===(i=e[d])||void 0===i?void 0:i.slidesPerView)!==void 0&&N(e[d].slidesPerView)},removedCard=(e,i,d)=>{e.preventDefault(),D(d);let r={viewType:"continue_watching",pagePath:i.target.path};j({url:"https://lukentv-api.revlet.net/service/api/v1/delete/view/archive",apiData:r})}
1,loadMoreData=()=>{var e,i,d;if(!(null==y?void 0:null===(e=y.sectionData)||void 0===e?void 0:e.hasMoreData)||M.current)return;M.current=!0;let r={path:"home",code:null==y?void 0:null===(i=y.sectionInfo)||void 0===i?void 0:i.code,offset:null==y?void 0:null===(d=y.sectionData)||void 0===d?void 0:d.lastIndex},a="".concat("https://lukentv-api.revlet.net","/service/api/v1/section/data?").concat((0,v.Yo)(r));B(a)},L="";return H.includes(null==t?void 0:null===(d=t.sectionInfo)||void 0===d?void 0:d.code)&&(L="trending-on-heartland-series"),(0,r.jsxs)("div",{className:"".concat(n().swiperClass," swiperClass"),ref:T,children:[y&&(0,r.jsxs)(l.tq,{onSwiper:x,spaceBetween:window.innerWidth<767?8:14,speed:500,breakpoints:V,autoplay:!1,freeMode:window.innerWidth<767,modules:[s.W_,s.Rv],scrollbar:{el:".swiper-scrollbar",draggable:window.innerWidth<767},mousewheel:window.innerWidth<767,className:"".concat(n().cardSwiper),navigation:{disabledClass:"".concat(n().disable_arrow),prevEl:G.current,nextEl:m.current},onInit:e=>eleHandle(e),onUpdate:e=>eleHandle(e),onReachEnd:()=>{var e;(null==y?void 0:null===(e=y.sectionData)||void 0===e?void 0:e.hasMoreData)&&loadMoreData()},children:[null===(a=y.sectionData)||void 0===a?void 0:a.data.map((e,i)=>{var d;return(0,r.jsx)(l.o5,{className:"".concat(n().CustomSwiperSlide," ").concat(L," "),"data-test-slide":"slide-".concat(w,"-").concat(i),children:(0,r.jsx)(p.Z,{pagedata:P,sectionInfo:{sectionData:t,index:i},item:e,cardType:b,cWidth:y.width,CHeight:y.height,eleIndex:[w,i],noofCards:null===(d=y.sectionData)||void 0===d?void 0:d.data.length,nofcardsperSlide:C,sectionData:t,removeCard:removedCard},e.target.path)},"row-".concat(w,"-item-").concat(i,"-").concat(e.target.path))}),(0,r.jsx)("div",{className:"".concat(n().prev),ref:G}),(0,r.jsx)("div",{className:"".concat(n().next),ref:m})]}),!y&&(0,r.jsx)("div",{children:(0,r.jsx)(c.Z,{custom:!0,type:["section"]})})]})},P=d(41664),w=d.n(P);d(79785);var h=d(11163),G=d(58014),m=d(32381),y=d(62817);d(29417);var f=d(6437),b=d(38606),k=d(63102);d(81123);var R=d(43825),x=d(73484);function AutplayBannerPlayer(e){let{data:i,poster:d,streams:a}=e;return(0,o.useEffect)(()=>{var e,r,a,o,t,n,l,s;let c;(null==i?void 0:i.streamType)=="fairplay"?(i.keys.licenseKey=null==i?void 0:null===(r=i.keys)||void 0===r?void 0:null===(e=r.licenseKey)||void 0===e?void 0:e.replace("http:","https:"),c=[{file:null==i?void 0:i.url,image:(0,x.ZY)(bgImg),drm:{fairplay:{certificateUrl:(null==i?void 0:null===(a=i.keys)||void 0===a?void 0:a.certificate)?null==i?void 0:null===(o=i.keys)||void 0===o?void 0:o.certificate:"player/fairplay.cer",processSpcUrl:null==i?void 0:null===(t=i.keys)||void 0===t?void 0:t.licenseKey,licenseRequestHeaders:[{name:"Content-type",value:"application/octet-stream"}]}}}]):(null==i?void 0:i.streamType)=="widevine"?(i.keys.licenseKey=null==i?void 0:null===(l=i.keys)||void 0===l?void 0:null===(n=l.licenseKey)||void 0===n?void 0:n.replace("http:","https:"),c=[{file:null==i?void 0:i.url,drm:{widevine:{url:null==i?void 0:null===(s=i.keys)||void 0===s?void 0:s.licenseKey}}}]):c=(null==i?void 0:i.params)!==void 0&&Object.keys(null==i?void 0:i.params).length>0?[{file:null==i?void 0:i.url,onXhrOpen:e=>{var d,r;e.setRequestHeader("sessionid",null==i?void 0:null===(d=i.params)||void 0===d?void 0:d.sessionid),e.setRequestHeader("token",null==i?void 0:null===(r=i.params)||void 0===r?void 0:r.token)}}]:[{file:null==i?void 0:i.url,aestoken:"fa0dc669-e1bc-484e-9ddb-562d25400ec2"}];let u=window.jwplayer("player").setup({image:{poster:d},title:"Play",width:"100%",height:"100%",skin:"glow",pipIcon:"enabled",default:!1,mute:!0,volume:90,cast:!1,autoPause:{viewability:!0},type:"channel",captions:{fontSize:10,backgroundOpacity:0},playlist:[{sources:c}]});return["ready","play","pause"].forEach(e=>u.on(e,()=>{$(".jw-icon-settings").hide(),$(".jw-display-controls .jw-icon-settings").css("visibility","hidden")})),()=>{try{var e;let i=window.jwplayer("player");null==i||null===(e=i.remove)||void 0===e||e.call(i)}catch(e){console.error("JW cleanup failed in auto play Live banner",e)}}},[i]),(0,r.jsx)("div",{className:"autoplay_banner",children:(0,r.jsx)("div",{id:"player"})})}function AutoplayBanner(e){var i;let{curosalData:d,PageData:t,rowIndex:n}=e,{dispatch:l}=(0,a.oR)(),s=(0,o.useRef)(),c=(0,h.useRouter)(),[u,v]=(0,o.useState)(!1),[p,g]=(0,o.useState)(null),_=t.data.filter(e=>e.contentCode==d.section)[0],getVideoStreamDetails=async()=>{var e=await (0,R.SA)("https://lukentv-api.revlet.net/service/api/v1/page/stream?path="+d.target.path);!0==e.data.status&&g(e.data.response)},openProgInfoPopUp=(e,i)=>
1{let d=null==i?void 0:i.target,r=null==d?void 0:d.closest(".jw-controlbar, .jw-button-container, .jw-icon, .jw-display-icon-container");if(!r){var a,o,t,n;sessionStorage.setItem("isInternalNaviagtion",!0),(null==e?void 0:null===(o=e.target)||void 0===o?void 0:null===(a=o.pageAttributes)||void 0===a?void 0:a.isDeeplinking)=="true"?console.log("deep link support not available"):(null==e?void 0:null===(t=e.target)||void 0===t?void 0:t.path)&&c.push(null==e?void 0:null===(n=e.target)||void 0===n?void 0:n.path)}};return(0,o.useEffect)(()=>{getVideoStreamDetails()},[]),(0,r.jsx)("div",{ref:s,onClick:e=>openProgInfoPopUp(d,e),children:null!==p&&"function"==typeof(null===(i=window)||void 0===i?void 0:i.jwplayer)?(0,r.jsx)(AutplayBannerPlayer,{data:p.streams[0],pagedata:_,streams:p,poster:(0,x.ZY)(d.display.imageUrl)}):(0,r.jsx)("div",{className:"autoplay_banner",children:(0,r.jsx)("img",{width:"100%",src:(0,x.ZY)(d.display.imageUrl),alt:"autoplay-banner"})})})}var sections_component=e=>{var i,d,t,l,s,p,_;let{state:{PageData:P,SystemConfig:R,navigateFrom:x,localLang:V},dispatch:S}=(0,a.oR)(),{mutate:C,data:N,isLoading:T,isPaginationError:I,Paginationerror:D,Paginationrefetch:j}=(0,u.Z)(),A=(0,h.useRouter)(),[B,E]=(0,o.useState)([]),[M,H]=(0,o.useState)([]),[L,O]=(0,o.useState)([]),[q,F]=(0,o.useState)(""),[W,Z]=(0,o.useState)(!1),[U,J]=(0,o.useState)([]),[Y,z]=(0,o.useState)([]),K=A.asPath.includes("retrotv"),X=(0,o.useRef)({started:!1}),Q=(0,G.rV)("isUtuser");(0,o.useEffect)(()=>{if(Object.keys(P).length){var e;(null==P?void 0:null===(e=P.banners)||void 0===e?void 0:e.length)>0&&Z(!0);let i=[];P.data.map(e=>{var d,r,a;(null==e?void 0:null===(a=e.section)||void 0===a?void 0:null===(r=a.sectionInfo)||void 0===r?void 0:null===(d=r.params)||void 0===d?void 0:d.hasDynamicName)=="true"&&(i=[...i,null==e?void 0:e.contentCode])}),z(i),prepareSections(P.data)}(null==A?void 0:A.asPath)==="/favorites"&&window.innerWidth<767&&F(50)},[P]);let ee=window.innerWidth;(0,o.useEffect)(()=>{var e,i,d,r,a;if(N&&(null==N?void 0:null===(e=N.data)||void 0===e?void 0:e.response)){for(let e=0;e<(null==N?void 0:null===(i=N.data)||void 0===i?void 0:i.response.length);e++)(null==N?void 0:null===(d=N.data)||void 0===d?void 0:d.response[e].paneType)==="section"?P.data&&(P.data=null==P?void 0:null===(r=P.data)||void 0===r?void 0:r.map(i=>{var d,r;return i.contentCode===(null==N?void 0:null===(d=N.data)||void 0===d?void 0:d.response[e].contentCode)?null==N?void 0:null===(r=N.data)||void 0===r?void 0:r.response[e]:i})):M[e].section.sectionData=null==N?void 0:null===(a=N.data)||void 0===a?void 0:a.response[e];prepareSections(null==P?void 0:P.data),setTimeout(()=>{X.current.started=!1},200)}},[N]);let prepareSections=e=>{var i,d,r,a;
1if((null==P?void 0:null===(i=P.info)||void 0===i?void 0:i.pageType)==="player"){let i=void 0==P.info.attributes.showOnPlayer||0==P.info.attributes.showOnPlayer.length?[]:P.info.attributes.showOnPlayer.split();E([...e.filter(e=>"section"===(e=checkAllView(e)).paneType&&(e.section.sectionData.data.length&&i.includes(e.section.sectionInfo.code)||!!e.section.sectionData.params&&"true"==e.section.sectionData.params.showOnPlayer))]),H([])}else if((null==P?void 0:null===(d=P.info)||void 0===d?void 0:d.pageType)==="details"&&(null==P?void 0:null===(r=P.tabsInfo)||void 0===r?void 0:r.showTabs)===!0){let e;null==P||null===(a=P.data)||void 0===a||a.map(i=>{"recommendations"===i.contentCode&&(e=i)}),E([e])}else{let i=null==e?void 0:e.filter(e=>{var i,d,r,a,o,t,n,l,s,c,u,v;if((null==(e=checkAllView(e))?void 0:null===(a=e.section)||void 0===a?void 0:null===(r=a.sectionData)||void 0===r?void 0:null===(d=r.data)||void 0===d?void 0:null===(i=d[0])||void 0===i?void 0:i.cardType)!="banner_poster")return(null==A?void 0:A.asPath.includes("search"))?"section"===e.paneType&&(null==e?void 0:null===(n=e.section)||void 0===n?void 0:null===(t=n.sectionData)||void 0===t?void 0:null===(o=t.data)||void 0===o?void 0:o.length):"section"===e.paneType&&(null==e?void 0:null===(c=e.section)||void 0===c?void 0:null===(s=c.sectionData)||void 0===s?void 0:null===(l=s.data)||void 0===l?void 0:l.length)&&(null==e?void 0:null===(v=e.section)||void 0===v?void 0:null===(u=v.sectionInfo)||void 0===u?void 0:u.dataType)!="actor";Z(!0)}),d=null==e?void 0:e.filter(e=>{var i,d,r,a,o;return"section"===e.paneType&&(null==e?void 0:null===(r=e.section)||void 0===r?void 0:null===(d=r.sectionData)||void 0===d?void 0:null===(i=d.data)||void 0===i?void 0:i.length)==0&&(null==e?void 0:null===(o=e.section)||void 0===o?void 0:null===(a=o.sectionData)||void 0===a?void 0:a.hasMoreData)}),r=[];null==e||e.map((e,i)=>{var d,a,o,t,n,l,s,c;(null==e?void 0:null===(a=e.section)||void 0===a?void 0:null===(d=a.sectionData)||void 0===d?void 0:d.hasMoreData)&&(null==e?void 0:null===(t=e.section)||void 0===t?void 0:null===(o=t.sectionData)||void 0===o?void 0:o.lastIndex)<0&&"section"===e.paneType&&(null==e?void 0:null===(l=e.section)||void 0===l?void 0:null===(n=l.sectionData)||void 0===n?void 0:n.section)&&r.push(null==e?void 0:null===(c=e.section)||void 0===c?void 0:null===(s=c.sectionData)||void 0===s?void 0:s.section)}),O([...r]),E([...i]),H([...d])}},checkAllView=e=>{var i,d,r,a,o,t,n,l,s,c,u,v,p,_,P;let w=null===(t=Object.keys({...(0,g.Wh)((null==e?void 0:null===(d=e.section)||void 0===d?void 0:null===(i=d.sectionData)||void 0===i?void 0:i.data)&&(null==e?void 0:null===(o=e.section)||void 0===o?void 0:null===(a=o.sectionData)||void 0===a?void 0:null===(r=a.data[0])||void 0===r?void 0:r.cardType))}).sort((e,i)=>i-e))||void 0===t?void 0:t.find(e=>e<=ee),h=null===(n=(0,g.Wh)((null==e?void 0:null===(s=e.section)||void 0===s?void 0:null===(l=s.sectionData)||void 0===l?void 0:l.data)&&(null==e?void 0:null===(v=e.section)||void 0===v?void 0:null===(u=v.sectionData)||void 0===u?void 0:null===(c=u.data[0])||void 0===c?void 0:c.cardType))[w])||void 0===n?void 0:n.slidesPerView;return(null==e?void 0:null===(P=e.section)||void 0===P?void 0:null===(_=P.sectionData)||void 0===_?void 0:null===(p=_.data)||void 0===p?void 0:p.length)>h&&(null==e?void 0:e.section.sectionControls.showViewAll)&&(e.section.sectionControls.showView=!0),e},ei=(0,o.useCallback)(()=>{let e=Y.filter(e=>L.slice(0,4).includes(e)),i=(null==e?void 0:e.length)>0;if(L.length>0){let e=(0,v.mn)(A.asPath),d={path:"/"!=e&&""!=e&&e?e:"home",count:24,code:L.slice(0,4).toString(),hasDynamicExpression:i,offset:-1},r="https://lukentv-api.revlet.net/service/api/v1/section/data?"+(0,v.Yo)(d);try{C(r)}catch(e){}}},[C,A.asPath,L,Y]);if((0,o.useEffect)(()=>{let scrollHandler=()=>{let e=document.documentElement.scrollHeight-window.innerHeight-window.scrollY,i=window.scrollY;null!==e&&e<window.innerHeight&&i>150&&!1===X.current.started&&(X.current.started=!0,ei())};return document.addEventListener("scroll",scrollHandler),()=>{document.removeEventListener("scroll",scrollHandler)}},[ei]),B&&0==B.length)return(0,r.jsx)(r.Fragment,{});let onBack=()=>{Q?window.location.href=R.configs.siteURL:x?(S({type:a.Nw.t3,payload:null}),A.push(x)):A.push("/")},removeSection=e=>{let i={...P,data:P.data.filter(i=>(null==i?void 0:i.contentCode)!==e)};S({type:a.Nw.dt,payload:i})};return(0,r.jsx)(m.Z,{children:(0,r.jsxs)(k.Z,{children:["/favorites"===A.asPath&&(0,r.jsxs)("span",{className:" ".concat(n().mobileBack),onClick:onBack,children:[(0,r.jsx)("img",{alt:"back",className:" ".concat(n().back),src:"".concat(f.Z.sections.back)}),null===(i=y.hy[V])||void 0===i?void 0:i.Watchlist]}),(0,r.jsxs)("div",{className:"".concat(n().sectionsHome," ").concat(W||(null==P?void 0:null===(d=P.info)||void 0===d?void 0:d.code)==="search"||(null==P?void 0:null===(t=P.info)||void 0===t?void 0:t.pageType)=="details"?"".concat(n().banners):"".concat(n().no_banners)," ").concat((null==P?void 0:null===(l=P.info)||void 0===l?void 0:l.code)=="artist-detail"?"".concat(n().artist_page):""," ").concat(((null==P?void 0:null===(s=P.info)||void 0===s?void 0:s.pageType)=="details"||(null==P?void 0:null===(p=P.info)||void 0===p?void 0:p.pageType)=="player")&&"".concat(n().tvshow_details)," ").concat(K&&W?n().retropage_mt:""),style:K?{}:{marginTop:q},children:["/favorites"===A.asPath&&(0,r.jsxs)("span",{className:" ".concat(n().watchlistBack),onClick:onBack,children:[(0,r.jsx)("img",{alt:"back",className:" ".concat(n().back),src:"".concat(f.Z.sections.back)}),null===(_=y.hy[V])||void 0===_?void 0:_.Watchlist]}),null==B?void 0:B.map((i,d)=>{var a,o,t,l,s,c,u,v,p,g,_;return(0,r.jsxs)("div",{className:"".concat(n().section_wrap),children:[(0,r.jsx)("div",{className:"".concat(n().section_top),children:(0,r.jsx)("div",{className:"".concat(n().section_title_container),children:(0,r.jsx)("div",{className:"".concat(n().section_title_data),children:(null==i?void 0:null===(o=i.section)||void 0===o?void 0:null===(a=o.sectionControls)||void 0===a?void 0:a.showView)?(0,r.jsxs)(w(),{href:i.section.sectionControls.viewAllTargetPath,className:"".concat(n().section_viewall),onClick:()=>{var e,d,r,a,o,t,n,l,s,c,u,v,p,g,_,P,w,h,m,y,f,k,R,x,V;A.asPath,localStorage.getItem("Page View")&&(null===(e=JSON.parse(localStorage.getItem("Page View")))||void 0===e||e.currentPage),(0,b.qP)("rail_banner_clicked",{rail_name:i.section.sectionInfo.name,content_name:(null==i?void 0:null===(t=i.section)||void 0===t?void 0:null===(o=t.sectionData)||void 0===o?void 0:null===(a=o.data)||void 0===a?void 0:null===(r=a[0])||void 0===r?void 0:null===(d=r.display)||void 0===d?void 0:d.title)||"
1NA",content_type:(null==i?void 0:null===(v=i.section)||void 0===v?void 0:null===(u=v.sectionData)||void 0===u?void 0:null===(c=u.data)||void 0===c?void 0:null===(s=c[0])||void 0===s?void 0:null===(l=s.target)||void 0===l?void 0:null===(n=l.pageAttributes)||void 0===n?void 0:n.mediaContentType)||"NA",content_genre:(null==i?void 0:null===(m=i.section)||void 0===m?void 0:null===(h=m.sectionData)||void 0===h?void 0:null===(w=h.data)||void 0===w?void 0:null===(P=w[0])||void 0===P?void 0:null===(_=P.target)||void 0===_?void 0:null===(g=_.pageAttributes)||void 0===g?void 0:null===(p=g.genre)||void 0===p?void 0:p.replace(/[â¢]/g,","))||"NA",content_partner_name:(null==i?void 0:null===(V=i.section)||void 0===V?void 0:null===(x=V.sectionData)||void 0===x?void 0:null===(R=x.data)||void 0===R?void 0:null===(k=R[0])||void 0===k?void 0:null===(f=k.target)||void 0===f?void 0:null===(y=f.pageAttributes)||void 0===y?void 0:y.networkName)||"NA",tab:(0,G.rV)("tab")||"Home",action:"View_all"})},children:[(0,r.jsxs)("h2",{className:"".concat(n().section_title),children:[i.section.sectionInfo.name,(0,r.jsx)("span",{className:"".concat(n().viewAll_arrow)})]}),(0,r.jsxs)("div",{className:"".concat(n().overlay),children:[(0,r.jsx)("span",{className:"".concat(n().viewAll_arrow)}),(0,r.jsx)("span",{className:"".concat(n().viewAll),children:null===(t=y.hy[V])||void 0===t?void 0:t.View_All})]})]}):(null==i?void 0:null===(c=i.section)||void 0===c?void 0:null===(s=c.sectionData)||void 0===s?void 0:null===(l=s.params)||void 0===l?void 0:l.showSectionTitle)!=="false"&&(0,r.jsxs)("div",{className:"".concat(n().section_title_df),children:[(0,r.jsx)("h2",{className:"".concat(n().section_title," ").concat(e.fromTvShowDetail
1s&&"you may also like"==i.section.sectionInfo.name.toLowerCase()&&n().youMayAlsoLike),children:i.section.sectionInfo.name})," "]})})})}),(null==i?void 0:null===(p=i.section)||void 0===p?void 0:null===(v=p.sectionData)||void 0===v?void 0:null===(u=v.data[0])||void 0===u?void 0:u.cardType)==="autoplay_banner"?(0,r.jsx)(AutoplayBanner,{curosalData:null==i?void 0:null===(_=i.section)||void 0===_?void 0:null===(g=_.sectionData)||void 0===g?void 0:g.data[0],PageData:P,rowIndex:d}):(0,r.jsx)(curosal_component,{curosalData:i.section,PageData:P,rowIndex:d,removeSection:removeSection,children:" "})]},i.section.sectionInfo.code)})]}),T&&(0,r.jsx)("div",{children:(0,r.jsx)(c.Z,{custom:!0,type:["section"]})})]})})}},63102:function(e,i,d){"use strict";d.d(i,{Z:function(){return SectionsContextProvider},e:function(){return n}});var r=d(85893),a=d(11163),o=d(67294);let t={favInfo:{added:{},removed:{}},onFavStatusChange:()=>{}},n=(0,o.createContext)(t);function SectionsContextProvider(e){let{children:i}=e,[d,l]=(0,o.useState)(t.favInfo),s=(0,a.useRouter)(),c=(0,o.useCallback)((e,i)=>{if("add"===i){let i=JSON.parse(JSON.stringify(d));i.added.hasOwnProperty(e)||(i.added[e]=!0),i.removed.hasOwnProperty(e)&&delete i.removed[e],l(i)}else{let i=JSON.parse(JSON.stringify(d));i.removed.hasOwnProperty(e)||(i.removed[e]=!0),i.added.hasOwnProperty(e)&&delete i.added[e],l(i)}},[d]),resetState=()=>{var e,i;((null===(e=Object.keys(d.added))||void 0===e?void 0:e.length)||(null===(i=Object.keys(d.removed))||void 0===i?void 0:i.length))&&l({added:{},removed:{}})};(0,o.useEffect)(()=>{resetState()},[s.asPath]);let u=(0,o.useMemo)(()=>({favInfo:d,onFavStatusChange:c}),[d,c]);return(0,r.jsx)(n.Provider,{value:u,children:i})}},83467:function(e,i,d){"use strict";function NoOfCardsToRender(e,i){var d,r;let a=(null==i?void 0:null===(r=i.metadata)||void 0===r?void 0:null===(d=r.size)||void 0===d?void 0:d.value)==="big";if("square_poster"==e)return{1650:{slidesPerView:10,slidesPerGroup:10,cardsPerGridRow:10,cardPaddingGrid:6,gridPadding:51},1440:{slidesPerView:9,slidesPerGroup:9,cardsPerGridRow:9,cardPaddingGrid:6,gridPadding:51},1300:{slidesPerView:8,slidesPerGroup:8,cardsPerGridRow:8,cardPaddingGrid:6,gridPadding:48},1024:{slidesPerView:7,slidesPerGroup:7,cardsPerGridRow:7,cardPaddingGrid:6,gridPadding:20},920:{slidesPerView:6,slidesPerGroup:6,cardsPerGridRow:6,cardPaddingGrid:6,gridPadding:20},767:{slidesPerView:5,slidesPerGroup:5,cardsPerGridRow:5,cardPaddingGrid:6,gridPadding:30},576:{slidesPerView:4,slidesPerGroup:4,cardsPerGridRow:4,cardPaddingGrid:7,gridPadding:20},480:{slidesPerView:4,slidesPerGroup:4,cardsPerGridRow:4,cardPaddingGrid:3,gridPadding:12},320:{slidesPerView:3,slidesPerGroup:3,cardsPerGridRow:3,cardPaddingGrid:3,gridPadding:12}};switch(e){case"sheet_poster":case"overlay_poster":case"overlayIcon_poster":case"network_poster":case"content_poster":case"expands_poster":case"expands_preview_poster":case"large_poster":case"live_poster":return{1650:{slidesPerView:a?5:6,slidesPerGroup:a?5:6,cardsPerGridRow:a?5:6,cardPaddingGrid:a?6:7,gridPadding:51},1300:{slidesPerView:a?4:6,slidesPerGroup:a?4:6,cardsPerGridRow:a?4:5,cardPaddingGrid:a?6:7,gridPadding:48},1199:{slidesPerView:a?3:6,slidesPerGroup:a?3:6,cardsPerGridRow:a?3:4,cardPaddingGrid:a?6:7,gridPadding:48},1024:{slidesPerView:a?3:4,slidesPerGroup:a?3:4,cardsPerGridRow:a?3:4,cardPaddingGrid:a?6:7,gridPadding:23},767:{slidesPerView:a?3:4,slidesPerGroup:a?3:4,cardsPerGridRow:a?3:4,cardPaddingGrid:a?3:4,gridPadding:16},576:{slidesPerView:a?2:3,slidesPerGroup:a?2:3,cardsPerGridRow:a?2:3,cardPaddingGrid:a?3:4,gridPadding:20},200:{slidesPerView:2.1,slidesPerGroup:2.1,cardsPerGridRow:2,cardPaddingGrid:4,gridPadding:12}};case"expand_poster":return{1650:{slidesPerView:a?5:6,slidesPerGroup:a?5:6,cardsPerGridRow:a?5:6,cardPaddingGrid:a?5:7,gridPadding:51},1300:{slidesPerView:a?4:5,slidesPerGroup:a?4:5,cardsPerGridRow:a?4:5,cardPaddingGrid:a?6:7,gridPadding:48},1199:{slidesPerView:a?3:4,slidesPerGroup:a?3:4,cardsPerGridRow:a?3:4,cardPaddingGrid:a?6:7,gridPadding:23},1024:{slidesPerView:a?2:3,slidesPerGroup:a?2:3,cardsPerGridRow:a?2:3,cardPaddingGrid:a?3:4,gridPadding:20},767:{slidesPerView:a?2:3,slidesPerGroup:a?2:3,cardsPerGridRow:a?2:3,cardPaddingGrid:a?3:4,gridPadding:16},576:{slidesPerView:a?1:2,slidesPerGroup:a?1:2,cardsPerGridRow:a?1:3,cardPaddingGrid:a?3:4,gridPadding:20},200:{slidesPerView:a?1:2,slidesPerGroup:a?1:2,cardsPerGridRow:a?1:2,cardPaddingGrid:a?3:4,gridPadding:12}};case"expand_action_poster":case"roller_poster":return{1650:{slidesPerView:a?7:8,slidesPerGroup:a?7:8,cardsPerGridRow:a?7:8,cardPaddingGrid:a?6:7,gridPadding:51},1440:{slidesPerView:a?6:8,slidesPerGroup:a?6:8,cardsPerGridRow:a?6:7,cardPaddingGrid:a?6:7,gridPadding:51},1300:{slidesPerView:a?6:8,slidesPerGroup:a?6:8,cardsPerGridRow:a?6:7,cardPaddingGrid:a?6:7,gridPadding:48},1024:{slidesPerView:a?5:8,slidesPerGroup:a?5:8,cardsPerGridRow:a?5:7,cardPaddingGrid:a?6:7,gridPadding:48},920:{slidesPerView:a?4:5,slidesPerGroup:a?4:5,cardsPerGridRow:a?4:5,cardPaddingGrid:a?6:7,gridPadding:20},767:{slidesPerView:a?4:5,slidesPerGroup:a?4:5,cardsPerGridRow:a?4:5,cardPaddingGrid:a?6:7,gridPadding:30},576:{slidesPerView:a?3:4,slidesPerGroup:a?3:4,cardsPerGridRow:a?3:4,cardPaddingGrid:a?6:7,gridPadding:20},480:{slidesPerView:a?3:4,slidesPerGroup:a?3:4,cardsPerGridRow:a?3:4,cardPaddingGrid:a?3:4,gridPadding:12},320:{slidesPerView:a?2:3,slidesPerGroup:a?2:3,cardsPerGridRow:a?2:3,cardPaddingGrid:a?3:4,gridPadding:12}};case"roller_poster_big":return{1650:{slidesPerView:6,slidesPerGroup:6,cardsPerGridRow:6,cardPaddingGrid:a?5:7,gridPadding:51},1440:{slidesPerView:5,slidesPerGroup:5,cardsPerGridRow:5,cardPaddingGrid:5,gridPadding:48},1300:{slidesPerView:5,slidesPerGroup:5,cardsPerGridRow:5,cardPaddingGrid:5,gridPadding:20},1024:{slidesPerView:a?4:5,slidesPerGroup:a?4:5,cardsPerGridRow:a?4:5,cardPaddingGrid:a?5:10,gridPadding:20},920:{slidesPerView:a?3:4,slidesPerGroup:a?3:4,cardsPerGridRow:a?3:4,cardPaddingGrid:a?5:6,gridPadding:20},767:{slidesPerView:a?3:4,slidesPerGroup:a?3:4,cardsPerGridRow:a?3:4,cardPaddingGrid:a?5:6,gridPadding:50},576:{slidesPerView:3,slidesPerGroup:3,cardsPerGridRow:3,cardPaddingGrid:a?6:7,gridPadding:40},480:{slidesPerView:3,slidesPerGroup:3,cardsPerGridRow:3,cardPaddingGrid:a?3:5,gridPadding:20},320:{slidesPerView:2,slidesPerGroup:2,cardsPerGridRow:2,cardPaddingGrid:a?3:4,gridPadding:20}};case"icon_poster":return{1650:{slidesPerView:a?8:9,slidesPerGroup:a?7:8,cardsPerGridRow:a?7:8,cardPaddingGrid:a?6:7,gridPadding:51},1440:{slidesPerView:a?8:9,slidesPerGroup:a?6:7,cardsPerGridRow:a?6:7,cardPaddingGrid:a?6:7,gridPadding:51},1300:{slidesPerView:a?9:11,slidesPerGroup:a?8:9,cardsPerGridRow:a?8:9,cardPaddingGrid:a?8:9,gridPadding:50},1024:{slidesPerView:a?7:8,slidesPerGroup:a?5:6,cardsPerGridRow:a?5:6,cardPaddingGrid:a?6:7,gridPadding:20},920:{slidesPerView:a?6:7,slidesPerGroup:a?4:5,cardsPerGridRow:a?4:5,cardPaddingGrid:a?6:7,gridPadding:20},767:{slidesPerView:a?5.3:6.3,slidesPerGroup:a?4:5,cardsPerGridRow:a?4:5,cardPaddingGrid:a?6:7,gridPadding:30},576:{slidesPerView:a?3.3:4.3,slidesPerGroup:a?3:4,cardsPerGridRow:a?3:4,cardPaddingGrid:a?6:7,gridPadding:20},480:{slidesPerView:a?2.3:3.3,slidesPerGroup:a?2:3,cardsPerGridRow:a?3:4,cardPaddingGrid:a?3:4,gridPadding:12},320:{slidesPerView:a?2:3,slidesPerGroup:a?2:3,cardsPerGridRow:a?2:3,cardPaddingGrid:a?3:4,gridPadding:12}};case"edge_poster":return{1650:{slidesPerView:a?6:7,slidesPerGroup:a?7:8,cardsPerGridRow:a?7:8,cardPaddingGrid:a?6:7,gridPadding:51},1440:{slidesPerView:a?5:6,slidesPerGroup:a?6:7,cardsPerGridRow:a?6:7,cardPaddingGrid:a?6:7,gridPadding:51},1300:{slidesPerView:a?5:6,slidesPerGroup:a?8:9,cardsPerGridRow:a?8:9,cardPaddingGrid:a?8:9,gridPadding:50},1024:{slidesPerView:a?5:6,slidesPerGroup:a?5:6,cardsPerGridRow:a?5:6,cardPaddingGrid:a?6:7,gridPadding:20},920:{slidesPerView:a?4:5,slidesPerGroup:a?4:5,cardsPerGridRow:a?4:5,cardPaddingGrid:a?6:7,gridPadding:8},767:{slidesPerView:a?4.4:5.4,slidesPerGroup:a?4:5,cardsPerGridRow:a?4:5,cardPaddingGrid:a?6:7,gridPadding:4},576:{slidesPerView:a?3.3:4.3,slidesPerGroup:a?3:4,cardsPerGridRow:a?3:4,cardPaddingGrid:a?6:7,gridPadding:20},480:{slidesPerView:a?3.3:4.3,slidesPerGroup:a?2:3,cardsPerGridRow:a?3:4,cardPaddingGrid:a?3:4,gridPadding:12},320:{slidesPerView:a?1.1:2.2,slidesPerGroup:a?1:2,cardsPerGridRow:a?1:2,cardPaddingGrid:a?3:4,gridPadding:12}};case"circle_poster":return{1650:{slidesPerView:a?10:12,slidesPerGroup:a?10:12,cardsPerGridRow:a?10:12,cardPaddingGrid:a?6:7,gridPadding:51},1440:{slidesPerView:a?9:11,slidesPerGroup:a?9:11,cardsPerGridRow:a?9:11,cardPaddingGrid:a?6:7,gridPadding:51},1300:{slidesPerView:a?9:11,slidesPerGroup:a?9:11,cardsPerGridRow:a?9:11,cardPaddingGrid:a?6:7,gridPadding:48},1199:{slidesPerView:a?8:10,slidesPerGroup:a?8:10,cardsPerGridRow:a?7:10,cardPaddingGrid:a?8:10,gridPadding:48},1024:{slidesPerView:a?4:5,slidesPerGroup:a?4:5,cardsPerGridRow:a?4:5,cardPaddingGrid:a?6:7,gridPadding:20},991:{slidesPerView:a?3:4,slidesPerGroup:a?3:4,cardsPerGridRow:a?3:4,cardPaddingGrid:a?6:7,gridPadding:30},767:{slidesPerView:a?3:4,slidesPerGroup:a?3:4,cardsPerGridRow:a?3:4,cardPaddingGrid:a?6:7,gridPadding:30},576:{slidesPerView:a?2:3,slidesPerGroup:a?2:3,cardsPerGridRow:a?2:3,cardPaddingGrid:a?6:7,gridPadding:20},480:{slidesPerView:a?2:3,slidesPerGroup:a?2:3,cardsPerGridRow:a?2:3,cardPaddingGrid:a?3:4,gridPadding:12},200:{slidesPerView:a?2:3,slidesPerGroup:a?2:3,cardsPerGridRow:a?2:3,cardPaddingGrid:a?3:4,gridPadding:12}};case"expand_roller_poster":return{1650:{slidesPerView:a?7:8,slidesPerGroup:a?7:8,cardsPerGridRow:a?7:8,cardPaddingGrid:a?6:7,gridPadding:51},1440:{slidesPerView:a?6:8,slidesPerGroup:a?6:8,cardsPerGridRow:a?6:7,cardPaddingGrid:a?6:7,gridPadding:51},1300:{slidesPerView:a?6:8,slidesPerGroup:a?6:8,cardsPerGridRow:a?6:7,cardPaddingGrid:a?6:7,gridPadding:48},1199:{slidesPerView:a?6:8,slidesPerGroup:a?6:8,cardsPerGridRow:a?6:7,cardPaddingGrid:a?6:7,gridPadding:23},1024:{slidesPerView:a?4:5,slidesPerGroup:a?4:5,cardsPerGridRow:a?4:5,cardPaddingGrid:a?4:7,gridPadding:20},991:{slidesPerView:a?3:5,slidesPerGroup:a?3:5,cardsPerGridRow:a?3:5,cardPaddingGrid:a?3:7,gridPadding:30},767:{slidesPerView:a?3:4,slidesPerGroup:a?3:4,cardsPerGridRow:a?3:4,cardPaddingGrid:a?6:7,gridPadding:30},576:{slidesPerView:a?3:4,slidesPerGroup:a?3:4,cardsPerGridRow:a?3:4,cardPaddingGrid:a?6:7,gridPadding:20},480:{slidesPerView:a?2:3,slidesPerGroup:a?2:3,cardsPerGridRow:a?2:3,cardPaddingGrid:a?3:4,gridPadding:12},200:{slidesPerView:a?2:3,slidesPerGroup:a?2:3,cardsPerGridRow:a?2:3,cardPaddingGrid:a?3:4,gridPadding:12}};case"shorts_roller_poster":return{1650:{slidesPerView:a?7:8,slidesPerGroup:a?7:8,cardsPerGridRow:a?7:8,cardPaddingGrid:a?6:7,gridPadding:51},1440:{slidesPerView:a?6:7,slidesPerGroup:a?6:7,cardsPerGridRow:a?6:7,cardPaddingGrid:a?6:7,gridPadding:51},1300:{slidesPerView:a?6:7,slidesPerGroup:a?6:7,cardsPerGridRow:a?6:7,cardPaddingGrid:a?6:7,gridPadding:48},1199:{slidesPerView:a?6:7,slidesPerGroup:a?6:7,cardsPerGridRow:a?6:7,cardPaddingGrid:a?6:7,gridPadding:23},1024:{slidesPerView:a?4:5,slidesPerGroup:a?4:5,cardsPerGridRow:a?4:5,cardPaddingGrid:a?4:7,gridPadding:20},991:{slidesPerView:a?3:5,slidesPerGroup:a?3:5,cardsPerGridRow:a?3:5,cardPaddingGrid:a?3:7,gridPadding:30},767:{slidesPerView:a?3:4,slidesPerGroup:a?3:4,cardsPerGridRow:a?3:4,cardPaddingGrid:a?6:7,gridPadding:30},576:{slidesPerView:a?3:4,slidesPerGroup:a?3:4,cardsPerGridRow:a?3:4,cardPaddingGrid:a?6:7,gridPadding:20},480:{slidesPerView:a?2:3,slidesPerGroup:a?2:3,cardsPerGridRow:a?2:3,cardPaddingGrid:a?3:4,gridPadding:12},200:{slidesPerView:a?2:3,slidesPerGroup:a?2:3,cardsPerGridRow:a?2:3,cardPaddingGrid:a?3:4,gridPadding:12}};case"promo_poster":return{1650:{slidesPerView:1,slidesPerGroup:1,cardsPerGridRow:1,cardPaddingGrid:7,gridPadding:51},1440:{slidesPerView:1,slidesPerGroup:1,cardsPerGridRow:1,cardPaddingGrid:7,gridPadding:51},1300:{slidesPerView:1,slidesPerGroup:1,cardsPerGridRow:1,cardPaddingGrid:7,gridPadding:48},1199:{slidesPerView:1,slidesPerGroup:1,cardsPerGridRow:1,cardPaddingGrid:a?5:10,gridPadding:23},1024:{slidesPerView:1,slidesPerGroup:1,cardsPerGridRow:1,cardPaddingGrid:7,gridPadding:20},991:{slidesPerView:1,slidesPerGroup:1,cardsPerGridRow:1,cardPaddingGrid:1,gridPadding:30},767:{slidesPerView:1,slidesPerGroup:1,cardsPerGridRow:1,cardPaddingGrid:7,gridPadding:30},576:{slidesPerView:1,slidesPerGroup:1,cardsPerGridRow:1,cardPaddingGrid:7,gridPadding:20},480:{slidesPerView:1,slidesPerGroup:1,cardsPerGridRow:1,cardPaddingGrid:4,gridPadding:12},200:{slidesPerView:1,slidesPerGroup:1,cardsPerGridRow:1,cardPaddingGrid:4,gridPadding:12}};case"top10_portrait_poster":return{1900:{slidesPerView:6,slidesPerGroup:6,cardsPerGridRow:6,cardPaddingGrid:7,gridPadding:51,spaceBetween:80},1650:{slidesPerView:5,slidesPerGroup:5,cardsPerGridRow:6,cardPaddingGrid:7,gridPadding:51,spaceBetween:60},1440:{slidesPerView:5,slidesPerGroup:5,cardsPerGridRow:5,cardPaddingGrid:7,gridPadding:51,spaceBetween:60},1300:{slidesPerView:5,slidesPerGroup:5,cardsPerGridRow:5,cardPaddingGrid:a?6:7,gridPadding:48,spaceBetween:60},1024:{slidesPerView:a?4:5,slidesPerGroup:a?4:5,cardsPerGridRow:a?4:5,cardPaddingGrid:a?6:7,gridPadding:20,spaceBetween:60},920:{slidesPerView:a?3:4,slidesPerGroup:a?3:4,cardsPerGridRow:a?3:4,cardPaddingGrid:a?6:7,gridPadding:20,spaceBetween:80},767:{slidesPerView:a?3:4,slidesPerGroup:a?3:4,cardsPerGridRow:a?3:4,cardPaddingGrid:a?6:7,gridPadding:30,spaceBetween:70},576:{slidesPerView:a?2:3,slidesPerGroup:a?2:3,cardsPerGridRow:a?2:3,cardPaddingGrid:a?6:7,gridPadding:20,spaceBetween:70},480:{slidesPerView:2,slidesPerGroup:2,cardsPerGridRow:2,cardPaddingGrid:4,gridPadding:12,spaceBetween:75},320:{slidesPerView:2,slidesPerGroup:2,cardsPerGridRow:2,cardPaddingGrid:4,gridPadding:12,spaceBetween:75}};case"top10_landscape_poster":return{1920:{slidesPerView:4,slidesPerGroup:4,cardsPerGridRow:4,cardPaddingGrid:7,gridPadding:51,spaceBetween:100},1650:{slidesPerView:4,slidesPerGroup:4,cardsPerGridRow:4,cardPaddingGrid:7,gridPadding:51,spaceBetween:80},1300:{slidesPerView:4,slidesPerGroup:4,cardsPerGridRow:4,cardPaddingGrid:7,gridPadding:48,spaceBetween:70},1199:{slidesPerView:4,slidesPerGroup:4,cardsPerGridRow:4,cardPaddingGrid:7,gridPadding:23,spaceBetween:60},1024:{slidesPerView:3,slidesPerGroup:3,cardsPerGridRow:3,cardPaddingGrid:7,gridPadding:20,spaceBetween:80},767:{slidesPerView:3,slidesPerGroup:3,cardsPerGridRow:3,cardPaddingGrid:4,gridPadding:16,spaceBetween:60},576:{slidesPerView:2.2,slidesPerGroup:2.2,cardsPerGridRow:3,cardPaddingGrid:4,gridPadding:20,spaceBetween:50},200:{slidesPerView:1.5,slidesPerGroup:1.5,cardsPerGridRow:2,cardPaddingGrid:4,gridPadding:12,spaceBetween:50}};
1case"event_content_poster":return{1920:{slidesPerView:3,slidesPerGroup:3,cardsPerGridRow:3,cardPaddingGrid:7,gridPadding:51,spaceBetween:30},1650:{slidesPerView:3,slidesPerGroup:3,cardsPerGridRow:3,cardPaddingGrid:7,gridPadding:51,spaceBetween:30},1300:{slidesPerView:3,slidesPerGroup:3,cardsPerGridRow:3,cardPaddingGrid:7,gridPadding:48,spaceBetween:30},1199:{slidesPerView:3,slidesPerGroup:3,cardsPerGridRow:3,cardPaddingGrid:7,gridPadding:23,spaceBetween:24},1024:{slidesPerView:3,slidesPerGroup:3,cardsPerGridRow:3,cardPaddingGrid:7,gridPadding:20,spaceBetween:20},767:{slidesPerView:2,slidesPerGroup:2,cardsPerGridRow:2,cardPaddingGrid:2,gridPadding:16,spaceBetween:20},576:{slidesPerView:1,slidesPerGroup:1,cardsPerGridRow:2,cardPaddingGrid:2,gridPadding:20,spaceBetween:10},200:{slidesPerView:1,slidesPerGroup:1,cardsPerGridRow:1,cardPaddingGrid:1,gridPadding:12,spaceBetween:10}};case"sheet_poster_list":return{1920:{slidesPerView:3,slidesPerGroup:3,cardsPerGridRow:3,cardPaddingGrid:7,gridPadding:51,spaceBetween:30},1650:{slidesPerView:3,slidesPerGroup:3,cardsPerGridRow:3,cardPaddingGrid:7,gridPadding:51,spaceBetween:30},1300:{slidesPerView:3,slidesPerGroup:3,cardsPerGridRow:3,cardPaddingGrid:7,gridPadding:48,spaceBetween:30},1199:{slidesPerView:3,slidesPerGroup:3,cardsPerGridRow:3,cardPaddingGrid:7,gridPadding:48,spaceBetween:24},1024:{slidesPerView:3,slidesPerGroup:3,cardsPerGridRow:3,cardPaddingGrid:7,gridPadding:20,spaceBetween:20},767:{slidesPerView:1,slidesPerGroup:1,cardsPerGridRow:1,cardPaddingGrid:4,gridPadding:16,spaceBetween:20},576:{slidesPerView:1,slidesPerGroup:1,cardsPerGridRow:1,cardPaddingGrid:4,gridPadding:20,spaceBetween:10},200:{slidesPerView:1,slidesPerGroup:1,cardsPerGridRow:1,cardPaddingGrid:4,gridPadding:12,spaceBetween:10}};default:return{1650:{slidesPerView:a?5:6,slidesPerGroup:a?5:6,cardsPerGridRow:a?5:6,cardPaddingGrid:a?6:7,gridPadding:51},1300:{slidesPerView:a?4:5,slidesPerGroup:a?4:5,cardsPerGridRow:a?4:5,cardPaddingGrid:a?6:7,gridPadding:48},1199:{slidesPerView:a?3:4,slidesPerGroup:a?3:4,cardsPerGridRow:a?3:4,cardPaddingGrid:a?6:7,gridPadding:23},1024:{slidesPerView:a?3:4,slidesPerGroup:a?3:4,cardsPerGridRow:a?3:4,cardPaddingGrid:a?6:7,gridPadding:20},767:{slidesPerView:a?3:4,slidesPerGroup:a?3:4,cardsPerGridRow:a?3:4,cardPaddingGrid:a?3:4,gridPadding:16},576:{slidesPerView:a?2:3,slidesPerGroup:a?2:3,cardsPerGridRow:a?2:3,cardPaddingGrid:a?3:4,gridPadding:20},200:{slidesPerView:a?1.1:2.1,slidesPerGroup:a?1.1:2.1,cardsPerGridRow:a?1:2,cardPaddingGrid:a?3:4,gridPadding:12}}}}function cardsRatio(e){switch(e){case"sheet_poster":case"top10_landscape_poster":case"large_poster":case"overlay_poster":case"network_poster":case"expands_poster":case"overlayIcon_poster":case"content_poster":case"live_poster":default:return .5625;case"roller_poster":case"expand_roller_poster":case"shorts_roller_poster":case"expand_action_poster":case"top10_portrait_poster":case"roller_poster_big":return 1.5;case"icon_poster":case"square_poster":case"circle_poster":case"edge_poster":return 1;case"promo_poster":return .15625}}d.d(i,{TP:function(){return cardsRatio},Wh:function(){return NoOfCardsToRender},fe:function(){return getAvaliableCardTypes}});let getAvaliableCardTypes=()=>["sheet_poster","overlay_poster","expand_poster","overlayIcon_poster","network_poster","content_poster","expands_preview_poster","expands_poster","large_poster","icon_poster","circle_poster","square_poster","edge_poster","expand_roller_poster","shorts_roller_poster","roller_poster","promo_poster","expand_action_poster","live_poster","top10_landscape_poster","top10_portrait_poster","roller_poster_big","event_content_poster","sheet_poster_list"]},72120:function(e,i,d){"use strict";d.d(i,{Yo:function(){return updateContentPosition},aB:function(){return analyticsForMyReco},hZ:function(){return postRecoData}});var r=d(43825),a=d(58014),o=d(73484);let getMandatoryPayload=e=>{var i;let d={eventType:"Playback",eventName:"Played",originSource:"AppOpen",userAgent:r.i7&&(0,r.i7)()||"",network:"Wi-fi",sdkVersion:"",appVersion:"Na",tabName:(null===(i=sessionStorage.getItem("TabName"))||void 0===i?void 0:i.toUpperCase())||"DETAILS"};return Object.entries(e).length>0&&(d={...d,...e}),console.log(d),d},analyticsForMyReco=(e,i)=>{JSON.parse(sessionStorage.getItem("anaReco"));let d={C:"Carousel",S:"Search",F:"Filter"};e.originMedium=d[null==e?void 0:e.originMedium]||d.C,(null==e?void 0:e.originMedium)!="Search"&&(e.originName=(null==i?void 0:i.dataType)=="entity"&&(null==i?void 0:i.pagePath.includes("tvshow"))?null==e?void 0:e.originName:(null==e?void 0:e.originName)||"");let r=getMandatoryPayload({...e});return sessionStorage.setItem("anaReco",JSON.stringify(r)),r},postRecoData=async e=>{let i=(0,a.rV)("systemConfigs")||{};console.log("postRecodata function calling");try{var d,t,n;console.log("recoData.path.replace(/^/+/, '') ",e.path.replace(/^\/+/,""),e.path);let a=JSON.parse(sessionStorage.getItem("anaReco"))||{};if(!(null===(d=Object.entries(a))||void 0===d?void 0:d.length)){let i={contentPosition:"",carouselPosition:"",contentPath:e.path.replace(/^\/+/,""),trackingId:"",originMedium:"C
1arousel"};a=analyticsForMyReco(i,{})}if((null==i?void 0:null===(n=i.data)||void 0===n?void 0:null===(t=n.configs)||void 0===t?void 0:t.supportMyreco)=="true"){let i=(0,o.XV)();a.userId=i?"".concat(null==i?void 0:i.userId,"_").concat(null==i?void 0:i.profileId):"-1",a.value=e.onWatchTimer;let d=sessionStorage.getItem("carouselPosition");d&&(a.carouselPosition=d),(null==e?void 0:e.contentPath)&&(a.contentPath=null==e?void 0:e.contentPath.replace(/^\/+/,"")),console.log("myrecoData ",a);try{let e=await (0,r.Zj)("".concat("https://lukentv-api.revlet.net","/service/api/v1/send/myreco/events"),a);console.log("myReco Response:",e)}catch(e){console.error("Error posting reco data:",e)}}}catch(e){console.error(e)}},updateContentPosition=e=>{let i=JSON.parse(sessionStorage.getItem("anaReco"))||{};i.contentPosition=e.toString(),i.tabName="DETAILS",sessionStorage.setItem("anaReco",JSON.stringify(i))}},49859:function(e){e.exports={primaryColor:"#d13338",whiteColor:"#fff",bodyColor:"#000",cardsHome:"card_cardsHome__7TlmZ",expands_poster:"card_expands_poster__8UUKE",card_inner:"card_card_inner__1npX0",main_img:"card_main_img__q2AeF",card_epg_image1:"card_card_epg_image1__9Npql",card_header:"card_card_header__X5ygx",text_scroll:"card_text_scroll__bpqP
1s",top_section:"card_top_section__4ltIp",card_footer:"card_card_footer__8Nrqr",bottom_section:"card_bottom_section___QNxE",actions:"card_actions__Kriez",playBtn:"card_playBtn__P_6Ic",defaultBtn:"card_defaultBtn__0Mt4T",like:"card_like__mI9AY",share:"card_share__5C_mb",no_data:"card_no_data__eazOn",expands_roller_poster:"card_expands_roller_poster__0udri",roller_poster:"card_roller_poster__Y1IHD",card_info:"card_card_info__588xF",expiring_info:"card_expiring_info__BO_JZ",overlay_gradient:"card_overlay_gradient__utegi",has_marker:"card_has_marker__Wsi0S",ratingInner:"card_ratingInner__mz4j3",rating_badge:"card_rating_badge__NG24B",card_gradient:"card_card_gradient__mYLIE",overlay_poster:"card_overlay_poster__A7hJU",showOnHover:"card_showOnHover__SB8Ec",overlay:"card_overlay__h5hbW",main_title:"card_main_title__UEE5p",sm_title:"card_sm_title__UVyTl",overlay_inner:"card_overlay_inner__UYaJD",imageContainer:"card_imageContainer__53AEk",gradient:"card_gradient___boaH",seek:"card_seek__HRlTE",status:"card_status__KIhn_",time:"card_time__zaTLO",info:"card_info__ZLmk2",continue_watching:"card_continue_watching__SAkGJ",timer:"card_t
1imer__95Veg",overlayIcon_poster:"card_overlayIcon_poster__PDFQ2",sheet_poster:"card_sheet_poster__U5PgV",delected_marker:"card_delected_marker__q0XXr",remove_watch_list_gradient:"card_remove_watch_list_gradient__OgsNC",remove_watchlist_icon:"card_remove_watchlist_icon__IQ17y",cardChannelLogo:"card_cardChannelLogo___rY0i",card_channel_image:"card_card_channel_image__0H2YR",has_parent_icon:"card_has_parent_icon__yP0kn",live_marker:"card_live_marker__w7ksC",card_in_cont:"card_card_in_cont__XSJRu",subtitle1:"card_subtitle1__fm3HB",with_icon:"card_with_icon__t23Rn",content_poster:"card_content_poster__RWe9f",parentIcon:"card_parentIcon__UfrFx",remove_icon:"card_remove_icon__5dQeX",fancy_tool_tip:"card_fancy_tool_tip__hjT0l",square_poster:"card_square_poster__Jze6I",title:"card_title__1MGpn",live_poster:"card_live_poster__KeFM1",iconImg:"card_iconImg__mC6pW",ChannelImage:"card_ChannelImage__SY26_",img:"card_img__QByWn",live:"card_live__DVZJf",mobile_close_card:"card_mobile_close_card__l0l7S",circle_poster:"card_circle_poster__bfUTc",promo_poster:"card_promo_poster__4hQ9M",edge_poster:"card_edge_poster__CB1sW",expand_action_poster:"card_expand_action_poster__tEjPj",expands_preview_poster:"card_expands_preview_poster__7DC63",preview_hoverd:"card_preview_hoverd__qkcKr",sheet_poster_list:"card_sheet_poster_list__29tpG",card_item:"card_card_item__71kd_",card_title:"card_card_title__Ta6fa",top_sectiontitle:"card_top_sectiontitle__PcNBT",card_description:"card_card_description__c8cHe",LiveTV_time:"card_LiveTV_time__ZVVLx",cards_btns:"card_cards_btns__UtlCX",watch_btn:"card_watch_btn__hu0as",event_content_poster:"card_event_content_poster__6HQ0z",Live_tag:"card_Live_tag__Lm_9i",card_subtitle:"card_card_subtitle__1Pmqw",overlaypreview:"card_overlaypreview__0NSFN",left_edge_card:"card_left_edge_card__1FG_Y",right_edge_card:"card_right_edge_card__HVJM9",expand_header:"card_expand_header__faFwL",overlaypreview_info:"card_overlaypreview_info__e7sKt",overlaypreview_inner:"card_overlaypreview_inner__4aypY",vam:"card_vam__JSP_j",expand_img:"card_expand_img__EdS2T",expand_info:"card_expand_info__vzrxC",share_like:"card_share_like__t9_qo",expand_category:"card_expand_category__hUgyM",rent:"card_rent__YDisZ",premium_tick_white:"card_premium_tick_white__EBLbH",bottom_badge:"card_bottom_badge__MnBcR"}},33529:function(e){e.exports={primaryColor:"#d13338",whiteColor:"#fff",bodyColor:"#000",retropage_mt:"sections_retropage_mt__wWSu1",sectionsHome:"sections_sectionsHome__0BAkl",no_banners:"sections_no_banners__eagRR",tvshow_details:"sections_tvshow_details__JxMm8",artist_page:"sections_artist_page__uStim",banners:"sections_banners__BSi7u",watchlistBack:"sections_watchlistBack__dimxG",back:"sections_back__YHXi2",section_wrap:"sections_section_wrap___gLh6",section_top:"sections_section_top__gZwbe",section_title_container:"sections_section_title_container__fE_n1",overlay:"sections_overlay__UPc3x",viewAll_arrow:"sections_viewAll_arrow__LLmes",viewAll:"sections_viewAll__Qunh_",section_title_data:"sections_section_title_data__CquRj",section_title:"sections_section_title__8v69x",section_title_df:"sections_section_title_df__5ybxR",section_viewall:"sections_section_viewall__Vui4T",swiperClass:"sections_swiperClass__z7OWH",cardSwiper:"sections_cardSwiper__yFVRf",disable_arrow:"sections_disable_arrow__tIgoV",CustomSwiperSlide:"sections_CustomSwiperSlide__UAr0_",prev:"sections_prev__SWuoK",next:"sections_next__cuJjr",skeleton:"sections_skeleton__pnKwC",mobileBack:"sections_mobileBack__DjZpN",youMayAlsoLike:"sections_youMayAlsoLike__2oOza"}}}]);
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.