From 1954169ca13e99b0fb28726d1c12543ffd30e2b4 Mon Sep 17 00:00:00 2001 From: gabek Date: Sun, 21 Aug 2022 21:09:07 +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-0319e69bf85c137f.js | 1 - .../web/_next/static/chunks/pages/index-e3e404e054136060.js | 1 + ...ebpack-221e84750908277a.js => webpack-bfbca66a2361caff.js} | 2 +- static/web/_next/static/css/0436bed10b5ee277.css | 1 - static/web/_next/static/css/fd82ba4c40863c69.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/{qivSnRvW582fa56B6sUxI => X_hEAXANVfYL2_jnl-TZL}/_buildManifest.js (97%) rename static/web/_next/static/{qivSnRvW582fa56B6sUxI => X_hEAXANVfYL2_jnl-TZL}/_ssgManifest.js (100%) delete mode 100644 static/web/_next/static/chunks/pages/index-0319e69bf85c137f.js create mode 100644 static/web/_next/static/chunks/pages/index-e3e404e054136060.js rename static/web/_next/static/chunks/{webpack-221e84750908277a.js => webpack-bfbca66a2361caff.js} (95%) delete mode 100644 static/web/_next/static/css/0436bed10b5ee277.css create mode 100644 static/web/_next/static/css/fd82ba4c40863c69.css diff --git a/static/web/404.html b/static/web/404.html index 2ddf8ce73..7bbc4fcb1 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 2ddf8ce73..7bbc4fcb1 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/qivSnRvW582fa56B6sUxI/_buildManifest.js b/static/web/_next/static/X_hEAXANVfYL2_jnl-TZL/_buildManifest.js similarity index 97% rename from static/web/_next/static/qivSnRvW582fa56B6sUxI/_buildManifest.js rename to static/web/_next/static/X_hEAXANVfYL2_jnl-TZL/_buildManifest.js index 8eec10747..4f4fb5144 100644 --- a/static/web/_next/static/qivSnRvW582fa56B6sUxI/_buildManifest.js +++ b/static/web/_next/static/X_hEAXANVfYL2_jnl-TZL/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST=function(a,s,c,e,i,n,t,d,f,o,h,m,r,u,g,b,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-8eaf58bdb6ce3d73.js",a,e,h,m,r,"static/chunks/9402-a2ac9f4035f74094.js",u,"static/css/0436bed10b5ee277.css","static/chunks/pages/index-0319e69bf85c137f.js"],"/_error":["static/chunks/pages/_error-f2496e8b9fdedb89.js"],"/admin":[a,s,c,e,i,n,g,"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":[b,a,s,c,e,k,"static/chunks/pages/admin/chat/messages-af084d68aaf69be4.js"],"/admin/chat/users":[b,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":[d,c,i,n,f,t,"static/chunks/pages/admin/hardware-info-fb9932e584754b3b.js"],"/admin/help":[i,r,"static/chunks/5046-d432b07dbd9a0a74.js","static/chunks/pages/admin/help-286d71e5c1d8d003.js"],"/admin/logs":[a,s,c,g,"static/chunks/pages/admin/logs-55d44b7f56d109e1.js"],"/admin/stream-health":[d,c,i,n,f,"static/chunks/pages/admin/stream-health-5f39d0e65f78053a.js"],"/admin/upgrade":[a,s,"static/chunks/9001-0de9b937fdbe661d.js","static/chunks/pages/admin/upgrade-27c19ef345f1a067.js"],"/admin/viewer-info":[d,a,s,c,e,i,n,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,u,"static/css/f58d98f52dc8743c.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-59fa9ce74b77ffef.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,n,t,d,f,o,h,m,r,u,g,b,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-8eaf58bdb6ce3d73.js",a,e,h,m,r,"static/chunks/9402-a2ac9f4035f74094.js",u,"static/css/fd82ba4c40863c69.css","static/chunks/pages/index-e3e404e054136060.js"],"/_error":["static/chunks/pages/_error-f2496e8b9fdedb89.js"],"/admin":[a,s,c,e,i,n,g,"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":[b,a,s,c,e,k,"static/chunks/pages/admin/chat/messages-af084d68aaf69be4.js"],"/admin/chat/users":[b,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":[d,c,i,n,f,t,"static/chunks/pages/admin/hardware-info-fb9932e584754b3b.js"],"/admin/help":[i,r,"static/chunks/5046-d432b07dbd9a0a74.js","static/chunks/pages/admin/help-286d71e5c1d8d003.js"],"/admin/logs":[a,s,c,g,"static/chunks/pages/admin/logs-55d44b7f56d109e1.js"],"/admin/stream-health":[d,c,i,n,f,"static/chunks/pages/admin/stream-health-5f39d0e65f78053a.js"],"/admin/upgrade":[a,s,"static/chunks/9001-0de9b937fdbe661d.js","static/chunks/pages/admin/upgrade-27c19ef345f1a067.js"],"/admin/viewer-info":[d,a,s,c,e,i,n,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,u,"static/css/f58d98f52dc8743c.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-59fa9ce74b77ffef.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/qivSnRvW582fa56B6sUxI/_ssgManifest.js b/static/web/_next/static/X_hEAXANVfYL2_jnl-TZL/_ssgManifest.js similarity index 100% rename from static/web/_next/static/qivSnRvW582fa56B6sUxI/_ssgManifest.js rename to static/web/_next/static/X_hEAXANVfYL2_jnl-TZL/_ssgManifest.js diff --git a/static/web/_next/static/chunks/pages/index-0319e69bf85c137f.js b/static/web/_next/static/chunks/pages/index-0319e69bf85c137f.js deleted file mode 100644 index d221ffe12..000000000 --- a/static/web/_next/static/chunks/pages/index-0319e69bf85c137f.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(24400)}])},24400:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return dn}});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),p=n(13229),h=n(92910),f=n.n(h),m=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)(m,{className:"".concat(f().header),children:[(0,r.jsxs)("div",{className:"".concat(f().logo),children:[(0,r.jsx)(p.C,{variant:"contrast"}),(0,r.jsx)("span",{children:n})]}),o&&(0,r.jsx)(p.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 v,g,j,_,y,w=n(87412),C=n(71577),b=n(9764),N=n(36531),k=n(66017),Z=n(11622),S=n(13545),M=n.n(S),T=n(93174),E=n.n(T);function A(){return A=Object.assign?Object.assign.bind():function(e){for(var t=1;t').concat(n," joined the chat.")})}(a);case Z.C.SYSTEM:return(0,r.jsx)(F,{message:a,highlightString:n},a.id);default:return null}},h=(0,c.useMemo)((function(){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(b.OO,{style:{height:"calc(100vh - 170px)",width:"auto"},ref:d,initialTopMostItemIndex:t.length-1,data:t,itemContent:function(e,t){return p(e,t)},followOutput:"auto",alignToBottom:!0,atBottomStateChange:function(e){return u(e)}}),!l&&(0,r.jsx)("div",{className:M().toBottomWrap,children:(0,r.jsx)(C.Z,{type:"default",icon:(0,r.jsx)(k.Z,{}),onClick:function(){return d.current.scrollToIndex({index:t.length-1,behavior:"smooth"})},children:"Go to last message"})})]})}),[t,n,o,s,l,a]);return(0,r.jsxs)("div",{style:{height:"100%"},children:[h,(0,r.jsx)(De,{})]})}function z(e,t){if(e.length<2)return!1;var n=e[t],r=n.user.id,o=e[t-1];if((null===o||void 0===o?void 0:o.type)!==Z.C.CHAT)return!1;if(!o.timestamp||!n.timestamp)return!1;var s=new Date(o.timestamp).getTime();return!(new Date(n.timestamp).getTime()-s>12e4)&&r===(null===o||void 0===o?void 0:o.user.id)}var J=n(14924),W=n(86492),V=n.n(W),Y=n(94184),G=n.n(Y),q=n(78583),X=n.n(q);function K(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 Q=n(47568),$=n(34051),ee=n.n($),te=n(11475),ne=n(90420),re=n(18429),oe=n(64942),se=n(85402),ae=n(12461),ie=n(66516),ce=n(38504),le=n(26713),ue=n(25968),de=n(6226),pe=n(11382),he=n(51438),fe=function(){function e(){(0,he.Z)(this,e)}return e.removeMessage=function(e,t){return(0,Q.Z)(ee().mark((function n(){var r,o,s;return ee().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,Q.Z)(ee().mark((function n(){var r,o,s;return ee().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}(),me=n(91391),xe=n.n(me),ve=function(){var e=(0,Q.Z)(ee().mark((function e(t,n){return ee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:try{fe.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)}}(),ge=function(e){var t=e.label,n=e.value;return(0,r.jsxs)(ue.Z,{justify:"space-around",align:"middle",children:[(0,r.jsx)(de.Z,{span:12,children:t}),(0,r.jsx)(de.Z,{span:12,children:n})]})},je=function(e){var t=e.id,n=e.body,o=e.accessToken;return(0,r.jsxs)(ue.Z,{justify:"space-around",align:"middle",children:[(0,r.jsx)(de.Z,{span:18,children:n}),(0,r.jsx)(de.Z,{children:(0,r.jsx)(C.Z,{onClick:function(){return ve(t,o)},children:"X"})})]})},_e=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)(ge,{label:"Messages Sent",value:"".concat(n)}),(0,r.jsx)(ge,{label:"Geo",value:a}),(0,r.jsx)(ge,{label:"Connected At",value:s.toString()}),(0,r.jsx)(ge,{label:"User Agent",value:o})]})},ye=function(e){var t=e.color,n="var(--theme-user-colors-".concat(t,")");return(0,r.jsxs)(ue.Z,{justify:"space-around",align:"middle",children:[(0,r.jsx)(de.Z,{span:12,children:"Color"}),(0,r.jsx)(de.Z,{span:12,children:(0,r.jsx)("div",{className:xe().colorBlock,style:{backgroundColor:n},children:t})})]})};function we(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,Q.Z)(ee().mark((function e(){var n;return ee().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 p=s.user,h=s.connectedClients,f=s.messages,m=p.displayName,x=p.displayColor,v=p.createdAt,g=p.previousNames,j=p.scopes,_=p.isBot,y=p.authenticated;return(0,r.jsx)("div",{className:xe().modalContainer,children:(0,r.jsxs)(pe.Z,{spinning:l,children:[(0,r.jsx)("h1",{children:m}),(0,r.jsxs)(ue.Z,{justify:"space-around",align:"middle",children:[j.map((function(e){return(0,r.jsx)(de.Z,{children:e})})),y&&(0,r.jsx)(de.Z,{children:"Authenticated"}),_&&(0,r.jsx)(de.Z,{children:"Bot"})]}),(0,r.jsx)(ye,{color:x}),(0,r.jsx)(ge,{label:"User Created",value:v.toString()}),(0,r.jsx)(ge,{label:"Previous Names",value:g.join(",")}),(0,r.jsx)("hr",{}),(0,r.jsx)("h2",{children:"Currently Connected"}),h.length>0&&(0,r.jsx)(ue.Z,{gutter:[15,15],wrap:!0,children:h.map((function(e){return(0,r.jsx)(de.Z,{flex:"auto",children:(0,r.jsx)(_e,{client:e})})}))}),(0,r.jsx)("hr",{}),f.length>0&&(0,r.jsxs)("div",{children:[(0,r.jsx)("h1",{children:"Recent Chat Messages"}),(0,r.jsx)("div",{className:xe().chatHistory,children:f.map((function(e){return(0,r.jsx)(je,{id:e.id,body:e.body,accessToken:n},e.id)}))})]})]})})}var Ce=n(31833),be=n.n(Ce),Ne=se.Z.confirm;function ke(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,Q.Z)(ee().mark((function e(){return ee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fe.banUser(n,s);case 3:e.next=9;break;case 5:e.prev=5,e.t0=e.catch(0),console.error(e.t0),ae.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,Q.Z)(ee().mark((function e(){return ee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fe.removeMessage(t,s);case 3:e.next=9;break;case 5:e.prev=5,e.t0=e.catch(0),console.error(e.t0),ae.ZP.error(e.t0);case 9:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(){return e.apply(this,arguments)}}(),p=function(){var e=(0,Q.Z)(ee().mark((function e(){return ee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Ne({icon:(0,r.jsx)(te.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)}}(),h=function(){var e=(0,Q.Z)(ee().mark((function e(){return ee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Ne({icon:(0,r.jsx)(te.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)}}(),f=(0,r.jsx)(ie.Z,{onClick:function(e){var t=e.key;"hide-message"===t?p():"ban-user"===t?h():"more-info"===t&&l(!0)},items:[{label:(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:be().icon,children:(0,r.jsx)(ne.Z,{})}),"Hide Message"]}),key:"hide-message"},{label:(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:be().icon,children:(0,r.jsx)(re.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)(ce.Z,{overlay:f,trigger:["click"],children:(0,r.jsx)("button",{type:"button",onClick:function(e){return e.preventDefault()},children:(0,r.jsx)(le.Z,{children:(0,r.jsx)(oe.Z,{})})})}),(0,r.jsx)(se.Z,{visible:i,okText:"Ban User",okButtonProps:{danger:!0},onOk:u,onCancel:function(){l(!1)},children:(0,r.jsx)(we,{userId:n,accessToken:s})})]})}function Ze(e){var t=e.message,n=e.highlightString,o=e.showModeratorMenu,s=e.sentBySelf,a=e.sameUserAsLast,i=e.isAuthorModerator,l=t.id,u=t.body,d=t.user,p=t.timestamp,h=d.id,f=d.displayName,m=d.displayColor,x="var(--theme-user-colors-".concat(m,")"),v="Sent at ".concat(K(p)),g=(0,c.useState)(u),j=g[0],_=g[1];return(0,c.useEffect)((function(){_(V().decode(u))}),[t]),(0,r.jsx)("div",{style:{padding:3.5},children:(0,r.jsxs)("div",{className:G()(X().root,(0,J.Z)({},X().ownMessage,s)),style:{borderColor:x},title:v,children:[!a&&(0,r.jsxs)("div",{className:X().user,style:{color:x},children:[(0,r.jsx)("span",{className:X().userName,children:f}),i&&(0,r.jsx)($t,{})]}),(0,r.jsx)(P.y,{search:n,children:(0,r.jsx)("div",{className:X().message,children:j})}),o&&(0,r.jsx)("div",{className:X().modMenuWrapper,children:(0,r.jsx)(ke,{messageID:l,accessToken:"",userID:h,userDisplayName:f})}),(0,r.jsx)("div",{className:X().customBorder,style:{color:x}}),(0,r.jsx)("div",{className:X().background,style:{color:x}})]})})}var Se=n(26042),Me=n(69396),Te=n(93045),Ee=n(27496),Ae=n(55241),Be=n(77493),Ue=n(91243),He=n(57741);function Le(e){var t=(0,c.useState)([]),n=t[0],o=t[1],s=e.onEmojiSelect,a=(0,c.useRef)(),i=function(){var e=(0,Q.Z)(ee().mark((function e(){var t,n;return ee().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 Oe=n(25882),Pe=n.n(Oe),Re=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"}})},Ie=function(e){var t=e.attributes,n=e.children;return"image"===e.element.type?(0,r.jsx)(Re,(0,Se.Z)({},e)):(0,r.jsx)("p",(0,Me.Z)((0,Se.Z)({},t),{children:n}))},Fe=function(e){if(Be.xv.isText(e))return e.text;var t=e.children.map((function(e){return Fe(e)})).join("");switch(e.type){case"paragraph":return"

".concat(t,"

");case"image":return'emoji');default:return t}};function De(e){var t=(0,c.useState)(!1),n=t[0],o=t[1],a=(0,s.sJ)(l.Gt),i=(0,s.sJ)(l.hz),u=(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,Ue.BU)((0,Be.Jh)()))})),d=u[0],p=function(){if(a){var e=Fe(d);a.send({type:Z.C.CHAT,body:e}),Be.YR.select(d,[0,d.children.length-1]),Be.YR.delete(d)}else console.log("websocketService is not defined")};return(0,r.jsxs)("div",{className:G()(Pe().root,(0,J.Z)({},Pe().mobile,i)),children:[(0,r.jsxs)("div",{className:Pe().inputWrapper,children:[(0,r.jsx)(Ue.mH,{editor:d,value:[{type:"paragraph",children:[{text:""}]}],onChange:function(){},children:(0,r.jsx)(Ue.CX,{onKeyDown:function(e){"Enter"===e.key&&(e.preventDefault(),p())},renderElement:function(e){return(0,r.jsx)(Ie,(0,Se.Z)({},e))},placeholder:"Chat message goes here...",style:{width:"100%"},autoFocus:!0})}),(0,r.jsx)("button",{type:"button",className:Pe().emojiButton,title:"Emoji picker button",onClick:function(){return o(!n)},children:(0,r.jsx)(Te.Z,{})})]}),(0,r.jsx)("div",{className:Pe().submitButtonWrapper,children:i?(0,r.jsx)(C.Z,{size:"large",type:"ghost",icon:(0,r.jsx)(Ee.Z,{}),onClick:p}):(0,r.jsx)(C.Z,{type:"primary",icon:(0,r.jsx)(Ee.Z,{}),onClick:p,children:"Send"})}),(0,r.jsx)(Ae.Z,{content:(0,r.jsx)(Le,{onEmojiSelect:function(e){if(Ue.F3.focus(d),e.url)e.url;else{var t=e.emoji;Be.YR.insertText(d,t)}}}),trigger:"click",onVisibleChange:function(e){return o(e)},visible:n})]})}De.defaultProps={value:""};var ze=n(75347),Je=n.n(ze);function We(){var e=(0,s.sJ)(l.j$),t=(0,s.sJ)(l.w4),n=(0,s.sJ)(l.uy);return(0,r.jsx)(w.ZP,{className:Je().root,collapsedWidth:0,width:320,children:(0,r.jsx)(D,{messages:e,usernameToHighlight:t,chatUserId:n,isModerator:!1,isMobile:!1})})}var Ve=n(35603),Ye=n.n(Ve),Ge=o.Z.Footer;function qe(e){var t=e.version;return(0,r.jsx)(Ge,{className:Ye().footer,children:(0,r.jsx)("a",{href:"https://owncast.online",children:t})})}var Xe=n(828),Ke=n(87961),Qe=n(73682),$e=n(28105),et=n.n($e);function tt(e){var t=e.content;return(0,r.jsx)("div",{className:et().pageContentContainer,children:(0,r.jsx)("div",{className:et().customPageContent,dangerouslySetInnerHTML:{__html:t}})})}var nt=n(14633),rt=n(3698),ot=n(24093),st=n(4300),at=n.n(st);function it(e){var t=e.follower;return(0,r.jsx)("div",{className:at().follower,children:(0,r.jsx)("a",{href:t.link,target:"_blank",rel:"noreferrer",children:(0,r.jsxs)(ue.Z,{wrap:!1,children:[(0,r.jsx)(de.Z,{span:6,children:(0,r.jsx)(ot.C,{src:t.image,alt:"Avatar",className:at().avatar,children:(0,r.jsx)("img",{src:"/logo",alt:"Logo",className:at().placeholder})})}),(0,r.jsxs)(de.Z,{children:[(0,r.jsx)(ue.Z,{children:t.name}),(0,r.jsx)(ue.Z,{className:at().account,children:t.username})]})]})})})}function ct(){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),p=function(){var e=(0,Q.Z)(ee().mark((function e(){var t,r;return ee().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(){p()}),[]),(0,c.useEffect)((function(){p()}),[l]);var h=(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:at().followers,children:[(0,r.jsx)(ue.Z,{wrap:!0,gutter:[10,10],justify:"space-around",children:t.map((function(e){return(0,r.jsx)(de.Z,{children:(0,r.jsx)(it,{follower:e},e.link)})}))}),(0,r.jsx)(rt.Z,{current:l,pageSize:24,total:d||1,onChange:function(e){u(e)},hideOnSinglePage:!0})]}):h}var lt=n(63291),ut=n.n(lt),dt=n(46218),pt=n.n(dt);function ht(e){var t=e.children;return(0,r.jsx)("div",{className:"".concat(pt().row),children:t})}var ft=n(32365),mt=n(49418),xt=n.n(mt);function vt(e){var t=e.action,n=t.url,o=t.title,s=t.description,a=t.icon,i=t.color,l=t.openExternally,u=(0,c.useState)(!1),d=u[0],p=u[1];return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(C.Z,{type:"primary",className:"".concat(xt().button),onClick:function(){l?window.open(n,"_blank"):p(!0)},style:{backgroundColor:i},children:[(0,r.jsx)("img",{src:a,className:"".concat(xt().icon),alt:s}),o]}),(0,r.jsx)(ft.Z,{title:s||o,url:n,visible:d,height:"80vh",handleCancel:function(){return p(!1)}})]})}var gt=n(97937),jt=n(18668),_t=n.n(jt);function yt(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],p=u[1];(0,c.useEffect)((function(){l(n)}),[n]),(0,c.useEffect)((function(){p(!0)}),[]);var h=(0,r.jsx)("div",{className:_t().title,children:"Stay updated!"}),f=function(e){e.stopPropagation(),o()},m=(0,r.jsxs)("div",{onClick:f,onKeyDown:f,role:"menuitem",tabIndex:0,children:[(0,r.jsx)("button",{type:"button",className:_t().closebutton,onClick:function(e){e.stopPropagation(),l(!1),s()},children:(0,r.jsx)(gt.Z,{})}),(0,r.jsxs)("div",{className:_t().contentbutton,children:["Click and never miss",(0,r.jsx)("br",{}),"future streams!"]})]});return d&&(0,r.jsx)(Ae.Z,{placement:"topLeft",defaultVisible:i,visible:i,destroyTooltipOnHide:!0,title:h,content:m,overlayInnerStyle:{borderRadius:"5px",cursor:"pointer",paddingTop:"10px",paddingRight:"10px",fontSize:"16px"},children:t})}var wt=n(1698),Ct=n(34447),bt=n(14670),Nt=n(69677);function kt(e){var t=e.handleClose,n=(0,c.useState)(null),o=n[0],s=n[1],a=(0,c.useState)(!1),i=a[0],l=a[1],u=(0,c.useState)(!1),d=u[0],p=u[1],h=(0,c.useState)(null),f=h[0],m=h[1],x=function(e){s(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)?l(!1):l(!0)},v=function(){var e=(0,Q.Z)(ee().mark((function e(){var n,r,s,a;return ee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i){e.next=2;break}return e.abrupt("return");case 2:return p(!0),e.prev=3,n=o.replace(/^@+/,""),r={account:n},e.next=8,fetch("/api/remotefollow",{method:"POST",body:JSON.stringify(r)});case 8:return s=e.sent,e.next=11,s.json();case 11:if((a=e.sent).redirectUrl&&(window.open(a.redirectUrl,"_blank"),t()),a.success){e.next=17;break}return m(a.message),p(!1),e.abrupt("return");case 17:if(a.redirectUrl){e.next=21;break}return m("Unable to follow."),p(!1),e.abrupt("return");case 21:e.next=26;break;case 23:e.prev=23,e.t0=e.catch(3),m(e.t0.message);case 26:p(!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,{spinning:d,children:[f&&(0,r.jsx)(bt.Z,{message:"Follow Error",description:f,type:"error",showIcon:!0}),(0,r.jsx)(Nt.Z,{value:o,size:"large",onChange:function(e){return x(e.target.value)},placeholder:"Your fediverse account @account@server",defaultValue:o}),(0,r.jsx)(C.Z,{disabled:!i,onClick:v,children:"Follow"}),(0,r.jsx)("div",{children:"Information about following a Fediverse account and next steps how to create a Fediverse account goes here."})]})}function Zt(e){var t=(0,c.useState)(!1),n=t[0],o=t[1],a=(0,s.sJ)(l.g1).name;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(C.Z,(0,Me.Z)((0,Se.Z)({},e),{type:"primary",className:xt().button,icon:(0,r.jsx)(Ct.Z,{}),onClick:function(){o(!0)},children:"Follow"})),(0,r.jsx)(ft.Z,{title:"Follow ".concat(a),visible:n,handleCancel:function(){return o(!1)},children:(0,r.jsx)(kt,{handleClose:function(){return o(!1)}})})]})}var St=n(71578);function Mt(e){var t=e.onClick;return(0,r.jsx)(C.Z,{type:"primary",className:"".concat(xt().button),icon:(0,r.jsx)(St.Z,{}),onClick:t,children:"Notify"})}var Tt=n(84485);function Et(e,t,n){return At.apply(this,arguments)}function At(){return(At=(0,Q.Z)(ee().mark((function e(t,n,r){var o;return ee().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 Bt(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:G()(Gt().socialLinks,Gt().row),children:(0,r.jsx)(Vt,{links:i})})]})]})})}var Xt=Ke.Z.TabPane,Kt=o.Z.Content;function Qt(){var e=(0,s.sJ)(l.Q),t=(0,s.sJ)(l.g1),n=(0,s.sJ)(l.pT),o=(0,Xe.Z)((0,s.FV)(l.hz),2),a=o[0],i=o[1],u=(0,s.sJ)(l.j$),d=(0,s.sJ)(l.YW),p=(0,s.sJ)(l.w4),h=(0,s.sJ)(l.uy),f=(0,s.sJ)(l.RI),m=f.viewerCount,x=f.lastConnectTime,v=f.lastDisconnectTime,g=f.streamTitle,j=t.extraPageContent,_=t.version,y=t.name,w=t.summary,C=t.socialHandles,b=t.tags,N=t.externalActions,k=t.offlineMessage,Z=(0,c.useState)(!1),S=Z[0],M=Z[1],T=(0,c.useState)(!1),E=T[0],A=T[1],B=N.map((function(e){return(0,r.jsx)(vt,{action:e},e.url)})),U=function(){A(!1),M(!1),(0,Qe.qQ)(Qe.dA.hasDisplayedNotificationModal,!0)},H=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,Qe.$o)(Qe.dA.userVisitCount),10);Number.isNaN(e)&&(e=0),(0,Qe.qQ)(Qe.dA.userVisitCount,e+1),e>2&&!(0,Qe.$o)(Qe.dA.hasDisplayedNotificationModal)&&M(!0)}(),H(),window.addEventListener("resize",H)}),[]);var L=G()(ut().root,(0,J.Z)({},ut().mobile,a));return(0,r.jsxs)(Kt,{className:L,children:[(0,r.jsxs)("div",{className:ut().leftContent,children:[(0,r.jsx)(pe.Z,{className:ut().loadingSpinner,size:"large",spinning:e.appLoading}),(0,r.jsxs)("div",{className:ut().topHalf,children:[d&&(0,r.jsx)(nt.Z,{source:"/hls/stream.m3u8",online:d}),!d&&(0,r.jsx)(wt.Z,{name:y,text:k||"Please follow and ask to get notified when the stream is live."}),(0,r.jsx)(on.Z,{online:d,lastConnectTime:x,lastDisconnectTime:v,viewerCount:m}),(0,r.jsxs)("div",{className:ut().buttonsLogoTitleSection,children:[(0,r.jsxs)(ht,{children:[B,(0,r.jsx)(Zt,{size:"small"}),(0,r.jsx)(yt,{visible:S,notificationClicked:function(){return A(!0)},notificationClosed:function(){return U()},children:(0,r.jsx)(Mt,{onClick:function(){return A(!0)}})})]}),(0,r.jsx)(ft.Z,{title:"Notify",visible:E,afterClose:function(){return U()},handleCancel:function(){return U()},children:(0,r.jsx)(zt,{})})]}),(0,r.jsx)(qt,{name:y,title:g,summary:w,tags:b,links:C,logo:"/logo"})]}),(0,r.jsxs)("div",{className:ut().lowerHalf,children:[(0,r.jsxs)(Ke.Z,{defaultActiveKey:"0",style:{height:"100%"},children:[n&&a&&(0,r.jsx)(Xt,{tab:"Chat",style:{height:"100%"},children:(0,r.jsx)("div",{style:{position:"relative",height:"100%"},children:(0,r.jsx)("div",{className:ut().mobileChat,children:(0,r.jsx)(D,{messages:u,usernameToHighlight:p,chatUserId:h,isModerator:!1,isMobile:a})})})},"0"),(0,r.jsx)(Xt,{tab:"About",className:ut().pageContentSection,children:(0,r.jsx)(tt,{content:j})},"2"),(0,r.jsx)(Xt,{tab:"Followers",className:ut().pageContentSection,children:(0,r.jsx)(ct,{})},"3")]}),!a&&(0,r.jsx)(qe,{version:_})]})]}),n&&!a&&(0,r.jsx)(We,{})]})}function $t(e){var t=e.style,n=void 0===t?{width:"1rem",height:"1rem"}:t,o=e.fill,s=void 0===o?"none":o,a=e.stroke,i=void 0===a?"var(--color-owncast-gray-300)":a;return(0,r.jsxs)("svg",{fill:s,stroke:i,style:n,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("title",{children:"This user has moderation rights"}),(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z"})]})}var en=n(79216),tn=n(7918),nn=n.n(tn);function rn(e){var t=e.src;return(0,r.jsx)("div",{className:nn().root,children:(0,r.jsx)("div",{className:nn().container,children:(0,r.jsx)(en.Z,{src:t,alt:"Logo",className:nn().image,rootClassName:nn().image})})})}var on=n(36887),sn=n(60536),an=n.n(sn);function cn(e){var t=e.title,n=e.message;return(0,r.jsxs)(se.Z,{title:t,visible:!0,footer:null,closable:!1,keyboard:!1,width:900,centered:!0,className:"modal",children:[(0,r.jsx)(an(),{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 ln=n(82670);var un=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),p=(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,p=i.addedNodes[Symbol.iterator]();!(c=(d=p.next()).done);c=!0){var h=d.value;(0,ln.Z)(h,HTMLElement)&&"a"===h.tagName.toLowerCase()&&t(h)}}catch(f){l=!0,u=f}finally{try{c||null==p.return||p.return()}finally{if(l)throw u}}}}catch(f){r=!0,o=f}finally{try{n||null==a.return||a.return()}finally{if(r)throw o}}})).observe(e,{attributes:!1,childList:!0,subtree:!0})}(p.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:p,children:[(0,r.jsx)(x,{name:n||t,chatAvailable:u}),(0,r.jsx)(Qt,{}),d&&(0,r.jsx)(cn,{title:d.title,message:d.message})]})]})};function dn(){return(0,r.jsx)(un,{})}},49418:function(e){e.exports={button:"ActionButton_button__8GQFL",icon:"ActionButton_icon__g9rfM"}},46218:function(e){e.exports={row:"ActionButtons_row__asg2y"}},14766:function(e){e.exports={chatAction:"ChatActionMessage_chatAction__6Apjz"}},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"}},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",emojiButton:"ChatTextField_emojiButton__ON_Cu",submitButtonWrapper:"ChatTextField_submitButtonWrapper__YBPMe",mobile:"ChatTextField_mobile__6BeT_"}},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"}},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"}},63291:function(e){e.exports={root:"Content_root__h1mNK",leftCol:"Content_leftCol__U2TDq",loadingSpinner:"Content_loadingSpinner__mDlYC",mobile:"Content_mobile__Ep0QM",topHalf:"Content_topHalf__lQN4D",lowerHalf:"Content_lowerHalf__eKamJ",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,384,5938,2001,1082,9402,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-e3e404e054136060.js b/static/web/_next/static/chunks/pages/index-e3e404e054136060.js new file mode 100644 index 000000000..d2ffe8f32 --- /dev/null +++ b/static/web/_next/static/chunks/pages/index-e3e404e054136060.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(75856)}])},75856:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return hn}});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),p=n(13229),h=n(92910),f=n.n(h),m=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)(m,{className:"".concat(f().header),children:[(0,r.jsxs)("div",{className:"".concat(f().logo),children:[(0,r.jsx)(p.C,{variant:"contrast"}),(0,r.jsx)("span",{children:n})]}),o&&(0,r.jsx)(p.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 v,g,j,_,y,w=n(87412),C=n(71577),b=n(9764),N=n(36531),k=n(66017),Z=n(11622),S=n(13545),M=n.n(S),T=n(93174),A=n.n(T);function E(){return E=Object.assign?Object.assign.bind():function(e){for(var t=1;t').concat(n," joined the chat.")})}(a);case Z.C.SYSTEM:return(0,r.jsx)(F,{message:a,highlightString:n},a.id);default:return null}},h=(0,c.useMemo)((function(){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(b.OO,{style:{height:"calc(100vh - 170px)",width:"auto"},ref:d,initialTopMostItemIndex:t.length-1,data:t,itemContent:function(e,t){return p(e,t)},followOutput:"auto",alignToBottom:!0,atBottomStateChange:function(e){return u(e)}}),!l&&(0,r.jsx)("div",{className:M().toBottomWrap,children:(0,r.jsx)(C.Z,{type:"default",icon:(0,r.jsx)(k.Z,{}),onClick:function(){return d.current.scrollToIndex({index:t.length-1,behavior:"smooth"})},children:"Go to last message"})})]})}),[t,n,o,s,l,a]);return(0,r.jsxs)("div",{style:{height:"100%"},children:[h,(0,r.jsx)(We,{})]})}function J(e,t){if(e.length<2)return!1;var n=e[t],r=n.user.id,o=e[t-1];if((null===o||void 0===o?void 0:o.type)!==Z.C.CHAT)return!1;if(!o.timestamp||!n.timestamp)return!1;var s=new Date(o.timestamp).getTime();return!(new Date(n.timestamp).getTime()-s>12e4)&&r===(null===o||void 0===o?void 0:o.user.id)}var z=n(14924),W=n(86492),V=n.n(W),Y=n(94184),G=n.n(Y),q=n(78583),X=n.n(q);function K(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 Q=n(47568),$=n(34051),ee=n.n($),te=n(11475),ne=n(90420),re=n(18429),oe=n(64942),se=n(85402),ae=n(12461),ie=n(66516),ce=n(38504),le=n(26713),ue=n(25968),de=n(6226),pe=n(11382),he=n(51438),fe=function(){function e(){(0,he.Z)(this,e)}return e.removeMessage=function(e,t){return(0,Q.Z)(ee().mark((function n(){var r,o,s;return ee().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,Q.Z)(ee().mark((function n(){var r,o,s;return ee().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}(),me=n(91391),xe=n.n(me),ve=function(){var e=(0,Q.Z)(ee().mark((function e(t,n){return ee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:try{fe.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)}}(),ge=function(e){var t=e.label,n=e.value;return(0,r.jsxs)(ue.Z,{justify:"space-around",align:"middle",children:[(0,r.jsx)(de.Z,{span:12,children:t}),(0,r.jsx)(de.Z,{span:12,children:n})]})},je=function(e){var t=e.id,n=e.body,o=e.accessToken;return(0,r.jsxs)(ue.Z,{justify:"space-around",align:"middle",children:[(0,r.jsx)(de.Z,{span:18,children:n}),(0,r.jsx)(de.Z,{children:(0,r.jsx)(C.Z,{onClick:function(){return ve(t,o)},children:"X"})})]})},_e=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)(ge,{label:"Messages Sent",value:"".concat(n)}),(0,r.jsx)(ge,{label:"Geo",value:a}),(0,r.jsx)(ge,{label:"Connected At",value:s.toString()}),(0,r.jsx)(ge,{label:"User Agent",value:o})]})},ye=function(e){var t=e.color,n="var(--theme-user-colors-".concat(t,")");return(0,r.jsxs)(ue.Z,{justify:"space-around",align:"middle",children:[(0,r.jsx)(de.Z,{span:12,children:"Color"}),(0,r.jsx)(de.Z,{span:12,children:(0,r.jsx)("div",{className:xe().colorBlock,style:{backgroundColor:n},children:t})})]})};function we(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,Q.Z)(ee().mark((function e(){var n;return ee().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 p=s.user,h=s.connectedClients,f=s.messages,m=p.displayName,x=p.displayColor,v=p.createdAt,g=p.previousNames,j=p.scopes,_=p.isBot,y=p.authenticated;return(0,r.jsx)("div",{className:xe().modalContainer,children:(0,r.jsxs)(pe.Z,{spinning:l,children:[(0,r.jsx)("h1",{children:m}),(0,r.jsxs)(ue.Z,{justify:"space-around",align:"middle",children:[j.map((function(e){return(0,r.jsx)(de.Z,{children:e})})),y&&(0,r.jsx)(de.Z,{children:"Authenticated"}),_&&(0,r.jsx)(de.Z,{children:"Bot"})]}),(0,r.jsx)(ye,{color:x}),(0,r.jsx)(ge,{label:"User Created",value:v.toString()}),(0,r.jsx)(ge,{label:"Previous Names",value:g.join(",")}),(0,r.jsx)("hr",{}),(0,r.jsx)("h2",{children:"Currently Connected"}),h.length>0&&(0,r.jsx)(ue.Z,{gutter:[15,15],wrap:!0,children:h.map((function(e){return(0,r.jsx)(de.Z,{flex:"auto",children:(0,r.jsx)(_e,{client:e})})}))}),(0,r.jsx)("hr",{}),f.length>0&&(0,r.jsxs)("div",{children:[(0,r.jsx)("h1",{children:"Recent Chat Messages"}),(0,r.jsx)("div",{className:xe().chatHistory,children:f.map((function(e){return(0,r.jsx)(je,{id:e.id,body:e.body,accessToken:n},e.id)}))})]})]})})}var Ce=n(31833),be=n.n(Ce),Ne=se.Z.confirm;function ke(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,Q.Z)(ee().mark((function e(){return ee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fe.banUser(n,s);case 3:e.next=9;break;case 5:e.prev=5,e.t0=e.catch(0),console.error(e.t0),ae.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,Q.Z)(ee().mark((function e(){return ee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fe.removeMessage(t,s);case 3:e.next=9;break;case 5:e.prev=5,e.t0=e.catch(0),console.error(e.t0),ae.ZP.error(e.t0);case 9:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(){return e.apply(this,arguments)}}(),p=function(){var e=(0,Q.Z)(ee().mark((function e(){return ee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Ne({icon:(0,r.jsx)(te.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)}}(),h=function(){var e=(0,Q.Z)(ee().mark((function e(){return ee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Ne({icon:(0,r.jsx)(te.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)}}(),f=(0,r.jsx)(ie.Z,{onClick:function(e){var t=e.key;"hide-message"===t?p():"ban-user"===t?h():"more-info"===t&&l(!0)},items:[{label:(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:be().icon,children:(0,r.jsx)(ne.Z,{})}),"Hide Message"]}),key:"hide-message"},{label:(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:be().icon,children:(0,r.jsx)(re.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)(ce.Z,{overlay:f,trigger:["click"],children:(0,r.jsx)("button",{type:"button",onClick:function(e){return e.preventDefault()},children:(0,r.jsx)(le.Z,{children:(0,r.jsx)(oe.Z,{})})})}),(0,r.jsx)(se.Z,{visible:i,okText:"Ban User",okButtonProps:{danger:!0},onOk:u,onCancel:function(){l(!1)},children:(0,r.jsx)(we,{userId:n,accessToken:s})})]})}var Ze=n(9123),Se=n.n(Ze);function Me(e){var t=e.badge,n=e.userColor,o="var(--theme-user-colors-".concat(n,")"),s={color:o,borderColor:o};return(0,r.jsx)("span",{style:s,className:Se().badge,children:t})}function Te(e){var t=e.message,n=e.highlightString,o=e.showModeratorMenu,s=e.sentBySelf,a=e.sameUserAsLast,i=e.isAuthorModerator,l=e.isAuthorAuthenticated,u=t.id,d=t.body,p=t.user,h=t.timestamp,f=p.id,m=p.displayName,x=p.displayColor,v="var(--theme-user-colors-".concat(x,")"),g="Sent at ".concat(K(h)),j=(0,c.useState)(d),_=j[0],y=j[1],w=[i&&"mod",l&&"auth"].filter((function(e){return!!e})).map((function(e){return(0,r.jsx)(Me,{badge:e,userColor:x},e)}));return(0,c.useEffect)((function(){y(V().decode(d))}),[t]),(0,r.jsx)("div",{style:{padding:3.5},children:(0,r.jsxs)("div",{className:G()(X().root,(0,z.Z)({},X().ownMessage,s)),style:{borderColor:v},title:g,children:[!a&&(0,r.jsxs)("div",{className:X().user,style:{color:v},children:[(0,r.jsx)("span",{className:X().userName,children:m}),(0,r.jsx)("span",{children:w})]}),(0,r.jsx)(P.y,{search:n,children:(0,r.jsx)("div",{className:X().message,children:_})}),o&&(0,r.jsx)("div",{className:X().modMenuWrapper,children:(0,r.jsx)(ke,{messageID:u,accessToken:"",userID:f,userDisplayName:m})}),(0,r.jsx)("div",{className:X().customBorder,style:{color:v}}),(0,r.jsx)("div",{className:X().background,style:{color:v}})]})})}var Ae=n(26042),Ee=n(69396),Ue=n(93045),Be=n(27496),He=n(55241),Le=n(77493),Oe=n(91243),Pe=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,Q.Z)(ee().mark((function e(){var t,n;return ee().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,Pe.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 Ie=n(25882),Fe=n.n(Ie),De=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"}})},Je=function(e){var t=e.attributes,n=e.children;return"image"===e.element.type?(0,r.jsx)(De,(0,Ae.Z)({},e)):(0,r.jsx)("p",(0,Ee.Z)((0,Ae.Z)({},t),{children:n}))},ze=function(e){if(Le.xv.isText(e))return e.text;var t=e.children.map((function(e){return ze(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,s.sJ)(l.hz),u=(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,Oe.BU)((0,Le.Jh)()))})),d=u[0],p=function(){if(a){var e=ze(d);a.send({type:Z.C.CHAT,body:e}),Le.YR.select(d,[0,d.children.length-1]),Le.YR.delete(d)}else console.log("websocketService is not defined")};return(0,r.jsxs)("div",{className:G()(Fe().root,(0,z.Z)({},Fe().mobile,i)),children:[(0,r.jsxs)("div",{className:Fe().inputWrapper,children:[(0,r.jsx)(Oe.mH,{editor:d,value:[{type:"paragraph",children:[{text:""}]}],onChange:function(){},children:(0,r.jsx)(Oe.CX,{onKeyDown:function(e){"Enter"===e.key&&(e.preventDefault(),p())},renderElement:function(e){return(0,r.jsx)(Je,(0,Ae.Z)({},e))},placeholder:"Chat message goes here...",style:{width:"100%"},autoFocus:!0})}),(0,r.jsx)("button",{type:"button",className:Fe().emojiButton,title:"Emoji picker button",onClick:function(){return o(!n)},children:(0,r.jsx)(Ue.Z,{})})]}),(0,r.jsx)("div",{className:Fe().submitButtonWrapper,children:i?(0,r.jsx)(C.Z,{size:"large",type:"ghost",icon:(0,r.jsx)(Be.Z,{}),onClick:p}):(0,r.jsx)(C.Z,{type:"primary",icon:(0,r.jsx)(Be.Z,{}),onClick:p,children:"Send"})}),(0,r.jsx)(He.Z,{content:(0,r.jsx)(Re,{onEmojiSelect:function(e){if(Oe.F3.focus(d),e.url)e.url;else{var t=e.emoji;Le.YR.insertText(d,t)}}}),trigger:"click",onVisibleChange:function(e){return o(e)},visible:n})]})}We.defaultProps={value:""};var Ve=n(75347),Ye=n.n(Ve);function Ge(){var e=(0,s.sJ)(l.j$),t=(0,s.sJ)(l.w4),n=(0,s.sJ)(l.uy);return(0,r.jsx)(w.ZP,{className:Ye().root,collapsedWidth:0,width:320,children:(0,r.jsx)(D,{messages:e,usernameToHighlight:t,chatUserId:n,isModerator:!1,isMobile:!1})})}var qe=n(35603),Xe=n.n(qe),Ke=o.Z.Footer;function Qe(e){var t=e.version;return(0,r.jsx)(Ke,{className:Xe().footer,children:(0,r.jsx)("a",{href:"https://owncast.online",children:t})})}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)(ue.Z,{wrap:!1,children:[(0,r.jsx)(de.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)(de.Z,{children:[(0,r.jsx)(ue.Z,{children:t.name}),(0,r.jsx)(ue.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),p=function(){var e=(0,Q.Z)(ee().mark((function e(){var t,r;return ee().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(){p()}),[]),(0,c.useEffect)((function(){p()}),[l]);var h=(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)(ue.Z,{wrap:!0,gutter:[10,10],justify:"space-around",children:t.map((function(e){return(0,r.jsx)(de.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})]}):h}var pt=n(63291),ht=n.n(pt),ft=n(46218),mt=n.n(ft);function xt(e){var t=e.children;return(0,r.jsx)("div",{className:"".concat(mt().row),children:t})}var vt=n(32365),gt=n(49418),jt=n.n(gt);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=(0,c.useState)(!1),d=u[0],p=u[1];return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(C.Z,{type:"primary",className:"".concat(jt().button),onClick:function(){l?window.open(n,"_blank"):p(!0)},style:{backgroundColor:i},children:[(0,r.jsx)("img",{src:a,className:"".concat(jt().icon),alt:s}),o]}),(0,r.jsx)(vt.Z,{title:s||o,url:n,visible:d,height:"80vh",handleCancel:function(){return p(!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],p=u[1];(0,c.useEffect)((function(){l(n)}),[n]),(0,c.useEffect)((function(){p(!0)}),[]);var h=(0,r.jsx)("div",{className:Ct().title,children:"Stay updated!"}),f=function(e){e.stopPropagation(),o()},m=(0,r.jsxs)("div",{onClick:f,onKeyDown:f,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)(He.Z,{placement:"topLeft",defaultVisible:i,visible:i,destroyTooltipOnHide:!0,title:h,content:m,overlayInnerStyle:{borderRadius:"5px",cursor:"pointer",paddingTop:"10px",paddingRight:"10px",fontSize:"16px"},children:t})}var Nt=n(1698),kt=n(34447),Zt=n(14670),St=n(69677);function Mt(e){var t=e.handleClose,n=(0,c.useState)(null),o=n[0],s=n[1],a=(0,c.useState)(!1),i=a[0],l=a[1],u=(0,c.useState)(!1),d=u[0],p=u[1],h=(0,c.useState)(null),f=h[0],m=h[1],x=function(e){s(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)?l(!1):l(!0)},v=function(){var e=(0,Q.Z)(ee().mark((function e(){var n,r,s,a;return ee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i){e.next=2;break}return e.abrupt("return");case 2:return p(!0),e.prev=3,n=o.replace(/^@+/,""),r={account:n},e.next=8,fetch("/api/remotefollow",{method:"POST",body:JSON.stringify(r)});case 8:return s=e.sent,e.next=11,s.json();case 11:if((a=e.sent).redirectUrl&&(window.open(a.redirectUrl,"_blank"),t()),a.success){e.next=17;break}return m(a.message),p(!1),e.abrupt("return");case 17:if(a.redirectUrl){e.next=21;break}return m("Unable to follow."),p(!1),e.abrupt("return");case 21:e.next=26;break;case 23:e.prev=23,e.t0=e.catch(3),m(e.t0.message);case 26:p(!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,{spinning:d,children:[f&&(0,r.jsx)(Zt.Z,{message:"Follow Error",description:f,type:"error",showIcon:!0}),(0,r.jsx)(St.Z,{value:o,size:"large",onChange:function(e){return x(e.target.value)},placeholder:"Your fediverse account @account@server",defaultValue:o}),(0,r.jsx)(C.Z,{disabled:!i,onClick:v,children:"Follow"}),(0,r.jsx)("div",{children:"Information about following a Fediverse account and next steps how to create a Fediverse account goes here."})]})}function Tt(e){var t=(0,c.useState)(!1),n=t[0],o=t[1],a=(0,s.sJ)(l.g1).name;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(C.Z,(0,Ee.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)(vt.Z,{title:"Follow ".concat(a),visible:n,handleCancel:function(){return o(!1)},children:(0,r.jsx)(Mt,{handleClose:function(){return o(!1)}})})]})}var At=n(71578);function Et(e){var t=e.onClick;return(0,r.jsx)(C.Z,{type:"primary",className:"".concat(jt().button),icon:(0,r.jsx)(At.Z,{}),onClick:t,children:"Notify"})}var Ut=n(84485);function Bt(e,t,n){return Ht.apply(this,arguments)}function Ht(){return(Ht=(0,Q.Z)(ee().mark((function e(t,n,r){var o;return ee().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:G()(Kt().socialLinks,Kt().row),children:(0,r.jsx)(qt,{links:i})})]})]})})}var $t=et.Z.TabPane,en=o.Z.Content;function tn(){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.j$),d=(0,s.sJ)(l.YW),p=(0,s.sJ)(l.w4),h=(0,s.sJ)(l.uy),f=(0,s.sJ)(l.RI),m=f.viewerCount,x=f.lastConnectTime,v=f.lastDisconnectTime,g=f.streamTitle,j=t.extraPageContent,_=t.version,y=t.name,w=t.summary,C=t.socialHandles,b=t.tags,N=t.externalActions,k=t.offlineMessage,Z=(0,c.useState)(!1),S=Z[0],M=Z[1],T=(0,c.useState)(!1),A=T[0],E=T[1],U=N.map((function(e){return(0,r.jsx)(_t,{action:e},e.url)})),B=function(){E(!1),M(!1),(0,tt.qQ)(tt.dA.hasDisplayedNotificationModal,!0)},H=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)&&M(!0)}(),H(),window.addEventListener("resize",H)}),[]);var L=G()(ht().root,(0,z.Z)({},ht().mobile,a));return(0,r.jsxs)(en,{className:L,children:[(0,r.jsxs)("div",{className:ht().leftContent,children:[(0,r.jsx)(pe.Z,{className:ht().loadingSpinner,size:"large",spinning:e.appLoading}),(0,r.jsxs)("div",{className:ht().topHalf,children:[d&&(0,r.jsx)(st.Z,{source:"/hls/stream.m3u8",online:d}),!d&&(0,r.jsx)(Nt.Z,{name:y,text:k||"Please follow and ask to get notified when the stream is live."}),(0,r.jsx)(an.Z,{online:d,lastConnectTime:x,lastDisconnectTime:v,viewerCount:m}),(0,r.jsxs)("div",{className:ht().buttonsLogoTitleSection,children:[(0,r.jsxs)(xt,{children:[U,(0,r.jsx)(Tt,{size:"small"}),(0,r.jsx)(bt,{visible:S,notificationClicked:function(){return E(!0)},notificationClosed:function(){return B()},children:(0,r.jsx)(Et,{onClick:function(){return E(!0)}})})]}),(0,r.jsx)(vt.Z,{title:"Notify",visible:A,afterClose:function(){return B()},handleCancel:function(){return B()},children:(0,r.jsx)(Vt,{})})]}),(0,r.jsx)(Qt,{name:y,title:g,summary:w,tags:b,links:C,logo:"/logo"})]}),(0,r.jsxs)("div",{className:ht().lowerHalf,children:[(0,r.jsxs)(et.Z,{defaultActiveKey:"0",style:{height:"100%"},children:[n&&a&&(0,r.jsx)($t,{tab:"Chat",style:{height:"100%"},children:(0,r.jsx)("div",{style:{position:"relative",height:"100%"},children:(0,r.jsx)("div",{className:ht().mobileChat,children:(0,r.jsx)(D,{messages:u,usernameToHighlight:p,chatUserId:h,isModerator:!1,isMobile:a})})})},"0"),(0,r.jsx)($t,{tab:"About",className:ht().pageContentSection,children:(0,r.jsx)(ot,{content:j})},"2"),(0,r.jsx)($t,{tab:"Followers",className:ht().pageContentSection,children:(0,r.jsx)(dt,{})},"3")]}),!a&&(0,r.jsx)(Qe,{version:_})]})]}),n&&!a&&(0,r.jsx)(Ge,{})]})}var nn=n(79216),rn=n(7918),on=n.n(rn);function sn(e){var t=e.src;return(0,r.jsx)("div",{className:on().root,children:(0,r.jsx)("div",{className:on().container,children:(0,r.jsx)(nn.Z,{src:t,alt:"Logo",className:on().image,rootClassName:on().image})})})}var an=n(36887),cn=n(60536),ln=n.n(cn);function un(e){var t=e.title,n=e.message;return(0,r.jsxs)(se.Z,{title:t,visible:!0,footer:null,closable:!1,keyboard:!1,width:900,centered:!0,className:"modal",children:[(0,r.jsx)(ln(),{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 dn=n(82670);var pn=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),p=(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,p=i.addedNodes[Symbol.iterator]();!(c=(d=p.next()).done);c=!0){var h=d.value;(0,dn.Z)(h,HTMLElement)&&"a"===h.tagName.toLowerCase()&&t(h)}}catch(f){l=!0,u=f}finally{try{c||null==p.return||p.return()}finally{if(l)throw u}}}}catch(f){r=!0,o=f}finally{try{n||null==a.return||a.return()}finally{if(r)throw o}}})).observe(e,{attributes:!1,childList:!0,subtree:!0})}(p.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:p,children:[(0,r.jsx)(x,{name:n||t,chatAvailable:u}),(0,r.jsx)(tn,{}),d&&(0,r.jsx)(un,{title:d.title,message:d.message})]})]})};function hn(){return(0,r.jsx)(pn,{})}},49418:function(e){e.exports={button:"ActionButton_button__8GQFL",icon:"ActionButton_icon__g9rfM"}},46218:function(e){e.exports={row:"ActionButtons_row__asg2y"}},14766:function(e){e.exports={chatAction:"ChatActionMessage_chatAction__6Apjz"}},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"}},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",emojiButton:"ChatTextField_emojiButton__ON_Cu",submitButtonWrapper:"ChatTextField_submitButtonWrapper__YBPMe",mobile:"ChatTextField_mobile__6BeT_"}},9123:function(e){e.exports={badge:"ChatUserBadge_badge__JZY_P"}},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"}},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"}},63291:function(e){e.exports={root:"Content_root__h1mNK",leftCol:"Content_leftCol__U2TDq",loadingSpinner:"Content_loadingSpinner__mDlYC",mobile:"Content_mobile__Ep0QM",topHalf:"Content_topHalf__lQN4D",lowerHalf:"Content_lowerHalf__eKamJ",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,384,5938,2001,1082,9402,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-221e84750908277a.js b/static/web/_next/static/chunks/webpack-bfbca66a2361caff.js similarity index 95% rename from static/web/_next/static/chunks/webpack-221e84750908277a.js rename to static/web/_next/static/chunks/webpack-bfbca66a2361caff.js index 5cd20308a..7e1b4c1f5 100644 --- a/static/web/_next/static/chunks/webpack-221e84750908277a.js +++ b/static/web/_next/static/chunks/webpack-bfbca66a2361caff.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(l=0;l=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:"ebb0d3809553845b",3126:"f58d98f52dc8743c",5405:"0436bed10b5ee277"}[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;l=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:"ebb0d3809553845b",3126:"f58d98f52dc8743c",5405:"fd82ba4c40863c69"}[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;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_emojiButton__ON_Cu{border:none;background:none;cursor:pointer;padding:0 1rem;position:absolute;right:0;top:50%;transform:translateY(-50%)}.ChatTextField_root__4oUkJ .ChatTextField_emojiButton__ON_Cu svg{fill:var(--color-owncast-gray-300)}.ChatTextField_root__4oUkJ .ChatTextField_submitButtonWrapper__YBPMe{display:flex;padding:6px 0;justify-content:flex-end}.ChatTextField_mobile__6BeT_.ChatTextField_root__4oUkJ{display:flex}.ChatTextField_mobile__6BeT_.ChatTextField_root__4oUkJ .ChatTextField_inputWrapper__qBEWv{flex:1 1}.ChatTextField_mobile__6BeT_.ChatTextField_root__4oUkJ .ChatTextField_submitButtonWrapper__YBPMe{padding:0}.Sidebar_root__8HE0A{background-color:var(--theme-background-secondary);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-text-secondary)}.CustomPageContent_pageContentContainer__EG4tU{display:flex;justify-content:center;align-items:center}.CustomPageContent_customPageContent__Mr981{font-size:16px;line-height:1.5em;margin:0;width:80%;max-width:1200px;color:var(--theme-text);background-color:var(--theme-background-secondary);padding:1em}@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;background-color:var(--theme-background-secondary);margin:1rem auto;border-radius:var(--theme-rounded-corners);padding:1rem}.OfflineBanner_header__Vu20o{font-weight:700}.OfflineBanner_footer__o3Zl5{margin-top:20px}.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}.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-left:auto;margin-right:auto;margin-bottom:10px}}.ContentHeader_titleSection___6Y15{display:flex;flex-direction:column}.ContentHeader_titleSection___6Y15 .ContentHeader_title__E_DsI{font-size:32px;font-weight:700;color:#000;text-transform:uppercase;line-height:30px}.ContentHeader_titleSection___6Y15 .ContentHeader_subtitle__n1Wew{font-size:24px;font-weight:400;line-height:22px;color:var(--theme-text-secondary)}.ContentHeader_tagList__rx3jY{font-family:var(--theme-text-display-font-family);color:var(--theme-text-primary)}.ContentHeader_tagList__rx3jY span{display:inline-block;margin-right:8px;font-size:14px;font-weight:300}.Content_root__h1mNK{display:grid;grid-template-columns:1fr auto;padding:.7em}.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_topHalf__lQN4D{display:grid;grid-template-rows:30vh 5vh 5vh;height:40vh}.Content_mobile__Ep0QM.Content_root__h1mNK .Content_lowerHalf__eKamJ{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-primary-color);background-color:var(--theme-background-secondary)}.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;padding-left:10px;padding-right:10px;justify-content:space-between;height:2rem;width:100%;color:var(--color-owncast-gray-300);background-color:var(--theme-background-secondary)} \ No newline at end of file diff --git a/static/web/_next/static/css/fd82ba4c40863c69.css b/static/web/_next/static/css/fd82ba4c40863c69.css new file mode 100644 index 000000000..4837ddf2e --- /dev/null +++ b/static/web/_next/static/css/fd82ba4c40863c69.css @@ -0,0 +1 @@ +.Header_header__U4Ro1{position:-webkit-sticky;position:sticky;top:0;justify-content:space-between;z-index:20;padding:.4rem .7rem;background-color:var(--default-bg-color)}.Header_header__U4Ro1,.Header_header__U4Ro1 .Header_logo__HLZ6Z{display:flex;align-items:center}.Header_header__U4Ro1 .Header_logo__HLZ6Z span{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}.ChatActionMessage_chatAction__6Apjz{padding:5px;text-align:center}.ChatSystemMessage_chatSystemMessage__c6XEN{background:var(--theme-background-secondary);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-header-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;color:var(--theme-text-highlight);background-color:var(--color-bg-highlight)}.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-header-font-family)}.ChatContainer_nameChangeView__ziyXN .ChatContainer_nameChangeText__yXG__ .ChatContainer_plain__IPS19{font-weight:400;font-family:var(--font-owncast-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}.ChatUserBadge_badge__JZY_P{font-family:var(--theme-header-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}.ChatUserMessage_root__79heB{position:relative;font-size:.9rem;padding:5px 15px 5px 1rem}.ChatUserMessage_root__79heB *{z-index:100}.ChatUserMessage_root__79heB .ChatUserMessage_user__xUEp9{display:flex;align-items:center;font-family:var(--theme-header-font-family);font-weight:700}.ChatUserMessage_root__79heB .ChatUserMessage_message__MJ9LD{color:var(--theme-text-primary)}.ChatUserMessage_root__79heB .ChatUserMessage_message__MJ9LD mark{padding-left:.35em;padding-right:.35em;color:var(--theme-text-highlight);background-color:var(--color-bg-highlight)}.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}.ChatTextField_root__4oUkJ{position:relative;bottom:0;width:100%;padding:.3rem;color:var(--text-secondry);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(--color-owncast-gray-700);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;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_emojiButton__ON_Cu{border:none;background:none;cursor:pointer;padding:0 1rem;position:absolute;right:0;top:50%;transform:translateY(-50%)}.ChatTextField_root__4oUkJ .ChatTextField_emojiButton__ON_Cu svg{fill:var(--color-owncast-gray-300)}.ChatTextField_root__4oUkJ .ChatTextField_submitButtonWrapper__YBPMe{display:flex;padding:6px 0;justify-content:flex-end}.ChatTextField_mobile__6BeT_.ChatTextField_root__4oUkJ{display:flex}.ChatTextField_mobile__6BeT_.ChatTextField_root__4oUkJ .ChatTextField_inputWrapper__qBEWv{flex:1 1}.ChatTextField_mobile__6BeT_.ChatTextField_root__4oUkJ .ChatTextField_submitButtonWrapper__YBPMe{padding:0}.Sidebar_root__8HE0A{background-color:var(--theme-background-secondary);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-text-secondary)}.CustomPageContent_pageContentContainer__EG4tU{display:flex;justify-content:center;align-items:center}.CustomPageContent_customPageContent__Mr981{font-size:16px;line-height:1.5em;margin:0;width:80%;max-width:1200px;color:var(--theme-text);background-color:var(--theme-background-secondary);padding:1em}@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;background-color:var(--theme-background-secondary);margin:1rem auto;border-radius:var(--theme-rounded-corners);padding:1rem}.OfflineBanner_header__Vu20o{font-weight:700}.OfflineBanner_footer__o3Zl5{margin-top:20px}.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}.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-left:auto;margin-right:auto;margin-bottom:10px}}.ContentHeader_titleSection___6Y15{display:flex;flex-direction:column}.ContentHeader_titleSection___6Y15 .ContentHeader_title__E_DsI{font-size:32px;font-weight:700;color:#000;text-transform:uppercase;line-height:30px}.ContentHeader_titleSection___6Y15 .ContentHeader_subtitle__n1Wew{font-size:24px;font-weight:400;line-height:22px;color:var(--theme-text-secondary)}.ContentHeader_tagList__rx3jY{font-family:var(--theme-text-display-font-family);color:var(--theme-text-primary)}.ContentHeader_tagList__rx3jY span{display:inline-block;margin-right:8px;font-size:14px;font-weight:300}.Content_root__h1mNK{display:grid;grid-template-columns:1fr auto;padding:.7em}.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_topHalf__lQN4D{display:grid;grid-template-rows:30vh 5vh 5vh;height:40vh}.Content_mobile__Ep0QM.Content_root__h1mNK .Content_lowerHalf__eKamJ{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-primary-color);background-color:var(--theme-background-secondary)}.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;padding-left:10px;padding-right:10px;justify-content:space-between;height:2rem;width:100%;color:var(--color-owncast-gray-300);background-color:var(--theme-background-secondary)} \ 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 d51c119dc..4fd4f63d3 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 1b24a479e..c8d5f7126 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 8ba8d53b3..9725af412 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 2259b5289..0dd25e121 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 c30eb2b5e..57ce500ca 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 2672582c0..d9af2f4de 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 144ee6968..927f466d5 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 d9189e420..aff0f2348 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 3509eddff..1514308e0 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 83052beef..7e92706db 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 5b0729bf8..4574182ba 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 df628a9ad..300d22a04 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 983ecd0ce..6d609ff8d 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 78fb7f210..a41ab9ee4 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 d190f34ae..679acb0de 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 70eedb27d..52ac33d7f 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 939415195..9e5b95770 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 71e30c630..76a407e11 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 f0edf238d..fb4fe811a 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 e132bcc01..4f32fefe4 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 15cd254e6..f53cf0ff5 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 743c4328d..33889ca21 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 255533a4f..dfb9d95bf 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 9bbfca855..370e20544 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 05966ad96..1822f8007 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 183e3ac58..29bc24341 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