From 61ec450c45716c8746a93e0b50a50685990b11be Mon Sep 17 00:00:00 2001 From: gabek Date: Wed, 25 Jan 2023 03:47:20 +0000 Subject: [PATCH] Bundle embedded web app --- static/web/404.html | 8 ++++---- static/web/404/index.html | 8 ++++---- .../_buildManifest.js | 2 +- .../_ssgManifest.js | 0 .../pages/embed/chat/readwrite-36e4a1db2defe8a2.js.map | 1 - ...e4a1db2defe8a2.js => readwrite-71339811dd25d3e9.js} | 4 ++-- .../pages/embed/chat/readwrite-71339811dd25d3e9.js.map | 1 + .../static/chunks/pages/index-152caad6c0e6dd95.js | 2 ++ .../static/chunks/pages/index-152caad6c0e6dd95.js.map | 1 + .../static/chunks/pages/index-62fb1118eddc6c02.js | 2 -- .../static/chunks/pages/index-62fb1118eddc6c02.js.map | 1 - ...da12dabe0fb1dacb.js => webpack-7ab12144d4aec789.js} | 4 ++-- ...0fb1dacb.js.map => webpack-7ab12144d4aec789.js.map} | 2 +- .../css/{9c7ca4c85f3a1d76.css => 36e94fd7ff575979.css} | 4 ++-- ...7ca4c85f3a1d76.css.map => 36e94fd7ff575979.css.map} | 2 +- static/web/admin/access-tokens/index.html | 8 ++++---- static/web/admin/actions/index.html | 8 ++++---- static/web/admin/chat/emojis/index.html | 8 ++++---- static/web/admin/chat/messages/index.html | 8 ++++---- static/web/admin/chat/users/index.html | 8 ++++---- static/web/admin/config-chat/index.html | 8 ++++---- static/web/admin/config-federation/index.html | 8 ++++---- static/web/admin/config-notify/index.html | 8 ++++---- static/web/admin/config-social-items/index.html | 8 ++++---- static/web/admin/config-video/index.html | 8 ++++---- static/web/admin/config/general/index.html | 8 ++++---- static/web/admin/config/server/index.html | 8 ++++---- static/web/admin/federation/actions/index.html | 8 ++++---- static/web/admin/federation/followers/index.html | 8 ++++---- static/web/admin/hardware-info/index.html | 8 ++++---- static/web/admin/help/index.html | 8 ++++---- static/web/admin/index.html | 8 ++++---- static/web/admin/logs/index.html | 8 ++++---- static/web/admin/stream-health/index.html | 8 ++++---- static/web/admin/upgrade/index.html | 8 ++++---- static/web/admin/viewer-info/index.html | 8 ++++---- static/web/admin/webhooks/index.html | 8 ++++---- static/web/embed/chat/readonly/index.html | 8 ++++---- static/web/embed/chat/readwrite/index.html | 8 ++++---- static/web/embed/video/index.html | 8 ++++---- static/web/index.html | 10 +++++----- 41 files changed, 126 insertions(+), 126 deletions(-) rename static/web/_next/static/{SR-IX1XB97Nswj37PL9Bs => OgycN-swOeuq4LS7JQY1Y}/_buildManifest.js (98%) rename static/web/_next/static/{SR-IX1XB97Nswj37PL9Bs => OgycN-swOeuq4LS7JQY1Y}/_ssgManifest.js (100%) delete mode 100644 static/web/_next/static/chunks/pages/embed/chat/readwrite-36e4a1db2defe8a2.js.map rename static/web/_next/static/chunks/pages/embed/chat/{readwrite-36e4a1db2defe8a2.js => readwrite-71339811dd25d3e9.js} (84%) create mode 100644 static/web/_next/static/chunks/pages/embed/chat/readwrite-71339811dd25d3e9.js.map create mode 100644 static/web/_next/static/chunks/pages/index-152caad6c0e6dd95.js create mode 100644 static/web/_next/static/chunks/pages/index-152caad6c0e6dd95.js.map delete mode 100644 static/web/_next/static/chunks/pages/index-62fb1118eddc6c02.js delete mode 100644 static/web/_next/static/chunks/pages/index-62fb1118eddc6c02.js.map rename static/web/_next/static/chunks/{webpack-da12dabe0fb1dacb.js => webpack-7ab12144d4aec789.js} (99%) rename static/web/_next/static/chunks/{webpack-da12dabe0fb1dacb.js.map => webpack-7ab12144d4aec789.js.map} (99%) rename static/web/_next/static/css/{9c7ca4c85f3a1d76.css => 36e94fd7ff575979.css} (99%) rename static/web/_next/static/css/{9c7ca4c85f3a1d76.css.map => 36e94fd7ff575979.css.map} (99%) diff --git a/static/web/404.html b/static/web/404.html index b5b745c38..ca6e62e79 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.

+ }

404

This page could not be found.

diff --git a/static/web/404/index.html b/static/web/404/index.html index b5b745c38..ca6e62e79 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.

+ }

404

This page could not be found.

