PageSourceSearch

https://enwebasset.cdnassets.erosnow.com/production/music-videos-mixes-page.cbaf16ddc618bd2e19a1.js

js erosnow.com collected 2026-10-01 10:25:35 UTC 30,656 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[16],{1282:function(t,e,i){"use strict";var a=i(1);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=a(i(1283)).default;e.default=s},1283:function(t,e,i){"use strict";i.r(e);var a=i(2257),s=i(1284);for(var n in s)"default"!==n&&function(t){i.d(e,t,(function(){return s[t]}))}(n);i(1287);var o=i(181),r=Object(o.default)(s.default,a.render,a.staticRenderFns,!1,null,null,null);r.options.__file="src/pages/MusicVideoMixesDetailsPage/MusicVideoMixesDetailsPage.vue",e.default=r.exports},1284:function(t,e,i){"use strict";i.r(e);var a=i(1285),s=i.n(a);for(var n in a)"default"!==n&&function(t){i.d(e,t,(function(){return a[t]}))}(n);e.default=s.a},1285:function(t,e,i){"use strict";var a=i(1);i(2),i(155),i(66),i(71),i(156),i(157),i(99),i(134),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=a(i(163)),n=a(i(142)),o=i(164),r=a(i(1286)),l=a(i(609)),d=a(i(187)),c=i(340),u=a(i(1222)),h=a(i(1190)),f=a(i(903)),p=a(i(531)),v=a(i(841)),y=a(i(906)),m=a(i(305)),P=i(238),g=a(i(757)),_=a(i(1263)),b=a(i(662));function D(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function I(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?D(Object(i),!0).forEach((function(e){(0,s.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):D(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var T={name:"MusicVideoMixesDetailsPage",components:{LazyImage:d.default,Breadcrumbs:h.default,VideoPlayer:y.default,PaginatedGridPlaylist:u.default,AlbumActions:p.default,SocialSharing:m.default,CarouselPlaylist:g.default,EntityHeading:_.default,FavouriteButton:v.default},extends:f.default,asyncData:function(t){var e=this,i=t.store,a=t.route;(0,l.default)({module:(0,r.default)(),moduleName:"musicVideoMixesDetailsPage",store:i}),i.dispatch("musicVideoMixesDetailsPage/resetState");var s=a.params.playlistId;return i.dispatch("musicVideoMixesDetailsPage/fetchPlaylistDataById",s).then(function(t){(0,n.default)(this,e);var s=a.query.mixIndex||0;return i.dispatch("musicVideoMixesDetailsPage/fetchMusicVideosRecommendations",t.data[s].content.content_id)}.bind(this))},data:function(){return{showPlayVideo:null,isMobile:_USER_AGENT_.isMobile}},computed:I({actionKeys:function(){return["addToPlaylist","share"]},isFavourite:function(){return this.playlistData.is_favorite},shareUrl:function(){return"".concat(P.ErosNowUrl).concat(this.$route.fullPath)},currentVideoContentData:function(){return this.playlistData.data[this.currentIndex].content},playerData:function(){var t=this.currentVideoContentData;return{assetType:t.asset_type,assetId:t.asset_id,contentId:t.content_id,contentTypeId:t.content_type_id,playerTitle:t.title,images:t.images,isFree:"YES"===t.free}},currentIndex:function(){return parseInt(this.$route.query.mixIndex)||0}},(0,o.mapState)({playlistData:function(t){return(0,n.default)(this,void 0),t.musicVideoMixesDetailsPage.playlistData}.bind(void 0),recommendations:function(t){return(0,n.default)(this,void 0),t.musicVideoMixesDetailsPage.recommendations}.bind(void 0),playlistImage:function(t){var e=this.currentVideoContentData.images;return(0,c.getEntityImage)("PLAYLIST","h-thumb",e)},purchaseUrl:function(t){return(0,c.getPurchaseUrl)({rurl:"".concat(P.ErosNowUrl).concat(this.$route.fullPath)},t.route)},breadcrumbData:function(){var t=[{title:"Music",path:"/music"},{title:"Albums",path:"/music/explore"},{title:this.playlistData.title,path:"",disabled:!0}];return t}})),watch:{playerData:function(t,e){(0,b.default)(t,e)||(this.showPlayVideo=!0)}},beforeCreate:function(){(0,l.default)({module:(0,r.default)(),moduleName:"musicVideoMixesDetailsPage",store:this.$store})},destroyed:function(){this.resetState(),this.$store.unregisterModule("musicVideoMixesDetailsPage")},methods:I({onWayPoint:function(t){"in"===t.going&&this.fetchPlaylistData(this.$route.params.assetId)},hideVideo:function(){this.showPlayVideo=!1},showVideo:function(){this.showPlayVideo=!0},playNext:function(){var t;t=this.currentIndex>=this.playlistData.data.length-1?0:this.currentIndex+1,this.$router.push("".concat(this.$route.path,"?mixIndex=").concat(t))}},(0,o.mapActions)({resetState:"musicVideoMixesDetailsPage/resetState",favouriteCallback:"musicVideoMixesDetailsPage/setFavorite",fetchPlaylistData:"musicVideoMixesDetailsPage/fetchPlaylistDataById",fetchMusicVideosRecommendations:"musicVideoMixesDetailsPage/fetchMusicVideosRecommendations"})),metaInfo:function(){var t={title:"Watch ".concat(this.playlistData.title||this.playlistData.playlist_title," Online"),description:"Watch ".concat(this.playlistData.title||this.playlistData.playlist_title," Online - Eros Now Playlist"),thumbnail:(0,c.getEntityImage)("PLAYLIST","share-img",this.playlistData.images),type:"video.other",bodyClass:"music-video-mixes-details-page"};return(0,c.getPageMeta)(t)}};e.default=T}
1,1286:function(t,e,i){"use strict";var a=i(1);i(94),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=a(i(142)),n=i(324),o=i(754),r=i(340),l=a(i(143)),d=function(){var t=this;(0,s.default)(this,void 0);var e=function(){return(0,s.default)(this,t),{playlistData:[],recommendations:[],recommendationsFetched:!1}}.bind(this),i={setPlaylistData:function(t,e){t.playlistData=e},setMusicVideosRecommendations:function(t,e){var i=this;t.recommendations=e.map(function(t){return(0,s.default)(this,i),t.content.asset_title=t.title,t}.bind(this)),t.recommendationsFetched=!0},resetState:function(t){t=(0,r.resetState)(t,e())},setFavorite:function(t,e){var i,a=e.status;"added"===a?i="true":"removed"===a&&(i="false"),t.playlistData&&l.default.set(t.playlistData,"is_favorite",i)}};return{namespaced:!0,state:e(),getters:{},actions:{setFavorite:function(t,e){(0,t.commit)("setFavorite",e)},fetchPlaylistDataById:function(t,e){var i=this,a=t.commit;return(0,n.fetchPlaylistDataById)(this.$apiClient,e).then(function(t){return(0,s.default)(this,i),a("setPlaylistData",t),t}.bind(this))},fetchMusicVideosRecommendations:function(t,e){var i=this,a=t.commit;return(0,o.fetchRecommendations)(this.$apiClient,"content",e).then(function(t){return(0,s.default)(this,i),a("setMusicVideosRecommendations",t),t}.bind(this))},resetState:function(t){(0,t.commit)("resetState")}},mutations:i}}.bind(void 0);e.default=d},1287:function(t,e,i){"use strict";i.r(e);var a=i(1288),s=i.n(a);for(var n in a)"default"!==n&&function(t){i.d(e,t,(function(){return a[t]}))}(n);e.default=s.a},1288:function(t,e,i){},2257:function(t,e,i){"use strict";i.r(e),i.d(e,"render",(function(){return a})),i.d(e,"staticRenderFns",(function(){return s}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"music-video-mixes-details-page-view"},[i("div",{staticClass:"music-video-mixes-details-bradcrumb resp-content"},[i("Breadcrumbs",{attrs:{"breadcrumb-data":t.breadcrumbData}})],1),i("div",{staticClass:"music-video-mix-content-wrap"},[i("div",{staticClass:"music-video-mix-banner-wrap"},[t.showPlayVideo?i("div",{staticClass:"video-banner-block"},[i("i",{staticClass:"icon icon-close icon-close-filled",on:{click:t.hideVideo}}),i("VideoPlayer",{attrs:{"player-data":t.playerData,"is-video-playlist":!0},on:{playComplete:t.playNext}})],1):i("div",{staticClass:"video-banner-block"},[i("i",{staticClass:"icon icon-play",on:{click:t.showVideo}}),i("LazyImage",{staticClass:"animated-gradient",attrs:{"data-src":t.playlistImage,"display-type":"bgImage"}}),i("EntityHeading",{attrs:{slot:"banner-content","play-video-handler":t.playVideo,"entity-data":t.currentVideoContentData,"purchase-url":t.purchaseUrl,"entity-type":"music-video","active-user-plan":t.activeUserPlan},slot:"banner-content"}),i("div",{staticClass:"banner-gradient bottom-gradient"})],1)]),i("div",{staticClass:"music-video-mix-grid-playlist resp-content"},[i("div",{staticClass:"music-video-mix-wrap"},[i("span",{staticClass:"music-video-mix-wrap-heading"},[t._v("\n                    Now Playing - "+t._s(t.currentIndex+1)+"/"+t._s(t.playlistData.playlist_count)+"\n                ")]),t.playlistData.data&&t.playlistData.data.length?i("PaginatedGridPlaylist",{attrs:{"display-type":"HBox","playlist-data":t.playlistData.data,"play-video-handler":t.playVideo}}):t._e()],1)])]),i("div",{staticClass:"music-video-info-wrap resp-content"},[i("p",{staticClass:"entity-heading1"},[t._v("EROS NOW PLAYLIST")]),i("h1",{staticClass:"entity-heading"},[t._v(t._s(t.playlistData.playlist_name))]),i("p",{staticClass:"entity-count"},[t._v(t._s(t.playlistData.playlist_count)+" Videos")]),i("div",{staticClass:"flex-box"},[i("div",[i("FavouriteButton",{attrs:{"entity-type":"music-video-mixes","favourite-handler":t.favouriteHandler,"asset-id":t.playlistData.asset_id,"action-type":"true"===t.isFavourite?"remove":"add"}}),t.playlistData?i("AlbumActions",{staticClass:"album-actions-main",attrs:{"action-keys":["addToPlaylist"],"item-props":t.playlistData,"is-logged-in":t.isLoggedIn}}):t._e()],1),i("div",[i("SocialSharing",{attrs:{url:t.shareUrl},inlineTemplate:{render:function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("Network",{attrs:{network:"facebook"}},[e("i",{staticClass:"icon icon-facebook btn btn-icon btn-default"})]),e("Network",{staticClass:"twitter-icon",attrs:{network:"twitter"}},[e("i",{staticClass:"icon icon-twitter btn btn-icon btn-default"})])],1)},staticRenderFns:[]}})],1)])]),i("div",{staticClass:"music-video-recommend--wrap"},[t.recommendations&&t.recommendations.length?[i("CarouselPlaylist",{attrs:{"playlist-data":t.recommendations,"playlist-title":"You Might Also Like","play-video-handler":t.playVideo,"watchlist-handler":t.watchlistHandler,"is-track-item-click-event":!0}})]:t._e()],2)])},s=[];a._withStripped=!0}
1,2347:function(t,e,i){"use strict";i.r(e),i.d(e,"render",(function(){return a})),i.d(e,"staticRenderFns",(function(){return s}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"video-player"},[t.showContentRating?i("div",{staticClass:"player-content-rating-wrap"},[t.videoProfile.maturity_rating?i("div",{staticClass:"player-content-rating"},[t._v("\n            "+t._s("RATED "+t.videoProfile.maturity_rating)+"\n        ")]):t._e(),t.videoProfile.descriptors?i("div",{staticClass:"player-content-descriptor"},[t._v("\n            "+t._s(t.videoProfile.descriptors.join(", "))+"\n        ")]):t._e()]):t._e(),t.videoProfileFetched?i("PlayerLogix",{key:t.playerKey,ref:"videoPlayer",attrs:{"content-playlist":t.contentPlaylist}}):i("div",{staticClass:"video-player-spinner"},[i("Spinner")],1)],1)},s=[];a._withStripped=!0},906:function(t,e,i){"use strict";var a=i(1);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=a(i(907)).default;e.default=s},907:function(t,e,i){"use strict";i.r(e);var a=i(2347),s=i(908);for(var n in s)"default"!==n&&function(t){i.d(e,t,(function(){return s[t]}))}(n);i(913);var o=i(181),r=Object(o.default)(s.default,a.render,a.staticRenderFns,!1,null,null,null);r.options.__file="src/components/VideoPlayer/VideoPlayer.vue",e.default=r.exports},908:function(t,e,i){"use strict";i.r(e);var a=i(909),s=i.n(a);for(var n in a)"default"!==n&&function(t){i.d(e,t,(function(){return a[t]}))}(n);e.default=s.a},909:function(t,e,i){"use strict";var a=i(1);i(2),i(66),i(461),i(71),i(84),i(86),i(321),i(97),i(156),i(157),i(99),i(100),i(102),i(116),i(121),i(125),i(462),i(134),i(136),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=a(i(163)),n=a(i(142)),o=i(164),r=i(238),l=a(i(609)),d=a(i(910)),c=i(340),u=i(611),h=a(i(538)),f=a(i(239)),p=a(i(569)),v=a(i(347)),y=i(753);function m(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function P(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?m(Object(i),!0).forEach((function(e){(0,s.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):m(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var g=i(545),_={name:"VideoPlayer",components:{PlayerLogix:function(){var t=this;return(0,n.default)(this,void 0),Promise.all([i.e(70),i.e(1),i.e(5)]).then(i.t.bind(null,915,7)).then(function(e){return(0,n.default)(this,t),e.default}.bind(this))}.bind(void 0)},mixins:[p.default],props:{playerData:{type:Object,default:function(){(0,n.default)(this,void 0)}.bind(void 0)},streamUrl:{type:String,default:""},isLoggedIn:{type:Boolean,default:!1},isVideoPlaylist:{type:Boolean,default:!1}},data:function(){return{fetchedGenres:null,fetchedCast:null,videoProfileFetched:!1,progressInterval:null,vastTagSchedule:null,isAVODContent:!1,totalWatchTime:0,previousPosition:0,nextPreviewTimeout:null,showContentRating:!1,playerKey:0}},computed:P(P({playerInstance:function(){return this.$refs.videoPlayer.playerInstance},duration:function(){return this.videoProfile&&this.videoProfile.progress?this.videoProfile.progress.duration_seconds:""}},(0,o.mapGetters)({getLocalStorage:"localStorage/getData"})),(0,o.mapState)({userUUID:function(t){return(0,n.default)(this,void 0),t.login.activeProductData.uuid}.bind(void 0),deviceID:function(t){return(0,n.default)(this,void 0),t.login.deviceID}.bind(void 0),deviceIP:function(t){return(0,n.default)(this,void 0),t.login.deviceIP}.bind(void 0),userData:function(t){return(0,n.default)(this,void 0),t.login.userData}.bind(void 0),activeUserPlan:function(t){return(0,n.default)(this,void 0),t.login.activeUserPlan}.bind(void 0),videoProfile:function(t){return(0,n.default)(this,void 0),t.moduleVideoPlayer.videoProfile||{}}.bind(void 0),countryCode:function(t){return(0,n.default)(this,void 0),t.app.userCountryData.country_code}.bind(void 0),videoUrl:function(){var t;if(this.videoProfile.live_stream_url)t=this.videoProfile.live_stream_url;else if(this.streamUrl)t=this.streamUrl;else{if(!this.videoProfile.profiles)return;var e,i=[];i=!0===this.videoProfile.isdrmprotected?"Safari"===_USER_AGENT_.browser?["HLS_FAIRPLAY_HD","HLS_FAIRPLAY_SD"]:["ADAPTIVE_DASH_HD","ADAPTIVE_DASH_SD"]:["ADAPTIVE_ALL","ADAPTIVE_SD"];for(var a=0;e=i[a];a++)if(this.videoProfile.profiles[e]&&this.videoProfile.profiles[e][0]&&this.videoProfile.profiles[e][0].url){t=this.videoProfile.profiles[e][0].url;break}}return t},playerTitle:function(){return this.videoProfile.content_title},maturity_rating:function(){return this.videoProfile.maturity_rating},descriptors:function(){return this.videoProfile.descriptors},playerAssetType:function(){var t;return null===(t=this.videoProfile)||void 0===t?void 0:t.asset_type},content_type_id:function(){var t;return null===(t=this.videoProfile)||void 0===t?void 0:t.content_type_id},content_id:function(){var t;return null===(t=this.videoProfile)||void 0===t?void 0:t.content_id},full_title:function(){var t;return null===(t=this.videoProfile)||void 0===t?void 0:t.content_title},assetId:function(){var t;return null===(t=this.videoProfile)||void 0===t?void 0:t.asset_id},sessionId:function(){var t;return null===(t=this.videoProfile)||void 0===t?void 0:t.sessionId},bumperVideo:function(){var t,e,i=this.playerData.contentTypeId;return(e=i===r.CONTENT_TYPE_IDS.musicVideo?r.BUMPER_VIDEOS.musicVideo:i===r.CONTENT_TYPE_IDS.original?r.BUMPER_VIDEOS.original:i===r.CONTENT_TYPE_IDS.episode?r.BUMPER_VIDEOS.tv:r.BUMPER_VIDEOS.movie)&&(t={file:e,image:this.backgroundImage,mmVideoAssetInfo:{assetId:"Bumper",assetName:"Bumper"}}),t},backgroundImage:function(){var t=g;if(this.playerData.images)if("string"==typeof this.playerData.images)t=this.playerData.images;else if(this.playerData.contentTypeId){t=(0,c.getEntityImage)(this.playerData.contentTypeId,"h-thumb",this.playerData.images)}return t},subtitles:function(){var t="premium"===this.activeUserPlan,e=[];
1if(this.videoProfile.subtitles&&t)for(var i in r.LANG_CODE)this.videoProfile.subtitles[i]&&this.videoProfile.subtitles[i].length>0&&e.push({file:this.videoProfile.subtitles[i],label:r.LANG_CODE[i],kind:"captions",default:!1});return e.push(this.previewThumbs),e},markerTime:function(){return+this.videoProfile.marker_time},previewThumbs:function(){return{file:this.videoProfile.stream_images_url,kind:"thumbnails"}},trialDuration:function(){return"FashionTV"===this.videoProfile.owner&&"premium"!==this.activeUserPlan&&"plus"!==this.activeUserPlan?300:0},progress:function(){if(this.videoProfile.progress&&!this.videoProfile.progress.completed){var t=parseInt(this.videoProfile.progress.progress),e=parseInt(this.videoProfile.progress.duration_seconds);return t>1&&e>t&&t<this.markerTime?t:0}return 0},contentPlaylist:function(){var t,e,i,a={customTags:{}},s=this.playerData?this.playerData:{},n=this.playerData&&this.playerData.contentData?this.playerData.contentData:{},o=P(P({},s),n),r=this.videoProfile?this.videoProfile:{};return(r.asset_id||o.asset_id||o.assetId)&&(a.assetId=r.asset_id||o.asset_id||o.assetId),(r.asset_title||o.asset_title||o.title)&&(a.assetName=r.asset_title||o.asset_title||o.title),(r.content_id||o.content_id||o.contentId)&&(a.videoId=r.content_id||o.content_id||o.contentId),(r.content_title||o.content_title)&&(a.customTags.mm_content_title=r.content_title||o.content_title),o.content_language&&"nul"!==o.content_language&&(a.customTags.mm_language=o.content_language),(r.release_date||o.release_year)&&(a.customTags.mm_release_year=r.release_date?r.release_date.split("-")[0]:o.release_year),(r.content_type_id||o.content_type_id||o.contentTypeId)&&(a.customTags.mm_content_type=r.content_type_id||o.content_type_id||o.contentTypeId),r.genres&&(i=this.videoProfile.genres.join(","))&&(a.customTags.mm_genre=i),[{title:this.playerTitle,maturity_rating:this.maturity_rating,descriptors:this.descriptors,assetType:this.playerAssetType,file:this.videoUrl,image:this.backgroundImage,tracks:this.subtitles,contenttype_Id:this.content_type_id,contentId:this.content_id,fullTitle:this.full_title,assetId:this.assetId,language:o.language||a.customTags.mm_language,sessionId:this.sessionId,mainContent:!0,duration:o.duration,tags:this.fetchedGenres,cast:this.fetchedCast,isFree:this.playerData.isFree||!1,country:this.countryCode,userEmail:(null===(t=this.userData)||void 0===t?void 0:t.email)||null,userMobile:(null===(e=this.userData)||void 0===e?void 0:e.mobile)||null,mmVideoAssetInfo:a}]}})),watch:{playerData:function(){this.fetchVideoProfile(),this.fetchMovieGenres()},videoProfile:{handler:function(t){try{console.log("videoProfile updated:",JSON.parse(JSON.stringify(t)))}catch(e){console.log("videoProfile updated (raw):",t)}},deep:!0}},created:function(){console.log("playerData (created):",JSON.parse(JSON.stringify(this.playerData))),eventBus.$on("playNextEpisode",this.handlePlayNextEpisode),eventBus.$on("playrecommendedwatchnow",this.handlePlayRecommnded),eventBus.$on("playAllEpisodeContent",this.handleAllEpisode),eventBus.$on("playRecommendedContent",this.handleSuggested)},beforeCreate:function(){(0,l.default)({module:(0,d.default)(),moduleName:"moduleVideoPlayer",store:this.$store})},beforeDestroy:function(){if(document.querySelector(".header").style.backgroundColor="",eventBus.$off("playNextEpisode",this.handlePlayNextEpisode),eventBus.$off("playrecommendedwatchnow",this.handlePlayRecommnded),eventBus.$off("playAllEpisodeContent",this.handleAllEpisode),eventBus.$off("playRecommendedContent",this.handleSuggested),this.progressInterval&&(clearInterval(this.progressInterval),this.progressInterval=null),this.$refs.videoPlayer){var t=this.$refs.videoPlayer.getPosition();this.sendProgress({position:t}),this.getLocalStorage(r.LOCAL_STORAGE_KEYS.isSamsungGalaxyApp)&&this.$galaxyTracker.trackGalaxyEvent({EventName:"VIDEO_STOP",Attributes:{VideoID:this.playerData.contentId,Brand:"ErosNow","Play Time":t}})}this.trialDuration&&(0,u.storeData)("ftvfc",!0),this.isAVODContent&&this.mzaaloContentViewed({totalWatchTime:this.totalWatchTime}),this.resetState()},destroyed:function(){this.$store.unregisterModule("moduleVideoPlayer"),this.isLoggedIn&&eventBus.$emit("refreshPage")},mounted:function(){document.querySelector(".header").style.backgroundColor="#11161f"},beforeMount:function(){this.streamUrl||(this.fetchVideoProfile(),this.fetchMovieGenres())},methods:P(P({fetchMovieGenres:function(){var t,e=this,i=null===(t=this.playerData)||void 0===t?void 0:t.assetId;i?(0,y.fetchMovieDetails)(this.$apiClient,i).then(function(t){(0,n.default)(this,e),t&&t.genre&&(this.fetchedGenres=t.genre,console.log("Fetched genres in VideoPlayer:",this.fetchedGenres)),t.people&&t.people.Actor&&(this.fetchedCast=t.people.Actor,console.log("Fetched cast in VideoPlayer:",this.fetchedCast))}.bind(this)).catch(function(t){(0,n.default)(this,e),console.error("Error fetching movie genres:",t)}.bind(this)):console.warn("No asset ID available to fetch movie genres")},handlePlayNextEpisode:function(){this.playerKey+=1},handlePlayRecommnded:function(){this.playerKey+=1},handleAllEpisode:function(){this.playerKey+=1},handleSuggested:function(){this.playerKey+=1},onSeek:function(t){this.previousPosition=t.offset},isMainContent:function(){var t=this.playerInstance&&this.playerInstance.getPlaylistItem();return t&&t.mainContent},onReady:function(t){this.getLocalStorage(r.LOCAL_STORAGE_KEYS.isSamsungGalaxyApp)&&this.$galaxyTracker.trackGalaxyEvent({EventName:"VIDEO_PLAY",Attributes:{VideoID:this.playerData.contentId,Brand:"ErosNow"}}),this.$emit("onReady",t)},onPlaylistComplete:function(t){!0===this.isVideoPlaylist?this.$emit("playComplete",t):this.showNextPreviewAction(!0)},mainContentPlaybackStart:function(){this.showContentRating=!0},onTrialPlaybackEnd:function(){this.trialDuration&&(this.closeVideoPlayer(),this.showSubscriptionModal({source:"FashionTV"}),(0,u.storeData)("ftvfc",!0))},fetchVideoProfile:function(){var t=this;this.resetAudioPlayerState();var e=this.playerData,i=e.assetType,a=e.contentId,s=e.provider;this.videoProfileFetched=!1;var o="premium"===this.activeUserPlan;if("Live TV"===i&&"ADT10"===s&&!o)return this.closeVideoPlayer(),void this.showSubscriptionModal({entityData:this.playerData});this.trialDuration&&(0,u.getData)("ftvfc")?(this.closeVideoPlayer(),this.showSubscriptionModal({source:"FashionTV"})):Promise.all([this.fetchVideoProfileAction({assetType:i,contentId:a,countryCode:this.countryCode,deviceID:this.deviceID,deviceIP:this.deviceIP})]).then(function(e){var a=this;(0,n.default)(this,t);var s=e[0];if("Live TV"===i&&"ADT10"===s.owner&&!o)return this.closeVideoPlayer(),void this.showSubscriptionModal({entityData:this.playerData});var r=(s.entitlements||[]).find(function(t){return(0,n.default)(this,a),"avod"===t.group}.bind(this));if(r&&"MZaalo"===this.activeUserPlan&&(this.isAVODContent=!0),[401,403,503,603].includes(s.status)){this.closeVideoPlayer();var l,d=s.data&&+s.data.code;
1if(d)[401,1403,1404,1419].includes(d)?l="svod":1420===d?l="avod-svod":1421===d&&(l="avod"),this.showSubscriptionModal({entityData:this.playerData,popupType:l});else this.videoProfileFetched=!0,eventBus.$emit("detectvideo")}else if(this.trialDuration&&(0,u.getData)("ftvfc"))this.closeVideoPlayer(),this.showSubscriptionModal({source:"FashionTV"});else{if(r&&"MZaalo"===this.activeUserPlan){var c={pub:f.default.vastTagPublisherId,adspace:f.default.vastTagAdSpaceId,vastver:"4.1",format:"video",videotype:"instream-pre",device:_USER_AGENT_.source,coppa:"0",fcid:this.userUUID,cs_deviceOs:_USER_AGENT_.os,cs_platform:f.default.vastTagPlatform,cs_contentId:this.playerData.contentId,cs_assetId:this.playerData.assetId,cs_country:this.countryCode},h=v.default.stringifyUrl({url:f.default.vastTagBaseUrl,query:c});this.vastTagSchedule=[{offset:"pre",tag:h}]}this.videoProfileFetched=!0,eventBus.$emit("detectvideo"),this.$emit("videoProfileFetched",!0)}}.bind(this))},sendProgress:function(t){var e=this.userUUID,i=this.playerData,a=i.contentId,s=i.contentTypeId;s=s||this.videoProfile.content_type_id;var n=[r.CONTENT_TYPE_IDS.fullLength,r.CONTENT_TYPE_IDS.original,r.CONTENT_TYPE_IDS.episode];if(e&&n.includes(parseInt(s))&&this.isMainContent()){var o=parseInt(t.position);return this.sendProgressAction({contentId:a,contentTypeId:s,userUUID:e,progress:o,completed:o>=this.markerTime?1:0})}},onPlay:function(){var t=this;if(this.progressInterval&&(clearInterval(this.progressInterval),this.progressInterval=null),this.$refs.videoPlayer){var e=this.$refs.videoPlayer.getPosition();this.progressInterval=setInterval(function(){(0,n.default)(this,t),this.$refs.videoPlayer&&e&&this.sendProgress({position:e})}.bind(this),5e3),this.getLocalStorage(r.LOCAL_STORAGE_KEYS.isSamsungGalaxyApp)&&this.$galaxyTracker.trackGalaxyEvent({EventName:"VIDEOPLAY ACTIONS",Attributes:{VideoID:this.playerData.contentId,Brand:"ErosNow","Action Type":"Play","Play Time":e}})}},onPause:function(t){"autostart"===t.pauseReason&&this.$refs.videoPlayer.play();var e=this.$refs.videoPlayer.getPosition();e&&this.sendProgress({position:e}),this.progressInterval&&(clearInterval(this.progressInterval),this.progressInterval=null),this.getLocalStorage(r.LOCAL_STORAGE_KEYS.isSamsungGalaxyApp)&&this.$galaxyTracker.trackGalaxyEvent({EventName:"VIDEOPLAY ACTIONS",Attributes:{VideoID:this.playerData.contentId,Brand:"ErosNow","Action Type":"Pause","Play Time":e}})},onTime:function(t){var e=t.position;this.totalWatchTime+=e-this.previousPosition,this.previousPosition=e},onFullscreen:function(t){this.getLocalStorage(r.LOCAL_STORAGE_KEYS.isSamsungGalaxyApp)&&this.$emit("onFullscreen",t)},sendPlayerLogs:function(t){if(f.default.enablePlayerLogs){var e,i=_USER_AGENT_.isMobile?"mobile_web":"web",a=this.userUUID?this.userUUID:"N/A",s=this.playerData.contentId,n=(new Date).getTime(),o=this.$refs.videoPlayer.playerInstance;if(o.getPlaylist()&&o.getPlaylist().length&&(e=decodeURIComponent(o.getPlaylist()[o.getPlaylistIndex()].file)),e){var r=(0,h.default)(i+this.deviceIP+a+s+n),l=o.getPosition()||0,d=t.bitrate||"NA";"NA"===d&&-1!==o.getCurrentQuality()&&o.getQualityLevels().length>0&&(d=o.getQualityLevels()[o.getCurrentQuality()].bitrate||o.getQualityLevels()[o.getCurrentQuality()].label);var c={mediaUrl:e,action:t.action,secDiff:Math.ceil(t.position||l),ip:this.deviceIP,uuid:a,platform:i,ccode:this.countryCode?this.countryCode:"NA",bitrate:d||"NA",asset_id:this.playerData.assetId,content_id:s,video_session_id:r,error_code:t.errorCode||"NA",error_message:t.errorMessage||"NA",user_agent:_USER_AGENT_.source,device_id:this.deviceID};"Live TV"===this.playerData.assetType&&(c=Object.assign({},c,{asset_id:s,content_id:void 0,channel_id:s})),this.sendPlayerLogsAction(c)}}},showNextPreviewAction:function(){var t=this.playerData;this.showNextPreview(t),this.closeVideoPlayer()}},(0,o.mapActions)({fetchVideoProfileAction:"moduleVideoPlayer/fetchVideoProfile",fetchEntityEntitlementsAction:"moduleVideoPlayer/fetchEntityEntitlements",sendProgressAction:"moduleVideoPlayer/sendProgress",sendPlayerLogsAction:"moduleVideoPlayer/sendPlayerLogs",resetState:"moduleVideoPlayer/resetState",showSubscriptionModal:"app/showSubscriptionModal",showLoginModal:"app/showLoginModal",closeVideoPlayer:"app/closeVideoPlayer",showNextPreview:"app/showNextPreview",showAdblockModal:"app/showAdblockModal",hideAdblockAction:"app/hideAdblockModal",resetAudioPlayerState:"audioPlayer/resetState"})),{},{onAdBlock:function(){this.isAVODContent&&(this.closeVideoPlayer(),this.showAdblockModal())}})};e.default=_}
1,910:function(t,e,i){"use strict";var a=i(1);i(71),i(99),i(134),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=a(i(142)),n=i(607),o=i(911),r=i(912),l=i(608),d=function(){var t=this;(0,s.default)(this,void 0);var e=function(){return(0,s.default)(this,t),{videoProfile:null,entityEntitlements:null}}.bind(this),i={setVideoProfile:function(t,e){t.videoProfile=e},setEntityEntitlements:function(t,e){t.entityEntitlements=e},resetState:function(t){var i=this,a=e();Object.keys(a).forEach(function(e){(0,s.default)(this,i),t[e]=a[e]}.bind(this))}};return{namespaced:!0,state:e(),getters:{},actions:{fetchVideoProfile:function(t,e){var i=this,a=t.commit,o=e.contentId,r=e.assetType,l=e.countryCode,d=e.deviceIP,c=e.deviceID;return(0,n.fetchContentProfile)(this.$apiClient,{contentId:o,countryCode:l,assetType:r,deviceIP:d,deviceID:c}).then(function(t){return(0,s.default)(this,i),a("setVideoProfile",t),t}.bind(this))},fetchEntityEntitlements:function(t,e){var i=this,a=t.commit,n=e.entityId,r=e.entityType;return(0,o.fetchEntityEntitlements)(this.$apiClient,{entityType:r,entityId:n}).then(function(t){return(0,s.default)(this,i),a("setEntityEntitlements",t),t}.bind(this))},sendPlayerLogs:function(t,e){t.commit;return(0,l.sendPlayerLogs)(this.$apiClient,e)},sendProgress:function(t,e){t.commit;var i=e.contentId,a=e.contentTypeId,s=e.progress,n=e.userUUID,o=e.completed;return(0,r.sendProgress)(this.$apiClient,{contentId:i,contentTypeId:a,progress:s,userUUID:n,completed:o})},resetState:function(t){(0,t.commit)("resetState")}},mutations:i}}.bind(void 0);e.default=d},912:function(t,e,i){"use strict";var a=i(1);i(2),i(66),i(71),i(156),i(157),i(99),i(134),Object.defineProperty(e,"__esModule",{value:!0}),e.sendProgress=function(t,e){var i=this,a=e.userUUID,r=e.contentId,l=e.contentTypeId,d=e.progress,c=e.completed,u="/api/v2/secured/user/progress/content/"+r,h={user_id:a,content_id:r,content_type_id:l,progress:d,completed:c||0};return t.post(u,function(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?o(Object(i),!0).forEach((function(e){(0,n.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):o(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}({},h)).then(function(t){return(0,s.default)(this,i),t.data}.bind(this)).catch(function(t){return(0,s.default)(this,i),{status:t.response.status,data:t.response.data}}.bind(this))};var s=a(i(142)),n=a(i(163));function o(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}},913:function(t,e,i){"use strict";i.r(e);var a=i(914),s=i.n(a);for(var n in a)"default"!==n&&function(t){i.d(e,t,(function(){return a[t]}))}(n);e.default=s.a},914:function(t,e,i){}}]);

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.