import{j as t,z as P,r as g,a5 as Q,c as v,F as o,a3 as Z}from"./vendor-CT-JknSv.chunk.js";import{W as X,C as K}from"./WatchLaterIcon-DB7Vx4yd.chunk.js";import{l as p,i as s,k,v as j,A as z,w as q,O,x as _,y as $,z as ee,B as N,D as te,E as ae,F as ie,G as re,P as H,u as ne,I as le,J as oe,K as se,N as Ae,Q as ce,r as T,R as G,T as ge,C as ue,V as m,W as de,X as he,Y as fe,Z as Ye,_ as me,$ as pe,j as L,a0 as be,a1 as Ie,a2 as Ee,a3 as we,a4 as Re}from"./index-DDZqnj79.js";import{C as Se}from"./LoadingConveyorSection-B4xh3KQa.chunk.js";import{H as Je}from"./Header-CcAYibhJ.chunk.js";import{u as Ce,c as De,a as Me,V as Ue}from"./NebulaLessonPlayer-C2l8O21i.chunk.js";import{V as ye,N as Ve}from"./NebulaVideoPlayer-BTR4LAEc.chunk.js";import{U as Te}from"./Placards-BcYZqK06.chunk.js";import{g as Ge}from"./getTwitterHandleFromUrl-CbZURkQ2.chunk.js";import{g as Le}from"./preferences-BqZcwQYn.chunk.js";const ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALAAAAA8CAYAAADGxTD9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA4ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDcuMi1jMDAwIDc5LjFiNjVhNzliNCwgMjAyMi8wNi8xMy0yMjowMTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJ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PqL+qOeo1foRKtUWKX4HDbNdQa2UR1EuymqU+XsGyv0yAm0TTAn1dUrzGp4U0lWkNEOVktoT+hw6upyUv7XQ8GtnH/za3Ru/dvXAH90/IcKoz0g4ywsZV/si+2YNmdfqyC6kLL5TRdVtHmi57j2aLH2N4sOfoECbOyha5xJKlzmISjnXo1aWlWiWdTU6Fd0e6uuUVCVNSySuKqWE+kz6LJLU/WbfKTbqSL1LiLnXB8U3fEKDje9tP/sOVSkDsAxFlY1e5/zzDuNSJt5iINVxAxlO+SLr+g8oP/8VS/nlc/pi60DjwSkR9dByZu52Uibf60CqMyKnVKTb+gn5p75kKb/w64rs80gYi0A0LqX93s+jCc43Z+X0OreTMv4eB5IcN5B4nzeSLP+ItJPfuqKUdOul3tSagPRs9Fo5O6ZzlL/J02PZ/wW0Z5QL6PTY+nnUR7vnLzrRthqIuU1F1A3eiDjzM1IPe+eKUn4xJEQAK6Z1+YYeB6qikcT0XvNfCFFPStcvP88tpYw6WkW4hSrCrxJZ6oO8Qz7DqTD823fOcipSddaQfpGGvL1VNG3gAafCsJQ1UhtoVMhA91YOzM6hYWUaTzgVhqXsVtfA8BYGVrY2cKq2gYe5VIQUDEvJMCwlw1IyDEvJsJQMw1IyLKWvjaRkWEqVtyyxJbxlyT7e3Mlu8OZOvA2eveBt8Ly8vBLzhqE2gjcMTSy3Vl7LWyvbBt5amTehtyO8Cb2slvVEHOaKqes6ghmGIa+sFdLh558iK6U5XWV/aaqaNDsK6i2d4d6RPLJWRylkL/LvS1JSqoh8FkEIh8PxEGlgddAqpLnHXCurZjCHwzHIL9lDWmMdsIbk7Oe3wP5MRA3ECXA4qp8/5FE/cQtPKqJ8Kf8CeXcBbfvIjbMAAAAASUVORK5CYII=";function Be({children:i,to:r=""}){return t(k,{css:{gridArea:"category",fontWeight:p.weight.book,fontSize:"13px",marginTop:"0px",color:s.label400},to:r,tabIndex:-1,children:t("span",{css:{fontWeight:"inherit",fontSize:"inherit",marginTop:"0px",color:"inherit"},children:i})})}function We({children:i,...r}){return t("div",{css:{display:"grid",gridTemplateColumns:"50px auto 1fr auto",gridColumnGap:"16px",gridTemplateRows:"auto auto",gridTemplateAreas:'"avatar title . follow" "avatar category . follow"',padding:"30px 0px",borderTopWidth:1,borderTopStyle:"solid",borderTopColor:s.insetStroke,[j]:{gridTemplateColumns:"50px auto 1fr auto",gridTemplateAreas:'"avatar title . follow" "avatar category . follow"'}},...r,children:i})}function xe({children:i,to:r="",...e}){return t(k,{css:{display:"block",gridArea:"title",fontWeight:p.weight.medium,fontSize:"15px",lineHeight:"20px",marginBottom:"0px",alignSelf:"flex-end",color:s.label},to:r,...e,children:t("h2",{css:{fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",alignSelf:"flex-end"},children:i})})}function Fe({description:i}){const r=g.useContext(O),e=a=>{var l;const n=a==null?void 0:a.closest("a");if(!n)return!1;const A=n.getAttribute(z);return A?((l=r.current)==null||l.setCurrentTime(parseInt(A)),window.scrollTo({top:0,behavior:"smooth"}),!0):!1};return t(_,{css:Pe,markdownString:i,enableAutoTimestamps:!0,limited:!0,onClick:a=>{if(a.ctrlKey||a.metaKey||a.shiftKey||a.altKey)return;const n=a.target;e(n)&&a.preventDefault()},onKeyDown:a=>{if(a.key!=="Enter"||a.ctrlKey||a.metaKey||a.shiftKey||a.altKey)return;const n=a.target;e(n)&&a.preventDefault()}})}const Pe=P({fontSize:"14px",lineHeight:"22px",fontWeight:p.weight.book,color:s.label,whiteSpace:"normal",wordBreak:"break-word","> * ":{marginBottom:14},marginBottom:60,[`a[${z}]`]:{fontFamily:q,fontFeatureSettings:'"tnum"'}});function Qe({children:i}){return t("div",{css:{marginBottom:20},children:i})}const ve={light:{firstIcon:je,originalIcon:Oe,plusIcon:He},dark:{firstIcon:ke,originalIcon:ze,plusIcon:Ne}};function I({videoType:i}){const{getThemeData:r}=$(),e=r(ve);let a,n;switch(i){case"first":{a="Nebula First",n=e.firstIcon;break}case"original":{a="Nebula Original",n=e.originalIcon;break}case"plus":{a="Nebula Plus",n=e.plusIcon;break}}return t("img",{alt:a,src:n,css:{height:20,marginLeft:8}})}const Ze=300;function At({staticContext:i}){i&&(i.cacheDuration=Ze);const{slug:r}=Q(),{data:e,isPlaceholderData:a,error:n,isInitialLoading:A}=ee({slug:`videos/${r}`}),l=(e==null?void 0:e.type)==="video_episode"?e:void 0,{data:Y,isInitialLoading:u}=N(l),{channel:d,error:h}=te({id:l==null?void 0:l.channel_id});return ae({refContent:E(l,a)?l:void 0}),ie(n),h?t(re,{error:h}):l?t(Ke,{isLoading:A||u,isPlaceholderData:a,video:l,channel:d,engagement:Y}):t(H,{})}function E(i,r){return!!i&&!r}const Xe=[];function Ke({isLoading:i,isPlaceholderData:r,video:e,channel:a,engagement:n}){var J,C,D,M,U,y,V;const A=v(),{data:l}=N(a),Y=ne(),{startTime:u}=Ce(i?void 0:(C=(J=n==null?void 0:n.progress)==null?void 0:J.value)!=null?C:0,e.duration_to_complete),[d,h]=g.useState(null);g.useEffect(()=>{h(null)},[e.id]),g.useEffect(()=>{u!==void 0&&h(b=>b!=null?b:De({mediaId:e.id,startPosition:u,autoplayEnabled:Le("video")}))},[e.id,u]);const B=g.useRef(null),w=Me(d),W=le({url:`/videos/${e.slug}`,title:`${e.channel_title} — ${e.title}`,author:e.channel_title,description:e.short_description,image:{src:oe({image:(D=e.images)==null?void 0:D.thumbnail,format:"jpeg",width:1280}).toString(),width:1280,height:720},video:E(e,r)?{duration:e.duration,releaseDate:e.published_at}:void 0,twitter:a!=null&&a.twitter?{creator:Ge(a.twitter)}:void 0,canonicalQueryParams:Xe,withOEmbed:e.unauthenticated}),c=(M=A.location.state)==null?void 0:M[se],R=c==null?void 0:c.view,S=c==null?void 0:c.id,{episodes:f=[],isInitialLoading:x}=Ae({id:e.id,contextView:R,contextId:S}),F=f[0];return o(H,{css:{[ce]:{paddingTop:0},[j]:{paddingTop:0},[T]:{paddingTop:0}},children:[o(Z,{defer:!1,children:[t("title",{children:e.title}),W,t("link",{rel:"alternate",type:"application/rss+xml",href:new URL(`video/channels/${e.channel_slug}.rss`,G.NEBULA_RSS_BASE_URL).toString(),title:`Latest Videos of ${e.channel_title}`}),t("link",{rel:"alternate",type:"application/rss+xml",href:new URL(`video/channels/${e.channel_slug}.rss?plus=true`,G.NEBULA_RSS_BASE_URL).toString(),title:`Latest Plus Videos of ${e.channel_title}`})]}),t(O.Provider,{value:B,children:o("main",{children:[d&&w&&E(e,r)?t(ge,{nextItem:F,children:t(ye,{video:e,children:t(Ve,{video:e,store:d})})}):w?t(Ue,{isProxy:!1,thumbnail:(y=e==null?void 0:e.images)==null?void 0:y.thumbnail,title:e==null?void 0:e.title}):t(Te,{title:e.title,duration:e.duration,thumbnail:(U=e.images)==null?void 0:U.thumbnail}),t(ue,{as:"section","aria-label":"video description",css:{maxWidth:1020,paddingLeft:m,paddingRight:m,[T]:{paddingLeft:m,paddingRight:m}},children:o(de,{view:R,id:S,children:[o(Qe,{children:[t(Je,{as:"h1",css:{color:s.label,fontSize:"20px",fontWeight:p.weight.medium,marginBottom:4},children:e.title}),o("div",{css:{alignItems:"center",color:s.label400,display:"flex",flexDirection:"row",fontSize:"14px"},children:[e.published_at&&o(g.Fragment,{children:[t(he,{children:"Video published:"}),t(fe,{value:e.published_at,format:"calendar"})]}),qe(e)?Ye(e)?t(I,{videoType:"original"}):me(e)?t(I,{videoType:"plus"}):pe(e)?t(I,{videoType:"first"}):null:null,t("div",{css:{marginLeft:"auto",display:"flex",minHeight:32},children:Y&&!i&&t(X,{id:e.id,bookmarked:!!(n!=null&&n.watch_later),css:{color:L.blue400,[be]:{":hover":{color:L.blue600}}}})})]})]}),o(We,{children:[t(K,{to:`/${e.channel_slug}`,image:(V=e.images)==null?void 0:V.channel_avatar,size:50,name:"Avatar",tabIndex:-1}),t(xe,{css:{color:s.label},to:`/${e.channel_slug}`,children:e.channel_title}),t(Be,{to:`/${e.channel_slug}`,children:(a==null?void 0:a.genre_category_title)||""}),t("div",{css:{gridArea:"follow",margin:"0px 0px 0px 10px",width:"auto",alignSelf:"center"},children:Ie(l)&&!i&&e.channel_id&&t(Ee,{id:e.channel_id,isFollowing:!!(l!=null&&l.following)})})]}),e.description&&t(Fe,{description:e.description}),Y&&!x&&(f==null?void 0:f.length)>0&&t(_e,{episodes:f})]})})]})})]})}function qe(i){var r;return!!((r=i==null?void 0:i.attributes)!=null&&r.length)}function _e({episodes:i}){return t(Re,{title:"Up Next",css:{padding:0},children:t(Se,{arrowsLayoutBreakpoint:1020,children:i.map(r=>t(we,{item:r,showDate:!0},r.id))})})}export{At as default};