From 8d25938f283f33f795c9f5f91e79a26a8f2a9db5 Mon Sep 17 00:00:00 2001 From: gabek Date: Tue, 30 Aug 2022 06:37:26 +0000 Subject: [PATCH] Bundle embedded web app --- static/web/404.html | 4 ++-- static/web/404/index.html | 4 ++-- .../_buildManifest.js | 2 +- .../_ssgManifest.js | 0 .../web/_next/static/chunks/pages/index-2fcbea1e2f095dfa.js | 1 + .../web/_next/static/chunks/pages/index-bee9c5a64b55cf04.js | 1 - ...ebpack-b91d456df95b510b.js => webpack-16b91caf46be5b39.js} | 2 +- static/web/_next/static/css/3e4c3896d8ebfbb6.css | 1 - static/web/_next/static/css/62bb5fcc1246d90e.css | 1 + static/web/admin/access-tokens/index.html | 2 +- static/web/admin/actions/index.html | 2 +- static/web/admin/chat/messages/index.html | 2 +- static/web/admin/chat/users/index.html | 2 +- static/web/admin/config-chat/index.html | 2 +- static/web/admin/config-federation/index.html | 2 +- static/web/admin/config-notify/index.html | 2 +- static/web/admin/config-public-details/index.html | 2 +- static/web/admin/config-server-details/index.html | 2 +- static/web/admin/config-social-items/index.html | 2 +- static/web/admin/config-storage/index.html | 2 +- static/web/admin/config-video/index.html | 2 +- static/web/admin/federation/actions/index.html | 2 +- static/web/admin/federation/followers/index.html | 2 +- static/web/admin/hardware-info/index.html | 2 +- static/web/admin/help/index.html | 2 +- static/web/admin/index.html | 2 +- static/web/admin/logs/index.html | 2 +- static/web/admin/stream-health/index.html | 2 +- static/web/admin/upgrade/index.html | 2 +- static/web/admin/viewer-info/index.html | 2 +- static/web/admin/webhooks/index.html | 2 +- static/web/embed/chat/readonly/index.html | 2 +- static/web/embed/chat/readwrite/index.html | 2 +- static/web/embed/video/index.html | 2 +- static/web/index.html | 2 +- 35 files changed, 34 insertions(+), 34 deletions(-) rename static/web/_next/static/{QQuo84n0bTUhYAyS34IXe => PSX5iT916XIRWxu313I7a}/_buildManifest.js (87%) rename static/web/_next/static/{QQuo84n0bTUhYAyS34IXe => PSX5iT916XIRWxu313I7a}/_ssgManifest.js (100%) create mode 100644 static/web/_next/static/chunks/pages/index-2fcbea1e2f095dfa.js delete mode 100644 static/web/_next/static/chunks/pages/index-bee9c5a64b55cf04.js rename static/web/_next/static/chunks/{webpack-b91d456df95b510b.js => webpack-16b91caf46be5b39.js} (83%) delete mode 100644 static/web/_next/static/css/3e4c3896d8ebfbb6.css create mode 100644 static/web/_next/static/css/62bb5fcc1246d90e.css diff --git a/static/web/404.html b/static/web/404.html index a80aba83b..932523c35 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 a80aba83b..932523c35 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/QQuo84n0bTUhYAyS34IXe/_buildManifest.js b/static/web/_next/static/PSX5iT916XIRWxu313I7a/_buildManifest.js similarity index 87% rename from static/web/_next/static/QQuo84n0bTUhYAyS34IXe/_buildManifest.js rename to static/web/_next/static/PSX5iT916XIRWxu313I7a/_buildManifest.js index 28f325eb2..d9ba74fb1 100644 --- a/static/web/_next/static/QQuo84n0bTUhYAyS34IXe/_buildManifest.js +++ b/static/web/_next/static/PSX5iT916XIRWxu313I7a/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST=function(a,s,c,e,i,d,t,n,f,o,h,m,b,r,u,g,k,j){return{__rewrites:{beforeFiles:[],afterFiles:[{source:"/api/:path*"},{source:"/hls/:path*"},{source:"/img/:path*"},{source:"/logo"},{source:"/thumbnail.jpg"}],fallback:[]},"/":[o,"static/chunks/d3048c20-0576676e1017fabd.js","static/chunks/d2094a0f-91e24fbaea2241b3.js",a,e,h,m,b,"static/chunks/6175-93dddfe9be5882f4.js",r,"static/css/3e4c3896d8ebfbb6.css","static/chunks/pages/index-bee9c5a64b55cf04.js"],"/_error":["static/chunks/pages/_error-f2496e8b9fdedb89.js"],"/admin":[a,s,c,e,i,d,u,"static/chunks/pages/admin-f5d4ed76b5bf9c78.js"],"/admin/access-tokens":[a,s,c,"static/chunks/pages/admin/access-tokens-ef4cfda69ac8b2ee.js"],"/admin/actions":[a,s,"static/chunks/pages/admin/actions-7c5a6b0030e5ec6a.js"],"/admin/chat/messages":[g,a,s,c,e,k,"static/chunks/pages/admin/chat/messages-af084d68aaf69be4.js"],"/admin/chat/users":[g,a,s,c,e,k,"static/chunks/pages/admin/chat/users-577529fda888a7a4.js"],"/admin/config-chat":["static/chunks/pages/admin/config-chat-d027691622271c60.js"],"/admin/config-federation":["static/chunks/1829-271cba4b38fde9a4.js","static/chunks/pages/admin/config-federation-a75cf82c23e440d0.js"],"/admin/config-notify":["static/chunks/pages/admin/config-notify-48561d4d85f054db.js"],"/admin/config-public-details":[a,s,t,"static/css/1f5ee95fffd43a71.css","static/chunks/1142-e1c9b49c7b789e49.js",j,"static/chunks/pages/admin/config-public-details-4b1168c5914e0f72.js"],"/admin/config-server-details":["static/chunks/pages/admin/config-server-details-614743dc0feb10ba.js"],"/admin/config-social-items":[a,s,j,"static/chunks/pages/admin/config-social-items-9d7af265ea826f51.js"],"/admin/config-storage":["static/chunks/pages/admin/config-storage-7c75769293cd1cd2.js"],"/admin/config-video":[a,s,"static/chunks/5875-e7ec71226df73c20.js","static/chunks/pages/admin/config-video-524ee5b72d31e876.js"],"/admin/federation/actions":[a,s,c,"static/chunks/pages/admin/federation/actions-d475626c90492b9e.js"],"/admin/federation/followers":[a,s,c,"static/chunks/pages/admin/federation/followers-84b5976a824dd548.js"],"/admin/hardware-info":[n,c,i,d,f,t,"static/chunks/pages/admin/hardware-info-fb9932e584754b3b.js"],"/admin/help":[i,b,"static/chunks/5046-154c3c1e09df4db0.js","static/chunks/pages/admin/help-286d71e5c1d8d003.js"],"/admin/logs":[a,s,c,u,"static/chunks/pages/admin/logs-55d44b7f56d109e1.js"],"/admin/stream-health":[n,c,i,d,f,"static/chunks/pages/admin/stream-health-5f39d0e65f78053a.js"],"/admin/upgrade":[a,s,"static/chunks/9001-dfd80bc3c21b045b.js","static/chunks/pages/admin/upgrade-27c19ef345f1a067.js"],"/admin/viewer-info":[n,a,s,c,e,i,d,f,t,"static/chunks/pages/admin/viewer-info-6c62c18290cae1c3.js"],"/admin/webhooks":[a,s,"static/chunks/pages/admin/webhooks-9d91ad0a0ec2bb50.js"],"/embed/chat/readonly":["static/chunks/pages/embed/chat/readonly-f54fb5897d32adcf.js"],"/embed/chat/readwrite":["static/chunks/pages/embed/chat/readwrite-eba1c9e46b587c63.js"],"/embed/video":[o,e,h,m,r,"static/css/ce9a7f431af57e09.css","static/chunks/pages/embed/video-7bc6ce2f7f099935.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/384-9cef8f24921b00dc.js","static/chunks/355-ef633cfeda4d36e7.js","static/chunks/8091-5880357d1811013a.js","static/chunks/5938-b8bf626b6df6d168.js","static/chunks/5315-8b4116e0e1118ee9.js","static/chunks/4763-b88542f3b2d350b7.js","static/chunks/7910-7248e2d1496cf795.js","static/chunks/3fff1979-612c6162f1b345ff.js","static/chunks/2139-c72b3a851c3b6fc9.js","static/chunks/d6e1aeb5-1e3969b413cccadf.js","static/css/e70d97a4c102bec4.css","static/chunks/2001-614a21ed2abaed33.js","static/chunks/1082-b00b8f63f0314247.js","static/chunks/4935-053b4824ae67bc45.js","static/chunks/2429-cd1a27121f8cb4b6.js","static/chunks/29107295-4a69275373f23f88.js","static/chunks/7464-bbe0a7b2b04a78ae.js","static/chunks/1017-c26780a26480b2de.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file +self.__BUILD_MANIFEST=function(a,s,c,e,i,t,n,d,f,o,h,m,b,r,u,g,k,j){return{__rewrites:{beforeFiles:[],afterFiles:[{source:"/api/:path*"},{source:"/hls/:path*"},{source:"/img/:path*"},{source:"/logo"},{source:"/thumbnail.jpg"}],fallback:[]},"/":[o,"static/chunks/d3048c20-0576676e1017fabd.js","static/chunks/d2094a0f-91e24fbaea2241b3.js",a,e,h,m,b,"static/chunks/6175-93dddfe9be5882f4.js",r,"static/css/62bb5fcc1246d90e.css","static/chunks/pages/index-2fcbea1e2f095dfa.js"],"/_error":["static/chunks/pages/_error-f2496e8b9fdedb89.js"],"/admin":[a,s,c,e,i,t,u,"static/chunks/pages/admin-f5d4ed76b5bf9c78.js"],"/admin/access-tokens":[a,s,c,"static/chunks/pages/admin/access-tokens-ef4cfda69ac8b2ee.js"],"/admin/actions":[a,s,"static/chunks/pages/admin/actions-7c5a6b0030e5ec6a.js"],"/admin/chat/messages":[g,a,s,c,e,k,"static/chunks/pages/admin/chat/messages-af084d68aaf69be4.js"],"/admin/chat/users":[g,a,s,c,e,k,"static/chunks/pages/admin/chat/users-577529fda888a7a4.js"],"/admin/config-chat":["static/chunks/pages/admin/config-chat-d027691622271c60.js"],"/admin/config-federation":["static/chunks/1829-271cba4b38fde9a4.js","static/chunks/pages/admin/config-federation-a75cf82c23e440d0.js"],"/admin/config-notify":["static/chunks/pages/admin/config-notify-48561d4d85f054db.js"],"/admin/config-public-details":[a,s,n,"static/css/1f5ee95fffd43a71.css","static/chunks/1142-e1c9b49c7b789e49.js",j,"static/chunks/pages/admin/config-public-details-4b1168c5914e0f72.js"],"/admin/config-server-details":["static/chunks/pages/admin/config-server-details-614743dc0feb10ba.js"],"/admin/config-social-items":[a,s,j,"static/chunks/pages/admin/config-social-items-9d7af265ea826f51.js"],"/admin/config-storage":["static/chunks/pages/admin/config-storage-7c75769293cd1cd2.js"],"/admin/config-video":[a,s,"static/chunks/5875-e7ec71226df73c20.js","static/chunks/pages/admin/config-video-524ee5b72d31e876.js"],"/admin/federation/actions":[a,s,c,"static/chunks/pages/admin/federation/actions-d475626c90492b9e.js"],"/admin/federation/followers":[a,s,c,"static/chunks/pages/admin/federation/followers-84b5976a824dd548.js"],"/admin/hardware-info":[d,c,i,t,f,n,"static/chunks/pages/admin/hardware-info-fb9932e584754b3b.js"],"/admin/help":[i,b,"static/chunks/5046-154c3c1e09df4db0.js","static/chunks/pages/admin/help-286d71e5c1d8d003.js"],"/admin/logs":[a,s,c,u,"static/chunks/pages/admin/logs-55d44b7f56d109e1.js"],"/admin/stream-health":[d,c,i,t,f,"static/chunks/pages/admin/stream-health-5f39d0e65f78053a.js"],"/admin/upgrade":[a,s,"static/chunks/9001-dfd80bc3c21b045b.js","static/chunks/pages/admin/upgrade-27c19ef345f1a067.js"],"/admin/viewer-info":[d,a,s,c,e,i,t,f,n,"static/chunks/pages/admin/viewer-info-6c62c18290cae1c3.js"],"/admin/webhooks":[a,s,"static/chunks/pages/admin/webhooks-9d91ad0a0ec2bb50.js"],"/embed/chat/readonly":["static/chunks/pages/embed/chat/readonly-f54fb5897d32adcf.js"],"/embed/chat/readwrite":["static/chunks/pages/embed/chat/readwrite-eba1c9e46b587c63.js"],"/embed/video":[o,e,h,m,r,"static/css/ce9a7f431af57e09.css","static/chunks/pages/embed/video-7bc6ce2f7f099935.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/384-9cef8f24921b00dc.js","static/chunks/355-ef633cfeda4d36e7.js","static/chunks/8091-5880357d1811013a.js","static/chunks/5938-b8bf626b6df6d168.js","static/chunks/5315-8b4116e0e1118ee9.js","static/chunks/4763-b88542f3b2d350b7.js","static/chunks/7910-7248e2d1496cf795.js","static/chunks/3fff1979-612c6162f1b345ff.js","static/chunks/2139-c72b3a851c3b6fc9.js","static/chunks/d6e1aeb5-1e3969b413cccadf.js","static/css/e70d97a4c102bec4.css","static/chunks/2001-614a21ed2abaed33.js","static/chunks/1082-b00b8f63f0314247.js","static/chunks/4935-053b4824ae67bc45.js","static/chunks/2429-cd1a27121f8cb4b6.js","static/chunks/29107295-4a69275373f23f88.js","static/chunks/7464-bbe0a7b2b04a78ae.js","static/chunks/1017-c26780a26480b2de.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/static/web/_next/static/QQuo84n0bTUhYAyS34IXe/_ssgManifest.js b/static/web/_next/static/PSX5iT916XIRWxu313I7a/_ssgManifest.js similarity index 100% rename from static/web/_next/static/QQuo84n0bTUhYAyS34IXe/_ssgManifest.js rename to static/web/_next/static/PSX5iT916XIRWxu313I7a/_ssgManifest.js diff --git a/static/web/_next/static/chunks/pages/index-2fcbea1e2f095dfa.js b/static/web/_next/static/chunks/pages/index-2fcbea1e2f095dfa.js new file mode 100644 index 000000000..6ef5ee293 --- /dev/null +++ b/static/web/_next/static/chunks/pages/index-2fcbea1e2f095dfa.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405],{48312:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return n(89877)}])},89877:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return fn}});var r=n(85893),o=n(97183),s=n(4480),a=n(9008),i=n.n(a),c=n(67294),l=n(39370),u=n(94199),d=n(20550),h=n(13229),p=n(92910),m=n.n(p),f=o.Z.Header;function x(e){var t=e.name,n=void 0===t?"Your stream title":t,o=e.chatAvailable;return(0,r.jsxs)(f,{className:"".concat(m().header),children:[(0,r.jsxs)("div",{className:"".concat(m().logo),children:[(0,r.jsx)(h.C,{variant:"contrast"}),(0,r.jsx)("span",{children:n})]}),o&&(0,r.jsx)(h.w,{}),!o&&(0,r.jsx)(u.Z,{title:"Chat is available when the stream is live.",placement:"left",children:(0,r.jsx)(d.Z,{color:"processing",style:{cursor:"pointer"},children:"Chat offline"})})]})}var g,v,j,_,y,w=n(87412),C=n(71577),b=n(9764),N=n(36531),k=n(66017),S=n(11622),Z=n(13545),M=n.n(Z),T=n(93174),E=n.n(T);function A(){return A=Object.assign?Object.assign.bind():function(e){for(var t=1;t12e4)&&r===(null===o||void 0===o?void 0:o.user.id)}function Y(e){var t=e.user.scopes;return!(!t||0===t.length)&&t.includes("MODERATOR")}var G=n(14924),q=n(86492),X=n.n(q),K=n(94184),Q=n.n(K),$=n(78583),ee=n.n($);function te(e){var t=new Date(e);if(Number.isNaN(t))return"";if(function(e){var t="string"===typeof e?new Date(e):e;return(new Date-t)/864e5}(e)>=1){var n=t.toLocaleDateString("en-US",{dateStyle:"medium"});return"at ".concat(n," at ").concat(t.toLocaleTimeString())}return"".concat(t.toLocaleTimeString())}var ne=n(47568),re=n(34051),oe=n.n(re),se=n(11475),ae=n(90420),ie=n(18429),ce=n(64942),le=n(85402),ue=n(12461),de=n(66516),he=n(38504),pe=n(26713),me=n(25968),fe=n(6226),xe=n(11382),ge=n(51438),ve=function(){function e(){(0,ge.Z)(this,e)}return e.removeMessage=function(e,t){return(0,ne.Z)(oe().mark((function n(){var r,o,s;return oe().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return(r=new URL("/api/chat/messagevisibility",window.location.toString())).searchParams.append("accessToken",t),o=r.toString(),s={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({idArray:[e]})},n.next=6,fetch(o,s);case 6:case"end":return n.stop()}}),n)})))()},e.banUser=function(e,t){return(0,ne.Z)(oe().mark((function n(){var r,o,s;return oe().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return(r=new URL("/api/chat/users/setenabled",window.location.toString())).searchParams.append("accessToken",t),o=r.toString(),s={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:e})},n.next=6,fetch(o,s);case 6:case"end":return n.stop()}}),n)})))()},e}(),je=n(91391),_e=n.n(je),ye=function(){var e=(0,ne.Z)(oe().mark((function e(t,n){return oe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:try{ve.removeMessage(t,n)}catch(r){console.error(r)}case 1:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),we=function(e){var t=e.label,n=e.value;return(0,r.jsxs)(me.Z,{justify:"space-around",align:"middle",children:[(0,r.jsx)(fe.Z,{span:12,children:t}),(0,r.jsx)(fe.Z,{span:12,children:n})]})},Ce=function(e){var t=e.id,n=e.body,o=e.accessToken;return(0,r.jsxs)(me.Z,{justify:"space-around",align:"middle",children:[(0,r.jsx)(fe.Z,{span:18,children:n}),(0,r.jsx)(fe.Z,{children:(0,r.jsx)(C.Z,{onClick:function(){return ye(t,o)},children:"X"})})]})},be=function(e){var t=e.client,n=t.messageCount,o=t.userAgent,s=t.connectedAt,a=t.geo;return(0,r.jsxs)("div",{children:[(0,r.jsx)(we,{label:"Messages Sent",value:"".concat(n)}),(0,r.jsx)(we,{label:"Geo",value:a}),(0,r.jsx)(we,{label:"Connected At",value:s.toString()}),(0,r.jsx)(we,{label:"User Agent",value:o})]})},Ne=function(e){var t=e.color,n="var(--theme-user-colors-".concat(t,")");return(0,r.jsxs)(me.Z,{justify:"space-around",align:"middle",children:[(0,r.jsx)(fe.Z,{span:12,children:"Color"}),(0,r.jsx)(fe.Z,{span:12,children:(0,r.jsx)("div",{className:_e().colorBlock,style:{backgroundColor:n},children:t})})]})};function ke(e){var t=e.userId,n=e.accessToken,o=(0,c.useState)(null),s=o[0],a=o[1],i=(0,c.useState)(!0),l=i[0],u=i[1],d=function(){var e=(0,ne.Z)(oe().mark((function e(){var n;return oe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch("/api/moderation/chat/user/".concat(t));case 3:return e.next=5,e.sent.json();case 5:n=e.sent,a(n),u(!1),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(0),console.error(e.t0);case 13:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(){return e.apply(this,arguments)}}();if((0,c.useEffect)((function(){d()}),[]),!s)return null;var h=s.user,p=s.connectedClients,m=s.messages,f=h.displayName,x=h.displayColor,g=h.createdAt,v=h.previousNames,j=h.scopes,_=h.isBot,y=h.authenticated;return(0,r.jsx)("div",{className:_e().modalContainer,children:(0,r.jsxs)(xe.Z,{spinning:l,children:[(0,r.jsx)("h1",{children:f}),(0,r.jsxs)(me.Z,{justify:"space-around",align:"middle",children:[j.map((function(e){return(0,r.jsx)(fe.Z,{children:e})})),y&&(0,r.jsx)(fe.Z,{children:"Authenticated"}),_&&(0,r.jsx)(fe.Z,{children:"Bot"})]}),(0,r.jsx)(Ne,{color:x}),(0,r.jsx)(we,{label:"User Created",value:g.toString()}),(0,r.jsx)(we,{label:"Previous Names",value:v.join(",")}),(0,r.jsx)("hr",{}),(0,r.jsx)("h2",{children:"Currently Connected"}),p.length>0&&(0,r.jsx)(me.Z,{gutter:[15,15],wrap:!0,children:p.map((function(e){return(0,r.jsx)(fe.Z,{flex:"auto",children:(0,r.jsx)(be,{client:e})})}))}),(0,r.jsx)("hr",{}),m.length>0&&(0,r.jsxs)("div",{children:[(0,r.jsx)("h1",{children:"Recent Chat Messages"}),(0,r.jsx)("div",{className:_e().chatHistory,children:m.map((function(e){return(0,r.jsx)(Ce,{id:e.id,body:e.body,accessToken:n},e.id)}))})]})]})})}var Se=n(31833),Ze=n.n(Se),Me=le.Z.confirm;function Te(e){var t=e.messageID,n=e.userID,o=e.userDisplayName,s=e.accessToken,a=(0,c.useState)(!1),i=a[0],l=a[1],u=function(){var e=(0,ne.Z)(oe().mark((function e(){return oe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,ve.banUser(n,s);case 3:e.next=9;break;case 5:e.prev=5,e.t0=e.catch(0),console.error(e.t0),ue.ZP.error(e.t0);case 9:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(){return e.apply(this,arguments)}}(),d=function(){var e=(0,ne.Z)(oe().mark((function e(){return oe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,ve.removeMessage(t,s);case 3:e.next=9;break;case 5:e.prev=5,e.t0=e.catch(0),console.error(e.t0),ue.ZP.error(e.t0);case 9:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(){return e.apply(this,arguments)}}(),h=function(){var e=(0,ne.Z)(oe().mark((function e(){return oe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Me({icon:(0,r.jsx)(se.Z,{}),content:"Are you sure you want to remove this message from ".concat(o,"?"),onOk:function(){d()}});case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),p=function(){var e=(0,ne.Z)(oe().mark((function e(){return oe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Me({icon:(0,r.jsx)(se.Z,{}),content:"Are you sure you want to ban ".concat(o," from chat?"),onOk:function(){u()}});case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),m=(0,r.jsx)(de.Z,{onClick:function(e){var t=e.key;"hide-message"===t?h():"ban-user"===t?p():"more-info"===t&&l(!0)},items:[{label:(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:Ze().icon,children:(0,r.jsx)(ae.Z,{})}),"Hide Message"]}),key:"hide-message"},{label:(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:Ze().icon,children:(0,r.jsx)(ie.Z,{})}),"Ban User"]}),key:"ban-user"},{label:(0,r.jsx)("div",{children:"More Info..."}),key:"more-info"}]});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(he.Z,{overlay:m,trigger:["click"],children:(0,r.jsx)("button",{type:"button",onClick:function(e){return e.preventDefault()},children:(0,r.jsx)(pe.Z,{children:(0,r.jsx)(ce.Z,{})})})}),(0,r.jsx)(le.Z,{visible:i,okText:"Ban User",okButtonProps:{danger:!0},onOk:u,onCancel:function(){l(!1)},children:(0,r.jsx)(ke,{userId:n,accessToken:s})})]})}function Ee(e){var t=e.message,n=e.highlightString,o=e.showModeratorMenu,s=e.sentBySelf,a=e.sameUserAsLast,i=e.isAuthorModerator,l=e.isAuthorAuthenticated,d=t.id,h=t.body,p=t.user,m=t.timestamp,f=p.id,x=p.displayName,g=p.displayColor,v="var(--theme-user-colors-".concat(g,")"),j="Sent ".concat(te(m)),_=(0,c.useState)(h),y=_[0],w=_[1],C=[i&&"mod",l&&"auth"].filter((function(e){return!!e})).map((function(e){return(0,r.jsx)(J,{badge:e,userColor:g},e)}));return(0,c.useEffect)((function(){w(X().decode(h))}),[t]),(0,r.jsx)("div",{className:Q()(ee().messagePadding,a&&ee().messagePaddingCollapsed),children:(0,r.jsxs)("div",{className:Q()(ee().root,(0,G.Z)({},ee().ownMessage,s)),style:{borderColor:v},children:[!a&&(0,r.jsx)(u.Z,{title:"user info goes here",placement:"topLeft",mouseEnterDelay:1,children:(0,r.jsxs)("div",{className:ee().user,style:{color:v},children:[(0,r.jsx)("span",{className:ee().userName,children:x}),(0,r.jsx)("span",{children:C})]})}),(0,r.jsx)(u.Z,{title:j,mouseEnterDelay:1,children:(0,r.jsx)(F.y,{search:n,children:(0,r.jsx)("div",{className:ee().message,children:y})})}),o&&(0,r.jsx)("div",{className:ee().modMenuWrapper,children:(0,r.jsx)(Te,{messageID:d,accessToken:"",userID:f,userDisplayName:x})}),(0,r.jsx)("div",{className:ee().customBorder,style:{color:v}}),(0,r.jsx)("div",{className:ee().background,style:{color:v}})]})})}var Ae=n(26042),Be=n(69396),Ue=n(93045),Fe=n(27496),Pe=n(55241),Oe=n(77493),Le=n(96391),He=n(57741);function De(e){var t=(0,c.useState)([]),n=t[0],o=t[1],s=e.onEmojiSelect,a=(0,c.useRef)(),i=function(){var e=(0,ne.Z)(oe().mark((function e(){var t,n;return oe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch("/api/emoji");case 3:return t=e.sent,e.next=6,t.json();case 6:n=e.sent,o(n),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(0),console.error("cannot fetch custom emoji",e.t0);case 13:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(){return e.apply(this,arguments)}}();return(0,c.useEffect)((function(){i()}),[]),(0,c.useEffect)((function(){(0,He.wU)({rootElement:a.current,custom:n}).addEventListener("emoji:select",(function(e){console.log("Emoji selected:",e.emoji),s(e)}))}),[n]),(0,r.jsx)("div",{ref:a})}var Re=n(25882),Ie=n.n(Re),Je=function(e){var t=e.element;return(0,r.jsx)("img",{src:t.url,alt:"emoji",style:{display:"inline",position:"relative",width:"30px",bottom:"10px"}})},ze=function(e){var t=e.attributes,n=e.children;return"image"===e.element.type?(0,r.jsx)(Je,(0,Ae.Z)({},e)):(0,r.jsx)("p",(0,Be.Z)((0,Ae.Z)({},t),{children:n}))},Ve=function(e){if(Oe.xv.isText(e))return e.text;var t=e.children.map((function(e){return Ve(e)})).join("");switch(e.type){case"paragraph":return"

".concat(t,"

");case"image":return'emoji');default:return t}};function We(e){var t=(0,c.useState)(!1),n=t[0],o=t[1],a=(0,s.sJ)(l.Gt),i=(0,c.useState)((function(){return function(e){var t=e.isVoid;return e.isVoid=function(e){return"image"===e.type||t(e)},e.isInline=function(e){return"image"===e.type},e}((0,Le.BU)((0,Oe.Jh)()))})),u=i[0],d=function(){if(a){var e=Ve(u);a.send({type:S.C.CHAT,body:e}),Oe.YR.select(u,[0,u.children.length-1]),Oe.YR.delete(u)}else console.log("websocketService is not defined")};return(0,r.jsx)("div",{children:(0,r.jsxs)("div",{className:Ie().root,children:[(0,r.jsxs)(Le.mH,{editor:u,value:[{type:"paragraph",children:[{text:""}]}],onChange:function(){},children:[(0,r.jsx)(Le.CX,{onKeyDown:function(e){"Enter"===e.key&&(e.preventDefault(),d())},renderElement:function(e){return(0,r.jsx)(ze,(0,Ae.Z)({},e))},placeholder:"Chat message goes here...",style:{width:"100%"},autoFocus:!0}),(0,r.jsx)(Pe.Z,{content:(0,r.jsx)(De,{onEmojiSelect:function(e){if(Le.F3.focus(u),e.url)e.url;else{var t=e.emoji;Oe.YR.insertText(u,t)}}}),trigger:"click",onVisibleChange:function(e){return o(e)},visible:n})]}),(0,r.jsx)("button",{type:"button",className:Ie().emojiButton,title:"Emoji picker button",onClick:function(){return o(!n)},children:(0,r.jsx)(Ue.Z,{})}),(0,r.jsx)(C.Z,{className:Ie().sendButton,size:"large",type:"ghost",icon:(0,r.jsx)(Fe.Z,{}),onClick:d})]})})}We.defaultProps={value:""};var Ye=n(75347),Ge=n.n(Ye);function qe(){var e=(0,s.sJ)(l.j$),t=(0,s.sJ)(l.w4),n=(0,s.sJ)(l.uy),o=(0,s.sJ)(l.fE);return(0,r.jsx)(w.ZP,{className:Ge().root,collapsedWidth:0,width:320,children:(0,r.jsx)(V,{messages:e,usernameToHighlight:t,chatUserId:n,isModerator:o})})}var Xe=n(35603),Ke=n.n(Xe);function Qe(e){var t=e.version;return(0,r.jsxs)("div",{className:Ke().footer,children:[(0,r.jsxs)("div",{className:Ke().text,children:["Powered by ",(0,r.jsx)("a",{href:"https://owncast.online",children:t})]}),(0,r.jsxs)("div",{className:Ke().links,children:[(0,r.jsx)("div",{className:Ke().item,children:(0,r.jsx)("a",{href:"https://owncast.online/docs",target:"_blank",rel:"noreferrer",children:"Documentation"})}),(0,r.jsx)("div",{className:Ke().item,children:(0,r.jsx)("a",{href:"https://owncast.online/help",target:"_blank",rel:"noreferrer",children:"Contribute"})}),(0,r.jsx)("div",{className:Ke().item,children:(0,r.jsx)("a",{href:"https://github.com/owncast/owncast",target:"_blank",rel:"noreferrer",children:"Source"})})]})]})}var $e=n(828),et=n(87961),tt=n(73682),nt=n(28105),rt=n.n(nt);function ot(e){var t=e.content;return(0,r.jsx)("div",{className:rt().pageContentContainer,children:(0,r.jsx)("div",{className:rt().customPageContent,dangerouslySetInnerHTML:{__html:t}})})}var st=n(14633),at=n(3698),it=n(24093),ct=n(4300),lt=n.n(ct);function ut(e){var t=e.follower;return(0,r.jsx)("div",{className:lt().follower,children:(0,r.jsx)("a",{href:t.link,target:"_blank",rel:"noreferrer",children:(0,r.jsxs)(me.Z,{wrap:!1,children:[(0,r.jsx)(fe.Z,{span:6,children:(0,r.jsx)(it.C,{src:t.image,alt:"Avatar",className:lt().avatar,children:(0,r.jsx)("img",{src:"/logo",alt:"Logo",className:lt().placeholder})})}),(0,r.jsxs)(fe.Z,{children:[(0,r.jsx)(me.Z,{children:t.name}),(0,r.jsx)(me.Z,{className:lt().account,children:t.username})]})]})})})}function dt(){var e=(0,c.useState)([]),t=e[0],n=e[1],o=(0,c.useState)(0),s=o[0],a=o[1],i=(0,c.useState)(1),l=i[0],u=i[1],d=Math.ceil(s/24),h=function(){var e=(0,ne.Z)(oe().mark((function e(){var t,r;return oe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch("".concat("/api/followers","?page=").concat(l));case 3:return t=e.sent,e.next=6,t.json();case 6:r=e.sent,n(r.response),a(r.total),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(0),console.error(e.t0);case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(){return e.apply(this,arguments)}}();(0,c.useEffect)((function(){h()}),[]),(0,c.useEffect)((function(){h()}),[l]);var p=(0,r.jsx)("div",{children:"A message explaining how to follow goes here since there are no followers."});return(null===t||void 0===t?void 0:t.length)?(0,r.jsxs)("div",{className:lt().followers,children:[(0,r.jsx)(me.Z,{wrap:!0,gutter:[10,10],justify:"space-around",children:t.map((function(e){return(0,r.jsx)(fe.Z,{children:(0,r.jsx)(ut,{follower:e},e.link)})}))}),(0,r.jsx)(at.Z,{current:l,pageSize:24,total:d||1,onChange:function(e){u(e)},hideOnSinglePage:!0})]}):p}var ht=n(63291),pt=n.n(ht),mt=n(46218),ft=n.n(mt);function xt(e){var t=e.children;return(0,r.jsx)("div",{className:"".concat(ft().row),children:t})}var gt=n(32365),vt=n(49418),jt=n.n(vt);function _t(e){var t=e.action,n=t.url,o=t.title,s=t.description,a=t.icon,i=t.color,l=t.openExternally,u=e.primary,d=void 0!==u&&u,h=(0,c.useState)(!1),p=h[0],m=h[1];return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(C.Z,{type:d?"primary":"default",className:"".concat(jt().button),onClick:function(){l?window.open(n,"_blank"):m(!0)},style:{backgroundColor:i},children:[(0,r.jsx)("img",{src:a,className:"".concat(jt().icon),alt:s}),o]}),(0,r.jsx)(gt.Z,{title:s||o,url:n,visible:p,height:"80vh",handleCancel:function(){return m(!1)}})]})}_t.defaultProps={primary:!1};var yt=n(97937),wt=n(18668),Ct=n.n(wt);function bt(e){var t=e.children,n=e.visible,o=e.notificationClicked,s=e.notificationClosed,a=(0,c.useState)(n),i=a[0],l=a[1],u=(0,c.useState)(!1),d=u[0],h=u[1];(0,c.useEffect)((function(){l(n)}),[n]),(0,c.useEffect)((function(){h(!0)}),[]);var p=(0,r.jsx)("div",{className:Ct().title,children:"Stay updated!"}),m=function(e){e.stopPropagation(),o()},f=(0,r.jsxs)("div",{onClick:m,onKeyDown:m,role:"menuitem",tabIndex:0,children:[(0,r.jsx)("button",{type:"button",className:Ct().closebutton,onClick:function(e){e.stopPropagation(),l(!1),s()},children:(0,r.jsx)(yt.Z,{})}),(0,r.jsxs)("div",{className:Ct().contentbutton,children:["Click and never miss",(0,r.jsx)("br",{}),"future streams!"]})]});return d&&(0,r.jsx)(Pe.Z,{placement:"topLeft",defaultVisible:i,visible:i,destroyTooltipOnHide:!0,title:p,content:f,overlayInnerStyle:{borderRadius:"5px",cursor:"pointer",paddingTop:"10px",paddingRight:"10px",fontSize:"16px"},children:t})}var Nt=n(1698),kt=n(34447),St=n(14670),Zt=n(69677),Mt=n(42288),Tt=n.n(Mt);function Et(e){var t=e.handleClose,n=e.account,o=e.name,s=(0,c.useState)(null),a=s[0],i=s[1],l=(0,c.useState)(!1),u=l[0],d=l[1],h=(0,c.useState)(!1),p=h[0],m=h[1],f=(0,c.useState)(null),x=f[0],g=f[1],v=function(e){i(e),!function(e){var t=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(t).toLowerCase())}(e)?d(!1):d(!0)},j=function(){var e=(0,ne.Z)(oe().mark((function e(){var n,r,o,s;return oe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(u){e.next=2;break}return e.abrupt("return");case 2:return m(!0),e.prev=3,n=a.replace(/^@+/,""),r={account:n},e.next=8,fetch("/api/remotefollow",{method:"POST",body:JSON.stringify(r)});case 8:return o=e.sent,e.next=11,o.json();case 11:if((s=e.sent).redirectUrl&&(window.open(s.redirectUrl,"_blank"),t()),s.success){e.next=17;break}return g(s.message),m(!1),e.abrupt("return");case 17:if(s.redirectUrl){e.next=21;break}return g("Unable to follow."),m(!1),e.abrupt("return");case 21:e.next=26;break;case 23:e.prev=23,e.t0=e.catch(3),g(e.t0.message);case 26:m(!1);case 27:case"end":return e.stop()}}),e,null,[[3,23]])})));return function(){return e.apply(this,arguments)}}();return(0,r.jsxs)(pe.Z,{direction:"vertical",children:[(0,r.jsxs)("div",{className:Tt().header,children:["By following this stream you'll get notified on the Fediverse when it goes live. Now is a great time to",(0,r.jsx)("a",{href:"https://owncast.online/join-fediverse",target:"_blank",rel:"noreferrer",children:"learn about the Fediverse"}),"if it's new to you."]}),(0,r.jsxs)(xe.Z,{spinning:p,children:[x&&(0,r.jsx)(St.Z,{message:"Follow Error",description:x,type:"error",showIcon:!0}),(0,r.jsxs)("div",{className:Tt().account,children:[(0,r.jsx)("img",{src:"/logo",alt:"logo",className:Tt().logo}),(0,r.jsxs)("div",{className:Tt().username,children:[(0,r.jsx)("div",{className:Tt().name,children:o}),(0,r.jsx)("div",{children:n})]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:Tt().instructions,children:"Enter your username @server to follow"}),(0,r.jsx)(Zt.Z,{value:n,size:"large",onChange:function(e){return v(e.target.value)},placeholder:"Your fediverse account @account@server",defaultValue:n}),(0,r.jsx)("div",{className:Tt().footer,children:"You'll be redirected to your Fediverse server and asked to confirm the action."})]}),(0,r.jsxs)(pe.Z,{className:Tt().buttons,children:[(0,r.jsx)(C.Z,{disabled:!u,type:"primary",onClick:j,children:"Follow"}),(0,r.jsx)(C.Z,{onClick:function(){window.open("https://owncast.online/join-fediverse","_blank")},type:"primary",children:"Join the Fediverse"})]})]})]})}function At(e){var t=(0,c.useState)(!1),n=t[0],o=t[1],a=(0,s.sJ)(l.g1),i=a.name,u=a.federation.account;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(C.Z,(0,Be.Z)((0,Ae.Z)({},e),{type:"primary",className:jt().button,icon:(0,r.jsx)(kt.Z,{}),onClick:function(){o(!0)},children:"Follow"})),(0,r.jsx)(gt.Z,{title:"Follow ".concat(i),visible:n,handleCancel:function(){return o(!1)},width:"550px",height:"200px",children:(0,r.jsx)(Et,{account:u,name:i,handleClose:function(){return o(!1)}})})]})}var Bt=n(71578);function Ut(e){var t=e.onClick;return(0,r.jsx)(C.Z,{type:"primary",className:"".concat(jt().button),icon:(0,r.jsx)(Bt.Z,{}),onClick:t,children:"Notify"})}var Ft=n(84485);function Pt(e,t,n){return Ot.apply(this,arguments)}function Ot(){return(Ot=(0,ne.Z)(oe().mark((function e(t,n,r){var o;return oe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"/api/notifications/register",o={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({channel:t,destination:n})},e.prev=2,e.next=5,fetch("".concat("/api/notifications/register","?accessToken=").concat(r),o);case 5:e.next=10;break;case 7:e.prev=7,e.t0=e.catch(2),console.error(e.t0);case 10:case"end":return e.stop()}}),e,null,[[2,7]])})))).apply(this,arguments)}function Lt(e){for(var t=(e+"=".repeat((4-e.length%4)%4)).replace(/-/g,"+").replace(/_/g,"/"),n=window.atob(t),r=new Uint8Array(n.length),o=0;o0&&a.map((function(e){return(0,r.jsxs)("span",{children:["#",e,"\xa0"]},e)}))}),(0,r.jsx)("div",{className:Q()($t().socialLinks,$t().row),children:(0,r.jsx)(Kt,{links:i})})]})]})})}var tn=et.Z.TabPane,nn=o.Z.Content;function rn(){var e=(0,s.sJ)(l.Q),t=(0,s.sJ)(l.g1),n=(0,s.sJ)(l.pT),o=(0,$e.Z)((0,s.FV)(l.hz),2),a=o[0],i=o[1],u=(0,s.sJ)(l.YW),d=(0,s.sJ)(l.RI),h=d.viewerCount,p=d.lastConnectTime,m=d.lastDisconnectTime,f=d.streamTitle,x=t.extraPageContent,g=t.version,v=t.name,j=t.summary,_=t.socialHandles,y=t.tags,w=t.externalActions,C=t.offlineMessage,b=(0,c.useState)(!1),N=b[0],k=b[1],S=(0,c.useState)(!1),Z=S[0],M=S[1],T=w.map((function(e){return(0,r.jsx)(_t,{action:e},e.url)})),E=function(){M(!1),k(!1),(0,tt.qQ)(tt.dA.hasDisplayedNotificationModal,!0)},A=function(){var e=window.innerWidth;void 0===a&&i(e<=768),!a&&e<=768&&i(!0),a&&e>768&&i(!1)};(0,c.useEffect)((function(){!function(){var e=parseInt((0,tt.$o)(tt.dA.userVisitCount),10);Number.isNaN(e)&&(e=0),(0,tt.qQ)(tt.dA.userVisitCount,e+1),e>2&&!(0,tt.$o)(tt.dA.hasDisplayedNotificationModal)&&k(!0)}(),A(),window.addEventListener("resize",A)}),[]);var B=Q()(pt().root,(0,G.Z)({},pt().mobile,a));return(0,r.jsxs)("div",{children:[(0,r.jsxs)(nn,{className:B,children:[(0,r.jsxs)("div",{className:pt().leftContent,children:[(0,r.jsx)(xe.Z,{className:pt().loadingSpinner,size:"large",spinning:e.appLoading}),(0,r.jsxs)("div",{className:pt().topSection,children:[u&&(0,r.jsx)(st.Z,{source:"/hls/stream.m3u8",online:u}),!u&&(0,r.jsx)(Nt.Z,{name:v,text:C||"Please follow and ask to get notified when the stream is live."}),(0,r.jsx)(ln.Z,{online:u,lastConnectTime:p,lastDisconnectTime:m,viewerCount:h})]}),(0,r.jsx)("div",{className:pt().midSection,children:(0,r.jsxs)("div",{className:pt().buttonsLogoTitleSection,children:[(0,r.jsxs)(xt,{children:[T,(0,r.jsx)(At,{size:"small"}),(0,r.jsx)(bt,{visible:N,notificationClicked:function(){return M(!0)},notificationClosed:function(){return E()},children:(0,r.jsx)(Ut,{onClick:function(){return M(!0)}})})]}),(0,r.jsx)(gt.Z,{title:"Notify",visible:Z,afterClose:function(){return E()},handleCancel:function(){return E()},children:(0,r.jsx)(Gt,{})})]})}),(0,r.jsx)("div",{className:pt().lowerHalf,children:(0,r.jsx)(en,{name:v,title:f,summary:j,tags:y,links:_,logo:"/logo"})}),(0,r.jsx)("div",{className:pt().lowerSection,children:(0,r.jsxs)(et.Z,{defaultActiveKey:"0",style:{height:"100%"},children:[n&&a&&(0,r.jsx)(tn,{tab:"Chat",style:{height:"100%"}},"0"),(0,r.jsx)(tn,{tab:"About",className:pt().pageContentSection,children:(0,r.jsx)(ot,{content:x})},"2"),(0,r.jsx)(tn,{tab:"Followers",className:pt().pageContentSection,children:(0,r.jsx)(dt,{})},"3")]})})]}),n&&!a&&(0,r.jsx)(qe,{})]}),!a&&(0,r.jsx)(Qe,{version:g})]})}var on=n(79216),sn=n(7918),an=n.n(sn);function cn(e){var t=e.src;return(0,r.jsx)("div",{className:an().root,children:(0,r.jsx)("div",{className:an().container,children:(0,r.jsx)(on.Z,{src:t,alt:"Logo",className:an().image,rootClassName:an().image})})})}var ln=n(36887),un=n(60536),dn=n.n(un);function hn(e){var t=e.title,n=e.message;return(0,r.jsxs)(le.Z,{title:t,visible:!0,footer:null,closable:!1,keyboard:!1,width:900,centered:!0,className:"modal",children:[(0,r.jsx)(dn(),{id:"56f94180e07a07dd",children:".modal .ant-modal-content,.modal .ant-modal-header{background-color:var(--warning-color)}"}),(0,r.jsx)("p",{className:"jsx-56f94180e07a07dd",children:n})]})}var pn=n(82670);var mn=function(){var e=(0,s.sJ)(l.g1),t=e.name,n=e.title,a=e.customStyles,u=(0,s.sJ)(l.di),d=(0,s.sJ)(l.ap),h=(0,c.useRef)(null);return(0,c.useEffect)((function(){!function(e){var t=function(e){e.setAttribute("rel","noopener noreferrer ")};e.querySelectorAll("a").forEach((function(e){return t(e)})),new MutationObserver((function(e){var n=!0,r=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(n=(s=a.next()).done);n=!0){var i=s.value,c=!0,l=!1,u=void 0;try{for(var d,h=i.addedNodes[Symbol.iterator]();!(c=(d=h.next()).done);c=!0){var p=d.value;(0,pn.Z)(p,HTMLElement)&&"a"===p.tagName.toLowerCase()&&t(p)}}catch(m){l=!0,u=m}finally{try{c||null==h.return||h.return()}finally{if(l)throw u}}}}catch(m){r=!0,o=m}finally{try{n||null==a.return||a.return()}finally{if(r)throw o}}})).observe(e,{attributes:!1,childList:!0,subtree:!0})}(h.current)}),[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(i(),{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)("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"}),(0,r.jsx)("style",{children:a})]}),(0,r.jsx)(l.me,{}),(0,r.jsxs)(o.Z,{ref:h,children:[(0,r.jsx)(x,{name:n||t,chatAvailable:u}),(0,r.jsx)(rn,{}),d&&(0,r.jsx)(hn,{title:d.title,message:d.message})]})]})};function fn(){return(0,r.jsx)(mn,{})}},49418:function(e){e.exports={button:"ActionButton_button__8GQFL",icon:"ActionButton_icon__g9rfM"}},46218:function(e){e.exports={row:"ActionButtons_row__asg2y"}},13545:function(e){e.exports={chatHeader:"ChatContainer_chatHeader__EJsYI",toBottomWrap:"ChatContainer_toBottomWrap__3V5wa",nameChangeView:"ChatContainer_nameChangeView__ziyXN",nameChangeText:"ChatContainer_nameChangeText__yXG__",plain:"ChatContainer_plain__IPS19"}},83066:function(e){e.exports={join:"ChatJoinMessage_join__fP0IQ"}},31833:function(e){e.exports={icon:"ChatModerationActionMenu_icon__9j6DF"}},91391:function(e){e.exports={modalContainer:"ChatModerationDetailsModal_modalContainer__9cyjY",chatHistory:"ChatModerationDetailsModal_chatHistory__O2jaB",colorBlock:"ChatModerationDetailsModal_colorBlock__ev2E8"}},93174:function(e){e.exports={chatModerationNotification:"ChatModeratorNotification_chatModerationNotification__kgFWe",icon:"ChatModeratorNotification_icon__7FdGg"}},31681:function(e){e.exports={chatSystemMessage:"ChatSystemMessage_chatSystemMessage__c6XEN",user:"ChatSystemMessage_user__6yHSJ",message:"ChatSystemMessage_message__ySq5g"}},25882:function(e){e.exports={root:"ChatTextField_root__4oUkJ",inputWrapper:"ChatTextField_inputWrapper__qBEWv",submitButtonWrapper:"ChatTextField_submitButtonWrapper__YBPMe",sendButton:"ChatTextField_sendButton__MOmD4",emojiButton:"ChatTextField_emojiButton__ON_Cu"}},79010:function(e){e.exports={badge:"ChatUserBadge_badge__1EdUp"}},78583:function(e){e.exports={root:"ChatUserMessage_root__79heB",user:"ChatUserMessage_user__xUEp9",message:"ChatUserMessage_message__MJ9LD",customBorder:"ChatUserMessage_customBorder__YudkU",ownMessage:"ChatUserMessage_ownMessage__d28A3",background:"ChatUserMessage_background__Tfghp",modMenuWrapper:"ChatUserMessage_modMenuWrapper__7fblv",messagePadding:"ChatUserMessage_messagePadding__Xp1F6",messagePaddingCollapsed:"ChatUserMessage_messagePaddingCollapsed__qxN0E"}},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"}},71121:function(e){e.exports={pushPreview:"BrowserNotifyModal_pushPreview__87oXX",inner:"BrowserNotifyModal_inner__M7joz",title:"BrowserNotifyModal_title__mtuWS",permissionLine:"BrowserNotifyModal_permissionLine__6BMbw",buttonRow:"BrowserNotifyModal_buttonRow__M94pj",disabled:"BrowserNotifyModal_disabled__ErJzX",allow:"BrowserNotifyModal_allow__6VHkV"}},42288:function(e){e.exports={header:"FollowModal_header__sJdVk",buttons:"FollowModal_buttons__MoVO0",instructions:"FollowModal_instructions__8x9jJ",footer:"FollowModal_footer__Yw5UB",account:"FollowModal_account__wG_UC",logo:"FollowModal_logo__d7tS5",username:"FollowModal_username__w9KO6",name:"FollowModal_name__wGMmS"}},63291:function(e){e.exports={root:"Content_root__h1mNK",topSection:"Content_topSection__JIZi0",lowerSection:"Content_lowerSection__BZHYI",leftCol:"Content_leftCol__U2TDq",loadingSpinner:"Content_loadingSpinner__mDlYC",mobile:"Content_mobile__Ep0QM",mobileChat:"Content_mobileChat__5V09A"}},28105:function(e){e.exports={pageContentContainer:"CustomPageContent_pageContentContainer__EG4tU",customPageContent:"CustomPageContent_customPageContent__Mr981",summary:"CustomPageContent_summary___Zgps"}},4300:function(e){e.exports={follower:"Followers_follower__I5QSp",avatar:"Followers_avatar__F9UDU",account:"Followers_account__3FOSk",placeholder:"Followers_placeholder__Wziqm",followers:"Followers_followers__7O5WG"}},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"}},18668:function(e){e.exports={contentbutton:"NotifyReminderPopup_contentbutton__a_tsp",closebutton:"NotifyReminderPopup_closebutton__GVcP3",title:"NotifyReminderPopup_title__Dm9Iy"}},75347:function(e){e.exports={root:"Sidebar_root__8HE0A"}},52740:function(e){e.exports={link:"SocialLinks_link___CcSm",links:"SocialLinks_links__gOAb7"}}},function(e){e.O(0,[2544,1272,8700,384,5938,2001,1082,6175,4935,9774,2888,179],(function(){return t=48312,e(e.s=t);var t}));var t=e.O();_N_E=t}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/pages/index-bee9c5a64b55cf04.js b/static/web/_next/static/chunks/pages/index-bee9c5a64b55cf04.js deleted file mode 100644 index 647f64221..000000000 --- a/static/web/_next/static/chunks/pages/index-bee9c5a64b55cf04.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405],{48312:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return n(89877)}])},89877:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return xn}});var r=n(85893),o=n(97183),s=n(4480),a=n(9008),i=n.n(a),c=n(67294),l=n(39370),u=n(94199),d=n(20550),h=n(13229),p=n(92910),m=n.n(p),f=o.Z.Header;function x(e){var t=e.name,n=void 0===t?"Your stream title":t,o=e.chatAvailable;return(0,r.jsxs)(f,{className:"".concat(m().header),children:[(0,r.jsxs)("div",{className:"".concat(m().logo),children:[(0,r.jsx)(h.C,{variant:"contrast"}),(0,r.jsx)("span",{children:n})]}),o&&(0,r.jsx)(h.w,{}),!o&&(0,r.jsx)(u.Z,{title:"Chat is available when the stream is live.",placement:"left",children:(0,r.jsx)(d.Z,{color:"processing",style:{cursor:"pointer"},children:"Chat offline"})})]})}var g,v,j,_,y,w=n(87412),C=n(71577),b=n(9764),N=n(36531),k=n(66017),S=n(11622),Z=n(13545),M=n.n(Z),T=n(93174),E=n.n(T);function A(){return A=Object.assign?Object.assign.bind():function(e){for(var t=1;t12e4)&&r===(null===o||void 0===o?void 0:o.user.id)}function Y(e){var t=e.user.scopes;return!(!t||0===t.length)&&t.includes("MODERATOR")}var G=n(14924),q=n(86492),X=n.n(q),K=n(94184),Q=n.n(K),$=n(78583),ee=n.n($);function te(e){var t=new Date(e);if(Number.isNaN(t))return"";if(function(e){var t="string"===typeof e?new Date(e):e;return(new Date-t)/864e5}(e)>=1){var n=t.toLocaleDateString("en-US",{dateStyle:"medium"});return"at ".concat(n," at ").concat(t.toLocaleTimeString())}return"".concat(t.toLocaleTimeString())}var ne=n(47568),re=n(34051),oe=n.n(re),se=n(11475),ae=n(90420),ie=n(18429),ce=n(64942),le=n(85402),ue=n(12461),de=n(66516),he=n(38504),pe=n(26713),me=n(25968),fe=n(6226),xe=n(11382),ge=n(51438),ve=function(){function e(){(0,ge.Z)(this,e)}return e.removeMessage=function(e,t){return(0,ne.Z)(oe().mark((function n(){var r,o,s;return oe().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return(r=new URL("/api/chat/messagevisibility",window.location.toString())).searchParams.append("accessToken",t),o=r.toString(),s={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({idArray:[e]})},n.next=6,fetch(o,s);case 6:case"end":return n.stop()}}),n)})))()},e.banUser=function(e,t){return(0,ne.Z)(oe().mark((function n(){var r,o,s;return oe().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return(r=new URL("/api/chat/users/setenabled",window.location.toString())).searchParams.append("accessToken",t),o=r.toString(),s={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:e})},n.next=6,fetch(o,s);case 6:case"end":return n.stop()}}),n)})))()},e}(),je=n(91391),_e=n.n(je),ye=function(){var e=(0,ne.Z)(oe().mark((function e(t,n){return oe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:try{ve.removeMessage(t,n)}catch(r){console.error(r)}case 1:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),we=function(e){var t=e.label,n=e.value;return(0,r.jsxs)(me.Z,{justify:"space-around",align:"middle",children:[(0,r.jsx)(fe.Z,{span:12,children:t}),(0,r.jsx)(fe.Z,{span:12,children:n})]})},Ce=function(e){var t=e.id,n=e.body,o=e.accessToken;return(0,r.jsxs)(me.Z,{justify:"space-around",align:"middle",children:[(0,r.jsx)(fe.Z,{span:18,children:n}),(0,r.jsx)(fe.Z,{children:(0,r.jsx)(C.Z,{onClick:function(){return ye(t,o)},children:"X"})})]})},be=function(e){var t=e.client,n=t.messageCount,o=t.userAgent,s=t.connectedAt,a=t.geo;return(0,r.jsxs)("div",{children:[(0,r.jsx)(we,{label:"Messages Sent",value:"".concat(n)}),(0,r.jsx)(we,{label:"Geo",value:a}),(0,r.jsx)(we,{label:"Connected At",value:s.toString()}),(0,r.jsx)(we,{label:"User Agent",value:o})]})},Ne=function(e){var t=e.color,n="var(--theme-user-colors-".concat(t,")");return(0,r.jsxs)(me.Z,{justify:"space-around",align:"middle",children:[(0,r.jsx)(fe.Z,{span:12,children:"Color"}),(0,r.jsx)(fe.Z,{span:12,children:(0,r.jsx)("div",{className:_e().colorBlock,style:{backgroundColor:n},children:t})})]})};function ke(e){var t=e.userId,n=e.accessToken,o=(0,c.useState)(null),s=o[0],a=o[1],i=(0,c.useState)(!0),l=i[0],u=i[1],d=function(){var e=(0,ne.Z)(oe().mark((function e(){var n;return oe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch("/api/moderation/chat/user/".concat(t));case 3:return e.next=5,e.sent.json();case 5:n=e.sent,a(n),u(!1),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(0),console.error(e.t0);case 13:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(){return e.apply(this,arguments)}}();if((0,c.useEffect)((function(){d()}),[]),!s)return null;var h=s.user,p=s.connectedClients,m=s.messages,f=h.displayName,x=h.displayColor,g=h.createdAt,v=h.previousNames,j=h.scopes,_=h.isBot,y=h.authenticated;return(0,r.jsx)("div",{className:_e().modalContainer,children:(0,r.jsxs)(xe.Z,{spinning:l,children:[(0,r.jsx)("h1",{children:f}),(0,r.jsxs)(me.Z,{justify:"space-around",align:"middle",children:[j.map((function(e){return(0,r.jsx)(fe.Z,{children:e})})),y&&(0,r.jsx)(fe.Z,{children:"Authenticated"}),_&&(0,r.jsx)(fe.Z,{children:"Bot"})]}),(0,r.jsx)(Ne,{color:x}),(0,r.jsx)(we,{label:"User Created",value:g.toString()}),(0,r.jsx)(we,{label:"Previous Names",value:v.join(",")}),(0,r.jsx)("hr",{}),(0,r.jsx)("h2",{children:"Currently Connected"}),p.length>0&&(0,r.jsx)(me.Z,{gutter:[15,15],wrap:!0,children:p.map((function(e){return(0,r.jsx)(fe.Z,{flex:"auto",children:(0,r.jsx)(be,{client:e})})}))}),(0,r.jsx)("hr",{}),m.length>0&&(0,r.jsxs)("div",{children:[(0,r.jsx)("h1",{children:"Recent Chat Messages"}),(0,r.jsx)("div",{className:_e().chatHistory,children:m.map((function(e){return(0,r.jsx)(Ce,{id:e.id,body:e.body,accessToken:n},e.id)}))})]})]})})}var Se=n(31833),Ze=n.n(Se),Me=le.Z.confirm;function Te(e){var t=e.messageID,n=e.userID,o=e.userDisplayName,s=e.accessToken,a=(0,c.useState)(!1),i=a[0],l=a[1],u=function(){var e=(0,ne.Z)(oe().mark((function e(){return oe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,ve.banUser(n,s);case 3:e.next=9;break;case 5:e.prev=5,e.t0=e.catch(0),console.error(e.t0),ue.ZP.error(e.t0);case 9:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(){return e.apply(this,arguments)}}(),d=function(){var e=(0,ne.Z)(oe().mark((function e(){return oe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,ve.removeMessage(t,s);case 3:e.next=9;break;case 5:e.prev=5,e.t0=e.catch(0),console.error(e.t0),ue.ZP.error(e.t0);case 9:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(){return e.apply(this,arguments)}}(),h=function(){var e=(0,ne.Z)(oe().mark((function e(){return oe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Me({icon:(0,r.jsx)(se.Z,{}),content:"Are you sure you want to remove this message from ".concat(o,"?"),onOk:function(){d()}});case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),p=function(){var e=(0,ne.Z)(oe().mark((function e(){return oe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Me({icon:(0,r.jsx)(se.Z,{}),content:"Are you sure you want to ban ".concat(o," from chat?"),onOk:function(){u()}});case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),m=(0,r.jsx)(de.Z,{onClick:function(e){var t=e.key;"hide-message"===t?h():"ban-user"===t?p():"more-info"===t&&l(!0)},items:[{label:(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:Ze().icon,children:(0,r.jsx)(ae.Z,{})}),"Hide Message"]}),key:"hide-message"},{label:(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:Ze().icon,children:(0,r.jsx)(ie.Z,{})}),"Ban User"]}),key:"ban-user"},{label:(0,r.jsx)("div",{children:"More Info..."}),key:"more-info"}]});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(he.Z,{overlay:m,trigger:["click"],children:(0,r.jsx)("button",{type:"button",onClick:function(e){return e.preventDefault()},children:(0,r.jsx)(pe.Z,{children:(0,r.jsx)(ce.Z,{})})})}),(0,r.jsx)(le.Z,{visible:i,okText:"Ban User",okButtonProps:{danger:!0},onOk:u,onCancel:function(){l(!1)},children:(0,r.jsx)(ke,{userId:n,accessToken:s})})]})}function Ee(e){var t=e.message,n=e.highlightString,o=e.showModeratorMenu,s=e.sentBySelf,a=e.sameUserAsLast,i=e.isAuthorModerator,l=e.isAuthorAuthenticated,d=t.id,h=t.body,p=t.user,m=t.timestamp,f=p.id,x=p.displayName,g=p.displayColor,v="var(--theme-user-colors-".concat(g,")"),j="Sent ".concat(te(m)),_=(0,c.useState)(h),y=_[0],w=_[1],C=[i&&"mod",l&&"auth"].filter((function(e){return!!e})).map((function(e){return(0,r.jsx)(J,{badge:e,userColor:g},e)}));return(0,c.useEffect)((function(){w(X().decode(h))}),[t]),(0,r.jsx)("div",{className:Q()(ee().messagePadding,a&&ee().messagePaddingCollapsed),children:(0,r.jsxs)("div",{className:Q()(ee().root,(0,G.Z)({},ee().ownMessage,s)),style:{borderColor:v},children:[!a&&(0,r.jsx)(u.Z,{title:"user info goes here",placement:"topLeft",mouseEnterDelay:1,children:(0,r.jsxs)("div",{className:ee().user,style:{color:v},children:[(0,r.jsx)("span",{className:ee().userName,children:x}),(0,r.jsx)("span",{children:C})]})}),(0,r.jsx)(u.Z,{title:j,mouseEnterDelay:1,children:(0,r.jsx)(F.y,{search:n,children:(0,r.jsx)("div",{className:ee().message,children:y})})}),o&&(0,r.jsx)("div",{className:ee().modMenuWrapper,children:(0,r.jsx)(Te,{messageID:d,accessToken:"",userID:f,userDisplayName:x})}),(0,r.jsx)("div",{className:ee().customBorder,style:{color:v}}),(0,r.jsx)("div",{className:ee().background,style:{color:v}})]})})}var Ae=n(26042),Ue=n(69396),Be=n(93045),Fe=n(27496),Pe=n(55241),Oe=n(77493),Le=n(96391),He=n(57741);function Re(e){var t=(0,c.useState)([]),n=t[0],o=t[1],s=e.onEmojiSelect,a=(0,c.useRef)(),i=function(){var e=(0,ne.Z)(oe().mark((function e(){var t,n;return oe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch("/api/emoji");case 3:return t=e.sent,e.next=6,t.json();case 6:n=e.sent,o(n),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(0),console.error("cannot fetch custom emoji",e.t0);case 13:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(){return e.apply(this,arguments)}}();return(0,c.useEffect)((function(){i()}),[]),(0,c.useEffect)((function(){(0,He.wU)({rootElement:a.current,custom:n}).addEventListener("emoji:select",(function(e){console.log("Emoji selected:",e.emoji),s(e)}))}),[n]),(0,r.jsx)("div",{ref:a})}var De=n(25882),Ie=n.n(De),Je=function(e){var t=e.element;return(0,r.jsx)("img",{src:t.url,alt:"emoji",style:{display:"inline",position:"relative",width:"30px",bottom:"10px"}})},ze=function(e){var t=e.attributes,n=e.children;return"image"===e.element.type?(0,r.jsx)(Je,(0,Ae.Z)({},e)):(0,r.jsx)("p",(0,Ue.Z)((0,Ae.Z)({},t),{children:n}))},Ve=function(e){if(Oe.xv.isText(e))return e.text;var t=e.children.map((function(e){return Ve(e)})).join("");switch(e.type){case"paragraph":return"

".concat(t,"

");case"image":return'emoji');default:return t}};function We(e){var t=(0,c.useState)(!1),n=t[0],o=t[1],a=(0,s.sJ)(l.Gt),i=(0,c.useState)((function(){return function(e){var t=e.isVoid;return e.isVoid=function(e){return"image"===e.type||t(e)},e.isInline=function(e){return"image"===e.type},e}((0,Le.BU)((0,Oe.Jh)()))})),u=i[0],d=function(){if(a){var e=Ve(u);a.send({type:S.C.CHAT,body:e}),Oe.YR.select(u,[0,u.children.length-1]),Oe.YR.delete(u)}else console.log("websocketService is not defined")};return(0,r.jsx)("div",{children:(0,r.jsxs)("div",{className:Ie().root,children:[(0,r.jsxs)(Le.mH,{editor:u,value:[{type:"paragraph",children:[{text:""}]}],onChange:function(){},children:[(0,r.jsx)(Le.CX,{onKeyDown:function(e){"Enter"===e.key&&(e.preventDefault(),d())},renderElement:function(e){return(0,r.jsx)(ze,(0,Ae.Z)({},e))},placeholder:"Chat message goes here...",style:{width:"100%"},autoFocus:!0}),(0,r.jsx)(Pe.Z,{content:(0,r.jsx)(Re,{onEmojiSelect:function(e){if(Le.F3.focus(u),e.url)e.url;else{var t=e.emoji;Oe.YR.insertText(u,t)}}}),trigger:"click",onVisibleChange:function(e){return o(e)},visible:n})]}),(0,r.jsx)("button",{type:"button",className:Ie().emojiButton,title:"Emoji picker button",onClick:function(){return o(!n)},children:(0,r.jsx)(Be.Z,{})}),(0,r.jsx)(C.Z,{className:Ie().sendButton,size:"large",type:"ghost",icon:(0,r.jsx)(Fe.Z,{}),onClick:d})]})})}We.defaultProps={value:""};var Ye=n(75347),Ge=n.n(Ye);function qe(){var e=(0,s.sJ)(l.j$),t=(0,s.sJ)(l.w4),n=(0,s.sJ)(l.uy),o=(0,s.sJ)(l.fE);return(0,r.jsx)(w.ZP,{className:Ge().root,collapsedWidth:0,width:320,children:(0,r.jsx)(V,{messages:e,usernameToHighlight:t,chatUserId:n,isModerator:o})})}var Xe=n(35603),Ke=n.n(Xe),Qe=o.Z.Footer;function $e(e){var t=e.version;return(0,r.jsx)(Qe,{className:Ke().footer,children:(0,r.jsx)("a",{href:"https://owncast.online",children:t})})}var et=n(828),tt=n(87961),nt=n(73682),rt=n(28105),ot=n.n(rt);function st(e){var t=e.content;return(0,r.jsx)("div",{className:ot().pageContentContainer,children:(0,r.jsx)("div",{className:ot().customPageContent,dangerouslySetInnerHTML:{__html:t}})})}var at=n(14633),it=n(3698),ct=n(24093),lt=n(4300),ut=n.n(lt);function dt(e){var t=e.follower;return(0,r.jsx)("div",{className:ut().follower,children:(0,r.jsx)("a",{href:t.link,target:"_blank",rel:"noreferrer",children:(0,r.jsxs)(me.Z,{wrap:!1,children:[(0,r.jsx)(fe.Z,{span:6,children:(0,r.jsx)(ct.C,{src:t.image,alt:"Avatar",className:ut().avatar,children:(0,r.jsx)("img",{src:"/logo",alt:"Logo",className:ut().placeholder})})}),(0,r.jsxs)(fe.Z,{children:[(0,r.jsx)(me.Z,{children:t.name}),(0,r.jsx)(me.Z,{className:ut().account,children:t.username})]})]})})})}function ht(){var e=(0,c.useState)([]),t=e[0],n=e[1],o=(0,c.useState)(0),s=o[0],a=o[1],i=(0,c.useState)(1),l=i[0],u=i[1],d=Math.ceil(s/24),h=function(){var e=(0,ne.Z)(oe().mark((function e(){var t,r;return oe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch("".concat("/api/followers","?page=").concat(l));case 3:return t=e.sent,e.next=6,t.json();case 6:r=e.sent,n(r.response),a(r.total),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(0),console.error(e.t0);case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(){return e.apply(this,arguments)}}();(0,c.useEffect)((function(){h()}),[]),(0,c.useEffect)((function(){h()}),[l]);var p=(0,r.jsx)("div",{children:"A message explaining how to follow goes here since there are no followers."});return(null===t||void 0===t?void 0:t.length)?(0,r.jsxs)("div",{className:ut().followers,children:[(0,r.jsx)(me.Z,{wrap:!0,gutter:[10,10],justify:"space-around",children:t.map((function(e){return(0,r.jsx)(fe.Z,{children:(0,r.jsx)(dt,{follower:e},e.link)})}))}),(0,r.jsx)(it.Z,{current:l,pageSize:24,total:d||1,onChange:function(e){u(e)},hideOnSinglePage:!0})]}):p}var pt=n(63291),mt=n.n(pt),ft=n(46218),xt=n.n(ft);function gt(e){var t=e.children;return(0,r.jsx)("div",{className:"".concat(xt().row),children:t})}var vt=n(32365),jt=n(49418),_t=n.n(jt);function yt(e){var t=e.action,n=t.url,o=t.title,s=t.description,a=t.icon,i=t.color,l=t.openExternally,u=e.primary,d=void 0!==u&&u,h=(0,c.useState)(!1),p=h[0],m=h[1];return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(C.Z,{type:d?"primary":"default",className:"".concat(_t().button),onClick:function(){l?window.open(n,"_blank"):m(!0)},style:{backgroundColor:i},children:[(0,r.jsx)("img",{src:a,className:"".concat(_t().icon),alt:s}),o]}),(0,r.jsx)(vt.Z,{title:s||o,url:n,visible:p,height:"80vh",handleCancel:function(){return m(!1)}})]})}yt.defaultProps={primary:!1};var wt=n(97937),Ct=n(18668),bt=n.n(Ct);function Nt(e){var t=e.children,n=e.visible,o=e.notificationClicked,s=e.notificationClosed,a=(0,c.useState)(n),i=a[0],l=a[1],u=(0,c.useState)(!1),d=u[0],h=u[1];(0,c.useEffect)((function(){l(n)}),[n]),(0,c.useEffect)((function(){h(!0)}),[]);var p=(0,r.jsx)("div",{className:bt().title,children:"Stay updated!"}),m=function(e){e.stopPropagation(),o()},f=(0,r.jsxs)("div",{onClick:m,onKeyDown:m,role:"menuitem",tabIndex:0,children:[(0,r.jsx)("button",{type:"button",className:bt().closebutton,onClick:function(e){e.stopPropagation(),l(!1),s()},children:(0,r.jsx)(wt.Z,{})}),(0,r.jsxs)("div",{className:bt().contentbutton,children:["Click and never miss",(0,r.jsx)("br",{}),"future streams!"]})]});return d&&(0,r.jsx)(Pe.Z,{placement:"topLeft",defaultVisible:i,visible:i,destroyTooltipOnHide:!0,title:p,content:f,overlayInnerStyle:{borderRadius:"5px",cursor:"pointer",paddingTop:"10px",paddingRight:"10px",fontSize:"16px"},children:t})}var kt=n(1698),St=n(34447),Zt=n(14670),Mt=n(69677),Tt=n(42288),Et=n.n(Tt);function At(e){var t=e.handleClose,n=e.account,o=e.name,s=(0,c.useState)(null),a=s[0],i=s[1],l=(0,c.useState)(!1),u=l[0],d=l[1],h=(0,c.useState)(!1),p=h[0],m=h[1],f=(0,c.useState)(null),x=f[0],g=f[1],v=function(e){i(e),!function(e){var t=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(t).toLowerCase())}(e)?d(!1):d(!0)},j=function(){var e=(0,ne.Z)(oe().mark((function e(){var n,r,o,s;return oe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(u){e.next=2;break}return e.abrupt("return");case 2:return m(!0),e.prev=3,n=a.replace(/^@+/,""),r={account:n},e.next=8,fetch("/api/remotefollow",{method:"POST",body:JSON.stringify(r)});case 8:return o=e.sent,e.next=11,o.json();case 11:if((s=e.sent).redirectUrl&&(window.open(s.redirectUrl,"_blank"),t()),s.success){e.next=17;break}return g(s.message),m(!1),e.abrupt("return");case 17:if(s.redirectUrl){e.next=21;break}return g("Unable to follow."),m(!1),e.abrupt("return");case 21:e.next=26;break;case 23:e.prev=23,e.t0=e.catch(3),g(e.t0.message);case 26:m(!1);case 27:case"end":return e.stop()}}),e,null,[[3,23]])})));return function(){return e.apply(this,arguments)}}();return(0,r.jsxs)(pe.Z,{direction:"vertical",children:[(0,r.jsxs)("div",{className:Et().header,children:["By following this stream you'll get notified on the Fediverse when it goes live. Now is a great time to",(0,r.jsx)("a",{href:"https://owncast.online/join-fediverse",target:"_blank",rel:"noreferrer",children:"learn about the Fediverse"}),"if it's new to you."]}),(0,r.jsxs)(xe.Z,{spinning:p,children:[x&&(0,r.jsx)(Zt.Z,{message:"Follow Error",description:x,type:"error",showIcon:!0}),(0,r.jsxs)("div",{className:Et().account,children:[(0,r.jsx)("img",{src:"/logo",alt:"logo",className:Et().logo}),(0,r.jsxs)("div",{className:Et().username,children:[(0,r.jsx)("div",{className:Et().name,children:o}),(0,r.jsx)("div",{children:n})]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:Et().instructions,children:"Enter your username @server to follow"}),(0,r.jsx)(Mt.Z,{value:n,size:"large",onChange:function(e){return v(e.target.value)},placeholder:"Your fediverse account @account@server",defaultValue:n}),(0,r.jsx)("div",{className:Et().footer,children:"You'll be redirected to your Fediverse server and asked to confirm the action."})]}),(0,r.jsxs)(pe.Z,{className:Et().buttons,children:[(0,r.jsx)(C.Z,{disabled:!u,type:"primary",onClick:j,children:"Follow"}),(0,r.jsx)(C.Z,{onClick:function(){window.open("https://owncast.online/join-fediverse","_blank")},type:"primary",children:"Join the Fediverse"})]})]})]})}function Ut(e){var t=(0,c.useState)(!1),n=t[0],o=t[1],a=(0,s.sJ)(l.g1),i=a.name,u=a.federation.account;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(C.Z,(0,Ue.Z)((0,Ae.Z)({},e),{type:"primary",className:_t().button,icon:(0,r.jsx)(St.Z,{}),onClick:function(){o(!0)},children:"Follow"})),(0,r.jsx)(vt.Z,{title:"Follow ".concat(i),visible:n,handleCancel:function(){return o(!1)},width:"550px",height:"200px",children:(0,r.jsx)(At,{account:u,name:i,handleClose:function(){return o(!1)}})})]})}var Bt=n(71578);function Ft(e){var t=e.onClick;return(0,r.jsx)(C.Z,{type:"primary",className:"".concat(_t().button),icon:(0,r.jsx)(Bt.Z,{}),onClick:t,children:"Notify"})}var Pt=n(84485);function Ot(e,t,n){return Lt.apply(this,arguments)}function Lt(){return(Lt=(0,ne.Z)(oe().mark((function e(t,n,r){var o;return oe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"/api/notifications/register",o={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({channel:t,destination:n})},e.prev=2,e.next=5,fetch("".concat("/api/notifications/register","?accessToken=").concat(r),o);case 5:e.next=10;break;case 7:e.prev=7,e.t0=e.catch(2),console.error(e.t0);case 10:case"end":return e.stop()}}),e,null,[[2,7]])})))).apply(this,arguments)}function Ht(e){for(var t=(e+"=".repeat((4-e.length%4)%4)).replace(/-/g,"+").replace(/_/g,"/"),n=window.atob(t),r=new Uint8Array(n.length),o=0;o0&&a.map((function(e){return(0,r.jsxs)("span",{children:["#",e,"\xa0"]},e)}))}),(0,r.jsx)("div",{className:Q()(en().socialLinks,en().row),children:(0,r.jsx)(Qt,{links:i})})]})]})})}var nn=tt.Z.TabPane,rn=o.Z.Content;function on(){var e=(0,s.sJ)(l.Q),t=(0,s.sJ)(l.g1),n=(0,s.sJ)(l.pT),o=(0,et.Z)((0,s.FV)(l.hz),2),a=o[0],i=o[1],u=(0,s.sJ)(l.YW),d=(0,s.sJ)(l.RI),h=d.viewerCount,p=d.lastConnectTime,m=d.lastDisconnectTime,f=d.streamTitle,x=t.extraPageContent,g=t.version,v=t.name,j=t.summary,_=t.socialHandles,y=t.tags,w=t.externalActions,C=t.offlineMessage,b=(0,c.useState)(!1),N=b[0],k=b[1],S=(0,c.useState)(!1),Z=S[0],M=S[1],T=w.map((function(e){return(0,r.jsx)(yt,{action:e},e.url)})),E=function(){M(!1),k(!1),(0,nt.qQ)(nt.dA.hasDisplayedNotificationModal,!0)},A=function(){var e=window.innerWidth;void 0===a&&i(e<=768),!a&&e<=768&&i(!0),a&&e>768&&i(!1)};(0,c.useEffect)((function(){!function(){var e=parseInt((0,nt.$o)(nt.dA.userVisitCount),10);Number.isNaN(e)&&(e=0),(0,nt.qQ)(nt.dA.userVisitCount,e+1),e>2&&!(0,nt.$o)(nt.dA.hasDisplayedNotificationModal)&&k(!0)}(),A(),window.addEventListener("resize",A)}),[]);var U=Q()(mt().root,(0,G.Z)({},mt().mobile,a));return(0,r.jsxs)(rn,{className:U,children:[(0,r.jsxs)("div",{className:mt().leftContent,children:[(0,r.jsx)(xe.Z,{className:mt().loadingSpinner,size:"large",spinning:e.appLoading}),(0,r.jsxs)("div",{className:mt().topSection,children:[u&&(0,r.jsx)(at.Z,{source:"/hls/stream.m3u8",online:u}),!u&&(0,r.jsx)(kt.Z,{name:v,text:C||"Please follow and ask to get notified when the stream is live."}),(0,r.jsx)(un.Z,{online:u,lastConnectTime:p,lastDisconnectTime:m,viewerCount:h})]}),(0,r.jsx)("div",{className:mt().midSection,children:(0,r.jsxs)("div",{className:mt().buttonsLogoTitleSection,children:[(0,r.jsxs)(gt,{children:[T,(0,r.jsx)(Ut,{size:"small"}),(0,r.jsx)(Nt,{visible:N,notificationClicked:function(){return M(!0)},notificationClosed:function(){return E()},children:(0,r.jsx)(Ft,{onClick:function(){return M(!0)}})})]}),(0,r.jsx)(vt.Z,{title:"Notify",visible:Z,afterClose:function(){return E()},handleCancel:function(){return E()},children:(0,r.jsx)(qt,{})})]})}),(0,r.jsx)("div",{className:mt().lowerHalf,children:(0,r.jsx)(tn,{name:v,title:f,summary:j,tags:y,links:_,logo:"/logo"})}),(0,r.jsxs)("div",{className:mt().lowerSection,children:[(0,r.jsxs)(tt.Z,{defaultActiveKey:"0",style:{height:"100%"},children:[n&&a&&(0,r.jsx)(nn,{tab:"Chat",style:{height:"100%"}},"0"),(0,r.jsx)(nn,{tab:"About",className:mt().pageContentSection,children:(0,r.jsx)(st,{content:x})},"2"),(0,r.jsx)(nn,{tab:"Followers",className:mt().pageContentSection,children:(0,r.jsx)(ht,{})},"3")]}),!a&&(0,r.jsx)($e,{version:g})]})]}),n&&!a&&(0,r.jsx)(qe,{})]})}var sn=n(79216),an=n(7918),cn=n.n(an);function ln(e){var t=e.src;return(0,r.jsx)("div",{className:cn().root,children:(0,r.jsx)("div",{className:cn().container,children:(0,r.jsx)(sn.Z,{src:t,alt:"Logo",className:cn().image,rootClassName:cn().image})})})}var un=n(36887),dn=n(60536),hn=n.n(dn);function pn(e){var t=e.title,n=e.message;return(0,r.jsxs)(le.Z,{title:t,visible:!0,footer:null,closable:!1,keyboard:!1,width:900,centered:!0,className:"modal",children:[(0,r.jsx)(hn(),{id:"56f94180e07a07dd",children:".modal .ant-modal-content,.modal .ant-modal-header{background-color:var(--warning-color)}"}),(0,r.jsx)("p",{className:"jsx-56f94180e07a07dd",children:n})]})}var mn=n(82670);var fn=function(){var e=(0,s.sJ)(l.g1),t=e.name,n=e.title,a=e.customStyles,u=(0,s.sJ)(l.di),d=(0,s.sJ)(l.ap),h=(0,c.useRef)(null);return(0,c.useEffect)((function(){!function(e){var t=function(e){e.setAttribute("rel","noopener noreferrer ")};e.querySelectorAll("a").forEach((function(e){return t(e)})),new MutationObserver((function(e){var n=!0,r=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(n=(s=a.next()).done);n=!0){var i=s.value,c=!0,l=!1,u=void 0;try{for(var d,h=i.addedNodes[Symbol.iterator]();!(c=(d=h.next()).done);c=!0){var p=d.value;(0,mn.Z)(p,HTMLElement)&&"a"===p.tagName.toLowerCase()&&t(p)}}catch(m){l=!0,u=m}finally{try{c||null==h.return||h.return()}finally{if(l)throw u}}}}catch(m){r=!0,o=m}finally{try{n||null==a.return||a.return()}finally{if(r)throw o}}})).observe(e,{attributes:!1,childList:!0,subtree:!0})}(h.current)}),[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(i(),{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)("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"}),(0,r.jsx)("style",{children:a})]}),(0,r.jsx)(l.me,{}),(0,r.jsxs)(o.Z,{ref:h,children:[(0,r.jsx)(x,{name:n||t,chatAvailable:u}),(0,r.jsx)(on,{}),d&&(0,r.jsx)(pn,{title:d.title,message:d.message})]})]})};function xn(){return(0,r.jsx)(fn,{})}},49418:function(e){e.exports={button:"ActionButton_button__8GQFL",icon:"ActionButton_icon__g9rfM"}},46218:function(e){e.exports={row:"ActionButtons_row__asg2y"}},13545:function(e){e.exports={chatHeader:"ChatContainer_chatHeader__EJsYI",toBottomWrap:"ChatContainer_toBottomWrap__3V5wa",nameChangeView:"ChatContainer_nameChangeView__ziyXN",nameChangeText:"ChatContainer_nameChangeText__yXG__",plain:"ChatContainer_plain__IPS19"}},83066:function(e){e.exports={join:"ChatJoinMessage_join__fP0IQ"}},31833:function(e){e.exports={icon:"ChatModerationActionMenu_icon__9j6DF"}},91391:function(e){e.exports={modalContainer:"ChatModerationDetailsModal_modalContainer__9cyjY",chatHistory:"ChatModerationDetailsModal_chatHistory__O2jaB",colorBlock:"ChatModerationDetailsModal_colorBlock__ev2E8"}},93174:function(e){e.exports={chatModerationNotification:"ChatModeratorNotification_chatModerationNotification__kgFWe",icon:"ChatModeratorNotification_icon__7FdGg"}},31681:function(e){e.exports={chatSystemMessage:"ChatSystemMessage_chatSystemMessage__c6XEN",user:"ChatSystemMessage_user__6yHSJ",message:"ChatSystemMessage_message__ySq5g"}},25882:function(e){e.exports={root:"ChatTextField_root__4oUkJ",inputWrapper:"ChatTextField_inputWrapper__qBEWv",submitButtonWrapper:"ChatTextField_submitButtonWrapper__YBPMe",sendButton:"ChatTextField_sendButton__MOmD4",emojiButton:"ChatTextField_emojiButton__ON_Cu"}},79010:function(e){e.exports={badge:"ChatUserBadge_badge__1EdUp"}},78583:function(e){e.exports={root:"ChatUserMessage_root__79heB",user:"ChatUserMessage_user__xUEp9",message:"ChatUserMessage_message__MJ9LD",customBorder:"ChatUserMessage_customBorder__YudkU",ownMessage:"ChatUserMessage_ownMessage__d28A3",background:"ChatUserMessage_background__Tfghp",modMenuWrapper:"ChatUserMessage_modMenuWrapper__7fblv",messagePadding:"ChatUserMessage_messagePadding__Xp1F6",messagePaddingCollapsed:"ChatUserMessage_messagePaddingCollapsed__qxN0E"}},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"}},71121:function(e){e.exports={pushPreview:"BrowserNotifyModal_pushPreview__87oXX",inner:"BrowserNotifyModal_inner__M7joz",title:"BrowserNotifyModal_title__mtuWS",permissionLine:"BrowserNotifyModal_permissionLine__6BMbw",buttonRow:"BrowserNotifyModal_buttonRow__M94pj",disabled:"BrowserNotifyModal_disabled__ErJzX",allow:"BrowserNotifyModal_allow__6VHkV"}},42288:function(e){e.exports={header:"FollowModal_header__sJdVk",buttons:"FollowModal_buttons__MoVO0",instructions:"FollowModal_instructions__8x9jJ",footer:"FollowModal_footer__Yw5UB",account:"FollowModal_account__wG_UC",logo:"FollowModal_logo__d7tS5",username:"FollowModal_username__w9KO6",name:"FollowModal_name__wGMmS"}},63291:function(e){e.exports={root:"Content_root__h1mNK",topSection:"Content_topSection__JIZi0",lowerSection:"Content_lowerSection__BZHYI",leftCol:"Content_leftCol__U2TDq",loadingSpinner:"Content_loadingSpinner__mDlYC",mobile:"Content_mobile__Ep0QM",mobileChat:"Content_mobileChat__5V09A"}},28105:function(e){e.exports={pageContentContainer:"CustomPageContent_pageContentContainer__EG4tU",customPageContent:"CustomPageContent_customPageContent__Mr981",summary:"CustomPageContent_summary___Zgps"}},4300:function(e){e.exports={follower:"Followers_follower__I5QSp",avatar:"Followers_avatar__F9UDU",account:"Followers_account__3FOSk",placeholder:"Followers_placeholder__Wziqm",followers:"Followers_followers__7O5WG"}},35603:function(e){e.exports={footer:"Footer_footer__mPuvf"}},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"}},18668:function(e){e.exports={contentbutton:"NotifyReminderPopup_contentbutton__a_tsp",closebutton:"NotifyReminderPopup_closebutton__GVcP3",title:"NotifyReminderPopup_title__Dm9Iy"}},75347:function(e){e.exports={root:"Sidebar_root__8HE0A"}},52740:function(e){e.exports={link:"SocialLinks_link___CcSm",links:"SocialLinks_links__gOAb7"}}},function(e){e.O(0,[2544,1272,8700,384,5938,2001,1082,6175,4935,9774,2888,179],(function(){return t=48312,e(e.s=t);var t}));var t=e.O();_N_E=t}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/webpack-b91d456df95b510b.js b/static/web/_next/static/chunks/webpack-16b91caf46be5b39.js similarity index 83% rename from static/web/_next/static/chunks/webpack-b91d456df95b510b.js rename to static/web/_next/static/chunks/webpack-16b91caf46be5b39.js index d765f27fe..3d5102d43 100644 --- a/static/web/_next/static/chunks/webpack-b91d456df95b510b.js +++ b/static/web/_next/static/chunks/webpack-16b91caf46be5b39.js @@ -1 +1 @@ -!function(){"use strict";var e={},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var u=t[r]={id:r,loaded:!1,exports:{}},i=!0;try{e[r].call(u.exports,u,u.exports,n),i=!1}finally{i&&delete t[r]}return u.loaded=!0,u.exports}n.m=e,n.amdO={},function(){var e=[];n.O=function(t,r,o,u){if(!r){var i=1/0;for(d=0;d=u)&&Object.keys(n.O).every((function(e){return n.O[e](r[f])}))?r.splice(f--,1):(c=!1,u0&&e[d-1][2]>u;d--)e[d]=e[d-1];e[d]=[r,o,u]}}(),n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"===typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"===typeof r.then)return r}var u=Object.create(null);n.r(u);var i={};e=e||[null,t({}),t([]),t(t)];for(var c=2&o&&r;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((function(e){i[e]=function(){return r[e]}}));return i.default=function(){return r},n.d(u,i),u}}(),n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,r){return n.f[r](e,t),t}),[]))},n.u=function(e){return"static/chunks/"+e+".95543cd3023fceae.js"},n.miniCssF=function(e){return"static/css/"+{1142:"1f5ee95fffd43a71",2001:"e70d97a4c102bec4",2888:"91e4ab60dfe69289",3126:"ce9a7f431af57e09",5405:"3e4c3896d8ebfbb6"}[e]+".css"},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={},t="_N_E:";n.l=function(r,o,u,i){if(e[r])e[r].push(o);else{var c,f;if(void 0!==u)for(var a=document.getElementsByTagName("script"),d=0;d=u)&&Object.keys(n.O).every((function(e){return n.O[e](r[f])}))?r.splice(f--,1):(c=!1,u0&&e[l-1][2]>u;l--)e[l]=e[l-1];e[l]=[r,o,u]}}(),n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"===typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"===typeof r.then)return r}var u=Object.create(null);n.r(u);var i={};e=e||[null,t({}),t([]),t(t)];for(var c=2&o&&r;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((function(e){i[e]=function(){return r[e]}}));return i.default=function(){return r},n.d(u,i),u}}(),n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,r){return n.f[r](e,t),t}),[]))},n.u=function(e){return"static/chunks/"+e+".95543cd3023fceae.js"},n.miniCssF=function(e){return"static/css/"+{1142:"1f5ee95fffd43a71",2001:"e70d97a4c102bec4",2888:"91e4ab60dfe69289",3126:"ce9a7f431af57e09",5405:"62bb5fcc1246d90e"}[e]+".css"},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={},t="_N_E:";n.l=function(r,o,u,i){if(e[r])e[r].push(o);else{var c,f;if(void 0!==u)for(var a=document.getElementsByTagName("script"),l=0;lp{margin:0}.ChatTextField_root__4oUkJ .ChatTextField_inputWrapper__qBEWv{display:flex;flex-direction:row;position:relative;margin-right:.3rem;border-radius:.2rem}.ChatTextField_root__4oUkJ .ChatTextField_inputWrapper__qBEWv>div{transition:box-shadow .2s ease-in-out}.ChatTextField_root__4oUkJ .ChatTextField_submitButtonWrapper__YBPMe{display:flex;padding:6px 0;justify-content:flex-end}.ChatTextField_sendButton__MOmD4{display:none}@media(max-width:768px){.ChatTextField_sendButton__MOmD4{display:inline;margin-left:5px}}.ChatTextField_emojiButton__ON_Cu{border:none;background:none;cursor:pointer;padding:0 1rem}.Sidebar_root__8HE0A{background-color:var(--theme-color-components-chat-background);display:none;--header-h:64px}@media(min-width:768px){.Sidebar_root__8HE0A{position:-webkit-sticky;position:sticky;top:var(--header-h);display:block;height:calc(100vh - var(--header-h));max-height:calc(100vh - var(--header-h))}}.Sidebar_root__8HE0A>div{display:flex;flex-flow:column nowrap;flex-grow:1!important;height:100%!important}.Footer_footer__mPuvf{font-size:.85em;font-weight:500;color:var(--theme-color-palette-1);background-color:transparent;padding:var(--content-padding)}.CustomPageContent_pageContentContainer__EG4tU{display:flex;justify-content:center;align-items:center}.CustomPageContent_customPageContent__Mr981{font-size:16px;line-height:1.5em;margin:0;padding:0;color:var(--theme-color-palette-0);background-color:var(--theme-color-palette-4);padding:calc(3*var(--content-padding));border-radius:var(--theme-rounded-corners)}@media only screen and (max-width:768px){.CustomPageContent_customPageContent__Mr981{width:100%}}.CustomPageContent_customPageContent__Mr981 hr{margin:1.35em 0;border:0;border-top:1px solid var(--theme-text-secondary)}.CustomPageContent_customPageContent__Mr981 div.CustomPageContent_summary___Zgps{font-size:18px}.Player_player__6VqUk{height:auto!important;width:100%}.Player_player__6VqUk video{position:static!important}.Player_poster____6gX{width:100%;height:100%}@media(max-width:768px){.Player_player__6VqUk{height:30vh!important}}.VideoPoster_poster__YgWm_{background-color:#000;display:flex;justify-content:center;width:100%;height:100%}.Followers_follower__I5QSp{border:1px solid rgba(0,0,0,.3);padding:10px;border-radius:15px;height:75px;width:250px;font-size:.8rem;overflow:hidden}.Followers_follower__I5QSp:hover{border-color:var(--theme-text-link)}.Followers_follower__I5QSp .Followers_avatar__F9UDU{height:50px;width:50px;border:1px solid rgba(0,0,0,.3)}.Followers_follower__I5QSp .Followers_account__3FOSk{color:var(--theme-text-secondary);text-overflow:ellipsis}.Followers_follower__I5QSp .Followers_placeholder__Wziqm{width:100%;height:100%}.Followers_followers__7O5WG{width:100%}.ActionButtons_row__asg2y{padding:.3rem;display:flex;align-items:center;justify-content:flex-end}.ActionButtons_row__asg2y button{margin-left:.3rem;margin-right:.3rem}.ActionButton_button__8GQFL{margin:3px}.ActionButton_button__8GQFL .ActionButton_icon__g9rfM{width:20px;margin-right:3px}.NotifyReminderPopup_contentbutton__a_tsp{background-color:transparent;border:none;text-align:left;cursor:pointer}.NotifyReminderPopup_closebutton__GVcP3{position:absolute;right:10px;top:10px;background-color:transparent;border:none;font-size:20px;cursor:pointer}.NotifyReminderPopup_title__Dm9Iy{border-bottom:none;font-weight:700;padding-left:5px}.OfflineBanner_outerContainer__3AbsB{display:flex;justify-content:center}.OfflineBanner_innerContainer__zTm13{width:clamp(200px,100%,300px);display:flex;flex-direction:column;color:var(--theme-color-components-text-on-light);background-color:var(--theme-color-background-main);margin:1rem auto;border-radius:var(--theme-rounded-corners);padding:1rem}.OfflineBanner_header__Vu20o{font-weight:700}.OfflineBanner_footer__o3Zl5{margin-top:20px}.FollowModal_header__sJdVk{font-family:var(--theme-text-display-font-family);font-size:.8rem}.FollowModal_buttons__MoVO0{display:flex;justify-content:flex-end;margin-top:10px}.FollowModal_instructions__8x9jJ{font-family:var(--theme-text-display-font-family);font-size:.7rem;font-weight:600}.FollowModal_footer__Yw5UB{font-size:.5rem}.FollowModal_account__wG_UC{display:flex;flex-direction:row;margin-top:5px;margin-bottom:10px;font-size:.8rem}.FollowModal_account__wG_UC .FollowModal_logo__d7tS5{border-radius:50%;width:4em;height:4em}.FollowModal_account__wG_UC .FollowModal_username__w9KO6{display:flex;flex-direction:column;margin-left:10px;margin-top:5px}.FollowModal_account__wG_UC .FollowModal_username__w9KO6 .FollowModal_name__wGMmS{font-weight:600}.BrowserNotifyModal_pushPreview__87oXX{border-style:dashed;border-width:2px;width:30vw}.BrowserNotifyModal_pushPreview__87oXX .BrowserNotifyModal_inner__M7joz{margin:10px;padding:15px;background-color:#fff;box-shadow:2px 6px 7px 0 #87898d}.BrowserNotifyModal_pushPreview__87oXX .BrowserNotifyModal_inner__M7joz .BrowserNotifyModal_title__mtuWS{font-weight:700}.BrowserNotifyModal_pushPreview__87oXX .BrowserNotifyModal_inner__M7joz .BrowserNotifyModal_permissionLine__6BMbw{margin-top:5px}.BrowserNotifyModal_pushPreview__87oXX .BrowserNotifyModal_inner__M7joz .BrowserNotifyModal_buttonRow__M94pj{display:flex;flex-direction:row;justify-content:flex-end}.BrowserNotifyModal_pushPreview__87oXX .BrowserNotifyModal_inner__M7joz .BrowserNotifyModal_buttonRow__M94pj .BrowserNotifyModal_disabled__ErJzX{cursor:not-allowed;outline-width:1;outline-color:"#e2e8f0";outline-style:"solid";background-color:#fff}.BrowserNotifyModal_pushPreview__87oXX .BrowserNotifyModal_inner__M7joz .BrowserNotifyModal_buttonRow__M94pj .BrowserNotifyModal_allow__6VHkV{background-color:var(--theme-primary-color)}.BrowserNotifyModal_pushPreview__87oXX .BrowserNotifyModal_inner__M7joz .BrowserNotifyModal_buttonRow__M94pj button{margin-left:10px;padding:4px 15px;border-radius:3px;border-style:solid}.SocialLinks_link___CcSm{width:1.8em;margin-right:16px}.SocialLinks_links__gOAb7{display:flex;align-items:center;justify-content:flex-start;margin-top:5px}.ContentHeader_root__HaUG0{position:relative;display:grid;padding:20px}.ContentHeader_row__9Q8gH{margin-bottom:7px}.ContentHeader_logoTitleSection__Z8pUc{display:flex}@media(max-width:768px){.ContentHeader_logoTitleSection__Z8pUc{flex-direction:column}.ContentHeader_logoTitleSection__Z8pUc .ContentHeader_logo__wo_HN{margin:10px auto}}.ContentHeader_titleSection___6Y15{display:flex;flex-direction:column;margin-left:10px}.ContentHeader_titleSection___6Y15 .ContentHeader_title__E_DsI{font-family:var(--theme-text-display-font-family);color:var(--theme-color-palette-0);font-size:32px;font-weight:700;line-height:30px}.ContentHeader_titleSection___6Y15 .ContentHeader_subtitle__n1Wew{font-size:22px;font-weight:300;line-height:1.3;color:var(--theme-color-background-header)}.ContentHeader_tagList__rx3jY{color:var(--theme-color-palette-10)}.ContentHeader_tagList__rx3jY span{display:inline-block;margin-right:8px;font-size:14px;font-weight:500}.Content_root__h1mNK{display:grid;grid-template-columns:1fr auto;background-color:var(--theme-color-background-main)}.Content_root__h1mNK .Content_topSection__JIZi0{padding:0;background-color:var(--theme-color-components-video-background)}.Content_root__h1mNK .Content_lowerSection__BZHYI{padding:0 2em}.Content_leftCol__U2TDq{display:flex;flex-direction:column}.Content_loadingSpinner__mDlYC{position:fixed;left:50%;top:50%;z-index:999999}.Content_mobile__Ep0QM.Content_root__h1mNK{display:flex;flex-direction:column;height:calc(100vh - 64px);overflow:hidden}.Content_mobile__Ep0QM.Content_root__h1mNK .Content_topSection__JIZi0{display:grid;grid-template-rows:30vh 5vh 5vh;height:40vh}.Content_mobile__Ep0QM.Content_root__h1mNK .Content_lowerSection__BZHYI{height:60vh}.Content_mobile__Ep0QM .Content_mobileChat__5V09A{position:relative;display:block;height:100%;width:100%}.Logo_root__jKiJC{display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;margin-right:.5rem;width:96px;height:96px;border-radius:50%;border-width:5px;border-style:solid;border-color:var(--theme-color-palette-0);background-color:var(--theme-color-palette-4)}.Logo_container__A4UYT{width:90%;height:90%;border-radius:50%;overflow:hidden}.Logo_image__Ahkom{width:100%;height:100%;background-size:cover;background-position:50%;overflow:hidden}.Statusbar_statusbar__AtVnB{display:flex;align-items:center;font-size:.8rem;justify-content:space-between;height:2rem;width:100%;padding:var(--content-padding);color:var(--theme-color-palette-5)} \ No newline at end of file diff --git a/static/web/_next/static/css/62bb5fcc1246d90e.css b/static/web/_next/static/css/62bb5fcc1246d90e.css new file mode 100644 index 000000000..e439e65f2 --- /dev/null +++ b/static/web/_next/static/css/62bb5fcc1246d90e.css @@ -0,0 +1 @@ +.Header_header__U4Ro1{position:-webkit-sticky;position:sticky;top:0;justify-content:space-between;z-index:20;padding:.4rem .7rem;box-shadow:0 1px 3px 1px rgba(0,0,0,.1);background-color:var(--theme-color-background-header)}.Header_header__U4Ro1,.Header_header__U4Ro1 .Header_logo__HLZ6Z{display:flex;align-items:center}.Header_header__U4Ro1 .Header_logo__HLZ6Z span{color:var(--theme-color-components-text-on-dark);font-family:var(--theme-text-display-font-family);margin-left:.5rem;font-size:1.5rem;font-weight:600}@media(max-width:768px){.Header_header__U4Ro1{line-height:5vh;height:5vh}}.ChatModeratorNotification_chatModerationNotification__kgFWe{background-color:var(--theme-background-primary);margin:5px;border-radius:15px;border:1px solid rgba(0,0,0,.3);padding:10px;max-width:400px;display:flex;justify-content:center;align-items:center}.ChatModeratorNotification_chatModerationNotification__kgFWe .ChatModeratorNotification_icon__7FdGg{margin-right:10px;width:20px;height:20px}.ChatSystemMessage_chatSystemMessage__c6XEN{background:var(--theme-color-background-main);background:linear-gradient(70deg,#4e3672,#411c8b 40%,#534382 80%);margin:5px;border-radius:5px;border-width:1px;border-style:solid;padding:12px;max-width:400px}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_user__6yHSJ{display:flex;align-items:center;font-family:var(--theme-text-display-font-family);font-weight:700;color:#fff}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g{color:#fff}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g p{color:#fff;margin:unset}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g mark{padding-left:.35em;padding-right:.35em;background-color:var(--theme-color-palette-12)}.ChatUserBadge_badge__1EdUp{font-family:var(--theme-text-display-font-family);font-weight:500;font-size:.4em;text-transform:uppercase;padding:2px;border-radius:3px;border-width:1px;border-style:solid;margin-left:3px}.ChatJoinMessage_join__fP0IQ{margin:5px;text-align:center}.ChatContainer_chatHeader__EJsYI{text-align:center;font-weight:700;padding:5px 0;color:var(--text-color-secondary);border-bottom:1px solid var(--color-owncast-gray-700);font-variant:small-caps}.ChatContainer_toBottomWrap__3V5wa{display:flex;opacity:.9;width:100%;justify-content:center;position:absolute;bottom:5px}.ChatContainer_nameChangeView__ziyXN{display:flex;font-size:.9rem;border-radius:var(--theme-rounded-corners);padding:5px 15px;color:var(--color-owncast-gray-300);background-color:var(--color-owncast-background)}.ChatContainer_nameChangeView__ziyXN .ChatContainer_nameChangeText__yXG__{font-weight:700;font-family:var(--theme-text-display-font-family)}.ChatContainer_nameChangeView__ziyXN .ChatContainer_nameChangeText__yXG__ .ChatContainer_plain__IPS19{font-weight:400;font-family:var(--theme-text-body-font-family)!important}.ChatModerationDetailsModal_modalContainer__9cyjY{padding:10px}.ChatModerationDetailsModal_chatHistory__O2jaB{margin:10px;padding:15px;border:1px solid #ccc;border-radius:5px}.ChatModerationDetailsModal_colorBlock__ev2E8{width:50%;height:20px;border:1px solid #000;text-align:center}.ChatModerationActionMenu_icon__9j6DF{padding-right:10px}.ChatUserMessage_root__79heB{position:relative;font-size:.9rem;padding:0 15px 5px 1rem}.ChatUserMessage_root__79heB *{z-index:100}.ChatUserMessage_root__79heB .ChatUserMessage_user__xUEp9{display:flex;align-items:center;font-family:var(--theme-text-display-font-family);font-weight:700}.ChatUserMessage_root__79heB .ChatUserMessage_message__MJ9LD{color:var(--theme-color-components-chat-text)}.ChatUserMessage_root__79heB .ChatUserMessage_message__MJ9LD mark{padding-left:.35em;padding-right:.35em;color:var(--theme-color-palette-12)}.ChatUserMessage_root__79heB .ChatUserMessage_customBorder__YudkU{position:absolute;top:0;left:0;width:5px;height:100%;overflow:hidden}.ChatUserMessage_root__79heB .ChatUserMessage_customBorder__YudkU:after{content:"";width:10px;height:100%;position:absolute;top:0;right:0;background-color:currentColor;border-radius:var(--theme-rounded-corners)}.ChatUserMessage_root__79heB.ChatUserMessage_ownMessage__d28A3 .ChatUserMessage_customBorder__YudkU{left:auto;right:0;opacity:.85}.ChatUserMessage_root__79heB.ChatUserMessage_ownMessage__d28A3 .ChatUserMessage_customBorder__YudkU:after{left:0}.ChatUserMessage_root__79heB.ChatUserMessage_ownMessage__d28A3 .ChatUserMessage_background__Tfghp{position:absolute;z-index:-1;top:0;left:0;width:100%;height:100%;background-color:currentColor;opacity:.07;border-radius:.25rem;overflow:hidden}.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv{position:absolute;display:none;top:0;right:10px}.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv button:active,.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv button:focus{display:block!important}.ChatUserMessage_root__79heB:hover .ChatUserMessage_modMenuWrapper__7fblv{display:block}.ChatUserMessage_messagePadding__Xp1F6{padding:7px 3.5px 0}.ChatUserMessage_messagePaddingCollapsed__qxN0E{padding-top:2px}.ChatTextField_root__4oUkJ{position:relative;display:flex;bottom:0;width:100%;padding:.3rem;color:var(--theme-color-components-form-field-text);overflow-x:hidden}.ChatTextField_root__4oUkJ div[role=textbox]{font-size:.9rem;border-radius:.2rem;padding:.6rem calc(.6rem + 44px) .6rem .6rem;background-color:var(--theme-color-components-form-field-background);border-color:var(--theme-color-components-form-field-border);box-shadow:0;transition:box-shadow 50ms ease-in-out}.ChatTextField_root__4oUkJ div[role=textbox]:focus{box-shadow:inset 0 0 0x 1px var(--color-owncast-purple-700);outline:1px solid var(--color-owncast-gray-500)!important}.ChatTextField_root__4oUkJ div[role=textbox]>p{margin:0}.ChatTextField_root__4oUkJ .ChatTextField_inputWrapper__qBEWv{display:flex;flex-direction:row;position:relative;margin-right:.3rem;border-radius:.2rem}.ChatTextField_root__4oUkJ .ChatTextField_inputWrapper__qBEWv>div{transition:box-shadow .2s ease-in-out}.ChatTextField_root__4oUkJ .ChatTextField_submitButtonWrapper__YBPMe{display:flex;padding:6px 0;justify-content:flex-end}.ChatTextField_sendButton__MOmD4{display:none}@media(max-width:768px){.ChatTextField_sendButton__MOmD4{display:inline;margin-left:5px}}.ChatTextField_emojiButton__ON_Cu{border:none;background:none;cursor:pointer;padding:0 1rem}.Sidebar_root__8HE0A{background-color:var(--theme-color-components-chat-background);display:none;--header-h:64px}@media(min-width:768px){.Sidebar_root__8HE0A{position:-webkit-sticky;position:sticky;top:var(--header-h);display:block;height:calc(100vh - var(--header-h));max-height:calc(100vh - var(--header-h))}}.Sidebar_root__8HE0A>div{display:flex;flex-flow:column nowrap;flex-grow:1!important;height:100%!important}.Footer_footer__mPuvf{display:flex;justify-content:space-between;flex-direction:row;background-color:var(--theme-color-background-header);width:100%;color:var(--theme-color-components-text-on-dark);font-family:var(--theme-text-body-font-family);padding:.6em;font-size:.8rem;font-weight:600;opacity:.7;border-top:1px solid hsla(0,4%,83%,.5)}@media(max-width:768px){.Footer_footer__mPuvf{display:none}}.Footer_footer__mPuvf a{color:var(--theme-text-secondary)}.Footer_footer__mPuvf .Footer_links__7bBxV{display:flex;justify-content:space-between;flex-direction:row}.Footer_footer__mPuvf .Footer_links__7bBxV .Footer_item__rXxSr{margin-left:1.2em}.CustomPageContent_pageContentContainer__EG4tU{display:flex;justify-content:center;align-items:center}.CustomPageContent_customPageContent__Mr981{font-size:16px;line-height:1.5em;margin:0;padding:0;color:var(--theme-color-palette-0);background-color:var(--theme-color-palette-4);padding:calc(3*var(--content-padding));border-radius:var(--theme-rounded-corners)}@media only screen and (max-width:768px){.CustomPageContent_customPageContent__Mr981{width:100%}}.CustomPageContent_customPageContent__Mr981 hr{margin:1.35em 0;border:0;border-top:1px solid var(--theme-text-secondary)}.CustomPageContent_customPageContent__Mr981 div.CustomPageContent_summary___Zgps{font-size:18px}.Player_player__6VqUk{height:auto!important;width:100%}.Player_player__6VqUk video{position:static!important}.Player_poster____6gX{width:100%;height:100%}@media(max-width:768px){.Player_player__6VqUk{height:30vh!important}}.VideoPoster_poster__YgWm_{background-color:#000;display:flex;justify-content:center;width:100%;height:100%}.Followers_follower__I5QSp{border:1px solid rgba(0,0,0,.3);padding:10px;border-radius:15px;height:75px;width:250px;font-size:.8rem;overflow:hidden}.Followers_follower__I5QSp:hover{border-color:var(--theme-text-link)}.Followers_follower__I5QSp .Followers_avatar__F9UDU{height:50px;width:50px;border:1px solid rgba(0,0,0,.3)}.Followers_follower__I5QSp .Followers_account__3FOSk{color:var(--theme-text-secondary);text-overflow:ellipsis}.Followers_follower__I5QSp .Followers_placeholder__Wziqm{width:100%;height:100%}.Followers_followers__7O5WG{width:100%}.ActionButtons_row__asg2y{padding:.3rem;display:flex;align-items:center;justify-content:flex-end}.ActionButtons_row__asg2y button{margin-left:.3rem;margin-right:.3rem}.ActionButton_button__8GQFL{margin:3px}.ActionButton_button__8GQFL .ActionButton_icon__g9rfM{width:20px;margin-right:3px}.NotifyReminderPopup_contentbutton__a_tsp{background-color:transparent;border:none;text-align:left;cursor:pointer}.NotifyReminderPopup_closebutton__GVcP3{position:absolute;right:10px;top:10px;background-color:transparent;border:none;font-size:20px;cursor:pointer}.NotifyReminderPopup_title__Dm9Iy{border-bottom:none;font-weight:700;padding-left:5px}.OfflineBanner_outerContainer__3AbsB{display:flex;justify-content:center}.OfflineBanner_innerContainer__zTm13{width:clamp(200px,100%,300px);display:flex;flex-direction:column;color:var(--theme-color-components-text-on-light);background-color:var(--theme-color-background-main);margin:1rem auto;border-radius:var(--theme-rounded-corners);padding:1rem}.OfflineBanner_header__Vu20o{font-weight:700}.OfflineBanner_footer__o3Zl5{margin-top:20px}.FollowModal_header__sJdVk{font-family:var(--theme-text-display-font-family);font-size:.8rem}.FollowModal_buttons__MoVO0{display:flex;justify-content:flex-end;margin-top:10px}.FollowModal_instructions__8x9jJ{font-family:var(--theme-text-display-font-family);font-size:.7rem;font-weight:600}.FollowModal_footer__Yw5UB{font-size:.5rem}.FollowModal_account__wG_UC{display:flex;flex-direction:row;margin-top:5px;margin-bottom:10px;font-size:.8rem}.FollowModal_account__wG_UC .FollowModal_logo__d7tS5{border-radius:50%;width:4em;height:4em}.FollowModal_account__wG_UC .FollowModal_username__w9KO6{display:flex;flex-direction:column;margin-left:10px;margin-top:5px}.FollowModal_account__wG_UC .FollowModal_username__w9KO6 .FollowModal_name__wGMmS{font-weight:600}.BrowserNotifyModal_pushPreview__87oXX{border-style:dashed;border-width:2px;width:30vw}.BrowserNotifyModal_pushPreview__87oXX .BrowserNotifyModal_inner__M7joz{margin:10px;padding:15px;background-color:#fff;box-shadow:2px 6px 7px 0 #87898d}.BrowserNotifyModal_pushPreview__87oXX .BrowserNotifyModal_inner__M7joz .BrowserNotifyModal_title__mtuWS{font-weight:700}.BrowserNotifyModal_pushPreview__87oXX .BrowserNotifyModal_inner__M7joz .BrowserNotifyModal_permissionLine__6BMbw{margin-top:5px}.BrowserNotifyModal_pushPreview__87oXX .BrowserNotifyModal_inner__M7joz .BrowserNotifyModal_buttonRow__M94pj{display:flex;flex-direction:row;justify-content:flex-end}.BrowserNotifyModal_pushPreview__87oXX .BrowserNotifyModal_inner__M7joz .BrowserNotifyModal_buttonRow__M94pj .BrowserNotifyModal_disabled__ErJzX{cursor:not-allowed;outline-width:1;outline-color:"#e2e8f0";outline-style:"solid";background-color:#fff}.BrowserNotifyModal_pushPreview__87oXX .BrowserNotifyModal_inner__M7joz .BrowserNotifyModal_buttonRow__M94pj .BrowserNotifyModal_allow__6VHkV{background-color:var(--theme-primary-color)}.BrowserNotifyModal_pushPreview__87oXX .BrowserNotifyModal_inner__M7joz .BrowserNotifyModal_buttonRow__M94pj button{margin-left:10px;padding:4px 15px;border-radius:3px;border-style:solid}.SocialLinks_link___CcSm{width:1.8em;margin-right:16px}.SocialLinks_links__gOAb7{display:flex;align-items:center;justify-content:flex-start;margin-top:5px}.ContentHeader_root__HaUG0{position:relative;display:grid;padding:20px}.ContentHeader_row__9Q8gH{margin-bottom:7px}.ContentHeader_logoTitleSection__Z8pUc{display:flex}@media(max-width:768px){.ContentHeader_logoTitleSection__Z8pUc{flex-direction:column}.ContentHeader_logoTitleSection__Z8pUc .ContentHeader_logo__wo_HN{margin:10px auto}}.ContentHeader_titleSection___6Y15{display:flex;flex-direction:column;margin-left:10px}.ContentHeader_titleSection___6Y15 .ContentHeader_title__E_DsI{font-family:var(--theme-text-display-font-family);color:var(--theme-color-palette-0);font-size:32px;font-weight:700;line-height:30px}.ContentHeader_titleSection___6Y15 .ContentHeader_subtitle__n1Wew{font-size:22px;font-weight:300;line-height:1.3;color:var(--theme-color-background-header)}.ContentHeader_tagList__rx3jY{color:var(--theme-color-palette-10)}.ContentHeader_tagList__rx3jY span{display:inline-block;margin-right:8px;font-size:14px;font-weight:500}.Content_root__h1mNK{display:grid;grid-template-columns:1fr auto;background-color:var(--theme-color-background-main)}.Content_root__h1mNK .Content_topSection__JIZi0{padding:0;background-color:var(--theme-color-components-video-background)}.Content_root__h1mNK .Content_lowerSection__BZHYI{padding:0 2em}.Content_leftCol__U2TDq{display:flex;flex-direction:column}.Content_loadingSpinner__mDlYC{position:fixed;left:50%;top:50%;z-index:999999}.Content_mobile__Ep0QM.Content_root__h1mNK{display:flex;flex-direction:column;height:calc(100vh - 64px);overflow:hidden}.Content_mobile__Ep0QM.Content_root__h1mNK .Content_topSection__JIZi0{display:grid;grid-template-rows:30vh 5vh 5vh;height:40vh}.Content_mobile__Ep0QM.Content_root__h1mNK .Content_lowerSection__BZHYI{height:60vh}.Content_mobile__Ep0QM .Content_mobileChat__5V09A{position:relative;display:block;height:100%;width:100%}.Logo_root__jKiJC{display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;margin-right:.5rem;width:96px;height:96px;border-radius:50%;border-width:5px;border-style:solid;border-color:var(--theme-color-palette-0);background-color:var(--theme-color-palette-4)}.Logo_container__A4UYT{width:90%;height:90%;border-radius:50%;overflow:hidden}.Logo_image__Ahkom{width:100%;height:100%;background-size:cover;background-position:50%;overflow:hidden}.Statusbar_statusbar__AtVnB{display:flex;align-items:center;font-size:.8rem;justify-content:space-between;height:2rem;width:100%;padding:var(--content-padding);color:var(--theme-color-palette-5)} \ 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 c8b558146..1dc9be899 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 5fe8c27c6..45dc1f931 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 f30963456..cc929a120 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 c6abb62f3..2a5e52563 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 0656ce0bc..d0ed294a8 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 1585aca7d..b5d14107e 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 2f3d19dea..5a80823b0 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 cce636e08..7e7badec5 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 bc8730ed2..92de80249 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 0b842c32c..eeca17160 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 8f7677a2a..d04e61656 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 bb036d572..cf4540d52 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 87685c1e7..3b5c0d33d 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 6e0b86b76..d17a8a9e3 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 0e72910f6..8ef4225d6 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 3237553be..9dc979d8b 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 16e195264..cc41c6b56 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 b907f1669..bd46fc6dc 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 ef9cf2248..73f31545d 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 c8f3d2cc9..dcdad710b 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 85818c75c..068cbdf13 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 3df3c1d66..6ef726a5e 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 be05dfd57..245640406 100644 --- a/static/web/embed/chat/readonly/index.html +++ b/static/web/embed/chat/readonly/index.html @@ -1 +1 @@ -
chat container goes here
\ No newline at end of file +
chat container goes here
\ 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 10533851a..db9b3f34d 100644 --- a/static/web/embed/chat/readwrite/index.html +++ b/static/web/embed/chat/readwrite/index.html @@ -1 +1 @@ -
fully featured chat embed goes here
\ No newline at end of file +
fully featured chat embed goes here
\ No newline at end of file diff --git a/static/web/embed/video/index.html b/static/web/embed/video/index.html index a585e3ce8..6958eb2f3 100644 --- a/static/web/embed/video/index.html +++ b/static/web/embed/video/index.html @@ -1 +1 @@ -
is currently offline.
Stream is offline text goes here.
Offline
\ No newline at end of file +
is currently offline.
Stream is offline text goes here.
Offline
\ No newline at end of file diff --git a/static/web/index.html b/static/web/index.html index eea395f44..20ba859c9 100644 --- a/static/web/index.html +++ b/static/web/index.html @@ -1 +1 @@ -
Chat offline
is currently offline.
Please follow and ask to get notified when the stream is live.
Offline
Logo
Preview
\ No newline at end of file +
Chat offline
is currently offline.
Please follow and ask to get notified when the stream is live.
Offline
Logo
Preview
\ No newline at end of file