diff --git a/static/web/404.html b/static/web/404.html index 90606b5f1..201247f9c 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 90606b5f1..201247f9c 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/gYQW9K2BvMmMWKXpwAURz/_buildManifest.js b/static/web/_next/static/VZX7RYXIo7CzgloR5PvB3/_buildManifest.js similarity index 88% rename from static/web/_next/static/gYQW9K2BvMmMWKXpwAURz/_buildManifest.js rename to static/web/_next/static/VZX7RYXIo7CzgloR5PvB3/_buildManifest.js index f9f8e2f28..405d1a48c 100644 --- a/static/web/_next/static/gYQW9K2BvMmMWKXpwAURz/_buildManifest.js +++ b/static/web/_next/static/VZX7RYXIo7CzgloR5PvB3/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST=function(s,a,c,e,i,t,d,n,f,h,o,b,m,u,k,r,g,j,p,l,_,w,v,y,I,B,F,A,D){return{__rewrites:{beforeFiles:[],afterFiles:[{source:"/api/:path*"},{source:"/hls/:path*"},{source:"/img/:path*"},{source:"/logo"},{source:"/thumbnail.jpg"}],fallback:[]},"/":[b,m,l,a,s,c,t,d,f,u,k,_,w,v,"static/chunks/8782-f3854e33766b9b1f.js",h,r,y,"static/css/bbe0e756b1302d08.css","static/chunks/pages/index-2ef83ad0a89069b5.js"],"/_error":["static/chunks/pages/_error-f2496e8b9fdedb89.js"],"/admin":[a,s,c,e,i,t,d,n,o,k,"static/chunks/8676-58e1723c87a0d4ec.js","static/chunks/pages/admin-d17473c83eb06c1c.js"],"/admin/access-tokens":[a,s,c,e,i,"static/chunks/pages/admin/access-tokens-5f45e77ab2176f5b.js"],"/admin/actions":[a,s,c,e,"static/chunks/pages/admin/actions-118addb368d4ec1b.js"],"/admin/chat/messages":[I,a,s,c,e,i,d,B,F,"static/chunks/pages/admin/chat/messages-954bab3a08b52e63.js"],"/admin/chat/users":[I,a,s,c,e,i,t,d,B,F,"static/chunks/pages/admin/chat/users-7c4596217310ce22.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-aee7dee7c0ddef1c.js",a,s,c,e,g,"static/chunks/9257-66ad7ef8cc6a6ab9.js",A,"static/chunks/pages/admin/config-public-details-e19f32415e69afa7.js"],"/admin/config-server-details":[D,"static/chunks/pages/admin/config-server-details-16e85ec1ac7c9ccd.js"],"/admin/config-social-items":[a,s,c,e,A,"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,D,"static/chunks/4812-9c96405be4c6ddd3.js","static/chunks/pages/admin/config-video-77be2acde5c474cb.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":[j,i,t,n,o,p,g,"static/chunks/pages/admin/hardware-info-84a9ed3976eda5f8.js"],"/admin/help":[t,n,v,"static/chunks/5566-52c087631b066441.js","static/chunks/pages/admin/help-42d7e93ad9dd7422.js"],"/admin/logs":[a,s,c,e,i,k,"static/chunks/pages/admin/logs-edbab10327a430d5.js"],"/admin/stream-health":[j,i,t,n,o,p,"static/chunks/2934-aa3e8079f963fc7c.js","static/chunks/pages/admin/stream-health-477fe3fdf39f07c6.js"],"/admin/upgrade":[a,s,c,e,"static/chunks/2069-57515c89a2a2ad62.js","static/chunks/pages/admin/upgrade-c7e86ed531f5961a.js"],"/admin/viewer-info":[j,a,s,c,e,i,t,d,n,o,p,g,"static/chunks/pages/admin/viewer-info-303e2739ed06a414.js"],"/admin/webhooks":[a,s,c,e,"static/chunks/pages/admin/webhooks-66e239b373b061f0.js"],"/embed/chat/readonly":[b,m,f,u,h,r,"static/css/12c1bf3c7fd206d0.css","static/chunks/pages/embed/chat/readonly-d969a04b544dbdb5.js"],"/embed/chat/readwrite":[b,m,s,f,u,h,r,"static/css/836decc457006cbf.css","static/chunks/pages/embed/chat/readwrite-f19e644fe4a1a3fb.js"],"/embed/video":[l,d,f,_,w,h,y,"static/css/1cfb66075623657d.css","static/chunks/pages/embed/video-8523565c84ec6976.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-2c7dd78bd2286b4d.js","static/chunks/4267-0d1cbd98a57df9e3.js","static/chunks/3626-d074077c8897dd8b.js","static/chunks/8091-d7457a988f3f1d54.js","static/chunks/4381-ff441df8dbf283c8.js","static/chunks/9764-3705d4c034a766fe.js","static/chunks/5315-7b43a85c1af1db86.js","static/chunks/9372-9a6ed970911222d5.js","static/chunks/1899-19c3bbd726bf14e2.js","static/chunks/4763-402d9be567dec6b1.js","static/chunks/d3048c20-0576676e1017fabd.js","static/chunks/d2094a0f-ffb6824e6aa18418.js","static/chunks/7364-ee62dc647ba0caa0.js","static/chunks/2429-38af9f180f370b65.js","static/chunks/2382-db0487c02624c136.js","static/chunks/7910-c80aab5f0058b5c3.js","static/chunks/3fff1979-612c6162f1b345ff.js","static/chunks/2139-c72b3a851c3b6fc9.js","static/chunks/d6e1aeb5-e5a704c6afec0fd3.js","static/css/7c735c05af084bb2.css","static/chunks/1318-53f31d15cf942717.js","static/chunks/1082-c86716156ee6f510.js","static/chunks/2854-cfa449572c9209a7.js","static/chunks/29107295-4a69275373f23f88.js","static/chunks/9189-200a9342100c92dd.js","static/chunks/9640-e282810d6fb4f58d.js","static/chunks/2877-77357d178da33d53.js","static/chunks/3286-a15aa91d3d2fc97f.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,b,o,m,u,k,r,g,j,p,l,_,w,v,y,I,B,F,A,D){return{__rewrites:{beforeFiles:[],afterFiles:[{source:"/api/:path*"},{source:"/hls/:path*"},{source:"/img/:path*"},{source:"/logo"},{source:"/thumbnail.jpg"}],fallback:[]},"/":[o,m,l,a,s,c,t,d,f,u,k,_,w,v,"static/chunks/8782-f3854e33766b9b1f.js",h,r,y,"static/css/bbe0e756b1302d08.css","static/chunks/pages/index-d583f6a184986143.js"],"/_error":["static/chunks/pages/_error-f2496e8b9fdedb89.js"],"/admin":[a,s,c,e,i,t,d,n,b,k,"static/chunks/8676-58e1723c87a0d4ec.js","static/chunks/pages/admin-d17473c83eb06c1c.js"],"/admin/access-tokens":[a,s,c,e,i,"static/chunks/pages/admin/access-tokens-5f45e77ab2176f5b.js"],"/admin/actions":[a,s,c,e,"static/chunks/pages/admin/actions-118addb368d4ec1b.js"],"/admin/chat/messages":[I,a,s,c,e,i,d,B,F,"static/chunks/pages/admin/chat/messages-954bab3a08b52e63.js"],"/admin/chat/users":[I,a,s,c,e,i,t,d,B,F,"static/chunks/pages/admin/chat/users-7c4596217310ce22.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-aee7dee7c0ddef1c.js",a,s,c,e,g,"static/chunks/9257-66ad7ef8cc6a6ab9.js",A,"static/chunks/pages/admin/config-public-details-e19f32415e69afa7.js"],"/admin/config-server-details":[D,"static/chunks/pages/admin/config-server-details-16e85ec1ac7c9ccd.js"],"/admin/config-social-items":[a,s,c,e,A,"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,D,"static/chunks/4812-9c96405be4c6ddd3.js","static/chunks/pages/admin/config-video-77be2acde5c474cb.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":[j,i,t,n,b,p,g,"static/chunks/pages/admin/hardware-info-84a9ed3976eda5f8.js"],"/admin/help":[t,n,v,"static/chunks/5566-52c087631b066441.js","static/chunks/pages/admin/help-42d7e93ad9dd7422.js"],"/admin/logs":[a,s,c,e,i,k,"static/chunks/pages/admin/logs-edbab10327a430d5.js"],"/admin/stream-health":[j,i,t,n,b,p,"static/chunks/2934-aa3e8079f963fc7c.js","static/chunks/pages/admin/stream-health-477fe3fdf39f07c6.js"],"/admin/upgrade":[a,s,c,e,"static/chunks/2069-57515c89a2a2ad62.js","static/chunks/pages/admin/upgrade-c7e86ed531f5961a.js"],"/admin/viewer-info":[j,a,s,c,e,i,t,d,n,b,p,g,"static/chunks/pages/admin/viewer-info-303e2739ed06a414.js"],"/admin/webhooks":[a,s,c,e,"static/chunks/pages/admin/webhooks-66e239b373b061f0.js"],"/embed/chat/readonly":[o,m,f,u,h,r,"static/css/12c1bf3c7fd206d0.css","static/chunks/pages/embed/chat/readonly-d969a04b544dbdb5.js"],"/embed/chat/readwrite":[o,m,s,f,u,h,r,"static/css/836decc457006cbf.css","static/chunks/pages/embed/chat/readwrite-f19e644fe4a1a3fb.js"],"/embed/video":[l,d,f,_,w,h,y,"static/css/1cfb66075623657d.css","static/chunks/pages/embed/video-8523565c84ec6976.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-2c7dd78bd2286b4d.js","static/chunks/4267-0d1cbd98a57df9e3.js","static/chunks/3626-d074077c8897dd8b.js","static/chunks/8091-d7457a988f3f1d54.js","static/chunks/4381-ff441df8dbf283c8.js","static/chunks/9764-3705d4c034a766fe.js","static/chunks/5315-7b43a85c1af1db86.js","static/chunks/9372-9a6ed970911222d5.js","static/chunks/1899-19c3bbd726bf14e2.js","static/chunks/4763-402d9be567dec6b1.js","static/chunks/d3048c20-0576676e1017fabd.js","static/chunks/d2094a0f-ffb6824e6aa18418.js","static/chunks/7364-ee62dc647ba0caa0.js","static/chunks/2429-38af9f180f370b65.js","static/chunks/2382-db0487c02624c136.js","static/chunks/7910-c80aab5f0058b5c3.js","static/chunks/3fff1979-612c6162f1b345ff.js","static/chunks/2139-c72b3a851c3b6fc9.js","static/chunks/d6e1aeb5-e5a704c6afec0fd3.js","static/css/7c735c05af084bb2.css","static/chunks/1318-53f31d15cf942717.js","static/chunks/1082-c86716156ee6f510.js","static/chunks/2854-cfa449572c9209a7.js","static/chunks/29107295-4a69275373f23f88.js","static/chunks/9189-200a9342100c92dd.js","static/chunks/9640-e282810d6fb4f58d.js","static/chunks/2877-77357d178da33d53.js","static/chunks/3286-a15aa91d3d2fc97f.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/static/web/_next/static/gYQW9K2BvMmMWKXpwAURz/_ssgManifest.js b/static/web/_next/static/VZX7RYXIo7CzgloR5PvB3/_ssgManifest.js similarity index 100% rename from static/web/_next/static/gYQW9K2BvMmMWKXpwAURz/_ssgManifest.js rename to static/web/_next/static/VZX7RYXIo7CzgloR5PvB3/_ssgManifest.js diff --git a/static/web/_next/static/chunks/pages/index-2ef83ad0a89069b5.js b/static/web/_next/static/chunks/pages/index-2ef83ad0a89069b5.js deleted file mode 100644 index 1734b6736..000000000 --- a/static/web/_next/static/chunks/pages/index-2ef83ad0a89069b5.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(15534)}])},8119:function(e,n,t){"use strict";t.d(n,{h:function(){return L},Z:function(){return z}});var i=t(85893),r=t(97183),o=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),g=t(4480),j=t(67294),v=t(49218),_=t(5152),w=t.n(_),C=t(1899),b=t(47093),y=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,j.useState)(!1),o=r[0],s=r[1],_=(0,j.useState)(!1),w=_[0],b=_[1],Z=(0,a.Z)((0,g.FV)(C.ZA),2),A=Z[0],E=Z[1],T=(0,g.sJ)(C.Q),H=function(){E(!A)};(0,v.y1)("c",H,{enableOnContentEditable:!1},[A]);var L=(0,g.sJ)(C.db);if(!L)return null;var z=L.displayName,D=t||z,J=(0,i.jsxs)(l.Z,{children:[(0,i.jsx)(l.Z.Item,{icon:(0,i.jsx)(f.Z,{}),onClick:function(){s(!0)},children:"Change name"},"0"),(0,i.jsx)(l.Z.Item,{icon:(0,i.jsx)(m.Z,{}),onClick:function(){return b(!0)},children:"Authenticate"},"1"),T.chatAvailable&&(0,i.jsx)(l.Z.Item,{icon:(0,i.jsx)(h.Z,{}),onClick:function(){return H()},children:"Toggle chat"},"3")]});return(0,i.jsxs)("div",{className:"".concat(y().root),children:[(0,i.jsx)(c.Z,{overlay:J,trigger:["click"],children:(0,i.jsx)(u.Z,{type:"primary",icon:(0,i.jsx)(x.Z,{style:{marginRight:".5rem"}}),children:(0,i.jsxs)(d.Z,{children:[D,(0,i.jsx)(p.Z,{})]})})}),(0,i.jsx)(k,{title:"Change Chat Display Name",open:o,handleCancel:function(){return s(!1)},children:(0,i.jsx)(N,{})}),(0,i.jsx)(k,{title:"Authenticate",open:w,handleCancel:function(){return b(!1)},children:(0,i.jsx)(S,{})})]})},A=t(60113),E=t(92910),T=t.n(E),H=r.Z.Header,L=function(e){var n=e.name,t=void 0===n?"Your stream title":n,r=e.chatAvailable,a=e.chatDisabled;return(0,i.jsxs)(H,{className:"".concat(T().header),children:[(0,i.jsxs)("div",{className:"".concat(T().logo),children:[(0,i.jsx)(A.C,{variant:"contrast"}),(0,i.jsx)("span",{children:t})]}),r&&!a&&(0,i.jsx)(Z,{}),!r&&!a&&(0,i.jsx)(o.Z,{title:"Chat is available when the stream is live.",placement:"left",children:(0,i.jsx)(s.Z,{style:{cursor:"pointer"},children:"Chat offline"})})]})},z=L},15534:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return Je}});var i=t(85893),r=t(828),o=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),g=t(5152),j=t.n(g),v=t(73682),_=t(35603),w=t.n(_),C=function(e){var n=e.version;return(0,i.jsxs)("div",{className:w().footer,children:[(0,i.jsxs)("div",{className:w().text,children:["Powered by ",(0,i.jsx)("a",{href:"https://owncast.online",children:n})]}),(0,i.jsxs)("div",{className:w().links,children:[(0,i.jsx)("div",{className:w().item,children:(0,i.jsx)("a",{href:"https://owncast.online/docs",target:"_blank",rel:"noreferrer",children:"Documentation"})}),(0,i.jsx)("div",{className:w().item,children:(0,i.jsx)("a",{href:"https://owncast.online/help",target:"_blank",rel:"noreferrer",children:"Contribute"})}),(0,i.jsx)("div",{className:w().item,children:(0,i.jsx)("a",{href:"https://github.com/owncast/owncast",target:"_blank",rel:"noreferrer",children:"Source"})})]})]})},b=t(28105),y=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,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:y().pageContentContainer,children:(0,i.jsx)("div",{className:y().customPageContent,dangerouslySetInnerHTML:{__html:n}})}),t&&(0,i.jsx)(C,{version:r})]})},N=t(83818),S=t(63291),Z=t.n(S),A=t(87412),E=t(32382),T=t(75347),H=t.n(T),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,o=e.displayName;return(0,i.jsx)(A.ZP,{className:H().root,collapsedWidth:0,width:320,children:(0,i.jsx)(E.ChatContainer,{messages:n,usernameToHighlight:o,chatUserId:t,isModerator:r})})},z=t(69767),D=t.n(z),J=function(e){var n=e.children;return(0,i.jsx)("div",{className:"".concat(D().row),children:n})},M=t(71577),F=t(36879),P=t.n(F),I=function(e){var n=e.action,t=e.primary,r=void 0===t||t,o=e.externalActionSelected,s=n.title,a=n.description,l=n.icon,c=n.color;return(0,i.jsxs)(M.Z,{type:r?"primary":"default",className:"".concat(P().button),onClick:function(){return o(n)},style:{backgroundColor:c},children:[l&&(0,i.jsx)("img",{src:l,className:"".concat(P().icon),alt:a}),s]})},U=t(1698),B=t(30896),R=t(52437),G=t(53731),O=t(79216),V=t(7918),W=t.n(V),Y=function(e){var n=e.src;return(0,i.jsx)("div",{className:W().root,children:(0,i.jsx)("div",{className:W().container,children:(0,i.jsx)(O.Z,{src:n,alt:"Logo",className:W().image,rootClassName:W().image})})})},Q=t(52740),X=t.n(Q),q=function(e){var n=e.links;return(0,i.jsx)("div",{className:X().links,children:n.map((function(e){return(0,i.jsx)("a",{href:e.url,className:X().link,target:"_blank",rel:"noreferrer",children:(0,i.jsx)("img",{src:e.icon||"/img/platformlogos/default.svg",alt:e.platform,title:e.platform,className:X().link})},e.platform)}))})},K=t(74688),$=t.n(K),ee=function(e){var n=e.name,t=e.title,r=e.summary,o=e.logo,s=e.tags,a=e.links;return(0,i.jsx)("div",{className:$().root,children:(0,i.jsxs)("div",{className:$().logoTitleSection,children:[(0,i.jsx)("div",{className:$().logo,children:(0,i.jsx)(Y,{src:o})}),(0,i.jsxs)("div",{className:$().titleSection,children:[(0,i.jsx)("div",{className:p()($().title,$().row),children:n}),(0,i.jsx)("div",{className:p()($().subtitle,$().row),children:(0,i.jsx)(G.Z,{children:t||r})}),(0,i.jsx)("div",{className:p()($().tagList,$().row),children:s.length>0&&s.map((function(e){return(0,i.jsxs)("span",{children:["#",e,"\xa0"]},e)}))}),(0,i.jsx)("div",{className:p()($().socialLinks,$().row),children:(0,i.jsx)(q,{links:a})})]})]})})},ne=t(43125),te=t(47568),ie=t(70655),re=t(25968),oe=t(6226),se=t(3698),ae=t(24093),le=t(40305),ce=t.n(le),ue=function(e){var n=e.follower;return(0,i.jsx)("div",{className:ce().follower,children:(0,i.jsx)("a",{href:n.link,target:"_blank",rel:"noreferrer",children:(0,i.jsxs)(re.Z,{wrap:!1,children:[(0,i.jsx)(oe.Z,{span:6,children:(0,i.jsx)(ae.C,{src:n.image,alt:"Avatar",className:ce().avatar,children:(0,i.jsx)("img",{src:"/logo",alt:"Logo",className:ce().placeholder})})}),(0,i.jsxs)(oe.Z,{children:[(0,i.jsx)(re.Z,{children:n.name}),(0,i.jsx)(re.Z,{className:ce().account,children:n.username})]})]})})})},de=t(12103),fe=t.n(de),me=function(e){var n=e.name,t=(0,c.useState)([]),r=t[0],o=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,te.Z)((function(){var e,n,t,i;return(0,ie.__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,o(n),l(t),[3,4];case 3:return i=r.sent(),console.error(i),[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,i.jsxs)("div",{className:fe().noFollowers,children:[(0,i.jsx)("h2",{children:"Be the first follower!"}),(0,i.jsxs)("p",{children:["Owncast"!==n?n:"This server"," is a part of the"," ",(0,i.jsx)("a",{href:"https://owncast.online/join-fediverse",children:"Fediverse"}),", an interconnected network of independent users and servers."]}),(0,i.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,i.jsx)(B.e,{})]});return(null===r||void 0===r?void 0:r.length)?(0,i.jsxs)("div",{className:fe().followers,children:[(0,i.jsx)(re.Z,{wrap:!0,gutter:[10,10],children:r.map((function(e){return(0,i.jsx)(oe.Z,{children:(0,i.jsx)(ue,{follower:e},e.link)})}))}),(0,i.jsx)(se.Z,{current:d,pageSize:24,total:m||1,onChange:function(e){f(e)},hideOnSinglePage:!0})]}):x},he=t(32365),xe=t(66516),pe=t(38504),ge=t(89705),je=t(81998),ve=t.n(je),_e=function(e){var n=e.actions,t=e.externalActionSelected,r=n.map((function(e){return{key:e.url,label:(0,i.jsxs)("span",{className:ve().item,children:[e.icon&&(0,i.jsx)("img",{className:ve().icon,src:e.icon,alt:e.title})," ",e.title]})}})),o=(0,i.jsx)(xe.Z,{items:r,onClick:function(e){var i=n.find((function(n){return n.url===e.key}));t(i)}});return(0,i.jsx)(pe.Z,{overlay:o,placement:"bottomRight",trigger:["click"],className:ve().menu,children:(0,i.jsx)("div",{className:ve().buttonWrap,children:(0,i.jsx)(M.Z,{type:"default",onClick:function(e){return e.preventDefault()},size:"large",icon:(0,i.jsx)(ge.Z,{size:6,style:{rotate:"90deg"}})})})})},we=o.Z.Content,Ce=j()((function(){return t.e(5135).then(t.bind(t,5135)).then((function(e){return e.BrowserNotifyModal}))}),{loadableGenerated:{webpack:function(){return[5135]}}}),be=j()((function(){return t.e(7735).then(t.bind(t,57735)).then((function(e){return e.NotifyReminderPopup}))}),{loadableGenerated:{webpack:function(){return[57735]}}}),ye=j()((function(){return Promise.resolve().then(t.bind(t,32382)).then((function(e){return e.ChatContainer}))}),{loadableGenerated:{webpack:function(){return[32382]}}}),ke=function(e){var n=e.name,t=e.streamTitle,r=e.summary,o=e.tags,s=e.socialHandles,a=e.extraPageContent,l=[{label:"About",key:"2",children:(0,i.jsx)(k,{content:a})},{label:"Followers",key:"3",children:(0,i.jsx)(me,{name:n})}];return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:Z().lowerHalf,children:(0,i.jsx)(ee,{name:n,title:t,summary:r,tags:o,links:s,logo:"/logo"})}),(0,i.jsx)("div",{className:Z().lowerSection,children:(0,i.jsx)(m.Z,{defaultActiveKey:"0",items:l})})]})};var Ne=function(e){var n=e.name,t=e.streamTitle,r=e.summary,o=e.tags,s=e.socialHandles,a=e.extraPageContent,l=e.messages,u=e.currentUser,h=e.showChat,x=e.actions,g=e.setExternalActionToDisplay;if(!u)return null;var j=(0,c.useRef)(),v=u.id,_=u.displayName,w=[h&&{label:"Chat",key:"0",children:h&&(0,i.jsx)(ye,{messages:l,usernameToHighlight:_,chatUserId:v,isModerator:!1})},{label:"About",key:"2",children:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(ee,{name:n,title:t,summary:r,tags:o,links:s,logo:"/logo"}),(0,i.jsx)(k,{content:a})]})},{label:"Followers",key:"3",children:(0,i.jsx)(me,{name:n})}],C="".concat(function(e){var n=(0,c.useState)(0),t=n[0],i=n[1],r=function(){if(e.current){var n=e.current.getBoundingClientRect().top,t=window.innerHeight;i(t-n)}};return(0,c.useEffect)((function(){return r(),window.addEventListener("resize",r),function(){window.removeEventListener("resize",r)}}),[]),t}(j),"px");return(0,i.jsx)("div",{className:p()(Z().lowerSectionMobile),ref:j,style:{height:C},children:(0,i.jsx)(m.Z,{defaultActiveKey:"0",items:w,renderTabBar:function(e,n){return(0,i.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"start"},children:[(0,i.jsx)(n,(0,f.Z)((0,d.Z)({},e),{style:{width:"85%"}})),(0,i.jsx)(_e,{actions:x,externalActionSelected:g})]})}})})},Se=function(e){var n=e.externalActionToDisplay,t=e.setExternalActionToDisplay,r=n.title,o=n.description,s=n.url;return(0,i.jsx)(he.Modal,{title:o||r,url:s,open:!!n,height:"80vh",handleCancel:function(){return t(null)}})},Ze=function(){var e=(0,s.sJ)(u.Q),n=(0,s.sJ)(u.g1),t=(0,s.sJ)(u.pT),o=(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),g=p.viewerCount,j=p.lastConnectTime,_=p.lastDisconnectTime,w=p.streamTitle,C=n.extraPageContent,b=(n.version,n.name),y=n.summary,k=n.socialHandles,S=n.tags,A=n.externalActions,E=n.offlineMessage,T=n.chatDisabled,H=n.federation,z=n.notifications,D=(0,c.useState)(!1),M=D[0],F=D[1],P=(0,c.useState)(!1),G=P[0],O=P[1],V=H.account,W=z.browser.enabled,Y=(0,c.useState)(null),Q=Y[0],X=Y[1],q=function(e){var n=e.openExternally,t=e.url;n?window.open(t,"_blank"):X(e)},K=A.map((function(e){return(0,i.jsx)(I,{action:e,externalActionSelected:q},e.url)})),$=function(){O(!1),F(!1),(0,v.qQ)(v.dA.hasDisplayedNotificationModal,!0)},ee=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,v.$o)(v.dA.userVisitCount),10);Number.isNaN(e)&&(e=0),(0,v.qQ)(v.dA.userVisitCount,e+1),e>2&&!(0,v.$o)(v.dA.hasDisplayedNotificationModal)&&F(!0)}(),ee(),window.addEventListener("resize",ee),function(){window.removeEventListener("resize",ee)}}),[]);var te=!T&&o&&t;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:Z().main,children:[(0,i.jsx)(h.Z,{wrapperClassName:Z().loadingSpinner,size:"large",spinning:e.appLoading,children:(0,i.jsxs)(we,{className:Z().root,children:[(0,i.jsxs)("div",{className:Z().mainSection,children:[(0,i.jsxs)("div",{className:Z().topSection,children:[x&&(0,i.jsx)(N.M,{source:"/hls/stream.m3u8",online:x}),!x&&!e.appLoading&&(0,i.jsx)(U.R,{streamName:b,customText:E,notificationsEnabled:W,fediverseAccount:V,lastLive:_,onNotifyClick:function(){return O(!0)}}),x&&(0,i.jsx)(ne.X,{online:x,lastConnectTime:j,lastDisconnectTime:_,viewerCount:g})]}),(0,i.jsx)("div",{className:Z().midSection,children:(0,i.jsxs)("div",{className:Z().buttonsLogoTitleSection,children:[!d&&(0,i.jsxs)(J,{children:[K,(0,i.jsx)(B.e,{size:"small"}),(0,i.jsx)(be,{open:M,notificationClicked:function(){return O(!0)},notificationClosed:function(){return $()},children:(0,i.jsx)(R.E,{onClick:function(){return O(!0)}})})]}),(0,i.jsx)(he.Modal,{title:"Notify",open:G,afterClose:function(){return $()},handleCancel:function(){return $()},children:(0,i.jsx)(Ce,{})})]})}),d?(0,i.jsx)(Ne,{name:b,streamTitle:w,summary:y,tags:S,socialHandles:k,extraPageContent:C,messages:m,currentUser:a,showChat:te,actions:A,setExternalActionToDisplay:q}):(0,i.jsx)(ke,{name:b,streamTitle:w,summary:y,tags:S,socialHandles:k,extraPageContent:C})]}),te&&!d&&(0,i.jsx)(L,{})]})}),!d&&!1]}),Q&&(0,i.jsx)(Se,{externalActionToDisplay:Q,setExternalActionToDisplay:X})]})},Ae=t(8119),Ee=t(85402),Te=function(e){var n=e.title,t=e.message;return(0,i.jsx)(Ee.Z,{title:n,visible:!0,footer:null,closable:!1,keyboard:!1,width:900,centered:!0,className:"modal",children:(0,i.jsx)("p",{style:{fontSize:"1.3rem"},children:t})})},He=t(82670);var Le=function(e){var n=e.hydrationScript;return(0,i.jsx)("script",{dangerouslySetInnerHTML:{__html:n}})},ze=function(){var e=(0,s.sJ)(u.j$),n=(0,s.sJ)(u.RI),t=!1,i="",r=function(){t=!0,i=document.title},o=function(){t=!1,window.document.title=i};return(0,c.useEffect)((function(){return i=window.document.title,window.addEventListener("blur",r),window.addEventListener("focus",o),function(){window.removeEventListener("focus",o),window.removeEventListener("blur",r)}}),[]),(0,c.useEffect)((function(){var e=n.online;t&&e&&(window.document.title="\ud83d\udcac :: ".concat(i))}),[e]),(0,c.useEffect)((function(){if(t){var e=n.online;e?window.document.title=" \ud83d\udfe2 :: ".concat(i):e||(window.document.title=" \ud83d\udd34 :: ".concat(i))}}),[u.RI]),null},De=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){e.setAttribute("rel","noopener noreferrer ")};e.querySelectorAll("a").forEach((function(e){return n(e)})),new MutationObserver((function(e){var t=!0,i=!1,r=void 0;try{for(var o,s=e[Symbol.iterator]();!(t=(o=s.next()).done);t=!0){var a=o.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,He.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){i=!0,r=h}finally{try{t||null==s.return||s.return()}finally{if(i)throw r}}})).observe(e,{attributes:!1,childList:!0,subtree:!0})}(x.current)}),[]);var g=!0;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(l(),{children:[g,(0,i.jsx)("link",{rel:"apple-touch-icon",sizes:"57x57",href:"/img/favicon/apple-icon-57x57.png"}),(0,i.jsx)("link",{rel:"apple-touch-icon",sizes:"60x60",href:"/img/favicon/apple-icon-60x60.png"}),(0,i.jsx)("link",{rel:"apple-touch-icon",sizes:"72x72",href:"/img/favicon/apple-icon-72x72.png"}),(0,i.jsx)("link",{rel:"apple-touch-icon",sizes:"76x76",href:"/img/favicon/apple-icon-76x76.png"}),(0,i.jsx)("link",{rel:"apple-touch-icon",sizes:"114x114",href:"/img/favicon/apple-icon-114x114.png"}),(0,i.jsx)("link",{rel:"apple-touch-icon",sizes:"120x120",href:"/img/favicon/apple-icon-120x120.png"}),(0,i.jsx)("link",{rel:"apple-touch-icon",sizes:"144x144",href:"/img/favicon/apple-icon-144x144.png"}),(0,i.jsx)("link",{rel:"apple-touch-icon",sizes:"152x152",href:"/img/favicon/apple-icon-152x152.png"}),(0,i.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/img/favicon/apple-icon-180x180.png"}),(0,i.jsx)("link",{rel:"icon",type:"image/png",sizes:"192x192",href:"/img/favicon/android-icon-192x192.png"}),(0,i.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/img/favicon/favicon-32x32.png"}),(0,i.jsx)("link",{rel:"icon",type:"image/png",sizes:"96x96",href:"/img/favicon/favicon-96x96.png"}),(0,i.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/img/favicon/favicon-16x16.png"}),(0,i.jsx)("link",{rel:"manifest",href:"/manifest.json"}),(0,i.jsx)("link",{href:"/api/auth/provider/indieauth"}),(0,i.jsx)("meta",{name:"msapplication-TileColor",content:"#ffffff"}),(0,i.jsx)("meta",{name:"msapplication-TileImage",content:"/img/favicon/ms-icon-144x144.png"}),(0,i.jsx)("meta",{name:"theme-color",content:"#ffffff"}),(0,i.jsx)("title",{children:t}),(0,i.jsx)("style",{children:d}),(0,i.jsx)("base",{target:"_blank"}),(0,i.jsx)(Le,{hydrationScript:"\n\twindow.statusHydration = {{.StatusJSON}};\n\twindow.configHydration = {{.ServerConfigJSON}};\n\t"})]}),(0,i.jsx)(u.me,{}),(0,i.jsx)(ze,{}),(0,i.jsxs)(o.Z,{ref:x,style:{minHeight:"100vh"},children:[(0,i.jsx)(Ae.h,{name:a||t,chatAvailable:m,chatDisabled:p}),(0,i.jsx)(Ze,{}),h&&(0,i.jsx)(Te,{title:h.title,message:h.message}),!e&&(0,i.jsx)(C,{version:f})]})]})};function Je(){return(0,i.jsx)(De,{})}},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"}},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",item:"Footer_item__rXxSr"}},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"}},75347:function(e){e.exports={root:"Sidebar_root__8HE0A"}},52740:function(e){e.exports={link:"SocialLinks_link___CcSm",links:"SocialLinks_links__gOAb7"}},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,[1272,8700,2544,8939,3903,4267,4381,9764,9372,7364,2429,1318,1082,8782,1899,2382,2854,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-d583f6a184986143.js b/static/web/_next/static/chunks/pages/index-d583f6a184986143.js new file mode 100644 index 000000000..9ab0ee8db --- /dev/null +++ b/static/web/_next/static/chunks/pages/index-d583f6a184986143.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(91719)}])},8119:function(e,n,t){"use strict";t.d(n,{h:function(){return L},Z:function(){return z}});var r=t(85893),o=t(97183),i=t(94199),a=t(20550),s=t(828),l=t(66516),c=t(38504),u=t(71577),d=t(26713),m=t(86548),f=t(94149),h=t(38545),x=t(87547),p=t(39398),g=t(4480),j=t(67294),v=t(49218),_=t(5152),w=t.n(_),y=t(1899),C=t(47093),b=t.n(C),N=w()((function(){return t.e(2365).then(t.bind(t,32365)).then((function(e){return e.Modal}))}),{loadableGenerated:{webpack:function(){return[32365]}}}),k=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,o=(0,j.useState)(!1),i=o[0],a=o[1],_=(0,j.useState)(!1),w=_[0],C=_[1],Z=(0,s.Z)((0,g.FV)(y.ZA),2),A=Z[0],T=Z[1],E=(0,g.sJ)(y.Q),H=function(){T(!A)};(0,v.y1)("c",H,{enableOnContentEditable:!1},[A]);var L=(0,g.sJ)(y.db);if(!L)return null;var z=L.displayName,D=t||z,J=(0,r.jsxs)(l.Z,{children:[(0,r.jsx)(l.Z.Item,{icon:(0,r.jsx)(m.Z,{}),onClick:function(){a(!0)},children:"Change name"},"0"),(0,r.jsx)(l.Z.Item,{icon:(0,r.jsx)(f.Z,{}),onClick:function(){return C(!0)},children:"Authenticate"},"1"),E.chatAvailable&&(0,r.jsx)(l.Z.Item,{icon:(0,r.jsx)(h.Z,{}),onClick:function(){return H()},children:"Toggle chat"},"3")]});return(0,r.jsxs)("div",{className:"".concat(b().root),children:[(0,r.jsx)(c.Z,{overlay:J,trigger:["click"],children:(0,r.jsx)(u.Z,{type:"primary",icon:(0,r.jsx)(x.Z,{style:{marginRight:".5rem"}}),children:(0,r.jsxs)(d.Z,{children:[D,(0,r.jsx)(p.Z,{})]})})}),(0,r.jsx)(N,{title:"Change Chat Display Name",open:i,handleCancel:function(){return a(!1)},children:(0,r.jsx)(k,{})}),(0,r.jsx)(N,{title:"Authenticate",open:w,handleCancel:function(){return C(!1)},children:(0,r.jsx)(S,{})})]})},A=t(60113),T=t(92910),E=t.n(T),H=o.Z.Header,L=function(e){var n=e.name,t=void 0===n?"Your stream title":n,o=e.chatAvailable,s=e.chatDisabled;return(0,r.jsxs)(H,{className:"".concat(E().header),children:[(0,r.jsxs)("div",{className:"".concat(E().logo),children:[(0,r.jsx)(A.C,{variant:"contrast"}),(0,r.jsx)("span",{children:t})]}),o&&!s&&(0,r.jsx)(Z,{}),!o&&!s&&(0,r.jsx)(i.Z,{title:"Chat is available when the stream is live.",placement:"left",children:(0,r.jsx)(a.Z,{style:{cursor:"pointer"},children:"Chat offline"})})]})},z=L},91719:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return Je}});var r=t(85893),o=t(828),i=t(97183),a=t(4480),s=t(9008),l=t.n(s),c=t(67294),u=t(1899),d=t(26042),m=t(69396),f=t(84381),h=t(11382),x=t(94184),p=t.n(x),g=t(5152),j=t.n(g),v=t(73682),_=t(35603),w=t.n(_),y=function(e){var n=e.version;return(0,r.jsxs)("div",{className:w().footer,children:[(0,r.jsxs)("div",{className:w().text,children:["Powered by ",(0,r.jsx)("a",{href:"https://owncast.online",children:n})]}),(0,r.jsxs)("div",{className:w().links,children:[(0,r.jsx)("div",{className:w().item,children:(0,r.jsx)("a",{href:"https://owncast.online/docs",target:"_blank",rel:"noreferrer",children:"Documentation"})}),(0,r.jsx)("div",{className:w().item,children:(0,r.jsx)("a",{href:"https://owncast.online/help",target:"_blank",rel:"noreferrer",children:"Contribute"})}),(0,r.jsx)("div",{className:w().item,children:(0,r.jsx)("a",{href:"https://github.com/owncast/owncast",target:"_blank",rel:"noreferrer",children:"Source"})})]})]})},C=t(28105),b=t.n(C),N=function(e){var n=e.content,t=(0,a.sJ)(u.hz),o=(0,a.sJ)(u.g1).version;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:b().pageContentContainer,children:(0,r.jsx)("div",{className:b().customPageContent,dangerouslySetInnerHTML:{__html:n}})}),t&&(0,r.jsx)(y,{version:o})]})},k=t(83818),S=t(63291),Z=t.n(S),A=t(87412),T=t(32382),E=t(75347),H=t.n(E),L=function(){var e=(0,a.sJ)(u.db),n=(0,a.sJ)(u.pH);if(!e)return null;var t=e.id,o=e.isModerator,i=e.displayName;return(0,r.jsx)(A.ZP,{className:H().root,collapsedWidth:0,width:320,children:(0,r.jsx)(T.ChatContainer,{messages:n,usernameToHighlight:i,chatUserId:t,isModerator:o})})},z=t(69767),D=t.n(z),J=function(e){var n=e.children;return(0,r.jsx)("div",{className:"".concat(D().row),children:n})},M=t(71577),F=t(36879),R=t.n(F),P=function(e){var n=e.action,t=e.primary,o=void 0===t||t,i=e.externalActionSelected,a=n.title,s=n.description,l=n.icon,c=n.color;return(0,r.jsxs)(M.Z,{type:o?"primary":"default",className:"".concat(R().button),onClick:function(){return i(n)},style:{backgroundColor:c},children:[l&&(0,r.jsx)("img",{src:l,className:"".concat(R().icon),alt:s}),a]})},I=t(1698),U=t(30896),B=t(52437),G=t(53731),O=t(79216),q=t(7918),V=t.n(q),W=function(e){var n=e.src;return(0,r.jsx)("div",{className:V().root,children:(0,r.jsx)("div",{className:V().container,children:(0,r.jsx)(O.Z,{src:n,alt:"Logo",className:V().image,rootClassName:V().image})})})},Y=t(52740),Q=t.n(Y),X=function(e){var n=e.links;return(0,r.jsx)("div",{className:Q().links,children:n.map((function(e){return(0,r.jsx)("a",{href:e.url,className:Q().link,target:"_blank",rel:"noreferrer",children:(0,r.jsx)("img",{src:e.icon||"/img/platformlogos/default.svg",alt:e.platform,title:e.platform,className:Q().link})},e.platform)}))})},K=t(74688),$=t.n(K),ee=function(e){var n=e.name,t=e.title,o=e.summary,i=e.logo,a=e.tags,s=e.links;return(0,r.jsx)("div",{className:$().root,children:(0,r.jsxs)("div",{className:$().logoTitleSection,children:[(0,r.jsx)("div",{className:$().logo,children:(0,r.jsx)(W,{src:i})}),(0,r.jsxs)("div",{className:$().titleSection,children:[(0,r.jsx)("div",{className:p()($().title,$().row),children:n}),(0,r.jsx)("div",{className:p()($().subtitle,$().row),children:(0,r.jsx)(G.Z,{children:t||o})}),(0,r.jsx)("div",{className:p()($().tagList,$().row),children:a.length>0&&a.map((function(e){return(0,r.jsxs)("span",{children:["#",e,"\xa0"]},e)}))}),(0,r.jsx)("div",{className:p()($().socialLinks,$().row),children:(0,r.jsx)(X,{links:s})})]})]})})},ne=t(43125),te=t(47568),re=t(70655),oe=t(25968),ie=t(6226),ae=t(3698),se=t(24093),le=t(40305),ce=t.n(le),ue=function(e){var n=e.follower;return(0,r.jsx)("div",{className:ce().follower,children:(0,r.jsx)("a",{href:n.link,target:"_blank",rel:"noreferrer",children:(0,r.jsxs)(oe.Z,{wrap:!1,children:[(0,r.jsx)(ie.Z,{span:6,children:(0,r.jsx)(se.C,{src:n.image,alt:"Avatar",className:ce().avatar,children:(0,r.jsx)("img",{src:"/logo",alt:"Logo",className:ce().placeholder})})}),(0,r.jsxs)(ie.Z,{children:[(0,r.jsx)(oe.Z,{children:n.name}),(0,r.jsx)(oe.Z,{className:ce().account,children:n.username})]})]})})})},de=t(12103),me=t.n(de),fe=function(e){var n=e.name,t=(0,c.useState)([]),o=t[0],i=t[1],a=(0,c.useState)(0),s=a[0],l=a[1],u=(0,c.useState)(1),d=u[0],m=u[1],f=Math.ceil(s/24),h=function(){var e=(0,te.Z)((function(){var e,n,t,r;return(0,re.__generator)(this,(function(o){switch(o.label){case 0:return o.trys.push([0,3,,4]),[4,fetch("".concat("/api/followers","?page=").concat(d))];case 1:return[4,o.sent().json()];case 2:return e=o.sent(),n=e.results,t=e.total,i(n),l(t),[3,4];case 3:return r=o.sent(),console.error(r),[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,r.jsxs)("div",{className:me().noFollowers,children:[(0,r.jsx)("h2",{children:"Be the first follower!"}),(0,r.jsxs)("p",{children:["Owncast"!==n?n:"This server"," is a part of the"," ",(0,r.jsx)("a",{href:"https://owncast.online/join-fediverse",children:"Fediverse"}),", an interconnected network of independent users and servers."]}),(0,r.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,r.jsx)(U.e,{})]});return(null===o||void 0===o?void 0:o.length)?(0,r.jsxs)("div",{className:me().followers,children:[(0,r.jsx)(oe.Z,{wrap:!0,gutter:[10,10],children:o.map((function(e){return(0,r.jsx)(ie.Z,{children:(0,r.jsx)(ue,{follower:e},e.link)})}))}),(0,r.jsx)(ae.Z,{current:d,pageSize:24,total:f||1,onChange:function(e){m(e)},hideOnSinglePage:!0})]}):x},he=t(32365),xe=t(66516),pe=t(38504),ge=t(89705),je=t(81998),ve=t.n(je),_e=function(e){var n=e.actions,t=e.externalActionSelected,o=n.map((function(e){return{key:e.url,label:(0,r.jsxs)("span",{className:ve().item,children:[e.icon&&(0,r.jsx)("img",{className:ve().icon,src:e.icon,alt:e.title})," ",e.title]})}})),i=(0,r.jsx)(xe.Z,{items:o,onClick:function(e){var r=n.find((function(n){return n.url===e.key}));t(r)}});return(0,r.jsx)(pe.Z,{overlay:i,placement:"bottomRight",trigger:["click"],className:ve().menu,children:(0,r.jsx)("div",{className:ve().buttonWrap,children:(0,r.jsx)(M.Z,{type:"default",onClick:function(e){return e.preventDefault()},size:"large",icon:(0,r.jsx)(ge.Z,{size:6,style:{rotate:"90deg"}})})})})},we=i.Z.Content,ye=j()((function(){return t.e(5135).then(t.bind(t,5135)).then((function(e){return e.BrowserNotifyModal}))}),{loadableGenerated:{webpack:function(){return[5135]}}}),Ce=j()((function(){return t.e(7735).then(t.bind(t,57735)).then((function(e){return e.NotifyReminderPopup}))}),{loadableGenerated:{webpack:function(){return[57735]}}}),be=j()((function(){return Promise.resolve().then(t.bind(t,32382)).then((function(e){return e.ChatContainer}))}),{loadableGenerated:{webpack:function(){return[32382]}}}),Ne=function(e){var n=e.name,t=e.streamTitle,o=e.summary,i=e.tags,a=e.socialHandles,s=e.extraPageContent,l=[{label:"About",key:"2",children:(0,r.jsx)(N,{content:s})},{label:"Followers",key:"3",children:(0,r.jsx)(fe,{name:n})}];return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:Z().lowerHalf,children:(0,r.jsx)(ee,{name:n,title:t,summary:o,tags:i,links:a,logo:"/logo"})}),(0,r.jsx)("div",{className:Z().lowerSection,children:(0,r.jsx)(f.Z,{defaultActiveKey:"0",items:l})})]})};var ke=function(e){var n=e.name,t=e.streamTitle,o=e.summary,i=e.tags,a=e.socialHandles,s=e.extraPageContent,l=e.messages,u=e.currentUser,h=e.showChat,x=e.actions,g=e.setExternalActionToDisplay;if(!u)return null;var j=(0,c.useRef)(),v=u.id,_=u.displayName,w=[h&&{label:"Chat",key:"0",children:h&&(0,r.jsx)(be,{messages:l,usernameToHighlight:_,chatUserId:v,isModerator:!1})},{label:"About",key:"2",children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ee,{name:n,title:t,summary:o,tags:i,links:a,logo:"/logo"}),(0,r.jsx)(N,{content:s})]})},{label:"Followers",key:"3",children:(0,r.jsx)(fe,{name:n})}],y="".concat(function(e){var n=(0,c.useState)(0),t=n[0],r=n[1],o=function(){if(e.current){var n=e.current.getBoundingClientRect().top,t=window.innerHeight;r(t-n)}};return(0,c.useEffect)((function(){return o(),window.addEventListener("resize",o),function(){window.removeEventListener("resize",o)}}),[]),t}(j),"px");return(0,r.jsx)("div",{className:p()(Z().lowerSectionMobile),ref:j,style:{height:y},children:(0,r.jsx)(f.Z,{defaultActiveKey:"0",items:w,renderTabBar:function(e,n){return(0,r.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"start"},children:[(0,r.jsx)(n,(0,m.Z)((0,d.Z)({},e),{style:{width:"85%"}})),(0,r.jsx)(_e,{actions:x,externalActionSelected:g})]})}})})},Se=function(e){var n=e.externalActionToDisplay,t=e.setExternalActionToDisplay,o=n.title,i=n.description,a=n.url;return(0,r.jsx)(he.Modal,{title:i||o,url:a,open:!!n,height:"80vh",handleCancel:function(){return t(null)}})},Ze=function(){var e=(0,a.sJ)(u.Q),n=(0,a.sJ)(u.g1),t=(0,a.sJ)(u.pT),i=(0,a.sJ)(u.di),s=(0,a.sJ)(u.db),l=(0,o.Z)((0,a.FV)(u.hz),2),d=l[0],m=l[1],f=(0,a.sJ)(u.j$),x=(0,a.sJ)(u.YW),p=(0,a.sJ)(u.RI),g=p.viewerCount,j=p.lastConnectTime,_=p.lastDisconnectTime,w=p.streamTitle,y=n.extraPageContent,C=(n.version,n.name),b=n.summary,N=n.socialHandles,S=n.tags,A=n.externalActions,T=n.offlineMessage,E=n.chatDisabled,H=n.federation,z=n.notifications,D=(0,c.useState)(!1),M=D[0],F=D[1],R=(0,c.useState)(!1),G=R[0],O=R[1],q=H.account,V=z.browser.enabled,W=(0,c.useState)(null),Y=W[0],Q=W[1],X=function(e){var n=e.openExternally,t=e.url;n?window.open(t,"_blank"):Q(e)},K=A.map((function(e){return(0,r.jsx)(P,{action:e,externalActionSelected:X},e.url)})),$=function(){O(!1),F(!1),(0,v.qQ)(v.dA.hasDisplayedNotificationModal,!0)},ee=function(){var e=window.innerWidth;void 0===d&&m(e<=768),!d&&e<=768&&m(!0),d&&e>768&&m(!1)};(0,c.useEffect)((function(){return function(){var e=parseInt((0,v.$o)(v.dA.userVisitCount),10);Number.isNaN(e)&&(e=0),(0,v.qQ)(v.dA.userVisitCount,e+1),e>2&&!(0,v.$o)(v.dA.hasDisplayedNotificationModal)&&F(!0)}(),ee(),window.addEventListener("resize",ee),function(){window.removeEventListener("resize",ee)}}),[]);var te=!E&&i&&t;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:Z().main,children:[(0,r.jsx)(h.Z,{wrapperClassName:Z().loadingSpinner,size:"large",spinning:e.appLoading,children:(0,r.jsxs)(we,{className:Z().root,children:[(0,r.jsxs)("div",{className:Z().mainSection,children:[(0,r.jsxs)("div",{className:Z().topSection,children:[x&&(0,r.jsx)(k.M,{source:"/hls/stream.m3u8",online:x}),!x&&!e.appLoading&&(0,r.jsx)(I.R,{streamName:C,customText:T,notificationsEnabled:V,fediverseAccount:q,lastLive:_,onNotifyClick:function(){return O(!0)}}),x&&(0,r.jsx)(ne.X,{online:x,lastConnectTime:j,lastDisconnectTime:_,viewerCount:g})]}),(0,r.jsx)("div",{className:Z().midSection,children:(0,r.jsxs)("div",{className:Z().buttonsLogoTitleSection,children:[!d&&(0,r.jsxs)(J,{children:[K,(0,r.jsx)(U.e,{size:"small"}),(0,r.jsx)(Ce,{open:M,notificationClicked:function(){return O(!0)},notificationClosed:function(){return $()},children:(0,r.jsx)(B.E,{onClick:function(){return O(!0)}})})]}),(0,r.jsx)(he.Modal,{title:"Notify",open:G,afterClose:function(){return $()},handleCancel:function(){return $()},children:(0,r.jsx)(ye,{})})]})}),d?(0,r.jsx)(ke,{name:C,streamTitle:w,summary:b,tags:S,socialHandles:N,extraPageContent:y,messages:f,currentUser:s,showChat:te,actions:A,setExternalActionToDisplay:X}):(0,r.jsx)(Ne,{name:C,streamTitle:w,summary:b,tags:S,socialHandles:N,extraPageContent:y})]}),te&&!d&&(0,r.jsx)(L,{})]})}),!d&&!1]}),Y&&(0,r.jsx)(Se,{externalActionToDisplay:Y,setExternalActionToDisplay:Q})]})},Ae=t(8119),Te=t(85402),Ee=function(e){var n=e.title,t=e.message;return(0,r.jsx)(Te.Z,{title:n,visible:!0,footer:null,closable:!1,keyboard:!1,width:900,centered:!0,className:"modal",children:(0,r.jsx)("p",{style:{fontSize:"1.3rem"},children:t})})},He=t(82670);var Le=function(){var e=(0,a.sJ)(u.j$),n=(0,a.sJ)(u.RI),t=!1,r="",o=function(){t=!0,r=document.title},i=function(){t=!1,window.document.title=r};return(0,c.useEffect)((function(){return r=window.document.title,window.addEventListener("blur",o),window.addEventListener("focus",i),function(){window.removeEventListener("focus",i),window.removeEventListener("blur",o)}}),[]),(0,c.useEffect)((function(){var e=n.online;t&&e&&(window.document.title="\ud83d\udcac :: ".concat(r))}),[e]),(0,c.useEffect)((function(){if(t){var e=n.online;e?window.document.title=" \ud83d\udfe2 :: ".concat(r):e||(window.document.title=" \ud83d\udd34 :: ".concat(r))}}),[u.RI]),null},ze=function(){return(0,r.jsx)("script",{id:"server-side-hydration",dangerouslySetInnerHTML:{__html:"\n\twindow.configHydration = {{.ServerConfigJSON}};\n\twindow.statusHydration = {{.StatusJSON}};\n\t"}})},De=function(){var e=(0,o.Z)((0,a.FV)(u.hz),1)[0],n=(0,a.sJ)(u.g1),t=n.name,s=n.title,d=n.customStyles,m=n.version,f=(0,a.sJ)(u.di),h=(0,a.sJ)(u.ap),x=(0,c.useRef)(null),p=n.chatDisabled;(0,c.useEffect)((function(){!function(e){var n=function(e){e.setAttribute("rel","noopener noreferrer ")};e.querySelectorAll("a").forEach((function(e){return n(e)})),new MutationObserver((function(e){var t=!0,r=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var s=i.value,l=!0,c=!1,u=void 0;try{for(var d,m=s.addedNodes[Symbol.iterator]();!(l=(d=m.next()).done);l=!0){var f=d.value;(0,He.Z)(f,HTMLElement)&&"a"===f.tagName.toLowerCase()&&n(f)}}catch(h){c=!0,u=h}finally{try{l||null==m.return||m.return()}finally{if(c)throw u}}}}catch(h){r=!0,o=h}finally{try{t||null==a.return||a.return()}finally{if(r)throw o}}})).observe(e,{attributes:!1,childList:!0,subtree:!0})}(x.current)}),[]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(l(),{children:[(0,r.jsx)(ze,{}),(0,r.jsx)("link",{rel:"apple-touch-icon",sizes:"57x57",href:"/img/favicon/apple-icon-57x57.png"}),(0,r.jsx)("link",{rel:"apple-touch-icon",sizes:"60x60",href:"/img/favicon/apple-icon-60x60.png"}),(0,r.jsx)("link",{rel:"apple-touch-icon",sizes:"72x72",href:"/img/favicon/apple-icon-72x72.png"}),(0,r.jsx)("link",{rel:"apple-touch-icon",sizes:"76x76",href:"/img/favicon/apple-icon-76x76.png"}),(0,r.jsx)("link",{rel:"apple-touch-icon",sizes:"114x114",href:"/img/favicon/apple-icon-114x114.png"}),(0,r.jsx)("link",{rel:"apple-touch-icon",sizes:"120x120",href:"/img/favicon/apple-icon-120x120.png"}),(0,r.jsx)("link",{rel:"apple-touch-icon",sizes:"144x144",href:"/img/favicon/apple-icon-144x144.png"}),(0,r.jsx)("link",{rel:"apple-touch-icon",sizes:"152x152",href:"/img/favicon/apple-icon-152x152.png"}),(0,r.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/img/favicon/apple-icon-180x180.png"}),(0,r.jsx)("link",{rel:"icon",type:"image/png",sizes:"192x192",href:"/img/favicon/android-icon-192x192.png"}),(0,r.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/img/favicon/favicon-32x32.png"}),(0,r.jsx)("link",{rel:"icon",type:"image/png",sizes:"96x96",href:"/img/favicon/favicon-96x96.png"}),(0,r.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/img/favicon/favicon-16x16.png"}),(0,r.jsx)("link",{rel:"manifest",href:"/manifest.json"}),(0,r.jsx)("link",{href:"/api/auth/provider/indieauth"}),(0,r.jsx)("meta",{name:"msapplication-TileColor",content:"#ffffff"}),(0,r.jsx)("meta",{name:"msapplication-TileImage",content:"/img/favicon/ms-icon-144x144.png"}),(0,r.jsx)("meta",{name:"theme-color",content:"#ffffff"}),!1,(0,r.jsx)("title",{children:"{{.Name}}"}),(0,r.jsx)("style",{children:d}),(0,r.jsx)("base",{target:"_blank"})]}),(0,r.jsxs)(l(),{children:[(0,r.jsx)("meta",{name:"description",content:"{{.Summary}}"}),(0,r.jsx)("meta",{property:"og:title",content:"{{.Name}}"}),(0,r.jsx)("meta",{property:"og:site_name",content:"{{.Name}}"}),(0,r.jsx)("meta",{property:"og:url",content:"{{.RequestedURL}}"}),(0,r.jsx)("meta",{property:"og:description",content:"{{.Summary}}"}),(0,r.jsx)("meta",{property:"og:type",content:"video.other"}),(0,r.jsx)("meta",{property:"video:tag",content:"{{.TagsString}}"}),(0,r.jsx)("meta",{property:"og:image",content:"{{.Thumbnail}}"}),(0,r.jsx)("meta",{property:"og:image:url",content:"{{.Thumbnail}}"}),(0,r.jsx)("meta",{property:"og:image:alt",content:"{{.Image}}"}),(0,r.jsx)("meta",{property:"og:video",content:"{{.RequestedURL}}/embed/video"}),(0,r.jsx)("meta",{property:"og:video:secure_url",content:"{{.RequestedURL}}/embed/video"}),(0,r.jsx)("meta",{property:"og:video:height",content:"315"}),(0,r.jsx)("meta",{property:"og:video:width",content:"560"}),(0,r.jsx)("meta",{property:"og:video:type",content:"text/html"}),(0,r.jsx)("meta",{property:"og:video:actor",content:"{{.Name}}"}),(0,r.jsx)("meta",{property:"twitter:title",content:"{{.Name}}"}),(0,r.jsx)("meta",{property:"twitter:url",content:"{{.RequestedURL}}"}),(0,r.jsx)("meta",{property:"twitter:description",content:"{{.Summary}}"}),(0,r.jsx)("meta",{property:"twitter:image",content:"{{.Image}}"}),(0,r.jsx)("meta",{property:"twitter:card",content:"player"}),(0,r.jsx)("meta",{property:"twitter:player",content:"{{.RequestedURL}}/embed/video"}),(0,r.jsx)("meta",{property:"twitter:player:width",content:"560"}),(0,r.jsx)("meta",{property:"twitter:player:height",content:"315"})]}),(0,r.jsx)(u.me,{}),(0,r.jsx)(Le,{}),(0,r.jsxs)(i.Z,{ref:x,style:{minHeight:"100vh"},children:[(0,r.jsx)(Ae.h,{name:s||t,chatAvailable:f,chatDisabled:p}),(0,r.jsx)(Ze,{}),h&&(0,r.jsx)(Ee,{title:h.title,message:h.message}),!e&&(0,r.jsx)(y,{version:m})]})]})};function Je(){return(0,r.jsx)(De,{})}},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"}},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",item:"Footer_item__rXxSr"}},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"}},75347:function(e){e.exports={root:"Sidebar_root__8HE0A"}},52740:function(e){e.exports={link:"SocialLinks_link___CcSm",links:"SocialLinks_links__gOAb7"}},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,[1272,8700,2544,8939,3903,4267,4381,9764,9372,7364,2429,1318,1082,8782,1899,2382,2854,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/admin/access-tokens/index.html b/static/web/admin/access-tokens/index.html index 433954577..331c9bddb 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 855d419ec..a40c39509 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 04101937e..eedffdb1c 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 e89bf295a..2c4bc9425 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 700ae3a6a..f6dfe0e91 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 c0fe86f1a..a21b3f8de 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 ce8b802d5..4aeef3f56 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 305ad64e1..3e461e4c4 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 31859c98a..01a6755cd 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 13bf5b69b..16ca3d097 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 eef74c5f6..cfa60d648 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 39308d24e..44bce678c 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 de9285a7c..cea1d20e1 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 a803c79a8..80401c163 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 af0c2db22..60b36eb76 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 b72b8f490..1039a3c59 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 1cc974d17..41b1c1e87 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 62845368c..fe48e8c74 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 43bbf0f4c..f67f2f0b0 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 19d7f8f11..416309a50 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 bd408abd8..f9c732ad6 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 675c80736..c596e1afb 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 df06edf71..648e9aa5e 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 d630fb34c..0471dbd55 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 beaed30d6..ef7f06888 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 b7df37fad..59b3de007 100644 --- a/static/web/index.html +++ b/static/web/index.html @@ -1,4 +1,4 @@ -
Chat offline
Logo
Preview
\ No newline at end of file + window.statusHydration = {{.StatusJSON}}; + {{.Name}}
Chat offline
Logo
Preview
\ No newline at end of file