diff --git a/static/web/404.html b/static/web/404.html index db146fe8d..9c0d5d290 100644 --- a/static/web/404.html +++ b/static/web/404.html @@ -1,4 +1,4 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file + }

404

This page could not be found.

\ No newline at end of file diff --git a/static/web/404/index.html b/static/web/404/index.html index db146fe8d..9c0d5d290 100644 --- a/static/web/404/index.html +++ b/static/web/404/index.html @@ -1,4 +1,4 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file + }

404

This page could not be found.

\ No newline at end of file diff --git a/static/web/_next/static/chunks/pages/index-6723057cc31c8d93.js b/static/web/_next/static/chunks/pages/index-6723057cc31c8d93.js new file mode 100644 index 000000000..a6dc33c2f --- /dev/null +++ b/static/web/_next/static/chunks/pages/index-6723057cc31c8d93.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405],{48312:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return t(13906)}])},8119:function(e,n,t){"use strict";t.d(n,{h:function(){return E},Z:function(){return M}});var o=t(85893),r=t(97183),i=t(94199),s=t(20550),a=t(828),l=t(66516),c=t(38504),u=t(71577),d=t(26713),f=t(86548),m=t(94149),h=t(38545),x=t(87547),p=t(39398),j=t(4480),v=t(67294),g=t(49218),_=t(5152),w=t.n(_),y=t(1899),b=t(47093),C=t.n(b),k=w()((function(){return t.e(2365).then(t.bind(t,32365)).then((function(e){return e.Modal}))}),{loadableGenerated:{webpack:function(){return[32365]}}}),N=w()((function(){return Promise.all([t.e(8939),t.e(8225)]).then(t.bind(t,98225)).then((function(e){return e.NameChangeModal}))}),{loadableGenerated:{webpack:function(){return[98225]}}}),S=w()((function(){return Promise.all([t.e(4381),t.e(9674)]).then(t.bind(t,9674)).then((function(e){return e.AuthModal}))}),{loadableGenerated:{webpack:function(){return[9674]}}}),Z=function(e){var n=e.username,t=void 0===n?void 0:n,r=(0,v.useState)(!1),i=r[0],s=r[1],_=(0,v.useState)(!1),w=_[0],b=_[1],Z=(0,a.Z)((0,j.FV)(y.ZA),2),T=Z[0],F=Z[1],A=(0,j.sJ)(y.Q),L=function(){F(!T)};(0,g.y1)("c",L,{enableOnContentEditable:!1},[T]);var E=(0,j.sJ)(y.db);if(!E)return null;var M=E.displayName,I=t||M,D=(0,o.jsxs)(l.Z,{children:[(0,o.jsx)(l.Z.Item,{icon:(0,o.jsx)(f.Z,{}),onClick:function(){s(!0)},children:"Change name"},"0"),(0,o.jsx)(l.Z.Item,{icon:(0,o.jsx)(m.Z,{}),onClick:function(){return b(!0)},children:"Authenticate"},"1"),A.chatAvailable&&(0,o.jsx)(l.Z.Item,{icon:(0,o.jsx)(h.Z,{}),onClick:function(){return L()},children:"Toggle chat"},"3")]});return(0,o.jsxs)("div",{className:"".concat(C().root),children:[(0,o.jsx)(c.Z,{overlay:D,trigger:["click"],children:(0,o.jsx)(u.Z,{type:"primary",icon:(0,o.jsx)(x.Z,{style:{marginRight:".5rem"}}),children:(0,o.jsxs)(d.Z,{children:[I,(0,o.jsx)(p.Z,{})]})})}),(0,o.jsx)(k,{title:"Change Chat Display Name",open:i,handleCancel:function(){return s(!1)},children:(0,o.jsx)(N,{})}),(0,o.jsx)(k,{title:"Authenticate",open:w,handleCancel:function(){return b(!1)},children:(0,o.jsx)(S,{})})]})},T=t(60113),F=t(92910),A=t.n(F),L=r.Z.Header,E=function(e){var n=e.name,t=void 0===n?"Your stream title":n,r=e.chatAvailable,a=e.chatDisabled;return(0,o.jsxs)(L,{className:"".concat(A().header),children:[(0,o.jsxs)("div",{className:"".concat(A().logo),children:[(0,o.jsx)(T.C,{variant:"contrast"}),(0,o.jsx)("span",{children:t})]}),r&&!a&&(0,o.jsx)(Z,{}),!r&&!a&&(0,o.jsx)(i.Z,{title:"Chat is available when the stream is live.",placement:"left",children:(0,o.jsx)(s.Z,{style:{cursor:"pointer"},children:"Chat offline"})})]})},M=E},32365:function(e,n,t){"use strict";t.r(n),t.d(n,{Modal:function(){return u}});var o=t(85893),r=t(85402),i=t(26303),s=t(11382),a=t(67294),l=t(78890),c=t.n(l),u=function(e){var n=e.title,t=e.url,l=e.open,u=e.handleOk,d=e.handleCancel,f=e.afterClose,m=e.height,h=e.width,x=e.children,p=(0,a.useState)(!!t),j=p[0],v=p[1],g={padding:"0px",minHeight:m,height:null!==m&&void 0!==m?m:"100%"},_=t&&(0,o.jsx)("iframe",{title:n,src:t,width:"100%",height:"100%",sandbox:"allow-same-origin allow-scripts allow-popups allow-forms",frameBorder:"0",allowFullScreen:!0,onLoad:function(){return v(!1)}}),w=j?"none":"inline";return(0,o.jsx)(r.Z,{title:n,open:l,onOk:u,onCancel:d,afterClose:f,bodyStyle:g,width:h,zIndex:9999,footer:null,centered:!0,destroyOnClose:!0,children:(0,o.jsxs)(o.Fragment,{children:[j&&(0,o.jsx)(i.Z,{active:j,style:{padding:"10px"},paragraph:{rows:10}}),_&&(0,o.jsx)("div",{style:{display:w},children:_}),x&&(0,o.jsx)("div",{className:c().content,children:x}),j&&(0,o.jsx)(s.Z,{className:c().spinner,spinning:j,size:"large"})]})})};n.default=u,u.defaultProps={url:void 0,children:void 0,handleOk:void 0,handleCancel:void 0,afterClose:void 0}},1698:function(e,n,t){"use strict";t.d(n,{R:function(){return c}});var o=t(85893),r=t(27049),i=t(24019),s=t(45938),a=t(29316),l=t.n(a),c=function(e){var n,t=e.streamName,a=e.customText,c=e.lastLive,u=e.notificationsEnabled,d=e.fediverseAccount,f=e.onNotifyClick,m=e.onFollowClick;return n=a||(!a&&u&&d?(0,o.jsxs)("span",{children:["This stream is offline. You can"," ",(0,o.jsx)("span",{role:"link",tabIndex:0,className:l().actionLink,onClick:f,children:"be notified"})," ","the next time ",t," goes live or"," ",(0,o.jsx)("span",{role:"link",tabIndex:0,className:l().actionLink,onClick:m,children:"follow"})," ",d," on the Fediverse."]}):!a&&u?(0,o.jsxs)("span",{children:["This stream is offline."," ",(0,o.jsx)("span",{role:"link",tabIndex:0,className:l().actionLink,onClick:f,children:"Be notified"})," ","the next time ",t," goes live."]}):!a&&d?(0,o.jsxs)("span",{children:["This stream is offline."," ",(0,o.jsx)("span",{role:"link",tabIndex:0,className:l().actionLink,onClick:m,children:"Follow"})," ",d," on the Fediverse to see the next time ",t," goes live."]}):"This stream is offline. Check back soon!"),(0,o.jsx)("div",{className:l().outerContainer,children:(0,o.jsxs)("div",{className:l().innerContainer,children:[(0,o.jsx)("div",{className:l().header,children:t}),(0,o.jsx)(r.Z,{className:l().separator}),(0,o.jsx)("div",{className:l().bodyText,children:n}),c&&(0,o.jsxs)("div",{className:l().lastLiveDate,children:[(0,o.jsx)(i.Z,{className:l().clockIcon}),"Last live ".concat((0,s.Z)(new Date(c))," ago.")]})]})})}},43125:function(e,n,t){"use strict";t.d(n,{X:function(){return u}});var o=t(85893),r=t(45938),i=t(68730),s=t(67294),a=t(31326),l=t(93132),c=t.n(l);var u=function(e){var n=e.online,t=e.lastConnectTime,l=e.lastDisconnectTime,u=e.viewerCount,d=(0,s.useState)(new Date)[1];(0,s.useEffect)((function(){var e=setInterval((function(){return d(new Date)}),1e3);return function(){clearInterval(e)}}),[]);var f,m="";if(n&&t){var h=function(e){var n=(0,i.Z)({start:e,end:new Date});return n.days>1?"".concat(n.days," days ").concat(n.hours," hours"):n.hours>=1?"".concat(n.hours," hours ").concat(n.minutes," minutes"):"".concat(n.minutes," minutes ").concat(n.seconds," seconds")}(new Date(t));m=n?"Live for ".concat(h):"Offline",f=u>0&&(0,o.jsxs)("div",{className:c().right,children:[(0,o.jsx)("span",{children:(0,o.jsx)(a.Z,{})}),(0,o.jsx)("span",{children:" ".concat(u)})]})}else n||(m="Offline",l&&(f="Last live ".concat((0,r.Z)(new Date(l))," ago.")));return(0,o.jsxs)("div",{className:c().statusbar,children:[(0,o.jsx)("div",{children:m}),(0,o.jsx)("div",{children:f})]})};u.defaultProps={lastConnectTime:null,lastDisconnectTime:null}},13906:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return Ke}});var o=t(85893),r=t(828),i=t(97183),s=t(4480),a=t(9008),l=t.n(a),c=t(67294),u=t(1899),d=t(26042),f=t(69396),m=t(84381),h=t(11382),x=t(94184),p=t.n(x),j=t(5152),v=t.n(j),g=t(73682),_=t(35603),w=t.n(_),y=function(e){var n=e.version;return(0,o.jsxs)("div",{className:w().footer,children:[(0,o.jsxs)("span",{children:["Powered by ",(0,o.jsx)("a",{href:"https://owncast.online",children:n})]}),(0,o.jsxs)("span",{className:w().links,children:[(0,o.jsx)("a",{href:"https://owncast.online/docs",target:"_blank",rel:"noreferrer",children:"Documentation"}),(0,o.jsx)("a",{href:"https://owncast.online/help",target:"_blank",rel:"noreferrer",children:"Contribute"}),(0,o.jsx)("a",{href:"https://github.com/owncast/owncast",target:"_blank",rel:"noreferrer",children:"Source"})]})]})},b=t(28105),C=t.n(b),k=function(e){var n=e.content,t=(0,s.sJ)(u.hz),r=(0,s.sJ)(u.g1).version;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:C().pageContentContainer,children:(0,o.jsx)("div",{className:C().customPageContent,dangerouslySetInnerHTML:{__html:n}})}),t&&(0,o.jsx)(y,{version:r})]})},N=t(63291),S=t.n(N),Z=t(87412),T=t(75347),F=t.n(T),A=v()((function(){return Promise.all([t.e(1272),t.e(8700),t.e(2852),t.e(2382),t.e(9715)]).then(t.bind(t,32382)).then((function(e){return e.ChatContainer}))}),{loadableGenerated:{webpack:function(){return[32382]}}}),L=function(){var e=(0,s.sJ)(u.db),n=(0,s.sJ)(u.pH);if(!e)return null;var t=e.id,r=e.isModerator,i=e.displayName;return(0,o.jsx)(Z.ZP,{className:F().root,collapsedWidth:0,width:320,children:(0,o.jsx)(A,{messages:n,usernameToHighlight:i,chatUserId:t,isModerator:r})})},E=t(69767),M=t.n(E),I=function(e){var n=e.children;return(0,o.jsx)("div",{className:"".concat(M().row),children:n})},D=t(71577),H=t(36879),z=t.n(H),O=function(e){var n=e.action,t=e.primary,r=void 0===t||t,i=e.externalActionSelected,s=n.title,a=n.description,l=n.icon,c=n.color;return(0,o.jsxs)(D.Z,{type:r?"primary":"default",className:"".concat(z().button),onClick:function(){return i(n)},style:{backgroundColor:c},children:[l&&(0,o.jsx)("img",{src:l,className:"".concat(z().icon),alt:a}),s]})},P=t(1698),B=t(34447),J=function(e){var n=e.onClick,t=e.props;return(0,o.jsx)(D.Z,(0,f.Z)((0,d.Z)({},t),{type:"primary",className:z().button,icon:(0,o.jsx)(B.Z,{}),onClick:n,children:"Follow"}))},U=t(71578),R=function(e){var n=e.onClick,t=e.text;return(0,o.jsx)(D.Z,{type:"primary",className:"".concat(z().button),icon:(0,o.jsx)(U.Z,{}),onClick:n,children:t||"Notify"})},G=t(53731),V=t(79216),Y=t(7918),q=t.n(Y),Q=function(e){var n=e.src;return(0,o.jsx)("div",{className:q().root,children:(0,o.jsx)("div",{className:q().container,children:(0,o.jsx)(V.Z,{src:n,alt:"Logo",className:q().image,rootClassName:q().image})})})},W=t(25675),K=t.n(W),X=t(52740),$=t.n(X),ee=function(e){var n=e.links;return(0,o.jsx)("div",{className:$().links,children:n.map((function(e){return(0,o.jsx)("a",{href:e.url,className:$().link,target:"_blank",rel:"noreferrer me",children:(0,o.jsx)(K(),{src:e.icon||"/img/platformlogos/default.svg",alt:e.platform,title:e.platform,className:$().link,width:"30",height:"30"})},e.platform)}))})},ne=t(74688),te=t.n(ne),oe=function(e){var n=e.name,t=e.title,r=e.summary,i=e.logo,s=e.tags,a=e.links;return(0,o.jsx)("div",{className:te().root,children:(0,o.jsxs)("div",{className:te().logoTitleSection,children:[(0,o.jsx)("div",{className:te().logo,children:(0,o.jsx)(Q,{src:i})}),(0,o.jsxs)("div",{className:te().titleSection,children:[(0,o.jsx)("div",{className:p()(te().title,te().row),children:n}),(0,o.jsx)("div",{className:p()(te().subtitle,te().row),children:(0,o.jsx)(G.Z,{children:t||r})}),(0,o.jsx)("div",{className:p()(te().tagList,te().row),children:s.length>0&&s.map((function(e){return(0,o.jsxs)("span",{children:["#",e,"\xa0"]},e)}))}),(0,o.jsx)("div",{className:p()(te().socialLinks,te().row),children:(0,o.jsx)(ee,{links:a})})]})]})})},re=t(43125),ie=t(47568),se=t(70655),ae=t(26303),le=t(25968),ce=t(6226),ue=t(3698),de=t(24093),fe=t(40305),me=t.n(fe),he=function(e){var n=e.follower;return(0,o.jsx)("div",{className:me().follower,children:(0,o.jsx)("a",{href:n.link,target:"_blank",rel:"noreferrer",children:(0,o.jsxs)(le.Z,{wrap:!1,children:[(0,o.jsx)(ce.Z,{span:6,children:(0,o.jsx)(de.C,{src:n.image,alt:"Avatar",className:me().avatar,children:(0,o.jsx)("img",{src:"/logo",alt:"Logo",className:me().placeholder})})}),(0,o.jsxs)(ce.Z,{children:[(0,o.jsx)(le.Z,{children:n.name}),(0,o.jsx)(le.Z,{className:me().account,children:n.username})]})]})})})},xe=t(12103),pe=t.n(xe),je=function(e){var n=e.name,t=(0,c.useState)([]),r=t[0],i=t[1],s=(0,c.useState)(0),a=s[0],l=s[1],u=(0,c.useState)(1),d=u[0],f=u[1],m=(0,c.useState)(!0),h=m[0],x=m[1],p=Math.ceil(a/24),j=function(){var e=(0,ie.Z)((function(){var e,n,t,o;return(0,se.__generator)(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),[4,fetch("".concat("/api/followers","?page=").concat(d))];case 1:return[4,r.sent().json()];case 2:return e=r.sent(),n=e.results,t=e.total,i(n),l(t),[3,4];case 3:return o=r.sent(),console.error(o),[3,4];case 4:return[2]}}))}));return function(){return e.apply(this,arguments)}}();(0,c.useEffect)((function(){j()}),[]),(0,c.useEffect)((function(){j()}),[d]),(0,c.useEffect)((function(){x(!1)}),[r]);var v=(0,o.jsxs)("div",{className:pe().noFollowers,children:[(0,o.jsx)("h2",{children:"Be the first follower!"}),(0,o.jsxs)("p",{children:["Owncast"!==n?n:"This server"," is a part of the"," ",(0,o.jsx)("a",{href:"https://owncast.online/join-fediverse",children:"Fediverse"}),", an interconnected network of independent users and servers."]}),(0,o.jsxs)("p",{children:["By following ","Owncast"!==n?n:"this server"," you'll be able to get updates from the stream, share it with others, and and show your appreciation when it goes live, all from your own Fediverse account."]}),(0,o.jsx)(J,{})]}),g=(0,o.jsx)(ae.Z,{active:!0,paragraph:{rows:3}});return h?g:(null===r||void 0===r?void 0:r.length)?(0,o.jsxs)("div",{className:pe().followers,children:[(0,o.jsx)(le.Z,{wrap:!0,gutter:[10,10],children:r.map((function(e){return(0,o.jsx)(ce.Z,{children:(0,o.jsx)(he,{follower:e},e.link)},e.link)}))}),(0,o.jsx)(ue.Z,{current:d,pageSize:24,total:p||1,onChange:function(e){f(e)},hideOnSinglePage:!0})]}):v},ve=t(32365),ge=t(66516),_e=t(38504),we=t(49647),ye=t(60198),be=t(89705),Ce=t(81998),ke=t.n(Ce),Ne="notify",Se="follow",Ze=function(e){var n=e.actions,t=e.externalActionSelected,r=e.notifyItemSelected,i=e.followItemSelected,s=e.showFollowItem,a=e.showNotifyItem,l=n.map((function(e){return{key:e.url,label:(0,o.jsxs)("span",{className:ke().item,children:[e.icon&&(0,o.jsx)("img",{className:ke().icon,src:e.icon,alt:e.title})," ",e.title]})}}));s&&l.unshift({key:Se,label:(0,o.jsxs)("span",{className:ke().item,children:[(0,o.jsx)(we.Z,{className:ke().icon})," Follow this stream"]})}),a&&l.unshift({key:Ne,label:(0,o.jsxs)("span",{className:ke().item,children:[(0,o.jsx)(ye.Z,{className:ke().icon}),"Notify when live"]})});var c=(0,o.jsx)(ge.Z,{items:l,onClick:function(e){if(e.key!==Ne)if(e.key!==Se){var o=n.find((function(n){return n.url===e.key}));t(o)}else i();else r()}});return(0,o.jsx)(_e.Z,{overlay:c,placement:"bottomRight",trigger:["click"],className:ke().menu,children:(0,o.jsx)("div",{className:ke().buttonWrap,children:(0,o.jsx)(D.Z,{type:"default",onClick:function(e){return e.preventDefault()},size:"large",icon:(0,o.jsx)(be.Z,{size:6,style:{rotate:"90deg"}})})})})},Te=t(26713),Fe=t(14670),Ae=t(69677),Le=t(13840),Ee=t.n(Le);var Me=function(e){var n=e.handleClose,t=e.account,r=e.name,i=(0,c.useState)(null),s=i[0],a=i[1],l=(0,c.useState)(!1),u=l[0],d=l[1],f=(0,c.useState)(!1),m=f[0],x=f[1],p=(0,c.useState)(null),j=p[0],v=p[1],g=function(e){a(e),!function(e){var n=e.replace(/^@+/,"");return/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(n).toLowerCase())}(e)?d(!1):d(!0)},_=function(){var e=(0,ie.Z)((function(){var e,t,o,r;return(0,se.__generator)(this,(function(i){switch(i.label){case 0:if(!u)return[2];x(!0),i.label=1;case 1:return i.trys.push([1,4,,5]),e=s.replace(/^@+/,""),t={account:e},[4,fetch("/api/remotefollow",{method:"POST",body:JSON.stringify(t)})];case 2:return[4,i.sent().json()];case 3:return(o=i.sent()).redirectUrl&&(window.open(o.redirectUrl,"_blank"),n()),o.success?o.redirectUrl?[3,5]:(v("Unable to follow."),x(!1),[2]):(v(o.message),x(!1),[2]);case 4:return r=i.sent(),v(r.message),[3,5];case 5:return x(!1),[2]}}))}));return function(){return e.apply(this,arguments)}}();return(0,o.jsxs)(Te.Z,{direction:"vertical",children:[(0,o.jsxs)("div",{className:Ee().header,children:["By following this stream you'll get notified on the Fediverse when it goes live. Now is a great time to",(0,o.jsx)("a",{href:"https://owncast.online/join-fediverse",target:"_blank",rel:"noreferrer",children:"learn about the Fediverse"}),"if it's new to you."]}),(0,o.jsxs)(h.Z,{spinning:m,children:[j&&(0,o.jsx)(Fe.Z,{message:"Follow Error",description:j,type:"error",showIcon:!0}),(0,o.jsxs)("div",{className:Ee().account,children:[(0,o.jsx)("img",{src:"/logo",alt:"logo",className:Ee().logo}),(0,o.jsxs)("div",{className:Ee().username,children:[(0,o.jsx)("div",{className:Ee().name,children:r}),(0,o.jsx)("div",{children:t})]})]}),(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:Ee().instructions,children:"Enter your username @server to follow"}),(0,o.jsx)(Ae.Z,{value:s,size:"large",onChange:function(e){return g(e.target.value)},placeholder:"Your fediverse account @account@server",defaultValue:s}),(0,o.jsx)("div",{className:Ee().footer,children:"You'll be redirected to your Fediverse server and asked to confirm the action."})]}),(0,o.jsxs)(Te.Z,{className:Ee().buttons,children:[(0,o.jsx)(D.Z,{disabled:!u,type:"primary",onClick:_,children:"Follow"}),(0,o.jsx)(D.Z,{onClick:function(){window.open("https://owncast.online/join-fediverse","_blank")},type:"primary",children:"Join the Fediverse"})]})]})]})},Ie=i.Z.Content,De=v()((function(){return t.e(5135).then(t.bind(t,5135)).then((function(e){return e.BrowserNotifyModal}))}),{loadableGenerated:{webpack:function(){return[5135]}}}),He=v()((function(){return t.e(7735).then(t.bind(t,57735)).then((function(e){return e.NotifyReminderPopup}))}),{loadableGenerated:{webpack:function(){return[57735]}}}),ze=v()((function(){return Promise.all([t.e(2544),t.e(6967),t.e(1064),t.e(3127)]).then(t.bind(t,83818)).then((function(e){return e.OwncastPlayer}))}),{loadableGenerated:{webpack:function(){return[83818]}}}),Oe=v()((function(){return Promise.all([t.e(1272),t.e(8700),t.e(2852),t.e(2382),t.e(9715)]).then(t.bind(t,32382)).then((function(e){return e.ChatContainer}))}),{loadableGenerated:{webpack:function(){return[32382]}}}),Pe=function(e){var n=e.name,t=e.streamTitle,r=e.summary,i=e.tags,s=e.socialHandles,a=e.extraPageContent,l=[{label:"About",key:"2",children:(0,o.jsx)(k,{content:a})},{label:"Followers",key:"3",children:(0,o.jsx)(je,{name:n})}];return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:S().lowerHalf,children:(0,o.jsx)(oe,{name:n,title:t,summary:r,tags:i,links:s,logo:"/logo"})}),(0,o.jsx)("div",{className:S().lowerSection,children:(0,o.jsx)(m.Z,{defaultActiveKey:"0",items:l})})]})};var Be=function(e){var n=e.name,t=e.streamTitle,r=e.summary,i=e.tags,s=e.socialHandles,a=e.extraPageContent,l=e.messages,u=e.currentUser,h=e.showChat,x=e.actions,j=e.setExternalActionToDisplay,v=e.setShowNotifyPopup,g=e.setShowFollowModal;if(!u)return null;var _=(0,c.useRef)(),w=u.id,y=u.displayName,b=[h&&{label:"Chat",key:"0",children:h&&(0,o.jsx)(Oe,{messages:l,usernameToHighlight:y,chatUserId:w,isModerator:!1})},{label:"About",key:"2",children:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(oe,{name:n,title:t,summary:r,tags:i,links:s,logo:"/logo"}),(0,o.jsx)(k,{content:a})]})},{label:"Followers",key:"3",children:(0,o.jsx)(je,{name:n})}],C="".concat(function(e){var n=(0,c.useState)(0),t=n[0],o=n[1],r=function(){if(e.current){var n=e.current.getBoundingClientRect().top,t=window.innerHeight;o(t-n)}};return(0,c.useEffect)((function(){return r(),window.addEventListener("resize",r),function(){window.removeEventListener("resize",r)}}),[]),t}(_),"px");return(0,o.jsx)("div",{className:p()(S().lowerSectionMobile),ref:_,style:{height:C},children:(0,o.jsx)(m.Z,{defaultActiveKey:"0",items:b,renderTabBar:function(e,n){return(0,o.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"start"},children:[(0,o.jsx)(n,(0,f.Z)((0,d.Z)({},e),{style:{width:"85%"}})),(0,o.jsx)(Ze,{showFollowItem:!0,showNotifyItem:!0,actions:x,externalActionSelected:j,notifyItemSelected:function(){return v(!0)},followItemSelected:function(){return g(!0)}})]})}})})},Je=function(e){var n=e.externalActionToDisplay,t=e.setExternalActionToDisplay,r=n.title,i=n.description,s=n.url;return(0,o.jsx)(ve.Modal,{title:i||r,url:s,open:!!n,height:"80vh",handleCancel:function(){return t(null)}})},Ue=function(){var e=(0,s.sJ)(u.Q),n=(0,s.sJ)(u.g1),t=(0,s.sJ)(u.pT),i=(0,s.sJ)(u.di),a=(0,s.sJ)(u.db),l=(0,r.Z)((0,s.FV)(u.hz),2),d=l[0],f=l[1],m=(0,s.sJ)(u.j$),x=(0,s.sJ)(u.YW),p=(0,s.sJ)(u.RI),j=p.viewerCount,v=p.lastConnectTime,_=p.lastDisconnectTime,w=p.streamTitle,y=n.extraPageContent,b=(n.version,n.name),C=n.summary,k=n.socialHandles,N=n.tags,Z=n.externalActions,T=n.offlineMessage,F=n.chatDisabled,A=n.federation,E=n.notifications,M=(0,c.useState)(!1),D=M[0],H=M[1],z=(0,c.useState)(!1),B=z[0],U=z[1],G=(0,c.useState)(!1),V=G[0],Y=G[1],q=A.account,Q=E.browser.enabled,W=(0,c.useState)(null),K=W[0],X=W[1],$=function(e){var n=e.openExternally,t=e.url;n?window.open(t,"_blank"):X(e)},ee=Z.map((function(e){return(0,o.jsx)(O,{action:e,externalActionSelected:$},e.url)})),ne=function(){U(!1),H(!1),(0,g.qQ)(g.dA.hasDisplayedNotificationModal,!0)},te=function(){var e=window.innerWidth;void 0===d&&f(e<=768),!d&&e<=768&&f(!0),d&&e>768&&f(!1)};(0,c.useEffect)((function(){return function(){var e=parseInt((0,g.$o)(g.dA.userVisitCount),10);Number.isNaN(e)&&(e=0),(0,g.qQ)(g.dA.userVisitCount,e+1),e>2&&!(0,g.$o)(g.dA.hasDisplayedNotificationModal)&&H(!0)}(),te(),window.addEventListener("resize",te),function(){window.removeEventListener("resize",te)}}),[]);var oe=!F&&i&&t;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("div",{className:S().main,children:[(0,o.jsx)(h.Z,{wrapperClassName:S().loadingSpinner,size:"large",spinning:e.appLoading,children:(0,o.jsxs)(Ie,{className:S().root,children:[(0,o.jsxs)("div",{className:S().mainSection,children:[(0,o.jsxs)("div",{className:S().topSection,children:[x&&(0,o.jsx)(ze,{source:"/hls/stream.m3u8",online:x}),!x&&!e.appLoading&&(0,o.jsx)(P.R,{streamName:b,customText:T,notificationsEnabled:Q,fediverseAccount:q,lastLive:_,onNotifyClick:function(){return U(!0)},onFollowClick:function(){return Y(!0)}}),x&&(0,o.jsx)(re.X,{online:x,lastConnectTime:v,lastDisconnectTime:_,viewerCount:j})]}),(0,o.jsx)("div",{className:S().midSection,children:(0,o.jsxs)("div",{className:S().buttonsLogoTitleSection,children:[!d&&(0,o.jsxs)(I,{children:[ee,(0,o.jsx)(J,{size:"small",onClick:function(){return Y(!0)}}),(0,o.jsx)(He,{open:D,notificationClicked:function(){return U(!0)},notificationClosed:function(){return ne()},children:(0,o.jsx)(R,{onClick:function(){return U(!0)}})})]}),(0,o.jsx)(ve.Modal,{title:"Notify",open:B,afterClose:function(){return ne()},handleCancel:function(){return ne()},children:(0,o.jsx)(De,{})})]})}),d?(0,o.jsx)(Be,{name:b,streamTitle:w,summary:C,tags:N,socialHandles:k,extraPageContent:y,messages:m,currentUser:a,showChat:oe,actions:Z,setExternalActionToDisplay:$,setShowNotifyPopup:U,setShowFollowModal:Y}):(0,o.jsx)(Pe,{name:b,streamTitle:w,summary:C,tags:N,socialHandles:k,extraPageContent:y})]}),oe&&!d&&(0,o.jsx)(L,{})]})}),!d&&!1]}),K&&(0,o.jsx)(Je,{externalActionToDisplay:K,setExternalActionToDisplay:X}),(0,o.jsx)(ve.Modal,{title:"Follow ".concat(b),open:V,handleCancel:function(){return Y(!1)},width:"550px",children:(0,o.jsx)(Me,{account:q,name:b,handleClose:function(){return Y(!1)}})})]})},Re=t(8119),Ge=t(85402),Ve=function(e){var n=e.title,t=e.message;return(0,o.jsx)(Ge.Z,{title:n,visible:!0,footer:null,closable:!1,keyboard:!1,width:900,centered:!0,className:"modal",children:(0,o.jsx)("p",{style:{fontSize:"1.3rem"},children:t})})},Ye=t(82670);var qe=function(){var e=(0,s.sJ)(u.j$),n=(0,s.sJ)(u.RI),t=!1,o="",r=function(){t=!0,o=window.document.title},i=function(){t=!1,window.document.title=o};return(0,c.useEffect)((function(){return o=window.document.title,window.addEventListener("blur",r),window.addEventListener("focus",i),function(){window.removeEventListener("focus",i),window.removeEventListener("blur",r)}}),[]),(0,c.useEffect)((function(){var e=n.online;t&&e&&(window.document.title="\ud83d\udcac :: ".concat(o))}),[e]),(0,c.useEffect)((function(){if(t){var e=n.online;e?window.document.title=" \ud83d\udfe2 :: ".concat(o):e||(window.document.title=" \ud83d\udd34 :: ".concat(o))}}),[u.RI]),null},Qe=function(){return(0,o.jsx)("script",{id:"server-side-hydration",dangerouslySetInnerHTML:{__html:"\n\twindow.configHydration = {{.ServerConfigJSON}};\n\twindow.statusHydration = {{.StatusJSON}};\n\t"}})},We=function(){var e=(0,r.Z)((0,s.FV)(u.hz),1)[0],n=(0,s.sJ)(u.g1),t=n.name,a=n.title,d=n.customStyles,f=n.version,m=(0,s.sJ)(u.di),h=(0,s.sJ)(u.ap),x=(0,c.useRef)(null),p=n.chatDisabled;(0,c.useEffect)((function(){!function(e){var n=function(e){var n=e.getAttribute("rel"),t="".concat(n," noopener noreferrer");e.setAttribute("rel",t)};e.querySelectorAll("a").forEach((function(e){return n(e)})),new MutationObserver((function(e){var t=!0,o=!1,r=void 0;try{for(var i,s=e[Symbol.iterator]();!(t=(i=s.next()).done);t=!0){var a=i.value,l=!0,c=!1,u=void 0;try{for(var d,f=a.addedNodes[Symbol.iterator]();!(l=(d=f.next()).done);l=!0){var m=d.value;(0,Ye.Z)(m,HTMLElement)&&"a"===m.tagName.toLowerCase()&&n(m)}}catch(h){c=!0,u=h}finally{try{l||null==f.return||f.return()}finally{if(c)throw u}}}}catch(h){o=!0,r=h}finally{try{t||null==s.return||s.return()}finally{if(o)throw r}}})).observe(e,{attributes:!1,childList:!0,subtree:!0})}(x.current)}),[]);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(l(),{children:[(0,o.jsx)(Qe,{}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"57x57",href:"/img/favicon/apple-icon-57x57.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"60x60",href:"/img/favicon/apple-icon-60x60.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"72x72",href:"/img/favicon/apple-icon-72x72.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"76x76",href:"/img/favicon/apple-icon-76x76.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"114x114",href:"/img/favicon/apple-icon-114x114.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"120x120",href:"/img/favicon/apple-icon-120x120.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"144x144",href:"/img/favicon/apple-icon-144x144.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"152x152",href:"/img/favicon/apple-icon-152x152.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/img/favicon/apple-icon-180x180.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"192x192",href:"/img/favicon/android-icon-192x192.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/img/favicon/favicon-32x32.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"96x96",href:"/img/favicon/favicon-96x96.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/img/favicon/favicon-16x16.png"}),(0,o.jsx)("link",{rel:"manifest",href:"/manifest.json"}),(0,o.jsx)("link",{href:"/api/auth/provider/indieauth"}),(0,o.jsx)("meta",{name:"msapplication-TileColor",content:"#ffffff"}),(0,o.jsx)("meta",{name:"msapplication-TileImage",content:"/img/favicon/ms-icon-144x144.png"}),(0,o.jsx)("meta",{name:"theme-color",content:"#ffffff"}),(0,o.jsx)("style",{children:d}),(0,o.jsx)("base",{target:"_blank"})]}),(0,o.jsxs)(l(),{children:[t?(0,o.jsx)("title",{children:t}):(0,o.jsx)("title",{children:"{{.Name}}"}),(0,o.jsx)("meta",{name:"description",content:"{{.Summary}}"}),(0,o.jsx)("meta",{property:"og:title",content:"{{.Name}}"}),(0,o.jsx)("meta",{property:"og:site_name",content:"{{.Name}}"}),(0,o.jsx)("meta",{property:"og:url",content:"{{.RequestedURL}}"}),(0,o.jsx)("meta",{property:"og:description",content:"{{.Summary}}"}),(0,o.jsx)("meta",{property:"og:type",content:"video.other"}),(0,o.jsx)("meta",{property:"video:tag",content:"{{.TagsString}}"}),(0,o.jsx)("meta",{property:"og:image",content:"{{.Thumbnail}}"}),(0,o.jsx)("meta",{property:"og:image:url",content:"{{.Thumbnail}}"}),(0,o.jsx)("meta",{property:"og:image:alt",content:"{{.Image}}"}),(0,o.jsx)("meta",{property:"og:video",content:"{{.RequestedURL}}/embed/video"}),(0,o.jsx)("meta",{property:"og:video:secure_url",content:"{{.RequestedURL}}/embed/video"}),(0,o.jsx)("meta",{property:"og:video:height",content:"315"}),(0,o.jsx)("meta",{property:"og:video:width",content:"560"}),(0,o.jsx)("meta",{property:"og:video:type",content:"text/html"}),(0,o.jsx)("meta",{property:"og:video:actor",content:"{{.Name}}"}),(0,o.jsx)("meta",{property:"twitter:title",content:"{{.Name}}"}),(0,o.jsx)("meta",{property:"twitter:url",content:"{{.RequestedURL}}"}),(0,o.jsx)("meta",{property:"twitter:description",content:"{{.Summary}}"}),(0,o.jsx)("meta",{property:"twitter:image",content:"{{.Image}}"}),(0,o.jsx)("meta",{property:"twitter:card",content:"player"}),(0,o.jsx)("meta",{property:"twitter:player",content:"{{.RequestedURL}}/embed/video"}),(0,o.jsx)("meta",{property:"twitter:player:width",content:"560"}),(0,o.jsx)("meta",{property:"twitter:player:height",content:"315"})]}),(0,o.jsx)(u.me,{}),(0,o.jsx)(qe,{}),(0,o.jsxs)(i.Z,{ref:x,style:{minHeight:"100vh"},children:[(0,o.jsx)(Re.h,{name:a||t,chatAvailable:m,chatDisabled:p}),(0,o.jsx)(Ue,{}),h&&(0,o.jsx)(Ve,{title:h.title,message:h.message}),!e&&(0,o.jsx)(y,{version:f})]})]})};function Ke(){return(0,o.jsx)(We,{})}},36879:function(e){e.exports={button:"ActionButton_button__z5Z2c",icon:"ActionButton_icon__EPp7Q"}},81998:function(e){e.exports={item:"ActionButtonMenu_item__OJQdr",buttonWrap:"ActionButtonMenu_buttonWrap__WQ9kt",icon:"ActionButtonMenu_icon__edY1D",menu:"ActionButtonMenu_menu__GChDk"}},69767:function(e){e.exports={row:"ActionButtonRow_row__SiEGe"}},74688:function(e){e.exports={root:"ContentHeader_root__HaUG0",row:"ContentHeader_row__9Q8gH",logoTitleSection:"ContentHeader_logoTitleSection__Z8pUc",logo:"ContentHeader_logo__wo_HN",titleSection:"ContentHeader_titleSection___6Y15",title:"ContentHeader_title__E_DsI",subtitle:"ContentHeader_subtitle__n1Wew",tagList:"ContentHeader_tagList__rx3jY"}},47093:function(e){e.exports={root:"UserDropdown_root__IdxfQ","ant-space":"UserDropdown_ant-space__XJTZ3","ant-space-item":"UserDropdown_ant-space-item__w4nC2"}},13840:function(e){e.exports={header:"FollowModal_header__la1ji",buttons:"FollowModal_buttons__tt4Mc",instructions:"FollowModal_instructions__HiKFF",footer:"FollowModal_footer__AjucH",account:"FollowModal_account__cmHkm",logo:"FollowModal_logo__Ew8xK",username:"FollowModal_username__A_OTw",name:"FollowModal_name__Sf_TP"}},63291:function(e){e.exports={root:"Content_root__h1mNK",mainSection:"Content_mainSection__Gk78Y",topSection:"Content_topSection__JIZi0",lowerSection:"Content_lowerSection__BZHYI",lowerSectionMobile:"Content_lowerSectionMobile__hRr0_",leftCol:"Content_leftCol__U2TDq",loadingSpinner:"Content_loadingSpinner__mDlYC",main:"Content_main__XVf63"}},28105:function(e){e.exports={pageContentContainer:"CustomPageContent_pageContentContainer__EG4tU",customPageContent:"CustomPageContent_customPageContent__Mr981",summary:"CustomPageContent_summary___Zgps"}},35603:function(e){e.exports={footer:"Footer_footer__mPuvf",links:"Footer_links__7bBxV"}},92910:function(e){e.exports={header:"Header_header__U4Ro1",logo:"Header_logo__HLZ6Z"}},7918:function(e){e.exports={root:"Logo_root__jKiJC",container:"Logo_container__A4UYT",image:"Logo_image__Ahkom"}},78890:function(e){e.exports={spinner:"Modal_spinner__GiSS0",content:"Modal_content__h9my9"}},29316:function(e){e.exports={outerContainer:"OfflineBanner_outerContainer__3AbsB",innerContainer:"OfflineBanner_innerContainer__zTm13",bodyText:"OfflineBanner_bodyText__nNNy0",separator:"OfflineBanner_separator___j_Ss",lastLiveDate:"OfflineBanner_lastLiveDate___UZdO",clockIcon:"OfflineBanner_clockIcon__s0DB_",header:"OfflineBanner_header__Vu20o",footer:"OfflineBanner_footer__o3Zl5",actionLink:"OfflineBanner_actionLink__b4Mwa"}},75347:function(e){e.exports={root:"Sidebar_root__8HE0A"}},52740:function(e){e.exports={link:"SocialLinks_link___CcSm",links:"SocialLinks_links__gOAb7"}},93132:function(e){e.exports={statusbar:"Statusbar_statusbar__AtVnB"}},12103:function(e){e.exports={followers:"FollowerCollection_followers__e_EUS",noFollowers:"FollowerCollection_noFollowers__UaCVW"}},40305:function(e){e.exports={follower:"SingleFollower_follower__EyBDI",avatar:"SingleFollower_avatar__V9jHG",account:"SingleFollower_account__Z66vo",placeholder:"SingleFollower_placeholder__CgsfJ"}}},function(e){e.O(0,[8939,3903,4267,4381,5938,9372,5360,250,2858,760,204,1899,9774,2888,179],(function(){return n=48312,e(e.s=n);var n}));var n=e.O();_N_E=n}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/pages/index-c7bdf184afdccf6e.js b/static/web/_next/static/chunks/pages/index-c7bdf184afdccf6e.js deleted file mode 100644 index 8d5b91116..000000000 --- a/static/web/_next/static/chunks/pages/index-c7bdf184afdccf6e.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405],{48312:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return t(13906)}])},8119:function(e,n,t){"use strict";t.d(n,{h:function(){return E},Z:function(){return M}});var o=t(85893),r=t(97183),i=t(94199),s=t(20550),a=t(828),l=t(66516),c=t(38504),u=t(71577),d=t(26713),f=t(86548),m=t(94149),h=t(38545),x=t(87547),p=t(39398),j=t(4480),v=t(67294),g=t(49218),_=t(5152),w=t.n(_),y=t(1899),b=t(47093),C=t.n(b),k=w()((function(){return t.e(2365).then(t.bind(t,32365)).then((function(e){return e.Modal}))}),{loadableGenerated:{webpack:function(){return[32365]}}}),N=w()((function(){return Promise.all([t.e(8939),t.e(8225)]).then(t.bind(t,98225)).then((function(e){return e.NameChangeModal}))}),{loadableGenerated:{webpack:function(){return[98225]}}}),S=w()((function(){return Promise.all([t.e(4381),t.e(9674)]).then(t.bind(t,9674)).then((function(e){return e.AuthModal}))}),{loadableGenerated:{webpack:function(){return[9674]}}}),Z=function(e){var n=e.username,t=void 0===n?void 0:n,r=(0,v.useState)(!1),i=r[0],s=r[1],_=(0,v.useState)(!1),w=_[0],b=_[1],Z=(0,a.Z)((0,j.FV)(y.ZA),2),T=Z[0],F=Z[1],A=(0,j.sJ)(y.Q),L=function(){F(!T)};(0,g.y1)("c",L,{enableOnContentEditable:!1},[T]);var E=(0,j.sJ)(y.db);if(!E)return null;var M=E.displayName,I=t||M,D=(0,o.jsxs)(l.Z,{children:[(0,o.jsx)(l.Z.Item,{icon:(0,o.jsx)(f.Z,{}),onClick:function(){s(!0)},children:"Change name"},"0"),(0,o.jsx)(l.Z.Item,{icon:(0,o.jsx)(m.Z,{}),onClick:function(){return b(!0)},children:"Authenticate"},"1"),A.chatAvailable&&(0,o.jsx)(l.Z.Item,{icon:(0,o.jsx)(h.Z,{}),onClick:function(){return L()},children:"Toggle chat"},"3")]});return(0,o.jsxs)("div",{className:"".concat(C().root),children:[(0,o.jsx)(c.Z,{overlay:D,trigger:["click"],children:(0,o.jsx)(u.Z,{type:"primary",icon:(0,o.jsx)(x.Z,{style:{marginRight:".5rem"}}),children:(0,o.jsxs)(d.Z,{children:[I,(0,o.jsx)(p.Z,{})]})})}),(0,o.jsx)(k,{title:"Change Chat Display Name",open:i,handleCancel:function(){return s(!1)},children:(0,o.jsx)(N,{})}),(0,o.jsx)(k,{title:"Authenticate",open:w,handleCancel:function(){return b(!1)},children:(0,o.jsx)(S,{})})]})},T=t(60113),F=t(92910),A=t.n(F),L=r.Z.Header,E=function(e){var n=e.name,t=void 0===n?"Your stream title":n,r=e.chatAvailable,a=e.chatDisabled;return(0,o.jsxs)(L,{className:"".concat(A().header),children:[(0,o.jsxs)("div",{className:"".concat(A().logo),children:[(0,o.jsx)(T.C,{variant:"contrast"}),(0,o.jsx)("span",{children:t})]}),r&&!a&&(0,o.jsx)(Z,{}),!r&&!a&&(0,o.jsx)(i.Z,{title:"Chat is available when the stream is live.",placement:"left",children:(0,o.jsx)(s.Z,{style:{cursor:"pointer"},children:"Chat offline"})})]})},M=E},32365:function(e,n,t){"use strict";t.r(n),t.d(n,{Modal:function(){return u}});var o=t(85893),r=t(85402),i=t(26303),s=t(11382),a=t(67294),l=t(78890),c=t.n(l),u=function(e){var n=e.title,t=e.url,l=e.open,u=e.handleOk,d=e.handleCancel,f=e.afterClose,m=e.height,h=e.width,x=e.children,p=(0,a.useState)(!!t),j=p[0],v=p[1],g={padding:"0px",minHeight:m,height:null!==m&&void 0!==m?m:"100%"},_=t&&(0,o.jsx)("iframe",{title:n,src:t,width:"100%",height:"100%",sandbox:"allow-same-origin allow-scripts allow-popups allow-forms",frameBorder:"0",allowFullScreen:!0,onLoad:function(){return v(!1)}}),w=j?"none":"inline";return(0,o.jsx)(r.Z,{title:n,open:l,onOk:u,onCancel:d,afterClose:f,bodyStyle:g,width:h,zIndex:9999,footer:null,centered:!0,destroyOnClose:!0,children:(0,o.jsxs)(o.Fragment,{children:[j&&(0,o.jsx)(i.Z,{active:j,style:{padding:"10px"},paragraph:{rows:10}}),_&&(0,o.jsx)("div",{style:{display:w},children:_}),x&&(0,o.jsx)("div",{className:c().content,children:x}),j&&(0,o.jsx)(s.Z,{className:c().spinner,spinning:j,size:"large"})]})})};n.default=u,u.defaultProps={url:void 0,children:void 0,handleOk:void 0,handleCancel:void 0,afterClose:void 0}},1698:function(e,n,t){"use strict";t.d(n,{R:function(){return c}});var o=t(85893),r=t(27049),i=t(24019),s=t(45938),a=t(29316),l=t.n(a),c=function(e){var n,t=e.streamName,a=e.customText,c=e.lastLive,u=e.notificationsEnabled,d=e.fediverseAccount,f=e.onNotifyClick,m=e.onFollowClick;return n=a||(!a&&u&&d?(0,o.jsxs)("span",{children:["This stream is offline. You can"," ",(0,o.jsx)("span",{role:"link",tabIndex:0,className:l().actionLink,onClick:f,children:"be notified"})," ","the next time ",t," goes live or"," ",(0,o.jsx)("span",{role:"link",tabIndex:0,className:l().actionLink,onClick:m,children:"follow"})," ",d," on the Fediverse."]}):!a&&u?(0,o.jsxs)("span",{children:["This stream is offline."," ",(0,o.jsx)("span",{role:"link",tabIndex:0,className:l().actionLink,onClick:f,children:"Be notified"})," ","the next time ",t," goes live."]}):!a&&d?(0,o.jsxs)("span",{children:["This stream is offline."," ",(0,o.jsx)("span",{role:"link",tabIndex:0,className:l().actionLink,onClick:m,children:"Follow"})," ",d," on the Fediverse to see the next time ",t," goes live."]}):"This stream is offline. Check back soon!"),(0,o.jsx)("div",{className:l().outerContainer,children:(0,o.jsxs)("div",{className:l().innerContainer,children:[(0,o.jsx)("div",{className:l().header,children:t}),(0,o.jsx)(r.Z,{className:l().separator}),(0,o.jsx)("div",{className:l().bodyText,children:n}),c&&(0,o.jsxs)("div",{className:l().lastLiveDate,children:[(0,o.jsx)(i.Z,{className:l().clockIcon}),"Last live ".concat((0,s.Z)(new Date(c))," ago.")]})]})})}},43125:function(e,n,t){"use strict";t.d(n,{X:function(){return u}});var o=t(85893),r=t(45938),i=t(68730),s=t(67294),a=t(31326),l=t(93132),c=t.n(l);var u=function(e){var n=e.online,t=e.lastConnectTime,l=e.lastDisconnectTime,u=e.viewerCount,d=(0,s.useState)(new Date)[1];(0,s.useEffect)((function(){var e=setInterval((function(){return d(new Date)}),1e3);return function(){clearInterval(e)}}),[]);var f,m="";if(n&&t){var h=function(e){var n=(0,i.Z)({start:e,end:new Date});return n.days>1?"".concat(n.days," days ").concat(n.hours," hours"):n.hours>=1?"".concat(n.hours," hours ").concat(n.minutes," minutes"):"".concat(n.minutes," minutes ").concat(n.seconds," seconds")}(new Date(t));m=n?"Live for ".concat(h):"Offline",f=u>0&&(0,o.jsxs)("div",{className:c().right,children:[(0,o.jsx)("span",{children:(0,o.jsx)(a.Z,{})}),(0,o.jsx)("span",{children:" ".concat(u)})]})}else n||(m="Offline",l&&(f="Last live ".concat((0,r.Z)(new Date(l))," ago.")));return(0,o.jsxs)("div",{className:c().statusbar,children:[(0,o.jsx)("div",{children:m}),(0,o.jsx)("div",{children:f})]})};u.defaultProps={lastConnectTime:null,lastDisconnectTime:null}},13906:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return We}});var o=t(85893),r=t(828),i=t(97183),s=t(4480),a=t(9008),l=t.n(a),c=t(67294),u=t(1899),d=t(26042),f=t(69396),m=t(84381),h=t(11382),x=t(94184),p=t.n(x),j=t(5152),v=t.n(j),g=t(73682),_=t(35603),w=t.n(_),y=function(e){var n=e.version;return(0,o.jsxs)("div",{className:w().footer,children:[(0,o.jsxs)("span",{children:["Powered by ",(0,o.jsx)("a",{href:"https://owncast.online",children:n})]}),(0,o.jsxs)("span",{className:w().links,children:[(0,o.jsx)("a",{href:"https://owncast.online/docs",target:"_blank",rel:"noreferrer",children:"Documentation"}),(0,o.jsx)("a",{href:"https://owncast.online/help",target:"_blank",rel:"noreferrer",children:"Contribute"}),(0,o.jsx)("a",{href:"https://github.com/owncast/owncast",target:"_blank",rel:"noreferrer",children:"Source"})]})]})},b=t(28105),C=t.n(b),k=function(e){var n=e.content,t=(0,s.sJ)(u.hz),r=(0,s.sJ)(u.g1).version;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:C().pageContentContainer,children:(0,o.jsx)("div",{className:C().customPageContent,dangerouslySetInnerHTML:{__html:n}})}),t&&(0,o.jsx)(y,{version:r})]})},N=t(63291),S=t.n(N),Z=t(87412),T=t(75347),F=t.n(T),A=v()((function(){return Promise.all([t.e(1272),t.e(8700),t.e(2852),t.e(2382),t.e(9715)]).then(t.bind(t,32382)).then((function(e){return e.ChatContainer}))}),{loadableGenerated:{webpack:function(){return[32382]}}}),L=function(){var e=(0,s.sJ)(u.db),n=(0,s.sJ)(u.pH);if(!e)return null;var t=e.id,r=e.isModerator,i=e.displayName;return(0,o.jsx)(Z.ZP,{className:F().root,collapsedWidth:0,width:320,children:(0,o.jsx)(A,{messages:n,usernameToHighlight:i,chatUserId:t,isModerator:r})})},E=t(69767),M=t.n(E),I=function(e){var n=e.children;return(0,o.jsx)("div",{className:"".concat(M().row),children:n})},D=t(71577),H=t(36879),z=t.n(H),O=function(e){var n=e.action,t=e.primary,r=void 0===t||t,i=e.externalActionSelected,s=n.title,a=n.description,l=n.icon,c=n.color;return(0,o.jsxs)(D.Z,{type:r?"primary":"default",className:"".concat(z().button),onClick:function(){return i(n)},style:{backgroundColor:c},children:[l&&(0,o.jsx)("img",{src:l,className:"".concat(z().icon),alt:a}),s]})},P=t(1698),B=t(34447),J=function(e){var n=e.onClick,t=e.props;return(0,o.jsx)(D.Z,(0,f.Z)((0,d.Z)({},t),{type:"primary",className:z().button,icon:(0,o.jsx)(B.Z,{}),onClick:n,children:"Follow"}))},U=t(71578),R=function(e){var n=e.onClick,t=e.text;return(0,o.jsx)(D.Z,{type:"primary",className:"".concat(z().button),icon:(0,o.jsx)(U.Z,{}),onClick:n,children:t||"Notify"})},G=t(53731),V=t(79216),Y=t(7918),q=t.n(Y),Q=function(e){var n=e.src;return(0,o.jsx)("div",{className:q().root,children:(0,o.jsx)("div",{className:q().container,children:(0,o.jsx)(V.Z,{src:n,alt:"Logo",className:q().image,rootClassName:q().image})})})},W=t(25675),K=t.n(W),X=t(52740),$=t.n(X),ee=function(e){var n=e.links;return(0,o.jsx)("div",{className:$().links,children:n.map((function(e){return(0,o.jsx)("a",{href:e.url,className:$().link,target:"_blank",rel:"noreferrer me",children:(0,o.jsx)(K(),{src:e.icon||"/img/platformlogos/default.svg",alt:e.platform,title:e.platform,className:$().link,width:"30",height:"30"})},e.platform)}))})},ne=t(74688),te=t.n(ne),oe=function(e){var n=e.name,t=e.title,r=e.summary,i=e.logo,s=e.tags,a=e.links;return(0,o.jsx)("div",{className:te().root,children:(0,o.jsxs)("div",{className:te().logoTitleSection,children:[(0,o.jsx)("div",{className:te().logo,children:(0,o.jsx)(Q,{src:i})}),(0,o.jsxs)("div",{className:te().titleSection,children:[(0,o.jsx)("div",{className:p()(te().title,te().row),children:n}),(0,o.jsx)("div",{className:p()(te().subtitle,te().row),children:(0,o.jsx)(G.Z,{children:t||r})}),(0,o.jsx)("div",{className:p()(te().tagList,te().row),children:s.length>0&&s.map((function(e){return(0,o.jsxs)("span",{children:["#",e,"\xa0"]},e)}))}),(0,o.jsx)("div",{className:p()(te().socialLinks,te().row),children:(0,o.jsx)(ee,{links:a})})]})]})})},re=t(43125),ie=t(47568),se=t(70655),ae=t(25968),le=t(6226),ce=t(3698),ue=t(24093),de=t(40305),fe=t.n(de),me=function(e){var n=e.follower;return(0,o.jsx)("div",{className:fe().follower,children:(0,o.jsx)("a",{href:n.link,target:"_blank",rel:"noreferrer",children:(0,o.jsxs)(ae.Z,{wrap:!1,children:[(0,o.jsx)(le.Z,{span:6,children:(0,o.jsx)(ue.C,{src:n.image,alt:"Avatar",className:fe().avatar,children:(0,o.jsx)("img",{src:"/logo",alt:"Logo",className:fe().placeholder})})}),(0,o.jsxs)(le.Z,{children:[(0,o.jsx)(ae.Z,{children:n.name}),(0,o.jsx)(ae.Z,{className:fe().account,children:n.username})]})]})})})},he=t(12103),xe=t.n(he),pe=function(e){var n=e.name,t=(0,c.useState)([]),r=t[0],i=t[1],s=(0,c.useState)(0),a=s[0],l=s[1],u=(0,c.useState)(1),d=u[0],f=u[1],m=Math.ceil(a/24),h=function(){var e=(0,ie.Z)((function(){var e,n,t,o;return(0,se.__generator)(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),[4,fetch("".concat("/api/followers","?page=").concat(d))];case 1:return[4,r.sent().json()];case 2:return e=r.sent(),n=e.results,t=e.total,i(n),l(t),[3,4];case 3:return o=r.sent(),console.error(o),[3,4];case 4:return[2]}}))}));return function(){return e.apply(this,arguments)}}();(0,c.useEffect)((function(){h()}),[]),(0,c.useEffect)((function(){h()}),[d]);var x=(0,o.jsxs)("div",{className:xe().noFollowers,children:[(0,o.jsx)("h2",{children:"Be the first follower!"}),(0,o.jsxs)("p",{children:["Owncast"!==n?n:"This server"," is a part of the"," ",(0,o.jsx)("a",{href:"https://owncast.online/join-fediverse",children:"Fediverse"}),", an interconnected network of independent users and servers."]}),(0,o.jsxs)("p",{children:["By following ","Owncast"!==n?n:"this server"," you'll be able to get updates from the stream, share it with others, and and show your appreciation when it goes live, all from your own Fediverse account."]}),(0,o.jsx)(J,{})]});return(null===r||void 0===r?void 0:r.length)?(0,o.jsxs)("div",{className:xe().followers,children:[(0,o.jsx)(ae.Z,{wrap:!0,gutter:[10,10],children:r.map((function(e){return(0,o.jsx)(le.Z,{children:(0,o.jsx)(me,{follower:e},e.link)})}))}),(0,o.jsx)(ce.Z,{current:d,pageSize:24,total:m||1,onChange:function(e){f(e)},hideOnSinglePage:!0})]}):x},je=t(32365),ve=t(66516),ge=t(38504),_e=t(49647),we=t(60198),ye=t(89705),be=t(81998),Ce=t.n(be),ke="notify",Ne="follow",Se=function(e){var n=e.actions,t=e.externalActionSelected,r=e.notifyItemSelected,i=e.followItemSelected,s=e.showFollowItem,a=e.showNotifyItem,l=n.map((function(e){return{key:e.url,label:(0,o.jsxs)("span",{className:Ce().item,children:[e.icon&&(0,o.jsx)("img",{className:Ce().icon,src:e.icon,alt:e.title})," ",e.title]})}}));s&&l.unshift({key:Ne,label:(0,o.jsxs)("span",{className:Ce().item,children:[(0,o.jsx)(_e.Z,{className:Ce().icon})," Follow this stream"]})}),a&&l.unshift({key:ke,label:(0,o.jsxs)("span",{className:Ce().item,children:[(0,o.jsx)(we.Z,{className:Ce().icon}),"Notify when live"]})});var c=(0,o.jsx)(ve.Z,{items:l,onClick:function(e){if(e.key!==ke)if(e.key!==Ne){var o=n.find((function(n){return n.url===e.key}));t(o)}else i();else r()}});return(0,o.jsx)(ge.Z,{overlay:c,placement:"bottomRight",trigger:["click"],className:Ce().menu,children:(0,o.jsx)("div",{className:Ce().buttonWrap,children:(0,o.jsx)(D.Z,{type:"default",onClick:function(e){return e.preventDefault()},size:"large",icon:(0,o.jsx)(ye.Z,{size:6,style:{rotate:"90deg"}})})})})},Ze=t(26713),Te=t(14670),Fe=t(69677),Ae=t(13840),Le=t.n(Ae);var Ee=function(e){var n=e.handleClose,t=e.account,r=e.name,i=(0,c.useState)(null),s=i[0],a=i[1],l=(0,c.useState)(!1),u=l[0],d=l[1],f=(0,c.useState)(!1),m=f[0],x=f[1],p=(0,c.useState)(null),j=p[0],v=p[1],g=function(e){a(e),!function(e){var n=e.replace(/^@+/,"");return/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(n).toLowerCase())}(e)?d(!1):d(!0)},_=function(){var e=(0,ie.Z)((function(){var e,t,o,r;return(0,se.__generator)(this,(function(i){switch(i.label){case 0:if(!u)return[2];x(!0),i.label=1;case 1:return i.trys.push([1,4,,5]),e=s.replace(/^@+/,""),t={account:e},[4,fetch("/api/remotefollow",{method:"POST",body:JSON.stringify(t)})];case 2:return[4,i.sent().json()];case 3:return(o=i.sent()).redirectUrl&&(window.open(o.redirectUrl,"_blank"),n()),o.success?o.redirectUrl?[3,5]:(v("Unable to follow."),x(!1),[2]):(v(o.message),x(!1),[2]);case 4:return r=i.sent(),v(r.message),[3,5];case 5:return x(!1),[2]}}))}));return function(){return e.apply(this,arguments)}}();return(0,o.jsxs)(Ze.Z,{direction:"vertical",children:[(0,o.jsxs)("div",{className:Le().header,children:["By following this stream you'll get notified on the Fediverse when it goes live. Now is a great time to",(0,o.jsx)("a",{href:"https://owncast.online/join-fediverse",target:"_blank",rel:"noreferrer",children:"learn about the Fediverse"}),"if it's new to you."]}),(0,o.jsxs)(h.Z,{spinning:m,children:[j&&(0,o.jsx)(Te.Z,{message:"Follow Error",description:j,type:"error",showIcon:!0}),(0,o.jsxs)("div",{className:Le().account,children:[(0,o.jsx)("img",{src:"/logo",alt:"logo",className:Le().logo}),(0,o.jsxs)("div",{className:Le().username,children:[(0,o.jsx)("div",{className:Le().name,children:r}),(0,o.jsx)("div",{children:t})]})]}),(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:Le().instructions,children:"Enter your username @server to follow"}),(0,o.jsx)(Fe.Z,{value:s,size:"large",onChange:function(e){return g(e.target.value)},placeholder:"Your fediverse account @account@server",defaultValue:s}),(0,o.jsx)("div",{className:Le().footer,children:"You'll be redirected to your Fediverse server and asked to confirm the action."})]}),(0,o.jsxs)(Ze.Z,{className:Le().buttons,children:[(0,o.jsx)(D.Z,{disabled:!u,type:"primary",onClick:_,children:"Follow"}),(0,o.jsx)(D.Z,{onClick:function(){window.open("https://owncast.online/join-fediverse","_blank")},type:"primary",children:"Join the Fediverse"})]})]})]})},Me=i.Z.Content,Ie=v()((function(){return t.e(5135).then(t.bind(t,5135)).then((function(e){return e.BrowserNotifyModal}))}),{loadableGenerated:{webpack:function(){return[5135]}}}),De=v()((function(){return t.e(7735).then(t.bind(t,57735)).then((function(e){return e.NotifyReminderPopup}))}),{loadableGenerated:{webpack:function(){return[57735]}}}),He=v()((function(){return Promise.all([t.e(2544),t.e(6967),t.e(1064),t.e(3127)]).then(t.bind(t,83818)).then((function(e){return e.OwncastPlayer}))}),{loadableGenerated:{webpack:function(){return[83818]}}}),ze=v()((function(){return Promise.all([t.e(1272),t.e(8700),t.e(2852),t.e(2382),t.e(9715)]).then(t.bind(t,32382)).then((function(e){return e.ChatContainer}))}),{loadableGenerated:{webpack:function(){return[32382]}}}),Oe=function(e){var n=e.name,t=e.streamTitle,r=e.summary,i=e.tags,s=e.socialHandles,a=e.extraPageContent,l=[{label:"About",key:"2",children:(0,o.jsx)(k,{content:a})},{label:"Followers",key:"3",children:(0,o.jsx)(pe,{name:n})}];return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:S().lowerHalf,children:(0,o.jsx)(oe,{name:n,title:t,summary:r,tags:i,links:s,logo:"/logo"})}),(0,o.jsx)("div",{className:S().lowerSection,children:(0,o.jsx)(m.Z,{defaultActiveKey:"0",items:l})})]})};var Pe=function(e){var n=e.name,t=e.streamTitle,r=e.summary,i=e.tags,s=e.socialHandles,a=e.extraPageContent,l=e.messages,u=e.currentUser,h=e.showChat,x=e.actions,j=e.setExternalActionToDisplay,v=e.setShowNotifyPopup,g=e.setShowFollowModal;if(!u)return null;var _=(0,c.useRef)(),w=u.id,y=u.displayName,b=[h&&{label:"Chat",key:"0",children:h&&(0,o.jsx)(ze,{messages:l,usernameToHighlight:y,chatUserId:w,isModerator:!1})},{label:"About",key:"2",children:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(oe,{name:n,title:t,summary:r,tags:i,links:s,logo:"/logo"}),(0,o.jsx)(k,{content:a})]})},{label:"Followers",key:"3",children:(0,o.jsx)(pe,{name:n})}],C="".concat(function(e){var n=(0,c.useState)(0),t=n[0],o=n[1],r=function(){if(e.current){var n=e.current.getBoundingClientRect().top,t=window.innerHeight;o(t-n)}};return(0,c.useEffect)((function(){return r(),window.addEventListener("resize",r),function(){window.removeEventListener("resize",r)}}),[]),t}(_),"px");return(0,o.jsx)("div",{className:p()(S().lowerSectionMobile),ref:_,style:{height:C},children:(0,o.jsx)(m.Z,{defaultActiveKey:"0",items:b,renderTabBar:function(e,n){return(0,o.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"start"},children:[(0,o.jsx)(n,(0,f.Z)((0,d.Z)({},e),{style:{width:"85%"}})),(0,o.jsx)(Se,{showFollowItem:!0,showNotifyItem:!0,actions:x,externalActionSelected:j,notifyItemSelected:function(){return v(!0)},followItemSelected:function(){return g(!0)}})]})}})})},Be=function(e){var n=e.externalActionToDisplay,t=e.setExternalActionToDisplay,r=n.title,i=n.description,s=n.url;return(0,o.jsx)(je.Modal,{title:i||r,url:s,open:!!n,height:"80vh",handleCancel:function(){return t(null)}})},Je=function(){var e=(0,s.sJ)(u.Q),n=(0,s.sJ)(u.g1),t=(0,s.sJ)(u.pT),i=(0,s.sJ)(u.di),a=(0,s.sJ)(u.db),l=(0,r.Z)((0,s.FV)(u.hz),2),d=l[0],f=l[1],m=(0,s.sJ)(u.j$),x=(0,s.sJ)(u.YW),p=(0,s.sJ)(u.RI),j=p.viewerCount,v=p.lastConnectTime,_=p.lastDisconnectTime,w=p.streamTitle,y=n.extraPageContent,b=(n.version,n.name),C=n.summary,k=n.socialHandles,N=n.tags,Z=n.externalActions,T=n.offlineMessage,F=n.chatDisabled,A=n.federation,E=n.notifications,M=(0,c.useState)(!1),D=M[0],H=M[1],z=(0,c.useState)(!1),B=z[0],U=z[1],G=(0,c.useState)(!1),V=G[0],Y=G[1],q=A.account,Q=E.browser.enabled,W=(0,c.useState)(null),K=W[0],X=W[1],$=function(e){var n=e.openExternally,t=e.url;n?window.open(t,"_blank"):X(e)},ee=Z.map((function(e){return(0,o.jsx)(O,{action:e,externalActionSelected:$},e.url)})),ne=function(){U(!1),H(!1),(0,g.qQ)(g.dA.hasDisplayedNotificationModal,!0)},te=function(){var e=window.innerWidth;void 0===d&&f(e<=768),!d&&e<=768&&f(!0),d&&e>768&&f(!1)};(0,c.useEffect)((function(){return function(){var e=parseInt((0,g.$o)(g.dA.userVisitCount),10);Number.isNaN(e)&&(e=0),(0,g.qQ)(g.dA.userVisitCount,e+1),e>2&&!(0,g.$o)(g.dA.hasDisplayedNotificationModal)&&H(!0)}(),te(),window.addEventListener("resize",te),function(){window.removeEventListener("resize",te)}}),[]);var oe=!F&&i&&t;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("div",{className:S().main,children:[(0,o.jsx)(h.Z,{wrapperClassName:S().loadingSpinner,size:"large",spinning:e.appLoading,children:(0,o.jsxs)(Me,{className:S().root,children:[(0,o.jsxs)("div",{className:S().mainSection,children:[(0,o.jsxs)("div",{className:S().topSection,children:[x&&(0,o.jsx)(He,{source:"/hls/stream.m3u8",online:x}),!x&&!e.appLoading&&(0,o.jsx)(P.R,{streamName:b,customText:T,notificationsEnabled:Q,fediverseAccount:q,lastLive:_,onNotifyClick:function(){return U(!0)},onFollowClick:function(){return Y(!0)}}),x&&(0,o.jsx)(re.X,{online:x,lastConnectTime:v,lastDisconnectTime:_,viewerCount:j})]}),(0,o.jsx)("div",{className:S().midSection,children:(0,o.jsxs)("div",{className:S().buttonsLogoTitleSection,children:[!d&&(0,o.jsxs)(I,{children:[ee,(0,o.jsx)(J,{size:"small",onClick:function(){return Y(!0)}}),(0,o.jsx)(De,{open:D,notificationClicked:function(){return U(!0)},notificationClosed:function(){return ne()},children:(0,o.jsx)(R,{onClick:function(){return U(!0)}})})]}),(0,o.jsx)(je.Modal,{title:"Notify",open:B,afterClose:function(){return ne()},handleCancel:function(){return ne()},children:(0,o.jsx)(Ie,{})})]})}),d?(0,o.jsx)(Pe,{name:b,streamTitle:w,summary:C,tags:N,socialHandles:k,extraPageContent:y,messages:m,currentUser:a,showChat:oe,actions:Z,setExternalActionToDisplay:$,setShowNotifyPopup:U,setShowFollowModal:Y}):(0,o.jsx)(Oe,{name:b,streamTitle:w,summary:C,tags:N,socialHandles:k,extraPageContent:y})]}),oe&&!d&&(0,o.jsx)(L,{})]})}),!d&&!1]}),K&&(0,o.jsx)(Be,{externalActionToDisplay:K,setExternalActionToDisplay:X}),(0,o.jsx)(je.Modal,{title:"Follow ".concat(b),open:V,handleCancel:function(){return Y(!1)},width:"550px",children:(0,o.jsx)(Ee,{account:q,name:b,handleClose:function(){return Y(!1)}})})]})},Ue=t(8119),Re=t(85402),Ge=function(e){var n=e.title,t=e.message;return(0,o.jsx)(Re.Z,{title:n,visible:!0,footer:null,closable:!1,keyboard:!1,width:900,centered:!0,className:"modal",children:(0,o.jsx)("p",{style:{fontSize:"1.3rem"},children:t})})},Ve=t(82670);var Ye=function(){var e=(0,s.sJ)(u.j$),n=(0,s.sJ)(u.RI),t=!1,o="",r=function(){t=!0,o=window.document.title},i=function(){t=!1,window.document.title=o};return(0,c.useEffect)((function(){return o=window.document.title,window.addEventListener("blur",r),window.addEventListener("focus",i),function(){window.removeEventListener("focus",i),window.removeEventListener("blur",r)}}),[]),(0,c.useEffect)((function(){var e=n.online;t&&e&&(window.document.title="\ud83d\udcac :: ".concat(o))}),[e]),(0,c.useEffect)((function(){if(t){var e=n.online;e?window.document.title=" \ud83d\udfe2 :: ".concat(o):e||(window.document.title=" \ud83d\udd34 :: ".concat(o))}}),[u.RI]),null},qe=function(){return(0,o.jsx)("script",{id:"server-side-hydration",dangerouslySetInnerHTML:{__html:"\n\twindow.configHydration = {{.ServerConfigJSON}};\n\twindow.statusHydration = {{.StatusJSON}};\n\t"}})},Qe=function(){var e=(0,r.Z)((0,s.FV)(u.hz),1)[0],n=(0,s.sJ)(u.g1),t=n.name,a=n.title,d=n.customStyles,f=n.version,m=(0,s.sJ)(u.di),h=(0,s.sJ)(u.ap),x=(0,c.useRef)(null),p=n.chatDisabled;(0,c.useEffect)((function(){!function(e){var n=function(e){var n=e.getAttribute("rel"),t="".concat(n," noopener noreferrer");e.setAttribute("rel",t)};e.querySelectorAll("a").forEach((function(e){return n(e)})),new MutationObserver((function(e){var t=!0,o=!1,r=void 0;try{for(var i,s=e[Symbol.iterator]();!(t=(i=s.next()).done);t=!0){var a=i.value,l=!0,c=!1,u=void 0;try{for(var d,f=a.addedNodes[Symbol.iterator]();!(l=(d=f.next()).done);l=!0){var m=d.value;(0,Ve.Z)(m,HTMLElement)&&"a"===m.tagName.toLowerCase()&&n(m)}}catch(h){c=!0,u=h}finally{try{l||null==f.return||f.return()}finally{if(c)throw u}}}}catch(h){o=!0,r=h}finally{try{t||null==s.return||s.return()}finally{if(o)throw r}}})).observe(e,{attributes:!1,childList:!0,subtree:!0})}(x.current)}),[]);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(l(),{children:[(0,o.jsx)(qe,{}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"57x57",href:"/img/favicon/apple-icon-57x57.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"60x60",href:"/img/favicon/apple-icon-60x60.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"72x72",href:"/img/favicon/apple-icon-72x72.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"76x76",href:"/img/favicon/apple-icon-76x76.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"114x114",href:"/img/favicon/apple-icon-114x114.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"120x120",href:"/img/favicon/apple-icon-120x120.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"144x144",href:"/img/favicon/apple-icon-144x144.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"152x152",href:"/img/favicon/apple-icon-152x152.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/img/favicon/apple-icon-180x180.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"192x192",href:"/img/favicon/android-icon-192x192.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/img/favicon/favicon-32x32.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"96x96",href:"/img/favicon/favicon-96x96.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/img/favicon/favicon-16x16.png"}),(0,o.jsx)("link",{rel:"manifest",href:"/manifest.json"}),(0,o.jsx)("link",{href:"/api/auth/provider/indieauth"}),(0,o.jsx)("meta",{name:"msapplication-TileColor",content:"#ffffff"}),(0,o.jsx)("meta",{name:"msapplication-TileImage",content:"/img/favicon/ms-icon-144x144.png"}),(0,o.jsx)("meta",{name:"theme-color",content:"#ffffff"}),(0,o.jsx)("style",{children:d}),(0,o.jsx)("base",{target:"_blank"})]}),(0,o.jsxs)(l(),{children:[t?(0,o.jsx)("title",{children:t}):(0,o.jsx)("title",{children:"{{.Name}}"}),(0,o.jsx)("meta",{name:"description",content:"{{.Summary}}"}),(0,o.jsx)("meta",{property:"og:title",content:"{{.Name}}"}),(0,o.jsx)("meta",{property:"og:site_name",content:"{{.Name}}"}),(0,o.jsx)("meta",{property:"og:url",content:"{{.RequestedURL}}"}),(0,o.jsx)("meta",{property:"og:description",content:"{{.Summary}}"}),(0,o.jsx)("meta",{property:"og:type",content:"video.other"}),(0,o.jsx)("meta",{property:"video:tag",content:"{{.TagsString}}"}),(0,o.jsx)("meta",{property:"og:image",content:"{{.Thumbnail}}"}),(0,o.jsx)("meta",{property:"og:image:url",content:"{{.Thumbnail}}"}),(0,o.jsx)("meta",{property:"og:image:alt",content:"{{.Image}}"}),(0,o.jsx)("meta",{property:"og:video",content:"{{.RequestedURL}}/embed/video"}),(0,o.jsx)("meta",{property:"og:video:secure_url",content:"{{.RequestedURL}}/embed/video"}),(0,o.jsx)("meta",{property:"og:video:height",content:"315"}),(0,o.jsx)("meta",{property:"og:video:width",content:"560"}),(0,o.jsx)("meta",{property:"og:video:type",content:"text/html"}),(0,o.jsx)("meta",{property:"og:video:actor",content:"{{.Name}}"}),(0,o.jsx)("meta",{property:"twitter:title",content:"{{.Name}}"}),(0,o.jsx)("meta",{property:"twitter:url",content:"{{.RequestedURL}}"}),(0,o.jsx)("meta",{property:"twitter:description",content:"{{.Summary}}"}),(0,o.jsx)("meta",{property:"twitter:image",content:"{{.Image}}"}),(0,o.jsx)("meta",{property:"twitter:card",content:"player"}),(0,o.jsx)("meta",{property:"twitter:player",content:"{{.RequestedURL}}/embed/video"}),(0,o.jsx)("meta",{property:"twitter:player:width",content:"560"}),(0,o.jsx)("meta",{property:"twitter:player:height",content:"315"})]}),(0,o.jsx)(u.me,{}),(0,o.jsx)(Ye,{}),(0,o.jsxs)(i.Z,{ref:x,style:{minHeight:"100vh"},children:[(0,o.jsx)(Ue.h,{name:a||t,chatAvailable:m,chatDisabled:p}),(0,o.jsx)(Je,{}),h&&(0,o.jsx)(Ge,{title:h.title,message:h.message}),!e&&(0,o.jsx)(y,{version:f})]})]})};function We(){return(0,o.jsx)(Qe,{})}},36879:function(e){e.exports={button:"ActionButton_button__z5Z2c",icon:"ActionButton_icon__EPp7Q"}},81998:function(e){e.exports={item:"ActionButtonMenu_item__OJQdr",buttonWrap:"ActionButtonMenu_buttonWrap__WQ9kt",icon:"ActionButtonMenu_icon__edY1D",menu:"ActionButtonMenu_menu__GChDk"}},69767:function(e){e.exports={row:"ActionButtonRow_row__SiEGe"}},74688:function(e){e.exports={root:"ContentHeader_root__HaUG0",row:"ContentHeader_row__9Q8gH",logoTitleSection:"ContentHeader_logoTitleSection__Z8pUc",logo:"ContentHeader_logo__wo_HN",titleSection:"ContentHeader_titleSection___6Y15",title:"ContentHeader_title__E_DsI",subtitle:"ContentHeader_subtitle__n1Wew",tagList:"ContentHeader_tagList__rx3jY"}},47093:function(e){e.exports={root:"UserDropdown_root__IdxfQ","ant-space":"UserDropdown_ant-space__XJTZ3","ant-space-item":"UserDropdown_ant-space-item__w4nC2"}},13840:function(e){e.exports={header:"FollowModal_header__la1ji",buttons:"FollowModal_buttons__tt4Mc",instructions:"FollowModal_instructions__HiKFF",footer:"FollowModal_footer__AjucH",account:"FollowModal_account__cmHkm",logo:"FollowModal_logo__Ew8xK",username:"FollowModal_username__A_OTw",name:"FollowModal_name__Sf_TP"}},63291:function(e){e.exports={root:"Content_root__h1mNK",mainSection:"Content_mainSection__Gk78Y",topSection:"Content_topSection__JIZi0",lowerSection:"Content_lowerSection__BZHYI",lowerSectionMobile:"Content_lowerSectionMobile__hRr0_",leftCol:"Content_leftCol__U2TDq",loadingSpinner:"Content_loadingSpinner__mDlYC",main:"Content_main__XVf63"}},28105:function(e){e.exports={pageContentContainer:"CustomPageContent_pageContentContainer__EG4tU",customPageContent:"CustomPageContent_customPageContent__Mr981",summary:"CustomPageContent_summary___Zgps"}},35603:function(e){e.exports={footer:"Footer_footer__mPuvf",links:"Footer_links__7bBxV"}},92910:function(e){e.exports={header:"Header_header__U4Ro1",logo:"Header_logo__HLZ6Z"}},7918:function(e){e.exports={root:"Logo_root__jKiJC",container:"Logo_container__A4UYT",image:"Logo_image__Ahkom"}},78890:function(e){e.exports={spinner:"Modal_spinner__GiSS0",content:"Modal_content__h9my9"}},29316:function(e){e.exports={outerContainer:"OfflineBanner_outerContainer__3AbsB",innerContainer:"OfflineBanner_innerContainer__zTm13",bodyText:"OfflineBanner_bodyText__nNNy0",separator:"OfflineBanner_separator___j_Ss",lastLiveDate:"OfflineBanner_lastLiveDate___UZdO",clockIcon:"OfflineBanner_clockIcon__s0DB_",header:"OfflineBanner_header__Vu20o",footer:"OfflineBanner_footer__o3Zl5",actionLink:"OfflineBanner_actionLink__b4Mwa"}},75347:function(e){e.exports={root:"Sidebar_root__8HE0A"}},52740:function(e){e.exports={link:"SocialLinks_link___CcSm",links:"SocialLinks_links__gOAb7"}},93132:function(e){e.exports={statusbar:"Statusbar_statusbar__AtVnB"}},12103:function(e){e.exports={followers:"FollowerCollection_followers__e_EUS",noFollowers:"FollowerCollection_noFollowers__UaCVW"}},40305:function(e){e.exports={follower:"SingleFollower_follower__EyBDI",avatar:"SingleFollower_avatar__V9jHG",account:"SingleFollower_account__Z66vo",placeholder:"SingleFollower_placeholder__CgsfJ"}}},function(e){e.O(0,[8939,3903,4267,4381,5938,9372,5360,250,2858,760,204,1899,9774,2888,179],(function(){return n=48312,e(e.s=n);var n}));var n=e.O();_N_E=n}]); \ No newline at end of file diff --git a/static/web/_next/static/QzdGV0fumm23GOgYN-1z2/_buildManifest.js b/static/web/_next/static/nED2ePs3MntvyWAfxcI47/_buildManifest.js similarity index 97% rename from static/web/_next/static/QzdGV0fumm23GOgYN-1z2/_buildManifest.js rename to static/web/_next/static/nED2ePs3MntvyWAfxcI47/_buildManifest.js index 3791a2809..a296c99b7 100644 --- a/static/web/_next/static/QzdGV0fumm23GOgYN-1z2/_buildManifest.js +++ b/static/web/_next/static/nED2ePs3MntvyWAfxcI47/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST=function(s,a,c,e,i,t,d,n,f,h,o,b,m,u,k,r,j,g,p,l,_,w,v,y,I,B,F){return{__rewrites:{beforeFiles:[],afterFiles:[{source:"/api/:path*"},{source:"/hls/:path*"},{source:"/img/:path*"},{source:"/logo"},{source:"/thumbnail.jpg"}],fallback:[]},"/":[a,s,c,t,d,f,b,r,j,g,"static/chunks/204-6ae122010850efb7.js",h,"static/css/cffc98a5ffdc74a3.css","static/chunks/pages/index-c7bdf184afdccf6e.js"],"/_error":["static/chunks/pages/_error-f2496e8b9fdedb89.js"],"/admin":[a,s,c,e,i,t,d,n,o,b,"static/chunks/8676-58e1723c87a0d4ec.js","static/chunks/pages/admin-43f9087fa6678c4f.js"],"/admin/access-tokens":[a,s,c,e,i,"static/chunks/pages/admin/access-tokens-2a375f0c31dcf20c.js"],"/admin/actions":[a,s,c,e,"static/chunks/pages/admin/actions-3df6be5983096e91.js"],"/admin/chat/messages":[p,a,s,c,e,i,d,l,_,"static/chunks/pages/admin/chat/messages-5e938f5fcf6d38b4.js"],"/admin/chat/users":[p,a,s,c,e,i,t,d,l,_,"static/chunks/pages/admin/chat/users-edd78f9bcab13177.js"],"/admin/config-chat":["static/chunks/pages/admin/config-chat-60cf4efa879df43b.js"],"/admin/config-federation":["static/chunks/1829-b015b4e5cd814fc8.js","static/chunks/pages/admin/config-federation-5c6874737e33a71c.js"],"/admin/config-notify":["static/chunks/pages/admin/config-notify-162a41a161f6bd5a.js"],"/admin/config-public-details":["static/chunks/4ad82c5e-3111f896f08ad8d3.js",a,s,c,e,m,"static/chunks/9257-911165491be7087c.js",w,"static/chunks/pages/admin/config-public-details-e19f32415e69afa7.js"],"/admin/config-server-details":[v,"static/chunks/pages/admin/config-server-details-16e85ec1ac7c9ccd.js"],"/admin/config-social-items":[a,s,c,e,w,"static/chunks/pages/admin/config-social-items-4259e7e71b649d89.js"],"/admin/config-storage":["static/chunks/5473-ecd3fd646bf241fd.js","static/chunks/pages/admin/config-storage-723faa1b1e9d32cc.js"],"/admin/config-video":[a,s,c,e,v,"static/chunks/4812-9c96405be4c6ddd3.js","static/chunks/pages/admin/config-video-19a0ca309f8f853b.js"],"/admin/federation/actions":[a,s,c,e,i,"static/chunks/pages/admin/federation/actions-7358c2d2b36cd0d3.js"],"/admin/federation/followers":[a,s,c,e,i,t,"static/chunks/pages/admin/federation/followers-244b216150a6b7ed.js"],"/admin/hardware-info":[u,i,t,n,o,k,m,"static/chunks/pages/admin/hardware-info-bc854e2372771829.js"],"/admin/help":[t,n,r,"static/chunks/3206-6bf4badc6a1cb52c.js","static/chunks/pages/admin/help-bd9252a9141a83bc.js"],"/admin/logs":[a,s,c,e,i,b,"static/chunks/pages/admin/logs-35a30537d6fb39a8.js"],"/admin/stream-health":[u,i,t,n,o,k,"static/chunks/2934-a0634ff87273dd23.js","static/chunks/pages/admin/stream-health-477fe3fdf39f07c6.js"],"/admin/upgrade":[a,s,c,e,"static/chunks/2069-f1df28dfe5edee8e.js","static/chunks/pages/admin/upgrade-c7e86ed531f5961a.js"],"/admin/viewer-info":[u,a,s,c,e,i,t,d,n,o,k,m,"static/chunks/pages/admin/viewer-info-d5d9e6e1bb5b2d30.js"],"/admin/webhooks":[a,s,c,e,"static/chunks/pages/admin/webhooks-3dd2b3adafd762f3.js"],"/embed/chat/readonly":[y,I,f,B,h,F,"static/css/12c1bf3c7fd206d0.css","static/chunks/pages/embed/chat/readonly-6c062638c2ee8469.js"],"/embed/chat/readwrite":[y,I,s,f,B,g,h,F,"static/css/836decc457006cbf.css","static/chunks/pages/embed/chat/readwrite-7d31566901d47d3e.js"],"/embed/video":["static/chunks/d6e1aeb5-e5a704c6afec0fd3.js",d,f,"static/css/7c735c05af084bb2.css","static/chunks/6967-1dc59a4c5e0e4914.js",j,h,"static/chunks/1064-3812a0a7dd7bd728.js","static/css/df2265f42be36c15.css","static/chunks/pages/embed/video-3c19ed4d3865d475.js"],sortedPages:["/","/_app","/_error","/admin","/admin/access-tokens","/admin/actions","/admin/chat/messages","/admin/chat/users","/admin/config-chat","/admin/config-federation","/admin/config-notify","/admin/config-public-details","/admin/config-server-details","/admin/config-social-items","/admin/config-storage","/admin/config-video","/admin/federation/actions","/admin/federation/followers","/admin/hardware-info","/admin/help","/admin/logs","/admin/stream-health","/admin/upgrade","/admin/viewer-info","/admin/webhooks","/embed/chat/readonly","/embed/chat/readwrite","/embed/video"]}}("static/chunks/3903-97c724332d1a5798.js","static/chunks/8939-f33468a26aa6323b.js","static/chunks/4267-0d1cbd98a57df9e3.js","static/chunks/3626-d074077c8897dd8b.js","static/chunks/8091-d7457a988f3f1d54.js","static/chunks/4381-ff441df8dbf283c8.js","static/chunks/5938-b8bf626b6df6d168.js","static/chunks/5315-7b43a85c1af1db86.js","static/chunks/9372-9a6ed970911222d5.js","static/chunks/1899-c33f8f88bafc4aeb.js","static/chunks/4763-d06cb8d6555df3ab.js","static/chunks/5360-2b39dbc93c18fdb4.js","static/chunks/7910-c80aab5f0058b5c3.js","static/chunks/3fff1979-612c6162f1b345ff.js","static/chunks/2139-c72b3a851c3b6fc9.js","static/chunks/250-bed9a23902ee4797.js","static/chunks/2858-46f8295e2b7e6ef0.js","static/chunks/760-835ec0af235693b3.js","static/chunks/29107295-4a69275373f23f88.js","static/chunks/2460-885300cc1f75d92b.js","static/chunks/9640-9faa47ae02e368a5.js","static/chunks/2877-d475cbee242c8f3e.js","static/chunks/3286-a15aa91d3d2fc97f.js","static/chunks/d3048c20-405c7c1a8bffb46c.js","static/chunks/d2094a0f-ffb6824e6aa18418.js","static/chunks/2852-f3e7fd3556662a09.js","static/chunks/2382-de86c4f98358af45.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file +self.__BUILD_MANIFEST=function(s,a,c,e,i,t,d,n,f,h,o,b,m,u,k,r,j,g,p,l,_,w,v,y,I,B,F){return{__rewrites:{beforeFiles:[],afterFiles:[{source:"/api/:path*"},{source:"/hls/:path*"},{source:"/img/:path*"},{source:"/logo"},{source:"/thumbnail.jpg"}],fallback:[]},"/":[a,s,c,t,d,f,b,r,j,g,"static/chunks/204-6ae122010850efb7.js",h,"static/css/cffc98a5ffdc74a3.css","static/chunks/pages/index-6723057cc31c8d93.js"],"/_error":["static/chunks/pages/_error-f2496e8b9fdedb89.js"],"/admin":[a,s,c,e,i,t,d,n,o,b,"static/chunks/8676-58e1723c87a0d4ec.js","static/chunks/pages/admin-43f9087fa6678c4f.js"],"/admin/access-tokens":[a,s,c,e,i,"static/chunks/pages/admin/access-tokens-2a375f0c31dcf20c.js"],"/admin/actions":[a,s,c,e,"static/chunks/pages/admin/actions-3df6be5983096e91.js"],"/admin/chat/messages":[p,a,s,c,e,i,d,l,_,"static/chunks/pages/admin/chat/messages-5e938f5fcf6d38b4.js"],"/admin/chat/users":[p,a,s,c,e,i,t,d,l,_,"static/chunks/pages/admin/chat/users-edd78f9bcab13177.js"],"/admin/config-chat":["static/chunks/pages/admin/config-chat-60cf4efa879df43b.js"],"/admin/config-federation":["static/chunks/1829-b015b4e5cd814fc8.js","static/chunks/pages/admin/config-federation-5c6874737e33a71c.js"],"/admin/config-notify":["static/chunks/pages/admin/config-notify-162a41a161f6bd5a.js"],"/admin/config-public-details":["static/chunks/4ad82c5e-3111f896f08ad8d3.js",a,s,c,e,m,"static/chunks/9257-911165491be7087c.js",w,"static/chunks/pages/admin/config-public-details-e19f32415e69afa7.js"],"/admin/config-server-details":[v,"static/chunks/pages/admin/config-server-details-16e85ec1ac7c9ccd.js"],"/admin/config-social-items":[a,s,c,e,w,"static/chunks/pages/admin/config-social-items-4259e7e71b649d89.js"],"/admin/config-storage":["static/chunks/5473-ecd3fd646bf241fd.js","static/chunks/pages/admin/config-storage-723faa1b1e9d32cc.js"],"/admin/config-video":[a,s,c,e,v,"static/chunks/4812-9c96405be4c6ddd3.js","static/chunks/pages/admin/config-video-19a0ca309f8f853b.js"],"/admin/federation/actions":[a,s,c,e,i,"static/chunks/pages/admin/federation/actions-7358c2d2b36cd0d3.js"],"/admin/federation/followers":[a,s,c,e,i,t,"static/chunks/pages/admin/federation/followers-244b216150a6b7ed.js"],"/admin/hardware-info":[u,i,t,n,o,k,m,"static/chunks/pages/admin/hardware-info-bc854e2372771829.js"],"/admin/help":[t,n,r,"static/chunks/3206-6bf4badc6a1cb52c.js","static/chunks/pages/admin/help-bd9252a9141a83bc.js"],"/admin/logs":[a,s,c,e,i,b,"static/chunks/pages/admin/logs-35a30537d6fb39a8.js"],"/admin/stream-health":[u,i,t,n,o,k,"static/chunks/2934-a0634ff87273dd23.js","static/chunks/pages/admin/stream-health-477fe3fdf39f07c6.js"],"/admin/upgrade":[a,s,c,e,"static/chunks/2069-f1df28dfe5edee8e.js","static/chunks/pages/admin/upgrade-c7e86ed531f5961a.js"],"/admin/viewer-info":[u,a,s,c,e,i,t,d,n,o,k,m,"static/chunks/pages/admin/viewer-info-d5d9e6e1bb5b2d30.js"],"/admin/webhooks":[a,s,c,e,"static/chunks/pages/admin/webhooks-3dd2b3adafd762f3.js"],"/embed/chat/readonly":[y,I,f,B,h,F,"static/css/12c1bf3c7fd206d0.css","static/chunks/pages/embed/chat/readonly-6c062638c2ee8469.js"],"/embed/chat/readwrite":[y,I,s,f,B,g,h,F,"static/css/836decc457006cbf.css","static/chunks/pages/embed/chat/readwrite-7d31566901d47d3e.js"],"/embed/video":["static/chunks/d6e1aeb5-e5a704c6afec0fd3.js",d,f,"static/css/7c735c05af084bb2.css","static/chunks/6967-1dc59a4c5e0e4914.js",j,h,"static/chunks/1064-3812a0a7dd7bd728.js","static/css/df2265f42be36c15.css","static/chunks/pages/embed/video-3c19ed4d3865d475.js"],sortedPages:["/","/_app","/_error","/admin","/admin/access-tokens","/admin/actions","/admin/chat/messages","/admin/chat/users","/admin/config-chat","/admin/config-federation","/admin/config-notify","/admin/config-public-details","/admin/config-server-details","/admin/config-social-items","/admin/config-storage","/admin/config-video","/admin/federation/actions","/admin/federation/followers","/admin/hardware-info","/admin/help","/admin/logs","/admin/stream-health","/admin/upgrade","/admin/viewer-info","/admin/webhooks","/embed/chat/readonly","/embed/chat/readwrite","/embed/video"]}}("static/chunks/3903-97c724332d1a5798.js","static/chunks/8939-f33468a26aa6323b.js","static/chunks/4267-0d1cbd98a57df9e3.js","static/chunks/3626-d074077c8897dd8b.js","static/chunks/8091-d7457a988f3f1d54.js","static/chunks/4381-ff441df8dbf283c8.js","static/chunks/5938-b8bf626b6df6d168.js","static/chunks/5315-7b43a85c1af1db86.js","static/chunks/9372-9a6ed970911222d5.js","static/chunks/1899-c33f8f88bafc4aeb.js","static/chunks/4763-d06cb8d6555df3ab.js","static/chunks/5360-2b39dbc93c18fdb4.js","static/chunks/7910-c80aab5f0058b5c3.js","static/chunks/3fff1979-612c6162f1b345ff.js","static/chunks/2139-c72b3a851c3b6fc9.js","static/chunks/250-bed9a23902ee4797.js","static/chunks/2858-46f8295e2b7e6ef0.js","static/chunks/760-835ec0af235693b3.js","static/chunks/29107295-4a69275373f23f88.js","static/chunks/2460-885300cc1f75d92b.js","static/chunks/9640-9faa47ae02e368a5.js","static/chunks/2877-d475cbee242c8f3e.js","static/chunks/3286-a15aa91d3d2fc97f.js","static/chunks/d3048c20-405c7c1a8bffb46c.js","static/chunks/d2094a0f-ffb6824e6aa18418.js","static/chunks/2852-f3e7fd3556662a09.js","static/chunks/2382-de86c4f98358af45.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/static/web/_next/static/QzdGV0fumm23GOgYN-1z2/_ssgManifest.js b/static/web/_next/static/nED2ePs3MntvyWAfxcI47/_ssgManifest.js similarity index 100% rename from static/web/_next/static/QzdGV0fumm23GOgYN-1z2/_ssgManifest.js rename to static/web/_next/static/nED2ePs3MntvyWAfxcI47/_ssgManifest.js diff --git a/static/web/admin/access-tokens/index.html b/static/web/admin/access-tokens/index.html index 952d8ef68..cbf7df755 100644 --- a/static/web/admin/access-tokens/index.html +++ b/static/web/admin/access-tokens/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Access Tokens

Access tokens are used to allow external, 3rd party tools to perform specific actions on your Owncast server. They should be kept secure and never included in client code, instead they should be kept on a server that you control.
Read more about how to use these tokens, with examples, at our documentation.
NameTokenScopesLast Used
No Data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Access Tokens

Access tokens are used to allow external, 3rd party tools to perform specific actions on your Owncast server. They should be kept secure and never included in client code, instead they should be kept on a server that you control.
Read more about how to use these tokens, with examples, at our documentation.
NameTokenScopesLast Used
No Data

\ No newline at end of file diff --git a/static/web/admin/actions/index.html b/static/web/admin/actions/index.html index b9decd6c4..430c8aada 100644 --- a/static/web/admin/actions/index.html +++ b/static/web/admin/actions/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

External Actions

External action URLs are 3rd party UI you can display, embedded, into your Owncast page when a user clicks on a button to launch your action.
Read more about how to use actions, with examples, at our documentation.
NameDescriptionURLIconColorOpens
No Data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

External Actions

External action URLs are 3rd party UI you can display, embedded, into your Owncast page when a user clicks on a button to launch your action.
Read more about how to use actions, with examples, at our documentation.
NameDescriptionURLIconColorOpens
No Data

\ No newline at end of file diff --git a/static/web/admin/chat/messages/index.html b/static/web/admin/chat/messages/index.html index b35dd30b2..8b8f25992 100644 --- a/static/web/admin/chat/messages/index.html +++ b/static/web/admin/chat/messages/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Chat Messages

Manage the messages from viewers that show up on your stream.

Check multiple messages to change their visibility to:
Time
User
Message
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Chat Messages

Manage the messages from viewers that show up on your stream.

Check multiple messages to change their visibility to:
Time
User
Message
No Data
\ No newline at end of file diff --git a/static/web/admin/chat/users/index.html b/static/web/admin/chat/users/index.html index eb7e808f5..d128885c8 100644 --- a/static/web/admin/chat/users/index.html +++ b/static/web/admin/chat/users/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

When a stream is active and chat is enabled, connected chat clients will be displayed here.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

When a stream is active and chat is enabled, connected chat clients will be displayed here.

\ No newline at end of file diff --git a/static/web/admin/config-chat/index.html b/static/web/admin/config-chat/index.html index f8d8b2d6a..ffab7f8f3 100644 --- a/static/web/admin/config-chat/index.html +++ b/static/web/admin/config-chat/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/web/admin/config-federation/index.html b/static/web/admin/config-federation/index.html index cfc02f964..5d31eaaa1 100644 --- a/static/web/admin/config-federation/index.html +++ b/static/web/admin/config-federation/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/web/admin/config-notify/index.html b/static/web/admin/config-notify/index.html index 0808dfd8a..55ee5dddc 100644 --- a/static/web/admin/config-notify/index.html +++ b/static/web/admin/config-notify/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Notifications

Let your viewers know when you go live by supporting any of the below notification channels. Learn more about live notifications.


The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

Browser Alerts

Viewers can opt into being notified when you go live with their browser.

Not all browsers support this.

Enable browser notifications

The text to send when you go live.

Twitter

Let your Twitter followers know each time you go live.

Enable Twitter

The text to send when you go live.

Discord

Let your Discord channel know each time you go live.

Create a webhook under Edit Channel / Integrations on your Discord channel and provide it below.

Enable Discord

The webhook assigned to your channel.

The text to send when you go live.

Fediverse Social

Enabling the Fediverse social features will not just alert people to when you go live, but also enable other functionality.

Fediverse social features: Disabled

Configure

Custom

Build your own notifications by using custom webhooks.

Create
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Notifications

Let your viewers know when you go live by supporting any of the below notification channels. Learn more about live notifications.


The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

Browser Alerts

Viewers can opt into being notified when you go live with their browser.

Not all browsers support this.

Enable browser notifications

The text to send when you go live.

Twitter

Let your Twitter followers know each time you go live.

Enable Twitter

The text to send when you go live.

Discord

Let your Discord channel know each time you go live.

Create a webhook under Edit Channel / Integrations on your Discord channel and provide it below.

Enable Discord

The webhook assigned to your channel.

The text to send when you go live.

Fediverse Social

Enabling the Fediverse social features will not just alert people to when you go live, but also enable other functionality.

Fediverse social features: Disabled

Configure

Custom

Build your own notifications by using custom webhooks.

Create
\ No newline at end of file diff --git a/static/web/admin/config-public-details/index.html b/static/web/admin/config-public-details/index.html index 472863624..857a737a2 100644 --- a/static/web/admin/config-public-details/index.html +++ b/static/web/admin/config-public-details/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

General Settings

The following are displayed on your site to describe your stream and its content. Learn more.

Custom Page Content

Edit the content of your page by using simple Markdown syntax.


Customize your page styling with CSS

Customize the look and feel of your Owncast instance by overriding the CSS styles of various components on the page. Refer to the CSS & Components guide.

Please input plain CSS text, as this will be directly injected onto your page during load.


\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

General Settings

The following are displayed on your site to describe your stream and its content. Learn more.

Custom Page Content

Edit the content of your page by using simple Markdown syntax.


Customize your page styling with CSS

Customize the look and feel of your Owncast instance by overriding the CSS styles of various components on the page. Refer to the CSS & Components guide.

Please input plain CSS text, as this will be directly injected onto your page during load.


\ No newline at end of file diff --git a/static/web/admin/config-server-details/index.html b/static/web/admin/config-server-details/index.html index 241b8c3cc..8754e1d09 100644 --- a/static/web/admin/config-server-details/index.html +++ b/static/web/admin/config-server-details/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Server Settings

You should change your stream key from the default and keep it safe. For most people it's likely the other settings will not need to be changed.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Server Settings

You should change your stream key from the default and keep it safe. For most people it's likely the other settings will not need to be changed.

\ No newline at end of file diff --git a/static/web/admin/config-social-items/index.html b/static/web/admin/config-social-items/index.html index ad2e522f0..0030b742f 100644 --- a/static/web/admin/config-social-items/index.html +++ b/static/web/admin/config-social-items/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Social Items

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Social Items

\ No newline at end of file diff --git a/static/web/admin/config-storage/index.html b/static/web/admin/config-storage/index.html index 975b15605..79ef06316 100644 --- a/static/web/admin/config-storage/index.html +++ b/static/web/admin/config-storage/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Storage

Owncast supports optionally using external storage providers to stream your video. Learn more about this by visiting our Storage Documentation.

Configuring this incorrectly will likely cause your video to be unplayable. Double check the documentation for your storage provider on how to configure the bucket you created for Owncast.

Keep in mind this is for live streaming, not for archival, recording or VOD purposes.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Storage

Owncast supports optionally using external storage providers to stream your video. Learn more about this by visiting our Storage Documentation.

Configuring this incorrectly will likely cause your video to be unplayable. Double check the documentation for your storage provider on how to configure the bucket you created for Owncast.

Keep in mind this is for live streaming, not for archival, recording or VOD purposes.

\ No newline at end of file diff --git a/static/web/admin/config-video/index.html b/static/web/admin/config-video/index.html index b6c4a774a..eeb21b25c 100644 --- a/static/web/admin/config-video/index.html +++ b/static/web/admin/config-video/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Video configuration

Before changing your video configuration visit the video documentation to learn how it impacts your stream performance. The general rule is to start conservatively by having one middle quality stream output variant and experiment with adding more of varied qualities.

Stream output

NameVideo bitrateCPU Usage
No name800 kbpsMedium

Latency Buffer

While it's natural to want to keep your latency as low as possible, you may experience reduced error tolerance and stability the lower you go. The lowest setting is not recommended.

For interactive live streams you may want to experiment with a lower latency, for non-interactive broadcasts you may want to increase it. Read to learn more.

LowestHighest

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Video configuration

Before changing your video configuration visit the video documentation to learn how it impacts your stream performance. The general rule is to start conservatively by having one middle quality stream output variant and experiment with adding more of varied qualities.

Stream output

NameVideo bitrateCPU Usage
No name800 kbpsMedium

Latency Buffer

While it's natural to want to keep your latency as low as possible, you may experience reduced error tolerance and stability the lower you go. The lowest setting is not recommended.

For interactive live streams you may want to experiment with a lower latency, for non-interactive broadcasts you may want to increase it. Read to learn more.

LowestHighest

\ No newline at end of file diff --git a/static/web/admin/federation/actions/index.html b/static/web/admin/federation/actions/index.html index c19cd6768..06e259a45 100644 --- a/static/web/admin/federation/actions/index.html +++ b/static/web/admin/federation/actions/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Fediverse Actions

Below is a list of actions that were taken by others in response to your posts as well as people who requested to follow you.
ActionFromWhen
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Fediverse Actions

Below is a list of actions that were taken by others in response to your posts as well as people who requested to follow you.
ActionFromWhen
No Data
\ No newline at end of file diff --git a/static/web/admin/federation/followers/index.html b/static/web/admin/federation/followers/index.html index 71270cc8f..33e12ad74 100644 --- a/static/web/admin/federation/followers/index.html +++ b/static/web/admin/federation/followers/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

The following accounts get notified when you go live or send a post.

NameURL
Added
Remove
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

The following accounts get notified when you go live or send a post.

NameURL
Added
Remove
No Data
\ No newline at end of file diff --git a/static/web/admin/hardware-info/index.html b/static/web/admin/hardware-info/index.html index 160ad3e2e..e3ef27853 100644 --- a/static/web/admin/hardware-info/index.html +++ b/static/web/admin/hardware-info/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Hardware Info


CPU
0%
Memory
0%
Disk
0%
Loading...
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Hardware Info


CPU
0%
Memory
0%
Disk
0%
Loading...
\ No newline at end of file diff --git a/static/web/admin/help/index.html b/static/web/admin/help/index.html index f18d89244..51a48470b 100644 --- a/static/web/admin/help/index.html +++ b/static/web/admin/help/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

How can we help you?

Troubleshooting

Fix your problems

Documentation

Read the Docs

Common tasks

I want to configure my owncast instance
Help configuring my broadcasting software
I want to embed my stream into another site
I want to customize my website
I want to tweak my video output
I want to use an external storage provider

Other

I found a bug
If you found a bug, then please let us know
I have a general question
Most general questions are answered in our FAQ or exist in our discussions
I want to build add-ons for Owncast
You can build your own bots, overlays, tools and add-ons with our developer APIs. 
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

How can we help you?

Troubleshooting

Fix your problems

Documentation

Read the Docs

Common tasks

I want to configure my owncast instance
Help configuring my broadcasting software
I want to embed my stream into another site
I want to customize my website
I want to tweak my video output
I want to use an external storage provider

Other

I found a bug
If you found a bug, then please let us know
I have a general question
Most general questions are answered in our FAQ or exist in our discussions
I want to build add-ons for Owncast
You can build your own bots, overlays, tools and add-ons with our developer APIs. 
\ No newline at end of file diff --git a/static/web/admin/index.html b/static/web/admin/index.html index b0fc2739e..94f4b0687 100644 --- a/static/web/admin/index.html +++ b/static/web/admin/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

No stream is active

You should start one.

Use your broadcasting software
Chat is disabled
Chat will continue to be disabled until you begin a live stream.
Find an audience on the Owncast Directory
List yourself in the Owncast Directory and show off your stream. Enable it in settings.
fediverse
Add your Owncast instance to the Fediverse
Enable Owncast social features to have your instance join the Fediverse, allowing people to follow, share and engage with your live stream.

News & Updates from Owncast

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

No stream is active

You should start one.

Use your broadcasting software
Chat is disabled
Chat will continue to be disabled until you begin a live stream.
Find an audience on the Owncast Directory
List yourself in the Owncast Directory and show off your stream. Enable it in settings.
fediverse
Add your Owncast instance to the Fediverse
Enable Owncast social features to have your instance join the Fediverse, allowing people to follow, share and engage with your live stream.

News & Updates from Owncast

\ No newline at end of file diff --git a/static/web/admin/logs/index.html b/static/web/admin/logs/index.html index d07e52b9d..fe1fe4f31 100644 --- a/static/web/admin/logs/index.html +++ b/static/web/admin/logs/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/web/admin/stream-health/index.html b/static/web/admin/stream-health/index.html index 98ecccba9..3269d7e5d 100644 --- a/static/web/admin/stream-health/index.html +++ b/static/web/admin/stream-health/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Stream Performance

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Stream Performance

\ No newline at end of file diff --git a/static/web/admin/upgrade/index.html b/static/web/admin/upgrade/index.html index e70a64da0..34c052b3f 100644 --- a/static/web/admin/upgrade/index.html +++ b/static/web/admin/upgrade/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Thu Jan 01 1970

Downloads

NameSize
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Thu Jan 01 1970

Downloads

NameSize
No Data
\ No newline at end of file diff --git a/static/web/admin/viewer-info/index.html b/static/web/admin/viewer-info/index.html index ecafec60c..3eaa19074 100644 --- a/static/web/admin/viewer-info/index.html +++ b/static/web/admin/viewer-info/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Viewer Info


Max viewers last stream
0
All-time max viewers
0
User AgentLocation
Watch Time
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Viewer Info


Max viewers last stream
0
All-time max viewers
0
User AgentLocation
Watch Time
No Data
\ No newline at end of file diff --git a/static/web/admin/webhooks/index.html b/static/web/admin/webhooks/index.html index dd5cfe5d1..368e08793 100644 --- a/static/web/admin/webhooks/index.html +++ b/static/web/admin/webhooks/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Webhooks

A webhook is a callback made to an external API in response to an event that takes place within Owncast. This can be used to build chat bots or sending automatic notifications that you've started streaming.
Read more about how to use webhooks, with examples, at our documentation.
URLEvents
No Data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Webhooks

A webhook is a callback made to an external API in response to an event that takes place within Owncast. This can be used to build chat bots or sending automatic notifications that you've started streaming.
Read more about how to use webhooks, with examples, at our documentation.
URLEvents
No Data

\ No newline at end of file diff --git a/static/web/embed/chat/readonly/index.html b/static/web/embed/chat/readonly/index.html index a605e9e4c..8649fc553 100644 --- a/static/web/embed/chat/readonly/index.html +++ b/static/web/embed/chat/readonly/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/static/web/embed/chat/readwrite/index.html b/static/web/embed/chat/readwrite/index.html index 24b6b21b4..ca7809575 100644 --- a/static/web/embed/chat/readwrite/index.html +++ b/static/web/embed/chat/readwrite/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/static/web/embed/video/index.html b/static/web/embed/video/index.html index db550bb38..797cefa0e 100644 --- a/static/web/embed/video/index.html +++ b/static/web/embed/video/index.html @@ -1 +1 @@ -
This stream is offline. Check back soon!
\ No newline at end of file +
This stream is offline. Check back soon!
\ No newline at end of file diff --git a/static/web/index.html b/static/web/index.html index 3d8f59756..0d7fe5537 100644 --- a/static/web/index.html +++ b/static/web/index.html @@ -1,4 +1,4 @@ {{.Name}}
Chat offline
Logo
Preview
\ No newline at end of file + {{.Name}}
Chat offline
Logo
Preview
\ No newline at end of file