Bundle embedded web app

This commit is contained in:
Owncast 2023-04-27 17:31:39 +00:00
parent f2fbce113e
commit be3e6361f1
36 changed files with 35 additions and 35 deletions

2
static/web/404.html vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[955,7533],{15746:function(e,a,s){"use strict";var i=s(21584);a.Z=i.Z},71230:function(e,a,s){"use strict";var i=s(92820);a.Z=i.Z},30672:function(e,a,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/embed/chat/readwrite",function(){return s(73411)}])},14940:function(e,a,s){"use strict";s.d(a,{h:function(){return u}});var i=s(85893),t=s(24093),n=s(94199),l=s(94184),r=s.n(l),o=s(5152),c=s.n(o),d=s(41664),h=s.n(d),f=s(91935),_=s.n(f);let p=c()(()=>Promise.all([s.e(4931),s.e(3013),s.e(9266)]).then(s.bind(s,79266)).then(e=>e.UserDropdown),{loadableGenerated:{webpack:()=>[79266]},ssr:!1}),u=e=>{let{name:a,chatAvailable:s,chatDisabled:l,online:o}=e;return(0,i.jsxs)("header",{className:r()(["".concat(_().header)],"global-header"),children:[o?(0,i.jsx)(h(),{href:"#player",className:_().skipLink,children:"Skip to player"}):(0,i.jsx)(h(),{href:"#offline-message",className:_().skipLink,children:"Skip to offline message"}),(0,i.jsx)(h(),{href:"#skip-to-content",className:_().skipLink,children:"Skip to page content"}),(0,i.jsx)(h(),{href:"#footer",className:_().skipLink,children:"Skip to footer"}),(0,i.jsxs)("div",{className:_().logo,children:[(0,i.jsx)("div",{id:"header-logo",className:_().logoImage,children:(0,i.jsx)(t.C,{src:"/logo",size:"large",shape:"circle",className:_().avatar})}),(0,i.jsx)("h1",{className:_().title,id:"global-header-text",children:a})]}),s&&!l&&(0,i.jsx)(p,{}),!s&&!l&&(0,i.jsx)(n.Z,{overlayClassName:_().toolTip,title:"Chat will be available when the stream is live.",placement:"left",children:(0,i.jsx)("span",{className:_().chatOfflineText,children:"Chat is offline"})})]})};a.Z=u},73411:function(e,a,s){"use strict";s.r(a),s.d(a,{default:function(){return o}});var i=s(85893),t=s(4480),n=s(92093),l=s(44974),r=s(14940);function o(){let e=(0,t.sJ)(l.db),a=(0,t.sJ)(l.pH),s=(0,t.sJ)(l.g1),o=(0,t.sJ)(l.RI),c=(0,t.sJ)(l.Q),d=(0,t.sJ)(l.di),{name:h,chatDisabled:f}=s,{videoAvailable:_}=c,{streamTitle:p,online:u}=o;return(0,i.jsxs)("div",{children:[(0,i.jsx)(l.me,{}),(0,i.jsx)(r.Z,{name:u&&p||h,chatAvailable:!0,chatDisabled:f,online:_}),e&&(0,i.jsx)("div",{id:"chat-container",children:(0,i.jsx)(n.ChatContainer,{messages:a,usernameToHighlight:e.displayName,chatUserId:e.id,isModerator:e.isModerator,showInput:!0,height:"80vh",chatAvailable:d})})]})}},91935:function(e){e.exports={header:"Header_header__U4Ro1",logoImage:"Header_logoImage__beIL2",logo:"Header_logo__HLZ6Z",title:"Header_title__FIts2",skipLink:"Header_skipLink__9Pusb",offlineTag:"Header_offlineTag__0p3lk",avatar:"Header_avatar__bL8Jw",chatOfflineText:"Header_chatOfflineText__yYfMS",toolTip:"Header_toolTip__e3Ht7"}}},function(e){e.O(0,[1272,8700,2184,2414,1664,2332,8131,2259,6959,2093,9774,2888,179],function(){return e(e.s=30672)}),_N_E=e.O()}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
.OfflineBanner_outerContainer__3AbsB{display:flex;justify-content:center;align-items:center}@media only screen and (max-width:768px){.OfflineBanner_outerContainer__3AbsB{height:430px}}@media only screen and (max-width:481px){.OfflineBanner_outerContainer__3AbsB{height:280px}}.OfflineBanner_innerContainer__zTm13{width:clamp(0px,100%,600px);display:flex;flex-direction:column;margin:3rem auto;padding:2.4em}@media only screen and (max-width:768px){.OfflineBanner_innerContainer__zTm13{font-size:1.2rem;padding:1em;margin:1rem .2rem}}.OfflineBanner_bodyText__nNNy0{line-height:2rem;font-size:1.2rem}.OfflineBanner_separator___j_Ss{margin-top:15px;margin-bottom:15px}.OfflineBanner_lastLiveDate___UZdO{margin-top:2rem;font-size:.8rem;opacity:.7;font-family:var(--theme-text-body-font-family);font-weight:300}.OfflineBanner_lastLiveDate___UZdO .OfflineBanner_clockIcon__s0DB_{margin-right:6px}.OfflineBanner_header__Vu20o{font-family:var(--theme-text-display-font-family);font-weight:600;font-size:1.4rem}.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)}.Statusbar_statusbar__AtVnB{display:flex;align-items:center;justify-content:space-between;height:2rem;width:100%;padding:var(--content-padding);color:var(--theme-color-components-video-status-bar-foreground);background-color:var(--theme-color-components-video-status-bar-background);font-family:var(--theme-text-display-font-family);font-size:11px;font-weight:400}.Statusbar_onlineMessage__66r5C{letter-spacing:.5px}.Statusbar_viewerCount__S6_dZ{vertical-align:middle}.Statusbar_viewerIcon__yAOw1{display:inline-block;margin-right:.5rem}.VideoJS_player__GT8FN{width:100%}.VideoPoster_poster__RDkSk{display:flex;justify-content:center;width:100%;height:100%}.VideoPoster_image__DAj_o{background-color:#000}.OwncastPlayer_container__YfgRy{display:grid;width:100%;justify-items:center;height:75vh;aspect-ratio:16/9}@media(max-width:1200px){.OwncastPlayer_container__YfgRy{height:100%;max-height:75vh}}@media only screen and (max-width:768px){.OwncastPlayer_container__YfgRy{height:400px;max-height:400px}}@media only screen and (max-width:481px){.OwncastPlayer_container__YfgRy{height:250px;max-height:250px}}.OwncastPlayer_container__YfgRy .OwncastPlayer_player__R7XKJ,.OwncastPlayer_container__YfgRy .OwncastPlayer_poster__8RqUC{width:100%;grid-column:1;grid-row:1}.OwncastPlayer_fill__AdH_e{max-height:unset}
.OfflineBanner_outerContainer__3AbsB{display:flex;justify-content:center;align-items:center}@media only screen and (max-width:768px){.OfflineBanner_outerContainer__3AbsB{height:430px}}@media only screen and (max-width:481px){.OfflineBanner_outerContainer__3AbsB{height:280px}}.OfflineBanner_innerContainer__zTm13{width:clamp(0px,100%,600px);display:flex;flex-direction:column;margin:3rem auto;padding:2.4em}@media only screen and (max-width:768px){.OfflineBanner_innerContainer__zTm13{font-size:1.2rem;padding:1em;margin:1rem .2rem}}.OfflineBanner_bodyText__nNNy0{line-height:2rem;font-size:1.2rem}.OfflineBanner_separator___j_Ss{margin-top:15px;margin-bottom:15px}.OfflineBanner_lastLiveDate___UZdO{margin-top:2rem;font-size:.8rem;opacity:.7;font-family:var(--theme-text-body-font-family);font-weight:300}.OfflineBanner_lastLiveDate___UZdO .OfflineBanner_clockIcon__s0DB_{margin-right:6px}.OfflineBanner_header__Vu20o{font-family:var(--theme-text-display-font-family);font-weight:600;font-size:1.4rem}.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)}.Statusbar_statusbar__AtVnB{display:flex;align-items:center;justify-content:space-between;height:2rem;width:100%;padding:var(--content-padding);color:var(--theme-color-components-video-status-bar-foreground);background-color:var(--theme-color-components-video-status-bar-background);font-family:var(--theme-text-display-font-family);font-size:11px;font-weight:400}.Statusbar_onlineMessage__66r5C{letter-spacing:.5px}.Statusbar_viewerCount__S6_dZ{vertical-align:middle}.Statusbar_viewerIcon__yAOw1{display:inline-block;margin-right:.5rem}.VideoJS_player__GT8FN{width:100%}.VideoPoster_poster__RDkSk{display:flex;justify-content:center;width:100%;height:100%}.VideoPoster_image__DAj_o{background-color:#000}.OwncastPlayer_container__YfgRy{display:grid;width:100%;justify-items:center;height:75vh;aspect-ratio:16/9}@media(max-width:1200px){.OwncastPlayer_container__YfgRy{height:100%;max-height:75vh}}@media only screen and (max-width:768px){.OwncastPlayer_container__YfgRy{height:400px;max-height:400px}}@media only screen and (max-width:481px){.OwncastPlayer_container__YfgRy{height:250px;max-height:250px}}.OwncastPlayer_container__YfgRy .OwncastPlayer_player__R7XKJ,.OwncastPlayer_container__YfgRy .OwncastPlayer_poster__8RqUC{width:100%;grid-column:1;grid-row:1}.OwncastPlayer_fill__AdH_e{max-height:unset}.VideoEmbed_onlineContainer__AkPYx{height:96vh;background-color:var(--theme-color-components-video-status-bar-background)}@media only screen and (max-width:768px){.VideoEmbed_onlineContainer__AkPYx{height:100vh}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long