pixelfed/public/js/admin.js

2 lines
208 KiB
JavaScript
Raw Normal View History

2022-02-18 05:31:41 +00:00
/*! For license information please see admin.js.LICENSE.txt */
2023-05-25 06:36:01 +00:00
(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[467],{13261:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>r});var s=a(29655);a(67964);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function n(){n=function(){return t};var t={},e=Object.prototype,a=e.hasOwnProperty,s=Object.defineProperty||function(t,e,a){t[e]=a.value},o="function"==typeof Symbol?Symbol:{},r=o.iterator||"@@iterator",l=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function d(t,e,a){return Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{d({},"")}catch(t){d=function(t,e,a){return t[e]=a}}function u(t,e,a,i){var n=e&&e.prototype instanceof v?e:v,o=Object.create(n.prototype),r=new R(i||[]);return s(o,"_invoke",{value:x(t,a,r)}),o}function m(t,e,a){try{return{type:"normal",arg:t.call(e,a)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var p={};function v(){}function f(){}function h(){}var g={};d(g,r,(function(){return this}));var b=Object.getPrototypeOf,_=b&&b(b(A([])));_&&_!==e&&a.call(_,r)&&(g=_);var C=h.prototype=v.prototype=Object.create(g);function y(t){["next","throw","return"].forEach((function(e){d(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function n(s,o,r,l){var c=m(t[s],t,o);if("throw"!==c.type){var d=c.arg,u=d.value;return u&&"object"==i(u)&&a.call(u,"__await")?e.resolve(u.__await).then((function(t){n("next",t,r,l)}),(function(t){n("throw",t,r,l)})):e.resolve(u).then((function(t){d.value=t,r(d)}),(function(t){return n("throw",t,r,l)}))}l(c.arg)}var o;s(this,"_invoke",{value:function(t,a){function s(){return new e((function(e,s){n(t,a,e,s)}))}return o=o?o.then(s,s):s()}})}function x(t,e,a){var s="suspendedStart";return function(i,n){if("executing"===s)throw new Error("Generator is already running");if("completed"===s){if("throw"===i)throw n;return I()}for(a.method=i,a.arg=n;;){var o=a.delegate;if(o){var r=k(o,a);if(r){if(r===p)continue;return r}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if("suspendedStart"===s)throw s="completed",a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);s="executing";var l=m(t,e,a);if("normal"===l.type){if(s=a.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:a.done}}"throw"===l.type&&(s="completed",a.method="throw",a.arg=l.arg)}}}function k(t,e){var a=e.method,s=t.iterator[a];if(void 0===s)return e.delegate=null,"throw"===a&&t.iterator.return&&(e.method="return",e.arg=void 0,k(t,e),"throw"===e.method)||"return"!==a&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+a+"' method")),p;var i=m(s,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,p;var n=i.arg;return n?n.done?(e[t.resultName]=n.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,p):n:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function R(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function A(t){if(t){var e=t[r];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var s=-1,i=function e(){for(;++s<t.length;)if(a.call(t,s))return e.value=t[s],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:I}}function I(){return{value:void 0,done:!0}}return f.prototype=h,s(C,"constructor",{value:h,configurable:!0}),s(h,"constructor",{value:f,configurable:!0}),f.displayName=d(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setProtot