1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2746],{2746:function(e,l,t){t.r(l);var i=t(85893),n=t(67294),a=t(25675),o=t.n(a),s=t(49859),r=t.n(s),c=t(6437),d=t(73484),u=t(63102),v=t(41664),h=t.n(v);l.default=e=>{var l,t,a,s,v,x,p,j;let m;let{addTofav:g,BadgeText:f,cardType:_,cardData:b,checkDeeplink:N,cWidth:w,CHeight:y,loaderProp:k,openProgInfoPopUp:B,shareDataSet:C}=e,M=(0,n.useRef)(),[P,E]=(0,n.useState)(0),{favInfo:T}=(0,n.useContext)(u.e),Z=(m=(null==b?void 0:b.isFavourite)==="true",(null==T?void 0:null===(p=T.added)||void 0===p?void 0:p[null==b?void 0:b.targetPath])&&(m=!0),(null==T?void 0:null===(j=T.removed)||void 0===j?void 0:j[null==b?void 0:b.targetPath])&&(m=!1),m);(0,n.useEffect)(()=>{var e,l;(null==M?void 0:null===(e=M.current)||void 0===e?void 0:e.clientHeight)&&E(null==M?void 0:null===(l=M.current)||void 0===l?void 0:l.clientHeight)},[]);let H=!!b.template||(null==b?void 0:null===(t=b.target)||void 0===t?void 0:null===(l=t.pageAttributes)||void 0===l?void 0:l.isDeeplinking)==="true",F=H?"div":h(),S=H?{}:{href:(null==b?void 0:null===(a=b.target)||void 0===a?void 0:a.path)||"#",rel:"noopener noreferrer",onContextMenu:e=>e.stopPropagation()};return(0,i.jsx)("div",{className:b.subtitle||b.subtitle1||b.showFavouriteButton||b.showShareButton?"".concat(r().expands_roller_poster," ").concat(_):"".concat(r().expands_roller_poster," ").concat(r().no_data),children:(0,i.jsx)("div",{className:"".concat(r().card_inner),style:{height:y+P,width:w},children:(0,i.jsxs)("div",{style:{height:y+P,width:w},children:[(0,i.jsx)(F,{...S,className:"".concat(r().card_header),onClick:()=>B(b),children:(0,i.jsxs)("div",{className:"".concat(r().card_header),children:[(0,i.jsx)(o(),{className:" ".concat(r().main_img),loader:k,src:(0,d.al)(null==b?void 0:b.display.imageUrl),alt:b.display.title,width:w||0,height:y||0,onError:e=>{let{currentTarget:l}=e;l.onerror=null,l.srcset="".concat(c.Z.defaultMoviePoster)}}),!!(null==b?void 0:null===(s=b.display)||void 0===s?void 0:s.badgeMarker)&&(0,i.jsx)(f,{badgeMarker:b.display.badgeMarker}),!!(null==b?void 0:b.display.partnerIcon)&&(0,i.jsx)(o(),{height:30,width:30,loader:k,className:" ".concat(r().card_epg_image1),alt:"partner icon",src:(0,d.al)(null==b?void 0:b.display.partnerIcon),onError:e=>{let{currentTarget:l}=e;l.onerror=null,l.srcset="".concat(c.Z.defaultMoviePoster)}}),(0,i.jsx)("div",{className:" ".concat(r().text_scroll),ref:M,children:(0,i.jsxs)("div",{className:" ".concat(r().top_section),children:[b.display.showtitle?(0,i.jsx)("span",{}):(0,i.jsx)("h3",{children:null==b?void 0:b.display.title}),(0,i.jsxs)("h5",{children:[" ",null==b?void 0:b.display.subtitle1]})]})})]})}),(0,i.jsx)("div",{className:"".concat(r().card_footer),children:(0,i.jsxs)("div",{className:" ".concat(r().actions),children:[b.subtitle&&b.subtitle1?(0,i.jsxs)("div",{className:"".concat(r().top_section),children:[(0,i.jsx)("h6",{children:b.subtitle}),(0,i.jsx)("h5",{children:b.subtitle1})]}):(0,i.jsx)("span",{}),!!(null==b?void 0:b.showButton)&&(0,i.jsx)("button",{onClick:()=>{N(b)},className:" ".concat(r().defaultBtn," primary ").concat(b.showWatchButton||b.showPlayButton?"".concat(r().playBtn):""),children:(null==b?void 0:null===(v=b.ButtonText)||void 0===v?void 0:v.includes(" "))?null==b?void 0:null===(x=b.ButtonText)||void 0===x?void 0:x.split(" ")[0]:null==b?void 0:b.ButtonText}),!!b.showFavouriteButton&&(0,i.jsxs)("button",{className:" ".concat(r().like),onClick:()=>g(b),children:[Z&&(0,i.jsx)("img",{fill:!0,src:c.Z.card.favoriteActive,alt:"favorite"}),!Z&&(0,i.jsx)("img",{src:c.Z.card.favorite,alt:"favorite"}),(0,i.jsx)("span",{children:null==b?void 0:b.favOnHoverText})]}),!!b.showShareButton&&(0,i.jsxs)("button",{className:" ".concat(r().share),onClick:()=>C(b),children:[(0,i.jsx)("img",{src:c.Z.card.share,alt:"share"}),(0,i.jsx)("span",{children:null==b?void 0:b.shareOnHoverText})]})]})})]})})})}}}]);
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.