diff --git a/static/web/_next/static/SR-IX1XB97Nswj37PL9Bs/_buildManifest.js b/static/web/_next/static/OgycN-swOeuq4LS7JQY1Y/_buildManifest.js similarity index 98% rename from static/web/_next/static/SR-IX1XB97Nswj37PL9Bs/_buildManifest.js rename to static/web/_next/static/OgycN-swOeuq4LS7JQY1Y/_buildManifest.js index 1af844f5f..43517839c 100644 --- a/static/web/_next/static/SR-IX1XB97Nswj37PL9Bs/_buildManifest.js +++ b/static/web/_next/static/OgycN-swOeuq4LS7JQY1Y/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST=function(s,c,a,e,t,i,n,d,f,h,b,u,o,m,k,j,r,g,p,l,_,w,v,y,I,B,F,A,D,E,L,M,N,S,T,U,C,x,P,q,z,G,H,J){return{__rewrites:{beforeFiles:[],afterFiles:[{source:"/api/:path*"},{source:"/hls/:path*"},{source:"/img/:path*"},{source:"/logo"},{source:"/thumbnail.jpg"},{source:"/customjavascript"}],fallback:[]},"/":[F,e,s,c,t,i,a,k,_,v,A,D,S,"static/chunks/281-769085a909be1763.js",n,y,"static/css/89f1db2b07ba3230.css","static/chunks/pages/index-62fb1118eddc6c02.js"],"/_error":["static/chunks/pages/_error-173a35eca8c80b7b.js"],"/admin":[d,e,s,c,t,i,f,a,m,h,b,j,r,k,g,p,l,_,w,I,D,n,u,o,"static/chunks/pages/admin-4437fd702332ad5f.js"],"/admin/access-tokens":[d,e,s,c,t,i,f,a,m,h,b,j,r,k,g,p,n,u,o,"static/chunks/pages/admin/access-tokens-9d52cc19efec782b.js"],"/admin/actions":[E,d,e,s,c,t,i,f,a,m,h,b,j,r,k,g,T,L,n,u,o,"static/chunks/pages/admin/actions-bff584afa3e0c588.js"],"/admin/chat/emojis":[d,e,s,c,t,i,f,a,m,h,b,j,r,k,g,B,U,n,u,o,"static/chunks/pages/admin/chat/emojis-7636896d786fbdd3.js"],"/admin/chat/messages":[E,d,e,s,c,t,i,f,a,m,h,b,j,r,k,g,p,_,L,n,u,C,o,"static/chunks/pages/admin/chat/messages-dcc2260a60c8ab62.js"],"/admin/chat/users":[E,d,e,s,c,t,i,f,a,m,h,b,j,r,k,g,p,l,_,L,n,u,C,o,"static/chunks/pages/admin/chat/users-ca6a18cffac76b76.js"],"/admin/config/general":["static/chunks/4ad82c5e-ed74bf511a5904d7.js",F,d,e,s,c,t,i,f,a,m,h,b,j,r,k,g,l,B,A,x,U,P,q,"static/chunks/4550-4947557af9de886d.js",u,"static/css/8f3c1acb703369d5.css","static/chunks/pages/admin/config/general-ed3a046c30d12015.js"],"/admin/config/server":[d,e,s,c,t,i,f,a,m,h,b,j,r,k,g,l,T,"static/chunks/4865-356c177cd2a82a8f.js",n,u,o,"static/chunks/pages/admin/config/server-9a7c42ca8400122e.js"],"/admin/config-chat":[d,e,s,c,t,i,f,a,m,h,b,n,u,o,"static/chunks/pages/admin/config-chat-b7943f6512da56aa.js"],"/admin/config-federation":[d,e,s,c,t,i,f,a,m,h,b,n,u,o,"static/chunks/pages/admin/config-federation-1c9a87747b9b3566.js"],"/admin/config-notify":[d,e,s,c,t,i,f,a,m,h,b,n,u,o,"static/chunks/pages/admin/config-notify-2b3642fd57f9db34.js"],"/admin/config-social-items":[d,e,s,c,t,i,f,a,m,h,b,j,r,k,g,q,n,u,o,"static/chunks/pages/admin/config-social-items-9a68c08ef0418b12.js"],"/admin/config-video":[d,e,s,c,t,i,f,a,m,h,b,j,r,k,g,x,n,u,o,"static/chunks/pages/admin/config-video-b66c0f7a843d8c4e.js"],"/admin/federation/actions":[d,e,s,c,t,i,f,a,m,h,b,j,r,k,g,p,n,u,o,"static/chunks/pages/admin/federation/actions-abf3c0f257f6f6d3.js"],"/admin/federation/followers":[d,e,s,c,t,i,f,a,h,b,j,r,k,g,p,l,n,u,o,"static/chunks/pages/admin/federation/followers-cb267e4e970d63eb.js"],"/admin/hardware-info":[M,d,e,s,c,t,i,f,a,m,h,b,p,l,w,B,I,N,n,u,o,"static/chunks/pages/admin/hardware-info-066d411793703c00.js"],"/admin/help":[F,d,e,s,c,t,i,f,a,h,b,l,w,A,P,"static/chunks/3859-83b96ed2022bff07.js",n,u,o,"static/chunks/pages/admin/help-952a3c3e9ba1f094.js"],"/admin/logs":[d,e,s,c,t,i,f,a,m,h,b,j,r,k,g,p,D,n,u,o,"static/chunks/pages/admin/logs-1243093eb968a8bd.js"],"/admin/stream-health":[M,d,e,s,c,t,i,f,a,m,h,b,p,l,w,I,N,n,u,o,"static/chunks/pages/admin/stream-health-8310daacf1627236.js"],"/admin/upgrade":[d,e,s,c,t,i,f,a,m,h,b,j,r,k,g,"static/chunks/7777-8ceb8fbb8f801dcb.js",n,u,o,"static/chunks/pages/admin/upgrade-f63314ce70dc454f.js"],"/admin/viewer-info":[M,d,e,s,c,t,i,f,a,m,h,b,j,r,k,g,p,l,_,w,B,I,N,n,u,o,"static/chunks/pages/admin/viewer-info-d62b903227711fbb.js"],"/admin/webhooks":[d,e,s,c,t,i,f,a,m,h,b,j,r,k,g,n,u,o,"static/chunks/pages/admin/webhooks-0b0c33eb1a5a0c4f.js"],"/embed/chat/readonly":[z,G,s,c,v,H,y,J,"static/css/c51efa92b7423446.css","static/chunks/pages/embed/chat/readonly-41c18b9dfbf4eb91.js"],"/embed/chat/readwrite":[z,G,s,c,a,v,H,n,y,J,"static/css/208cc445b90ebe1d.css","static/chunks/pages/embed/chat/readwrite-36e4a1db2defe8a2.js"],"/embed/video":["static/chunks/d6e1aeb5-788803296e672237.js",_,v,"static/css/726eb804d4057c2a.css","static/chunks/7689-8b6f3c2b15ed55f0.js",S,y,"static/chunks/2239-d5c2902fc303be5d.js","static/css/574ab2ce225bab45.css","static/chunks/pages/embed/video-d719b38032ab0471.js"],sortedPages:["/","/_app","/_error","/admin","/admin/access-tokens","/admin/actions","/admin/chat/emojis","/admin/chat/messages","/admin/chat/users","/admin/config/general","/admin/config/server","/admin/config-chat","/admin/config-federation","/admin/config-notify","/admin/config-social-items","/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/2138-e8118743e123efc0.js","static/chunks/31-2f675455e4c3fd19.js","static/chunks/492-88161dd6351f01f0.js","static/chunks/164-8dd6f2ff733fdeba.js","static/chunks/4931-1aa452353f007027.js","static/chunks/5402-e3607c98faf20551.js","static/chunks/710-3464b9980240bdfc.js","static/chunks/173-5c2e72ee62d9d77e.js","static/chunks/2231-7d1e01f3ca739e91.js","static/chunks/7524-310b57646f340943.js","static/chunks/9915-7392927a834636e3.js","static/chunks/6960-e615e92307b69cdb.js","static/css/e867652ad65748d1.css","static/chunks/5818-50f71648bfe0fdc4.js","static/chunks/3013-ff285a46c58657fc.js","static/chunks/6386-df7a58da9a640f6a.js","static/chunks/3698-20d8ea2bc8bb10f5.js","static/chunks/4398-7145b8220cee5727.js","static/chunks/8091-dd576812fb9b0014.js","static/chunks/4381-b9da0200acc090c5.js","static/chunks/5938-7b04008793cccd9a.js","static/chunks/5101-83cb053b1dfb13cb.js","static/chunks/6395-2b699a71fc680a5c.js","static/chunks/7466-324a99f699cfa686.js","static/chunks/4763-896a5acefd86724f.js","static/chunks/7910-f7484eb6c70bd1b2.js","static/chunks/2074-66d227ce8758028e.js","static/chunks/2928-18b546b981f857d1.js","static/chunks/9863-a4b938257b3e9d31.js","static/chunks/29107295-a0eec6bccecadd45.js","static/chunks/9534-726a68cf43c16de6.js","static/chunks/ee8b1517-f572f53dbfd97470.js","static/chunks/450-24a3df1163185ae8.js","static/chunks/4252-7932f6e987848569.js","static/chunks/9292-5b8c5c29536cfaef.js","static/chunks/7916-6f2fcb152ded7394.js","static/chunks/7188-a7411d0a016c1e3d.js","static/chunks/9816-738bc05dfd8ce817.js","static/chunks/4377-14523a3d2d098e3c.js","static/chunks/1382-154e9c43fa31b06a.js","static/chunks/d3048c20-2112b388645e938e.js","static/chunks/d2094a0f-597f5f5153af1363.js","static/chunks/4986-beb7e8c6666e06ac.js","static/chunks/4977-cbc216ae92072dd5.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file +self.__BUILD_MANIFEST=function(s,c,a,e,t,i,n,d,f,h,b,u,o,m,k,j,r,g,p,l,_,w,v,y,I,B,F,A,D,E,L,M,N,S,T,U,C,x,P,q,z,G,H,J){return{__rewrites:{beforeFiles:[],afterFiles:[{source:"/api/:path*"},{source:"/hls/:path*"},{source:"/img/:path*"},{source:"/logo"},{source:"/thumbnail.jpg"},{source:"/customjavascript"}],fallback:[]},"/":[F,e,s,c,t,i,a,k,_,v,A,D,S,"static/chunks/281-769085a909be1763.js",n,y,"static/css/89f1db2b07ba3230.css","static/chunks/pages/index-152caad6c0e6dd95.js"],"/_error":["static/chunks/pages/_error-173a35eca8c80b7b.js"],"/admin":[d,e,s,c,t,i,f,a,m,h,b,j,r,k,g,p,l,_,w,I,D,n,u,o,"static/chunks/pages/admin-4437fd702332ad5f.js"],"/admin/access-tokens":[d,e,s,c,t,i,f,a,m,h,b,j,r,k,g,p,n,u,o,"static/chunks/pages/admin/access-tokens-9d52cc19efec782b.js"],"/admin/actions":[E,d,e,s,c,t,i,f,a,m,h,b,j,r,k,g,T,L,n,u,o,"static/chunks/pages/admin/actions-bff584afa3e0c588.js"],"/admin/chat/emojis":[d,e,s,c,t,i,f,a,m,h,b,j,r,k,g,B,U,n,u,o,"static/chunks/pages/admin/chat/emojis-7636896d786fbdd3.js"],"/admin/chat/messages":[E,d,e,s,c,t,i,f,a,m,h,b,j,r,k,g,p,_,L,n,u,C,o,"static/chunks/pages/admin/chat/messages-dcc2260a60c8ab62.js"],"/admin/chat/users":[E,d,e,s,c,t,i,f,a,m,h,b,j,r,k,g,p,l,_,L,n,u,C,o,"static/chunks/pages/admin/chat/users-ca6a18cffac76b76.js"],"/admin/config/general":["static/chunks/4ad82c5e-ed74bf511a5904d7.js",F,d,e,s,c,t,i,f,a,m,h,b,j,r,k,g,l,B,A,x,U,P,q,"static/chunks/4550-4947557af9de886d.js",u,"static/css/8f3c1acb703369d5.css","static/chunks/pages/admin/config/general-ed3a046c30d12015.js"],"/admin/config/server":[d,e,s,c,t,i,f,a,m,h,b,j,r,k,g,l,T,"static/chunks/4865-356c177cd2a82a8f.js",n,u,o,"static/chunks/pages/admin/config/server-9a7c42ca8400122e.js"],"/admin/config-chat":[d,e,s,c,t,i,f,a,m,h,b,n,u,o,"static/chunks/pages/admin/config-chat-b7943f6512da56aa.js"],"/admin/config-federation":[d,e,s,c,t,i,f,a,m,h,b,n,u,o,"static/chunks/pages/admin/config-federation-1c9a87747b9b3566.js"],"/admin/config-notify":[d,e,s,c,t,i,f,a,m,h,b,n,u,o,"static/chunks/pages/admin/config-notify-2b3642fd57f9db34.js"],"/admin/config-social-items":[d,e,s,c,t,i,f,a,m,h,b,j,r,k,g,q,n,u,o,"static/chunks/pages/admin/config-social-items-9a68c08ef0418b12.js"],"/admin/config-video":[d,e,s,c,t,i,f,a,m,h,b,j,r,k,g,x,n,u,o,"static/chunks/pages/admin/config-video-b66c0f7a843d8c4e.js"],"/admin/federation/actions":[d,e,s,c,t,i,f,a,m,h,b,j,r,k,g,p,n,u,o,"static/chunks/pages/admin/federation/actions-abf3c0f257f6f6d3.js"],"/admin/federation/followers":[d,e,s,c,t,i,f,a,h,b,j,r,k,g,p,l,n,u,o,"static/chunks/pages/admin/federation/followers-cb267e4e970d63eb.js"],"/admin/hardware-info":[M,d,e,s,c,t,i,f,a,m,h,b,p,l,w,B,I,N,n,u,o,"static/chunks/pages/admin/hardware-info-066d411793703c00.js"],"/admin/help":[F,d,e,s,c,t,i,f,a,h,b,l,w,A,P,"static/chunks/3859-83b96ed2022bff07.js",n,u,o,"static/chunks/pages/admin/help-952a3c3e9ba1f094.js"],"/admin/logs":[d,e,s,c,t,i,f,a,m,h,b,j,r,k,g,p,D,n,u,o,"static/chunks/pages/admin/logs-1243093eb968a8bd.js"],"/admin/stream-health":[M,d,e,s,c,t,i,f,a,m,h,b,p,l,w,I,N,n,u,o,"static/chunks/pages/admin/stream-health-8310daacf1627236.js"],"/admin/upgrade":[d,e,s,c,t,i,f,a,m,h,b,j,r,k,g,"static/chunks/7777-8ceb8fbb8f801dcb.js",n,u,o,"static/chunks/pages/admin/upgrade-f63314ce70dc454f.js"],"/admin/viewer-info":[M,d,e,s,c,t,i,f,a,m,h,b,j,r,k,g,p,l,_,w,B,I,N,n,u,o,"static/chunks/pages/admin/viewer-info-d62b903227711fbb.js"],"/admin/webhooks":[d,e,s,c,t,i,f,a,m,h,b,j,r,k,g,n,u,o,"static/chunks/pages/admin/webhooks-0b0c33eb1a5a0c4f.js"],"/embed/chat/readonly":[z,G,s,c,v,H,y,J,"static/css/c51efa92b7423446.css","static/chunks/pages/embed/chat/readonly-41c18b9dfbf4eb91.js"],"/embed/chat/readwrite":[z,G,s,c,a,v,H,n,y,J,"static/css/208cc445b90ebe1d.css","static/chunks/pages/embed/chat/readwrite-71339811dd25d3e9.js"],"/embed/video":["static/chunks/d6e1aeb5-788803296e672237.js",_,v,"static/css/726eb804d4057c2a.css","static/chunks/7689-8b6f3c2b15ed55f0.js",S,y,"static/chunks/2239-d5c2902fc303be5d.js","static/css/574ab2ce225bab45.css","static/chunks/pages/embed/video-d719b38032ab0471.js"],sortedPages:["/","/_app","/_error","/admin","/admin/access-tokens","/admin/actions","/admin/chat/emojis","/admin/chat/messages","/admin/chat/users","/admin/config/general","/admin/config/server","/admin/config-chat","/admin/config-federation","/admin/config-notify","/admin/config-social-items","/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/2138-e8118743e123efc0.js","static/chunks/31-2f675455e4c3fd19.js","static/chunks/492-88161dd6351f01f0.js","static/chunks/164-8dd6f2ff733fdeba.js","static/chunks/4931-1aa452353f007027.js","static/chunks/5402-e3607c98faf20551.js","static/chunks/710-3464b9980240bdfc.js","static/chunks/173-5c2e72ee62d9d77e.js","static/chunks/2231-7d1e01f3ca739e91.js","static/chunks/7524-310b57646f340943.js","static/chunks/9915-7392927a834636e3.js","static/chunks/6960-e615e92307b69cdb.js","static/css/e867652ad65748d1.css","static/chunks/5818-50f71648bfe0fdc4.js","static/chunks/3013-ff285a46c58657fc.js","static/chunks/6386-df7a58da9a640f6a.js","static/chunks/3698-20d8ea2bc8bb10f5.js","static/chunks/4398-7145b8220cee5727.js","static/chunks/8091-dd576812fb9b0014.js","static/chunks/4381-b9da0200acc090c5.js","static/chunks/5938-7b04008793cccd9a.js","static/chunks/5101-83cb053b1dfb13cb.js","static/chunks/6395-2b699a71fc680a5c.js","static/chunks/7466-324a99f699cfa686.js","static/chunks/4763-896a5acefd86724f.js","static/chunks/7910-f7484eb6c70bd1b2.js","static/chunks/2074-66d227ce8758028e.js","static/chunks/2928-18b546b981f857d1.js","static/chunks/9863-a4b938257b3e9d31.js","static/chunks/29107295-a0eec6bccecadd45.js","static/chunks/9534-726a68cf43c16de6.js","static/chunks/ee8b1517-f572f53dbfd97470.js","static/chunks/450-24a3df1163185ae8.js","static/chunks/4252-7932f6e987848569.js","static/chunks/9292-5b8c5c29536cfaef.js","static/chunks/7916-6f2fcb152ded7394.js","static/chunks/7188-a7411d0a016c1e3d.js","static/chunks/9816-738bc05dfd8ce817.js","static/chunks/4377-14523a3d2d098e3c.js","static/chunks/1382-154e9c43fa31b06a.js","static/chunks/d3048c20-2112b388645e938e.js","static/chunks/d2094a0f-597f5f5153af1363.js","static/chunks/4986-beb7e8c6666e06ac.js","static/chunks/4977-cbc216ae92072dd5.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/static/web/_next/static/SR-IX1XB97Nswj37PL9Bs/_ssgManifest.js b/static/web/_next/static/OgycN-swOeuq4LS7JQY1Y/_ssgManifest.js similarity index 100% rename from static/web/_next/static/SR-IX1XB97Nswj37PL9Bs/_ssgManifest.js rename to static/web/_next/static/OgycN-swOeuq4LS7JQY1Y/_ssgManifest.js diff --git a/static/web/_next/static/chunks/pages/embed/chat/readwrite-36e4a1db2defe8a2.js.map b/static/web/_next/static/chunks/pages/embed/chat/readwrite-36e4a1db2defe8a2.js.map deleted file mode 100644 index 10ad61b3f..000000000 --- a/static/web/_next/static/chunks/pages/embed/chat/readwrite-36e4a1db2defe8a2.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/chunks/pages/embed/chat/readwrite-36e4a1db2defe8a2.js","mappings":"iQAEAA,EAAyB,SAAAC,CAAA,CAAAC,CAAA,EACzB,IAAAC,EAAA,GACA,QAAAC,KAAAH,EACAI,OAAAC,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAP,EAAAG,IAAAF,EAAAA,EAAAO,OAAA,CAAAL,IAAAD,CAAAA,CAAA,CAAAC,EAAA,CAAAH,CAAA,CAAAG,EAAA,EAEA,GAAAH,IAAA,EAAAA,GAAA,mBAAAI,OAAAK,qBAAA,SAAAC,EAAA,EAAAP,EAAAC,OAAAK,qBAAA,CAAAT,GAA4HU,EAAAP,EAAAQ,MAAA,CAAcD,IAC1I,EAAAT,EAAAO,OAAA,CAAAL,CAAA,CAAAO,EAAA,GAAAN,OAAAC,SAAA,CAAAO,oBAAA,CAAAL,IAAA,CAAAP,EAAAG,CAAA,CAAAO,EAAA,GAAAR,CAAAA,CAAA,CAAAC,CAAA,CAAAO,EAAA,EAAAV,CAAA,CAAAG,CAAA,CAAAO,EAAA,EACA,CACA,OAAAR,CACA,ECRIW,EAAqB,SAAAb,CAAA,CAAAC,CAAA,EACzB,IAAAC,EAAA,GACA,QAAAC,KAAAH,EACAI,OAAAC,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAP,EAAAG,IAAAF,EAAAA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A,CAACS,MAAO,CAAEwK,OAAQ,SAAU,WAAG,qBAGjC,CAEVC,CAAAA,EAAA,EAAevB,4IC5CA,SAASwB,GAAqB,CAC3C,IAAMC,EAAcC,CAAAA,EAAAA,EAAAA,EAAAA,EAAeC,EAAAA,EAAeA,EAC5CC,EAAWF,CAAAA,EAAAA,EAAAA,EAAAA,EAA8BG,EAAAA,EAA2BA,EACpEC,EAAeJ,CAAAA,EAAAA,EAAAA,EAAAA,EAA6BK,EAAAA,EAAqBA,EACjEC,EAAWN,CAAAA,EAAAA,EAAAA,EAAAA,EAAgCO,EAAAA,CAAYA,EAEvD,CAAEhC,KAAAA,CAAAA,CAAME,aAAAA,CAAAA,CAAc,CAAG2B,EACzB,CAAEI,eAAAA,CAAAA,CAAgB,CAAGF,EAE3B,GAAI,CAACP,EACH,OAAO,IAAI,CAGb,GAAM,CAAEV,GAAAA,CAAAA,CAAIoB,YAAAA,CAAAA,CAAaC,YAAAA,CAAAA,CAAa,CAAGX,EAEzC,MACE,GAAAnB,EAAAC,IAAA,EAACO,MAAAA,WACC,GAAAR,EAAAK,GAAA,EAAC0B,EAAAA,EAAiBA,CAAAA,CAAAA,GAClB,GAAA/B,EAAAK,GAAA,EAACX,EAAAA,CAAMA,CAAAA,CAACC,KAAMA,EAAMC,cAAa,GAACC,aAAcA,EAAcC,OAAQ8B,IACtE,GAAA5B,EAAAK,GAAA,EAAC2B,EAAAA,aAAaA,CAAAA,CACZV,SAAUA,EACVW,oBAAqBJ,EACrBK,WAAYzB,EACZqB,YAAaA,EACbK,UAAS,GACTC,OAAO,WAIf,qBC1CApI,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/./node_modules/antd/es/tag/CheckableTag.js","webpack://_N_E/./node_modules/antd/es/tag/index.js","webpack://_N_E/./node_modules/lodash/_Symbol.js","webpack://_N_E/./node_modules/lodash/_baseGetTag.js","webpack://_N_E/./node_modules/lodash/_baseTrim.js","webpack://_N_E/./node_modules/lodash/_freeGlobal.js","webpack://_N_E/./node_modules/lodash/_getRawTag.js","webpack://_N_E/./node_modules/lodash/_objectToString.js","webpack://_N_E/./node_modules/lodash/_root.js","webpack://_N_E/./node_modules/lodash/_trimmedEndIndex.js","webpack://_N_E/./node_modules/lodash/debounce.js","webpack://_N_E/./node_modules/lodash/isObject.js","webpack://_N_E/./node_modules/lodash/isObjectLike.js","webpack://_N_E/./node_modules/lodash/isSymbol.js","webpack://_N_E/./node_modules/lodash/now.js","webpack://_N_E/./node_modules/lodash/toNumber.js","webpack://_N_E/?b19d","webpack://_N_E/./components/ui/Header/Header.tsx","webpack://_N_E/./pages/embed/chat/readwrite/index.tsx","webpack://_N_E/./components/ui/Header/Header.module.scss","webpack://_N_E/"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nvar CheckableTag = function CheckableTag(_a) {\n var _classNames;\n var customizePrefixCls = _a.prefixCls,\n className = _a.className,\n checked = _a.checked,\n onChange = _a.onChange,\n onClick = _a.onClick,\n restProps = __rest(_a, [\"prefixCls\", \"className\", \"checked\", \"onChange\", \"onClick\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var handleClick = function handleClick(e) {\n onChange === null || onChange === void 0 ? void 0 : onChange(!checked);\n onClick === null || onClick === void 0 ? void 0 : onClick(e);\n };\n var prefixCls = getPrefixCls('tag', customizePrefixCls);\n var cls = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-checkable\"), true), _defineProperty(_classNames, \"\".concat(prefixCls, \"-checkable-checked\"), checked), _classNames), className);\n return /*#__PURE__*/React.createElement(\"span\", _extends({}, restProps, {\n className: cls,\n onClick: handleClick\n }));\n};\nexport default CheckableTag;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport CloseOutlined from \"@ant-design/icons/es/icons/CloseOutlined\";\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport { PresetColorTypes, PresetStatusColorTypes } from '../_util/colors';\nimport Wave from '../_util/wave';\nimport warning from '../_util/warning';\nimport CheckableTag from './CheckableTag';\nvar PresetColorRegex = new RegExp(\"^(\".concat(PresetColorTypes.join('|'), \")(-inverse)?$\"));\nvar PresetStatusColorRegex = new RegExp(\"^(\".concat(PresetStatusColorTypes.join('|'), \")$\"));\nvar InternalTag = function InternalTag(_a, ref) {\n var _classNames;\n var customizePrefixCls = _a.prefixCls,\n className = _a.className,\n style = _a.style,\n children = _a.children,\n icon = _a.icon,\n color = _a.color,\n onClose = _a.onClose,\n closeIcon = _a.closeIcon,\n _a$closable = _a.closable,\n closable = _a$closable === void 0 ? false : _a$closable,\n props = __rest(_a, [\"prefixCls\", \"className\", \"style\", \"children\", \"icon\", \"color\", \"onClose\", \"closeIcon\", \"closable\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var _React$useState = React.useState(true),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n visible = _React$useState2[0],\n setVisible = _React$useState2[1];\n // Warning for deprecated usage\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? warning(!('visible' in props), 'Tag', '`visible` will be removed in next major version, please use `visible && ` instead.') : void 0;\n }\n React.useEffect(function () {\n if ('visible' in props) {\n setVisible(props.visible);\n }\n }, [props.visible]);\n var isPresetColor = function isPresetColor() {\n if (!color) {\n return false;\n }\n return PresetColorRegex.test(color) || PresetStatusColorRegex.test(color);\n };\n var tagStyle = _extends({\n backgroundColor: color && !isPresetColor() ? color : undefined\n }, style);\n var presetColor = isPresetColor();\n var prefixCls = getPrefixCls('tag', customizePrefixCls);\n var tagClassName = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(color), presetColor), _defineProperty(_classNames, \"\".concat(prefixCls, \"-has-color\"), color && !presetColor), _defineProperty(_classNames, \"\".concat(prefixCls, \"-hidden\"), !visible), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n var handleCloseClick = function handleCloseClick(e) {\n e.stopPropagation();\n onClose === null || onClose === void 0 ? void 0 : onClose(e);\n if (e.defaultPrevented) {\n return;\n }\n if (!('visible' in props)) {\n setVisible(false);\n }\n };\n var renderCloseIcon = function renderCloseIcon() {\n if (closable) {\n return closeIcon ? /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-close-icon\"),\n onClick: handleCloseClick\n }, closeIcon) : /*#__PURE__*/React.createElement(CloseOutlined, {\n className: \"\".concat(prefixCls, \"-close-icon\"),\n onClick: handleCloseClick\n });\n }\n return null;\n };\n var isNeedWave = 'onClick' in props || children && children.type === 'a';\n var tagProps = omit(props, ['visible']);\n var iconNode = icon || null;\n var kids = iconNode ? /*#__PURE__*/React.createElement(React.Fragment, null, iconNode, /*#__PURE__*/React.createElement(\"span\", null, children)) : children;\n var tagNode = /*#__PURE__*/React.createElement(\"span\", _extends({}, tagProps, {\n ref: ref,\n className: tagClassName,\n style: tagStyle\n }), kids, renderCloseIcon());\n return isNeedWave ? /*#__PURE__*/React.createElement(Wave, null, tagNode) : tagNode;\n};\nvar Tag = /*#__PURE__*/React.forwardRef(InternalTag);\nif (process.env.NODE_ENV !== 'production') {\n Tag.displayName = 'Tag';\n}\nTag.CheckableTag = CheckableTag;\nexport default Tag;","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n","var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n","\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/embed/chat/readwrite\",\n function () {\n return require(\"private-next-pages/embed/chat/readwrite/index.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/embed/chat/readwrite\"])\n });\n }\n ","import { Tag, Tooltip } from 'antd';\nimport { FC } from 'react';\nimport cn from 'classnames';\nimport dynamic from 'next/dynamic';\nimport Link from 'next/link';\nimport { OwncastLogo } from '../../common/OwncastLogo/OwncastLogo';\nimport styles from './Header.module.scss';\n\n// Lazy loaded components\n\nconst UserDropdown = dynamic(\n () => import('../../common/UserDropdown/UserDropdown').then(mod => mod.UserDropdown),\n {\n ssr: false,\n },\n);\n\nexport type HeaderComponentProps = {\n name: string;\n chatAvailable: boolean;\n chatDisabled: boolean;\n online: boolean;\n};\n\nexport const Header: FC = ({\n name = 'Your stream title',\n chatAvailable,\n chatDisabled,\n online,\n}) => (\n
\n {online && (\n \n Skip to player\n \n )}\n \n Skip to page content\n \n \n Skip to footer\n \n
\n
\n \n
\n

\n {name}\n

\n
\n {chatAvailable && !chatDisabled && }\n {!chatAvailable && !chatDisabled && (\n \n Chat offline\n \n )}\n
\n);\nexport default Header;\n","import { useRecoilValue } from 'recoil';\nimport { ChatMessage } from '../../../../interfaces/chat-message.model';\nimport { ChatContainer } from '../../../../components/chat/ChatContainer/ChatContainer';\nimport {\n ClientConfigStore,\n currentUserAtom,\n visibleChatMessagesSelector,\n clientConfigStateAtom,\n appStateAtom,\n} from '../../../../components/stores/ClientConfigStore';\nimport Header from '../../../../components/ui/Header/Header';\nimport { ClientConfig } from '../../../../interfaces/client-config.model';\nimport { AppStateOptions } from '../../../../components/stores/application-state';\n\nexport default function ReadWriteChatEmbed() {\n const currentUser = useRecoilValue(currentUserAtom);\n const messages = useRecoilValue(visibleChatMessagesSelector);\n const clientConfig = useRecoilValue(clientConfigStateAtom);\n const appState = useRecoilValue(appStateAtom);\n\n const { name, chatDisabled } = clientConfig;\n const { videoAvailable } = appState;\n\n if (!currentUser) {\n return null;\n }\n\n const { id, displayName, isModerator } = currentUser;\n\n return (\n
\n \n
\n \n
\n );\n}\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"header\":\"Header_header__U4Ro1\",\"logoImage\":\"Header_logoImage__beIL2\",\"logo\":\"Header_logo__HLZ6Z\",\"title\":\"Header_title__FIts2\",\"skipLink\":\"Header_skipLink__9Pusb\"};"],"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","tag_rest","PresetColorRegex","concat","colors","Y","join","PresetStatusColorRegex","E","Tag","react","forwardRef","_a","ref","_classNames","customizePrefixCls","prefixCls","className","style","children","icon","color","onClose","closeIcon","_a$closable","closable","props","_React$useContext","useContext","context","E_","getPrefixCls","direction","_React$useState","useState","_React$useState2","slicedToArray","Z","visible","setVisible","useEffect","isPresetColor","test","tagStyle","esm_extends","backgroundColor","undefined","presetColor","tagClassName","classnames_default","defineProperty","handleCloseClick","stopPropagation","defaultPrevented","isNeedWave","type","tagProps","omit","iconNode","kids","createElement","Fragment","tagNode","onClick","CloseOutlined","wave","CheckableTag","checked","onChange","restProps","cls","tag","Symbol","root","module","exports","__webpack_require__","getRawTag","objectToString","symToStringTag","toStringTag","value","trimmedEndIndex","reTrimStart","string","slice","replace","freeGlobal","g","objectProto","nativeObjectToString","toString","isOwn","unmasked","result","freeSelf","self","Function","reWhitespace","index","charAt","isObject","now","toNumber","nativeMax","Math","max","nativeMin","min","func","wait","options","lastArgs","lastThis","maxWait","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","invokeFunc","time","args","thisArg","apply","shouldInvoke","timeSinceLastCall","timeSinceLastInvoke","timerExpired","timeWaiting","trailingEdge","setTimeout","debounced","isInvoking","arguments","clearTimeout","cancel","flush","baseGetTag","isObjectLike","Date","baseTrim","isSymbol","NAN","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","parseInt","other","valueOf","isBinary","window","__NEXT_P","push","UserDropdown","dynamic","Promise","all","then","bind","mod","ssr","Header","name","chatAvailable","chatDisabled","online","param","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsxs","header","cn","styles","jsx","Link","href","div","id","OwncastLogo","variant","h1","title","Tooltip","placement","cursor","__webpack_exports__","ReadWriteChatEmbed","currentUser","useRecoilValue","currentUserAtom","messages","visibleChatMessagesSelector","clientConfig","clientConfigStateAtom","appState","appStateAtom","videoAvailable","displayName","isModerator","ClientConfigStore","ChatContainer","usernameToHighlight","chatUserId","showInput","height"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/pages/embed/chat/readwrite-36e4a1db2defe8a2.js b/static/web/_next/static/chunks/pages/embed/chat/readwrite-71339811dd25d3e9.js similarity index 84% rename from static/web/_next/static/chunks/pages/embed/chat/readwrite-36e4a1db2defe8a2.js rename to static/web/_next/static/chunks/pages/embed/chat/readwrite-71339811dd25d3e9.js index 625445a8e..1796aa15e 100644 --- a/static/web/_next/static/chunks/pages/embed/chat/readwrite-36e4a1db2defe8a2.js +++ b/static/web/_next/static/chunks/pages/embed/chat/readwrite-71339811dd25d3e9.js @@ -1,2 +1,2 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[955,1496],{20550:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var r=n(4942),o=n(87462),i=n(97685),c=n(97937),a=n(94184),l=n.n(a),s=n(98423),u=n(67294),f=n(53124),p=n(98787),d=n(68349),h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},v=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},b=RegExp("^(".concat(p.Y.join("|"),")(-inverse)?$")),m=RegExp("^(".concat(p.E.join("|"),")$")),g=u.forwardRef(function(e,t){var n,a=e.prefixCls,p=e.className,h=e.style,g=e.children,x=e.icon,y=e.color,j=e.onClose,k=e.closeIcon,O=e.closable,_=v(e,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),C=u.useContext(f.E_),E=C.getPrefixCls,w=C.direction,N=u.useState(!0),Z=(0,i.Z)(N,2),P=Z[0],S=Z[1];u.useEffect(function(){"visible"in _&&S(_.visible)},[_.visible]);var T=function(){return!!y&&(b.test(y)||m.test(y))},I=(0,o.Z)({backgroundColor:y&&!T()?y:void 0},h),H=T(),L=E("tag",a),$=l()(L,(n={},(0,r.Z)(n,"".concat(L,"-").concat(y),H),(0,r.Z)(n,"".concat(L,"-has-color"),y&&!H),(0,r.Z)(n,"".concat(L,"-hidden"),!P),(0,r.Z)(n,"".concat(L,"-rtl"),"rtl"===w),n),p),J=function(e){e.stopPropagation(),null==j||j(e),!e.defaultPrevented&&("visible"in _||S(!1))},R="onClick"in _||g&&"a"===g.type,U=(0,s.Z)(_,["visible"]),D=x||null,F=D?u.createElement(u.Fragment,null,D,u.createElement("span",null,g)):g,M=u.createElement("span",(0,o.Z)({},U,{ref:t,className:$,style:I}),F,void 0!==O&&O?k?u.createElement("span",{className:"".concat(L,"-close-icon"),onClick:J},k):u.createElement(c.Z,{className:"".concat(L,"-close-icon"),onClick:J}):null);return R?u.createElement(d.Z,null,M):M});g.CheckableTag=function(e){var t,n=e.prefixCls,i=e.className,c=e.checked,a=e.onChange,s=e.onClick,p=h(e,["prefixCls","className","checked","onChange","onClick"]),d=(0,u.useContext(f.E_).getPrefixCls)("tag",n),v=l()(d,(t={},(0,r.Z)(t,"".concat(d,"-checkable"),!0),(0,r.Z)(t,"".concat(d,"-checkable-checked"),c),t),i);return u.createElement("span",(0,o.Z)({},p,{className:v,onClick:function(e){null==a||a(!c),null==s||s(e)}}))};var x=g},62705:function(e,t,n){var r=n(55639).Symbol;e.exports=r},44239:function(e,t,n){var r=n(62705),o=n(89607),i=n(2333),c=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":c&&c in Object(e)?o(e):i(e)}},27561:function(e,t,n){var r=n(67990),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},31957:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},89607:function(e,t,n){var r=n(62705),o=Object.prototype,i=o.hasOwnProperty,c=o.toString,a=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),n=e[a];try{e[a]=void 0;var r=!0}catch(e){}var o=c.call(e);return r&&(t?e[a]=n:delete e[a]),o}},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},55639:function(e,t,n){var r=n(31957),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},67990:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},23279:function(e,t,n){var r=n(13218),o=n(7771),i=n(14841),c=Math.max,a=Math.min;e.exports=function(e,t,n){var l,s,u,f,p,d,h=0,v=!1,b=!1,m=!0;if("function"!=typeof e)throw TypeError("Expected a function");function g(t){var n=l,r=s;return l=s=void 0,h=t,f=e.apply(r,n)}function x(e){var n=e-d,r=e-h;return void 0===d||n>=t||n<0||b&&r>=u}function y(){var e,n,r,i=o();if(x(i))return j(i);p=setTimeout(y,(e=i-d,n=i-h,r=t-e,b?a(r,u-n):r))}function j(e){return(p=void 0,m&&l)?g(e):(l=s=void 0,f)}function k(){var e,n=o(),r=x(n);if(l=arguments,s=this,d=n,r){if(void 0===p)return h=e=d,p=setTimeout(y,t),v?g(e):f;if(b)return clearTimeout(p),p=setTimeout(y,t),g(d)}return void 0===p&&(p=setTimeout(y,t)),f}return t=i(t)||0,r(n)&&(v=!!n.leading,u=(b="maxWait"in n)?c(i(n.maxWait)||0,t):u,m="trailing"in n?!!n.trailing:m),k.cancel=function(){void 0!==p&&clearTimeout(p),h=0,l=d=s=p=void 0},k.flush=function(){return void 0===p?f:j(o())},k}},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},33448:function(e,t,n){var r=n(44239),o=n(37005);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},7771:function(e,t,n){var r=n(55639);e.exports=function(){return r.Date.now()}},14841:function(e,t,n){var r=n(27561),o=n(13218),i=n(33448),c=0/0,a=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,s=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return c;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=l.test(e);return n||s.test(e)?u(e.slice(2),n?2:8):a.test(e)?c:+e}},30672:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/embed/chat/readwrite",function(){return n(34986)}])},6097:function(e,t,n){"use strict";n.d(t,{h:function(){return b}});var r=n(85893),o=n(94199),i=n(20550),c=n(94184),a=n.n(c),l=n(5152),s=n.n(l),u=n(41664),f=n.n(u),p=n(50738),d=n(31764),h=n.n(d);let v=s()(()=>Promise.all([n.e(4931),n.e(3013),n.e(850)]).then(n.bind(n,80850)).then(e=>e.UserDropdown),{loadableGenerated:{webpack:()=>[80850]},ssr:!1}),b=e=>{let{name:t="Your stream title",chatAvailable:n,chatDisabled:c,online:l}=e;return(0,r.jsxs)("header",{className:a()(["".concat(h().header)],"global-header"),children:[l&&(0,r.jsx)(f(),{href:"#player",className:h().skipLink,children:"Skip to player"}),(0,r.jsx)(f(),{href:"#skip-to-content",className:h().skipLink,children:"Skip to page content"}),(0,r.jsx)(f(),{href:"#footer",className:h().skipLink,children:"Skip to footer"}),(0,r.jsxs)("div",{className:h().logo,children:[(0,r.jsx)("div",{id:"header-logo",className:h().logoImage,children:(0,r.jsx)(p.C,{variant:"contrast"})}),(0,r.jsx)("h1",{className:h().title,id:"global-header-text",title:t,children:t})]}),n&&!c&&(0,r.jsx)(v,{}),!n&&!c&&(0,r.jsx)(o.Z,{title:"Chat is available when the stream is live.",placement:"left",children:(0,r.jsx)(i.Z,{style:{cursor:"pointer"},children:"Chat offline"})})]})};t.Z=b},34986:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return l}});var r=n(85893),o=n(4480),i=n(94977),c=n(77466),a=n(6097);function l(){let e=(0,o.sJ)(c.db),t=(0,o.sJ)(c.pH),n=(0,o.sJ)(c.g1),l=(0,o.sJ)(c.Q),{name:s,chatDisabled:u}=n,{videoAvailable:f}=l;if(!e)return null;let{id:p,displayName:d,isModerator:h}=e;return(0,r.jsxs)("div",{children:[(0,r.jsx)(c.me,{}),(0,r.jsx)(a.Z,{name:s,chatAvailable:!0,chatDisabled:u,online:f}),(0,r.jsx)(i.ChatContainer,{messages:t,usernameToHighlight:d,chatUserId:p,isModerator:h,showInput:!0,height:"80vh"})]})}},31764:function(e){e.exports={header:"Header_header__U4Ro1",logoImage:"Header_logoImage__beIL2",logo:"Header_logo__HLZ6Z",title:"Header_title__FIts2",skipLink:"Header_skipLink__9Pusb"}}},function(e){e.O(0,[1272,8700,2138,31,492,6395,4986,710,7466,4977,9774,2888,179],function(){return e(e.s=30672)}),_N_E=e.O()}]); -//# sourceMappingURL=readwrite-36e4a1db2defe8a2.js.map \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[955,1496],{20550:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var r=n(4942),o=n(87462),i=n(97685),c=n(97937),a=n(94184),l=n.n(a),s=n(98423),u=n(67294),f=n(53124),p=n(98787),d=n(68349),h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},v=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},b=RegExp("^(".concat(p.Y.join("|"),")(-inverse)?$")),m=RegExp("^(".concat(p.E.join("|"),")$")),g=u.forwardRef(function(e,t){var n,a=e.prefixCls,p=e.className,h=e.style,g=e.children,x=e.icon,y=e.color,j=e.onClose,k=e.closeIcon,O=e.closable,_=v(e,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),C=u.useContext(f.E_),E=C.getPrefixCls,w=C.direction,N=u.useState(!0),Z=(0,i.Z)(N,2),P=Z[0],S=Z[1];u.useEffect(function(){"visible"in _&&S(_.visible)},[_.visible]);var T=function(){return!!y&&(b.test(y)||m.test(y))},I=(0,o.Z)({backgroundColor:y&&!T()?y:void 0},h),H=T(),L=E("tag",a),$=l()(L,(n={},(0,r.Z)(n,"".concat(L,"-").concat(y),H),(0,r.Z)(n,"".concat(L,"-has-color"),y&&!H),(0,r.Z)(n,"".concat(L,"-hidden"),!P),(0,r.Z)(n,"".concat(L,"-rtl"),"rtl"===w),n),p),J=function(e){e.stopPropagation(),null==j||j(e),!e.defaultPrevented&&("visible"in _||S(!1))},R="onClick"in _||g&&"a"===g.type,U=(0,s.Z)(_,["visible"]),D=x||null,F=D?u.createElement(u.Fragment,null,D,u.createElement("span",null,g)):g,M=u.createElement("span",(0,o.Z)({},U,{ref:t,className:$,style:I}),F,void 0!==O&&O?k?u.createElement("span",{className:"".concat(L,"-close-icon"),onClick:J},k):u.createElement(c.Z,{className:"".concat(L,"-close-icon"),onClick:J}):null);return R?u.createElement(d.Z,null,M):M});g.CheckableTag=function(e){var t,n=e.prefixCls,i=e.className,c=e.checked,a=e.onChange,s=e.onClick,p=h(e,["prefixCls","className","checked","onChange","onClick"]),d=(0,u.useContext(f.E_).getPrefixCls)("tag",n),v=l()(d,(t={},(0,r.Z)(t,"".concat(d,"-checkable"),!0),(0,r.Z)(t,"".concat(d,"-checkable-checked"),c),t),i);return u.createElement("span",(0,o.Z)({},p,{className:v,onClick:function(e){null==a||a(!c),null==s||s(e)}}))};var x=g},62705:function(e,t,n){var r=n(55639).Symbol;e.exports=r},44239:function(e,t,n){var r=n(62705),o=n(89607),i=n(2333),c=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":c&&c in Object(e)?o(e):i(e)}},27561:function(e,t,n){var r=n(67990),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},31957:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},89607:function(e,t,n){var r=n(62705),o=Object.prototype,i=o.hasOwnProperty,c=o.toString,a=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),n=e[a];try{e[a]=void 0;var r=!0}catch(e){}var o=c.call(e);return r&&(t?e[a]=n:delete e[a]),o}},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},55639:function(e,t,n){var r=n(31957),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},67990:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},23279:function(e,t,n){var r=n(13218),o=n(7771),i=n(14841),c=Math.max,a=Math.min;e.exports=function(e,t,n){var l,s,u,f,p,d,h=0,v=!1,b=!1,m=!0;if("function"!=typeof e)throw TypeError("Expected a function");function g(t){var n=l,r=s;return l=s=void 0,h=t,f=e.apply(r,n)}function x(e){var n=e-d,r=e-h;return void 0===d||n>=t||n<0||b&&r>=u}function y(){var e,n,r,i=o();if(x(i))return j(i);p=setTimeout(y,(e=i-d,n=i-h,r=t-e,b?a(r,u-n):r))}function j(e){return(p=void 0,m&&l)?g(e):(l=s=void 0,f)}function k(){var e,n=o(),r=x(n);if(l=arguments,s=this,d=n,r){if(void 0===p)return h=e=d,p=setTimeout(y,t),v?g(e):f;if(b)return clearTimeout(p),p=setTimeout(y,t),g(d)}return void 0===p&&(p=setTimeout(y,t)),f}return t=i(t)||0,r(n)&&(v=!!n.leading,u=(b="maxWait"in n)?c(i(n.maxWait)||0,t):u,m="trailing"in n?!!n.trailing:m),k.cancel=function(){void 0!==p&&clearTimeout(p),h=0,l=d=s=p=void 0},k.flush=function(){return void 0===p?f:j(o())},k}},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},33448:function(e,t,n){var r=n(44239),o=n(37005);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},7771:function(e,t,n){var r=n(55639);e.exports=function(){return r.Date.now()}},14841:function(e,t,n){var r=n(27561),o=n(13218),i=n(33448),c=0/0,a=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,s=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return c;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=l.test(e);return n||s.test(e)?u(e.slice(2),n?2:8):a.test(e)?c:+e}},30672:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/embed/chat/readwrite",function(){return n(34986)}])},6097:function(e,t,n){"use strict";n.d(t,{h:function(){return b}});var r=n(85893),o=n(94199),i=n(20550),c=n(94184),a=n.n(c),l=n(5152),s=n.n(l),u=n(41664),f=n.n(u),p=n(50738),d=n(31764),h=n.n(d);let v=s()(()=>Promise.all([n.e(4931),n.e(3013),n.e(850)]).then(n.bind(n,80850)).then(e=>e.UserDropdown),{loadableGenerated:{webpack:()=>[80850]},ssr:!1}),b=e=>{let{name:t="Your stream title",chatAvailable:n,chatDisabled:c,online:l}=e;return(0,r.jsxs)("header",{className:a()(["".concat(h().header)],"global-header"),children:[l&&(0,r.jsx)(f(),{href:"#player",className:h().skipLink,children:"Skip to player"}),(0,r.jsx)(f(),{href:"#skip-to-content",className:h().skipLink,children:"Skip to page content"}),(0,r.jsx)(f(),{href:"#footer",className:h().skipLink,children:"Skip to footer"}),(0,r.jsxs)("div",{className:h().logo,children:[(0,r.jsx)("div",{id:"header-logo",className:h().logoImage,children:(0,r.jsx)(p.C,{variant:"contrast"})}),(0,r.jsx)("h1",{className:h().title,id:"global-header-text",children:t})]}),n&&!c&&(0,r.jsx)(v,{}),!n&&!c&&(0,r.jsx)(o.Z,{title:"Chat is available when the stream is live.",placement:"left",children:(0,r.jsx)(i.Z,{style:{cursor:"pointer"},children:"Chat offline"})})]})};t.Z=b},34986:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return l}});var r=n(85893),o=n(4480),i=n(94977),c=n(77466),a=n(6097);function l(){let e=(0,o.sJ)(c.db),t=(0,o.sJ)(c.pH),n=(0,o.sJ)(c.g1),l=(0,o.sJ)(c.Q),{name:s,chatDisabled:u}=n,{videoAvailable:f}=l;if(!e)return null;let{id:p,displayName:d,isModerator:h}=e;return(0,r.jsxs)("div",{children:[(0,r.jsx)(c.me,{}),(0,r.jsx)(a.Z,{name:s,chatAvailable:!0,chatDisabled:u,online:f}),(0,r.jsx)(i.ChatContainer,{messages:t,usernameToHighlight:d,chatUserId:p,isModerator:h,showInput:!0,height:"80vh"})]})}},31764:function(e){e.exports={header:"Header_header__U4Ro1",logoImage:"Header_logoImage__beIL2",logo:"Header_logo__HLZ6Z",title:"Header_title__FIts2",skipLink:"Header_skipLink__9Pusb"}}},function(e){e.O(0,[1272,8700,2138,31,492,6395,4986,710,7466,4977,9774,2888,179],function(){return e(e.s=30672)}),_N_E=e.O()}]); +//# sourceMappingURL=readwrite-71339811dd25d3e9.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/pages/embed/chat/readwrite-71339811dd25d3e9.js.map b/static/web/_next/static/chunks/pages/embed/chat/readwrite-71339811dd25d3e9.js.map new file mode 100644 index 000000000..40c226f5c --- /dev/null +++ b/static/web/_next/static/chunks/pages/embed/chat/readwrite-71339811dd25d3e9.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/chunks/pages/embed/chat/readwrite-71339811dd25d3e9.js","mappings":"iQAEAA,EAAyB,SAAAC,CAAA,CAAAC,CAAA,EACzB,IAAAC,EAAA,GACA,QAAAC,KAAAH,EACAI,OAAAC,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAA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Aa,CAAGX,EAEzC,MACE,GAAAnB,EAAAC,IAAA,EAACO,MAAAA,WACC,GAAAR,EAAAK,GAAA,EAAC0B,EAAAA,EAAiBA,CAAAA,CAAAA,GAClB,GAAA/B,EAAAK,GAAA,EAACX,EAAAA,CAAMA,CAAAA,CAACC,KAAMA,EAAMC,cAAa,GAACC,aAAcA,EAAcC,OAAQ8B,IACtE,GAAA5B,EAAAK,GAAA,EAAC2B,EAAAA,aAAaA,CAAAA,CACZV,SAAUA,EACVW,oBAAqBJ,EACrBK,WAAYzB,EACZqB,YAAaA,EACbK,UAAS,GACTC,OAAO,WAIf,qBC1CApI,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/./node_modules/antd/es/tag/CheckableTag.js","webpack://_N_E/./node_modules/antd/es/tag/index.js","webpack://_N_E/./node_modules/lodash/_Symbol.js","webpack://_N_E/./node_modules/lodash/_baseGetTag.js","webpack://_N_E/./node_modules/lodash/_baseTrim.js","webpack://_N_E/./node_modules/lodash/_freeGlobal.js","webpack://_N_E/./node_modules/lodash/_getRawTag.js","webpack://_N_E/./node_modules/lodash/_objectToString.js","webpack://_N_E/./node_modules/lodash/_root.js","webpack://_N_E/./node_modules/lodash/_trimmedEndIndex.js","webpack://_N_E/./node_modules/lodash/debounce.js","webpack://_N_E/./node_modules/lodash/isObject.js","webpack://_N_E/./node_modules/lodash/isObjectLike.js","webpack://_N_E/./node_modules/lodash/isSymbol.js","webpack://_N_E/./node_modules/lodash/now.js","webpack://_N_E/./node_modules/lodash/toNumber.js","webpack://_N_E/?b19d","webpack://_N_E/./components/ui/Header/Header.tsx","webpack://_N_E/./pages/embed/chat/readwrite/index.tsx","webpack://_N_E/./components/ui/Header/Header.module.scss","webpack://_N_E/"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nvar CheckableTag = function CheckableTag(_a) {\n var _classNames;\n var customizePrefixCls = _a.prefixCls,\n className = _a.className,\n checked = _a.checked,\n onChange = _a.onChange,\n onClick = _a.onClick,\n restProps = __rest(_a, [\"prefixCls\", \"className\", \"checked\", \"onChange\", \"onClick\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var handleClick = function handleClick(e) {\n onChange === null || onChange === void 0 ? void 0 : onChange(!checked);\n onClick === null || onClick === void 0 ? void 0 : onClick(e);\n };\n var prefixCls = getPrefixCls('tag', customizePrefixCls);\n var cls = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-checkable\"), true), _defineProperty(_classNames, \"\".concat(prefixCls, \"-checkable-checked\"), checked), _classNames), className);\n return /*#__PURE__*/React.createElement(\"span\", _extends({}, restProps, {\n className: cls,\n onClick: handleClick\n }));\n};\nexport default CheckableTag;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport CloseOutlined from \"@ant-design/icons/es/icons/CloseOutlined\";\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport { PresetColorTypes, PresetStatusColorTypes } from '../_util/colors';\nimport Wave from '../_util/wave';\nimport warning from '../_util/warning';\nimport CheckableTag from './CheckableTag';\nvar PresetColorRegex = new RegExp(\"^(\".concat(PresetColorTypes.join('|'), \")(-inverse)?$\"));\nvar PresetStatusColorRegex = new RegExp(\"^(\".concat(PresetStatusColorTypes.join('|'), \")$\"));\nvar InternalTag = function InternalTag(_a, ref) {\n var _classNames;\n var customizePrefixCls = _a.prefixCls,\n className = _a.className,\n style = _a.style,\n children = _a.children,\n icon = _a.icon,\n color = _a.color,\n onClose = _a.onClose,\n closeIcon = _a.closeIcon,\n _a$closable = _a.closable,\n closable = _a$closable === void 0 ? false : _a$closable,\n props = __rest(_a, [\"prefixCls\", \"className\", \"style\", \"children\", \"icon\", \"color\", \"onClose\", \"closeIcon\", \"closable\"]);\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var _React$useState = React.useState(true),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n visible = _React$useState2[0],\n setVisible = _React$useState2[1];\n // Warning for deprecated usage\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? warning(!('visible' in props), 'Tag', '`visible` will be removed in next major version, please use `visible && ` instead.') : void 0;\n }\n React.useEffect(function () {\n if ('visible' in props) {\n setVisible(props.visible);\n }\n }, [props.visible]);\n var isPresetColor = function isPresetColor() {\n if (!color) {\n return false;\n }\n return PresetColorRegex.test(color) || PresetStatusColorRegex.test(color);\n };\n var tagStyle = _extends({\n backgroundColor: color && !isPresetColor() ? color : undefined\n }, style);\n var presetColor = isPresetColor();\n var prefixCls = getPrefixCls('tag', customizePrefixCls);\n var tagClassName = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(color), presetColor), _defineProperty(_classNames, \"\".concat(prefixCls, \"-has-color\"), color && !presetColor), _defineProperty(_classNames, \"\".concat(prefixCls, \"-hidden\"), !visible), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n var handleCloseClick = function handleCloseClick(e) {\n e.stopPropagation();\n onClose === null || onClose === void 0 ? void 0 : onClose(e);\n if (e.defaultPrevented) {\n return;\n }\n if (!('visible' in props)) {\n setVisible(false);\n }\n };\n var renderCloseIcon = function renderCloseIcon() {\n if (closable) {\n return closeIcon ? /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-close-icon\"),\n onClick: handleCloseClick\n }, closeIcon) : /*#__PURE__*/React.createElement(CloseOutlined, {\n className: \"\".concat(prefixCls, \"-close-icon\"),\n onClick: handleCloseClick\n });\n }\n return null;\n };\n var isNeedWave = 'onClick' in props || children && children.type === 'a';\n var tagProps = omit(props, ['visible']);\n var iconNode = icon || null;\n var kids = iconNode ? /*#__PURE__*/React.createElement(React.Fragment, null, iconNode, /*#__PURE__*/React.createElement(\"span\", null, children)) : children;\n var tagNode = /*#__PURE__*/React.createElement(\"span\", _extends({}, tagProps, {\n ref: ref,\n className: tagClassName,\n style: tagStyle\n }), kids, renderCloseIcon());\n return isNeedWave ? /*#__PURE__*/React.createElement(Wave, null, tagNode) : tagNode;\n};\nvar Tag = /*#__PURE__*/React.forwardRef(InternalTag);\nif (process.env.NODE_ENV !== 'production') {\n Tag.displayName = 'Tag';\n}\nTag.CheckableTag = CheckableTag;\nexport default Tag;","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n","var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n","\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/embed/chat/readwrite\",\n function () {\n return require(\"private-next-pages/embed/chat/readwrite/index.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/embed/chat/readwrite\"])\n });\n }\n ","import { Tag, Tooltip } from 'antd';\nimport { FC } from 'react';\nimport cn from 'classnames';\nimport dynamic from 'next/dynamic';\nimport Link from 'next/link';\nimport { OwncastLogo } from '../../common/OwncastLogo/OwncastLogo';\nimport styles from './Header.module.scss';\n\n// Lazy loaded components\n\nconst UserDropdown = dynamic(\n () => import('../../common/UserDropdown/UserDropdown').then(mod => mod.UserDropdown),\n {\n ssr: false,\n },\n);\n\nexport type HeaderComponentProps = {\n name: string;\n chatAvailable: boolean;\n chatDisabled: boolean;\n online: boolean;\n};\n\nexport const Header: FC = ({\n name = 'Your stream title',\n chatAvailable,\n chatDisabled,\n online,\n}) => (\n
\n {online && (\n \n Skip to player\n \n )}\n \n Skip to page content\n \n \n Skip to footer\n \n
\n
\n \n
\n

