Bundle embedded web app

This commit is contained in:
renovate[bot]
2022-12-19 16:40:06 +00:00
parent f4a056f77b
commit 6021df078d
79 changed files with 76 additions and 76 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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4976],{62705:function(t,e,n){var r=n(55639).Symbol;t.exports=r},44239:function(t,e,n){var r=n(62705),o=n(89607),i=n(2333),a=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?o(t):i(t)}},27561:function(t,e,n){var r=n(67990),o=/^\s+/;t.exports=function(t){return t?t.slice(0,r(t)+1).replace(o,""):t}},31957:function(t,e,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=r},89607:function(t,e,n){var r=n(62705),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,c=r?r.toStringTag:void 0;t.exports=function(t){var e=i.call(t,c),n=t[c];try{t[c]=void 0;var r=!0}catch(o){}var u=a.call(t);return r&&(e?t[c]=n:delete t[c]),u}},2333:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},55639:function(t,e,n){var r=n(31957),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},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),o=n(7771),i=n(14841),a=Math.max,c=Math.min;t.exports=function(t,e,n){var u,s,f,l,p,d,v=0,h=!1,y=!1,m=!0;if("function"!=typeof t)throw TypeError("Expected a function");function x(e){var n=u,r=s;return u=s=void 0,v=e,l=t.apply(r,n)}function g(t){var n=t-d,r=t-v;return void 0===d||n>=e||n<0||y&&r>=f}function E(){var t,n,r,i=o();if(g(i))return b(i);p=setTimeout(E,(t=i-d,n=i-v,r=e-t,y?c(r,f-n):r))}function b(t){return(p=void 0,m&&u)?x(t):(u=s=void 0,l)}function w(){var t,n=o(),r=g(n);if(u=arguments,s=this,d=n,r){if(void 0===p)return v=t=d,p=setTimeout(E,e),h?x(t):l;if(y)return clearTimeout(p),p=setTimeout(E,e),x(d)}return void 0===p&&(p=setTimeout(E,e)),l}return e=i(e)||0,r(n)&&(h=!!n.leading,f=(y="maxWait"in n)?a(i(n.maxWait)||0,e):f,m="trailing"in n?!!n.trailing:m),w.cancel=function(){void 0!==p&&clearTimeout(p),v=0,u=d=s=p=void 0},w.flush=function(){return void 0===p?l:b(o())},w}},13218:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},37005:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},33448:function(t,e,n){var r=n(44239),o=n(37005);t.exports=function(t){return"symbol"==typeof t||o(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),o=n(13218),i=n(33448),a=0/0,c=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,s=/^0o[0-7]+$/i,f=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return a;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(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)?f(t.slice(2),n?2:8):c.test(t)?a:+t}},10203:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/federation/actions",function(){return n(86419)}])},86419:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return p}});var r=n(85893),o=n(67294),i=n(84485),a=n(52206),c=n(58091),u=n(64777),s=n(70241);let{Title:f,Paragraph:l}=i.Z;function p(){let[t,e]=(0,o.useState)([]),[n,i]=(0,o.useState)(0),[p,d]=(0,o.useState)(0),v=async()=>{try{let t="".concat(u.op,"?offset=").concat(50*p,"&limit=").concat(50),n=await (0,u.rQ)(t,{auth:!0}),{results:r,total:o}=n;i(o),(0,s.Qr)(r)?e([]):e(r)}catch(a){console.log("==== error",a)}};(0,o.useEffect)(()=>{v()},[p]);let h=[{title:"Action",dataIndex:"type",key:"type",width:50,render(t,e){let n,o;switch(e.type){case"FEDIVERSE_ENGAGEMENT_REPOST":n="/img/repost.svg",o="Share";break;case"FEDIVERSE_ENGAGEMENT_LIKE":n="/img/like.svg",o="Like";break;case"FEDIVERSE_ENGAGEMENT_FOLLOW":n="/img/follow.svg",o="Follow";break;default:n=""}return(0,r.jsxs)("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column"},children:[(0,r.jsx)("img",{src:n,width:"70%",alt:o,title:o}),(0,r.jsx)("div",{style:{fontSize:"0.7rem"},children:o})]})}},{title:"From",dataIndex:"actorIRI",key:"from",render:(t,e)=>(0,r.jsx)("a",{href:e.actorIRI,children:e.actorIRI})},{title:"When",dataIndex:"timestamp",key:"timestamp",render(t,e){let n=new Date(e.timestamp);return(0,c.Z)(n,"P pp")}}];return(0,r.jsxs)("div",{children:[(0,r.jsx)(f,{level:3,children:"Fediverse Actions"}),(0,r.jsx)(l,{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."}),(0,r.jsx)(a.Z,{dataSource:t,columns:h,size:"small",rowKey:t=>t.iri,pagination:{pageSize:50,hideOnSinglePage:!0,showSizeChanger:!1,total:n},onChange(t){let e=t.current;d(e)}})]})}}},function(t){t.O(0,[8909,3903,4267,2206,8091,9774,2888,179],function(){return t(t.s=10203)}),_N_E=t.O()}]);

