Bundle embedded web app

This commit is contained in:
gabek
2022-10-17 05:53:16 +00:00
parent e3c038f48d
commit bde2ec34fe
65 changed files with 55 additions and 57 deletions

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

View File

@@ -0,0 +1 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5135],{5135:function(e,n,r){"use strict";r.r(n),r.d(n,{BrowserNotifyModal:function(){return C}});var i=r(47568),t=r(70655),s=r(85893),o=r(84485),a=r(71577),c=r(11382),l=r(25968),u=r(6226),h=r(67294),d=r(4480),f=r(1899);function p(){return(p=(0,i.Z)((function(e,n,r){var i,s,o;return(0,t.__generator)(this,(function(t){switch(t.label){case 0:i="/api/notifications/register",s={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({channel:e,destination:n})},t.label=1;case 1:return t.trys.push([1,3,,4]),[4,fetch("".concat(i,"?accessToken=").concat(r),s)];case 2:return t.sent(),[3,4];case 3:return o=t.sent(),console.error(o),[3,4];case 4:return[2]}}))}))).apply(this,arguments)}function w(e){for(var n=(e+"=".repeat((4-e.length%4)%4)).replace(/-/g,"+").replace(/_/g,"/"),r=window.atob(n),i=new Uint8Array(r.length),t=0;t<r.length;++t)i[t]=r.charCodeAt(t);return i}function b(e){return v.apply(this,arguments)}function v(){return(v=(0,i.Z)((function(e){var n,r;return(0,t.__generator)(this,(function(i){switch(i.label){case 0:return[4,navigator.serviceWorker.ready];case 1:return[4,(n=i.sent()).pushManager.getSubscription()];case 2:return(r=i.sent())?[3,4]:[4,n.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:w(e)})];case 3:r=i.sent(),i.label=4;case 4:return[2,JSON.stringify(r)]}}))}))).apply(this,arguments)}var g=r(5225),_=r.n(g);function y(){return"serviceWorker"in navigator&&"PushManager"in window}var x=o.Z.Title,m=function(){return(0,s.jsx)("div",{children:"Browser notifications are not supported in your browser."})},N=function(e){var n=e.start;return(0,s.jsx)("div",{id:"browser-push-preview-box",className:_().pushPreview,children:(0,s.jsxs)("div",{className:_().inner,children:[(0,s.jsxs)("div",{className:_().title,children:[window.location.toString()," wants to"]}),(0,s.jsxs)("div",{className:_().permissionLine,children:[(0,s.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M14 12.3333V13H2V12.3333L3.33333 11V7C3.33333 4.93333 4.68667 3.11333 6.66667 2.52667C6.66667 2.46 6.66667 2.4 6.66667 2.33333C6.66667 1.97971 6.80714 1.64057 7.05719 1.39052C7.30724 1.14048 7.64638 1 8 1C8.35362 1 8.69276 1.14048 8.94281 1.39052C9.19286 1.64057 9.33333 1.97971 9.33333 2.33333C9.33333 2.4 9.33333 2.46 9.33333 2.52667C11.3133 3.11333 12.6667 4.93333 12.6667 7V11L14 12.3333ZM9.33333 13.6667C9.33333 14.0203 9.19286 14.3594 8.94281 14.6095C8.69276 14.8595 8.35362 15 8 15C7.64638 15 7.30724 14.8595 7.05719 14.6095C6.80714 14.3594 6.66667 14.0203 6.66667 13.6667",fill:"#676670"})}),"Show notifications"]}),(0,s.jsxs)("div",{className:_().buttonRow,children:[(0,s.jsx)(a.Z,{type:"primary",className:_().allow,onClick:function(){n()},children:"Allow"}),(0,s.jsx)("button",{type:"button",className:_().disabled,children:"Block"})]})]})})},j=function(){return(0,s.jsxs)("div",{children:[(0,s.jsx)(x,{children:"Notifications are enabled"}),"To disable push notifications from ",window.location.hostname.toString()," access your browser permissions for this site and turn off notifications.",(0,s.jsx)("a",{href:"https://owncast.online/docs/notifications",children:" Learn more."})]})},C=function(){var e=(0,h.useState)(null),n=e[0],r=e[1],o=(0,d.sJ)(f.FI),a=(0,d.sJ)(f.g1),w=(0,h.useState)(!1),v=w[0],g=w[1],_=y()&&"default"!==Notification.permission,C=a.notifications.browser,M=C.publicKey,B=C.enabled&&y();if(_)return(0,s.jsx)(j,{});var S=function(){var e=(0,i.Z)((function(){var e;return(0,t.__generator)(this,(function(n){switch(n.label){case 0:if(y()&&"default"!==Notification.permission)return[2];g(!0),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,b(M)];case 2:return function(e,n,r){p.apply(this,arguments)}("BROWSER_PUSH_NOTIFICATION",n.sent(),o),r(null),[3,4];case 3:return e=n.sent(),r("Error registering for live notifications: ".concat(e.message,". Make sure you're not inside a private browser environment or have previously disabled notifications for this stream.")),[3,4];case 4:return g(!1),[2]}}))}));return function(){return e.apply(this,arguments)}}();return B?(0,s.jsxs)(c.Z,{spinning:v,children:[(0,s.jsxs)(l.Z,{align:"top",children:[(0,s.jsx)(x,{children:"Browser Notifications"}),"Get notified right in the browser each time this stream goes live. Blah blah blah more description text goes here."]}),(0,s.jsx)(l.Z,{children:n}),(0,s.jsx)(l.Z,{align:"top",children:(0,s.jsx)(u.Z,{span:12,children:(0,s.jsx)(N,{start:function(){return S()}})})})]}):(0,s.jsx)(m,{})}},5225:function(e){e.exports={pushPreview:"BrowserNotifyModal_pushPreview__4Og4q",inner:"BrowserNotifyModal_inner__uhFDw",title:"BrowserNotifyModal_title__dd_Lh",permissionLine:"BrowserNotifyModal_permissionLine__K8nyJ",buttonRow:"BrowserNotifyModal_buttonRow__oxJUg",disabled:"BrowserNotifyModal_disabled__v88lb",allow:"BrowserNotifyModal_allow__M9AWC"}}}]);

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 +1 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[30],{48689:function(t,n,r){"use strict";r.d(n,{Z:function(){return a}});var e=r(1413),i=r(67294),o={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"},u=r(42135),c=function(t,n){return i.createElement(u.Z,(0,e.Z)((0,e.Z)({},t),{},{ref:n,icon:o}))};c.displayName="DeleteOutlined";var a=i.forwardRef(c)},27561:function(t,n,r){var e=r(67990),i=/^\s+/;t.exports=function(t){return t?t.slice(0,e(t)+1).replace(i,""):t}},67990:function(t){var n=/\s/;t.exports=function(t){for(var r=t.length;r--&&n.test(t.charAt(r)););return r}},23279:function(t,n,r){var e=r(13218),i=r(7771),o=r(14841),u=Math.max,c=Math.min;t.exports=function(t,n,r){var a,f,s,l,v,d,m=0,p=!1,h=!1,y=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function b(n){var r=a,e=f;return a=f=void 0,m=n,l=t.apply(e,r)}function g(t){return m=t,v=setTimeout(w,n),p?b(t):l}function x(t){var r=t-d;return void 0===d||r>=n||r<0||h&&t-m>=s}function w(){var t=i();if(x(t))return Z(t);v=setTimeout(w,function(t){var r=n-(t-d);return h?c(r,s-(t-m)):r}(t))}function Z(t){return v=void 0,y&&a?b(t):(a=f=void 0,l)}function _(){var t=i(),r=x(t);if(a=arguments,f=this,d=t,r){if(void 0===v)return g(d);if(h)return clearTimeout(v),v=setTimeout(w,n),b(d)}return void 0===v&&(v=setTimeout(w,n)),l}return n=o(n)||0,e(r)&&(p=!!r.leading,s=(h="maxWait"in r)?u(o(r.maxWait)||0,n):s,y="trailing"in r?!!r.trailing:y),_.cancel=function(){void 0!==v&&clearTimeout(v),m=0,a=d=f=v=void 0},_.flush=function(){return void 0===v?l:Z(i())},_}},33448:function(t,n,r){var e=r(44239),i=r(37005);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==e(t)}},7771:function(t,n,r){var e=r(55639);t.exports=function(){return e.Date.now()}},14841:function(t,n,r){var e=r(27561),i=r(13218),o=r(33448),u=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,a=/^0o[0-7]+$/i,f=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return NaN;if(i(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=i(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=e(t);var r=c.test(t);return r||a.test(t)?f(t.slice(2),r?2:8):u.test(t)?NaN:+t}},81009:function(t,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/config-social-items",function(){return r(97063)}])},97063:function(t,n,r){"use strict";r.r(n),r.d(n,{default:function(){return c}});var e=r(85893),i=(r(67294),r(84485)),o=r(72877),u=i.Z.Title;function c(){return(0,e.jsxs)("div",{className:"config-social-items",children:[(0,e.jsx)(u,{children:"Social Items"}),(0,e.jsx)(o.h,{})]})}},20943:function(t,n,r){"use strict";function e(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=new Array(n);r<n;r++)e[r]=t[r];return e}r.d(n,{Z:function(){return e}})},13375:function(t,n,r){"use strict";function e(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}r.d(n,{Z:function(){return e}})},29815:function(t,n,r){"use strict";r.d(n,{Z:function(){return u}});var e=r(20943);var i=r(13375);var o=r(91566);function u(t){return function(t){if(Array.isArray(t))return(0,e.Z)(t)}(t)||(0,i.Z)(t)||(0,o.Z)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},91566:function(t,n,r){"use strict";r.d(n,{Z:function(){return i}});var e=r(20943);function i(t,n){if(t){if("string"===typeof t)return(0,e.Z)(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?(0,e.Z)(t,n):void 0}}}},function(t){t.O(0,[8939,3903,3698,3626,2877,9774,2888,179],(function(){return n=81009,t(t.s=n);var n}));var n=t.O();_N_E=n}]);
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[30],{48689:function(t,n,r){"use strict";r.d(n,{Z:function(){return a}});var e=r(1413),i=r(67294),o={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"},u=r(42135),c=function(t,n){return i.createElement(u.Z,(0,e.Z)((0,e.Z)({},t),{},{ref:n,icon:o}))};c.displayName="DeleteOutlined";var a=i.forwardRef(c)},27561:function(t,n,r){var e=r(67990),i=/^\s+/;t.exports=function(t){return t?t.slice(0,e(t)+1).replace(i,""):t}},67990:function(t){var n=/\s/;t.exports=function(t){for(var r=t.length;r--&&n.test(t.charAt(r)););return r}},23279:function(t,n,r){var e=r(13218),i=r(7771),o=r(14841),u=Math.max,c=Math.min;t.exports=function(t,n,r){var a,f,s,l,v,d,m=0,p=!1,h=!1,y=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function b(n){var r=a,e=f;return a=f=void 0,m=n,l=t.apply(e,r)}function g(t){return m=t,v=setTimeout(w,n),p?b(t):l}function x(t){var r=t-d;return void 0===d||r>=n||r<0||h&&t-m>=s}function w(){var t=i();if(x(t))return Z(t);v=setTimeout(w,function(t){var r=n-(t-d);return h?c(r,s-(t-m)):r}(t))}function Z(t){return v=void 0,y&&a?b(t):(a=f=void 0,l)}function _(){var t=i(),r=x(t);if(a=arguments,f=this,d=t,r){if(void 0===v)return g(d);if(h)return clearTimeout(v),v=setTimeout(w,n),b(d)}return void 0===v&&(v=setTimeout(w,n)),l}return n=o(n)||0,e(r)&&(p=!!r.leading,s=(h="maxWait"in r)?u(o(r.maxWait)||0,n):s,y="trailing"in r?!!r.trailing:y),_.cancel=function(){void 0!==v&&clearTimeout(v),m=0,a=d=f=v=void 0},_.flush=function(){return void 0===v?l:Z(i())},_}},33448:function(t,n,r){var e=r(44239),i=r(37005);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==e(t)}},7771:function(t,n,r){var e=r(55639);t.exports=function(){return e.Date.now()}},14841:function(t,n,r){var e=r(27561),i=r(13218),o=r(33448),u=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,a=/^0o[0-7]+$/i,f=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return NaN;if(i(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=i(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=e(t);var r=c.test(t);return r||a.test(t)?f(t.slice(2),r?2:8):u.test(t)?NaN:+t}},81009:function(t,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/config-social-items",function(){return r(97063)}])},97063:function(t,n,r){"use strict";r.r(n),r.d(n,{default:function(){return c}});var e=r(85893),i=(r(67294),r(84485)),o=r(72877),u=i.Z.Title;function c(){return(0,e.jsxs)("div",{className:"config-social-items",children:[(0,e.jsx)(u,{children:"Social Items"}),(0,e.jsx)(o.h,{})]})}},20943:function(t,n,r){"use strict";function e(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=new Array(n);r<n;r++)e[r]=t[r];return e}r.d(n,{Z:function(){return e}})},13375:function(t,n,r){"use strict";function e(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}r.d(n,{Z:function(){return e}})},29815:function(t,n,r){"use strict";r.d(n,{Z:function(){return u}});var e=r(20943);var i=r(13375);var o=r(91566);function u(t){return function(t){if(Array.isArray(t))return(0,e.Z)(t)}(t)||(0,i.Z)(t)||(0,o.Z)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},91566:function(t,n,r){"use strict";r.d(n,{Z:function(){return i}});var e=r(20943);function i(t,n){if(t){if("string"===typeof t)return(0,e.Z)(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?(0,e.Z)(t,n):void 0}}}},function(t){t.O(0,[8939,3903,4267,3626,2877,9774,2888,179],(function(){return n=81009,t(t.s=n);var n}));var n=t.O();_N_E=n}]);

View File

@@ -1 +1 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4976],{27561:function(t,e,n){var r=n(67990),i=/^\s+/;t.exports=function(t){return t?t.slice(0,r(t)+1).replace(i,""):t}},67990:function(t){var e=/\s/;t.exports=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}},23279:function(t,e,n){var r=n(13218),i=n(7771),o=n(14841),a=Math.max,u=Math.min;t.exports=function(t,e,n){var s,c,f,l,d,v,p=0,h=!1,m=!1,E=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function y(e){var n=s,r=c;return s=c=void 0,p=e,l=t.apply(r,n)}function w(t){return p=t,d=setTimeout(g,e),h?y(t):l}function x(t){var n=t-v;return void 0===v||n>=e||n<0||m&&t-p>=f}function g(){var t=i();if(x(t))return _(t);d=setTimeout(g,function(t){var n=e-(t-v);return m?u(n,f-(t-p)):n}(t))}function _(t){return d=void 0,E&&s?y(t):(s=c=void 0,l)}function I(){var t=i(),n=x(t);if(s=arguments,c=this,v=t,n){if(void 0===d)return w(v);if(m)return clearTimeout(d),d=setTimeout(g,e),y(v)}return void 0===d&&(d=setTimeout(g,e)),l}return e=o(e)||0,r(n)&&(h=!!n.leading,f=(m="maxWait"in n)?a(o(n.maxWait)||0,e):f,E="trailing"in n?!!n.trailing:E),I.cancel=function(){void 0!==d&&clearTimeout(d),p=0,s=v=c=d=void 0},I.flush=function(){return void 0===d?l:_(i())},I}},33448:function(t,e,n){var r=n(44239),i=n(37005);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==r(t)}},7771:function(t,e,n){var r=n(55639);t.exports=function(){return r.Date.now()}},14841:function(t,e,n){var r=n(27561),i=n(13218),o=n(33448),a=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,s=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return NaN;if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var n=u.test(t);return n||s.test(t)?c(t.slice(2),n?2:8):a.test(t)?NaN:+t}},10203:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/federation/actions",function(){return n(13268)}])},13268:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return p}});var r=n(47568),i=n(70655),o=n(85893),a=n(67294),u=n(84485),s=n(93626),c=n(58091),f=n(58827),l=n(2766),d=u.Z.Title,v=u.Z.Paragraph;function p(){var t=(0,a.useState)([]),e=t[0],n=t[1],u=(0,a.useState)(0),p=u[0],h=u[1],m=(0,a.useState)(0),E=m[0],y=m[1],w=function(){var t=(0,r.Z)((function(){var t,e,r,o,a,u;return(0,i.__generator)(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),50,t=50*E,e="".concat(f.op,"?offset=").concat(t,"&limit=").concat(50),[4,(0,f.rQ)(e,{auth:!0})];case 1:return r=i.sent(),o=r.results,a=r.total,h(a),(0,l.Qr)(o)?n([]):n(o),[3,3];case 2:return u=i.sent(),console.log("==== error",u),[3,3];case 3:return[2]}}))}));return function(){return t.apply(this,arguments)}}();(0,a.useEffect)((function(){w()}),[E]);var x,g,_=[{title:"Action",dataIndex:"type",key:"type",width:50,render:function(t,e){var n,r;switch(e.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(t,e){return(0,o.jsx)("a",{href:e.actorIRI,children:e.actorIRI})}},{title:"When",dataIndex:"timestamp",key:"timestamp",render:function(t,e){var n=new Date(e.timestamp);return(0,c.Z)(n,"P pp")}}];return(0,o.jsxs)("div",{children:[(0,o.jsx)(d,{level:3,children:"Fediverse Actions"}),(0,o.jsx)(v,{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."}),(x=e,g=_,(0,o.jsx)(s.Z,{dataSource:x,columns:g,size:"small",rowKey:function(t){return t.iri},pagination:{pageSize:50,hideOnSinglePage:!0,showSizeChanger:!1,total:p},onChange:function(t){var e=t.current;y(e)}}))]})}}},function(t){t.O(0,[8939,3903,3698,3626,8091,9774,2888,179],(function(){return e=10203,t(t.s=e);var e}));var e=t.O();_N_E=e}]);
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4976],{27561:function(t,e,n){var r=n(67990),i=/^\s+/;t.exports=function(t){return t?t.slice(0,r(t)+1).replace(i,""):t}},67990:function(t){var e=/\s/;t.exports=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}},23279:function(t,e,n){var r=n(13218),i=n(7771),o=n(14841),a=Math.max,u=Math.min;t.exports=function(t,e,n){var s,c,f,l,d,v,p=0,h=!1,m=!1,E=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function y(e){var n=s,r=c;return s=c=void 0,p=e,l=t.apply(r,n)}function w(t){return p=t,d=setTimeout(g,e),h?y(t):l}function x(t){var n=t-v;return void 0===v||n>=e||n<0||m&&t-p>=f}function g(){var t=i();if(x(t))return _(t);d=setTimeout(g,function(t){var n=e-(t-v);return m?u(n,f-(t-p)):n}(t))}function _(t){return d=void 0,E&&s?y(t):(s=c=void 0,l)}function I(){var t=i(),n=x(t);if(s=arguments,c=this,v=t,n){if(void 0===d)return w(v);if(m)return clearTimeout(d),d=setTimeout(g,e),y(v)}return void 0===d&&(d=setTimeout(g,e)),l}return e=o(e)||0,r(n)&&(h=!!n.leading,f=(m="maxWait"in n)?a(o(n.maxWait)||0,e):f,E="trailing"in n?!!n.trailing:E),I.cancel=function(){void 0!==d&&clearTimeout(d),p=0,s=v=c=d=void 0},I.flush=function(){return void 0===d?l:_(i())},I}},33448:function(t,e,n){var r=n(44239),i=n(37005);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==r(t)}},7771:function(t,e,n){var r=n(55639);t.exports=function(){return r.Date.now()}},14841:function(t,e,n){var r=n(27561),i=n(13218),o=n(33448),a=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,s=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return NaN;if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var n=u.test(t);return n||s.test(t)?c(t.slice(2),n?2:8):a.test(t)?NaN:+t}},10203:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/federation/actions",function(){return n(13268)}])},13268:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return p}});var r=n(47568),i=n(70655),o=n(85893),a=n(67294),u=n(84485),s=n(93626),c=n(58091),f=n(58827),l=n(2766),d=u.Z.Title,v=u.Z.Paragraph;function p(){var t=(0,a.useState)([]),e=t[0],n=t[1],u=(0,a.useState)(0),p=u[0],h=u[1],m=(0,a.useState)(0),E=m[0],y=m[1],w=function(){var t=(0,r.Z)((function(){var t,e,r,o,a,u;return(0,i.__generator)(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),50,t=50*E,e="".concat(f.op,"?offset=").concat(t,"&limit=").concat(50),[4,(0,f.rQ)(e,{auth:!0})];case 1:return r=i.sent(),o=r.results,a=r.total,h(a),(0,l.Qr)(o)?n([]):n(o),[3,3];case 2:return u=i.sent(),console.log("==== error",u),[3,3];case 3:return[2]}}))}));return function(){return t.apply(this,arguments)}}();(0,a.useEffect)((function(){w()}),[E]);var x,g,_=[{title:"Action",dataIndex:"type",key:"type",width:50,render:function(t,e){var n,r;switch(e.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(t,e){return(0,o.jsx)("a",{href:e.actorIRI,children:e.actorIRI})}},{title:"When",dataIndex:"timestamp",key:"timestamp",render:function(t,e){var n=new Date(e.timestamp);return(0,c.Z)(n,"P pp")}}];return(0,o.jsxs)("div",{children:[(0,o.jsx)(d,{level:3,children:"Fediverse Actions"}),(0,o.jsx)(v,{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."}),(x=e,g=_,(0,o.jsx)(s.Z,{dataSource:x,columns:g,size:"small",rowKey:function(t){return t.iri},pagination:{pageSize:50,hideOnSinglePage:!0,showSizeChanger:!1,total:p},onChange:function(t){var e=t.current;y(e)}}))]})}}},function(t){t.O(0,[8939,3903,4267,3626,8091,9774,2888,179],(function(){return e=10203,t(t.s=e);var e}));var e=t.O();_N_E=e}]);