\n {name}\n

\n
\n {chatAvailable && !chatDisabled && }\n {!chatAvailable && !chatDisabled && (\n \n Chat offline\n \n )}\n
\n);\nexport default Header;\n","import { useRecoilValue } from 'recoil';\nimport { ChatMessage } from '../../../../interfaces/chat-message.model';\nimport { ChatContainer } from '../../../../components/chat/ChatContainer/ChatContainer';\nimport {\n ClientConfigStore,\n currentUserAtom,\n visibleChatMessagesSelector,\n clientConfigStateAtom,\n appStateAtom,\n} from '../../../../components/stores/ClientConfigStore';\nimport Header from '../../../../components/ui/Header/Header';\nimport { ClientConfig } from '../../../../interfaces/client-config.model';\nimport { AppStateOptions } from '../../../../components/stores/application-state';\n\nexport default function ReadWriteChatEmbed() {\n const currentUser = useRecoilValue(currentUserAtom);\n const messages = useRecoilValue(visibleChatMessagesSelector);\n const clientConfig = useRecoilValue(clientConfigStateAtom);\n const appState = useRecoilValue(appStateAtom);\n\n const { name, chatDisabled } = clientConfig;\n const { videoAvailable } = appState;\n\n if (!currentUser) {\n return null;\n }\n\n const { id, displayName, isModerator } = currentUser;\n\n return (\n
\n \n
\n \n
\n );\n}\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"header\":\"Header_header__U4Ro1\",\"logoImage\":\"Header_logoImage__beIL2\",\"logo\":\"Header_logo__HLZ6Z\",\"title\":\"Header_title__FIts2\",\"skipLink\":\"Header_skipLink__9Pusb\"};"],"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","tag_rest","PresetColorRegex","concat","colors","Y","join","PresetStatusColorRegex","E","Tag","react","forwardRef","_a","ref","_classNames","customizePrefixCls","prefixCls","className","style","children","icon","color","onClose","closeIcon","_a$closable","closable","props","_React$useContext","useContext","context","E_","getPrefixCls","direction","_React$useState","useState","_React$useState2","slicedToArray","Z","visible","setVisible","useEffect","isPresetColor","test","tagStyle","esm_extends","backgroundColor","undefined","presetColor","tagClassName","classnames_default","defineProperty","handleCloseClick","stopPropagation","defaultPrevented","isNeedWave","type","tagProps","omit","iconNode","kids","createElement","Fragment","tagNode","onClick","CloseOutlined","wave","CheckableTag","checked","onChange","restProps","cls","tag","Symbol","root","module","exports","__webpack_require__","getRawTag","objectToString","symToStringTag","toStringTag","value","trimmedEndIndex","reTrimStart","string","slice","replace","freeGlobal","g","objectProto","nativeObjectToString","toString","isOwn","unmasked","result","freeSelf","self","Function","reWhitespace","index","charAt","isObject","now","toNumber","nativeMax","Math","max","nativeMin","min","func","wait","options","lastArgs","lastThis","maxWait","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","invokeFunc","time","args","thisArg","apply","shouldInvoke","timeSinceLastCall","timeSinceLastInvoke","timerExpired","timeWaiting","trailingEdge","setTimeout","debounced","isInvoking","arguments","clearTimeout","cancel","flush","baseGetTag","isObjectLike","Date","baseTrim","isSymbol","NAN","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","parseInt","other","valueOf","isBinary","window","__NEXT_P","push","UserDropdown","dynamic","Promise","all","then","bind","mod","ssr","Header","name","chatAvailable","chatDisabled","online","param","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsxs","header","cn","styles","jsx","Link","href","div","id","OwncastLogo","variant","h1","Tooltip","title","placement","cursor","__webpack_exports__","ReadWriteChatEmbed","currentUser","useRecoilValue","currentUserAtom","messages","visibleChatMessagesSelector","clientConfig","clientConfigStateAtom","appState","appStateAtom","videoAvailable","displayName","isModerator","ClientConfigStore","ChatContainer","usernameToHighlight","chatUserId","showInput","height"],"sourceRoot":""} \ No newline at end of file diff --git a/static/web/_next/static/chunks/pages/index-152caad6c0e6dd95.js b/static/web/_next/static/chunks/pages/index-152caad6c0e6dd95.js new file mode 100644 index 000000000..4dec10811 --- /dev/null +++ b/static/web/_next/static/chunks/pages/index-152caad6c0e6dd95.js @@ -0,0 +1,2 @@ +(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(56152)}])},78696:function(e,t,n){"use strict";n.d(t,{e:function(){return d}});var o=n(85893),s=n(71577),a=n(5152),i=n.n(a),r=n(13959),l=n.n(r);let c=i()(()=>n.e(5903).then(n.t.bind(n,5903,23)),{loadableGenerated:{webpack:()=>[5903]},ssr:!1}),d=e=>{let{onClick:t,props:n}=e;return(0,o.jsx)(s.Z,{...n,type:"primary",className:l().button,icon:(0,o.jsx)(c,{}),onClick:t,id:"follow-button",children:"Follow"})}},6097:function(e,t,n){"use strict";n.d(t,{h:function(){return f}});var o=n(85893),s=n(94199),a=n(20550),i=n(94184),r=n.n(i),l=n(5152),c=n.n(l),d=n(41664),u=n.n(d),m=n(50738),h=n(31764),p=n.n(h);let x=c()(()=>Promise.all([n.e(4931),n.e(3013),n.e(850)]).then(n.bind(n,80850)).then(e=>e.UserDropdown),{loadableGenerated:{webpack:()=>[80850]},ssr:!1}),f=e=>{let{name:t="Your stream title",chatAvailable:n,chatDisabled:i,online:l}=e;return(0,o.jsxs)("header",{className:r()(["".concat(p().header)],"global-header"),children:[l&&(0,o.jsx)(u(),{href:"#player",className:p().skipLink,children:"Skip to player"}),(0,o.jsx)(u(),{href:"#skip-to-content",className:p().skipLink,children:"Skip to page content"}),(0,o.jsx)(u(),{href:"#footer",className:p().skipLink,children:"Skip to footer"}),(0,o.jsxs)("div",{className:p().logo,children:[(0,o.jsx)("div",{id:"header-logo",className:p().logoImage,children:(0,o.jsx)(m.C,{variant:"contrast"})}),(0,o.jsx)("h1",{className:p().title,id:"global-header-text",children:t})]}),n&&!i&&(0,o.jsx)(x,{}),!n&&!i&&(0,o.jsx)(s.Z,{title:"Chat is available when the stream is live.",placement:"left",children:(0,o.jsx)(a.Z,{style:{cursor:"pointer"},children:"Chat offline"})})]})};t.Z=f},14761:function(e,t,n){"use strict";n.r(t),n.d(t,{Modal:function(){return d}});var o=n(85893),s=n(85402),a=n(26303),i=n(11382),r=n(67294),l=n(77011),c=n.n(l);let d=e=>{let{title:t,url:n,open:l,handleOk:d,handleCancel:u,afterClose:m,height:h,width:p,children:x}=e,[f,j]=(0,r.useState)(!!n),_="100%",g="520px";n&&(_="70vh",g="900px");let b={padding:"0px",minHeight:h,height:null!=h?h:_},v=n&&(0,o.jsx)("iframe",{title:t,src:n,width:"100%",height:"100%",sandbox:"allow-same-origin allow-scripts allow-popups allow-forms",frameBorder:"0",allowFullScreen:!0,style:{display:"block"},onLoad:()=>j(!1)});return(0,o.jsx)(s.Z,{title:t,open:l,onOk:d,onCancel:u,afterClose:m,bodyStyle:b,width:null!=p?p:g,zIndex:999,footer:null,centered:!0,destroyOnClose:!0,children:(0,o.jsxs)("div",{id:"modal-container",style:{height:"100%"},children:[f&&(0,o.jsx)(a.Z,{active:f,style:{padding:"10px"},paragraph:{rows:10}}),v&&(0,o.jsx)("div",{style:{display:f?"none":"inline"},children:v}),x&&(0,o.jsx)("div",{className:c().content,children:x}),f&&(0,o.jsx)(i.Z,{className:c().spinner,spinning:f,size:"large"})]})})};t.default=d,d.defaultProps={url:void 0,children:void 0,handleOk:void 0,handleCancel:void 0,afterClose:void 0}},51513:function(e,t,n){"use strict";n.d(t,{R:function(){return u}});var o=n(85893),s=n(27049),a=n(45938),i=n(5152),r=n.n(i),l=n(88335),c=n.n(l);let d=r()(()=>Promise.all([n.e(2074),n.e(2138),n.e(9095)]).then(n.t.bind(n,69095,23)),{loadableGenerated:{webpack:()=>[69095]},ssr:!1}),u=e=>{let t,{streamName:n,customText:i,lastLive:r,notificationsEnabled:l,fediverseAccount:u,onNotifyClick:m,onFollowClick:h}=e;return t=i||(!i&&l&&u?(0,o.jsxs)("span",{children:["This stream is offline. You can"," ",(0,o.jsx)("span",{role:"link",tabIndex:0,className:c().actionLink,onClick:m,children:"be notified"})," ","the next time ",n," goes live or"," ",(0,o.jsx)("span",{role:"link",tabIndex:0,className:c().actionLink,onClick:h,children:"follow"})," ",u," on the Fediverse."]}):!i&&l?(0,o.jsxs)("span",{children:["This stream is offline."," ",(0,o.jsx)("span",{role:"link",tabIndex:0,className:c().actionLink,onClick:m,children:"Be notified"})," ","the next time ",n," goes live."]}):!i&&u?(0,o.jsxs)("span",{children:["This stream is offline."," ",(0,o.jsx)("span",{role:"link",tabIndex:0,className:c().actionLink,onClick:h,children:"Follow"})," ",u," on the Fediverse to see the next time ",n," goes live."]}):"This stream is offline. Check back soon!"),(0,o.jsx)("div",{id:"offline-banner",className:c().outerContainer,children:(0,o.jsxs)("div",{className:c().innerContainer,children:[(0,o.jsx)("div",{className:c().header,children:n}),(0,o.jsx)(s.Z,{className:c().separator}),(0,o.jsx)("div",{className:c().bodyText,children:t}),r&&(0,o.jsxs)("div",{className:c().lastLiveDate,children:[(0,o.jsx)(d,{className:c().clockIcon}),"Last live ".concat((0,a.Z)(new Date(r))," ago.")]})]})})}},69357:function(e,t,n){"use strict";n.d(t,{X:function(){return m}});var o=n(85893),s=n(45938),a=n(68730),i=n(67294),r=n(5152),l=n.n(r),c=n(37970),d=n.n(c);let u=l()(()=>Promise.all([n.e(2074),n.e(2138),n.e(1965)]).then(n.t.bind(n,41965,23)),{loadableGenerated:{webpack:()=>[41965]},ssr:!1}),m=e=>{let t,{online:n,lastConnectTime:r,lastDisconnectTime:l,viewerCount:c}=e,[,m]=(0,i.useState)(new Date);(0,i.useEffect)(()=>{let e=setInterval(()=>m(new Date),1e3);return()=>{clearInterval(e)}},[]);let h="";if(n&&r){let e=function(e){let t=(0,a.Z)({start:e,end:new Date});return t.days>1?"".concat(t.days," days ").concat(t.hours," hours"):t.hours>=1?"".concat(t.hours," hours ").concat(t.minutes," minutes"):"".concat(t.minutes," minutes ").concat(t.seconds," seconds")}(new Date(r));h=n?"Live for ".concat(e):"Offline",t=c>0&&(0,o.jsxs)("div",{className:d().right,children:[(0,o.jsx)("span",{children:(0,o.jsx)(u,{})}),(0,o.jsx)("span",{children:" ".concat(c)})]})}else!n&&(h="Offline",l&&(t="Last live ".concat((0,s.Z)(new Date(l))," ago.")));return(0,o.jsxs)("div",{className:d().statusbar,role:"status",children:[(0,o.jsx)("div",{children:h}),(0,o.jsx)("div",{children:t})]})};m.defaultProps={lastConnectTime:null,lastDisconnectTime:null}},56152:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return eM}});var o=n(85893),s=n(4480),a=n(9008),i=n.n(a),r=n(67294),l=n(97183),c=n(5152),d=n.n(c),u=n(4298),m=n.n(u),h=n(77466),p=n(26303),x=n(72581),f=n(83469),j=n(10808),_=n.n(j);let g=e=>{let{content:t}=e;return(0,o.jsx)("div",{className:_().pageContentContainer,id:"custom-page-content",children:(0,o.jsx)("div",{className:_().customPageContent,dangerouslySetInnerHTML:{__html:t}})})};var b=n(17725),v=n.n(b),w=n(87412),k=n(12341),y=n.n(k);let N=d()(()=>Promise.all([n.e(1272),n.e(8700),n.e(4986),n.e(4977),n.e(1496)]).then(n.bind(n,94977)).then(e=>e.ChatContainer),{loadableGenerated:{webpack:()=>[94977]},ssr:!1}),C=()=>{let e=(0,s.sJ)(h.db),t=(0,s.sJ)(h.pH);if(!e)return(0,o.jsx)(w.ZP,{className:y().root,collapsedWidth:0,width:320});let{id:n,isModerator:a,displayName:i}=e;return(0,o.jsx)(w.ZP,{className:y().root,collapsedWidth:0,width:320,children:(0,o.jsx)(N,{messages:t,usernameToHighlight:i,chatUserId:n,isModerator:a})})};var S=n(67917),L=n.n(S);let T=e=>{let{version:t}=e;return(0,o.jsxs)("footer",{className:L().footer,id:"footer",children:[(0,o.jsxs)("span",{children:["Powered by ",(0,o.jsx)("a",{href:"https://owncast.online",children:t})]}),(0,o.jsxs)("span",{className:L().links,children:[(0,o.jsx)("a",{href:"https://owncast.online/docs",target:"_blank",rel:"noreferrer",children:"Documentation"}),(0,o.jsx)("a",{href:"https://owncast.online/help",target:"_blank",rel:"noreferrer",children:"Contribute"}),(0,o.jsx)("a",{href:"https://github.com/owncast/owncast",target:"_blank",rel:"noreferrer",children:"Source"})]})]})};var B=n(12270),D=n.n(B);let I=e=>{let{children:t}=e;return(0,o.jsx)("div",{className:"".concat(D().row),children:t})};var M=n(71577),H=n(94184),Z=n.n(H),A=n(13959),E=n.n(A);let P=e=>{let{action:t,primary:n=!0,externalActionSelected:s}=e,{title:a,description:i,icon:r,color:l}=t;return(0,o.jsxs)(M.Z,{type:n?"primary":"default",className:Z()(["".concat(E().button),"action-button"]),onClick:()=>s(t),style:{backgroundColor:l},children:[r&&(0,o.jsx)("img",{src:r,className:"".concat(E().icon),alt:i}),a]})};var F=n(51513),R=n(78696);let z=d()(()=>n.e(62).then(n.t.bind(n,30062,23)),{loadableGenerated:{webpack:()=>[30062]},ssr:!1}),G=e=>{let{onClick:t,text:n}=e;return(0,o.jsx)(M.Z,{type:"primary",className:"".concat(E().button),icon:(0,o.jsx)(z,{}),onClick:t,id:"notify-button",children:n||"Notify"})};var O=n(53731),J=n(74933),U=n.n(J);let W=e=>{let{src:t}=e;return(0,o.jsx)("div",{className:U().root,children:(0,o.jsx)("div",{className:U().container,children:(0,o.jsx)("img",{src:t,alt:"Logo",className:U().image,loading:"lazy"})})})};var q=n(25675),Y=n.n(q),Q=n(573),V=n.n(Q);let K=e=>{let{links:t}=e;return(0,o.jsx)("div",{className:V().links,children:t.map(e=>(0,o.jsx)("a",{href:e.url,className:V().link,target:"_blank",rel:"noreferrer me",children:(0,o.jsx)(Y(),{src:e.icon||"/img/platformlogos/default.svg",alt:e.platform,className:V().link,width:"30",height:"30"})},e.platform))})};var X=n(47900),$=n.n(X);let ee=e=>{let{name:t,title:n,summary:s,logo:a,tags:i,links:r}=e;return(0,o.jsx)("div",{className:$().root,children:(0,o.jsxs)("div",{className:$().logoTitleSection,children:[(0,o.jsx)("div",{className:$().logo,children:(0,o.jsx)(W,{src:a})}),(0,o.jsxs)("div",{className:$().titleSection,children:[(0,o.jsx)("h2",{className:Z()($().title,$().row,"header-title"),children:t}),(0,o.jsx)("h3",{className:Z()($().subtitle,$().row,"header-subtitle"),children:(0,o.jsx)(O.Z,{children:n||s})}),(0,o.jsx)("div",{className:Z()($().tagList,$().row),children:i.length>0&&i.map(e=>(0,o.jsxs)("span",{children:["#",e,"\xa0"]},e))}),(0,o.jsx)("div",{className:Z()($().socialLinks,$().row),children:(0,o.jsx)(K,{links:r})})]})]})})};var et=n(69357),en=n(14761),eo=n(66516),es=n(13013),ea=n(97038),ei=n.n(ea);let er=d()(()=>n.e(6937).then(n.t.bind(n,26937,23)),{loadableGenerated:{webpack:()=>[26937]},ssr:!1}),el=d()(()=>n.e(6820).then(n.t.bind(n,96820,23)),{loadableGenerated:{webpack:()=>[96820]},ssr:!1}),ec=d()(()=>n.e(1008).then(n.t.bind(n,11008,23)),{loadableGenerated:{webpack:()=>[11008]},ssr:!1}),ed="notify",eu="follow",em=e=>{let{actions:t,externalActionSelected:n,notifyItemSelected:s,followItemSelected:a,showFollowItem:i,showNotifyItem:r,className:l}=e,c=e=>{if(e.key===ed){s();return}if(e.key===eu){a();return}let o=t.find(t=>t.url===e.key);n(o)},d=t.map(e=>({key:e.url,label:(0,o.jsxs)("span",{className:ei().item,children:[e.icon&&(0,o.jsx)("img",{className:ei().icon,src:e.icon,alt:e.title})," ",e.title]})}));i&&d.unshift({key:eu,label:(0,o.jsxs)("span",{className:ei().item,children:[(0,o.jsx)(el,{className:ei().icon})," Follow this stream"]})}),r&&d.unshift({key:ed,label:(0,o.jsxs)("span",{className:ei().item,children:[(0,o.jsx)(ec,{className:ei().icon}),"Notify when live"]})});let u=(0,o.jsx)(eo.Z,{items:d,onClick:c}),m=Z()([ei().menu,l]);return(0,o.jsx)(es.Z,{overlay:u,placement:"bottomRight",trigger:["click"],className:m,children:(0,o.jsx)("div",{className:ei().buttonWrap,children:(0,o.jsx)(M.Z,{type:"default",onClick:e=>e.preventDefault(),size:"large",icon:(0,o.jsx)(er,{size:6,style:{rotate:"90deg"}})})})})},eh=d()(()=>Promise.all([n.e(6386),n.e(3698),n.e(5817)]).then(n.bind(n,15508)).then(e=>e.FollowerCollection),{loadableGenerated:{webpack:()=>[15508]},ssr:!1}),ep=d()(()=>Promise.all([n.e(173),n.e(2231),n.e(7177)]).then(n.bind(n,77177)).then(e=>e.FollowModal),{loadableGenerated:{webpack:()=>[77177]},ssr:!1}),ex=d()(()=>Promise.all([n.e(173),n.e(5818),n.e(1424)]).then(n.bind(n,11424)).then(e=>e.BrowserNotifyModal),{loadableGenerated:{webpack:()=>[11424]},ssr:!1}),ef=d()(()=>n.e(7815).then(n.bind(n,17815)).then(e=>e.NotifyReminderPopup),{loadableGenerated:{webpack:()=>[17815]},ssr:!1}),ej=d()(()=>Promise.all([n.e(2544),n.e(7689),n.e(2239),n.e(5202)]).then(n.bind(n,8888)).then(e=>e.OwncastPlayer),{loadableGenerated:{webpack:()=>[8888]},ssr:!1}),e_=d()(()=>Promise.all([n.e(1272),n.e(8700),n.e(4986),n.e(4977),n.e(1496)]).then(n.bind(n,94977)).then(e=>e.ChatContainer),{loadableGenerated:{webpack:()=>[94977]},ssr:!1}),eg=d()(()=>Promise.all([n.e(4885),n.e(173),n.e(2231),n.e(5818),n.e(9915),n.e(6386),n.e(3698),n.e(4398),n.e(4381),n.e(5101),n.e(7910),n.e(4763),n.e(9292),n.e(9816),n.e(7916),n.e(3859),n.e(4768)]).then(n.bind(n,74768)).then(e=>e.Tabs),{loadableGenerated:{webpack:()=>[74768]},ssr:!1}),eb=e=>{let{name:t,streamTitle:n,summary:s,tags:a,socialHandles:i,extraPageContent:r,setShowFollowModal:l,supportFediverseFeatures:c}=e,d=(0,o.jsx)(g,{content:r}),u=(0,o.jsx)("div",{style:{minHeight:"16vh"},children:(0,o.jsx)(eh,{name:t,onFollowButtonClick:()=>l(!0)})}),m=[{label:"About",key:"2",children:d}];return c&&m.push({label:"Followers",key:"3",children:u}),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:v().lowerHalf,id:"skip-to-content",children:(0,o.jsx)(ee,{name:t,title:n,summary:s,tags:a,links:i,logo:"/logo"})}),(0,o.jsx)("div",{className:v().lowerSection,children:m.length>1?(0,o.jsx)(eg,{defaultActiveKey:"0",items:m}):d})]})},ev=e=>{let{name:t,streamTitle:n,summary:s,tags:a,socialHandles:i,extraPageContent:r,messages:l,currentUser:c,showChat:d,actions:u,setExternalActionToDisplay:m,setShowNotifyPopup:h,setShowFollowModal:x,supportFediverseFeatures:f,supportsBrowserNotifications:j}=e;if(!c)return(0,o.jsx)(p.Z,{loading:!0,active:!0,paragraph:{rows:7}});let{id:_,displayName:b}=c,w=d&&(0,o.jsx)(e_,{messages:l,usernameToHighlight:b,chatUserId:_,isModerator:!1}),k=(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(ee,{name:t,title:n,summary:s,tags:a,links:i,logo:"/logo"}),(0,o.jsx)(g,{content:r})]}),y=(0,o.jsx)(eh,{name:t,onFollowButtonClick:()=>x(!0)}),N=(e,t)=>(0,o.jsxs)("div",{className:v().replacementBar,children:[(0,o.jsx)(t,{...e,className:v().defaultTabBar}),(0,o.jsx)(em,{className:v().actionButtonMenu,showFollowItem:f,showNotifyItem:j,actions:u,externalActionSelected:m,notifyItemSelected:()=>h(!0),followItemSelected:()=>x(!0)})]});return(0,o.jsx)("div",{className:v().lowerSectionMobile,children:(0,o.jsx)(eg,{className:v().tabs,defaultActiveKey:"0",items:[d&&{label:"Chat",key:"0",children:w},{label:"About",key:"2",children:k},{label:"Followers",key:"3",children:y}],renderTabBar:N})})},ew=e=>{let{externalActionToDisplay:t,setExternalActionToDisplay:n}=e,{title:s,description:a,url:i}=t;return(0,o.jsx)(en.Modal,{title:a||s,url:i,open:!!t,height:"80vh",handleCancel:()=>n(null)})},ek=()=>{let e=(0,s.sJ)(h.Q),t=(0,s.sJ)(h.g1),n=(0,s.sJ)(h.pT),a=(0,s.sJ)(h.di),i=(0,s.sJ)(h.db),l=(0,s.sJ)(h.RI),[c,d]=(0,s.FV)(h.hz),u=(0,s.sJ)(h.j$),m=(0,s.sJ)(h.YW),{viewerCount:j,lastConnectTime:_,lastDisconnectTime:g,streamTitle:b}=(0,s.sJ)(h.RI),{extraPageContent:w,version:k,name:y,summary:N,socialHandles:S,tags:L,externalActions:B,offlineMessage:D,chatDisabled:M,federation:H,notifications:Z}=t,[A,E]=(0,r.useState)(!1),[z,O]=(0,r.useState)(!1),[J,U]=(0,r.useState)(!1),{account:W,enabled:q}=H,{browser:Y}=Z,{enabled:Q}=Y,{online:V}=l,[K,X]=(0,r.useState)(null),[$,ee]=(0,r.useState)(!1),eo=e=>{let{openExternally:t,url:n}=e;t?window.open(n,"_blank"):X(e)},es=B.map(e=>(0,o.jsx)(P,{action:e,externalActionSelected:eo},e.url)),ea=()=>{let e=parseInt((0,x.$o)(x.dA.userVisitCount),10);Number.isNaN(e)&&(e=0),(0,x.qQ)(x.dA.userVisitCount,e+1),e>2&&!(0,x.$o)(x.dA.hasDisplayedNotificationModal)&&E(!0)},ei=()=>{O(!1),E(!1),(0,x.qQ)(x.dA.hasDisplayedNotificationModal,!0)},er=()=>{let e=window.innerWidth;void 0===c&&(e<=768?d(!0):d(!1)),!c&&e<=768&&d(!0),c&&e>768&&d(!1)};(0,r.useEffect)(()=>(ea(),er(),window.addEventListener("resize",er),()=>{window.removeEventListener("resize",er)}),[]),(0,r.useEffect)(()=>{ee((0,f.Z)()&&Q)},[Q]);let el=!M&&a&&n;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:v().main,children:(0,o.jsxs)("div",{className:v().root,children:[(0,o.jsxs)("div",{className:v().mainSection,children:[(0,o.jsxs)("div",{className:v().topSection,children:[e.appLoading&&(0,o.jsx)(p.Z,{loading:!0,active:!0,paragraph:{rows:7}}),m&&(0,o.jsx)(ej,{source:"/hls/stream.m3u8",online:m,title:b||y}),!m&&!e.appLoading&&(0,o.jsx)(F.R,{streamName:y,customText:D,notificationsEnabled:Q,fediverseAccount:W,lastLive:g,onNotifyClick:()=>O(!0),onFollowClick:()=>U(!0)}),V&&(0,o.jsx)(et.X,{online:m,lastConnectTime:_,lastDisconnectTime:g,viewerCount:j})]}),(0,o.jsx)("div",{className:v().midSection,children:(0,o.jsxs)("div",{className:v().buttonsLogoTitleSection,children:[!c&&(0,o.jsxs)(I,{children:[es,q&&(0,o.jsx)(R.e,{size:"small",onClick:()=>U(!0)}),$&&(0,o.jsx)(ef,{open:A,notificationClicked:()=>O(!0),notificationClosed:()=>ei(),children:(0,o.jsx)(G,{onClick:()=>O(!0)})})]}),(0,o.jsx)(en.Modal,{title:"Browser Notifications",open:z,afterClose:()=>ei(),handleCancel:()=>ei(),children:(0,o.jsx)(ex,{})})]})}),c?(0,o.jsx)(ev,{name:y,streamTitle:b,summary:N,tags:L,socialHandles:S,extraPageContent:w,messages:u,currentUser:i,showChat:el,actions:B,setExternalActionToDisplay:eo,setShowNotifyPopup:O,setShowFollowModal:U,supportFediverseFeatures:q,supportsBrowserNotifications:$}):(0,o.jsx)(eb,{name:y,streamTitle:b,summary:N,tags:L,socialHandles:S,extraPageContent:w,setShowFollowModal:U,supportFediverseFeatures:q}),!c&&(0,o.jsx)(T,{version:k})]}),el&&!c&&(0,o.jsx)(C,{})]})}),K&&(0,o.jsx)(ew,{externalActionToDisplay:K,setExternalActionToDisplay:X}),(0,o.jsx)(en.Modal,{title:"Follow ".concat(y),open:J,handleCancel:()=>U(!1),width:"550px",children:(0,o.jsx)(ep,{account:W,name:y,handleClose:()=>U(!1)})})]})};var ey=n(6097);let eN=e=>{let{name:t}=e,n=(0,s.sJ)(h.j$),o=(0,s.sJ)(h.RI),[a,i]=(0,r.useState)(!1),{online:l}=o,c=e=>{document.title=e},d=()=>{i(!0)},u=()=>{i(!1),c(t)},m=()=>{window.addEventListener("blur",d),window.addEventListener("focus",u)},p=()=>{window.removeEventListener("blur",d),window.removeEventListener("focus",u)};return(0,r.useEffect)(()=>(m(),()=>{p()}),[t]),(0,r.useEffect)(()=>{if(!a||!l)return;let e=n[n.length-1];"CHAT"===e.type&&c("\uD83D\uDCAC :: ".concat(t))},[n,t]),(0,r.useEffect)(()=>{a&&(l?c(" \uD83D\uDFE2 :: ".concat(t)):l||c(" \uD83D\uDD34 :: ".concat(t)))},[l,t]),null},eC=()=>(0,o.jsx)("script",{id:"server-side-hydration",nonce:"{{.Nonce}}",dangerouslySetInnerHTML:{__html:"\n window.configHydration = {{.ServerConfigJSON}};\n window.statusHydration = {{.StatusJSON}};\n "}}),eS=()=>{let e=(0,s.sJ)(h.g1),{appearanceVariables:t,customStyles:n}=e,a=Object.keys(t).filter(e=>!!t[e]).map(e=>"--".concat(e,": ").concat(t[e]));return(0,o.jsx)("style",{dangerouslySetInnerHTML:{__html:"\n :root {\n ".concat(a.join(";\n"),"\n }\n ").concat(n,"\n ")}})};var eL=n(94636),eT=n.n(eL);let eB=()=>{let e=()=>{navigator.serviceWorker.register("/serviceWorker.js").then(e=>{console.debug("Service Worker registration successful with scope: ",e.scope)},e=>{console.error("Service Worker registration failed: ",e)})};return(0,r.useEffect)(()=>("serviceWorker"in navigator&&window.addEventListener("load",e),()=>{window.removeEventListener("load",e)}),[]),null},eD=d()(()=>n.e(3625).then(n.bind(n,3625)).then(e=>e.FatalErrorStateModal),{loadableGenerated:{webpack:()=>[3625]},ssr:!1}),eI=()=>{let e=(0,s.sJ)(h.g1),{name:t,title:n,customStyles:a}=e,c=(0,s.sJ)(h.di),d=(0,s.sJ)(h.ap),u=(0,s.sJ)(h.Q),p=(0,r.useRef)(null),{chatDisabled:x}=e,{videoAvailable:f}=u;return(0,r.useEffect)(()=>{!function(e){let t=e=>{let t=e.getAttribute("rel");e.setAttribute("rel","".concat(t," noopener noreferrer"))};e.querySelectorAll("a").forEach(e=>t(e));let n=new MutationObserver(function(e){for(let n of e)for(let e of n.addedNodes)e instanceof HTMLElement&&"a"===e.tagName.toLowerCase()&&t(e)});n.observe(e,{attributes:!1,childList:!0,subtree:!0})}(p.current)},[]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(i(),{children:[(0,o.jsx)(eC,{}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"57x57",href:"/img/favicon/apple-icon-57x57.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"60x60",href:"/img/favicon/apple-icon-60x60.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"72x72",href:"/img/favicon/apple-icon-72x72.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"76x76",href:"/img/favicon/apple-icon-76x76.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"114x114",href:"/img/favicon/apple-icon-114x114.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"120x120",href:"/img/favicon/apple-icon-120x120.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"144x144",href:"/img/favicon/apple-icon-144x144.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"152x152",href:"/img/favicon/apple-icon-152x152.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/img/favicon/apple-icon-180x180.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"192x192",href:"/img/favicon/android-icon-192x192.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/img/favicon/favicon-32x32.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"96x96",href:"/img/favicon/favicon-96x96.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/img/favicon/favicon-16x16.png"}),(0,o.jsx)("link",{rel:"manifest",href:"/manifest.json"}),(0,o.jsx)("link",{href:"/api/auth/provider/indieauth"}),(0,o.jsx)("meta",{name:"msapplication-TileColor",content:"#ffffff"}),(0,o.jsx)("meta",{name:"msapplication-TileImage",content:"/img/favicon/ms-icon-144x144.png"}),(0,o.jsx)("meta",{name:"theme-color",content:"#ffffff"}),(0,o.jsxs)("style",{children:[a,"\nbody {\n overflow: hidden;\n}\n"]}),(0,o.jsx)("base",{target:"_blank"})]}),(0,o.jsxs)(i(),{children:[t?(0,o.jsx)("title",{children:t}):(0,o.jsx)("title",{children:"{{.Name}}"}),(0,o.jsx)("meta",{name:"description",content:"{{.Summary}}"}),(0,o.jsx)("meta",{property:"og:title",content:"{{.Name}}"}),(0,o.jsx)("meta",{property:"og:site_name",content:"{{.Name}}"}),(0,o.jsx)("meta",{property:"og:url",content:"{{.RequestedURL}}"}),(0,o.jsx)("meta",{property:"og:description",content:"{{.Summary}}"}),(0,o.jsx)("meta",{property:"og:type",content:"video.other"}),(0,o.jsx)("meta",{property:"video:tag",content:"{{.TagsString}}"}),(0,o.jsx)("meta",{property:"og:image",content:"{{.RequestedURL}}{{.Thumbnail}}"}),(0,o.jsx)("meta",{property:"og:image:url",content:"{{.RequestedURL}}{{.Thumbnail}}"}),(0,o.jsx)("meta",{property:"og:image:alt",content:"{{.RequestedURL}}{{.Image}}"}),(0,o.jsx)("meta",{property:"og:video",content:"{{.RequestedURL}}/embed/video"}),(0,o.jsx)("meta",{property:"og:video:secure_url",content:"{{.RequestedURL}}/embed/video"}),(0,o.jsx)("meta",{property:"og:video:height",content:"315"}),(0,o.jsx)("meta",{property:"og:video:width",content:"560"}),(0,o.jsx)("meta",{property:"og:video:type",content:"text/html"}),(0,o.jsx)("meta",{property:"og:video:actor",content:"{{.Name}}"}),(0,o.jsx)("meta",{property:"twitter:title",content:"{{.Name}}"}),(0,o.jsx)("meta",{property:"twitter:url",content:"{{.RequestedURL}}"}),(0,o.jsx)("meta",{property:"twitter:description",content:"{{.Summary}}"}),(0,o.jsx)("meta",{property:"twitter:image",content:"{{.Image}}"}),(0,o.jsx)("meta",{property:"twitter:card",content:"player"}),(0,o.jsx)("meta",{property:"twitter:player",content:"{{.RequestedURL}}/embed/video"}),(0,o.jsx)("meta",{property:"twitter:player:width",content:"560"}),(0,o.jsx)("meta",{property:"twitter:player:height",content:"315"})]}),(0,o.jsx)(h.me,{}),(0,o.jsx)(eB,{}),(0,o.jsx)(eN,{name:t}),(0,o.jsx)(eS,{}),(0,o.jsx)(m(),{strategy:"afterInteractive",src:"/customjavascript"}),(0,o.jsxs)(l.Z,{ref:p,className:eT().layout,children:[(0,o.jsx)(ey.h,{name:n||t,chatAvailable:c,chatDisabled:x,online:f}),(0,o.jsx)(ek,{}),d&&(0,o.jsx)(eD,{title:d.title,message:d.message})]})]})};function eM(){return(0,o.jsx)(eI,{})}eM.getLayout=function(e){return e}},83469:function(e,t,n){"use strict";function o(){return"serviceWorker"in navigator&&"PushManager"in window}n.d(t,{Z:function(){return o}})},13959:function(e){e.exports={button:"ActionButton_button__z5Z2c",icon:"ActionButton_icon__EPp7Q"}},97038:function(e){e.exports={item:"ActionButtonMenu_item__OJQdr",buttonWrap:"ActionButtonMenu_buttonWrap__WQ9kt",icon:"ActionButtonMenu_icon__edY1D",menu:"ActionButtonMenu_menu__GChDk"}},12270:function(e){e.exports={row:"ActionButtonRow_row__SiEGe"}},47900: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"}},94636:function(e){e.exports={layout:"Main_layout__Bm6Gz"}},17725:function(e){e.exports={root:"Content_root__h1mNK",mainSection:"Content_mainSection__Gk78Y",topSection:"Content_topSection__JIZi0",lowerSection:"Content_lowerSection__BZHYI",lowerSectionMobile:"Content_lowerSectionMobile__hRr0_",leftCol:"Content_leftCol__U2TDq",loadingSpinner:"Content_loadingSpinner__mDlYC",main:"Content_main__XVf63",replacementBar:"Content_replacementBar__yLglI",defaultTabBar:"Content_defaultTabBar__BjyV0",actionButtonMenu:"Content_actionButtonMenu__dQUjK",tabs:"Content_tabs__LMcZ1"}},10808:function(e){e.exports={pageContentContainer:"CustomPageContent_pageContentContainer__EG4tU",customPageContent:"CustomPageContent_customPageContent__Mr981",summary:"CustomPageContent_summary___Zgps"}},67917:function(e){e.exports={footer:"Footer_footer__mPuvf",links:"Footer_links__7bBxV"}},31764:function(e){e.exports={header:"Header_header__U4Ro1",logoImage:"Header_logoImage__beIL2",logo:"Header_logo__HLZ6Z",title:"Header_title__FIts2",skipLink:"Header_skipLink__9Pusb"}},74933:function(e){e.exports={root:"Logo_root__jKiJC",container:"Logo_container__A4UYT",image:"Logo_image__Ahkom"}},77011:function(e){e.exports={spinner:"Modal_spinner__GiSS0",content:"Modal_content__h9my9"}},88335:function(e){e.exports={outerContainer:"OfflineBanner_outerContainer__3AbsB",innerContainer:"OfflineBanner_innerContainer__zTm13",bodyText:"OfflineBanner_bodyText__nNNy0",separator:"OfflineBanner_separator___j_Ss",lastLiveDate:"OfflineBanner_lastLiveDate___UZdO",clockIcon:"OfflineBanner_clockIcon__s0DB_",header:"OfflineBanner_header__Vu20o",footer:"OfflineBanner_footer__o3Zl5",actionLink:"OfflineBanner_actionLink__b4Mwa"}},12341:function(e){e.exports={root:"Sidebar_root__8HE0A"}},573:function(e){e.exports={link:"SocialLinks_link___CcSm",links:"SocialLinks_links__gOAb7"}},37970:function(e){e.exports={statusbar:"Statusbar_statusbar__AtVnB"}}},function(e){e.O(0,[2074,164,2138,31,4931,5402,492,3013,5938,6395,2928,9863,4252,281,710,7466,9774,2888,179],function(){return e(e.s=48312)}),_N_E=e.O()}]); +//# sourceMappingURL=index-152caad6c0e6dd95.js.map \ No newline at end of file diff --git a/static/web/_next/static/chunks/pages/index-152caad6c0e6dd95.js.map b/static/web/_next/static/chunks/pages/index-152caad6c0e6dd95.js.map new file mode 100644 index 000000000..0baa3978a --- /dev/null +++ b/static/web/_next/static/chunks/pages/index-152caad6c0e6dd95.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/chunks/pages/index-152caad6c0e6dd95.js","mappings":"sFACA,CAAAA,OAAAC,QAAA,CAAAD,OAAAC,QAAA,MAAAC,IAAA,EACA,IACA,WACA,OAAeC,EAAQ,MACvB,EACA,uICEA,IAAMC,EAAcC,IAAQ,IAAMF,EAAAG,CAAA,OAAAC,IAAA,CAAAJ,EAAAK,CAAA,CAAAC,IAAA,CAAAN,EAAA,UAAO,wCACvCO,IAAK,KAQMC,EAAsC,GACjD,IADkD,CAAEC,QAAAA,CAAAA,CAASC,MAAAA,CAAAA,CAAO,CAAAC,QACpE,GAAAC,EAAAC,GAAA,EAACC,EAAAA,CAAMA,CAAAA,CACJ,GAAGJ,CAAK,CACTK,KAAK,UACLC,UAAWC,IAAAA,MAAAA,CACXC,KAAM,GAAAN,EAAAC,GAAA,EAACZ,EAAAA,CAAAA,GACPQ,QAASA,EACTU,GAAG,yBACJ,UAEO,oMCjBV,IAAMC,EAAelB,IACnB,IAAMmB,QAAAC,GAAA,EAAAtB,EAAAG,CAAA,OAAAH,EAAAG,CAAA,OAAAH,EAAAG,CAAA,QAAAC,IAAA,CAAAJ,EAAAM,IAAA,CAAAN,EAAA,QAAiDI,IAAI,CAACmB,GAAOA,EAAIH,YAAY,2CAEjFb,IAAK,KAWIiB,EAAmC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BD,EAAAC,OAAA,EAAkB,wGCAlBD,EAAAC,OAAA,EAAkB,kFCAlBD,EAAAC,OAAA,EAAkB,qaCAlBD,EAAAC,OAAA,EAAkB,6CCAlBD,EAAAC,OAAA,EAAkB,oFCAlBD,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/","webpack://_N_E/./components/action-buttons/FollowButton.tsx","webpack://_N_E/./components/ui/Header/Header.tsx","webpack://_N_E/./components/ui/Modal/Modal.tsx","webpack://_N_E/./components/ui/OfflineBanner/OfflineBanner.tsx","webpack://_N_E/./components/ui/Statusbar/Statusbar.tsx","webpack://_N_E/./components/ui/CustomPageContent/CustomPageContent.tsx","webpack://_N_E/./components/ui/Sidebar/Sidebar.tsx","webpack://_N_E/./components/ui/Footer/Footer.tsx","webpack://_N_E/./components/action-buttons/ActionButtonRow/ActionButtonRow.tsx","webpack://_N_E/./components/action-buttons/ActionButton/ActionButton.tsx","webpack://_N_E/./components/action-buttons/NotifyButton.tsx","webpack://_N_E/./components/ui/Logo/Logo.tsx","webpack://_N_E/./components/ui/SocialLinks/SocialLinks.tsx","webpack://_N_E/./components/common/ContentHeader/ContentHeader.tsx","webpack://_N_E/./components/action-buttons/ActionButtonMenu/ActionButtonMenu.tsx","webpack://_N_E/./components/ui/Content/Content.tsx","webpack://_N_E/./utils/no-link-referrer.ts","webpack://_N_E/./components/TitleNotifier/TitleNotifier.tsx","webpack://_N_E/./components/ServerRendered/ServerRenderedHydration.tsx","webpack://_N_E/./components/theme/Theme.tsx","webpack://_N_E/./components/workers/PushNotificationServiceWorker/PushNotificationServiceWorker.tsx","webpack://_N_E/./components/layouts/Main/Main.tsx","webpack://_N_E/./pages/index.tsx","webpack://_N_E/./utils/browserPushNotifications.ts","webpack://_N_E/./components/action-buttons/ActionButton/ActionButton.module.scss","webpack://_N_E/./components/action-buttons/ActionButtonMenu/ActionButtonMenu.module.scss","webpack://_N_E/./components/action-buttons/ActionButtonRow/ActionButtonRow.module.scss","webpack://_N_E/./components/common/ContentHeader/ContentHeader.module.scss","webpack://_N_E/./components/layouts/Main/Main.module.scss","webpack://_N_E/./components/ui/Content/Content.module.scss","webpack://_N_E/./components/ui/CustomPageContent/CustomPageContent.module.scss","webpack://_N_E/./components/ui/Footer/Footer.module.scss","webpack://_N_E/./components/ui/Header/Header.module.scss","webpack://_N_E/./components/ui/Logo/Logo.module.scss","webpack://_N_E/./components/ui/Modal/Modal.module.scss","webpack://_N_E/./components/ui/OfflineBanner/OfflineBanner.module.scss","webpack://_N_E/./components/ui/Sidebar/Sidebar.module.scss","webpack://_N_E/./components/ui/SocialLinks/SocialLinks.module.scss","webpack://_N_E/./components/ui/Statusbar/Statusbar.module.scss","webpack://_N_E/"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/\",\n function () {\n return require(\"private-next-pages/index.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/\"])\n });\n }\n ","import { Button, ButtonProps } from 'antd';\n\nimport { FC } from 'react';\nimport dynamic from 'next/dynamic';\nimport styles from './ActionButton/ActionButton.module.scss';\n\n// Lazy loaded components\n\nconst HeartFilled = dynamic(() => import('@ant-design/icons/HeartFilled'), {\n ssr: false,\n});\n\nexport type FollowButtonProps = ButtonProps & {\n onClick?: () => void;\n props?: ButtonProps;\n};\n\nexport const FollowButton: FC = ({ onClick, props }) => (\n }\n onClick={onClick}\n id=\"follow-button\"\n >\n Follow\n \n);\n","import { Tag, Tooltip } from 'antd';\nimport { FC } from 'react';\nimport cn from 'classnames';\nimport dynamic from 'next/dynamic';\nimport Link from 'next/link';\nimport { OwncastLogo } from '../../common/OwncastLogo/OwncastLogo';\nimport styles from './Header.module.scss';\n\n// Lazy loaded components\n\nconst UserDropdown = dynamic(\n () => import('../../common/UserDropdown/UserDropdown').then(mod => mod.UserDropdown),\n {\n ssr: false,\n },\n);\n\nexport type HeaderComponentProps = {\n name: string;\n chatAvailable: boolean;\n chatDisabled: boolean;\n online: boolean;\n};\n\nexport const Header: FC = ({\n name = 'Your stream title',\n chatAvailable,\n chatDisabled,\n online,\n}) => (\n
\n {online && (\n \n Skip to player\n \n )}\n \n Skip to page content\n \n \n Skip to footer\n \n
\n
\n \n
\n

\n {name}\n

\n
\n {chatAvailable && !chatDisabled && }\n {!chatAvailable && !chatDisabled && (\n \n Chat offline\n \n )}\n
\n);\nexport default Header;\n","import { Spin, Skeleton, Modal as AntModal } from 'antd';\nimport React, { FC, ReactNode, useState } from 'react';\nimport styles from './Modal.module.scss';\n\nexport type ModalProps = {\n title: string;\n url?: string;\n open: boolean;\n handleOk?: () => void;\n handleCancel?: () => void;\n afterClose?: () => void;\n children?: ReactNode;\n height?: string;\n width?: string;\n};\n\nexport const Modal: FC = ({\n title,\n url,\n open,\n handleOk,\n handleCancel,\n afterClose,\n height,\n width,\n children,\n}) => {\n const [loading, setLoading] = useState(!!url);\n\n let defaultHeight = '100%';\n let defaultWidth = '520px';\n if (url) {\n defaultHeight = '70vh';\n defaultWidth = '900px';\n }\n\n const modalContentBodyStyle = {\n padding: '0px',\n minHeight: height,\n height: height ?? defaultHeight,\n };\n\n const iframe = url && (\n setLoading(false)}\n />\n );\n\n const iframeDisplayStyle = loading ? 'none' : 'inline';\n\n return (\n \n
\n {loading && (\n \n )}\n\n {iframe &&
{iframe}
}\n {children &&
{children}
}\n {loading && }\n
\n \n );\n};\nexport default Modal;\n\nModal.defaultProps = {\n url: undefined,\n children: undefined,\n handleOk: undefined,\n handleCancel: undefined,\n afterClose: undefined,\n};\n","/* eslint-disable jsx-a11y/click-events-have-key-events */\nimport { Divider } from 'antd';\nimport { FC } from 'react';\nimport formatDistanceToNow from 'date-fns/formatDistanceToNow';\nimport dynamic from 'next/dynamic';\nimport styles from './OfflineBanner.module.scss';\n\n// Lazy loaded components\n\nconst ClockCircleOutlined = dynamic(() => import('@ant-design/icons/ClockCircleOutlined'), {\n ssr: false,\n});\n\nexport type OfflineBannerProps = {\n streamName: string;\n customText?: string;\n lastLive?: Date;\n notificationsEnabled: boolean;\n fediverseAccount?: string;\n onNotifyClick?: () => void;\n onFollowClick?: () => void;\n};\n\nexport const OfflineBanner: FC = ({\n streamName,\n customText,\n lastLive,\n notificationsEnabled,\n fediverseAccount,\n onNotifyClick,\n onFollowClick,\n}) => {\n let text;\n if (customText) {\n text = customText;\n } else if (!customText && notificationsEnabled && fediverseAccount) {\n text = (\n \n This stream is offline. You can{' '}\n \n be notified\n {' '}\n the next time {streamName} goes live or{' '}\n \n follow\n {' '}\n {fediverseAccount} on the Fediverse.\n \n );\n } else if (!customText && notificationsEnabled) {\n text = (\n \n This stream is offline.{' '}\n \n Be notified\n {' '}\n the next time {streamName} goes live.\n \n );\n } else if (!customText && fediverseAccount) {\n text = (\n \n This stream is offline.{' '}\n \n Follow\n {' '}\n {fediverseAccount} on the Fediverse to see the next time {streamName} goes live.\n \n );\n } else {\n text = `This stream is offline. Check back soon!`;\n }\n\n return (\n
\n
\n
{streamName}
\n \n
{text}
\n {lastLive && (\n
\n \n {`Last live ${formatDistanceToNow(new Date(lastLive))} ago.`}\n
\n )}\n
\n
\n );\n};\n","import formatDistanceToNow from 'date-fns/formatDistanceToNow';\nimport intervalToDuration from 'date-fns/intervalToDuration';\nimport { FC, useEffect, useState } from 'react';\nimport dynamic from 'next/dynamic';\nimport styles from './Statusbar.module.scss';\n\n// Lazy loaded components\n\nconst EyeFilled = dynamic(() => import('@ant-design/icons/EyeFilled'), {\n ssr: false,\n});\n\nexport type StatusbarProps = {\n online: Boolean;\n lastConnectTime?: Date;\n lastDisconnectTime?: Date;\n viewerCount: number;\n};\n\nfunction makeDurationString(lastConnectTime: Date): string {\n const diff = intervalToDuration({ start: lastConnectTime, end: new Date() });\n if (diff.days > 1) {\n return `${diff.days} days ${diff.hours} hours`;\n }\n if (diff.hours >= 1) {\n return `${diff.hours} hours ${diff.minutes} minutes`;\n }\n\n return `${diff.minutes} minutes ${diff.seconds} seconds`;\n}\n\nexport const Statusbar: FC = ({\n online,\n lastConnectTime,\n lastDisconnectTime,\n viewerCount,\n}) => {\n const [, setNow] = useState(new Date());\n\n // Set a timer to update the status bar.\n useEffect(() => {\n const interval = setInterval(() => setNow(new Date()), 1000);\n return () => {\n clearInterval(interval);\n };\n }, []);\n\n let onlineMessage = '';\n let rightSideMessage: any;\n if (online && lastConnectTime) {\n const duration = makeDurationString(new Date(lastConnectTime));\n onlineMessage = online ? `Live for ${duration}` : 'Offline';\n rightSideMessage = viewerCount > 0 && (\n
\n \n \n \n {` ${viewerCount}`}\n
\n );\n } else if (!online) {\n onlineMessage = 'Offline';\n if (lastDisconnectTime) {\n rightSideMessage = `Last live ${formatDistanceToNow(new Date(lastDisconnectTime))} ago.`;\n }\n }\n\n return (\n
\n
{onlineMessage}
\n
{rightSideMessage}
\n
\n );\n};\nexport default Statusbar;\n\nStatusbar.defaultProps = {\n lastConnectTime: null,\n lastDisconnectTime: null,\n};\n","/* eslint-disable react/no-danger */\nimport { FC } from 'react';\nimport styles from './CustomPageContent.module.scss';\n\nexport type CustomPageContentProps = {\n content: string;\n};\n\nexport const CustomPageContent: FC = ({ content }) => (\n
\n
\n
\n);\n","import Sider from 'antd/lib/layout/Sider';\nimport { useRecoilValue } from 'recoil';\nimport { FC } from 'react';\nimport dynamic from 'next/dynamic';\nimport { ChatMessage } from '../../../interfaces/chat-message.model';\nimport styles from './Sidebar.module.scss';\n\nimport { currentUserAtom, visibleChatMessagesSelector } from '../../stores/ClientConfigStore';\n\n// Lazy loaded components\nconst ChatContainer = dynamic(\n () => import('../../chat/ChatContainer/ChatContainer').then(mod => mod.ChatContainer),\n {\n ssr: false,\n },\n);\n\nexport const Sidebar: FC = () => {\n const currentUser = useRecoilValue(currentUserAtom);\n const messages = useRecoilValue(visibleChatMessagesSelector);\n if (!currentUser) {\n return ;\n }\n\n const { id, isModerator, displayName } = currentUser;\n return (\n \n \n \n );\n};\n","import { FC } from 'react';\nimport styles from './Footer.module.scss';\n\nexport type FooterProps = {\n version: string;\n};\n\nexport const Footer: FC = ({ version }) => (\n \n);\nexport default Footer;\n","import { FC, ReactNode } from 'react';\nimport styles from './ActionButtonRow.module.scss';\n\nexport type ActionButtonRowProps = {\n children: ReactNode;\n};\n\nexport const ActionButtonRow: FC = ({ children }) => (\n
{children}
\n);\n","import { Button } from 'antd';\nimport { FC } from 'react';\nimport cn from 'classnames';\nimport { ExternalAction } from '../../../interfaces/external-action';\nimport styles from './ActionButton.module.scss';\n\nexport type ActionButtonProps = {\n action: ExternalAction;\n primary?: boolean;\n externalActionSelected: (action: ExternalAction) => void;\n};\n\nexport const ActionButton: FC = ({\n action,\n primary = true,\n externalActionSelected,\n}) => {\n const { title, description, icon, color } = action;\n\n return (\n externalActionSelected(action)}\n style={{ backgroundColor: color }}\n >\n {icon && {description}}\n {title}\n \n );\n};\n","import { Button } from 'antd';\nimport { FC } from 'react';\nimport dynamic from 'next/dynamic';\nimport styles from './ActionButton/ActionButton.module.scss';\n\n// Lazy loaded components\n\nconst BellFilled = dynamic(() => import('@ant-design/icons/BellFilled'), {\n ssr: false,\n});\n\nexport type NotifyButtonProps = {\n text?: string;\n onClick?: () => void;\n};\n\nexport const NotifyButton: FC = ({ onClick, text }) => (\n }\n onClick={onClick}\n id=\"notify-button\"\n >\n {text || 'Notify'}\n \n);\n","import { FC } from 'react';\nimport styles from './Logo.module.scss';\n\nexport type LogoProps = {\n src: string;\n};\n\nexport const Logo: FC = ({ src }) => (\n
\n
\n \"Logo\"\n
\n
\n);\nexport default Logo;\n","import Image from 'next/image';\nimport { FC } from 'react';\nimport { SocialLink } from '../../../interfaces/social-link.model';\nimport styles from './SocialLinks.module.scss';\n\nexport type SocialLinksProps = {\n links: SocialLink[];\n};\n\nexport const SocialLinks: FC = ({ links }) => (\n
\n {links.map(link => (\n \n \n \n ))}\n
\n);\n","import cn from 'classnames';\nimport { FC } from 'react';\nimport Linkify from 'react-linkify';\nimport { Logo } from '../../ui/Logo/Logo';\nimport { SocialLinks } from '../../ui/SocialLinks/SocialLinks';\nimport { SocialLink } from '../../../interfaces/social-link.model';\nimport styles from './ContentHeader.module.scss';\n\nexport type ContentHeaderProps = {\n name: string;\n title: string;\n summary: string;\n tags: string[];\n links: SocialLink[];\n logo: string;\n};\n\nexport const ContentHeader: FC = ({\n name,\n title,\n summary,\n logo,\n tags,\n links,\n}) => (\n
\n
\n
\n \n
\n
\n

{name}

\n

\n {title || summary}\n

\n
\n {tags.length > 0 && tags.map(tag => #{tag} )}\n
\n
\n \n
\n
\n
\n
\n);\n","import { FC } from 'react';\nimport { Button, Dropdown, Menu } from 'antd';\nimport classNames from 'classnames';\nimport dynamic from 'next/dynamic';\nimport styles from './ActionButtonMenu.module.scss';\nimport { ExternalAction } from '../../../interfaces/external-action';\n\n// Lazy loaded components\n\nconst EllipsisOutlined = dynamic(() => import('@ant-design/icons/EllipsisOutlined'), {\n ssr: false,\n});\n\nconst HeartOutlined = dynamic(() => import('@ant-design/icons/HeartOutlined'), {\n ssr: false,\n});\n\nconst BellOutlined = dynamic(() => import('@ant-design/icons/BellOutlined'), {\n ssr: false,\n});\n\nconst NOTIFY_KEY = 'notify';\nconst FOLLOW_KEY = 'follow';\n\nexport type ActionButtonMenuProps = {\n actions: ExternalAction[];\n showFollowItem?: boolean;\n showNotifyItem?: boolean;\n externalActionSelected: (action: ExternalAction) => void;\n notifyItemSelected: () => void;\n followItemSelected: () => void;\n className?: string;\n};\n\nexport const ActionButtonMenu: FC = ({\n actions,\n externalActionSelected,\n notifyItemSelected,\n followItemSelected,\n showFollowItem,\n showNotifyItem,\n className,\n}) => {\n const onMenuClick = a => {\n if (a.key === NOTIFY_KEY) {\n notifyItemSelected();\n return;\n }\n if (a.key === FOLLOW_KEY) {\n followItemSelected();\n return;\n }\n const action = actions.find(x => x.url === a.key);\n externalActionSelected(action);\n };\n\n const items = actions.map(action => ({\n key: action.url,\n label: (\n \n {action.icon && {action.title}}{' '}\n {action.title}\n \n ),\n }));\n\n if (showFollowItem) {\n items.unshift({\n key: FOLLOW_KEY,\n label: (\n \n Follow this stream\n \n ),\n });\n }\n\n if (showNotifyItem) {\n items.unshift({\n key: NOTIFY_KEY,\n label: (\n \n \n Notify when live\n \n ),\n });\n }\n\n const menu = ;\n\n const dropdownClasses = classNames([styles.menu, className]);\n\n return (\n \n
\n e.preventDefault()}\n size=\"large\"\n icon={}\n />\n
\n \n );\n};\n","import { useRecoilState, useRecoilValue } from 'recoil';\nimport { Skeleton } from 'antd';\nimport { FC, useEffect, useState } from 'react';\nimport dynamic from 'next/dynamic';\nimport { LOCAL_STORAGE_KEYS, getLocalStorage, setLocalStorage } from '../../../utils/localStorage';\nimport isPushNotificationSupported from '../../../utils/browserPushNotifications';\n\nimport {\n clientConfigStateAtom,\n chatMessagesAtom,\n currentUserAtom,\n isChatAvailableSelector,\n isChatVisibleSelector,\n appStateAtom,\n isOnlineSelector,\n isMobileAtom,\n serverStatusState,\n} from '../../stores/ClientConfigStore';\nimport { ClientConfig } from '../../../interfaces/client-config.model';\nimport { CustomPageContent } from '../CustomPageContent/CustomPageContent';\n\nimport styles from './Content.module.scss';\nimport { Sidebar } from '../Sidebar/Sidebar';\nimport { Footer } from '../Footer/Footer';\n\nimport { ActionButtonRow } from '../../action-buttons/ActionButtonRow/ActionButtonRow';\nimport { ActionButton } from '../../action-buttons/ActionButton/ActionButton';\nimport { OfflineBanner } from '../OfflineBanner/OfflineBanner';\nimport { AppStateOptions } from '../../stores/application-state';\nimport { FollowButton } from '../../action-buttons/FollowButton';\nimport { NotifyButton } from '../../action-buttons/NotifyButton';\nimport { ContentHeader } from '../../common/ContentHeader/ContentHeader';\nimport { ServerStatus } from '../../../interfaces/server-status.model';\nimport { Statusbar } from '../Statusbar/Statusbar';\nimport { ChatMessage } from '../../../interfaces/chat-message.model';\nimport { ExternalAction } from '../../../interfaces/external-action';\nimport { Modal } from '../Modal/Modal';\nimport { ActionButtonMenu } from '../../action-buttons/ActionButtonMenu/ActionButtonMenu';\n\n// Lazy loaded components\n\nconst FollowerCollection = dynamic(\n () =>\n import('../followers/FollowerCollection/FollowerCollection').then(\n mod => mod.FollowerCollection,\n ),\n {\n ssr: false,\n },\n);\n\nconst FollowModal = dynamic(\n () => import('../../modals/FollowModal/FollowModal').then(mod => mod.FollowModal),\n {\n ssr: false,\n },\n);\n\nconst BrowserNotifyModal = dynamic(\n () =>\n import('../../modals/BrowserNotifyModal/BrowserNotifyModal').then(\n mod => mod.BrowserNotifyModal,\n ),\n {\n ssr: false,\n },\n);\n\nconst NotifyReminderPopup = dynamic(\n () => import('../NotifyReminderPopup/NotifyReminderPopup').then(mod => mod.NotifyReminderPopup),\n {\n ssr: false,\n },\n);\n\nconst OwncastPlayer = dynamic(\n () => import('../../video/OwncastPlayer/OwncastPlayer').then(mod => mod.OwncastPlayer),\n {\n ssr: false,\n },\n);\n\nconst ChatContainer = dynamic(\n () => import('../../chat/ChatContainer/ChatContainer').then(mod => mod.ChatContainer),\n {\n ssr: false,\n },\n);\n\nconst Tabs = dynamic(() => import('antd').then(mod => mod.Tabs), {\n ssr: false,\n});\n\nconst DesktopContent = ({\n name,\n streamTitle,\n summary,\n tags,\n socialHandles,\n extraPageContent,\n setShowFollowModal,\n supportFediverseFeatures,\n}) => {\n const aboutTabContent = ;\n const followersTabContent = (\n
\n setShowFollowModal(true)} />\n
\n );\n\n const items = [{ label: 'About', key: '2', children: aboutTabContent }];\n if (supportFediverseFeatures) {\n items.push({ label: 'Followers', key: '3', children: followersTabContent });\n }\n\n return (\n <>\n
\n \n
\n\n
\n {items.length > 1 ? : aboutTabContent}\n
\n \n );\n};\n\nconst MobileContent = ({\n name,\n streamTitle,\n summary,\n tags,\n socialHandles,\n extraPageContent,\n messages,\n currentUser,\n showChat,\n actions,\n setExternalActionToDisplay,\n setShowNotifyPopup,\n setShowFollowModal,\n supportFediverseFeatures,\n supportsBrowserNotifications,\n}) => {\n if (!currentUser) {\n return ;\n }\n const { id, displayName } = currentUser;\n\n const chatContent = showChat && (\n \n );\n\n const aboutTabContent = (\n <>\n \n \n \n );\n const followersTabContent = (\n setShowFollowModal(true)} />\n );\n\n const items = [\n showChat && { label: 'Chat', key: '0', children: chatContent },\n { label: 'About', key: '2', children: aboutTabContent },\n { label: 'Followers', key: '3', children: followersTabContent },\n ];\n\n const replacementTabBar = (props, DefaultTabBar) => (\n
\n \n setShowNotifyPopup(true)}\n followItemSelected={() => setShowFollowModal(true)}\n />\n
\n );\n\n return (\n
\n \n
\n );\n};\n\nconst ExternalModal = ({ externalActionToDisplay, setExternalActionToDisplay }) => {\n const { title, description, url } = externalActionToDisplay;\n return (\n setExternalActionToDisplay(null)}\n />\n );\n};\n\nexport const Content: FC = () => {\n const appState = useRecoilValue(appStateAtom);\n const clientConfig = useRecoilValue(clientConfigStateAtom);\n const isChatVisible = useRecoilValue(isChatVisibleSelector);\n const isChatAvailable = useRecoilValue(isChatAvailableSelector);\n const currentUser = useRecoilValue(currentUserAtom);\n const serverStatus = useRecoilValue(serverStatusState);\n const [isMobile, setIsMobile] = useRecoilState(isMobileAtom);\n const messages = useRecoilValue(chatMessagesAtom);\n const online = useRecoilValue(isOnlineSelector);\n\n const { viewerCount, lastConnectTime, lastDisconnectTime, streamTitle } =\n useRecoilValue(serverStatusState);\n const {\n extraPageContent,\n version,\n name,\n summary,\n socialHandles,\n tags,\n externalActions,\n offlineMessage,\n chatDisabled,\n federation,\n notifications,\n } = clientConfig;\n const [showNotifyReminder, setShowNotifyReminder] = useState(false);\n const [showNotifyModal, setShowNotifyModal] = useState(false);\n const [showFollowModal, setShowFollowModal] = useState(false);\n const { account: fediverseAccount, enabled: fediverseEnabled } = federation;\n const { browser: browserNotifications } = notifications;\n const { enabled: browserNotificationsEnabled } = browserNotifications;\n const { online: isStreamLive } = serverStatus;\n const [externalActionToDisplay, setExternalActionToDisplay] = useState(null);\n\n const [supportsBrowserNotifications, setSupportsBrowserNotifications] = useState(false);\n const supportFediverseFeatures = fediverseEnabled;\n\n const externalActionSelected = (action: ExternalAction) => {\n const { openExternally, url } = action;\n if (openExternally) {\n window.open(url, '_blank');\n } else {\n setExternalActionToDisplay(action);\n }\n };\n\n const externalActionButtons = externalActions.map(action => (\n \n ));\n\n const incrementVisitCounter = () => {\n let visits = parseInt(getLocalStorage(LOCAL_STORAGE_KEYS.userVisitCount), 10);\n if (Number.isNaN(visits)) {\n visits = 0;\n }\n\n setLocalStorage(LOCAL_STORAGE_KEYS.userVisitCount, visits + 1);\n\n if (visits > 2 && !getLocalStorage(LOCAL_STORAGE_KEYS.hasDisplayedNotificationModal)) {\n setShowNotifyReminder(true);\n }\n };\n\n const disableNotifyReminderPopup = () => {\n setShowNotifyModal(false);\n setShowNotifyReminder(false);\n setLocalStorage(LOCAL_STORAGE_KEYS.hasDisplayedNotificationModal, true);\n };\n\n const checkIfMobile = () => {\n const w = window.innerWidth;\n if (isMobile === undefined) {\n if (w <= 768) setIsMobile(true);\n else setIsMobile(false);\n }\n if (!isMobile && w <= 768) setIsMobile(true);\n if (isMobile && w > 768) setIsMobile(false);\n };\n\n useEffect(() => {\n incrementVisitCounter();\n checkIfMobile();\n window.addEventListener('resize', checkIfMobile);\n return () => {\n window.removeEventListener('resize', checkIfMobile);\n };\n }, []);\n\n useEffect(() => {\n // isPushNotificationSupported relies on `navigator` so that needs to be\n // fired from this useEffect.\n setSupportsBrowserNotifications(isPushNotificationSupported() && browserNotificationsEnabled);\n }, [browserNotificationsEnabled]);\n\n const showChat = !chatDisabled && isChatAvailable && isChatVisible;\n\n return (\n <>\n
\n
\n
\n
\n {appState.appLoading && }\n {online && (\n \n )}\n {!online && !appState.appLoading && (\n setShowNotifyModal(true)}\n onFollowClick={() => setShowFollowModal(true)}\n />\n )}\n {isStreamLive && (\n \n )}\n
\n
\n
\n {!isMobile && (\n \n {externalActionButtons}\n {supportFediverseFeatures && (\n setShowFollowModal(true)} />\n )}\n {supportsBrowserNotifications && (\n setShowNotifyModal(true)}\n notificationClosed={() => disableNotifyReminderPopup()}\n >\n setShowNotifyModal(true)} />\n \n )}\n \n )}\n\n disableNotifyReminderPopup()}\n handleCancel={() => disableNotifyReminderPopup()}\n >\n \n \n
\n
\n {isMobile ? (\n \n ) : (\n \n )}\n {!isMobile &&
}\n
\n {showChat && !isMobile && }\n
\n
\n {externalActionToDisplay && (\n \n )}\n setShowFollowModal(false)}\n width=\"550px\"\n >\n setShowFollowModal(false)}\n />\n \n \n );\n};\nexport default Content;\n","/*\nDue to Owncast's goal of being private by default, we don't want any external\nlinks to leak the instance of Owncast as a referrer.\nThis observer attempts to catch any anchor tags and automatically add the\nnoopener and noreferrer attributes to them so the instance of Owncast isn't\npassed along in the headers.\n\nThis should should be fired somewhere relatively high level in the DOM and live\nfor the entirety of the page.\n*/\n\n/* eslint-disable no-restricted-syntax */\nexport default function setupNoLinkReferrer(observationRoot: HTMLElement): void {\n // Options for the observer (which mutations to observe)\n const config = { attributes: false, childList: true, subtree: true };\n\n const addNoReferrer = (node: Element): void => {\n const existingAttributes = node.getAttribute('rel');\n const attributes = `${existingAttributes} noopener noreferrer`;\n node.setAttribute('rel', attributes);\n };\n\n // Callback function to execute when mutations are observed\n // eslint-disable-next-line func-names\n const callback = function (mutationList) {\n for (const mutation of mutationList) {\n for (const node of mutation.addedNodes) {\n // we track only elements, skip other nodes (e.g. text nodes)\n // eslint-disable-next-line no-continue\n if (!(node instanceof HTMLElement)) continue;\n\n if (node.tagName.toLowerCase() === 'a') {\n addNoReferrer(node);\n }\n }\n }\n };\n\n observationRoot.querySelectorAll('a').forEach(anchor => addNoReferrer(anchor));\n\n // Create an observer instance linked to the callback function\n const observer = new MutationObserver(callback);\n\n // Start observing the target node for configured mutations\n observer.observe(observationRoot, config);\n}\n","/**\n * This component is responsible for updating the title of the page when\n * different state changes occur.\n * If the stream live state changes, or chat messages come in while the\n * page is backgrounded, this component will update the title to reflect it. *\n * @component\n */\nimport { FC, useEffect, useState } from 'react';\nimport { useRecoilValue } from 'recoil';\nimport { serverStatusState, chatMessagesAtom } from '../stores/ClientConfigStore';\n\nexport type TitleNotifierProps = {\n name: string;\n};\n\nexport const TitleNotifier: FC = ({ name }) => {\n const chatMessages = useRecoilValue(chatMessagesAtom);\n const serverStatus = useRecoilValue(serverStatusState);\n\n const [backgrounded, setBackgrounded] = useState(false);\n\n const { online } = serverStatus;\n\n const setTitle = (title: string) => {\n document.title = title;\n };\n\n const onBlur = () => {\n setBackgrounded(true);\n };\n\n const onFocus = () => {\n setBackgrounded(false);\n setTitle(name);\n };\n\n const listenForEvents = () => {\n // Listen for events that should update the title\n window.addEventListener('blur', onBlur);\n window.addEventListener('focus', onFocus);\n };\n\n const removeEvents = () => {\n window.removeEventListener('blur', onBlur);\n window.removeEventListener('focus', onFocus);\n };\n\n useEffect(() => {\n listenForEvents();\n\n return () => {\n removeEvents();\n };\n }, [name]);\n\n useEffect(() => {\n if (!backgrounded || !online) {\n return;\n }\n\n // Only alert on real chat messages from people.\n const lastMessage = chatMessages[chatMessages.length - 1];\n if (lastMessage.type !== 'CHAT') {\n return;\n }\n\n setTitle(`💬 :: ${name}`);\n }, [chatMessages, name]);\n\n useEffect(() => {\n if (!backgrounded) {\n return;\n }\n\n if (online) {\n setTitle(` 🟢 :: ${name}`);\n } else if (!online) {\n setTitle(` 🔴 :: ${name}`);\n }\n }, [online, name]);\n\n return null;\n};\n","/* eslint-disable react/no-danger */\nimport { FC } from 'react';\n\nexport const ServerRenderedHydration: FC = () => (\n \n);\n","/* eslint-disable react/no-danger */\nimport { FC } from 'react';\nimport { useRecoilValue } from 'recoil';\nimport { ClientConfig } from '../../interfaces/client-config.model';\nimport { clientConfigStateAtom } from '../stores/ClientConfigStore';\n\nexport const Theme: FC = () => {\n const clientConfig = useRecoilValue(clientConfigStateAtom);\n const { appearanceVariables, customStyles } = clientConfig;\n\n const appearanceVars = Object.keys(appearanceVariables)\n .filter(variable => !!appearanceVariables[variable])\n .map(variable => `--${variable}: ${appearanceVariables[variable]}`);\n\n return (\n \n );\n};\n","/* eslint-disable react/no-danger */\nimport { FC, useEffect } from 'react';\n\nexport const PushNotificationServiceWorker: FC = () => {\n const add = () => {\n navigator.serviceWorker.register('/serviceWorker.js').then(\n registration => {\n console.debug('Service Worker registration successful with scope: ', registration.scope);\n },\n err => {\n console.error('Service Worker registration failed: ', err);\n },\n );\n };\n\n useEffect(() => {\n if ('serviceWorker' in navigator) {\n window.addEventListener('load', add);\n }\n\n return () => {\n window.removeEventListener('load', add);\n };\n }, []);\n\n return null;\n};\n","/* eslint-disable react/no-danger */\n/* eslint-disable react/no-unescaped-entities */\nimport { useRecoilValue } from 'recoil';\nimport Head from 'next/head';\nimport { FC, useEffect, useRef } from 'react';\nimport { Layout } from 'antd';\nimport dynamic from 'next/dynamic';\nimport Script from 'next/script';\nimport {\n ClientConfigStore,\n isChatAvailableSelector,\n clientConfigStateAtom,\n fatalErrorStateAtom,\n appStateAtom,\n} from '../../stores/ClientConfigStore';\nimport { Content } from '../../ui/Content/Content';\nimport { Header } from '../../ui/Header/Header';\nimport { ClientConfig } from '../../../interfaces/client-config.model';\nimport { DisplayableError } from '../../../types/displayable-error';\nimport setupNoLinkReferrer from '../../../utils/no-link-referrer';\nimport { TitleNotifier } from '../../TitleNotifier/TitleNotifier';\nimport { ServerRenderedHydration } from '../../ServerRendered/ServerRenderedHydration';\nimport { Theme } from '../../theme/Theme';\nimport styles from './Main.module.scss';\nimport { PushNotificationServiceWorker } from '../../workers/PushNotificationServiceWorker/PushNotificationServiceWorker';\nimport { AppStateOptions } from '../../stores/application-state';\n\nconst lockBodyStyle = `\nbody {\n overflow: hidden;\n}\n`;\n\n// Lazy loaded components\n\nconst FatalErrorStateModal = dynamic(\n () =>\n import('../../modals/FatalErrorStateModal/FatalErrorStateModal').then(\n mod => mod.FatalErrorStateModal,\n ),\n {\n ssr: false,\n },\n);\n\nexport const Main: FC = () => {\n const clientConfig = useRecoilValue(clientConfigStateAtom);\n const { name, title, customStyles } = clientConfig;\n const isChatAvailable = useRecoilValue(isChatAvailableSelector);\n const fatalError = useRecoilValue(fatalErrorStateAtom);\n const appState = useRecoilValue(appStateAtom);\n\n const layoutRef = useRef(null);\n const { chatDisabled } = clientConfig;\n const { videoAvailable } = appState;\n\n useEffect(() => {\n setupNoLinkReferrer(layoutRef.current);\n }, []);\n\n const isProduction = process.env.NODE_ENV === 'production';\n\n return (\n <>\n \n {isProduction && }\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n\n {isProduction ? (\n \n {name ? {name} : {'{{.Name}}'}}\n \n\n \n \n \n \n \n \n\n \n \n \n\n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n ) : (\n \n {name}\n \n )}\n\n \n \n \n \n

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

