0

Bundle embedded web app

This commit is contained in:
Owncast 2023-06-27 22:53:51 +00:00
parent 02811ef37e
commit ffcc40d471
36 changed files with 37 additions and 37 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 @@
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[344],{20344:function(e,t,r){r.r(t),r.d(t,{EmojiPicker:function(){return s}});var c=r(85893),n=r(67294),o=r(57741);let s=e=>{let{onEmojiSelect:t,onCustomEmojiSelect:r}=e,[s,a]=(0,n.useState)([]),u=(0,n.useRef)(),i=async()=>{try{let e=await fetch("/api/emoji"),t=await e.json();a(t)}catch(e){console.error("cannot fetch custom emoji",e)}};return(0,n.useEffect)(()=>{i()},[]),(0,n.useEffect)(()=>{let e=s.map(e=>({emoji:e.name,label:e.name,url:e.url})),c=(0,o.wU)({rootElement:u.current,custom:e,initialCategory:"custom",showPreview:!1,showRecents:!0});c.addEventListener("emoji:select",e=>{e.url?r(e.label,e.url):t(e.emoji)})},[s]),(0,c.jsx)("div",{ref:u})}}}]);

View File

@ -0,0 +1 @@
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[344],{20344:function(e,t,r){r.r(t),r.d(t,{EmojiPicker:function(){return s}});var u=r(85893),l=r(67294),n=r(57741);let s=e=>{let{onEmojiSelect:t,onCustomEmojiSelect:r,customEmoji:s}=e,i=(0,l.useRef)();return(0,l.useEffect)(()=>{let e=s.map(e=>({emoji:e.name,label:e.name,url:e.url})),u=(0,n.wU)({rootElement:i.current,custom:e,initialCategory:"custom",showPreview:!1,showRecents:!0});u.addEventListener("emoji:select",e=>{e.url?r(e.label,e.url):t(e.emoji)})},[]),(0,u.jsx)("div",{ref:i})}}}]);

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

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