View File

@@ -1 +0,0 @@
(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,s=Math.min;t.exports=function(t,e,n){var u,c,l,f,d,p,h=0,v=!1,m=!1,E=!0;if("function"!=typeof t)throw TypeError("Expected a function");function y(e){var n=u,r=c;return u=c=void 0,h=e,f=t.apply(r,n)}function x(t){var n=t-p,r=t-h;return void 0===p||n>=e||n<0||m&&r>=l}function w(){var t,n,r,o=i();if(x(o))return g(o);d=setTimeout(w,(t=o-p,n=o-h,r=e-t,m?s(r,l-n):r))}function g(t){return(d=void 0,E&&u)?y(t):(u=c=void 0,f)}function _(){var t,n=i(),r=x(n);if(u=arguments,c=this,p=n,r){if(void 0===d)return h=t=p,d=setTimeout(w,e),v?y(t):f;if(m)return clearTimeout(d),d=setTimeout(w,e),y(p)}return void 0===d&&(d=setTimeout(w,e)),f}return e=o(e)||0,r(n)&&(v=!!n.leading,l=(m="maxWait"in n)?a(o(n.maxWait)||0,e):l,E="trailing"in n?!!n.trailing:E),_.cancel=function(){void 0!==d&&clearTimeout(d),h=0,u=p=c=d=void 0},_.flush=function(){return void 0===d?f:g(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=0/0,s=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return a;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||c.test(t)?l(t.slice(2),n?2:8):s.test(t)?a:+t}},10203:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/federation/actions",function(){return n(86419)}])},86419:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return d}});var r=n(85893),i=n(67294),o=n(84485),a=n(52206),s=n(58091),u=n(64777),c=n(70241);let{Title:l,Paragraph:f}=o.Z;function d(){let[t,e]=(0,i.useState)([]),[n,o]=(0,i.useState)(0),[d,p]=(0,i.useState)(0),h=async()=>{try{let t="".concat(u.op,"?offset=").concat(50*d,"&limit=").concat(50),n=await (0,u.rQ)(t,{auth:!0}),{results:r,total:i}=n;o(i),(0,c.Qr)(r)?e([]):e(r)}catch(a){console.log("==== error",a)}};(0,i.useEffect)(()=>{h()},[d]);let v=[{title:"Action",dataIndex:"type",key:"type",width:50,render(t,e){let n,i;switch(e.type){case"FEDIVERSE_ENGAGEMENT_REPOST":n="/img/repost.svg",i="Share";break;case"FEDIVERSE_ENGAGEMENT_LIKE":n="/img/like.svg",i="Like";break;case"FEDIVERSE_ENGAGEMENT_FOLLOW":n="/img/follow.svg",i="Follow";break;default:n=""}return(0,r.jsxs)("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column"},children:[(0,r.jsx)("img",{src:n,width:"70%",alt:i,title:i}),(0,r.jsx)("div",{style:{fontSize:"0.7rem"},children:i})]})}},{title:"From",dataIndex:"actorIRI",key:"from",render:(t,e)=>(0,r.jsx)("a",{href:e.actorIRI,children:e.actorIRI})},{title:"When",dataIndex:"timestamp",key:"timestamp",render(t,e){let n=new Date(e.timestamp);return(0,s.Z)(n,"P pp")}}];return(0,r.jsxs)("div",{children:[(0,r.jsx)(l,{level:3,children:"Fediverse Actions"}),(0,r.jsx)(f,{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."}),(0,r.jsx)(a.Z,{dataSource:t,columns:v,size:"small",rowKey:t=>t.iri,pagination:{pageSize:50,hideOnSinglePage:!0,showSizeChanger:!1,total:n},onChange(t){let e=t.current;p(e)}})]})}}},function(t){t.O(0,[8909,3903,4267,2206,8091,9774,2888,179],function(){return t(t.s=10203)}),_N_E=t.O()}]);

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