+/*# sourceMappingURL=36e94fd7ff575979.css.map*/

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

diff --git a/static/web/admin/actions/index.html b/static/web/admin/actions/index.html index af786fe5c..603c0897e 100644 --- a/static/web/admin/actions/index.html +++ b/static/web/admin/actions/index.html @@ -1,4 +1,4 @@ -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

+/*# sourceMappingURL=36e94fd7ff575979.css.map*/

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

diff --git a/static/web/admin/chat/emojis/index.html b/static/web/admin/chat/emojis/index.html index f4bb1cbf9..c8c2fcca7 100644 --- a/static/web/admin/chat/emojis/index.html +++ b/static/web/admin/chat/emojis/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Emojis

Here you can upload new custom emojis for usage in the chat. When uploading a new emoji, the filename will be used as emoji name.
NameEmoji
No data

+/*# sourceMappingURL=36e94fd7ff575979.css.map*/

What is your stream about today?

What is your stream about today?
Offline

Emojis

Here you can upload new custom emojis for usage in the chat. When uploading a new emoji, the filename will be used as emoji name.
NameEmoji
No data

diff --git a/static/web/admin/chat/messages/index.html b/static/web/admin/chat/messages/index.html index 6bfdd165f..bb0354dfc 100644 --- a/static/web/admin/chat/messages/index.html +++ b/static/web/admin/chat/messages/index.html @@ -1,4 +1,4 @@ -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
+/*# sourceMappingURL=36e94fd7ff575979.css.map*/

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
diff --git a/static/web/admin/chat/users/index.html b/static/web/admin/chat/users/index.html index f4ba71f02..755ba2a6e 100644 --- a/static/web/admin/chat/users/index.html +++ b/static/web/admin/chat/users/index.html @@ -1,4 +1,4 @@ -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.

