PageSourceSearch

https://enwebasset.cdnassets.erosnow.com/production/tv-show-page.221d23348f42422bffaa.js

js erosnow.com collected 2026-09-24 08:55:29 UTC 18,329 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[40],{1324:function(t,e,a){"use strict";var i=a(1);a(2),a(64),a(94),a(96),a(197),a(116),a(462),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=i(a(142)),n=a(340),o=a(238),r=i(a(239)),l={name:"WatchActionLi",render:function(){return!0},props:{data:{type:Object,default:function(){(0,s.default)(this,void 0)}.bind(void 0)},assetData:{type:Object,default:function(){return this.data}}},computed:{watchUrl:function(){return o.ErosNowUrl+(0,n.getWatchUrl)(this.data.asset_type,this.data.asset_id,this.data.title,this.data.content_id,this.data.title)},duration:function(){var t;return t=this.data.duration.split(":"),t="PT"+(parseInt(t[0])>0?parseInt(t[0])+"H":"")+(parseInt(t[1])>0?parseInt(t[1])+"M":"")+(parseInt(t[2])>0?parseInt(t[2])+"S":""),t},thumbImage:function(){return(0,n.getEntityImage)(this.contentType,"v-thumb",this.imageData)},contentType:function(){var t=this.data;return t.content&&t.content.content_type_id?t.content.content_type_id:t.content_type_id?t.content_type_id:t.asset_type},imageData:function(){var t=this.data;return t.content&&t.content.images?t.content.images:this.assetData.images?this.assetData.images:t.images?t.images:{}},metaDataStr:function(){var t,e,a,i,r,l,c,d,u=this,p={},h=this.data,f=this.assetData;try{p["@context"]="http://schema.org",p.name=h.title,p.url=this.watchUrl,p.sameAs=this.watchUrl,1===Number(h.content_type_id)?(p["@type"]="Movie",p.duration=this.duration,f.people&&f.people.Director&&(p.actor=f.people.Actor.map(function(t){return(0,s.default)(this,u),{"@type":"Person",name:t,sameAs:"https://erosnow.com"}}.bind(this)),p.director={"@type":"Person",name:f.people.Director[0],sameAs:"https://erosnow.com"})):3===Number(h.content_type_id)||45===Number(h.content_type_id)||"ORIGINAL"===h.asset_type?(p["@type"]="VideoObject",p.thumbnailUrl=this.thumbImage,p.uploadDate=new Date("2000-07-06")):34===Number(h.content_type_id)&&(p["@type"]="TVEpisode",p.thumbnailUrl=this.thumbImage,p.episodeNumber=h.episodeNumber,p.partOfSeason={"@type":"TVSeason",seasonNumber:1},p.partOfSeries={"@type":"TVSeries",name:h.title}),p["@id"]=p.url,p.description=h.description?h.description.substr(0,200)+"...":h.title,p.image={"@type":"ImageObject",width:1600,height:600,url:(0,n.getEntityImage)(h.content&&h.content.content_type_id?h.content.content_type_id:h.content_type_id?h.content_type_id:h.asset_type,"banner-large",h.content&&h.content.images?h.content.images:h.images?h.images:{}),contentUrl:this.watchUrl},a={"@type":"PublicationEvent",startDate:h.release_year},i={"@type":"Country",name:"IN"},a.location=i,p.releasedEvent=a,t={"@type":"WatchAction"},(e={"@type":"EntryPoint"}).urlTemplate=p.url,e.actionPlatform=["http://schema.org/DesktopWebPlatform","http://schema.org/IOSPlatform","http://schema.org/AndroidPlatform"],e.inLanguage=h.language?o.LANG_CODE[h.language]:"hindi",t.target=e,(r={"@type":"Offer"}).availabilityStarts=new Date("2015-01-01T00:00"),r.availabilityEnds=new Date("2020-01-01T00:00"),(l={"@type":"Country"}).name=h.asset_allowed,r.eligibleRegion=l,r.category="subscription",r.name="EROSNOW",1===h.content_type_id?"YES"===h.free?r.price=0:r.price=7.99:r.price=0,r.priceCurrency="USD",c={"@type":"Organization",name:"ErosNow",sameAs:"https://erosnow.com/"},r.seller=c,t.expectsAcceptanceOf=r,p.potentialAction=t,h.trailer&&((r={category:"free"}).availabilityStarts=new Date("2015-01-01T00:00"),r.availabilityEnds=new Date("2020-01-01T00:00"),r.eligibleRegion=l,(d={"@type":"Clip",description:"trailer"}).timeRequired=h.trailer.duration,t.expectsAcceptanceOf=r,d.potentialAction=t,p.hasPart=d),p.dateCreated=new Date}catch(t){console.log("Watch action metadata error.")}return JSON.stringify(p)}},mounted:function(){try{if(1===Number(this.data.content_type_id)){var t=this.assetData,e=this.data,a={url:this.watchUrl,duration:this.duration,actors:t.people.Actor?t.people.Actor:"",director:t.people.Director[0]?t.people.Director[0]:"",description:e.description?e.description:"",asset_title:t.title?t.title:e.title?e.title:"",title:e.title?e.title:t.title?t.title:"",low_image:this.thumbImage,high_image:(0,n.getEntityImage)(this.contentType,"banner-large",this.imageData),release_year:e.release_year,FREE:e.free,subtitles:t.subtitles,rank:e.rating,language:e.language,eligibleRegion:e.asset_allowed?e.asset_allowed:e.content_allowed?e.content_allowed:t.asset_allowed?t.asset_allowed:t.content_allowed?t.content_allowed:"ww",asset_id:e.asset_id,content_id:e.content_id,content_type_id:e.content_type_id,image:this.thumbImage,image_13:(0,n.getEntityImage)(this.contentType,"h-thumb",this.imageData),image_17:(0,n.getEntityImage)(this.contentType,"med-h-thumb",this.imageData),image_8:(0,n.getEntityImage)(this.contentType,"v-thumb",this.imageData),image_9:(0,n.getEntityImage)(this.contentType,"banner-large",this.imageData),image_100:(0,n.getEntityImage)(this.contentType,"banner-medium",this.imageData),image_66:(0,n.getEntityImage)(this.contentType,"mobile-banner",this.imageData),image_112:(0,n.getEntityImage)(this.contentType,"asset-logo",this.imageData)};"undefined"==typeof $p&&(i=window,s=document,o="script",l="//cdn.petametrics.com/"+r.default.liftIgniterKey+".js",c="$p",i.$petametrics_var=c,i.$p=i.$p||function(){(i.$p.q=i.$p.q||[]).push(arguments)},i.$p.l=1*new Date,d=s.createElement(o),u=s.getElementsByTagName(o)[0],d.async=1,d.id="lift-igniter-script",d.src=l+"?ts="+(+new Date/36e5|0),u.parentNode.insertBefore(d,u));$p("init",r.default.liftIgniterKey,{config:{inventory:{version:4,collect:!1},sdk:{multiFetch:!0}}}),$p("sendItem",a)}}catch(d){console.log('lift Igniter - "sendItem" error')}var i,s,o,l,c,d,u},metaInfo:function(){return{script:[{innerHTML:this.metaDataStr,type:"application/ld+json"}],__dangerouslyDisableSanitizers:["script"]}}};e.default=l},1384:function(t,e,a){"use strict";var i=a(1);
1Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=i(a(1385)).default;e.default=s},1385:function(t,e,a){"use strict";a.r(e);var i=a(2267),s=a(1386);for(var n in s)"default"!==n&&function(t){a.d(e,t,(function(){return s[t]}))}(n);a(1390);var o=a(181),r=Object(o.default)(s.default,i.render,i.staticRenderFns,!1,null,null,null);r.options.__file="src/pages/TVShowPage/TVShowPage.vue",e.default=r.exports},1386:function(t,e,a){"use strict";a.r(e);var i=a(1387),s=a.n(i);for(var n in i)"default"!==n&&function(t){a.d(e,t,(function(){return i[t]}))}(n);e.default=s.a},1387:function(t,e,a){"use strict";var i=a(1),s=a(150);a(2),a(64),a(155),a(66),a(71),a(86),a(156),a(157),a(99),a(100),a(102),a(125),a(134),a(136),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a(142)),o=i(a(163)),r=a(164),l=i(a(1052)),c=i(a(193)),d=i(a(187)),u=i(a(1263)),p=i(a(1222)),h=i(a(786)),f=a(340),y=a(509),m=a(238),v=i(a(609)),g=i(a(1388)),w=i(a(903)),_=i(a(1324)),D=s(a(1389));function b(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,i)}return a}function S(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?b(Object(a),!0).forEach((function(e){(0,o.default)(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):b(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var E={name:"TVShowPage",components:{PlayButton:c.default,PaginatedGridPlaylist:p.default,Banner:l.default,EntityHeading:u.default,LazyImage:d.default,ProgressBar:h.default,WatchActionLi:_.default},extends:w.default,asyncData:function(t){var e=t.store,a=t.route;(0,v.default)({module:(0,g.default)(),moduleName:"tvShowDetails",store:e}),e.dispatch("tvShowDetails/resetEpisodeData");var i=a.params.contentId||a.params.seasonId,s=[e.dispatch("tvShowDetails/fetchTVShowDetails",{assetId:a.params.assetId,contentId:a.params.contentId||a.params.seasonId})];return i&&s.push(e.dispatch("tvShowDetails/fetchTvEpisodes",{assetId:a.params.assetId,startIndex:0})),Promise.all(s)},data:function(){return{isMobile:_USER_AGENT_.isMobile&&!_USER_AGENT_.isTablet,isButtonDisabled:!1}},computed:S({assetId:function(){return this.$route.params.assetId},contentId:function(){return this.$route.params.contentId},seasonId:function(){return this.$route.params.seasonId},pageType:function(){return this.$route.params.contentId||this.$route.params.seasonId?"tvShowContentPage":"tvShowAssetPage"},watchUrl:function(){var t="tvShowAssetPage"===this.pageType?this.episodes[0]||{}:this.entityDetails;return(0,f.getWatchUrl)(t.asset_type,t.asset_id,t.asset_title,t.content_id,t.content_title)},shareUrl:function(){return"".concat(m.ErosNowUrl).concat(this.$route.fullPath)},trackerData:function(){return{watchShowClick:D.watchShowClick(this.entityDetails,this.activeUserPlan)}}},(0,r.mapState)({allEpisodesFetched:function(t){return(0,n.default)(this,void 0),t.tvShowDetails.allEpisodesFetched}.bind(void 0),totalEpisodes:function(t){return(0,n.default)(this,void 0),t.tvShowDetails.totalEpisodes}.bind(void 0),entityDetails:function(t){return(0,n.default)(this,void 0),t.tvShowDetails.tvShowData||{}}.bind(void 0),shareImage:function(){return(0,f.getEntityImage)("tvShowContentPage"===this.pageType?this.entityDetails.content_type_id:this.entityDetails.asset_type,"share-img",this.entityDetails.images)},tvShowThumbUrl:function(t){return(0,n.default)(this,void 0),(0,f.getEntityImage)(t.tvShowDetails.tvShowData.content_type_id?t.tvShowDetails.tvShowData.content_type_id:t.tvShowDetails.tvShowData.asset_type,"h-thumb",t.tvShowDetails.tvShowData.images?t.tvShowDetails.tvShowData.images:{})}.bind(void 0),percentProgress:function(){return this.entityDetails.progress_percent?this.entityDetails.progress_percent:0},progressInfo:function(){var t=(0,y.formatDuration)(this.entityDetails.duration,1),e=this.entityDetails.progress_percent;return e=parseInt(parseInt(t)/100*e),!isNaN(e)&&e>0?e+" of "+t:null},purchaseUrl:function(t){return(0,f.getPurchaseUrl)({rurl:"".concat(m.ErosNowUrl).concat(this.$route.fullPath)},t.route)}
1,episodes:function(t){var e=this,a=(t.tvShowDetails.episodes||[]).filter(function(t){return(0,n.default)(this,e),t.content_id!==this.contentId}.bind(this));return a},isFavourite:function(t){return(0,n.default)(this,void 0),t.tvShowDetails.tvShowData.is_favorite}.bind(void 0)})),beforeCreate:function(){(0,v.default)({module:(0,g.default)(),moduleName:"tvShowDetails",store:this.$store})},mounted:function(){this.trackTvShowDetailsScreenViewed(),eventBus.$on("playbtnclicked",this.buttonClicked())},beforeDestroy:function(){eventBus.$off("detectvideo",this.detectTvShowVideostate),eventBus.$off("playbtnclicked",this.buttonClicked()),this.$store.unregisterModule("tvShowDetails")},methods:S({trackTvShowDetailsScreenViewed:function(){var t={event:"weEvent",weEventName:"tv_show_details_screen_viewed",weEventAttr:{}};this.entityDetails&&(t.weEventAttr={asset_id:this.entityDetails.asset_id,asset_name:this.entityDetails.title,asset_description:this.entityDetails.description,asset_year:this.entityDetails.year_range,no_of_episodes:+this.entityDetails.total_episodes,thumbnail_image_url:this.shareImage,progress:+this.entityDetails.progress}),this.$tracker.trackEvent(t)},buttonClicked:function(){this.isButtonDisabled=!1,eventBus.$on("detectvideo",this.detectTvShowVideostate)},detectTvShowVideostate:function(){this.isButtonDisabled=!0},scrollToEpisodes:function(){this.$refs.episodesContainer.scrollIntoView({behavior:"smooth"})},fetchTvEpisodes:function(){return this.fetchTvEpisodesAction({assetId:this.$route.params.assetId,startIndex:this.episodes.length})},refreshPage:function(){this.$options.asyncData({store:this.$store,route:this.$route})}},(0,r.mapActions)({fetchTVShowDetails:"tvShowDetails/fetchTVShowDetails",fetchTvEpisodesAction:"tvShowDetails/fetchTvEpisodes",resetEpisodeData:"tvShowDetails/resetEpisodeData",favouriteCallback:"tvShowDetails/setFavorite"})),watch:{"$route.params.contentId":{handler:function(t){t&&(this.isButtonDisabled=!1)},immediate:!0}},metaInfo:function(){var t={title:"Watch ".concat(this.entityDetails.asset_title?this.entityDetails.asset_title+" -":""," ").concat(this.entityDetails.title," online"),bodyClass:"tv-show-page details-page",description:this.entityDetails.short_description||this.entityDetails.description,thumbnail:this.shareImage,type:"tvShowAssetPage"===this.pageType?"video.tv_show":"video.episode",width:"948",height:"534"};return(0,f.getPageMeta)(t)}};e.default=E},1388:function(t,e,a){"use strict";var i=a(1);a(155),a(97),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=i(a(393)),n=i(a(142)),o=a(756),r=i(a(143)),l=function(){var t=this;(0,n.default)(this,void 0);var e=function(){return(0,n.default)(this,t),{tvShowData:{},episodes:[],totalEpisodes:0,allEpisodesFetched:!1}}.bind(this),a=e(),i={setTVShowDetails:function(t,e){var a=e;a.rating=a.rating?parseInt(a.rating):0,t.tvShowData=a},setTVEpisodes:function(t,e){t.episodes.length+20>=e.total&&(t.allEpisodesFetched=!0),e.data.length&&(t.episodes?t.episodes=[].concat((0,s.default)(t.episodes),(0,s.default)(e.data)):t.episodes=e.data,t.totalEpisodes=e.total)},resetEpisodeData:function(t){t.episodes=[],t.allEpisodesFetched=!1},setFavorite:function(t,e){var a,i=e.status;"added"===i?a=!0:"removed"===i&&(a=!1),r.default.set(t.tvShowData,"is_favorite",a)},resetState:function(t){t=Object.assign({},t,e())}};return{namespaced:!0,state:a,getters:{},actions:{fetchTVShowDetails:function(t,e){var a=this,i=t.commit,s=e.assetId,r=e.contentId;return r?(0,o.fetchTVShowEpisodeDetails)(this.$apiClient,r).then(function(t){if((0,n.default)(this,a),404===t.status){var e=new Error;throw e.pageNotFound=!0,e}return i("setTVShowDetails",t),t}.bind(this)):(0,o.fetchTVShowDetails)(this.$apiClient,s).then(function(t){if((0,n.default)(this,a),404===t.status){var e=new Error;throw e.pageNotFound=!0,e}return i("setTVShowDetails",t),i("setTVEpisodes",{data:t.contents,total:parseInt(t.total_episodes)}),t}.bind(this))},fetchTvEpisodes:function(t,e){var a=this,i=t.commit,s=e.assetId,r=e.startIndex;return(0,o.getShowEpisodes)(this.$apiClient,s,r,20).then(function(t){return(0,n.default)(this,a),t.rows&&t.rows.length&&i("setTVEpisodes",{data:t.rows,total:t.total}),t}.bind(this))},setFavorite:function(t,e){(0,t.commit)("setFavorite",e)},resetEpisodeData:function(t){(0,t.commit)("resetEpisodeData")},resetState:function(t){(0,t.commit)("resetState")}},mutations:i}}.bind(void 0);e.default=l},1389:function(t,e,a){"use strict";
1a(155),Object.defineProperty(e,"__esModule",{value:!0}),e.watchShowClick=function(t,e){return"YES"===t.free||"plus"===e||"premium"===e?{category:"".concat(t.owner," Video"),action:"Video ".concat(t.owner," Video_Plays"),label:"".concat(t.asset_id,"_").concat(t.asset_title,"_").concat(t.content_id,"_").concat(t.title)}:null}},1390:function(t,e,a){"use strict";a.r(e);var i=a(1391),s=a.n(i);for(var n in i)"default"!==n&&function(t){a.d(e,t,(function(){return i[t]}))}(n);e.default=s.a},1391:function(t,e,a){},2267:function(t,e,a){"use strict";a.r(e),a.d(e,"render",(function(){return i})),a.d(e,"staticRenderFns",(function(){return s}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"tv-show-page-view details-page-view"},[a("Banner",{attrs:{"banner-data":[t.entityDetails],"show-play-button":t.isMobile&&(t.contentId||t.seasonId),"play-video-handler":t.playVideo,"page-type":t.pageType}},[a("EntityHeading",{attrs:{slot:"banner-content","play-video-handler":t.playVideo,"entity-data":t.entityDetails,"favourite-handler":t.favouriteHandler,"share-url":t.shareUrl,"purchase-url":t.purchaseUrl,"entity-type":"tv-show","active-user-plan":t.activeUserPlan,"page-type":t.pageType},slot:"banner-content"},[a("template",{slot:"play-btns"},[t.progressInfo?a("span",{staticClass:"entity-progress-info"},[t._v(t._s(t.progressInfo))]):t._e(),t.percentProgress?a("ProgressBar",{staticClass:"entity-progress",attrs:{"percent-progress":t.percentProgress}}):t._e(),a("PlayButton",{staticClass:"enitity-primary-action",attrs:{"play-video-handler":t.playVideo,"asset-type":t.entityDetails.asset_type,"asset-id":t.entityDetails.asset_id,"content-type-id":t.entityDetails.content_type_id,"content-id":t.entityDetails.content_id,images:t.entityDetails.images,title:t.entityDetails.title,"is-free":t.entityDetails.free,"content-data":t.entityDetails,disabled:t.isButtonDisabled&&t.isMobile},on:{click:t.buttonClicked}},[a("router-link",{directives:[{name:"eros-tracker",rawName:"v-eros-tracker",value:t.trackerData.watchShowClick,expression:"trackerData.watchShowClick"}],staticClass:"btn btn-primary",attrs:{to:t.watchUrl,disabled:t.isButtonDisabled&&t.isMobile},on:{click:t.buttonClicked}},[t._v("\n                        "+t._s(t.contentId||t.seasonId?t.percentProgress?"Resume Tv Show":"Watch Tv Show":"Watch Latest Episode")+"\n                    ")])],1),a("span",{staticClass:"enitity-primary-action"},[a("span",{staticClass:"btn btn-primary btn-bordered",on:{click:t.scrollToEpisodes}},[t._v("More Episodes")])])],1)],2)],1),a("div",{staticClass:"tv-show-wrap resp-content clearfix"},[a("div",{staticClass:"overview-thumb-wrap"},[a("div",{staticClass:"overview-thmub-content"},[t.tvShowThumbUrl?a("div",{staticClass:"tv-show-thumb-wrap"},[a("LazyImage",{staticClass:"tv-show-thumb",attrs:{"data-src":t.tvShowThumbUrl}})],1):t._e(),a("div",{staticClass:"overview-wrap"},[a("div",{staticClass:"star-wrap"},[t._l(t.entityDetails.rating,(function(t){return a("i",{key:t+"-fill-star",staticClass:"icon icon-star-fill",style:{color:"#fce100"}})})),t._l(5-t.entityDetails.rating,(function(t){return a("i",{key:t+"-empty-star",staticClass:"icon icon-star-fill",style:{color:"#ccc"}})}))],2)])])])]),t.episodes&&t.episodes.length?a("div",{ref:"episodesContainer",staticClass:"episodes-container"},[a("PaginatedGridPlaylist",{attrs:{"all-playlist-fetched":t.allEpisodesFetched,title:"More Episodes("+("tvShowContentPage"===t.pageType?t.totalEpisodes-1:t.totalEpisodes)+")","fetch-playlist-data":t.fetchTvEpisodes,"play-video-handler":t.playVideo,"playlist-data":t.episodes,"display-type":"HBox"}})],1):t._e(),t.entityDetails?a("WatchActionLi",{attrs:{data:t.entityDetails}}):t._e()],1)},s=[];i._withStripped=!0}}]);

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.