(function(){"use strict";self.serviceWorkerOption={assets:["/static/img/nsfw.DepQPhG0.png","/static/css/main.D22XtkBO.css","/static/css/settings_modal.5GFa6N-U.css","/static/css/update_notification.BJ1CAGCw.css","/static/css/sticker_picker.BzJVB0Ta.css","/static/css/settings_modal_user_content.hxNh--rt.css","/static/css/string_setting.B27wX1PR.css","/static/css/settings_modal_admin_content.WeD-61n6.css","/static/js/main.AC3URMfQ.js","/static/js/i18n/ar.Cr-3kZBh.js","/static/js/i18n/ca.Bv4d2Muy.js","/static/js/i18n/cs.EyNXpVXW.js","/static/js/i18n/de.CvXWIhiF.js","/static/js/i18n/eo.C9h09SOv.js","/static/js/i18n/es.BFMlvXsf.js","/static/js/i18n/et.fhuMKZXQ.js","/static/js/i18n/eu.C1UxLEb6.js","/static/js/i18n/fa.BxVyTR8q.js","/static/js/i18n/fi.Brm9lhAA.js","/static/js/i18n/fr.DzBG0KvL.js","/static/js/i18n/ga.CPJnGxWv.js","/static/js/i18n/he.BllNuLoC.js","/static/js/i18n/hu.CljyAvQa.js","/static/js/i18n/id.DLjgbCu5.js","/static/js/i18n/it.ERg696CD.js","/static/js/i18n/ja_easy.PsomvmuF.js","/static/js/i18n/ja_pedantic.VWLd9bHt.js","/static/js/i18n/ko.b1sv0xRp.js","/static/js/i18n/nan-TW.Ci98X1S7.js","/static/js/i18n/nb.DCCmz1gh.js","/static/js/i18n/nl.D6wYIlyz.js","/static/js/i18n/oc.C4DhJxhs.js","/static/js/i18n/pdc.FmFgRqLi.js","/static/js/i18n/pl.CPLK-gPs.js","/static/js/i18n/pt.BzQabObA.js","/static/js/i18n/ro.BA9koejw.js","/static/js/i18n/ru.CYi-PMDA.js","/static/js/i18n/sk.fGdLyyK_.js","/static/js/i18n/te.CikZ4jPW.js","/static/js/i18n/uk.CkmtgYNq.js","/static/js/i18n/vi.BsGK9mjD.js","/static/js/i18n/zh.BZkJuR5j.js","/static/js/i18n/zh_Hant.dSMADUQ9.js","/static/js/emoji.CF2IDMqM.js","/static/js/emoji-annotations/ar.B8mhZA6U.js","/static/js/emoji-annotations/ca.BNs7Pavf.js","/static/js/emoji-annotations/cs.CdaRuLZ2.js","/static/js/emoji-annotations/de.i-ePE-E2.js","/static/js/emoji-annotations/en.UxzeFsjk.js","/static/js/emoji-annotations/es.BgprEtDA.js","/static/js/emoji-annotations/et.RsBIeRrK.js","/static/js/emoji-annotations/eu.DflrXXOX.js","/static/js/emoji-annotations/fi.BQTjfiqL.js","/static/js/emoji-annotations/fr.6uuBHV2n.js","/static/js/emoji-annotations/ga.D-L92xRm.js","/static/js/emoji-annotations/he.Ql7ZB6oR.js","/static/js/emoji-annotations/hu.CfFMlYJN.js","/static/js/emoji-annotations/it.CjUsZ0f4.js","/static/js/emoji-annotations/ja.Cp7hRpKj.js","/static/js/emoji-annotations/ko.DGjjBGsA.js","/static/js/emoji-annotations/nl.BCmP3XAV.js","/static/js/emoji-annotations/pl.C1i62U33.js","/static/js/emoji-annotations/pt.qcD2jbqr.js","/static/js/emoji-annotations/ro.Q0r94aGX.js","/static/js/emoji-annotations/ru.BsjC3M1d.js","/static/js/emoji-annotations/sk.BrZ6jXEe.js","/static/js/emoji-annotations/te.3rQpXN4b.js","/static/js/emoji-annotations/uk.C7RXZT0o.js","/static/js/emoji-annotations/zh.DXJ_1nIQ.js","/static/js/emoji-annotations/zh_Hant.ccXyIXaI.js","/static/js/settings_modal.Hse38PiB.js","/static/js/update_notification.CZcx2OQ7.js","/static/js/sticker_picker.rmgSQPc6.js","/static/js/settings_modal_user_content.DPmqx1OJ.js","/static/js/string_setting.5SBT91w5.js","/static/js/settings_modal_admin_content.k7LAvjl-.js","/index.html"]};var ln=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Kr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function un(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Dn={exports:{}};/*! localForage -- Offline Storage, Improved Version 1.10.0 https://localforage.github.io/localForage (c) 2013-2017 Mozilla, Apache License 2.0 */var Gr;function Qi(){return Gr||(Gr=1,function(e,t){(function(n){e.exports=n()})(function(){return function n(r,o,i){function a(g,E){if(!o[g]){if(!r[g]){var d=typeof un=="function"&&un;if(!E&&d)return d(g,!0);if(c)return c(g,!0);var b=new Error("Cannot find module '"+g+"'");throw b.code="MODULE_NOT_FOUND",b}var R=o[g]={exports:{}};r[g][0].call(R.exports,function(F){var x=r[g][1][F];return a(x||F)},R,R.exports,n,r,o,i)}return o[g].exports}for(var c=typeof un=="function"&&un,u=0;u"u"&&n(3);var d=Promise;function b(s,f){f&&s.then(function(l){f(null,l)},function(l){f(l)})}function R(s,f,l){typeof f=="function"&&s.then(f),typeof l=="function"&&s.catch(l)}function F(s){return typeof s!="string"&&(console.warn(s+" used as a key, but it is not a string."),s=String(s)),s}function x(){if(arguments.length&&typeof arguments[arguments.length-1]=="function")return arguments[arguments.length-1]}var U="local-forage-detect-blob-support",y=void 0,N={},j=Object.prototype.toString,S="readonly",w="readwrite";function C(s){for(var f=s.length,l=new ArrayBuffer(f),p=new Uint8Array(l),v=0;v=43)}}).catch(function(){return!1})}function V(s){return typeof y=="boolean"?d.resolve(y):L(s).then(function(f){return y=f,y})}function H(s){var f=N[s.name],l={};l.promise=new d(function(p,v){l.resolve=p,l.reject=v}),f.deferredOperations.push(l),f.dbReady?f.dbReady=f.dbReady.then(function(){return l.promise}):f.dbReady=l.promise}function re(s){var f=N[s.name],l=f.deferredOperations.pop();if(l)return l.resolve(),l.promise}function se(s,f){var l=N[s.name],p=l.deferredOperations.pop();if(p)return p.reject(f),p.promise}function G(s,f){return new d(function(l,p){if(N[s.name]=N[s.name]||Ct(),s.db)if(f)H(s),s.db.close();else return l(s.db);var v=[s.name];f&&v.push(s.version);var h=u.open.apply(u,v);f&&(h.onupgradeneeded=function(T){var k=h.result;try{k.createObjectStore(s.storeName),T.oldVersion<=1&&k.createObjectStore(U)}catch(P){if(P.name==="ConstraintError")console.warn('The database "'+s.name+'" has been upgraded from version '+T.oldVersion+" to version "+T.newVersion+', but the storage "'+s.storeName+'" already exists.');else throw P}}),h.onerror=function(T){T.preventDefault(),p(h.error)},h.onsuccess=function(){var T=h.result;T.onversionchange=function(k){k.target.close()},l(T),re(s)}})}function he(s){return G(s,!1)}function Ye(s){return G(s,!0)}function st(s,f){if(!s.db)return!0;var l=!s.db.objectStoreNames.contains(s.storeName),p=s.versions.db.version;if(p&&(s.version!==f&&console.warn('The database "'+s.name+`" can't be downgraded from version `+s.db.version+" to version "+s.version+"."),s.version=s.db.version),v||l){if(l){var h=s.db.version+1;h>s.version&&(s.version=h)}return!0}return!1}function dt(s){return new d(function(f,l){var p=new FileReader;p.onerror=l,p.onloadend=function(v){var h=btoa(v.target.result||"");f({__local_forage_encoded_blob:!0,data:h,type:s.type})},p.readAsBinaryString(s)})}function Ue(s){var f=C(atob(s.data));return E([f],{type:s.type})}function Tt(s){return s&&s.__local_forage_encoded_blob}function De(s){var f=this,l=f._initReady().then(function(){var p=N[f._dbInfo.name];if(p&&p.dbReady)return p.dbReady});return R(l,s,s),l}function Rt(s){H(s);for(var f=N[s.name],l=f.forages,p=0;p0&&(!s.db||h.name==="InvalidStateError"||h.name==="NotFoundError"))return d.resolve().then(function(){if(!s.db||h.name==="NotFoundError"&&!s.db.objectStoreNames.contains(s.storeName)&&s.version<=s.db.version)return s.db&&(s.version=s.db.version+1),Ye(s)}).then(function(){return Rt(s).then(function(){we(s,f,l,p-1)})}).catch(l);l(h)}}function Ct(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function Qt(s){var f=this,l={db:null};if(s)for(var p in s)l[p]=s[p];var v=N[l.name];v||(v=Ct(),N[l.name]=v),v.forages.push(f),f._initReady||(f._initReady=f.ready,f.ready=De);var h=[];function T(){return d.resolve()}for(var k=0;k>4,M[v++]=(T&15)<<4|k>>2,M[v++]=(k&3)<<6|P&63;return D}function $r(s){var f=new Uint8Array(s),l="",p;for(p=0;p>2],l+=ve[(f[p]&3)<<4|f[p+1]>>4],l+=ve[(f[p+1]&15)<<2|f[p+2]>>6],l+=ve[f[p+2]&63];return f.length%3===2?l=l.substring(0,l.length-1)+"=":f.length%3===1&&(l=l.substring(0,l.length-2)+"=="),l}function Vl(s,f){var l="";if(s&&(l=Wr.call(s)),s&&(l==="[object ArrayBuffer]"||s.buffer&&Wr.call(s.buffer)==="[object ArrayBuffer]")){var p,v=_;s instanceof ArrayBuffer?(p=s,v+=O):(p=s.buffer,l==="[object Int8Array]"?v+=ae:l==="[object Uint8Array]"?v+=q:l==="[object Uint8ClampedArray]"?v+=I:l==="[object Int16Array]"?v+=A:l==="[object Uint16Array]"?v+=ce:l==="[object Int32Array]"?v+=J:l==="[object Uint32Array]"?v+=We:l==="[object Float32Array]"?v+=pt:l==="[object Float64Array]"?v+=Ke:f(new Error("Failed to get type for BinaryArray"))),f(v+$r(p))}else if(l==="[object Blob]"){var h=new FileReader;h.onload=function(){var T=ht+s.type+"~"+$r(this.result);f(_+B+T)},h.readAsArrayBuffer(s)}else try{f(JSON.stringify(s))}catch(T){console.error("Couldn't convert value into a JSON string: ",s),f(null,T)}}function Hl(s){if(s.substring(0,m)!==_)return JSON.parse(s);var f=s.substring(An),l=s.substring(m,An),p;if(l===B&&kt.test(f)){var v=f.match(kt);p=v[1],f=f.substring(v[0].length)}var h=qi(f);switch(l){case O:return h;case B:return E([h],{type:p});case ae:return new Int8Array(h);case q:return new Uint8Array(h);case I:return new Uint8ClampedArray(h);case A:return new Int16Array(h);case ce:return new Uint16Array(h);case J:return new Int32Array(h);case We:return new Uint32Array(h);case pt:return new Float32Array(h);case Ke:return new Float64Array(h);default:throw new Error("Unkown type: "+l)}}var Br={serialize:Vl,deserialize:Hl,stringToBuffer:qi,bufferToString:$r};function Yi(s,f,l,p){s.executeSql("CREATE TABLE IF NOT EXISTS "+f.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],l,p)}function ql(s){var f=this,l={db:null};if(s)for(var p in s)l[p]=typeof s[p]!="string"?s[p].toString():s[p];var v=new d(function(h,T){try{l.db=openDatabase(l.name,String(l.version),l.description,l.size)}catch(k){return T(k)}l.db.transaction(function(k){Yi(k,l,function(){f._dbInfo=l,h()},function(P,D){T(D)})},T)});return l.serializer=Br,v}function ct(s,f,l,p,v,h){s.executeSql(l,p,v,function(T,k){k.code===k.SYNTAX_ERR?T.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[f.storeName],function(P,D){D.rows.length?h(P,k):Yi(P,f,function(){P.executeSql(l,p,v,h)},h)},h):h(T,k)},h)}function Yl(s,f){var l=this;s=F(s);var p=new d(function(v,h){l.ready().then(function(){var T=l._dbInfo;T.db.transaction(function(k){ct(k,T,"SELECT * FROM "+T.storeName+" WHERE key = ? LIMIT 1",[s],function(P,D){var M=D.rows.length?D.rows.item(0).value:null;M&&(M=T.serializer.deserialize(M)),v(M)},function(P,D){h(D)})})}).catch(h)});return b(p,f),p}function Kl(s,f){var l=this,p=new d(function(v,h){l.ready().then(function(){var T=l._dbInfo;T.db.transaction(function(k){ct(k,T,"SELECT * FROM "+T.storeName,[],function(P,D){for(var M=D.rows,$=M.length,Y=0;Y<$;Y++){var Q=M.item(Y),ee=Q.value;if(ee&&(ee=T.serializer.deserialize(ee)),ee=s(ee,Q.key,Y+1),ee!==void 0){v(ee);return}}v()},function(P,D){h(D)})})}).catch(h)});return b(p,f),p}function Ki(s,f,l,p){var v=this;s=F(s);var h=new d(function(T,k){v.ready().then(function(){f===void 0&&(f=null);var P=f,D=v._dbInfo;D.serializer.serialize(f,function(M,$){$?k($):D.db.transaction(function(Y){ct(Y,D,"INSERT OR REPLACE INTO "+D.storeName+" (key, value) VALUES (?, ?)",[s,M],function(){T(P)},function(Q,ee){k(ee)})},function(Y){if(Y.code===Y.QUOTA_ERR){if(p>0){T(Ki.apply(v,[s,P,l,p-1]));return}k(Y)}})})}).catch(k)});return b(h,l),h}function Gl(s,f,l){return Ki.apply(this,[s,f,l,1])}function zl(s,f){var l=this;s=F(s);var p=new d(function(v,h){l.ready().then(function(){var T=l._dbInfo;T.db.transaction(function(k){ct(k,T,"DELETE FROM "+T.storeName+" WHERE key = ?",[s],function(){v()},function(P,D){h(D)})})}).catch(h)});return b(p,f),p}function Xl(s){var f=this,l=new d(function(p,v){f.ready().then(function(){var h=f._dbInfo;h.db.transaction(function(T){ct(T,h,"DELETE FROM "+h.storeName,[],function(){p()},function(k,P){v(P)})})}).catch(v)});return b(l,s),l}function Jl(s){var f=this,l=new d(function(p,v){f.ready().then(function(){var h=f._dbInfo;h.db.transaction(function(T){ct(T,h,"SELECT COUNT(key) as c FROM "+h.storeName,[],function(k,P){var D=P.rows.item(0).c;p(D)},function(k,P){v(P)})})}).catch(v)});return b(l,s),l}function Ql(s,f){var l=this,p=new d(function(v,h){l.ready().then(function(){var T=l._dbInfo;T.db.transaction(function(k){ct(k,T,"SELECT key FROM "+T.storeName+" WHERE id = ? LIMIT 1",[s+1],function(P,D){var M=D.rows.length?D.rows.item(0).key:null;v(M)},function(P,D){h(D)})})}).catch(h)});return b(p,f),p}function Zl(s){var f=this,l=new d(function(p,v){f.ready().then(function(){var h=f._dbInfo;h.db.transaction(function(T){ct(T,h,"SELECT key FROM "+h.storeName,[],function(k,P){for(var D=[],M=0;M '__WebKitDatabaseInfoTable__'",[],function(v,h){for(var T=[],k=0;k0}function su(s){var f=this,l={};if(s)for(var p in s)l[p]=s[p];return l.keyPrefix=Gi(s,f._defaultConfig),iu()?(f._dbInfo=l,l.serializer=Br,d.resolve()):d.reject()}function au(s){var f=this,l=f.ready().then(function(){for(var p=f._dbInfo.keyPrefix,v=localStorage.length-1;v>=0;v--){var h=localStorage.key(v);h.indexOf(p)===0&&localStorage.removeItem(h)}});return b(l,s),l}function cu(s,f){var l=this;s=F(s);var p=l.ready().then(function(){var v=l._dbInfo,h=localStorage.getItem(v.keyPrefix+s);return h&&(h=v.serializer.deserialize(h)),h});return b(p,f),p}function lu(s,f){var l=this,p=l.ready().then(function(){for(var v=l._dbInfo,h=v.keyPrefix,T=h.length,k=localStorage.length,P=1,D=0;D=0;T--){var k=localStorage.key(T);k.indexOf(h)===0&&localStorage.removeItem(k)}}):v=d.reject("Invalid arguments"),b(v,f),v}var pu={_driver:"localStorageWrapper",_initStorage:su,_support:ru(),iterate:lu,getItem:cu,setItem:mu,removeItem:du,clear:au,length:_u,key:uu,keys:fu,dropInstance:hu},gu=function(f,l){return f===l||typeof f=="number"&&typeof l=="number"&&isNaN(f)&&isNaN(l)},vu=function(f,l){for(var p=f.length,v=0;v"u"?"undefined":i(l))==="object"){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var p in l){if(p==="storeName"&&(l[p]=l[p].replace(/\W/g,"_")),p==="version"&&typeof l[p]!="number")return new Error("Database version must be a number.");this._config[p]=l[p]}return"driver"in l&&l.driver?this.setDriver(this._config.driver):!0}else return typeof l=="string"?this._config[l]:this._config},s.prototype.defineDriver=function(l,p,v){var h=new d(function(T,k){try{var P=l._driver,D=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!l._driver){k(D);return}for(var M=Vr.concat("_initStorage"),$=0,Y=M.length;$]/;jn=t;function t(n){var r=""+n,o=e.exec(r);if(!o)return r;var i,a="",c=0,u=0;for(c=o.index;cn in t}const xn={},Pt=()=>{},is=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Dt=Object.assign,ss=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},as=Object.prototype.hasOwnProperty,Mn=(e,t)=>as.call(e,t),me=Array.isArray,jt=e=>_n(e)==="[object Map]",cs=e=>_n(e)==="[object Set]",Se=e=>typeof e=="function",Ge=e=>typeof e=="string",Ft=e=>typeof e=="symbol",Ce=e=>e!==null&&typeof e=="object",ls=e=>(Ce(e)||Se(e))&&Se(e.then)&&Se(e.catch),us=Object.prototype.toString,_n=e=>us.call(e),fs=e=>_n(e).slice(8,-1),_s=e=>_n(e)==="[object Object]",Un=e=>Ge(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ze=(e,t)=>!Object.is(e,t);let Xr;const Wn=()=>Xr||(Xr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function $n(e){if(me(e)){const t={};for(let n=0;n{if(n){const r=n.split(ms);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Bn(e){let t="";if(Ge(e))t=e;else if(me(e))for(let n=0;n0&&--this._on===0&&(be=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n0)return;if(Mt){let t=Mt;for(Mt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;xt;){let t=xt;for(xt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Zr(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function eo(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),Kn(r),ws(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function Yn(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(to(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function to(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ut)||(e.globalVersion=Ut,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Yn(e))))return;e.flags|=2;const t=e.dep,n=oe,r=Oe;oe=e,Oe=!0;try{Zr(e);const o=e.fn(e._value);(t.version===0||ze(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{oe=n,Oe=r,eo(e),e.flags&=-3}}function Kn(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Kn(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function ws(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Oe=!0;const no=[];function dn(){no.push(Oe),Oe=!1}function mn(){const e=no.pop();Oe=e===void 0?!0:e}function ro(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=oe;oe=void 0;try{t()}finally{oe=n}}}let Ut=0;class Ss{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Gn{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!oe||!Oe||oe===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==oe)n=this.activeLink=new Ss(oe,this),oe.deps?(n.prevDep=oe.depsTail,oe.depsTail.nextDep=n,oe.depsTail=n):oe.deps=oe.depsTail=n,oo(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=oe.depsTail,n.nextDep=void 0,oe.depsTail.nextDep=n,oe.depsTail=n,oe.deps===n&&(oe.deps=r)}return n}trigger(t){this.version++,Ut++,this.notify(t)}notify(t){Hn();try{gs.NODE_ENV;for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{qn()}}}function oo(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)oo(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const zn=new WeakMap,lt=Symbol(""),Xn=Symbol(""),Wt=Symbol("");function ye(e,t,n){if(Oe&&oe){let r=zn.get(e);r||zn.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new Gn),o.map=r,o.key=n),o.track()}}function Xe(e,t,n,r,o,i){const a=zn.get(e);if(!a){Ut++;return}const c=u=>{u&&u.trigger()};if(Hn(),t==="clear")a.forEach(c);else{const u=me(e),g=u&&Un(n);if(u&&n==="length"){const E=Number(r);a.forEach((d,b)=>{(b==="length"||b===Wt||!Ft(b)&&b>=E)&&c(d)})}else switch((n!==void 0||a.has(void 0))&&c(a.get(n)),g&&c(a.get(Wt)),t){case"add":u?g&&c(a.get("length")):(c(a.get(lt)),jt(e)&&c(a.get(Xn)));break;case"delete":u||(c(a.get(lt)),jt(e)&&c(a.get(Xn)));break;case"set":jt(e)&&c(a.get(lt));break}}qn()}function gt(e){const t=ne(e);return t===e?t:(ye(t,"iterate",Wt),ke(e)?t:t.map(pe))}function Jn(e){return ye(e=ne(e),"iterate",Wt),e}const Is={__proto__:null,[Symbol.iterator](){return Qn(this,Symbol.iterator,pe)},concat(...e){return gt(this).concat(...e.map(t=>me(t)?gt(t):t))},entries(){return Qn(this,"entries",e=>(e[1]=pe(e[1]),e))},every(e,t){return $e(this,"every",e,t,void 0,arguments)},filter(e,t){return $e(this,"filter",e,t,n=>n.map(pe),arguments)},find(e,t){return $e(this,"find",e,t,pe,arguments)},findIndex(e,t){return $e(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return $e(this,"findLast",e,t,pe,arguments)},findLastIndex(e,t){return $e(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return $e(this,"forEach",e,t,void 0,arguments)},includes(...e){return Zn(this,"includes",e)},indexOf(...e){return Zn(this,"indexOf",e)},join(e){return gt(this).join(e)},lastIndexOf(...e){return Zn(this,"lastIndexOf",e)},map(e,t){return $e(this,"map",e,t,void 0,arguments)},pop(){return $t(this,"pop")},push(...e){return $t(this,"push",e)},reduce(e,...t){return io(this,"reduce",e,t)},reduceRight(e,...t){return io(this,"reduceRight",e,t)},shift(){return $t(this,"shift")},some(e,t){return $e(this,"some",e,t,void 0,arguments)},splice(...e){return $t(this,"splice",e)},toReversed(){return gt(this).toReversed()},toSorted(e){return gt(this).toSorted(e)},toSpliced(...e){return gt(this).toSpliced(...e)},unshift(...e){return $t(this,"unshift",e)},values(){return Qn(this,"values",pe)}};function Qn(e,t,n){const r=Jn(e),o=r[t]();return r!==e&&!ke(e)&&(o._next=o.next,o.next=()=>{const i=o._next();return i.value&&(i.value=n(i.value)),i}),o}const Ls=Array.prototype;function $e(e,t,n,r,o,i){const a=Jn(e),c=a!==e&&!ke(e),u=a[t];if(u!==Ls[t]){const d=u.apply(e,i);return c?pe(d):d}let g=n;a!==e&&(c?g=function(d,b){return n.call(this,pe(d),b,e)}:n.length>2&&(g=function(d,b){return n.call(this,d,b,e)}));const E=u.call(a,g,r);return c&&o?o(E):E}function io(e,t,n,r){const o=Jn(e);let i=n;return o!==e&&(ke(e)?n.length>3&&(i=function(a,c,u){return n.call(this,a,c,u,e)}):i=function(a,c,u){return n.call(this,a,pe(c),u,e)}),o[t](i,...r)}function Zn(e,t,n){const r=ne(e);ye(r,"iterate",Wt);const o=r[t](...n);return(o===-1||o===!1)&&tr(n[0])?(n[0]=ne(n[0]),r[t](...n)):o}function $t(e,t,n=[]){dn(),Hn();const r=ne(e)[t].apply(e,n);return qn(),mn(),r}const Ns=os("__proto__,__v_isRef,__isVue"),so=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ft));function Ts(e){Ft(e)||(e=String(e));const t=ne(this);return ye(t,"has",e),t.hasOwnProperty(e)}class ao{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(o?i?xs:uo:i?Fs:lo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=me(t);if(!o){let u;if(a&&(u=Is[n]))return u;if(n==="hasOwnProperty")return Ts}const c=Reflect.get(t,n,Ae(t)?t:r);return(Ft(n)?so.has(n):Ns(n))||(o||ye(t,"get",n),i)?c:Ae(c)?a&&Un(n)?c:c.value:Ce(c)?o?_o(c):fo(c):c}}class Rs extends ao{constructor(t=!1){super(!1,t)}set(t,n,r,o){let i=t[n];if(!this._isShallow){const u=ut(i);if(!ke(r)&&!ut(r)&&(i=ne(i),r=ne(r)),!me(t)&&Ae(i)&&!Ae(r))return u||(i.value=r),!0}const a=me(t)&&Un(n)?Number(n)e,hn=e=>Reflect.getPrototypeOf(e);function As(e,t,n){return function(...r){const o=this.__v_raw,i=ne(o),a=jt(i),c=e==="entries"||e===Symbol.iterator&&a,u=e==="keys"&&a,g=o[e](...r),E=n?er:t?nr:pe;return!t&&ye(i,"iterate",u?Xn:lt),{next(){const{value:d,done:b}=g.next();return b?{value:d,done:b}:{value:c?[E(d[0]),E(d[1])]:E(d),done:b}},[Symbol.iterator](){return this}}}}function pn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ps(e,t){const n={get(o){const i=this.__v_raw,a=ne(i),c=ne(o);e||(ze(o,c)&&ye(a,"get",o),ye(a,"get",c));const{has:u}=hn(a),g=t?er:e?nr:pe;if(u.call(a,o))return g(i.get(o));if(u.call(a,c))return g(i.get(c));i!==a&&i.get(o)},get size(){const o=this.__v_raw;return!e&&ye(ne(o),"iterate",lt),Reflect.get(o,"size",o)},has(o){const i=this.__v_raw,a=ne(i),c=ne(o);return e||(ze(o,c)&&ye(a,"has",o),ye(a,"has",c)),o===c?i.has(o):i.has(o)||i.has(c)},forEach(o,i){const a=this,c=a.__v_raw,u=ne(c),g=t?er:e?nr:pe;return!e&&ye(u,"iterate",lt),c.forEach((E,d)=>o.call(i,g(E),g(d),a))}};return Dt(n,e?{add:pn("add"),set:pn("set"),delete:pn("delete"),clear:pn("clear")}:{add(o){!t&&!ke(o)&&!ut(o)&&(o=ne(o));const i=ne(this);return hn(i).has.call(i,o)||(i.add(o),Xe(i,"add",o,o)),this},set(o,i){!t&&!ke(i)&&!ut(i)&&(i=ne(i));const a=ne(this),{has:c,get:u}=hn(a);let g=c.call(a,o);g||(o=ne(o),g=c.call(a,o));const E=u.call(a,o);return a.set(o,i),g?ze(i,E)&&Xe(a,"set",o,i):Xe(a,"add",o,i),this},delete(o){const i=ne(this),{has:a,get:c}=hn(i);let u=a.call(i,o);u||(o=ne(o),u=a.call(i,o)),c&&c.call(i,o);const g=i.delete(o);return u&&Xe(i,"delete",o,void 0),g},clear(){const o=ne(this),i=o.size!==0,a=o.clear();return i&&Xe(o,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=As(o,e,t)}),n}function co(e,t){const n=Ps(e,t);return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Mn(n,o)&&o in r?n:r,o,i)}const Ds={get:co(!1,!1)},js={get:co(!0,!1)},lo=new WeakMap,Fs=new WeakMap,uo=new WeakMap,xs=new WeakMap;function Ms(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Us(e){return e.__v_skip||!Object.isExtensible(e)?0:Ms(fs(e))}function fo(e){return ut(e)?e:mo(e,!1,Os,Ds,lo)}function _o(e){return mo(e,!0,ks,js,uo)}function mo(e,t,n,r,o){if(!Ce(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=Us(e);if(i===0)return e;const a=o.get(e);if(a)return a;const c=new Proxy(e,i===2?r:n);return o.set(e,c),c}function gn(e){return ut(e)?gn(e.__v_raw):!!(e&&e.__v_isReactive)}function ut(e){return!!(e&&e.__v_isReadonly)}function ke(e){return!!(e&&e.__v_isShallow)}function tr(e){return e?!!e.__v_raw:!1}function ne(e){const t=e&&e.__v_raw;return t?ne(t):e}const pe=e=>Ce(e)?fo(e):e,nr=e=>Ce(e)?_o(e):e;function Ae(e){return e?e.__v_isRef===!0:!1}function Ws(e){return ho(e,!1)}function $s(e){return ho(e,!0)}function ho(e,t){return Ae(e)?e:new Bs(e,t)}class Bs{constructor(t,n){this.dep=new Gn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ne(t),this._value=n?t:pe(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||ke(t)||ut(t);t=r?t:ne(t),ze(t,n)&&(this._rawValue=t,this._value=r?t:pe(t),this.dep.trigger())}}class Vs{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Gn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ut-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&oe!==this)return Qr(this,!0),!0}get value(){const t=this.dep.track();return to(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Hs(e,t,n=!1){let r,o;return Se(e)?r=e:(r=e.get,o=e.set),new Vs(r,o,n)}const vn={},bn=new WeakMap;let ft;function qs(e,t=!1,n=ft){if(n){let r=bn.get(n);r||bn.set(n,r=[]),r.push(e)}}function Ys(e,t,n=xn){const{immediate:r,deep:o,once:i,scheduler:a,augmentJob:c,call:u}=n,g=S=>o?S:ke(S)||o===!1||o===0?Je(S,1):Je(S);let E,d,b,R,F=!1,x=!1;if(Ae(e)?(d=()=>e.value,F=ke(e)):gn(e)?(d=()=>g(e),F=!0):me(e)?(x=!0,F=e.some(S=>gn(S)||ke(S)),d=()=>e.map(S=>{if(Ae(S))return S.value;if(gn(S))return g(S);if(Se(S))return u?u(S,2):S()})):Se(e)?t?d=u?()=>u(e,2):e:d=()=>{if(b){dn();try{b()}finally{mn()}}const S=ft;ft=E;try{return u?u(e,3,[R]):e(R)}finally{ft=S}}:d=Pt,t&&o){const S=d,w=o===!0?1/0:o;d=()=>Je(S(),w)}const U=ys(),y=()=>{E.stop(),U&&U.active&&ss(U.effects,E)};if(i&&t){const S=t;t=(...w)=>{S(...w),y()}}let N=x?new Array(e.length).fill(vn):vn;const j=S=>{if(!(!(E.flags&1)||!E.dirty&&!S))if(t){const w=E.run();if(o||F||(x?w.some((C,L)=>ze(C,N[L])):ze(w,N))){b&&b();const C=ft;ft=E;try{const L=[w,N===vn?void 0:x&&N[0]===vn?[]:N,R];N=w,u?u(t,3,L):t(...L)}finally{ft=C}}}else E.run()};return c&&c(j),E=new Es(d),E.scheduler=a?()=>a(j,!1):j,R=S=>qs(S,!1,E),b=E.onStop=()=>{const S=bn.get(E);if(S){if(u)u(S,4);else for(const w of S)w();bn.delete(E)}},t?r?j(!0):N=E.run():a?a(j.bind(null,!0),!0):E.run(),y.pause=E.pause.bind(E),y.resume=E.resume.bind(E),y.stop=y,y}function Je(e,t=1/0,n){if(t<=0||!Ce(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Ae(e))Je(e.value,t,n);else if(me(e))for(let r=0;r{Je(r,t,n)});else if(_s(e)){for(const r in e)Je(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Je(e[r],t,n)}return e}var Ks={NODE_ENV:"production",HAS_MODULE_SERVICE_WORKER:!1};function rr(e,t,n,r){try{return r?e(...r):e()}catch(o){po(o,t,n)}}function or(e,t,n,r){if(Se(e)){const o=rr(e,t,n,r);return o&&ls(o)&&o.catch(i=>{po(i,t,n)}),o}if(me(e)){const o=[];for(let i=0;i>>1,o=Le[r],i=Bt(o);i=Bt(n)?Le.push(e):Le.splice(Xs(t),0,e),e.flags|=1,go()}}function go(){ir||(ir=zs.then(vo))}function Qs(e){me(e)?vt.push(...e):Qe&&e.id===-1?Qe.splice(bt+1,0,e):e.flags&1||(vt.push(e),e.flags|=1),go()}function Zs(e){if(vt.length){const t=[...new Set(vt)].sort((n,r)=>Bt(n)-Bt(r));if(vt.length=0,Qe){Qe.push(...t);return}for(Qe=t,bt=0;bte.id==null?e.flags&2?-1:1/0:e.id;function vo(e){const t=Pt;try{for(Be=0;Bee.__isTeleport;function bo(e,t){e.shapeFlag&6&&e.component?(e.transition=t,bo(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function sr(e,t){return Se(e)?Dt({name:e.name},t,{setup:e}):e}Wn().requestIdleCallback,Wn().cancelIdleCallback;function na(e,t,n=Et,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...a)=>{dn();const c=ya(n),u=or(t,n,e,a);return c(),mn(),u});return r?o.unshift(i):o.push(i),i}}const yo=e=>(t,n=Et)=>{(!Ht||e==="sp")&&na(e,(...r)=>t(...r),n)},ra=yo("m"),oa=yo("um"),ia=Symbol.for("v-ndc");let sa=null;function Eo(e,t,n=!1){const r=wt();if(r||sa){let o=r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&Se(t)?t.call(r&&r.proxy):t}}const aa={},wo=e=>Object.getPrototypeOf(e)===aa,ca=da,la=Symbol.for("v-scx"),ua=()=>Eo(la);function ar(e,t,n){return fa(e,t,n)}function fa(e,t,n=xn){const{immediate:r,deep:o,flush:i,once:a}=n,c=Dt({},n),u=t&&r||!t&&i!=="post";let g;if(Ht){if(i==="sync"){const R=ua();g=R.__watcherHandles||(R.__watcherHandles=[])}else if(!u){const R=()=>{};return R.stop=Pt,R.resume=Pt,R.pause=Pt,R}}const E=Et;c.call=(R,F,x)=>or(R,E,F,x);let d=!1;i==="post"?c.scheduler=R=>{ca(R,E&&E.suspense)}:i!=="sync"&&(d=!0,c.scheduler=(R,F)=>{F?R():Js(R)}),c.augmentJob=R=>{t&&(R.flags|=4),d&&(R.flags|=2,E&&(R.id=E.uid,R.i=E))};const b=Ys(e,t,c);return Ht&&(g?g.push(b):u&&b()),b}const _a=e=>e.__isSuspense;function da(e,t){t&&t.pendingBranch?me(e)?t.effects.push(...e):t.effects.push(e):Qs(e)}const yn=Symbol.for("v-fgt"),So=Symbol.for("v-txt"),ma=Symbol.for("v-cmt");function cr(e){return e?e.__v_isVNode===!0:!1}const Io=({key:e})=>e??null,En=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ge(e)||Ae(e)||Se(e)?{i:Vt,r:e,k:t,f:!!n}:e:null);function ha(e,t=null,n=null,r=0,o=null,i=e===yn?0:1,a=!1,c=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Io(t),ref:t&&En(t),scopeId:ea,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Vt};return c?(ur(u,n),i&128&&e.normalize(u)):n&&(u.shapeFlag|=Ge(n)?8:16),u}const yt=pa;function pa(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===ia)&&(e=ma),cr(e)){const c=lr(e,t,!0);return n&&ur(c,n),c.patchFlag=-2,c}if(Ea(e)&&(e=e.__vccOpts),t){t=ga(t);let{class:c,style:u}=t;c&&!Ge(c)&&(t.class=Bn(c)),Ce(u)&&(tr(u)&&!me(u)&&(u=Dt({},u)),t.style=$n(u))}const a=Ge(e)?1:_a(e)?128:ta(e)?64:Ce(e)?4:Se(e)?2:0;return ha(e,t,n,r,o,a,i,!0)}function ga(e){return e?tr(e)||wo(e)?Dt({},e):e:null}function lr(e,t,n=!1,r=!1){const{props:o,ref:i,patchFlag:a,children:c,transition:u}=e,g=t?ba(o||{},t):o,E={__v_isVNode:!0,__v_skip:!0,type:e.type,props:g,key:g&&Io(g),ref:t&&t.ref?n&&i?me(i)?i.concat(En(t)):[i,En(t)]:En(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==yn?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&lr(e.ssContent),ssFallback:e.ssFallback&&lr(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&r&&bo(E,u.clone(E)),E}function va(e=" ",t=0){return yt(So,null,e,t)}function ur(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(me(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),ur(e,o()),o._c&&(o._d=!0));return}else n=32,!t._&&!wo(t)&&(t._ctx=Vt);else Se(t)?(t={default:t,_ctx:Vt},n=32):(t=String(t),r&64?(n=16,t=[va(t)]):n=8);e.children=t,e.shapeFlag|=n}function ba(...e){const t={};for(let n=0;nEt||Vt;let fr;{const e=Wn(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),i=>{o.length>1?o.forEach(a=>a(i)):o[0](i)}};fr=t("__VUE_INSTANCE_SETTERS__",n=>Et=n),t("__VUE_SSR_SETTERS__",n=>Ht=n)}const ya=e=>{const t=Et;return fr(e),e.scope.on(),()=>{e.scope.off(),fr(t)}};let Ht=!1;function Ea(e){return Se(e)&&"__vccOpts"in e}const qt=(e,t)=>Hs(e,t,Ht);function Lo(e,t,n){const r=arguments.length;return r===2?Ce(t)&&!me(t)?cr(t)?yt(e,null,[t]):yt(e,t):yt(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&cr(n)&&(n=[n]),yt(e,t,n))}var No;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(No||(No={}));const wa=()=>{const e=document.createElement("canvas");e.width=1,e.height=1;const t=e.getContext("2d");if(!t)return!1;t.fillStyle="#0f161e",t.fillRect(0,0,1,1);const{data:n}=t.getImageData(0,0,1,1);return n.join(",")==="15,22,30,255"},Sa=(()=>{const e=[],o=()=>{if(!wa())return;document.querySelectorAll('link[rel="icon"]').forEach(E=>{if(E){const d=document.createElement("canvas");d.width=128,d.height=128;const b=new Image;b.crossOrigin="anonymous",b.src=E.href;const R=d.getContext("2d");e.push({favcanvas:d,favimg:b,favcontext:R,favicon:E})}})},i=g=>g.complete&&g.naturalHeight!==0,a=()=>{e.length!==0&&e.forEach(({favimg:g,favcanvas:E,favcontext:d,favicon:b})=>{!g||!d||!b||(d.clearRect(0,0,128,128),i(g)&&d.drawImage(g,0,0,g.width,g.height,0,0,128,128),b.href=E.toDataURL("image/png"))})};return{initFaviconService:o,clearFaviconBadge:a,drawFaviconBadge:()=>{e.length!==0&&(a(),e.forEach(({favimg:g,favcanvas:E,favcontext:d,favicon:b})=>{if(!g||!d||!d)return;const F=`${getComputedStyle(document.body).getPropertyValue("--badgeNotification")||"rgb(240, 100, 100)"}`;i(g)&&d.drawImage(g,0,0,g.width,g.height,0,0,128,128),d.fillStyle=F,d.beginPath(),d.arc(96,32,32,0,2*Math.PI,!1),d.fill(),b.href=E.toDataURL("image/png")}))},getOriginalFavicons:()=>[...e]}})();let wn=null;const Ia=new Set(["like","mention","status","repeat","pleroma:emoji_reaction","poll"]),To=e=>Ia.has(e),La=(e,t)=>{if(wn===null){const a=Sa.getOriginalFavicons(),c=a[a.length-1];c?wn=c.favimg.src:wn="about:blank"}const n={tag:e.id,type:e.type,badge:wn},r=e.status,o=e.from_profile.name;n.title=o,n.icon=e.from_profile.profile_image_url;let i;switch(e.type){case"like":i="favorited_you";break;case"status":i="subscribed_status";break;case"repeat":i="repeated_you";break;case"follow":i="followed_you";break;case"move":i="migrated_to";break;case"follow_request":i="follow_request";break;case"pleroma:report":i="submitted_report";break;case"poll":i="poll_ended";break}return e.type==="pleroma:emoji_reaction"?n.body=t.t("notifications.reacted_with",[e.emoji]):i?n.body=t.t("notifications."+i):To(e.type)&&(n.body=e.status.text),r&&r.attachments&&r.attachments.length>0&&!r.nsfw&&r.attachments[0].mimetype.startsWith("image/")&&(n.image=r.attachments[0].url),n},St=2147483647,je=36,_r=1,Yt=26,Na=38,Ta=700,Ro=72,Co=128,Oo="-",Ra=/^xn--/,Ca=/[^\0-\x7F]/,Oa=/[\x2E\u3002\uFF0E\uFF61]/g,ka={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},dr=je-_r,Fe=Math.floor,mr=String.fromCharCode;function Ze(e){throw new RangeError(ka[e])}function Aa(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}function ko(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(Oa,".");const o=e.split("."),i=Aa(o,t).join(".");return r+i}function Ao(e){const t=[];let n=0;const r=e.length;for(;n=55296&&o<=56319&&nString.fromCodePoint(...e),Da=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:je},Po=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},Do=function(e,t,n){let r=0;for(e=n?Fe(e/Ta):e>>1,e+=Fe(e/t);e>dr*Yt>>1;r+=je)e=Fe(e/dr);return Fe(r+(dr+1)*e/(e+Na))},jo=function(e){const t=[],n=e.length;let r=0,o=Co,i=Ro,a=e.lastIndexOf(Oo);a<0&&(a=0);for(let c=0;c=128&&Ze("not-basic"),t.push(e.charCodeAt(c));for(let c=a>0?a+1:0;c=n&&Ze("invalid-input");const b=Da(e.charCodeAt(c++));b>=je&&Ze("invalid-input"),b>Fe((St-r)/E)&&Ze("overflow"),r+=b*E;const R=d<=i?_r:d>=i+Yt?Yt:d-i;if(bFe(St/F)&&Ze("overflow"),E*=F}const g=t.length+1;i=Do(r-u,g,u==0),Fe(r/g)>St-o&&Ze("overflow"),o+=Fe(r/g),r%=g,t.splice(r++,0,o)}return String.fromCodePoint(...t)},Fo=function(e){const t=[];e=Ao(e);const n=e.length;let r=Co,o=0,i=Ro;for(const u of e)u<128&&t.push(mr(u));const a=t.length;let c=a;for(a&&t.push(Oo);c=r&&EFe((St-o)/g)&&Ze("overflow"),o+=(u-r)*g,r=u;for(const E of e)if(ESt&&Ze("overflow"),E===r){let d=o;for(let b=je;;b+=je){const R=b<=i?_r:b>=i+Yt?Yt:b-i;if(de.is_post_verb?"status":e.retweeted_status?"retweet":typeof e.uri=="string"&&e.uri.match(/(fave|objectType=Favourite)/)||typeof e.text=="string"&&e.text.match(/favorited/)?"favorite":e.text.match(/deleted notice {{tag/)||e.qvitter_delete_notice?"deletion":e.text.match(/started following/)||e.activity_type==="follow"?"follow":"unknown",et=e=>{const t={},n=Object.prototype.hasOwnProperty.call(e,"acct"),r=n&&!Object.prototype.hasOwnProperty.call(e,"avatar");if(t.inLists=null,t.id=String(e.id),t._original=e,n){if(t.screen_name=e.acct,t.fqn=e.fqn,t.statusnet_profile_url=e.url,t.mute_expires_at=e.mute_expires_at,t.block_expires_at=e.block_expires_at,r)return t;if(t.emoji=e.emojis,t.name=fn(e.display_name),t.name_html=t.name,t.name_unescaped=e.display_name,t.description=e.note,t.description_html=e.note,t.fields=e.fields,t.fields_html=e.fields.map(o=>({name:fn(o.name),value:o.value})),t.fields_text=e.fields.map(o=>({name:unescape(o.name.replace(/<[^>]*>/g,"")),value:unescape(o.value.replace(/<[^>]*>/g,""))})),t.profile_image_url=e.avatar,t.profile_image_url_original=e.avatar,t.cover_photo=e.header,t.friends_count=e.following_count,t.bot=e.bot,t.privileges=[],e.pleroma){e.pleroma.settings_store&&(t.storage=e.pleroma.settings_store["pleroma-fe"]);const o=e.pleroma.relationship;t.background_image=e.pleroma.background_image,t.favicon=e.pleroma.favicon,t.token=e.pleroma.chat_token,o&&(t.relationship=o),t.allow_following_move=e.pleroma.allow_following_move,t.hide_favorites=e.pleroma.hide_favorites,t.hide_follows=e.pleroma.hide_follows,t.hide_followers=e.pleroma.hide_followers,t.hide_follows_count=e.pleroma.hide_follows_count,t.hide_followers_count=e.pleroma.hide_followers_count,t.rights={moderator:e.pleroma.is_moderator,admin:e.pleroma.is_admin},t.rights.admin?t.role="admin":t.rights.moderator?t.role="moderator":t.role="member",t.birthday=e.pleroma.birthday,e.pleroma.privileges?t.privileges=e.pleroma.privileges:e.pleroma.is_admin?t.privileges=["users_read","users_manage_invites","users_manage_activation_state","users_manage_tags","users_manage_credentials","users_delete","messages_read","messages_delete","instances_delete","reports_manage_reports","moderation_log_read","announcements_manage_announcements","emoji_manage_emoji","statistics_read"]:e.pleroma.is_moderator?t.privileges=["messages_delete","reports_manage_reports"]:t.privileges=[]}e.source&&(t.description=e.source.note,t.default_scope=e.source.privacy,t.fields=e.source.fields,e.source.pleroma&&(t.no_rich_text=e.source.pleroma.no_rich_text,t.show_role=e.source.pleroma.show_role,t.discoverable=e.source.pleroma.discoverable,t.show_birthday=e.pleroma.show_birthday,t.actor_type=e.source.pleroma.actor_type)),t.is_local=!t.screen_name.includes("@")}else t.screen_name=e.screen_name,t.name=e.name,t.name_html=e.name_html,t.description=e.description,t.description_html=e.description_html,t.profile_image_url=e.profile_image_url,t.profile_image_url_original=e.profile_image_url_original,t.cover_photo=e.cover_photo,t.friends_count=e.friends_count,t.statusnet_profile_url=e.statusnet_profile_url,t.is_local=e.is_local,t.role=e.role,t.show_role=e.show_role,e.rights&&(t.rights={moderator:e.rights.delete_others_notice,admin:e.rights.admin}),t.no_rich_text=e.no_rich_text,t.default_scope=e.default_scope,t.hide_follows=e.hide_follows,t.hide_followers=e.hide_followers,t.hide_follows_count=e.hide_follows_count,t.hide_followers_count=e.hide_followers_count,t.background_image=e.background_image,t.token=e.token,t.relationship={muting:e.muted,blocking:e.statusnet_blocking,followed_by:e.follows_you,following:e.following};if(t.created_at=new Date(e.created_at),t.locked=e.locked,t.followers_count=e.followers_count,t.statuses_count=e.statuses_count,e.pleroma&&(t.follow_request_count=e.pleroma.follow_request_count,t.tags=e.pleroma.tags,t.deactivated=typeof e.pleroma.is_active<"u"?!e.pleroma.is_active:e.pleroma.deactivated,t.notification_settings=e.pleroma.notification_settings,t.unread_chat_count=e.pleroma.unread_chat_count),t.tags=t.tags||[],t.rights=t.rights||{},t.notification_settings=t.notification_settings||{},t.screen_name_ui=t.screen_name,t.screen_name&&t.screen_name.includes("@")){const o=t.screen_name.split("@"),i=ja.toUnicode(o[1]);i!==o[1]?(t.screen_name_ui_contains_non_ascii=!0,t.screen_name_ui=[o[0],i].join("@")):t.screen_name_ui_contains_non_ascii=!1}return t},xa=e=>{const t={};return!Object.prototype.hasOwnProperty.call(e,"oembed")?(t.mimetype=e.pleroma?e.pleroma.mime_type:e.type,t.meta=e.meta,t.id=e.id):t.mimetype=e.mimetype,t.url=e.url,t.large_thumb_url=e.preview_url,t.description=e.description,t},tt=e=>{var o,i;const t={},n=Object.prototype.hasOwnProperty.call(e,"account");if(n){t.favorited=e.favourited,t.fave_num=e.favourites_count,t.repeated=e.reblogged,t.repeat_num=e.reblogs_count,t.bookmarked=e.bookmarked,t.type=e.reblog?"retweet":"status",t.nsfw=e.sensitive,t.raw_html=e.content,t.emojis=e.emojis,t.tags=e.tags,t.edited_at=e.edited_at;const{pleroma:a}=e;e.pleroma?(t.text=a.content?e.pleroma.content["text/plain"]:e.content,t.summary=a.spoiler_text?e.pleroma.spoiler_text["text/plain"]:e.spoiler_text,t.statusnet_conversation_id=e.pleroma.conversation_id,t.is_local=a.local,t.in_reply_to_screen_name=a.in_reply_to_account_acct,t.thread_muted=a.thread_muted,t.emoji_reactions=a.emoji_reactions,t.parent_visible=a.parent_visible===void 0?!0:a.parent_visible,t.quote_visible=a.quote_visible||!0,t.quotes_count=a.quotes_count,t.bookmark_folder_id=a.bookmark_folder):(t.text=e.content,t.summary=e.spoiler_text);const c=(a==null?void 0:a.quote)||e.quote,u=c?tt(c):void 0;t.quote=u,t.quote_id=((o=e.quote)==null?void 0:o.id)??e.quote_id??(u==null?void 0:u.id)??a.quote_id,t.quote_url=((i=e.quote)==null?void 0:i.url)??(u==null?void 0:u.url)??a.quote_url,t.in_reply_to_status_id=e.in_reply_to_id,t.in_reply_to_user_id=e.in_reply_to_account_id,t.replies_count=e.replies_count,t.type==="retweet"&&(t.retweeted_status=tt(e.reblog)),t.summary_raw_html=fn(e.spoiler_text),t.external_url=e.url,t.poll=e.poll,t.poll&&(t.poll.options=(t.poll.options||[]).map(g=>({...g,title_html:fn(g.title)}))),t.pinned=e.pinned,t.muted=e.muted}else t.favorited=e.favorited,t.fave_num=e.fave_num,t.repeated=e.repeated,t.repeat_num=e.repeat_num,t.type=Fa(e),e.nsfw===void 0?(t.nsfw=Ua(e),e.retweeted_status&&(t.nsfw=e.retweeted_status.nsfw)):t.nsfw=e.nsfw,t.raw_html=e.statusnet_html,t.text=e.text,t.in_reply_to_status_id=e.in_reply_to_status_id,t.in_reply_to_user_id=e.in_reply_to_user_id,t.in_reply_to_screen_name=e.in_reply_to_screen_name,t.statusnet_conversation_id=e.statusnet_conversation_id,t.type==="retweet"&&(t.retweeted_status=tt(e.retweeted_status)),t.summary=e.summary,t.summary_html=e.summary_html,t.external_url=e.external_url,t.is_local=e.is_local;t.id=String(e.id),t.visibility=e.visibility,t.card=e.card,t.created_at=new Date(e.created_at),t.in_reply_to_status_id=t.in_reply_to_status_id?String(t.in_reply_to_status_id):null,t.in_reply_to_user_id=t.in_reply_to_user_id?String(t.in_reply_to_user_id):null,t.user=et(n?e.account:e.user),t.attentions=((n?e.mentions:e.attentions)||[]).map(et),t.attachments=((n?e.media_attachments:e.attachments)||[]).map(xa);const r=n?e.reblog:e.retweeted_status;return r&&(t.retweeted_status=tt(r)),t.favoritedBy=[],t.rebloggedBy=[],Object.prototype.hasOwnProperty.call(e,"originalStatus")&&Object.assign(t,e.originalStatus),t},Ma=e=>{const t={favourite:"like",reblog:"repeat"},n=!Object.prototype.hasOwnProperty.call(e,"ntype"),r={};if(n)r.type=t[e.type]||e.type,r.seen=e.pleroma.is_seen,r.status=To(r.type)&&e.status!==null?tt(e.status):null,r.target=r.type!=="move"?null:et(e.target),r.from_profile=et(e.account),r.emoji=e.emoji,r.emoji_url=e.emoji_url,e.report&&(r.report=e.report,r.report.content=e.report.content,r.report.acct=et(e.report.account),r.report.actor=et(e.report.actor),r.report.statuses=e.report.statuses.map(tt));else{const o=tt(e.notice);r.type=e.ntype,r.seen=!!e.is_seen,r.status=r.type==="like"?tt(e.notice.favorited_status):o,r.action=o,r.from_profile=r.type==="pleroma:chat_mention"?et(e.account):et(e.from_profile)}return r.created_at=new Date(e.created_at),r.id=parseInt(e.id),r},Ua=e=>{const t=/#nsfw/i;return(e.tags||[]).includes("nsfw")||!!(e.text||"").match(t)};/*! * shared v11.1.11 * (c) 2025 kazuya kawaguchi * Released under the MIT License. */function Wa(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Sn=typeof window<"u",nt=(e,t=!1)=>t?Symbol.for(e):Symbol(e),$a=(e,t,n)=>Ba({l:e,k:t,s:n}),Ba=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),fe=e=>typeof e=="number"&&isFinite(e),Va=e=>hr(e)==="[object Date]",It=e=>hr(e)==="[object RegExp]",In=e=>K(e)&&Object.keys(e).length===0,de=Object.assign,Ha=Object.create,te=(e=null)=>Ha(e);let xo;const _t=()=>xo||(xo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:te());function Mo(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function Uo(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function qa(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(r,o,i)=>`${o}="${Uo(i)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(r,o,i)=>`${o}='${Uo(i)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(r=>{e=e.replace(r,"$1javascript:")}),e}const Ya=Object.prototype.hasOwnProperty;function Pe(e,t){return Ya.call(e,t)}const le=Array.isArray,ie=e=>typeof e=="function",W=e=>typeof e=="string",z=e=>typeof e=="boolean",X=e=>e!==null&&typeof e=="object",Ka=e=>X(e)&&ie(e.then)&&ie(e.catch),Wo=Object.prototype.toString,hr=e=>Wo.call(e),K=e=>hr(e)==="[object Object]",Ga=e=>e==null?"":le(e)||K(e)&&e.toString===Wo?JSON.stringify(e,null,2):String(e);function pr(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const Ln=e=>!X(e)||le(e);function Nn(e,t){if(Ln(e)||Ln(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:o}=n.pop();Object.keys(r).forEach(i=>{i!=="__proto__"&&(X(r[i])&&!X(o[i])&&(o[i]=Array.isArray(r[i])?[]:te()),Ln(o[i])||Ln(r[i])?o[i]=r[i]:n.push({src:r[i],des:o[i]}))})}}function za(e,t,n){return{line:e,column:t,offset:n}}function gr(e,t,n){return{start:e,end:t}}const Z={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14},Xa=17;function Tn(e,t,n={}){const{domain:r,messages:o,args:i}=n,a=e,c=new SyntaxError(String(a));return c.code=e,t&&(c.location=t),c.domain=r,c}function Ja(e){throw e}const Ve=" ",Qa="\r",ge=` `,Za="\u2028",ec="\u2029";function tc(e){const t=e;let n=0,r=1,o=1,i=0;const a=L=>t[L]===Qa&&t[L+1]===ge,c=L=>t[L]===ge,u=L=>t[L]===ec,g=L=>t[L]===Za,E=L=>a(L)||c(L)||u(L)||g(L),d=()=>n,b=()=>r,R=()=>o,F=()=>i,x=L=>a(L)||u(L)||g(L)?ge:t[L],U=()=>x(n),y=()=>x(n+i);function N(){return i=0,E(n)&&(r++,o=0),a(n)&&n++,n++,o++,t[n]}function j(){return a(n+i)&&i++,i++,t[n+i]}function S(){n=0,r=1,o=1,i=0}function w(L=0){i=L}function C(){const L=n+i;for(;L!==n;)N();i=0}return{index:d,line:b,column:R,peekOffset:F,charAt:x,currentChar:U,currentPeek:y,next:N,peek:j,reset:S,resetPeek:w,skipToPeek:C}}const rt=void 0,nc=".",$o="'",rc="tokenizer";function oc(e,t={}){const n=t.location!==!1,r=tc(e),o=()=>r.index(),i=()=>za(r.line(),r.column(),r.index()),a=i(),c=o(),u={currentType:13,offset:c,startLoc:a,endLoc:a,lastType:13,lastOffset:c,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},g=()=>u,{onError:E}=t;function d(_,m,O,...B){const ae=g();if(m.column+=O,m.offset+=O,E){const q=n?gr(ae.startLoc,m):null,I=Tn(_,q,{domain:rc,args:B});E(I)}}function b(_,m,O){_.endLoc=i(),_.currentType=m;const B={type:m};return n&&(B.loc=gr(_.startLoc,_.endLoc)),O!=null&&(B.value=O),B}const R=_=>b(_,13);function F(_,m){return _.currentChar()===m?(_.next(),m):(d(Z.EXPECTED_TOKEN,i(),0,m),"")}function x(_){let m="";for(;_.currentPeek()===Ve||_.currentPeek()===ge;)m+=_.currentPeek(),_.peek();return m}function U(_){const m=x(_);return _.skipToPeek(),m}function y(_){if(_===rt)return!1;const m=_.charCodeAt(0);return m>=97&&m<=122||m>=65&&m<=90||m===95}function N(_){if(_===rt)return!1;const m=_.charCodeAt(0);return m>=48&&m<=57}function j(_,m){const{currentType:O}=m;if(O!==2)return!1;x(_);const B=y(_.currentPeek());return _.resetPeek(),B}function S(_,m){const{currentType:O}=m;if(O!==2)return!1;x(_);const B=_.currentPeek()==="-"?_.peek():_.currentPeek(),ae=N(B);return _.resetPeek(),ae}function w(_,m){const{currentType:O}=m;if(O!==2)return!1;x(_);const B=_.currentPeek()===$o;return _.resetPeek(),B}function C(_,m){const{currentType:O}=m;if(O!==7)return!1;x(_);const B=_.currentPeek()===".";return _.resetPeek(),B}function L(_,m){const{currentType:O}=m;if(O!==8)return!1;x(_);const B=y(_.currentPeek());return _.resetPeek(),B}function V(_,m){const{currentType:O}=m;if(!(O===7||O===11))return!1;x(_);const B=_.currentPeek()===":";return _.resetPeek(),B}function H(_,m){const{currentType:O}=m;if(O!==9)return!1;const B=()=>{const q=_.currentPeek();return q==="{"?y(_.peek()):q==="@"||q==="|"||q===":"||q==="."||q===Ve||!q?!1:q===ge?(_.peek(),B()):se(_,!1)},ae=B();return _.resetPeek(),ae}function re(_){x(_);const m=_.currentPeek()==="|";return _.resetPeek(),m}function se(_,m=!0){const O=(ae=!1,q="")=>{const I=_.currentPeek();return I==="{"||I==="@"||!I?ae:I==="|"?!(q===Ve||q===ge):I===Ve?(_.peek(),O(!0,Ve)):I===ge?(_.peek(),O(!0,ge)):!0},B=O();return m&&_.resetPeek(),B}function G(_,m){const O=_.currentChar();return O===rt?rt:m(O)?(_.next(),O):null}function he(_){const m=_.charCodeAt(0);return m>=97&&m<=122||m>=65&&m<=90||m>=48&&m<=57||m===95||m===36}function Ye(_){return G(_,he)}function st(_){const m=_.charCodeAt(0);return m>=97&&m<=122||m>=65&&m<=90||m>=48&&m<=57||m===95||m===36||m===45}function dt(_){return G(_,st)}function Ue(_){const m=_.charCodeAt(0);return m>=48&&m<=57}function Tt(_){return G(_,Ue)}function De(_){const m=_.charCodeAt(0);return m>=48&&m<=57||m>=65&&m<=70||m>=97&&m<=102}function Rt(_){return G(_,De)}function we(_){let m="",O="";for(;m=Tt(_);)O+=m;return O}function Ct(_){let m="";for(;;){const O=_.currentChar();if(O==="{"||O==="}"||O==="@"||O==="|"||!O)break;if(O===Ve||O===ge)if(se(_))m+=O,_.next();else{if(re(_))break;m+=O,_.next()}else m+=O,_.next()}return m}function Qt(_){U(_);let m="",O="";for(;m=dt(_);)O+=m;return _.currentChar()===rt&&d(Z.UNTERMINATED_CLOSING_BRACE,i(),0),O}function Zt(_){U(_);let m="";return _.currentChar()==="-"?(_.next(),m+=`-${we(_)}`):m+=we(_),_.currentChar()===rt&&d(Z.UNTERMINATED_CLOSING_BRACE,i(),0),m}function kn(_){return _!==$o&&_!==ge}function en(_){U(_),F(_,"'");let m="",O="";for(;m=G(_,kn);)m==="\\"?O+=tn(_):O+=m;const B=_.currentChar();return B===ge||B===rt?(d(Z.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),B===ge&&(_.next(),F(_,"'")),O):(F(_,"'"),O)}function tn(_){const m=_.currentChar();switch(m){case"\\":case"'":return _.next(),`\\${m}`;case"u":return Ot(_,m,4);case"U":return Ot(_,m,6);default:return d(Z.UNKNOWN_ESCAPE_SEQUENCE,i(),0,m),""}}function Ot(_,m,O){F(_,m);let B="";for(let ae=0;ae{const B=_.currentChar();return B==="{"||B==="@"||B==="|"||B==="("||B===")"||!B||B===Ve?O:(O+=B,_.next(),m(O))};return m("")}function mt(_){U(_);const m=F(_,"|");return U(_),m}function at(_,m){let O=null;switch(_.currentChar()){case"{":return m.braceNest>=1&&d(Z.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),_.next(),O=b(m,2,"{"),U(_),m.braceNest++,O;case"}":return m.braceNest>0&&m.currentType===2&&d(Z.EMPTY_PLACEHOLDER,i(),0),_.next(),O=b(m,3,"}"),m.braceNest--,m.braceNest>0&&U(_),m.inLinked&&m.braceNest===0&&(m.inLinked=!1),O;case"@":return m.braceNest>0&&d(Z.UNTERMINATED_CLOSING_BRACE,i(),0),O=ve(_,m)||R(m),m.braceNest=0,O;default:{let ae=!0,q=!0,I=!0;if(re(_))return m.braceNest>0&&d(Z.UNTERMINATED_CLOSING_BRACE,i(),0),O=b(m,1,mt(_)),m.braceNest=0,m.inLinked=!1,O;if(m.braceNest>0&&(m.currentType===4||m.currentType===5||m.currentType===6))return d(Z.UNTERMINATED_CLOSING_BRACE,i(),0),m.braceNest=0,ht(_,m);if(ae=j(_,m))return O=b(m,4,Qt(_)),U(_),O;if(q=S(_,m))return O=b(m,5,Zt(_)),U(_),O;if(I=w(_,m))return O=b(m,6,en(_)),U(_),O;if(!ae&&!q&&!I)return O=b(m,12,rn(_)),d(Z.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,O.value),U(_),O;break}}return O}function ve(_,m){const{currentType:O}=m;let B=null;const ae=_.currentChar();switch((O===7||O===8||O===11||O===9)&&(ae===ge||ae===Ve)&&d(Z.INVALID_LINKED_FORMAT,i(),0),ae){case"@":return _.next(),B=b(m,7,"@"),m.inLinked=!0,B;case".":return U(_),_.next(),b(m,8,".");case":":return U(_),_.next(),b(m,9,":");default:return re(_)?(B=b(m,1,mt(_)),m.braceNest=0,m.inLinked=!1,B):C(_,m)||V(_,m)?(U(_),ve(_,m)):L(_,m)?(U(_),b(m,11,on(_))):H(_,m)?(U(_),ae==="{"?at(_,m)||B:b(m,10,sn(_))):(O===7&&d(Z.INVALID_LINKED_FORMAT,i(),0),m.braceNest=0,m.inLinked=!1,ht(_,m))}}function ht(_,m){let O={type:13};if(m.braceNest>0)return at(_,m)||R(m);if(m.inLinked)return ve(_,m)||R(m);switch(_.currentChar()){case"{":return at(_,m)||R(m);case"}":return d(Z.UNBALANCED_CLOSING_BRACE,i(),0),_.next(),b(m,3,"}");case"@":return ve(_,m)||R(m);default:{if(re(_))return O=b(m,1,mt(_)),m.braceNest=0,m.inLinked=!1,O;if(se(_))return b(m,0,Ct(_));break}}return O}function kt(){const{currentType:_,offset:m,startLoc:O,endLoc:B}=u;return u.lastType=_,u.lastOffset=m,u.lastStartLoc=O,u.lastEndLoc=B,u.offset=o(),u.startLoc=i(),r.currentChar()===rt?b(u,13):ht(r,u)}return{nextToken:kt,currentOffset:o,currentPosition:i,context:g}}const ic="parser",sc=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function ac(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function cc(e={}){const t=e.location!==!1,{onError:n}=e;function r(y,N,j,S,...w){const C=y.currentPosition();if(C.offset+=S,C.column+=S,n){const L=t?gr(j,C):null,V=Tn(N,L,{domain:ic,args:w});n(V)}}function o(y,N,j){const S={type:y};return t&&(S.start=N,S.end=N,S.loc={start:j,end:j}),S}function i(y,N,j,S){t&&(y.end=N,y.loc&&(y.loc.end=j))}function a(y,N){const j=y.context(),S=o(3,j.offset,j.startLoc);return S.value=N,i(S,y.currentOffset(),y.currentPosition()),S}function c(y,N){const j=y.context(),{lastOffset:S,lastStartLoc:w}=j,C=o(5,S,w);return C.index=parseInt(N,10),y.nextToken(),i(C,y.currentOffset(),y.currentPosition()),C}function u(y,N){const j=y.context(),{lastOffset:S,lastStartLoc:w}=j,C=o(4,S,w);return C.key=N,y.nextToken(),i(C,y.currentOffset(),y.currentPosition()),C}function g(y,N){const j=y.context(),{lastOffset:S,lastStartLoc:w}=j,C=o(9,S,w);return C.value=N.replace(sc,ac),y.nextToken(),i(C,y.currentOffset(),y.currentPosition()),C}function E(y){const N=y.nextToken(),j=y.context(),{lastOffset:S,lastStartLoc:w}=j,C=o(8,S,w);return N.type!==11?(r(y,Z.UNEXPECTED_EMPTY_LINKED_MODIFIER,j.lastStartLoc,0),C.value="",i(C,S,w),{nextConsumeToken:N,node:C}):(N.value==null&&r(y,Z.UNEXPECTED_LEXICAL_ANALYSIS,j.lastStartLoc,0,xe(N)),C.value=N.value||"",i(C,y.currentOffset(),y.currentPosition()),{node:C})}function d(y,N){const j=y.context(),S=o(7,j.offset,j.startLoc);return S.value=N,i(S,y.currentOffset(),y.currentPosition()),S}function b(y){const N=y.context(),j=o(6,N.offset,N.startLoc);let S=y.nextToken();if(S.type===8){const w=E(y);j.modifier=w.node,S=w.nextConsumeToken||y.nextToken()}switch(S.type!==9&&r(y,Z.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,xe(S)),S=y.nextToken(),S.type===2&&(S=y.nextToken()),S.type){case 10:S.value==null&&r(y,Z.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,xe(S)),j.key=d(y,S.value||"");break;case 4:S.value==null&&r(y,Z.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,xe(S)),j.key=u(y,S.value||"");break;case 5:S.value==null&&r(y,Z.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,xe(S)),j.key=c(y,S.value||"");break;case 6:S.value==null&&r(y,Z.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,xe(S)),j.key=g(y,S.value||"");break;default:{r(y,Z.UNEXPECTED_EMPTY_LINKED_KEY,N.lastStartLoc,0);const w=y.context(),C=o(7,w.offset,w.startLoc);return C.value="",i(C,w.offset,w.startLoc),j.key=C,i(j,w.offset,w.startLoc),{nextConsumeToken:S,node:j}}}return i(j,y.currentOffset(),y.currentPosition()),{node:j}}function R(y){const N=y.context(),j=N.currentType===1?y.currentOffset():N.offset,S=N.currentType===1?N.endLoc:N.startLoc,w=o(2,j,S);w.items=[];let C=null;do{const H=C||y.nextToken();switch(C=null,H.type){case 0:H.value==null&&r(y,Z.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,xe(H)),w.items.push(a(y,H.value||""));break;case 5:H.value==null&&r(y,Z.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,xe(H)),w.items.push(c(y,H.value||""));break;case 4:H.value==null&&r(y,Z.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,xe(H)),w.items.push(u(y,H.value||""));break;case 6:H.value==null&&r(y,Z.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,xe(H)),w.items.push(g(y,H.value||""));break;case 7:{const re=b(y);w.items.push(re.node),C=re.nextConsumeToken||null;break}}}while(N.currentType!==13&&N.currentType!==1);const L=N.currentType===1?N.lastOffset:y.currentOffset(),V=N.currentType===1?N.lastEndLoc:y.currentPosition();return i(w,L,V),w}function F(y,N,j,S){const w=y.context();let C=S.items.length===0;const L=o(1,N,j);L.cases=[],L.cases.push(S);do{const V=R(y);C||(C=V.items.length===0),L.cases.push(V)}while(w.currentType!==13);return C&&r(y,Z.MUST_HAVE_MESSAGES_IN_PLURAL,j,0),i(L,y.currentOffset(),y.currentPosition()),L}function x(y){const N=y.context(),{offset:j,startLoc:S}=N,w=R(y);return N.currentType===13?w:F(y,j,S,w)}function U(y){const N=oc(y,de({},e)),j=N.context(),S=o(0,j.offset,j.startLoc);return t&&S.loc&&(S.loc.source=y),S.body=x(N),e.onCacheKey&&(S.cacheKey=e.onCacheKey(y)),j.currentType!==13&&r(N,Z.UNEXPECTED_LEXICAL_ANALYSIS,j.lastStartLoc,0,y[j.offset]||""),i(S,N.currentOffset(),N.currentPosition()),S}return{parse:U}}function xe(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function lc(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function Bo(e,t){for(let n=0;nVo(n)),e}function Vo(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;na;function u(x,U){a.code+=x}function g(x,U=!0){const y=U?r:"";u(o?y+" ".repeat(x):y)}function E(x=!0){const U=++a.indentLevel;x&&g(U)}function d(x=!0){const U=--a.indentLevel;x&&g(U)}function b(){g(a.indentLevel)}return{context:c,push:u,indent:E,deindent:d,newline:b,helper:x=>`_${x}`,needIndent:()=>a.needIndent}}function dc(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Nt(e,t.key),t.modifier?(e.push(", "),Nt(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function mc(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const o=t.items.length;for(let i=0;i1){e.push(`${n("plural")}([`),e.indent(r());const o=t.cases.length;for(let i=0;i{const n=W(t.mode)?t.mode:"normal",r=W(t.filename)?t.filename:"message.intl";t.sourceMap;const o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` `,i=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],c=_c(e,{filename:r,breakLineCode:o,needIndent:i});c.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),c.indent(i),a.length>0&&(c.push(`const { ${pr(a.map(E=>`${E}: _${E}`),", ")} } = ctx`),c.newline()),c.push("return "),Nt(c,e),c.deindent(i),c.push("}"),delete e.helpers;const{code:u,map:g}=c.context();return{ast:e,code:u,map:g?g.toJSON():void 0}};function vc(e,t={}){const n=de({},t),r=!!n.jit,o=!!n.minify,i=n.optimize==null?!0:n.optimize,c=cc(n).parse(e);return r?(i&&fc(c),o&&Lt(c),{ast:c,code:""}):(uc(c,n),gc(c,n))}var bc={NODE_ENV:"production"};function yc(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(_t().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(_t().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function Me(e){return X(e)&&br(e)===0&&(Pe(e,"b")||Pe(e,"body"))}const Ho=["b","body"];function Ec(e){return ot(e,Ho)}const qo=["c","cases"];function wc(e){return ot(e,qo,[])}const Yo=["s","static"];function Sc(e){return ot(e,Yo)}const Ko=["i","items"];function Ic(e){return ot(e,Ko,[])}const Go=["t","type"];function br(e){return ot(e,Go)}const zo=["v","value"];function Rn(e,t){const n=ot(e,zo);if(n!=null)return n;throw Kt(t)}const Xo=["m","modifier"];function Lc(e){return ot(e,Xo)}const Jo=["k","key"];function Nc(e){const t=ot(e,Jo);if(t)return t;throw Kt(6)}function ot(e,t,n){for(let r=0;rTc(n,e)}function Tc(e,t){const n=Ec(t);if(n==null)throw Kt(0);if(br(n)===1){const i=wc(n);return e.plural(i.reduce((a,c)=>[...a,Zo(e,c)],[]))}else return Zo(e,n)}function Zo(e,t){const n=Sc(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=Ic(t).reduce((o,i)=>[...o,Er(e,i)],[]);return e.normalize(r)}}function Er(e,t){const n=br(t);switch(n){case 3:return Rn(t,n);case 9:return Rn(t,n);case 4:{const r=t;if(Pe(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(Pe(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw Kt(n)}case 5:{const r=t;if(Pe(r,"i")&&fe(r.i))return e.interpolate(e.list(r.i));if(Pe(r,"index")&&fe(r.index))return e.interpolate(e.list(r.index));throw Kt(n)}case 6:{const r=t,o=Lc(r),i=Nc(r);return e.linked(Er(e,i),o?Er(e,o):void 0,e.type)}case 7:return Rn(t,n);case 8:return Rn(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const Rc=e=>e;let Cn=te();function Cc(e,t={}){let n=!1;const r=t.onError||Ja;return t.onError=o=>{n=!0,r(o)},{...vc(e,t),detectError:n}}function Oc(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&W(e)){z(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||Rc)(e),o=Cn[r];if(o)return o;const{ast:i,detectError:a}=Cc(e,{...t,location:bc.NODE_ENV!=="production",jit:!0}),c=yr(i);return a?c:Cn[r]=c}else{const n=e.cacheKey;if(n){const r=Cn[n];return r||(Cn[n]=yr(e))}else return yr(e)}}let Gt=null;function kc(e){Gt=e}function Ac(e,t,n){Gt&&Gt.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Pc=Dc("function:translate");function Dc(e){return t=>Gt&&Gt.emit(e,t)}const He={INVALID_ARGUMENT:Xa,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},jc=24;function qe(e){return Tn(e,null,void 0)}function wr(e,t){return t.locale!=null?ei(t.locale):ei(e.locale)}let Sr;function ei(e){if(W(e))return e;if(ie(e)){if(e.resolvedOnce&&Sr!=null)return Sr;if(e.constructor.name==="Function"){const t=e();if(Ka(t))throw qe(He.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Sr=t}else throw qe(He.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw qe(He.NOT_SUPPORT_LOCALE_TYPE)}function Fc(e,t,n){return[...new Set([n,...le(t)?t:X(t)?Object.keys(t):W(t)?[t]:[n]])]}function ti(e,t,n){const r=W(n)?n:zt,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let i=o.__localeChainCache.get(r);if(!i){i=[];let a=[n];for(;le(a);)a=ni(i,a,t);const c=le(t)||!K(t)?t:t.default?t.default:null;a=W(c)?[c]:c,le(a)&&ni(i,a,!1),o.__localeChainCache.set(r,i)}return i}function ni(e,t,n){let r=!0;for(let o=0;o{a===void 0?a=c:a+=c},b[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},b[2]=()=>{b[0](),o++},b[3]=()=>{if(o>0)o--,r=4,b[0]();else{if(o=0,a===void 0||(a=Vc(a),a===!1))return!1;b[1]()}};function R(){const F=e[n+1];if(r===5&&F==="'"||r===6&&F==='"')return n++,c="\\"+F,b[0](),!0}for(;r!==null;)if(n++,i=e[n],!(i==="\\"&&R())){if(u=Bc(i),d=it[r],g=d[u]||d.l||8,g===8||(r=g[0],g[1]!==void 0&&(E=b[g[1]],E&&(c=i,E()===!1))))return;if(r===7)return t}}const ri=new Map;function qc(e,t){return X(e)?e[t]:null}function Yc(e,t){if(!X(e))return null;let n=ri.get(t);if(n||(n=Hc(t),n&&ri.set(t,n)),!n)return null;const r=n.length;let o=e,i=0;for(;i`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Gc(){return{upper:(e,t)=>t==="text"&&W(e)?e.toUpperCase():t==="vnode"&&X(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&W(e)?e.toLowerCase():t==="vnode"&&X(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&W(e)?ii(e):t==="vnode"&&X(e)&&"__v_isVNode"in e?ii(e.children):e}}let si;function zc(e){si=e}let ai;function Xc(e){ai=e}let ci;function Jc(e){ci=e}let li=null;const Qc=e=>{li=e},Zc=()=>li;let ui=null;const fi=e=>{ui=e},el=()=>ui;let _i=0;function tl(e={}){const t=ie(e.onWarn)?e.onWarn:Wa,n=W(e.version)?e.version:Kc,r=W(e.locale)||ie(e.locale)?e.locale:zt,o=ie(r)?zt:r,i=le(e.fallbackLocale)||K(e.fallbackLocale)||W(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,a=K(e.messages)?e.messages:Ir(o),c=K(e.datetimeFormats)?e.datetimeFormats:Ir(o),u=K(e.numberFormats)?e.numberFormats:Ir(o),g=de(te(),e.modifiers,Gc()),E=e.pluralRules||te(),d=ie(e.missing)?e.missing:null,b=z(e.missingWarn)||It(e.missingWarn)?e.missingWarn:!0,R=z(e.fallbackWarn)||It(e.fallbackWarn)?e.fallbackWarn:!0,F=!!e.fallbackFormat,x=!!e.unresolving,U=ie(e.postTranslation)?e.postTranslation:null,y=K(e.processor)?e.processor:null,N=z(e.warnHtmlMessage)?e.warnHtmlMessage:!0,j=!!e.escapeParameter,S=ie(e.messageCompiler)?e.messageCompiler:si,w=ie(e.messageResolver)?e.messageResolver:ai||qc,C=ie(e.localeFallbacker)?e.localeFallbacker:ci||Fc,L=X(e.fallbackContext)?e.fallbackContext:void 0,V=e,H=X(V.__datetimeFormatters)?V.__datetimeFormatters:new Map,re=X(V.__numberFormatters)?V.__numberFormatters:new Map,se=X(V.__meta)?V.__meta:{};_i++;const G={version:n,cid:_i,locale:r,fallbackLocale:i,messages:a,modifiers:g,pluralRules:E,missing:d,missingWarn:b,fallbackWarn:R,fallbackFormat:F,unresolving:x,postTranslation:U,processor:y,warnHtmlMessage:N,escapeParameter:j,messageCompiler:S,messageResolver:w,localeFallbacker:C,fallbackContext:L,onWarn:t,__meta:se};return G.datetimeFormats=c,G.numberFormats=u,G.__datetimeFormatters=H,G.__numberFormatters=re,__INTLIFY_PROD_DEVTOOLS__&&Ac(G,n,se),G}const Ir=e=>({[e]:te()});function Lr(e,t,n,r,o){const{missing:i,onWarn:a}=e;if(i!==null){const c=i(e,n,t,o);return W(c)?c:t}else return t}function Xt(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function nl(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function rl(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r{mi.includes(u)?a[u]=n[u]:i[u]=n[u]}),W(r)?i.locale=r:K(r)&&(a=r),K(o)&&(a=o),[i.key||"",c,i,a]}function hi(e,t,n){const r=e;for(const o in n){const i=`${t}__${o}`;r.__datetimeFormatters.has(i)&&r.__datetimeFormatters.delete(i)}}function pi(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:i,localeFallbacker:a}=e,{__numberFormatters:c}=e,[u,g,E,d]=Tr(...t),b=z(E.missingWarn)?E.missingWarn:e.missingWarn;z(E.fallbackWarn)?E.fallbackWarn:e.fallbackWarn;const R=!!E.part,F=wr(e,E),x=a(e,o,F);if(!W(u)||u==="")return new Intl.NumberFormat(F,d).format(g);let U={},y,N=null;const j="number format";for(let C=0;C{gi.includes(u)?a[u]=n[u]:i[u]=n[u]}),W(r)?i.locale=r:K(r)&&(a=r),K(o)&&(a=o),[i.key||"",c,i,a]}function vi(e,t,n){const r=e;for(const o in n){const i=`${t}__${o}`;r.__numberFormatters.has(i)&&r.__numberFormatters.delete(i)}}const ol=e=>e,il=e=>"",sl="text",al=e=>e.length===0?"":pr(e),cl=Ga;function bi(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function ll(e){const t=fe(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(fe(e.named.count)||fe(e.named.n))?fe(e.named.count)?e.named.count:fe(e.named.n)?e.named.n:t:t}function ul(e,t){t.count||(t.count=e),t.n||(t.n=e)}function fl(e={}){const t=e.locale,n=ll(e),r=X(e.pluralRules)&&W(t)&&ie(e.pluralRules[t])?e.pluralRules[t]:bi,o=X(e.pluralRules)&&W(t)&&ie(e.pluralRules[t])?bi:void 0,i=y=>y[r(n,y.length,o)],a=e.list||[],c=y=>a[y],u=e.named||te();fe(e.pluralIndex)&&ul(n,u);const g=y=>u[y];function E(y,N){const j=ie(e.messages)?e.messages(y,!!N):X(e.messages)?e.messages[y]:!1;return j||(e.parent?e.parent.message(y):il)}const d=y=>e.modifiers?e.modifiers[y]:ol,b=K(e.processor)&&ie(e.processor.normalize)?e.processor.normalize:al,R=K(e.processor)&&ie(e.processor.interpolate)?e.processor.interpolate:cl,F=K(e.processor)&&W(e.processor.type)?e.processor.type:sl,U={list:c,named:g,plural:i,linked:(y,...N)=>{const[j,S]=N;let w="text",C="";N.length===1?X(j)?(C=j.modifier||C,w=j.type||w):W(j)&&(C=j||C):N.length===2&&(W(j)&&(C=j||C),W(S)&&(w=S||w));const L=E(y,!0)(U),V=w==="vnode"&&le(L)&&C?L[0]:L;return C?d(C)(V,w):V},message:E,type:F,interpolate:R,normalize:b,values:de(te(),a,u)};return U}const yi=()=>"",Ne=e=>ie(e);function Ei(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:i,fallbackLocale:a,messages:c}=e,[u,g]=Rr(...t),E=z(g.missingWarn)?g.missingWarn:e.missingWarn,d=z(g.fallbackWarn)?g.fallbackWarn:e.fallbackWarn,b=z(g.escapeParameter)?g.escapeParameter:e.escapeParameter,R=!!g.resolvedMessage,F=W(g.default)||z(g.default)?z(g.default)?i?u:()=>u:g.default:n?i?u:()=>u:null,x=n||F!=null&&(W(F)||ie(F)),U=wr(e,g);b&&_l(g);let[y,N,j]=R?[u,U,c[U]||te()]:wi(e,u,U,a,d,E),S=y,w=u;if(!R&&!(W(S)||Me(S)||Ne(S))&&x&&(S=F,w=S),!R&&(!(W(S)||Me(S)||Ne(S))||!W(N)))return o?On:u;let C=!1;const L=()=>{C=!0},V=Ne(S)?S:Si(e,u,N,S,w,L);if(C)return S;const H=hl(e,N,j,g),re=fl(H),se=dl(e,V,re);let G=r?r(se,u):se;if(b&&W(G)&&(G=qa(G)),__INTLIFY_PROD_DEVTOOLS__){const he={timestamp:Date.now(),key:W(u)?u:Ne(S)?S.key:"",locale:N||(Ne(S)?S.locale:""),format:W(S)?S:Ne(S)?S.source:"",message:G};he.meta=de({},e.__meta,Zc()||{}),Pc(he)}return G}function _l(e){le(e.list)?e.list=e.list.map(t=>W(t)?Mo(t):t):X(e.named)&&Object.keys(e.named).forEach(t=>{W(e.named[t])&&(e.named[t]=Mo(e.named[t]))})}function wi(e,t,n,r,o,i){const{messages:a,onWarn:c,messageResolver:u,localeFallbacker:g}=e,E=g(e,r,n);let d=te(),b,R=null;const F="translate";for(let x=0;xr;return g.locale=n,g.key=t,g}const u=a(r,ml(e,n,o,r,c,i));return u.locale=n,u.key=t,u.source=r,u}function dl(e,t,n){return t(n)}function Rr(...e){const[t,n,r]=e,o=te();if(!W(t)&&!fe(t)&&!Ne(t)&&!Me(t))throw qe(He.INVALID_ARGUMENT);const i=fe(t)?String(t):(Ne(t),t);return fe(n)?o.plural=n:W(n)?o.default=n:K(n)&&!In(n)?o.named=n:le(n)&&(o.list=n),fe(r)?o.plural=r:W(r)?o.default=r:K(r)&&de(o,r),[i,o]}function ml(e,t,n,r,o,i){return{locale:t,key:n,warnHtmlMessage:o,onError:a=>{throw i&&i(a),a},onCacheKey:a=>$a(t,n,a)}}function hl(e,t,n,r){const{modifiers:o,pluralRules:i,messageResolver:a,fallbackLocale:c,fallbackWarn:u,missingWarn:g,fallbackContext:E}=e,b={locale:t,modifiers:o,pluralRules:i,messages:(R,F)=>{let x=a(n,R);if(x==null&&(E||F)){const[,,U]=wi(E||e,R,t,c,u,g);x=a(U,R)}if(W(x)||Me(x)){let U=!1;const N=Si(e,R,t,x,R,()=>{U=!0});return U?yi:N}else return Ne(x)?x:yi}};return e.processor&&(b.processor=e.processor),r.list&&(b.list=r.list),r.named&&(b.named=r.named),fe(r.plural)&&(b.pluralIndex=r.plural),b}yc();var pl={NODE_ENV:"production",HAS_MODULE_SERVICE_WORKER:!1};const gl="11.1.11";function vl(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(_t().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(_t().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(_t().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(_t().__INTLIFY_PROD_DEVTOOLS__=!1)}const Ee={UNEXPECTED_RETURN_TYPE:jc,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function Ie(e,...t){return Tn(e,null,void 0)}const Cr=nt("__translateVNode"),Or=nt("__datetimeParts"),kr=nt("__numberParts"),Ii=nt("__setPluralRules"),Li=nt("__injectWithOption"),Ar=nt("__dispose");function Jt(e){if(!X(e)||Me(e))return e;for(const t in e)if(Pe(e,t))if(!t.includes("."))X(e[t])&&Jt(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,i=!1;for(let a=0;a{if("locale"in c&&"resource"in c){const{locale:u,resource:g}=c;u?(a[u]=a[u]||te(),Nn(g,a[u])):Nn(g,a)}else W(c)&&Nn(JSON.parse(c),a)}),o==null&&i)for(const c in a)Pe(a,c)&&Jt(a[c]);return a}function Ni(e){return e.type}function Ti(e,t,n){let r=X(t.messages)?t.messages:te();"__i18nGlobal"in n&&(r=Pr(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(i=>{e.mergeLocaleMessage(i,r[i])});{if(X(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(X(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function Ri(e){return yt(So,null,e,0)}const Ci="__INTLIFY_META__",Oi=()=>[],bl=()=>!1;let ki=0;function Ai(e){return(t,n,r,o)=>e(n,r,wt()||void 0,o)}const yl=()=>{const e=wt();let t=null;return e&&(t=Ni(e)[Ci])?{[Ci]:t}:null};function Dr(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,o=e.flatJson,i=Sn?Ws:$s;let a=z(e.inheritLocale)?e.inheritLocale:!0;const c=i(t&&a?t.locale.value:W(e.locale)?e.locale:zt),u=i(t&&a?t.fallbackLocale.value:W(e.fallbackLocale)||le(e.fallbackLocale)||K(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),g=i(Pr(c.value,e)),E=i(K(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),d=i(K(e.numberFormats)?e.numberFormats:{[c.value]:{}});let b=t?t.missingWarn:z(e.missingWarn)||It(e.missingWarn)?e.missingWarn:!0,R=t?t.fallbackWarn:z(e.fallbackWarn)||It(e.fallbackWarn)?e.fallbackWarn:!0,F=t?t.fallbackRoot:z(e.fallbackRoot)?e.fallbackRoot:!0,x=!!e.fallbackFormat,U=ie(e.missing)?e.missing:null,y=ie(e.missing)?Ai(e.missing):null,N=ie(e.postTranslation)?e.postTranslation:null,j=t?t.warnHtmlMessage:z(e.warnHtmlMessage)?e.warnHtmlMessage:!0,S=!!e.escapeParameter;const w=t?t.modifiers:K(e.modifiers)?e.modifiers:{};let C=e.pluralRules||t&&t.pluralRules,L;L=(()=>{r&&fi(null);const I={version:gl,locale:c.value,fallbackLocale:u.value,messages:g.value,modifiers:w,pluralRules:C,missing:y===null?void 0:y,missingWarn:b,fallbackWarn:R,fallbackFormat:x,unresolving:!0,postTranslation:N===null?void 0:N,warnHtmlMessage:j,escapeParameter:S,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};I.datetimeFormats=E.value,I.numberFormats=d.value,I.__datetimeFormatters=K(L)?L.__datetimeFormatters:void 0,I.__numberFormatters=K(L)?L.__numberFormatters:void 0;const A=tl(I);return r&&fi(A),A})(),Xt(L,c.value,u.value);function H(){return[c.value,u.value,g.value,E.value,d.value]}const re=qt({get:()=>c.value,set:I=>{L.locale=I,c.value=I}}),se=qt({get:()=>u.value,set:I=>{L.fallbackLocale=I,u.value=I,Xt(L,c.value,I)}}),G=qt(()=>g.value),he=qt(()=>E.value),Ye=qt(()=>d.value);function st(){return ie(N)?N:null}function dt(I){N=I,L.postTranslation=I}function Ue(){return U}function Tt(I){I!==null&&(y=Ai(I)),U=I,L.missing=y}const De=(I,A,J,ce,We,pt)=>{H();let Ke;try{pl.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,r||(L.fallbackContext=t?el():void 0),Ke=I(L)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(L.fallbackContext=void 0)}if(J!=="translate exists"&&fe(Ke)&&Ke===On||J==="translate exists"&&!Ke){const[An,Wr]=A();return t&&F?ce(t):We(An)}else{if(pt(Ke))return Ke;throw Ie(Ee.UNEXPECTED_RETURN_TYPE)}};function Rt(...I){return De(A=>Reflect.apply(Ei,null,[A,...I]),()=>Rr(...I),"translate",A=>Reflect.apply(A.t,A,[...I]),A=>A,A=>W(A))}function we(...I){const[A,J,ce]=I;if(ce&&!X(ce))throw Ie(Ee.INVALID_ARGUMENT);return Rt(A,J,de({resolvedMessage:!0},ce||{}))}function Ct(...I){return De(A=>Reflect.apply(di,null,[A,...I]),()=>Nr(...I),"datetime format",A=>Reflect.apply(A.d,A,[...I]),()=>oi,A=>W(A)||le(A))}function Qt(...I){return De(A=>Reflect.apply(pi,null,[A,...I]),()=>Tr(...I),"number format",A=>Reflect.apply(A.n,A,[...I]),()=>oi,A=>W(A)||le(A))}function Zt(I){return I.map(A=>W(A)||fe(A)||z(A)?Ri(String(A)):A)}const en={normalize:Zt,interpolate:I=>I,type:"vnode"};function tn(...I){return De(A=>{let J;const ce=A;try{ce.processor=en,J=Reflect.apply(Ei,null,[ce,...I])}finally{ce.processor=null}return J},()=>Rr(...I),"translate",A=>A[Cr](...I),A=>[Ri(A)],A=>le(A))}function Ot(...I){return De(A=>Reflect.apply(pi,null,[A,...I]),()=>Tr(...I),"number format",A=>A[kr](...I),Oi,A=>W(A)||le(A))}function nn(...I){return De(A=>Reflect.apply(di,null,[A,...I]),()=>Nr(...I),"datetime format",A=>A[Or](...I),Oi,A=>W(A)||le(A))}function rn(I){C=I,L.pluralRules=C}function on(I,A){return De(()=>{if(!I)return!1;const J=W(A)?A:c.value,ce=at(J),We=L.messageResolver(ce,I);return Me(We)||Ne(We)||W(We)},()=>[I],"translate exists",J=>Reflect.apply(J.te,J,[I,A]),bl,J=>z(J))}function sn(I){let A=null;const J=ti(L,u.value,c.value);for(let ce=0;ce{a&&(c.value=I,L.locale=I,Xt(L,c.value,u.value))}),ar(t.fallbackLocale,I=>{a&&(u.value=I,L.fallbackLocale=I,Xt(L,c.value,u.value))}));const q={id:ki,locale:re,fallbackLocale:se,get inheritLocale(){return a},set inheritLocale(I){a=I,I&&t&&(c.value=t.locale.value,u.value=t.fallbackLocale.value,Xt(L,c.value,u.value))},get availableLocales(){return Object.keys(g.value).sort()},messages:G,get modifiers(){return w},get pluralRules(){return C||{}},get isGlobal(){return r},get missingWarn(){return b},set missingWarn(I){b=I,L.missingWarn=b},get fallbackWarn(){return R},set fallbackWarn(I){R=I,L.fallbackWarn=R},get fallbackRoot(){return F},set fallbackRoot(I){F=I},get fallbackFormat(){return x},set fallbackFormat(I){x=I,L.fallbackFormat=x},get warnHtmlMessage(){return j},set warnHtmlMessage(I){j=I,L.warnHtmlMessage=I},get escapeParameter(){return S},set escapeParameter(I){S=I,L.escapeParameter=I},t:Rt,getLocaleMessage:at,setLocaleMessage:ve,mergeLocaleMessage:ht,getPostTranslationHandler:st,setPostTranslationHandler:dt,getMissingHandler:Ue,setMissingHandler:Tt,[Ii]:rn};return q.datetimeFormats=he,q.numberFormats=Ye,q.rt=we,q.te=on,q.tm=mt,q.d=Ct,q.n=Qt,q.getDateTimeFormat=kt,q.setDateTimeFormat=_,q.mergeDateTimeFormat=m,q.getNumberFormat=O,q.setNumberFormat=B,q.mergeNumberFormat=ae,q[Li]=n,q[Cr]=tn,q[Or]=nn,q[kr]=Ot,q}function El(e){const t=W(e.locale)?e.locale:zt,n=W(e.fallbackLocale)||le(e.fallbackLocale)||K(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=ie(e.missing)?e.missing:void 0,o=z(e.silentTranslationWarn)||It(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=z(e.silentFallbackWarn)||It(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=z(e.fallbackRoot)?e.fallbackRoot:!0,c=!!e.formatFallbackMessages,u=K(e.modifiers)?e.modifiers:{},g=e.pluralizationRules,E=ie(e.postTranslation)?e.postTranslation:void 0,d=W(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,b=!!e.escapeParameterHtml,R=z(e.sync)?e.sync:!0;let F=e.messages;if(K(e.sharedMessages)){const w=e.sharedMessages;F=Object.keys(w).reduce((L,V)=>{const H=L[V]||(L[V]={});return de(H,w[V]),L},F||{})}const{__i18n:x,__root:U,__injectWithOption:y}=e,N=e.datetimeFormats,j=e.numberFormats,S=e.flatJson;return{locale:t,fallbackLocale:n,messages:F,flatJson:S,datetimeFormats:N,numberFormats:j,missing:r,missingWarn:o,fallbackWarn:i,fallbackRoot:a,fallbackFormat:c,modifiers:u,pluralRules:g,postTranslation:E,warnHtmlMessage:d,escapeParameter:b,messageResolver:e.messageResolver,inheritLocale:R,__i18n:x,__root:U,__injectWithOption:y}}function jr(e={}){const t=Dr(El(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(o){t.locale.value=o},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(o){t.fallbackLocale.value=o},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(o){t.setMissingHandler(o)},get silentTranslationWarn(){return z(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(o){t.missingWarn=z(o)?!o:o},get silentFallbackWarn(){return z(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(o){t.fallbackWarn=z(o)?!o:o},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(o){t.fallbackFormat=o},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(o){t.setPostTranslationHandler(o)},get sync(){return t.inheritLocale},set sync(o){t.inheritLocale=o},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(o){t.warnHtmlMessage=o!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(o){t.escapeParameter=o},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...o){return Reflect.apply(t.t,t,[...o])},rt(...o){return Reflect.apply(t.rt,t,[...o])},te(o,i){return t.te(o,i)},tm(o){return t.tm(o)},getLocaleMessage(o){return t.getLocaleMessage(o)},setLocaleMessage(o,i){t.setLocaleMessage(o,i)},mergeLocaleMessage(o,i){t.mergeLocaleMessage(o,i)},d(...o){return Reflect.apply(t.d,t,[...o])},getDateTimeFormat(o){return t.getDateTimeFormat(o)},setDateTimeFormat(o,i){t.setDateTimeFormat(o,i)},mergeDateTimeFormat(o,i){t.mergeDateTimeFormat(o,i)},n(...o){return Reflect.apply(t.n,t,[...o])},getNumberFormat(o){return t.getNumberFormat(o)},setNumberFormat(o,i){t.setNumberFormat(o,i)},mergeNumberFormat(o,i){t.mergeNumberFormat(o,i)}};return r.__extender=n,r}function wl(e,t,n){return{beforeCreate(){const r=wt();if(!r)throw Ie(Ee.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const i=o.i18n;if(o.__i18n&&(i.__i18n=o.__i18n),i.__root=t,this===this.$root)this.$i18n=Pi(e,i);else{i.__injectWithOption=!0,i.__extender=n.__vueI18nExtend,this.$i18n=jr(i);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=Pi(e,o);else{this.$i18n=jr({__i18n:o.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&Ti(t,o,o),this.$t=(...i)=>this.$i18n.t(...i),this.$rt=(...i)=>this.$i18n.rt(...i),this.$te=(i,a)=>this.$i18n.te(i,a),this.$d=(...i)=>this.$i18n.d(...i),this.$n=(...i)=>this.$i18n.n(...i),this.$tm=i=>this.$i18n.tm(i),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=wt();if(!r)throw Ie(Ee.UNEXPECTED_ERROR);const o=this.$i18n;delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),n.__deleteInstance(r),delete this.$i18n}}}function Pi(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[Ii](t.pluralizationRules||e.pluralizationRules);const n=Pr(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const Fr={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Sl({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===yn?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},te())}function Di(){return yn}const ji=sr({name:"i18n-t",props:de({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>fe(e)||!isNaN(e)}},Fr),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||xr({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter(d=>d[0]!=="_"),a=te();e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=W(e.plural)?+e.plural:e.plural);const c=Sl(t,i),u=o[Cr](e.keypath,c,a),g=de(te(),r),E=W(e.tag)||X(e.tag)?e.tag:Di();return Lo(E,g,u)}}});function Il(e){return le(e)&&!W(e[0])}function Fi(e,t,n,r){const{slots:o,attrs:i}=t;return()=>{const a={part:!0};let c=te();e.locale&&(a.locale=e.locale),W(e.format)?a.key=e.format:X(e.format)&&(W(e.format.key)&&(a.key=e.format.key),c=Object.keys(e.format).reduce((b,R)=>n.includes(R)?de(te(),b,{[R]:e.format[R]}):b,te()));const u=r(e.value,a,c);let g=[a.key];le(u)?g=u.map((b,R)=>{const F=o[b.type],x=F?F({[b.type]:b.value,index:R,parts:u}):[b.value];return Il(x)&&(x[0].key=`${b.type}-${R}`),x}):W(u)&&(g=[u]);const E=de(te(),i),d=W(e.tag)||X(e.tag)?e.tag:Di();return Lo(d,E,g)}}const xi=sr({name:"i18n-n",props:de({value:{type:Number,required:!0},format:{type:[String,Object]}},Fr),setup(e,t){const n=e.i18n||xr({useScope:e.scope,__useComponent:!0});return Fi(e,t,gi,(...r)=>n[kr](...r))}});function Ll(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function Nl(e){const t=a=>{const{instance:c,value:u}=a;if(!c||!c.$)throw Ie(Ee.UNEXPECTED_ERROR);const g=Ll(e,c.$),E=Mi(u);return[Reflect.apply(g.t,g,[...Ui(E)]),g]};return{created:(a,c)=>{const[u,g]=t(c);Sn&&e.global===g&&(a.__i18nWatcher=ar(g.locale,()=>{c.instance&&c.instance.$forceUpdate()})),a.__composer=g,a.textContent=u},unmounted:a=>{Sn&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:c})=>{if(a.__composer){const u=a.__composer,g=Mi(c);a.textContent=Reflect.apply(u.t,u,[...Ui(g)])}},getSSRProps:a=>{const[c]=t(a);return{textContent:c}}}}function Mi(e){if(W(e))return{path:e};if(K(e)){if(!("path"in e))throw Ie(Ee.REQUIRED_VALUE,"path");return e}else throw Ie(Ee.INVALID_VALUE)}function Ui(e){const{path:t,locale:n,args:r,choice:o,plural:i}=e,a={},c=r||{};return W(n)&&(a.locale=n),fe(o)&&(a.plural=o),fe(i)&&(a.plural=i),[t,c,a]}function Tl(e,t,...n){const r=K(n[0])?n[0]:{};(z(r.globalInstall)?r.globalInstall:!0)&&([ji.name,"I18nT"].forEach(i=>e.component(i,ji)),[xi.name,"I18nN"].forEach(i=>e.component(i,xi)),[$i.name,"I18nD"].forEach(i=>e.component(i,$i))),e.directive("t",Nl(t))}const Rl=nt("global-vue-i18n");function Cl(e={}){const t=__VUE_I18N_LEGACY_API__&&z(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=z(e.globalInjection)?e.globalInjection:!0,r=new Map,[o,i]=Ol(e,t),a=nt("");function c(d){return r.get(d)||null}function u(d,b){r.set(d,b)}function g(d){r.delete(d)}const E={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(d,...b){if(d.__VUE_I18N_SYMBOL__=a,d.provide(d.__VUE_I18N_SYMBOL__,E),K(b[0])){const x=b[0];E.__composerExtend=x.__composerExtend,E.__vueI18nExtend=x.__vueI18nExtend}let R=null;!t&&n&&(R=Ml(d,E.global)),__VUE_I18N_FULL_INSTALL__&&Tl(d,E,...b),__VUE_I18N_LEGACY_API__&&t&&d.mixin(wl(i,i.__composer,E));const F=d.unmount;d.unmount=()=>{R&&R(),E.dispose(),F()}},get global(){return i},dispose(){o.stop()},__instances:r,__getInstance:c,__setInstance:u,__deleteInstance:g};return E}function xr(e={}){const t=wt();if(t==null)throw Ie(Ee.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Ie(Ee.NOT_INSTALLED);const n=kl(t),r=Pl(n),o=Ni(t),i=Al(e,o);if(i==="global")return Ti(r,e,o),r;if(i==="parent"){let u=Dl(n,t,e.__useComponent);return u==null&&(u=r),u}const a=n;let c=a.__getInstance(t);if(c==null){const u=de({},e);"__i18n"in o&&(u.__i18n=o.__i18n),r&&(u.__root=r),c=Dr(u),a.__composerExtend&&(c[Ar]=a.__composerExtend(c)),Fl(a,t,c),a.__setInstance(t,c)}return c}function Ol(e,t){const n=bs(),r=__VUE_I18N_LEGACY_API__&&t?n.run(()=>jr(e)):n.run(()=>Dr(e));if(r==null)throw Ie(Ee.UNEXPECTED_ERROR);return[n,r]}function kl(e){const t=Eo(e.isCE?Rl:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Ie(e.isCE?Ee.NOT_INSTALLED_WITH_PROVIDE:Ee.UNEXPECTED_ERROR);return t}function Al(e,t){return In(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Pl(e){return e.mode==="composition"?e.global:e.global.__composer}function Dl(e,t,n=!1){let r=null;const o=t.root;let i=jl(t,n);for(;i!=null;){const a=e;if(e.mode==="composition")r=a.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const c=a.__getInstance(i);c!=null&&(r=c.__composer,n&&r&&!r[Li]&&(r=null))}if(r!=null||o===i)break;i=i.parent}return r}function jl(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Fl(e,t,n){ra(()=>{},t),oa(()=>{const r=n;e.__deleteInstance(t);const o=r[Ar];o&&(o(),delete r[Ar])},t)}const xl=["locale","fallbackLocale","availableLocales"],Wi=["t","rt","d","n","tm","te"];function Ml(e,t){const n=Object.create(null);return xl.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i)throw Ie(Ee.UNEXPECTED_ERROR);const a=Ae(i.value)?{get(){return i.value.value},set(c){i.value.value=c}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,o,a)}),e.config.globalProperties.$i18n=n,Wi.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i||!i.value)throw Ie(Ee.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,i)}),()=>{delete e.config.globalProperties.$i18n,Wi.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}const $i=sr({name:"i18n-d",props:de({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Fr),setup(e,t){const n=e.i18n||xr({useScope:e.scope,__useComponent:!0});return Fi(e,t,mi,(...r)=>n[Or](...r))}});if(vl(),zc(Oc),Xc(Yc),Jc(ti),__INTLIFY_PROD_DEVTOOLS__){const e=_t();e.__INTLIFY__=!0,kc(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Bi=Cl({locale:"en",fallbackLocale:"en",messages:{ar:{notifications:{broken_favorite:"منشور مجهول، جارٍ البحث عنه…",favorited_you:"أعجِب بمنشورك",followed_you:"يُتابعك",load_older:"تحميل الإشعارات الأقدم",notifications:"الاشعارات",read:"مقروء!",repeated_you:"شارَك منشورك",error:"خطأ أثناء جلب الاشعارات: {0}",follow_request:"يريد متابعتك",poll_ended:"انتهى الاستطلاع",no_more_notifications:"لا مزيد من الإشعارات",reacted_with:"تفاعل بـ{0}",submitted_report:"أرسل بلاغًا",migrated_to:"انتقلَ إلى"}},ca:{notifications:{broken_favorite:"Publicació desconeguda, s'està cercant…",favorited_you:"ha marcat un estat teu",followed_you:"ha començat a seguir-te",load_older:"Carrega més notificacions",notifications:"Notificacions",read:"Llegit!",repeated_you:"ha repetit el teu estat",migrated_to:"migrat a",no_more_notifications:"No més notificacions",follow_request:"et vol seguir",reacted_with:"ha reaccionat amb {0}",error:"Error obtenint notificacions: {0}"}},cs:{notifications:{broken_favorite:"Neznámý příspěvek, hledám jej…",favorited_you:"si oblíbil/a váš příspěvek",followed_you:"vás nyní sleduje",load_older:"Načíst starší oznámení",notifications:"Oznámení",read:"Přečíst!",repeated_you:"zopakoval/a váš příspěvek",no_more_notifications:"Žádná další oznámení",error:"Nastala chyba při načítání oznámení: {0}",unread_announcements:"{num} nepřečtené oznámení | {num} nepřečtených oznámení",unread_chats:"{num} nepřečtených zpráv | {num} nepřečtených zpráv",unread_follow_requests:"{num} nový požadavek o sledování | {num} nových požadavků o sledování",configuration_tip:"Může upravit co zde zobrazovat v {theSettings}. {dismiss}",follow_request:"vás chce sledovat",migrated_to:"migroval na",poll_ended:"anketa skončila",reacted_with:"reagoval/a s {0}",submitted_report:"Odeslal/a stížnost",configuration_tip_settings:"nastavení",configuration_tip_dismiss:"Již nezobrazovat"}},de:{notifications:{broken_favorite:"Unbekannte Nachricht, suche danach…",favorited_you:"favorisierte deine Nachricht",followed_you:"folgt dir",load_older:"Ältere Benachrichtigungen laden",notifications:"Benachrichtigungen",read:"Gelesen!",repeated_you:"wiederholte deine Nachricht",follow_request:"möchte dir folgen",migrated_to:"migrierte zu",reacted_with:"reagierte mit {0}",no_more_notifications:"Keine Benachrichtigungen mehr",error:"Error beim laden von Neuigkeiten"}},eo:{notifications:{broken_favorite:"Nekonata afiŝo, serĉante ĝin…",favorited_you:"ŝatis vian afiŝon",followed_you:"ekabonis vin",load_older:"Enlegi pli malnovajn sciigojn",notifications:"Sciigoj",read:"Legite!",repeated_you:"ripetis vian afiŝon",no_more_notifications:"Neniuj pliaj sciigoj",reacted_with:"reagis per {0}",migrated_to:"migris al",follow_request:"volas vin aboni",error:"Eraris akirado de sciigoj: {0}",submitted_report:"sendis raporton",poll_ended:"enketo finiĝis",unread_chats:"{num} nelegita babilo | {num} nelegitaj babiloj",unread_follow_requests:"{num} nova abonpeto | {num} novaj abonpetoj",configuration_tip:"Vi povas ŝanĝi, kio montriĝos ĉi tie en {theSettings}. {dismiss}",configuration_tip_settings:"la agordoj",unread_announcements:"{num} nelegita anonco | {num} nelegitaj anoncoj",configuration_tip_dismiss:"Ne remontri plu"}},en:{notifications:{broken_favorite:"Unknown status, searching for it…",error:"Error fetching notifications: {0}",favorited_you:"favorited your status",followed_you:"followed you",follow_request:"wants to follow you",load_older:"Load older notifications",notifications:"Notifications",read:"Read!",repeated_you:"repeated your status",no_more_notifications:"No more notifications",migrated_to:"migrated to",reacted_with:"reacted with {0}",submitted_report:"submitted a report",poll_ended:"poll has ended",unread_announcements:"{num} unread announcement | {num} unread announcements",unread_chats:"{num} unread chat | {num} unread chats",unread_follow_requests:"{num} new follow request | {num} new follow requests",configuration_tip:"You can customize what to display here in {theSettings}. {dismiss}",configuration_tip_settings:"the settings",configuration_tip_dismiss:"Do not show again",subscribed_status:"posted"}},es:{notifications:{broken_favorite:"Estado desconocido, buscándolo…",favorited_you:"le gusta tu estado",followed_you:"empezó a seguirte",load_older:"Cargar notificaciones antiguas",notifications:"Notificaciones",read:"¡Leído!",repeated_you:"repitió tu estado",no_more_notifications:"No hay más notificaciones",reacted_with:"reaccionó con {0}",migrated_to:"migrado a",follow_request:"quiere seguirte",error:"Error obteniendo notificaciones:{0}"}},et:{notifications:{followed_you:"alustas sinu jälgimist",notifications:"Teated",read:"Loe!",reacted_with:"reageeris {0}",migrated_to:"kolis",no_more_notifications:"Rohkem teateid ei ole",repeated_you:"taaspostitas su staatuse",load_older:"Laadi vanemad teated",follow_request:"soovib Teid jälgida",favorited_you:"lisas su staatuse lemmikuks",broken_favorite:"Tundmatu staatus, otsin…"}},eu:{notifications:{broken_favorite:"Egoera ezezaguna, bilatzen…",favorited_you:"zure mezua gogoko du",followed_you:"Zu jarraitzen zaitu",load_older:"Kargatu jakinarazpen zaharragoak",notifications:"Jakinarazpenak",read:"Irakurrita!",repeated_you:"zure mezua errepikatu du",no_more_notifications:"Ez dago jakinarazpen gehiago",reacted_with:"{0}kin erreakzionatu zuen",migrated_to:"hona migratua:",follow_request:"jarraitu nahi zaitu",error:"Errorea jakinarazpenak eskuratzean: {0}"}},fi:{notifications:{broken_favorite:"Viestiä ei löydetty…",favorited_you:"tykkäsi viestistäsi",followed_you:"seuraa sinua",load_older:"Lataa vanhempia ilmoituksia",notifications:"Ilmoitukset",read:"Lue!",repeated_you:"toisti viestisi",no_more_notifications:"Ei enempää ilmoituksia",reacted_with:"lisäsi reaktion {0}",migrated_to:"siirtyi sivulle",follow_request:"haluaa seurata sinua"}},fr:{notifications:{broken_favorite:"Message inconnu, recherche en cours…",favorited_you:"a aimé votre statut",followed_you:"vous suit",load_older:"Charger les notifications précédentes",notifications:"Notifications",read:"Lu !",repeated_you:"a partagé votre statut",no_more_notifications:"Aucune notification supplémentaire",migrated_to:"a migré à",reacted_with:"a réagi avec {0}",follow_request:"veut vous suivre",error:"Erreur de chargement des notifications : {0}",poll_ended:"Sondage terminé",submitted_report:"Rapport envoyé",unread_announcements:"{num} annonce non lue | {num} annonces non lues",unread_chats:"{num} message non lu | {num} messages non lus",configuration_tip_settings:"les préférences",unread_follow_requests:"{num} nouvelle demande de suivi | {num} nouvelles demandes de suivi",configuration_tip:"Vous pouvez personnaliser ce qui est affiché ici dans {theSettings}. {dismiss}",configuration_tip_dismiss:"Ne plus montrer",subscribed_status:"posté"}},ga:{notifications:{broken_favorite:"Post anaithnid. Cuardach dó…",favorited_you:"toghadh le do phost",followed_you:"lean tú",load_older:"Luchtaigh fógraí aosta",notifications:"Fógraí",read:"Léigh!",repeated_you:"athphostáil tú"}},he:{notifications:{broken_favorite:"סטאטוס לא ידוע, מחפש…",favorited_you:"אהב את הסטטוס שלך",followed_you:"עקב אחריך",load_older:"טען התראות ישנות",notifications:"התראות",read:"קרא!",repeated_you:"חזר על הסטטוס שלך",no_more_notifications:"לא עוד התראות"}},hu:{notifications:{followed_you:"követ téged",notifications:"Értesítések",read:"Olvasva!"}},it:{notifications:{followed_you:"ti segue",notifications:"Notifiche",read:"Letto!",broken_favorite:"Stato sconosciuto, lo sto cercando…",favorited_you:"ha gradito",load_older:"Carica notifiche precedenti",repeated_you:"ha condiviso il tuo messaggio",follow_request:"vuole seguirti",no_more_notifications:"Fine delle notifiche",migrated_to:"è migrato verso",reacted_with:"ha reagito con {0}",error:"Errore nel caricare le notifiche: {0}"}},ja:{notifications:{broken_favorite:"ステータスが見つかりません。探しています…",favorited_you:"ステータスがお気に入りされました",followed_you:"フォローされました",load_older:"古い通知を読み込む",notifications:"通知",read:"読んだ!",repeated_you:"ステータスがリピートされました",no_more_notifications:"通知はありません",reacted_with:"{0} でリアクションしました",migrated_to:"インスタンスを引っ越しました",follow_request:"あなたをフォローしたがっています",error:"通知の取得に失敗しました: {0}",poll_ended:"投票結果が確定しました",configuration_tip_dismiss:"二度と表示しない",unread_announcements:"未読のお知らせが{num}件あります | 未読のお知らせが{num}件あります",unread_chats:"未読のチャットが{num}件あります | 未読のチャットが{num}件あります",unread_follow_requests:"フォローリクエストが{num}件来ています | フォローリクエストが{num}件来ています",configuration_tip:"ここに表示する通知の種類は{theSettings}にて変更することができます。 {dismiss}",submitted_report:"通報が送信されました",configuration_tip_settings:"設定",subscribed_status:"投稿しました"}},ja_easy:{notifications:{broken_favorite:"ステータスがみつかりません。さがしています…",favorited_you:"あなたのステータスがおきにいりされました",followed_you:"フォローされました",load_older:"ふるいつうちをみる",notifications:"つうち",read:"よんだ!",repeated_you:"あなたのステータスがリピートされました",no_more_notifications:"つうちはありません",error:"つうちをとりにいくことに、しっぱいしました: {0}",follow_request:"あなたをフォローしたいです",migrated_to:"インスタンスを、ひっこしました",reacted_with:"{0} でリアクションしました",poll_ended:"とうひょうが、おわりました",submitted_report:"つうほうしました",unread_announcements:"まだ よんでいない おしらせが {num}こ あります",configuration_tip_settings:"せってい",configuration_tip_dismiss:"つぎは ひょうじしない",unread_chats:"よんでいない チャットが {num}こ あります",unread_follow_requests:"フォローリクエストが {num}こ あります",configuration_tip:"ここに ひょうじする ものを {theSettings}で へんこうできます。 {dismiss}"}},ko:{notifications:{broken_favorite:"알 수 없는 게시물입니다, 검색합니다…",favorited_you:"관심을 가짐",followed_you:"팔로우함",load_older:"이전 알림 불러오기",notifications:"알림",read:"읽음!",repeated_you:"리핏함",no_more_notifications:"알림이 없습니다",migrated_to:"이사했습니다",reacted_with:"{0} 로 반응했습니다",error:"알림 불러오기 실패: {0}",follow_request:"팔로우 요청",submitted_report:"신고 내용을 전송함",poll_ended:"투표가 끝남",unread_follow_requests:"{num}개의 새 팔로우 요청 | {num}개의 새 팔로우 요청",configuration_tip:"{theSettings}에서 어떻게 보이는지 바꿀 수 있습니다. {dismiss}",configuration_tip_settings:"설정",configuration_tip_dismiss:"다시 보지 않기",unread_announcements:"{num}개의 읽지 않은 공지사항 | {num}개의 읽지 않은 공지사항",unread_chats:"{num}개의 읽지 않은 채팅 | {num}개의 읽지 않은 채팅"}},"nan-TW":{notifications:{broken_favorite:"狀態毋知影,leh tshiau-tshuē……",error:"佇取得通知 ê 時起錯誤:{0}",favorited_you:"kah 意 lí ê 狀態",followed_you:"綴 lí",follow_request:"想 beh 綴 lí",load_older:"載入 khah 早 ê 通知",notifications:"通知",read:"有讀ah!",repeated_you:"轉送 lí ê 狀態",no_more_notifications:"無別 ê 通知",migrated_to:"移民到",reacted_with:"顯出{0} ê 反應",submitted_report:"送出檢舉",poll_ended:"投票結束",unread_announcements:"{num} 篇公告iáu bē 讀",unread_chats:"{num} ê開講iáu bē讀",unread_follow_requests:"{num}ê新ê跟tuè請求",configuration_tip:"用{theSettings},lí通自訂siánn物佇tsia顯示。{dismiss}",configuration_tip_settings:"設定",configuration_tip_dismiss:"Mài koh顯示",subscribed_status:"有發送ê"}},nb:{notifications:{broken_favorite:"Ukjent status, leter etter den…",favorited_you:"likte din status",followed_you:"fulgte deg",load_older:"Last eldre varsler",notifications:"Varslinger",read:"Les!",repeated_you:"Gjentok din status",no_more_notifications:"Ingen gjenstående varsler",follow_request:"ønsker å følge deg"}},nl:{notifications:{broken_favorite:"Onbekend bericht, aan het zoeken…",favorited_you:"vond je bericht leuk",followed_you:"volgt jou",load_older:"Oudere meldingen laden",notifications:"Meldingen",read:"Gelezen!",repeated_you:"herhaalde je bericht",no_more_notifications:"Geen meldingen meer",migrated_to:"is gemigreerd naar",follow_request:"wil je volgen",reacted_with:"reageerde met {0}",error:"Fout bij ophalen van meldingen: {0}",poll_ended:"peiling is beëindigd"}},oc:{notifications:{broken_favorite:"Estatut desconegut, sèm a lo cercar...",favorited_you:"a aimat vòstre estatut",followed_you:"vos a seguit",load_older:"Cargar las notificacions mai ancianas",notifications:"Notficacions",read:"Legit !",repeated_you:"a repetit vòstre estatut",no_more_notifications:"Pas mai de notificacions"}},pl:{notifications:{broken_favorite:"Nieznany status, szukam go…",favorited_you:"dodał(-a) twój status do ulubionych",followed_you:"obserwuje cię",load_older:"Załaduj starsze powiadomienia",notifications:"Powiadomienia",read:"Przeczytane!",repeated_you:"powtórzył(-a) twój status",no_more_notifications:"Nie masz więcej powiadomień",migrated_to:"wyemigrował do",reacted_with:"zareagował z {0}",follow_request:"chce ciebie obserwować",error:"Błąd pobierania powiadomień: {0}"}},pdc:{notifications:{}},pt:{notifications:{broken_favorite:"Publicação desconhecida, a procurar…",favorited_you:"gostou do teu post",followed_you:"seguiu-te",load_older:"Carregar notificações antigas",notifications:"Notificações",read:"Lido!",repeated_you:"partilhou o teu post",no_more_notifications:"Sem mais notificações",reacted_with:"reagiu com {0}",migrated_to:"migrou para",follow_request:"quer seguir-te",error:"Erro ao obter notificações: {0}",unread_announcements:"{num} anúncio não lido | {num} anúncios não lidos",unread_chats:"{num} mensagem não lida | {num} mensagens não lidas",configuration_tip:"Você pode customizar o que você deseja mostrar aqui em {theSettings}. {dismiss}",unread_follow_requests:"{num} novo pedido de seguidor | {num} novos pedidos de seguidores",configuration_tip_settings:"as configurações",configuration_tip_dismiss:"Não mostrar novamente",poll_ended:"enquete finalizada",submitted_report:"enviado um relatório"}},ro:{notifications:{followed_you:"te-a urmărit",notifications:"Notificări",read:"Citit!"}},ru:{notifications:{broken_favorite:"Неизвестный статус, ищем…",favorited_you:"нравится ваш статус",followed_you:"начал(а) читать вас",load_older:"Загрузить старые уведомления",notifications:"Уведомления",read:"Прочесть",repeated_you:"повторил(а) ваш статус",follow_request:"хочет читать вас",reacted_with:"добавил(а) реакцию: {0}",migrated_to:"перехал на",no_more_notifications:"Нет дальнейших уведомлений",error:"Ошибка при обновлении уведомлений: {0}"}},sk:{notifications:{broken_favorite:"Neznáma správa, dohľadávam ju…",error:"Chyba získavania upozornení: {0}",favorited_you:"si obľúbil tvoju správu",followed_you:"ťa nasleduje",follow_request:"ťa chce nasledovať",load_older:"Nahrať staršie upozornenia",notifications:"Upozornenia",read:"Prečítané!",repeated_you:"zopakoval tvoju správu",no_more_notifications:"Žiadne ďalšie upozornenia",migrated_to:"sa presťahoval na",reacted_with:"reagoval nasledovne {0}"}},te:{notifications:{}},uk:{notifications:{reacted_with:"додав реакцію: {0}",migrated_to:"мігрував на",no_more_notifications:"Немає більше сповіщень",repeated_you:"поширив(-ла) ваш допис",read:"Прочитано!",notifications:"Сповіщення",load_older:"Завантажити давніші сповіщення",follow_request:"хоче підписатись на вас",followed_you:"підписався(-лась) на вас",favorited_you:"вподобав(-ла) ваш допис",broken_favorite:"Невідомий допис, шукаю його…",error:"Помилка при оновленні сповіщень: {0}",poll_ended:"опитування закінчено",submitted_report:"подав скаргу",unread_announcements:"{num} непрочитане оголошення | {num} непрочитаних оголошень",unread_chats:"{num} непрочитаний чат | {num} непрочитаних чатів",unread_follow_requests:"{num} новий запит на підписку | {num} нових запитів на підписку",configuration_tip:"Ви можете налаштувати, що відображати тут у {theSettings}. {dismiss}",configuration_tip_settings:"налаштування",configuration_tip_dismiss:"Не показувати знову"}},zh:{notifications:{broken_favorite:"未知的状态,正在搜索中…",favorited_you:"喜欢了您的状态",followed_you:"关注了您",load_older:"加载更早的通知",notifications:"通知",read:"已阅!",repeated_you:"转发了您的状态",no_more_notifications:"没有更多的通知",reacted_with:"作出了 {0} 的回应",migrated_to:"迁移到了",follow_request:"想要关注您",error:"取得通知时发生错误:{0}",poll_ended:"投票结束了",submitted_report:"提交举报",unread_announcements:"{num} 条未读公告",unread_chats:"{num} 条未读聊天讯息",unread_follow_requests:"{num} 个新关注请求",configuration_tip:"可以在 {theSettings} 里定制什么会显示在这里。{dismiss}",configuration_tip_settings:"设置",configuration_tip_dismiss:"不再显示",subscribed_status:"已发送"}},zh_Hant:{notifications:{reacted_with:"作出了 {0} 的反應",migrated_to:"遷移到",no_more_notifications:"沒有更多的通知",repeated_you:"轉發了你的發文",read:"已閱!",notifications:"通知",load_older:"載入更早的通知",follow_request:"想要關注你",followed_you:"關注了你",favorited_you:"喜歡了你的發文",broken_favorite:"未知的狀態,正在搜索中…",error:"獲取通知錯誤:{0}"}}}}),Te={lastFocused:null,notificationIds:new Set,allowedNotificationTypes:null};function Vi(){return clients.matchAll({includeUncontrolled:!0}).then(e=>e.filter(({type:t})=>t==="window"))}const Hi=async()=>{const e=await es.getItem("vuex-lz"),t=e.config.interfaceLanguage||"en";Bi.locale=t;const n=Object.entries(e.config.notificationNative);Te.webPushAlwaysShowNotifications=e.config.webPushAlwaysShowNotifications,Te.allowedNotificationTypes=new Set(n.filter(([,r])=>r).map(([r])=>{switch(r){case"mentions":return"mention";case"statuses":return"status";case"likes":return"like";case"repeats":return"repeat";case"emojiReactions":return"pleroma:emoji_reaction";case"reports":return"pleroma:report";case"followRequest":return"follow_request";case"follows":return"follow";case"polls":return"poll";default:return r}}))},Ul=async e=>{const t=await Vi();if(await Hi(),Te.webPushAlwaysShowNotifications||t.length===0){const n=e.data.json(),r=`${self.registration.scope}api/v1/notifications/${n.notification_id}`,i=await(await fetch(r,{headers:{Authorization:"Bearer "+n.access_token}})).json(),a=Ma(i),c=La(a,Bi);if(Te.webPushAlwaysShowNotifications||Te.allowedNotificationTypes.has(a.type))return self.registration.showNotification(c.title,c)}return Promise.resolve()},Mr=self.serviceWorkerOption.assets,Wl=e=>e.method!=="GET"?!1:new URL(e.url).pathname.startsWith("/emoji/"),$l=e=>e.method!=="GET"?!1:!new URL(e.url).pathname.startsWith("/media/"),Bl=e=>{const t=new URL(e.url);return Mr.includes(t.pathname)},Ur=e=>{if(!e.ok)return!1;if(new URL(e.url).pathname==="/index.html")return!0;const t=e.headers.get("Content-Type");return t&&!t.includes("text/html")};self.addEventListener("install",async e=>{e.waitUntil((async()=>{const t=r=>!r.startsWith("/static/js/i18n/")&&!r.startsWith("/static/js/emoji-annotations/"),n=await caches.open(Fn);await Promise.allSettled(Mr.filter(t).map(async r=>{const o=await fetch(r);Ur(o)&&await n.put(r,o)}))})())}),self.addEventListener("activate",async e=>{e.waitUntil((async()=>{const t=await caches.open(Fn),n=await t.keys();await Promise.all(n.filter(r=>{const o=new URL(r.url);return!Mr.includes(o.pathname)}).map(r=>t.delete(r)))})())}),self.addEventListener("push",async e=>{e.data&&e.waitUntil(Ul(e))}),self.addEventListener("message",async e=>{await Hi();const{type:t,content:n}=e.data;if(t==="desktopNotification"){const{title:r,...o}=n,{tag:i,type:a}=o;if(Te.notificationIds.has(i))return;Te.notificationIds.add(i),setTimeout(()=>Te.notificationIds.delete(i),1e4),Te.allowedNotificationTypes.has(a)&&self.registration.showNotification(r,o)}if(t==="desktopNotificationClose"){const{id:r,all:o}=n,i=o?null:{tag:r};(await self.registration.getNotifications(i)).forEach(c=>c.close())}t==="updateFocus"&&(Te.lastFocused=e.source.id,(await self.registration.getNotifications()).forEach(o=>o.close()))}),self.addEventListener("notificationclick",e=>{e.notification.close(),e.waitUntil(Vi().then(t=>{for(let n=0;n{const t=new URL(e.request.url).origin===self.location.origin;e.request.method==="GET"&&t&&$l(e.request)&&e.respondWith((async()=>{const n=await caches.match(e.request),r=Wl(e.request);if(n&&Ur(n))return console.debug("[Service worker] already cached:",e.request.url),n;try{const o=await fetch(e.request);return o.ok&&Ur(o)&&(r||Bl(e.request))&&(console.debug(`[Service worker] caching ${r?"emoji":"asset"}:`,e.request.url),await(await caches.open(r?rs:Fn)).put(e.request.clone(),o.clone())),o}catch(o){throw console.error("[Service worker] error when caching emoji:",o),o}})())})})(); //# sourceMappingURL=sw-pleroma.js.map