+/*# sourceMappingURL=36e94fd7ff575979.css.map*/

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.

diff --git a/static/web/admin/config-chat/index.html b/static/web/admin/config-chat/index.html index 800a95ca0..f99ad360e 100644 --- a/static/web/admin/config-chat/index.html +++ b/static/web/admin/config-chat/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
+/*# sourceMappingURL=36e94fd7ff575979.css.map*/

What is your stream about today?

What is your stream about today?
Offline
diff --git a/static/web/admin/config-federation/index.html b/static/web/admin/config-federation/index.html index 29683bd01..f85893593 100644 --- a/static/web/admin/config-federation/index.html +++ b/static/web/admin/config-federation/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
+/*# sourceMappingURL=36e94fd7ff575979.css.map*/

What is your stream about today?

What is your stream about today?
Offline
diff --git a/static/web/admin/config-notify/index.html b/static/web/admin/config-notify/index.html index bbc57db04..5ae3859d8 100644 --- a/static/web/admin/config-notify/index.html +++ b/static/web/admin/config-notify/index.html @@ -1,4 +1,4 @@ -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.

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

Custom

Build your own notifications by using custom webhooks.

+/*# sourceMappingURL=36e94fd7ff575979.css.map*/

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.

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

Custom

Build your own notifications by using custom webhooks.

