1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8870],{55195:function(e,i,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/series/[seriesId]",function(){return t(55117)}])},72087:function(e,i,t){"use strict";t.r(i),t.d(i,{CreatorSeriesPage:function(){return f},__N_SSP:function(){return v}});var n=t(52322),o=t(86447),r=t(27511),l=t(5632);t(2784);var a=t(60192),u=t(7455),s=t(17439),d=t(87325),c=t(78165),v=!0;let f=e=>{var i;let{isDefaultOrganization:t,isLoading:r,screenConfigs:l}=o.PT.useCurrentApplication(),{webConfig:a}=(0,s.J)();return(a.tivio.lockApplicationHandle?r:t)?(0,n.jsx)(d.V,{animated:!1}):(0,n.jsx)(p,{},null==l?void 0:null===(i=l[0])||void 0===i?void 0:i.id)},p=()=>{let{query:e}=(0,l.useRouter)(),i=(0,c.ll)(e.seriesId),{tag:t}=o.PT.useTag(i);return t?(0,n.jsx)(g,{seriesTag:t}):(0,n.jsx)(d.V,{})},g=e=>{let{seriesTag:i}=e,{query:t}=(0,l.useRouter)(),s=t.videoId,{video:c}=(0,a.y)(s),{video:v}=o.PT.useSeriesDetailScreen(i.id),f=o.PT.useOrganization();(0,u.y)(r.AnalyticsConversionPage.Player,null==c?void 0:c.id);let{user:p}=(0,o.aF)(),g=null!=c?c:v;if(!g)return(0,n.jsx)(d.V,{});let x=!!(!(null==f?void 0:f.userProfileConfiguration)||(null==p?void 0:p.activeUserProfileId));return(0,n.jsx)(o.wx.WebTivioProVideoScreen,{video:g,seriesTag:i,autoplay:x})};i.default=f},55117:function(e,i,t){"use strict";t.r(i),t.d(i,{__N_SSP:function(){return c}});var n=t(52322),o=t(86447),r=t(27511),l=t(5632);t(2784);var a=t(7455),u=t(17439),s=t(78165),d=t(72087),c=!0;i.default=()=>{let{query:e}=(0,l.useRouter)(),i=(0,s.ll)(e.seriesId),{webConfig:t}=(0,u.J)();return((0,a.y)(r.AnalyticsConversionPage.Series,i),t.tivio.lockApplicationHandle)?(0,n.jsx)(d.default,{}):(0,n.jsx)(o.wx.WebSeriesDetailScreen,{tagId:i})}},60192:function(e,i,t){"use strict";t.d(i,{y:function(){return a}});var n=t(43348),o=t(86447),r=t(2784);let l=(0,n.createLogger)("usePlayVideo"),a=(e,i)=>{let{data:t,error:n}=(0,o.RY)(e,void 0,i),[a,u]=(0,r.useState)(""),{user:s}=(0,o.aF)();return(0,r.useEffect)(()=>{u("")},[e]),(0,r.useEffect)(()=>{(async()=>{(null==t?void 0:t.linkedVideosInNotLoaded())&&await (null==t?void 0:t.loadLinkedVideos())})()},[null==t?void 0:t.linkedVideos,null==t?void 0:t.linkedVideosRaw,s]),(0,r.useEffect)(()=>{n?(l.error("video error: ",n),u("Failed to play video")):u("")},[n]),{video:t,error:a}}},7455:function(e,i,t){"use strict";t.d(i,{y:function(){return l}});var n=t(86447),o=t(27511),r=t(2784);function l(e,i){(0,r.useEffect)(()=>{(![o.AnalyticsConversionPage.Videos,o.AnalyticsConversionPage.Player].includes(e)||i)&&n.fv.reportLocationChange(e,i)},[n.fv,e,i])}},77038:function(e,i,t){"use strict";t.d(i,{n:function(){return s}});var n=t(52322),o=t(61520);t(2784);var r=t(35505),l=t(48980);let a=(0,r.ZP)("img").withConfig({componentId:"sc-9043c195-0"})(["max-width:100px;@media (min-width:","px){max-width:140px;}"],l.MD),u=(0,r.ZP)(o.Z).withConfig({componentId:"sc-9043c195-1"})(["width:70vw;height:7px !important;@media (min-width:","px){width:25vw;}"],l.MD),s=e=>{let{logo:i,showProgressBar:t,title:o}=e;return(0,n.jsxs)(n.Fragment,{children:[i&&(0,n.jsx)(a,{src:i,alt:o}),t&&(0,n.jsx)(u,{color:"primary"})]})}},87325:function(e,i,t){"use strict";t.d(i,{V:function(){return d}});var n=t(52322),o=t(2784),r=t(35505),l=t(42584),a=t(17439),u=t(77038);let s=r.ZP.div.withConfig({componentId:"sc-b5ec3eb7-0"})(["position:fixed;top:0;left:0;z-index:",";display:flex;width:100vw;height:100vh;align-items:center;justify-content:center;flex-direction:column;gap:70px;",";opacity:",";transition:opacity ","ms ease-out;pointer-events:",";"],l.bf+1,e=>{var i,t;let{background:n,theme:o}=e;return n?"".concat(n," !important"):(null===(t=o.customizations)||void 0===t?void 0:null===(i=t.global)||void 0===i?void 0:i.appBackground)?"".concat(o.customizations.global.appBackground," !important"):"background-color: #000;"},e=>{let{$isVisible:i}=e;return i?1:0},150,e=>{let{$isVisible:i}=e;return i?"auto":"none"}),d=e=>{var i,t,r,l;let{animated:d=!0,visible:c=!0}=e,{webConfig:v}=(0,a.J)(),[f,p]=(0,o.useState)(!0);if((0,o.useEffect)(()=>{if(c)p(!0);else{let e=setTimeout(()=>p(!1),150);return()=>clearTimeout(e)}},[c]),!f)return null;let g=null===(i=v.loader)||void 0===i?void 0:i.animatedLogo,x=d&&g,w=x?g:null!==(r=v.logoLoadingOverlay)&&void 0!==r?r:v.logo,h=!x&&(null===(t=v.loader)||void 0===t?void 0:t.showProgressBar)!==!1;
1return(0,n.jsx)(s,{background:v.appBackground,$isVisible:c,children:(0,n.jsx)(u.n,{logo:w,showProgressBar:h,title:null!==(l=v.title)&&void 0!==l?l:""})})}}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=55195)}),_N_E=e.O()}]);
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.