Bundle embedded web app

This commit is contained in:
Owncast 2023-11-09 04:15:39 +00:00
parent af26f0dac9
commit 87e1e1e6f2
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

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

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