1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3506],{3506:function(e,t,n){n.d(t,{Z:function(){return B}});var a,s=n(29),i=n(2777),r=n(2262),o=n(748),l=n(5959),c=n(3553),d=n(7247),u=n(9499),p=n(7794),h=n.n(p),m=n(1664),v=n.n(m),x=n(7294),f=n(5658),g=n(8233),w=n(6066),b=(n(5012),n(9761)),y=n.n(b),j=n(7751),I=n(732),k=n(5675),N=n.n(k),S=n(775),_=n(1877),L=n(764),Z=n(7653),C=n(5516),W=n(2920),R=n(6388),P=n(5893);function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){(0,u.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function H(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=(0,d.Z)(e);if(t){var s=(0,d.Z)(this).constructor;n=Reflect.construct(a,arguments,s)}else n=a.apply(this,arguments);return(0,c.Z)(this,n)}}var z=(null===(a=window)||void 0===a?void 0:a.innerWidth)<1024,B=function(e){(0,l.Z)(n,e);var t=H(n);function n(e){var a;return(0,i.Z)(this,n),a=t.call(this,e),(0,u.Z)((0,o.Z)(a),"updateStickyImage",(function(){var e;if("anchoredRail"===(null===(e=a.props.playListInfo)||void 0===e?void 0:e.layoutType)){var t=(a.props.playListInfo.images||[]).find((function(e){return"hdpi"===e.profile}));a.setState({stickyimage:(null===t||void 0===t?void 0:t.link)||null})}else a.setState({stickyimage:null})})),(0,u.Z)((0,o.Z)(a),"getComponentData",(function(){f.default.getCarouselData(a.props.playListInfo.name,1,10).then((function(e){if(e&&e.data&&e.data.results&&e.data.results.length>0){var t=e.data.results;"standardListItem"===a.props.playListInfo.layoutType&&(t=t.slice(0,10)),a.setState({contentList:t})}})).catch((function(e){console.error("getComponentData error",e)}))})),(0,u.Z)((0,o.Z)(a),"checkfavstatus",(function(e){})),(0,u.Z)((0,o.Z)(a),"setfavorite",(function(e,t){null===localStorage.getItem("Logged-in")||void 0===localStorage.getItem("Logged-in")?a.context.setShowSignin(!0):f.default.sendFavoriteStatus(e._id).then((function(n){if((200===n.data.code||201===n.data.code)&&"SUCCESS"===n.data.status){var s;s=null!==e.globalServiceId||void 0!==e.globalServiceId?e.globalServiceId:"na";var i="";n.data.message.includes("Added")?(a.setState((function(t){return{wat
1chListStatus:T(T({},t.watchListStatus),{},(0,u.Z)({},e._id,!0))}})),i="Added",(0,R.bv)("watchlist_lifecycle",null,{extraInfo:{login_type:"password",watchlist_state:i}}),(0,W.Am)(n.data.message,{position:"bottom-center",autoClose:2e3,hideProgressBar:!0,closeOnClick:!1,pauseOnHover:!1,draggable:!1,progress:0})):n.data.message.includes("Removed")&&(a.setState((function(t){return{watchListStatus:T(T({},t.watchListStatus),{},(0,u.Z)({},e._id,!1))}})),i="Removed",(0,R.bv)("watchlist_lifecycle",null,{extraInfo:{login_type:"password",watchlist_state:i}}),(0,W.Am)(n.data.message,{position:"bottom-center",autoClose:2e3,hideProgressBar:!0,closeOnClick:!1,pauseOnHover:!1,draggable:!1,progress:0})),(0,C.UO)(i,t,e._id,(0,I.fK)(e.content.language),(0,I.OT)(e.content.genre),"Banner","Banner",s)}}))})),a.next=a.next.bind((0,o.Z)(a)),a.previous=a.previous.bind((0,o.Z)(a)),a.state={contentList:[],watchListIcon:Z.Z.src,rankingCardImages:[],currentSlide:0,hoveredIndex:null,stickyimage:null,watchListStatus:{},sliderShift:0,isPlayHover:!1,isWatchHover:!1,stdHoverWishlistIndex:null,stdHoverPlayIndex:null},a.hoverTimeout=null,a}return(0,r.Z)(n,[{key:"next",value:function(){this.slider.slickNext()}},{key:"previous",value:function(){this.slider.slickPrev()}},{key:"componentDidMount",value:function(){this.props&&this.props.playListInfo&&this.getComponentData(),this.props&&this.props.playListInfo&&this.checkWatchlistStatus();var e=(0,I.lT)("properties");this.setRankingImages(e),this.updateStickyImage()}},{key:"componentDidUpdate",value:function(e){e.playListInfo.name!==this.props.playListInfo.name&&(this.setState({contentList:[]}),this.getComponentData(),this.updateStickyImage())}},{key:"setRankingImages",value:function(e){if(e&&e.rankingCardImages)try{this.setState({rankingCardImages:JSON.parse(e.rankingCardImages).web})}catch(t){console.error("Invalid JSON in rankingCardImages:",t)}}},{key:"checkWatchlistStatus",value:function(){var e=(0,s.Z)(h().mark((function e(){var t;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,_.z)();case 2:t=e.sent,this.setState({watchListStatus:t});case 4:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"render",value:function(){var e,t,n,a,i,r=this,o="rankingRailThumbItemV1"===this.props.playListInfo.layoutType,l="anchoredRail"===this.props.playListInfo.layoutType,c="standardListItem"===this.props.playListInfo.layoutType,d=this.state,u=d.currentSlide,p=d.hoveredIndex,m={width:"w-[clamp(200px,32vw,600px)]",height:"h-[clamp(150px,22.5vw,450px)]",width_10:"",height_10:"",hoverWidth:"",hoverHeight_10:""},x={width:"w-[clamp(118px,12.8vw,280px);]",height:"h-[clamp(180px,18.5vw,380px)]",width_10:"w-[clamp(125px,12.8vw,280px);]",height_10:"h-[clamp(210px,18.5vw,380px)]",hoverWidth:"lg:group-hover:w-[clamp(120px,34.2vw,650px)]",hoverWidth_10:"lg:group-hover:w-[clamp(120px,34.2vw,650px)]"};o?(a=6.3,i=4.4):l?(a=6.6,i=6.5):c?(a=2.97,i=2):(a=7.1,i=6);var f=window.innerWidth;f<=325?(a=o?2:c?1.5:l?1.85:2.5,i=o?2:c?1:2):f<=375?(a=o?2.3:c?1.65:l?2.1:2.69,i=o?2:c?1:l?2.45:3):f<=435?(a=o?2.55:c?1.8:l?2.4:3,i=o?2:c?1:l?2.5:3):f<=635?(a=o?3.5:c?2.5:l?3.6:4.2,i=o||c?2:3):f<=768?(a=o?4.5:c?2.95:l?4.8:5.4,i=o||c?2:3):f<=880?(a=o?5.3:c?2.9:l?5.8:6.2,i=o||c?2:3):f<=1024?(a=o?5.9:c?3:l?6.85:7.3,i=o?3:c?2:l?3.5:4):f>=2500&&(a=o?7:c?4:l?7.85:8.3,i=o||c?3:l?3.5:4);var b={slidesToShow:a,slidesToScroll:i,infinite:!1,dots:!1,arrows:!0,initialSlide:0,beforeChange:function(e,t){r.setState({currentSlide:t})}},k=u+Math.floor(a)-1,S=this.state.contentList.length,_=Math.ceil(a),O=S-_;return(0,P.jsxs)("div",{className:y().latest,children:[(0,P.jsx)(W.Ix,{}),this.state.contentList.length>0&&(0,P.jsx)("div",{className:"2xl:ml-[2.5rem] md:ml-[1.8rem] xs:ml-[1rem] ".concat(l?"ml-[2rem] ":""),children:(0,P.jsxs)("div",{className:"overflow-x-hidden w-full float-left pb-[1.5rem] ".concat(o?"pb-[2rem]":""," relative"),children:[(0,P.jsxs)("div",{className:"w-full px-1.5 py-1 mb-1 flex w-full justify-between ",children:[(0,P.jsx)(v(),{href:(0,j.QZ)(this.state.contentList[0],this.props),children:(0,P.jsx)("a",{children:(0,P.jsx)("h2",{className:"text-[clamp(15px,1.6vw,18px)] leading-normal capitalize p-0 m-0 text-white cursor-pointer whitespace-nowrap overflow-hidden text-ellipsis inline-block font-semibold border-none",children:this.props.playListInfo&&this.props.playListInfo.title})})}),this.state.contentList.length>7&&(0,P.jsx)("div",{className:"w[80%] mr-5 ",children:(0,P.jsx)(v(),{href:(0,j.QZ)(this.state.contentList[0],this.props),children:(0,P.jsx)("a",{children:(0,P.jsx)("div",{children:(0,P.jsx)("button",{className:"text-white px-2 text-sm font-bold cursor-pointer",type:"button",onClick:function(){(0,I.AF)(1,0,r.props.carouselposition,"View All",r.props.playListInfo.title),setTimeout((0,s.Z)(h().mark((function e(){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(0,C.fh)(),e.next=3,(0,R.bv)("viewall_clicked",null);case 3:case"end":return e.stop()}}),e)}))),1500)},children:"View All"})})})})})]}),(0,P.jsxs)("div",{className:"".concat((["rankingRailThumbItemV1"].includes(this.props.playListInfo.layoutType),"")),children:[(0,P.jsx)("div",{className:"hidden lg:block",children:(null===(e=this.state)||void 0===e||null===(t=e.contentList)||void 0===t?void 0:t.length)>a&&this.state.currentSlide>0&&(0,P.jsx)("div",{className:"absolute top-1/2 -translate-y-[50%] bg-gradient-to-r from-black/90 from-[15%] via-black/30 via-[100%] flex items-center justify-center h-[8rem] w-[3rem] z-20 rounded-r-md cursor-pointer",style:{display:"flex"},onClick:function(){var e;return null===(e=r.slider)||void 0===e?void 0:e.slickPrev()},children:(0,P.jsx)("img",{src:"/images/Icons/Left_arrow.svg",className:"w-[2rem] h-[3rem] cursor-pointer",alt:"Left Arrow"})})}),(0,P.jsx)("div",{className:"".concat(l?"pl-[clamp(4.7rem,7.5vw,12rem)] 5xl:pl-[clamp(4.7rem,6vw,12rem)]":""),children:(0,P.jsx)(w.Z,T(T({ref:function(e){return r.slider=e}}
1,b),{},{className:" ".concat("rankingRailThumbItemV1"===(null===(n=this.props.playListInfo)||void 0===n?void 0:n.layoutType)?" [&_.slick-track]:xl:ml-[2rem] [&_.slick-track]:lg:ml-8 [&_.slick-track]:md:ml-[1.5rem] [&_.slick-track]:sm:ml-[2rem] [&_.slick-track]:xs:ml-[1rem]":""," !overflow-visible ").concat(l?"[&_.slick-track]:w-[100%]":""," "),children:this.state.contentList.map((function(e,t){var n,a,s,i,l,d,u,h=p===t,f=null!==p&&p>=k-1,w="group relative mr-2 transition-all duration-200 ease-linear overflow-visible";!c&&null!==p&&!f&&t>p&&(w+=" translate-x-[clamp(120px,21.5vw,680px)] 5xl:translate-x-[clamp(120px,21.5vw,380px)] will-change-transform"),!c&&null!==p&&f&&t<p&&(w+=" -translate-x-[clamp(200px,21.5vw,420px)] 5xl:-translate-x-[clamp(200px,21.5vw,380px)] will-change-transform"),!c&&null!==p&&f&&h&&(w+="\n -translate-x-[".concat(410,"px]\n lg:-translate-x-[clamp(200px,21.5vw,420px)] 5xl:-translate-x-[clamp(120px,21.5vw,380px)]\n will-change-transform\n "));var b=z?{}:{onMouseEnter:function(){clearTimeout(r.hoverTimeout),r.hoverTimeout=setTimeout((function(){r.setState({hoveredIndex:t})}),400)},onMouseLeave:function(){clearTimeout(r.hoverTimeout),r.setState({hoveredIndex:null})}},y=c?m:x,S=y.width,_=y.height,C=y.width_10,W=y.height_10,R=y.hoverWidth,O=y.hoverWidth_10,H=(0,g.Z)(e.images.values,"mdpi","thumbnail"),B=(0,g.Z)(e.images.values,"mdpi","coverposter"),D=(0,g.Z)(e.images.values,"xhdpi","preview"),E=(0,I.g9)(e.content.duration,!0),M=60*parseInt(E.hours||0)+parseInt(E.minutes||0);return(0,P.jsx)("div",T(T({className:w,onClick:function(){(0,I.Eu)(t,e.generalInfo._id,r.props.carouselposition,"carousel",r.props.playListInfo.title),(0,I.AF)(t,e.generalInfo._id,r.props.carouselposition,"carousel",r.props.playListInfo.title)}},b),{},{children:(0,P.jsx)(v(),{href:"".concat((0,j.Ct)(e)),legacyBehavior:!0,children:(0,P.jsxs)("a",{className:"block",children:[o&&(0,P.jsxs)("div",{className:"relative w-full overflow-visible group",children:[(0,P.jsx)("div",{className:"absolute w-[50%] right-[65%] top-[clamp(50%,58%,70%)] z-20",children:r.state.rankingCardImages.length>0&&(0,P.jsx)("img",{src:r.state.rankingCardImages.replace("{NUMBER}",t+1),alt:"Rank ".concat(t+1),className:"h-[clamp(90px,7.8vw,180px)]"})}),(0,P.jsxs)("div",{className:"\n relative ".concat(C," ").concat(W,"\n ").concat(h?O:C,"\n transition-[transform,width] duration-150 ease-[
1cubic-bezier(0.23,1,0.32,1)]\n will-change-transform\n cursor-pointer overflow-visible\n "),children:[h&&(0,P.jsx)("div",{className:" absolute inset-0 -left-[2rem] -right-[2rem] z-0 "}),(0,P.jsxs)("div",{className:"relative z-10 w-full h-full overflow-hidden rounded-lg",children:[null!==e&&void 0!==e&&null!==(n=e.generalInfo)&&void 0!==n&&n.topRightBadge?(0,P.jsx)("img",{src:e.generalInfo.topRightBadge,alt:"top-right-badge",className:" absolute top-0 right-[clamp(0px,0vw,10px)] z-[60] h-[clamp(30px,4vw,45px)] w-auto max-w-[55%] object-contain pointer-events-none rounded-sm "}):e.generalInfo.contentRights&&e.generalInfo.contentRights.length>0&&"avod"===e.generalInfo.contentRights[0]&&(0,P.jsx)("div",{className:" absolute top-[clamp(6px,0.5vw,10px)] right-[clamp(0px,0vw,10px)] w-[clamp(35px,6vw,50px)] h-[clamp(30px,4vw,40px)] transition-all duration-100 ease-in-out z-[50] ",children:(0,P.jsx)(N(),{src:"/images/Icons/Free_tag.png",alt:"free_badge",layout:"fill",className:"object-cover !rounded-none"})}),(0,P.jsx)("img",{src:H,alt:"",className:"\n absolute inset-0 w-full h-full object-cover\n transition-opacity duration-75 ease-linear\n ".concat(h?"opacity-0":"opacity-100","\n ")}),(0,P.jsx)("img",{src:B,alt:"",className:"\n absolute inset-0 w-full h-full object-cover\n transition-opacity duration-75 ease-linear\n ".concat(h?"opacity-100":"opacity-0","\n ")}),!h&&(null===e||void 0===e||null===(a=e.generalInfo)||void 0===a?void 0:a.bottomCenterLabel)&&(0,P.jsx)("img",{src:e.generalInfo.bottomCenterLabel,alt:"bottom-center-badge",className:" absolute bottom-[0rem] left-1/2 -translate-x-1/2 z-[20] pointer-events-none h-[clamp(15px,3.2vw,25px)] w-auto max-w-[65%] object-contain rounded-sm "})]})]})]}),!o&&(0,P.jsxs)("div",{className:"\n relative \n ".concat(S," ").concat(_," \n ").concat(h?R:S," rounded-lg overflow-hidden cursor-pointer transition-[transform,width] duration-150 ease-[
1cubic-bezier(0.23,1,0.32,1)] will-change-transform\n "),children:[(0,P.jsx)("div",{className:" absolute bottom-0 left-0 w-full h-[32%] bg-gradient-to-t from-black/70 via-black/20 to-transparent pointer-events-none z-[5] opacity-100 transition-opacity duration-200 "}),(null===e||void 0===e||null===(s=e.generalInfo)||void 0===s?void 0:s.topLeftBadge)&&(0,P.jsx)("img",{src:e.generalInfo.topLeftBadge,alt:"top-left-badge",className:" absolute top-0 left-[clamp(0px,0vw,10px)] z-[20] h-[clamp(30px,4vw,45px)] w-auto max-w-[55%] object-contain pointer-events-none rounded-sm "}),null!==e&&void 0!==e&&null!==(i=e.generalInfo)&&void 0!==i&&i.topRightBadge?(0,P.jsx)("img",{src:e.generalInfo.topRightBadge,alt:"top-right-badge",className:" absolute top-0 right-[clamp(0px,0vw,9px)] z-[60] h-[clamp(28px,3.5vw,42px)] w-auto max-w-[55%] object-contain pointer-events-none rounded-sm "}):e.generalInfo.contentRights&&e.generalInfo.contentRights.length>0&&"avod"===e.generalInfo.contentRights[0]&&(0,P.jsx)("div",{className:" absolute top-[clamp(0px,2vw,2px)] right-[clamp(0px,0vw,9px)] w-[clamp(35px,6vw,50px)] h-[clamp(30px,4vw,40px)] transition-all duration-100 ease-in-out z-[50] ",children:(0,P.jsx)(N(),{src:"/images/Icons/Free_tag.png",alt:"free_badge",layout:"fill",className:"object-cover !rounded-none"})}),c&&(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)("img",{src:D||"images/placeholders/placeholder_coverposter.png",alt:(null===(l=e.generalInfo)||void 0===l?void 0:l.title)||"poster",className:"absolute inset-0 w-full h-full object-cover"}),(null===e||void 0===e||null===(d=e.generalInfo)||void 0===d?void 0:d.bottomCenterLabel)&&(0,P.jsx)("img",{src:e.generalInfo.bottomCenterLabel,alt:"bottom-center-badge",className:" absolute bottom-[0rem] left-1/2 -translate-x-1/2 z-[20] pointer-events-none h-[clamp(15px,3.2vw,25px)] w-auto max-w-[70%] object-contain rounded-sm "})]}),!c&&(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)("img",{src:H,alt:"",className:"\n absolute inset-0 w-full h-full object-cover\n transition-opacity duration-75 ease-linear\n ".concat(h?"opacity-0":"opacity-100","\n ")}),(0,P.jsx)("img",{src:B,alt:"",className:"\n absolute inset-0 w-full h-full object-cover\n transition-opacity duration-75 ease-linear\n ".concat(h?"opacity-100":"opacity-0","\n ")}),!h&&(null===e||void 0===e||null===(u=e.generalInfo)||void 0===u?void 0:u.bottomCenterLabel)&&(0,P.jsx)("img",{src:e.generalInfo.bottomCenterLabel,alt:"bottom-center-badge",className:" absolute bottom-[0rem] left-1/2 -translate-x-1/2 z-[90] pointer-events-none h-[clamp(15px,2.2vw,25px)] w-auto max-w-[70%] object-contain rounded-sm "})]})]}),!z&&h&&!c&&(0,P.jsxs)("div",{className:"\n absolute inset-0 \n opacity-0 \n group-hover:opacity-100\n transition-opacity duration-400 \n ease-[cubic-bezier(0.23,1,0.32,1)]\n pointer-events-none group-hover:pointer-events-auto\n ".concat(x.width," ").concat(x.height," ").concat(o?x.hoverWidth_10:x.hoverWidth," ease-in-out top-[1rem] overflow-hidden ").concat(h?"pointer-events-auto":"pointer-events-none"),children:[(0,P.jsx)("div",{className:"absolute bottom-0 left-0 w-full h-[40%] bg-gradient-to-t from-black/95 via-black/50 to-transparent"}),(0,P.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/90 via-transparent to-transparent flex flex-col justify-end p-5 text-white",children:(0,P.jsxs)("div",{className:"".concat(o?"ml-[5%]":""," flex flex-col"),children:[(0,P.jsx)("div",{className:"flex items-center mb-4",children:"promotion"!==e.generalInfo.type?(0,P.jsxs)("ul",{className:"flex flex-wrap items-center text-white text-l p-0 m-0 gap-x-2 gap-y-1",children:[(0,P.jsxs)("li",{className:"flex items-center",children:[(0,I.Yq)(e.content.language)," |"]}),(0,P.jsxs)("li",{className:"flex items-center",children:[(0,I.OT)(e.content.genre)," |"]}),(0,P.jsxs)("li",{className:"flex items-center",children:[(0,I.So)(e.content.releaseDate)," |"]}),(0,P.jsxs)("li",{className:"flex items-center",children:[M," min"]})]}):""}),(0,P.jsxs)("div",{className:"hidden lg:flex space-x-4 items-center",children:[(0,P.jsxs)("a",{className:"bg-white/30 hover:bg-white hover:text-black w-[20rem] h-[3rem] rounded-[6px] border-[0.5px] border-white text-center text-sm justify-center flex text-white font-bold items-center",onMouseEnter:function(){return r.setState({isPlayHover:!0})},onMouseLeave:function(){return r.setState({isPlayHover:!1})},children:[(0,P.jsx)("img",{src:r.state.isPlayHover?"/images/Icons/play_btn_hover.svg":"/images/Icons/Play.svg",alt:"Play Icon",width:24,height:24,className:"w-6 h-6 mr-1"}),(0,P.jsx)("button",{className:"ml-2 text-base font-bold",children:"Watch Now"})]}),(0,P.jsxs)("div",{className:"relative flex items-center",onMouseEnter:function(){return r.setState({isWatchHover:!0})},onMouseLeave:function(){return r.setState({isWatchHover:!1})},children:[(0,P.jsx)("div",{className:"\n absolute bottom-[
1110%] left-1/2 -translate-x-1/2 \n px-3 py-2 rounded-md bg-white font-semibold text-black text-sm\n whitespace-nowrap z-50 \n transition-opacity duration-200\n ".concat(r.state.isWatchHover?"opacity-100":"opacity-0","\n "),children:r.state.watchListStatus[e._id]?"Remove from Watchlist":"Add to Watchlist"}),(0,P.jsx)("button",{onClick:function(t){t.stopPropagation(),t.preventDefault(),r.setfavorite(e,e.generalInfo.title)},className:"bg-white/30 hover:bg-white w-[2.5rem] h-[3rem] rounded-[6px] border-[0.5px] border-white font-semibold flex justify-center items-center",children:(0,P.jsx)("img",{src:r.state.watchListStatus[e._id]?r.state.isWatchHover?"/images/Icons/Tick_black.svg":L.Z.src:r.state.isWatchHover?"/images/Icons/Watchlist_hover.svg":Z.Z.src,alt:"watchlist",className:"w-[20px] h-[20px]"})})]})]})]})})]}),c&&(0,P.jsx)("div",{className:"absolute z-50 text-white bottom-[1rem] ml-3",children:(0,P.jsxs)("div",{className:"hidden lg:flex space-x-4 items-center",children:[(0,P.jsxs)("div",{className:"relative",onMouseEnter:function(){return r.setState({stdHoverPlayIndex:t})},onMouseLeave:function(){return r.setState({stdHoverPlayIndex:null})},children:[(0,P.jsx)("div",{className:"\n absolute bottom-[110%] left-0 translate-x-0\n px-3 py-1 rounded-md bg-white font-semibold text-black text-sm\n whitespace-nowrap z-50\n transition-opacity duration-200\n ".concat(r.state.stdHoverPlayIndex===t?"opacity-100":"opacity-0","\n "),children:"Watch Now"}),(0,P.jsx)("a",{className:"\n w-[3rem] h-[3rem]\n rounded-[6px] border-[0.5px] border-white\n flex justify-center items-center\n transition-all duration-200\n ".concat(r.state.stdHoverPlayIndex===t?"bg-white":"bg-white/30","\n "),children:(0,P.jsx)("img",{className:"w-[25px] h-[25px]",src:r.state.stdHoverPlayIndex===t?"/images/Icons/play_btn_hover.svg":"/images/Icons/Play.svg",alt:"play_icon"})})]}),(0,P.jsxs)("div",{className:"relative",onMouseEnter:function(){return r.setState({stdHoverWishlistIndex:t})},onMouseLeave:function(){return r.setState({stdHoverWishlistIndex:null})},children:[(0,P.jsx)("div",{className:"\n absolute bottom-[110%] left-1/2 -translate-x-1/2\n px-3 py-1 rounded-md bg-white font-semibold text-black text-sm\n whitespace-nowrap z-50\n transition-opacity duration-200\n ".concat(r.state.stdHoverWishlistIndex===t?"opacity-100":"opacity-0","\n "),children:r.state.watchListStatus[e._id]?"Remove from Watchlist":"Add to Watchlist"}),(0,P.jsx)("button",{onClick:function(t){t.stopPropagation(),t.preventDefault(),r.setfavorite(e,e.generalInfo.title)},className:"\n w-[3rem] h-[3rem]\n rounded-[6px] border-[0.5px] border-white\n flex justify-center items-center ml-2\n transition-all duration-200\n ".concat(r.state.stdHoverWishlistIndex===t?"bg-white":"bg-white/30","\n "),children:(0,P.jsx)("img",{className:"w-[20px] h-[20px]",src:r.state.watchListStatus[e._id]?r.state.stdHoverWishlistIndex===t?"/images/Icons/Tick_black.svg":L.Z.src:r.state.stdHoverWishlistIndex===t?"/images/Icons/Watchlist_hover.svg":Z.Z.src,alt:"watchlist"})})]})]})})]})})}),t)}))}))}),this.state.stickyimage&&(0,P.jsx)(v(),{href:(0,j.QZ)(this.state.contentList[0],this.props),children:(0,P.jsx)("a",{children:(0,P.jsx)("div",{className:"w-[clamp(70px,14.9vw,130px)] top-[clamp(41px,3vw,45px)] absolute left-0 flex items-center justify-start",children:(0,P.jsx)("img",{src:this.state.stickyimage,alt:"Sticky Banner",className:"\n object-contain \n ".concat("h-[clamp(180px,18.5vw,380px)]"," \n ")})})})}),(0,P.jsx)("div",{className:"hidden lg:block",children:S>_&&this.state.currentSlide<O&&(0,P.jsx)("div",{className:"absolute right-[0%] top-1/2 -translate-y-[50%] bg-gradient-to-l from-black/90 from-[15%] via-black/30 via-[100%] flex items-center justify-center h-[8rem] w-[3rem] z-20 rounded-l-md cursor-pointer ",style:{display:"flex"},onClick:function(){var e;return null===(e=r.slider)||void 0===e?void 0:e.slickNext()},children:(0,P.jsx)("img",{src:"/images/Icons/Right_arrow.svg",className:"w-[2rem] h-[3rem] cursor-pointer",alt:"Right Arrow"})})})]})]})})]})}}]),n}(x.Component);(0,u.Z)(B,"contextType",S.Z)},1877:function(e,t,n){n.d(t,{m:function(){return l},z:function(){return o}});var a=n(29),s=n(7794),i=n.n(s),r=n(5658),o=function(){var e=(0,a.Z)(i().mark((function e(){var t,n;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,r.default.getResults();case 3:if("SUCCESS"===(null===(n=e.sent)||void 0===n||null===(t=n.data)||void 0===t?void 0:t.status)){e.next=6;break}return e.abrupt("return",{});case 6:return e.abrupt("return",n.data.results.reduce((function(e,t){var n,a=null===(n=t.generalInfo)||void 0===n?void 0:n._id;return a&&(e[a]=!0),e}),{}));case 9:return e.prev=9,e.t0=e.catch(0),console.error("Failed to load watchlist",e.t0),e.abrupt("return",{});case 13:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(){return e.apply(this,arguments)}}(),l=function(){var e=(0,a.Z)(i().mark((function e(){var t,n;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,r.default.shortsGetWatchlist();case 3:if("SUCCESS"===(null===(n=e.sent)||void 0===n||null===(t=n.data)||void 0===t?void 0:t.status)){e.next=6;break}return e.abrupt("return",{});case 6:return e.abrupt("return",n.data.results.reduce((function(e,t){var n,a,s=t._id||(null===(n=t.generalInfo)||void 0===n?void 0:n._id)||t.contentId;return s&&(e[s]=!0),null!==(a=t.generalInfo)&&void 0!==a&&a._id&&t.generalInfo._id!==s&&(e[t.generalInfo._id]=!0),e}),{}));case 9:return e.prev=9,e.t0=e.catch(0),console.error("Failed to load shorts watchlist",e.t0),e.abrupt("return",{});case 13:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(){return e.apply(this,arguments)}}()},764:function(e,t){t.Z={src:"/_next/static/media/Tick.7e19e671.svg",height:24,width:24}},7653:function(e,t){t.Z={src:"/_next/static/media/Wishlist.f896a01f.svg",height:24,width:24}}}]);
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.