diff --git a/static/web/admin/config-social-items/index.html b/static/web/admin/config-social-items/index.html index 73690d60a..4cc2fbb40 100644 --- a/static/web/admin/config-social-items/index.html +++ b/static/web/admin/config-social-items/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Social Items

+/*# sourceMappingURL=36e94fd7ff575979.css.map*/

What is your stream about today?

What is your stream about today?
Offline

Social Items

diff --git a/static/web/admin/config-video/index.html b/static/web/admin/config-video/index.html index dc1e64776..48e759230 100644 --- a/static/web/admin/config-video/index.html +++ b/static/web/admin/config-video/index.html @@ -1,4 +1,4 @@ -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

+/*# sourceMappingURL=36e94fd7ff575979.css.map*/

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

diff --git a/static/web/admin/config/general/index.html b/static/web/admin/config/general/index.html index 6819c7120..54a0776f8 100644 --- a/static/web/admin/config/general/index.html +++ b/static/web/admin/config/general/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

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.


+/*# sourceMappingURL=36e94fd7ff575979.css.map*/

What is your stream about today?

What is your stream about today?
Offline

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.


diff --git a/static/web/admin/config/server/index.html b/static/web/admin/config/server/index.html index 6068299f6..c66835d7f 100644 --- a/static/web/admin/config/server/index.html +++ b/static/web/admin/config/server/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

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

