mirror of
https://github.com/owncast/owncast.git
synced 2024-11-21 20:28:15 +03:00
Bundle embedded web app
This commit is contained in:
parent
7dc2a1a4bc
commit
6eb9c54b37
202 changed files with 160 additions and 115 deletions
12
static/web/404.html
Normal file
12
static/web/404.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><title>404: This page could not be found</title><meta name="next-head-count" content="3"/><link rel="preload" href="/_next/static/css/aaed09949e79ccfe.css" as="style"/><link rel="stylesheet" href="/_next/static/css/aaed09949e79ccfe.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/_next/static/chunks/webpack-4fc08a26fb5ee721.js" defer=""></script><script src="/_next/static/chunks/framework-79bce4a3a540b080.js" defer=""></script><script src="/_next/static/chunks/main-43d3d12d262e745e.js" defer=""></script><script src="/_next/static/chunks/pages/_app-89dbb51c7b00d858.js" defer=""></script><script src="/_next/static/chunks/pages/_error-f2496e8b9fdedb89.js" defer=""></script><script src="/_next/static/TFpAvV3zqrb5ci8c-rLvT/_buildManifest.js" defer=""></script><script src="/_next/static/TFpAvV3zqrb5ci8c-rLvT/_ssgManifest.js" defer=""></script></head><body><div id="__next" data-reactroot=""><div><div style="font-family:-apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Fira Sans", Avenir, "Helvetica Neue", "Lucida Grande", sans-serif;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>
|
||||
body { margin: 0; color: #000; background: #fff; }
|
||||
.next-error-h1 {
|
||||
border-right: 1px solid rgba(0, 0, 0, .3);
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
body { color: #fff; background: #000; }
|
||||
.next-error-h1 {
|
||||
border-right: 1px solid rgba(255, 255, 255, .3);
|
||||
}
|
||||
}</style><h1 class="next-error-h1" style="display:inline-block;margin:0;margin-right:20px;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block;text-align:left;line-height:49px;height:49px;vertical-align:middle"><h2 style="font-size:14px;font-weight:normal;line-height:49px;margin:0;padding:0">This page could not be found<!-- -->.</h2></div></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"TFpAvV3zqrb5ci8c-rLvT","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
|
|
@ -1 +1,12 @@
|
|||
<!DOCTYPE html><html><head><meta name="viewport" content="width=device-width"/><meta charSet="utf-8"/><title>404: This page could not be found</title><meta name="next-head-count" content="3"/><link rel="preload" href="/_next/static/css/8048f473def6f541.css" as="style"/><link rel="stylesheet" href="/_next/static/css/8048f473def6f541.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-5cd94c89d3acac5f.js"></script><script src="/_next/static/chunks/webpack-621419216d39691d.js" defer=""></script><script src="/_next/static/chunks/framework-79bce4a3a540b080.js" defer=""></script><script src="/_next/static/chunks/main-95aa2df24180ff28.js" defer=""></script><script src="/_next/static/chunks/pages/_app-67f85ec7875ccdc4.js" defer=""></script><script src="/_next/static/chunks/pages/_error-d39607a4676a4aa5.js" defer=""></script><script src="/_next/static/jtIXjBUjrATfh0Er1orzc/_buildManifest.js" defer=""></script><script src="/_next/static/jtIXjBUjrATfh0Er1orzc/_ssgManifest.js" defer=""></script><script src="/_next/static/jtIXjBUjrATfh0Er1orzc/_middlewareManifest.js" defer=""></script></head><body><div id="__next" data-reactroot=""><div><div style="color:#000;background:#fff;font-family:-apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Fira Sans", Avenir, "Helvetica Neue", "Lucida Grande", sans-serif;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body { margin: 0 }</style><h1 style="display:inline-block;border-right:1px solid rgba(0, 0, 0,.3);margin:0;margin-right:20px;padding:10px 23px 10px 0;font-size:24px;font-weight:500;vertical-align:top">404</h1><div style="display:inline-block;text-align:left;line-height:49px;height:49px;vertical-align:middle"><h2 style="font-size:14px;font-weight:normal;line-height:inherit;margin:0;padding:0">This page could not be found<!-- -->.</h2></div></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"jtIXjBUjrATfh0Er1orzc","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
|
||||
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><title>404: This page could not be found</title><meta name="next-head-count" content="3"/><link rel="preload" href="/_next/static/css/aaed09949e79ccfe.css" as="style"/><link rel="stylesheet" href="/_next/static/css/aaed09949e79ccfe.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/_next/static/chunks/webpack-4fc08a26fb5ee721.js" defer=""></script><script src="/_next/static/chunks/framework-79bce4a3a540b080.js" defer=""></script><script src="/_next/static/chunks/main-43d3d12d262e745e.js" defer=""></script><script src="/_next/static/chunks/pages/_app-89dbb51c7b00d858.js" defer=""></script><script src="/_next/static/chunks/pages/_error-f2496e8b9fdedb89.js" defer=""></script><script src="/_next/static/TFpAvV3zqrb5ci8c-rLvT/_buildManifest.js" defer=""></script><script src="/_next/static/TFpAvV3zqrb5ci8c-rLvT/_ssgManifest.js" defer=""></script></head><body><div id="__next" data-reactroot=""><div><div style="font-family:-apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Fira Sans", Avenir, "Helvetica Neue", "Lucida Grande", sans-serif;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>
|
||||
body { margin: 0; color: #000; background: #fff; }
|
||||
.next-error-h1 {
|
||||
border-right: 1px solid rgba(0, 0, 0, .3);
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
body { color: #fff; background: #000; }
|
||||
.next-error-h1 {
|
||||
border-right: 1px solid rgba(255, 255, 255, .3);
|
||||
}
|
||||
}</style><h1 class="next-error-h1" style="display:inline-block;margin:0;margin-right:20px;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block;text-align:left;line-height:49px;height:49px;vertical-align:middle"><h2 style="font-size:14px;font-weight:normal;line-height:49px;margin:0;padding:0">This page could not be found<!-- -->.</h2></div></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"TFpAvV3zqrb5ci8c-rLvT","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
|
|
@ -0,0 +1 @@
|
|||
self.__BUILD_MANIFEST=function(a,s,c,e,i,t,n,d,f,o,h,m,b,u,r,g,k,j,p,l){return{__rewrites:{beforeFiles:[],afterFiles:[{source:"/api/:path*"},{source:"/hls/:path*"},{source:"/img/:path*"},{source:"/logo"},{source:"/thumbnail.jpg"}],fallback:[]},"/":[h,"static/chunks/d3048c20-8eaf58bdb6ce3d73.js",a,e,i,m,b,u,"static/chunks/3079-b927be19d77a268e.js",r,"static/css/4c06ee5b22e75406.css","static/chunks/pages/index-8b6e4a6eca5c5c55.js"],"/_error":["static/chunks/pages/_error-f2496e8b9fdedb89.js"],"/admin":[a,s,c,e,i,t,n,g,"static/chunks/3016-22415cbfddc0e38b.js","static/chunks/pages/admin-ddc16abe2a2d997e.js"],"/admin/access-tokens":[a,s,c,"static/chunks/pages/admin/access-tokens-ef4cfda69ac8b2ee.js"],"/admin/actions":[a,s,"static/chunks/pages/admin/actions-7c5a6b0030e5ec6a.js"],"/admin/chat/messages":[k,a,s,c,i,j,"static/chunks/pages/admin/chat/messages-af084d68aaf69be4.js"],"/admin/chat/users":[k,a,s,c,e,i,j,"static/chunks/pages/admin/chat/users-f8d438b5aecb5292.js"],"/admin/config-chat":["static/chunks/pages/admin/config-chat-d027691622271c60.js"],"/admin/config-federation":["static/chunks/1829-271cba4b38fde9a4.js","static/chunks/pages/admin/config-federation-a75cf82c23e440d0.js"],"/admin/config-notify":["static/chunks/pages/admin/config-notify-48561d4d85f054db.js"],"/admin/config-public-details":[a,s,d,"static/css/1f5ee95fffd43a71.css","static/chunks/1142-ff0807f5dbadb132.js",p,"static/chunks/pages/admin/config-public-details-31654d489de58274.js"],"/admin/config-server-details":[l,"static/chunks/pages/admin/config-server-details-cfddd10d6e1a3881.js"],"/admin/config-social-items":[a,s,p,"static/chunks/pages/admin/config-social-items-9d7af265ea826f51.js"],"/admin/config-storage":["static/chunks/5473-185a5241676edf4a.js","static/chunks/pages/admin/config-storage-5b012c0b86cb053f.js"],"/admin/config-video":[a,s,l,"static/chunks/7565-1f1e940fab986d84.js","static/chunks/pages/admin/config-video-9e7427da1bf9e1a6.js"],"/admin/federation/actions":[a,s,c,"static/chunks/pages/admin/federation/actions-d475626c90492b9e.js"],"/admin/federation/followers":[a,s,c,e,"static/chunks/pages/admin/federation/followers-0f7f41f2b119c84d.js"],"/admin/hardware-info":[f,c,e,t,n,o,d,"static/chunks/pages/admin/hardware-info-e9038d50e44de278.js"],"/admin/help":[e,t,u,"static/chunks/5046-d432b07dbd9a0a74.js","static/chunks/pages/admin/help-46a096bbce5abafb.js"],"/admin/logs":[a,s,c,g,"static/chunks/pages/admin/logs-55d44b7f56d109e1.js"],"/admin/stream-health":[f,c,e,t,n,o,"static/chunks/pages/admin/stream-health-2c95e7cbb460391e.js"],"/admin/upgrade":[a,s,"static/chunks/9001-0de9b937fdbe661d.js","static/chunks/pages/admin/upgrade-27c19ef345f1a067.js"],"/admin/viewer-info":[f,a,s,c,e,i,t,n,o,d,"static/chunks/pages/admin/viewer-info-dd75479a4f6858b9.js"],"/admin/webhooks":[a,s,"static/chunks/pages/admin/webhooks-9d91ad0a0ec2bb50.js"],"/embed/chat/readonly":["static/chunks/pages/embed/chat/readonly-f54fb5897d32adcf.js"],"/embed/chat/readwrite":["static/chunks/pages/embed/chat/readwrite-eba1c9e46b587c63.js"],"/embed/video":[h,i,m,b,r,"static/css/f58d98f52dc8743c.css","static/chunks/pages/embed/video-7bc6ce2f7f099935.js"],sortedPages:["/","/_app","/_error","/admin","/admin/access-tokens","/admin/actions","/admin/chat/messages","/admin/chat/users","/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/384-9cef8f24921b00dc.js","static/chunks/355-501bf54a6213cc0c.js","static/chunks/8091-5880357d1811013a.js","static/chunks/7961-c8ab0146e31ca9c6.js","static/chunks/5938-b8bf626b6df6d168.js","static/chunks/5315-8b4116e0e1118ee9.js","static/chunks/4763-b88542f3b2d350b7.js","static/chunks/7910-7248e2d1496cf795.js","static/chunks/3fff1979-612c6162f1b345ff.js","static/chunks/2139-c72b3a851c3b6fc9.js","static/chunks/d6e1aeb5-1e3969b413cccadf.js","static/css/e70d97a4c102bec4.css","static/chunks/2001-5f2f22a1a6f54f40.js","static/chunks/1082-b00b8f63f0314247.js","static/chunks/4935-053b4824ae67bc45.js","static/chunks/2429-cd1a27121f8cb4b6.js","static/chunks/29107295-4a69275373f23f88.js","static/chunks/7464-bbe0a7b2b04a78ae.js","static/chunks/1017-c26780a26480b2de.js","static/chunks/3286-6a58a49757a74053.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
|
1
static/web/_next/static/chunks/1017-c26780a26480b2de.js
Normal file
1
static/web/_next/static/chunks/1017-c26780a26480b2de.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
static/web/_next/static/chunks/1082-b00b8f63f0314247.js
Normal file
1
static/web/_next/static/chunks/1082-b00b8f63f0314247.js
Normal file
File diff suppressed because one or more lines are too long
1
static/web/_next/static/chunks/1142-ff0807f5dbadb132.js
Normal file
1
static/web/_next/static/chunks/1142-ff0807f5dbadb132.js
Normal file
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
1
static/web/_next/static/chunks/1829-271cba4b38fde9a4.js
Normal file
1
static/web/_next/static/chunks/1829-271cba4b38fde9a4.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
static/web/_next/static/chunks/2001-5f2f22a1a6f54f40.js
Normal file
1
static/web/_next/static/chunks/2001-5f2f22a1a6f54f40.js
Normal file
File diff suppressed because one or more lines are too long
1
static/web/_next/static/chunks/2139-c72b3a851c3b6fc9.js
Normal file
1
static/web/_next/static/chunks/2139-c72b3a851c3b6fc9.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
static/web/_next/static/chunks/2429-cd1a27121f8cb4b6.js
Normal file
1
static/web/_next/static/chunks/2429-cd1a27121f8cb4b6.js
Normal file
File diff suppressed because one or more lines are too long
1
static/web/_next/static/chunks/3016-22415cbfddc0e38b.js
Normal file
1
static/web/_next/static/chunks/3016-22415cbfddc0e38b.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
static/web/_next/static/chunks/3079-b927be19d77a268e.js
Normal file
1
static/web/_next/static/chunks/3079-b927be19d77a268e.js
Normal file
File diff suppressed because one or more lines are too long
1
static/web/_next/static/chunks/3286-6a58a49757a74053.js
Normal file
1
static/web/_next/static/chunks/3286-6a58a49757a74053.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
static/web/_next/static/chunks/355-501bf54a6213cc0c.js
Normal file
1
static/web/_next/static/chunks/355-501bf54a6213cc0c.js
Normal file
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
1
static/web/_next/static/chunks/384-9cef8f24921b00dc.js
Normal file
1
static/web/_next/static/chunks/384-9cef8f24921b00dc.js
Normal file
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
1
static/web/_next/static/chunks/4763-b88542f3b2d350b7.js
Normal file
1
static/web/_next/static/chunks/4763-b88542f3b2d350b7.js
Normal file
File diff suppressed because one or more lines are too long
1
static/web/_next/static/chunks/4935-053b4824ae67bc45.js
Normal file
1
static/web/_next/static/chunks/4935-053b4824ae67bc45.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
static/web/_next/static/chunks/5046-d432b07dbd9a0a74.js
Normal file
1
static/web/_next/static/chunks/5046-d432b07dbd9a0a74.js
Normal file
File diff suppressed because one or more lines are too long
1
static/web/_next/static/chunks/5315-8b4116e0e1118ee9.js
Normal file
1
static/web/_next/static/chunks/5315-8b4116e0e1118ee9.js
Normal file
File diff suppressed because one or more lines are too long
1
static/web/_next/static/chunks/5473-185a5241676edf4a.js
Normal file
1
static/web/_next/static/chunks/5473-185a5241676edf4a.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
static/web/_next/static/chunks/5938-b8bf626b6df6d168.js
Normal file
1
static/web/_next/static/chunks/5938-b8bf626b6df6d168.js
Normal file
|
@ -0,0 +1 @@
|
|||
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5938],{49474:function(t,n,r){r.d(n,{Z:function(){return o}});var e=r(19013),a=r(13882);function o(t,n){(0,a.Z)(2,arguments);var r=(0,e.Z)(t),o=(0,e.Z)(n),u=r.getTime()-o.getTime();return u<0?-1:u>0?1:u}},82161:function(t,n,r){r.d(n,{Z:function(){return c}});var e=r(19013),a=r(13882);function o(t,n){(0,a.Z)(2,arguments);var r=(0,e.Z)(t),o=(0,e.Z)(n),u=r.getFullYear()-o.getFullYear(),i=r.getMonth()-o.getMonth();return 12*u+i}var u=r(49474);function i(t){(0,a.Z)(1,arguments);var n=(0,e.Z)(t);return n.setHours(23,59,59,999),n}function s(t){(0,a.Z)(1,arguments);var n=(0,e.Z)(t),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}function f(t){(0,a.Z)(1,arguments);var n=(0,e.Z)(t);return i(n).getTime()===s(n).getTime()}function c(t,n){(0,a.Z)(2,arguments);var r,i=(0,e.Z)(t),s=(0,e.Z)(n),c=(0,u.Z)(i,s),l=Math.abs(o(i,s));if(l<1)r=0;else{1===i.getMonth()&&i.getDate()>27&&i.setDate(30),i.setMonth(i.getMonth()-c*l);var Z=(0,u.Z)(i,s)===-c;f((0,e.Z)(t))&&1===l&&1===(0,u.Z)(t,s)&&(Z=!1),r=c*(l-Number(Z))}return 0===r?0:r}},45938:function(t,n,r){r.d(n,{Z:function(){return d}});var e=r(84314),a=r(49474),o=r(82161),u=r(11699),i=r(86559),s=r(19013);function f(t,n){if(null==t)throw new TypeError("assign requires that input parameter not be null or undefined");for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t}function c(t){return f({},t)}var l=r(24262),Z=r(13882),v=1440,m=43200;function h(t,n,r){var h,d;(0,Z.Z)(2,arguments);var D=(0,e.j)(),M=null!==(h=null!==(d=null===r||void 0===r?void 0:r.locale)&&void 0!==d?d:D.locale)&&void 0!==h?h:i.Z;if(!M.formatDistance)throw new RangeError("locale must contain formatDistance property");var g=(0,a.Z)(t,n);if(isNaN(g))throw new RangeError("Invalid time value");var p,X,b=f(c(r),{addSuffix:Boolean(null===r||void 0===r?void 0:r.addSuffix),comparison:g});g>0?(p=(0,s.Z)(n),X=(0,s.Z)(t)):(p=(0,s.Z)(t),X=(0,s.Z)(n));var w,T=(0,u.Z)(X,p),x=((0,l.Z)(X)-(0,l.Z)(p))/1e3,Y=Math.round((T-x)/60);if(Y<2)return null!==r&&void 0!==r&&r.includeSeconds?T<5?M.formatDistance("lessThanXSeconds",5,b):T<10?M.formatDistance("lessThanXSeconds",10,b):T<20?M.formatDistance("lessThanXSeconds",20,b):T<40?M.formatDistance("halfAMinute",0,b):T<60?M.formatDistance("lessThanXMinutes",1,b):M.formatDistance("xMinutes",1,b):0===Y?M.formatDistance("lessThanXMinutes",1,b):M.formatDistance("xMinutes",Y,b);if(Y<45)return M.formatDistance("xMinutes",Y,b);if(Y<90)return M.formatDistance("aboutXHours",1,b);if(Y<v){var y=Math.round(Y/60);return M.formatDistance("aboutXHours",y,b)}if(Y<2520)return M.formatDistance("xDays",1,b);if(Y<m){var S=Math.round(Y/v);return M.formatDistance("xDays",S,b)}if(Y<86400)return w=Math.round(Y/m),M.formatDistance("aboutXMonths",w,b);if((w=(0,o.Z)(X,p))<12){var E=Math.round(Y/m);return M.formatDistance("xMonths",E,b)}var N=w%12,k=Math.floor(w/12);return N<3?M.formatDistance("aboutXYears",k,b):N<9?M.formatDistance("overXYears",k,b):M.formatDistance("almostXYears",k+1,b)}function d(t,n){return(0,Z.Z)(1,arguments),h(t,Date.now(),n)}}}]);
|
|
@ -1 +0,0 @@
|
|||
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5938],{49474:function(t,r,n){n.d(r,{Z:function(){return o}});var e=n(19013),a=n(13882);function o(t,r){(0,a.Z)(2,arguments);var n=(0,e.Z)(t),o=(0,e.Z)(r),u=n.getTime()-o.getTime();return u<0?-1:u>0?1:u}},82161:function(t,r,n){n.d(r,{Z:function(){return c}});var e=n(19013),a=n(13882);function o(t,r){(0,a.Z)(2,arguments);var n=(0,e.Z)(t),o=(0,e.Z)(r),u=n.getFullYear()-o.getFullYear(),i=n.getMonth()-o.getMonth();return 12*u+i}var u=n(49474);function i(t){(0,a.Z)(1,arguments);var r=(0,e.Z)(t);return r.setHours(23,59,59,999),r}function s(t){(0,a.Z)(1,arguments);var r=(0,e.Z)(t),n=r.getMonth();return r.setFullYear(r.getFullYear(),n+1,0),r.setHours(23,59,59,999),r}function f(t){(0,a.Z)(1,arguments);var r=(0,e.Z)(t);return i(r).getTime()===s(r).getTime()}function c(t,r){(0,a.Z)(2,arguments);var n,i=(0,e.Z)(t),s=(0,e.Z)(r),c=(0,u.Z)(i,s),l=Math.abs(o(i,s));if(l<1)n=0;else{1===i.getMonth()&&i.getDate()>27&&i.setDate(30),i.setMonth(i.getMonth()-c*l);var Z=(0,u.Z)(i,s)===-c;f((0,e.Z)(t))&&1===l&&1===(0,u.Z)(t,s)&&(Z=!1),n=c*(l-Number(Z))}return 0===n?0:n}},45938:function(t,r,n){n.d(r,{Z:function(){return m}});var e=n(49474),a=n(82161),o=n(11699),u=n(35077),i=n(19013);function s(t){return function(t,r){if(null==t)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in r=r||{})Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n]);return t}({},t)}var f=n(24262),c=n(13882),l=1440,Z=43200;function h(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,c.Z)(2,arguments);var h=n.locale||u.Z;if(!h.formatDistance)throw new RangeError("locale must contain formatDistance property");var m=(0,e.Z)(t,r);if(isNaN(m))throw new RangeError("Invalid time value");var v,D,d=s(n);d.addSuffix=Boolean(n.addSuffix),d.comparison=m,m>0?(v=(0,i.Z)(r),D=(0,i.Z)(t)):(v=(0,i.Z)(t),D=(0,i.Z)(r));var M,g=(0,o.Z)(D,v),p=((0,f.Z)(D)-(0,f.Z)(v))/1e3,X=Math.round((g-p)/60);if(X<2)return n.includeSeconds?g<5?h.formatDistance("lessThanXSeconds",5,d):g<10?h.formatDistance("lessThanXSeconds",10,d):g<20?h.formatDistance("lessThanXSeconds",20,d):g<40?h.formatDistance("halfAMinute",null,d):g<60?h.formatDistance("lessThanXMinutes",1,d):h.formatDistance("xMinutes",1,d):0===X?h.formatDistance("lessThanXMinutes",1,d):h.formatDistance("xMinutes",X,d);if(X<45)return h.formatDistance("xMinutes",X,d);if(X<90)return h.formatDistance("aboutXHours",1,d);if(X<l){var b=Math.round(X/60);return h.formatDistance("aboutXHours",b,d)}if(X<2520)return h.formatDistance("xDays",1,d);if(X<Z){var w=Math.round(X/l);return h.formatDistance("xDays",w,d)}if(X<86400)return M=Math.round(X/Z),h.formatDistance("aboutXMonths",M,d);if((M=(0,a.Z)(D,v))<12){var T=Math.round(X/Z);return h.formatDistance("xMonths",T,d)}var x=M%12,Y=Math.floor(M/12);return x<3?h.formatDistance("aboutXYears",Y,d):x<9?h.formatDistance("overXYears",Y,d):h.formatDistance("almostXYears",Y+1,d)}function m(t,r){return(0,c.Z)(1,arguments),h(t,Date.now(),r)}}}]);
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
static/web/_next/static/chunks/7464-bbe0a7b2b04a78ae.js
Normal file
1
static/web/_next/static/chunks/7464-bbe0a7b2b04a78ae.js
Normal file
File diff suppressed because one or more lines are too long
1
static/web/_next/static/chunks/7565-1f1e940fab986d84.js
Normal file
1
static/web/_next/static/chunks/7565-1f1e940fab986d84.js
Normal file
File diff suppressed because one or more lines are too long
1
static/web/_next/static/chunks/7610.95543cd3023fceae.js
Normal file
1
static/web/_next/static/chunks/7610.95543cd3023fceae.js
Normal file
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
1
static/web/_next/static/chunks/7910-7248e2d1496cf795.js
Normal file
1
static/web/_next/static/chunks/7910-7248e2d1496cf795.js
Normal file
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
1
static/web/_next/static/chunks/7961-c8ab0146e31ca9c6.js
Normal file
1
static/web/_next/static/chunks/7961-c8ab0146e31ca9c6.js
Normal file
File diff suppressed because one or more lines are too long
1
static/web/_next/static/chunks/8091-5880357d1811013a.js
Normal file
1
static/web/_next/static/chunks/8091-5880357d1811013a.js
Normal file
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
1
static/web/_next/static/chunks/9001-0de9b937fdbe661d.js
Normal file
1
static/web/_next/static/chunks/9001-0de9b937fdbe661d.js
Normal file
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
1
static/web/_next/static/chunks/d3048c20-8eaf58bdb6ce3d73.js
vendored
Normal file
1
static/web/_next/static/chunks/d3048c20-8eaf58bdb6ce3d73.js
vendored
Normal file
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
1
static/web/_next/static/chunks/main-43d3d12d262e745e.js
Normal file
1
static/web/_next/static/chunks/main-43d3d12d262e745e.js
Normal file
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
|
@ -1 +0,0 @@
|
|||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4820],{14977:function(n,_,u){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_error",function(){return u(97345)}])}},function(n){n.O(0,[9774,2888,179],(function(){return _=14977,n(n.s=_);var _}));var _=n.O();_N_E=_}]);
|
|
@ -0,0 +1 @@
|
|||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4820],{81981:function(n,_,u){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_error",function(){return u(89185)}])}},function(n){n.O(0,[9774,2888,179],(function(){return _=81981,n(n.s=_);var _}));var _=n.O();_N_E=_}]);
|
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
|
@ -1 +1 @@
|
|||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[30],{48689:function(e,n,t){"use strict";t.d(n,{Z:function(){return u}});var c=t(1413),i=t(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},a=t(42922),s=function(e,n){return i.createElement(a.Z,(0,c.Z)((0,c.Z)({},e),{},{ref:n,icon:r}))};s.displayName="DeleteOutlined";var u=i.forwardRef(s)},90310:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/config-social-items",function(){return t(87945)}])},87945:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return s}});var c=t(85893),i=(t(67294),t(84916)),r=t(23808),a=i.Z.Title;function s(){return(0,c.jsxs)("div",{className:"config-social-items",children:[(0,c.jsx)(a,{children:"Social Items"}),(0,c.jsx)(r.Z,{})]})}}},function(e){e.O(0,[3698,1213,3808,9774,2888,179],(function(){return n=90310,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[30],{48689:function(e,n,t){"use strict";t.d(n,{Z:function(){return u}});var c=t(1413),i=t(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},a=t(42135),s=function(e,n){return i.createElement(a.Z,(0,c.Z)((0,c.Z)({},e),{},{ref:n,icon:r}))};s.displayName="DeleteOutlined";var u=i.forwardRef(s)},81009:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/config-social-items",function(){return t(97063)}])},97063:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return s}});var c=t(85893),i=(t(67294),t(84485)),r=t(91017),a=i.Z.Title;function s(){return(0,c.jsxs)("div",{className:"config-social-items",children:[(0,c.jsx)(a,{children:"Social Items"}),(0,c.jsx)(r.Z,{})]})}}},function(e){e.O(0,[384,355,1017,9774,2888,179],(function(){return n=81009,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
|
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
|
@ -1 +0,0 @@
|
|||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4976],{85636:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/federation/actions",function(){return n(86419)}])},86419:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return v}});var r=n(34051),i=n.n(r),a=n(85893),o=n(67294),s=n(84916),c=n(21213),u=n(98147),l=n(64777),f=n(70241);function d(e,t,n,r,i,a,o){try{var s=e[a](o),c=s.value}catch(u){return void n(u)}s.done?t(c):Promise.resolve(c).then(r,i)}var h=s.Z.Title,p=s.Z.Paragraph;function v(){var e=(0,o.useState)([]),t=e[0],n=e[1],r=(0,o.useState)(0),s=r[0],v=r[1],E=(0,o.useState)(0),w=E[0],m=E[1],_=function(){var e,t=(e=i().mark((function e(){var t,r,a,o,s;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t=50*w,r="".concat(l.op,"?offset=").concat(t,"&limit=").concat(50),e.next=6,(0,l.rQ)(r,{auth:!0});case 6:a=e.sent,o=a.results,s=a.total,v(s),(0,f.Qr)(o)?n([]):n(o),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(0),console.log("==== error",e.t0);case 15:case"end":return e.stop()}}),e,null,[[0,12]])})),function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function o(e){d(a,r,i,o,s,"next",e)}function s(e){d(a,r,i,o,s,"throw",e)}o(void 0)}))});return function(){return t.apply(this,arguments)}}();(0,o.useEffect)((function(){_()}),[w]);var g,x,y=[{title:"Action",dataIndex:"type",key:"type",width:50,render:function(e,t){var n,r;switch(t.type){case"FEDIVERSE_ENGAGEMENT_REPOST":n="/img/repost.svg",r="Share";break;case"FEDIVERSE_ENGAGEMENT_LIKE":n="/img/like.svg",r="Like";break;case"FEDIVERSE_ENGAGEMENT_FOLLOW":n="/img/follow.svg",r="Follow";break;default:n=""}return(0,a.jsxs)("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column"},children:[(0,a.jsx)("img",{src:n,width:"70%",alt:r,title:r}),(0,a.jsx)("div",{style:{fontSize:"0.7rem"},children:r})]})}},{title:"From",dataIndex:"actorIRI",key:"from",render:function(e,t){return(0,a.jsx)("a",{href:t.actorIRI,children:t.actorIRI})}},{title:"When",dataIndex:"timestamp",key:"timestamp",render:function(e,t){var n=new Date(t.timestamp);return(0,u.Z)(n,"P pp")}}];return(0,a.jsxs)("div",{children:[(0,a.jsx)(h,{level:3,children:"Fediverse Actions"}),(0,a.jsx)(p,{children:"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."}),(g=t,x=y,(0,a.jsx)(c.Z,{dataSource:g,columns:x,size:"small",rowKey:function(e){return e.iri},pagination:{pageSize:50,hideOnSinglePage:!0,showSizeChanger:!1,total:s},onChange:function(e){var t=e.current;m(t)}}))]})}}},function(e){e.O(0,[3698,1213,8147,9774,2888,179],(function(){return t=85636,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
|
|
@ -0,0 +1 @@
|
|||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4976],{10203:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/federation/actions",function(){return n(13268)}])},13268:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return E}});var r=n(47568),a=n(34051),i=n.n(a),o=n(85893),s=n(67294),c=n(84485),u=n(10355),l=n(58091),f=n(58827),d=n(2766),h=c.Z.Title,p=c.Z.Paragraph;function E(){var e=(0,s.useState)([]),t=e[0],n=e[1],a=(0,s.useState)(0),c=a[0],E=a[1],w=(0,s.useState)(0),v=w[0],m=w[1],_=function(){var e=(0,r.Z)(i().mark((function e(){var t,r,a,o,s;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,50,t=50*v,r="".concat(f.op,"?offset=").concat(t,"&limit=").concat(50),e.next=6,(0,f.rQ)(r,{auth:!0});case 6:a=e.sent,o=a.results,s=a.total,E(s),(0,d.Qr)(o)?n([]):n(o),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(0),console.log("==== error",e.t0);case 15:case"end":return e.stop()}}),e,null,[[0,12]])})));return function(){return e.apply(this,arguments)}}();(0,s.useEffect)((function(){_()}),[v]);var g,x,k=[{title:"Action",dataIndex:"type",key:"type",width:50,render:function(e,t){var n,r;switch(t.type){case"FEDIVERSE_ENGAGEMENT_REPOST":n="/img/repost.svg",r="Share";break;case"FEDIVERSE_ENGAGEMENT_LIKE":n="/img/like.svg",r="Like";break;case"FEDIVERSE_ENGAGEMENT_FOLLOW":n="/img/follow.svg",r="Follow";break;default:n=""}return(0,o.jsxs)("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column"},children:[(0,o.jsx)("img",{src:n,width:"70%",alt:r,title:r}),(0,o.jsx)("div",{style:{fontSize:"0.7rem"},children:r})]})}},{title:"From",dataIndex:"actorIRI",key:"from",render:function(e,t){return(0,o.jsx)("a",{href:t.actorIRI,children:t.actorIRI})}},{title:"When",dataIndex:"timestamp",key:"timestamp",render:function(e,t){var n=new Date(t.timestamp);return(0,l.Z)(n,"P pp")}}];return(0,o.jsxs)("div",{children:[(0,o.jsx)(h,{level:3,children:"Fediverse Actions"}),(0,o.jsx)(p,{children:"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."}),(g=t,x=k,(0,o.jsx)(u.Z,{dataSource:g,columns:x,size:"small",rowKey:function(e){return e.iri},pagination:{pageSize:50,hideOnSinglePage:!0,showSizeChanger:!1,total:c},onChange:function(e){var t=e.current;m(t)}}))]})}}},function(e){e.O(0,[384,355,8091,9774,2888,179],(function(){return t=10203,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
|
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
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue