1"use strict";(self.webpackChunkconsumer_web=self.webpackChunkconsumer_web||[]).push([[447],{38079:function(e,t,i){i.d(t,{Z:function(){return N}});var s=i(74165),a=i(15861),n=i(29439),o=i(72791),l=i(47066),r=i(1288),c=i(38302),d=i(16555),u=i(94948),h=i(85902),p=i(53585),v=i(60364),m=i(97300),g=i(10984),f=i(11687),C=i(54500),k=i(18271),D=i(70599),y=function(){var e=(0,v.I0)();return{useMoreClassesState:function(){return{loading:(0,v.v9)((function(e){return e.moreClasses.loading})),filteredClassSearchData:(0,v.v9)((function(e){return e.filter.filteredClassSearchData})),isAuthenticated:(0,v.v9)((function(e){return""!==e.auth.token})),moreClassesData:(0,v.v9)((function(e){return e.moreClasses.moreClassesData})),moreChannelClassesData:(0,v.v9)((function(e){return e.channels.moreClasses})),moreCollectionClassesData:(0,v.v9)((function(e){return e.moreClasses.moreCollectionListClasses})),categories:(0,v.v9)((function(e){var t;return null===(t=e.onDemand.Metadata)||void 0===t?void 0:t.categories}))}},useMoreClassesDispatch:function(){return{getMoreClasses:function(t,i){e(function(e,t){return function(e,i){i().moreClasses.loading||e({type:g.KAu});var s=C.Zo,a={tenantId:k.name,titleTag:t};D.Z.post(s,a).then((function(t){200===t.status?e({type:g.Gw8,value:t.data}):e({type:g.Gw8,value:null})}))}}(0,i))},getMoreChannelClasses:function(t,i,s,a){e((0,m.nD)(t,i,s,a))},getMoreCollectionClasses:function(t){var i;e((i=t,function(e){e({type:g.Sxz}),(localStorage.getItem("token")?D.Z:f.Z).post(C.Dr,i).then((function(t){t.ok?e({type:g.OzM,collectionTitleListClasses:null===t||void 0===t?void 0:t.data.data}):e({type:g.FLb})}))}))}}}}},L=i(77769),S=i(74054),x=i(57689),I=i(91711),w=i(80184),b=o.memo((function(e){var t,v,m,g=y(),f=g.useMoreClassesState,C=g.useMoreClassesDispatch,D=f(),b=D.loading,N=D.filteredClassSearchData,j=D.isAuthenticated,Z=D.moreClassesData,T=D.moreChannelClassesData,P=D.moreCollectionClassesData,M=D.categories,U=C(),V=U.getMoreClasses,F=U.getMoreChannelClasses,W=U.getMoreCollectionClasses,B=(0,o.useState)(""),E=(0,n.Z)(B,2),A=E[0],R=E[1],O=(0,x.s0)(),_=e.channelTag,H=e.collectionTag,q=e.numberOfTitles,G=e.pageNumber,K=e.forCategory,Y=e.forChannel,z=e.forCollection,Q=e.classTag;(0,o.useEffect)((function(){if(e.classId){var t=localStorage.getItem("userId");t&&V(t,e.classId)}}),[e.classId]),(0,o.useEffect)((function(){if(_){var e=localStorage.getItem("userId");e&&F(_,q,G,e)}}),[e.channelTag]),(0,o.useEffect)((function(){if(H){var e=localStorage.getItem("clientId");H&&W({tenantId:e,collectionTag:H})}}),[e.collectionTag]),(0,o.useEffect)((function(){(null===Z||void 0===Z?void 0:Z.length)>0&&R(Z[0].classCategoryId)}),[Z]);var X,J=function(){var e=(0,a.Z)((0,s.Z)().mark((function e(t){return(0,s.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:O(d.Z.onDemandClassPlayerRoute+t.tag,{state:{selectedItem:t}});case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),$=function(e){return X=null===e||void 0===e?void 0:e.filter((function(e){return e.tag!==Q}))};K?X=Z:Y?X=$(null===T||void 0===T?void 0:T.items):z&&(X=$(null===P||void 0===P?void 0:P.collectionItems));var ee=null===T||void 0===T||null===(t=T.channelDetails)||void 0===t?void 0:t.profileImageUrl,te=null===T||void 0===T||null===(v=T.channelDetails)||void 0===v?void 0:v.displayName,ie=null===P||void 0===P?void 0:P.collectionName,se=(null===P||void 0===P?void 0:P.collectionItems)&&(null===P||void 0===P||null===(m=P.collectionItems[0])||void 0===m?void 0:m.imageLink);return e.loading&&K?(0,w.jsx)(L.Z,{}):(0,w.jsx)("div",{className:"",children:X&&X.length>0?(0,w.jsxs)("div",{children:[(0,w.jsxs)(r.Z,{container:!0,direction:"row",alignItems:"center",className:"m-b-10 m-more-head m-t-xs-32 makeTextClickable d-flex",onClick:function(){K?O("".concat(d.Z.categories).concat(Z[0].classCategoryId)):Y?O("".concat(d.Z.channelDetailView).concat(_)):z&&O("".concat(d.Z.collectionViewRouteV2).concat(H))},children:[A&&K&&function(e,t){try{var s,a="category"===t?null===(s=M.find((function(t){return t.id==e})))||void 0===s?void 0:s.imageLink:(0,I.gJ)(e,"jpg");return(0,w.jsx)("img",{alt:"more-img",src:a,height:"32",className:"more-img"})}catch(n){return(0,w.jsx)("img",{src:i(63652),className:"more-img",alt:"more-img"})}}(A,"category"),Y&&(0,w.jsx)("img",{alt:"more-channel-img",src:ee,height:"32",className:"more-img"}),z&&(0,w.jsx)("img",{alt:"more-channel-img",src:se,height:"32",className:"more-img"}),(0,w.jsxs)(r.Z,{item:!0,className:"align-left more-heading adjustTitleWidth",children:[K&&(0,w.jsxs)(c.Z,{className:"clear ",children:[(0,l.v)({id:"Player.More"})," ",(0,l.v)({id:"categoryName.".concat(A)})," ",(0,l.v)({id:"footer.classes"}),(0,w.jsx)(S.default,{cls:"more-class-arrow",color:k.primaryColor})]}),Y&&(0,w.jsxs)(c.Z,{className:"clear ",children:[(0,l.v)({id:"Player.More"})," from ",te,(0,w.jsx)(S.default,{cls:"more-class-arrow",color:k.primaryColor})]}),z&&(0,w.jsxs)(c.Z,{className:"clear ",children:[(0,l.v)({id:"Player.More"})," from ",ie,(0,w.jsx)(S.default,{cls:"more-class-arrow",color:k.primaryColor})]})]})]}),(0,w.jsx)(h.Z,{items:function(e){if(e.length>0)return null===e||void 0===e?void 0:e.sort((function(e,t){return new Date(t.scheduleDate)-new Date(e.scheduleDate)}))}(X),totalItems:p.iF,showLoading:b,classes:"clear cardList",isPageContainer:!1,children:function(t,i){return(0,w.jsx)(u.Z,{cardType:"live-channel-collection",collectionType:"featured",isMoreClassSuggetion:!0,isSearchPageCard:!1,displayDate:t.scheduleDate,trailerLinkWeb:t.trailerLinkWeb,trailerLinkMobile:t.trailerLinkMobile,isSliderWorkout:!0,history:e.history,showFav:!!j,thumbnail:"".concat(t.imageLink),equipmentTypes:t.equipmentTypes,equipmentNames:t.equipmentNames,isFav:t.favourite,title:t.className,duration:t.durationSecond?Math.
1ceil(t.durationSecond/60):55,description:t.classDescription,show:!0,calories:t.calorieBurn,id:t.tag,classCategory:t.classCategory,mediaType:t.mediaType,clicked:function(){return J(t)},level:t.skill,collectionName:e.categoryId,favCallback:function(){!function(e){var t=X.findIndex((function(t){return t.tag===e}));if(-1!==t&&(X[t].favourite=!X[t].favourite),N.length>0){var i=N.findIndex((function(t){return t.classTag===e}));-1!==i&&(N[i].virtualClass.favourite=!N[i].virtualClass.favourite)}}(t.tag)},isUnlocked:t.isUnlocked},t.tag+i)}})]}):(0,w.jsx)("div",{})})})),N=b},56447:function(e,t,i){i.r(t),i.d(t,{default:function(){return _}});var s=i(1413),a=i(15671),n=i(43144),o=i(60136),l=i(27277),r=i(72791),c=(i(59151),i(30512),i(78267)),d=(i(33119),i(26513)),u=i(21076),h=i(50108),p=i(72426),v=i.n(p),m=i(763),g=i(47066),f=i(38302),C=i(1288),k=i(99735),D=i(34059),y=i(24391),L=i(16555),S=i(53585),x=i(38079),I=i(43094),w=i(27985),b=i(27472),N=i(67583),j=i(80184),Z=i(18271),T=null,P=function(e){(0,o.Z)(i,e);var t=(0,l.Z)(i);function i(e){var n;return(0,a.Z)(this,i),(n=t.call(this,e)).elapsedTimeLiftstateUp=function(e){n.setState({elapsedTime:e})},n.ViewChannel=function(){var e=n.state.isThisClassDeepLink?n.props.collection.channelDetails:n.props.location.state.selectedItem;n.props.navigate(L.Z.channelDetailView+e.tag)},n.isEmptyState=function(){return(0,m.isEmpty)(n.props.location.state)},n.trackAndLogClass=function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,s=n.state.selectedItem,a=localStorage.getItem("userId"),o=0===i?n.state.elapsedTime:i;if(t&&(s=s.title?s.title[0]:s,n.props.onLogOnDemandTracking(s,a,o,n.state.isClubConnect)),e){var l=n.props.intensities,r=0;null!==l&&l.maxWorkPercentage.forEach((function(e){e.intensityLevel===s.intensity&&(r=e.hRmax)}));var c=0,d=n.props.userDetails,u=n.getAge(d.birthDate),h=r/100*(208-.7*u);"male"===d.gender?c=(.6309*h-55.0969+.1988*d.latestMeasurement.TotalWeightKg+.2017*u)/4.184*60*(o/60/60):"female"===d.gender&&(c=(.4472*h-20.4022-.1263*d.latestMeasurement.TotalWeightKg+.074*u)/4.184*60*(o/60/60));var p={classCommitmentTag:null,primaryGoal:0,secondaryGoal:0,skillLevel:s.skill,durationSeconds:o,mood:null,completedDate:v()().format(),tag:s.id?s.id:s.title[0].tag,intensityLevel:s.intensity,workoutName:(s.title,s.title[0].className),userWorkoutTag:s.id?s.id:s.title[0].tag,isTimed:!1,calorieBurn:Math.round(c),exercises:null,durationMinutes:Math.round(o/60),trackingResult:n.state.isClubConnect?8:S._5.Channel,imageUrl:s.thumbnail?s.thumbnail:s.title[0].imageLink,userId:a,trailerLinkWeb:s.title[0].trailerLinkWeb,workoutDescription:s.description?s.description:s.title[0].classDescription,creationDate:s.title[0].creationDate,keywords:s.keywords,classCategories:s.category?s.category[0]:"",level:s.title[0].level};n.props.onSubmitWorkoutResult(p)}},n.getAge=function(e){var t=new Date,i=new Date(e),s=t.getFullYear()-i.getFullYear(),a=t.getMonth()-i.getMonth();return(a<0||0===a&&t.getDate()<i.getDate())&&s--,s},n.unfavVideo=function(){var e=n.props.location.state?n.props.location.state.collectionName:"";n.setState({video:(0,s.Z)((0,s.Z)({},n.state.video),{},{fav:!n.state.video.fav})});var t=n.state.isThisClassDeepLink?n.state.video.id:n.state.selectedItem.title[0].tag,i=localStorage.getItem("userId");n.props.onsetClassFavourite(t,i,!1),!0===n.state.isThisClassDeepLink?n.favUnfavDeepLinks(!1):n.props.onsetClassFavouriteLocal(e,t,!0),n.changeFiteredClassesFavStatus(t)},n.favVideo=function(){var e=n.props.location.state?n.props.location.state.collectionName:"";n.setState({video:(0,s.Z)((0,s.Z)({},n.state.video),{},{fav:!n.state.video.fav})});var t=n.state.isThisClassDeepLink?n.state.video.id:n.state.selectedItem.title[0].tag,i=localStorage.getItem("userId");n.props.onsetClassFavourite(t,i,!0),!0===n.state.isThisClassDeepLink?n.favUnfavDeepLinks(!0):n.props.onsetClassFavouriteLocal(e,t,!0),n.changeFiteredClassesFavStatus(t)},n.changeFiteredClassesFavStatus=function(e){if(n.props.filteredClassSearchData.length>0){var t=n.props.filteredClassSearchData.findIndex((function(t){return t.classTag===e}));
1-1!==t&&(n.props.filteredClassSearchData[t].virtualClass.favourite=!n.props.filteredClassSearchData[t].virtualClass.favourite)}},n.favUnfavDeepLinks=function(e){var t=n.state.video;(0,y.Z)(t);var i={tag:t.id,className:t.className,imageLink:t.imageLink,classDescription:t.classDescription,calorieBurn:t.calorieBurn,durationSecond:t.durationSecond,alternateLink:t.alternateLink,favourite:e,intensity:t.intensity,creationDate:t.creationDate,providerID:t.providerID,provider:t.provider,classCategory:t.classCategory};n.props.setDeeplinkClassFavUnfavOnLocalColletion(i)},n.okButtonClick=function(){n.setState({showDialog:!1}),null!=Z.UpgradeRedirect&&(window.open(Z.UpgradeRedirect,"_blank"),n.props.navigate(-1))},n.state={elapsedTime:0,videoPlaying:!1,loading:!0,video:{},finished:!1,showCountdown:!1,VideoError:!1,classId:"",showDialog:!1,isClubConnect:!1,isDeepLinkLoading:!1,isThisClassDeepLink:!1,eventId:0,isChannelWorkout:!0,showHideShareView:!1},n}return(0,n.Z)(i,[{key:"componentWillUnmount",value:function(){this.props.resetUserCreatedFlag(),this.props.resetShortDeepLink()}},{key:"componentDidMount",value:function(){if(window.scrollTo(0,0),!0!==this.props.isAuthenticated){var e=window.location.pathname;this.props.location.state||this.props.storeDeepLinkDataToStore(e),this.props.navigate("/signin",{state:e})}else if(Z.showChannels||this.props.navigate(L.Z.classListViewRoute),!1===this.props.isSubscriptionLoading&&this.props.loadUserSubscription(),(0,m.isEmpty)(this.props.location.state)){this.setState({isDeepLinkLoading:!0,isThisClassDeepLink:!0});var t=window.location.pathname.split("/");this.setState({classId:t[4]});localStorage.getItem("userId");this.props.fetchDeepLinkClass(t[4])}else{var i,s,a,n,o,l,r;T=this.props.location.state.selectedItem,!(0,m.isEmpty)(null===(i=T)||void 0===i||null===(s=i.title[0])||void 0===s?void 0:s.tag)&&!this.state.isThisClassDeepLink&&this.props.fetchPlayBackLink(T.title[0].tag,this.isEmptyState()),T&&!T.title[0].durationSecond&&T.title[0].durationSecond&&(T.duration=Math.floor(T.title[0].durationSecond/60));var c={},d={};if(null!=T){var u=T.displayName.invariantText;null==u&&(u=T.displayName);var h,p,v,g,f=T.description.invariantText;if(null==f&&(f=T.description),void 0!==T.title[0].tag)c={url:this.props.StreamingVideoLink,creationDate:T.title[0].creationDate?T.title[0].creationDate:"",trailerLinkWeb:T.title[0].trailerLinkWeb,description:T.title[0].classDescription?T.title[0].classDescription:T.description,className:T.title[0].className,thumbnail:T.title[0].imageLink,calorieBurn:T.calories,duration:T.title[0].durationSecond?Math.floor(T.title[0].durationSecond/60):55,altLink:T.title[0].alternateLink,fav:T.title[0].favourite?T.title[0].favourite:T.isFav,level:T.title[0].level,channelName:u,channelImage:T.profileImageUrl,channelDescription:T.description},d={duration:Math.floor(T.title[0].durationSecond/60),id:(T.title[0].tag,T.title[0].tag),title:T.title[0].className,newProviderId:T.title[0].providerID,provider_id:T.title[0].provider,category:T.title[0].classCategory?T.title[0].classCategory:T.title[0].category,channelId:T.title[0].channelId,fromRecent:null!==(h=null===(p=this.props.location.state)||void 0===p?void 0:p.fromRecent)&&void 0!==h&&h};else c={url:this.props.StreamingVideoLink,creationDate:(T.title[0].creationDate,T.title[0].creationDate),trailerLinkWeb:T.title[0].trailerLinkWeb,description:T.title[0].classDescription?T.title[0].classDescription:T.description,className:T.title[0].className,thumbnail:T.title[0].imageLink,calorieBurn:T.title[0].calorieBurn,duration:T.title[0].durationSecond?Math.floor(T.title[0].durationSecond/60):55,altLink:T.title[0].alternateLink,fav:T.title[0].favourite,level:T.title[0].level,channelName:T.displayName,channelImage:T.profileImageUrl,channelDescription:T.description},d={duration:Math.floor(T.title[0].durationSecond/60),id:T.title[0].tag?T.title[0].tag:T.id,title:(T.title[0].className,T.title[0].className),newProviderId:T.title[0].providerID,provider_id:T.title[0].providerID,category:T.title[0].classCategories,channelId:T.title[0].channelId,fromRecent:null!==(v=null===(g=this.props.location.state)||void 0===g?void 0:g.fromRecent)&&void 0!==v&&v}}this.props.sendClassDetailsToLocalytics(d),this.props.checkConnectClassClicked(!1),this.setState({selectedItem:T,video:c});var C="";C=null!==(a=T)&&void 0!==a&&a.title&&(null===(n=T)||void 0===n?void 0:n.title.length)>0&&null!==(o=T)&&void 0!==o&&null!==(l=o.title[0])&&void 0!==l&&l.tag?T.title[0].tag:null===(r=T)||void 0===r?void 0:r.id,this.setState({classId:C})}}},{key:"componentDidUpdate",value:function(e,t){if(this.props.isAuthenticated!==e.isAuthenticated&&(this.props.isAuthenticated||this.props.navigate("/signin")),!this.state.videoPlaying&&!this.props.isSubscriptionLoading&&this.state.isThisClassDeepLink&&this.props.fetchPlayBackLink(this.state.classId,this.isEmptyState()),e.collection!==this.props.collection||e.location.pathname!==window.location.pathname)if(null!==this.props.collection||null!==this.props.location.state.selectedItem){var i,a;if((0,y.Z)(this.props.collection),null!==(i=this.props.location.state)&&void 0!==i&&i.selectedItem.tag&&!this.state.isThisClassDeepLink)this.props.fetchPlayBackLink(null===(a=this.props.location.state)||void 0===a?void 0:a.selectedItem.tag,this.isEmptyState());T=this.props.location&&this.props.location.state&&this.props.location.state.selectedItem?this.props.location.state.selectedItem:this.props.collection.titleDetails;var n=this.props.collection.channelDetails,o=this.state.video;
1if(null!==T&&!1!==T){var l,r,c,d,u,h,p,v=T;if(o={url:this.props.StreamingVideoLink,id:v.tag,className:v.className,thumbnail:v.imageLink,description:v.classDescription,calorieBurn:v.calorieBurn,duration:v.durationSecond?Math.floor(v.durationSecond/60):55,altLink:v.alternateLink,fav:v.favourite,level:v.level,creationDate:v.creationDate,newProviderId:v.providerID,provider_id:v.provider,category:v.classCategory,channelName:n.displayName,channelImage:n.profileImageUrl,channelDescription:n.description},this.state.isClubConnect){this.props.checkConnectClassClicked(!0);var m=(0,s.Z)({},o);this.setState((0,s.Z)((0,s.Z)({},this.state),{},{video:m,selectedItem:T}))}else this.setState((0,s.Z)((0,s.Z)({},this.state),{},{video:o,selectedItem:T}));var g=null!==(l=null===(r=this.props.location.state)||void 0===r?void 0:r.fromRecent)&&void 0!==l&&l;this.props.sendClassDetailsToLocalytics((0,s.Z)((0,s.Z)({},o),{},{fromRecent:g,eventId:this.state.eventId}));var f="";f=null!==(c=T)&&void 0!==c&&c.title&&(null===(d=T)||void 0===d?void 0:d.title.length)>0&&null!==(u=T)&&void 0!==u&&null!==(h=u.title[0])&&void 0!==h&&h.tag?T.title[0].tag:null===(p=T)||void 0===p?void 0:p.id,this.setState({classId:f})}else this.props.navigate(L.Z.homePage);t.videoPlaying!==this.state.videoPlaying&&window.scrollTo(0,0),this.props.isNewUser?this.setState({isDeepLinkLoading:!1,loading:!1,videoPlaying:!0}):this.setState({isDeepLinkLoading:!1})}else this.props.navigate(L.Z.homePage);e.isSubscriptionLoading!==this.props.isSubscriptionLoading&&!1===this.props.isSubscriptionLoading&&(!0===this.props.hasPlayerAccess?this.setState({videoPlaying:!0,loading:!1}):!1===this.props.hasPlayerAccess&&(Z.showUpgradeSubscriptionPopUp?this.setState({showDialog:!0,loading:!1}):this.props.navigate("/subscribe"))),e.StreamingVideoLink!==this.props.StreamingVideoLink&&this.props.StreamingVideoLink&&this.setState({videoPlaying:!0,loading:!1,video:(0,s.Z)((0,s.Z)({},this.state.video),{},{url:this.props.StreamingVideoLink})}),e.dynamicShortLink!==this.props.dynamicShortLink&&null!=this.props.dynamicShortLink&&(this.setState({loading:!1}
1),this.setState({dynamicLinkDetails:{shareUrl:this.props.dynamicShortLink,title:this.state.video.title},showHideShareView:!0}))}},{key:"render",value:function(){var e,t,i,s,a,n,o=this,l=this.state.video,p=this.props.location.state,v=function(){try{return o.state.fromDeepLink?o.props.collection[0].classDescription:null!==(e=null!==(t=(null===(i=p.selectedItem)||void 0===i?void 0:i.title)&&p.selectedItem.title[0].classDescription)&&void 0!==t?t:p.selectedItem.classDescription)&&void 0!==e?e:p.selectedItem.description;var e,t,i}catch(s){return" "}},m=function(){try{var e,t,i,s,a,n;return o.props.showChannelDetail&&null!==(e=o.props.collection)&&void 0!==e&&null!==(t=e.channelDetails)&&void 0!==t&&t.active?{channelImage:null===(i=o.props.collection)||void 0===i||null===(s=i.channelDetails)||void 0===s?void 0:s.profileImageUrl,channelName:null===(a=o.props.collection)||void 0===a||null===(n=a.channelDetails)||void 0===n?void 0:n.name}:{channelImage:!1,channelName:"Wexer"}}catch(l){return{channelImage:!1,channelName:""}}}(),y=m.channelImage,S=m.channelName;return(0,j.jsxs)(r.Fragment,{children:[(0,j.jsxs)("div",{children:[this.state.showDialog?(0,j.jsx)(D.Z,{open:!0,title:(0,g.v)({id:"Subscription.UpgradeMembership"}),heading:(0,g.v)({id:"Subscription.UpgradeMessage"}),children:(0,j.jsx)("div",{className:"text-center padding16",children:(0,j.jsx)(d.Z,{size:"small",type:"submit",color:"secondary",className:"button",variant:"contained",onClick:this.okButtonClick,style:{marginTop:"60px"},children:(0,j.jsx)(f.Z,{variant:"h5",children:(0,g.v)({id:"Subscription.Ok"})})})})}):null,!0===this.state.loading||!0===this.props.loading||!0===this.state.isDeepLinkLoading?(0,j.jsx)("div",{style:{marginTop:"15%"},children:(0,j.jsx)(u.Z,{in:this.state.loading,style:{transitionDelay:"0ms",backgroundColor:"#fff"},unmountOnExit:!0,children:(0,j.jsx)(h.Z,{})})}):(0,j.jsx)(r.Fragment,{children:void 0===this.state.video.url||!1===this.state.videoPlaying&&""!==this.props.StreamingVideoLink?(0,j.jsx)(r.Fragment,{children:(0,j.jsx)("div",{className:"p-t-32 p-t-xs-16",children:(0,j.jsx)("div",{className:"page-container",children:(0,j.jsx)("div",{className:"",style:{padding:"0px !important",outline:"none !important",borderBlock:"none !important",borderInline:"none !important",maxHeight:"354px !important"},item:!0,children:(0,j.jsx)("div",{style:{maxWidth:"100%",marginTop:"0px",padding:"0px !important",outline:"none !important",borderBlock:"none !important",borderInline:"none !important"},children:(this.props.location.state,(0,j.jsx)("img",{className:"no-video-image",src:"".concat(l.thumbnail,"?width=656&height=354"),alt:"",onError:function(e){e.target.onerror=null,o.props.navigate(L.Z.homePage)}}))})})})})}):(0,j.jsx)("div",{className:"p-t-32 p-t-xs-16",children:this.state.videoPlaying&&(0,j.jsx)(k.Z,{classStarted:this.props.classStarted,classClosed:this.props.classClosed,paused:!0,elapsedTimeLiftstateUp:this.elapsedTimeLiftstateUp,trackAndLogClass:this.trackAndLogClass,props:this.state,videoProps:this.state.video,navigate:this.props.navigate,location:this.props.location})})})]}),!1===this.state.isDeepLinkLoading&&!1===this.state.loading&&!1===this.props.loading&&(0,j.jsxs)("div",{children:[(0,j.jsxs)("div",{className:"new-video-metadata",children:[(0,j.jsxs)("div",{className:"vido-metadata-row",children:[(0,j.jsx)("p",{className:"customh1",children:(0,g.v)({id:"".concat(l.className)})}),(0,j.jsxs)("div",{className:"share-fav-row",children:[(null===Z||void 0===Z?void 0:Z.shareEnabled)&&(0,j.jsx)("div",{className:"text-center m-b-xs-5 videoFavUnfav padding16Right",children:(0,j.jsx)(N.ShareIcon,{id:"share-icon-1",color:Z.primaryColor})}),!this.state.isClubConnect&&(0,j.jsxs)("div",{className:"text-center m-b-xs-5 videoFavUnfav",children:[this.state.video.fav&&(0,j.jsx)(c.CSSTransition,{classNames:"slide",timeout:10,mountOnEnter:!0,unmountOnExit:!0,in:this.state.videoPlaying,onClick:this.unfavVideo}),!this.state.video.fav&&(0,j.jsx)(c.CSSTransition,{classNames:"slide",timeout:10,mountOnEnter:!0,unmountOnExit:!0,in:this.state.videoPlaying,onClick:this.favVideo,children:(0,j.jsx)(b.Unfav,{})})]})]})]}),this.state.isChannelWorkout&&y&&!S.includes("Wexer")&&(0,j.jsxs)(C.Z,{container:!0,item:!0,className:"align-left m-t-15 m-t-xs-15",style:{marginBottom:"13px"},children:[(0,j.jsx)(C.Z,{item:!0,lg:2,md:2,style:{maxWidth:"80px",marginRight:"7px"},children:(0,j.jsx)("img",{onClick:this.ViewChannel,className:"channel-profileImg",src:"".concat(y),alt:"channel-img"})}),(0,j.jsx)(C.Z,{item:!0,lg:10,md:10,children:(0,j.jsxs)("div",{className:"align-left",children:[(0,j.jsx)(f.Z,{onClick:this.ViewChannel,variant:"body1",children:"".concat(S)}),(0,j.jsx)(f.Z,{variant:"h4",className:"linkText",children:(0,j.jsx)("span",{className:"makeTextClickable",onClick:this.ViewChannel,children:(0,g.v)({id:"Channels.ViewChannel"})})})]})})]}),v()&&(0,j.jsx)("div",{children:(0,j.jsx)(f.Z,{className:"text-gray m-b-10",variant:"h6",children:(0,g.v)({id:"".concat(v())})})}),(0,j.jsx)("div",{className:"bottomTimer",children:(0,j.jsxs)(C.Z,{container:!0,justifyContent:"flex-start",direction:"row",children:[(0,j.jsx)(C.Z,{item:!0,children:(0,j.jsx)(C.Z,{container:!0,direction:"row",children:(0,j.jsx)(C.Z,{item:!0,children:(0,j.jsxs)(f.Z,{variant:"h3",children:[this.state.video?this.state.video.duration:"00:49:00"," ",(0,g.v)({id:"Player.Mins"})]})})})}),(null===(e=this.state.video)||void 0===e?void 0:e.level)&&(0,j.jsx)(C.Z,{item:!0,className:"discIcon",children:(0,j.jsx)("p",{className:"featured-iconText-Player",children:(0,g.v)({id:"filter.".concat(null===(t=this.state.video)||void 0===t?void 0:t.level)})})}),(null===(i=this.props.collection)||void 0===i||null===(s=i.titleDetails)||void 0===s?void 0:s.scheduleDate)&&(0,j.jsx)(C.Z,{item:!0,className:"discIcon",children:(0,j.jsx)("p",{className:"featured-iconText-Player",children:(0,I.pf)(null===(a=this.props.collection)||void 0===a||null===(n=a.titleDetails)||void 0===n?void 0:n.scheduleDate)})})]})})]}),!0===Z.showBrowseClasses||void 0===Z.showBrowseClasses?(0,j.jsx)(x.Z,{classId:this.state.isThisClassDeepLink?this.state.classId:this.props.location.state.selectedItem.title[0].tag?this.props.location.state.selectedItem.title[0].tag:this.props.location.state.selectedItem.id,categoryId:this.state.isThisClassDeepLink?"":this.props.location.state.selectedItem.classCategoryId}):null]}),this.state.showHideShareView&&(0,j.jsx)(w.Z,{show:this.state.showHideShareView,dynamicLinkDetail
1s:this.state.dynamicLinkDetails,closeDialog:function(){return o.setState({showHideShareView:!1})}})]})}}]),i}(r.Component),M=P,U=i(48036),V=i(99798),F=i(97886),W=i(97300),B=i(64008),E=i(232),A=i(60364),R=i(1851),O=i(10984),_=(0,A.$j)((function(e){return{collection:e.channels.classes,prevPlayer:e.onDemand.prevPlayer,intensities:e.onDemand.intensity,classes:[],loading:e.onDemand.loading,userDetails:e.auth.userDetail,userActiveSubscription:(0,B.h)(e),userSubscription:e.subscription.userSubscripton,isAuthenticated:!!e.auth.token,hasPlayerAccess:e.subscription.hasPlayerAccess,isSubscriptionLoading:e.subscription.isSubscriptionLoading,clubClasses:e.onDemand.clubClasses,isNewUser:e.auth.userCreated,StreamingVideoLink:e.onDemand.StreamingVideoLink,filteredClassSearchData:e.filter.filteredClassSearchData,showChannelDetail:!!e.channels.classes,fetchShortLinkLoading:e.dynamicDeeplink.fetchShortLinkLoading,dynamicShortLink:e.dynamicDeeplink.dynamicShortLink}}),(function(e){return{savingPrevPlayer:function(t){return e((0,V.gB)(t))},fetchPlayBackLink:function(t){return e((0,V.OX)(t))},fetchDeepLinkClass:function(t){return e((0,W.WK)(t))},classClosed:function(){return e({type:O.Ovs})},classStarted:function(){return e({type:O.Mfw})},onLoadIntensity:function(){return e((0,V.uP)())},sendPlayDurationToLocalytics:function(t){return e((0,U.Xw)(t))},onsetClassFavourite:function(t,i,s){return e((0,V.iX)(t,i,s))},setDeeplinkClassFavUnfavOnLocalColletion:function(t){return e((0,V.Et)(t))},onsetClassFavouriteLocal:function(t,i,s){return e((0,V.Gq)(t,i,s))},onLogOnDemandTracking:function(t,i,s,a){return e((0,V.nN)(t,i,s,a))},sendClassDetailsToLocalytics:function(t){return e((0,U.Yv)(t))},onSubmitWorkoutResult:function(t){return e((0,U._W)(t))},loadUserSubscription:function(){return e((0,E.pQ)())},checkConnectClassClicked:function(t){return e((0,U.Q8)(t))},FetchClubLiveConnect:function(t){return e((0,V.Yv)(t))},storeDeepLinkDataToStore:function(t){return e({type:O.MPK,deeplinkData:t})},resetUserCreatedFlag:function(){return e({type:O.Ig4})},getShortDeepLink:function(t,i,s){return e((0,F.Q)(t,i,s))},resetShortDeepLink:function(){return e((0,F.k)())}}}))((0,R.ZP)(M))},30512:function(){}}]); 2//# sourceMappingURL=447.e417fa3a.chunk.js.map
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.