+/*# sourceMappingURL=36e94fd7ff575979.css.map*/

What is your stream about today?

What is your stream about today?
Offline

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

diff --git a/static/web/admin/federation/actions/index.html b/static/web/admin/federation/actions/index.html index 92752b442..1c4ed5d29 100644 --- a/static/web/admin/federation/actions/index.html +++ b/static/web/admin/federation/actions/index.html @@ -1,4 +1,4 @@ -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
+/*# sourceMappingURL=36e94fd7ff575979.css.map*/

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
diff --git a/static/web/admin/federation/followers/index.html b/static/web/admin/federation/followers/index.html index b09ca85be..6b8efca5a 100644 --- a/static/web/admin/federation/followers/index.html +++ b/static/web/admin/federation/followers/index.html @@ -1,4 +1,4 @@ -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
+/*# sourceMappingURL=36e94fd7ff575979.css.map*/

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
diff --git a/static/web/admin/hardware-info/index.html b/static/web/admin/hardware-info/index.html index bec5bafdc..c5ca9b8e4 100644 --- a/static/web/admin/hardware-info/index.html +++ b/static/web/admin/hardware-info/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Hardware Info


CPU
0%
Memory
0%
Disk
0%
Loading...
+/*# sourceMappingURL=36e94fd7ff575979.css.map*/

