akkoma/priv/static/sw-pleroma.js

41 lines
183 KiB
JavaScript
Raw Normal View History

2022-06-14 16:29:41 +00:00
var serviceWorkerOption = {"assets":["/static/img/nsfw.ca95de9.png","/static/css/app.ff49eba8c60fb923a345.css","/static/js/app.ac6a5ffb0464738cd624.js","/static/js/vendors~app.be2014390281e934ebf1.js","/static/css/2.4e6541aa0979ab5fe8ab.css","/static/js/2.55d5f2926c7b22177236.js","/static/css/3.2f4099421df47087d7d1.css","/static/js/3.6817af5c7ddbbd72fbf1.js","/static/css/4.10e378d3da0e7f32661d.css","/static/js/4.927a84e2225924985925.js","/static/js/5.bbbe2165b2726754babd.js","/static/js/6.c6e50a831e6b09d426c7.js","/static/js/7.7a9d3de7e3eb6affa8fa.js","/static/js/8.6e10d130a82421e5de97.js","/static/js/9.4c310a18d1e30d64ab78.js","/static/js/10.b67f1d16d8fdcd03f775.js","/static/js/11.88732498617afe7ab4fa.js","/static/js/12.21fb2f8c9787acc40766.js","/static/js/13.bd887f6f8965a89629f1.js","/static/js/14.8d076150d2d32a70c85c.js","/static/js/15.458ea2a090159a1c312d.js","/static/js/16.b026bc770b996a75ab86.js","/static/js/17.37f97cc3eab74f285530.js","/static/js/18.5e155da6b34cb233975a.js","/static/js/19.4449616295c79e9feb82.js","/static/js/20.c3c9f56f752974bf19cf.js","/static/js/21.13590b4f67813801857e.js","/static/js/22.af3b6f25635a9809f6e8.js","/static/js/23.27002d630c581d75786b.js","/static/js/24.17fecccd566085bc7273.js","/static/js/25.d92131b48359fae551a4.js","/static/js/26.8e2b950cad8e4bb7145f.js","/static/js/27.b70f29d1c24421eeb8e0.js","/static/js/28.3eeac63a0c7d7ca9f57e.js","/static/js/29.a9703e50212c8482b1b8.js","/static/js/30.ccdf2a34d5a00135f6b7.js","/static/js/31.079c61206f2e6ac69873.js","/static/js/32.2c5f6af0c5d2d87ad611.js","/static/ruffle/5364d08c1900355192f5.wasm","/static/ruffle/LICENSE_APACHE","/static/ruffle/LICENSE_MIT","/static/ruffle/README.md","/static/ruffle/package.json","/static/ruffle/ruffle.js"]};
2019-01-30 20:04:58 +00:00
2022-06-11 16:15:57 +00:00
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=200)}([function(e,t,n){"use strict";(function(e){function r(e,t){const n=Object.create(null),r=e.split(",");for(let e=0;e<r.length;e++)n[r[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}n.d(t,"a",(function(){return b})),n.d(t,"b",(function(){return _})),n.d(t,"c",(function(){return y})),n.d(t,"d",(function(){return g})),n.d(t,"e",(function(){return H})),n.d(t,"f",(function(){return K})),n.d(t,"g",(function(){return Z})),n.d(t,"h",(function(){return k})),n.d(t,"i",(function(){return ne})),n.d(t,"j",(function(){return X})),n.d(t,"k",(function(){return E})),n.d(t,"l",(function(){return Y})),n.d(t,"m",(function(){return s})),n.d(t,"n",(function(){return Q})),n.d(t,"o",(function(){return I})),n.d(t,"p",(function(){return B})),n.d(t,"q",(function(){return A})),n.d(t,"r",(function(){return o})),n.d(t,"s",(function(){return d})),n.d(t,"t",(function(){return W})),n.d(t,"u",(function(){return L})),n.d(t,"v",(function(){return w})),n.d(t,"w",(function(){return T})),n.d(t,"x",(function(){return O})),n.d(t,"y",(function(){return q})),n.d(t,"z",(function(){return R})),n.d(t,"A",(function(){return U})),n.d(t,"B",(function(){return m})),n.d(t,"C",(function(){return S})),n.d(t,"D",(function(){return i})),n.d(t,"E",(function(){return C})),n.d(t,"F",(function(){return F})),n.d(t,"G",(function(){return h})),n.d(t,"H",(function(){return v})),n.d(t,"I",(function(){return r})),n.d(t,"J",(function(){return p})),n.d(t,"K",(function(){return c})),n.d(t,"L",(function(){return x})),n.d(t,"M",(function(){return J})),n.d(t,"N",(function(){return ee})),n.d(t,"O",(function(){return D}));const o=r("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt");const a="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",i=r(a);function s(e){return!!e||""===e}function c(e){if(I(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=C(r)?f(r):c(r);if(o)for(const e in o)t[e]=o[e]}return t}return C(e)||T(e)?e:void 0}const l=/;(?![^(]*\))/g,u=/:(.+)/;function f(e){const t={};return e.split(l).forEach(e=>{if(e){const n=e.split(u);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function p(e){let t="";if(C(e))t=e;else if(I(e))for(let n=0;n<e.length;n++){const r=p(e[n]);r&&(t+=r+" ")}else if(T(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const d=r("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),m=r("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,fe
/*!
* shared v9.2.0-beta.34
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/
const r="undefined"!=typeof window;const o=/\{([0-9a-zA-Z]+)\}/g;function a(e,...t){return 1===t.length&&x(t[0])&&(t=t[0]),t&&t.hasOwnProperty||(t={}),e.replace(o,(e,n)=>t.hasOwnProperty(n)?t[n]:"")}const i="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,s=e=>i?Symbol(e):e,c=(e,t,n)=>l({l:e,k:t,s:n}),l=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),u=e=>"number"==typeof e&&isFinite(e),f=e=>"[object Date]"===E(e),p=e=>"[object RegExp]"===E(e),d=e=>I(e)&&0===Object.keys(e).length;function m(e,t){"undefined"!=typeof console&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const h=Object.assign;let v;const _=()=>v||(v="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:{});function b(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const g=Object.prototype.hasOwnProperty;function y(e,t){return g.call(e,t)}const j=Array.isArray,O=e=>"function"==typeof e,w=e=>"string"==typeof e,k=e=>"boolean"==typeof e,x=e=>null!==e&&"object"==typeof e,z=Object.prototype.toString,E=e=>z.call(e),I=e=>"[object Object]"===E(e),L=e=>null==e?"":j(e)||I(e)&&e.toString===z?JSON.stringify(e,null,2):String(e)}).call(this,n(6))},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){var r=n(38),o="object"==typeof self&&self&&self.Object===Object&&self,a=r||o||Function("return this")();e.exports=a},function(e,t,n){var r=n(99),o=n(102);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},function(e,t,n){e.exports=n(59)},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(10),o=n(70),a=n(71),i=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":i&&i in Object(e)?o(e):a(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){var r=n(37),o=n(26);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},function(e,t,n){var r=n(3).Symbol;e.exports=r},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){var r=n(7),o=n(8);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},function(e,t,n){"use strict";
2020-07-06 10:20:20 +00:00
/*!
* escape-html
* Copyright(c) 2012-2013 TJ Holowaychuk
* Copyright(c) 2015 Andreas Lubbe
* Copyright(c) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
2022-06-11 16:15:57 +00:00
*/var r=/["'&<>]/;e.exports=function(e){var t,n=""+e,o=r.exec(n);if(!o)return n;var a="",i=0,s=0;for(i=o.index;i<n.length;i++){switch(n.charCodeAt(i)){case 34:t="&quot;";break;case 38:t="&amp;";break;case 39:t="&#39;";break;case 60:t="&lt;";break;case 62:t="&gt;";break;default:continue}s!==i&&(a+=n.substring(s,i)),s=i+1,a+=t}return s!==i?a+n.substring(s,i):a}},function(e,t,n){var r=n(80),o=n(86),a=n(9);e.exports=function(e){return a(e)?r(e):o(e)}},function(e,t,n){var r=n(4)(Object,"create");e.exports=r},function(e,t,n){var r=n(107),o=n(108),a=n(109),i=n(110),s=n(111);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=i,c.prototype.set=s,e.exports=c},function(e,t,n){var r=n(33);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(113);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var r=n(12);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},function(e,t){e.exports=function(e){return e}},function(e,t,n){"use strict";(function(e){let r,o;function a(){return void 0!==r||("undefined"!=typeof window&&window.performance?(r=!0,o=window.performance):void 0!==e&&(null===(t=e.perf_hooks)||void 0===t?void 0:t.performance)?(r=!0,o=e.perf_hooks.performance):r=!1),r?o.now():Date.now();var t}n.d(t,"a",(function(){return a}))}).call(this,n(6))},function(e,t,n){var r=n(49),o=n(172),a=n(45),i=n(2);e.exports=function(e,t){return(i(e)?r:o)(e,a(t,3))}},function(e,t){function n(e,t,n,r,o,a,i){try{var s=e[a](i),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(o,a){var i=e.apply(t,r);function s(e){n(i,o,a,s,c,"next",e)}function c(e){n(i,o,a,s,c,"throw",e)}s(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";(function(e){function r(){return o().__VUE_DEVTOOLS_GLOBAL_HOOK__}function o(){return"undefined"!=typeof navigator&&"undefined"!=typeof window?window:void 0!==e?e:{}}n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a}));const a="function"==typeof Proxy}).call(this,n(6))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},function(e,t,n){var r=n(82),o=n(8),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return o(e)&&i.call(e,"callee")&&!s.call(e,"callee")};e.exports=c},function(e,t){var n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,n){var r=n(43),o=n(19);e.exports=function(e,t){for(var n=0,a=(t=r(t,e)).length;null!=e&&n<a;)e=e[o(t[n++])];return n&&n==a?e:void 0}},function(e,t,n){var r=n(2),o=n(12),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(i.test(e)||!a.test(e)||null!=t&&e in Object(t))}},function(e,t,n){var r=n(96),o=n(112),a=n(114),i=n(115),s=n(116);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=i,c.prototype.set=s,e.exports=c},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var r=n(4)(n(3),"
/*!
localForage -- Offline Storage, Improved
2022-06-11 16:15:57 +00:00
Version 1.10.0
https://localforage.github.io/localForage
(c) 2013-2017 Mozilla, Apache License 2.0
*/
2022-06-14 15:35:32 +00:00
!function(n){if("object"==typeof t&&void 0!==e)e.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).localforage=n()}}((function(){return function e(t,n,r){function o(i,s){if(!n[i]){if(!t[i]){var c="function"==typeof require&&require;if(!s&&c)return c(i,!0);if(a)return a(i,!0);var l=new Error("Cannot find module '"+i+"'");throw l.code="MODULE_NOT_FOUND",l}var u=n[i]={exports:{}};t[i][0].call(u.exports,(function(e){var n=t[i][1][e];return o(n||e)}),u,u.exports,e,t,n,r)}return n[i].exports}for(var a="function"==typeof require&&require,i=0;i<r.length;i++)o(r[i]);return o}({1:[function(e,t,n){(function(e){"use strict";var n,r,o=e.MutationObserver||e.WebKitMutationObserver;if(o){var a=0,i=new o(u),s=e.document.createTextNode("");i.observe(s,{characterData:!0}),n=function(){s.data=a=++a%2}}else if(e.setImmediate||void 0===e.MessageChannel)n="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){u(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(u,0)};else{var c=new e.MessageChannel;c.port1.onmessage=u,n=function(){c.port2.postMessage(0)}}var l=[];function u(){var e,t;r=!0;for(var n=l.length;n;){for(t=l,l=[],e=-1;++e<n;)t[e]();n=l.length}r=!1}t.exports=function(e){1!==l.push(e)||r||n()}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(e,t,n){"use strict";var r=e(1);function o(){}var a={},i=["REJECTED"],s=["FULFILLED"],c=["PENDING"];function l(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=c,this.queue=[],this.outcome=void 0,e!==o&&d(this,e)}function u(e,t,n){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function f(e,t,n){r((function(){var r;try{r=t(n)}catch(t){return a.reject(e,t)}r===e?a.reject(e,new TypeError("Cannot resolve promise with itself")):a.resolve(e,r)}))}function p(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function d(e,t){var n=!1;function r(t){n||(n=!0,a.reject(e,t))}function o(t){n||(n=!0,a.resolve(e,t))}var i=m((function(){t(o,r)}));"error"===i.status&&r(i.value)}function m(e,t){var n={};try{n.value=e(t),n.status="success"}catch(e){n.status="error",n.value=e}return n}t.exports=l,l.prototype.catch=function(e){return this.then(null,e)},l.prototype.then=function(e,t){if("function"!=typeof e&&this.state===s||"function"!=typeof t&&this.state===i)return this;var n=new this.constructor(o);this.state!==c?f(n,this.state===s?e:t,this.outcome):this.queue.push(new u(n,e,t));return n},u.prototype.callFulfilled=function(e){a.resolve(this.promise,e)},u.prototype.otherCallFulfilled=function(e){f(this.promise,this.onFulfilled,e)},u.prototype.callRejected=function(e){a.reject(this.promise,e)},u.prototype.otherCallRejected=function(e){f(this.promise,this.onRejected,e)},a.resolve=function(e,t){var n=m(p,t);if("error"===n.status)return a.reject(e,n.value);var r=n.value;if(r)d(e,r);else{e.state=s,e.outcome=t;for(var o=-1,i=e.queue.length;++o<i;)e.queue[o].callFulfilled(t)}return e},a.reject=function(e,t){e.state=i,e.outcome=t;for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e},l.resolve=function(e){if(e instanceof this)return e;return a.resolve(new this(o),e)},l.reject=function(e){var t=new this(o);return a.reject(t,e)},l.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);var i=new Array(n),s=0,c=-1,l=new this(o);for(;++c<n;)u(e[c],c);return l;function u(e,o){t.resolve(e).then((function(e){i[o]=e,++s!==n||r||(r=!0,a.resolve(l,i)
2022-06-11 16:15:57 +00:00
/*!
* message-compiler v9.2.0-beta.34
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/
const W=15;function U(e,t,n={}){const{domain:r,messages:o,args:a}=n,i=new SyntaxError(String(e));return i.code=e,t&&(i.location=t),i.domain=r,i}String.fromCharCode(8232),String.fromCharCode(8233);
2020-07-06 10:20:20 +00:00
/*!
2022-06-11 16:15:57 +00:00
* devtools-if v9.2.0-beta.34
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/
const B="i18n:init",$="function:translate",V=[];
2020-07-06 10:20:20 +00:00
/*!
2022-06-11 16:15:57 +00:00
* core-base v9.2.0-beta.34
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/V[0]={w:[0],i:[3,0],"[":[4],o:[7]},V[1]={w:[1],".":[2],"[":[4],o:[7]},V[2]={w:[2],i:[3,0],0:[3,0]},V[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},V[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},V[5]={"'":[4,0],o:8,l:[5,0]},V[6]={'"':[4,0],o:8,l:[6,0]};const H=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function G(e){if(null==e)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Y(e){const t=e.trim();return("0"!==e.charAt(0)||!isNaN(parseInt(e)))&&(n=t,H.test(n)?function(e){const t=e.charCodeAt(0);return t!==e.charCodeAt(e.length-1)||34!==t&&39!==t?e:e.slice(1,-1)}(t):"*"+t);var n}const K=new Map;function J(e,t){return Object(q.n)(e)?e[t]:null}const X=e=>e,Q=e=>"",Z=e=>0===e.length?"":e.join(""),ee=q.s;function te(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}function ne(e={}){const t=e.locale,n=function(e){const t=Object(q.m)(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Object(q.m)(e.named.count)||Object(q.m)(e.named.n))?Object(q.m)(e.named.count)?e.named.count:Object(q.m)(e.named.n)?e.named.n:t:t}(e),r=Object(q.n)(e.pluralRules)&&Object(q.q)(t)&&Object(q.l)(e.pluralRules[t])?e.pluralRules[t]:te,o=Object(q.n)(e.pluralRules)&&Object(q.q)(t)&&Object(q.l)(e.pluralRules[t])?te:void 0,a=e.list||[],i=e.named||{};Object(q.m)(e.pluralIndex)&&function(e,t){t.count||(t.count=e),t.n||(t.n=e)}(n,i);function s(t){const n=Object(q.l)(e.messages)?e.messages(t):!!Object(q.n)(e.messages)&&e.messages[t];return n||(e.parent?e.parent.message(t):Q)}const c=Object(q.o)(e.processor)&&Object(q.l)(e.processor.normalize)?e.processor.normalize:Z,l=Object(q.o)(e.processor)&&Object(q.l)(e.processor.interpolate)?e.processor.interpolate:ee,u={list:e=>a[e],named:e=>i[e],plural:e=>e[r(n,e.length,o)],linked:(t,n)=>{const r=s(t)(u);return Object(q.q)(n)?(o=n,e.modifiers?e.modifiers[o]:X)(r):r;var o},message:s,type:Object(q.o)(e.processor)&&Object(q.q)(e.processor.type)?e.processor.type:"text",interpolate:l,normalize:c};return u}let re=null;const oe=ae($);function ae(e){return t=>re&&re.emit(e,t)}const ie=7;function se(e,t,n){return[...new Set([n,...Object(q.h)(t)?t:Object(q.n)(t)?Object.keys(t):Object(q.q)(t)?[t]:[n]])]}function ce(e,t,n){const r=Object(q.q)(n)?n:pe,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let a=o.__localeChainCache.get(r);if(!a){a=[];let e=[n];for(;Object(q.h)(e);)e=le(a,e,t);const i=Object(q.h)(t)||!Object(q.o)(t)?t:t.default?t.default:null;e=Object(q.q)(i)?[i]:i,Object(q.h)(e)&&le(a,e,!1),o.__localeChainCache.set(r,a)}return a}function le(e,t,n){let r=!0;for(let o=0;o<t.length&&Object(q.i)(r);o++){const a=t[o];Object(q.q)(a)&&(r=ue(e,t[o],n))}return r}function ue(e,t,n){let r;const o=t.split("-");do{r=fe(e,o.join("-"),n),o.splice(-1,1)}while(o.length&&!0===r);return r}function fe(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r="!"!==t[t.length-1];const o=t.replace(/!/g,"");e.push(o),(Object(q.h)(n)||Object(q.o)(n))&&n[o]&&(r=n[o])}return r}const pe="en-US";let de,me,he;let ve=null;const _e=e=>{ve=e};let be=null;const ge=e=>{be=e};let ye=0;function je(e={}){const t=Object(q.q)(e.version)?e.version:"9.2.0-beta.34",n=Object(q.q)(e.locale)?e.locale:pe,r=Object(q.h)(e.fallbackLocale)||Object(q.o)(e.fallbackLocale)||Object(q.q)(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:n,o=Object(q.o)(e.messages)?e.messages:{[n]:{}},a=Object(q.o)(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},i=Object(q.o)(e.numberFormats)?e.numberFormats:{[n]:{}},s=Object(q.a)({},e.modifiers||{},{upper:e=>Object(q.q)(e)?e.toUpperCase():e,lower:e=>Object(q.q)(e)?e.toLowerCase():e,capitalize:e=>Object(q.q)(e)?`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`:e}),c=e.pluralRules||{},l=Object(q.l)(e.missing)?e.missing:null,u=!Object(q.i)(e.missingWarn)&&!Object(q.p)(e.missingWarn)||e.missingWarn,f=!Object(q.i)(e.fallbackWarn)&&!Object(q.p)(e.fallbackWarn)||e.fallbackWarn,p=!!e.fallbackFormat,d=!!e.unresolving,m=Object(q.l)(e.postTranslation
2019-01-30 20:04:58 +00:00
//# sourceMappingURL=sw-pleroma.js.map