View File

@@ -1 +1 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1774],{27561:function(e,n,t){var r=t(67990),i=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(i,""):e}},67990:function(e){var n=/\s/;e.exports=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}},23279:function(e,n,t){var r=t(13218),i=t(7771),o=t(14841),u=Math.max,a=Math.min;e.exports=function(e,n,t){var c,s,f,l,v,d,p=0,m=!1,g=!1,x=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function h(n){var t=c,r=s;return c=s=void 0,p=n,l=e.apply(r,t)}function w(e){return p=e,v=setTimeout(_,n),m?h(e):l}function y(e){var t=e-d;return void 0===d||t>=n||t<0||g&&e-p>=f}function _(){var e=i();if(y(e))return T(e);v=setTimeout(_,function(e){var t=n-(e-d);return g?a(t,f-(e-p)):t}(e))}function T(e){return v=void 0,x&&c?h(e):(c=s=void 0,l)}function E(){var e=i(),t=y(e);if(c=arguments,s=this,d=e,t){if(void 0===v)return w(d);if(g)return clearTimeout(v),v=setTimeout(_,n),h(d)}return void 0===v&&(v=setTimeout(_,n)),l}return n=o(n)||0,r(t)&&(m=!!t.leading,f=(g="maxWait"in t)?u(o(t.maxWait)||0,n):f,x="trailing"in t?!!t.trailing:x),E.cancel=function(){void 0!==v&&clearTimeout(v),p=0,c=d=s=v=void 0},E.flush=function(){return void 0===v?l:T(i())},E}},33448:function(e,n,t){var r=t(44239),i=t(37005);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},7771:function(e,n,t){var r=t(55639);e.exports=function(){return r.Date.now()}},14841:function(e,n,t){var r=t(27561),i=t(13218),o=t(33448),u=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,c=/^0o[0-7]+$/i,s=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(i(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=i(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var t=a.test(e);return t||c.test(e)?s(e.slice(2),t?2:8):u.test(e)?NaN:+e}},23426:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/logs",function(){return t(65502)}])},38856:function(e,n,t){"use strict";t.d(n,{o:function(){return v}});var r=t(85893),i=(t(67294),t(84485)),o=t(20550),u=t(93626),a=t(53731),c=t(58091),s=i.Z.Title;function f(e,n){var t="black";return"warning"===n.level?t="orange":"error"===n.level&&(t="red"),(0,r.jsx)(o.Z,{color:t,children:e})}function l(e){return(0,r.jsx)(a.Z,{children:e})}var v=function(e){var n=e.logs,t=e.pageSize;if(!(null===n||void 0===n?void 0:n.length))return null;var i=[{title:"Level",dataIndex:"level",key:"level",filters:[{text:"Info",value:"info"},{text:"Warning",value:"warning"},{text:"Error",value:"Error"}],onFilter:function(e,n){return 0===n.level.indexOf(e)},render:f},{title:"Timestamp",dataIndex:"time",key:"time",render:function(e){var n=new Date(e);return(0,c.Z)(n,"pp P")},sorter:function(e,n){return new Date(e.time).getTime()-new Date(n.time).getTime()},sortDirections:["descend","ascend"],defaultSortOrder:"descend"},{title:"Message",dataIndex:"message",key:"message",render:l}];return(0,r.jsxs)("div",{className:"logs-section",children:[(0,r.jsx)(s,{children:"Logs"}),(0,r.jsx)(u.Z,{size:"middle",dataSource:n,columns:i,rowKey:function(e){return e.time},pagination:{pageSize:t||20}})]})}},65502:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return s}});var r=t(47568),i=t(70655),o=t(85893),u=t(67294),a=t(38856),c=t(58827);function s(){var e=(0,u.useState)([]),n=e[0],t=e[1],s=function(){var e=(0,r.Z)((function(){var e,n;return(0,i.__generator)(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,(0,c.rQ)(c.sG)];case 1:return e=r.sent(),t(e),[3,3];case 2:return n=r.sent(),console.log("==== error",n),[3,3];case 3:return[2]}}))}));return function(){return e.apply(this,arguments)}}();return(0,u.useEffect)((function(){var e;return setInterval(s,5e3),s(),e=setInterval(s,5e3),function(){clearInterval(e)}}),[]),(0,o.jsx)(a.o,{logs:n,pageSize:20})}}},function(e){e.O(0,[8939,3903,3698,3626,8091,2429,9774,2888,179],(function(){return n=23426,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1774],{27561:function(e,n,t){var r=t(67990),i=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(i,""):e}},67990:function(e){var n=/\s/;e.exports=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}},23279:function(e,n,t){var r=t(13218),i=t(7771),o=t(14841),u=Math.max,a=Math.min;e.exports=function(e,n,t){var c,s,f,l,v,d,p=0,m=!1,g=!1,x=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function h(n){var t=c,r=s;return c=s=void 0,p=n,l=e.apply(r,t)}function w(e){return p=e,v=setTimeout(_,n),m?h(e):l}function y(e){var t=e-d;return void 0===d||t>=n||t<0||g&&e-p>=f}function _(){var e=i();if(y(e))return T(e);v=setTimeout(_,function(e){var t=n-(e-d);return g?a(t,f-(e-p)):t}(e))}function T(e){return v=void 0,x&&c?h(e):(c=s=void 0,l)}function E(){var e=i(),t=y(e);if(c=arguments,s=this,d=e,t){if(void 0===v)return w(d);if(g)return clearTimeout(v),v=setTimeout(_,n),h(d)}return void 0===v&&(v=setTimeout(_,n)),l}return n=o(n)||0,r(t)&&(m=!!t.leading,f=(g="maxWait"in t)?u(o(t.maxWait)||0,n):f,x="trailing"in t?!!t.trailing:x),E.cancel=function(){void 0!==v&&clearTimeout(v),p=0,c=d=s=v=void 0},E.flush=function(){return void 0===v?l:T(i())},E}},33448:function(e,n,t){var r=t(44239),i=t(37005);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},7771:function(e,n,t){var r=t(55639);e.exports=function(){return r.Date.now()}},14841:function(e,n,t){var r=t(27561),i=t(13218),o=t(33448),u=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,c=/^0o[0-7]+$/i,s=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(i(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=i(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var t=a.test(e);return t||c.test(e)?s(e.slice(2),t?2:8):u.test(e)?NaN:+e}},23426:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/logs",function(){return t(65502)}])},38856:function(e,n,t){"use strict";t.d(n,{o:function(){return v}});var r=t(85893),i=(t(67294),t(84485)),o=t(20550),u=t(93626),a=t(53731),c=t(58091),s=i.Z.Title;function f(e,n){var t="black";return"warning"===n.level?t="orange":"error"===n.level&&(t="red"),(0,r.jsx)(o.Z,{color:t,children:e})}function l(e){return(0,r.jsx)(a.Z,{children:e})}var v=function(e){var n=e.logs,t=e.pageSize;if(!(null===n||void 0===n?void 0:n.length))return null;var i=[{title:"Level",dataIndex:"level",key:"level",filters:[{text:"Info",value:"info"},{text:"Warning",value:"warning"},{text:"Error",value:"Error"}],onFilter:function(e,n){return 0===n.level.indexOf(e)},render:f},{title:"Timestamp",dataIndex:"time",key:"time",render:function(e){var n=new Date(e);return(0,c.Z)(n,"pp P")},sorter:function(e,n){return new Date(e.time).getTime()-new Date(n.time).getTime()},sortDirections:["descend","ascend"],defaultSortOrder:"descend"},{title:"Message",dataIndex:"message",key:"message",render:l}];return(0,r.jsxs)("div",{className:"logs-section",children:[(0,r.jsx)(s,{children:"Logs"}),(0,r.jsx)(u.Z,{size:"middle",dataSource:n,columns:i,rowKey:function(e){return e.time},pagination:{pageSize:t||20}})]})}},65502:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return s}});var r=t(47568),i=t(70655),o=t(85893),u=t(67294),a=t(38856),c=t(58827);function s(){var e=(0,u.useState)([]),n=e[0],t=e[1],s=function(){var e=(0,r.Z)((function(){var e,n;return(0,i.__generator)(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,(0,c.rQ)(c.sG)];case 1:return e=r.sent(),t(e),[3,3];case 2:return n=r.sent(),console.log("==== error",n),[3,3];case 3:return[2]}}))}));return function(){return e.apply(this,arguments)}}();return(0,u.useEffect)((function(){var e;return setInterval(s,5e3),s(),e=setInterval(s,5e3),function(){clearInterval(e)}}),[]),(0,o.jsx)(a.o,{logs:n,pageSize:20})}}},function(e){e.O(0,[8939,3903,4267,3626,8091,2429,9774,2888,179],(function(){return n=23426,e(e.s=n);var n}));var n=e.O();_N_E=n}]);