What is your stream about today?

What is your stream about today?
Offline

Hardware Info


CPU
0%
Memory
0%
Disk
0%
Loading...
diff --git a/static/web/admin/help/index.html b/static/web/admin/help/index.html index 793b065c5..cee69f81e 100644 --- a/static/web/admin/help/index.html +++ b/static/web/admin/help/index.html @@ -1,4 +1,4 @@ -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. 
+/*# sourceMappingURL=36e94fd7ff575979.css.map*/

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. 
diff --git a/static/web/admin/index.html b/static/web/admin/index.html index 2c5e52221..2ccef9018 100644 --- a/static/web/admin/index.html +++ b/static/web/admin/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

No stream is active

You should start one.

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

+/*# sourceMappingURL=36e94fd7ff575979.css.map*/

What is your stream about today?

What is your stream about today?
Offline

No stream is active

You should start one.

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

diff --git a/static/web/admin/logs/index.html b/static/web/admin/logs/index.html index 858bb6096..23837c21d 100644 --- a/static/web/admin/logs/index.html +++ b/static/web/admin/logs/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
+/*# sourceMappingURL=36e94fd7ff575979.css.map*/

What is your stream about today?

What is your stream about today?
Offline
diff --git a/static/web/admin/stream-health/index.html b/static/web/admin/stream-health/index.html index a21be9587..f61b0c873 100644 --- a/static/web/admin/stream-health/index.html +++ b/static/web/admin/stream-health/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Stream Performance

+/*# sourceMappingURL=36e94fd7ff575979.css.map*/

What is your stream about today?

What is your stream about today?
Offline

Stream Performance

diff --git a/static/web/admin/upgrade/index.html b/static/web/admin/upgrade/index.html index cb59d2249..e28b0ae9c 100644 --- a/static/web/admin/upgrade/index.html +++ b/static/web/admin/upgrade/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Thu Jan 01 1970

Downloads

NameSize
No data
+/*# sourceMappingURL=36e94fd7ff575979.css.map*/

What is your stream about today?

What is your stream about today?
Offline

Thu Jan 01 1970

Downloads

NameSize
No data
diff --git a/static/web/admin/viewer-info/index.html b/static/web/admin/viewer-info/index.html index 6c1059f6c..c234abb91 100644 --- a/static/web/admin/viewer-info/index.html +++ b/static/web/admin/viewer-info/index.html @@ -1,4 +1,4 @@ -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
+/*# sourceMappingURL=36e94fd7ff575979.css.map*/

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
diff --git a/static/web/admin/webhooks/index.html b/static/web/admin/webhooks/index.html index 0122c8eaa..e4c9206a2 100644 --- a/static/web/admin/webhooks/index.html +++ b/static/web/admin/webhooks/index.html @@ -1,4 +1,4 @@ -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

+/*# sourceMappingURL=36e94fd7ff575979.css.map*/

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

diff --git a/static/web/embed/chat/readonly/index.html b/static/web/embed/chat/readonly/index.html index 3ed1ee190..e6f376333 100644 --- a/static/web/embed/chat/readonly/index.html +++ b/static/web/embed/chat/readonly/index.html @@ -1,4 +1,4 @@ -
+/*# sourceMappingURL=36e94fd7ff575979.css.map*/
diff --git a/static/web/embed/chat/readwrite/index.html b/static/web/embed/chat/readwrite/index.html index f12542100..b56b2e9c2 100644 --- a/static/web/embed/chat/readwrite/index.html +++ b/static/web/embed/chat/readwrite/index.html @@ -1,4 +1,4 @@ -
+/*# sourceMappingURL=36e94fd7ff575979.css.map*/
diff --git a/static/web/embed/video/index.html b/static/web/embed/video/index.html index cb336ecf3..e50c2f962 100644 --- a/static/web/embed/video/index.html +++ b/static/web/embed/video/index.html @@ -1,4 +1,4 @@ -
This stream is offline. Check back soon!
+/*# sourceMappingURL=574ab2ce225bab45.css.map*/
This stream is offline. Check back soon!
diff --git a/static/web/index.html b/static/web/index.html index 695104326..f6e9de4f9 100644 --- a/static/web/index.html +++ b/static/web/index.html @@ -5,7 +5,7 @@ body { overflow: hidden; } -{{.Name}}{{.Name}}
+