Bundle embedded web app
This commit is contained in:
1
static/web/_next/static/chunks/2877-6ed259e27dba66ad.js
Normal file
1
static/web/_next/static/chunks/2877-6ed259e27dba66ad.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/3626-ffcb249be5918774.js
Normal file
1
static/web/_next/static/chunks/3626-ffcb249be5918774.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/8763-5f3081892e9117b4.js
Normal file
1
static/web/_next/static/chunks/8763-5f3081892e9117b4.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
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(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,355,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,3698,3626,2877,9774,2888,179],(function(){return n=81009,t(t.s=n);var n}));var n=t.O();_N_E=n}]);
|
||||
File diff suppressed because one or more lines are too long
@@ -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(10355),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,355,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,3698,3626,8091,9774,2888,179],(function(){return e=10203,t(t.s=e);var e}));var e=t.O();_N_E=e}]);
|
||||
File diff suppressed because one or more lines are too long
@@ -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(10355),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,355,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,3698,3626,8091,2429,9774,2888,179],(function(){return n=23426,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
|
||||
@@ -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(10355),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,355,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,3698,3626,3812,9774,2888,179],(function(){return n=70918,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
Reference in New Issue
Block a user