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

404

This page could not be found.

\ No newline at end of file + }

404

This page could not be found.

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

404

This page could not be found.

\ No newline at end of file + }

404

This page could not be found.

\ No newline at end of file diff --git a/static/web/_next/static/chunks/4977-1b8a661db2793f1c.js b/static/web/_next/static/chunks/4977-1b8a661db2793f1c.js new file mode 100644 index 000000000..889fa4133 --- /dev/null +++ b/static/web/_next/static/chunks/4977-1b8a661db2793f1c.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4977],{94977:function(e,t,a){"use strict";a.r(t),a.d(t,{ChatContainer:function(){return ep}});var s,n,r,o,i,l=a(85893),c=a(9764),d=a(67294),h=a(36531),u=a(91951),m=a(59760),g=a.n(m),p=a(86492),x=a.n(p),_=a(94184),C=a.n(_),f=a(94199),j=a(29158),v=a(4480),y=a(5152),N=a.n(y),M=a(50085),b=a.n(M),S=a(77278);function E(e){let t=new Date(e);if(Number.isNaN(t))return"";let a=(0,S.Xb)(e);if(a>=1){let s=t.toLocaleDateString("en-US",{dateStyle:"medium"});return"".concat(s," at ").concat(t.toLocaleTimeString())}return"".concat(t.toLocaleTimeString())}var T=a(48976),w=a.n(T);let k=e=>{let{badge:t,userColor:a}=e,s="var(--theme-user-colors-".concat(a,")");return(0,l.jsx)("span",{style:{color:s,borderColor:s},className:w().badge,children:t})};var O=a(77466);let D=N()(()=>Promise.all([a.e(8909),a.e(3903),a.e(4267),a.e(2206),a.e(8091),a.e(1769),a.e(4860)]).then(a.bind(a,94860)).then(e=>e.ChatModerationActionMenu),{loadableGenerated:{webpack:()=>[94860]}}),A=N()(()=>Promise.resolve().then(a.bind(a,47049)).then(e=>e.Highlight),{loadableGenerated:{webpack:()=>[47049]}}),B=e=>{let{children:t,user:a}=e,{displayName:s,createdAt:n}=a,r="".concat(s," first joined ").concat(E(n));return(0,l.jsx)(f.Z,{title:r,placement:"topLeft",mouseEnterDelay:1,children:t})},U=e=>{let{message:t,highlightString:a,showModeratorMenu:s,sentBySelf:n,sameUserAsLast:r,isAuthorModerator:o,isAuthorAuthenticated:i}=e,{id:c,body:h,user:u,timestamp:m}=t,{id:g,displayName:p,displayColor:_}=u,y=(0,v.sJ)(O.FI),N="var(--theme-color-users-".concat(_,")"),M="Sent ".concat(E(m)),[S,T]=(0,d.useState)(h),w=[];return o&&w.push((0,l.jsx)(k,{badge:"mod",userColor:_},"mod")),i&&w.push((0,l.jsx)(k,{badge:(0,l.jsx)(j.Z,{title:"authenticated"}),userColor:_},"auth")),(0,d.useEffect)(()=>{T(x().decode(h))},[t]),(0,l.jsx)("div",{className:C()(b().messagePadding,r&&b().messagePaddingCollapsed,"chat-message_user"),children:(0,l.jsxs)("div",{className:C()(b().root,{[b().ownMessage]:n}),style:{borderColor:N},children:[!r&&(0,l.jsx)(B,{user:u,children:(0,l.jsxs)("div",{className:b().user,style:{color:N},children:[(0,l.jsx)("span",{className:b().userName,children:p}),(0,l.jsx)("span",{children:w})]})}),(0,l.jsx)(f.Z,{title:M,mouseEnterDelay:1,children:(0,l.jsx)(A,{search:a,children:(0,l.jsx)("div",{className:b().message,dangerouslySetInnerHTML:{__html:S}})})}),s&&(0,l.jsx)("div",{className:b().modMenuWrapper,children:(0,l.jsx)(D,{messageID:c,accessToken:y,userID:g,userDisplayName:p})}),(0,l.jsx)("div",{className:b().background,style:{color:N}})]})})};var F=a(93045),R=a(27496),L=a(55241),P=a(77493),H=a(96391),I=a(26912),W=a.n(I);let G=N()(()=>Promise.all([a.e(7741),a.e(1559)]).then(a.bind(a,51559)).then(e=>e.EmojiPicker),{loadableGenerated:{webpack:()=>[51559]}}),Z=e=>{let{attributes:t,element:a,children:s}=e,n=(0,H.vt)(),r=(0,H.UE)();return(0,l.jsxs)("span",{...t,contentEditable:!1,children:[(0,l.jsx)("img",{alt:a.alt,src:a.src,title:a.name,style:{display:"inline",maxWidth:"50px",maxHeight:"20px",boxShadow:"".concat(n&&r?"0 0 0 3px #B4D5FF":"none")}}),s]})},V=e=>{let{isVoid:t}=e;return e.isVoid=e=>"image"===e.type||t(e),e.isInline=e=>"image"===e.type,e},Y=e=>{let t;if(P.xv.isText(e)){let a=e.text;return a}if(0===e.children.length)t=[{text:""}];else{var s;t=null===(s=e.children)||void 0===s?void 0:s.map(e=>Y(e)).join("")}switch(e.type){case"paragraph":return"

".concat(t,"

");case"image":return'').concat(e.alt,'');default:return t}},J=e=>{if(P.xv.isText(e))return e.text.length;if("image"===e.type)return 5;let t=0;return e.children.forEach(e=>{t+=J(e)}),t},X=e=>{let{defaultText:t}=e,[a,s]=(0,d.useState)(!1),[n,r]=(0,d.useState)(null==t?void 0:t.length),o=(0,v.sJ)(O.Gt),i=(0,d.useMemo)(()=>(0,H.BU)(V((0,P.Jh)())),[]),c=()=>{if(!o){console.log("websocketService is not defined");return}let e=Y(i);o.send({type:u.C.CHAT,body:e}),P.YR.delete(i,{at:{anchor:P.ML.start(i,[]),focus:P.ML.end(i,[])}}),r(0)},h=(e,t,a)=>({type:"image",alt:e,src:t,name:a,children:[{text:""}]}),m=(e,t)=>{if(!e)return;let{selection:a}=i,s=h(t,e,t);if(P.YR.insertNodes(i,s,{select:!0}),a){var n;let[r,o]=P.ML.parent(i,null===(n=a.focus)||void 0===n?void 0:n.path);i.isVoid(r)||P.NB.string(r).length?P.YR.insertNodes(i,s,{at:P.y$.next(o),select:!0}):(P.YR.insertNodes(i,s,{at:o,select:!0}),P.ML.normalize(i,{force:!0}))}else P.YR.insertNodes(i,s,{select:!0})},g=e=>{H.F3.focus(i),P.YR.insertText(i,e)},p=(e,t)=>{H.F3.focus(i),m(t,e)},x=e=>{let t=J(i)+1;if("Enter"===e.key){e.preventDefault(),c();return}if("Backspace"===e.key){r(t-1);return}t+1>300&&e.preventDefault(),r(t+1)},_=e=>{let t=e.clipboardData.getData("text/plain"),{length:a}=t;n+a>300&&e.preventDefault()},f=e=>"image"===e.element.type?(0,l.jsx)(Z,{...e}):(0,l.jsx)("p",{...e});return(0,l.jsx)("div",{className:W().root,children:(0,l.jsxs)("div",{className:C()(W().inputWrap,n>=300&&W().maxCharacters),children:[(0,l.jsxs)(H.mH,{editor:i,value:[{type:"paragraph",children:[{text:t||""}]}],children:[(0,l.jsx)(H.CX,{className:"chat-text-input",onKeyDown:x,onPaste:_,renderElement:f,placeholder:"Send a message to chat",style:{width:"100%"},role:"textbox","aria-label":"Chat text input",autoFocus:!0}),(0,l.jsx)(L.Z,{content:(0,l.jsx)(G,{onEmojiSelect:g,onCustomEmojiSelect:p}),trigger:"click",placement:"topRight",onOpenChange:e=>s(e),open:a})]}),(0,l.jsxs)("div",{style:{display:"flex",paddingLeft:"5px"},children:[(0,l.jsx)("button",{type:"button",className:W().emojiButton,title:"Emoji picker button",onClick:()=>s(!a),children:(0,l.jsx)(F.Z,{})}),(0,l.jsx)("button",{type:"button",className:W().sendButton,title:"Send message Button",onClick:c,children:(0,l.jsx)(R.Z,{})})]})]})})};var z=a(93107),q=a.n(z);function K(){return(K=Object.assign?Object.assign.bind():function(e){for(var t=1;t(0,l.jsxs)("div",{className:q().chatModerationNotification,children:[(0,l.jsx)($,{className:q().icon}),"You are now a moderator."]});var ee=a(47049),et=a(23421),ea=a.n(et);let es=e=>{let{message:{body:t,user:{displayName:a}},highlightString:s}=e;return(0,l.jsxs)("div",{className:C()([ea().chatSystemMessage,"chat-message_system"]),children:[(0,l.jsx)("div",{className:ea().user,children:(0,l.jsx)("span",{className:ea().userName,children:a})}),(0,l.jsx)(ee.Highlight,{search:s,children:(0,l.jsx)("div",{className:ea().message,dangerouslySetInnerHTML:{__html:t}})})]})};var en=a(55355),er=a(91044),eo=a.n(er);let ei=e=>{let{isAuthorModerator:t,userColor:a,displayName:s}=e;return(0,l.jsxs)("div",{className:eo().root,children:[(0,l.jsxs)("span",{style:{color:"var(--theme-color-users-".concat(a,")")},children:[(0,l.jsx)("span",{style:{padding:"0 10px"},children:(0,l.jsx)(en.Z,{})}),(0,l.jsx)("span",{style:{fontWeight:"bold"},children:s}),t&&(0,l.jsx)("span",{children:(0,l.jsx)(k,{badge:"mod",userColor:a})})]})," ","joined the chat."]})};var el=a(66017),ec=a(71577);let ed=e=>{let{chatContainerRef:t,messages:a}=e;return(0,l.jsx)("div",{className:g().toBottomWrap,children:(0,l.jsx)(ec.Z,{type:"default",style:{color:"currentColor"},icon:(0,l.jsx)(el.Z,{}),onClick:()=>t.current.scrollToIndex({index:a.length-1,behavior:"smooth"}),children:"Go to last message"})})};var eh=a(65302),eu=a.n(eh);let em=e=>{let{body:t}=e;return(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:t},className:eu().chatAction})};function eg(e){let{user:{scopes:t}}=e;return!!t&&0!==t.length&&t.includes("MODERATOR")}let ep=e=>{let{messages:t,usernameToHighlight:a,chatUserId:s,isModerator:n,showInput:r,height:o}=e,[i,m]=(0,d.useState)(!0),p=(0,d.useRef)(null),x=e=>{let{oldName:t,user:a}=e,{displayName:s,displayColor:n}=a,r="var(--theme-color-users-".concat(n,")");return(0,l.jsxs)("div",{className:g().nameChangeView,children:[(0,l.jsx)("div",{style:{marginRight:5,height:"max-content",margin:"auto 5px auto 0"},children:(0,l.jsx)(h.Z,{})}),(0,l.jsxs)("div",{className:g().nameChangeText,children:[(0,l.jsx)("span",{style:{color:r},children:t}),(0,l.jsx)("span",{className:g().plain,children:" is now known as "}),(0,l.jsx)("span",{style:{color:r},children:s})]})]})},_=e=>{let{user:{displayName:t,displayColor:a}}=e,s=eg(e);return(0,l.jsx)(ei,{displayName:t,userColor:a,isAuthorModerator:s})},C=e=>{let{body:t}=e;return(0,l.jsx)(em,{body:t})},f=e=>{let t=eg(e);return t?(0,l.jsx)(Q,{}):(0,l.jsx)("div",{style:{width:"1px",height:"1px"}})},j=(e,r)=>{switch(r.type){case u.C.CHAT:var o,i,c;return(0,l.jsx)(U,{message:r,showModeratorMenu:n,highlightString:a,sentBySelf:(null===(o=r.user)||void 0===o?void 0:o.id)===s,sameUserAsLast:function(e,t){if(e.length<2)return!1;let a=e[t];if(!a||!a.user)return!1;let{user:{id:s}}=a,n=e[t-1];if((null==n?void 0:n.type)!==u.C.CHAT||!(null==n?void 0:n.timestamp)||!a.timestamp)return!1;let r=new Date(null==n?void 0:n.timestamp).getTime(),o=new Date(a.timestamp).getTime();return!(o-r>12e4)&&s===(null==n?void 0:n.user.id)}(t,e),isAuthorModerator:null===(i=r.user.scopes)||void 0===i?void 0:i.includes("MODERATOR"),isAuthorAuthenticated:null===(c=r.user)||void 0===c?void 0:c.authenticated},r.id);case u.C.NAME_CHANGE:return x(r);case u.C.CONNECTED_USER_INFO:return f(r);case u.C.USER_JOINED:return _(r);case u.C.CHAT_ACTION:return C(r);case u.C.SYSTEM:return(0,l.jsx)(es,{message:r,highlightString:a},r.id);default:return null}},v=(0,d.useMemo)(()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c.OO,{style:{height:o},className:g().virtuoso,ref:p,data:t,itemContent:(e,t)=>j(e,t),followOutput:e=>!!e&&"smooth",alignToBottom:!0,atBottomThreshold:70,atBottomStateChange(e){m(e)},endReached:()=>m(!0)}),!i&&(0,l.jsx)(ed,{chatContainerRef:p,messages:t})]}),[t,a,s,n,i]);return(0,l.jsxs)("div",{id:"chat-container",className:g().chatContainer,children:[v,r&&(0,l.jsx)("div",{className:g().chatTextField,children:(0,l.jsx)(X,{})})]})};ep.defaultProps={showInput:!0,height:"auto"}},65302:function(e){e.exports={chatAction:"ChatActionMessage_chatAction__x9Xsg"}},59760:function(e){e.exports={toBottomWrap:"ChatContainer_toBottomWrap__3V5wa",nameChangeView:"ChatContainer_nameChangeView__ziyXN",nameChangeText:"ChatContainer_nameChangeText__yXG__",plain:"ChatContainer_plain__IPS19",chatContainer:"ChatContainer_chatContainer__O2lYN",virtuoso:"ChatContainer_virtuoso__OS9Kz",chatTextField:"ChatContainer_chatTextField__OqCGL"}},91044:function(e){e.exports={root:"ChatJoinMessage_root__vuVXa"}},93107:function(e){e.exports={chatModerationNotification:"ChatModeratorNotification_chatModerationNotification__kgFWe",icon:"ChatModeratorNotification_icon__7FdGg"}},23421:function(e){e.exports={chatSystemMessage:"ChatSystemMessage_chatSystemMessage__c6XEN",user:"ChatSystemMessage_user__6yHSJ",message:"ChatSystemMessage_message__ySq5g"}},26912:function(e){e.exports={root:"ChatTextField_root__4oUkJ",inputWrap:"ChatTextField_inputWrap__1mAjD",maxCharacters:"ChatTextField_maxCharacters__yGT4s",emojiButton:"ChatTextField_emojiButton__ON_Cu",sendButton:"ChatTextField_sendButton__MOmD4"}},48976:function(e){e.exports={badge:"ChatUserBadge_badge__1EdUp"}},50085:function(e){e.exports={root:"ChatUserMessage_root__79heB",user:"ChatUserMessage_user__xUEp9",message:"ChatUserMessage_message__MJ9LD",ownMessage:"ChatUserMessage_ownMessage__d28A3",background:"ChatUserMessage_background__Tfghp",modMenuWrapper:"ChatUserMessage_modMenuWrapper__7fblv",messagePadding:"ChatUserMessage_messagePadding__Xp1F6",messagePaddingCollapsed:"ChatUserMessage_messagePaddingCollapsed__qxN0E"}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/4977-748e4374e401ea01.js b/static/web/_next/static/chunks/4977-748e4374e401ea01.js deleted file mode 100644 index 1ff7f5fb8..000000000 --- a/static/web/_next/static/chunks/4977-748e4374e401ea01.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4977],{94977:function(e,t,s){"use strict";s.r(t),s.d(t,{ChatContainer:function(){return ex}});var a,n,r,o,i,l=s(85893),c=s(9764),d=s(67294),h=s(36531),u=s(91951),m=s(59760),g=s.n(m),x=s(86492),p=s.n(x),_=s(94184),C=s.n(_),f=s(94199),j=s(29158),v=s(4480),y=s(5152),N=s.n(y),M=s(50085),b=s.n(M),S=s(77278);function E(e){let t=new Date(e);if(Number.isNaN(t))return"";let s=(0,S.Xb)(e);if(s>=1){let a=t.toLocaleDateString("en-US",{dateStyle:"medium"});return"".concat(a," at ").concat(t.toLocaleTimeString())}return"".concat(t.toLocaleTimeString())}var T=s(48976),w=s.n(T);let k=e=>{let{badge:t,userColor:s}=e,a="var(--theme-user-colors-".concat(s,")");return(0,l.jsx)("span",{style:{color:a,borderColor:a},className:w().badge,children:t})};var O=s(77466);let D=N()(()=>Promise.all([s.e(8909),s.e(3903),s.e(4267),s.e(2206),s.e(8091),s.e(1769),s.e(4860)]).then(s.bind(s,94860)).then(e=>e.ChatModerationActionMenu),{loadableGenerated:{webpack:()=>[94860]}}),A=N()(()=>Promise.resolve().then(s.bind(s,47049)).then(e=>e.Highlight),{loadableGenerated:{webpack:()=>[47049]}}),B=e=>{let{children:t,user:s}=e,{displayName:a,createdAt:n}=s,r="".concat(a," first joined ").concat(E(n));return(0,l.jsx)(f.Z,{title:r,placement:"topLeft",mouseEnterDelay:1,children:t})},U=e=>{let{message:t,highlightString:s,showModeratorMenu:a,sentBySelf:n,sameUserAsLast:r,isAuthorModerator:o,isAuthorAuthenticated:i}=e,{id:c,body:h,user:u,timestamp:m}=t,{id:g,displayName:x,displayColor:_}=u,y=(0,v.sJ)(O.FI),N="var(--theme-color-users-".concat(_,")"),M="Sent ".concat(E(m)),[S,T]=(0,d.useState)(h),w=[];return o&&w.push((0,l.jsx)(k,{badge:"mod",userColor:_},"mod")),i&&w.push((0,l.jsx)(k,{badge:(0,l.jsx)(j.Z,{title:"authenticated"}),userColor:_},"auth")),(0,d.useEffect)(()=>{T(p().decode(h))},[t]),(0,l.jsx)("div",{className:C()(b().messagePadding,r&&b().messagePaddingCollapsed,"chat-message_user"),children:(0,l.jsxs)("div",{className:C()(b().root,{[b().ownMessage]:n}),style:{borderColor:N},children:[!r&&(0,l.jsx)(B,{user:u,children:(0,l.jsxs)("div",{className:b().user,style:{color:N},children:[(0,l.jsx)("span",{className:b().userName,children:x}),(0,l.jsx)("span",{children:w})]})}),(0,l.jsx)(f.Z,{title:M,mouseEnterDelay:1,children:(0,l.jsx)(A,{search:s,children:(0,l.jsx)("div",{className:b().message,dangerouslySetInnerHTML:{__html:S}})})}),a&&(0,l.jsx)("div",{className:b().modMenuWrapper,children:(0,l.jsx)(D,{messageID:c,accessToken:y,userID:g,userDisplayName:x})}),(0,l.jsx)("div",{className:b().background,style:{color:N}})]})})};var F=s(93045),L=s(27496),R=s(55241),P=s(77493),H=s(96391),I=s(26912),W=s.n(I);let G=N()(()=>Promise.all([s.e(7741),s.e(1559)]).then(s.bind(s,51559)).then(e=>e.EmojiPicker),{loadableGenerated:{webpack:()=>[51559]}}),Z=e=>{let{attributes:t,element:s,children:a}=e,n=(0,H.vt)(),r=(0,H.UE)();return(0,l.jsxs)("span",{...t,contentEditable:!1,children:[(0,l.jsx)("img",{alt:s.alt,src:s.src,title:s.name,style:{display:"inline",maxWidth:"50px",maxHeight:"20px",boxShadow:"".concat(n&&r?"0 0 0 3px #B4D5FF":"none")}}),a]})},V=e=>{let{isVoid:t}=e;return e.isVoid=e=>"image"===e.type||t(e),e.isInline=e=>"image"===e.type,e},Y=e=>{let t;if(P.xv.isText(e)){let s=e.text;return s}if(0===e.children.length)t=[{text:""}];else{var a;t=null===(a=e.children)||void 0===a?void 0:a.map(e=>Y(e)).join("")}switch(e.type){case"paragraph":return"

".concat(t,"

");case"image":return'').concat(e.alt,'');default:return t}},J=e=>{if(P.xv.isText(e))return e.text.length;if("image"===e.type)return 5;let t=0;return e.children.forEach(e=>{t+=J(e)}),t},X=e=>{let{defaultText:t}=e,[s,a]=(0,d.useState)(!1),[n,r]=(0,d.useState)(null==t?void 0:t.length),o=(0,v.sJ)(O.Gt),i=(0,d.useMemo)(()=>(0,H.BU)(V((0,P.Jh)())),[]),c=()=>{if(!o){console.log("websocketService is not defined");return}let e=Y(i);o.send({type:u.C.CHAT,body:e}),P.YR.delete(i,{at:{anchor:P.ML.start(i,[]),focus:P.ML.end(i,[])}}),r(0)},h=(e,t,s)=>({type:"image",alt:e,src:t,name:s,children:[{text:""}]}),m=(e,t)=>{if(!e)return;let{selection:s}=i,a=h(t,e,t);if(P.YR.insertNodes(i,a,{select:!0}),s){var n;let[r,o]=P.ML.parent(i,null===(n=s.focus)||void 0===n?void 0:n.path);i.isVoid(r)||P.NB.string(r).length?P.YR.insertNodes(i,a,{at:P.y$.next(o),select:!0}):(P.YR.insertNodes(i,a,{at:o,select:!0}),P.ML.normalize(i,{force:!0}))}else P.YR.insertNodes(i,a,{select:!0})},g=e=>{H.F3.focus(i),P.YR.insertText(i,e)},x=(e,t)=>{H.F3.focus(i),m(t,e)},p=e=>{let t=J(i)+1;if("Enter"===e.key){e.preventDefault(),c();return}if("Backspace"===e.key){r(t-1);return}t+1>300&&e.preventDefault(),r(t+1)},_=e=>{let t=e.clipboardData.getData("text/plain"),{length:s}=t;n+s>300&&e.preventDefault()},f=e=>"image"===e.element.type?(0,l.jsx)(Z,{...e}):(0,l.jsx)("p",{...e});return(0,l.jsx)("div",{className:W().root,children:(0,l.jsxs)("div",{className:C()(W().inputWrap,n>=300&&W().maxCharacters),children:[(0,l.jsxs)(H.mH,{editor:i,value:[{type:"paragraph",children:[{text:t||""}]}],children:[(0,l.jsx)(H.CX,{className:"chat-text-input",onKeyDown:p,onPaste:_,renderElement:f,placeholder:"Send a message to chat",style:{width:"100%"},role:"textbox","aria-label":"Chat text input",autoFocus:!0}),(0,l.jsx)(R.Z,{content:(0,l.jsx)(G,{onEmojiSelect:g,onCustomEmojiSelect:x}),trigger:"click",onOpenChange:e=>a(e),open:s})]}),(0,l.jsxs)("div",{style:{display:"flex",paddingLeft:"5px"},children:[(0,l.jsx)("button",{type:"button",className:W().emojiButton,title:"Emoji picker button",onClick:()=>a(!s),children:(0,l.jsx)(F.Z,{})}),(0,l.jsx)("button",{type:"button",className:W().sendButton,title:"Send message Button",onClick:c,children:(0,l.jsx)(L.Z,{})})]})]})})};var z=s(93107),q=s.n(z);function K(){return(K=Object.assign?Object.assign.bind():function(e){for(var t=1;t(0,l.jsxs)("div",{className:q().chatModerationNotification,children:[(0,l.jsx)($,{className:q().icon}),"You are now a moderator."]});var ee=s(47049),et=s(23421),es=s.n(et);let ea=e=>{let{message:{body:t,user:{displayName:s}},highlightString:a}=e;return(0,l.jsxs)("div",{className:C()([es().chatSystemMessage,"chat-message_system"]),children:[(0,l.jsx)("div",{className:es().user,children:(0,l.jsx)("span",{className:es().userName,children:s})}),(0,l.jsx)(ee.Highlight,{search:a,children:(0,l.jsx)("div",{className:es().message,dangerouslySetInnerHTML:{__html:t}})})]})};var en=s(55355),er=s(91044),eo=s.n(er);let ei=e=>{let{isAuthorModerator:t,userColor:s,displayName:a}=e;return(0,l.jsxs)("div",{className:eo().root,children:[(0,l.jsxs)("span",{style:{color:"var(--theme-color-users-".concat(s,")")},children:[(0,l.jsx)("span",{style:{padding:"0 10px"},children:(0,l.jsx)(en.Z,{})}),(0,l.jsx)("span",{style:{fontWeight:"bold"},children:a}),t&&(0,l.jsx)("span",{children:(0,l.jsx)(k,{badge:"mod",userColor:s})})]})," ","joined the chat."]})};var el=s(66017),ec=s(71577);let ed=e=>{let{chatContainerRef:t,messages:s}=e;return(0,l.jsx)("div",{className:g().toBottomWrap,children:(0,l.jsx)(ec.Z,{type:"default",style:{color:"currentColor"},icon:(0,l.jsx)(el.Z,{}),onClick:()=>t.current.scrollToIndex({index:s.length-1,behavior:"smooth"}),children:"Go to last message"})})};var eh=s(65302),eu=s.n(eh);let em=e=>{let{body:t}=e;return(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:t},className:eu().chatAction})};function eg(e){let{user:{scopes:t}}=e;return!!t&&0!==t.length&&t.includes("MODERATOR")}let ex=e=>{let{messages:t,usernameToHighlight:s,chatUserId:a,isModerator:n,showInput:r,height:o}=e,[i,m]=(0,d.useState)(!0),x=(0,d.useRef)(null),p=e=>{let{oldName:t,user:s}=e,{displayName:a,displayColor:n}=s,r="var(--theme-color-users-".concat(n,")");return(0,l.jsxs)("div",{className:g().nameChangeView,children:[(0,l.jsx)("div",{style:{marginRight:5,height:"max-content",margin:"auto 5px auto 0"},children:(0,l.jsx)(h.Z,{})}),(0,l.jsxs)("div",{className:g().nameChangeText,children:[(0,l.jsx)("span",{style:{color:r},children:t}),(0,l.jsx)("span",{className:g().plain,children:" is now known as "}),(0,l.jsx)("span",{style:{color:r},children:a})]})]})},_=e=>{let{user:{displayName:t,displayColor:s}}=e,a=eg(e);return(0,l.jsx)(ei,{displayName:t,userColor:s,isAuthorModerator:a})},C=e=>{let{body:t}=e;return(0,l.jsx)(em,{body:t})},f=e=>{let t=eg(e);return t?(0,l.jsx)(Q,{}):(0,l.jsx)("div",{style:{width:"1px",height:"1px"}})},j=(e,r)=>{switch(r.type){case u.C.CHAT:var o,i,c;return(0,l.jsx)(U,{message:r,showModeratorMenu:n,highlightString:s,sentBySelf:(null===(o=r.user)||void 0===o?void 0:o.id)===a,sameUserAsLast:function(e,t){if(e.length<2)return!1;let s=e[t];if(!s||!s.user)return!1;let{user:{id:a}}=s,n=e[t-1];if((null==n?void 0:n.type)!==u.C.CHAT||!(null==n?void 0:n.timestamp)||!s.timestamp)return!1;let r=new Date(null==n?void 0:n.timestamp).getTime(),o=new Date(s.timestamp).getTime();return!(o-r>12e4)&&a===(null==n?void 0:n.user.id)}(t,e),isAuthorModerator:null===(i=r.user.scopes)||void 0===i?void 0:i.includes("MODERATOR"),isAuthorAuthenticated:null===(c=r.user)||void 0===c?void 0:c.authenticated},r.id);case u.C.NAME_CHANGE:return p(r);case u.C.CONNECTED_USER_INFO:return f(r);case u.C.USER_JOINED:return _(r);case u.C.CHAT_ACTION:return C(r);case u.C.SYSTEM:return(0,l.jsx)(ea,{message:r,highlightString:s},r.id);default:return null}},v=(0,d.useMemo)(()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c.OO,{style:{height:o},className:g().virtuoso,ref:x,data:t,itemContent:(e,t)=>j(e,t),followOutput:e=>!!e&&"smooth",alignToBottom:!0,atBottomThreshold:70,atBottomStateChange(e){m(e)},endReached:()=>m(!0)}),!i&&(0,l.jsx)(ed,{chatContainerRef:x,messages:t})]}),[t,s,a,n,i]);return(0,l.jsxs)("div",{id:"chat-container",className:g().chatContainer,children:[v,r&&(0,l.jsx)("div",{className:g().chatTextField,children:(0,l.jsx)(X,{})})]})};ex.defaultProps={showInput:!0,height:"auto"}},65302:function(e){e.exports={chatAction:"ChatActionMessage_chatAction__x9Xsg"}},59760:function(e){e.exports={toBottomWrap:"ChatContainer_toBottomWrap__3V5wa",nameChangeView:"ChatContainer_nameChangeView__ziyXN",nameChangeText:"ChatContainer_nameChangeText__yXG__",plain:"ChatContainer_plain__IPS19",chatContainer:"ChatContainer_chatContainer__O2lYN",virtuoso:"ChatContainer_virtuoso__OS9Kz",chatTextField:"ChatContainer_chatTextField__OqCGL"}},91044:function(e){e.exports={root:"ChatJoinMessage_root__vuVXa"}},93107:function(e){e.exports={chatModerationNotification:"ChatModeratorNotification_chatModerationNotification__kgFWe",icon:"ChatModeratorNotification_icon__7FdGg"}},23421:function(e){e.exports={chatSystemMessage:"ChatSystemMessage_chatSystemMessage__c6XEN",user:"ChatSystemMessage_user__6yHSJ",message:"ChatSystemMessage_message__ySq5g"}},26912:function(e){e.exports={root:"ChatTextField_root__4oUkJ",inputWrap:"ChatTextField_inputWrap__1mAjD",maxCharacters:"ChatTextField_maxCharacters__yGT4s",emojiButton:"ChatTextField_emojiButton__ON_Cu",sendButton:"ChatTextField_sendButton__MOmD4"}},48976:function(e){e.exports={badge:"ChatUserBadge_badge__1EdUp"}},50085:function(e){e.exports={root:"ChatUserMessage_root__79heB",user:"ChatUserMessage_user__xUEp9",message:"ChatUserMessage_message__MJ9LD",ownMessage:"ChatUserMessage_ownMessage__d28A3",background:"ChatUserMessage_background__Tfghp",modMenuWrapper:"ChatUserMessage_modMenuWrapper__7fblv",messagePadding:"ChatUserMessage_messagePadding__Xp1F6",messagePaddingCollapsed:"ChatUserMessage_messagePaddingCollapsed__qxN0E"}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/pages/embed/chat/readwrite-0982b02e8f0e3f13.js b/static/web/_next/static/chunks/pages/embed/chat/readwrite-0982b02e8f0e3f13.js new file mode 100644 index 000000000..92df05d46 --- /dev/null +++ b/static/web/_next/static/chunks/pages/embed/chat/readwrite-0982b02e8f0e3f13.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[955,1496],{30672:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/embed/chat/readwrite",function(){return n(34986)}])},37527:function(e,t,n){"use strict";n.d(t,{h:function(){return U},Z:function(){return M}});var a=n(85893),r=n(97183),l=n(94199),s=n(20550),i=n(94184),o=n.n(i),c=n(66516),d=n(38504),h=n(71577),u=n(26713),x=n(86548),_=n(94149),m=n(38545),j=n(87547),p=n(39398),g=n(4480),b=n(67294),f=n(49218),Z=n(5152),C=n.n(Z),w=n(77466),v=n(79252),N=n.n(v);let k=C()(()=>n.e(4761).then(n.bind(n,14761)).then(e=>e.Modal),{loadableGenerated:{webpack:()=>[14761]}}),I=C()(()=>Promise.all([n.e(8909),n.e(8119),n.e(9096)]).then(n.bind(n,59096)).then(e=>e.NameChangeModal),{loadableGenerated:{webpack:()=>[59096]}}),H=C()(()=>Promise.all([n.e(4485),n.e(575),n.e(2335)]).then(n.bind(n,44208)).then(e=>e.AuthModal),{loadableGenerated:{webpack:()=>[44208]}}),y=e=>{let{username:t}=e,[n,r]=(0,b.useState)(!1),[l,s]=(0,b.useState)(!1),[i,o]=(0,g.FV)(w.ZA),Z=(0,g.sJ)(w.Q),C=()=>{o(!i)},v=()=>{r(!0)};(0,f.y1)("c",C,{enableOnContentEditable:!1},[i]);let y=(0,g.sJ)(w.db);if(!y)return null;let{displayName:A}=y,E=(0,a.jsxs)(c.Z,{children:[(0,a.jsx)(c.Z.Item,{icon:(0,a.jsx)(x.Z,{}),onClick:()=>v(),children:"Change name"},"0"),(0,a.jsx)(c.Z.Item,{icon:(0,a.jsx)(_.Z,{}),onClick:()=>s(!0),children:"Authenticate"},"1"),Z.chatAvailable&&(0,a.jsx)(c.Z.Item,{icon:(0,a.jsx)(m.Z,{}),onClick:()=>C(),children:i?"Hide Chat":"Show Chat"},"3")]});return(0,a.jsxs)("div",{id:"user-menu",className:"".concat(N().root),children:[(0,a.jsx)(d.Z,{overlay:E,trigger:["click"],children:(0,a.jsx)(h.Z,{type:"primary",icon:(0,a.jsx)(j.Z,{style:{marginRight:".5rem"}}),children:(0,a.jsxs)(u.Z,{children:[t||A,(0,a.jsx)(p.Z,{})]})})}),(0,a.jsx)(k,{title:"Change Chat Display Name",open:n,handleCancel:()=>r(!1),children:(0,a.jsx)(I,{})}),(0,a.jsx)(k,{title:"Authenticate",open:l,handleCancel:()=>s(!1),children:(0,a.jsx)(H,{})})]})};var A=n(50738),E=n(31764),J=n.n(E);let{Header:D}=r.Z,U=e=>{let{name:t="Your stream title",chatAvailable:n,chatDisabled:r}=e;return(0,a.jsxs)(D,{className:o()(["".concat(J().header)],"global-header"),children:[(0,a.jsxs)("div",{className:"".concat(J().logo),children:[(0,a.jsx)("div",{id:"header-logo",className:J().logoImage,children:(0,a.jsx)(A.C,{variant:"contrast"})}),(0,a.jsx)("h1",{className:J().title,id:"global-header-text",children:t})]}),n&&!r&&(0,a.jsx)(y,{}),!n&&!r&&(0,a.jsx)(l.Z,{title:"Chat is available when the stream is live.",placement:"left",children:(0,a.jsx)(s.Z,{style:{cursor:"pointer"},children:"Chat offline"})})]})};var M=U},34986:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return o}});var a=n(85893),r=n(4480),l=n(94977),s=n(77466),i=n(37527);function o(){let e=(0,r.sJ)(s.db),t=(0,r.sJ)(s.pH),n=(0,r.sJ)(s.g1),{name:o,chatDisabled:c}=n;if(!e)return null;let{id:d,displayName:h,isModerator:u}=e;return(0,a.jsxs)("div",{children:[(0,a.jsx)(s.me,{}),(0,a.jsx)(i.Z,{name:o,chatAvailable:!0,chatDisabled:c}),(0,a.jsx)(l.ChatContainer,{messages:t,usernameToHighlight:h,chatUserId:d,isModerator:u,showInput:!0,height:"80vh"})]})}},79252:function(e){e.exports={root:"UserDropdown_root__IdxfQ","ant-space":"UserDropdown_ant-space__XJTZ3","ant-space-item":"UserDropdown_ant-space-item__w4nC2"}},31764:function(e){e.exports={header:"Header_header__U4Ro1",logoImage:"Header_logoImage__beIL2",logo:"Header_logo__HLZ6Z",title:"Header_title__FIts2"}}},function(e){e.O(0,[1272,8700,3903,6395,3729,4388,7466,4977,9774,2888,179],function(){return e(e.s=30672)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/pages/embed/chat/readwrite-f6cb9372ecb1b1b2.js b/static/web/_next/static/chunks/pages/embed/chat/readwrite-f6cb9372ecb1b1b2.js deleted file mode 100644 index 297611bf1..000000000 --- a/static/web/_next/static/chunks/pages/embed/chat/readwrite-f6cb9372ecb1b1b2.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[955,1496],{30672:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/embed/chat/readwrite",function(){return t(34986)}])},37527:function(e,n,t){"use strict";t.d(n,{h:function(){return U},Z:function(){return M}});var a=t(85893),r=t(97183),s=t(94199),i=t(20550),l=t(94184),o=t.n(l),c=t(66516),d=t(38504),h=t(71577),u=t(26713),x=t(86548),j=t(94149),_=t(38545),m=t(87547),p=t(39398),b=t(4480),f=t(67294),Z=t(49218),C=t(5152),g=t.n(C),w=t(77466),v=t(79252),k=t.n(v);let N=g()(()=>t.e(4761).then(t.bind(t,14761)).then(e=>e.Modal),{loadableGenerated:{webpack:()=>[14761]}}),y=g()(()=>Promise.all([t.e(8909),t.e(8119),t.e(9096)]).then(t.bind(t,59096)).then(e=>e.NameChangeModal),{loadableGenerated:{webpack:()=>[59096]}}),H=g()(()=>Promise.all([t.e(4485),t.e(575),t.e(2335)]).then(t.bind(t,44208)).then(e=>e.AuthModal),{loadableGenerated:{webpack:()=>[44208]}}),A=e=>{let{username:n}=e,[t,r]=(0,f.useState)(!1),[s,i]=(0,f.useState)(!1),[l,o]=(0,b.FV)(w.ZA),C=(0,b.sJ)(w.Q),g=()=>{o(!l)},v=()=>{r(!0)};(0,Z.y1)("c",g,{enableOnContentEditable:!1},[l]);let A=(0,b.sJ)(w.db);if(!A)return null;let{displayName:E}=A,I=(0,a.jsxs)(c.Z,{children:[(0,a.jsx)(c.Z.Item,{icon:(0,a.jsx)(x.Z,{}),onClick:()=>v(),children:"Change name"},"0"),(0,a.jsx)(c.Z.Item,{icon:(0,a.jsx)(j.Z,{}),onClick:()=>i(!0),children:"Authenticate"},"1"),C.chatAvailable&&(0,a.jsx)(c.Z.Item,{icon:(0,a.jsx)(_.Z,{}),onClick:()=>g(),children:l?"Hide Chat":"Show Chat"},"3")]});return(0,a.jsxs)("div",{id:"user-menu",className:"".concat(k().root),children:[(0,a.jsx)(d.Z,{overlay:I,trigger:["click"],children:(0,a.jsx)(h.Z,{type:"primary",icon:(0,a.jsx)(m.Z,{style:{marginRight:".5rem"}}),children:(0,a.jsxs)(u.Z,{children:[n||E,(0,a.jsx)(p.Z,{})]})})}),(0,a.jsx)(N,{title:"Change Chat Display Name",open:t,handleCancel:()=>r(!1),children:(0,a.jsx)(y,{})}),(0,a.jsx)(N,{title:"Authenticate",open:s,handleCancel:()=>i(!1),children:(0,a.jsx)(H,{})})]})};var E=t(50738),I=t(31764),J=t.n(I);let{Header:D}=r.Z,U=e=>{let{name:n="Your stream title",chatAvailable:t,chatDisabled:r}=e;return(0,a.jsxs)(D,{className:o()(["".concat(J().header)],"global-header"),children:[(0,a.jsxs)("div",{className:"".concat(J().logo),children:[(0,a.jsx)("div",{id:"header-logo",children:(0,a.jsx)(E.C,{variant:"contrast"})}),(0,a.jsx)("span",{id:"global-header-text",children:n})]}),t&&!r&&(0,a.jsx)(A,{}),!t&&!r&&(0,a.jsx)(s.Z,{title:"Chat is available when the stream is live.",placement:"left",children:(0,a.jsx)(i.Z,{style:{cursor:"pointer"},children:"Chat offline"})})]})};var M=U},34986:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return o}});var a=t(85893),r=t(4480),s=t(94977),i=t(77466),l=t(37527);function o(){let e=(0,r.sJ)(i.db),n=(0,r.sJ)(i.pH),t=(0,r.sJ)(i.g1),{name:o,chatDisabled:c}=t;if(!e)return null;let{id:d,displayName:h,isModerator:u}=e;return(0,a.jsxs)("div",{children:[(0,a.jsx)(i.me,{}),(0,a.jsx)(l.Z,{name:o,chatAvailable:!0,chatDisabled:c}),(0,a.jsx)(s.ChatContainer,{messages:n,usernameToHighlight:h,chatUserId:d,isModerator:u,showInput:!0,height:"80vh"})]})}},79252:function(e){e.exports={root:"UserDropdown_root__IdxfQ","ant-space":"UserDropdown_ant-space__XJTZ3","ant-space-item":"UserDropdown_ant-space-item__w4nC2"}},31764:function(e){e.exports={header:"Header_header__U4Ro1",logo:"Header_logo__HLZ6Z"}}},function(e){e.O(0,[1272,8700,3903,6395,3729,4388,7466,4977,9774,2888,179],function(){return e(e.s=30672)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/pages/index-4b95694efc1a0478.js b/static/web/_next/static/chunks/pages/index-4b95694efc1a0478.js deleted file mode 100644 index 693bb9696..000000000 --- a/static/web/_next/static/chunks/pages/index-4b95694efc1a0478.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405],{48312:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return n(6511)}])},37527:function(e,t,n){"use strict";n.d(t,{h:function(){return E},Z:function(){return M}});var o=n(85893),s=n(97183),l=n(94199),i=n(20550),a=n(94184),r=n.n(a),c=n(66516),d=n(38504),h=n(71577),u=n(26713),m=n(86548),x=n(94149),p=n(38545),f=n(87547),j=n(39398),_=n(4480),g=n(67294),w=n(49218),v=n(5152),y=n.n(v),b=n(77466),C=n(79252),k=n.n(C);let N=y()(()=>n.e(4761).then(n.bind(n,14761)).then(e=>e.Modal),{loadableGenerated:{webpack:()=>[14761]}}),S=y()(()=>Promise.all([n.e(8909),n.e(8119),n.e(9096)]).then(n.bind(n,59096)).then(e=>e.NameChangeModal),{loadableGenerated:{webpack:()=>[59096]}}),Z=y()(()=>Promise.all([n.e(4485),n.e(575),n.e(2335)]).then(n.bind(n,44208)).then(e=>e.AuthModal),{loadableGenerated:{webpack:()=>[44208]}}),L=e=>{let{username:t}=e,[n,s]=(0,g.useState)(!1),[l,i]=(0,g.useState)(!1),[a,r]=(0,_.FV)(b.ZA),v=(0,_.sJ)(b.Q),y=()=>{r(!a)},C=()=>{s(!0)};(0,w.y1)("c",y,{enableOnContentEditable:!1},[a]);let L=(0,_.sJ)(b.db);if(!L)return null;let{displayName:F}=L,T=(0,o.jsxs)(c.Z,{children:[(0,o.jsx)(c.Z.Item,{icon:(0,o.jsx)(m.Z,{}),onClick:()=>C(),children:"Change name"},"0"),(0,o.jsx)(c.Z.Item,{icon:(0,o.jsx)(x.Z,{}),onClick:()=>i(!0),children:"Authenticate"},"1"),v.chatAvailable&&(0,o.jsx)(c.Z.Item,{icon:(0,o.jsx)(p.Z,{}),onClick:()=>y(),children:a?"Hide Chat":"Show Chat"},"3")]});return(0,o.jsxs)("div",{id:"user-menu",className:"".concat(k().root),children:[(0,o.jsx)(d.Z,{overlay:T,trigger:["click"],children:(0,o.jsx)(h.Z,{type:"primary",icon:(0,o.jsx)(f.Z,{style:{marginRight:".5rem"}}),children:(0,o.jsxs)(u.Z,{children:[t||F,(0,o.jsx)(j.Z,{})]})})}),(0,o.jsx)(N,{title:"Change Chat Display Name",open:n,handleCancel:()=>s(!1),children:(0,o.jsx)(S,{})}),(0,o.jsx)(N,{title:"Authenticate",open:l,handleCancel:()=>i(!1),children:(0,o.jsx)(Z,{})})]})};var F=n(50738),T=n(31764),A=n.n(T);let{Header:D}=s.Z,E=e=>{let{name:t="Your stream title",chatAvailable:n,chatDisabled:s}=e;return(0,o.jsxs)(D,{className:r()(["".concat(A().header)],"global-header"),children:[(0,o.jsxs)("div",{className:"".concat(A().logo),children:[(0,o.jsx)("div",{id:"header-logo",children:(0,o.jsx)(F.C,{variant:"contrast"})}),(0,o.jsx)("span",{id:"global-header-text",children:t})]}),n&&!s&&(0,o.jsx)(L,{}),!n&&!s&&(0,o.jsx)(l.Z,{title:"Chat is available when the stream is live.",placement:"left",children:(0,o.jsx)(i.Z,{style:{cursor:"pointer"},children:"Chat offline"})})]})};var M=E},14761:function(e,t,n){"use strict";n.r(t),n.d(t,{Modal:function(){return d}});var o=n(85893),s=n(85402),l=n(26303),i=n(11382),a=n(67294),r=n(77011),c=n.n(r);let d=e=>{let{title:t,url:n,open:r,handleOk:d,handleCancel:h,afterClose:u,height:m,width:x,children:p}=e,[f,j]=(0,a.useState)(!!n),_="100%",g="520px";n&&(_="70vh",g="900px");let w={padding:"0px",minHeight:m,height:null!=m?m:_},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:r,onOk:d,onCancel:h,afterClose:u,bodyStyle:w,width:null!=x?x: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)(l.Z,{active:f,style:{padding:"10px"},paragraph:{rows:10}}),v&&(0,o.jsx)("div",{style:{display:f?"none":"inline"},children:v}),p&&(0,o.jsx)("div",{className:c().content,children:p}),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 c}});var o=n(85893),s=n(27049),l=n(24019),i=n(45938),a=n(88335),r=n.n(a);let c=e=>{let t,{streamName:n,customText:a,lastLive:c,notificationsEnabled:d,fediverseAccount:h,onNotifyClick:u,onFollowClick:m}=e;return t=a||(!a&&d&&h?(0,o.jsxs)("span",{children:["This stream is offline. You can"," ",(0,o.jsx)("span",{role:"link",tabIndex:0,className:r().actionLink,onClick:u,children:"be notified"})," ","the next time ",n," goes live or"," ",(0,o.jsx)("span",{role:"link",tabIndex:0,className:r().actionLink,onClick:m,children:"follow"})," ",h," on the Fediverse."]}):!a&&d?(0,o.jsxs)("span",{children:["This stream is offline."," ",(0,o.jsx)("span",{role:"link",tabIndex:0,className:r().actionLink,onClick:u,children:"Be notified"})," ","the next time ",n," goes live."]}):!a&&h?(0,o.jsxs)("span",{children:["This stream is offline."," ",(0,o.jsx)("span",{role:"link",tabIndex:0,className:r().actionLink,onClick:m,children:"Follow"})," ",h," 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:r().outerContainer,children:(0,o.jsxs)("div",{className:r().innerContainer,children:[(0,o.jsx)("div",{className:r().header,children:n}),(0,o.jsx)(s.Z,{className:r().separator}),(0,o.jsx)("div",{className:r().bodyText,children:t}),c&&(0,o.jsxs)("div",{className:r().lastLiveDate,children:[(0,o.jsx)(l.Z,{className:r().clockIcon}),"Last live ".concat((0,i.Z)(new Date(c))," ago.")]})]})})}},69357:function(e,t,n){"use strict";n.d(t,{X:function(){return d}});var o=n(85893),s=n(45938),l=n(68730),i=n(67294),a=n(31326),r=n(37970),c=n.n(r);let d=e=>{let t,{online:n,lastConnectTime:r,lastDisconnectTime:d,viewerCount:h}=e,[,u]=(0,i.useState)(new Date);(0,i.useEffect)(()=>{let e=setInterval(()=>u(new Date),1e3);return()=>{clearInterval(e)}},[]);let m="";if(n&&r){let x=function(e){let t=(0,l.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));m=n?"Live for ".concat(x):"Offline",t=h>0&&(0,o.jsxs)("div",{className:c().right,children:[(0,o.jsx)("span",{children:(0,o.jsx)(a.Z,{})}),(0,o.jsx)("span",{children:" ".concat(h)})]})}else!n&&(m="Offline",d&&(t="Last live ".concat((0,s.Z)(new Date(d))," ago.")));return(0,o.jsxs)("div",{className:c().statusbar,children:[(0,o.jsx)("div",{children:m}),(0,o.jsx)("div",{children:t})]})};d.defaultProps={lastConnectTime:null,lastDisconnectTime:null}},6511:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return eq}});var o=n(85893),s=n(97183),l=n(4480),i=n(9008),a=n.n(i),r=n(67294),c=n(77466),d=n(90575),h=n(26303),u=n(94184),m=n.n(u),x=n(5152),p=n.n(x),f=n(72581),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 w=n(17725),v=n.n(w),y=n(87412),b=n(12341),C=n.n(b);let k=p()(()=>Promise.all([n.e(1272),n.e(8700),n.e(3729),n.e(4977),n.e(1496)]).then(n.bind(n,94977)).then(e=>e.ChatContainer),{loadableGenerated:{webpack:()=>[94977]}}),N=()=>{let e=(0,l.sJ)(c.db),t=(0,l.sJ)(c.pH);if(!e)return null;let{id:n,isModerator:s,displayName:i}=e;return(0,o.jsx)(y.ZP,{className:C().root,collapsedWidth:0,width:320,children:(0,o.jsx)(k,{messages:t,usernameToHighlight:i,chatUserId:n,isModerator:s})})};var S=n(67917),Z=n.n(S);let L=e=>{let{version:t}=e;return(0,o.jsxs)("footer",{className:Z().footer,children:[(0,o.jsxs)("span",{children:["Powered by ",(0,o.jsx)("a",{href:"https://owncast.online",children:t})]}),(0,o.jsxs)("span",{className:Z().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 F=n(12270),T=n.n(F);let A=e=>{let{children:t}=e;return(0,o.jsx)("div",{className:"".concat(T().row),children:t})};var D=n(71577),E=n(13959),M=n.n(E);let H=e=>{let{action:t,primary:n=!0,externalActionSelected:s}=e,{title:l,description:i,icon:a,color:r}=t;return(0,o.jsxs)(D.Z,{type:n?"primary":"default",className:m()(["".concat(M().button),"action-button"]),onClick:()=>s(t),style:{backgroundColor:r},children:[a&&(0,o.jsx)("img",{src:a,className:"".concat(M().icon),alt:i}),l]})};var I=n(51513),B=n(34447);let O=e=>{let{onClick:t,props:n}=e;return(0,o.jsx)(D.Z,{...n,type:"primary",className:M().button,icon:(0,o.jsx)(B.Z,{}),onClick:t,id:"follow-button",children:"Follow"})};var z=n(71578);let R=e=>{let{onClick:t,text:n}=e;return(0,o.jsx)(D.Z,{type:"primary",className:"".concat(M().button),icon:(0,o.jsx)(z.Z,{}),onClick:t,id:"notify-button",children:n||"Notify"})};var P=n(53731),J=n(79216),U=n(74933),G=n.n(U);let q=e=>{let{src:t}=e;return(0,o.jsx)("div",{className:G().root,children:(0,o.jsx)("div",{className:G().container,children:(0,o.jsx)(J.Z,{src:t,alt:"Logo",className:G().image,rootClassName:G().image})})})};var Y=n(25675),V=n.n(Y),Q=n(573),W=n.n(Q);let K=e=>{let{links:t}=e;return(0,o.jsx)("div",{className:W().links,children:t.map(e=>(0,o.jsx)("a",{href:e.url,className:W().link,target:"_blank",rel:"noreferrer me",children:(0,o.jsx)(V(),{src:e.icon||"/img/platformlogos/default.svg",alt:e.platform,title:e.platform,className:W().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:l,tags:i,links:a}=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)(q,{src:l})}),(0,o.jsxs)("div",{className:$().titleSection,children:[(0,o.jsx)("div",{className:m()($().title,$().row,"header-title"),children:t}),(0,o.jsx)("div",{className:m()($().subtitle,$().row,"header-subtitle"),children:(0,o.jsx)(P.Z,{children:n||s})}),(0,o.jsx)("div",{className:m()($().tagList,$().row),children:i.length>0&&i.map(e=>(0,o.jsxs)("span",{children:["#",e,"\xa0"]},e))}),(0,o.jsx)("div",{className:m()($().socialLinks,$().row),children:(0,o.jsx)(K,{links:a})})]})]})})};var et=n(69357),en=n(71230),eo=n(15746),es=n(3698),el=n(24093),ei=n(69833),ea=n.n(ei);let er=e=>{let{follower:t}=e;return(0,o.jsx)("div",{className:m()([ea().follower,"followers-follower"]),children:(0,o.jsx)("a",{href:t.link,target:"_blank",rel:"noreferrer",children:(0,o.jsxs)(en.Z,{wrap:!1,children:[(0,o.jsx)(eo.Z,{span:6,children:(0,o.jsx)(el.C,{src:t.image,alt:"Avatar",className:ea().avatar,children:(0,o.jsx)("img",{src:"/logo",alt:"Logo",className:ea().placeholder})})}),(0,o.jsxs)(eo.Z,{children:[(0,o.jsx)(en.Z,{children:t.name}),(0,o.jsx)(en.Z,{className:ea().account,children:t.username})]})]})})})};var ec=n(21890),ed=n.n(ec);let eh=e=>{let{name:t,onFollowButtonClick:n}=e,[s,l]=(0,r.useState)([]),[i,a]=(0,r.useState)(0),[c,d]=(0,r.useState)(1),[u,m]=(0,r.useState)(!0),x=async()=>{try{let e=await fetch("".concat("/api/followers","?page=").concat(c)),t=await e.json(),{results:n,total:o}=t;l(n),a(o)}catch(s){console.error(s)}};(0,r.useEffect)(()=>{x()},[]),(0,r.useEffect)(()=>{x()},[c]),(0,r.useEffect)(()=>{m(!1)},[s]);let p=(0,o.jsxs)("div",{className:ed().noFollowers,id:"followers-collection",children:[(0,o.jsx)("h2",{children:"Be the first follower!"}),(0,o.jsxs)("p",{children:["Owncast"!==t?t:"This server"," is a part of the"," ",(0,o.jsx)("a",{href:"https://owncast.online/join-fediverse",children:"Fediverse"}),", an interconnected network of independent users and servers."]}),(0,o.jsxs)("p",{children:["By following ","Owncast"!==t?t:"this server"," you'll be able to get updates from the stream, share it with others, and show your appreciation when it goes live, all from your own Fediverse account."]}),(0,o.jsx)(O,{onClick:n})]}),f=(0,o.jsx)(h.Z,{active:!0,paragraph:{rows:3}});return u?f:(null==s?void 0:s.length)?(0,o.jsxs)("div",{className:ed().followers,id:"followers-collection",children:[(0,o.jsx)(en.Z,{wrap:!0,gutter:[10,10],children:s.map(e=>(0,o.jsx)(eo.Z,{children:(0,o.jsx)(er,{follower:e},e.link)},e.link))}),(0,o.jsx)(es.Z,{current:c,pageSize:24,total:Math.ceil(i/24)||1,onChange(e){d(e)},hideOnSinglePage:!0})]}):p};var eu=n(14761),em=n(66516),ex=n(38504),ep=n(49647),ef=n(60198),ej=n(89705),e_=n(97038),eg=n.n(e_);let ew="notify",ev="follow",ey=e=>{let{actions:t,externalActionSelected:n,notifyItemSelected:s,followItemSelected:l,showFollowItem:i,showNotifyItem:a}=e,r=e=>{if(e.key===ew){s();return}if(e.key===ev){l();return}let o=t.find(t=>t.url===e.key);n(o)},c=t.map(e=>({key:e.url,label:(0,o.jsxs)("span",{className:eg().item,children:[e.icon&&(0,o.jsx)("img",{className:eg().icon,src:e.icon,alt:e.title})," ",e.title]})}));i&&c.unshift({key:ev,label:(0,o.jsxs)("span",{className:eg().item,children:[(0,o.jsx)(ep.Z,{className:eg().icon})," Follow this stream"]})}),a&&c.unshift({key:ew,label:(0,o.jsxs)("span",{className:eg().item,children:[(0,o.jsx)(ef.Z,{className:eg().icon}),"Notify when live"]})});let d=(0,o.jsx)(em.Z,{items:c,onClick:r});return(0,o.jsx)(ex.Z,{overlay:d,placement:"bottomRight",trigger:["click"],className:eg().menu,children:(0,o.jsx)("div",{className:eg().buttonWrap,children:(0,o.jsx)(D.Z,{type:"default",onClick:e=>e.preventDefault(),size:"large",icon:(0,o.jsx)(ej.Z,{size:6,style:{rotate:"90deg"}})})})})};var eb=n(26713),eC=n(11382),ek=n(14670),eN=n(69677),eS=n(66009),eZ=n.n(eS);let eL=e=>{let{handleClose:t,account:n,name:s}=e,[l,i]=(0,r.useState)(null),[a,c]=(0,r.useState)(!1),[d,h]=(0,r.useState)(!1),[u,m]=(0,r.useState)(null),x=e=>{i(e),function(e){let t=e.replace(/^@+/,"");return/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(t).toLowerCase())}(e)?c(!0):c(!1)},p=()=>{window.open("https://owncast.online/join-fediverse","_blank")},f=async()=>{if(a){h(!0);try{let e=l.replace(/^@+/,""),n=await fetch("/api/remotefollow",{method:"POST",body:JSON.stringify({account:e})}),o=await n.json();if(o.redirectUrl&&(window.open(o.redirectUrl,"_blank"),t()),!o.success){m(o.message),h(!1);return}if(!o.redirectUrl){m("Unable to follow."),h(!1);return}}catch(s){m(s.message)}h(!1)}};return(0,o.jsxs)(eb.Z,{direction:"vertical",id:"follow-modal",children:[(0,o.jsxs)("div",{className:eZ().header,children:["By following this stream you'll get notified on the Fediverse when it goes live. Now is a great time to",(0,o.jsx)("a",{href:"https://owncast.online/join-fediverse",target:"_blank",rel:"noreferrer",children:"\xa0learn about the Fediverse\xa0"}),"if it's new to you."]}),(0,o.jsxs)(eC.Z,{spinning:d,children:[u&&(0,o.jsx)(ek.Z,{message:"Follow Error",description:u,type:"error",showIcon:!0}),(0,o.jsxs)("div",{className:eZ().account,children:[(0,o.jsx)("img",{src:"/logo",alt:"logo",className:eZ().logo}),(0,o.jsxs)("div",{className:eZ().username,children:[(0,o.jsx)("div",{className:eZ().name,children:s}),(0,o.jsx)("div",{children:n})]})]}),(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:eZ().instructions,children:"Enter your username @server to follow"}),(0,o.jsx)(eN.Z,{value:l,size:"large",onChange:e=>x(e.target.value),placeholder:"Your fediverse account @account@server",defaultValue:l}),(0,o.jsx)("div",{className:eZ().footer,children:"You'll be redirected to your Fediverse server and asked to confirm the action."})]}),(0,o.jsxs)(eb.Z,{className:eZ().buttons,children:[(0,o.jsx)(D.Z,{disabled:!a,type:"primary",onClick:f,children:"Follow"}),(0,o.jsx)(D.Z,{onClick:p,type:"primary",children:"Join the Fediverse"})]})]})]})},{Content:eF}=s.Z,eT=p()(()=>Promise.all([n.e(4485),n.e(6160)]).then(n.bind(n,66160)).then(e=>e.BrowserNotifyModal),{loadableGenerated:{webpack:()=>[66160]}}),eA=p()(()=>n.e(7815).then(n.bind(n,17815)).then(e=>e.NotifyReminderPopup),{loadableGenerated:{webpack:()=>[17815]}}),eD=p()(()=>Promise.all([n.e(2544),n.e(7902),n.e(2239),n.e(5202)]).then(n.bind(n,8888)).then(e=>e.OwncastPlayer),{loadableGenerated:{webpack:()=>[8888]}}),eE=p()(()=>Promise.all([n.e(1272),n.e(8700),n.e(3729),n.e(4977),n.e(1496)]).then(n.bind(n,94977)).then(e=>e.ChatContainer),{loadableGenerated:{webpack:()=>[94977]}}),eM=e=>{let{name:t,streamTitle:n,summary:s,tags:l,socialHandles:i,extraPageContent:a,setShowFollowModal:r}=e,c=(0,o.jsx)(g,{content:a}),h=(0,o.jsx)(eh,{name:t,onFollowButtonClick:()=>r(!0)});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:v().lowerHalf,children:(0,o.jsx)(ee,{name:t,title:n,summary:s,tags:l,links:i,logo:"/logo"})}),(0,o.jsx)("div",{className:v().lowerSection,children:(0,o.jsx)(d.Z,{defaultActiveKey:"0",items:[{label:"About",key:"2",children:c},{label:"Followers",key:"3",children:h}]})})]})},eH=e=>{let{name:t,streamTitle:n,summary:s,tags:l,socialHandles:i,extraPageContent:a,messages:c,currentUser:h,showChat:u,actions:x,setExternalActionToDisplay:p,setShowNotifyPopup:f,setShowFollowModal:j}=e;if(!h)return null;let _=(0,r.useRef)(),{id:w,displayName:y}=h,b=u&&(0,o.jsx)(eE,{messages:c,usernameToHighlight:y,chatUserId:w,isModerator:!1}),C=(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(ee,{name:t,title:n,summary:s,tags:l,links:i,logo:"/logo"}),(0,o.jsx)(g,{content:a})]}),k=(0,o.jsx)(eh,{name:t,onFollowButtonClick:()=>j(!0)}),N="".concat(function(e){let[t,n]=(0,r.useState)(0),o=()=>{if(!e.current)return;let t=e.current.getBoundingClientRect().top,{innerHeight:o}=window;n(o-t)};return(0,r.useEffect)(()=>(o(),window.addEventListener("resize",o),()=>{window.removeEventListener("resize",o)}),[]),t}(_),"px"),S=(e,t)=>(0,o.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"start"},children:[(0,o.jsx)(t,{...e,style:{width:"85%"}}),(0,o.jsx)(ey,{showFollowItem:!0,showNotifyItem:!0,actions:x,externalActionSelected:p,notifyItemSelected:()=>f(!0),followItemSelected:()=>j(!0)})]});return(0,o.jsx)("div",{className:m()(v().lowerSectionMobile),ref:_,style:{height:N},children:(0,o.jsx)(d.Z,{defaultActiveKey:"0",items:[u&&{label:"Chat",key:"0",children:b},{label:"About",key:"2",children:C},{label:"Followers",key:"3",children:k}],renderTabBar:S})})},eI=e=>{let{externalActionToDisplay:t,setExternalActionToDisplay:n}=e,{title:s,description:l,url:i}=t;return(0,o.jsx)(eu.Modal,{title:l||s,url:i,open:!!t,height:"80vh",handleCancel:()=>n(null)})},eB=()=>{let e=(0,l.sJ)(c.Q),t=(0,l.sJ)(c.g1),n=(0,l.sJ)(c.pT),s=(0,l.sJ)(c.di),i=(0,l.sJ)(c.db),[a,d]=(0,l.FV)(c.hz),u=(0,l.sJ)(c.j$),m=(0,l.sJ)(c.YW),{viewerCount:x,lastConnectTime:p,lastDisconnectTime:j,streamTitle:_}=(0,l.sJ)(c.RI),{extraPageContent:g,version:w,name:y,summary:b,socialHandles:C,tags:k,externalActions:S,offlineMessage:Z,chatDisabled:F,federation:T,notifications:D}=t,[E,M]=(0,r.useState)(!1),[B,z]=(0,r.useState)(!1),[P,J]=(0,r.useState)(!1),{account:U}=T,{browser:G}=D,{enabled:q}=G,[Y,V]=(0,r.useState)(null),Q=e=>{let{openExternally:t,url:n}=e;t?window.open(n,"_blank"):V(e)},W=S.map(e=>(0,o.jsx)(H,{action:e,externalActionSelected:Q},e.url)),K=()=>{let e=parseInt((0,f.$o)(f.dA.userVisitCount),10);Number.isNaN(e)&&(e=0),(0,f.qQ)(f.dA.userVisitCount,e+1),e>2&&!(0,f.$o)(f.dA.hasDisplayedNotificationModal)&&M(!0)},X=()=>{z(!1),M(!1),(0,f.qQ)(f.dA.hasDisplayedNotificationModal,!0)},$=()=>{let e=window.innerWidth;void 0===a&&(e<=768?d(!0):d(!1)),!a&&e<=768&&d(!0),a&&e>768&&d(!1)};(0,r.useEffect)(()=>(K(),$(),window.addEventListener("resize",$),()=>{window.removeEventListener("resize",$)}),[]);let ee=!F&&s&&n;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("div",{className:v().main,children:[(0,o.jsxs)(eF,{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)(h.Z,{loading:!0,active:!0,paragraph:{rows:7}}),m&&(0,o.jsx)(eD,{source:"/hls/stream.m3u8",online:m}),!m&&!e.appLoading&&(0,o.jsx)(I.R,{streamName:y,customText:Z,notificationsEnabled:q,fediverseAccount:U,lastLive:j,onNotifyClick:()=>z(!0),onFollowClick:()=>J(!0)}),m&&(0,o.jsx)(et.X,{online:m,lastConnectTime:p,lastDisconnectTime:j,viewerCount:x})]}),(0,o.jsx)("div",{className:v().midSection,children:(0,o.jsxs)("div",{className:v().buttonsLogoTitleSection,children:[!a&&(0,o.jsxs)(A,{children:[W,(0,o.jsx)(O,{size:"small",onClick:()=>J(!0)}),(0,o.jsx)(eA,{open:E,notificationClicked:()=>z(!0),notificationClosed:()=>X(),children:(0,o.jsx)(R,{onClick:()=>z(!0)})})]}),(0,o.jsx)(eu.Modal,{title:"Browser Notifications",open:B,afterClose:()=>X(),handleCancel:()=>X(),children:(0,o.jsx)(eT,{})})]})}),a?(0,o.jsx)(eH,{name:y,streamTitle:_,summary:b,tags:k,socialHandles:C,extraPageContent:g,messages:u,currentUser:i,showChat:ee,actions:S,setExternalActionToDisplay:Q,setShowNotifyPopup:z,setShowFollowModal:J}):(0,o.jsx)(eM,{name:y,streamTitle:_,summary:b,tags:k,socialHandles:C,extraPageContent:g,setShowFollowModal:J}),(0,o.jsx)(L,{version:w})]}),ee&&!a&&(0,o.jsx)(N,{})]}),!a&&!1]}),Y&&(0,o.jsx)(eI,{externalActionToDisplay:Y,setExternalActionToDisplay:V}),(0,o.jsx)(eu.Modal,{title:"Follow ".concat(y),open:P,handleCancel:()=>J(!1),width:"550px",children:(0,o.jsx)(eL,{account:U,name:y,handleClose:()=>J(!1)})})]})};var eO=n(37527),ez=n(85402);let eR=e=>{let{title:t,message:n}=e;return(0,o.jsx)(ez.Z,{title:t,visible:!0,footer:null,closable:!1,keyboard:!1,width:900,centered:!0,className:"modal",children:(0,o.jsx)("p",{style:{fontSize:"1.3rem"},children:n})})},eP=()=>{let e=(0,l.sJ)(c.j$),t=(0,l.sJ)(c.RI),n=!1,o="",s=()=>{n=!0,o=window.document.title},i=()=>{n=!1,window.document.title=o},a=()=>{window.addEventListener("blur",s),window.addEventListener("focus",i)};return(0,r.useEffect)(()=>(o=window.document.title,a(),()=>{window.removeEventListener("focus",i),window.removeEventListener("blur",s)}),[]),(0,r.useEffect)(()=>{let{online:e}=t;n&&e&&(window.document.title="\uD83D\uDCAC :: ".concat(o))},[e]),(0,r.useEffect)(()=>{if(!n)return;let{online:e}=t;e?window.document.title=" \uD83D\uDFE2 :: ".concat(o):e||(window.document.title=" \uD83D\uDD34 :: ".concat(o))},[c.RI]),null},eJ=()=>(0,o.jsx)("script",{id:"server-side-hydration",nonce:"{{.Nonce}}",dangerouslySetInnerHTML:{__html:"\n window.configHydration = {{.ServerConfigJSON}};\n window.statusHydration = {{.StatusJSON}};\n "}}),eU=()=>{let e=(0,l.sJ)(c.g1),{appearanceVariables:t,customStyles:n}=e,s=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(s.join(";\n"),"\n }\n ").concat(n,"\n ")}})},eG=()=>{let e=(0,l.sJ)(c.g1),{name:t,title:n,customStyles:i}=e,d=(0,l.sJ)(c.di),h=(0,l.sJ)(c.ap),u=(0,r.useRef)(null),{chatDisabled:m}=e;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 o of n.addedNodes)o instanceof HTMLElement&&"a"===o.tagName.toLowerCase()&&t(o)});n.observe(e,{attributes:!1,childList:!0,subtree:!0})}(u.current)},[]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(a(),{children:[(0,o.jsx)(eJ,{}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"57x57",href:"/img/favicon/apple-icon-57x57.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"60x60",href:"/img/favicon/apple-icon-60x60.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"72x72",href:"/img/favicon/apple-icon-72x72.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"76x76",href:"/img/favicon/apple-icon-76x76.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"114x114",href:"/img/favicon/apple-icon-114x114.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"120x120",href:"/img/favicon/apple-icon-120x120.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"144x144",href:"/img/favicon/apple-icon-144x144.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"152x152",href:"/img/favicon/apple-icon-152x152.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/img/favicon/apple-icon-180x180.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"192x192",href:"/img/favicon/android-icon-192x192.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/img/favicon/favicon-32x32.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"96x96",href:"/img/favicon/favicon-96x96.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/img/favicon/favicon-16x16.png"}),(0,o.jsx)("link",{rel:"manifest",href:"/manifest.json"}),(0,o.jsx)("link",{href:"/api/auth/provider/indieauth"}),(0,o.jsx)("meta",{name:"msapplication-TileColor",content:"#ffffff"}),(0,o.jsx)("meta",{name:"msapplication-TileImage",content:"/img/favicon/ms-icon-144x144.png"}),(0,o.jsx)("meta",{name:"theme-color",content:"#ffffff"}),(0,o.jsx)("style",{children:i}),(0,o.jsx)("base",{target:"_blank"})]}),(0,o.jsxs)(a(),{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)(c.me,{}),(0,o.jsx)(eP,{}),(0,o.jsx)(eU,{}),(0,o.jsxs)(s.Z,{ref:u,style:{minHeight:"100vh"},children:[(0,o.jsx)(eO.h,{name:n||t,chatAvailable:d,chatDisabled:m}),(0,o.jsx)(eB,{}),h&&(0,o.jsx)(eR,{title:h.title,message:h.message})]})]})};function eq(){return(0,o.jsx)(eG,{})}},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"}},79252:function(e){e.exports={root:"UserDropdown_root__IdxfQ","ant-space":"UserDropdown_ant-space__XJTZ3","ant-space-item":"UserDropdown_ant-space-item__w4nC2"}},66009:function(e){e.exports={header:"FollowModal_header__la1ji",buttons:"FollowModal_buttons__tt4Mc",instructions:"FollowModal_instructions__HiKFF",footer:"FollowModal_footer__AjucH",account:"FollowModal_account__cmHkm",logo:"FollowModal_logo__Ew8xK",username:"FollowModal_username__A_OTw",name:"FollowModal_name__Sf_TP"}},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"}},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",logo:"Header_logo__HLZ6Z"}},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"}},21890:function(e){e.exports={followers:"FollowerCollection_followers__e_EUS",noFollowers:"FollowerCollection_noFollowers__UaCVW"}},69833:function(e){e.exports={follower:"SingleFollower_follower__EyBDI",avatar:"SingleFollower_avatar__V9jHG",account:"SingleFollower_account__Z66vo",placeholder:"SingleFollower_placeholder__CgsfJ"}}},function(e){e.O(0,[8909,3903,4267,575,5938,6395,1082,5360,7066,8793,7466,9774,2888,179],function(){return e(e.s=48312)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/pages/index-6108ffcb5599e836.js b/static/web/_next/static/chunks/pages/index-6108ffcb5599e836.js new file mode 100644 index 000000000..4b4360630 --- /dev/null +++ b/static/web/_next/static/chunks/pages/index-6108ffcb5599e836.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405],{48312:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return n(6511)}])},37527:function(e,t,n){"use strict";n.d(t,{h:function(){return D},Z:function(){return E}});var o=n(85893),s=n(97183),l=n(94199),i=n(20550),a=n(94184),r=n.n(a),c=n(66516),d=n(38504),h=n(71577),u=n(26713),m=n(86548),x=n(94149),p=n(38545),f=n(87547),j=n(39398),_=n(4480),g=n(67294),w=n(49218),v=n(5152),y=n.n(v),b=n(77466),C=n(79252),k=n.n(C);let N=y()(()=>n.e(4761).then(n.bind(n,14761)).then(e=>e.Modal),{loadableGenerated:{webpack:()=>[14761]}}),S=y()(()=>Promise.all([n.e(8909),n.e(8119),n.e(9096)]).then(n.bind(n,59096)).then(e=>e.NameChangeModal),{loadableGenerated:{webpack:()=>[59096]}}),Z=y()(()=>Promise.all([n.e(4485),n.e(575),n.e(2335)]).then(n.bind(n,44208)).then(e=>e.AuthModal),{loadableGenerated:{webpack:()=>[44208]}}),L=e=>{let{username:t}=e,[n,s]=(0,g.useState)(!1),[l,i]=(0,g.useState)(!1),[a,r]=(0,_.FV)(b.ZA),v=(0,_.sJ)(b.Q),y=()=>{r(!a)},C=()=>{s(!0)};(0,w.y1)("c",y,{enableOnContentEditable:!1},[a]);let L=(0,_.sJ)(b.db);if(!L)return null;let{displayName:F}=L,T=(0,o.jsxs)(c.Z,{children:[(0,o.jsx)(c.Z.Item,{icon:(0,o.jsx)(m.Z,{}),onClick:()=>C(),children:"Change name"},"0"),(0,o.jsx)(c.Z.Item,{icon:(0,o.jsx)(x.Z,{}),onClick:()=>i(!0),children:"Authenticate"},"1"),v.chatAvailable&&(0,o.jsx)(c.Z.Item,{icon:(0,o.jsx)(p.Z,{}),onClick:()=>y(),children:a?"Hide Chat":"Show Chat"},"3")]});return(0,o.jsxs)("div",{id:"user-menu",className:"".concat(k().root),children:[(0,o.jsx)(d.Z,{overlay:T,trigger:["click"],children:(0,o.jsx)(h.Z,{type:"primary",icon:(0,o.jsx)(f.Z,{style:{marginRight:".5rem"}}),children:(0,o.jsxs)(u.Z,{children:[t||F,(0,o.jsx)(j.Z,{})]})})}),(0,o.jsx)(N,{title:"Change Chat Display Name",open:n,handleCancel:()=>s(!1),children:(0,o.jsx)(S,{})}),(0,o.jsx)(N,{title:"Authenticate",open:l,handleCancel:()=>i(!1),children:(0,o.jsx)(Z,{})})]})};var F=n(50738),T=n(31764),A=n.n(T);let{Header:I}=s.Z,D=e=>{let{name:t="Your stream title",chatAvailable:n,chatDisabled:s}=e;return(0,o.jsxs)(I,{className:r()(["".concat(A().header)],"global-header"),children:[(0,o.jsxs)("div",{className:"".concat(A().logo),children:[(0,o.jsx)("div",{id:"header-logo",className:A().logoImage,children:(0,o.jsx)(F.C,{variant:"contrast"})}),(0,o.jsx)("h1",{className:A().title,id:"global-header-text",children:t})]}),n&&!s&&(0,o.jsx)(L,{}),!n&&!s&&(0,o.jsx)(l.Z,{title:"Chat is available when the stream is live.",placement:"left",children:(0,o.jsx)(i.Z,{style:{cursor:"pointer"},children:"Chat offline"})})]})};var E=D},14761:function(e,t,n){"use strict";n.r(t),n.d(t,{Modal:function(){return d}});var o=n(85893),s=n(85402),l=n(26303),i=n(11382),a=n(67294),r=n(77011),c=n.n(r);let d=e=>{let{title:t,url:n,open:r,handleOk:d,handleCancel:h,afterClose:u,height:m,width:x,children:p}=e,[f,j]=(0,a.useState)(!!n),_="100%",g="520px";n&&(_="70vh",g="900px");let w={padding:"0px",minHeight:m,height:null!=m?m:_},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:r,onOk:d,onCancel:h,afterClose:u,bodyStyle:w,width:null!=x?x: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)(l.Z,{active:f,style:{padding:"10px"},paragraph:{rows:10}}),v&&(0,o.jsx)("div",{style:{display:f?"none":"inline"},children:v}),p&&(0,o.jsx)("div",{className:c().content,children:p}),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 c}});var o=n(85893),s=n(27049),l=n(24019),i=n(45938),a=n(88335),r=n.n(a);let c=e=>{let t,{streamName:n,customText:a,lastLive:c,notificationsEnabled:d,fediverseAccount:h,onNotifyClick:u,onFollowClick:m}=e;return t=a||(!a&&d&&h?(0,o.jsxs)("span",{children:["This stream is offline. You can"," ",(0,o.jsx)("span",{role:"link",tabIndex:0,className:r().actionLink,onClick:u,children:"be notified"})," ","the next time ",n," goes live or"," ",(0,o.jsx)("span",{role:"link",tabIndex:0,className:r().actionLink,onClick:m,children:"follow"})," ",h," on the Fediverse."]}):!a&&d?(0,o.jsxs)("span",{children:["This stream is offline."," ",(0,o.jsx)("span",{role:"link",tabIndex:0,className:r().actionLink,onClick:u,children:"Be notified"})," ","the next time ",n," goes live."]}):!a&&h?(0,o.jsxs)("span",{children:["This stream is offline."," ",(0,o.jsx)("span",{role:"link",tabIndex:0,className:r().actionLink,onClick:m,children:"Follow"})," ",h," 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:r().outerContainer,children:(0,o.jsxs)("div",{className:r().innerContainer,children:[(0,o.jsx)("div",{className:r().header,children:n}),(0,o.jsx)(s.Z,{className:r().separator}),(0,o.jsx)("div",{className:r().bodyText,children:t}),c&&(0,o.jsxs)("div",{className:r().lastLiveDate,children:[(0,o.jsx)(l.Z,{className:r().clockIcon}),"Last live ".concat((0,i.Z)(new Date(c))," ago.")]})]})})}},69357:function(e,t,n){"use strict";n.d(t,{X:function(){return d}});var o=n(85893),s=n(45938),l=n(68730),i=n(67294),a=n(31326),r=n(37970),c=n.n(r);let d=e=>{let t,{online:n,lastConnectTime:r,lastDisconnectTime:d,viewerCount:h}=e,[,u]=(0,i.useState)(new Date);(0,i.useEffect)(()=>{let e=setInterval(()=>u(new Date),1e3);return()=>{clearInterval(e)}},[]);let m="";if(n&&r){let x=function(e){let t=(0,l.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));m=n?"Live for ".concat(x):"Offline",t=h>0&&(0,o.jsxs)("div",{className:c().right,children:[(0,o.jsx)("span",{children:(0,o.jsx)(a.Z,{})}),(0,o.jsx)("span",{children:" ".concat(h)})]})}else!n&&(m="Offline",d&&(t="Last live ".concat((0,s.Z)(new Date(d))," ago.")));return(0,o.jsxs)("div",{className:c().statusbar,children:[(0,o.jsx)("div",{children:m}),(0,o.jsx)("div",{children:t})]})};d.defaultProps={lastConnectTime:null,lastDisconnectTime:null}},6511:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return eq}});var o=n(85893),s=n(97183),l=n(4480),i=n(9008),a=n.n(i),r=n(67294),c=n(77466),d=n(90575),h=n(26303),u=n(94184),m=n.n(u),x=n(5152),p=n.n(x),f=n(72581),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 w=n(17725),v=n.n(w),y=n(87412),b=n(12341),C=n.n(b);let k=p()(()=>Promise.all([n.e(1272),n.e(8700),n.e(3729),n.e(4977),n.e(1496)]).then(n.bind(n,94977)).then(e=>e.ChatContainer),{loadableGenerated:{webpack:()=>[94977]}}),N=()=>{let e=(0,l.sJ)(c.db),t=(0,l.sJ)(c.pH);if(!e)return null;let{id:n,isModerator:s,displayName:i}=e;return(0,o.jsx)(y.ZP,{className:C().root,collapsedWidth:0,width:320,children:(0,o.jsx)(k,{messages:t,usernameToHighlight:i,chatUserId:n,isModerator:s})})};var S=n(67917),Z=n.n(S);let L=e=>{let{version:t}=e;return(0,o.jsxs)("footer",{className:Z().footer,children:[(0,o.jsxs)("span",{children:["Powered by ",(0,o.jsx)("a",{href:"https://owncast.online",children:t})]}),(0,o.jsxs)("span",{className:Z().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 F=n(12270),T=n.n(F);let A=e=>{let{children:t}=e;return(0,o.jsx)("div",{className:"".concat(T().row),children:t})};var I=n(71577),D=n(13959),E=n.n(D);let M=e=>{let{action:t,primary:n=!0,externalActionSelected:s}=e,{title:l,description:i,icon:a,color:r}=t;return(0,o.jsxs)(I.Z,{type:n?"primary":"default",className:m()(["".concat(E().button),"action-button"]),onClick:()=>s(t),style:{backgroundColor:r},children:[a&&(0,o.jsx)("img",{src:a,className:"".concat(E().icon),alt:i}),l]})};var H=n(51513),B=n(34447);let O=e=>{let{onClick:t,props:n}=e;return(0,o.jsx)(I.Z,{...n,type:"primary",className:E().button,icon:(0,o.jsx)(B.Z,{}),onClick:t,id:"follow-button",children:"Follow"})};var z=n(71578);let R=e=>{let{onClick:t,text:n}=e;return(0,o.jsx)(I.Z,{type:"primary",className:"".concat(E().button),icon:(0,o.jsx)(z.Z,{}),onClick:t,id:"notify-button",children:n||"Notify"})};var P=n(53731),J=n(79216),U=n(74933),G=n.n(U);let q=e=>{let{src:t}=e;return(0,o.jsx)("div",{className:G().root,children:(0,o.jsx)("div",{className:G().container,children:(0,o.jsx)(J.Z,{src:t,alt:"Logo",className:G().image,rootClassName:G().image})})})};var Y=n(25675),V=n.n(Y),Q=n(573),W=n.n(Q);let K=e=>{let{links:t}=e;return(0,o.jsx)("div",{className:W().links,children:t.map(e=>(0,o.jsx)("a",{href:e.url,className:W().link,target:"_blank",rel:"noreferrer me",children:(0,o.jsx)(V(),{src:e.icon||"/img/platformlogos/default.svg",alt:e.platform,title:e.platform,className:W().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:l,tags:i,links:a}=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)(q,{src:l})}),(0,o.jsxs)("div",{className:$().titleSection,children:[(0,o.jsx)("div",{className:m()($().title,$().row,"header-title"),children:t}),(0,o.jsx)("div",{className:m()($().subtitle,$().row,"header-subtitle"),children:(0,o.jsx)(P.Z,{children:n||s})}),(0,o.jsx)("div",{className:m()($().tagList,$().row),children:i.length>0&&i.map(e=>(0,o.jsxs)("span",{children:["#",e,"\xa0"]},e))}),(0,o.jsx)("div",{className:m()($().socialLinks,$().row),children:(0,o.jsx)(K,{links:a})})]})]})})};var et=n(69357),en=n(71230),eo=n(15746),es=n(3698),el=n(24093),ei=n(69833),ea=n.n(ei);let er=e=>{let{follower:t}=e;return(0,o.jsx)("div",{className:m()([ea().follower,"followers-follower"]),children:(0,o.jsx)("a",{href:t.link,target:"_blank",rel:"noreferrer",children:(0,o.jsxs)(en.Z,{wrap:!1,children:[(0,o.jsx)(eo.Z,{span:6,children:(0,o.jsx)(el.C,{src:t.image,alt:"Avatar",className:ea().avatar,children:(0,o.jsx)("img",{src:"/logo",alt:"Logo",className:ea().placeholder})})}),(0,o.jsxs)(eo.Z,{children:[(0,o.jsx)(en.Z,{children:t.name}),(0,o.jsx)(en.Z,{className:ea().account,children:t.username})]})]})})})};var ec=n(21890),ed=n.n(ec);let eh=e=>{let{name:t,onFollowButtonClick:n}=e,[s,l]=(0,r.useState)([]),[i,a]=(0,r.useState)(0),[c,d]=(0,r.useState)(1),[u,m]=(0,r.useState)(!0),x=async()=>{try{let e=await fetch("".concat("/api/followers","?page=").concat(c)),t=await e.json(),{results:n,total:o}=t;l(n),a(o)}catch(s){console.error(s)}};(0,r.useEffect)(()=>{x()},[]),(0,r.useEffect)(()=>{x()},[c]),(0,r.useEffect)(()=>{m(!1)},[s]);let p=(0,o.jsxs)("div",{className:ed().noFollowers,id:"followers-collection",children:[(0,o.jsx)("h2",{children:"Be the first follower!"}),(0,o.jsxs)("p",{children:["Owncast"!==t?t:"This server"," is a part of the"," ",(0,o.jsx)("a",{href:"https://owncast.online/join-fediverse",children:"Fediverse"}),", an interconnected network of independent users and servers."]}),(0,o.jsxs)("p",{children:["By following ","Owncast"!==t?t:"this server"," you'll be able to get updates from the stream, share it with others, and show your appreciation when it goes live, all from your own Fediverse account."]}),(0,o.jsx)(O,{onClick:n})]}),f=(0,o.jsx)(h.Z,{active:!0,paragraph:{rows:3}});return u?f:(null==s?void 0:s.length)?(0,o.jsxs)("div",{className:ed().followers,id:"followers-collection",children:[(0,o.jsx)(en.Z,{wrap:!0,gutter:[10,10],children:s.map(e=>(0,o.jsx)(eo.Z,{children:(0,o.jsx)(er,{follower:e},e.link)},e.link))}),(0,o.jsx)(es.Z,{current:c,pageSize:24,total:Math.ceil(i/24)||1,onChange(e){d(e)},hideOnSinglePage:!0})]}):p};var eu=n(14761),em=n(66516),ex=n(38504),ep=n(49647),ef=n(60198),ej=n(89705),e_=n(97038),eg=n.n(e_);let ew="notify",ev="follow",ey=e=>{let{actions:t,externalActionSelected:n,notifyItemSelected:s,followItemSelected:l,showFollowItem:i,showNotifyItem:a}=e,r=e=>{if(e.key===ew){s();return}if(e.key===ev){l();return}let o=t.find(t=>t.url===e.key);n(o)},c=t.map(e=>({key:e.url,label:(0,o.jsxs)("span",{className:eg().item,children:[e.icon&&(0,o.jsx)("img",{className:eg().icon,src:e.icon,alt:e.title})," ",e.title]})}));i&&c.unshift({key:ev,label:(0,o.jsxs)("span",{className:eg().item,children:[(0,o.jsx)(ep.Z,{className:eg().icon})," Follow this stream"]})}),a&&c.unshift({key:ew,label:(0,o.jsxs)("span",{className:eg().item,children:[(0,o.jsx)(ef.Z,{className:eg().icon}),"Notify when live"]})});let d=(0,o.jsx)(em.Z,{items:c,onClick:r});return(0,o.jsx)(ex.Z,{overlay:d,placement:"bottomRight",trigger:["click"],className:eg().menu,children:(0,o.jsx)("div",{className:eg().buttonWrap,children:(0,o.jsx)(I.Z,{type:"default",onClick:e=>e.preventDefault(),size:"large",icon:(0,o.jsx)(ej.Z,{size:6,style:{rotate:"90deg"}})})})})};var eb=n(26713),eC=n(11382),ek=n(14670),eN=n(69677),eS=n(66009),eZ=n.n(eS);let eL=e=>{let{handleClose:t,account:n,name:s}=e,[l,i]=(0,r.useState)(null),[a,c]=(0,r.useState)(!1),[d,h]=(0,r.useState)(!1),[u,m]=(0,r.useState)(null),x=e=>{i(e),function(e){let t=e.replace(/^@+/,"");return/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(t).toLowerCase())}(e)?c(!0):c(!1)},p=()=>{window.open("https://owncast.online/join-fediverse","_blank")},f=async()=>{if(a){h(!0);try{let e=l.replace(/^@+/,""),n=await fetch("/api/remotefollow",{method:"POST",body:JSON.stringify({account:e})}),o=await n.json();if(o.redirectUrl&&(window.open(o.redirectUrl,"_blank"),t()),!o.success){m(o.message),h(!1);return}if(!o.redirectUrl){m("Unable to follow."),h(!1);return}}catch(s){m(s.message)}h(!1)}};return(0,o.jsxs)(eb.Z,{direction:"vertical",id:"follow-modal",children:[(0,o.jsxs)("div",{className:eZ().header,children:["By following this stream you'll get notified on the Fediverse when it goes live. Now is a great time to",(0,o.jsx)("a",{href:"https://owncast.online/join-fediverse",target:"_blank",rel:"noreferrer",children:"\xa0learn about the Fediverse\xa0"}),"if it's new to you."]}),(0,o.jsxs)(eC.Z,{spinning:d,children:[u&&(0,o.jsx)(ek.Z,{message:"Follow Error",description:u,type:"error",showIcon:!0}),(0,o.jsxs)("div",{className:eZ().account,children:[(0,o.jsx)("img",{src:"/logo",alt:"logo",className:eZ().logo}),(0,o.jsxs)("div",{className:eZ().username,children:[(0,o.jsx)("div",{className:eZ().name,children:s}),(0,o.jsx)("div",{children:n})]})]}),(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:eZ().instructions,children:"Enter your username @server to follow"}),(0,o.jsx)(eN.Z,{value:l,size:"large",onChange:e=>x(e.target.value),placeholder:"Your fediverse account @account@server",defaultValue:l}),(0,o.jsx)("div",{className:eZ().footer,children:"You'll be redirected to your Fediverse server and asked to confirm the action."})]}),(0,o.jsxs)(eb.Z,{className:eZ().buttons,children:[(0,o.jsx)(I.Z,{disabled:!a,type:"primary",onClick:f,children:"Follow"}),(0,o.jsx)(I.Z,{onClick:p,type:"primary",children:"Join the Fediverse"})]})]})]})},{Content:eF}=s.Z,eT=p()(()=>Promise.all([n.e(4485),n.e(6160)]).then(n.bind(n,66160)).then(e=>e.BrowserNotifyModal),{loadableGenerated:{webpack:()=>[66160]}}),eA=p()(()=>n.e(7815).then(n.bind(n,17815)).then(e=>e.NotifyReminderPopup),{loadableGenerated:{webpack:()=>[17815]}}),eI=p()(()=>Promise.all([n.e(2544),n.e(7902),n.e(2239),n.e(5202)]).then(n.bind(n,8888)).then(e=>e.OwncastPlayer),{loadableGenerated:{webpack:()=>[8888]}}),eD=p()(()=>Promise.all([n.e(1272),n.e(8700),n.e(3729),n.e(4977),n.e(1496)]).then(n.bind(n,94977)).then(e=>e.ChatContainer),{loadableGenerated:{webpack:()=>[94977]}}),eE=e=>{let{name:t,streamTitle:n,summary:s,tags:l,socialHandles:i,extraPageContent:a,setShowFollowModal:r}=e,c=(0,o.jsx)(g,{content:a}),h=(0,o.jsx)(eh,{name:t,onFollowButtonClick:()=>r(!0)});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:v().lowerHalf,children:(0,o.jsx)(ee,{name:t,title:n,summary:s,tags:l,links:i,logo:"/logo"})}),(0,o.jsx)("div",{className:v().lowerSection,children:(0,o.jsx)(d.Z,{defaultActiveKey:"0",items:[{label:"About",key:"2",children:c},{label:"Followers",key:"3",children:h}]})})]})},eM=e=>{let{name:t,streamTitle:n,summary:s,tags:l,socialHandles:i,extraPageContent:a,messages:c,currentUser:h,showChat:u,actions:x,setExternalActionToDisplay:p,setShowNotifyPopup:f,setShowFollowModal:j}=e;if(!h)return null;let _=(0,r.useRef)(),{id:w,displayName:y}=h,b=u&&(0,o.jsx)(eD,{messages:c,usernameToHighlight:y,chatUserId:w,isModerator:!1}),C=(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(ee,{name:t,title:n,summary:s,tags:l,links:i,logo:"/logo"}),(0,o.jsx)(g,{content:a})]}),k=(0,o.jsx)(eh,{name:t,onFollowButtonClick:()=>j(!0)}),N="".concat(function(e){let[t,n]=(0,r.useState)(0),o=()=>{if(!e.current)return;let t=e.current.getBoundingClientRect().top,{innerHeight:o}=window;n(o-t)};return(0,r.useEffect)(()=>(o(),window.addEventListener("resize",o),()=>{window.removeEventListener("resize",o)}),[]),t}(_),"px"),S=(e,t)=>(0,o.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"start"},children:[(0,o.jsx)(t,{...e,style:{width:"85%"}}),(0,o.jsx)(ey,{showFollowItem:!0,showNotifyItem:!0,actions:x,externalActionSelected:p,notifyItemSelected:()=>f(!0),followItemSelected:()=>j(!0)})]});return(0,o.jsx)("div",{className:m()(v().lowerSectionMobile),ref:_,style:{height:N},children:(0,o.jsx)(d.Z,{defaultActiveKey:"0",items:[u&&{label:"Chat",key:"0",children:b},{label:"About",key:"2",children:C},{label:"Followers",key:"3",children:k}],renderTabBar:S})})},eH=e=>{let{externalActionToDisplay:t,setExternalActionToDisplay:n}=e,{title:s,description:l,url:i}=t;return(0,o.jsx)(eu.Modal,{title:l||s,url:i,open:!!t,height:"80vh",handleCancel:()=>n(null)})},eB=()=>{let e=(0,l.sJ)(c.Q),t=(0,l.sJ)(c.g1),n=(0,l.sJ)(c.pT),s=(0,l.sJ)(c.di),i=(0,l.sJ)(c.db),[a,d]=(0,l.FV)(c.hz),u=(0,l.sJ)(c.j$),m=(0,l.sJ)(c.YW),{viewerCount:x,lastConnectTime:p,lastDisconnectTime:j,streamTitle:_}=(0,l.sJ)(c.RI),{extraPageContent:g,version:w,name:y,summary:b,socialHandles:C,tags:k,externalActions:S,offlineMessage:Z,chatDisabled:F,federation:T,notifications:I}=t,[D,E]=(0,r.useState)(!1),[B,z]=(0,r.useState)(!1),[P,J]=(0,r.useState)(!1),{account:U}=T,{browser:G}=I,{enabled:q}=G,[Y,V]=(0,r.useState)(null),Q=e=>{let{openExternally:t,url:n}=e;t?window.open(n,"_blank"):V(e)},W=S.map(e=>(0,o.jsx)(M,{action:e,externalActionSelected:Q},e.url)),K=()=>{let e=parseInt((0,f.$o)(f.dA.userVisitCount),10);Number.isNaN(e)&&(e=0),(0,f.qQ)(f.dA.userVisitCount,e+1),e>2&&!(0,f.$o)(f.dA.hasDisplayedNotificationModal)&&E(!0)},X=()=>{z(!1),E(!1),(0,f.qQ)(f.dA.hasDisplayedNotificationModal,!0)},$=()=>{let e=window.innerWidth;void 0===a&&(e<=768?d(!0):d(!1)),!a&&e<=768&&d(!0),a&&e>768&&d(!1)};(0,r.useEffect)(()=>(K(),$(),window.addEventListener("resize",$),()=>{window.removeEventListener("resize",$)}),[]);let ee=!F&&s&&n;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("div",{className:v().main,children:[(0,o.jsxs)(eF,{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)(h.Z,{loading:!0,active:!0,paragraph:{rows:7}}),m&&(0,o.jsx)(eI,{source:"/hls/stream.m3u8",online:m}),!m&&!e.appLoading&&(0,o.jsx)(H.R,{streamName:y,customText:Z,notificationsEnabled:q,fediverseAccount:U,lastLive:j,onNotifyClick:()=>z(!0),onFollowClick:()=>J(!0)}),m&&(0,o.jsx)(et.X,{online:m,lastConnectTime:p,lastDisconnectTime:j,viewerCount:x})]}),(0,o.jsx)("div",{className:v().midSection,children:(0,o.jsxs)("div",{className:v().buttonsLogoTitleSection,children:[!a&&(0,o.jsxs)(A,{children:[W,(0,o.jsx)(O,{size:"small",onClick:()=>J(!0)}),(0,o.jsx)(eA,{open:D,notificationClicked:()=>z(!0),notificationClosed:()=>X(),children:(0,o.jsx)(R,{onClick:()=>z(!0)})})]}),(0,o.jsx)(eu.Modal,{title:"Browser Notifications",open:B,afterClose:()=>X(),handleCancel:()=>X(),children:(0,o.jsx)(eT,{})})]})}),a?(0,o.jsx)(eM,{name:y,streamTitle:_,summary:b,tags:k,socialHandles:C,extraPageContent:g,messages:u,currentUser:i,showChat:ee,actions:S,setExternalActionToDisplay:Q,setShowNotifyPopup:z,setShowFollowModal:J}):(0,o.jsx)(eE,{name:y,streamTitle:_,summary:b,tags:k,socialHandles:C,extraPageContent:g,setShowFollowModal:J}),(0,o.jsx)(L,{version:w})]}),ee&&!a&&(0,o.jsx)(N,{})]}),!a&&!1]}),Y&&(0,o.jsx)(eH,{externalActionToDisplay:Y,setExternalActionToDisplay:V}),(0,o.jsx)(eu.Modal,{title:"Follow ".concat(y),open:P,handleCancel:()=>J(!1),width:"550px",children:(0,o.jsx)(eL,{account:U,name:y,handleClose:()=>J(!1)})})]})};var eO=n(37527),ez=n(85402);let eR=e=>{let{title:t,message:n}=e;return(0,o.jsx)(ez.Z,{title:t,visible:!0,footer:null,closable:!1,keyboard:!1,width:900,centered:!0,className:"modal",children:(0,o.jsx)("p",{style:{fontSize:"1.3rem"},children:n})})},eP=()=>{let e=(0,l.sJ)(c.j$),t=(0,l.sJ)(c.RI),n=!1,o="",s=()=>{n=!0,o=window.document.title},i=()=>{n=!1,window.document.title=o},a=()=>{window.addEventListener("blur",s),window.addEventListener("focus",i)};return(0,r.useEffect)(()=>(o=window.document.title,a(),()=>{window.removeEventListener("focus",i),window.removeEventListener("blur",s)}),[]),(0,r.useEffect)(()=>{let{online:e}=t;n&&e&&(window.document.title="\uD83D\uDCAC :: ".concat(o))},[e]),(0,r.useEffect)(()=>{if(!n)return;let{online:e}=t;e?window.document.title=" \uD83D\uDFE2 :: ".concat(o):e||(window.document.title=" \uD83D\uDD34 :: ".concat(o))},[c.RI]),null},eJ=()=>(0,o.jsx)("script",{id:"server-side-hydration",nonce:"{{.Nonce}}",dangerouslySetInnerHTML:{__html:"\n window.configHydration = {{.ServerConfigJSON}};\n window.statusHydration = {{.StatusJSON}};\n "}}),eU=()=>{let e=(0,l.sJ)(c.g1),{appearanceVariables:t,customStyles:n}=e,s=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(s.join(";\n"),"\n }\n ").concat(n,"\n ")}})},eG=()=>{let e=(0,l.sJ)(c.g1),{name:t,title:n,customStyles:i}=e,d=(0,l.sJ)(c.di),h=(0,l.sJ)(c.ap),u=(0,r.useRef)(null),{chatDisabled:m}=e;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 o of n.addedNodes)o instanceof HTMLElement&&"a"===o.tagName.toLowerCase()&&t(o)});n.observe(e,{attributes:!1,childList:!0,subtree:!0})}(u.current)},[]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(a(),{children:[(0,o.jsx)(eJ,{}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"57x57",href:"/img/favicon/apple-icon-57x57.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"60x60",href:"/img/favicon/apple-icon-60x60.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"72x72",href:"/img/favicon/apple-icon-72x72.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"76x76",href:"/img/favicon/apple-icon-76x76.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"114x114",href:"/img/favicon/apple-icon-114x114.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"120x120",href:"/img/favicon/apple-icon-120x120.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"144x144",href:"/img/favicon/apple-icon-144x144.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"152x152",href:"/img/favicon/apple-icon-152x152.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/img/favicon/apple-icon-180x180.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"192x192",href:"/img/favicon/android-icon-192x192.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/img/favicon/favicon-32x32.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"96x96",href:"/img/favicon/favicon-96x96.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/img/favicon/favicon-16x16.png"}),(0,o.jsx)("link",{rel:"manifest",href:"/manifest.json"}),(0,o.jsx)("link",{href:"/api/auth/provider/indieauth"}),(0,o.jsx)("meta",{name:"msapplication-TileColor",content:"#ffffff"}),(0,o.jsx)("meta",{name:"msapplication-TileImage",content:"/img/favicon/ms-icon-144x144.png"}),(0,o.jsx)("meta",{name:"theme-color",content:"#ffffff"}),(0,o.jsx)("style",{children:i}),(0,o.jsx)("base",{target:"_blank"})]}),(0,o.jsxs)(a(),{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)(c.me,{}),(0,o.jsx)(eP,{}),(0,o.jsx)(eU,{}),(0,o.jsxs)(s.Z,{ref:u,style:{minHeight:"100vh"},children:[(0,o.jsx)(eO.h,{name:n||t,chatAvailable:d,chatDisabled:m}),(0,o.jsx)(eB,{}),h&&(0,o.jsx)(eR,{title:h.title,message:h.message})]})]})};function eq(){return(0,o.jsx)(eG,{})}},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"}},79252:function(e){e.exports={root:"UserDropdown_root__IdxfQ","ant-space":"UserDropdown_ant-space__XJTZ3","ant-space-item":"UserDropdown_ant-space-item__w4nC2"}},66009:function(e){e.exports={header:"FollowModal_header__la1ji",buttons:"FollowModal_buttons__tt4Mc",instructions:"FollowModal_instructions__HiKFF",footer:"FollowModal_footer__AjucH",account:"FollowModal_account__cmHkm",logo:"FollowModal_logo__Ew8xK",username:"FollowModal_username__A_OTw",name:"FollowModal_name__Sf_TP"}},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"}},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"}},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"}},21890:function(e){e.exports={followers:"FollowerCollection_followers__e_EUS",noFollowers:"FollowerCollection_noFollowers__UaCVW"}},69833:function(e){e.exports={follower:"SingleFollower_follower__EyBDI",avatar:"SingleFollower_avatar__V9jHG",account:"SingleFollower_account__Z66vo",placeholder:"SingleFollower_placeholder__CgsfJ"}}},function(e){e.O(0,[8909,3903,4267,575,5938,6395,1082,5360,7066,8793,7466,9774,2888,179],function(){return e(e.s=48312)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/webpack-4153413483452c5c.js b/static/web/_next/static/chunks/webpack-8639ba77dcea0a97.js similarity index 97% rename from static/web/_next/static/chunks/webpack-4153413483452c5c.js rename to static/web/_next/static/chunks/webpack-8639ba77dcea0a97.js index 552cc5c4d..4aaaa3a9a 100644 --- a/static/web/_next/static/chunks/webpack-4153413483452c5c.js +++ b/static/web/_next/static/chunks/webpack-8639ba77dcea0a97.js @@ -1 +1 @@ -!function(){"use strict";var e,t,a,c,f,d,n,r,b,o,u,i,s={},l={};function h(e){var t=l[e];if(void 0!==t)return t.exports;var a=l[e]={id:e,loaded:!1,exports:{}},c=!0;try{s[e].call(a.exports,a,a.exports,h),c=!1}finally{c&&delete l[e]}return a.loaded=!0,a.exports}h.m=s,h.amdO={},e=[],h.O=function(t,a,c,f){if(a){f=f||0;for(var d=e.length;d>0&&e[d-1][2]>f;d--)e[d]=e[d-1];e[d]=[a,c,f];return}for(var n=1/0,d=0;d=f&&Object.keys(h.O).every(function(e){return h.O[e](a[b])})?a.splice(b--,1):(r=!1,f0&&e[d-1][2]>f;d--)e[d]=e[d-1];e[d]=[a,c,f];return}for(var n=1/0,d=0;d=f&&Object.keys(h.O).every(function(e){return h.O[e](a[b])})?a.splice(b--,1):(r=!1,fdiv{display:flex;flex-flow:column nowrap;flex-grow:1!important;height:100%!important}.Footer_footer__mPuvf{display:flex;align-items:center;flex-wrap:wrap;height:var(--footer-height);justify-content:space-between;flex-direction:row;background-color:var(--theme-color-background-header);width:100%;font-family:var(--theme-text-body-font-family);padding:0 .6rem;font-size:.8rem;font-weight:600;border-top:1px solid hsla(0,4%,83%,.5)}.Footer_footer__mPuvf,.Footer_footer__mPuvf a{color:var(--theme-color-components-text-on-dark)}.Footer_footer__mPuvf a{text-decoration:none}.Footer_footer__mPuvf .Footer_links__7bBxV{-moz-column-gap:2rem;column-gap:2rem;width:auto;display:flex;justify-content:space-between;flex-direction:row}.ActionButtonRow_row__SiEGe{padding:.3rem;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end}.ActionButtonRow_row__SiEGe button{margin-left:.3rem;margin-right:.3rem}.ActionButton_button__z5Z2c{margin:3px;font-weight:400;font-family:var(--theme-text-display-font-family)}.ActionButton_button__z5Z2c .ActionButton_icon__EPp7Q{height:90%;margin-right:5px;margin-bottom:1%}.OfflineBanner_outerContainer__3AbsB{display:flex;justify-content:center}.OfflineBanner_innerContainer__zTm13{width:clamp(0px,100%,600px);display:flex;flex-direction:column;color:var(--theme-color-components-text-on-light);background-color:var(--theme-color-background-main);margin:1rem auto;border-radius:var(--theme-rounded-corners);padding:1rem;font-size:1.2rem;border:1px solid #d3d3d3}.OfflineBanner_bodyText__nNNy0{line-height:1.5rem}.OfflineBanner_separator___j_Ss{margin-top:15px;margin-bottom:15px}.OfflineBanner_lastLiveDate___UZdO{margin-top:15px;font-size:1rem;opacity:.5}.OfflineBanner_lastLiveDate___UZdO .OfflineBanner_clockIcon__s0DB_{margin-right:5px}.OfflineBanner_header__Vu20o{font-weight:700}.OfflineBanner_footer__o3Zl5{margin-top:15px}.OfflineBanner_actionLink__b4Mwa{color:var(--theme-color-action);text-decoration:underline;cursor:pointer}.OfflineBanner_actionLink__b4Mwa:hover{color:var(--color-owncast-palette-7)}.Logo_root__jKiJC{display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;margin-right:.5rem;width:96px;height:96px;border-radius:50%;border-width:5px;border-style:solid;border-color:var(--theme-color-palette-0);background-color:var(--theme-color-palette-4)}.Logo_container__A4UYT{width:90%;height:90%;border-radius:50%;overflow:hidden}.Logo_image__Ahkom{width:100%;height:100%;background-size:cover;background-position:50%;overflow:hidden}.SocialLinks_link___CcSm{width:30px;margin-right:16px}.SocialLinks_links__gOAb7{display:flex;align-items:center;justify-content:flex-start;margin-top:5px}.ContentHeader_root__HaUG0{position:relative;display:grid;padding:1.4rem}.ContentHeader_row__9Q8gH{margin-bottom:7px}.ContentHeader_logoTitleSection__Z8pUc{display:flex;flex-direction:column}.ContentHeader_logoTitleSection__Z8pUc .ContentHeader_logo__wo_HN{margin:auto .6rem}@media only screen and (min-width:768px){.ContentHeader_logoTitleSection__Z8pUc{flex-direction:row}.ContentHeader_logoTitleSection__Z8pUc .ContentHeader_logo__wo_HN{margin:.6rem}}@media only screen and (max-width:481px){.ContentHeader_logoTitleSection__Z8pUc{align-items:center}}.ContentHeader_titleSection___6Y15{display:flex;flex-direction:column;margin-left:.6rem}.ContentHeader_titleSection___6Y15 .ContentHeader_title__E_DsI{font-family:var(--theme-text-display-font-family);color:var(--theme-color-palette-0);font-size:1.7rem;font-weight:700;line-height:30px}.ContentHeader_titleSection___6Y15 .ContentHeader_subtitle__n1Wew{font-size:1.2rem;font-weight:400;line-height:1.3;color:var(--theme-color-background-header);max-width:900px}.ContentHeader_tagList__rx3jY{color:var(--theme-color-palette-10)}.ContentHeader_tagList__rx3jY span{display:inline-block;margin-right:.5rem;font-size:.9rem;font-weight:500}.Statusbar_statusbar__AtVnB{display:flex;align-items:center;font-size:.8rem;justify-content:space-between;height:2rem;width:100%;padding:var(--content-padding);color:var(--theme-color-components-text-on-light);background-color:var(--component-background);font-family:var(--theme-text-display-font-family);font-weight:600}.SingleFollower_follower__EyBDI{border:1px solid rgba(0,0,0,.3);padding:10px;border-radius:15px;height:75px;width:250px;font-size:.8rem;overflow:hidden}.SingleFollower_follower__EyBDI:hover{border-color:var(--theme-text-link)}.SingleFollower_follower__EyBDI .SingleFollower_avatar__V9jHG{height:50px;width:50px;border:1px solid rgba(0,0,0,.3)}.SingleFollower_follower__EyBDI .SingleFollower_account__Z66vo{color:var(--theme-text-secondary);text-overflow:ellipsis}.SingleFollower_follower__EyBDI .SingleFollower_placeholder__CgsfJ{width:100%;height:100%}.FollowerCollection_followers__e_EUS{padding:5px}.FollowerCollection_followers__e_EUS,.FollowerCollection_noFollowers__UaCVW{width:100%;background-color:var(--theme-color-components-content-background)}.FollowerCollection_noFollowers__UaCVW{padding:calc(2*var(--content-padding));border-radius:var(--theme-rounded-corners)}.Modal_spinner__GiSS0{position:absolute;top:50%;left:50%}.Modal_content__h9my9{display:block;height:100%;padding:2vw;background-color:var(--theme-color-components-modal-content-background);color:var(--theme-color-components-modal-content-text)}.ActionButtonMenu_item__OJQdr{display:flex;align-items:center}.ActionButtonMenu_buttonWrap__WQ9kt{display:flex;align-items:center;height:100%;padding-bottom:16px}.ActionButtonMenu_buttonWrap__WQ9kt button{height:100%}.ActionButtonMenu_icon__edY1D{height:15px;margin-right:5px}.ActionButtonMenu_menu__GChDk{color:currentColor}.FollowModal_header__la1ji{font-family:var(--theme-text-display-font-family);font-size:.8rem}.FollowModal_buttons__tt4Mc{display:flex;justify-content:flex-end;margin-top:10px}.FollowModal_instructions__HiKFF{font-family:var(--theme-text-display-font-family);font-size:.7rem;font-weight:600;margin-top:5px;margin-bottom:5px}.FollowModal_footer__AjucH{font-size:.5rem}.FollowModal_account__cmHkm{display:flex;flex-direction:row;margin-top:5px;margin-bottom:10px;font-size:.8rem;border-color:var(--color-owncast-palette-5);border-width:1px;border-style:solid;border-radius:6px}.FollowModal_account__cmHkm .FollowModal_logo__Ew8xK{border-radius:50%;width:4em;height:4em}.FollowModal_account__cmHkm .FollowModal_username__A_OTw{display:flex;flex-direction:column;margin-left:10px;margin-top:5px}.FollowModal_account__cmHkm .FollowModal_username__A_OTw .FollowModal_name__Sf_TP{font-weight:600}.Content_root__h1mNK{display:grid;grid-template-columns:1fr auto;width:100%;background-color:var(--theme-color-background-main)}@media only screen and (min-width:768px){.Content_root__h1mNK{height:var(--content-height)}}.Content_root__h1mNK .Content_mainSection__Gk78Y{display:flex;overflow-y:scroll;flex-direction:column}.Content_root__h1mNK .Content_mainSection__Gk78Y::-webkit-scrollbar{width:5px;height:auto;background-color:var(--theme-color-components-scrollbar-background)}.Content_root__h1mNK .Content_mainSection__Gk78Y::-webkit-scrollbar-thumb{background:var(--theme-color-components-scrollbar-thumb);border-radius:1px}.Content_root__h1mNK .Content_topSection__JIZi0{padding:0;background-color:var(--theme-color-components-video-background)}.Content_root__h1mNK .Content_lowerSection__BZHYI{padding:0 2%;margin-bottom:2em}.Content_root__h1mNK .Content_lowerSectionMobile__hRr0_{padding:.3em}.Content_leftCol__U2TDq{display:flex;flex-direction:column}.Content_loadingSpinner__mDlYC{display:grid}.Content_main__XVf63{display:grid;flex:1 1;height:100%;grid-template-rows:1fr auto}.UserDropdown_root__IdxfQ button{border:none}.UserDropdown_root__IdxfQ button .UserDropdown_ant-space__XJTZ3 .UserDropdown_ant-space-item__w4nC2{color:var(--theme-unknown-2)}.Header_header__U4Ro1{position:sticky;top:0;height:var(--header-height)!important;justify-content:space-between;z-index:20;padding:1rem .7rem;box-shadow:0 1px 3px 1px rgba(0,0,0,.1);background-color:var(--theme-color-background-header)}.Header_header__U4Ro1,.Header_header__U4Ro1 .Header_logo__HLZ6Z{display:flex;align-items:center}.Header_header__U4Ro1 .Header_logo__HLZ6Z svg{padding:.2rem}.Header_header__U4Ro1 .Header_logo__HLZ6Z span{color:var(--theme-color-components-text-on-dark);font-family:var(--theme-text-display-font-family);margin-left:.5rem;font-size:clamp(1rem,4vw,1.6rem);font-weight:600} \ No newline at end of file diff --git a/static/web/_next/static/css/60b2cc0f1da20cc8.css b/static/web/_next/static/css/60b2cc0f1da20cc8.css new file mode 100644 index 000000000..58b8838d4 --- /dev/null +++ b/static/web/_next/static/css/60b2cc0f1da20cc8.css @@ -0,0 +1 @@ +.CustomPageContent_pageContentContainer__EG4tU{display:flex;justify-content:center;align-items:center}.CustomPageContent_customPageContent__Mr981{font-size:1rem;line-height:1.6em;color:var(--theme-color-components-text-on-light);padding:calc(2*var(--content-padding));border-radius:var(--theme-rounded-corners);width:100%;background-color:var(--theme-color-components-content-background)}.CustomPageContent_customPageContent__Mr981 hr{margin:1.35em 0;border:0;border-top:1px solid var(--theme-color-components-content-background)}.CustomPageContent_customPageContent__Mr981 div.CustomPageContent_summary___Zgps{font-size:.9rem}.CustomPageContent_customPageContent__Mr981 p{margin:unset}.Sidebar_root__8HE0A{background-color:var(--theme-color-components-chat-background);display:none}@media only screen and (min-width:768px){.Sidebar_root__8HE0A{position:sticky;display:block}}.Sidebar_root__8HE0A>div{display:flex;flex-flow:column nowrap;flex-grow:1!important;height:100%!important}.Footer_footer__mPuvf{display:flex;align-items:center;flex-wrap:wrap;height:var(--footer-height);justify-content:space-between;flex-direction:row;background-color:var(--theme-color-background-header);width:100%;font-family:var(--theme-text-body-font-family);padding:0 .6rem;font-size:.8rem;font-weight:600;border-top:1px solid hsla(0,4%,83%,.5)}.Footer_footer__mPuvf,.Footer_footer__mPuvf a{color:var(--theme-color-components-text-on-dark)}.Footer_footer__mPuvf a{text-decoration:none}.Footer_footer__mPuvf .Footer_links__7bBxV{-moz-column-gap:2rem;column-gap:2rem;width:auto;display:flex;justify-content:space-between;flex-direction:row}.ActionButtonRow_row__SiEGe{padding:.3rem;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end}.ActionButtonRow_row__SiEGe button{margin-left:.3rem;margin-right:.3rem}.ActionButton_button__z5Z2c{margin:3px;font-weight:400;font-family:var(--theme-text-display-font-family)}.ActionButton_button__z5Z2c .ActionButton_icon__EPp7Q{height:90%;margin-right:5px;margin-bottom:1%}.OfflineBanner_outerContainer__3AbsB{display:flex;justify-content:center}.OfflineBanner_innerContainer__zTm13{width:clamp(0px,100%,600px);display:flex;flex-direction:column;color:var(--theme-color-components-text-on-light);background-color:var(--theme-color-background-main);margin:1rem auto;border-radius:var(--theme-rounded-corners);padding:1rem;font-size:1.2rem;border:1px solid #d3d3d3}.OfflineBanner_bodyText__nNNy0{line-height:1.5rem}.OfflineBanner_separator___j_Ss{margin-top:15px;margin-bottom:15px}.OfflineBanner_lastLiveDate___UZdO{margin-top:15px;font-size:1rem;opacity:.5}.OfflineBanner_lastLiveDate___UZdO .OfflineBanner_clockIcon__s0DB_{margin-right:5px}.OfflineBanner_header__Vu20o{font-weight:700}.OfflineBanner_footer__o3Zl5{margin-top:15px}.OfflineBanner_actionLink__b4Mwa{color:var(--theme-color-action);text-decoration:underline;cursor:pointer}.OfflineBanner_actionLink__b4Mwa:hover{color:var(--color-owncast-palette-7)}.Logo_root__jKiJC{display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;margin-right:.5rem;width:96px;height:96px;border-radius:50%;border-width:5px;border-style:solid;border-color:var(--theme-color-palette-0);background-color:var(--theme-color-palette-4)}.Logo_container__A4UYT{width:90%;height:90%;border-radius:50%;overflow:hidden}.Logo_image__Ahkom{width:100%;height:100%;background-size:cover;background-position:50%;overflow:hidden}.SocialLinks_link___CcSm{width:30px;margin-right:16px}.SocialLinks_links__gOAb7{display:flex;align-items:center;justify-content:flex-start;margin-top:5px}.ContentHeader_root__HaUG0{position:relative;display:grid;padding:1.4rem;padding-top:unset}.ContentHeader_row__9Q8gH{margin-bottom:7px}.ContentHeader_logoTitleSection__Z8pUc{display:flex;flex-direction:column}.ContentHeader_logoTitleSection__Z8pUc .ContentHeader_logo__wo_HN{margin:auto .6rem}@media only screen and (min-width:768px){.ContentHeader_logoTitleSection__Z8pUc{flex-direction:row}.ContentHeader_logoTitleSection__Z8pUc .ContentHeader_logo__wo_HN{margin:.6rem}}@media only screen and (max-width:481px){.ContentHeader_logoTitleSection__Z8pUc{align-items:center}}.ContentHeader_titleSection___6Y15{display:flex;flex-direction:column;margin-left:.6rem}.ContentHeader_titleSection___6Y15 .ContentHeader_title__E_DsI{font-family:var(--theme-text-display-font-family);color:var(--theme-color-palette-0);font-size:1.7rem;font-weight:700;line-height:30px}.ContentHeader_titleSection___6Y15 .ContentHeader_subtitle__n1Wew{font-size:1.2rem;font-weight:400;line-height:1.3;color:var(--theme-color-background-header);max-width:900px}.ContentHeader_tagList__rx3jY{color:var(--theme-color-palette-10)}.ContentHeader_tagList__rx3jY span{display:inline-block;margin-right:.5rem;font-size:.9rem;font-weight:500}.Statusbar_statusbar__AtVnB{display:flex;align-items:center;font-size:.8rem;justify-content:space-between;height:2rem;width:100%;padding:var(--content-padding);color:var(--theme-color-components-text-on-light);background-color:var(--component-background);font-family:var(--theme-text-display-font-family);font-weight:600}.SingleFollower_follower__EyBDI{border:1px solid rgba(0,0,0,.3);padding:10px;border-radius:15px;height:75px;width:250px;font-size:.8rem;overflow:hidden}.SingleFollower_follower__EyBDI:hover{border-color:var(--theme-text-link)}.SingleFollower_follower__EyBDI .SingleFollower_avatar__V9jHG{height:50px;width:50px;border:1px solid rgba(0,0,0,.3)}.SingleFollower_follower__EyBDI .SingleFollower_account__Z66vo{color:var(--theme-text-secondary);text-overflow:ellipsis}.SingleFollower_follower__EyBDI .SingleFollower_placeholder__CgsfJ{width:100%;height:100%}.FollowerCollection_followers__e_EUS{padding:5px}.FollowerCollection_followers__e_EUS,.FollowerCollection_noFollowers__UaCVW{width:100%;background-color:var(--theme-color-components-content-background)}.FollowerCollection_noFollowers__UaCVW{padding:calc(2*var(--content-padding));border-radius:var(--theme-rounded-corners)}.Modal_spinner__GiSS0{position:absolute;top:50%;left:50%}.Modal_content__h9my9{display:block;height:100%;padding:2vw;background-color:var(--theme-color-components-modal-content-background);color:var(--theme-color-components-modal-content-text)}.ActionButtonMenu_item__OJQdr{display:flex;align-items:center}.ActionButtonMenu_buttonWrap__WQ9kt{display:flex;align-items:center;height:100%;padding-bottom:16px}.ActionButtonMenu_buttonWrap__WQ9kt button{height:100%}.ActionButtonMenu_icon__edY1D{height:15px;margin-right:5px}.ActionButtonMenu_menu__GChDk{color:currentColor}.FollowModal_header__la1ji{font-family:var(--theme-text-display-font-family);font-size:.8rem}.FollowModal_buttons__tt4Mc{display:flex;justify-content:flex-end;margin-top:10px}.FollowModal_instructions__HiKFF{font-family:var(--theme-text-display-font-family);font-size:.7rem;font-weight:600;margin-top:5px;margin-bottom:5px}.FollowModal_footer__AjucH{font-size:.5rem}.FollowModal_account__cmHkm{display:flex;flex-direction:row;margin-top:5px;margin-bottom:10px;font-size:.8rem;border-color:var(--color-owncast-palette-5);border-width:1px;border-style:solid;border-radius:6px}.FollowModal_account__cmHkm .FollowModal_logo__Ew8xK{border-radius:50%;width:4em;height:4em}.FollowModal_account__cmHkm .FollowModal_username__A_OTw{display:flex;flex-direction:column;margin-left:10px;margin-top:5px}.FollowModal_account__cmHkm .FollowModal_username__A_OTw .FollowModal_name__Sf_TP{font-weight:600}.Content_root__h1mNK{display:grid;grid-template-columns:1fr auto;width:100%;background-color:var(--theme-color-background-main)}@media only screen and (min-width:768px){.Content_root__h1mNK{height:var(--content-height)}}.Content_root__h1mNK .Content_mainSection__Gk78Y{display:flex;overflow-y:scroll;flex-direction:column}.Content_root__h1mNK .Content_mainSection__Gk78Y::-webkit-scrollbar{width:5px;height:auto;background-color:var(--theme-color-components-scrollbar-background)}.Content_root__h1mNK .Content_mainSection__Gk78Y::-webkit-scrollbar-thumb{background:var(--theme-color-components-scrollbar-thumb);border-radius:1px}.Content_root__h1mNK .Content_topSection__JIZi0{padding:0;background-color:var(--theme-color-components-video-background)}.Content_root__h1mNK .Content_lowerSection__BZHYI{padding:0 2%;margin-bottom:2em}.Content_root__h1mNK .Content_lowerSectionMobile__hRr0_{padding:.3em}.Content_leftCol__U2TDq{display:flex;flex-direction:column}.Content_loadingSpinner__mDlYC{display:grid}.Content_main__XVf63{display:grid;flex:1 1;height:100%;grid-template-rows:1fr auto}.UserDropdown_root__IdxfQ button{border:none}.UserDropdown_root__IdxfQ button .UserDropdown_ant-space__XJTZ3 .UserDropdown_ant-space-item__w4nC2{color:var(--theme-unknown-2)}.Header_header__U4Ro1{position:sticky;top:0;height:var(--header-height)!important;display:flex;align-items:center;justify-content:space-between;z-index:20;padding:1rem .7rem;box-shadow:0 1px 3px 1px rgba(0,0,0,.1);background-color:var(--theme-color-background-header);flex-basis:content}.Header_header__U4Ro1 .Header_logoImage__beIL2{padding:.2rem}@media only screen and (max-width:481px){.Header_header__U4Ro1 .Header_logoImage__beIL2{display:none}}.Header_header__U4Ro1 .Header_logo__HLZ6Z{display:flex;align-items:center}.Header_header__U4Ro1 .Header_logo__HLZ6Z .Header_title__FIts2{color:var(--theme-color-components-text-on-dark);font-family:var(--theme-text-display-font-family);margin-left:.5rem;margin-bottom:0;font-size:clamp(1rem,4vw,1.6rem);font-weight:600;white-space:nowrap;text-overflow:ellipsis;max-width:90%} \ No newline at end of file diff --git a/static/web/_next/static/css/95941802eb700518.css b/static/web/_next/static/css/95941802eb700518.css new file mode 100644 index 000000000..864836b13 --- /dev/null +++ b/static/web/_next/static/css/95941802eb700518.css @@ -0,0 +1 @@ +.ChatUserBadge_badge__1EdUp{font-family:var(--theme-text-display-font-family);font-weight:500;font-size:.5rem;text-transform:uppercase;padding:0 2px;border-radius:3px;border-width:1px;border-style:solid;margin-left:3px}.ChatUserMessage_root__79heB{border-left:3px solid;position:relative;font-size:.9rem;padding:0 8px 8px;color:var(--theme-color-components-chat-text)}.ChatUserMessage_root__79heB *{z-index:100}.ChatUserMessage_root__79heB .ChatUserMessage_user__xUEp9{display:flex;align-items:center;font-family:var(--theme-text-display-font-family);font-weight:600}.ChatUserMessage_root__79heB .ChatUserMessage_message__MJ9LD{overflow:hidden;overflow-wrap:anywhere;font-weight:500}.ChatUserMessage_root__79heB .ChatUserMessage_message__MJ9LD mark{padding-left:.35em;padding-right:.35em;color:var(--theme-color-palette-12)}.ChatUserMessage_root__79heB.ChatUserMessage_ownMessage__d28A3{border-left:none;border-right:3px solid}.ChatUserMessage_root__79heB.ChatUserMessage_ownMessage__d28A3 .ChatUserMessage_background__Tfghp{position:absolute;z-index:-1;top:0;left:0;width:100%;height:100%;background-color:currentColor;opacity:.07;border-radius:.25rem;overflow:hidden}.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv{position:absolute;display:none;top:0;right:10px}.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv button:active,.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv button:focus{display:block!important}.ChatUserMessage_root__79heB:hover .ChatUserMessage_modMenuWrapper__7fblv{display:block}.ChatUserMessage_messagePadding__Xp1F6{padding:.4rem 5px 0}.ChatUserMessage_messagePaddingCollapsed__qxN0E{padding:0 5px}.ChatTextField_root__4oUkJ{padding:4px .1vw}.ChatTextField_root__4oUkJ,.ChatTextField_root__4oUkJ .ChatTextField_inputWrap__1mAjD{position:relative;display:flex;bottom:0;width:100%;overflow-x:hidden;background-color:var(--theme-color-palette-3)}.ChatTextField_root__4oUkJ .ChatTextField_inputWrap__1mAjD{color:var(--theme-color-components-form-field-text);border-radius:var(--theme-rounded-corners);padding:.3rem;transition:box-shadow 90ms ease-in-out}.ChatTextField_root__4oUkJ .ChatTextField_inputWrap__1mAjD:focus-within{background-color:var(--theme-color-components-form-field-background);box-shadow:inset 0 0 2px 2px var(--theme-color-palette-3)}.ChatTextField_root__4oUkJ .ChatTextField_maxCharacters__yGT4s{border:1px solid red}.ChatTextField_root__4oUkJ div[role=textbox]{font-size:16px;padding:.3rem;background-color:inherit;border-color:var(--theme-color-components-form-field-border);box-shadow:0;transition:box-shadow 50ms ease-in-out}.ChatTextField_root__4oUkJ div[role=textbox]:focus{outline:1px solid var(--color-owncast-gray-500)!important}.ChatTextField_root__4oUkJ div[role=textbox]>p{margin:0}.ChatTextField_emojiButton__ON_Cu,.ChatTextField_sendButton__MOmD4{border:none;background:none;cursor:pointer;padding:0 1rem}.ChatModeratorNotification_chatModerationNotification__kgFWe{background-color:var(--theme-background-primary);margin:5px;border-radius:15px;border:1px solid rgba(0,0,0,.3);padding:10px;max-width:400px;display:flex;justify-content:center;align-items:center}.ChatModeratorNotification_chatModerationNotification__kgFWe .ChatModeratorNotification_icon__7FdGg{margin-right:10px;width:20px;height:20px}.ChatSystemMessage_chatSystemMessage__c6XEN{background:var(--theme-color-background-main);background:linear-gradient(70deg,#4e3672,#411c8b 40%,#534382 80%);margin:5px;border-radius:5px;border-width:1px;border-style:solid;padding:12px;max-width:400px}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_user__6yHSJ{display:flex;align-items:center;font-family:var(--theme-text-display-font-family);font-weight:700;color:#fff}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g{color:#fff}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g p{color:#fff;margin:unset}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g mark{padding-left:.35em;padding-right:.35em;background-color:var(--theme-color-palette-12)}.ChatJoinMessage_root__vuVXa{padding:10px 0;text-align:center;font-size:.8rem;font-style:italic;color:var(--theme-color-components-chat-text)}.ChatContainer_toBottomWrap__3V5wa{display:flex;width:100%;justify-content:center;position:absolute;bottom:50px;color:var(--theme-color-components-text-on-light)}.ChatContainer_toBottomWrap__3V5wa button{background-color:var(--theme-color-background-light);z-index:9999;box-shadow:0 1px 2px 0 rgba(0,0,0,.1),0 1px 5px 0 rgba(0,0,0,.12)}.ChatContainer_nameChangeView__ziyXN{display:flex;font-size:.9rem;border-radius:var(--theme-rounded-corners);padding:5px 15px;color:var(--theme-color-components-text-on-light);background-color:var(--color-owncast-background)}.ChatContainer_nameChangeView__ziyXN .ChatContainer_nameChangeText__yXG__{font-weight:700;font-family:var(--theme-text-display-font-family)}.ChatContainer_nameChangeView__ziyXN .ChatContainer_nameChangeText__yXG__ .ChatContainer_plain__IPS19{font-weight:400;font-family:var(--theme-text-body-font-family)!important}.ChatContainer_chatContainer__O2lYN{display:flex;flex-direction:column;background-color:var(--theme-color-components-chat-background);height:100%}.ChatContainer_virtuoso__OS9Kz{width:auto;flex-grow:1;overflow-y:scroll;overflow-x:hidden;margin-bottom:10px}.ChatContainer_virtuoso__OS9Kz::-webkit-scrollbar{width:5px;height:auto;background-color:var(--theme-color-components-chat-background)}.ChatContainer_virtuoso__OS9Kz::-webkit-scrollbar-thumb{background:var(--theme-color-components-scrollbar-thumb)}.ChatContainer_chatTextField__OqCGL{border-top:1px solid #d3d3d3}.ChatActionMessage_chatAction__x9Xsg{padding:5px;text-align:center;color:var(--theme-color-components-chat-text)}.UserDropdown_root__IdxfQ button{border:none}.UserDropdown_root__IdxfQ button .UserDropdown_ant-space__XJTZ3 .UserDropdown_ant-space-item__w4nC2{color:var(--theme-unknown-2)}.Header_header__U4Ro1{position:sticky;top:0;height:var(--header-height)!important;display:flex;align-items:center;justify-content:space-between;z-index:20;padding:1rem .7rem;box-shadow:0 1px 3px 1px rgba(0,0,0,.1);background-color:var(--theme-color-background-header);flex-basis:content}.Header_header__U4Ro1 .Header_logoImage__beIL2{padding:.2rem}@media only screen and (max-width:481px){.Header_header__U4Ro1 .Header_logoImage__beIL2{display:none}}.Header_header__U4Ro1 .Header_logo__HLZ6Z{display:flex;align-items:center}.Header_header__U4Ro1 .Header_logo__HLZ6Z .Header_title__FIts2{color:var(--theme-color-components-text-on-dark);font-family:var(--theme-text-display-font-family);margin-left:.5rem;margin-bottom:0;font-size:clamp(1rem,4vw,1.6rem);font-weight:600;white-space:nowrap;text-overflow:ellipsis;max-width:90%} \ No newline at end of file diff --git a/static/web/_next/static/css/a49791b44feb7f30.css b/static/web/_next/static/css/a49791b44feb7f30.css new file mode 100644 index 000000000..ea598003b --- /dev/null +++ b/static/web/_next/static/css/a49791b44feb7f30.css @@ -0,0 +1 @@ +.ChatUserBadge_badge__1EdUp{font-family:var(--theme-text-display-font-family);font-weight:500;font-size:.5rem;text-transform:uppercase;padding:0 2px;border-radius:3px;border-width:1px;border-style:solid;margin-left:3px}.ChatUserMessage_root__79heB{border-left:3px solid;position:relative;font-size:.9rem;padding:0 8px 8px;color:var(--theme-color-components-chat-text)}.ChatUserMessage_root__79heB *{z-index:100}.ChatUserMessage_root__79heB .ChatUserMessage_user__xUEp9{display:flex;align-items:center;font-family:var(--theme-text-display-font-family);font-weight:600}.ChatUserMessage_root__79heB .ChatUserMessage_message__MJ9LD{overflow:hidden;overflow-wrap:anywhere;font-weight:500}.ChatUserMessage_root__79heB .ChatUserMessage_message__MJ9LD mark{padding-left:.35em;padding-right:.35em;color:var(--theme-color-palette-12)}.ChatUserMessage_root__79heB.ChatUserMessage_ownMessage__d28A3{border-left:none;border-right:3px solid}.ChatUserMessage_root__79heB.ChatUserMessage_ownMessage__d28A3 .ChatUserMessage_background__Tfghp{position:absolute;z-index:-1;top:0;left:0;width:100%;height:100%;background-color:currentColor;opacity:.07;border-radius:.25rem;overflow:hidden}.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv{position:absolute;display:none;top:0;right:10px}.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv button:active,.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv button:focus{display:block!important}.ChatUserMessage_root__79heB:hover .ChatUserMessage_modMenuWrapper__7fblv{display:block}.ChatUserMessage_messagePadding__Xp1F6{padding:.4rem 5px 0}.ChatUserMessage_messagePaddingCollapsed__qxN0E{padding:0 5px}.ChatTextField_root__4oUkJ{padding:4px .1vw}.ChatTextField_root__4oUkJ,.ChatTextField_root__4oUkJ .ChatTextField_inputWrap__1mAjD{position:relative;display:flex;bottom:0;width:100%;overflow-x:hidden;background-color:var(--theme-color-palette-3)}.ChatTextField_root__4oUkJ .ChatTextField_inputWrap__1mAjD{color:var(--theme-color-components-form-field-text);border-radius:var(--theme-rounded-corners);padding:.3rem;transition:box-shadow 90ms ease-in-out}.ChatTextField_root__4oUkJ .ChatTextField_inputWrap__1mAjD:focus-within{background-color:var(--theme-color-components-form-field-background);box-shadow:inset 0 0 2px 2px var(--theme-color-palette-3)}.ChatTextField_root__4oUkJ .ChatTextField_maxCharacters__yGT4s{border:1px solid red}.ChatTextField_root__4oUkJ div[role=textbox]{font-size:16px;padding:.3rem;background-color:inherit;border-color:var(--theme-color-components-form-field-border);box-shadow:0;transition:box-shadow 50ms ease-in-out}.ChatTextField_root__4oUkJ div[role=textbox]:focus{outline:1px solid var(--color-owncast-gray-500)!important}.ChatTextField_root__4oUkJ div[role=textbox]>p{margin:0}.ChatTextField_emojiButton__ON_Cu,.ChatTextField_sendButton__MOmD4{border:none;background:none;cursor:pointer;padding:0 1rem}.ChatModeratorNotification_chatModerationNotification__kgFWe{background-color:var(--theme-background-primary);margin:5px;border-radius:15px;border:1px solid rgba(0,0,0,.3);padding:10px;max-width:400px;display:flex;justify-content:center;align-items:center}.ChatModeratorNotification_chatModerationNotification__kgFWe .ChatModeratorNotification_icon__7FdGg{margin-right:10px;width:20px;height:20px}.ChatSystemMessage_chatSystemMessage__c6XEN{background:var(--theme-color-background-main);background:linear-gradient(70deg,#4e3672,#411c8b 40%,#534382 80%);margin:5px;border-radius:5px;border-width:1px;border-style:solid;padding:12px;max-width:400px}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_user__6yHSJ{display:flex;align-items:center;font-family:var(--theme-text-display-font-family);font-weight:700;color:#fff}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g{color:#fff}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g p{color:#fff;margin:unset}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g mark{padding-left:.35em;padding-right:.35em;background-color:var(--theme-color-palette-12)}.ChatJoinMessage_root__vuVXa{padding:10px 0;text-align:center;font-size:.8rem;font-style:italic;color:var(--theme-color-components-chat-text)}.ChatContainer_toBottomWrap__3V5wa{display:flex;width:100%;justify-content:center;position:absolute;bottom:50px;color:var(--theme-color-components-text-on-light)}.ChatContainer_toBottomWrap__3V5wa button{background-color:var(--theme-color-background-light);z-index:9999;box-shadow:0 1px 2px 0 rgba(0,0,0,.1),0 1px 5px 0 rgba(0,0,0,.12)}.ChatContainer_nameChangeView__ziyXN{display:flex;font-size:.9rem;border-radius:var(--theme-rounded-corners);padding:5px 15px;color:var(--theme-color-components-text-on-light);background-color:var(--color-owncast-background)}.ChatContainer_nameChangeView__ziyXN .ChatContainer_nameChangeText__yXG__{font-weight:700;font-family:var(--theme-text-display-font-family)}.ChatContainer_nameChangeView__ziyXN .ChatContainer_nameChangeText__yXG__ .ChatContainer_plain__IPS19{font-weight:400;font-family:var(--theme-text-body-font-family)!important}.ChatContainer_chatContainer__O2lYN{display:flex;flex-direction:column;background-color:var(--theme-color-components-chat-background);height:100%}.ChatContainer_virtuoso__OS9Kz{width:auto;flex-grow:1;overflow-y:scroll;overflow-x:hidden;margin-bottom:10px}.ChatContainer_virtuoso__OS9Kz::-webkit-scrollbar{width:5px;height:auto;background-color:var(--theme-color-components-chat-background)}.ChatContainer_virtuoso__OS9Kz::-webkit-scrollbar-thumb{background:var(--theme-color-components-scrollbar-thumb)}.ChatContainer_chatTextField__OqCGL{border-top:1px solid #d3d3d3}.ChatActionMessage_chatAction__x9Xsg{padding:5px;text-align:center;color:var(--theme-color-components-chat-text)} \ No newline at end of file diff --git a/static/web/_next/static/css/d97e63babcccad86.css b/static/web/_next/static/css/d97e63babcccad86.css deleted file mode 100644 index 188aca874..000000000 --- a/static/web/_next/static/css/d97e63babcccad86.css +++ /dev/null @@ -1 +0,0 @@ -.ChatUserBadge_badge__1EdUp{font-family:var(--theme-text-display-font-family);font-weight:500;font-size:.5rem;text-transform:uppercase;padding:0 2px;border-radius:3px;border-width:1px;border-style:solid;margin-left:3px}.ChatUserMessage_root__79heB{border-left:3px solid;position:relative;font-size:.9rem;padding:0 8px 8px;color:var(--theme-color-components-chat-text)}.ChatUserMessage_root__79heB *{z-index:100}.ChatUserMessage_root__79heB .ChatUserMessage_user__xUEp9{display:flex;align-items:center;font-family:var(--theme-text-display-font-family);font-weight:600}.ChatUserMessage_root__79heB .ChatUserMessage_message__MJ9LD{overflow:hidden;overflow-wrap:anywhere;font-weight:500}.ChatUserMessage_root__79heB .ChatUserMessage_message__MJ9LD mark{padding-left:.35em;padding-right:.35em;color:var(--theme-color-palette-12)}.ChatUserMessage_root__79heB.ChatUserMessage_ownMessage__d28A3{border-left:none;border-right:3px solid}.ChatUserMessage_root__79heB.ChatUserMessage_ownMessage__d28A3 .ChatUserMessage_background__Tfghp{position:absolute;z-index:-1;top:0;left:0;width:100%;height:100%;background-color:currentColor;opacity:.07;border-radius:.25rem;overflow:hidden}.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv{position:absolute;display:none;top:0;right:10px}.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv button:active,.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv button:focus{display:block!important}.ChatUserMessage_root__79heB:hover .ChatUserMessage_modMenuWrapper__7fblv{display:block}.ChatUserMessage_messagePadding__Xp1F6{padding:.4rem 5px 0}.ChatUserMessage_messagePaddingCollapsed__qxN0E{padding:0 5px}.ChatTextField_root__4oUkJ{position:relative;display:flex;bottom:0;width:100%;padding:2px .1vw;overflow-x:hidden}.ChatTextField_root__4oUkJ .ChatTextField_inputWrap__1mAjD{position:relative;display:flex;color:var(--theme-color-components-form-field-text);background-color:var(--theme-color-palette-3);border-radius:var(--theme-rounded-corners);bottom:0;width:100%;padding:.3rem;overflow-x:hidden;transition:box-shadow 90ms ease-in-out}.ChatTextField_root__4oUkJ .ChatTextField_inputWrap__1mAjD:focus-within{background-color:var(--theme-color-components-form-field-background);box-shadow:inset 0 0 2px 2px var(--theme-color-palette-3)}.ChatTextField_root__4oUkJ .ChatTextField_maxCharacters__yGT4s{border:1px solid red}.ChatTextField_root__4oUkJ div[role=textbox]{font-size:16px;padding:.3rem;background-color:inherit;border-color:var(--theme-color-components-form-field-border);box-shadow:0;transition:box-shadow 50ms ease-in-out}.ChatTextField_root__4oUkJ div[role=textbox]:focus{outline:1px solid var(--color-owncast-gray-500)!important}.ChatTextField_root__4oUkJ div[role=textbox]>p{margin:0}.ChatTextField_emojiButton__ON_Cu,.ChatTextField_sendButton__MOmD4{border:none;background:none;cursor:pointer;padding:0 1rem}.ChatModeratorNotification_chatModerationNotification__kgFWe{background-color:var(--theme-background-primary);margin:5px;border-radius:15px;border:1px solid rgba(0,0,0,.3);padding:10px;max-width:400px;display:flex;justify-content:center;align-items:center}.ChatModeratorNotification_chatModerationNotification__kgFWe .ChatModeratorNotification_icon__7FdGg{margin-right:10px;width:20px;height:20px}.ChatSystemMessage_chatSystemMessage__c6XEN{background:var(--theme-color-background-main);background:linear-gradient(70deg,#4e3672,#411c8b 40%,#534382 80%);margin:5px;border-radius:5px;border-width:1px;border-style:solid;padding:12px;max-width:400px}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_user__6yHSJ{display:flex;align-items:center;font-family:var(--theme-text-display-font-family);font-weight:700;color:#fff}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g{color:#fff}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g p{color:#fff;margin:unset}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g mark{padding-left:.35em;padding-right:.35em;background-color:var(--theme-color-palette-12)}.ChatJoinMessage_root__vuVXa{padding:10px 0;text-align:center;font-size:.8rem;font-style:italic;color:var(--theme-color-components-chat-text)}.ChatContainer_toBottomWrap__3V5wa{display:flex;width:100%;justify-content:center;position:absolute;bottom:50px;color:var(--theme-color-components-text-on-light)}.ChatContainer_toBottomWrap__3V5wa button{background-color:var(--theme-color-background-light);z-index:9999;box-shadow:0 1px 2px 0 rgba(0,0,0,.1),0 1px 5px 0 rgba(0,0,0,.12)}.ChatContainer_nameChangeView__ziyXN{display:flex;font-size:.9rem;border-radius:var(--theme-rounded-corners);padding:5px 15px;color:var(--theme-color-components-text-on-light);background-color:var(--color-owncast-background)}.ChatContainer_nameChangeView__ziyXN .ChatContainer_nameChangeText__yXG__{font-weight:700;font-family:var(--theme-text-display-font-family)}.ChatContainer_nameChangeView__ziyXN .ChatContainer_nameChangeText__yXG__ .ChatContainer_plain__IPS19{font-weight:400;font-family:var(--theme-text-body-font-family)!important}.ChatContainer_chatContainer__O2lYN{display:flex;flex-direction:column;background-color:var(--theme-color-components-chat-background);height:100%}.ChatContainer_virtuoso__OS9Kz{width:auto;flex-grow:1;overflow-y:scroll;overflow-x:hidden;margin-bottom:10px}.ChatContainer_virtuoso__OS9Kz::-webkit-scrollbar{width:5px;height:auto;background-color:var(--theme-color-components-chat-background)}.ChatContainer_virtuoso__OS9Kz::-webkit-scrollbar-thumb{background:var(--theme-color-components-scrollbar-thumb)}.ChatContainer_chatTextField__OqCGL{border-top:1px solid #d3d3d3}.ChatActionMessage_chatAction__x9Xsg{padding:5px;text-align:center;color:var(--theme-color-components-chat-text)}.UserDropdown_root__IdxfQ button{border:none}.UserDropdown_root__IdxfQ button .UserDropdown_ant-space__XJTZ3 .UserDropdown_ant-space-item__w4nC2{color:var(--theme-unknown-2)}.Header_header__U4Ro1{position:sticky;top:0;height:var(--header-height)!important;justify-content:space-between;z-index:20;padding:1rem .7rem;box-shadow:0 1px 3px 1px rgba(0,0,0,.1);background-color:var(--theme-color-background-header)}.Header_header__U4Ro1,.Header_header__U4Ro1 .Header_logo__HLZ6Z{display:flex;align-items:center}.Header_header__U4Ro1 .Header_logo__HLZ6Z svg{padding:.2rem}.Header_header__U4Ro1 .Header_logo__HLZ6Z span{color:var(--theme-color-components-text-on-dark);font-family:var(--theme-text-display-font-family);margin-left:.5rem;font-size:clamp(1rem,4vw,1.6rem);font-weight:600} \ No newline at end of file diff --git a/static/web/_next/static/css/e2479775241cd5e1.css b/static/web/_next/static/css/e2479775241cd5e1.css deleted file mode 100644 index b236c8600..000000000 --- a/static/web/_next/static/css/e2479775241cd5e1.css +++ /dev/null @@ -1 +0,0 @@ -.ChatUserBadge_badge__1EdUp{font-family:var(--theme-text-display-font-family);font-weight:500;font-size:.5rem;text-transform:uppercase;padding:0 2px;border-radius:3px;border-width:1px;border-style:solid;margin-left:3px}.ChatUserMessage_root__79heB{border-left:3px solid;position:relative;font-size:.9rem;padding:0 8px 8px;color:var(--theme-color-components-chat-text)}.ChatUserMessage_root__79heB *{z-index:100}.ChatUserMessage_root__79heB .ChatUserMessage_user__xUEp9{display:flex;align-items:center;font-family:var(--theme-text-display-font-family);font-weight:600}.ChatUserMessage_root__79heB .ChatUserMessage_message__MJ9LD{overflow:hidden;overflow-wrap:anywhere;font-weight:500}.ChatUserMessage_root__79heB .ChatUserMessage_message__MJ9LD mark{padding-left:.35em;padding-right:.35em;color:var(--theme-color-palette-12)}.ChatUserMessage_root__79heB.ChatUserMessage_ownMessage__d28A3{border-left:none;border-right:3px solid}.ChatUserMessage_root__79heB.ChatUserMessage_ownMessage__d28A3 .ChatUserMessage_background__Tfghp{position:absolute;z-index:-1;top:0;left:0;width:100%;height:100%;background-color:currentColor;opacity:.07;border-radius:.25rem;overflow:hidden}.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv{position:absolute;display:none;top:0;right:10px}.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv button:active,.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv button:focus{display:block!important}.ChatUserMessage_root__79heB:hover .ChatUserMessage_modMenuWrapper__7fblv{display:block}.ChatUserMessage_messagePadding__Xp1F6{padding:.4rem 5px 0}.ChatUserMessage_messagePaddingCollapsed__qxN0E{padding:0 5px}.ChatTextField_root__4oUkJ{position:relative;display:flex;bottom:0;width:100%;padding:2px .1vw;overflow-x:hidden}.ChatTextField_root__4oUkJ .ChatTextField_inputWrap__1mAjD{position:relative;display:flex;color:var(--theme-color-components-form-field-text);background-color:var(--theme-color-palette-3);border-radius:var(--theme-rounded-corners);bottom:0;width:100%;padding:.3rem;overflow-x:hidden;transition:box-shadow 90ms ease-in-out}.ChatTextField_root__4oUkJ .ChatTextField_inputWrap__1mAjD:focus-within{background-color:var(--theme-color-components-form-field-background);box-shadow:inset 0 0 2px 2px var(--theme-color-palette-3)}.ChatTextField_root__4oUkJ .ChatTextField_maxCharacters__yGT4s{border:1px solid red}.ChatTextField_root__4oUkJ div[role=textbox]{font-size:16px;padding:.3rem;background-color:inherit;border-color:var(--theme-color-components-form-field-border);box-shadow:0;transition:box-shadow 50ms ease-in-out}.ChatTextField_root__4oUkJ div[role=textbox]:focus{outline:1px solid var(--color-owncast-gray-500)!important}.ChatTextField_root__4oUkJ div[role=textbox]>p{margin:0}.ChatTextField_emojiButton__ON_Cu,.ChatTextField_sendButton__MOmD4{border:none;background:none;cursor:pointer;padding:0 1rem}.ChatModeratorNotification_chatModerationNotification__kgFWe{background-color:var(--theme-background-primary);margin:5px;border-radius:15px;border:1px solid rgba(0,0,0,.3);padding:10px;max-width:400px;display:flex;justify-content:center;align-items:center}.ChatModeratorNotification_chatModerationNotification__kgFWe .ChatModeratorNotification_icon__7FdGg{margin-right:10px;width:20px;height:20px}.ChatSystemMessage_chatSystemMessage__c6XEN{background:var(--theme-color-background-main);background:linear-gradient(70deg,#4e3672,#411c8b 40%,#534382 80%);margin:5px;border-radius:5px;border-width:1px;border-style:solid;padding:12px;max-width:400px}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_user__6yHSJ{display:flex;align-items:center;font-family:var(--theme-text-display-font-family);font-weight:700;color:#fff}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g{color:#fff}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g p{color:#fff;margin:unset}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g mark{padding-left:.35em;padding-right:.35em;background-color:var(--theme-color-palette-12)}.ChatJoinMessage_root__vuVXa{padding:10px 0;text-align:center;font-size:.8rem;font-style:italic;color:var(--theme-color-components-chat-text)}.ChatContainer_toBottomWrap__3V5wa{display:flex;width:100%;justify-content:center;position:absolute;bottom:50px;color:var(--theme-color-components-text-on-light)}.ChatContainer_toBottomWrap__3V5wa button{background-color:var(--theme-color-background-light);z-index:9999;box-shadow:0 1px 2px 0 rgba(0,0,0,.1),0 1px 5px 0 rgba(0,0,0,.12)}.ChatContainer_nameChangeView__ziyXN{display:flex;font-size:.9rem;border-radius:var(--theme-rounded-corners);padding:5px 15px;color:var(--theme-color-components-text-on-light);background-color:var(--color-owncast-background)}.ChatContainer_nameChangeView__ziyXN .ChatContainer_nameChangeText__yXG__{font-weight:700;font-family:var(--theme-text-display-font-family)}.ChatContainer_nameChangeView__ziyXN .ChatContainer_nameChangeText__yXG__ .ChatContainer_plain__IPS19{font-weight:400;font-family:var(--theme-text-body-font-family)!important}.ChatContainer_chatContainer__O2lYN{display:flex;flex-direction:column;background-color:var(--theme-color-components-chat-background);height:100%}.ChatContainer_virtuoso__OS9Kz{width:auto;flex-grow:1;overflow-y:scroll;overflow-x:hidden;margin-bottom:10px}.ChatContainer_virtuoso__OS9Kz::-webkit-scrollbar{width:5px;height:auto;background-color:var(--theme-color-components-chat-background)}.ChatContainer_virtuoso__OS9Kz::-webkit-scrollbar-thumb{background:var(--theme-color-components-scrollbar-thumb)}.ChatContainer_chatTextField__OqCGL{border-top:1px solid #d3d3d3}.ChatActionMessage_chatAction__x9Xsg{padding:5px;text-align:center;color:var(--theme-color-components-chat-text)} \ No newline at end of file diff --git a/static/web/_next/static/qUuHutC8-vZ16nFbC5gTx/_buildManifest.js b/static/web/_next/static/s2WirtkYSLuDPn2wo87Jc/_buildManifest.js similarity index 82% rename from static/web/_next/static/qUuHutC8-vZ16nFbC5gTx/_buildManifest.js rename to static/web/_next/static/s2WirtkYSLuDPn2wo87Jc/_buildManifest.js index fa4cba7b6..1eb9203f7 100644 --- a/static/web/_next/static/qUuHutC8-vZ16nFbC5gTx/_buildManifest.js +++ b/static/web/_next/static/s2WirtkYSLuDPn2wo87Jc/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST=function(s,a,c,e,i,t,n,d,f,h,o,m,u,b,k,j,g,r,p,l,_,w,v,y,I,B,F,A,D,E){return{__rewrites:{beforeFiles:[],afterFiles:[{source:"/api/:path*"},{source:"/hls/:path*"},{source:"/img/:path*"},{source:"/logo"},{source:"/thumbnail.jpg"}],fallback:[]},"/":[c,a,e,n,d,h,b,k,p,"static/chunks/8793-97f96a16bc8069f8.js",o,"static/css/0950ea13d6ff3d43.css","static/chunks/pages/index-4b95694efc1a0478.js"],"/_error":["static/chunks/pages/_error-02cc11fd74b4e5ff.js"],"/admin":[s,c,a,e,i,t,n,d,f,m,k,"static/chunks/8676-c38bd41883242e8e.js","static/chunks/pages/admin-5221044a356250c9.js"],"/admin/access-tokens":[s,c,a,e,i,t,"static/chunks/pages/admin/access-tokens-11d48bfbb9164a75.js"],"/admin/actions":[j,s,c,a,e,i,l,"static/chunks/pages/admin/actions-74918267e1a136d4.js"],"/admin/chat/emojis":[s,c,a,e,i,u,_,"static/chunks/pages/admin/chat/emojis-816a586418b83710.js"],"/admin/chat/messages":[j,s,c,a,e,i,t,d,w,"static/chunks/pages/admin/chat/messages-2228eaaf3b330365.js"],"/admin/chat/users":[j,s,c,a,e,i,t,n,d,w,"static/chunks/pages/admin/chat/users-91c7fbe4fd9c6cbb.js"],"/admin/config/appearance":[v,s,b,y,I,B,"static/css/6c8941159bdd16f6.css","static/chunks/pages/admin/config/appearance-567adc449d2dc459.js"],"/admin/config/streamkeys":[s,c,a,e,i,l,"static/chunks/pages/admin/config/streamkeys-34d61214246fa6ed.js"],"/admin/config-chat":[s,"static/chunks/pages/admin/config-chat-b4857a4a7fae071a.js"],"/admin/config-federation":[s,"static/chunks/8995-2163bbfbcf40237a.js","static/chunks/pages/admin/config-federation-9ae27c1ba5d89acd.js"],"/admin/config-notify":[s,"static/chunks/7187-1eb4e0029ced6d6f.js","static/chunks/pages/admin/config-notify-85efccec12709d62.js"],"/admin/config-public-details":[v,s,c,a,e,i,u,y,_,"static/chunks/7022-4af2eaa76070d1d8.js","static/chunks/pages/admin/config-public-details-c3a4c0c8f8a33c5e.js"],"/admin/config-server-details":[s,"static/chunks/pages/admin/config-server-details-2012b4860317eb65.js"],"/admin/config-social-items":[s,c,a,e,i,"static/chunks/pages/admin/config-social-items-77a7605b50d74264.js"],"/admin/config-storage":[s,"static/chunks/pages/admin/config-storage-d61b1d9c973a1eda.js"],"/admin/config-video":[s,c,a,e,i,B,"static/chunks/2729-1c5084eb645c9eab.js","static/chunks/pages/admin/config-video-63aec11ae5babbd9.js"],"/admin/federation/actions":[s,c,a,e,i,t,"static/chunks/pages/admin/federation/actions-c184bd23e2d9eac5.js"],"/admin/federation/followers":[c,a,e,i,t,n,"static/chunks/pages/admin/federation/followers-75a86a3e75f888a3.js"],"/admin/hardware-info":[g,s,t,n,f,u,m,r,"static/chunks/pages/admin/hardware-info-4aa7ed52fcb239f9.js"],"/admin/help":[n,f,b,I,"static/chunks/5682-3ce0b43db5671359.js","static/chunks/pages/admin/help-d51ac5a60cd64502.js"],"/admin/logs":[s,c,a,e,i,t,k,"static/chunks/pages/admin/logs-1da798696afcbce1.js"],"/admin/stream-health":[g,s,t,n,f,m,r,"static/chunks/7731-510a1c0a2d78ab06.js","static/chunks/pages/admin/stream-health-1a0b9804bb7e2b81.js"],"/admin/upgrade":[s,c,a,e,i,"static/chunks/2069-d9f139bc73aea8db.js","static/chunks/pages/admin/upgrade-0ddabcb9157be8ec.js"],"/admin/viewer-info":[g,s,c,a,e,i,t,n,d,f,u,m,r,"static/chunks/pages/admin/viewer-info-ca7e8445e1d0f23e.js"],"/admin/webhooks":[s,c,a,e,i,"static/chunks/pages/admin/webhooks-e8966ce2d3b8efca.js"],"/embed/chat/readonly":[F,A,h,D,o,E,"static/css/e2479775241cd5e1.css","static/chunks/pages/embed/chat/readonly-d5ddc4feaa5a70b3.js"],"/embed/chat/readwrite":[F,A,a,h,D,"static/chunks/4388-de04225921654db9.js",o,E,"static/css/d97e63babcccad86.css","static/chunks/pages/embed/chat/readwrite-f6cb9372ecb1b1b2.js"],"/embed/video":["static/chunks/d6e1aeb5-0705bf43bcd6af77.js",d,h,"static/css/7c735c05af084bb2.css","static/chunks/7902-139b487986de3737.js",p,o,"static/chunks/2239-de44814eef43316f.js","static/css/f065863129f648da.css","static/chunks/pages/embed/video-ff4917f8414b83db.js"],sortedPages:["/","/_app","/_error","/admin","/admin/access-tokens","/admin/actions","/admin/chat/emojis","/admin/chat/messages","/admin/chat/users","/admin/config/appearance","/admin/config/streamkeys","/admin/config-chat","/admin/config-federation","/admin/config-notify","/admin/config-public-details","/admin/config-server-details","/admin/config-social-items","/admin/config-storage","/admin/config-video","/admin/federation/actions","/admin/federation/followers","/admin/hardware-info","/admin/help","/admin/logs","/admin/stream-health","/admin/upgrade","/admin/viewer-info","/admin/webhooks","/embed/chat/readonly","/embed/chat/readwrite","/embed/video"]}}("static/chunks/4485-1a6d1dff2c7e9712.js","static/chunks/3903-40ef42f3e9eb46b5.js","static/chunks/8909-a55c2326f65c0475.js","static/chunks/4267-cfe0f573c442773c.js","static/chunks/2206-53aea32a26a350a8.js","static/chunks/8091-5d2e0cdb05cd1ef7.js","static/chunks/575-11393a44fd60b818.js","static/chunks/5938-b5bac17e4fa31c49.js","static/chunks/5101-e2c6238798b20535.js","static/chunks/6395-1fa5d21fb518ec29.js","static/chunks/7466-1e76829814bac0c3.js","static/chunks/4763-00b0de2ecc334aed.js","static/chunks/5577-80194f897feb81a1.js","static/chunks/1082-51b9f63c6446d49d.js","static/chunks/5360-e33fd95511650040.js","static/chunks/29107295-1453a3860b50f70e.js","static/chunks/ee8b1517-59bb2a2ed7929bc5.js","static/chunks/8245-bd6f98841500302a.js","static/chunks/7066-524305b22bfbc967.js","static/chunks/8119-57984c2c349ea105.js","static/chunks/2938-98037ce4e714d752.js","static/chunks/9550-1a77c14173cd266e.js","static/chunks/4ad82c5e-573627f1f4333b92.js","static/chunks/1943-6d1cab809126a603.js","static/chunks/1938-c04d908728a12ddb.js","static/chunks/7661-9773fc2a51b7e27d.js","static/chunks/d3048c20-93c008b4ff3ddb0e.js","static/chunks/d2094a0f-c2013de6dbc53323.js","static/chunks/3729-e88e6289f5436bb5.js","static/chunks/4977-748e4374e401ea01.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file +self.__BUILD_MANIFEST=function(s,a,c,e,i,t,n,d,f,h,o,m,b,u,k,j,g,r,p,l,_,w,v,y,I,B,F,A,D,E){return{__rewrites:{beforeFiles:[],afterFiles:[{source:"/api/:path*"},{source:"/hls/:path*"},{source:"/img/:path*"},{source:"/logo"},{source:"/thumbnail.jpg"}],fallback:[]},"/":[c,a,e,n,d,h,u,k,p,"static/chunks/8793-97f96a16bc8069f8.js",o,"static/css/60b2cc0f1da20cc8.css","static/chunks/pages/index-6108ffcb5599e836.js"],"/_error":["static/chunks/pages/_error-02cc11fd74b4e5ff.js"],"/admin":[s,c,a,e,i,t,n,d,f,m,k,"static/chunks/8676-c38bd41883242e8e.js","static/chunks/pages/admin-5221044a356250c9.js"],"/admin/access-tokens":[s,c,a,e,i,t,"static/chunks/pages/admin/access-tokens-11d48bfbb9164a75.js"],"/admin/actions":[j,s,c,a,e,i,l,"static/chunks/pages/admin/actions-74918267e1a136d4.js"],"/admin/chat/emojis":[s,c,a,e,i,b,_,"static/chunks/pages/admin/chat/emojis-816a586418b83710.js"],"/admin/chat/messages":[j,s,c,a,e,i,t,d,w,"static/chunks/pages/admin/chat/messages-2228eaaf3b330365.js"],"/admin/chat/users":[j,s,c,a,e,i,t,n,d,w,"static/chunks/pages/admin/chat/users-91c7fbe4fd9c6cbb.js"],"/admin/config/appearance":[v,s,u,y,I,B,"static/css/6c8941159bdd16f6.css","static/chunks/pages/admin/config/appearance-567adc449d2dc459.js"],"/admin/config/streamkeys":[s,c,a,e,i,l,"static/chunks/pages/admin/config/streamkeys-34d61214246fa6ed.js"],"/admin/config-chat":[s,"static/chunks/pages/admin/config-chat-b4857a4a7fae071a.js"],"/admin/config-federation":[s,"static/chunks/8995-2163bbfbcf40237a.js","static/chunks/pages/admin/config-federation-9ae27c1ba5d89acd.js"],"/admin/config-notify":[s,"static/chunks/7187-1eb4e0029ced6d6f.js","static/chunks/pages/admin/config-notify-85efccec12709d62.js"],"/admin/config-public-details":[v,s,c,a,e,i,b,y,_,"static/chunks/7022-4af2eaa76070d1d8.js","static/chunks/pages/admin/config-public-details-c3a4c0c8f8a33c5e.js"],"/admin/config-server-details":[s,"static/chunks/pages/admin/config-server-details-2012b4860317eb65.js"],"/admin/config-social-items":[s,c,a,e,i,"static/chunks/pages/admin/config-social-items-77a7605b50d74264.js"],"/admin/config-storage":[s,"static/chunks/pages/admin/config-storage-d61b1d9c973a1eda.js"],"/admin/config-video":[s,c,a,e,i,B,"static/chunks/2729-1c5084eb645c9eab.js","static/chunks/pages/admin/config-video-63aec11ae5babbd9.js"],"/admin/federation/actions":[s,c,a,e,i,t,"static/chunks/pages/admin/federation/actions-c184bd23e2d9eac5.js"],"/admin/federation/followers":[c,a,e,i,t,n,"static/chunks/pages/admin/federation/followers-75a86a3e75f888a3.js"],"/admin/hardware-info":[g,s,t,n,f,b,m,r,"static/chunks/pages/admin/hardware-info-4aa7ed52fcb239f9.js"],"/admin/help":[n,f,u,I,"static/chunks/5682-3ce0b43db5671359.js","static/chunks/pages/admin/help-d51ac5a60cd64502.js"],"/admin/logs":[s,c,a,e,i,t,k,"static/chunks/pages/admin/logs-1da798696afcbce1.js"],"/admin/stream-health":[g,s,t,n,f,m,r,"static/chunks/7731-510a1c0a2d78ab06.js","static/chunks/pages/admin/stream-health-1a0b9804bb7e2b81.js"],"/admin/upgrade":[s,c,a,e,i,"static/chunks/2069-d9f139bc73aea8db.js","static/chunks/pages/admin/upgrade-0ddabcb9157be8ec.js"],"/admin/viewer-info":[g,s,c,a,e,i,t,n,d,f,b,m,r,"static/chunks/pages/admin/viewer-info-ca7e8445e1d0f23e.js"],"/admin/webhooks":[s,c,a,e,i,"static/chunks/pages/admin/webhooks-e8966ce2d3b8efca.js"],"/embed/chat/readonly":[F,A,h,D,o,E,"static/css/a49791b44feb7f30.css","static/chunks/pages/embed/chat/readonly-d5ddc4feaa5a70b3.js"],"/embed/chat/readwrite":[F,A,a,h,D,"static/chunks/4388-de04225921654db9.js",o,E,"static/css/95941802eb700518.css","static/chunks/pages/embed/chat/readwrite-0982b02e8f0e3f13.js"],"/embed/video":["static/chunks/d6e1aeb5-0705bf43bcd6af77.js",d,h,"static/css/7c735c05af084bb2.css","static/chunks/7902-139b487986de3737.js",p,o,"static/chunks/2239-de44814eef43316f.js","static/css/f065863129f648da.css","static/chunks/pages/embed/video-ff4917f8414b83db.js"],sortedPages:["/","/_app","/_error","/admin","/admin/access-tokens","/admin/actions","/admin/chat/emojis","/admin/chat/messages","/admin/chat/users","/admin/config/appearance","/admin/config/streamkeys","/admin/config-chat","/admin/config-federation","/admin/config-notify","/admin/config-public-details","/admin/config-server-details","/admin/config-social-items","/admin/config-storage","/admin/config-video","/admin/federation/actions","/admin/federation/followers","/admin/hardware-info","/admin/help","/admin/logs","/admin/stream-health","/admin/upgrade","/admin/viewer-info","/admin/webhooks","/embed/chat/readonly","/embed/chat/readwrite","/embed/video"]}}("static/chunks/4485-1a6d1dff2c7e9712.js","static/chunks/3903-40ef42f3e9eb46b5.js","static/chunks/8909-a55c2326f65c0475.js","static/chunks/4267-cfe0f573c442773c.js","static/chunks/2206-53aea32a26a350a8.js","static/chunks/8091-5d2e0cdb05cd1ef7.js","static/chunks/575-11393a44fd60b818.js","static/chunks/5938-b5bac17e4fa31c49.js","static/chunks/5101-e2c6238798b20535.js","static/chunks/6395-1fa5d21fb518ec29.js","static/chunks/7466-1e76829814bac0c3.js","static/chunks/4763-00b0de2ecc334aed.js","static/chunks/5577-80194f897feb81a1.js","static/chunks/1082-51b9f63c6446d49d.js","static/chunks/5360-e33fd95511650040.js","static/chunks/29107295-1453a3860b50f70e.js","static/chunks/ee8b1517-59bb2a2ed7929bc5.js","static/chunks/8245-bd6f98841500302a.js","static/chunks/7066-524305b22bfbc967.js","static/chunks/8119-57984c2c349ea105.js","static/chunks/2938-98037ce4e714d752.js","static/chunks/9550-1a77c14173cd266e.js","static/chunks/4ad82c5e-573627f1f4333b92.js","static/chunks/1943-6d1cab809126a603.js","static/chunks/1938-c04d908728a12ddb.js","static/chunks/7661-9773fc2a51b7e27d.js","static/chunks/d3048c20-93c008b4ff3ddb0e.js","static/chunks/d2094a0f-c2013de6dbc53323.js","static/chunks/3729-e88e6289f5436bb5.js","static/chunks/4977-1b8a661db2793f1c.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/static/web/_next/static/qUuHutC8-vZ16nFbC5gTx/_ssgManifest.js b/static/web/_next/static/s2WirtkYSLuDPn2wo87Jc/_ssgManifest.js similarity index 100% rename from static/web/_next/static/qUuHutC8-vZ16nFbC5gTx/_ssgManifest.js rename to static/web/_next/static/s2WirtkYSLuDPn2wo87Jc/_ssgManifest.js diff --git a/static/web/admin/access-tokens/index.html b/static/web/admin/access-tokens/index.html index 9d952426a..6b58a6582 100644 --- a/static/web/admin/access-tokens/index.html +++ b/static/web/admin/access-tokens/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Access Tokens

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

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Access Tokens

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

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

What is your stream about today?

What is your stream about today?
Offline

External Actions

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

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

External Actions

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

\ No newline at end of file diff --git a/static/web/admin/chat/emojis/index.html b/static/web/admin/chat/emojis/index.html index 4324fa4bf..383dec08f 100644 --- a/static/web/admin/chat/emojis/index.html +++ b/static/web/admin/chat/emojis/index.html @@ -1 +1 @@ -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

\ No newline at end of file +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

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

What is your stream about today?

What is your stream about today?
Offline

Chat Messages

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

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

What is your stream about today?

What is your stream about today?
Offline

Chat Messages

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

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

What is your stream about today?

What is your stream about today?
Offline

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

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

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

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

What is your stream about today?

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

What is your stream about today?

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

What is your stream about today?

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

What is your stream about today?

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

What is your stream about today?

What is your stream about today?
Offline

Notifications

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


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

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

Browser Alerts

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

Not all browsers support this.

Enable browser notifications

The text to send when you go live.

Twitter

Let your Twitter followers know each time you go live.

Enable Twitter

The text to send when you go live.

Discord

Let your Discord channel know each time you go live.

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

Enable Discord

The webhook assigned to your channel.

The text to send when you go live.

Fediverse Social

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

Fediverse social features: Disabled

Custom

Build your own notifications by using custom webhooks.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Notifications

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


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

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

Browser Alerts

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

Not all browsers support this.

Enable browser notifications

The text to send when you go live.

Twitter

Let your Twitter followers know each time you go live.

Enable Twitter

The text to send when you go live.

Discord

Let your Discord channel know each time you go live.

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

Enable Discord

The webhook assigned to your channel.

The text to send when you go live.

Fediverse Social

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

Fediverse social features: Disabled

Custom

Build your own notifications by using custom webhooks.

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

What is your stream about today?

What is your stream about today?
Offline

General Settings

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

Custom Page Content

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


\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

General Settings

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

Custom Page Content

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


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

What is your stream about today?

What is your stream about today?
Offline

Server Settings

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

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Server Settings

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

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

What is your stream about today?

What is your stream about today?
Offline

Social Items

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Social Items

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

What is your stream about today?

What is your stream about today?
Offline

Storage

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

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

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

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Storage

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

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

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

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

What is your stream about today?

What is your stream about today?
Offline

Video configuration

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

Stream output

NameVideo bitrateCPU Usage
No name800 kbpsMedium

Latency Buffer

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

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

LowestHighest

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Video configuration

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

Stream output

NameVideo bitrateCPU Usage
No name800 kbpsMedium

Latency Buffer

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

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

LowestHighest

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

What is your stream about today?

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

What is your stream about today?

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

What is your stream about today?

What is your stream about today?
Offline

Streaming Keys

A streaming key is used with your broadcasting software to authenticate itself to Owncast. Most people will only need one. However, if you share a server with others or you want different keys for different broadcasting sources you can add more here.
These keys are unrelated to the admin password and will not grant you access to make changes to Owncast's configuration.
Read more about broadcasting at the documentation.
KeyComment
No data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Streaming Keys

A streaming key is used with your broadcasting software to authenticate itself to Owncast. Most people will only need one. However, if you share a server with others or you want different keys for different broadcasting sources you can add more here.
These keys are unrelated to the admin password and will not grant you access to make changes to Owncast's configuration.
Read more about broadcasting at the documentation.
KeyComment
No data

\ No newline at end of file diff --git a/static/web/admin/federation/actions/index.html b/static/web/admin/federation/actions/index.html index 313c5cb60..44a9bc69d 100644 --- a/static/web/admin/federation/actions/index.html +++ b/static/web/admin/federation/actions/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Fediverse Actions

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

What is your stream about today?

What is your stream about today?
Offline

Fediverse Actions

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

What is your stream about today?

What is your stream about today?
Offline

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

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

What is your stream about today?

What is your stream about today?
Offline

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

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

What is your stream about today?

What is your stream about today?
Offline

Hardware Info


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

What is your stream about today?

What is your stream about today?
Offline

Hardware Info


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

What is your stream about today?

What is your stream about today?
Offline

How can we help you?

Troubleshooting

Fix your problems

Documentation

Read the Docs

Common tasks

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

Other

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

What is your stream about today?

What is your stream about today?
Offline

How can we help you?

Troubleshooting

Fix your problems

Documentation

Read the Docs

Common tasks

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

Other

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

What is your stream about today?

What is your stream about today?
Offline

No stream is active

You should start one.

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

News & Updates from Owncast

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

No stream is active

You should start one.

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

News & Updates from Owncast

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

What is your stream about today?

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

What is your stream about today?

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

What is your stream about today?

What is your stream about today?
Offline

Stream Performance

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Stream Performance

\ No newline at end of file diff --git a/static/web/admin/upgrade/index.html b/static/web/admin/upgrade/index.html index 516b82f48..69f67531f 100644 --- a/static/web/admin/upgrade/index.html +++ b/static/web/admin/upgrade/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Thu Jan 01 1970

Downloads

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

What is your stream about today?

What is your stream about today?
Offline

Thu Jan 01 1970

Downloads

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

What is your stream about today?

What is your stream about today?
Offline

Viewer Info


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

What is your stream about today?

What is your stream about today?
Offline

Viewer Info


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

What is your stream about today?

What is your stream about today?
Offline

Webhooks

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

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Webhooks

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

\ No newline at end of file diff --git a/static/web/embed/chat/readonly/index.html b/static/web/embed/chat/readonly/index.html index 6907fb11f..50fd0131b 100644 --- a/static/web/embed/chat/readonly/index.html +++ b/static/web/embed/chat/readonly/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/static/web/embed/chat/readwrite/index.html b/static/web/embed/chat/readwrite/index.html index 43cc9935c..930ff6a2e 100644 --- a/static/web/embed/chat/readwrite/index.html +++ b/static/web/embed/chat/readwrite/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/static/web/embed/video/index.html b/static/web/embed/video/index.html index b7944c451..b745c7d12 100644 --- a/static/web/embed/video/index.html +++ b/static/web/embed/video/index.html @@ -1 +1 @@ -
This stream is offline. Check back soon!
\ No newline at end of file +
This stream is offline. Check back soon!
\ No newline at end of file diff --git a/static/web/index.html b/static/web/index.html index 4ff6dc155..23084c762 100644 --- a/static/web/index.html +++ b/static/web/index.html @@ -1,9 +1,9 @@ {{.Name}}
{{.Name}}

Logo
Preview
\ No newline at end of file +

Logo
Preview
\ No newline at end of file