View File

@@ -1 +1 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9262],{70918:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/upgrade",function(){return r(73143)}])},73143:function(e,n,r){"use strict";r.r(n);var t=r(47568),a=r(26042),u=r(70655),s=r(85893),i=r(67294),c=r(16153),l=r(84485),o=r(93626),d=r(58827),f=l.Z.Title,h=function(e){var n=Object.values(e),r=[{title:"Name",dataIndex:"name",key:"name",render:function(e,n){return(0,s.jsx)("a",{href:n.browser_download_url,children:e})}},{title:"Size",dataIndex:"size",key:"size",render:function(e){return"".concat((e/1024/1024).toFixed(2)," MB")}}];return(0,s.jsx)(o.Z,{dataSource:n,columns:r,rowKey:function(e){return e.id},size:"large",pagination:!1})};n.default=function(){var e=(0,i.useState)({html_url:"",name:"",created_at:null,body:"",assets:[]}),n=e[0],r=e[1],l=function(){var e=(0,t.Z)((function(){var e,n;return(0,u.__generator)(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,(0,d.Kt)()];case 1:return e=t.sent(),r(e),[3,3];case 2:return n=t.sent(),console.log("==== error",n),[3,3];case 3:return[2]}}))}));return function(){return e.apply(this,arguments)}}();return(0,i.useEffect)((function(){l()}),[]),n?(0,s.jsxs)("div",{className:"upgrade-page",children:[(0,s.jsx)(f,{level:2,children:(0,s.jsx)("a",{href:n.html_url,children:n.name})}),(0,s.jsx)(f,{level:5,children:new Date(n.created_at).toDateString()}),(0,s.jsx)(c.D,{children:n.body}),(0,s.jsx)("h3",{children:"Downloads"}),(0,s.jsx)(h,(0,a.Z)({},n.assets))]}):null}}},function(e){e.O(0,[8939,3903,3698,3626,3812,9774,2888,179],(function(){return n=70918,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9262],{70918:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/upgrade",function(){return r(73143)}])},73143:function(e,n,r){"use strict";r.r(n);var t=r(47568),a=r(26042),u=r(70655),s=r(85893),i=r(67294),c=r(16153),l=r(84485),o=r(93626),d=r(58827),f=l.Z.Title,h=function(e){var n=Object.values(e),r=[{title:"Name",dataIndex:"name",key:"name",render:function(e,n){return(0,s.jsx)("a",{href:n.browser_download_url,children:e})}},{title:"Size",dataIndex:"size",key:"size",render:function(e){return"".concat((e/1024/1024).toFixed(2)," MB")}}];return(0,s.jsx)(o.Z,{dataSource:n,columns:r,rowKey:function(e){return e.id},size:"large",pagination:!1})};n.default=function(){var e=(0,i.useState)({html_url:"",name:"",created_at:null,body:"",assets:[]}),n=e[0],r=e[1],l=function(){var e=(0,t.Z)((function(){var e,n;return(0,u.__generator)(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,(0,d.Kt)()];case 1:return e=t.sent(),r(e),[3,3];case 2:return n=t.sent(),console.log("==== error",n),[3,3];case 3:return[2]}}))}));return function(){return e.apply(this,arguments)}}();return(0,i.useEffect)((function(){l()}),[]),n?(0,s.jsxs)("div",{className:"upgrade-page",children:[(0,s.jsx)(f,{level:2,children:(0,s.jsx)("a",{href:n.html_url,children:n.name})}),(0,s.jsx)(f,{level:5,children:new Date(n.created_at).toDateString()}),(0,s.jsx)(c.D,{children:n.body}),(0,s.jsx)("h3",{children:"Downloads"}),(0,s.jsx)(h,(0,a.Z)({},n.assets))]}):null}}},function(e){e.O(0,[8939,3903,4267,3626,3812,9774,2888,179],(function(){return n=70918,e(e.s=n);var n}));var n=e.O();_N_E=n}]);

