Bundle embedded web app

This commit is contained in:
Owncast 2023-07-21 23:02:24 +00:00
parent f112f9813d
commit 3dafc77140
37 changed files with 38 additions and 38 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

View file

@ -1 +0,0 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5111],{85111:function(e,t,o){"use strict";o.r(t),o.d(t,{NotifyReminderPopup:function(){return c}});var n=o(85893),i=o(62443),r=o(67294),s=o(5152),p=o.n(s),u=o(40862),l=o.n(u);let a=p()(()=>Promise.resolve().then(o.t.bind(o,40753,23)),{loadableGenerated:{webpack:()=>[40753]},ssr:!1}),c=e=>{let{children:t,open:o,notificationClicked:s,notificationClosed:p}=e,[u,c]=(0,r.useState)(o),[d,b]=(0,r.useState)(!1);(0,r.useEffect)(()=>{c(o)},[o]),(0,r.useEffect)(()=>{b(!0)},[]);let f=(0,n.jsx)("div",{className:l().title,children:"Stay updated!"}),m=e=>{e.stopPropagation(),s()},h=(0,n.jsxs)("div",{onClick:m,onKeyDown:m,role:"menuitem",tabIndex:0,children:[(0,n.jsx)("button",{type:"button",className:l().closebutton,onClick:e=>{e.stopPropagation(),c(!1),p()},children:(0,n.jsx)(a,{})}),(0,n.jsxs)("div",{className:l().contentbutton,children:["Click and never miss",(0,n.jsx)("br",{}),"future streams!"]})]});return d&&(0,n.jsx)(i.default,{placement:"topRight",defaultOpen:u,open:u,destroyTooltipOnHide:!0,title:f,content:h,overlayInnerStyle:{borderRadius:"5px",cursor:"pointer",paddingTop:"10px",paddingRight:"10px",fontSize:"14px"},color:l().popupBackgroundColor,children:(0,n.jsx)("div",{children:t})})}},40862:function(e){e.exports={popupBackgroundColor:"var(--theme-color-components-primary-button-background)",contentbutton:"NotifyReminderPopup_contentbutton___iqOh",closebutton:"NotifyReminderPopup_closebutton__dpvj4",title:"NotifyReminderPopup_title__imysF"}}}]);

View file

@ -0,0 +1 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5395],{45395:function(e,t,o){"use strict";o.r(t),o.d(t,{NotifyReminderPopup:function(){return _}});var n=o(85893),s=o(67294),r=o(5152),c=o.n(r),i=o(40862),l=o.n(i),a=o(40998),p=o.n(a);let u=e=>{let{open:t,title:o,content:s,children:r}=e;return(0,n.jsxs)("div",{style:{width:"max-content",height:"max-content"},children:[t&&(0,n.jsx)("div",{className:p().anchor,children:(0,n.jsxs)("div",{className:p().popover,children:[(0,n.jsx)("div",{className:p().title,children:o}),(0,n.jsx)("hr",{style:{color:"var(--color-owncast-palette-4)"}}),(0,n.jsx)("div",{className:p().content,children:s})]})}),r]})},d=c()(()=>Promise.resolve().then(o.t.bind(o,40753,23)),{loadableGenerated:{webpack:()=>[40753]},ssr:!1}),_=e=>{let{children:t,open:o,notificationClicked:r,notificationClosed:c}=e,[i,a]=(0,s.useState)(o),[p,_]=(0,s.useState)(!1);(0,s.useEffect)(()=>{a(o)},[o]),(0,s.useEffect)(()=>{_(!0)},[]);let h=(0,n.jsx)("div",{className:l().title,children:"Stay updated!"}),m=e=>{e.stopPropagation(),r()},v=(0,n.jsxs)("div",{onClick:m,onKeyDown:m,role:"menuitem",tabIndex:0,children:[(0,n.jsx)("button",{type:"button",className:l().closebutton,onClick:e=>{e.stopPropagation(),a(!1),c()},children:(0,n.jsx)(d,{})}),(0,n.jsx)("div",{className:l().contentbutton,children:"Click and never miss future streams!"})]});return p&&(0,n.jsx)(u,{open:i,title:h,content:v,children:t})}},40862:function(e){e.exports={popupBackgroundColor:"var(--theme-color-components-primary-button-background)",contentbutton:"NotifyReminderPopup_contentbutton___iqOh",closebutton:"NotifyReminderPopup_closebutton__dpvj4",title:"NotifyReminderPopup_title__imysF"}},40998:function(e){e.exports={anchor:"Popover_anchor__GI7l_",popover:"Popover_popover__pMNs7",title:"Popover_title__T__E6",content:"Popover_content__7gDLm"}}}]);

View file

@ -0,0 +1 @@
.Popover_anchor__GI7l_{position:relative;left:50%;width:0;height:0}.Popover_popover__pMNs7{background-color:var(--theme-color-components-primary-button-background);position:absolute;bottom:10px;right:-20px;border-radius:5px;width:-moz-max-content;width:max-content}.Popover_popover__pMNs7>.Popover_title__T__E6{padding:10px 10px 0}.Popover_popover__pMNs7>.Popover_content__7gDLm{padding:0 10px 10px}.Popover_popover__pMNs7:after{content:"";border:10px solid transparent;border-top:10px solid var(--theme-color-components-primary-button-background);right:10px;position:absolute}.NotifyReminderPopup_contentbutton___iqOh{width:150px;text-align:left}.NotifyReminderPopup_closebutton__dpvj4,.NotifyReminderPopup_contentbutton___iqOh{background-color:transparent;border:none;cursor:pointer;color:var(--theme-color-components-text-on-dark)}.NotifyReminderPopup_closebutton__dpvj4{position:absolute;right:0;top:0;font-size:1.3rem}.NotifyReminderPopup_title__imysF{border-bottom:none;font-weight:700;padding-left:5px;color:var(--theme-color-components-text-on-dark)}

View file

@ -1 +0,0 @@
.NotifyReminderPopup_contentbutton___iqOh{text-align:left}.NotifyReminderPopup_closebutton__dpvj4,.NotifyReminderPopup_contentbutton___iqOh{background-color:transparent;border:none;cursor:pointer;color:var(--theme-color-components-text-on-dark)}.NotifyReminderPopup_closebutton__dpvj4{position:absolute;right:10px;top:10px;font-size:1.3rem}.NotifyReminderPopup_title__imysF{border-bottom:none;font-weight:700;padding-left:5px;color:var(--theme-color-components-text-on-dark)}

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

2
static/web/sw.js vendored

File diff suppressed because one or more lines are too long