View File

@@ -0,0 +1 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3126],{11382:function(n,e,t){"use strict";var i=t(87462),a=t(4942),s=t(15671),r=t(43144),c=t(60136),l=t(33643),o=t(94184),p=t.n(o),u=t(23279),d=t.n(u),m=t(98423),f=t(67294),g=t(53124),v=t(96159),N=t(93355),y=function(n,e){var t={};for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&e.indexOf(i)<0&&(t[i]=n[i]);if(null!=n&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(i=Object.getOwnPropertySymbols(n);a<i.length;a++)e.indexOf(i[a])<0&&Object.prototype.propertyIsEnumerable.call(n,i[a])&&(t[i[a]]=n[i[a]])}return t},E=((0,N.b)("small","default","large"),null);var h=function(n){(0,c.Z)(t,n);var e=(0,l.Z)(t);function t(n){var r;(0,s.Z)(this,t),(r=e.call(this,n)).debouncifyUpdateSpinning=function(n){var e=(n||r.props).delay;e&&(r.cancelExistingSpin(),r.updateSpinning=d()(r.originalUpdateSpinning,e))},r.updateSpinning=function(){var n=r.props.spinning;r.state.spinning!==n&&r.setState({spinning:n})},r.renderSpin=function(n){var e,t=n.direction,s=r.props,c=s.spinPrefixCls,l=s.className,o=s.size,u=s.tip,d=s.wrapperClassName,g=s.style,N=y(s,["spinPrefixCls","className","size","tip","wrapperClassName","style"]),h=r.state.spinning,x=p()(c,(e={},(0,a.Z)(e,"".concat(c,"-sm"),"small"===o),(0,a.Z)(e,"".concat(c,"-lg"),"large"===o),(0,a.Z)(e,"".concat(c,"-spinning"),h),(0,a.Z)(e,"".concat(c,"-show-text"),!!u),(0,a.Z)(e,"".concat(c,"-rtl"),"rtl"===t),e),l),b=(0,m.Z)(N,["spinning","delay","indicator","prefixCls"]),S=f.createElement("div",(0,i.Z)({},b,{style:g,className:x,"aria-live":"polite","aria-busy":h}),function(n,e){var t=e.indicator,i="".concat(n,"-dot");return null===t?null:(0,v.l$)(t)?(0,v.Tm)(t,{className:p()(t.props.className,i)}):(0,v.l$)(E)?(0,v.Tm)(E,{className:p()(E.props.className,i)}):f.createElement("span",{className:p()(i,"".concat(n,"-dot-spin"))},f.createElement("i",{className:"".concat(n,"-dot-item")}),f.createElement("i",{className:"".concat(n,"-dot-item")}),f.createElement("i",{className:"".concat(n,"-dot-item")}),f.createElement("i",{className:"".concat(n,"-dot-item")}))}(c,r.props),u?f.createElement("div",{className:"".concat(c,"-text")},u):null);if(r.isNestedPattern()){var C=p()("".concat(c,"-container"),(0,a.Z)({},"".concat(c,"-blur"),h));return f.createElement("div",(0,i.Z)({},b,{className:p()("".concat(c,"-nested-loading"),d)}),h&&f.createElement("div",{key:"loading"},S),f.createElement("div",{className:C,key:"container"},r.props.children))}return S};var c=n.spinning,l=function(n,e){return!!n&&!!e&&!isNaN(Number(e))}(c,n.delay);return r.state={spinning:c&&!l},r.originalUpdateSpinning=r.updateSpinning,r.debouncifyUpdateSpinning(n),r}return(0,r.Z)(t,[{key:"componentDidMount",value:function(){this.updateSpinning()}},{key:"componentDidUpdate",value:function(){this.debouncifyUpdateSpinning(),this.updateSpinning()}},{key:"componentWillUnmount",value:function(){this.cancelExistingSpin()}},{key:"cancelExistingSpin",value:function(){var n=this.updateSpinning;n&&n.cancel&&n.cancel()}},{key:"isNestedPattern",value:function(){return!(!this.props||"undefined"===typeof this.props.children)}},{key:"render",value:function(){return f.createElement(g.C,null,this.renderSpin)}}]),t}(f.Component);h.defaultProps={spinning:!0,size:"default",wrapperClassName:""};var x=function(n){var e=n.prefixCls,t=(0,f.useContext(g.E_).getPrefixCls)("spin",e),a=(0,i.Z)((0,i.Z)({},n),{spinPrefixCls:t});return f.createElement(h,(0,i.Z)({},a))};x.setDefaultIndicator=function(n){E=n},e.Z=x},61357:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/embed/video",function(){return t(95565)}])},95565:function(n,e,t){"use strict";t.r(e),t.d(e,{default:function(){return o}});var i=t(85893),a=(t(67294),t(4480)),s=t(1899),r=t(1698),c=t(43125),l=t(83818);function o(){var n=(0,a.sJ)(s.RI),e=(0,a.sJ)(s.g1),t=e.name,o=e.offlineMessage,p=n.viewerCount,u=n.lastConnectTime,d=n.lastDisconnectTime,m=(0,a.sJ)(s.YW);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.me,{}),(0,i.jsxs)("div",{className:"video-embed",children:[m&&(0,i.jsx)(l.M,{source:"/hls/stream.m3u8",online:m}),!m&&(0,i.jsx)(r.R,{streamName:t,customText:o,notificationsEnabled:!1}),m&&(0,i.jsx)(c.X,{online:m,lastConnectTime:u,lastDisconnectTime:d,viewerCount:p})]})]})}}},function(n){n.O(0,[2544,9764,9372,29,1899,2854,9774,2888,179],(function(){return e=61357,n(n.s=e);var e}));var e=n.O();_N_E=e}]);

View File

@@ -1 +0,0 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3126],{61357:function(e,n,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/embed/video",function(){return s(95565)}])},95565:function(e,n,s){"use strict";s.r(n),s.d(n,{default:function(){return a}});var t=s(85893),i=(s(67294),s(4480)),o=s(1899),c=s(1698),r=s(43125),u=s(83818);function a(){var e=(0,i.sJ)(o.RI),n=(0,i.sJ)(o.g1),s=n.name,a=n.offlineMessage,l=e.viewerCount,m=e.lastConnectTime,f=e.lastDisconnectTime,d=(0,i.sJ)(o.YW);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.me,{}),(0,t.jsxs)("div",{className:"video-embed",children:[d&&(0,t.jsx)(u.M,{source:"/hls/stream.m3u8",online:d}),!d&&(0,t.jsx)(c.R,{streamName:s,customText:a,notificationsEnabled:!1}),d&&(0,t.jsx)(r.X,{online:d,lastConnectTime:m,lastDisconnectTime:f,viewerCount:l})]})]})}}},function(e){e.O(0,[2544,9764,9372,2860,1899,2854,9774,2888,179],(function(){return n=61357,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

View File

@@ -1 +0,0 @@
.SingleFollower_follower__EyBDI{border:1px solid rgba(0,0,0,.3);padding:10px;border-radius:15px;height:75px;width:250px;font-size:.8rem;overflow:hidden}.SingleFollower_follower__EyBDI:hover{border-color:var(--theme-text-link)}.SingleFollower_follower__EyBDI .SingleFollower_avatar__V9jHG{height:50px;width:50px;border:1px solid rgba(0,0,0,.3)}.SingleFollower_follower__EyBDI .SingleFollower_account__Z66vo{color:var(--theme-text-secondary);text-overflow:ellipsis}.SingleFollower_follower__EyBDI .SingleFollower_placeholder__CgsfJ{width:100%;height:100%}.FollowerCollection_followers__e_EUS,.FollowerCollection_noFollowers__UaCVW{width:100%;background-color:var(--theme-color-background-light)}.FollowerCollection_noFollowers__UaCVW{padding:calc(2*var(--content-padding));border-radius:var(--theme-rounded-corners)}

File diff suppressed because one or more lines are too long